]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove ARM __GNUC_PREREQ(4,4) conditionals.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
a4733812
JM
12014-11-14 Joseph Myers <joseph@codesourcery.com>
2
6a0dd472
JM
3 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4 Make definition conditional only on [PROF].
5 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
6 definition.
7 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
8 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
9
a4733812
JM
10 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
11 !__GNUC__].
12 * include/signal.h (__sigpause): Move declaration above call to
13 libc_hidden_proto.
14 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
15 variable.
16 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
17 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
18
cf7246dd
DM
192014-11-14 David S. Miller <davem@davemloft.net>
20
21 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
22 Define before including <string/memcpy.c> and <string/mempcpy.c>.
23
c1b0aadc
JM
242014-11-14 Joseph Myers <joseph@codesourcery.com>
25
4863355a
JM
26 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
27 * configure: Regenerated.
28 * manual/install.texi (Tools for Compilation): Document a
29 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
30 compiler verified to work.
31 * INSTALL: Regenerated.
32
c1b0aadc
JM
33 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
34 redeclare with asm name.
35 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
36 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
37 including <string.h>.
38 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
39 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
40 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
41 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
42 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
44 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
45
2a1cfd94
JM
462014-11-13 Joseph Myers <joseph@codesourcery.com>
47
bf438382
JM
48 * stdlib/strtol.c (__strtol): Use prototype definition.
49
2a1cfd94
JM
50 [BZ #17594]
51 * stdlib/strtol.c (SYM__): New macro.
52 (SYM__1): Likewise.
53 (__strtol): Likewise.
54 (strtol): Rename to __strtol and define as weak alias of
55 __strtol. Use libc_hidden_weak.
56
20ed0d26
SL
572014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
58
59 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
60 Use numbered labels in inline assembly.
61
53244a4e
SL
622014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
63
64 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
65 Add setjmp LIBC_PROBE.
66 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
67 Likewise.
68 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
69 Add longjmp, longjmp_target LIBC_PROBE.
70 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
71 Likewise.
72
47df8251
SL
732014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
74
75 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
76 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
77 to get rid of unused variable warning.
78
618cebef
SL
792014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
80
81 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
82 Check for unwind_backtrace == NULL only in SHARED case.
83 (__backchain_backtrace): Compile only in SHARED case.
84 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
85 Likewise.
86 (__backchain_backtrace): Declare as static.
87
c6aab2cb
RM
882014-11-12 Roland McGrath <roland@hack.frob.com>
89
90 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
91 (__libc_multiple_threads_ptr): Variable moved ...
92 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
93
5a6fa4d7
JM
942014-11-12 Joseph Myers <joseph@codesourcery.com>
95
24f4f825
JM
96 * conform/GlibcConform.pm: New file.
97 * conform/conformtest.pl: Use GlibcConform module.
98 * conform/linknamespace.pl: New file.
99 * conform/list-header-symbols.pl: Likewise.
100 * conform/Makefile (linknamespace-symlists-base): New variable.
101 (linknamespace-symlists-tests): Likewise.
102 (linknamespace-header-base): Likewise.
103 (linknamespace-header-tests): Likewise.
104 (tests-special): Add new tests.
105 ($(linknamespace-symlists-tests)): New rule.
106 (linknamespace-libs): New variable.
107 ($(objpfx)symlist-stdlibs): New rule.
108 ($(linknamespace-header-tests)): Likewise.
109 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
110 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
111 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
112 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
113 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
114 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
115 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
116 (test-xfail-ISO/math.h/linknamespace): Likewise.
117 (test-xfail-ISO/signal.h/linknamespace): Likewise.
118 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
119 (test-xfail-ISO/time.h/linknamespace): Likewise.
120 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
121 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
122 (test-xfail-ISO99/math.h/linknamespace): Likewise.
123 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
124 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
125 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
126 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
127 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
128 (test-xfail-ISO11/math.h/linknamespace): Likewise.
129 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
130 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
131 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
132 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
133 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
134 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
135 (test-xfail-XPG3/math.h/linknamespace): Likewise.
136 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
137 (test-xfail-XPG3/search.h/linknamespace): Likewise.
138 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
139 (test-xfail-XPG3/time.h/linknamespace): Likewise.
140 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
141 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
142 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
143 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
144 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
145 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
146 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
147 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
148 (test-xfail-XPG4/math.h/linknamespace): Likewise.
149 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
150 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
151 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
152 (test-xfail-XPG4/search.h/linknamespace): Likewise.
153 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
154 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
155 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
156 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
157 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
158 (test-xfail-XPG4/time.h/linknamespace): Likewise.
159 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
160 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
161 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
162 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
163 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
164 (test-xfail-POSIX/math.h/linknamespace): Likewise.
165 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
166 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
167 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
168 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
169 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
170 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
171 (test-xfail-POSIX/time.h/linknamespace): Likewise.
172 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
173 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
174 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
175 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
176 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
177 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
178 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
179 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
180 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
181 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
182 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
183 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
184 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
185 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
186 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
187 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
188 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
189 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
190 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
191 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
192 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
193 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
194 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
195 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
196 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
197 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
198 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
199 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
200 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
201 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
202 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
203 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
204 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
205 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
206 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
207 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
208 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
209 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
210 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
211 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
212 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
213 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
214 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
215 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
216 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
217 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
218 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
219 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
220 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
221 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
222 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
223 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
224 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
225 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
226 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
227 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
228 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
229 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
230 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
231 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
232 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
233 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
234 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
235 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
236 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
237 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
238 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
239 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
240 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
241 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
242 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
243 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
244 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
245 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
246 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
247 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
248 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
249 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
250 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
251 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
252 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
253 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
254 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
255 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
256 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
257 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
258 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
259 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
260 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
261 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
262 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
263 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
264 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
265 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
266 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
267 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
268 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
269 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
270
cc67478e
JM
271 [BZ #17589]
272 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
273 of fgets_unlocked.
274
9975e3d3
JM
275 [BZ #17585]
276 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
277 (memmem): Rename to __memmem and define as weak alias of
278 __memmem. Use libc_hidden_weak.
279 (__memmem): Use libc_hidden_def.
280 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
281 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
282 memmem.
283
c4eae752
JM
284 [BZ #17582]
285 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
286 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
287 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
288 and define as weak alias of __fgets_unlocked. Use
289 libc_hidden_weak.
290 (__fgets_unlocked): Use libc_hidden_def.
291 * include/stdio.h (__fgets_unlocked): Declare. Use
292 libc_hidden_proto.
293 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
294 __fgets_unlocked instead of fgets_unlocked.
295 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
296 (GET_NPROCS_CONF_PARSER): Likewise.
297 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
298 (GET_NPROCS_CONF_PARSER): Likewise.
299
01cad84e
JM
300 [BZ #17574]
301 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
302 weak alias of __wmemset. Use libc_hidden_weak.
303 (__wmemset): Use libc_hidden_def.
304 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
305 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
306 of wmemset.
307
939da411
JM
308 [BZ #17573]
309 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
310 with asm name __mempcpy.
311 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
312
293d9a41
JM
313 [BZ #17572]
314 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
315 and define as weak alias of __rawmemchr.
316 (__rawmemchr): Do not define as strong alias of rawmemchr.
317
bef8fd60
JM
318 [BZ #17571]
319 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
320 alias of __qsort_r.
321 (qsort): Call __qsort_r instead of qsort_r.
322 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
323 (__qsort_r): Declare. Call libc_hidden_proto.
324 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
325 instead of qsort_r.
326 * nscd/gai.c (__qsort_r): Define to qsort_r.
327 * posix/tst-rfc3484.c (__qsort_r): Likewise.
328 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
329 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
330
c52ff39e
JM
331 [BZ #17570]
332 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
333 define as weak alias of __malloc_info.
334
2f5c1b00
JM
335 [BZ #17584]
336 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
337 as weak alias of __rewinddir. Don't use libc_hidden_def.
338 (__rewinddir): Use libc_hidden_def.
339 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
340 as weak alias of __rewinddir. Don't use libc_hidden_def.
341 (__rewinddir): Use libc_hidden_def.
342 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
343 weak alias of __rewinddir. Don't use libc_hidden_def.
344 (__rewinddir): Use libc_hidden_def.
345 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
346 (__rewinddir): Use libc_hidden_proto.
347 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
348 rewinddir.
349 (__getcwd): Use __rewinddir instead of rewinddir.
350
5a6fa4d7
JM
351 [BZ #17583]
352 * libio/fileno.c (fileno): Rename to __fileno and define as weak
353 alias of __fileno. Use libc_hidden_weak.
354 (__fileno): Use libc_hidden_def.
355 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
356 * libio/ftello.c (ftello): Rename to __ftello and define as weak
357 alias of __ftello.
358 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
359 __ftello.
360 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
361 (__fread_unlocked): Define as strong alias of _IO_fread. Use
362 libc_hidden_def.
363 (fread_unlocked): Don't use libc_hidden_ver.
364 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
365 and define as weak alias of __fread_unlocked. Don't use
366 libc_hidden_def.
367 (__fread_unlocked): Use libc_hidden_def.
368 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
369 (ftello): Don't use libc_hidden_proto.
370 (__ftello): Declare. Use libc_hidden_proto.
371 (fread_unlocked): Don't use libc_hidden_proto.
372 (__fread_unlocked): Declare. Use libc_hidden_proto.
373 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
374 and __ftello instead of fileno, fread_unlocked and ftello.
375
2581b98e
SP
3762012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
377
378 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
379 GOT12.
380 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
381 Likewise.
382 (_dl_start_user): Likewise.
383 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
384
533bb7c2
SP
3852014-11-12 Carlos O'Donell <carlos@redhat.com>
386 Siddhesh Poyarekar <siddhesh@redhat.com>
387
388 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
389 Move argv and envp down instead of moving argc up.
390 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
391
fffa1cf8
LH
3922014-11-12 Leonhard Holz <leonhard.holz@web.de>
393
394 [BZ #17506]
395 * test-skeleton.c (main): Return successful if one of
396 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
397 * string/tst-strcoll-overflow.c: Define expected status.
398
fb89b46d
TU
3992014-11-12 Tatiana Udalova <t.udalova@samsung.com>
400
401 [BZ #17475]
402 * locale/iso-639.def: Define Bhili and Tulu language codes.
403
5c40c3ba
AH
4042014-11-11 Alan Hayward <alan.hayward@arm.com>
405
406 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
407
b17fe01b 4082014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
409
410 [BZ #17555]
411 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
412
bd805071
AS
4132014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
414
415 * configure.ac: Updated check of minimal required version to
416 2.22.
417 * manual/install.texi (Tools for Compilation): Updated version
418 number.
419 * configure: Regenerated.
420 * INSTALL: Likewise.
421
1400983e
AS
4222014-11-07 Andreas Schwab <schwab@linux-m68k.org>
423
424 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
425 __tls_get_addr.
426
2c46a66a
JM
4272014-11-07 Joseph Myers <joseph@codesourcery.com>
428
429 * include/sys/wait.h (__libc_waitpid): Remove declaration.
430 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
431 (__waitpid): Don't define as alias. Use libc_hidden_def not
432 libc_hidden_weak.
433 (waitpid): Define as alias of __waitpid.
434 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
435 __waitpid.
436 (__waitpid): Don't define as alias. Use libc_hidden_def not
437 libc_hidden_weak.
438 (waitpid): Define as alias of __waitpid.
439 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
440 __libc_waitpid alias.
441 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
442 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
443 Likewise.
444 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
445 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
446 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
447 alias.
448 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
449 __waitpid.
450 (__waitpid): Don't define as alias. Use libc_hidden_def not
451 libc_hidden_weak.
452 (waitpid): Define as alias of __waitpid.
453
da53d6db
CD
4542014-11-06 Carlos O'Donell <carlos@redhat.com>
455
a2887bdb
CD
456 * manual/llio.texi: Add comment that write safety has been
457 fixed in Linux.
458
da53d6db
CD
459 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
460 (localplt-build-dso): Add elf/ld.so.
461 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
462 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
463 and free for ld.so.
464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
465 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
467 Likewise.
468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
469 Likewise.
470 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
471 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
472 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
473 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
474 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
475 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
476 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
477 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
478 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
479 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
480 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
481
9cf27b8d
JM
4822014-11-05 Joseph Myers <joseph@codesourcery.com>
483
484 [BZ #14132]
485 * include/libc-symbols.h (INTUSE): Remove macro.
486 (INTDEF): Likewise.
487 (INTVARDEF): Likewise.
488 (_INTVARDEF): Likewise.
489 (INTDEF2): Likewise.
490 (INTVARDEF2): Likewise.
491 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
492 rtld_hidden_def instead of INTVARDEF.
493 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
494 (_dl_starting_up_internal): Remove declaration.
495 (_dl_starting_up): Use rtld_hidden_proto.
496 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
497 declaration.
498 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
499 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
500 _dl_starting_up.
501 * elf/dl-writev.h (_dl_writev): Likewise.
502 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
503 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
504 _dl_starting_up_internal.
505
af83568d
AZ
5062014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
507
508 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
509 test-skeleton.c.
510
b01ee67c
WN
5112014-11-05 Will Newton <will.newton@linaro.org>
512
513 * benchtests/Makefile: (bench-malloc): Add malloc thread
514 scalability benchmark.
515 * benchtests/bench-malloc-threads.c: New file.
516
be9d4ccc
RE
5172014-11-05 Richard Earnshaw <rearnsha@arm.com>
518
519 * sysdeps/aarch64/strchrnul.S: New file.
520
7110166d
AZ
5212014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
522
523 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
524 definition.
525 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
526 Likwise.
527 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
528 Likewise.
529 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
530 Likewise.
531 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
532 Likewise.
533 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
534 Likewise.
535
5362014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
537
538 * catgets/test-gencat.c: Use test-skeleton.c.
539 * catgets/tst-catgets.c: Likewise.
540 * csu/tst-empty.c: Likewise.
541 * elf/tst-audit2.c: Likewise.
542 * elf/tst-global1.c: Likewise.
543 * elf/tst-pathopt.c: Likewise.
544 * elf/tst-piemod1.c: Likewise.
545 * elf/tst-tls10.c: Likewise.
546 * elf/tst-tls11.c: Likewise.
547 * elf/tst-tls12.c: Likewise.
548 * gnulib/tst-gcc.c: Likewise.
549 * iconvdata/tst-e2big.c: Likewise.
550 * iconvdata/tst-loading.c: Likewise.
551 * iconv/tst-iconv1.c: Likewise.
552 * iconv/tst-iconv2.c: Likewise.
553 * inet/test-inet6_opt.c: Likewise.
554 * inet/tst-gethnm.c: Likewise.
555 * inet/tst-network.c: Likewise.
556 * inet/tst-ntoa.c: Likewise.
557 * intl/tst-codeset.c: Likewise.
558 * intl/tst-gettext2.c: Likewise.
559 * intl/tst-gettext3.c: Likewise.
560 * intl/tst-ngettext.c: Likewise.
561 * intl/tst-translit.c: Likewise.
562 * io/test-stat.c: Likewise.
563 * libio/test-fmemopen.c: Likewise.
564 * libio/tst-freopen.c: Likewise.
565 * libio/tst-sscanf.c: Likewise.
566 * libio/tst-ungetwc1.c: Likewise.
567 * libio/tst-ungetwc2.c: Likewise.
568 * libio/tst-widetext.c: Likewise.
569 * localedata/tst-ctype.c: Likewise.
570 * localedata/tst-digits.c: Likewise.
571 * localedata/tst-leaks.c: Likewise.
572 * localedata/tst-mbswcs1.c: Likewise.
573 * localedata/tst-mbswcs2.c: Likewise.
574 * localedata/tst-mbswcs3.c: Likewise.
575 * localedata/tst-mbswcs4.c: Likewise.
576 * localedata/tst-mbswcs5.c: Likewise.
577 * localedata/tst-setlocale.c: Likewise.
578 * localedata/tst-trans.c: Likewise.
579 * localedata/tst-wctype.c: Likewise.
580 * localedata/tst-xlocale1.c: Likewise.
581 * login/tst-grantpt.c: Likewise.
582 * malloc/tst-calloc.c: Likewise.
583 * malloc/tst-malloc.c: Likewise.
584 * malloc/tst-mallocstate.c: Likewise.
585 * malloc/tst-mcheck.c: Likewise.
586 * malloc/tst-mtrace.c: Likewise.
587 * malloc/tst-obstack.c: Likewise.
588 * math/atest-exp2.c: Likewise.
589 * math/atest-exp.c: Likewise.
590 * math/atest-sincos.c: Likewise.
591 * math/test-matherr.c: Likewise.
592 * math/test-misc.c: Likewise.
593 * math/test-powl.c: Likewise.
594 * math/tst-definitions.c: Likewise.
595 * misc/tst-dirname.c: Likewise.
596 * misc/tst-efgcvt.c: Likewise.
597 * misc/tst-fdset.c: Likewise.
598 * misc/tst-hsearch.c: Likewise.
599 * misc/tst-mntent2.c: Likewise.
600 * nptl/tst-sem7.c: Likewise.
601 * nptl/tst-sem8.c: Likewise.
602 * nptl/tst-sem9.c: Likewise.
603 * nss/test-netdb.c: Likewise.
604 * posix/tst-fnmatch.c: Likewise.
605 * posix/tst-getlogin.c: Likewise.
606 * posix/tst-gnuglob.c: Likewise.
607 * posix/tst-mmap.c: Likewise.
608 * pwd/tst-getpw.c: Likewise.
609 * resolv/tst-inet_ntop.c: Likewise.
610 * rt/tst-timer.c: Likewise.
611 * stdio-common/test-fseek.c: Likewise.
612 * stdio-common/test-popen.c: Likewise.
613 * stdio-common/test-vfprintf.c: Likewise.
614 * stdio-common/tst-cookie.c: Likewise.
615 * stdio-common/tst-fileno.c: Likewise.
616 * stdio-common/tst-gets.c: Likewise.
617 * stdio-common/tst-obprintf.c: Likewise.
618 * stdio-common/tst-perror.c: Likewise.
619 * stdio-common/tst-sprintf2.c: Likewise.
620 * stdio-common/tst-sprintf3.c: Likewise.
621 * stdio-common/tst-sprintf.c: Likewise.
622 * stdio-common/tst-swprintf.c: Likewise.
623 * stdio-common/tst-tmpnam.c: Likewise.
624 * stdio-common/tst-unbputc.c: Likewise.
625 * stdio-common/tst-wc-printf.c: Likewise.
626 * stdlib/tst-environ.c: Likewise.
627 * stdlib/tst-fmtmsg.c: Likewise.
628 * stdlib/tst-limits.c: Likewise.
629 * stdlib/tst-rand48-2.c: Likewise.
630 * stdlib/tst-rand48.c: Likewise.
631 * stdlib/tst-random2.c: Likewise.
632 * stdlib/tst-random.c: Likewise.
633 * stdlib/tst-strtol.c: Likewise.
634 * stdlib/tst-strtoll.c: Likewise.
635 * stdlib/tst-tls-atexit.c: Likewise.
636 * stdlib/tst-xpg-basename.c: Likewise.
637 * string/test-ffs.c: Likewise.
638 * string/tst-bswap.c: Likewise.
639 * string/tst-inlcall.c: Likewise.
640 * string/tst-strtok.c: Likewise.
641 * string/tst-strxfrm.c: Likewise.
642 * sysdeps/x86_64/tst-audit10.c: Likewise.
643 * sysdeps/x86_64/tst-audit3.c: Likewise.
644 * sysdeps/x86_64/tst-audit4.c: Likewise.
645 * sysdeps/x86_64/tst-audit5.c: Likewise.
646 * time/tst-ftime_l.c: Likewise.
647 * time/tst-getdate.c: Likewise.
648 * time/tst-mktime3.c: Likewise.
649 * time/tst-mktime.c: Likewise.
650 * time/tst-posixtz.c: Likewise.
651 * time/tst-strptime2.c: Likewise.
652 * time/tst-strptime3.c: Likewise.
653 * wcsmbs/tst-btowc.c: Likewise.
654 * wcsmbs/tst-mbrtowc.c: Likewise.
655 * wcsmbs/tst-mbsrtowcs.c: Likewise.
656 * wcsmbs/tst-wchar-h.c: Likewise.
657 * wcsmbs/tst-wcpncpy.c: Likewise.
658 * wcsmbs/tst-wcrtomb.c: Likewise.
659 * wcsmbs/tst-wcsnlen.c: Likewise.
660 * wcsmbs/tst-wcstof.c: Likewise.
661
2004e7fb
JM
6622014-11-04 Joseph Myers <joseph@codesourcery.com>
663
ab97ee8f
JM
664 [BZ #14132]
665 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
666 INTDEF.
667 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
668 declaration.
669 (_dl_mcount): Use rtld_hidden_proto.
670 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
671 _dl_mcount.
672 * elf/rtld.c (_rtld_global_ro): Likewise.
673
c5684fdb
JM
674 [BZ #14132]
675 * elf/dl-init.c (_dl_init): Don't use INTDEF.
676 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
677 of _dl_init_internal.
678 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
679 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
680 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
681 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
682 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
683 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
684 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
685 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
686 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
687 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
688 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
689 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
690 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
691 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
692 * sysdeps/tile/dl-start.S (_start): Likewise.
693 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
694 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
695
4243cbea
JM
696 [BZ #14132]
697 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
698 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
699 (rtld_progname): Make macro definition unconditional.
700 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
701 INTDEF.
702 (dlmopen_doit): Do not use INTUSE with _dl_argv.
703 (dl_main): Likewise.
704 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
705 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
706 instead of _dl_argv_internal.
707 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
708 __GI__dl_argv instead of INTUSE(_dl_argv).
709 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
710 __GI__dl_argv instead of _dl_argv_internal.
711
2004e7fb
JM
712 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
713 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
714 macro.
715 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
716 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
717 New macro.
718 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
719 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
720 macro.
721 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
722 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
723
97827bfc
AS
7242014-11-04 Andreas Schwab <schwab@suse.de>
725
726 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
727
5e4df284
AZ
7282014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
729
730 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
731 mtvsrd instruction in binary form.
732
04b76b5a
AS
7332014-11-03 Andreas Schwab <schwab@suse.de>
734
735 [BZ #17522]
736 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
737 for less than MB_LEN_MAX use a local buffer of that size.
738 * libio/tst-fputws.c: New file.
739 * libio/Makefile (tests): Add tst-fputws.
740
4c6da7da
JM
7412014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
742
743 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
744 the size of the fpu_fr.fpu_dregs[] array.
745
1679ba8e
JM
7462014-11-01 Joseph Myers <joseph@codesourcery.com>
747
748 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
749 (__nanosleep): Do not define as alias.
750 (nanosleep): Define as alias of __nanosleep.
751 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
752 __libc_nanosleep name.
753
2626c183
JM
7542014-10-31 Joseph Myers <joseph@codesourcery.com>
755
756 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
757 install.texi in comment.
758
7f981fc2
TR
7592014-10-31 Torvald Riegel <triegel@redhat.com>
760
761 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
762 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
763 ... add here and use lwsync or sync ...
764 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
765 ... and add here using lwsync.
766
d6f373d2
MF
7672014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
768
769 * elf/dl-machine-reject-phdr.h: New file.
770 * elf/dl-load.c: #include that.
771 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
772 if that returned true.
773
67c37987
RM
7742014-10-31 Roland McGrath <roland@hack.frob.com>
775
776 [BZ #17496]
777 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
778 gen-as-const-headers chunk. Add a big scare comment after the last
779 safe place to touch before-compile.
780
94a42455 7812014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 782
f3f5d895
JM
783 * manual/install.texi (Tools for Compilation): Update autoconf
784 version requirements.
785 * INSTALL: Regenerated.
786
f62ff286
JM
787 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
788 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
789 (__libc_pselect): Likewise.
94a42455
JM
790
791 [BZ #14138]
792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
796
ff9dbdc0
TR
7972014-10-31 Torvald Riegel <triegel@redhat.com>
798
799 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
800 correct barrier instruction.
801 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
802 Likewise.
803 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
804 Likewise.
805
b4f66884
RM
8062014-10-30 Roland McGrath <roland@hack.frob.com>
807
808 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
809 after defining inlines. Instead, just use parens to defeat macro
810 expansion of __isctype in its declaration.
811
e19c95fd
JM
8122014-10-30 Joseph Myers <joseph@codesourcery.com>
813
814 * include/sys/uio.h (__libc_readv): Remove declaration.
815 (__libc_writev): Likewise.
816 * misc/readv.c (__libc_readv): Rename to __readv.
817 (__readv): Do not define as alias.
818 (readv): Define as alias of __readv.
819 * misc/writev.c (__libc_writev): Rename to __writev.
820 (__writev): Do not define as alias.
821 (writev): Define as alias of __writev.
822 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
823 (__readv): Do not define as alias.
824 (readv): Define unconditionally as alias of __readv.
825 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
826 (__writev): Do not define as alias.
827 (writev): Define unconditionally as alias of __writev.
828 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
829 name.
830 (writev): Do not define __libc_writev name.
831
65b00b6c
RM
8322014-10-30 Roland McGrath <roland@hack.frob.com>
833
834 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
835 (convert_charseq): New function, broken out of ...
836 (use_from_charmap): ... here. Call it.
837 (use_to_charmap): Use convert_charseq and free instead of duplicating
838 its code with a variable-length stack struct.
839
d4e157aa
JM
8402014-10-30 Joseph Myers <joseph@codesourcery.com>
841
842 * include/fcntl.h (__libc_creat): Remove declaration.
843 * io/creat.c (__libc_creat): Rename to creat.
844 (creat): Do not define as alias.
845 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
846 of creat instead of __libc_creat.
847 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
848 to creat.
849 (creat): Do not define as alias.
850 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
851 __libc_creat.
852 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
853 __libc_creat name.
854 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
855 Likewise.
856
0c6891a0
CD
8572014-10-29 Carlos O'Donell <carlos@redhat.com>
858
859 * manual/llio.texi: Add comments discussing why write() may be
860 considered MT-unsafe on Linux.
861
cc00cece
CD
8622014-10-28 Carlos O'Donell <carlos@redhat.com>
863
864 * dl-load.c (local_strdup): Remove.
865 (expand_dynamic_string_token): Use __strdup.
866 (decompose_rpath): Likewise.
867 (_dl_map_object): Likewise.
868
51e623f2
JM
8692014-10-28 Joseph Myers <joseph@codesourcery.com>
870
871 [BZ #14132]
872 * sysdeps/generic/unwind-dw2-fde.c
873 (__register_frame_info_bases_internal): Do not declare.
874 (__register_frame_info_table_bases_internal): Likewise.
875 (__deregister_frame_info_bases_internal): Likewise.
876 (__register_frame_info_bases): Declare and use hidden_proto before
877 definition. Use hidden_def instead of INTDEF.
878 (__register_frame_info_table_bases): Likewise.
879 (__deregister_frame_info_bases): Likewise.
880 (__register_frame_info): Do not use INTUSE.
881 (__register_frame): Likewise.
882 (__register_frame_info_table): Likewise.
883 (__register_frame_table): Likewise.
884 (__deregister_frame_info): Likewise.
885 (__deregister_frame): Likewise.
886
03d41216
GC
8872014-10-27 Gratian Crisan <gratian.crisan@ni.com>
888
889 * sysdeps/unix/sysv/linux/arm/kernel-features.h
890 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
891 not undefine.
892 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
893 Likewise.
894 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
895 Likewise.
896
a4b3624d
JM
8972014-10-27 Joseph Myers <joseph@codesourcery.com>
898
899 [BZ #14138]
900 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
901 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
902 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
903 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
904 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
905 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
906 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
907 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
908 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
909 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
910 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
911 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
912 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
913 syscall.
914 (setfsuid): Likewise.
915 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
916 (setfsuid): Likewise.
917 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
918 (setfsuid): Likewise.
919 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
920 Likewise.
921 (setfsuid): Likewise.
922 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
923 (setfsuid): Likewise.
924 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
925 Likewise.
926 (setfsuid): Likewise.
927
3574f2fd
AS
9282014-10-27 Andreas Schwab <schwab@suse.de>
929
930 [BZ #17501]
931 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
932 check for Slow_SSE4_2 feature bit.
933 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
934 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
935 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
936 Likewise. Fix check for Fast_Unaligned_Load feature bit.
937
70996a37
RM
9382014-10-24 Roland McGrath <roland@hack.frob.com>
939
461a7b1e
RM
940 * configure.ac: Validate compiler version with a empirical test of
941 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
942 $CC -v output.
943 * configure: Regenerated.
944
70996a37
RM
945 * inet/htons.c (htons): Prototypify.
946 * inet/htonl.c (htonl): Likewise.
947
e80514b5
WD
9482014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
949
950 * string/strncat.c (strncat): Improve performance by using strlen.
951
6e46de42
WD
9522014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
953
954 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
955
6a9ad2fa
WD
9562014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
957
958 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
959 Call libc_fetestexcept_aarch64.
960
1c8810ed
WD
9612014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
962
963 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
964 Call libc_feholdexcept_aarch64.
965
8b1af712
WD
9662014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
967
968 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
969 Call get_rounding_mode.
970
a7b00c11
WD
9712014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
972
973 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
974 Simplify logic.
975
3a84f1a6
WD
9762014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
977
978 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
979 Simplify logic.
980
48eb7a94
JM
9812014-10-24 Joseph Myers <joseph@codesourcery.com>
982
c8bc4038
JM
983 [BZ #14138]
984 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
985 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
986 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
987 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
988 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
989 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
990 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
991 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
992 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
993 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
994 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
995 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
996 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
997 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
998 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
999 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
1000 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
1001 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
1002 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
1003 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
1004 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
1005 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
1006 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
1007 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
1008 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
1009 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
1010 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
1011 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
1012 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
1013 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
1014 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
1015 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
1016 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
1017 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
1018 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
1019 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
1020 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
1021 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
1022 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
1023 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
1024 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
1025 syscall.
1026 (geteuid): Likewise.
1027 (getgid): Likewise.
1028 (getuid): Likewise.
1029 (getresgid): Likewise.
1030 (getresuid): Likewise.
1031 (getgroups): Likewise.
1032 * sysdeps/unix/sysv/linux/i386/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/m68k/syscalls.list (getegid): Likewise.
1040 (geteuid): Likewise.
1041 (getgid): Likewise.
1042 (getuid): Likewise.
1043 (getresgid): Likewise.
1044 (getresuid): Likewise.
1045 (getgroups): Likewise.
1046 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
1047 Likewise.
1048 (geteuid): Likewise.
1049 (getgid): Likewise.
1050 (getuid): Likewise.
1051 (getresgid): Likewise.
1052 (getresuid): Likewise.
1053 (getgroups): Likewise.
1054 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
1055 (geteuid): Likewise.
1056 (getgid): Likewise.
1057 (getuid): Likewise.
1058 (getresgid): Likewise.
1059 (getresuid): Likewise.
1060 (getgroups): Likewise.
1061 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
1062 Likewise.
1063 (geteuid): Likewise.
1064 (getgid): Likewise.
1065 (getuid): Likewise.
1066 (getgroups): Likewise.
1067
48eb7a94
JM
1068 [BZ #14138]
1069 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
1070 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
1071 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1072 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1073 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
1074 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
1075 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
1076 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
1077 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
1078 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
1079 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
1080 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
1081 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
1082 __chown.
1083 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
1084 (lchown): Likewise.
1085 (fchown): Likewise.
1086 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
1087 Likewise.
1088 (lchown): Likewise.
1089 (fchown): Likewise.
1090 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1091 (lchown): Likewise.
1092 (fchown): Likewise.
1093 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1094 Likewise.
1095 (lchown): Likewise.
1096 (fchown): Likewise.
1097
ea9a7c8b
WD
10982014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1099
1100 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1101 Simplify logic.
1102
e226de33
WD
11032014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1104
1105 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1106 Cleanup logic.
1107
6e3d8ed3
WD
11082014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1109
1110 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1111 Remove unused include.
1112
eb04247d
WD
11132014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1114
1115 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1116 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1117 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1118 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1119
13d84554
CD
11202014-10-23 Carlos O'Donell <carlos@systemhalted.org>
1121 Helge Deller <deller@gmx.de>
1122
1123 [BZ #17508]
1124 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1125 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1126 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1127
15f9c5df
JM
11282014-10-23 Joseph Myers <joseph@codesourcery.com>
1129
1130 [BZ #14132]
1131 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1132 Remove macro definition.
1133 (__ashrdi3_v_glibc20): Likewise.
1134 (__lshrdi3_v_glibc20): Likewise.
1135 (__cmpdi2_v_glibc20): Likewise.
1136 (__ucmpdi2_v_glibc20): Likewise.
1137 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1138 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1139 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1140 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1141 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1142 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1143
c6dfed24
RM
11442014-10-22 Roland McGrath <roland@hack.frob.com>
1145
1146 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1147 old GNU extension [0] syntax.
1148 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1149 alloca rather than an array member with variable length.
1150 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1151 * nscd/nscd.c (invalidate_db): New function, broken out of ...
1152 (parse_opt): ... here. Likewise use alloca there.
1153 Validate the -i argument before checking for rootness.
1154 (send_shutdown): New function, broken out of ...
1155 (parse_opt): ... here.
1156
8c2b1ed8
RM
11572014-10-22 Roland McGrath <roland@hack.frob.com>
1158
1159 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1160 macro to get at the _rt_local_ro field.
1161 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1162 ([PIC] case) or _dl_hwcap ([!PIC] case).
1163 * sysdeps/arm/setjmp.S: Likewise.
1164
1165 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1166 * sysdeps/arm/configure.ac: New check to define it.
1167 * sysdeps/arm/configure: Regenerated.
1168 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1169 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1170 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1171 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1172 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1173 Use move/movt pair instead of a load.
1174 (LDST_GLOBAL): Macro removed.
1175 (LDR_GLOBAL): New macro replaces it.
1176 (LDR_HIDDEN): New macro.
1177 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1178 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1179
1180 * setjmp/tst-setjmp-static.c: New file.
1181 * setjmp/Makefile (tests): Add it.
1182 (tests-static): New variable.
1183
b5af9297
MR
11842014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
1185
1186 [BZ #17485]
1187 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1188
a13d0d74
JM
11892014-10-21 Joseph Myers <joseph@codesourcery.com>
1190
1191 [BZ #14132]
1192 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1193
f05e73f6
RM
11942014-10-21 Roland McGrath <roland@hack.frob.com>
1195
1196 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1197
6ab1d1ea
RM
11982014-10-20 Roland McGrath <roland@hack.frob.com>
1199
1200 * io/fts.c (dirent_not_directory): New function.
1201 (fts_build): Call it.
1202
ab49e763
RM
12032014-10-20 Roland McGrath <roland@hack.frob.com>
1204
e436eb79
RM
1205 * nptl/version.c (__nptl_main): Use normal __write rather than
1206 INTERNAL_SYSCALL.
1207 (banner): Update copyright years.
1208
6af246cf
RM
1209 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1210 gettimeofday.
1211 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1212 * nptl/pthread_cond_timedwait.c: Likewise.
1213 * nptl/pthread_mutex_timedlock.c: Likewise.
1214 * nptl/sem_timedwait.c: Likewise.
1215
ab49e763
RM
1216 * sysdeps/nptl/bits/libc-lock.h
1217 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1218 (__libc_lock_init_recursive): Return void, not 0.
1219 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1220 (__libc_rwlock_init): Likewise.
1221 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1222
f50277c1
TR
12232014-10-20 Torvald Riegel <triegel@redhat.com>
1224
1225 [BZ #15215]
1226 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1227 (__pthread_once_slow): ... here.
1228 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1229 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1230
63668b70
TR
12312014-10-20 Torvald Riegel <triegel@redhat.com>
1232
1233 [BZ #15215]
1234 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1235 __PTHREAD_ONCE_FORK_GEN_INCR): New.
1236 * sysdeps/nptl/fork.c (__libc_fork): Use them.
1237 * nptl/pthread_once.c (__pthread_once): Likewise.
1238 Update comments.
1239
42b7f5d4
JM
12402014-10-20 Joseph Myers <joseph@codesourcery.com>
1241
1242 [BZ #14138]
1243 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1244 name.
1245 (writev): Use __libc_writev as strong name.
1246 * sysdeps/unix/sysv/linux/readv.c: Remove file.
1247 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1248
b0643088
RM
12492014-10-17 Roland McGrath <roland@hack.frob.com>
1250
114c4e09
RM
1251 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1252
674b8978
RM
1253 * sysdeps/i386/nptl/tls.h
1254 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1255 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1256 New macros.
1257 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1258 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1259 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1260 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1261 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1262 Call CHECK_THREAD_SYSINFO instead of doing an assert.
1263
184ee940
RM
1264 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1265 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1266 on [__NR_futex].
1267 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1268 broken out of ...
1269 (__pthread_mutex_init): ... here. Call it.
1270 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1271 Conditionalize PI cases on [__NR_futex].
1272 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1273 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1274 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1275
327ae257
RM
1276 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1277 conditional on [SIGSETXID].
1278 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1279 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1280 is defined. Likewise for SIGSETXID.
1281 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1282 Conditionalize definitions on [SIGSETXID].
1283 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1284 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1285 unblocking on [SIGCANCEL].
1286
b0643088
RM
1287 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1288 [__NR_set_robust_list].
1289
33cc770b
SP
12902014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1291
1292 * string/strcoll_l.c (get_next_seq): Fix up formatting.
1293 (do_compare): Likewise.
1294
0742aef6
LH
12952014-10-17 Leonhard Holz <leonhard.holz@web.de>
1296
1297 [BZ #15884]
1298 * string/strcoll_l.c: Don't include stdio.h.
1299 (coll_seq): Remove members idxarr and rulearr.
1300 (get_next_seq_cached): Remove function.
1301 (get_next_seq): Likewise.
1302 (get_next_seq_nocache): Rename to get_next_seq.
1303 (do_compare): Remove function.
1304 (do_compare_nocache): Rename to do_compare.
1305 (STRCOLL): Remove weight and rules cache.
1306
ee54ce44
RM
13072014-10-16 Roland McGrath <roland@hack.frob.com>
1308
1309 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1310 * sysdeps/arm/sfp-machine.h: ... to here.
1311 * sysdeps/arm/Implies: Remove arm/soft-fp.
1312
a75d3b02
JM
13132014-10-14 Joseph Myers <joseph@codesourcery.com>
1314
1315 * conform/data/sys/utsname.h-data (*_t): Allow.
1316 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1317 [POSIX] (WEXITED): Do not expect constant.
1318 [POSIX] (WSTOPPED): Likewise.
1319 [POSIX] (WNOHANG): Likewise.
1320 [POSIX] (WNOWAIT): Likewise.
1321 [POSIX] (siginfo_t): Do not expect type or elements.
1322 [POSIX] (pid_t): Do not expect type.
1323 [POSIX] (signal.h): Do not allow header.
1324 [POSIX] (sys/resource.h): Likewise.
1325 [POSIX] (si_*): Do not allow pattern.
1326 [POSIX] (W*): Likewise.
1327 [POSIX] (P_*): Likewise.
1328 [POSIX] (BUS_*): Likewise.
1329 [POSIX] (CLD_*): Likewise.
1330 [POSIX] (FPE_*): Likewise.
1331 [POSIX] (ILL_*): Likewise.
1332 [POSIX] (POLL_*): Likewise.
1333 [POSIX] (SEGV_*): Likewise.
1334 [POSIX] (SI_*): Likewise.
1335 [POSIX] (TRAP_*): Likewise.
1336 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1337 variable.
1338
fda389c8
SP
13392014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1340
1341 [BZ #12926]
1342 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1343 infinite loop when __recvmsg returns 0.
1344
6bc6bd3b
JM
13452014-10-10 Joseph Myers <joseph@codesourcery.com>
1346
fcb32af1
JM
1347 * CANCEL-FCT-WAIVE: Remove file.
1348 * CANCEL-FILE-WAIVE: Likewise.
1349
6bc6bd3b
JM
1350 [BZ #14132]
1351 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1352 instead of INTVARDEF.
1353 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1354 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1355 rtld_hidden_data_def instead of INTVARDEF.
1356 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1357 * elf/dl-deps.c (expand_dst): Likewise.
1358 * elf/dl-load.c (_dl_dst_count): Likewise.
1359 (_dl_dst_substitute): Likewise.
1360 (decompose_rpath): Likewise.
1361 (_dl_init_paths): Likewise.
1362 (open_path): Likewise.
1363 (_dl_map_object): Likewise.
1364 * elf/rtld.c (dl_main): Likewise.
1365 (process_dl_audit): Likewise.
1366 (process_envvars): Likewise.
1367 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1368 Remove declaration.
1369 (__libc_enable_secure): Use rtld_hidden_proto.
1370
b8c80a7e
KS
13712014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1372
1373 * elf/dl-load.c
1374 (add_path): New function broken out of _dl_rtld_di_serinfo.
1375 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
1376
ff12c11f
JM
13772014-10-09 Joseph Myers <joseph@codesourcery.com>
1378
5c0508a3
JM
1379 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1380 parentheses around macro arguments.
1381 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1382 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1383 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1384 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1385 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1386 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1387 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1388 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1389 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1390 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1391 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1392 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1393 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1394 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1395 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1396 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1397 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1398 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1399 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1400 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1401 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1402 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1403 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1404 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1405 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1406 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1407 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1408 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1409 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1410 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1411 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1412 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1413 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1414 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1415 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1416 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1417 Likewise.
1418 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1419 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1420 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1421 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1422 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1423 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1424 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1425 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1426 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1427 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1428 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1429 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1430 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1431 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1432 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1433 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1434 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1435 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1436 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1437 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1438 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1439 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1440 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1441 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1442 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1443 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1444 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1445 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1446 (_FP_FRAC_SRS_1): Likewise.
1447 (_FP_FRAC_CLZ_1): Likewise.
1448 (_FP_MUL_MEAT_1_imm): Likewise.
1449 (_FP_MUL_MEAT_1_wide): Likewise.
1450 (_FP_MUL_MEAT_1_hard): Likewise.
1451 (_FP_SQRT_MEAT_1): Likewise.
1452 (_FP_FRAC_ASSEMBLE_1): Likewise.
1453 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1454 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1455 (__FP_CLZ_2): Likewise.
1456 (_FP_MUL_MEAT_2_wide): Likewise.
1457 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1458 (_FP_MUL_MEAT_2_gmp): Likewise.
1459 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1460 (_FP_SQRT_MEAT_2): Likewise.
1461 (_FP_FRAC_ASSEMBLE_2): Likewise.
1462 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1463 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1464 (_FP_FRAC_CLZ_4): Likewise.
1465 (_FP_MUL_MEAT_4_wide): Likewise.
1466 (_FP_MUL_MEAT_4_gmp): Likewise.
1467 (_FP_SQRT_MEAT_4): Likewise.
1468 (_FP_FRAC_ASSEMBLE_4): Likewise.
1469 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1470 * soft-fp/op-common.h (_FP_CMP): Likewise.
1471 (_FP_CMP_EQ): Likewise.
1472 (_FP_CMP_UNORD): Likewise.
1473 (_FP_TO_INT): Likewise.
1474 (_FP_FROM_INT): Likewise.
1475 [!__FP_CLZ] (__FP_CLZ): Likewise.
1476 (_FP_DIV_HELP_imm): Likewise.
1477 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1478 Likewise.
1479 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1480 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1481 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1482 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1483 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1484 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1485 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1486 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1487 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1488 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1489 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1490 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1491 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1492 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1493 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1494 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1495 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1496 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1497 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1498 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1499 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1500 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1501 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1502 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1503 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1504 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1505 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1506 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1507 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1508 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1509 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1510 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1511 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1512 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1513 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1514 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1515 (FP_UNPACK_RAW_SP): Likewise.
1516 (FP_PACK_RAW_S): Likewise.
1517 (FP_PACK_RAW_SP): Likewise.
1518 (FP_UNPACK_S): Likewise.
1519 (FP_UNPACK_SP): Likewise.
1520 (FP_UNPACK_SEMIRAW_S): Likewise.
1521 (FP_UNPACK_SEMIRAW_SP): Likewise.
1522 (FP_PACK_S): Likewise.
1523 (FP_PACK_SP): Likewise.
1524 (FP_PACK_SEMIRAW_S): Likewise.
1525 (FP_PACK_SEMIRAW_SP): Likewise.
1526 (_FP_SQRT_MEAT_S): Likewise.
1527 (FP_CMP_S): Likewise.
1528 (FP_CMP_EQ_S): Likewise.
1529 (FP_CMP_UNORD_S): Likewise.
1530 (FP_TO_INT_S): Likewise.
1531 (FP_FROM_INT_S): Likewise.
1532
a736ec37
JM
1533 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1534
ff12c11f
JM
1535 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1536 (FP_EX_INVALID_IMZ): Likewise.
1537 (FP_EX_INVALID_IMZ_FMA): Likewise.
1538 (FP_EX_INVALID_ISI): Likewise.
1539 (FP_EX_INVALID_ZDZ): Likewise.
1540 (FP_EX_INVALID_IDI): Likewise.
1541 (FP_EX_INVALID_SQRT): Likewise.
1542 (FP_EX_INVALID_CVI): Likewise.
1543 (FP_EX_INVALID_VC): Likewise.
1544 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1545 "invalid" exceptions.
1546 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1547 (_FP_ADD_INTERNAL): Likewise.
1548 (_FP_MUL): Likewise.
1549 (_FP_FMA): Likewise.
1550 (_FP_DIV): Likewise.
1551 (_FP_CMP_CHECK_NAN): Likewise.
1552 (_FP_SQRT): Likewise.
1553 (_FP_TO_INT): Likewise.
1554 (FP_EXTEND): Likewise.
1555
b6dcfe8c
AM
15562014-10-09 Allan McRae <allan@archlinux.org>
1557
1558 * po/fr.po: Update French translation from translation project.
1559
2d6a47ba
JM
15602014-10-09 Joseph Myers <joseph@codesourcery.com>
1561
cb831245
JM
1562 [BZ #14132]
1563 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1564 of INTDEF.
1565 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1566 (__cxa_atexit): Use libc_hidden_proto.
1567 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1568
5deeb190
JM
1569 [BZ #14132]
1570 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1571 declaration.
1572 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1573 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1574 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1575 [!_ISOMAC] (__iswctype_internal): Likewise.
1576 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1577 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1578 alias.
1579 (fcntl): Remove __fcntl_internal alias.
1580 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1581 __connect_internal alias.
1582 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1583 Likewise.
1584
454ac701
JM
1585 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1586 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1587 FP_DENORM_ZERO.
1588 (_FP_CHECK_FLUSH_ZERO): New macro.
1589 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1590 (_FP_CMP): Likewise.
1591 (_FP_CMP_EQ): Likewise.
1592 (_FP_TO_INT): Do not set inexact for subnormal arguments if
1593 FP_DENORM_ZERO.
1594 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1595 (FP_TRUNC): Likewise.
1596
0022e688
JM
1597 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1598 treated as invalid conversion, not as normal exponent.
1599
73e28d9c
JM
1600 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1601 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
1602 (_FP_CMP_EQ): Likewise.
1603 (_FP_CMP_UNORD): Likewise.
1604 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1605 (FP_CMP_EQ_D): Likewise.
1606 (FP_CMP_UNORD_D): Likewise.
1607 * soft-fp/extended.h (FP_CMP_E): Likewise.
1608 (FP_CMP_EQ_E): Likewise.
1609 (FP_CMP_UNORD_E): Likewise.
1610 * soft-fp/quad.h (FP_CMP_Q): Likewise.
1611 (FP_CMP_EQ_Q): Likewise.
1612 (FP_CMP_UNORD_Q): Likewise.
1613 * soft-fp/single.h (FP_CMP_S): Likewise.
1614 (FP_CMP_EQ_S): Likewise.
1615 (FP_CMP_UNORD_S): Likewise.
1616 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1617 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1618 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1619 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1620 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1621 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1622 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1623 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1624 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1625 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1626 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1627 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1628 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1629 to FP_CMP_Q.
1630 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1631 FP_CMP_Q.
1632 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1633 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1634 FP_CMP_EQ_Q.
1635 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1636 FP_CMP_Q.
1637 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1638 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1639 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1640 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1641 FP_CMP_EQ_Q.
1642 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1643 FP_CMP_Q.
1644 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1645 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1646 FP_CMP_EQ_Q.
1647 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1648 FP_CMP_Q.
1649 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1650 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1651 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1652 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1653 FP_CMP_EQ_Q.
1654
43059f42
JM
1655 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1656 a subnormal result, set the underflow exception if trapping on
1657 underflow is enabled.
1658 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1659 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1660 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1661 redefine to 0.
1662 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1663 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1664 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1665 * soft-fp/extendxftf2.c (__extendxftf2): Use
1666 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1667
2d6a47ba
JM
1668 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1669 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1670 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1671 FP_HANDLE_EXCEPTIONS.
1672 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1673 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1674 FP_HANDLE_EXCEPTIONS.
1675 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1676 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1677 FP_HANDLE_EXCEPTIONS.
1678 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1679 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1680 FP_HANDLE_EXCEPTIONS.
1681
620f462e
JM
16822014-10-08 Joseph Myers <joseph@codesourcery.com>
1683
1684 [BZ #14132]
1685 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1686 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1687 use INTUSE.
1688 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1689 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1690 Remove alias.
1691 (__adjtimex): Define using libc_hidden_ver.
1692 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1693 Remove declaration.
1694 (ntp_gettime): Call __adjtimex directly.
1695 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1696 Remove declaration.
1697 (ntp_gettimex): Call __adjtimex directly.
1698 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1699 __adjtimex_internal alias.
1700
c763c5d2
RM
17012014-10-08 Roland McGrath <roland@hack.frob.com>
1702
1703 [BZ #17460]
1704 * nscd/nscd.c (more_help): Rewrite list of tables collection
1705 using xstrdup and asprintf.
1706
1707 * nscd/nscd_conf.c: Remove local xstrdup declaration.
1708
7b8fb2b8
RM
17092014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1710 Roland McGrath <roland@hack.frob.com>
1711
1712 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1713 (do_lookup_unique): ... local function 'enter' here; update callers.
1714
abb280f7
JM
17152014-10-06 Joseph Myers <joseph@codesourcery.com>
1716
f7b42517
JM
1717 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1718 compat_symbol calls on [SHARED].
1719 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1720 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1721 Remove.
1722 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1723 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1724 (oldsetrlimit): Remove.
1725 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1727 (lchown): New syscall entry.
1728 (oldsetrlimit): Remove.
1729 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1730 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1731 (oldsetrlimit): Remove.
1732 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1733
abb280f7
JM
1734 [BZ #14138]
1735 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1736 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1737 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1738 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1739 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1740 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1741 (fchown): Likewise.
1742 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1743 (fchown): Likewise.
1744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1745 Likewise.
1746
47d46237
AZ
17472014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1748
1749 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1750 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1751 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1752 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1753 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1754 Likewise.
1755 (__old_sem_post): Likewise.
1756
17572014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 1758
845a7343
CM
1759 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1760 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1761 HAVE_CLOCK_GETTIME_VSYSCALL macros.
1762 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1763 Use INLINE_VSYSCALL macro.
1764 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1765 __vdso_clock_gettime.
1766 * sysdeps/unix/sysv/linux/tile/init-first.c
1767 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1768 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1769 __vdso_clock_gettime.
1770
83d641ef
CM
1771 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1772 to set up frame more cleanly.
1773
d9cd52e6
CM
1774 * sysdeps/tile/memcmp.c: New file.
1775
4b68ea11
CM
1776 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1777
c86f7b80
CM
1778 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1779 * sysdeps/tile/tilegx/strcasestr.c: New file.
1780 * sysdeps/tile/tilegx/strnlen.c: New file.
1781 * sysdeps/tile/tilegx/strstr.c: New file.
1782
1c4c1a6f
CM
1783 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1784
99d86ea3
AS
17852014-10-06 Arjun Shankar <arjun.is@lostca.se>
1786
1787 * nptl/tst-setuid3.c: Write errors to stdout.
1788
06210a44
KS
17892014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1790
1791 * elf/dl-deps.c
1792 (preload): New functions broken out of _dl_map_object_deps.
1793 (_dl_map_object_deps): Remove a nested function. Update call sites.
1794
6268f532
JM
17952014-10-01 Joseph Myers <joseph@codesourcery.com>
1796
1797 [BZ #14138]
1798 * sysdeps/unix/sysv/linux/execve.c: Remove file.
1799 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1800
b925285f
SE
18012014-10-01 Steve Ellcey <sellcey@mips.com>
1802
1803 * sysdeps/mips/strcmp.S: New.
1804
754a15c6
JM
18052014-09-30 Joseph Myers <joseph@codesourcery.com>
1806
1807 [BZ #14138]
1808 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1809 (linkat): Likewise.
1810 (mkdirat): Likewise.
1811 (readlinkat): Likewise.
1812 (renameat): Likewise.
1813 (symlinkat): Likewise.
1814 (unlinkat): Likewise.
1815 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1816 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1817 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1818 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1819 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1820 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1821 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1822
85bb81c9
WN
18232014-09-30 Will Newton <will.newton@linaro.org>
1824
dc6fe23b
WN
1825 * math/math.h: Define long double math functions if
1826 _LIBC_TEST is defined.
1827 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1828
85bb81c9
WN
1829 * localedata/Makefile: Move assignment to tests-special
1830 into an ifdef testing run-built-tests.
1831 * timezone/Makefile: Likewise.
1832
b7e02da4
JM
18332014-09-29 Joseph Myers <joseph@codesourcery.com>
1834
1835 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1836 with $(BASH) not $(SHELL).
1837
62058ce6
CD
18382014-09-29 Carlos O'Donell <carlos@redhat.com>
1839 Matthew LeGendre <legendre1@llnl.gov>
1840
1841 [BZ #17411]
1842 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1843 l_reloc_result.
1844
8e257a29
KS
18452014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1846
1847 * stdio-common/printf_fp.c
1848 (hack_digit): New function, broken out of ...
1849 (__printf_fp): ... local function here. Update call sites.
1850 hack_digit now takes an additional parameter that is a pointer
1851 to a struct of the referenced locals. Those locals moved inside
1852 the struct and references updated.
1853
f4a58f0d
L
18542014-09-29 H.J. Lu <hongjiu.lu@intel.com>
1855
1856 * aclocal.m4: Require autoconf 2.69.
1857 * configure: Regenerated.
1858 * sysdeps/aarch64/configure: Likewise.
1859 * sysdeps/alpha/configure: Likewise.
1860 * sysdeps/arm/armv7/configure: Likewise.
1861 * sysdeps/arm/configure: Likewise.
1862 * sysdeps/ia64/configure: Likewise.
1863 * sysdeps/mach/configure: Likewise.
1864 * sysdeps/mips/configure: Likewise.
1865 * sysdeps/s390/configure: Likewise.
1866 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1868
1869 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1870 file.
1871 * sysdeps/ia64/configure.ac: Likewise.
1872
93ae1eba
JM
18732014-09-26 Joseph Myers <joseph@codesourcery.com>
1874
1810d3ab
JM
1875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1876 specify symbol version for ld.so. Do not include entry for
1877 libpthread.
1878 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1879 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1880 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1881
93ae1eba
JM
1882 [BZ #14171]
1883 * Makeconfig [$(build-shared) = yes]
1884 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1885 makefiles.
1886 [$(build-shared) = yes && $(soversions.mk-done) = t]
1887 ($(common-objpfx)gnu/lib-names.h): Remove rule.
1888 [$(build-shared) = yes && $(soversions.mk-done) = t]
1889 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
1890 to Makerules.
1891 [$(build-shared) = yes && $(soversions.mk-done) = t]
1892 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1893 here.
1894 [$(build-shared) = yes && $(soversions.mk-done) = t]
1895 (common-generated): Don't append gnu/lib-names.h and
1896 gnu/lib-names.stmp here.
1897 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1898 (lib-names-h-abi): New variable.
1899 [$(build-shared) = yes && $(soversions.mk-done) = t]
1900 (lib-names-stmp-abi): Likewise.
1901 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1902 abi-variants] (before-compile): Append
1903 $(common-objpfx)$(lib-names-h-abi).
1904 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1905 abi-variants] (common-generated): Append gnu/lib-names.h.
1906 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1907 abi-variants] (install-others-nosubdir): Depend on
1908 $(inst_includedir)/$(lib-names-h-abi).
1909 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1910 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1911 [$(build-shared) = yes && $(soversions.mk-done) = t]
1912 ($(common-objpfx)$(lib-names-h-abi)): New rule.
1913 [$(build-shared) = yes && $(soversions.mk-done) = t]
1914 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1915 [$(build-shared) = yes && $(soversions.mk-done) = t]
1916 (common-generated): Append $(lib-names-h-abi) and
1917 $(lib-names-stmp-abi).
1918 * scripts/lib-names.awk: Do not handle multi being set.
1919 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1920 Remove variable.
1921 (abi-lp64_be-ld-soname): Likewise.
1922 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1923 Likewise.
1924 (abi-hard-ld-soname): Likewise.
1925 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1926 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1927 Remove variable.
1928 (abi-o32_hard-ld-soname): Likewise.
1929 (abi-o32_soft_2008-ld-soname): Likewise.
1930 (abi-o32_hard_2008-ld-soname): Likewise.
1931 (abi-n32_soft-ld-soname): Likewise.
1932 (abi-n32_hard-ld-soname): Likewise.
1933 (abi-n32_soft_2008-ld-soname): Likewise.
1934 (abi-n32_hard_2008-ld-soname): Likewise.
1935 (abi-n64_soft-ld-soname): Likewise.
1936 (abi-n64_hard-ld-soname): Likewise.
1937 (abi-n64_soft_2008-ld-soname): Likewise.
1938 (abi-n64_hard_2008-ld-soname): Likewise.
1939 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1940 Likewise.
1941 (abi-64-v2-ld-soname): Likewise.
1942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1943 ld.so entries.
1944 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1945 variable.
1946 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
1947 entry.
1948 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
1949 variable.
1950 (abi-64-ld-soname): Likewise.
1951 (abi-x32-ld-soname): Likewise.
1952 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
1953 entry.
1954 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1955
68870f12
JM
19562014-09-23 Joseph Myers <joseph@codesourcery.com>
1957
1958 [BZ #14138]
1959 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
1960 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1961 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
1962 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
1963 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
1964 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1965 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1966 syscall entry for GLIBC_2.2 symbol version.
1967 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1968 Likewise.
1969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1970 (setrlimit): Likewise.
1971 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1972 Likewise.
1973
ea58f202
WN
19742014-09-23 Will Newton <will.newton@linaro.org>
1975
1976 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1977 _LINUX_ARM_SYSDEP_H include guard too.
1978 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1979 define.
1980
69eb9a18
RV
19812014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1982
1983 * sysdeps/unix/sysv/linux/eventfd.c:
1984 Make first argument unsigned.
1985 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1986 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1987
20e5a5f7
OB
19882014-09-20 Ondřej Bílka <neleai@seznam.cz>
1989
1990 * socket/recvmmsg.c (recvmmsg): Drop const argument.
1991 * socket/sys/socket.h: Likewise
1992 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1993
d3c827e7
AK
19942014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1995
1996 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1997
fe1cc35a
AS
19982014-09-17 Arjun Shankar <arjun.is@lostca.se>
1999
2000 * time/tst-ftime.c: New test.
2001 * time/Makefile (tests): Add tst-ftime.
2002
4e8afe69
JM
20032014-09-17 Joseph Myers <joseph@codesourcery.com>
2004
c4fe3ea7
JM
2005 * soft-fp/extended.h: Fix comment formatting.
2006 * soft-fp/op-1.h: Likewise.
2007 * soft-fp/op-2.h: Likewise.
2008 * soft-fp/op-4.h: Likewise.
2009 * soft-fp/op-8.h: Likewise.
2010 * soft-fp/op-common.h: Likewise.
2011 * soft-fp/soft-fp.h: Likewise.
2012
4e8afe69
JM
2013 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
2014
af296fcd
JM
20152014-09-16 Joseph Myers <joseph@codesourcery.com>
2016
2017 [BZ #6652]
2018 * Makeconfig (soversions-default-setname): Remove variable.
2019 ($(common-objpfx)soversions.i): Don't pass default_setname to
2020 soversions.awk.
2021 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
2022 oldest_abi to abi-versions.awk.
2023 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
2024 * config.make.in (oldest-abi): Remove variable.
2025 * configure.ac (--enable-oldest-abi): Remove configure option.
2026 * configure: Regenerated.
2027 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
2028 text.
2029 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
2030 * scripts/soversions.awk: Do not handle default_setname variable.
2031 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
2032 variable.
2033 * sysdeps/mach/hurd/configure: Regenerated.
2034 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
2035 variable.
2036 * sysdeps/unix/sysv/linux/configure: Regenerated.
2037
545583d6
SP
20382014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2039
d330b980
SP
2040 * elf/Makefile (CFLAGS-interp.c): Remove.
2041 ($(elf-objpfx)runtime-linker.h): Generate header with linker
2042 path string.
2043 * elf/interp.c: Include generated runtime-linker.h
2044
02657da2
SP
2045 * Makerules (lib%.so): Don't include $(+interp) in
2046 prerequisites.
2047 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
2048 * dlfcn/eval.c: Remove file.
2049
653b1080
SP
2050 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
2051 macros.
2052
602f80ec
SP
2053 [BZ #17266]
2054 * misc/sys/cdefs.h: Define __extern_always_inline for clang
2055 4.2 and newer.
2056
545583d6
SP
2057 [BZ #17370]
2058 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
2059
884ddc50
SP
20602014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2061 Jakub Jelinek <jakub@redhat.com>
2062
2063 [BZ #17266]
2064 * libio/stdio.h: Check definition of __fortify_function
2065 instead of __extern_always_inline to include bits/stdio2.h.
2066 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
2067 check if __extern_always_inline is defined.
2068 [__USE_MISC || __USE_XOPEN]: Likewise.
2069 [__USE_ISOC99] Likewise.
2070 * misc/sys/cdefs.h (__fortify_function): Define only if
2071 __extern_always_inline is defined.
2072 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
2073 __extern_always_inline and __extern_inline only for g++-4.3
2074 and newer or a compatible gcc.
2075
a7b87268
AS
20762014-09-15 Andreas Schwab <schwab@linux-m68k.org>
2077
2078 [BZ #17371]
2079 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2080 last change to handle zero prefix length.
2081
3f41521d
SP
20822014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2083
61fe374a
SP
2084 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
2085 _SC_REGEX_VERSION.
2086
3f41521d
SP
2087 * posix/getconf.c (vars): Add _POSIX_IPV6 and
2088 _POSIX_RAW_SOCKETS.
2089
d8f879ee
AM
20902014-09-13 Allan McRae <allan@archlinux.org>
2091
2092 * po/ru.po: Update Russian translation from translation project.
2093
c079afb7
RM
20942014-09-12 Roland McGrath <roland@hack.frob.com>
2095
a62b3c15
RM
2096 * locale/programs/locale.c (show_locale_vars): Inline local function
2097 into its sole call site. Clean up some style nits.
2098 (print_item): New function, broken out of ...
2099 (show_info): ... local function here. Clean up style nits.
2100
d7e49b19
RM
2101 * locale/programs/ld-ctype.c (set_one_default): New function, broken
2102 out of ...
2103 (set_class_defaults): ... local function set_default here.
2104 Define set_default as a macro locally to pass constant parameters.
2105 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2106 rather than a shared local.
2107
c079afb7
RM
2108 * stdlib/rpmatch.c (try): New function, broken out of ...
2109 (rpmatch): ... local function here. Also, prototypify definition.
2110
0bd72468
JM
21112014-09-12 Joseph Myers <joseph@codesourcery.com>
2112
ba90e050
JM
2113 * scripts/soversions.awk: Do not handle configuration names.
2114 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2115 vendor and os variables to soversions.awk.
2116 * configure.ac: Do not modify gnu-* host_os.
2117 * configure: Regenerated
2118 * shlib-versions: Remove first column with configuration names.
2119 * nptl/shlib-versions: Likewise.
2120 * nptl_db/shlib-versions: Likewise.
2121 * sysdeps/hppa/shlib-versions: Likewise.
2122 * sysdeps/m68k/shlib-versions: Likewise.
2123 * sysdeps/mach/hurd/shlib-versions: Likewise.
2124 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2125 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2126 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2127 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2128 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2129 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2130 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2131 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2133 Likewise.
2134 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2135 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2136 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2137 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2138 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2139 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2140 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2141 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2142
73a39112
JM
2143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2144 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2146 Regenerated.
2147 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2149 Condition symbol version definitions on [HAVE_ELFV2_ABI].
2150
c729e7c1
JM
2151 * shlib-versions: Remove OS-specific entries. Moved to files in
2152 sysdeps.
2153 * sysdeps/mach/hurd/shlib-versions: New file.
2154 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2155
dc932a24
JM
2156 * nptl/shlib-versions: Remove architecture-specific entries.
2157 Moved to files in sysdeps.
2158 * shlib-versions: Likewise.
2159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2160 file.
2161 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2162 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2163 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2164 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2165
0bd72468
JM
2166 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2167 (UDP_NO_CHECK6_RX): Likewise.
2168
920238e0
SP
21692014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2170
2171 * sysdeps/posix/sysconf.c (__sysconf): Spell
2172 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2173
ba7b4d29
FW
21742014-08-12 Florian Weimer <fweimer@redhat.com>
2175
2176 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2177 loading.
2178 * iconv/Versions (__gconv_transliterate): Export for use from
2179 gconv modules.
2180 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2181 (struct __gconv_trans_data, __gconv_trans_fct,
2182 __gconv_trans_context_fct, __gconv_trans_query_fct,
2183 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2184 definitions.
2185 (struct __gconv_step_data): Remove __trans member.
2186 (__gconv_transliterate): Declaration moved from gconv_int.h. No
2187 longer hidden. Remove unused trans_data argument.
2188 * iconv/gconv_int.h (struct trans_struct): Remove definition.
2189 (__gconv_translit_find): Remove declaration.
2190 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
2191 prototype.
2192 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2193 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2194 trans_data argument. Add hidden definition.
2195 (__gconv_translit_find): Remove.
2196 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2197 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2198 * iconv/skeleton.c: Remove transliteration initialization.
2199 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2200 __gconv_step_data initialization.
2201 * libio/iofwide.c (__libio_translit_): Remove.
2202 (_IO_fwide): Adjust struct __gconv_step_data initialization.
2203 * wcsmbs/btowc.c (__btowc): Likewise.
2204 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2205 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2206 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2207 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2208 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2209 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2210 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2211 * wcsmbs/wctob.c (wctob): Likewise.
2212
5379aebd
SP
22132014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2214
2215 [BZ #16194]
2216 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2217 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
2218 register usage.
2219 * sysdeps/x86/Makefile: Adjust.
2220
8c0ab919
RM
22212014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2222 Roland McGrath <roland@hack.frob.com>
2223
2224 * locale/weight.h: Add include guard.
2225 (findidx): Make static rather than auto; take new parameters
2226 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2227 * locale/weightwc.h: Likewise.
2228 * posix/fnmatch_loop.c
2229 (FCT): Change type of EXTRA from int32_t to wint_t.
2230 Don't include either header inside the function.
2231 Call FINDIDX rather than findidx, and pass new arguments.
2232 #undef FINDIDX at the end of the file.
2233 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2234 FINDIDX before including fnmatch_loop.c for the non-wide version.
2235 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2236 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2237 for the wide version.
2238 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2239 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2240 Pass new arguments to findidx.
2241 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2242 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2243 Don't #include it inside the function. Pass new arguments to findidx.
2244 * posix/regex_internal.h
2245 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2246 (re_string_elem_size_at): Don't #include it inside the function.
2247 Pass new arguments to findidx.
2248 * string/strcoll_l.c: #include WEIGHT_H at top level.
2249 (get_next_seq): Don't #include it inside the function.
2250 Pass new arguments to findidx.
2251 (get_next_seq_nocache): Likewise.
2252 * string/strxfrm_l.c: #include WEIGHT_H at top level.
2253 (STRXFRM): Don't #include it inside the function.
2254 Pass new arguments to findidx.
2255
52ffbdf2
FW
22562014-09-11 Florian Weimer <fweimer@redhat.com>
2257
2258 [BZ #17344]
2259 * malloc/malloc.c (unlink): Turn asserts into a call to
2260 malloc_printerr.
2261
984c0ea9
TL
22622014-09-11 Tim Lammens <tim.lammens@gmail.com>
2263
2264 [BZ #17370]
2265 * libio/wfileops (do_ftell_wide): Free OUT.
2266
3daee107
CM
22672014-09-10 Chris Metcalf <cmetcalf@tilera.com>
2268
2269 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2270
58b930ae
SP
22712014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2272
2273 [BZ #17363]
2274 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2275 group if the current group is empty.
2276
3b473fec
AZ
22772014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2278
71ae8647
AZ
2279 * benchtests/bench-memset.c (test_main): Add more test from size
2280 from 32 to 512 bytes.
2281 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2282 Add POWER8 memset object.
2283 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2284 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2285 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2286 implementation.
2287 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2288 Likewise.
2289 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2290 multiarch POWER8 memset optimization.
2291 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2292 POWER8 memset optimization.
2293
3b473fec
AZ
2294 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2295 Remove bzero multiarch objects.
2296 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2297 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2298 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2299 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2300 Remove define.
2301 [__bzero]: Redefine to specific name.
2302 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2303 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2304 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2305 define.
2306 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2307 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2308
e6fb9587
FW
23092014-09-10 Florian Weimer <fweimer@redhat.com>
2310
2311 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2312 warnings into errors.
2313
2314 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2315 __cxa_thread_atexit_impl prototype.
2316
9d3a350b
SE
23172014-09-09 Steve Ellcey <sellcey@mips.com>
2318
2319 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2320 Fix capitalization of error message.
2321
0febba23
SE
23222014-09-09 Steve Ellcey <sellcey@mips.com>
2323
2324 * sysdeps/mips/preconfigure: Modify ABI tests.
2325
645a0e9c
CD
23262014-09-07 Carlos O'Donell <carlos@systemhalted.org>
2327
2328 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2329
d83f0734
CD
23302014-09-07 Roland McGrath <roland@hack.frob.com>
2331 Carlos O'Donell <carlos@systemhalted.org>
2332
2333 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2334 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2335 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2336 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2337 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2338 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2339 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2340 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2341 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2342 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2343 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2344 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2345 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2346 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2347 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2348 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2349 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2350 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2351 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2352 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2353 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2354 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2355 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2356 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2357 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2358 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2359 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2360 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2361 Deconditionalize the code that was previously under [RESET_PID].
2362 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2363 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2364 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2365 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2366 include sysdep.h.
2367
21c83793
AM
23682014-09-08 Allan McRae <allan@archlinux.org>
2369
2370 * version.h (RELEASE): Set to "development".
2371 (VERSION): Set to "2.20.90"
2372
1cd9b65c
AM
23732014-09-07 Allan McRae <allan@archlinux.org
2374
b8079dd0
AM
2375 * version.h (RELEASE): Set to "stable".
2376 (VERSION): Set to "2.20"
2377 * include/features.h (__GLIBC_MINOR__): Set to 20.
2378
c46303ef
AM
2379 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2380 Liebler.
2381
1cd9b65c
AM
2382 * po/ko.po: Update Korean translation from translation project.
2383
8622092d
CM
23842014-09-06 Chris Metcalf <cmetcalf@tilera.com>
2385
2386 [BZ #17354]
2387 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2388 macro for handling signed relocations.
2389
41488498
FW
23902014-09-03 Florian Weimer <fweimer@redhat.com>
2391
2392 [BZ #17325]
2393 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2394 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2395 assert.
2396 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2397 * iconvdata/ibm935.c (BODY): Likewise.
2398 * iconvdata/ibm937.c (BODY): Likewise.
2399 * iconvdata/ibm939.c (BODY): Likewise.
2400 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2401 assert.
2402 * iconvdata/Makefile (iconv-test.out): Pass module list to test
2403 script.
2404 * iconvdata/run-iconv-test.sh: New test loop for checking for
2405 decoder crashers.
2406
a78b712d
KR
24072014-09-02 Khem Raj <raj.khem@gmail.com>
2408
2409 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2410 libm_hidden_ver.
2411
cb08abc6
AM
24122014-09-01 Allan McRae <allan@archlinux.org>
2413
2c31e102
AM
2414 * po/eo.po: Update Esperanto translation from translation project.
2415
cb08abc6
AM
2416 * po/ca.po: Update Catalan translation from translation project.
2417
17a62de1
ST
24182014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2419
2420 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2421 __proc_dostop call.
2422
9570bc53
MW
24232014-08-27 Mark Wielaard <mjw@redhat.com>
2424
2425 [BZ #17319]
2426 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2427 to call set_thread_area instead of hand written asm.
2428 (__NR_set_thread_area): Removed define.
2429 (TLS_FLAG_WRITABLE): Likewise.
2430 (__ASSUME_SET_THREAD_AREA): Remove check.
2431 (TLS_EBX_ARG): Remove define.
2432 (TLS_LOAD_EBX): Likewise.
2433
b0f955c9
ST
24342014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2435
2436 Simplify atomicity of socket creation in bind.
2437
2438 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2439 looking up the name after linking the file.
2440
529bf515
AM
24412014-08-27 Allan McRae <allan@archlinux.org>
2442
2443 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2444
a1a6a401
FW
24452014-08-26 Florian Weimer <fweimer@redhat.com>
2446
2447 [BZ #17187]
2448 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2449 trans_compare, open_translit, __gconv_translit_find):
2450 Remove module loading code.
2451
686ab290
AM
24522014-08-26 Allan McRae <allan@archlinux.org>
2453
e4e7cfd2
AM
2454 * po/vi.po: Update Vietnamese translation from translation project.
2455
6aa09f71
AM
2456 * po/uk.po: Update Ukrainian translation from translation project.
2457
edc0660e
AM
2458 * po/fr.po: Update French translation from translation project.
2459
7eea72ac
AM
2460 * po/ru.po: Update Russian translation from translation project.
2461
93c49eff
AM
2462 * po/pl.po: Update Polish translation from translation project.
2463
46acaf63
AM
2464 * po/cs.po: Update Czech translation from translation project.
2465
a9f5ce98
AM
2466 * po/de.po: Update German translation from translation project.
2467
373f2b78
AM
2468 * po/bg.po: Update Bulgarian translation from translation project.
2469
e7548bd8
AM
2470 * po/sv.po: Update Sweedish translation from translation project.
2471
c526bf4d
AM
2472 * po/nl.po: Update Dutch translation from translation project.
2473
686ab290
AM
2474 * po/es.po: Update Spanish translation from translation project.
2475
eb72478a
SP
24762014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2477
dd763fdb
SP
2478 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2479
318c7a58
SP
2480 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2481 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2482 (CPPFLAGS-iconvconfig): Likewise.
2483 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2484
eb72478a
SP
2485 * include/libc-symbols.h: Remove unnecessary check for
2486 NOT_IN_libc.
2487 * nptl/pthreadP.h: Likewise.
2488 * sysdeps/aarch64/setjmp.S: Likewise.
2489 * sysdeps/alpha/setjmp.S: Likewise.
2490 * sysdeps/arm/sysdep.h: Likewise.
2491 * sysdeps/i386/setjmp.S: Likewise.
2492 * sysdeps/m68k/setjmp.c: Likewise.
2493 * sysdeps/posix/getcwd.c: Likewise.
2494 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2495 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2496 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2497 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2498 * sysdeps/sh/sh3/setjmp.S: Likewise.
2499 * sysdeps/sh/sh4/setjmp.S: Likewise.
2500 * sysdeps/unix/alpha/sysdep.h: Likewise.
2501 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2502 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2503 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2504 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2507 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2508 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2509 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2510 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2511 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2512 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2513 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2514 * sysdeps/x86_64/setjmp.S: Likewise.
2515
d44a052c
JM
25162014-08-13 Joseph Myers <joseph@codesourcery.com>
2517
2518 [BZ #17263]
2519 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2520 <stdint.h>.
2521 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2522 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2523
508ce3ac
SP
25242014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2525
e44c8b0e
SP
2526 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2527
508ce3ac
SP
2528 [BZ #17262]
2529 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2530 and __x86_64__ when disabling x87 inline functions.
2531
b4acef1f
L
25322014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2533
2534 [BZ #17259]
2535 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2536 asm statement with __cpuid_count.
2537
61b1ef6e
MF
25382014-08-12 Mike Frysinger <vapier@gentoo.org>
2539
2540 * configure.ac: Change __ehdr_start code to dereference the struct.
2541 Run readelf on the output to look for relocations.
2542 * configure: Regenerated.
2543
898c62f4
JM
25442014-08-12 Joseph Myers <joseph@codesourcery.com>
2545
2546 [BZ #17261]
2547 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2548 value to 0.
2549 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2550
9a8a5720
RM
25512014-08-12 Roland McGrath <roland@hack.frob.com>
2552
2553 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2554
4e75751c
BO
25552014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2556
2557 [BZ #16892]
2558 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2559 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2560
bb2ce416
SA
25612014-08-12 Sean Anderson <seanga2@gmail.com>
2562
2563 * malloc/malloc.c: Fix typo in comment.
2564
7950a4ee
AM
25652014-08-09 Allan McRae <allan@archlinux.org>
2566
2567 * Regenerate libc.po.
2568
f469c49f
MF
25692014-08-08 Mike Frysinger <vapier@gentoo.org>
2570
2571 * intl/tst-gettext2.sh: Check every lang file for creation.
2572
656b84c2
WD
25732014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2574
2575 * sysdeps/aarch64/fpu/math_private.h
2576 (libc_feholdsetround_noex_aarch64_ctx): New function.
2577
538e9e45
W
25782014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2579
2580 * sysdeps/arm/armv6/strcpy.S (strcpy):
2581 Fix performance issue in misaligned cases.
2582
d4795e4a
AZ
25832014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2584
2585 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2586 Move definition from termios.h.
2587 (struct termio): Likewise.
2588 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2589 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2590 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2591 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2592 Likewise.
2593 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2594 Move definition to ioctl-types.h
2595 (struct termio): Likewise.
2596 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2597 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2598 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2599 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2600 Likewise.
2601
64accb62
RH
26022014-08-05 Richard Henderson <rth@redhat.com>
2603
27bb6dc0
RH
2604 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2605 exceptions.
2606 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2607 Add fraiseexcpt.
2608 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2609 Use __feraiseexcept.
2610 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2611 Protect libm symbols with IS_IN_libm.
2612
64accb62
RH
2613 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2614
e5292691
BO
26152014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
2616
2617 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2618
5b4bd2d4
WN
26192014-08-04 Will Newton <will.newton@linaro.org>
2620
2621 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2622 file.
2623
fcadaeef
MF
26242014-08-04 Mike Frysinger <vapier@gentoo.org>
2625
2626 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2627 variants for each function.
2628
43a94c64
RM
26292014-08-04 Roland McGrath <roland@hack.frob.com>
2630
2631 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2632 appended ...
2633 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2634 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2635 appended ...
2636 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2637 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2638 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2639 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2640 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2641 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2642 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2643 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2644 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2645 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2646 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2647 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2648 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2649 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2650 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2651 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2652 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2653 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2654 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2655 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2656 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2657 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2658 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2659 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2660 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2661 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2662 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2663 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2664 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2665 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2666 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2667 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2668 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2669 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2670 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2671 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2672 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2673 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2674 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2675 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2676 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2677 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2678 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2679 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2680 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2681 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2682 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2683 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2684 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2685 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2686 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2687 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2688 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2689 Update #include.
2690 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2691 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2692
8f3c1fa4
RM
26932014-08-04 Roland McGrath <roland@hack.frob.com>
2694
2695 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2696 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2697 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2698 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2699 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2700 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2701
ca08746f
RM
27022014-08-04 Roland McGrath <roland@hack.frob.com>
2703
2704 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2705 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2706 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2707 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2708
9c925ff9
RM
27092014-08-04 Roland McGrath <roland@hack.frob.com>
2710
2711 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2712 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2713 (__libc_vfork): Define function under this name.
2714 (__vfork): Define as an alias.
2715 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2716 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2717
e641054c
RM
27182014-08-04 Roland McGrath <roland@hack.frob.com>
2719
2720 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2721 that was previously under [RESET_PID].
2722 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2723
dacdc867
AS
27242014-08-04 Andreas Schwab <schwab@suse.de>
2725
2726 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2727
41f725ff
MF
27282014-08-03 Mike Frysinger <vapier@gentoo.org>
2729
2730 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2731 (main): Likewise.
2732
277cfb31
RM
27332014-08-01 Roland McGrath <roland@hack.frob.com>
2734
2735 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2736
4896f049
RH
27372014-08-01 Richard Henderon <rth@redhat.com>
2738
2739 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2740 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2741 typo in exact zero test.
2742 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2743 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2744 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2745
6f64e7d7
RM
27462014-08-01 Roland McGrath <roland@hack.frob.com>
2747
2748 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2749 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2750 * sysdeps/arm/sysdep.h: ... here.
2751 [!__ASSEMBLER__]: Include <stdint.h>.
2752
3f3dd810
SP
27532014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2754
a476ac4b
SP
2755 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2756 (HAVE_WCTYPE_H): Likewise.
2757 (HAVE_ISWCTYPE): Likewise.
2758 (ENABLE_NLS): Likewise.
2759 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2760 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2761
78dd658a
SP
2762 * posix/regex_internal.c: Check if DEBUG is defined and is
2763 set.
2764
3f3dd810
SP
2765 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2766 (HAVE_MBSRTOWCS): Likewise.
2767 * posix/fnmatch.c: Include string.h unconditionally.
2768
95ee7fb1
SL
27692014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2770
2771 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2772 reversal.
2773
23fe486b
RM
27742014-07-31 Roland McGrath <roland@hack.frob.com>
2775
f61a113f
RM
2776 * sysdeps/generic/safe-fatal.h: New file.
2777 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2778 * nptl/forward.c: Include it.
2779 (__pthread_unwind): Use __safe_fatal as default action, rather
2780 than a bogus use of INTERNAL_SYSCALL that could never work.
2781
9fe7e787
RM
2782 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2783 * configure.ac (libc_cv_builtin_trap): New test.
2784 * configure: Regenerated.
2785 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2786 (ABORT_INSTRUCTION): Define using __builtin_trap.
2787
23fe486b
RM
2788 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2789 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2790 * sysdeps/nptl/nptl-signals.h: New file.
2791 * nptl/pthreadP.h: Include <nptl-signals.h>.
2792
f349489e
SL
27932014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2794
2795 * sysdeps/s390/s390-64/utf16-utf32-z9.c
2796 (ONE_DIRECTION): Define.
2797 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2798 (ONE_DIRECTION): Define.
2799 * sysdeps/s390/s390-64/utf8-utf32-z9.c
2800 (ONE_DIRECTION): Define.
2801
2f438e20
SL
28022014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2803
2804 * sysdeps/s390/Makefile: Delete file.
2805 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2806 * sysdeps/s390/__longjmp.c: Delete file.
2807 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2808 Remove fields __flags and __reserved.
2809 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2810 and add versioning.
2811 * sysdeps/s390/rtld-__longjmp.c: Delete file.
2812 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2813 * sysdeps/s390/rtld-setjmp.S: Likewise.
2814 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2815 * sysdeps/s390/s390-32/__longjmp.c: ... here.
2816 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2817 * sysdeps/s390/s390-32/setjmp.S: ... here.
2818 Add versioning.
2819 (__sigsetjmp): Remove setting __flags field.
2820 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2821 * sysdeps/s390/s390-64/__longjmp.c: ... here.
2822 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2823 * sysdeps/s390/s390-64/setjmp.S: ... here.
2824 Add versioning.
2825 (__sigsetjmp): Remove setting __flags field.
2826 * sysdeps/s390/setjmp.S: Delete file.
2827 * sysdeps/s390/sigjmp.c: Likewise.
2828 * sysdeps/s390/v1-longjmp.c: Likewise.
2829 * sysdeps/s390/v1-setjmp.h: Likewise.
2830 * sysdeps/s390/v1-sigjmp.c: Likewise.
2831 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2832 Remove v1-longjmp_chk.
2833 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2834 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2835 Include debug/longjmp_chk.c and add versioning.
2836 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2837 Include nptl/pt-longjmp.c and add versioning.
2838 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2839 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2840 Include __longjmp.c.
2841 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2842 Move to ...
2843 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2844 (__getcontext): Remove setting __flags field.
2845 Add versioning.
2846 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2847 Don't restore upper high grps.
2848 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2849 Likewise.
2850 (__swapcontext): Remove setting uc_flags field.
2851 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2852 Delete file.
2853 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2854 Include __longjmp.c.
2855 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2856 Move to ...
2857 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2858 (__getcontext): Remove setting __flags field.
2859 Add versioning.
2860 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2861 (__swapcontext): Remove setting uc_flags field.
2862 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2863 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2864 Remove fields uc_high_gprs and __reserved.
2865 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2866 New file with reverted content.
2867 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2868 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2869 Regenerated.
2870 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2871 Regenerated.
2872
6c9578a2
AS
28732014-07-31 Andreas Schwab <schwab@suse.de>
2874
2875 * config.h.in (HAVE_IFUNC): Define to 0.
2876 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2877 definedness.
2878
05f3633d
LM
28792014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
2880
2881 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2882 memmove-avx-unaligned, memcpy-avx-unaligned and
2883 mempcpy-avx-unaligned.
2884 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2885 Add tests for AVX memcpy functions.
2886 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2887 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2888 memcpy_chk.
2889 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2890 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2891 memmove_chk.
2892 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2893 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2894 mempcpy_chk.
2895 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2896 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2897 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2898
a53fbd8e
AZ
28992013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2900
2901 [BZ #17213]
2902 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2903 powerpc64le.
2904
0961f7e1
JL
29052014-07-29 Jeff Layton <jlayton@poochiereds.net>
2906
2907 [BZ #16839]
2908 * manual/llio.texi: Add section about open file description locks.
2909 * manual/examples/ofdlocks.c: Example of open file description
2910 lock usage.
2911 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2912 F_OFD_SETLK, and F_OFD_SETLKW.
2913
cc5fb300
AM
29142014-07-23 Allan McRae <allan@archlinux.org>
2915
2916 * po/es.po: Update Spanish translation from translation project.
2917
23329dca
AS
29182014-07-18 Andreas Schwab <schwab@linux-m68k.org>
2919
2920 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2921
9c82da17
MR
29222014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
2923
2924 [BZ #17078]
2925 * sysdeps/arm/dl-machine.h (elf_machine_rela)
2926 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2927 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2928
29c4f53e
JM
29292014-07-17 Joseph Myers <joseph@codesourcery.com>
2930
831b9896
JM
2931 [BZ #17088]
2932 * math/fesetenv.c (__fesetenv)
2933 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2934 * math/feupdateenv.c (__feupdateenv)
2935 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2936
b21c2d50
JM
2937 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2938 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2939 (__ASSUME_SOCKETCALL): Do not define.
2940
067764ef
JM
2941 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2942 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2943 (__ASSUME_SOCKETCALL): Do not define.
2944 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2945 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2946 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2947 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2948 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2949 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
2950 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2951 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2952
642530c1
JM
2953 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
2954 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
2955 (__ASSUME_SOCKETCALL): Do not define.
2956 (__ASSUME_IPC64): Define unconditionally.
2957 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2958 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2959 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2960 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2961 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
2962 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2963 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
2964 Likewise.
2965
03f77315
JM
2966 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2967 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2968 (__ASSUME_SOCKETCALL): Do not define.
2969 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2970 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2971 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2972 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2973 (__ASSUME_REQUEUE_PI): Define unconditionally.
2974 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2975 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2976 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2977 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2978 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2979 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2980
083b1f7c
JM
2981 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2982 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2983 (__ASSUME_SOCKETCALL): Do not define.
2984 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2985 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2986 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2987 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2988 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2989 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2990
5be44ea6
JM
2991 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2992 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2993 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2994 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2995 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2996 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2997 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2998 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2999 (__ASSUME_GETCPU_SYSCALL): Likewise.
3000
d95ffd4c
JM
3001 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
3002 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
3003 cases for individual architectures.
3004 * sysdeps/gnu/configure: Regenerated.
3005 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
3006 LIBC_SLIBDIR_RTLDDIR.
3007 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
3008 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
3009 LIBC_SLIBDIR_RTLDDIR.
3010 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
3011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
3012 LIBC_SLIBDIR_RTLDDIR.
3013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3014 Regenerated.
3015 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
3016 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
3017 file.
3018 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
3019 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
3020 file.
3021 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
3022 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
3023 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
3024 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
3025
29c4f53e
JM
3026 * sysdeps/aarch64/shlib-versions: Move to ...
3027 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
3028 * sysdeps/alpha/shlib-versions: Move to ...
3029 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
3030 * sysdeps/arm/shlib-versions: Move to ...
3031 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
3032 * sysdeps/hppa/shlib-versions: Move all contents except for
3033 libgcc_s entry to ...
3034 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
3035 entry from ...
3036 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
3037 * sysdeps/ia64/shlib-versions: Move to ...
3038 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
3039 entry from ...
3040 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
3041 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
3042 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
3043 * sysdeps/microblaze/shlib-versions: Move to ...
3044 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
3045 * sysdeps/mips/shlib-versions: Move to ...
3046 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
3047 entry from ...
3048 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
3049 * sysdeps/tile/shlib-versions: Move to ...
3050 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
3051 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
3052 from ...
3053 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
3054 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
3055 entry from ...
3056 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
3057
32bead5b
WN
30582014-07-17 Will Newton <will.newton@linaro.org>
3059
57977c4b
WN
3060 * sysdeps/arm/bits/atomic.h
3061 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
3062 (__arch_compare_and_exchange_bool_16_int): Likewise.
3063 (__arch_compare_and_exchange_bool_64_int): Likewise.
3064
32bead5b
WN
3065 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
3066 into an #else block.
3067
37fccd41
RM
30682014-07-16 Roland McGrath <roland@hack.frob.com>
3069
3070 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
3071 just Linux configurations. Test empirically that the compiler sets
3072 __ARM_EABI__, rather than using the tuple to decide.
3073 * sysdeps/arm/preconfigure: Regenerated.
3074 * sysdeps/unix/sysv/linux/arm/configure: File removed.
3075 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
3076 contents appended ...
3077 * sysdeps/arm/configure.ac: ... here.
3078 * sysdeps/arm/configure: Regenerated.
3079
b365f3ec
RM
30802014-07-15 Roland McGrath <roland@hack.frob.com>
3081
8badf496
RM
3082 * nptl/pthread_kill.c: New file.
3083 * nptl/pthread_sigmask.c: New file.
3084 * nptl/pthread_sigqueue.c: New file.
3085
3df6f22e
RM
3086 * sysdeps/nptl/lowlevellock.h: New file.
3087 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
3088 * sysdeps/nptl/lowlevellock-futex.h: New file.
3089
b365f3ec
RM
3090 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
3091 Remove dead declarations.
3092
f2fef657
L
30932014-07-14 H.J. Lu <hongjiu.lu@intel.com>
3094
3095 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3096 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3097 config-cflags-avx2.
3098 * sysdeps/x86_64/configure.ac: Likewise.
3099 * sysdeps/i386/configure: Regenerated.
3100 * sysdeps/x86_64/configure: Likewise.
3101 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3102 memset-avx2 only if config-cflags-avx2 is yes.
3103 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3104 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3105 defined.
3106 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3107 only if HAVE_AVX2_SUPPORT is defined.
3108 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3109
f6c44d47
AM
31102014-07-14 Alan Modra <amodra@gmail.com>
3111
3112 [BZ #17153]
3113 * elf/elf.h (DT_PPC64_NUM): Correct value.
3114 * NEWS: Add to fixed bug list.
3115
7ee03f00
JM
31162014-07-13 Jim Meyering <meyering@fb.com>
3117
3118 [BZ 17150]
3119 regex: don't deref NULL upon heap allocation failure
3120 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3121 failure in one more place.
3122 To trigger the segfault, configure grep -with-included-regex,
3123 build it, and run these commands:
3124 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3125
9d39d517
AS
31262014-07-13 Andreas Schwab <schwab@linux-m68k.org>
3127
3128 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3129
a75b89b7
RH
31302014-07-11 Richard Henderson <rth@redhat.com>
3131
3132 * sysdeps/aarch64/libm-test-ulps: Update.
3133
771eb141
FW
31342014-07-10 Florian Weimer <fweimer@redhat.com>
3135
3136 [BZ #17135]
3137 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3138 * nptl/allocatestack.c (__nptl_setxid_error): New function.
3139 (__nptl_setxid): Initialize error member. Call
3140 __nptl_setxid_error.
3141 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3142 * nptl/descr.h (struct xid_command): Add error member.
3143 * nptl/tst-setuid3.c: New file.
3144 * nptl/Makefile (tests): Add it.
3145
bc1da176
AZ
31462014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3147
3148 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3149 New define.
3150 (__lll_trylock): Use __lll_base_trylock.
3151 (__lll_cond_trylock): Likewise.
3152
887865fc
RM
31532014-07-10 Roland McGrath <roland@hack.frob.com>
3154
c0c6bac9
RM
3155 * nptl/pthread_create.c (start_thread): Use atomic_or and
3156 lll_futex_wake directly rather than lll_robust_dead.
3157 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3158 (lll_robust_dead): Macro removed.
6a42be57 3159 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
3160 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3161 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3162 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3163 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3164 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3165 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3166 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3167 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3168 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3169 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3170 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3171 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3172 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3173 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3174
887865fc
RM
3175 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3176 Use atomic_compare_and_exchange_val_acq directly rather than
3177 lll_robust_trylock.
3178 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3179 (__lll_robust_trylock, lll_robust_trylock): Removed.
3180 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3181 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3182 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3183 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3184 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3185 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3186 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3187 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3188 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3189 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3190 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3191 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3192 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3193 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3194
58536726
FW
31952014-07-02 Florian Weimer <fweimer@redhat.com>
3196
3197 * manual/locale.texi (Locale Names): New section documenting
3198 locale name syntax. Adjust menu and node chaining accordingly.
3199 (Choosing Locale): Reference Locale Names, Locale Categories.
3200 Mention setting LC_ALL=C. Reflect that name syntax is now
3201 documented.
3202 (Locale Categories): New section title. Reference Locale Names.
3203 LC_ALL is an environment variable, but not a category.
3204 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3205 description, now in Locale Name. Reference that section. Locale
3206 name syntax is now documented.
3207
4e8f95a0
FW
32082014-07-02 Florian Weimer <fweimer@redhat.com>
3209
3210 [BZ #17137]
3211 * locale/findlocale.c (name_present, valid_locale_name): New
3212 functions.
3213 (_nl_find_locale): Use the loc_name variable to store name
3214 candidates. Call name_present and valid_locale_name to check and
3215 validate locale names. Return an error if the locale is invalid.
3216
d1836456
FW
32172014-07-02 Florian Weimer <fweimer@redhat.com>
3218
3219 * locale/setlocale.c (setlocale): Use strdup for allocating
3220 composite name copy.
3221
d69b7f5a
SP
32222014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3223
888c679b
SP
3224 Sync up with gnulib.
3225 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3226 [!_LIBC && ENABLE_NLS]: Include gettext.h.
3227 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3228 and _GL_ARG_NONNULL.
3229 [USE_UNLOCKED_IO]: Include unlocked-io.h.
3230 [!_LIBC]: Include code for Windows and Cygwin.
3231 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3232 Include prototype for int strerror_r.
3233 [!_LIBC] (is_open): New function.
3234 (flush_stdout): New function.
3235 (print_errno_message): Use it.
3236 (error): Likewise.
3237 (error_at_line): Likewise.
3238 (error_tail) Add function attribute macros. Use
3239 __builtin_expect.
3240
180e0e4b
SP
3241 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3242
d22f1fe2
SP
3243 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3244
12f2254b
SP
3245 * io/ftw.c: Include sys/param.h unconditionally.
3246
c3c7c360
SP
3247 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3248
d62aa75a
SP
3249 [BZ #17125]
3250 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3251 libc_freeres_ptr.
3252 (freecache): New function to free CACHE on exit.
3253
d69b7f5a
SP
3254 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3255 initialization.
3256
5efe06a1
DM
32572014-07-09 David S. Miller <davem@davemloft.net>
3258
3259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3260
7000d82e
DM
3261 * sysdeps/sparc/nptl/internaltypes.h: Delete.
3262 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3263 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3264 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3265 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3266 * sysdeps/sparc/nptl/sem_init.c: Likewise.
3267 * sysdeps/sparc/nptl/sem_post.c: Likewise.
3268 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3269 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3270 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3271 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3272 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3273 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3274
c213442d
AS
32752014-07-09 Andreas Schwab <schwab@suse.de>
3276
4a2552c3
AS
3277 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3278 output.
3279 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3280 (do_test): Likewise.
3281
c213442d
AS
3282 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3283
82374e65
WN
32842014-07-09 Will Newton <will.newton@linaro.org>
3285
3286 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3287 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3288 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3289 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3290 * sysdeps/hppa/start.S (_start): Likewise.
3291
6680738a
SP
32922014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3293
6ee3eab4
SP
3294 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3295
6680738a
SP
3296 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3297 defined.
3298
80b5c505
SP
32992014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3300
e35c53e3
SP
3301 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3302 after checking that it is non-NULL.
3303
80b5c505
SP
3304 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3305
91f4b564
AZ
33062014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3307
27b75f56
AZ
3308 * sysdeps/powerpc/memmove.c: Remove file.
3309 * sysdeps/powerpc/powerpc32/power4/memcopy.h
3310 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3311 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3312 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3313 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3314 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3315 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3316 string memmove instead of removed powerpc one.
3317
e7f95bb5
AZ
3318 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3319 [weak_alias]: Fix compiler warning due trailing data.
3320 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3321 [weak_alias]: Likewise.
3322 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3323 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3324
91f4b564
AZ
3325 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3326 (__libc_ifunc_impl_list): Add memmove functions.
3327
7c33f1e5
SP
33282014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3329
3330 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3331 Remove code.
3332 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3333 Likewise
3334 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3335 Likewise
3336 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3337 Likewise
3338 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3339 Likewise
3340 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3341 Likewise
3342 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3343 Likewise
3344 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3345 Likewise
3346 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3347 Likewise
3348 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3349 Likewise
3350 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3351 Likewise
3352 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3353 Likewise
3354 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3355 Likewise
3356 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3357 Likewise
3358 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3359 Likewise
3360 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3361 Likewise
3362 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3363 Likewise
3364
3f17b03b
AZ
33652014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3366
87868c24
AZ
3367 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3368 to avoid alignment traps in non-cacheable memory.
3369 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3370
07aedd78
AZ
3371 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3372 multiarch objects.
3373 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3374 file: multiarch power7 memmove.
3375 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3376 multiarch default memmove.
3377 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3378 multiarch memove for powerpc32/power4.
3379
17762f66
AZ
3380 * string/bcopy.c: Use full path to include memmove.c.
3381 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3382 multiarch objects.
3383 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3384 bcopy for powerpc64.
3385 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3386 bcopy for powerpc64.
3387 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3388 and memmove implementations.
3389 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3390 optimized multiarch memmove for POWER7/powerpc64.
3391 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3392 default multiarch memmove for powerpc64.
3393 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3394 multiarch for powerpc64.
3395 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3396 for POWER7/powerpc64.
3397 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3398 memmove for POWER7/powerpc64.
3399
d6f68bbe
AZ
3400 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3401 glibc default one.
3402
3f17b03b
AZ
3403 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3404 __ELF_NATIVE_CLASS equal to 64.
3405
08192659
RM
34062014-07-07 Roland McGrath <roland@hack.frob.com>
3407
f4c4021b
RM
3408 * sysdeps/nptl/lowlevellock.h: File removed.
3409
f083450f
RM
3410 * NEWS: NPTL is no longer an add-on!
3411 * nptl/internaltypes.h: Moved ...
3412 * sysdeps/nptl/internaltypes.h: ... here.
3413 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3414 * sysdeps/nptl/fork.c: Likewise.
3415 * sysdeps/nptl/gai_misc.h: Likewise.
3416 * sysdeps/nptl/librt-cancellation.c: Likewise.
3417 * sysdeps/nptl/jmp-unwind.c: Likewise.
3418 * sysdeps/nptl/setxid.h: Likewise.
3419 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3420 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3421 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3422 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3423 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3424 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3425 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3426 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3427 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3428 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3429 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3430 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3431 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3432 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3433 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3434 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3435 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3436 * nptl/Makeconfig: Moved ...
3437 * sysdeps/nptl/Makeconfig: ... here.
3438 * nptl/configure: File removed.
3439 * nptl/ANNOUNCE: File removed.
3440 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3441 * sysdeps/unix/sysv/linux/configure: Regenerated.
3442
08192659
RM
3443 * nptl/Makefile (routines): Add libc_pthread_init,
3444 libc_multiple_threads, register-atfork and unregister-atfork.
3445 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3446 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3447 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3448 pthread-pi-defines.sym, structsem.sym.
3449 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3450 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3451 [$(subdir) = nptl] (tests): Add tst-setgetname.
3452 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3453 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3454 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3455 [!LIBC_SIGACTION]: Remove aliases.
3456 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3457 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3458 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3459 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3460 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3461 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3462 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3463 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3464 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3465 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3466 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3467 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3468 __libc_allocate_rtsig_private.
3469 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3470 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3471 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3472 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3473 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3474 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3475 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3476 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3477 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3478 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3479 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3480 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3481 * nptl/internaltypes.h: ... here.
3482 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3483 * sysdeps/nptl/jmp-unwind.c: ... here.
3484 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3485 * nptl/libc-lowlevellock.c: ... here.
3486 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3487 * nptl/libc_multiple_threads.c: ... here.
3488 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3489 * nptl/libc_pthread_init.c: ... here.
3490 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3491 * nptl/lowlevelbarrier.sym: ... here.
3492 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3493 * nptl/lowlevelcond.sym: ... here.
3494 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3495 * nptl/lowlevellock.c: ... here.
3496 * nptl/lowlevellock.h: Moved ...
3497 * sysdeps/nptl/lowlevellock.h: ... here.
3498 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3499 * nptl/lowlevelrobustlock.c: ... here.
3500 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3501 * nptl/lowlevelrobustlock.sym: ... here.
3502 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3503 * nptl/lowlevelrwlock.sym: ... here.
3504 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3505 * nptl/pt-fork.c: ... here.
3506 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3507 * nptl/pthread-pi-defines.sym: ... here.
3508 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3509 * nptl/pthread_attr_getaffinity.c: ... here.
3510 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3511 * nptl/pthread_attr_setaffinity.c: ... here.
3512 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3513 * nptl/pthread_mutex_cond_lock.c: ... here.
3514 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3515 Update #include.
3516 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3517 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3518 * nptl/pthread_once.c: ... here, replacing old file.
3519 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3520 * nptl/pthread_yield.c: ... here.
3521 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3522 * nptl/register-atfork.c: ... here.
3523 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3524 * nptl/sem_post.c: ... here.
3525 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3526 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3527 * nptl/sem_timedwait.c: ... here.
3528 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3529 * nptl/sem_trywait.c: ... here.
3530 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3531 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3532 * nptl/sem_wait.c: ... here.
3533 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3534 * nptl/structsem.sym: ... here.
3535 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3536 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3537 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3538 * nptl/unregister-atfork.c: ... here.
3539 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3540 * nptl/unwindbuf.sym: ... here.
3541 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3542 * sysdeps/nptl/fork.c: ... here.
3543 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3544 * sysdeps/nptl/fork.h: ... here.
3545 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3546 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3547 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3548 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3549 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3550 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3551 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3552 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3553 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3554 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3555 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3556 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3557 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3558 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3559 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3560 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3561 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3562 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3563 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3564 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3565 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3566 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3567 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3568 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3569 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3570 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3571 * sysdeps/unix/sysv/linux/raise.c: ... here.
3572 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3573 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3574 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3575 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3576 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3577 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3578 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3579 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3580 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3581 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3582 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3583 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3584 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3585 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3586 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3587
96baf6ff
SP
35882014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3589
3590 * sysdeps/generic/memcopy.h: Add comment for
3591 MEMCPY_OK_FOR_FWD_MEMMOVE.
3592
6b7b14b2
WN
35932014-07-04 Will Newton <will.newton@linaro.org>
3594
1570a72b
WN
3595 * string/memchr.c: Merge from gnulib.
3596 [_LIBC]: Remove conditionals.
3597 (__ptr_t): Remove define.
3598 (LONG_MAX_32_BITS): Likewise.
3599 (LONG_MAX): Likewise.
3600 (MEMCHR): Use ANSI prototype and optimize algorithm.
3601
6b7b14b2
WN
3602 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3603
38851324
SP
36042014-07-03 Roland McGrath <roland@hack.frob.com>
3605
3d9eb57c
RM
3606 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3607 (lll_futex_timed_wait_bitset): Fix syscall argument count.
3608
78b984ae
RM
3609 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3610 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3611 in a bare environment with no <stdlib.h> installed.
3612 * sysdeps/nptl/configure: Regenerated.
3613
2d5976a5
RM
3614 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3615
c1f5acd4
RM
3616 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3617 AC_EGREP_CPP for kernel header checks, so they only succeed if
3618 including <linux/version.h> actually works right.
3619 * sysdeps/unix/sysv/linux/configure: Regenerated.
3620
4d614fe5
RM
3621 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3622 value so it's not diagnosed as unused.
3623
38851324
SP
3624 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3625 thing) with "ifeq ($(subdir),rt)".
3626
b3ec00e5
RH
36272014-07-03 Richard Henderson <rth@redhat.com>
3628
69862e25
RH
3629 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3630 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3631 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3632
d5e16ade
RH
3633 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3634 (math_force_eval): New.
3635
ca7b945c
RH
3636 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3637 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3638
cd1175a3
RH
3639 * sysdeps/alpha/fpu/s_round.c: Remove file.
3640 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3641
b3ec00e5
RH
3642 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3643 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3644 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3645 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3646 (_dl_start, print_statistics): Likewise.
3647 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3648 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3649
3650 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3651 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3652 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3653 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3654 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3655 (HP_SMALL_TIMING_AVAIL): Define.
3656 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3657 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3658 (HP_SMALL_TIMING_AVAIL): Define.
3659 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3660 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3661
3662 * sysdeps/aarch64/hp-timing.h: New file.
3663
3664 * sysdeps/generic/hp-timing.h: Remove dead comment.
3665 * sysdeps/generic/hp-timing-common.h: New file.
3666 * sysdeps/alpha/hp-timing.h: Include it.
3667 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3668 * sysdeps/i386/i686/hp-timing.h: Likewise.
3669 * sysdeps/ia64/hp-timing.h: Likewise.
3670 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3671 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3672 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3673 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3674 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3675 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3676 (hp_timing_t): New.
3677
3678 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3679 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3680 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3681 * elf/rtld.c (_dl_start_final): Likewise.
3682 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3683 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3684 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3685 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3686 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3687 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3688 (HP_TIMING_DIFF_INIT): Remove.
3689 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3690 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3691 (HP_TIMING_DIFF_INIT): Remove.
3692 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3693 * sysdeps/i386/i686/hp-timing.c: Remove file.
3694 * sysdeps/x86_64/hp-timing.c: Remove file.
3695 * sysdeps/ia64/hp-timing.c: Remove file.
3696 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3697 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3698 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3699 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3700
3701 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3702 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3703 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3704 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3705 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3706 (HP_TIMING_ACCUM): Remove.
3707 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3708 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3709 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3710
3711 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3712 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3713 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3714 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3715 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3716 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3717 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3718 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3719
3720 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3721
225f410f
MR
37222014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
3723
3724 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3725
3247f285
SP
37262014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3727
3728 Sync up with gettext.
3729 * intl/loadmsgcat.c: Define O_BINARY if not defined.
3730 [_MSC_VER]: Include malloc.h
3731 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3732 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3733 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
3734 TEMP_FAILURE_RETRY. Cast return of alloca.
3735 [!_LIBC] Call gl_rwlock_init.
3736 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3737
d12704c7
SP
37382014-07-02 Roland McGrath <roland@hack.frob.com>
3739
3740 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3741 before checking its value.
3742
99f8dc92
SP
37432014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3744
05fdac77
SP
3745 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3746
99f8dc92
SP
3747 * debug/memcpy_chk.c: Don't include pagecopy.h.
3748 * debug/mempcpy_chk.c: Likewise.
3749 * string/memcpy.c: Likewise.
3750 * string/memmove.c: Likewise.
3751 * sysdeps/powerpc/memmove.c: Likewise.
3752 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
3753 definition of PAGE_COPY_FWD_MAYBE here...
3754 * sysdeps/generic/pagecopy.h: ... from here.
3755 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3756
bc8ea385
VR
37572014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3758 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3759
3760 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3761 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3762 optimizations.
3763 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3764 (__libc_ifunc_impl_list): Likewise.
3765 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3766 multiarch strcat for PPC64.
3767 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3768 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3769
fe5f34e4
RM
37702014-07-02 Roland McGrath <roland@hack.frob.com>
3771
3772 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3773
256aa665
SP
37742014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3775
d4eb8195
SP
3776 * intl/loadmsgcat.c: Remove declaration of
3777 get_sysdep_segment_value.
3778 (get_sysdep_segment_value): Use ISO C style.
3779 (_nl_load_domain): Use ISO C style. Get rid of redundant
3780 semicolon. Fix typo and formatting in comment.
3781 (_nl_unload_domain): Use ISO C style.
3782
256aa665
SP
3783 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3784
b100f9aa
WN
37852014-07-02 Will Newton <will.newton@linaro.org>
3786
3787 * malloc/obstack.c: Merge from gnulib master.
3788 [HAVE_CONFIG_H]: Remove conditional code.
3789 [!_LIBC]: Include config.h.
3790 [!ELIDE_CODE]: Don't include inttypes.h, include
3791 stdint.h unconditionally.
3792 (print_and_abort): Mark as _Noreturn.
3793 (_obstack_allocated_p): Mark as __attribute_pure__.
3794 (obstack_free): Rename to __obstack_free.
3795 [!__attribute__]: Remove conditional code.
3796 * malloc/obstack.h: Merge from gnulib master.
3797 [__cplusplus]: Move conditional down.
3798 [!__attribute_pure__]: Define __attribute_pure__ here
3799 if it is not already defined.
3800 (_obstack_memory_used): Mark as __attribute_pure__.
3801 [!__obstack_free]: Define as obstack_free.
3802 [__GNUC__]: Remove check for ancient NeXT gcc.
3803
c4c41244
PE
38042014-07-02 Will Newton <will.newton@linaro.org>
3805 Paul Eggert <eggert@cs.ucla.edu>
3806
3807 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3808
e1e041c4
SP
38092014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3810
3811 * resolv/gethnamaddr.c: Add comment warning that the file is
3812 not maintained.
3813
ccf431ff
CD
38142014-07-01 Carlos O'Donell <carlos@redhat.com>
3815
d34570a6
CD
3816 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3817 entries.
3818
ccf431ff
CD
3819 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3820 entry for aio_cancel and aio_cancel64.
3821 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3822 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3823 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3824 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3825 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3826 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3827 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3828 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3829 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3830 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3831 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3832 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3833 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3834
ca06321d
RM
38352014-07-01 Roland McGrath <roland@hack.frob.com>
3836
3837 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3838 * nptl/pthread_mutex_lock.c: Likewise.
3839 * nptl/pthread_mutex_timedlock.c: Likewise.
3840 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3841
a1ac3184
RH
38422014-07-01 Richard henderson <rth@redhat.com>
3843
631021e0
RH
3844 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3845 (__isnan, __isnanl): Remove.
3846 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3847
a1ac3184
RH
3848 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3849
0c1d731f
SL
38502014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3851
3852 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3853
76985d3e
SP
38542014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3855
3856 * resolv/nss_dns/dns-host.c (getanswer_r)
3857 [MULTI_PTRS_ARE_ALIASES]: Remove code.
3858
b0cb3096
JM
38592014-07-01 Joseph Myers <joseph@codesourcery.com>
3860
3861 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3862 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3863 undefine.
3864 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3865 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3866
4d76cb39
RM
38672014-07-01 Roland McGrath <roland@hack.frob.com>
3868
3869 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3870 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3871
3872 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3873 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3874
3875 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3876 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3877 ... here.
3878 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3879 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3880
3881 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3882 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3883 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3884 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3885
3886 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3887 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3888 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3889 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3890 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3891 Moved ...
3892 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3893 ... here.
3894 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3895 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3896 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3897 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3898 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3899 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3900 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3901 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3902 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3903 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3904 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3905 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3906 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3907 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3908 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3909 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3910 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3911 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3912 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3913 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3914 ... here.
3915 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3916 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3917 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3918 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3919 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3920 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3921 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3922 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3923
0cdcad17
DH
39242014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
3925
3926 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3927 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3928 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3929 Add sysdep.
3930
9b71d0e3
AZ
39312014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3932
3933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3934
665390c2
JM
39352014-06-30 Joseph Myers <joseph@codesourcery.com>
3936
ae05a9d7
JM
3937 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3938 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3939
a7672a2f
JM
3940 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3941
665390c2
JM
3942 * sysdeps/arm/libm-test-ulps: Regenerated.
3943
d7a05d07
MR
39442014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3945 Roland McGrath <roland@hack.frob.com>
3946
3947 * test-skeleton.c (signal_handler): Kill the whole process group
3948 before killing the child individually.
3949 (main): Report any failure on `setpgid'.
3950
46f1d8a6
RM
39512014-06-30 Roland McGrath <roland@hack.frob.com>
3952
3953 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
3954 from _TLS_H to _ARM_NPTL_TLS_H.
3955 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
3956 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
3957
9c37ec0b
JM
39582014-06-30 Joseph Myers <joseph@codesourcery.com>
3959
ce9c5b3e
JM
3960 [BZ #16539]
3961 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
3962 (__expm1l): Return argument unchanged when small but not
3963 subnormal.
3964
3a6e9887
JM
3965 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3966 include macro name.
3967 (_FP_UNPACK_RAW_1_P): Likewise.
3968 (_FP_PACK_RAW_1): Likewise.
3969 (_FP_PACK_RAW_1_P): Likewise.
3970 (_FP_MUL_MEAT_1_wide): Likewise.
3971 (_FP_MUL_MEAT_DW_1_hard): Likewise.
3972 (_FP_MUL_MEAT_1_hard): Likewise.
3973 (_FP_DIV_MEAT_1_imm): Likewise.
3974 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3975 (_FP_DIV_MEAT_1_udiv): Likewise.
3976 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3977 (_FP_UNPACK_RAW_2): Likewise.
3978 (_FP_UNPACK_RAW_2_P): Likewise.
3979 (_FP_PACK_RAW_2): Likewise.
3980 (_FP_PACK_RAW_2_P): Likewise.
3981 (_FP_MUL_MEAT_DW_2_wide): Likewise.
3982 (_FP_MUL_MEAT_2_wide): Likewise.
3983 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3984 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3985 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3986 (_FP_MUL_MEAT_2_gmp): Likewise.
3987 (_FP_DIV_MEAT_2_udiv): Likewise.
3988 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3989 (_FP_FRAC_SRL_4): Likewise.
3990 (_FP_FRAC_SRST_4): Likewise.
3991 (_FP_FRAC_SRS_4): Likewise.
3992 (_FP_UNPACK_RAW_4): Likewise.
3993 (_FP_UNPACK_RAW_4_P): Likewise.
3994 (_FP_PACK_RAW_4): Likewise.
3995 (_FP_PACK_RAW_4_P): Likewise.
3996 (_FP_MUL_MEAT_DW_4_wide): Likewise.
3997 (_FP_MUL_MEAT_4_wide): Likewise.
3998 (_FP_MUL_MEAT_4_gmp): Likewise.
3999 (umul_ppppmnnn): Likewise.
4000 (_FP_DIV_MEAT_4_udiv): Likewise.
4001 (__FP_FRAC_ADD_4): Likewise.
4002 (__FP_FRAC_SUB_3): Likewise.
4003 (__FP_FRAC_SUB_4): Likewise.
4004 (__FP_FRAC_DEC_3): Likewise.
4005 (__FP_FRAC_DEC_4): Likewise.
4006 (__FP_FRAC_ADDI_4): Likewise.
4007 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
4008 (_FP_FRAC_SRL_8): Likewise.
4009 (_FP_FRAC_SRS_8): Likewise.
4010
9c37ec0b
JM
4011 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
4012 include macro name.
4013 (FP_UNPACK_RAW_EP): Likewise.
4014 (FP_PACK_RAW_E): Likewise.
4015 (FP_PACK_RAW_EP): Likewise.
4016 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
4017 (_FP_ISSIGNAN): Likewise.
4018 (_FP_ADD_INTERNAL): Likewise.
4019 (_FP_FMA): Likewise.
4020 (_FP_CMP): Likewise.
4021 (_FP_SQRT): Likewise.
4022 (_FP_TO_INT): Likewise.
4023 (_FP_FROM_INT): Likewise.
4024 (FP_EXTEND): Likewise.
4025 (_FP_DIV_MEAT_N_loop): Likewise.
4026
2125f674
MR
40272014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4028
4029 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
4030 throughout.
4031
edea4028
JM
40322014-06-29 Joseph Myers <joseph@codesourcery.com>
4033
4034 [BZ #17097]
4035 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
4036 result with correct sign in case of exponents that produce
4037 overflow except for X very close to 1.
4038
dd0ba018
PE
40392014-06-28 Paul Eggert <eggert@cs.ucla.edu>
4040
4041 mktime: merge #if/#ifdef usage from glibc
4042 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
4043 as that works with both Glibc's and Gnulib's style.
4044 See thread starting at Siddhesh Poyarekar's bug report at:
4045 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
4046
64df73c2
SP
40472014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4048
4049 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
4050 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
4051 * sysdeps/tile/tilegx/memmove.c: Remove file.
4052
f1eafb41
JM
40532014-06-27 Joseph Myers <joseph@codesourcery.com>
4054
4055 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
4056 abi-name definition.
4057 * scripts/soversions.awk: Do not handle or generate ABI lines.
4058 * shlib-versions: Remove ABI entries.
4059 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
4060 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
4061
58eb0862
RM
40622014-06-27 Roland McGrath <roland@hack.frob.com>
4063
37caf178
RM
4064 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
4065 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
4066 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
4067 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
4068 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
4069 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
4070 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
4071 Moved ...
4072 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
4073 ... here.
4074 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
4075 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
4076 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
4077 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
4078 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
4079 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
4080 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
4081 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
4082 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
4083 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
4084 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
4085 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
4086 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
4087 Moved ...
4088 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
4089 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
4090 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
4091 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
4092 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4093 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4094 Moved ...
4095 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4096 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4097 Moved ...
4098 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4099 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4100 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4101 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4102 Moved ...
4103 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4104 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4105 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4106 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4107 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4108 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4109 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4110 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4111 Moved ...
4112 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4113 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4114 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4115 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4116 Moved ...
4117 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4118 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4119 Moved ...
4120 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4121 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4122 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4123 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4124 Moved ...
4125 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4126 ... here.
4127 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4128 Identical file removed.
4129 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4130 Moved ...
4131 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4132 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4133 Identical file removed.
4134 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4135 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4136 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4137 Moved ...
4138 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4139 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4140 Identical file removed.
4141 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4142 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4143 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4144 Identical file removed.
4145 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4146 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4147 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4148 Identical file removed.
4149 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4150 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4151 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4152 Identical file removed.
4153 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4154 Moved ...
4155 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4156 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4157 Identical file removed.
4158 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4159 Moved ...
4160 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4161 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4162 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4163 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4164 Identical file removed.
4165 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4166 Moved ...
4167 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4168 ... here.
4169 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4170 Identical file removed.
4171 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4172 Moved ...
4173 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4174 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4175 Identical file removed.
4176 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4177 Moved ...
4178 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4179 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4180 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4181 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4182 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4183 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4184 Moved ...
4185 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4186 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4187 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4188
58eb0862
RM
4189 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4190 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4191 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4192 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4193 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4194
6f12d062
AS
41952014-06-27 Arjun Shankar <arjun.is@lostca.se>
4196
4197 [BZ #17092]
4198 * nscd/nscd.c (monitor_child): Return exit status of child
4199 instead of return value from wait syscall.
4200
be254932
JM
42012014-06-27 Joseph Myers <joseph@codesourcery.com>
4202
cb403c34
JM
4203 * configure.ac (libc_commonpagesize): Remove variable.
4204 (libc_relro_required): Likewise.
4205 (libc_cv_z_relro): Remove configure test.
4206 * configure: Regenerated.
4207 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4208 variable.
4209 (libc_relro_required): Likewise.
4210 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4211 (libc_relro_required): Likewise.
4212 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4213 (libc_relro_required): Likewise.
4214 * sysdeps/arm/preconfigure: Regenerated.
4215 * sysdeps/ia64/preconfigure: Remove file.
4216 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4217 variable.
4218 (libc_relro_required): Likewise.
4219
be254932
JM
4220 [BZ #16561]
4221 [BZ #16562]
4222 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4223 (__ieee754_yn): Set FE_TONEAREST mode internally and then
4224 recompute overflowing results in original rounding mode.
4225 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4226 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4227 recompute overflowing results in original rounding mode.
4228 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4229 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4230 recompute overflowing results in original rounding mode.
4231 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4232 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4233 recompute overflowing results in original rounding mode.
4234 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4235 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4236 recompute overflowing results in original rounding mode.
4237 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4238 (libc_feholdsetround_ctx): New macro.
4239 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4240 * sysdeps/i386/fpu/libm-test-ulps: Update.
4241 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4242
b351d85a
JM
42432014-06-26 Joseph Myers <joseph@codesourcery.com>
4244
4245 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4246 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4247 corresponding .cpsetup call.
4248
3cb4de47
RM
42492014-06-26 Roland McGrath <roland@hack.frob.com>
4250
4251 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4252 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4253 * sysdeps/arm/Makefile [$(subdir) = csu]
4254 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4255 (static-only-routines): Add aeabi_read_tp here.
4256 (shared-only-routines): Add libc-aeabi_read_tp here.
4257 (CFLAGS-libc-start.c): Add -fexceptions here.
4258 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4259 (sysdep_routines, static-only-routines, shared-only-routines):
4260 Don't add to these here.
4261 (CFLAGS-libc-start.c): Likewise.
4262
4263 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4264 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4265 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4266 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4267 * sysdeps/arm/Makefile [$(subdir) = rt]
4268 (librt-sysdep_routines, librt-shared-only-routines):
4269 Append rt-aeabi_unwind_cpp_pr1 here.
4270 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4271 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4272 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4273 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4274 Append nptl-aeabi_unwind_cpp_pr1 here.
4275 (tests): Filter out tst-cleanupx4 here.
4276 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4277 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4278 Don't do those here.
4279
354426bb
JM
42802014-06-26 Joseph Myers <joseph@codesourcery.com>
4281
4282 * scripts/list-sources.sh: Do not handle ports specially.
4283
28b0a8c9
RM
42842014-06-26 Roland McGrath <roland@hack.frob.com>
4285
a3dd035d
RM
4286 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4287 * sysdeps/arm/feupdateenv.c: Likewise.
4288
28b0a8c9
RM
4289 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4290
e66a8203
JM
42912014-06-26 Joseph Myers <joseph@codesourcery.com>
4292
4293 * manual/texinfo.tex: Update to version 2014-05-05.10 with
4294 trailing whitespace removed.
4295 * scripts/config.guess: Update to version 2014-03-23.
4296 * scripts/config.sub: Update to version 2014-05-01
4297 * scripts/install-sh: Update to version 2013-12-25.23.
4298 * scripts/move-if-change: Update from gnulib.
4299
74171115
SP
43002014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4301
b97c9ce5
SP
4302 * debug/memmove_chk.c: Remove pagecopy.h include.
4303
4000f892
SP
43042014-06-26 Paul Eggert <eggert@cs.ucla.edu>
4305
74171115
SP
4306 * time/mktime.c (leapyear): Remove inline keyword. The code is now
4307 identical to gnulib mktime.
4308
a8779c28
JM
43092014-06-26 Joseph Myers <joseph@codesourcery.com>
4310
e64708de
JM
4311 * configure.ac: Do not test for machine being rs6000. Do not test
4312 for powerpc*-*soft.
4313 * configure: Regenerated.
4314
a8779c28
JM
4315 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4316 test.
4317 * configure: Regenerated.
4318 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4319 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4320 Remove configure test.
4321 * sysdeps/arm/configure: Regenerated.
4322 * sysdeps/nptl/configure.ac: Do not check
4323 libc_cv_asm_cfi_directives.
4324 * sysdeps/nptl/configure: Regenerated.
4325 * sysdeps/x86_64/nptl/configure.ac: Remove file.
4326 * sysdeps/x86_64/nptl/configure: Remove generated file.
4327 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4328 unconditional.
4329 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4330
2aac0a86
SP
43312014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4332
059bf913
SP
4333 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4334 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4335 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4336 it is defined.
4337
4cf5b6d0
SP
4338 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4339 instead of whether it is defined.
4340 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4341 * sysdeps/hppa/dl-machine.h: Likewise.
4342 * sysdeps/ia64/dl-machine.h: Likewise.
4343 * sysdeps/m68k/dl-machine.h: Likewise.
4344 * sysdeps/microblaze/dl-machine.h: Likewise.
4345 * sysdeps/mips/dl-machine.: Likewise.
4346 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4347 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4348 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4349 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4350 * sysdeps/sh/dl-machine.h: Likewise.
4351 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4352 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4353 * sysdeps/tile/dl-machine.h: Likewise.
4354 * sysdeps/x86_64/dl-machine.h: Likewise.
4355
2aac0a86
SP
4356 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4357 code.
4358 (verify_persistent_db): Likewise.
4359
6ad2df0b
RM
43602014-06-26 Roland McGrath <roland@hack.frob.com>
4361
d8a483f3
RM
4362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4363 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4365 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4367 Moved ...
4368 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4369 ... here.
4370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4371 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4373 Identical file removed.
4374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4375 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4377 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4379 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4381 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4383 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4385 Moved ...
4386 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4388 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4390 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4392 Moved ...
4393 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4395 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4397 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4399 Identical file removed.
4400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4401 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4403 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4405 Moved ...
4406 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4407 ... here.
4408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4409 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4411 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4413 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4415 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4417 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4419 Moved ...
4420 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4422 Moved ...
4423 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4425 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4427 Moved ...
4428 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4430 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4431
52ae23b4
RM
4432 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4433 folded into ...
4434 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4435 * sysdeps/unix/sysv/linux/s390/Versions
4436 (libpthread: GLIBC_2.19): New version set.
4437 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4438 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4439 (librt: GLIBC_2.3.3): New version set.
4440 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4441 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4442 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4443 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4444 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4445 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4446 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4447 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4448 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4449 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4450 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4451 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4452 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4453 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4454 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4455 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4456 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4457 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4458 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4459 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4460 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4461 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4462 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4463 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4464 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4465 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4466 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4467 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4468 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4469 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4470 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4471 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4472 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4473 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4474 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4475 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4476 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4477 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4478 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4479 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4480 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4481 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4482 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4483 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4484 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4485
39507e4a
RM
4486 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4487 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4488 (__libc_vfork): Define the function under this name.
4489 [!NOT_IN_libc] (__vfork): Make this an alias.
4490 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4491 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4492 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4493 (__libc_vfork): Define the function under this name.
4494 [!NOT_IN_libc] (__vfork): Make this an alias.
4495 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4496 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4497 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4498 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4499 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4500 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4501
e549ee56
RM
4502 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4503 code that was previously under [RESET_PID].
4504 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4505 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4506 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4507
6ad2df0b
RM
4508 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4509 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4510 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4511 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4512 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4513 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4514 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4515 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4516 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4517 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4518 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4519 Moved ...
4520 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4521 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4522 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4523 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4524 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4525 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4526 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4527 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4528 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4529 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4530 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4531 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4532 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4533 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4534 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4535 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4536 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4537 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4538 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4539 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4540 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4541 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4542 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4543 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4544 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4545 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4546 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4547 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4548 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4549
7c1c1d8e
RM
45502014-06-25 Roland McGrath <roland@hack.frob.com>
4551
4552 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4553 that was previously under [RESET_PID].
4554 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4555
3e239be6
JM
45562014-06-25 Joseph Myers <joseph@codesourcery.com>
4557
74385da5
JM
4558 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4559 not undefine and redefine.
4560 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4561 [O_CLOEXEC]: Make code unconditional.
4562 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4563 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4564 <kernel-features.h>.
4565 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4566 conditional variable definition.
4567 (shm_open) [O_CLOEXEC]: Make code unconditional.
4568 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4569 code.
4570
c2570a0b
JM
4571 * configure.ac (USE_REGPARMS): Don't define here.
4572 * configure: Regenerated.
4573 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4574 * sysdeps/i386/configure: Regenerated.
4575
11b076bb
JM
4576 * nptl/createthread.c: Don't include kernel-features.h.
4577 * nptl/pthread_cancel.c: Likewise.
4578 * nptl/pthread_condattr_setclock.c: Likewise.
4579 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4580 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4581 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4582 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4583 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4584 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4585 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4586 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4587 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4588 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4589 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4590 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4591 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4592 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4593 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4594 * nscd/gai.c: Likewise.
4595 * nss/nss_db/db-open.c: Likewise.
4596 * sysdeps/generic/ldsodefs.h: Likewise.
4597 * sysdeps/sh/nptl/tls.h: Likewise.
4598 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4599 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4600 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4601 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4602 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4603 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4604 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4605 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4606 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4607 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4608 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4609 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4610 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4611 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4612 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4613 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4614 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4615 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4616 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4617 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4618 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4619 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4620 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4621 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4622 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4623 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4624 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4625 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4626 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4627 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4628 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4629 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4630 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4631 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4632 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4633 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4634 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4635 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4636 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4637 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4638 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4639 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4640 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4641 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4642 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4643 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4644 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4645 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4646 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4647 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4648 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4649 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4650 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4651 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4652 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4653 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4654 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4655 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4678 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4679 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4680 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4681 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4682 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4683 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4684 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4685 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4686 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4687 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4688 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4689 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4690 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4691 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4692 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4693 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4694 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4695 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4696 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4697 * sysdeps/unix/sysv/linux/system.c: Likewise.
4698 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4699 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4700 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4701 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4702 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4703 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4704 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4705
92072d57
JM
4706 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4707 * configure: Regenerated.
4708 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4709
3e239be6
JM
4710 * configure.ac (base_machine): Do not set specially for particular
4711 machines here.
4712 * configure: Regenerated.
4713 * sysdeps/powerpc/preconfigure: Move machine and base_machine
4714 settings from configure.ac.
4715 * sysdeps/i386/preconfigure: New file.
4716 * sysdeps/s390/preconfigure: Likewise.
4717 * sysdeps/sh/preconfigure: Likewise.
4718 * sysdeps/sparc/preconfigure: Likewise.
4719
06d50baa
RM
47202014-06-25 Roland McGrath <roland@hack.frob.com>
4721
74836003
RM
4722 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4723 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4724 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4725 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4726 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4727 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4728 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4729 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4730 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4731 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4732 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4733 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4734 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4735 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4736 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4737 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4738 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4739 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4740 * sysdeps/sparc/sparc64/Makefile: ... appended here.
4741
4742 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4743 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4744 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4745 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4746 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4747 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4748 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4749 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4750 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4751 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4752 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4753 * sysdeps/sparc/sparc32/sem_post.c: ... here.
4754 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4755 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4756 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4757 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4758 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4759 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4760 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4761 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4762 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4763 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4764 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4765 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4766 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4767 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4768 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4769 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4770 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4771 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4772 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4773 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4774 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4775 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4776 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4777 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4778 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4779 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4780
06d50baa
RM
4781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4782 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4784 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4786 Moved ...
4787 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4788 ... here.
4789 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4790 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4792 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4793 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4794 Moved ...
4795 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4797 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4798 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4799 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4801 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4803 Moved ...
4804 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4805 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4806 Moved ...
4807 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4809 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4811 Moved ...
4812 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4813 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4814 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4816 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4817 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4818 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4820 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4821 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4822 Moved ...
4823 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4824 ... here.
4825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4826 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4828 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4830 Moved ...
4831 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4832 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4833 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4835 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4836 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4837 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4839 Moved ...
4840 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4842 Moved ...
4843 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4845 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4847 Moved ...
4848 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4850 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4852 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4853
a4ccbc9b
JM
48542014-06-25 Joseph Myers <joseph@codesourcery.com>
4855
0828edbf
JM
4856 * timezone/checktab.awk: Update from tzcode 2014e.
4857 * timezone/private.h: Likewise.
4858 * timezone/tzfile.h: Likewise.
4859 * timezone/zdump.c: Likewise.
4860 * timezone/zic.c: Likewise.
4861
a4ccbc9b
JM
4862 * sysdeps/unix/sysv/linux/kernel-features.h
4863 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4864 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4865 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4866 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4867 Remove conditional code.
4868
9aea0cb8
WN
48692014-06-25 Will Newton <will.newton@linaro.org>
4870
4871 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4872 (_dl_arm_cap_flags): Add HWCAP2 values.
4873 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4874 (_DL_HWCAP_COUNT): Increase to 37.
4875 (_DL_HWCAP_LAST): New define.
4876 (_DL_HWCAP2_LAST): New define.
4877 (_dl_procinfo): Add support for printing
4878 AT_HWCAP2 entries.
4879 (_dl_string_hwcap): Use _dl_hwcap_string.
4880
6eaa65ce
AZ
48812014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4882
4883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4884
0f5b7185
JM
48852014-06-25 Joseph Myers <joseph@codesourcery.com>
4886
cfd2ea50
JM
4887 * README: Do not mention ports directory.
4888
cecf2ed4
JM
4889 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4890 Remove macro.
4891 * sysdeps/unix/sysv/linux/futimes.c: Do not include
4892 <kernel-features.h>.
4893 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4894 conditional variable definition.
4895 (__futimes): Update comment.
4896 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4897 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4898
a638de82
JM
4899 [BZ #16560]
4900 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4901 arguments close to 0.
4902 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4903 Likewise.
4904 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4905 Likewise.
4906 * math/auto-libm-test-in: Add more tests of exp10.
4907 * math/auto-libm-test-out: Regenerated.
4908 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4909
0f5b7185
JM
4910 * sysdeps/unix/sysv/linux/kernel-features.h
4911 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4912 * sysdeps/unix/sysv/linux/readv.c: Do not include
4913 <kernel-features.h>.
4914 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4915 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4916 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4917 unconditional.
4918 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4919 conditional code.
4920 * sysdeps/unix/sysv/linux/writev.c: Do not include
4921 <kernel-features.h>.
4922 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4923 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4924 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4925 unconditional.
4926 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4927 conditional code.
4928
c7aec4be
WN
49292014-06-25 Will Newton <will.newton@linaro.org>
4930
4931 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4932 comment changes throughout the file. Remove checks
4933 for HAVE_*_H definitions that are not required.
4934 (__gen_tempname): Call abort if an unknown kind value is
4935 passed.
4936
c5241f95
AS
49372014-06-25 Andreas Schwab <schwab@suse.de>
4938
4939 [BZ #17086]
4940 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4941 scalbln, scalblnf, scalblnl in libc.
4942
911422da
SP
49432014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4944
4945 [BZ #17086]
4946 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
4947 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4948 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4949
0d749bbe
RM
49502014-06-24 Roland McGrath <roland@hack.frob.com>
4951
4952 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4953 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
4954 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
4955 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
4956 Update #include.
4957 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
4958 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
4959 Update #include.
4960 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
4961 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
4962 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
4963 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
4964 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4965 * sysdeps/x86/bits/pthreadtypes.h: ... here.
4966 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4967 * sysdeps/x86/bits/semaphore.h: ... here.
4968 * sysdeps/x86/nptl/elide.h: Moved ...
4969 * sysdeps/x86/elide.h: ... here.
4970 * sysdeps/x86_64/nptl/Implies: File removed.
4971 * sysdeps/i386/nptl/Implies: File removed.
4972
0ea5d373
JM
49732014-06-24 Joseph Myers <joseph@codesourcery.com>
4974
4060283d
JM
4975 [BZ #16539]
4976 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4977 return the argument for normal arguments with exponent below -64.
4978 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4979 Likewise.
4980 * math/auto-libm-test-in: Add another test of expm1.
4981 * math/auto-libm-test-out: Regenerated.
4982
e7dd3c8c
JM
4983 [BZ #16287]
4984 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4985 calling __erfcl for arguments at least 16.
4986 * math/auto-libm-test-in: Add more tests of erf.
4987 * math/auto-libm-test-out: Regenerated.
4988
0ea5d373
JM
4989 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4990 individual architectures.
4991 * sysdeps/unix/sysv/linux/configure: Regenerated.
4992 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4993 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4994 * sysdeps/unix/sysv/linux/powerpc/configure.ac
4995 (ldd_rewrite_script): Define variable.
4996 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4998 file.
4999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
5000 generated file.
5001 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
5002 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
5003 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
5004 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
5005 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
5006 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
5007 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
5008 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
5009
2307e126
SP
50102014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5011
5012 [BZ #17084]
5013 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
5014 Rename member __data.d to __data.__elision_data.
5015
c0a4ed77
W
50162014-06-24 Wilco <wdijkstr@arm.com>
5017
5018 * NEWS: Add 16918 to fixed bug list.
5019
b8c00573
W
50202014-06-24 Wilco <wdijkstr@arm.com>
5021
5022 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
5023
b5570d92
W
50242014-06-24 Wilco <wdijkstr@arm.com>
5025
5026 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
5027 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
5028 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
5029 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
5030 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
5031 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
5032 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
5033 Use _FPU_MASK_RM.
5034
947bdca2
W
50352014-06-24 Wilco <wdijkstr@arm.com>
5036
5037 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
5038
00f669ed
W
50392014-06-24 Wilco <wdijkstr@arm.com>
5040
5041 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
5042 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
5043 * sysdeps/arm/fesetround.c (fesetround): Remove space.
5044 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
5045
db59bad3
W
50462014-06-24 Wilco <wdijkstr@arm.com>
5047
5048 [BZ #16918]
5049 * sysdeps/arm/feupdateenv.c (feupdateenv):
5050 Rewrite to reduce FPSCR accesses and fix return value.
5051
001f7b77
W
50522014-06-24 Wilco <wdijkstr@arm.com>
5053
5054 * sysdeps/arm/fclrexcpt.c (feclearexcept):
5055 Optimize to avoid unnecessary FPSCR writes.
5056 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
5057 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
5058 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
5059 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
5060
4841e6a6
W
50612014-06-24 Wilco <wdijkstr@arm.com>
5062
5063 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
5064 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
5065 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
5066 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
5067 Call libc_fetestexcept_vfp.
5068 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
5069 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
5070 __SOFTFP__ ifdef so that they can be built for softfp.
5071
0813022c
SP
50722014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5073
08e5862f
SP
5074 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
5075 argument type signed char.
5076
0813022c
SP
5077 * Makerules (check-abi): Dump diff of symlist if the test
5078 fails.
5079
3fc7236a
RM
50802014-06-23 Roland McGrath <roland@hack.frob.com>
5081
aba8ef95
RM
5082 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
5083 using abort.
5084
3fc7236a
RM
5085 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5086 Remove unused variable ST.
5087
4da6db51
JM
50882014-06-23 Joseph Myers <joseph@codesourcery.com>
5089
4648909d
JM
5090 [BZ #16354]
5091 [BZ #17061]
5092 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5093 small arguments before calling __expm1.
5094 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5095 small arguments before calling __expm1f.
5096 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5097 small arguments before calling __expm1l.
5098 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5099 Likewise.
5100 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5101 * math/auto-libm-test-in: Add more cosh tests. Do not allow
5102 spurious underflow for some cosh tests.
5103 * math/auto-libm-test-out: Regenerated.
5104 * sysdeps/i386/fpu/libm-test-ulps: Update.
5105
46a3d3c7
JM
5106 [BZ #17050]
5107 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5108 (__ieee754_y1): Set errno if return value overflows.
5109 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5110 (__ieee754_y1f): Set errno if return value overflows.
5111 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5112 (__ieee754_y1l): Set errno if return value overflows.
5113 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5114 (__ieee754_y1l): Set errno if return value overflows.
5115 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5116 * math/auto-libm-test-out: Regenerated.
5117
863893ec
JM
5118 * math/gen-auto-libm-tests.c: Document use of
5119 ignore-zero-inf-sign.
5120 (input_flag_type): Add value flag_ignore_zero_inf_sign.
5121 (input_flags): Add ignore-zero-inf-sign.
5122 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5123 * math/gen-libm-test.pl (generate_testfile): Handle
5124 ignore-zero-inf-sign.
5125 * math/auto-libm-test-in: Mark some cpow tests with
5126 ignore-zero-inf-sign and some with xfail-rounding.
5127 * math/auto-libm-test-out: Regenerated.
5128 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5129 * sysdeps/i386/fpu/libm-test-ulps: Update.
5130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5131
4da6db51
JM
5132 [BZ #16315]
5133 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5134 overflowing or underflowing operations take place with sign of
5135 result.
5136 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5137 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5138 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5139 (__ieee754_pow): Recompute overflowing and underflowing results in
5140 original rounding mode.
5141 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5142 (__powl_helper): Allow negative argument X and scale negated value
5143 as needed. Avoid passing value outside [-1, 1] to f2xm1.
5144 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5145 overflowing or underflowing operations take place with sign of
5146 result.
5147 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5148 Include <math.h>.
5149 * math/auto-libm-test-in: Add more tests of pow.
5150 * math/auto-libm-test-out: Regenerated.
5151 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5152 (pow_tonearest_test_data): Remove.
5153 (pow_test_tonearest): Likewise.
5154 (pow_towardzero_test_data): Likewise.
5155 (pow_test_towardzero): Likewise.
5156 (pow_downward_test_data): Likewise.
5157 (pow_test_downward): Likewise.
5158 (pow_upward_test_data): Likewise.
5159 (pow_test_upward): Likewise.
5160 (main): Don't call removed functions.
5161 * sysdeps/i386/fpu/libm-test-ulps: Update.
5162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5163
5686b236
RM
51642014-06-23 Roland McGrath <roland@hack.frob.com>
5165
5166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5167 Moved ...
5168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5170 Moved ...
5171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5173 Moved ...
5174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5176 Moved ...
5177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5179 File removed.
5180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5181 File removed.
5182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5183 File removed.
5184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5185 File removed.
5186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5187 File removed.
5188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5189 File removed.
5190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5191 File removed.
5192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5193 File removed.
5194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5195 File removed.
5196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5197 File removed.
5198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5199 File removed.
5200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5201 File removed.
5202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5203 Moved ...
5204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5206 Moved ...
5207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5208 ... here.
5209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5210 Moved ...
5211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5213 Moved ...
5214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5216 Moved ...
5217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5219 Moved ...
5220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5222 Moved ...
5223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5225 Moved ...
5226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5228 Moved ...
5229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5232 ... here.
5233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5234 Moved ...
5235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5237 Moved ...
5238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5239 ... here.
5240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5241 Moved ...
5242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5243 ... here.
5244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5245 Moved ...
5246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5247 ... here.
5248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5249 Moved ...
5250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5252 Moved ...
5253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5257 Moved ...
5258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5259 ... here.
5260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5261 Moved ...
5262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5263 ... here.
5264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5265 Moved ...
5266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5268 Moved ...
5269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5271 Moved ...
5272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5274 Moved ...
5275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5277 Moved ...
5278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5279 ... here.
5280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5281 Moved ...
5282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5284 Moved ...
5285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5287 Moved ...
5288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5290 Moved ...
5291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5295 Moved ...
5296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5298 Moved ...
5299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5301 Moved ...
5302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5303 ... here.
5304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5305 Moved ...
5306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5307 ... here.
5308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5309 Moved ...
5310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5311 ... here.
5312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5313 Moved ...
5314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5316 Moved ...
5317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5319 Moved ...
5320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5322 Moved ...
5323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5324 ... here.
5325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5326 Moved ...
5327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5328 ... here.
5329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5330 Moved ...
5331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5332 ... here.
5333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5334 Moved ...
5335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5337 Moved ...
5338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5339
e6d90d67
WD
53402014-06-23 Will Newton <will.newton@linaro.org>
5341 Wilco <wdijkstr@arm.com>
5342
5343 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5344 implementation. Include get-rounding-mode.h.
5345 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5346 [!libc_feholdsetround_noex_ctx]: Define
5347 libc_feholdsetround_noex_ctx.
5348 [!libc_feholdsetround_noexf_ctx]: Define
5349 libc_feholdsetround_noexf_ctx.
5350 [!libc_feholdsetround_noexl_ctx]: Define
5351 libc_feholdsetround_noexl_ctx.
5352 (libc_feholdsetround_ctx): New function.
5353 (libc_feresetround_ctx): New function.
5354 (libc_feholdsetround_noex_ctx): New function.
5355 (libc_feresetround_noex_ctx): New function.
5356
d42df555
RM
53572014-06-23 Roland McGrath <roland@hack.frob.com>
5358
88a46474
RM
5359 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5360 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5361 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5362 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5363 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5364 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5365
15bed472
RM
5366 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5367 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5368 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5369 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5370 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5371 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5372 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5373 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5374 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5375 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5376 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5377 Moved ...
5378 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5379 ... here.
5380 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5381 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5382 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5383 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5384 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5385 Moved ...
5386 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5387 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5388 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5389 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5390 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5391 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5392 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5393 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5394 Moved ...
5395 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5396 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5397 Moved ...
5398 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5399 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5400 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5401 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5402 Moved ...
5403 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5404 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5405 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5406 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5407 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5408 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5409 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5410 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5411 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5412 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5413 Moved ...
5414 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5415 ... here.
5416 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5417 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5418 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5419 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5420 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5421 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5422 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5423 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5424 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5425 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5426 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5427 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5428 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5429 Moved ...
5430 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5431 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5432 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5433 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5434 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5435 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5436 Moved ...
5437 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5438 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5439 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5440 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5441 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5442
d42df555
RM
5443 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5444 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5445 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5446 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5447 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5448 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5449 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5450 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5451 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5452 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5453 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5454 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5455 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5456 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5457 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5458 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5459 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5460 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5461 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5462 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5463 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5464 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5465 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5466 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5467 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5468 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5469 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5470 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5471
76e5216e
JM
54722014-06-23 Joseph Myers <joseph@codesourcery.com>
5473
5474 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5475 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5476 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5477 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5478 (IPV6_PMTUDISC_INTERFACE): Likewise.
5479 (IPV6_PMTUDISC_OMIT): Likewise.
5480
7a81cbcc
AS
54812014-06-23 Andreas Schwab <schwab@suse.de>
5482
5483 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5484 Remove unused errout label.
5485
db224009
AZ
54862014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5487
5488 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5489 macro: hardware supports Vector Crypto instructions.
5490
f393b4aa
WN
54912014-06-23 Will Newton <will.newton@linaro.org>
5492
cc7d0447
WN
5493 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5494 rather than __builtin_expect.
5495
d6d06225
WN
5496 * elf/dl-lookup.c (undefined_msg): Remove variable.
5497 (_dl_lookup_symbol_x): Replace undefined_msg with string
5498 literal.
5499
f393b4aa
WN
5500 * elf/dl-lookup.c (do_lookup_unique): New function.
5501 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5502 to a separate function.
5503
ac60763e
AS
55042014-06-23 Andreas Schwab <schwab@suse.de>
5505
5506 [BZ #17079]
5507 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5508 before reading the next line.
5509
c5c13355
WN
55102014-06-23 Will Newton <will.newton@linaro.org>
5511
5512 * test-skeleton.c (signal_handler): Use printf and %m
5513 rather than perror. Use printf rather than fprintf to
5514 stderr. Use puts rather than fputs to stderr.
5515 (main): Likewise.
5516
bd3675f9
LC
55172014-06-22 Ludovic Courtès <ludo@gnu.org>
5518
5519 * nscd/nscd.c (thread_info_t): Remove typedef.
5520 (thread_info): Remove variable.
5521
d03efb2f
AM
55222014-06-21 Allan McRae <allan@archlinux.org>
5523
5524 * NEWS: Mention CVE-2014-4043.
5525
bc4a86fa
RM
55262014-06-20 Roland McGrath <roland@hack.frob.com>
5527
dc9a54f8
RM
5528 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5529 * nptl/smp.h: ... here.
5530
bd7022c4
RM
5531 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5532
26ffd5e6
RM
5533 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5534 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5535 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5536 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5537
93a6d082
RM
5538 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5539 * nptl/stack-aliasing.h: New file.
5540 * sysdeps/i386/i686/stack-aliasing.h: New file.
5541 * sysdeps/i386/i686/nptl/Makefile: File removed.
5542 * sysdeps/x86_64/stack-aliasing.h: New file.
5543 * sysdeps/x86_64/nptl/Makefile
5544 (CFLAGS-pthread_create.c): Variable removed.
5545
bc4a86fa
RM
5546 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5547 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5548 old file.
5549 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5550 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5551 old file.
5552
2272ffc1
JM
55532014-06-21 Joseph Myers <joseph@codesourcery.com>
5554
5555 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5556 (__ASSUME_SIGFRAME_V2): Remove macro.
5557 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5558 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5559 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5560 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5561 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5562 Declare as function. Remove conditional macro definitions.
5563 (__default_rt_sa_restorer): Likewise.
5564 (__default_sa_restorer_v1): Remove declaration.
5565 (__default_sa_restorer_v2): Likewise.
5566 (__default_rt_sa_restorer_v1): Likewise.
5567 (__default_rt_sa_restorer_v2): Likewise.
5568 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5569 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5570 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5571
4b88139b
RM
55722014-06-20 Roland McGrath <roland@hack.frob.com>
5573
5574 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5575 (libpthread-routines): Add sysdep.
5576 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5577 * sysdeps/unix/sysv/linux/sparc/Versions
5578 (libpthread: GLIBC_2.3.3): New version set.
5579 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5580 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5581 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5582 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5583 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
5584 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5585 Moved ...
5586 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5587 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5588 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5589 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5590 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5591 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5592 * sysdeps/sparc/nptl/sem_init.c: ... here.
5593 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5594 * sysdeps/sparc/nptl/sem_post.c: ... here.
5595 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5596 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5597 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5598 * sysdeps/sparc/nptl/sem_wait.c: ... here.
5599 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5600 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5601 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5602 (libpthread-routines): Add cpu_relax.
5603 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5604 File removed.
5605 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5606 (librt: GLIBC_2.3.3): New version set.
5607 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5608 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5609 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5610 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5611 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5612 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5613 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5614 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5615 Moved ...
5616 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5617 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5618 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5619 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5620 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5621 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5622 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5623 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5624 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5625 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5626 Moved ...
5627 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5628 Update #include.
5629 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5630 Moved ...
5631 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5632 Update #include.
5633 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5634 Moved ...
5635 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5636 Update #include.
5637 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5638 Moved ...
5639 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5640 Update #include.
5641 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5642 Moved ...
5643 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5644 Update #include.
5645 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5646 Moved ...
5647 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5648 Update #include.
5649 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5650 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5651 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5652 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5653 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5654 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5655 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5656 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5657 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5658 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5659 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5660 Moved ...
5661 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5662 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5663 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5664 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5665 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5666
d7109027
JM
56672014-06-20 Joseph Myers <joseph@codesourcery.com>
5668
9bc6103d
JM
5669 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5670 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5671 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5672 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5673 * nscd/nscd.c: Likewise.
5674 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5675 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5676 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5677 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5678
d7109027
JM
5679 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5680 <kernel-features.h>.
5681 (init_mq_netlink): Remove conditional have_sock_cloexec
5682 definitions. Remove code conditional on have_sock_cloexec < 0.
5683 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5684 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5685 * sysdeps/unix/sysv/linux/opensock.c: Do not include
5686 <kernel-features.h>.
5687 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5688 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5689
d92d8f8a
L
56902014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5691
5692 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5693 Add tests for memset_chk and memset.
5694
5695 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5696 with AVX2_Usable.
5697
4e6d2347
MR
56982014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5699
257ce712
MR
5700 [BZ #16046]
5701 * elf/tst-dl-iter-static.c: New file.
5702 * elf/Makefile (tests-static): Add tst-dl-iter-static.
5703
4e6d2347
MR
5704 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5705 error.
5706
a2a76afe
JM
57072014-06-20 Joseph Myers <joseph@codesourcery.com>
5708
7fd00f99
JM
5709 * sysdeps/unix/sysv/linux/kernel-features.h
5710 (__ASSUME_F_GETOWN_EX): Remove macro.
5711 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5712 <kernel-features.h>.
5713 (miss_F_GETOWN_EX): Remove variable or macro.
5714 (do_fcntl): Do not check miss_F_GETOWN_EX.
5715 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5716
4a103975
JM
5717 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5718 Remove macro.
5719 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5720 [!__ASSUME_AT_RANDOM]: Remove conditional code.
5721 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5722
a2a76afe
JM
5723 * sysdeps/unix/sysv/linux/kernel-features.h
5724 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5725 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5726 [ADJ_OFFSET_SS_READ]: Make code unconditional.
5727 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5728
90e5dd48
MR
57292014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5730
5731 [BZ #17075]
5732 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5733 Fix calculation of the symbol's value.
5734 * sysdeps/arm/tst-armtlsdescloc.c: New file.
5735 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5736 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5737 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5738 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5739 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5740 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5741 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5742 (modules-names): Add `tst-armtlsdescmod',
5743 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5744 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5745 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5746 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5747 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5748 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5749 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5750 ($(objpfx)tst-armtlsdescloc): New dependency.
5751 ($(objpfx)tst-armtlsdescextnow): Likewise.
5752 ($(objpfx)tst-armtlsdescextlazy): Likewise.
5753 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5754 TLS scheme support.
5755 * sysdeps/arm/configure: Regenerate.
5756
809fdf0d
JM
57572014-06-20 Joseph Myers <joseph@codesourcery.com>
5758
5759 * include/fcntl.h (__atfct_seterrno): Remove prototype.
5760 (__atfct_seterrno_2): Likewise.
5761 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5762 <kernel-features.h>.
5763 (__ASSUME_ATFCTS): Do not undefine and redefine.
5764 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5765 (__have_atfcts): Remove conditional definition.
5766 (__fxstatat([__NR_fstatat64]: Make code unconditional.
5767 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5768 unreachable if [__ASSUME_ATFCTS].
5769 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5770 not undefine and redefine.
5771 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5772 <kernel-features.h>.
5773 (faccessat) [__NR_faccessat]: Make code unconditional.
5774 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5775 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5776 <kernel-features.h>.
5777 (fchmodat) [__NR_fchmodat]: Make code unconditional.
5778 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5779 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5780 <kernel-features.h>.
5781 (fchownat) [__NR_fchownat]: Make code unconditional.
5782 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5783 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5784 <kernel-features.h>.
5785 (futimesat) [__NR_futimesat]: Make code unconditional.
5786 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5787 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5788 <kernel-features.h>.
5789 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5790 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5791 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5792 <kernel-features.h>.
5793 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5794 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5795 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5796 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5797 <kernel-features.h>.
5798 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5799 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5800 * sysdeps/unix/sysv/linux/linkat.c: Do not include
5801 <kernel-features.h>.
5802 (linkat) [__NR_linkat]: Make code unconditional.
5803 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5804 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5805 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5806 <kernel-features.h>.
5807 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5808 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5809 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5810 <kernel-features.h>.
5811 (mkdirat) [__NR_mkdirat]: Make code unconditional.
5812 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5813 * sysdeps/unix/sysv/linux/openat.c: Do not include
5814 <kernel-features.h>.
5815 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5816 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5817 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5818 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5819 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5820 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5821 <kernel-features.h>.
5822 (readlinkat) [__NR_readlinkat]: Make code unconditional.
5823 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
5824 result of INLINE_SYSCALL directly, not via int variable.
5825 * sysdeps/unix/sysv/linux/renameat.c: Do not include
5826 <kernel-features.h>.
5827 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5828 (renameat) [__NR_renameat]: Make code unconditional.
5829 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5830 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5831 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5832 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5833 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5834 (__ASSUME_ATFCTS): Do not undefine and redefine.
5835 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5836 <kernel-features.h>.
5837 (symlinkat) [__NR_symlinkat]: Make code unconditional.
5838 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5839 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5840 <kernel-features.h>.
5841 (unlinkat) [__NR_unlinkat]: Make code unconditional.
5842 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5843 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5844 (__ASSUME_ATFCTS): Do not undefine and redefine.
5845 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5846 <kernel-features.h>.
5847 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5848 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5849 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5850 <kernel-features.h>.
5851 (__xmknodat) [__NR_mknodat]: Make code unconditional.
5852 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5853
224c6c51
L
58542014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5855
5856 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5857
aa6ec754
AS
58582014-06-20 Andreas Schwab <schwab@linux-m68k.org>
5859
5860 [BZ #17069]
5861 * posix/regcomp.c (parse_reg_exp): Deallocate partially
5862 constructed tree before returning error.
5863 * posix/bug-regexp36.c: Expand test case.
5864
d8c2869d
SL
58652014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5866
3ef6b850
SL
5867 [BZ #6803]
5868 * math/libm-test.inc (scalbln_test_date):
5869 Add errno expectations.
5870 * math/w_scalblnf.c: New File.
5871 Add wrapper which checks for setting errno to ERANGE.
5872 Add weak_alias for corresponding scalbln function.
5873 * math/w_scalbln.c: Likewise.
5874 * math/w_scalblnl.c: Likewise.
5875 * math/Makefile (libm-calls): Add w_scalbln.
5876 * sysdeps/ieee754/flt-32/s_scalblnf.c:
5877 Remove weak_alias for corresponding scalbln function.
5878 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5879 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5880 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5881 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5882 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5883 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5884 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5885 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5886 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5887 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5888 Remove long_double_symbol for scalblnl function in libm, libc.
5889 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5890 Add wrapper which checks for setting errno to ERANGE.
5891 Add long_double_symbol for scalblnl function in libm, libc.
5892 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5893 Remove long_double_symbol for scalblnl in libm.
5894 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5895 Add wrapper which checks for setting errno to ERANGE.
5896 Add long_double_symbol for scalblnl function in libm.
5897 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5898 Do not use wrapper because of own implementation.
5899
c8daec5c
L
59002014-06-19 H.J. Lu <hongjiu.lu@intel.com>
5901
5902 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5903 3 bytes for __pad1 for x32.
5904 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5905
5c74e47c
LM
59062014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
5907 H.J. Lu <hongjiu.lu@intel.com>
5908
5909 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5910 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5911 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5912 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5913 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5914
4d43ef1e
AS
59152014-06-19 Andreas Schwab <schwab@linux-m68k.org>
5916
5917 [BZ #17069]
5918 * posix/regcomp.c (parse_expression): Deallocate partially
5919 constructed tree before returning error.
5920 * posix/Makefile.c (tests): Add bug-regex36.
5921 (generated): Add bug-regex36.mtrace.
5922 (tests-special): Add $(objpfx)bug-regex36-mem.out
5923 (bug-regex36-ENV): New variable.
5924 ($(objpfx)bug-regex36-mem.out): New rule.
5925 * posix/bug-regex36.c: New file.
5926
51a7380b
WN
59272014-06-19 Will Newton <will.newton@linaro.org>
5928
5929 * malloc/malloc.c (systrim): If extra is zero then return
5930 early.
5931
91b84fe5
SP
59322014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5933
5934 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5935
f940b965
RE
59362014-06-19 Richard Earnshaw <rearnsha@arm.com>
5937
5938 * sysdeps/aarch64/strchr.S: New file.
5939
4ba7a00f
JM
59402014-06-18 Joseph Myers <joseph@codesourcery.com>
5941
5942 [BZ #17022]
5943 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5944 from arguments -2 or below.
5945 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5946 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5947
b3a9f56b
AS
59482014-06-18 Andreas Schwab <schwab@suse.de>
5949
5950 [BZ #17062]
5951 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5952 of a bracket expr not to run off the end of the string.
5953 * posix/Makefile (tests): Add tst-fnmatch3.
5954 * posix/tst-fnmatch3.c: New file.
5955
85d89278
JM
59562014-06-18 Joseph Myers <joseph@codesourcery.com>
5957
5958 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
5959 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5960 [$(cross-compiling) = no]: Likewise.
5961 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5962 [$(cross-compiling) = no]: Likewise.
5963
754c5a08
RS
59642014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5965
5966 [BZ #17031]
5967 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5968 double, adjusted for any remainder from the high double.
5969 * math/libm-test.inc (nearbyint): Add tests.
5970 (rint): Likewise.
5971
556f529d
AZ
59722014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5973
5974 * nptl/sysdeps/powerpc/Makefile: Moved ...
5975 * sysdeps/powerpc/nptl/Makefile: ... here.
5976 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5977 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5978 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5979 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5980 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5981 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5982 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5983 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5984 * nptl/sysdeps/powerpc/tls.h: Moved ...
5985 * sysdeps/powerpc/nptl/tls.h: ... here.
5986
91c03c53
JM
59872014-06-16 Joseph Myers <joseph@codesourcery.com>
5988
5989 [BZ #16681]
5990 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5991 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5992 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5993 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5994 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5995 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5996 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5997 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5998 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5999
a76e63c5
AS
60002014-06-17 Andreas Schwab <schwab@linux-m68k.org>
6001
6002 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6003
f2f6d82f
AS
60042014-06-16 Andreas Schwab <schwab@linux-m68k.org>
6005
ea8a15f6
AS
6006 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
6007 defined operator.
6008
f2f6d82f
AS
6009 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
6010 $TIMEOUTFACTOR.
6011
a7291117
FW
60122014-06-16 Florian Weimer <fweimer@redhat.com>
6013
6014 [BZ #17058]
6015 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
6016 non-executed part of the test.
6017
3d7c00e3
AS
60182014-06-16 Andreas Schwab <schwab@suse.de>
6019
6020 * string/bits/string2.h (strdup, strndup): Update feature guard.
6021
6957fb31
DM
60222014-06-14 David S. Miller <davem@davemloft.net>
6023
6024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6025
11b9e55b
AS
60262014-06-14 Andreas Schwab <schwab@linux-m68k.org>
6027
1d2a0492
AS
6028 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
6029 that was previously under [RESET_PID].
6030 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
6031
11b9e55b
AS
6032 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
6033 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
6034 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
6035 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6036 (__libc_vfork): New strong alias.
6037 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
6038
0f6901d0
AK
60392014-06-14 Andi Kleen <ak@linux.intel.com>
6040
6041 * sysdeps/generic/elide.h: New file.
6042
38bbbb9f
SL
60432014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6044
6045 * Makefile (installed-headers): Adjust path of pthread.h header.
6046
45193bb8
RM
60472014-06-13 Roland McGrath <roland@hack.frob.com>
6048
9a25fd1e
RM
6049 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
6050 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
6051 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
6052 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
6053
4004f7e4
RM
6054 * nptl/sysdeps/s390/Makefile: Moved ...
6055 * sysdeps/s390/nptl/Makefile: ... here.
6056 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
6057 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
6058 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
6059 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
6060 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
6061 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
6062 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
6063 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
6064 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
6065 * sysdeps/s390/nptl/pthreaddef.h: ... here.
6066 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
6067 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
6068 * nptl/sysdeps/s390/tls.h: Moved ...
6069 * sysdeps/s390/nptl/tls.h: ... here.
6070
45193bb8
RM
6071 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
6072 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
6073
f6fdf533
DM
60742014-06-13 David S. Miller <davem@davemloft.net>
6075
6076 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
6077 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
6078 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
6079 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
6080 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
6081 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
6082 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
6083 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
6084 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
6085 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
6086 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
6087 Remove RESET_PID cpp guards.
6088 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
6089 Remove RESET_PID cpp guards.
6090 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
6091
f5d71e14
AS
60922014-06-13 Andreas Schwab <schwab@linux-m68k.org>
6093
6094 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6095 __sp to uintptr_t.
6096
b7aa8caa
AK
60972014-06-13 Andi Kleen <ak@linux.intel.com>
6098
4b266200
AZ
6099 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6100 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6101 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6102 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6103 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6104 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6105 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6106 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6107 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6108 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6109 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6110 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6111 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6112 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6113 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6114 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6115 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6116 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6117 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6118 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
6119
6120 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
6121 (pthread_rwlock_rdlock): Add elision.
6122 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6123 (pthread_rwlock_wrlock): Add elision.
6124 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6125 (pthread_rwlock_trywrlock): Add elision.
6126 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6127 (pthread_rwlock_tryrdlock): Add elision.
6128 * nptl/pthread_rwlock_unlock.c: Include elide.h.
6129 (pthread_rwlock_tryrdlock): Add elision unlock.
6130 * nptl/sysdeps/pthread/pthread.h:
6131 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6132 (PTHREAD_RWLOCK_INITIALIZER,
6133 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6134 Handle new elision field.
6135 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6136 * sysdeps/arm/nptl/bits/pthreadtypes.h
6137 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6138 * sysdeps/sh/nptl/bits/pthreadtypes.h
6139 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6140 * sysdeps/tile/nptl/bits/pthreadtypes.h
6141 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6142 * sysdeps/a/nptl/bits/pthreadtypes.h
6143 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6144 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6145 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6146 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6147 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6148 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6149 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6150 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6151 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6152 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6153 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6154 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6155 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6156 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6157 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6158 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6159 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6160 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6161 (elision_init): Set try_xbegin to zero when no RTM.
6162 * sysdeps/x86/nptl/bits/pthreadtypes.h
6163 (pthread_rwlock_t): Change __pad1 to __rwelision.
6164 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 6165
a832bdd3
AK
61662014-06-13 Andi Kleen <ak@linux.intel.com>
6167
6168 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6169 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6170 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6171 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6172
995a46bb
MI
61732014-06-13 Meador Inge <meadori@codesourcery.com>
6174
6175 [BZ #16996]
03ed7738 6176 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
6177 that the cached result has been set before returning it.
6178
45262aee
RM
61792014-06-12 Roland McGrath <roland@hack.frob.com>
6180
febf6cc5
RM
6181 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6182 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6183 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6184 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6185 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6186 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6187
e2682246
RM
6188 * nptl/sysdeps/sparc/Makefile: Moved ...
6189 * sysdeps/sparc/nptl/Makefile: ... here.
6190 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6191 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6192 * nptl/sysdeps/sparc/tls.h: Moved ...
6193 * sysdeps/sparc/nptl/tls.h: ... here.
6194 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6195 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6196 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6197 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6198 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6199 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6200 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6201 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6202 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6203 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6204 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6205 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6206 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6207 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6208 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6209 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6210 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6211 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6212 Update #include.
6213 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6214 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6215 Update #include.
6216 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6217 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6218 Update #include.
6219 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6220 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6221 Update #include.
6222
b0725f43
RM
6223 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6224
b14368b8
RM
6225 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6226 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6227
c5620eb3
RM
6228 * sysdeps/pthread/posix-timer.h: Include <list.h>.
6229 (struct list_links): Type removed.
6230 (struct thread_node, struct timer_node): Replace struct list_links
6231 with struct list_head.
6232 (list_unlink_ip): Likewise.
6233 * sysdeps/pthread/timer_routines.c
6234 (timer_free_list, thread_free_list, thread_active_list): Likewise.
6235 (list_append, list_insbefore): Likewise.
6236 (list_init): Function removed.
6237 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
6238 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6239 * sysdeps/pthread/Makefile: ... here, new file.
6240
6241 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6242 * sysdeps/nptl/Implies: ... here.
6243 * sysdeps/unix/sysv/linux/Implies: Add nptl.
6244 * nptl/sysdeps/pthread/list.h: Moved ...
6245 * include/list.h: ... here.
6246 * nptl/sysdeps/pthread/createthread.c: Moved ...
6247 * nptl/createthread.c: ... here.
6248 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6249 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6250 * nptl/pt-longjmp.c: ... here.
6251 * nptl/sysdeps/pthread/Makefile: Moved ...
6252 * sysdeps/nptl/Makefile: ... here.
6253 * nptl/sysdeps/pthread/Subdirs: Moved ...
6254 * sysdeps/nptl/Subdirs: ... here.
6255 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6256 * sysdeps/nptl/aio_misc.h: ... here.
6257 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6258 * sysdeps/nptl/bits/libc-lock.h: ... here.
6259 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6260 * sysdeps/nptl/bits/libc-lockP.h: ... here.
6261 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6262 * sysdeps/nptl/bits/stdio-lock.h: ... here.
6263 * nptl/sysdeps/pthread/configure: Moved ...
6264 * sysdeps/nptl/configure: ... here.
6265 * nptl/sysdeps/pthread/configure.ac: Moved ...
6266 * sysdeps/nptl/configure.ac: ... here.
6267 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6268 * sysdeps/nptl/gai_misc.h: ... here.
6269 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6270 * sysdeps/nptl/librt-cancellation.c: ... here.
6271 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6272 * sysdeps/nptl/malloc-machine.h: ... here.
6273 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6274 * sysdeps/nptl/pthread-functions.h: ... here.
6275 * nptl/sysdeps/pthread/pthread.h: Moved ...
6276 * sysdeps/nptl/pthread.h: ... here.
6277 * nptl/sysdeps/pthread/setxid.h: Moved ...
6278 * sysdeps/nptl/setxid.h: ... here.
6279 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6280 * sysdeps/nptl/sigfillset.c: ... here.
6281 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6282 * sysdeps/nptl/tcb-offsets.h: ... here.
6283 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6284 * sysdeps/nptl/tst-mqueue8x.c: ... here.
6285 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6286 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6287 * nptl/sysdeps/pthread/allocalim.h: Moved ...
6288 * sysdeps/pthread/allocalim.h: ... here.
6289 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6290 * sysdeps/pthread/bits/sigthread.h: ... here.
6291 * nptl/sysdeps/pthread/flockfile.c: Moved ...
6292 * sysdeps/pthread/flockfile.c: ... here.
6293 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6294 * sysdeps/pthread/ftrylockfile.c: ... here.
6295 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6296 * sysdeps/pthread/funlockfile.c: ... here.
6297 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6298 * sysdeps/pthread/posix-timer.h: ... here.
6299 * nptl/sysdeps/pthread/timer_create.c: Moved ...
6300 * sysdeps/pthread/timer_create.c: ... here.
6301 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6302 * sysdeps/pthread/timer_delete.c: ... here.
6303 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6304 * sysdeps/pthread/timer_getoverr.c: ... here.
6305 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6306 * sysdeps/pthread/timer_gettime.c: ... here.
6307 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6308 * sysdeps/pthread/timer_routines.c: ... here.
6309 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6310 * sysdeps/pthread/timer_settime.c: ... here.
6311 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6312 * sysdeps/pthread/tst-timer.c: ... here.
6313 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6314 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6315
e876b090
RM
6316 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6317 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6318
f6b07b3d
RM
6319 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6320 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6321 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6322 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6323 Update #include target.
6324 * nptl/sysdeps/i386/i686/Makefile: Moved ...
6325 * sysdeps/i386/i686/nptl/Makefile: ... here.
6326 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6327 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6328 Update #include target.
6329 * nptl/sysdeps/i386/i686/tls.h: Moved ...
6330 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
6331 * nptl/sysdeps/i386/Makefile: Moved ...
6332 * sysdeps/i386/nptl/Makefile: ... here.
6333 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6334 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6335 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6336 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6337 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6338 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6339 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6340 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6341 * sysdeps/i386/nptl/pthreaddef.h: ... here.
6342 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6343 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6344 * nptl/sysdeps/i386/tls.h: Moved ...
6345 * sysdeps/i386/nptl/tls.h: ... here.
6346
45262aee
RM
6347 * sysdeps/sh/Makefile [$(subdir) = csu]
6348 (gen-as-const-headers): Add tcb-offsets.sym.
6349 * nptl/sysdeps/sh/Makefile: File removed.
6350 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6351 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6352 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6353 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6354 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6355 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6356 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6357 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6358 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6359 * sysdeps/sh/nptl/pthreaddef.h: ... here.
6360 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6361 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6362 * nptl/sysdeps/sh/tls.h: Moved ...
6363 * sysdeps/sh/nptl/tls.h: ... here.
6364 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6365 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6366 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6367 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6368 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6369 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6370 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6371 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6372 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6373 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6374 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6375 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6376 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6377 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6378 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6379 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6380 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6381 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6382 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6383 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6384 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6385 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6386 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6387 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6388 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6389 Moved ...
6390 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6391 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6392 Moved ...
6393 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6394 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6395 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6396 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6397 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6398 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6399 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6400 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6401 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6402 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6403 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6404 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6405 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6406 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6407 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6408 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6409 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6410 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6411 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6412
35a5e3e3
SL
64132014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6414
6415 * posix/spawn_faction_addopen.c: Include string.h.
6416
14642b85
RM
64172014-06-11 Roland McGrath <roland@hack.frob.com>
6418
6419 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6420 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6421 * nptl/sysdeps/x86_64/Makefile: Moved ...
6422 * sysdeps/x86_64/nptl/Makefile: ... here.
6423 * nptl/sysdeps/x86_64/configure: Moved ...
6424 * sysdeps/x86_64/nptl/configure: ... here.
6425 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6426 * sysdeps/x86_64/nptl/configure.ac: ... here.
6427 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6428 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6429 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6430 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6431 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6432 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6433 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6434 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6435 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6436 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6437 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6438 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6439 * nptl/sysdeps/x86_64/tls.h: Moved ...
6440 * sysdeps/x86_64/nptl/tls.h: ... here.
6441 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6442 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6443 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6444 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6445
6446 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6447
31c44fea
AZ
64482014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6449
6450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6451
e81a4f9a
JM
64522014-06-11 Joseph Myers <joseph@codesourcery.com>
6453
6454 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6455 type.
6456 [POSIX] (off_t): Likewise.
6457 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6458 [POSIX] (S_ISBLK): Require macro.
6459 [POSIX] (S_ISCHR): Likewise.
6460 [POSIX] (S_ISDIR): Likewise.
6461 [POSIX] (S_ISFIFO): Likewise.
6462 [POSIX] (S_ISREG): Likewise.
6463 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6464 optional-macro.
6465 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6466 type.
6467 [POSIX] (time_t): Likewise.
6468 [POSIX] (timer_t): Likewise.
6469
89e435f3
FW
64702014-06-11 Florian Weimer <fweimer@redhat.com>
6471
6472 [BZ #17048]
6473 * posix/spawn_int.h (struct __spawn_action): Make the path string
6474 non-const to support deallocation.
6475 * posix/spawn_faction_addopen.c
6476 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6477 * posix/spawn_faction_destroy.c
6478 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6479 path in all spawn_do_open actions.
6480 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6481 posix_spawn_file_actions_addopen.
6482
c3a2ebe1
CM
64832014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6484
6485 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6486 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6487 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6488 conditional code always true.
6489 (__libc_vfork): New alias.
6490
9503784a
RM
64912014-06-11 Roland McGrath <roland@hack.frob.com>
6492
c9cab3d2
RM
6493 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6494 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6495
d3996c79
RM
6496 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6497
ba5ec611
RM
6498 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6499 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6500
f12b4814
RM
6501 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6502 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6503
9503784a
RM
6504 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6505 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6506
e23d3d26
VR
65072014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6508
6509 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6510 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6511 multiarch strcmp for PPC64.
6512 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6513 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6514 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6515 multiarch optimizations.
6516 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6517 (__libc_ifunc_impl_list): Likewise.
6518
42b1161e
SP
65192014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6520
6521 * benchtests/scripts/validate_benchout.py: New script.
6522 * benchtests/Makefile (bench-func): Call it.
6523 * benchtests/scripts/benchout.schema.json: New file.
6524
2d0fc4dc
CM
65252014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6526
4a594c34
AZ
6527 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6528 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6529 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6530 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6531 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6532 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6533 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6534 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6535 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6536 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6537 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6538 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6539 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6540 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6541 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6542 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 6544 Moved ...
4a594c34 6545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 6546 ... here.
4a594c34 6547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 6548 Moved ...
4a594c34
AZ
6549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6550 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 6551 Moved ...
4a594c34 6552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 6553 ... here.
4a594c34 6554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 6555 Moved ...
4a594c34 6556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 6557 ... here.
4a594c34 6558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 6559 Moved ...
4a594c34
AZ
6560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 6562 Moved ...
4a594c34 6563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 6564 ... here.
4a594c34 6565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 6566 Moved ...
4a594c34 6567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 6568 ... here.
4a594c34 6569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 6570 Moved ...
4a594c34
AZ
6571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 6573 Moved ...
4a594c34 6574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 6575 ... here.
4a594c34 6576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 6577 Moved ...
4a594c34 6578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 6579 ... here.
4a594c34 6580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 6581 Moved ...
4a594c34 6582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 6583 ... here.
4a594c34 6584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 6585 Moved ...
4a594c34
AZ
6586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 6588 Moved ...
4a594c34 6589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 6590 ... here.
4a594c34 6591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 6592 Moved ...
4a594c34 6593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 6594 ... here.
4a594c34 6595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 6596 Moved ...
4a594c34 6597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 6598 ... here.
4a594c34 6599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 6600 Moved ...
4a594c34
AZ
6601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6602 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 6603 Moved ...
4a594c34 6604 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 6605 ... here.
4a594c34 6606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 6607 Moved ...
4a594c34 6608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 6609 ... here.
4a594c34 6610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 6611 Moved ...
4a594c34
AZ
6612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 6614 Moved ...
4a594c34 6615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 6616 ... here.
4a594c34 6617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 6618 Moved ...
4a594c34
AZ
6619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 6621 Moved ...
4a594c34
AZ
6622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6623 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 6624 Moved ...
4a594c34 6625 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 6626 ... here.
4a594c34 6627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 6628 Moved ...
4a594c34 6629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 6630 ... here.
4a594c34 6631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 6632 Moved ...
4a594c34 6633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 6634 ... here.
4a594c34 6635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 6636 Moved ...
4a594c34
AZ
6637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6638 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 6639 Moved ...
4a594c34 6640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 6641 ... here.
4a594c34 6642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 6643 Moved ...
4a594c34 6644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 6645 ... here.
4a594c34
AZ
6646 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6647 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6648 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6649 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6650 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 6651 Moved ...
4a594c34 6652 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 6653 ... here.
4a594c34
AZ
6654 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6655 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6656 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6657 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6658 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6659 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6660 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6661 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6662 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6663 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6664 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6665 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6666 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 6667 Moved ...
4a594c34
AZ
6668 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6669 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 6670 Moved ...
4a594c34
AZ
6671 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6672 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6673 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6674 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 6675 Moved ...
4a594c34
AZ
6676 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6677 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6678 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6679 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6680 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6681 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6682 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 6683
0570cfed
W
66842014-06-10 Wilco <wdijkstr@arm.com>
6685
6686 * math/test-fenv-return.c: New file.
6687 * math/Makefile: Add new test test-fenv-return.
6688
f8ba1b56
JM
66892014-06-10 Joseph Myers <joseph@codesourcery.com>
6690
6691 [BZ #17042]
6692 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6693 when x - 1 is zero.
6694 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6695 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6696 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6697 0.0L for an argument of 1.0L.
6698 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6699 Likewise.
6700 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6701 value when x - 1 is zero.
6702 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6703 * sysdeps/i386/fpu/libm-test-ulps: Update.
6704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6705
2c3520d9
BO
67062014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
6707
6708 [BZ #15119]
6709 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6710
acaa4d24
RM
67112014-06-09 Roland McGrath <roland@hack.frob.com>
6712
6713 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6714 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6715
962b744d
RM
67162014-06-09 Roland McGrath <roland@hack.frob.com>
6717
d752f0cc
RM
6718 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6719 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6720
34eda6d1
RM
6721 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6722 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6723
50f0a637
RM
6724 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6725 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6726
08f41f04
RM
6727 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6728 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6729
962b744d
RM
6730 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6731 if not already defined.
6732 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6733 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6734 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6735 (TLS_INIT_TP): Use it.
6736 (TLS_DEFINE_INIT_TP): New macro.
6737 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6738
09f19b05
JM
67392014-06-09 Joseph Myers <joseph@codesourcery.com>
6740
6741 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6742 constant.
6743 [POSIX] (IXANY): Likewise.
6744 [POSIX] (OLCUC): Likewise.
6745 [POSIX || POSIX2008] (CBAUD): Do not allow.
6746 [POSIX || POSIX2008] (DEFECHO): Likewise.
6747 [POSIX || POSIX2008] (ECHOCTL): Likewise.
6748 [POSIX || POSIX2008] (ECHOKE): Likewise.
6749 [POSIX || POSIX2008] (ECHOPRT): Likewise.
6750 [POSIX || POSIX2008] (EXTA): Likewise.
6751 [POSIX || POSIX2008] (EXTB): Likewise.
6752 [POSIX || POSIX2008] (FLUSHO): Likewise.
6753 [POSIX || POSIX2008] (LOBLK): Likewise.
6754 [POSIX || POSIX2008] (PENDIN): Likewise.
6755 [POSIX || POSIX2008] (SWTCH): Likewise.
6756 [POSIX || POSIX2008] (VDISCARD): Likewise.
6757 [POSIX || POSIX2008] (VDSUSP): Likewise.
6758 [POSIX || POSIX2008] (VLNEXT): Likewise.
6759 [POSIX || POSIX2008] (VREPRINT): Likewise.
6760 [POSIX || POSIX2008] (VSTATUS): Likewise.
6761 [POSIX || POSIX2008] (VWERASE): Likewise.
6762 (B*): Change to B[0123456789]*.
6763 * conform/data/time.h-data [POSIX || UNIX98]
6764 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6765 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6766 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6767 [POSIX] (tm_*): Do not allow.
6768
686554bf
JM
67692014-06-07 Joseph Myers <joseph@codesourcery.com>
6770
6771 * Makefile (install): Don't set LANGUAGE.
6772 * Makefile.in (install): Likewise.
6773 * assert/Makefile (test-assert-ENV): Remove variable.
6774 (test-assert-perr-ENV): Likewise.
6775 * elf/Makefile (neededtest4-ENV): Likewise.
6776 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6777 [$(cross-compiling) = no]: Don't set LANGUAGE.
6778 * io/ftwtest-sh (LANG): Remove variable.
6779 * libio/Makefile (tst-widetext-ENV): Likewise.
6780 * manual/install.texi (Running make install): Don't refer to
6781 environment settings for make install.
6782 * INSTALL: Regenerated.
6783 * nptl/tst-tls6.sh: Don't set LANG.
6784 * posix/globtest.sh (LANG): Remove variable.
6785 * string/Makefile (tester-ENV): Likewise.
6786 (inl-tester-ENV): Likewise.
6787 (noinl-tester-ENV): Likewise.
6788 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6789 [$(cross-compiling) = no]: Don't set LANGUAGE.
6790 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6791 without explicit environment settings.
6792
68e6b6b1
RM
67932014-06-06 Roland McGrath <roland@hack.frob.com>
6794
6795 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6796 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6797 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6798 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6799
4d3ae034
CM
68002014-06-06 Chris Metcalf <cmetcalf@tilera.com>
6801
6802 * crypt/crypt-private.h [DOS]: Add some includes taken from the
6803 other files in the crypt directory.
6804 * crypt/crypt.c: Remove duplicate includes.
6805 * crypt/crypt-entry.c: Likewise.
6806 * crypt/crypt_util.c: Likewise.
6807
8540f6d2
JM
68082014-06-06 Joseph Myers <joseph@codesourcery.com>
6809
6810 * Makeconfig (run-program-env): New variable.
6811 (run-program-prefix-before-env): Likewise.
6812 (run-program-prefix-after-env): Likewise.
6813 (run-program-prefix): Define in terms of new variables.
6814 (built-program-cmd-before-env): New variable.
6815 (built-program-cmd-after-env): Likewise.
6816 (built-program-cmd): Define in terms of new variables.
6817 (test-program-prefix-before-env): New variable.
6818 (test-program-prefix-after-env): Likewise.
6819 (test-program-prefix): Define in terms of new variables.
6820 (test-program-cmd-before-env): New variable.
6821 (test-program-cmd-after-env): Likewise.
6822 (test-program-cmd): Define in terms of new variables.
6823 * Rules (make-test-out): Use $(run-program-env).
6824 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6825 (help): Do not mention environment variables. Mention
6826 --timeoutfactor option.
6827 (timeoutfactor): New variable.
6828 (blacklist_exports): Remove function.
6829 (exports): Remove variable.
6830 (command): Do not include ${exports}.
6831 * manual/install.texi (Configuring and compiling): Do not mention
6832 test wrappers preserving environment variables. Mention that last
6833 assignment to a variable must take precedence.
6834 * INSTALL: Regenerated.
6835 * benchtests/Makefile (run-bench): Use $(run-program-env).
6836 * catgets/Makefile ($(objpfx)test1.cat): Use
6837 $(built-program-cmd-before-env), $(run-program-env) and
6838 $(built-program-cmd-after-env).
6839 ($(objpfx)test2.cat): Do not specify environment variables
6840 explicitly.
6841 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6842 $(run-program-env) and $(built-program-cmd-after-env).
6843 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6844 $(run-program-env) and $(test-program-cmd-after-env).
6845 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6846 explicitly.
6847 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6848 run_program_env and test_program_cmd_after_env arguments.
6849 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6850 * elf/tst-pathopt.sh: Use run_program_env argument.
6851 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6852 $(test-wrapper-env) and $(run-program-env).
6853 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6854 run_program_env arguments.
6855 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6856 * intl/Makefile ($(objpfx)tst-gettext.out): Use
6857 $(test-program-prefix-before-env), $(run-program-env) and
6858 $(test-program-prefix-after-env).
6859 ($(objpfx)tst-gettext2.out): Likewise.
6860 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6861 run_program_env and test_program_prefix_after_env arguments.
6862 * intl/tst-gettext2.sh: Likewise.
6863 * intl/tst-gettext4.sh: Do not set environment variables
6864 explicitly.
6865 * intl/tst-gettext6.sh: Likewise.
6866 * intl/tst-translit.sh: Likewise.
6867 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6868 $(test-program-prefix-before-env), $(run-program-env) and
6869 $(test-program-prefix-after-env).
6870 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6871 run_program_env and test_program_prefix_after_env arguments.
6872 * math/Makefile (run-regen-ulps): Use $(run-program-env).
6873 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6874 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
6875 explicitly with each use of ${test_wrapper_env}.
6876 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6877 $(test-program-prefix-before-env), $(run-program-env) and
6878 $(test-program-prefix-after-env).
6879 * posix/tst-getconf.sh: Do not set environment variables
6880 explicitly.
6881 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6882 run_program_env and test_program_prefix_after_env arguments.
6883 * stdio-common/tst-printf.sh: Do not set environment variables
6884 explicitly.
6885 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6886 $(test-program-prefix-before-env), $(run-program-env) and
6887 $(test-program-prefix-after-env).
6888 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6889 run_program_env and test_program_prefix_after_env arguments.
6890 Split $test calls into $test_pre and $test.
6891 * timezone/Makefile (build-testdata): Use
6892 $(built-program-cmd-before-env), $(run-program-env) and
6893 $(built-program-cmd-after-env).
6894
ed36bfa1
AZ
68952014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6896
6897 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6898 strlen for non SHARED builds.
6899
fc75bf46
SP
69002014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6901
6902 * nptl/allocatestack.c (check_list): Inlined function...
6903 (__reclaim_stacks): ... here.
6904
d89b3d80
OB
69052014-06-05 Ondřej Bílka <neleai@seznam.cz>
6906
6907 [BZ #15698]
6908 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6909 memory overrun.
6910
2bf18041
JM
69112014-06-05 Joseph Myers <joseph@codesourcery.com>
6912
6913 * Rules (make-test-out): Include
6914 LOCPATH=$(common-objpfx)localedata in default environment.
6915 * debug/Makefile (tst-chk1-ENV): Remove variable.
6916 (tst-chk2-ENV): Likewise.
6917 (tst-chk3-ENV): Likewise.
6918 (tst-chk4-ENV): Likewise.
6919 (tst-chk5-ENV): Likewise.
6920 (tst-chk6-ENV): Likewise.
6921 (tst-lfschk1-ENV): Likewise.
6922 (tst-lfschk2-ENV): Likewise.
6923 (tst-lfschk3-ENV): Likewise.
6924 (tst-lfschk4-ENV): Likewise.
6925 (tst-lfschk5-ENV): Likewise.
6926 (tst-lfschk6-ENV): Likewise.
6927 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6928 (tst-iconv7-ENV): Likewise.
6929 * intl/Makefile (LOCPATH-ENV): Likewise.
6930 (tst-codeset-ENV): Likewise.
6931 (tst-gettext3-ENV): Likewise.
6932 (tst-gettext5-ENV): Likewise.
6933 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6934 (tst-fopenloc-ENV): Likewise.
6935 (tst-fgetws-ENV): Remove variable.
6936 (tst-ungetwc1-ENV): Likewise.
6937 (tst-ungetwc2-ENV): Likewise.
6938 (bug-ungetwc2-ENV): Likewise.
6939 (tst-swscanf-ENV): Likewise.
6940 (bug-ftell-ENV): Likewise.
6941 (tst-fgetwc-ENV): Likewise.
6942 (tst-fseek-ENV): Likewise.
6943 (tst-ftell-partial-wide-ENV): Likewise.
6944 (tst-ftell-active-handler-ENV): Likewise.
6945 (tst-ftell-append-ENV): Likewise.
6946 * posix/Makefile (tst-fnmatch-ENV): Likewise.
6947 (tst-regexloc-ENV): Likewise.
6948 (bug-regex1-ENV): Likewise.
6949 (tst-regex-ENV): Likewise.
6950 (tst-regex2-ENV): Likewise.
6951 (bug-regex5-ENV): Likewise.
6952 (bug-regex6-ENV): Likewise.
6953 (bug-regex17-ENV): Likewise.
6954 (bug-regex18-ENV): Likewise.
6955 (bug-regex19-ENV): Likewise.
6956 (bug-regex20-ENV): Likewise.
6957 (bug-regex22-ENV): Likewise.
6958 (bug-regex23-ENV): Likewise.
6959 (bug-regex25-ENV): Likewise.
6960 (bug-regex26-ENV): Likewise.
6961 (bug-regex30-ENV): Likewise.
6962 (bug-regex32-ENV): Likewise.
6963 (bug-regex33-ENV): Likewise.
6964 (bug-regex34-ENV): Likewise.
6965 (bug-regex35-ENV): Likewise.
6966 (tst-rxspencer-ENV): Likewise.
6967 (tst-rxspencer-no-utf8-ENV): Likewise.
6968 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6969 (tst-sscanf-ENV): Likewise.
6970 (tst-swprintf-ENV): Likewise.
6971 (tst-swscanf-ENV): Likewise.
6972 (test-vfprintf-ENV): Likewise.
6973 (scanf13-ENV): Likewise.
6974 (bug14-ENV): Likewise.
6975 (tst-grouping-ENV): Likewise.
6976 * stdlib/Makefile (tst-strtod-ENV): Likewise.
6977 (tst-strtod3-ENV): Likewise.
6978 (tst-strtod4-ENV): Likewise.
6979 (tst-strtod5-ENV): Likewise.
6980 (testmb2-ENV): Likewise./
6981 * string/Makefile (tst-strxfrm-ENV): Likewise.
6982 (tst-strxfrm2-ENV): Likewise.
6983 (bug-strcoll1-ENV): Likewise.
6984 (test-strcasecmp-ENV): Likewise.
6985 (test-strncasecmp-ENV): Likewise.
6986 * time/Makefile (tst-strptime-ENV): Likewise.
6987 (tst-ftime_l-ENV): Likewise.
6988 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6989 (tst-mbrtowc-ENV): Likewise.
6990 (tst-wcrtomb-ENV): Likewise.
6991 (tst-mbrtowc2-ENV): Likewise.
6992 (tst-c16c32-1-ENV): Likewise.
6993 (tst-mbsnrtowcs-ENV): Likewise.
6994
cd1fb604
OB
69952014-06-05 Ondřej Bílka <neleai@seznam.cz>
6996
6997 * manual/resource.texi (How to get information about the memory
6998 subsystem?): Fix typo.
6999 Reported by Peon de la Parra Ivan <peon@keba.com>
7000
b42eca7d
GY
70012014-06-03 Guo Yixuan <culu.gyx@gmail.com>
7002
7003 [BZ #16882]
7004 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
7005 (pthread_spin_lock): Branch out of spin loop to proper location.
7006 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
7007 (pthread_spin_lock): Likewise.
7008
902b71f9
DM
7009 * nptl/tst-spin4.c: New test.
7010 * nptl/Makefile (tests): Add tst-spin4.
7011
f9d2d032
AS
70122014-06-03 Andreas Schwab <schwab@suse.de>
7013
7014 [BZ #15946]
7015 * resolv/res_send.c (send_dg): Reload file descriptor after
7016 calling reopen.
7017
cf7bfd28
SL
70182014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
7019
7020 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7021
111cc714
RH
70222014-06-03 Richard Henderson <rth@redhat.com>
7023
89b4bd6b
RH
7024 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
7025 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
7026 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
7027 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
7028 in the SAVE_PID block.
7029 (__libc_vfork): New alias.
71840409 7030 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 7031
111cc714
RH
7032 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
7033 child in registers, not on the stack. Remove RESET_PID conditionals.
7034 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
7035
ccc39911
MS
70362014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
7037
7038 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7039
693096cc
W
70402014-06-03 Wilco <wdijkstr@arm.com>
7041
7042 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
7043 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
7044 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7045 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
7046 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
7047 Likewise.
7048
0b4366bc
W
70492014-06-03 Wilco <wdijkstr@arm.com>
7050
7051 * sysdeps/aarch64/fpu/math_private.h
7052 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
7053 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
7054 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
7055 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7056 Fix declarations.
7057
8747cd03
KS
70582014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7059
7060 * crypt/crypt-private.h: Include ufc-crypt.h.
7061 (__b64_from_24bit): Declare extern.
7062 * crypt/crypt_util.c(__b64_from_24bit): New function.
7063 (b64t): New static const variable.
7064 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
7065 (b64t): Remove variable.
7066 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
7067 * crypt/sha256-crypt.c: Include crypt-private.h.
7068 (b64t): Remove variable.
7069 (__sha256_crypt_r): Remove b64_from_24bit and replace
7070 with __b64_from_24bit.
7071 * crypt/sha512-crypt.c: Likewise.
7072
d936d379
RM
70732014-06-02 Roland McGrath <roland@hack.frob.com>
7074
7075 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
7076 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
7077 Label the code __libc_vfork rather than __vfork.
7078 [!NOT_IN_libc] (vfork): Define as weak alias.
7079 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
7080 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
7081 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
7082
9fa76613
SP
70832014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7084
7085 * malloc/malloc.c (malloc_info): Fix format specifier for
7086 n_mmaps.
7087
a88dadbe
W
70882014-06-02 Wilco <wdijkstr@arm.com>
7089
7090 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7091 FPCR write.
7092
c95b3011
W
70932014-06-02 Wilco <wdijkstr@arm.com>
7094
7095 [BZ #17009]
7096 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7097 Rewrite to reduce FPCR/FPSR accesses.
7098
6b4d7a90
DM
70992014-06-01 David S. Miller <davem@davemloft.net>
7100
7101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7102
30f3d07c
DM
71032014-05-31 David S. Miller <davem@davemloft.net>
7104
7105 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7106 to occur in round to nearest mode when |x| >= 2.0
7107
74f31c18
RH
71082014-05-30 Richard Henderson <rth@twiddle.net>
7109
f0712b54
RH
7110 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7111 (PSEUDO_RET_NOERRNO): Remove.
7112 (ret): Don't redefine.
7113 (ret_NOERRNO): Define in terms of ret.
7114 (ret_ERRVAL): Likewise.
7115
74f31c18
RH
7116 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7117 use of PSEUDO_RET; perform the error check directly.
7118
30477995
MM
71192014-05-30 Marko Myllynen <myllynen@redhat.com>
7120
7121 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7122 with __int128_t.
7123
62a58816
SP
71242014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7125
7126 * malloc/malloc (malloc_info): Fix formatting.
7127
4d653a59
SP
71282014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7129 Roland McGrath <roland@hack.frob.com>
7130
7131 * malloc/malloc (malloc_info): Also print mmapped statistics.
7132
5190c17f
RM
71332014-05-30 Roland McGrath <roland@hack.frob.com>
7134
7135 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7136 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7137
987c0269
OB
71382014-05-30 Ondřej Bílka <neleai@seznam.cz>
7139
7140 * malloc/malloc.c (malloc_info): Inline mi_arena.
7141
af4e8ef9
RH
71422014-05-29 Richard Henderson <rth@twiddle.net>
7143
1670e207
RH
7144 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7145 Remove comma before expanding ASM_ARGS_##nr.
7146 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7147 Make _x0 a strict output; make _x8 a strict input; adjust expansion
7148 of ASM_ARGS_##nr.
7149 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7150 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7151 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7152 (ASM_ARGS_1): Add leading comma.
7153
11a28aee
RH
7154 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7155 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7156 to __errno_location.
7157 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7158 Remove the expected plt for __errno_location.
7159
a17e5ffb 7160 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 7161 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
7162 call to __read_tp.
7163
b5be4597
RH
7164 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7165 Always allocate 64 bytes of stack frame. Use ldp/stp to create
7166 it and break it down.
7167 (DOCARGS_0, DOCARGS_1): Do nothing.
7168 (DOCARGS_2): Update to store into the new stack frame.
7169 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7170 (UNDOCARGS_1): Update to restore from the new stack frame.
7171 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7172 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7173
645d44ab
RH
7174 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7175 (SINGLE_THREAD_P): New parameter for result regno.
7176 (PSEUDO): Update to match; use cbz instead of beq.
7177
a8b4f04a
RH
7178 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7179 Use ENTRY to define the _nocancel entry point. Share the syscall
7180 and syscall error check paths with the cancel path.
7181 (PSEUDO_END): New.
7182
af4e8ef9
RH
7183 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7184 whitespace; tabs before and after asm mnemonics.
7185
26b0d2e1
EW
71862014-05-29 Eric Wong <normalperson@yhbt.net>
7187
7188 [BZ #15132]
7189 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7190 Call fstat64 or stat64 internally, depending on arguments passed.
7191 Replace stat buffer argument with file descriptor argument.
7192 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7193 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7194 Pass fd to __internal_statvfs instead of calling fstat64.
7195 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7196 Pass fd to __internal_statvfs64 instead of calling fstat64.
7197 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7198 Pass -1 to __internal_statvfs instead of calling stat64.
7199 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7200 Pass -1 to __internal_statvfs64 instead of calling stat64.
7201
1efe2bd9
RM
72022014-05-28 Roland McGrath <roland@hack.frob.com>
7203
0d3b7a19
RM
7204 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7205 that was previously under [RESET_PID].
7206 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7207
1efe2bd9
RM
7208 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7209 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7210
a6bea3ca
RM
72112014-05-27 Roland McGrath <roland@hack.frob.com>
7212
30b6629e
RM
7213 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7214
a6bea3ca
RM
7215 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7216 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7217
3dfb9a5c
OB
72182014-05-27 Ondřej Bílka <neleai@seznam.cz>
7219
7220 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7221
774f9285
AS
72222014-05-27 Andreas Schwab <schwab@suse.de>
7223
7224 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7225 TLS_INIT_TP macro.
7226 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7227 * elf/rtld.c (init_tls, dl_main): Likewise.
7228 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7229 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7230 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7231 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7232 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7233 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7234 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7235 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7236 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7237 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7238 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7239 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7240 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7241 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7242 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7243 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7244 * sysdeps/generic/tls.h: Update description.
7245
36ffe739
WN
72462014-05-27 Will Newton <will.newton@linaro.org>
7247
7248 [BZ #16990]
7249 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7250 and restore r2 rather than just restoring.
7251
2482ae43
SP
72522014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7253
7254 [BZ #16724]
7255 * libio/tst-ftell-append.c: New test case.
7256 * libio/Makefile (tests): Add test case.
7257 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7258 append mode.
7259 * libio/wfileops.c (do_ftell_wide): Likewise.
7260
3d1024e8
AZ
72612014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7262
bab90016
AZ
7263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7264
c7a8d667
AZ
7265 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7266 ...
7267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7269 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7270 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7271 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7272 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7273 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7274 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7275 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7276 Moved ...
7277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7278 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7279 Moved ...
7280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7281 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7282 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7283 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7284 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7285 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7286 ...
7287 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7288 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7289 Moved ...
7290 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7291 here.
7292 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7293 ...
7294 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7295 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7296 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7297
daee7851
AZ
7298 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7299 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7300 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7301 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7302
50a40819
AZ
7303 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7304 merge into ...
7305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7306 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7307 ...
7308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7309 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7310 ...
7311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7312 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7313 Moved ...
7314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7315 here.
7316 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7317 Moved ...
7318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7319 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7320 Moved ...
7321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7322
8464c2a1
AZ
7323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7324 conditional [RESET_PID].
7325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7326 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7327 removed.
7328 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7329 removed.
7330
3d1024e8
AZ
7331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7332 <tcb-offsets.h>.
7333 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7334 (__libc_vfork): New strong alias.
7335 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7336 removed.
7337 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7338 Removed.
7339
7340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7341 <tcb-offsets.h>.
7342 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7343 (__libc_vfork): New strong alias.
7344 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7345 removed.
7346 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7347 removed.
7348
fdfd175d
CD
73492014-05-26 Carlos O'Donell <carlos@redhat.com>
7350
7351 * malloc/malloc.c (mi_arena): New function.
7352 (malloc_info): Remove nested function mi_arena. Call non-nosted
7353 function mi_arena.
7354
d298c416
AZ
73552014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7356
7357 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7358 by insrwi.
7359 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7360 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7361 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7362 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7363 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7364 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7365 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7366
b60ea6ff
AS
73672014-05-26 Andreas Schwab <schwab@suse.de>
7368
7369 [BZ #16984]
7370 * locale/programs/repertoire.c (repertoire_read): Add slash
7371 between I18NPATH element and file name.
7372 * locale/programs/locfile.c (locfile_read): Likewise.
7373
67365926
SL
73742014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7375
7376 * nptl/pthread_mutexattr_settype.c
7377 (__pthread_mutexattr_settype):
7378 Disable lock elision for PTHREAD_MUTEX_NORMAL.
7379
f8bdf1f0
SL
73802014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7381
7382 * nptl/tst-mutex5 (do_test):
7383 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7384
15eaf6ff
SP
73852014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7386
7387 * benchtests/README: Document 'init' directive.
7388 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7389 BENCH_INIT.
7390 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7391 (parse_file): Recognize 'init' directive.
7392
75f11331
KM
73932014-05-26 Kyle McMartin <kyle@redhat.com>
7394
7395 [BZ #16796]
7396 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7397 alignment of struct pthread.
7398
c3ec475c
SP
73992014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7400
7401 [BZ #16878]
7402 * nscd/netgroupcache.c (addgetnetgrentX): Look for
7403 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7404 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7405 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7406
82aab97c
RH
74072014-05-25 Richard Henderson <rth@twiddle.net>
7408
aa2f176d
RH
7409 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7410 (SINGLE_THREAD_P_PIC): Remove.
7411 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7412 (SINGLE_THREAD_P_PIC): Remove.
7413
ca3cfa40
RH
7414 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7415 branch to syscall error ...
7416 (PSEUDO): ... here.
7417 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7418 from __local_syscall_error to .Lsyscall_error.
7419 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7420 (SYSCALL_ERROR): Update label name.
7421
6e6c2d01
RH
7422 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7423 Do not use DOARGS/UNDOARGS.
7424 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7425 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7426 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7427 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7428 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7429
c69abcee
RH
7430 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7431 block comment.
7432
82aab97c
RH
7433 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7434 define if !NOT_IN_libc.
7435 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7436 define with non-default symbol versions.
7437
8820e3ac
RH
74382014-05-23 Richard Henderson <rth@twiddle.net>
7439
900e445f
RH
7440 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7441 (vfork, __vfork): Define via compat_symbol.
7442
8820e3ac
RH
7443 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7444 [!HAVE_IFUNC] (vfork_compat): Remove.
7445 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7446
e59252a5
JM
74472014-05-23 Joseph Myers <joseph@codesourcery.com>
7448
7449 [BZ #16978]
7450 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7451 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7452 variable.
7453
132c7f5f
RH
74542014-05-23 Richard Henderson <rth@twiddle.net>
7455
bc89e962
RH
7456 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7457 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7458 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7459 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7460
7461 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7462 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7463 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7464 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7465 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7466 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7467 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7468 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7469 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7470 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7471 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7472 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7473 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7474 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7475 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7476 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7477 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7478 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7479 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7480 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7481 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7482 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7483 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7484 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7485 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7486 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7487 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7488 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7489 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7490 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7491 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7492 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7493 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7494 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7495 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7496 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7497 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7498 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7499 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7500 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7501 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7502 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7503 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7504 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7505 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7506 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7507 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7508 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7509 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7510 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7511 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7512 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7513 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7514 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7515 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7516 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7517
e2fa4bc2
RH
7518 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7519 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7520 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7521 before exiting on error.
7522 (__libc_vfork): New strong alias.
7523 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7524 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7525
279b24e2
RH
7526 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7527 that was previously under [RESET_PID].
7528 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7529
132c7f5f
RH
7530 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7531
b72592e7
JM
75322014-05-23 Joseph Myers <joseph@codesourcery.com>
7533
7534 [BZ #16977]
7535 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7536 value when x - 1 is zero.
7537 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7538 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7539 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7540 0.0L for an argument of 1.0L.
7541 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7542 Likewise.
7543 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7544 value when x - 1 is zero.
7545 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7546 * sysdeps/i386/fpu/libm-test-ulps: Update.
7547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7548
2302d679
RV
75492014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7550
7551 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7552 alphasort and versionsort.
7553
32999d63
AZ
75542014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7555
7556 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7557 macro.
7558 [copysignf]: Likewise.
7559
019324d0
SP
75602014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7561
7562 * crypt/md5-crypt.c: Fix formatting.
7563
34fff5c2
KS
75642014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7565
7566 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7567 (b64_from_24bit): New function.
7568
3d2badac
AZ
75692014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7570
7571 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7572 libc_hidden_builtin_def to ifunc.
7573 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7574 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7575
f7bb179f 75762014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
7577
7578 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7579 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7580
4134b50d
JM
75812014-05-21 Joseph Myers <joseph@codesourcery.com>
7582
bb7d0337
JM
7583 * nscd/Depend (linuxthreads): Remove.
7584 (nptl): Add.
7585 * resolv/Depend (linuxthreads): Remove.
7586 * rt/Depend (linuxthreads): Remove.
7587
4134b50d
JM
7588 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7589 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7590 $(common-objpfx)elf/.
7591 (link-libc-before-gnulib): Likewise.
7592 (elfobjdir): Remove variable.
7593 * Makefile (install): Use $(elf-objpfx) instead of
7594 $(common-objpfx)elf/.
7595 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7596 $(elfobjdir)/.
7597 (link-libc-deps): Likewise.
7598 ($(common-objpfx)libc.so): Likewise.
7599 ($(common-objpfx)linkobj/libc.so): Likewise.
7600 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7601 instead of $(common-objpfx)elf/.
7602 (symbolic-link-list): Likewise.
7603 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7604 [$(cross-compiling) = no]: Likewise.
7605 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7606 $(elfobjdir)/.
7607 (static-gnulib-arch): Likewise.
7608 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7609 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7610 $(common-objpfx)elf/.
7611
3612eb8f
RH
76122014-05-21 Richard Henderson <rth@redhat.com>
7613
a6b3657b
RH
7614 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7615 (SINGLE_THREAD_P): Use the correct width load. Fold
7616 into the ldr offset.
7617
3612eb8f
RH
7618 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7619 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7620
175cef41
JM
76212014-05-20 Joseph Myers <joseph@codesourcery.com>
7622
7623 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7624 (libgcc_s_resume): Use __attribute_used__.
7625 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7626 Likewise.
7627
e13bccd3
AZ
76282014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7629
7630 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7631 optimization when used with float constants.
7632
7c112a38
AZ
7633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7634
ae75a883
AJ
76352014-05-20 Aurelien Jarno <aurelien@aurel32.net>
7636
7637 [BZ #16915]
7638 * locale/nl_langinfo_l.c: Make direct reference to every
7639 _nl_current_CATEGORY symbol.
7640 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7641 (tests-static): Add tst-langinfo-static.
7642 (tests-special): Add tst-langinfo-static.out.
7643 ($(objpfx)tst-langinfo.out): Redirect output.
7644 ($(objpfx)tst-langinfo-static.out): New.
7645 * localedata/tst-langinfo.sh: Send output to stdout.
7646 * localedata/tst-langinfo-static.c: New file.
7647
4406c41c
AJ
7648 [BZ #16965]
7649 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7650 when the shift amount is modulo the limb size.
7651
4c0a1e63
RH
76522014-05-20 Richard Henderson <rth@redhat.com>
7653
de9d8f20
RH
7654 [BZ #16967]
7655 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7656 Change type of sa_flags from unsigned int to int.
7657
4c0a1e63
RH
7658 [BZ #16966]
7659 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
7660
7661 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7662
a60339aa
WN
76632014-05-20 Will Newton <will.newton@linaro.org>
7664
7665 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7666 Test the return value of the system call in the nocancel case.
7667
7d05a816
YR
76682014-05-20 Will Newton <will.newton@linaro.org>
7669 Yvan Roux <yvan.roux@linaro.org>
7670
7671 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7672 #include of asm/ptrace.h.
7673 (PTRACE_GET_THREAD_AREA): Remove #undef.
7674 (PTRACE_GETHBPREGS): Likewise.
7675 (PTRACE_SETHBPREGS): Likewise.
7676 (struct user_regs_struct): New structure.
7677 (struct user_fpsimd_struct): New structure.
7678 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7679 #include of asm/ptrace.h and second #include of sys/user.h.
7680 (PTRACE_GET_THREAD_AREA): Remove #undef.
7681 (PTRACE_GETHBPREGS): Likewise.
7682 (PTRACE_SETHBPREGS): Likewise.
7683 (ELF_NGREG): Use new struct user_regs_struct.
7684 (elf_fpregset_t): Use new struct user_fpsimd_struct.
7685
af121e37
AZ
76862014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7687
7688 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7689 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7690
834caf06
JM
76912014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7692
7693 [BZ #16958]
7694 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7695 membar to avoid block loads/stores to overlap previous stores.
7696
e184a918
RH
76972014-05-17 Richard Henderson <rth@redhat.com>
7698
7699 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7700 Create the __##syscall_name##_nocancel entry point.
7701 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7702 Remove; let the sysdep-cancel.h code create it.
7703
f56c7a6a
DM
77042014-05-17 David S. Miller <davem@davemloft.net>
7705
7706 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7707 Protect with __USE_GNU.
7708 (TIOCSET_TEMPT): Likewise.
7709 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7710 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7711 these are already provided in bits/ioctl-types.h
7712
f75616b2
RM
77132014-05-16 Roland McGrath <roland@hack.frob.com>
7714
3edeca86
RM
7715 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7716 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7717
f75616b2
RM
7718 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7719 Use wait4 regardless of [__NR_waitpid].
7720
deb0f7f6
MR
77212014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7722
7723 PR libgcc/60166
7724 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7725 (_FP_NANSIGN_Q): Set the quiet bit.
7726
79520f4b
JM
77272014-05-16 Joseph Myers <joseph@codesourcery.com>
7728
7729 * benchtests/Makefile
7730 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7731 not $(common-objpfx)math/libm.so.
7732 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7733 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7734 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7735 $(common-objpfx)dlfcn/libdl.so.
7736 ($(objpfx)tst-audit8): Depend on $(libm), not
7737 $(common-objpfx)math/libm.so.
7738 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7739 not $(common-objpfx)dlfcn/libdl.so.
7740 * math/Makefile
7741 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7742 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
7743 [$(build-shared) = yes].
7744 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7745 $(common-objpfx)nptl/libpthread.so.
7746 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7747 $(common-objpfx)math/libm.so$(libm.so-version) or
7748 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7749 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7750 $(common-objpfx)dlfcn/libdl.so.
7751 * setjmp/Makefile (link-libm): Remove variable.
7752 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7753 * stdio-common/Makefile (link-libm): Remove variable.
7754 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7755 * stdlib/Makefile (link-libm): Remove variable.
7756 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7757 ($(objpfx)tst-strtod-round): Likewise.
7758 ($(objpfx)tst-tininess): Likewise.
7759 ($(objpfx)tst-strtod-underflow): Likewise.
7760 ($(objpfx)tst-strtod6): Likewise.
7761 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7762 $(libdl), not $(common-objpfx)nptl/libpthread.so and
7763 $(common-objpfx)dlfcn/libdl.so.
7764
026b0fe4
AZ
77652014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7766
7767 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7768 BSD terminal modes definitions.
7769
def4bcb2
RM
77702014-05-16 Roland McGrath <roland@hack.frob.com>
7771
fe39b021
RM
7772 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7773 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7774
1d1fc46e 7775 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
7776 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7777 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7778 Don't do #include_next.
7779 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7780 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7781 Don't do #include_next.
7782 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7783 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7784 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7785 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7786
c72399fb
AM
77872014-05-16 Allan McRae <allan@archlinux.org>
7788
d51d659d
AM
7789 * po/sv.po: Update Swedish translation from translation project.
7790
c72399fb
AM
7791 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7792 in sed expression.
7793
d0583c40
AJ
77942014-05-16 Aurelien Jarno <aurelien@aurel32.net>
7795
7796 [BZ #16917]
7797 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7798 errno if the TIOCGPTN ioctl fails with an error different than
7799 EINVAL.
7800 * login/tst-ptsname.c: New file.
7801 * login/Makefile (tests): Add tst-ptsname.
7802
d16e6ec7
AJ
7803 [BZ #16943]
7804 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7805 and prlimit64.
7806
cf26a0cb
SP
78072014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7808
7809 [BZ #16849]
7810 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7811 herrno to return EAI_AGAIN.
7812
5675da1e
RM
78132014-05-14 Roland McGrath <roland@hack.frob.com>
7814
a5d87b3d
RM
7815 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7816 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7817 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7818 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7819 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7820 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7821 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7822 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7823 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7824 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7825 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7826 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7827 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7828 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7829 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7830 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7831 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7832 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7833 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7834 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7835 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7836 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7837 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7838 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7839 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7840 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7841 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7842 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7843 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7844 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7845 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7846 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7848 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7850 Moved ...
7851 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7852 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7853 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7855 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7856 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7857 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7859 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7860 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7861 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7863 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7864 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7865 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7866 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7867 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7868 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7869 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7871 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7873 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7875 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7876 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7877 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7879 Moved ...
7880 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7881 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7882 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7884 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7886 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7888 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7889 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7890 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7891 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7892 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7894 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7896 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7898 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7900 Moved ...
7901 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7903 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7904
039890a6
RM
7905 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7906 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7907 (libpthread-sysdep_routines): Add elision-related stuff here instead.
7908 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7909 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7910 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7911 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7912 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7913 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7914 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7915 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7916 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7917 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7918 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7919 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7920 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7921 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7922 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7923 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7924 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7925 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7926 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7927 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7928 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7929 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7930 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7931 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7932 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7933 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7934 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7935 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7936
65c89320
RM
7937 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7938 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7939
348f8e8c
RM
7940 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7941 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7942 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7943 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7944 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7945 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7946 Moved ...
7947 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
7948 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7949 Moved ...
7950 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
7951 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7952 Moved ...
7953 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
7954 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
7955 Moved ...
7956 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
7957 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
7958 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
7959 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7960 Moved ...
7961 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
7962 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
7963 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
7964 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7965 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7966 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7967 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7968 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7969 Moved ...
7970 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7971 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7972 Moved ...
7973 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7974 ... here.
7975 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7976 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7977 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7978 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7979 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7980 Moved ...
7981 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7982 ... here.
7983 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7984 Moved ...
7985 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7986 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7987 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7988 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7989 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7990 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7991 Moved ...
7992 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7993 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7994 Moved ...
7995 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7996 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7997 Moved ...
7998 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7999 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
8000 Moved ...
8001 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
8002 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
8003 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
8004 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
8005 Moved ...
8006 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
8007 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
8008 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
8009 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
8010 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
8011 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
8012 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
8013 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8014 Moved ...
8015 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
8016 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8017 Moved ...
8018 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8019 ... here.
8020 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
8021 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
8022 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
8023 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
8024 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8025 Moved ...
8026 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8027 ... here.
8028 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
8029 Moved ...
8030 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
8031 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
8032 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
8033 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
8034 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
8035 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
8036 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
8037 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
8038 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
8039 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
8040 Moved ...
8041 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
8042 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8043 Moved ...
8044 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
8045 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8046 Moved ...
8047 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
8048 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
8049 Moved ...
8050 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
8051 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
8052 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
8053 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
8054 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
8055 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8056 Moved ...
8057 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
8058 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
8059 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
8060 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
8061 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
8062 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
8063 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
8064 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8065 Moved ...
8066 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
8067 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8068 Moved ...
8069 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8070 ... here.
8071 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
8072 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
8073 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
8074 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
8075 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8076 Moved ...
8077 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8078 ... here.
8079 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
8080 Moved ...
8081 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
8082 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
8083 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
8084 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
8085 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
8086 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
8087 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
8088 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
8089 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
8090 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
8091 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8092
5085af05
RM
8093 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8094 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8095
708f0813
RM
8096 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8097 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8098
c96067bc
RM
8099 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8100 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8101 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8102 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8103 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8104 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8105 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8106 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8107 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8108 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8109 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8110 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8111 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8112 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8113 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8114 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8115 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8116 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8117 Moved ...
8118 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8119 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8120 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8121 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8122 Moved ...
8123 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8124 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8125 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8126 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8127 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8128 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8129 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8130 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8131 Moved ...
8132 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8133 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8134 Moved ...
8135 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8136 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8137 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8138 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8139 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8140 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8141 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8142 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8143 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8144 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8145 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8146 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8147 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8148 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8149 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8150 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8151 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8152
ec136444
RM
8153 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8154 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8155 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8156 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8157 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8158
2fbdf533
RM
8159 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8160 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8161 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8162 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8163 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8164 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8165 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8166 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8167 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8168 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8169
4c68138b
RM
8170 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8171 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8172
4eaae765
RM
8173 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8174 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
8175 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8176 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8177 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8178 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8179 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8180 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8181 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8182 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8183 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8184 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8185 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8186 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8187 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8188 Update #include.
8189 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8190 Likewise.
8191 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8192 Likewise.
8193 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8194 Likewise.
8195 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8196 Likewise.
8197 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8198 Likewise.
8199 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8200 Likewise.
8201 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8202 Likewise.
8203 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8204 Likewise.
8205 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8206 Likewise.
4ef6befa
RM
8207 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8208 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8209 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8210 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8211 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
8212 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8213 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8214 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8215 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8216 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8217 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8218 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8219 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8220 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
8221 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 8222
941d7dfd
RM
8223 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8224 that was previously under [RESET_PID].
8225 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8226 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8227 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8228
1b731c35
RM
8229 * sysdeps/i386/nptl/Implies: New file.
8230 * sysdeps/x86_64/nptl/Implies: New file.
8231 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8232 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8233 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8234 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8235
e2787137
RM
8236 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8237 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8238 (__libc_vfork): New strong alias.
8239 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8240 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8241
8242 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8243 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8244 (__libc_vfork): New strong alias.
8245 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8246 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8247
5675da1e
RM
8248 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8249 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8250 (__libc_vfork): New strong alias.
8251 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8252 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8253 * nptl/pt-vfork.c: New file.
8254 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8255 (libpthread: GLIBC_2.20): New version set (empty).
8256
4f02e2b8
WN
82572014-05-14 Will Newton <will.newton@linaro.org>
8258
8259 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8260 rather than #if.
8261
0bf061d3
JM
82622014-05-14 Joseph Myers <joseph@codesourcery.com>
8263
1a84c3d6
JM
8264 [BZ #16564]
8265 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8266 arguments with exponent 65 or above.
8267 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8268 arguments 0x1p113L or above.
8269 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8270 to arguments 0x1p107L or above.
8271 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8272 positive arguments with exponent 65 or above.
8273 * math/auto-libm-test-in: Add more tests of log1p.
8274 * math/auto-libm-test-out: Regenerated.
8275
01dbacd2
JM
8276 [BZ #16928]
8277 * math/s_cacos.c (__cacos): Ensure zero real part of result from
8278 non-finite arguments is +0.
8279 * math/s_cacosf.c (__cacosf): Likewise.
8280 * math/s_cacosl.c (__cacosl): Likewise.
8281 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8282 * sysdeps/i386/fpu/libm-test-ulps: Update.
8283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8284
913d03c8
JM
8285 [BZ #16927]
8286 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8287 value.
8288 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8289 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8290 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8291 for explicit high bit of mantissa when testing for argument equal
8292 to 1.
8293 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8294 * sysdeps/i386/fpu/libm-test-ulps: Update.
8295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8296
0bf061d3
JM
8297 [BZ #16516]
8298 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8299 (__erf): Scale by 16 instead of 8 in potentially underflowing
8300 case. Ensure exception if result actually underflows.
8301 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8302 (__erff): Scale by 16 instead of 8 in potentially underflowing
8303 case. Ensure exception if result actually underflows.
8304 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8305 (efx8): Remove variable.
8306 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8307 case. Ensure exception if result actually underflows.
8308 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8309 (efx8): Remove variable.
8310 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8311 case. Ensure exception if result actually underflows.
8312 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8313 (efx8): Remove variable.
8314 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8315 case. Ensure exception if result actually underflows.
8316 * math/auto-libm-test-in: Add more tests of erf.
8317 * math/auto-libm-test-out: Regenerated.
8318
73ba67cb
AS
83192014-05-14 Andreas Schwab <schwab@suse.de>
8320
3d8c8bff
AS
8321 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8322 Remove code conditionalized on USE___THREAD.
8323
73ba67cb
AS
8324 * config.h.in (HAVE_PT_CHOWN): Define as 0.
8325 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8326 not definedness.
8327
5c521ecd
JM
83282014-05-14 Joseph Myers <joseph@codesourcery.com>
8329
5e7698c6
JM
8330 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8331 Define unconditionally.
8332 (__ASSUME_O_CLOEXEC): Likewise.
8333 (__ASSUME_SOCK_CLOEXEC): Likewise.
8334 (__ASSUME_IN_NONBLOCK): Likewise.
8335 (__ASSUME_PIPE2): Likewise.
8336 (__ASSUME_EVENTFD2): Likewise.
8337 (__ASSUME_SIGNALFD4): Likewise.
8338 (__ASSUME_DUP3): Likewise.
8339 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8340 (__ASSUME_DUP3): Do not define.
8341 (__ASSUME_EVENTFD2): Likewise.
8342 (__ASSUME_IN_NONBLOCK): Likewise.
8343 (__ASSUME_O_CLOEXEC): Likewise.
8344 (__ASSUME_PIPE2): Likewise.
8345 (__ASSUME_SIGNALFD4): Likewise.
8346 (__ASSUME_SOCK_CLOEXEC): Likewise.
8347 (__ASSUME_UTIMES): Undefine.
8348 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8349 (__ASSUME_UTIMES): Do not define.
8350 (__ASSUME_O_CLOEXEC): Likewise.
8351 (__ASSUME_SOCK_CLOEXEC): Likewise.
8352 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8353 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8354 0x020621].
8355 (__ASSUME_PIPE2): Likewise.
8356 (__ASSUME_EVENTFD2): Likewise.
8357 (__ASSUME_SIGNALFD4): Likewise.
8358 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8359 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8360 Do not define.
8361 (__ASSUME_EVENTFD2): Likewise.
8362 (__ASSUME_SIGNALFD4): Likewise.
8363 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8364 (__ASSUME_32BITUIDS): Likewise.
8365 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8366 (__ASSUME_IPC64): Likewise.
8367 (__ASSUME_ST_INO_64_BIT): Likewise.
8368 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8369 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8370 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8371 (__ASSUME_UTIMES): Do not define.
8372 (__ASSUME_PSELECT): Likewise.
8373 (__ASSUME_PPOLL): Likewise.
8374 (__ASSUME_O_CLOEXEC): Likewise.
8375 (__ASSUME_SOCK_CLOEXEC): Likewise.
8376 (__ASSUME_IN_NONBLOCK): Likewise.
8377 (__ASSUME_PIPE2): Likewise.
8378 (__ASSUME_EVENTFD2): Likewise.
8379 (__ASSUME_SIGNALFD4): Likewise.
8380 (__ASSUME_DUP3): Likewise.
8381 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8382 (__ASSUME_UTIMES): Likewise.
8383 (__ASSUME_O_CLOEXEC): Likewise.
8384 (__ASSUME_SOCK_CLOEXEC): Likewise.
8385 (__ASSUME_IN_NONBLOCK): Likewise.
8386 (__ASSUME_PIPE2): Likewise.
8387 (__ASSUME_EVENTFD2): Likewise.
8388 (__ASSUME_SIGNALFD4): Likewise.
8389 (__ASSUME_DUP3): Likewise.
8390 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8391 (__ASSUME_UTIMES): Likewise.
8392 (__ASSUME_O_CLOEXEC): Likewise.
8393 (__ASSUME_SOCK_CLOEXEC): Likewise.
8394 (__ASSUME_IN_NONBLOCK): Likewise.
8395 (__ASSUME_PIPE2): Likewise.
8396 (__ASSUME_EVENTFD2): Likewise.
8397 (__ASSUME_SIGNALFD4): Likewise.
8398 (__ASSUME_DUP3): Likewise.
8399 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8400 Likewise.
8401 (__ASSUME_UTIMES): Likewise.
8402 (__ASSUME_EVENTFD2): Likewise.
8403 (__ASSUME_SIGNALFD4): Likewise.
8404 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8405 (__ASSUME_O_CLOEXEC): Likewise.
8406 (__ASSUME_SOCK_CLOEXEC): Likewise.
8407 (__ASSUME_IN_NONBLOCK): Likewise.
8408 (__ASSUME_PIPE2): Likewise.
8409 (__ASSUME_EVENTFD2): Likewise.
8410 (__ASSUME_SIGNALFD4): Likewise.
8411 (__ASSUME_DUP3): Likewise.
8412 (__ASSUME_UTIMES): Undefine.
8413
5c521ecd
JM
8414 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8415 feclearexcept. Remove symbol versioning code.
8416 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8417 symbol versioning code.
8418 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8419 symbol versioning code.
8420 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8421 feupdateenv. Remove symbol versioning code.
8422 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8423 fegetexceptflag. Remove symbol versioning code.
8424 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8425 fesetexceptflag. Remove symbol versioning code.
8426 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8427 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8428 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8429 (__posix_fadvise64_l32): Remove prototype.
8430 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8431 code.
8432
5da9dfad
RM
84332014-05-13 Roland McGrath <roland@hack.frob.com>
8434
8435 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8436 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8437 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8438 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8439
893b4f37
SK
84402014-05-13 Sami Kerola <kerolasa@iki.fi>
8441
8442 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8443 current working directory
8444
e0db6517
RM
84452014-05-13 Roland McGrath <roland@hack.frob.com>
8446
58aa195d
RM
8447 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8448 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8449 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8450 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8451 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8452 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8453 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8454 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8455 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8456 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8457 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8458 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8459 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8460 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8461 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8462 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8463 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8464 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8465 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8466 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8467 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8468 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8469 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8470 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8471 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8472 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8473 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8474 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8475 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8476 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8477 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8478 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8479 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8480 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8481 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8482 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8483 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8484 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8485 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8486 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8487 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8488 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8489
8c6d01f0
RM
8490 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8491 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8492
8493 * sysdeps/unix/sysv/linux/arm/Makefile
8494 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8495 Add rt-aeabi_unwind_cpp_pr1.
8496 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8497 Add nptl-aeabi_unwind_cpp_pr1.
8498 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8499 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8500 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8501 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8502 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8503 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8504
8505 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8506 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8507 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8508 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8509
bba6da4e
RM
8510 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8511 Deconditionalize the code that was previously under [RESET_PID].
8512 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8513
e0db6517
RM
8514 * sysdeps/generic/exit-thread.h: New file.
8515 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8516 * include/unistd.h (__exit_thread): Remove declaration.
8517 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8518 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8519 * csu/libc-start.c: Include <exit-thread.h>.
8520 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8521 * nptl/pthread_create.c: Include <exit-thread.h>.
8522 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8523 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8524 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8525 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8526 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8527 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8528 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8529 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8530 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8531 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8532 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8533 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8534 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8535 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8536 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8537 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8538 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8539
01eb16fd
AS
85402014-05-13 Andreas Schwab <schwab@suse.de>
8541
8542 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8543
637461d9
JM
85442014-05-12 Joseph Myers <joseph@codesourcery.com>
8545
8546 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8547 (__ASSUME_UTIMES): Do not condition on kernel version.
8548 (__ASSUME_PSELECT): Define unconditionally.
8549 (__ASSUME_PPOLL): Likewise.
8550 (__ASSUME_ATFCTS): Likewise.
8551 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8552 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8553 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8554 (__ASSUME_UTIMENSAT): Define unconditionally.
8555 (__ASSUME_PRIVATE_FUTEX): Likewise.
8556 (__ASSUME_FALLOCATE): Likewise.
8557 (__ASSUME_O_CLOEXEC): Likewise.
8558 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8559 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8560 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8561 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8562 (__ASSUME_IN_NONBLOCK): Likewise.
8563 (__ASSUME_PIPE2): Likewise.
8564 (__ASSUME_EVENTFD2): Likewise.
8565 (__ASSUME_SIGNALFD4): Likewise.
8566 (__ASSUME_DUP3): Likewise.
8567 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8568 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8569 (__ASSUME_AT_RANDOM): Likewise.
8570 (__ASSUME_PREADV): Likewise.
8571 (__ASSUME_PWRITEV): Likewise.
8572 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8573 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8574 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8575 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8576 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8577 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8578 (__ASSUME_O_CLOEXEC): Define unconditionally.
8579 (__ASSUME_PSELECT): Do not undefine conditionally.
8580 (__ASSUME_PPOLL): Likewise.
8581 (__ASSUME_ATFCTS): Likewise.
8582 (__ASSUME_SET_ROBUST_LIST): Likewise.
8583 (__ASSUME_UTIMENSAT): Likewise.
8584 (__ASSUME_FDATASYNC): Define unconditionally.
8585 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8586 (__ASSUME_SIGFRAME_V2): Likewise.
8587 )__ASSUME_EVENTFD2): Likewise.
8588 (__ASSUME_SIGNALFD4): Likewise.
8589 (__ASSUME_PSELECT): Do not undefine conditionally.
8590 (__ASSUME_PPOLL): Likewise.
8591 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8592 (__ASSUME_PSELECT): Define unconditionally.
8593 (__ASSUME_PPOLL): Likewise.
8594 (__ASSUME_O_CLOEXEC): Likewise.
8595 (__ASSUME_SOCK_CLOEXEC): Likewise.
8596 (__ASSUME_IN_NONBLOCK): Likewise.
8597 (__ASSUME_PIPE2): Likewise.
8598 (__ASSUME_EVENTFD2): Likewise.
8599 (__ASSUME_SIGNALFD4): Likewise.
8600 (__ASSUME_DUP3): Likewise.
8601 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8602 (__ASSUME_O_CLOEXEC): Likewise.
8603 (__ASSUME_SOCK_CLOEXEC): Likewise.
8604 (__ASSUME_IN_NONBLOCK): Likewise.
8605 (__ASSUME_PIPE2): Likewise.
8606 (__ASSUME_EVENTFD2): Likewise.
8607 (__ASSUME_SIGNALFD4): Likewise.
8608 (__ASSUME_DUP3): Likewise.
8609 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8610 (__ASSUME_EVENTFD2): Likewise.
8611 (__ASSUME_SIGNALFD4): Likewise.
8612 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8613
315eb1d8
AS
86142014-05-12 Andreas Schwab <schwab@suse.de>
8615
8616 [BZ #16932]
8617 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8618 (_nss_nis_gethostbyname4_r): Return error if item length is larger
8619 than maximum RPC packet size.
8620 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8621 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8622 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8623 (_nss_nis_getservbyport_r): Likewise.
8624
91df99f7
WN
86252014-05-12 Will Newton <will.newton@linaro.org>
8626
8627 * malloc/Makefile (tests): Add tst-mallopt.
8628 * malloc/tst-mallopt.c: New file.
8629
0a982a29
RM
86302014-05-09 Roland McGrath <roland@hack.frob.com>
8631
8632 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8633 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8634
0ded08a5
AZ
86352014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8636
8637 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8638 (tst-tlsmod6.so): Likewise.
8639
55d4d550
RM
86402014-05-09 Roland McGrath <roland@hack.frob.com>
8641
8642 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8643
77d08aca
JM
86442014-05-09 Joseph Myers <joseph@codesourcery.com>
8645
8646 [BZ #16064]
8647 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8648 and <dl-procinfo.h>.
8649 (__fegetenv): Save SSE state in envp->__eip if supported.
8650 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8651 envp->__eip if supported.
8652 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8653 and <dl-procinfo.h>.
8654 (__fesetenv): Always set __eip, __cs_selector, __opcode,
8655 __data_offset and __data_selector in environment to 0. Set SSE
8656 state if supported.
8657 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8658 test-fenv-sse.
8659 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8660 -mfpmath=sse.
8661 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8662
28162f4d
WN
86632014-05-09 Will Newton <will.newton@linaro.org>
8664
8665 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8666 and libc_relro_required for ARM.
8667 * sysdeps/arm/preconfigure: Regenerate.
8668
5a414ff7
DV
86692014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
8670 Stefan Liebler <stli@linux.vnet.ibm.com>
8671
8672 * config.make.in (enable-lock-elision): New Makefile variable.
8673 * configure.ac: Likewise.
8674 * configure: Regenerate.
8675 * sysdeps/s390/configure.ac:
8676 Add check for gcc transactions support.
8677 * sysdeps/s390/configure: Regenerate.
8678 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8679 Build elision files if enabled.
8680 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8681 Add lock elision support for s390.
8682 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8683 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8684 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8685 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8686 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8687 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8688 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8689 Likewise.
8690 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8691 Likewise.
8692 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8693 Likewise.
8694 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8695 Likewise.
8696 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8697 (__lll_timedlock_elision, __lll_lock_elision)
8698 (__lll_unlock_elision, __lll_trylock_elision)
8699 (lll_timedlock_elision, lll_lock_elision)
8700 (lll_unlock_elision, lll_trylock_elision): Add.
8701 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8702 (pthread_mutex_t): Add lock elision support for s390.
8703
1a2f40e5
W
87042014-05-14 Wilco <wdijkstr@arm.com>
8705
8706 * sysdeps/arm/fclrexcpt.c: Cleanup.
8707 * sysdeps/arm/fedisblxcpt.c: Cleanup.
8708 * sysdeps/arm/feenablxcpt.c: Cleanup.
8709 * sysdeps/arm/fegetenv.c: Cleanup.
8710 * sysdeps/arm/fegetexcept.c: Cleanup.
8711 * sysdeps/arm/fegetround.c: Cleanup.
8712 * sysdeps/arm/feholdexcpt.c: Cleanup.
8713 * sysdeps/arm/fesetenv.c: Cleanup.
8714 * sysdeps/arm/fesetround.c: Cleanup.
8715 * sysdeps/arm/feupdateenv.c: Cleanup.
8716 * sysdeps/arm/fgetexcptflg.c: Cleanup.
8717 * sysdeps/arm/fraiseexcpt.c: Cleanup.
8718 * sysdeps/arm/fsetexcptflg.c: Cleanup.
8719 * sysdeps/arm/ftestexcept.c: Cleanup.
8720 * sysdeps/arm/get-rounding-mode.h: Cleanup.
8721 * sysdeps/arm/setfpucw.c: Cleanup.
8722
f63c86fe
WN
87232014-05-09 Will Newton <will.newton@linaro.org>
8724
8725 * sysdeps/arm/armv7/strcmp.S: New file.
8726 * NEWS: Mention addition of ARMv7 optimized strcmp.
8727
7a1a51b5
RM
87282014-05-08 Roland McGrath <roland@hack.frob.com>
8729
95afbbe5
RM
8730 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8731 look for %.ac rather than %.in.
8732
8733 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8734 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8735 * sysdeps/mach/hurd/configure: Regenerated.
8736 * sysdeps/unix/sysv/linux/configure: Regenerated.
8737
7a1a51b5
RM
8738 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8739
5057ad3b
SE
87402014-05-07 Steve Ellcey <sellcey@mips.com>
8741
8742 [BZ# 16922]
8743 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8744 (LONG_SUB): Ditto.
8745 (PTR_SUB): Ditto.
8746
8dc97517
AS
87472014-05-07 Andreas Schwab <schwab@suse.de>
8748
8749 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8750 when skipping over non-matching result from nscd.
8751
ce0c5b8f
OB
87522014-05-07 Ondřej Bílka <neleai@seznam.cz>
8753
8754 [BZ #16876]
8755 * nptl/sockperf.c (client): Check socket return value.
8dc97517 8756
a1189263
OB
8757 [BZ #16877]
8758 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8759 nscd security class.
ce0c5b8f 8760
0f58d252
RM
87612014-05-06 Roland McGrath <roland@hack.frob.com>
8762
8763 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8764 * sysdeps/arm/unwind.h: ... here.
8765
83df9ad0
AJ
87662014-05-06 Aurelien Jarno <aurelien@aurel32.net>
8767
ce0c5b8f
OB
8768 [BZ# 16916]
8769 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8770 Define.
83df9ad0 8771
f360f94a
VR
87722014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8773
8774 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8775 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8776 multiarch strncpy for PPC64.
8777 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8778 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8779 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8780 multiarch optimizations.
8781 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8782 (__libc_ifunc_impl_list): Likewise.
8783 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8784 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8785 multiarch stpncpy for PPC64.
8786 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8787 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8788
978a41c3
AS
87892014-05-06 Andreas Schwab <schwab@suse.de>
8790
8791 [BZ #16912]
8792 * gmon/mcount.c (_MCOUNT_DECL): Use
8793 atomic_compare_and_exchange_bool_acq instead of
8794 catomic_compare_and_exchange_bool_acq.
8795
eb1ed03d
RM
87962014-05-05 Roland McGrath <roland@hack.frob.com>
8797
fe658845
RM
8798 * elf/Makefile (others, install-bin): Remove pldd.
8799 (pldd-modules): Variable removed.
8800 ($(objpfx)pldd): Target removed.
8801 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8802 (others, install-bin): Append pldd here.
8803 ($(objpfx)pldd): New target.
8804
eb1ed03d
RM
8805 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8806 to 0, so the first #if test emitted later doesn't see it undefined.
8807 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8808 * sysdeps/gnu/errlist.c: Regenerated.
8809
19c4bec0
AZ
88102014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8811
8812 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8813 [libc_hidden_builtin_def]: Define to empty value.
8814 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8815 [libc_hidden_builtin_def]: Likewise.
8816 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8817 [libc_hidden_builtin_def]: Likewise.
8818 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8819 [libc_hidden_builtin_def]: Likewise.
8820 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8821 __redirect_memcpy and define ifunc as default hidden symbol.
8822 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8823 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8824
7776e669
AC
88252014-05-04 Adam Conrad <adconrad@0c3.net>
8826
8827 * locale/iso-4217.def: Reintroduce XDR currency.
8828
d69aeb12
AM
88292014-05-04 Allan McRae <allan@archlinux.org>
8830
8831 * po/eo.po: Update Esperanto translation from translation project.
8832
8f1df5cf
CD
88332014-05-02 Carlos O'Donell <carlos@redhat.com>
8834
8835 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8836 and FEATURE_INDEX_MAX to 1.
8837 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8838
13e402e7
SE
88392014-05-01 Steve Ellcey <sellcey@mips.com>
8840
8841 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8842 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8843 * iconvdata/big5.c (ONE_DIRECTION): Define.
8844 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8845 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8846 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8847 * iconvdata/cp932.c (ONE_DIRECTION): Define.
8848 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8849 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8850 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8851 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8852 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8853 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8854 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8855 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8856 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8857 * iconvdata/gbk.c (ONE_DIRECTION): Define.
8858 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8859 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8860 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8861 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8862 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8863 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8864 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8865 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8866 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8867 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8868 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8869 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8870 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8871 * iconvdata/iso646.c (ONE_DIRECTION): Define.
8872 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8873 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8874 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8875 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8876 * iconvdata/johab.c (ONE_DIRECTION): Define.
8877 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8878 * iconvdata/sjis.c (ONE_DIRECTION): Define.
8879 * iconvdata/t.61.c (ONE_DIRECTION): Define.
8880 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8881 * iconvdata/tscii.c (ONE_DIRECTION): Define.
8882 * iconvdata/uhc.c (ONE_DIRECTION): Define.
8883 * iconvdata/unicode.c (ONE_DIRECTION): Define.
8884 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8885 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8886 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8887
c727f032
RM
88882014-05-01 Roland McGrath <roland@hack.frob.com>
8889
8f2f08d0
RM
8890 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8891 (_IO_JUMPS_OFFSET): Define to 0.
8892
c727f032
RM
8893 * nptl/sysdeps/pthread/bits/libc-lock.h
8894 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8895 (__libc_lock_define_initialized_recursive): Always define using
8896 initializer. Modern compilers treat uninitialized (implicit zero) and
8897 explicit zero initializers the same (i.e. put the datum in bss).
8898
a849e800
AS
88992014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8900
8901 * nscd/nscd-client.h: Include <string.h>.
8902
5331255b
DM
89032014-05-01 David S. Miller <davem@davemloft.net>
8904
8905 [BZ #16885]
8906 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8907 multiple zero bytes exist at the end of a string.
8908 Reported by Aurelien Jarno <aurelien@aurel32.net>
8909
8910 * string/test-strcmp.c (check): Add explicit test for situations where
8911 there are multiple zero bytes after the first.
8912
4fdfe821
AS
89132014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8914
8915 [BZ #16890]
8916 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8917 when compiling wprintf.
8918 * stdio-common/tstdiomisc.c (t3): New function.
8919 (main): Call it.
8920
0cdddc25
SE
89212014-05-01 Steve Ellcey <sellcey@mips.com>
8922
8923 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8924 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8925 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8926 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8927
6426d77e
SE
89282014-05-01 Steve Ellcey <sellcey@mips.com>
8929
8930 * stdlib/longlong.h: Updated from GCC.
8931
6d96f5e4
WN
89322014-05-01 Will Newton <will.newton@linaro.org>
8933 Bernard Ogden <bernie.ogden@linaro.org>
8934
7470db0c
WN
8935 * NEWS: Update fixed bug list.
8936
6d96f5e4
WN
8937 [BZ #15119]
8938 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8939
211d653c
DM
89402014-04-30 David S. Miller <davem@davemloft.net>
8941
4fa262fa
DM
8942 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8943 (libc_feholdexcept_setround_sparc_ctx): New function.
8944 (libc_fesetenv_sparc_ctx): Likewise.
8945 (libc_feupdateenv_sparc_ctx): Likewise.
8946 (libc_feholdsetround_sparc_ctx): Likewise.
8947 (libc_feholdexcept_setround_ctx): Define.
8948 (libc_feholdexcept_setroundf_ctx): Likewise.
8949 (libc_feholdexcept_setroundl_ctx): Likewise.
8950 (libc_fesetenv_ctx): Likewise.
8951 (libc_fesetenvf_ctx): Likewise.
8952 (libc_fesetenvl_ctx): Likewise.
8953 (libc_feupdateenv_ctx): Likewise.
8954 (libc_feupdateenvf_ctx): Likewise.
8955 (libc_feupdateenvl_ctx): Likewise.
8956 (libc_feresetround_ctx): Likewise.
8957 (libc_feresetroundf_ctx): Likewise.
8958 (libc_feresetroundl_ctx): Likewise.
8959 (libc_feholdsetround_ctx): Likewise.
8960 (libc_feholdsetroundf_ctx): Likewise.
8961 (libc_feholdsetroundl_ctx): Likewise.
8962
1d3d93ef
DM
8963 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8964 with __USE_GNU instead of XOPEN cpp guards.
8965
8aa583c3
DM
8966 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8967 0.
8968
211d653c
DM
8969 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8970 with XOPEN cpp guards.
8971
60c8f1f6
JB
89722014-04-30 Julian Brown <julian@codesourcery.com>
8973
8974 [BZ #16888]
8975 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8976 handling.
8977
9a461d46
JM
89782014-04-30 Joseph Myers <joseph@codesourcery.com>
8979
d0f5b3f8
JM
8980 [BZ #9894]
8981 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8982 Change to 2.6.32.
8983 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8984 * sysdeps/unix/sysv/linux/configure: Regenerated.
8985 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8986 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8987 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8988 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8989 * README: Update reference to required Linux kernel version.
8990 * manual/install.texi (Linux): Update reference to required Linux
8991 kernel headers version.
8992 * INSTALL: Regenerated.
8993
9a461d46
JM
8994 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8995 header inclusion.
8996 [POSIX] (limits.h): Likewise.
8997 [POSIX] (math.h): Likewise.
8998 [POSIX] (sys/wait.h): Likewise.
8999 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
9000 function.
9001 [POSIX] (stddef.h): Do not allow header inclusion.
9002
1775babf
AZ
90032014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9004
57f41c40 9005 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 9006
8f630cca
YY
90072014-04-30 Yang Yingliang <yangyingliang@huawei.com>
9008
9009 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9010 Return immediately after lll_futex_wake.
9011
1cdeb237
SP
90122014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9013
bc8f194c
SP
9014 [BZ #16791]
9015 * nscd/nscd-client.h (datahead_init_common): Initialize entire
9016 structure.
9017 (datahead_init_pos): Call datahead_init_common early.
9018 (datahead_init_neg): Likewise.
9019
1cdeb237
SP
9020 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
9021 datahead_init_neg): New functions.
9022 * nscd/aicache.c (addhstaiX): Use them.
9023 * nscd/grpcache.c (cache_addgr): Likewise.
9024 * nscd/hstcache.c (cache_addhst): Likewise.
9025 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9026 * nscd/netgroupcache.c (do_notfound): Likewise.
9027 (addgetnetgrentX): Likewise.
9028 (addinnetgrX): Likewise.
9029 * nscd/pwdcache.c (cache_addpw): Likewise.
9030 * nscd/servicescache.c (cache_addserv): Likewise.
9031
16b293a7
SP
90322014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9033 Atsushi Onoe <atsushi@onoe.org>
9034
9035 [BZ #14308]
9036 [BZ #12994]
9037 [BZ #13651]
9038 * resolv/res_query.c (__libc_res_nsearch): Return if at least
9039 one response is valid.
9040 * resolv/res_send.c (send_dg): Check for validity of other
9041 response if the current response is a referral.
9042
a28a9b94
SE
90432014-04-29 Steve Ellcey <sellcey@mips.com>
9044
9045 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
9046
2ca180e9
SL
90472014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
9048
9049 [BZ #16823]
9050 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
9051 Always divide by positive zero when computing -Inf result.
9052 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9053 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9054
18f2945a
AZ
90552014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9056
9057 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
9058 FPSCR if value do not change.
9059 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9060 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
9061 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9062 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9063 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
9064 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
9065 function.
9066
5abebba4
CD
90672014-05-29 Carlos O'Donell <carlos@systemhalted.org>
9068
9069 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
9070 * sysdeps/unix/sysv/linux/hppa: Move directory from
9071 ports/systeps/unix/sysv/linux/hppa.
9072 * README: Update listing for hppa-*-linux-gnu.
9073
f7ed60c2
OB
90742014-04-28 Ondřej Bílka <neleai@seznam.cz>
9075
fff763a5
OB
9076 [BZ #16754]
9077 * manual/stdio.texi (Hook functions): Fix types of stream hook
9078 functions.
f7ed60c2
OB
9079 [BZ #16854]
9080 * socket/sys/socket.h: Fix typo in comment.
9081
df639d73
WD
90822014-04-28 Wilco <wdijkstr@arm.com>
9083
f7ed60c2 9084 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
9085 * sysdeps/arm/math_private.h: New file.
9086 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
9087
48332d82
L
90882014-04-25 H.J. Lu <hongjiu.lu@intel.com>
9089
9090 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
9091 with __int128_t.
9092 (La_x86_64_retval): Likewise.
9093
e5e0d9a4
IB
90942014-04-24 Ian Bolton <ian.bolton@arm.com>
9095
9096 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9097 fpsr if value didn't change.
9098 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9099 to fpcr if value didn't change.
9100 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9101 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9102 fpsr or fpcr if value didn't change.
9103 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9104 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9105 fpcr if value didn't change.
9106 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9107 to fpsr if value didn't change.
9108
bacc75f7
SP
91092014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9110
9111 * nptl/tst-sem3.c: Use test-skeleton.c
9112 (main): Rename to do_test. Use return instead of
9113 exit.
9114 * nptl/tst-sem4.c: Use test-skeleton.c
9115 (main): Rename to do_test.
9116
a059d359
DM
91172014-04-22 David S. Miller <davem@davemloft.net>
9118
9119 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9120 (struct sigaction): New struct member __glibc_reserved0, change
9121 type of sa_flags to int.
9122
ea6c92f3
YZ
91232014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
9124
9125 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9126 (COUNT_LEADING_ZEROS_0): Define for AArch64.
9127
766c4a36
SP
91282014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9129
9130 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9131 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9132
140cc7ab
VK
91332014-04-22 Will Newton <will.newton@linaro.org>
9134 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
9135
9136 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9137 (__longjmp): Add longjmp and longjmp_target SystemTap
9138 probes.
9139 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9140 (__sigsetjmp): Add setjmp SystemTap probe.
9141
c54e5cf7
CD
91422014-04-17 Carlos O'Donell <carlos@redhat.com>
9143
9144 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9145 match manual order.
9146
75ffb047
AZ
91472014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9148
9149 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9150
2cd925f7
AZ
9151 * sysdeps/powerpc/fpu/fenv_private.h
9152 (libc_feholdexcept_setroundl_ctx): Define to
9153 libc_feholdexcept_setround_ppc_ctx.
9154 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9155 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9156 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9157 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9158
39e6cd8d
IB
91592014-04-17 Ian Bolton <ian.bolton@arm.com>
9160
9161 * sysdeps/aarch64/math-tests.h: New file.
9162
f9281df9
SY
91632014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
9164
9165 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9166 New.
9167 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9168 Check and set bit_AVX2_Usable.
9169 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9170 macro.
9171 (bit_AVX2): Likewise.
9172 (index_AVX2_Usable): Likewise.
9173 (CPUID_AVX2): Likewise.
9174 (HAS_AVX2): Likewise.
9175
37d35007
WN
91762014-04-17 Will Newton <will.newton@linaro.org>
9177
7c677662
WN
9178 * manual/setjmp.texi (System V contexts): Add note that
9179 calling setcontext on a context created by a call to a
9180 signal handler is undefined. Update text to note that
9181 setcontext from a signal handler is possible but not
9182 recommended.
9183
37d35007 9184 [BZ #16629]
e04a4e9d
WN
9185 * stdlib/tst-setcontext.c: Include signal.h.
9186 (main): Check that the signal stack before and
9187 after swapcontext is the same.
9188
37d35007
WN
9189 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9190 Re-implement to restore registers in user code and avoid
9191 rt_sigreturn system call.
9192
423a7160
W
91932014-04-17 Wilco <wdijkstr@arm.com>
9194
9195 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9196 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9197 * math/test-fenv.c: Skip exception trap tests on targets which only
9198 support non-stop mode.
9199
bc93ab29
IB
92002014-04-17 Ian Bolton <ian.bolton@arm.com>
9201 Wilco Dijkstra <wilco.dijkstra@arm.com>
9202
9203 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9204 (libc_feholdsetround_aarch64_ctx)
9205 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9206 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9207 (libc_feresetround_ctx, libc_feresetroundf_ctx)
9208 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9209 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9210 (libc_feresetround_noexl_ctx): Define.
9211
95fc5fa3
RH
92122014-04-16 Richard Henderson <rth@redhat.com>
9213
ddb04724
RH
9214 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9215
d77c0899
RH
9216 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9217 unwind tables.
9218
a3df56fc
RH
9219 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9220 const from the non-libc, non-ldso copy.
9221
95fc5fa3
RH
9222 * sysdeps/alpha/libm-test-ulps: Regenerate.
9223
7e0b6763
IB
92242014-04-16 Ian Bolton <ian.bolton@arm.com>
9225 Wilco Dijkstra <wilco.dijkstra@arm.com>
9226
9227 * sysdeps/aarch64/fpu/math_private.h: New file.
9228
a9ea2e0c
MS
92292014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
9230
9231 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9232
ea8ba7cd
IZ
92332014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
9234
7e54fd04 9235 [BZ #16275]
ea8ba7cd
IZ
9236 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9237 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9238 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9239 Intel MPX bound registers before _dl_profile_fixup.
9240 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9241 registers after _dl_profile_fixup. Save and restore bound
9242 registers bnd0/bnd1 when calling _dl_call_pltexit.
9243 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9244 (LR_BND_OFFSET): Likewise.
9245 (LRV_BND0_OFFSET): Likewise.
9246 (LRV_BND1_OFFSET): Likewise.
9247
9f2a4fbc
ST
92482014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9249
9250 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9251 to...
9252 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
9253 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9254 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9255 fields.
9f2a4fbc 9256
fd15a59b
ST
92572014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9258
9259 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9260
f19dfa0a
SL
92612014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9262
9263 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9264
4fa8bc3b
SL
92652014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9266
9267 [BZ #14770]
9268 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9269 * sysdeps/s390/configure: Regenerate.
9270
8ea587db
SL
9271 [BZ #16824]
9272 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9273 Set round-to-nearest internally to reduce error accumulation.
9274
aa5f0ff1
AM
92752014-04-16 Alan Modra <amodra@gmail.com>
9276
9277 [BZ #16740]
9278 [BZ #16619]
9279 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9280 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 9281 * NEWS: Update fixed bug list.
aa5f0ff1 9282
bb9c256f
SP
92832014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9284
9285 * benchtests/Makefile: Depend on libraries in build directory.
9286 (bench-math): Separate out math tests.
9287 (bench-pthread): Separate out pthread tests.
9288 (bench): Include math and pthread tests.
9289
f737dfd0
CD
92902014-04-14 Carlos O'Donell <carlos@redhat.com>
9291
9292 [BZ #16831]
9293 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9294 _dl_debug_initialize.
9295
0699f766
CD
9296 * configure.ac: Remove SELinux header check.
9297 * configure: Regenerate.
9298 * nscd/selinux.c (perms): Array of const char* to permission names.
9299 (nscd_request_avc_has_perm): Call security_deny_unknown to find
9300 default policy. Call string_to_security_class and string_to_av_perm to
9301 translate strings. Enforce default policy and call avs_has_perm with
9302 results of translated strings.
9303
809bd45f
DM
93042014-04-13 David S. Miller <davem@davemloft.net>
9305
9306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9307
89e691f2
AM
93082014-04-12 Allan McRae <allan@archlinux.org>
9309
9310 [BZ #16838]
9311 * manual/string.texi (Collation Functions): Fix qsort argument
9312 order in example.
9313 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9314
9c9daaeb
CM
93152014-04-11 Chris Metcalf <cmetcalf@tilera.com>
9316
9317 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9318 Make the test a no-op if there are no exceptions defined.
9319
95561fb9
PP
93202014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9321
fe8d072c 9322 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
9323 enable-hardcoded-path-in-tests
9324
970c602a
WN
93252014-04-11 Will Newton <will.newton@linaro.org>
9326
9327 * benchtests/Makefile (extra-objs): Add json-lib.o.
9328 (bench-func): Tidy up JSON output.
9329 * benchtests/bench-skeleton.c: Include json-lib.h.
9330 (main): Use JSON library functions to do output of
9331 benchmark results.
9332 * benchtests/bench-timing-type.c (main): Output the
9333 timing type simply, leaving formatting to the user.
9334 * benchtests/json-lib.c: New file.
9335 * benchtests/json-lib.h: Likewise.
9336
36875b06
TR
93372014-04-11 Torvald Riegel <triegel@redhat.com>
9338
9339 [BZ #15215]
9340 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9341 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
9342 memory barriers. Add comments.
9343 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9344 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9345 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9346 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9347 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9348 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9349
579db35a
SL
93502014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9351
9352 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9353 * sysdeps/s390/s390-64/configure.ac: ... this ...
9354 * sysdeps/s390/configure.ac: ... to here.
9355 * sysdeps/s390/s390-32/configure: Delete file.
9356 * sysdeps/s390/s390-64/configure: Delete file.
9357 * sysdeps/s390/configure: Regenerate.
9358
c12e9f37
JAPH
93592014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
9360
9361 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9362
439bda32
WN
93632014-04-11 Will Newton <will.newton@linaro.org>
9364
9365 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9366 to zero if it is not defined elsewhere. (mtrim): Test
9367 the value of MALLOC_DEBUG with #if rather than #ifdef.
9368
6a5d6ea1
TR
93692014-04-10 Torvald Riegel <triegel@redhat.com>
9370
9371 * benchtests/pthread_once-inputs: New file.
9372 * benchtests/pthread_once-source.c: New file.
9373 * benchtests/README: Update documentation.
9374
a4c75cfd
IZ
93752014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
9376 H.J. Lu <hongjiu.lu@intel.com>
9377
7e54fd04 9378 [BZ #16275]
a4c75cfd
IZ
9379 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9380 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9381 * sysdeps/x86_64/configure: Regenerated.
9382 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9383 macro.
9384 (REGISTER_SAVE_RAX): Likewise.
9385 (REGISTER_SAVE_RCX): Likewise.
9386 (REGISTER_SAVE_RDX): Likewise.
9387 (REGISTER_SAVE_RSI): Likewise.
9388 (REGISTER_SAVE_RDI): Likewise.
9389 (REGISTER_SAVE_R8): Likewise.
9390 (REGISTER_SAVE_R9): Likewise.
9391 (REGISTER_SAVE_BND0): Likewise.
9392 (REGISTER_SAVE_BND1): Likewise.
9393 (REGISTER_SAVE_BND2): Likewise.
9394 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
9395 bound registers when calling _dl_fixup.
9396
27822ce6
AZ
93972014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9398
9399 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
9400 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9401 of its definition.
27822ce6
AZ
9402 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9403 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9404 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9405 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9406 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9407 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9408 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9409
a88ddc90
PTB
94102014-04-09 Peter Brett <peter@peter-b.co.uk>
9411
9412 [BZ #15514]
9413 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9414 pathconf(_PC_NAME_MAX).
9415
01f8eac2
AZ
94162014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9417
9418 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9419 Remove macro usage.
9420 (__PTHREAD_SPINS): Move definition to ...
9421 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9422 (__PTHREAD_SPINS): ... here.
9423 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9424 (__PTHREAD_SPIN): Likewise.
9425 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9426 (__PTHREAD_SPIN): Likewise.
9427 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9428 (__PTHREAD_SPIN): Likewise.
9429 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9430 (__PTHREAD_SPIN): Likewise.
9431 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9432 (__PTHREAD_SPIN): Likewise.
9433 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9434 (__PTHREAD_SPIN): Likewise.
9435 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9436 (__PTHREAD_SPIN): Likewise.
9437 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9438 (__PTHREAD_SPIN): Likewise.
9439 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9440 (__PTHREAD_SPIN): Likewise.
9441 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9442 (__PTHREAD_SPIN): Likewise.
9443 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9444 (__PTHREAD_SPIN): Likewise.
9445 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9446 (__PTHREAD_SPIN): Likewise.
9447
de21c33c
AZ
9448 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9449 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9450 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9451 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9452 imply folder.
9453 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9454 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9455 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9456 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9457 correct imply path.
9458 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9459 strlen symbol for non multi-arch builds.
9460 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9461 missing hidden_def and weak_alias.
9462
862c472e
CD
94632014-04-08 Carlos O'Donell <carlos@redhat.com>
9464
9465 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9466
8667f90e
WN
94672014-04-07 Will Newton <will.newton@linaro.org>
9468
9469 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9470 and contents. [!_LIBC] Remove #ifndef and contents.
9471 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9472 * string/memccpy.c (__memccpy): Use ANSI prototype.
9473 * string/memfrob.c (memfrob): Likewise.
9474 * string/strcoll.c (STRCOLL): Likewise.
9475 * string/strlen.c (strlen): Likewise.
9476 * string/strtok.c (STRTOK): Likewise.
9477 * string/strcat.c: Remove unused #include of memcopy.h.
9478 (strcat): Use ANSI prototype.
9479 * string/strchr.c: Remove unused #include of memcopy.h.
9480 (strchr): Use ANSI prototype.
9481 * string/strcmp.c: Remove unused #include of memcopy.h.
9482 (strcmp): Use ANSI prototype.
9483 * string/strcpy.c: Remove unused #include of memcopy.h.
9484 (strcpy): Use ANSI prototype.
9485
7ffa9423
AZ
94862014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9487
9488 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9489 * config.make.in (config-extra-cppflags): Set it from
9490 libc_extra_cppflags.
9491 * configure.ac (libc_extra_cflags): Make it accumulate over
9492 configure fragments.
9493 (libc_extra_cppflags): New flag.
9494 * configure. Regenerate.
9495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
9496 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9497 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
9498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9499
8bd70862
AZ
9500 [BZ #16815]
9501 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9502 result for FE_DOWNWARD rounding mode.
9503 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9504 Likewise.
9505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9506
d42f3448
CM
95072014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9508
9509 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9510 in function argument name.
9511
1c21d115
DS
95122014-04-03 David Svoboda <svoboda@cert.org>
9513
9514 [BZ #5666]
9515 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9516 explicitly.
9517
fcccd512
RM
95182014-04-03 Roland McGrath <roland@hack.frob.com>
9519
9520 * elf/dl-unmap-segments.h: New file.
9521 * sysdeps/generic/ldsodefs.h
9522 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9523 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9524 * elf/dl-fptr.c: Likewise.
9525 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9526 * sysdeps/aarch64/tlsdesc.c: Likewise.
9527 * sysdeps/arm/tlsdesc.c: Likewise.
9528 * sysdeps/i386/tlsdesc.c: Likewise.
9529 * sysdeps/tile/dl-runtime.c: Likewise.
9530 * sysdeps/x86_64/tlsdesc.c: Likewise.
9531 * elf/dl-load.h: New file.
9532 * elf/dl-load.c: Include it.
9533 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9534 Macros moved to dl-load.h.
9535 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9536 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9537 Use _dl_unmap_segments in place of __munmap.
9538 Break out segment-mapping loop into ...
9539 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9540
f6488e2b
WN
95412014-04-03 Will Newton <will.newton@linaro.org>
9542
9543 * elf/dl-lookup.c (do_lookup_x): Remove comment
9544 referring to nested function and move variable
9545 declarations down to before first use.
9546
6f05bafe
JM
95472014-04-02 Joseph Myers <joseph@codesourcery.com>
9548
a84e78c8
JM
9549 [BZ #16799]
9550 [BZ #16800]
9551 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9552 with 0 numerator.
9553 * math/s_catanf.c (__catanf): Likewise.
9554 * math/s_catanh.c (__catanh): Likewise.
9555 * math/s_catanhf.c (__catanhf): Likewise.
9556 * math/s_catanhl.c (__catanhl): Likewise.
9557 * math/s_catanl.c (__catanl): Likewise.
9558 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9559 by positive zero when computing -Inf result.
9560 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9561 (catanh_test): Likewise.
9562 * sysdeps/i386/fpu/libm-test-ulps: Update.
9563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9564
6f05bafe
JM
9565 [BZ #16789]
9566 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9567 instead of using underflowing value in computing result.
9568 * math/s_clog10.c (__clog10): Likewise.
9569 * math/s_clog10f.c (__clog10f): Likewise.
9570 * math/s_clog10l.c (__clog10l): Likewise.
9571 * math/s_clogf.c (__clogf): Likewise.
9572 * math/s_clogl.c (__clogl): Likewise.
9573 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9574 (clog10_test): Likewise.
9575 * sysdeps/i386/fpu/libm-test-ulps: Update.
9576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9577
b0abbc21
AM
95782014-04-02 Alan Modra <amodra@gmail.com>
9579
9580 [BZ #16739]
9581 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9582 output when value is near a power of two. Use int64_t for lx and
9583 remove casts. Use decimal rather than hex exponent constants.
9584 Don't use long double multiplication when double will suffice.
9585 * math/libm-test.inc (nextafter_test_data): Add tests.
9586 * NEWS: Add 16739 and 16786 to bug list.
9587
af6b1797
AM
9588 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9589
483818d7
AM
9590 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9591
f6c55796
WN
95922014-04-01 Will Newton <will.newton@linaro.org>
9593
9594 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9595 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
9596
13f7fe35
FW
95972014-04-01 Florian Weimer <fweimer@redhat.com>
9598
9599 [BZ #13347]
9600 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9601 * nptl/tst-setuid2.c: New file.
9602 * nptl/Makefile (xtests): Add tst-setuid2.
9603
c859b32e
AM
96042014-04-01 Alan Modra <amodra@gmail.com>
9605
9606 [BZ #16786]
9607 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9608
54fa2475
JM
96092014-03-31 Joseph Myers <joseph@codesourcery.com>
9610
8795b4a4
JM
9611 [BZ #6803]
9612 [BZ #6804]
9613 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9614 set errno as appropriate.
9615 * math/w_scalbf.c (__scalbf): Likewise.
9616 * math/w_scalbl.c (__scalbl): Likewise.
9617 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9618 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9619 * math/libm-test.inc (scalb_test_data): Add errno expectations.
9620 Add more NaN tests.
9621
54fa2475
JM
9622 [BZ #16349]
9623 * math/w_atan2.c: Include <errno.h>.
9624 (__atan2): Set errno for result underflowing to zero.
9625 * math/w_atan2f.c: Include <errno.h>.
9626 (__atan2f): Set errno for result underflowing to zero.
9627 * math/w_atan2l.c: Include <errno.h>.
9628 (__atan2l): Set errno for result underflowing to zero.
9629 * math/auto-libm-test-in: Don't allow missing errno for some atan2
9630 tests.
9631 * math/auto-libm-test-out: Regenerated.
9632
757d9dd5
AZ
96332014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9634
9635 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9636 Encode instruction correctly in little endian.
9637 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9638 Likewise.
9639 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9640 Likewise.
9641 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9642 Likewise.
9643 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9644 Likewise.
9645
d7a68734
JM
96462014-03-31 Joseph Myers <joseph@codesourcery.com>
9647
47c5adeb
JM
9648 [BZ #9894]
9649 * sysdeps/unix/sysv/linux/kernel-features.h
9650 [__sparc__ && !__arch64__ && !__sparc_v9__]
9651 (__ASSUME_SET_ROBUST_LIST): Do not define.
9652 [__sparc__ && !__arch64__ && !__sparc_v9__]
9653 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9654 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9655 Likewise.
9656 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9657 (__ASSUME_FUTEX_LOCK_PI): Undefine.
9658 (__ASSUME_REQUEUE_PI): Likewise.
9659 (__ASSUME_SET_ROBUST_LIST): Likewise.
9660 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9661 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9662 Undefine.
9663 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9664 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9665 Likewise.
9666 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9667 Likewise.
9668 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9669 Likewise.
9670 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9671 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9672 Undefine.
9673 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9674 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9675 Likewise.
9676
d7a68734
JM
9677 [BZ #16648]
9678 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9679 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9680 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9681
c760f5c2
WN
96822014-03-31 Will Newton <will.newton@linaro.org>
9683
9684 * benchtests/Makefile (bench): Add ffs and ffsll to list
9685 of tests.
9686 * benchtests/ffs-inputs: New file.
9687 * benchtests/ffsll-inputs: Likewise.
9688
ea6029b1
JM
96892014-03-29 Joseph Myers <joseph@codesourcery.com>
9690
9691 [BZ #16770]
9692 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9693 too large before casting to int.
9694 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9695 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9696 * math/libm-test.inc (scalb_test_data): Add more tests.
9697
cf806aff
SP
96982014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9699
56737508
SP
9700 * benchtests/Makefile (DETAILED_OPT): New make option.
9701 (bench-func): Run benchmark program with -d if DETAILED_OPT is
9702 set.
9703 * benchtests/bench-skeleton.c: Include stdbool.h.
9704 (main): Store and print timings per input.
9705 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9706 member to each argument value.
9707 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9708 (_print_arg_data): Initialize per-input timing to 0.
9709
cb5e4aad
SP
9710 * benchtests/Makefile (timing-type): New binary.
9711 (bench-clean): Also remove bench-timing-type.
9712 (bench): New target for timing-type.
9713 (bench-func): Print output in JSON format.
9714 * benchtests/bench-skeleton.c (main): Print output in JSON
9715 format.
9716 * benchtests/bench-timing-type.c: New file.
9717 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9718 (TIMING_PRINT_STATS): Remove.
9719 * benchtests/scripts/bench.py (_print_arg_data): Store variant
9720 name separately.
9721
cf806aff
SP
9722 * benchtests/bench-modf.c: Remove.
9723 * benchtests/modf-inputs: New inputs file.
9724
289e0779
JM
97252014-03-28 Joseph Myers <joseph@codesourcery.com>
9726
9727 [BZ #16362]
9728 * math/s_clog10.c (M_PI_LOG10E): New macro.
9729 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9730 imaginary parts are 0.
9731 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9732 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9733 imaginary parts are 0.
9734 * math/s_clog10l.c (M_PI_LOG10El): New macro.
9735 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9736 imaginary parts are 0.
9737 * math/libm-test.inc (clog10_test_data): Update expected results
9738 for when real and imaginary parts are 0.
9739
277ae3f1
PP
97402014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
9741
9742 * elf/dl-load.c: Finish conversion of __builtin_expect into
9743 __glibc_{un}likely.
9744
03a7091f
JM
97452014-03-27 Joseph Myers <joseph@codesourcery.com>
9746
9747 [BZ #16348]
9748 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9749 1+x for argument with exponent below -67.
9750 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9751 Likewise.
9752 * math/auto-libm-test-in: Add more tests of exp.
9753 * math/auto-libm-test-out: Regenerated.
9754
ea7d8b95
SP
97552014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9756
dd3022d7
SP
9757 [BZ #16759]
9758 * inet/getnetgrent_r.c (get_nonempty_val): New function.
9759 (nscd_getnetgrent): Use it.
9760
ea7d8b95
SP
9761 [BZ #16760]
9762 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9763 of stpcpy.
9764
df5b85da
AK
97652014-03-27 Andi Kleen <ak@linux.intel.com>
9766
57f41c40
AS
9767 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9768 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9769 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9770 (lll_robust_unlock): Remove out of line section. Use cfi
9771 intrinsics.
df5b85da 9772 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
9773 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9774 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9775 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9776 (lll_robust_unlock): Remove out of line section. Use cfi
9777 intrinsics.
df5b85da
AK
9778 (LLL_STUB_UNWIND_INFO*): Remove.
9779
fbd6b5a4
SP
97802014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9781
9782 [BZ #16758]
9783 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9784 blank values.
9785
1b26b855
PP
97862014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
9787
9788 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9789
9be36fb8
JM
97902014-03-26 Joseph Myers <joseph@codesourcery.com>
9791
9792 [BZ #16198]
9793 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9794 fnstenv.
9795 * math/test-fenv-preserve.c: New file.
9796 * math/Makefile (tests): Add test-fenv-preserve.
9797
60a2f3c1
WN
97982014-03-26 Will Newton <will.newton@linaro.org>
9799
9800 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9801
a5e5f1e2
RM
98022014-03-25 Roland McGrath <roland@hack.frob.com>
9803
9804 * scripts/versionlist.awk: Partition the version sets and emit all
9805 GLIBC_* (sorted) before all others (sorted).
9806
00f4012a
JM
98072014-03-25 Joseph Myers <joseph@codesourcery.com>
9808
9809 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9810 GLIBC_2.2.5 version.
9811
7bc5a741
AZ
98122014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9813
9814 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9815 calls.
9816
7578473b
AZ
9817 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9818 previous change.
9819
f3f1dab3
AZ
9820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9821
6da36183
AS
98222014-03-25 Andreas Schwab <schwab@suse.de>
9823
9824 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9825 label to be used after in6ailist is initialized.
9826
f3f1dab3 98272014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 9828
7578473b 9829 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
9830 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9831
046651c1
JM
98322014-03-25 Joseph Myers <joseph@codesourcery.com>
9833
9834 [BZ #16357]
9835 [BZ #16599]
9836 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9837 min_plus_half.
9838 (fp_formats): Update initializers.
9839 (init_fp_formats): Initialize new field.
9840 (output_for_one_input_case): Allow underflow for results up to
9841 min_plus_half.
9842 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9843 * math/auto-libm-test-in: Don't mark some underflows from asin and
9844 atanh as spurious.
9845 * math/auto-libm-test-out: Regenerated.
9846 * sysdeps/i386/fpu/libm-test-ulps: Update.
9847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9848
003e49ed
AS
98492014-03-25 Andreas Schwab <schwab@suse.de>
9850
9851 * libio/Makefile (tst-ftell-partial-wide-ENV)
9852 (tst-ftell-active-handler-ENV): Define.
9853
de031874
SL
98542014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9855
9856 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9857
55a81e3b
PP
98582014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9859
9860 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9861
f3426898
JM
98622014-03-24 Joseph Myers <joseph@codesourcery.com>
9863
9864 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9865 * sysdeps/x86_64/fpu/multiarch/e_exp.c
9866 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9867
a42faf59
PP
98682014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9869
9870 [BZ #16634]
a42faf59 9871 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
9872 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9873 (open_path): Change from boolean 'secure' to complete flag 'mode'
9874 (_dl_map_object): Adjust.
a42faf59
PP
9875 * elf/Makefile (tests): Add tst-dlopen-aout.
9876 * elf/tst-dlopen-aout.c: New test.
9877
50936127
SL
98782014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9879
9880 [BZ #16714]
9881 * sysdeps/unix/sysv/linux/s390/bits/stat.h
9882 (struct stat): Rename member pad0 to __glibc_reserved0.
9883
26011b5c
SL
9884 [BZ #16712]
9885 * sysdeps/s390/s390-32/bits/wordsize.h
9886 (__WORDSIZE32_SIZE_ULONG): New define.
9887 * sysdeps/s390/s390-64/bits/wordsize.h
9888 (__WORDSIZE32_SIZE_ULONG): Likewise.
9889 * sysdeps/generic/stdint.h (SIZE_MAX):
9890 Define as UL if __WORDSIZE32_SIZE_ULONG.
9891
a2d86bf1
SL
9892 [BZ #16713]
9893 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9894 (__glibc_reserved0): New variable.
9895 (sa_flags): Change type to int.
9896
78b6eebc
SL
9897 * posix/Makefile (before-compile): Use += before-compile instead
9898 of a :=.
9899
f1399b5a
SL
9900 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9901 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9902
a071766e
AS
99032014-03-20 Andreas Schwab <schwab@suse.de>
9904
9905 [BZ #16743]
9906 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9907 non-matching result from nscd.
9908
27c673b8
SP
99092014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9910
9911 * scripts/bench.py: Moved to ...
9912 * benchtests/scripts/bench.py: ... here.
9913 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9914
44152e4b
AS
99152014-03-24 Andreas Schwab <schwab@suse.de>
9916
9917 [BZ #16002]
9918 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9919 alloca_account and account alloca use for struct in6ailist.
9920
b376a11a
JM
99212014-03-24 Joseph Myers <joseph@codesourcery.com>
9922
9923 [BZ #16284]
9924 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9925 rounding mode to recompute results that overflow to infinity or
9926 underflow to zero.
9927 * math/auto-libm-test-in: Don't mark tests as expected to fail for
9928 bug 16284.
9929 * math/auto-libm-test-out: Regenerated.
9930 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9931 (ccosh_test): Likewise.
9932 (csin_test_data): Use plus_oflow.
9933 (csin_test): Use ALL_RM_TEST.
9934 (csinh_test_data): Use plus_oflow.
9935 (csinh_test): Use ALL_RM_TEST.
9936 * sysdeps/i386/fpu/libm-test-ulps: Update.
9937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9938
f7be7376
JM
99392014-03-21 Joseph Myers <joseph@codesourcery.com>
9940
1ca2d03e
JM
9941 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9942 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9943 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9944
f7be7376
JM
9945 [BZ #16731]
9946 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
9947 when x - 1 is zero.
9948 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
9949 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
9950 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9951 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
9952 argument is 1.
9953 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
9954 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
9955 zero.
9956 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
9957 * sysdeps/i386/fpu/libm-test-ulps: Update.
9958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9959
fdf4534d
SP
99602014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9961
df26ea53
SP
9962 * scripts/bench.pl: Remove file.
9963 * scripts/bench.py: New benchmark script.
9964 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9965 * benchtests/README: Mention python dependency.
9966 * scripts/pylintrc: New file.
9967 * scripts/pylint: New file.
9968
fdf4534d
SP
9969 * bits/mathdef.h: Use #ifdef instead of #if.
9970 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9971 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9972 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9973 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9974 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9975 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9976
6f23d093
AZ
99772014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9978 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9979
9980 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9981 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9982 and strpbrk-ppc64 objects.
9983 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9984 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9985 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9986 multiarch strpbrk for POWER7.
9987 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9988 multiarch strpbrk for PPC64.
9989 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9990 ifunc selector.
9991 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9992 strpbrk for POWER7.
9993
8c92dfff
JM
99942014-03-20 Joseph Myers <joseph@codesourcery.com>
9995
9996 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9997 (atan_test): Likewise.
9998 (atanh_test_data): Use NO_TEST_INLINE for two tests.
9999 (atanh_test): Use ALL_RM_TEST.
10000 (atan2_test_data): Likewise.
10001 (cabs_test): Likewise.
10002 (cacosh_test): Likewise.
10003 (carg_test): Likewise.
10004 (casin_test): Likewise.
10005 (casinh_test): Likewise.
10006 (cbrt_test): Likewise.
10007 (csqrt_test): Likewise.
10008 (erf_test): Likewise.
10009 (erfc_test): Likewise.
10010 (pow10_test): Likewise.
10011 (exp2_test): Likewise.
10012 (hypot_test): Likewise.
10013 (j0_test): Likewise.
10014 (j1_test): Likewise.
10015 (lgamma_test): Likewise.
10016 (gamma_test): Likewise.
10017 (sincos_test): Likewise.
10018 (tanh_test): Likewise.
10019 (y0_test): Likewise.
10020 (y1_test): Likewise.
10021 * sysdeps/i386/fpu/libm-test-ulps: Update.
10022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10023
6eaf95cb
AZ
100242014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10025
a387428c
SP
10026 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
10027 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
10028 and strcspn-ppc64 objects.
10029 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10030 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
10031 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
10032 multiarch strcspn for POWER7.
10033 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
10034 multiarch strcspn for PPC64.
10035 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
10036 ifunc selector.
10037 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
10038 strcspn for POWER7.
10039
ae3a5dff
JM
100402014-03-20 Joseph Myers <joseph@codesourcery.com>
10041
10042 * math/gen-libm-test.pl (generate_testfile): Expect only function
10043 name as argument to AUTO_TESTS_* and pass results for all rounding
10044 modes to parse_args.
10045 (parse_auto_input): Separate inputs of automatic tests from
10046 outputs before storing in %auto_tests.
10047 * math/libm-test.inc (acos_test_data): Update call to
10048 AUTO_TESTS_f_f.
10049 (acos_test): Use ALL_RM_TEST.
10050 (acos_tonearest_test_data): Remove.
10051 (acos_test_tonearest): Likewise.
10052 (acos_towardzero_test_data): Likewise.
10053 (acos_test_towardzero): Likewise.
10054 (acos_downward_test_data): Likewise.
10055 (acos_test_downward): Likewise.
10056 (acos_upward_test_data): Likewise.
10057 (acos_test_upward): Likewise.
10058 (acosh_test_data): Update call to AUTO_TESTS_f_f.
10059 (asin_test_data): Likewise.
10060 (asin_test): Use ALL_RM_TEST.
10061 (asin_tonearest_test_data): Remove.
10062 (asin_test_tonearest): Likewise.
10063 (asin_towardzero_test_data): Likewise.
10064 (asin_test_towardzero): Likewise.
10065 (asin_downward_test_data): Likewise.
10066 (asin_test_downward): Likewise.
10067 (asin_upward_test_data): Likewise.
10068 (asin_test_upward): Likewise.
10069 (asinh_test_data): Update call to AUTO_TESTS_f_f.
10070 (atan_test_data): Likewise.
10071 (atanh_test_data): Likewise.
10072 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
10073 (cabs_test_data): Update call to AUTO_TESTS_c_f.
10074 (carg_test_data): Likewise.
10075 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
10076 (ccos_test_data): Update call to AUTO_TESTS_c_c.
10077 (ccosh_test_data): Likewise.
10078 (cexp_test_data): Likewise.
10079 (clog_test_data): Likewise.
10080 (clog10_test_data): Likewise.
10081 (cos_test_data): Update call to AUTO_TESTS_f_f.
10082 (cos_test): Use ALL_RM_TEST.
10083 (cos_tonearest_test_data): Remove.
10084 (cos_test_tonearest): Likewise.
10085 (cos_towardzero_test_data): Likewise.
10086 (cos_test_towardzero): Likewise.
10087 (cos_downward_test_data): Likewise.
10088 (cos_test_downward): Likewise.
10089 (cos_upward_test_data): Likewise.
10090 (cos_test_upward): Likewise.
10091 (cosh_test_data): Update call to AUTO_TESTS_f_f.
10092 (cosh_test): Use ALL_RM_TEST.
10093 (cosh_tonearest_test_data): Remove.
10094 (cosh_test_tonearest): Likewise.
10095 (cosh_towardzero_test_data): Likewise.
10096 (cosh_test_towardzero): Likewise.
10097 (cosh_downward_test_data): Likewise.
10098 (cosh_test_downward): Likewise.
10099 (cosh_upward_test_data): Likewise.
10100 (cosh_test_upward): Likewise.
10101 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10102 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10103 (ctan_test_data): Likewise.
10104 (ctan_test): Use ALL_RM_TEST.
10105 (ctan_tonearest_test_data): Remove.
10106 (ctan_test_tonearest): Likewise.
10107 (ctan_towardzero_test_data): Likewise.
10108 (ctan_test_towardzero): Likewise.
10109 (ctan_downward_test_data): Likewise.
10110 (ctan_test_downward): Likewise.
10111 (ctan_upward_test_data): Likewise.
10112 (ctan_test_upward): Likewise.
10113 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10114 (ctanh_test): Use ALL_RM_TEST.
10115 (ctanh_tonearest_test_data): Remove.
10116 (ctanh_test_tonearest): Likewise.
10117 (ctanh_towardzero_test_data): Likewise.
10118 (ctanh_test_towardzero): Likewise.
10119 (ctanh_downward_test_data): Likewise.
10120 (ctanh_test_downward): Likewise.
10121 (ctanh_upward_test_data): Likewise.
10122 (ctanh_test_upward): Likewise.
10123 (erf_test_data): Update call to AUTO_TESTS_f_f.
10124 (erfc_test_data): Likewise.
10125 (exp_test_data): Likewise.
10126 (exp_test): Use ALL_RM_TEST.
10127 (exp_tonearest_test_data): Remove.
10128 (exp_test_tonearest): Likewise.
10129 (exp_towardzero_test_data): Likewise.
10130 (exp_test_towardzero): Likewise.
10131 (exp_downward_test_data): Likewise.
10132 (exp_test_downward): Likewise.
10133 (exp_upward_test_data): Likewise.
10134 (exp_test_upward): Likewise.
10135 (exp10_test_data): Update call to AUTO_TESTS_f_f.
10136 (exp10_test): Use ALL_RM_TEST.
10137 (exp10_tonearest_test_data): Remove.
10138 (exp10_test_tonearest): Likewise.
10139 (exp10_towardzero_test_data): Likewise.
10140 (exp10_test_towardzero): Likewise.
10141 (exp10_downward_test_data): Likewise.
10142 (exp10_test_downward): Likewise.
10143 (exp10_upward_test_data): Likewise.
10144 (exp10_test_upward): Likewise.
10145 (exp2_test_data): Update call to AUTO_TESTS_f_f.
10146 (expm1_test_data): Likewise.
10147 (expm1_test): Use ALL_RM_TEST.
10148 (expm1_tonearest_test_data): Remove.
10149 (expm1_test_tonearest): Likewise.
10150 (expm1_towardzero_test_data): Likewise.
10151 (expm1_test_towardzero): Likewise.
10152 (expm1_downward_test_data): Likewise.
10153 (expm1_test_downward): Likewise.
10154 (expm1_upward_test_data): Likewise.
10155 (expm1_test_upward): Likewise.
10156 (fma_test_data): Update call to AUTO_TESTS_fff_f.
10157 (fma_test): Use ALL_RM_TEST.
10158 (fma_towardzero_test_data): Remove.
10159 (fma_test_towardzero): Likewise.
10160 (fma_downward_test_data): Likewise.
10161 (fma_test_downward): Likewise.
10162 (fma_upward_test_data): Likewise.
10163 (fma_test_upward): Likewise.
10164 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10165 (j0_test_data): Update call to AUTO_TESTS_f_f.
10166 (j1_test_data): Likewise.
10167 (jn_test_data): Update call to AUTO_TESTS_if_f.
10168 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10169 (log_test_data): Update call to AUTO_TESTS_f_f.
10170 (log10_test_data): Likewise.
10171 (log1p_test_data): Likewise.
10172 (log2_test_data): Likewise.
10173 (pow_test_data): Update call to AUTO_TESTS_ff_f.
10174 (pow_tonearest_test_data): Likewise.
10175 (sin_test_data): Update call to AUTO_TESTS_f_f.
10176 (sin_test): Use ALL_RM_TEST.
10177 (sin_tonearest_test_data): Remove.
10178 (sin_test_tonearest): Likewise.
10179 (sin_towardzero_test_data): Likewise.
10180 (sin_test_towardzero): Likewise.
10181 (sin_downward_test_data): Likewise.
10182 (sin_test_downward): Likewise.
10183 (sin_upward_test_data): Likewise.
10184 (sin_test_upward): Likewise.
10185 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10186 (sinh_test_data): Update call to AUTO_TESTS_f_f.
10187 (sinh_test): Use ALL_RM_TEST.
10188 (sinh_tonearest_test_data): Remove.
10189 (sinh_test_tonearest): Likewise.
10190 (sinh_towardzero_test_data): Likewise.
10191 (sinh_test_towardzero): Likewise.
10192 (sinh_downward_test_data): Likewise.
10193 (sinh_test_downward): Likewise.
10194 (sinh_upward_test_data): Likewise.
10195 (sinh_test_upward): Likewise.
10196 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10197 (sqrt_test): Use ALL_RM_TEST.
10198 (sqrt_tonearest_test_data): Remove.
10199 (sqrt_test_tonearest): Likewise.
10200 (sqrt_towardzero_test_data): Likewise.
10201 (sqrt_test_towardzero): Likewise.
10202 (sqrt_downward_test_data): Likewise.
10203 (sqrt_test_downward): Likewise.
10204 (sqrt_upward_test_data): Likewise.
10205 (sqrt_test_upward): Likewise.
10206 (tan_test_data): Update call to AUTO_TESTS_f_f.
10207 (tan_test): Use ALL_RM_TEST.
10208 (tan_tonearest_test_data): Remove.
10209 (tan_test_tonearest): Likewise.
10210 (tan_towardzero_test_data): Likewise.
10211 (tan_test_towardzero): Likewise.
10212 (tan_downward_test_data): Likewise.
10213 (tan_test_downward): Likewise.
10214 (tan_upward_test_data): Likewise.
10215 (tan_test_upward): Likewise.
10216 (tanh_test_data): Update call to AUTO_TESTS_f_f.
10217 (tgamma_test_data): Likewise.
10218 (y0_test_data): Likewise.
10219 (y1_test_data): Likewise.
10220 (yn_test_data): Update call to AUTO_TESTS_if_f.
10221 (main): Do not call removed functions.
10222
d71aeee8
JM
102232014-03-19 Joseph Myers <joseph@codesourcery.com>
10224
10225 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10226 (ldexp_test_data): Remove.
10227 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
10228 scalbn_test_data.
10229 (scalb_test): Use ALL_RM_TEST.
10230
baaf1ded
AS
102312014-03-19 Andreas Schwab <schwab@suse.de>
10232
10233 * nscd/nscd.service: Also invalidate netgroup cache on reload.
10234
b1115e91
JM
102352014-03-19 Joseph Myers <joseph@codesourcery.com>
10236
10237 [BZ #16649]
10238 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10239 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10240 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10241 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10242 (__ASSUME_PREADV): Undefine.
10243 (__ASSUME_PWRITEV): Likewise.
10244
0283ecca
RM
102452014-03-18 Roland McGrath <roland@hack.frob.com>
10246
7d375303
RM
10247 * bits/mman-linux.h: Add comment about non-Linux use.
10248 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10249 bits/mman-linux.h resting place.
10250
0283ecca
RM
10251 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10252 * bits/mman-linux.h: ... here.
10253
aebe1003
AZ
102542014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10255
10256 * conform/conformtest.pl: Add standard definition when calling C
10257 preprocessor on data files.
10258 (checknamespace): Remove unused variable.
10259
b29b6bb8
JM
102602014-03-18 Joseph Myers <joseph@codesourcery.com>
10261
10262 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10263 minus_oflow, plus_uflow and minus_uflow in expected results.
10264 * math/libm-test.inc (scalbn_test_data): Add more tests of
10265 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
10266 minus_uflow.
10267 (scalbn_test): Use ALL_RM_TEST.
10268 (scalbln_test_data): Add more tests of negative arguments. Use
10269 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10270 (scalbln_test): Use ALL_RM_TEST.
10271
c8f8fa15
RM
102722014-03-18 Roland McGrath <roland@hack.frob.com>
10273
10274 * scripts/abilist.awk: Ignore symbols marked with .hidden.
10275
fede7a5f
WN
102762014-03-18 Will Newton <will.newton@linaro.org>
10277
10278 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10279 inaccurate comment.
10280
80cf0a58
JM
102812014-03-18 Joseph Myers <joseph@codesourcery.com>
10282
10283 * Makerules [!subdir] (check-abi): Exit with error status if a
10284 test failed.
10285
b3620862
JM
102862014-03-17 Joseph Myers <joseph@codesourcery.com>
10287
10288 * math/libm-test.inc (nearbyint_test_data): Include all tests used
10289 for rint. Include results for all rounding modes.
10290 (nearbyint_test): Use ALL_RM_TEST.
10291 (rint_test_data): Include all tests used for nearbyint.
10292
788bba36
WN
102932014-03-17 Will Newton <will.newton@linaro.org>
10294
04ec140a
WN
10295 * nptl/sysdeps/pthread/pthread.h: Revert previous
10296 change.
10297
7579d8d5
WN
10298 * sysdeps/generic/ldsodefs.h: Revert previous
10299 change.
10300
c15cf13a
WN
10301 * libio/genops.c: Revert previous change.
10302 * libio/libioP.h: Likewise.
10303 * stdio-common/vfprintf.c: Likewise.
10304
d0ac1324
WN
10305 * sysdeps/generic/math_private.h: Revert previous
10306 change.
10307
9290130a
WN
10308 * sysdeps/generic/math_private.h: Check whether
10309 HAVE_RM_CTX is defined with #ifdef rather
10310 than #if.
10311
afb466fc
WN
10312 * argp/argp-fmtstream.h: Check whether
10313 __STRICT_ANSI__ is defined with #ifdef rather
10314 than #if.
10315 * argp/argp.h: Likewise.
10316
f7efd7c3
WN
10317 * libio/genops.c: Check whether
10318 _IO_JUMPS_OFFSET is defined with #ifdef rather
10319 than #if.
10320 * libio/libioP.h: Likewise.
10321 * stdio-common/vfprintf.c: Likewise.
10322
53f1bed3
WN
10323 * sysdeps/generic/ldsodefs.h: Check whether
10324 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10325 than #if.
10326
788bba36
WN
10327 * nptl/sysdeps/pthread/pthread.h: Check
10328 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10329 its value.
10330
fcd89ebe
SP
103312014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10332
ae42bbc5
SP
10333 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10334 setting O_APPEND.
10335 * libio/tst-ftell-active-handler.c (do_append_test): Add a
10336 test case.
10337
ea33158c
SP
10338 [BZ #16680]
10339 * libio/fileops.c (_IO_file_open): Seek to end of file but
10340 don't cache the offset.
10341 (get_file_offset): Remove function.
10342 (do_ftell): Use cached offset when available.
10343 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10344 don't cache the offset.
10345 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10346 case.
10347 (do_one_test): Call it.
10348 (do_ftell_test): Fix up expected old offset for a+ mode.
10349 * libio/wfileops.c (do_ftell_wide): Used cached offset when
10350 available.
10351
b1dbb426
SP
10352 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10353 up test status with function return status.
10354 (do_write_test): Likewise.
10355 (do_append_test): Likewise.
10356
fcd89ebe
SP
10357 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10358 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10359 Remove.
10360
9962a2d3
JM
103612014-03-17 Joseph Myers <joseph@codesourcery.com>
10362
10363 * math/gen-libm-test.pl (parse_args): Handle results specified for
10364 each rounding mode separately.
10365 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10366 tests and results from lrint_tonearest_test_data,
10367 lrint_towardzero_test_data, lrint_downward_test_data and
10368 lrint_upward_test_data.
10369 (lrint_test): Use ALL_RM_TEST.
10370 (lrint_tonearest_test_data): Remove.
10371 (lrint_test_tonearest): Likewise.
10372 (lrint_towardzero_test_data): Likewise.
10373 (lrint_test_towardzero): Likewise.
10374 (lrint_downward_test_data): Likewise.
10375 (lrint_test_downward): Likewise.
10376 (lrint_upward_test_data): Likewise.
10377 (lrint_test_upward): Likewise.
10378 (llrint_test_data): Merge in per-rounding-mode tests and results
10379 from llrint_tonearest_test_data, llrint_towardzero_test_data,
10380 llrint_downward_test_data and llrint_upward_test_data.
10381 (llrint_test): Use ALL_RM_TEST.
10382 (llrint_tonearest_test_data): Remove.
10383 (llrint_test_tonearest): Likewise.
10384 (llrint_towardzero_test_data): Likewise.
10385 (llrint_test_towardzero): Likewise.
10386 (llrint_downward_test_data): Likewise.
10387 (llrint_test_downward): Likewise.
10388 (llrint_upward_test_data): Likewise.
10389 (llrint_test_upward): Likewise.
10390 (rint_test_data): Merge in per-rounding-mode tests and results
10391 from rint_tonearest_test_data, rint_towardzero_test_data,
10392 rint_downward_test_data and rint_upward_test_data. Add
10393 per-rounding-mode results for tests not in those arrays.
10394 (rint_test): Use ALL_RM_TEST.
10395 (rint_tonearest_test_data): Remove.
10396 (rint_test_tonearest): Likewise.
10397 (rint_towardzero_test_data): Likewise.
10398 (rint_test_towardzero): Likewise.
10399 (rint_downward_test_data): Likewise.
10400 (rint_test_downward): Likewise.
10401 (rint_upward_test_data): Likewise.
10402 (rint_test_upward): Likewise.
10403 (main): Don't call removed functions.
10404
5006148e
RM
104052014-03-14 Roland McGrath <roland@hack.frob.com>
10406
10407 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10408 "Compiled on ..." crapola. It is anti-useful.
10409
d6fe5e58
JM
104102014-03-14 Joseph Myers <joseph@codesourcery.com>
10411
10412 * scripts/evaluate-test.sh: Handle fourth argument to determine
10413 whether test run should stop on failure.
10414 * Makeconfig (stop-on-test-failure): New variable.
10415 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10416 $(stop-on-test-failure).
10417 * Makefile (tests): Give a summary of results from testing and
10418 exit with failure status if they include an ERROR or FAIL.
10419 (xtests): Likewise.
10420 * manual/install.texi (Configuring and compiling): Mention
10421 stop-on-test-failure=y.
10422 * INSTALL: Regenerated.
10423
498a2233
RM
104242014-03-14 Roland McGrath <roland@hack.frob.com>
10425
22dbc19d
RM
10426 * scripts/versionlist.awk: New file.
10427 * Makerules [$(build-shared) = yes]
10428 (postclean-generated): Add Versions.def, not Versions.def.v and
10429 Versions.def.v.i.
10430 ($(common-objpfx)Versions.def.v.i): Target removed.
10431 ($(common-objpfx)Versions.def): New target.
10432 ($(common-objpfx)Versions.all): Depend on that rather that
10433 $(common-objpfx)Versions.def.v.
10434 * Versions.def: File removed.
10435
498a2233
RM
10436 * Makeconfig (+gccwarn): Add -Wundef.
10437 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10438 a dl-sysdep.h breaking its contract.
10439 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10440 * include/stackinfo.h: New file.
10441 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10442 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10443 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10444 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10445 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10446 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10447 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10448 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10449 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10450 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10451 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10452 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10453 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10454 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10455 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10456
c7de5025
AZ
104572014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10458
10459 [BZ #16707]
10460 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10461 implementation.
10462 * math/libm-test.inc (round_test_data): Add more tests.
10463
98fb27a3
AZ
10464 [BZ #16706]
10465 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10466 implementation.
10467 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10468
374f7f61
AZ
10469 [BZ #16701]
10470 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10471 implementation.
10472 * math/libm-test.inc (ceil_test_data): Add more tests.
10473
4655c291
AZ
10474 * math/libm-test.inc (trunc_test_data): Add more tests related to
10475 BZ#16414.
10476
d7329d4b
RM
104772014-03-14 Roland McGrath <roland@hack.frob.com>
10478
10479 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10480 with #if rather than #ifdef.
10481 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10482
aa4de9ce
L
104832014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10484
10485 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10486 first. Disable AVX-512 GCC support if assembler doesn't support
10487 it.
10488 * sysdeps/x86_64/configure: Regenerated.
10489
2e03fae7
CD
104902014-03-13 Carlos O'Donell <carlos@redhat.com>
10491
10492 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10493 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10494 (__old_pthread_attr_setstack): Likewise.
10495 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10496 [!_STACK_GROWS_DOWN]: Likewise.
10497
43ca83ec
MF
104982014-03-13 Mike Frysinger <vapier@gentoo.org>
10499
10500 * config.make.in (have-bash2): Delete.
10501 * configure.ac (libc_cv_have_bash2): Delete.
10502 * configure: Regenerate.
10503 * elf/Makefile (common-ldd-rewrite): Rename to ...
10504 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10505 (sh-ldd-rewrite): Delete.
10506 (bash-ldd-rewrite): Delete.
10507 (have-bash2): Delete checks.
57f41c40
AS
10508 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10509 ldd-rewrite.
c66e48b4
MF
10510
10511 * config.make.in (have-ksh): Delete.
10512 (KSH): Delete.
10513 * configure.ac (libc_cv_have_ksh): Delete.
10514 * configure: Regenerate.
10515
b93834ef
MF
10516 * elf/Makefile: Delete $(have-ksh) check.
10517 ($(objpfx)sotruss): Change KSH to BASH.
10518 * elf/sotruss.ksh: Rename to ...
10519 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10520 function style to match POSIX. Drop ksh vim mode setting.
10521
f3a4632a
MF
10522 * manual/time.texi (Specifying the Time Zone with TZ): Change
10523 Tuesday to Thursday.
10524
5896c8bd
MF
10525 * debug/tst-longjmp_chk2.c: Update header comment.
10526 (stackoverflow_handler): Add comment. Call assert on pass value.
10527
2d63a517
IZ
105282014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10529
7e54fd04 10530 [BZ #16194]
2d63a517
IZ
10531 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10532 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10533 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10534 (La_x86_64_vector): Add zmm.
10535 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10536 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10537 ($(objpfx)tst-audit10): New target.
10538 ($(objpfx)tst-audit10.out): Likewise.
10539 (tst-audit10-ENV): New.
10540 (AVX512-CFLAGS): Likewise.
10541 (CFLAGS-tst-audit10.c): Likewise.
10542 (CFLAGS-tst-auditmod10a.c): Likewise.
10543 (CFLAGS-tst-auditmod10b.c): Likewise.
10544 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10545 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10546 * sysdeps/x86_64/configure: Regenerated.
10547 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10548 AVX-512 zmm register support.
10549 (_dl_x86_64_save_sse): Likewise.
10550 (_dl_x86_64_restore_sse): Likewise.
10551 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10552 size vector registers.
10553 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10554 (ZMM_SIZE): Likewise.
10555 * sysdeps/x86_64/tst-audit10.c: New file.
10556 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10557 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10558
44c4e5d5
RM
105592014-03-13 Roland McGrath <roland@hack.frob.com>
10560
10561 * configure.ac (HAVE_EHDR_START): New check.
10562 * configure: Regenerated.
10563 * config.h.in (HAVE_EHDR_START): New #undef.
10564 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10565 assuming the lowest-addressed segment maps the start of the file.
10566
acd6e389
JM
105672014-03-13 Joseph Myers <joseph@codesourcery.com>
10568
10569 * INSTALL: Regenerated.
10570
6f918f36
WN
105712014-03-13 Will Newton <will.newton@linaro.org>
10572
10573 * manual/setjmp.texi (System V contexts): Improve
10574 clarity and grammar of documentation.
10575
798212a0
PP
105762014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10577
10578 [BZ #16381]
798212a0 10579 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 10580 (tests-pie): Add tst-pie2.
798212a0
PP
10581 * elf/tst-pie2.c: New file.
10582 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10583 for ET_EXEC.
10584 * elf/rtld.c (map_doit): Load executable as lt_executable.
10585 (dl_main): Likewise.
10586
abe6d90c
JM
105872014-03-12 Joseph Myers <joseph@codesourcery.com>
10588
10589 [BZ #16642]
10590 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10591 (__ASSUME_PSELECT): Undefine.
10592
dd3946c6
AZ
105932014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10594
10595 [BZ #16689]
10596 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10597 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10598 static build.
10599 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10600 selector for static builds.
10601
c44496df
SP
106022014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10603
10604 [BZ #16695]
10605 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10606 key in the buffer.
10607
27c7220a
AZ
106082014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10609
57f41c40
AS
10610 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10611 IFUNC selector for static builds.
27c7220a 10612
600fa361
JM
106132014-03-11 Joseph Myers <joseph@codesourcery.com>
10614
76c96cf7
JM
10615 * sysdeps/mips/math_private.h [__mips_hard_float]
10616 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10617 libc_feresetround_mips_ctx.
10618 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10619 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10620 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10621
600fa361
JM
10622 [BZ #16677]
10623 * math/s_nextafter.c (__nextafter): Do not return value from
10624 overflowing computation.
10625 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10626 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10627 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10628 Likewise.
10629 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10630 Likewise.
10631 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10632 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10633
d7706c32
RM
106342014-03-11 Roland McGrath <roland@hack.frob.com>
10635
10636 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10637 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10638 Move sfi_sp use from the load-multiple (that no longer sets sp) to
10639 the new mov targetting sp.
10640
4facea47
AZ
106412014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10642
10643 [BZ #16683]
10644 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10645 Define it for static builds as well.
10646 (NO_BZERO_IMPL): Likewise.
10647
e65caf1f
VR
106482014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10649
10650 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10651 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10652 multiarch strspn for PPC64.
10653 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10654 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10655 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10656 (__libc_ifunc_impl_list): Likewise.
10657 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10658 multiarch optimizations
10659 * string/strspn.c (strspn): Using macro to redefine symbol name.
10660
ba9cc071
AZ
106612014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10662 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10663
10664 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10665 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10666 multiarch strncat for PPC64.
10667 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10668 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10669 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10670 (__libc_ifunc_impl_list): Likewise.
10671 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10672 multiarch optimizations
10673
8b4ff974
SP
106742014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10675
10676 [BZ #16639]
10677 * nscd/nscd.service: Make service type forking.
10678
54b46a4b
AZ
106792014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10680
10681 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10682 sign in non default rounding modes.
10683 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10684
e9996ef7
JM
106852014-03-08 Joseph Myers <joseph@codesourcery.com>
10686
10687 * math/libm-test.inc (ALL_RM_TEST): New macro.
10688 (ceil_test): Use ALL_RM_TEST.
10689 (cimag_test): Likewise.
10690 (conj_test): Likewise.
10691 (copysign_test): Likewise.
10692 (cproj_test): Likewise.
10693 (creal_test): Likewise.
10694 (fabs_test): Likewise.
10695 (floor_test): Likewise.
10696 (fmax_test): Likewise.
10697 (fmin_test): Likewise.
10698 (fmod_test): Likewise.
10699 (fpclassify_test): Likewise.
10700 (frexp_test): Likewise.
10701 (ilogb_test): Likewise.
10702 (isfinite_test): Likewise.
10703 (finite_test): Likewise.
10704 (isgreater_test): Likewise.
10705 (isgreaterequal_test): Likewise.
10706 (isinf_test): Likewise.
10707 (isless_test): Likewise.
10708 (islessequal_test): Likewise.
10709 (islessgreater_test): Likewise.
10710 (isnan_test): Likewise.
10711 (isnormal_test): Likewise.
10712 (issignaling_test): Likewise.
10713 (isunordered_test): Likewise.
10714 (logb_test): Likewise.
10715 (logb_downward_test_data): Remove.
10716 (logb_test_downward): Likewise.
10717 (lround_test): Use ALL_RM_TEST.
10718 (llround_test): Likewise.
10719 (modf_test): Likewise.
10720 (nexttoward_test): Likewise.
10721 (remainder_test): Likewise.
10722 (drem_test): Likewise.
10723 (remainder_tonearest_test_data): Likewise.
10724 (remainder_test_tonearest): Likewise.
10725 (drem_test_tonearest): Likewise.
10726 (remainder_towardzero_test_data): Likewise.
10727 (remainder_test_towardzero): Likewise.
10728 (drem_test_towardzero): Likewise.
10729 (remainder_downward_test_data): Likewise.
10730 (remainder_test_downward): Likewise.
10731 (drem_test_downward): Likewise.
10732 (remainder_upward_test_data): Likewise.
10733 (remainder_test_upward): Likewise.
10734 (drem_test_upward): Likewise.
10735 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
10736 (round_test): Use ALL_RM_TEST.
10737 (signbit_test): Likewise.
10738 (trunc_test): Likewise.
10739 (significand_test): Likewise.
10740 (main): Don't call removed functions.
10741
bc61d27c
JM
107422014-03-07 Joseph Myers <joseph@codesourcery.com>
10743
5c780849
JM
10744 [BZ #16674]
10745 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10746 || __USE_XOPEN2K8].
10747 (ILL_ILLOPN): Likewise.
10748 (ILL_ILLADR): Likewise.
10749 (ILL_ILLTRP): Likewise.
10750 (ILL_PRVOPC): Likewise.
10751 (ILL_PRVREG): Likewise.
10752 (ILL_COPROC): Likewise.
10753 (ILL_BADSTK): Likewise.
10754 (FPE_INTDIV): Likewise.
10755 (FPE_INTOVF): Likewise.
10756 (FPE_FLTDIV): Likewise.
10757 (FPE_FLTOVF): Likewise.
10758 (FPE_FLTUND): Likewise.
10759 (FPE_FLTRES): Likewise.
10760 (FPE_FLTINV): Likewise.
10761 (FPE_FLTSUB): Likewise.
10762 (SEGV_MAPERR): Likewise.
10763 (SEGV_ACCERR): Likewise.
10764 (BUS_ADRALN): Likewise.
10765 (BUS_ADRERR): Likewise.
10766 (BUS_OBJERR): Likewise.
10767 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10768 (TRAP_TRACE): Likewise.
10769 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10770 __USE_XOPEN2K8].
10771 (CLD_KILLED): Likewise.
10772 (CLD_DUMPED): Likewise.
10773 (CLD_TRAPPED): Likewise.
10774 (CLD_STOPPED): Likewise.
10775 (CLD_CONTINUED): Likewise.
10776 (POLL_IN): Likewise.
10777 (POLL_OUT): Likewise.
10778 (POLL_MSG): Likewise.
10779 (POLL_ERR): Likewise.
10780 (POLL_PRI): Likewise.
10781 (POLL_HUP): Likewise.
10782 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10783 Likewise.
10784 (ILL_ILLOPN): Likewise.
10785 (ILL_ILLADR): Likewise.
10786 (ILL_ILLTRP): Likewise.
10787 (ILL_PRVOPC): Likewise.
10788 (ILL_PRVREG): Likewise.
10789 (ILL_COPROC): Likewise.
10790 (ILL_BADSTK): Likewise.
10791 (FPE_INTDIV): Likewise.
10792 (FPE_INTOVF): Likewise.
10793 (FPE_FLTDIV): Likewise.
10794 (FPE_FLTOVF): Likewise.
10795 (FPE_FLTUND): Likewise.
10796 (FPE_FLTRES): Likewise.
10797 (FPE_FLTINV): Likewise.
10798 (FPE_FLTSUB): Likewise.
10799 (SEGV_MAPERR): Likewise.
10800 (SEGV_ACCERR): Likewise.
10801 (BUS_ADRALN): Likewise.
10802 (BUS_ADRERR): Likewise.
10803 (BUS_OBJERR): Likewise.
10804 (BUS_MCEERR_AR): Likewise.
10805 (BUS_MCEERR_AO): Likewise.
10806 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10807 (TRAP_TRACE): Likewise.
10808 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10809 __USE_XOPEN2K8].
10810 (CLD_KILLED): Likewise.
10811 (CLD_DUMPED): Likewise.
10812 (CLD_TRAPPED): Likewise.
10813 (CLD_STOPPED): Likewise.
10814 (CLD_CONTINUED): Likewise.
10815 (POLL_IN): Likewise.
10816 (POLL_OUT): Likewise.
10817 (POLL_MSG): Likewise.
10818 (POLL_ERR): Likewise.
10819 (POLL_PRI): Likewise.
10820 (POLL_HUP): Likewise.
10821 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10822 (ILL_ILLOPN): Likewise.
10823 (ILL_ILLADR): Likewise.
10824 (ILL_ILLTRP): Likewise.
10825 (ILL_PRVOPC): Likewise.
10826 (ILL_PRVREG): Likewise.
10827 (ILL_COPROC): Likewise.
10828 (ILL_BADSTK): Likewise.
10829 (FPE_INTDIV): Likewise.
10830 (FPE_INTOVF): Likewise.
10831 (FPE_FLTDIV): Likewise.
10832 (FPE_FLTOVF): Likewise.
10833 (FPE_FLTUND): Likewise.
10834 (FPE_FLTRES): Likewise.
10835 (FPE_FLTINV): Likewise.
10836 (FPE_FLTSUB): Likewise.
10837 (SEGV_MAPERR): Likewise.
10838 (SEGV_ACCERR): Likewise.
10839 (BUS_ADRALN): Likewise.
10840 (BUS_ADRERR): Likewise.
10841 (BUS_OBJERR): Likewise.
10842 (BUS_MCEERR_AR): Likewise.
10843 (BUS_MCEERR_AO): Likewise.
10844 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10845 (TRAP_TRACE): Likewise.
10846 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10847 __USE_XOPEN2K8].
10848 (CLD_KILLED): Likewise.
10849 (CLD_DUMPED): Likewise.
10850 (CLD_TRAPPED): Likewise.
10851 (CLD_STOPPED): Likewise.
10852 (CLD_CONTINUED): Likewise.
10853 (POLL_IN): Likewise.
10854 (POLL_OUT): Likewise.
10855 (POLL_MSG): Likewise.
10856 (POLL_ERR): Likewise.
10857 (POLL_PRI): Likewise.
10858 (POLL_HUP): Likewise.
10859 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10860 Likewise.
10861 (ILL_ILLOPN): Likewise.
10862 (ILL_ILLADR): Likewise.
10863 (ILL_ILLTRP): Likewise.
10864 (ILL_PRVOPC): Likewise.
10865 (ILL_PRVREG): Likewise.
10866 (ILL_COPROC): Likewise.
10867 (ILL_BADSTK): Likewise.
10868 (ILL_BADIADDR): Likewise.
10869 (ILL_BREAK): Likewise.
10870 (FPE_INTDIV): Likewise.
10871 (FPE_INTOVF): Likewise.
10872 (FPE_FLTDIV): Likewise.
10873 (FPE_FLTOVF): Likewise.
10874 (FPE_FLTUND): Likewise.
10875 (FPE_FLTRES): Likewise.
10876 (FPE_FLTINV): Likewise.
10877 (FPE_FLTSUB): Likewise.
10878 (FPE_DECOVF): Likewise.
10879 (FPE_DECDIV): Likewise.
10880 (FPE_DECERR): Likewise.
10881 (FPE_INVASC): Likewise.
10882 (FPE_INVDEC): Likewise.
10883 (SEGV_MAPERR): Likewise.
10884 (SEGV_ACCERR): Likewise.
10885 (SEGV_PSTKOVF): Likewise.
10886 (BUS_ADRALN): Likewise.
10887 (BUS_ADRERR): Likewise.
10888 (BUS_OBJERR): Likewise.
10889 (BUS_MCEERR_AR): Likewise.
10890 (BUS_MCEERR_AO): Likewise.
10891 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10892 (TRAP_TRACE): Likewise.
10893 (TRAP_BRANCH): Likewise.
10894 (TRAP_HWBKPT): Likewise.
10895 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10896 __USE_XOPEN2K8].
10897 (CLD_KILLED): Likewise.
10898 (CLD_DUMPED): Likewise.
10899 (CLD_TRAPPED): Likewise.
10900 (CLD_STOPPED): Likewise.
10901 (CLD_CONTINUED): Likewise.
10902 (POLL_IN): Likewise.
10903 (POLL_OUT): Likewise.
10904 (POLL_MSG): Likewise.
10905 (POLL_ERR): Likewise.
10906 (POLL_PRI): Likewise.
10907 (POLL_HUP): Likewise.
10908 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10909 (ILL_ILLOPN): Likewise.
10910 (ILL_ILLADR): Likewise.
10911 (ILL_ILLTRP): Likewise.
10912 (ILL_PRVOPC): Likewise.
10913 (ILL_PRVREG): Likewise.
10914 (ILL_COPROC): Likewise.
10915 (ILL_BADSTK): Likewise.
10916 (FPE_INTDIV): Likewise.
10917 (FPE_INTOVF): Likewise.
10918 (FPE_FLTDIV): Likewise.
10919 (FPE_FLTOVF): Likewise.
10920 (FPE_FLTUND): Likewise.
10921 (FPE_FLTRES): Likewise.
10922 (FPE_FLTINV): Likewise.
10923 (FPE_FLTSUB): Likewise.
10924 (SEGV_MAPERR): Likewise.
10925 (SEGV_ACCERR): Likewise.
10926 (BUS_ADRALN): Likewise.
10927 (BUS_ADRERR): Likewise.
10928 (BUS_OBJERR): Likewise.
10929 (BUS_MCEERR_AR): Likewise.
10930 (BUS_MCEERR_AO): Likewise.
10931 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10932 (TRAP_TRACE): Likewise.
10933 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10934 __USE_XOPEN2K8].
10935 (CLD_KILLED): Likewise.
10936 (CLD_DUMPED): Likewise.
10937 (CLD_TRAPPED): Likewise.
10938 (CLD_STOPPED): Likewise.
10939 (CLD_CONTINUED): Likewise.
10940 (POLL_IN): Likewise.
10941 (POLL_OUT): Likewise.
10942 (POLL_MSG): Likewise.
10943 (POLL_ERR): Likewise.
10944 (POLL_PRI): Likewise.
10945 (POLL_HUP): Likewise.
10946 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
10947 (ILL_ILLOPN): Likewise.
10948 (ILL_ILLADR): Likewise.
10949 (ILL_ILLTRP): Likewise.
10950 (ILL_PRVOPC): Likewise.
10951 (ILL_PRVREG): Likewise.
10952 (ILL_COPROC): Likewise.
10953 (ILL_BADSTK): Likewise.
10954 (FPE_INTDIV): Likewise.
10955 (FPE_INTOVF): Likewise.
10956 (FPE_FLTDIV): Likewise.
10957 (FPE_FLTOVF): Likewise.
10958 (FPE_FLTUND): Likewise.
10959 (FPE_FLTRES): Likewise.
10960 (FPE_FLTINV): Likewise.
10961 (FPE_FLTSUB): Likewise.
10962 (SEGV_MAPERR): Likewise.
10963 (SEGV_ACCERR): Likewise.
10964 (BUS_ADRALN): Likewise.
10965 (BUS_ADRERR): Likewise.
10966 (BUS_OBJERR): Likewise.
10967 (BUS_MCEERR_AR): Likewise.
10968 (BUS_MCEERR_AO): Likewise.
10969 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10970 (TRAP_TRACE): Likewise.
10971 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10972 __USE_XOPEN2K8].
10973 (CLD_KILLED): Likewise.
10974 (CLD_DUMPED): Likewise.
10975 (CLD_TRAPPED): Likewise.
10976 (CLD_STOPPED): Likewise.
10977 (CLD_CONTINUED): Likewise.
10978 (POLL_IN): Likewise.
10979 (POLL_OUT): Likewise.
10980 (POLL_MSG): Likewise.
10981 (POLL_ERR): Likewise.
10982 (POLL_PRI): Likewise.
10983 (POLL_HUP): Likewise.
10984 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10985 (ILL_ILLOPN): Likewise.
10986 (ILL_ILLADR): Likewise.
10987 (ILL_ILLTRP): Likewise.
10988 (ILL_PRVOPC): Likewise.
10989 (ILL_PRVREG): Likewise.
10990 (ILL_COPROC): Likewise.
10991 (ILL_BADSTK): Likewise.
10992 (FPE_INTDIV): Likewise.
10993 (FPE_INTOVF): Likewise.
10994 (FPE_FLTDIV): Likewise.
10995 (FPE_FLTOVF): Likewise.
10996 (FPE_FLTUND): Likewise.
10997 (FPE_FLTRES): Likewise.
10998 (FPE_FLTINV): Likewise.
10999 (FPE_FLTSUB): Likewise.
11000 (SEGV_MAPERR): Likewise.
11001 (SEGV_ACCERR): Likewise.
11002 (BUS_ADRALN): Likewise.
11003 (BUS_ADRERR): Likewise.
11004 (BUS_OBJERR): Likewise.
11005 (BUS_MCEERR_AR): Likewise.
11006 (BUS_MCEERR_AO): Likewise.
11007 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11008 (TRAP_TRACE): Likewise.
11009 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11010 __USE_XOPEN2K8].
11011 (CLD_KILLED): Likewise.
11012 (CLD_DUMPED): Likewise.
11013 (CLD_TRAPPED): Likewise.
11014 (CLD_STOPPED): Likewise.
11015 (CLD_CONTINUED): Likewise.
11016 (POLL_IN): Likewise.
11017 (POLL_OUT): Likewise.
11018 (POLL_MSG): Likewise.
11019 (POLL_ERR): Likewise.
11020 (POLL_PRI): Likewise.
11021 (POLL_HUP): Likewise.
11022 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
11023 (ILL_ILLOPN): Likewise.
11024 (ILL_ILLADR): Likewise.
11025 (ILL_ILLTRP): Likewise.
11026 (ILL_PRVOPC): Likewise.
11027 (ILL_PRVREG): Likewise.
11028 (ILL_COPROC): Likewise.
11029 (ILL_BADSTK): Likewise.
11030 (ILL_DBLFLT): Likewise.
11031 (ILL_HARDWALL): Likewise.
11032 (FPE_INTDIV): Likewise.
11033 (FPE_INTOVF): Likewise.
11034 (FPE_FLTDIV): Likewise.
11035 (FPE_FLTOVF): Likewise.
11036 (FPE_FLTUND): Likewise.
11037 (FPE_FLTRES): Likewise.
11038 (FPE_FLTINV): Likewise.
11039 (FPE_FLTSUB): Likewise.
11040 (SEGV_MAPERR): Likewise.
11041 (SEGV_ACCERR): Likewise.
11042 (BUS_ADRALN): Likewise.
11043 (BUS_ADRERR): Likewise.
11044 (BUS_OBJERR): Likewise.
11045 (BUS_MCEERR_AR): Likewise.
11046 (BUS_MCEERR_AO): Likewise.
11047 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11048 (TRAP_TRACE): Likewise.
11049 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11050 __USE_XOPEN2K8].
11051 (CLD_KILLED): Likewise.
11052 (CLD_DUMPED): Likewise.
11053 (CLD_TRAPPED): Likewise.
11054 (CLD_STOPPED): Likewise.
11055 (CLD_CONTINUED): Likewise.
11056 (POLL_IN): Likewise.
11057 (POLL_OUT): Likewise.
11058 (POLL_MSG): Likewise.
11059 (POLL_ERR): Likewise.
11060 (POLL_PRI): Likewise.
11061 (POLL_HUP): Likewise.
11062 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
11063 (ILL_ILLOPN): Likewise.
11064 (ILL_ILLADR): Likewise.
11065 (ILL_ILLTRP): Likewise.
11066 (ILL_PRVOPC): Likewise.
11067 (ILL_PRVREG): Likewise.
11068 (ILL_COPROC): Likewise.
11069 (ILL_BADSTK): Likewise.
11070 (FPE_INTDIV): Likewise.
11071 (FPE_INTOVF): Likewise.
11072 (FPE_FLTDIV): Likewise.
11073 (FPE_FLTOVF): Likewise.
11074 (FPE_FLTUND): Likewise.
11075 (FPE_FLTRES): Likewise.
11076 (FPE_FLTINV): Likewise.
11077 (FPE_FLTSUB): Likewise.
11078 (SEGV_MAPERR): Likewise.
11079 (SEGV_ACCERR): Likewise.
11080 (BUS_ADRALN): Likewise.
11081 (BUS_ADRERR): Likewise.
11082 (BUS_OBJERR): Likewise.
11083 (BUS_MCEERR_AR): Likewise.
11084 (BUS_MCEERR_AO): Likewise.
11085 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11086 (TRAP_TRACE): Likewise.
11087 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11088 __USE_XOPEN2K8].
11089 (CLD_KILLED): Likewise.
11090 (CLD_DUMPED): Likewise.
11091 (CLD_TRAPPED): Likewise.
11092 (CLD_STOPPED): Likewise.
11093 (CLD_CONTINUED): Likewise.
11094 (POLL_IN): Likewise.
11095 (POLL_OUT): Likewise.
11096 (POLL_MSG): Likewise.
11097 (POLL_ERR): Likewise.
11098 (POLL_PRI): Likewise.
11099 (POLL_HUP): Likewise.
11100 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11101 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11102
bc61d27c
JM
11103 [BZ #16670]
11104 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11105 before #include of <time.h>.
11106 [!__USE_XOPEN2K] (__need_timespec): Likewise.
11107 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11108 (test-xfail-UNIX98/sched.h/conform): Likewise.
11109
302949e2
MS
111102014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
11111
11112 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11113 error absence of trapping exception support.
11114 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11115
a00f522a
JM
111162014-03-07 Joseph Myers <joseph@codesourcery.com>
11117
6f99f280
JM
11118 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11119 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11120 * timezone/Makefile (testdata): Move definition above include of
11121 Rules.
11122 (test-zones): New variable.
11123 (tests-special): Add zone files.
11124 (build-testdata): Use $(evaluate-test).
11125
0b20a9e8
JM
11126 * elf/Makefile (tests-special): Rename tests to end with .out.
11127 ($(objpfx)noload-mem): Likewise.
11128 ($(objpfx)tst-leaks1-mem): Likewise.
11129 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11130 * iconv/Makefile (xtests-special): Change test-iconvconfig to
11131 $(objpfx)test-iconvconfig.out.
11132 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
11133 set -e inside subshell and redirect output to file.
11134 * iconvdata/Makefile (generated): Rename tests to end with .out.
11135 Correct type.
11136 (tests-special): Rename tests to end with .out.
11137 ($(objpfx)mtrace-tst-loading): Likewise.
11138 * intl/Makefile (generated): Likewise.
11139 (tests-special): Likewise.
11140 ($(objpfx)mtrace-tst-gettext): Likewise.
11141 * misc/Makefile (generated): Likewise.
11142 (tests-special): Likewise.
11143 ($(objpfx)tst-error1-mem): Likewise.
11144 * nptl/Makefile (tests-special): Likewise.
11145 ($(objpfx)tst-stack3-mem): Likewise.
11146 (generated): Likewise.
11147 * posix/Makefile (generated): Likewise.
11148 (tests-special): Likewise.
11149 (xtests-special): Likewise.
11150 ($(objpfx)tst-fnmatch-mem): Likewise.
11151 ($(objpfx)bug-regex2-mem): Likewise.
11152 ($(objpfx)bug-regex14-mem): Likewise.
11153 ($(objpfx)bug-regex21-mem): Likewise.
11154 ($(objpfx)bug-regex31-mem): Likewise.
11155 ($(objpfx)tst-vfork3-mem): Likewise.
11156 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11157 ($(objpfx)tst-pcre-mem): Likewise.
11158 ($(objpfx)tst-boost-mem): Likewise.
11159 ($(objpfx)bug-ga2-mem): Likewise.
11160 ($(objpfx)bug-glob2-mem): Likewise.
11161 * resolv/Makefile (generate): Likewise.
11162 (tests-special): Likewise.
11163 (xtests-special): Likewise.
11164 (generated): Likewise.
11165 ($(objpfx)mtrace-tst-leaks): Likewise.
11166 ($(objpfx)mtrace-tst-leaks2): Likewise.
11167
265d52ab
JM
11168 * scripts/merge-test-results.sh: New file.
11169 * Makefile (tests-special-notdir): New variable.
11170 (tests): Run merge-test-results.sh.
11171 (xtests): Likewise.
11172 * Rules (tests-special-notdir): New variable.
11173 (xtests-special-notdir): Likewise.
11174 (tests): Run merge-test-results.sh
11175 (xtests): Likewise.
11176
54ee292d
JM
11177 * Makeconfig (test-xfail-name): New variable.
11178 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11179 compute variable name for expected failures.
11180 * conform/Makefile (conformtest-headers-data): New variable.
11181 (conformtest-standards): Likewise.
11182 (conformtest-headers-ISO): Likewise.
11183 (conformtest-headers-ISO99): Likewise.
11184 (conformtest-headers-ISO11): Likewise.
11185 (conformtest-headers-POSIX): Likewise.
11186 (conformtest-headers-XPG3): Likewise.
11187 (conformtest-headers-XPG4): Likewise.
11188 (conformtest-headers-UNIX98): Likewise.
11189 (conformtest-headers-XOPEN2K): Likewise.
11190 (conformtest-headers-POSIX2008): Likewise.
11191 (conformtest-headers-XOPEN2K8): Likewise.
11192 (conformtest-header-list-base): Likewise.
11193 (conformtest-header-list-tests): Likewise.
11194 (conformtest-header-base): Likewise.
11195 (conformtest-header-tests): Likewise.
11196 (tests-special): Add $(conformtest-header-list-tests). If
11197 [$(fast-check) && !$(cross-compiling)], add
11198 $(conformtest-header-tests) instead of
11199 $(objpfx)run-conformtest.out.
11200 (generated): Add $(conformtest-header-list-base). If
11201 [$(fast-check) && !$(cross-compiling)], add
11202 $(conformtest-header-base). Remove previous setting.
11203 ($(conformtest-header-list-tests)): New target.
11204 (test-xfail-run-conformtest): Remove variable.
11205 ($(objpfx)run-conformtest.out): Remove target.
11206 (test-xfail-ISO11/complex.h/conform): New variable.
11207 (test-xfail-ISO11/stdalign.h/conform): Likewise.
11208 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11209 (test-xfail-XPG3/varargs.h/conform): Likewise.
11210 (test-xfail-XPG4/varargs.h/conform): Likewise.
11211 (test-xfail-UNIX98/varargs.h/conform): Likewise.
11212 (test-xfail-XPG4/ndbm.h/conform): Likewise.
11213 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11214 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11215 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11216 (test-xfail-XPG3/fcntl.h/conform): Likewise.
11217 (test-xfail-XPG3/ftw.h/conform): Likewise.
11218 (test-xfail-XPG3/grp.h/conform): Likewise.
11219 (test-xfail-XPG3/langinfo.h/conform): Likewise.
11220 (test-xfail-XPG3/limits.h/conform): Likewise.
11221 (test-xfail-XPG3/pwd.h/conform): Likewise.
11222 (test-xfail-XPG3/search.h/conform): Likewise.
11223 (test-xfail-XPG3/signal.h/conform): Likewise.
11224 (test-xfail-XPG3/stdio.h/conform): Likewise.
11225 (test-xfail-XPG3/stdlib.h/conform): Likewise.
11226 (test-xfail-XPG3/string.h/conform): Likewise.
11227 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11228 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11229 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11230 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11231 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11232 (test-xfail-XPG3/sys/types.h/conform): Likewise.
11233 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11234 (test-xfail-XPG3/termios.h/conform): Likewise.
11235 (test-xfail-XPG3/time.h/conform): Likewise.
11236 (test-xfail-XPG3/unistd.h/conform): Likewise.
11237 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11238 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11239 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11240 (test-xfail-XPG4/netdb.h/conform): Likewise.
11241 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11242 (test-xfail-XPG4/signal.h/conform): Likewise.
11243 (test-xfail-XPG4/stdio.h/conform): Likewise.
11244 (test-xfail-XPG4/stdlib.h/conform): Likewise.
11245 (test-xfail-XPG4/stropts.h/conform): Likewise.
11246 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11247 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11248 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11249 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11250 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11251 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11252 (test-xfail-XPG4/sys/time.h/conform): Likewise.
11253 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11254 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11255 (test-xfail-XPG4/termios.h/conform): Likewise.
11256 (test-xfail-XPG4/ucontext.h/conform): Likewise.
11257 (test-xfail-XPG4/unistd.h/conform): Likewise.
11258 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11259 (test-xfail-POSIX/sched.h/conform): Likewise.
11260 (test-xfail-POSIX/signal.h/conform): Likewise.
11261 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11262 (test-xfail-POSIX/tar.h/conform): Likewise.
11263 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11264 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11265 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11266 (test-xfail-UNIX98/netdb.h/conform): Likewise.
11267 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11268 (test-xfail-UNIX98/sched.h/conform): Likewise.
11269 (test-xfail-UNIX98/signal.h/conform): Likewise.
11270 (test-xfail-UNIX98/stdio.h/conform): Likewise.
11271 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11272 (test-xfail-UNIX98/stropts.h/conform): Likewise.
11273 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11274 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11275 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11276 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11277 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11278 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11279 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11280 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11281 (test-xfail-UNIX98/unistd.h/conform): Likewise.
11282 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11283 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11284 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11285 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11286 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11287 (test-xfail-XOPEN2K/math.h/conform): Likewise.
11288 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11289 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11290 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11291 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11292 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11293 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11294 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11295 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11296 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11297 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11298 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11299 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11300 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11301 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11302 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11303 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11304 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11305 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11306 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11307 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11308 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11309 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11310 (test-xfail-POSIX2008/signal.h/conform): Likewise.
11311 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11312 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11313 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11314 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11315 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11316 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11317 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11318 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11319 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11320 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11321 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11322 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11323 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11324 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11325 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11326 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11327 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11328 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11329 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11330 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11331 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11332 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11333 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11334 (conformtest-cc-flags): Likewise.
11335 ($(conformtest-header-tests): New target.
11336 * conform/check-header-lists.sh: New file.
11337 * conform/run-conformtest.sh: Remove.
11338
a00f522a
JM
11339 * conform/conformtest.pl: Allow ' and \ in values given for
11340 constants.
11341 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11342 inclusion.
11343 [POSIX] (sys/types.h): Likewise.
11344 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11345 inclusion.
11346 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11347 inclusion.
11348 * conform/data/signal.h-data (SIGIO): Remove expectation.
11349 [XPG3] (SIGBUS): Do not expect.
11350 [POSIX || XPG3] (SIGPOLL): Likewise.
11351 [POSIX || XPG3] (SIGPROF): Likewise.
11352 [POSIX || XPG3] (SIGSYS): Likewise.
11353 [XPG3] (SIGTRAP): Likewise.
11354 [POSIX || XPG3] (SIGURG): Likewise.
11355 [POSIX || XPG3] (SIGVTALRM): Likewise.
11356 [POSIX || XPG3] (SIGXCPU): Likewise.
11357 [POSIX || XPG3] (SIGXFSZ): Likewise.
11358 [POSIX] (SA_SIGINFO): Expect.
11359 [XPG3] (siginfo_t): Do not expect type or contents.
11360 [POSIX] (si_pid): Do not expect element.
11361 [POSIX] (si_uid): Likewise.
11362 [POSIX] (si_addr): Likewise.
11363 [POSIX] (si_status): Likewise.
11364 [POSIX] (si_band): Likewise.
11365 [XPG4] (si_value): Likewise.
11366 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11367 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11368 [POSIX || XPG3] (ILL_ILLADR): Likewise.
11369 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11370 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11371 [POSIX || XPG3] (ILL_PRVREG): Likewise.
11372 [POSIX || XPG3] (ILL_COPROC): Likewise.
11373 [POSIX || XPG3] (ILL_BADSTK): Likewise.
11374 [POSIX || XPG3] (FPE_INTDIV): Likewise.
11375 [POSIX || XPG3] (FPE_INTOVF): Likewise.
11376 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11377 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11378 [POSIX || XPG3] (FPE_FLTUND): Likewise.
11379 [POSIX || XPG3] (FPE_FLTRES): Likewise.
11380 [POSIX || XPG3] (FPE_FLTINV): Likewise.
11381 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11382 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11383 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11384 [POSIX || XPG3] (BUS_ADRALN): Likewise.
11385 [POSIX || XPG3] (BUS_ADRERR): Likewise.
11386 [POSIX || XPG3] (BUS_OBJERR): Likewise.
11387 [POSIX || XPG3] (CLD_EXITED): Likewise.
11388 [POSIX || XPG3] (CLD_KILLED): Likewise.
11389 [POSIX || XPG3] (CLD_DUMPED): Likewise.
11390 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11391 [POSIX || XPG3] (CLD_STOPPED): Likewise.
11392 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11393 [POSIX || XPG3] (POLL_IN): Likewise.
11394 [POSIX || XPG3] (POLL_OUT): Likewise.
11395 [POSIX || XPG3] (POLL_MSG): Likewise.
11396 [POSIX || XPG3] (POLL_ERR): Likewise.
11397 [POSIX || XPG3] (POLL_PRI): Likewise.
11398 [POSIX || XPG3] (POLL_HUP): Likewise.
11399 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11400 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11401 (SIG*): Do not allow.
11402 [XPG3] (si_*): Likewise.
11403 [XPG3] (SI_*): Likewise.
11404 [XPG3 || XPG4] (sigev_*): Likewise.
11405 [XPG3 || XPG4] (SIGEV_*): Likewise.
11406 [XPG3 || XPG4] (sival_*): Likewise.
11407 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11408 [POSIX || XPG3] (BUS_*): Likewise.
11409 [POSIX || XPG3] (CLD_*): Likewise.
11410 [POSIX || XPG3] (FPE_*): Likewise.
11411 [POSIX || XPG3] (ILL_*): Likewise.
11412 [POSIX || XPG3] (POLL_*): Likewise.
11413 [POSIX || XPG3] (SEGV_*): Likewise.
11414 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11415 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11416 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11417 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11418 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11419 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11420 Specify type and value.
11421 (TVERSLEN): Likewise.
11422 (REGTYPE): Likewise.
11423 (AREGTYPE): Likewise.
11424 (LNKTYPE): Likewise.
11425 (SYMTYPE): Likewise.
11426 (CHRTYPE): Likewise.
11427 (BLKTYPE): Likewise.
11428 (DIRTYPE): Likewise.
11429 (FIFOTYPE): Likewise.
11430 (CONTTYPE): Likewise.
11431 (TSUID): Likewise.
11432 (TSGID): Likewise.
11433 (TSVTX): Likewise.
11434 (TUREAD): Likewise.
11435 (TUWRITE): Likewise.
11436 (TUEXEC): Likewise.
11437 (TGREAD): Likewise.
11438 (TGWRITE): Likewise.
11439 (TGEXEC): Likewise.
11440 (TOREAD): Likewise.
11441 (TOWRITE): Likewise.
11442 (TOEXEC): Likewise.
11443 [POSIX] (TSVTX): Expect constant.
11444
aa97dee1
JM
114452014-03-06 Joseph Myers <joseph@codesourcery.com>
11446
f214606a
JM
11447 * Makefile (tests): Change dependencies to ....
11448 (tests-special): ... additions to this variable.
11449 (tests): Depend on $(tests-special).
11450 * Makerules (check-abi-list): New variable.
11451 (check-abi): Depend on $(check-abi-list).
11452 [$(subdir) = elf] (tests-special): Add
11453 $(objpfx)check-abi-libc.out.
11454 [$(build-shared) = yes && subdir] (tests-special): Add
11455 $(check-abi-list).
11456 [$(build-shared) = yes && subdir] (tests): Do not depend on
11457 check-abi.
11458 * Rules (tests): Depend on $(tests-special).
11459 (xtests): Depend on $(xtests-special).
11460 * catgets/Makefile (tests): Change dependencies to ....
11461 (tests-special): ... additions to this variable.
11462 * conform/Makefile (tests): Change dependencies to ....
11463 (tests-special): ... additions to this variable.
11464 * elf/Makefile (tests): Change dependencies to ....
11465 (tests-special): ... additions to this variable.
11466 * grp/Makefile (tests): Change dependencies to ....
11467 (tests-special): ... additions to this variable.
11468 * iconv/Makefile (xtests): Change dependencies to ....
11469 (xtests-special): ... additions to this variable.
11470 * iconvdata/Makefile (tests): Change dependencies to ....
11471 (tests-special): ... additions to this variable.
11472 * intl/Makefile (tests): Change dependencies to ....
11473 (tests-special): ... additions to this variable. Also add
11474 $(objpfx)tst-gettext.out.
11475 * io/Makefile (tests): Change dependencies to ....
11476 (tests-special): ... additions to this variable.
11477 * libio/Makefile (tests): Change dependencies to ....
11478 (tests-special): ... additions to this variable.
11479 * malloc/Makefile (tests): Change dependencies to ....
11480 (tests-special): ... additions to this variable.
11481 * misc/Makefile (tests): Change dependencies to ....
11482 (tests-special): ... additions to this variable.
11483 * nptl/Makefile (tests): Change dependencies to ....
11484 (tests-special): ... additions to this variable.
11485 * nptl_db/Makefile (tests): Change dependencies to ....
11486 (tests-special): ... additions to this variable.
11487 * posix/Makefile (tests): Change dependencies to ....
11488 (tests-special): ... additions to this variable.
11489 (xtests): Change dependencies to ....
11490 (xtests-special): ... additions to this variable.
11491 * resolv/Makefile (tests): Change dependencies to ....
11492 (tests-special): ... additions to this variable.
11493 (xtests): Change dependencies to ....
11494 (xtests-special): ... additions to this variable.
11495 * stdio-common/Makefile (tests): Change dependencies to ....
11496 (tests-special): ... additions to this variable.
11497 (do-tst-unbputc): Remove target.
11498 (do-tst-printf): Likewise.
11499 * stdlib/Makefile (tests): Change dependencies to ....
11500 (tests-special): ... additions to this variable.
11501 * string/Makefile (tests): Change dependencies to ....
11502 (tests-special): ... additions to this variable.
11503 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11504 (tests-special): ... additions to this variable.
11505
81700b53
JM
11506 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11507 whole file.
11508 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11509 whole file.
11510 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11511 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11512
2ea18461
JM
11513 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11514 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11515 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11516 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11517 * conform/data/libgen.h-data [XPG3]: Likewise.
11518 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11519 * conform/data/ndbm.h-data [XPG3]: Likewise.
11520 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11521 * conform/data/netdb.h-data [XPG3]: Likewise.
11522 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11523 * conform/data/poll.h-data [XPG3]: Likewise.
11524 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11525 * conform/data/strings.h-data [XPG3]: Likewise.
11526 * conform/data/stropts.h-data [XPG3]: Likewise.
11527 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11528 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11529 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11530 Likewise.
11531 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11532 * conform/data/sys/time.h-data [XPG3]: Likewise.
11533 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11534 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11535 * conform/data/sys/un.h-data [XPG3]: Likewise.
11536 * conform/data/syslog.h-data [XPG3]: Likewise.
11537 * conform/data/ucontext.h-data [XPG3]: Likewise.
11538 * conform/data/utmpx.h-data [XPG3]: Likewise.
11539 * conform/data/varargs.h-data [UNIX98]: Enable file.
11540
355bc986
JM
11541 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11542
215db402
JM
11543 * math/libm-test.inc (struct test_f_f_data): Move expected results
11544 into structure for each rounding mode.
11545 (struct test_ff_f_data): Likewise.
11546 (struct test_ff_f_data_nexttoward): Likewise.
11547 (struct test_fi_f_data): Likewise.
11548 (struct test_fl_f_data): Likewise.
11549 (struct test_if_f_data): Likewise.
11550 (struct test_fff_f_data): Likewise.
11551 (struct test_c_f_data): Likewise.
11552 (struct test_f_f1_data): Likewise.
11553 (struct test_fF_f1_data): Likewise.
11554 (struct test_ffI_f1_data): Likewise.
11555 (struct test_c_c_data): Likewise.
11556 (struct test_cc_c_data): Likewise.
11557 (struct test_f_i_data): Likewise.
11558 (struct test_ff_i_data): Likewise.
11559 (struct test_f_l_data): Likewise.
11560 (struct test_f_L_data): Likewise.
11561 (struct test_fFF_11_data): Likewise.
11562 (RM_): New macro.
11563 (RM_FE_DOWNWARD): Likewise.
11564 (RM_FE_TONEAREST): Likewise.
11565 (RM_FE_TOWARDZERO): Likewise.
11566 (RM_FE_UPWARD): Likewise.
11567 (RUN_TEST_LOOP_f_f): Update references to expected results.
11568 (RUN_TEST_LOOP_2_f): Likewise.
11569 (RUN_TEST_LOOP_fff_f): Likewise.
11570 (RUN_TEST_LOOP_c_f): Likewise.
11571 (RUN_TEST_LOOP_f_f1): Likewise.
11572 (RUN_TEST_LOOP_fF_f1): Likewise.
11573 (RUN_TEST_LOOP_fI_f1): Likewise.
11574 (RUN_TEST_LOOP_ffI_f1): Likewise.
11575 (RUN_TEST_LOOP_c_c): Likewise.
11576 (RUN_TEST_LOOP_cc_c): Likewise.
11577 (RUN_TEST_LOOP_f_i): Likewise.
11578 (RUN_TEST_LOOP_f_i_tg): Likewise.
11579 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11580 (RUN_TEST_LOOP_f_b): Likewise.
11581 (RUN_TEST_LOOP_f_b_tg): Likewise.
11582 (RUN_TEST_LOOP_f_l): Likewise.
11583 (RUN_TEST_LOOP_f_L): Likewise.
11584 (RUN_TEST_LOOP_fFF_11): Likewise.
11585 * math/gen-libm-test.pl (parse_args): Output four copies of
11586 expected results for each test.
11587
67737b8f
JM
11588 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11589 (__ASSUME_UTIMES): Remove.
11590 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11591 (__ASSUME_UTIMES): Likewise.
11592
aa97dee1
JM
11593 * math/gen-auto-libm-tests.c: Update comment on output format.
11594 (output_for_one_input_case): Generate before-rounding and
11595 after-rounding information as conditions on output flags not
11596 floating-point format.
11597 * math/auto-libm-test-out: Regenerated.
11598 * math/gen-libm-test.pl (cond_value): New function.
11599 (or_cond_value): Use cond_value.
11600 (generate_testfile): Handle conditional exceptions.
11601
e6b6a857
JM
116022014-03-05 Joseph Myers <joseph@codesourcery.com>
11603
2f0a0f44
JM
11604 * math/libm-test.inc (max_valid_error): New variable.
11605 (init_max_error): Take new argument specifying whether function
11606 results are exactly determined. Set max_valid_error and bound
11607 other variables for errors based on this argument.
11608 (set_max_error): Do not record results above max_valid_error.
11609 (check_float_internal): Only accept errors of up to 0.5ulps if
11610 also at most max_valid_error.
11611 (START): Take new argument EXACT and pass it to init_max_error.
11612 (acos_test): Update call to START.
11613 (acos_test_tonearest): Likewise.
11614 (acos_test_towardzero): Likewise.
11615 (acos_test_downward): Likewise.
11616 (acos_test_upward): Likewise.
11617 (acosh_test): Likewise.
11618 (asin_test): Likewise.
11619 (asin_test_tonearest): Likewise.
11620 (asin_test_towardzero): Likewise.
11621 (asin_test_downward): Likewise.
11622 (asin_test_upward): Likewise.
11623 (asinh_test): Likewise.
11624 (atan_test): Likewise.
11625 (atanh_test): Likewise.
11626 (atan2_test): Likewise.
11627 (cabs_test): Likewise.
11628 (cacos_test): Likewise.
11629 (cacosh_test): Likewise.
11630 (carg_test): Likewise.
11631 (casin_test): Likewise.
11632 (casinh_test): Likewise.
11633 (catan_test): Likewise.
11634 (catanh_test): Likewise.
11635 (cbrt_test): Likewise.
11636 (ccos_test): Likewise.
11637 (ccosh_test): Likewise.
11638 (ceil_test): Likewise.
11639 (cexp_test): Likewise.
11640 (cimag_test): Likewise.
11641 (clog_test): Likewise.
11642 (clog10_test): Likewise.
11643 (conj_test): Likewise.
11644 (copysign_test): Likewise.
11645 (cos_test): Likewise.
11646 (cos_test_tonearest): Likewise.
11647 (cos_test_towardzero): Likewise.
11648 (cos_test_downward): Likewise.
11649 (cos_test_upward): Likewise.
11650 (cosh_test): Likewise.
11651 (cosh_test_tonearest): Likewise.
11652 (cosh_test_towardzero): Likewise.
11653 (cosh_test_downward): Likewise.
11654 (cosh_test_upward): Likewise.
11655 (cpow_test): Likewise.
11656 (cproj_test): Likewise.
11657 (creal_test): Likewise.
11658 (csin_test): Likewise.
11659 (csinh_test): Likewise.
11660 (csqrt_test): Likewise.
11661 (ctan_test): Likewise.
11662 (ctan_test_tonearest): Likewise.
11663 (ctan_test_towardzero): Likewise.
11664 (ctan_test_downward): Likewise.
11665 (ctan_test_upward): Likewise.
11666 (ctanh_test): Likewise.
11667 (ctanh_test_tonearest): Likewise.
11668 (ctanh_test_towardzero): Likewise.
11669 (ctanh_test_downward): Likewise.
11670 (ctanh_test_upward): Likewise.
11671 (erf_test): Likewise.
11672 (erfc_test): Likewise.
11673 (exp_test): Likewise.
11674 (exp_test_tonearest): Likewise.
11675 (exp_test_towardzero): Likewise.
11676 (exp_test_downward): Likewise.
11677 (exp_test_upward): Likewise.
11678 (exp10_test): Likewise.
11679 (exp10_test_tonearest): Likewise.
11680 (exp10_test_towardzero): Likewise.
11681 (exp10_test_downward): Likewise.
11682 (exp10_test_upward): Likewise.
11683 (pow10_test): Likewise.
11684 (exp2_test): Likewise.
11685 (expm1_test): Likewise.
11686 (expm1_test_tonearest): Likewise.
11687 (expm1_test_towardzero): Likewise.
11688 (expm1_test_downward): Likewise.
11689 (expm1_test_upward): Likewise.
11690 (fabs_test): Likewise.
11691 (fdim_test): Likewise.
11692 (floor_test): Likewise.
11693 (fma_test): Likewise.
11694 (fma_test_towardzero): Likewise.
11695 (fma_test_downward): Likewise.
11696 (fma_test_upward): Likewise.
11697 (fmax_test): Likewise.
11698 (fmin_test): Likewise.
11699 (fmod_test): Likewise.
11700 (fpclassify_test): Likewise.
11701 (frexp_test): Likewise.
11702 (hypot_test): Likewise.
11703 (ilogb_test): Likewise.
11704 (isfinite_test): Likewise.
11705 (finite_test): Likewise.
11706 (isgreater_test): Likewise.
11707 (isgreaterequal_test): Likewise.
11708 (isinf_test): Likewise.
11709 (isless_test): Likewise.
11710 (islessequal_test): Likewise.
11711 (islessgreater_test): Likewise.
11712 (isnan_test): Likewise.
11713 (isnormal_test): Likewise.
11714 (issignaling_test): Likewise.
11715 (isunordered_test): Likewise.
11716 (j0_test): Likewise.
11717 (j1_test): Likewise.
11718 (jn_test): Likewise.
11719 (ldexp_test): Likewise.
11720 (lgamma_test): Likewise.
11721 (gamma_test): Likewise.
11722 (lrint_test): Likewise.
11723 (lrint_test_tonearest): Likewise.
11724 (lrint_test_towardzero): Likewise.
11725 (lrint_test_downward): Likewise.
11726 (lrint_test_upward): Likewise.
11727 (llrint_test): Likewise.
11728 (llrint_test_tonearest): Likewise.
11729 (llrint_test_towardzero): Likewise.
11730 (llrint_test_downward): Likewise.
11731 (llrint_test_upward): Likewise.
11732 (log_test): Likewise.
11733 (log10_test): Likewise.
11734 (log1p_test): Likewise.
11735 (log2_test): Likewise.
11736 (logb_test): Likewise.
11737 (logb_test_downward): Likewise.
11738 (lround_test): Likewise.
11739 (llround_test): Likewise.
11740 (modf_test): Likewise.
11741 (nearbyint_test): Likewise.
11742 (nextafter_test): Likewise.
11743 (nexttoward_test): Likewise.
11744 (pow_test): Likewise.
11745 (pow_test_tonearest): Likewise.
11746 (pow_test_towardzero): Likewise.
11747 (pow_test_downward): Likewise.
11748 (pow_test_upward): Likewise.
11749 (remainder_test): Likewise.
11750 (drem_test): Likewise.
11751 (remainder_test_tonearest): Likewise.
11752 (drem_test_tonearest): Likewise.
11753 (remainder_test_towardzero): Likewise.
11754 (drem_test_towardzero): Likewise.
11755 (remainder_test_downward): Likewise.
11756 (drem_test_downward): Likewise.
11757 (remainder_test_upward): Likewise.
11758 (drem_test_upward): Likewise.
11759 (remquo_test): Likewise.
11760 (rint_test): Likewise.
11761 (rint_test_tonearest): Likewise.
11762 (rint_test_towardzero): Likewise.
11763 (rint_test_downward): Likewise.
11764 (rint_test_upward): Likewise.
11765 (round_test): Likewise.
11766 (scalb_test): Likewise.
11767 (scalbn_test): Likewise.
11768 (scalbln_test): Likewise.
11769 (signbit_test): Likewise.
11770 (sin_test): Likewise.
11771 (sin_test_tonearest): Likewise.
11772 (sin_test_towardzero): Likewise.
11773 (sin_test_downward): Likewise.
11774 (sin_test_upward): Likewise.
11775 (sincos_test): Likewise.
11776 (sinh_test): Likewise.
11777 (sinh_test_tonearest): Likewise.
11778 (sinh_test_towardzero): Likewise.
11779 (sinh_test_downward): Likewise.
11780 (sinh_test_upward): Likewise.
11781 (sqrt_test): Likewise.
11782 (sqrt_test_tonearest): Likewise.
11783 (sqrt_test_towardzero): Likewise.
11784 (sqrt_test_downward): Likewise.
11785 (sqrt_test_upward): Likewise.
11786 (tan_test): Likewise.
11787 (tan_test_tonearest): Likewise.
11788 (tan_test_towardzero): Likewise.
11789 (tan_test_downward): Likewise.
11790 (tan_test_upward): Likewise.
11791 (tanh_test): Likewise.
11792 (tgamma_test): Likewise.
11793 (trunc_test): Likewise.
11794 (y0_test): Likewise.
11795 (y1_test): Likewise.
11796 (yn_test): Likewise.
11797 (significand_test): Likewise.
11798
e6b6a857
JM
11799 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11800 individual tests in comment.
11801 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11802 (prev_max_error): New variable.
11803 (prev_real_max_error): Likewise.
11804 (prev_imag_max_error): Likewise.
11805 (compare_ulp_data): Don't refer to test names in comment.
11806 (find_test_ulps): Remove function.
11807 (find_function_ulps): Likewise.
11808 (find_complex_function_ulps): Likewise.
11809 (init_max_error): Take function name as argument. Look up ulps
11810 for that function.
11811 (print_ulps): Remove function.
11812 (print_max_error): Use prev_max_error instead of calling
11813 find_function_ulps.
11814 (print_complex_max_error): Use prev_real_max_error and
11815 prev_imag_max_error instead of calling find_complex_function_ulps.
11816 (check_float_internal): Take max_ulp parameter instead of calling
11817 find_test_ulps. Don't call print_ulps.
11818 (check_float): Update call to check_float_internal.
11819 (check_complex): Update calls to check_float_internal.
11820 (START): Pass argument to init_max_error.
11821 * math/gen-libm-test.pl (%results): Don't include "kind"
11822 information.
11823 (parse_ulps): Don't handle ulps of individual tests.
11824 (print_ulps_file): Likewise.
11825 (output_ulps): Likewise.
11826 * math/README.libm-test: Update.
11827 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11828 individual tests.
11829 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11830 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11831 * sysdeps/arm/libm-test-ulps: Likewise.
11832 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11833 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11834 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11835 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11836 * sysdeps/microblaze/libm-test-ulps: Likewise.
11837 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11838 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11839 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11840 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11841 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11842 * sysdeps/sh/libm-test-ulps: Likewise.
11843 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11844 * sysdeps/tile/libm-test-ulps: Likewise.
11845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11846
45adef3c
JM
118472014-03-04 Joseph Myers <joseph@codesourcery.com>
11848
11849 * math/libm-test.inc (print_complex_max_error): Check separately
11850 whether real and imaginary errors are within allowed range and
11851 pass 0 to print_complex_function_ulps instead of value within
11852 allowed range.
11853
000232b9
SP
118542014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11855
d4b17258
SP
11856 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11857 formatting.
11858 (get_handles_fopen): Likewise.
11859 (do_write_test): Likewise.
11860
091eff71
SP
11861 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11862
fa3cd248
SP
11863 * libio/fileops.c (do_ftell): Use cached offset when
11864 available.
11865 * libio/iofwide.c (do_ftell_wide): Likewise.
11866 * libio/iofdopen.c (_IO_new_fdopen): Don't use
11867 _IO_file_attach.
11868 * libio/wfileops.c (_IO_fwide): Don't cache offset.
11869
000232b9
SP
11870 [BZ #16532]
11871 * libio/libioP.h (get_file_offset): New function.
11872 * libio/fileops.c (get_file_offset): Likewise.
11873 (do_ftell): Likewise.
11874 (_IO_new_file_seekoff): Split out ftell logic.
11875 * libio/wfileops.c (do_ftell_wide): Likewise.
11876 (_IO_wfile_seekoff): Split out ftell logic.
11877 * libio/tst-ftell-active-handler.c: New test case.
11878 * libio/Makefile (tests): Add it.
11879
116f4d1a
RM
118802014-03-03 Roland McGrath <roland@hack.frob.com>
11881
11882 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11883 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11884
532a6035
SP
118852014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11886
11887 [BZ #16639]
11888 * nscd/connections.c (nscd_init): Call do_exit.
11889 (start_threads): Call do_exit and notify_parent.
11890 (begin_drop_privileges): Call do_exit.
11891 (finish_drop_privileges): Likewise.
11892 * nscd/selinux.c (preserve_capabilities): Likewise.
11893 (install_real_capabilities): Likewise.
11894 (nscd_selinux_enabled): Likewise.
11895 (avc_create_thread): Likewise.
11896 (avc_alloc_lock): Likewise.
11897 (nscd_avc_init): Likewise.
11898 * nscd/nscd.c (parent_fd): New static variable.
11899 (main): Create a pipe between parent and child processes.
11900 Skip closing parent_fd.
11901 (monitor_child): New function.
11902 (do_exit): Likewise.
11903 (notify_parent): Likewise.
11904 * nscd/nscd.h (notify_parent): Likewise.
11905 (do_exit): Likewise.
11906
d6285c9f
CD
119072014-03-03 Carlos O'Donell <carlos@redhat.com>
11908
11909 * malloc/malloc.c (__libc_calloc): Revert last change.
11910
2b85d2a0
AZ
119112014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11912
11913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11914
c7debbdf
RS
119152014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11916
11917 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11918 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11919 implementation.
11920 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11921 (__libc_ifunc_impl_list): Likewise.
11922 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11923 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11924 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11925 * string/strrchr.c: Define STRRCHR.
11926
235eed86
OB
119272014-02-28 Ondřej Bílka <neleai@seznam.cz>
11928
11929 * benchtest/bench-strtok.c (simple_strtok): Delete.
11930 (strtok_string): Use as benchmark.
11931 * string/strtok (STRTOK): New macro.
11932
8e25d1e7
CD
119332014-02-28 Carlos O'Donell <carlos@redhat.com>
11934
ef563f92
CD
11935 * manual/threads.texi: Add header and standard comments to all
11936 functions.
11937
8e25d1e7
CD
11938 * elf/dl-lookup.c (check_match): New function.
11939 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11940 (do_lookup_x): Remove nested function check_match. Use non-nested
11941 function check_match.
11942
ff71cc37
RM
119432014-02-28 Roland McGrath <roland@hack.frob.com>
11944
f08e9a26
RM
11945 * csu/Makefile (generated, before-compile): Use += rather than =.
11946 * catgets/Makefile (generated, generated-dirs): Likewise.
11947 * debug/Makefile (generated): Likewise.
11948 * dlfcn/Makefile (generated): Likewise.
11949 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
11950 * iconvdata/Makefile (before-compile, generated): Likewise.
11951 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
11952 * libio/Makefile (generated): Likewise.
11953 * malloc/Makefile (generated): Likewise.
11954 * manual/Makefile (generated, generated-dirs): Likewise.
11955 * misc/Makefile (generated): Likewise.
11956 * posix/Makefile (generated): Likewise.
11957 * resolv/Makefile (generated): Likewise.
11958 * sunrpc/Makefile (generated, generated-dirs): Likewise.
11959 * timezone/Makefile (generated, generated-dirs): Likewise.
11960
ff71cc37
RM
11961 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
11962
fe13a20c
AZ
119632014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11964
57f41c40
AS
11965 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11966 power8 implementation.
11967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11968 file: POWER8 llround ifunc implementation.
11969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11970 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
11971 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11972 POWER8 llround implementation.
11973
57f41c40
AS
11974 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11975 power8 implementation.
11976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11977 file: POWER8 llrint ifunc implementation.
11978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11979 Add POWER8 implementation.
1ad8950a
AZ
11980 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11981 POWER8 llrint implementation.
11982
57f41c40
AS
11983 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11984 power8 implementation.
11985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11986 file: POWER8 finite ifunc implementation.
11987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11988 Add POWER8 implementation.
cac626d6
AZ
11989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11990 Likewise.
11991 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11992 POWER8 finite implementation.
11993 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11994
57f41c40
AS
11995 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11996 power8 implementation.
11997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11998 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
11999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
12000 POWER8 implementation.
12001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
12002 Likewise.
57f41c40
AS
12003 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
12004 isinf implementation.
4393fc11
AZ
12005 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
12006
57f41c40
AS
12007 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
12008 (INIT_ARCH): Add hwcap2 initialization.
12009 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12010 power8 implementation.
12011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
12012 file: POWER8 isnan ifunc implementation.
487972ae
AZ
12013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
12014 POWER8 implementation.
12015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
12016 Likewise.
57f41c40
AS
12017 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
12018 isnan implementation.
487972ae
AZ
12019 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
12020
7d92b787
JY
120212014-02-27 Joey Ye <joey.ye@arm.com>
12022
12023 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12024 (_FP_NANFRAC_Q): Set to zero.
12025
1cadc858
SP
120262014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12027
12028 [BZ #16623]
12029 * math/auto-libm-test-in: New test inputs.
12030 * math/auto-libm-test-out: Regenerate.
12031 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
12032 and DA.
12033 (__cos): Likewise.
12034 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12035
f8c17e79
JM
120362014-02-27 Joseph Myers <joseph@codesourcery.com>
12037
12038 * scripts/evaluate-test.sh: Take new argument indicating whether
12039 failure is expected.
12040 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
12041 indicating whether failure is expected.
12042 * conform/Makefile (test-xfail-run-conformtest): New variable.
12043 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
12044 level.
12045 * posix/Makefile (test-xfail-annexc): New variable.
12046 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
12047
a5f891ac
JM
120482014-02-26 Joseph Myers <joseph@codesourcery.com>
12049
12050 * argp/Makefile: Include Makeconfig immediately after defining
12051 subdir.
12052 * assert/Makefile: Likewise.
12053 * benchtests/Makefile: Likewise.
12054 * catgets/Makefile: Likewise.
12055 * conform/Makefile: Likewise.
12056 * crypt/Makefile: Likewise.
12057 * csu/Makefile: Likewise.
12058 (all): Remove target.
12059 * ctype/Makefile: Include Makeconfig immediately after defining
12060 subdir.
12061 * debug/Makefile: Likewise.
12062 * dirent/Makefile: Likewise.
12063 * dlfcn/Makefile: Likewise.
12064 * gmon/Makefile: Likewise.
12065 * gnulib/Makefile: Likewise.
12066 * grp/Makefile: Likewise.
12067 * gshadow/Makefile: Likewise.
12068 * hesiod/Makefile: Likewise.
12069 * hurd/Makefile: Likewise.
12070 (all): Remove target.
12071 * iconvdata/Makefile: Include Makeconfig immediately after
12072 defining subdir.
12073 * inet/Makefile: Likewise.
12074 * intl/Makefile: Likewise.
12075 * io/Makefile: Likewise.
12076 * libio/Makefile: Likewise.
12077 (all): Remove target.
12078 * locale/Makefile: Include Makeconfig immediately after defining
12079 subdir.
12080 * login/Makefile: Likewise.
12081 * mach/Makefile: Likewise.
12082 (all): Remove target.
12083 * malloc/Makefile: Include Makeconfig immediately after defining
12084 subdir.
12085 (all): Remove target.
12086 * manual/Makefile: Include Makeconfig immediately after defining
12087 subdir.
12088 * math/Makefile: Likewise.
12089 * misc/Makefile: Likewise.
12090 * nis/Makefile: Likewise.
12091 * nss/Makefile: Likewise.
12092 * po/Makefile: Likewise.
12093 (all): Remove target.
12094 * posix/Makefile: Include Makeconfig immediately after defining
12095 subdir.
12096 * pwd/Makefile: Likewise.
12097 * resolv/Makefile: Likewise.
12098 * resource/Makefile: Likewise.
12099 * rt/Makefile: Likewise.
12100 * setjmp/Makefile: Likewise.
12101 * shadow/Makefile: Likewise.
12102 * signal/Makefile: Likewise.
12103 * socket/Makefile: Likewise.
12104 * soft-fp/Makefile: Likewise.
12105 * stdio-common/Makefile: Likewise.
12106 * stdlib/Makefile: Likewise.
12107 * streams/Makefile: Likewise.
12108 * string/Makefile: Likewise.
12109 * sunrpc/Makefile: Likewise.
12110 (all): Remove target.
12111 * sysvipc/Makefile: Include Makeconfig immediately after defining
12112 subdir.
12113 * termios/Makefile: Likewise.
12114 * time/Makefile: Likewise.
12115 * timezone/Makefile: Likewise.
12116 (all): Remove target.
12117 * wcsmbs/Makefile: Include Makeconfig immediately after defining
12118 subdir.
12119 * wctype/Makefile: Likewise.
12120
5b456e9d
SE
121212014-02-26 Steve Ellcey <sellcey@mips.com>
12122
12123 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12124 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12125 (libc_feholdexcept_setround_mips): Ditto.
12126 (libc_feholdsetround): New.
12127 (libc_feholdsetroundf): New.
12128 (libc_feholdsetroundl): New.
12129 (libc_feupdateenv_test_mips): New.
12130 (libc_feupdateenv_test): New.
12131 (libc_feupdateenv_testf): New.
12132 (libc_feupdateenv_testl): New.
12133 (libc_feresetround): New.
12134 (libc_feresetroundf): New.
12135 (libc_feresetroundl): New.
12136 (libc_fetestexcept_mips): New.
12137 (libc_fetestexcept): New.
12138 (libc_fetestexceptf): New.
12139 (libc_fetestexceptl): New.
12140 (HAVE_RM_CTX): New.
12141 (libc_feholdexcept_setround_mips_ctx): New.
12142 (libc_feholdexcept_setround_ctx): New.
12143 (libc_feholdexcept_setroundf_ctx): New.
12144 (libc_feholdexcept_setroundl_ctx): New.
12145 (libc_fesetenv_mips_ctx): New.
12146 (libc_fesetenv_ctx): New.
12147 (libc_fesetenv_ctxf): New.
12148 (libc_fesetenv_ctxl): New.
12149 (libc_feupdateenv_mips_ctx): New.
12150 (libc_feupdateenv_ctx): New.
12151 (libc_feupdateenvf_ctx): New.
12152 (libc_feupdateenvl_ctx): New.
12153 (libc_feholdsetround_mips_ctx): New.
12154 (libc_feholdsetround_ctx): New.
12155 (libc_feholdsetroundf_ctx): New.
12156 (libc_feholdsetroundl_ctx): New.
12157 (libc_feresetround_mips_ctx): New.
12158 (libc_feresetround_ctx): New.
12159 (libc_feresetroundf_ctx): New.
12160 (libc_feresetroundl_ctx): New.
12161
085d0e35
CD
121622014-02-26 Carlos O'Donell <carlos@redhat.com>
12163
f067bf1f
CD
12164 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12165
085d0e35
CD
12166 * manual/ipc.texi: New file.
12167 * manual/Makefile (chapters): Add ipc.
12168 * manual/job.texi: Add "Inter-Process Communication" to next.
12169 * manual/process.texi: Add "Inter-Process Communication" to prev.
12170
86e58c08
AZ
121712014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12172
12173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12174
4248f0da
OB
121752014-02-26 Ondřej Bílka <neleai@seznam.cz>
12176
12177 * malloc/malloc.c (__libc_calloc): Simplify implementation.
12178
cf822e3c
OB
12179 * manual/arith.texi: Fix spaces after sentences.
12180 * manual/charset.texi: Likewise.
12181 * manual/errno.texi: Likewise.
12182 * manual/install.texi: Likewise.
12183 * manual/llio.texi: Likewise.
12184 * manual/locale.texi: Likewise.
12185 * manual/maint.texi: Likewise.
12186 * manual/math.texi: Likewise.
12187 * manual/memory.texi: Likewise.
12188 * manual/message.texi: Likewise.
12189 * manual/probes.texi: Likewise.
12190 * manual/resource.texi: Likewise.
12191 * manual/signal.texi: Likewise.
12192 * manual/socket.texi: Likewise.
12193 * manual/stdio.texi: Likewise.
12194 * manual/string.texi: Likewise.
12195 * manual/time.texi: Likewise.
12196 * manual/users.texi: Likewise.
12197
ade40b10
CD
121982014-02-25 Carlos O'Donell <carlos@redhat.com>
12199
12200 [BZ #16632]
12201 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12202 _DEFAULT_SOURCE is defined.
12203
d0503676
CD
122042014-02-25 Ulrich Drepper <drepper@gmail.com>
12205 Carlos O'Donell <carlos@redhat.com>
12206
12207 [BZ #16613]
12208 * elf/dl-tls.c (_dl_count_modids): New function.
12209 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12210 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12211 audit library and increment generation counter.
12212 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12213 * elf/tst-audit9.c: New file.
12214 * elf/tst-auditmod9a.c: New file.
12215 * elf/tst-auditmod9b.c: New file.
12216 * elf/Makefile: Add rules to build and run tst-audit9.
12217
4cbf380c
FW
122182014-02-25 Florian Weimer <fweimer@redhat.com>
12219
12220 [BZ #15347]
12221 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12222
80a56cc3
WN
122232014-02-25 Will Newton <will.newton@linaro.org>
12224
12225 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12226 (__longjmp): Restore sp and lr before restoring callee
12227 saved registers. Add longjmp and longjmp_target
12228 SystemTap probe point.
12229 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12230 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12231 Define to zero to match jmpbuf layout.
12232 * sysdeps/arm/setjmp.S: Include stap-probe.h.
12233 (__sigsetjmp): Save sp and lr before saving callee
12234 saved registers. Add setjmp SystemTap probe point.
12235
3ea0f74e
SL
122362014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12237
12238 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12239
b04acb26
AS
122402014-02-24 Andreas Schwab <schwab@suse.de>
12241
12242 [BZ #15804]
12243 * elf/pldd.c (wait_for_ptrace_stop): New function.
12244 (main): Call it after attaching.
12245
098ad55c
RM
122462014-02-22 Roland McGrath <roland@hack.frob.com>
12247
d4ec6ae1
RM
12248 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12249 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12250 Versions files is now verboten.
12251 * hurd/Versions (libc: GLIBC_2.0):
12252 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12253 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12254 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12255 * mach/Versions: Likewise.
12256
098ad55c
RM
12257 * csu/Versions: Remove unused %include.
12258 * resolv/Versions: Likewise.
12259
acd7f096
JM
122602014-02-21 Joseph Myers <joseph@codesourcery.com>
12261
f0881698
JM
12262 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12263 ($(objpfx)check-local-headers.out): Likewise.
12264 ($(objpfx)begin-end-check.out): Likewise.
12265 * Makerules (check-abi-%.out): Likewise.
12266 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12267 ($(objpfx)test2.cat): Likewise.
12268 ($(objpfx)de/libc.cat): Likewise.
12269 ($(objpfx)test-gencat.out): Likewise.
12270 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12271 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12272 ($(objpfx)noload-mem): Likewise.
12273 ($(objpfx)tst-pathopt.out): Likewise.
12274 ($(objpfx)tst-rtld-load-self.out): Likewise.
12275 ($(objpfx)tst-array1-cmp.out): Likewise.
12276 ($(objpfx)tst-array1-static-cmp.out): Likewise.
12277 ($(objpfx)tst-array2-cmp.out): Likewise.
12278 ($(objpfx)tst-array3-cmp.out): Likewise.
12279 ($(objpfx)tst-array4-cmp.out): Likewise.
12280 ($(objpfx)tst-array5-cmp.out): Likewise.
12281 ($(objpfx)tst-array5-static-cmp.out): Likewise.
12282 ($(objpfx)check-textrel.out): Likewise.
12283 ($(objpfx)check-execstack.out): Likewise.
12284 ($(objpfx)check-localplt.out): Likewise.
12285 ($(objpfx)order2-cmp.out): Likewise.
12286 ($(objpfx)tst-leaks1-mem): Likewise.
12287 ($(objpfx)tst-leaks1-static-mem): Likewise.
12288 ($(objpfx)tst-initorder-cmp.out): Likewise.
12289 ($(objpfx)tst-initorder2-cmp.out): Likewise.
12290 ($(objpfx)tst-unused-dep.out): Likewise.
12291 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12292 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12293 * iconv/Makefile (test-iconvconfig): Likewise.
12294 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12295 ($(objpfx)iconv-test.out): Likewise.
12296 ($(objpfx)tst-tables.out): Likewise.
12297 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12298 ($(objpfx)tst-gettext.out): Likewise.
12299 ($(objpfx)tst-translit.out): Likewise.
12300 ($(objpfx)tst-gettext2.out): Likewise.
12301 ($(objpfx)tst-gettext4.out): Likewise.
12302 ($(objpfx)tst-gettext6.out): Likewise.
12303 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12304 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12305 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12306 ($(objpfx)tst-fopenloc-mem.out): Likewise.
12307 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12308 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12309 * posix/Makefile ($(objpfx)globtest.out): Likewise.
12310 ($(objpfx)wordexp-tst.out): Likewise.
12311 ($(objpfx)annexc.out): Likewise.
12312 ($(objpfx)tst-fnmatch-mem): Likewise.
12313 ($(objpfx)bug-regex2-mem): Likewise.
12314 ($(objpfx)bug-regex14-mem): Likewise.
12315 ($(objpfx)bug-regex21-mem): Likewise.
12316 ($(objpfx)bug-regex31-mem): Likewise.
12317 ($(objpfx)tst-vfork3-mem): Likewise.
12318 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12319 ($(objpfx)tst-pcre-mem): Likewise.
12320 ($(objpfx)tst-boost-mem): Likewise.
12321 ($(objpfx)tst-getconf.out): Likewise.
12322 ($(objpfx)bug-ga2-mem): Likewise.
12323 ($(objpfx)bug-glob2-mem): Likewise.
12324 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12325 ($(objpfx)mtrace-tst-leaks2): Likewise.
12326 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12327 ($(objpfx)tst-printf.out): Likewise.
12328 ($(objpfx)tst-setvbuf1.out): Likewise.
12329 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12330 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12331 ($(objpfx)tst-fmtmsg.out): Likewise.
12332 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12333 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12334
acd7f096
JM
12335 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12336 * bits/sigaction.h [__USE_MISC]: Likewise.
12337 * bits/waitstatus.h: Update #endif comments.
12338 * ctype/ctype.h: Likewise.
12339 * dirent/dirent.h: Likewise.
12340 [__USE_MISC]: Remove redundant conditionals.
12341 * grp/grp.h: Update #endif comments.
12342 [__USE_GNU]: Remove redundant conditionals.
12343 [__USE_MISC]: Likewise.
12344 * inet/netinet/in.h [__USE_GNU]: Likewise.
12345 * io/sys/stat.h [__USE_MISC]: Likewise.
12346 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12347 * libio/bits/stdio.h: Update #endif comments.
12348 [__USE_MISC]: Remove redundant conditionals.
12349 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12350 * libio/stdio.h: Update #endif comments.
12351 [__USE_MISC]: Remove redundant conditionals.
12352 * math/bits/math-finite.h [__USE_MISC]: Likewise.
12353 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12354 * math/math.h: Update #else and #endif comments.
12355 [__USE_MISC]: Remove redundant conditionals.
12356 * misc/sys/uio.h: Update #endif comments.
12357 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12358 * posix/glob.h [__USE_MISC]: Likewise.
12359 * posix/sys/types.h: Update #endif comments.
12360 [__USE_MISC]: Remove redundant conditionals.
12361 * posix/sys/wait.h: Update #endif comments.
12362 [__USE_MISC]: Remove redundant conditionals.
12363 * posix/unistd.h: Update #endif comments.
12364 [__USE_MISC]: Remove redundant conditionals.
12365 * pwd/pwd.h [__USE_GNU]: Likewise.
12366 [__USE_MISC]: Likewise.
12367 * resolv/netdb.h [__USE_GNU]: Likewise.
12368 * signal/signal.h: Update #endif comments.
12369 [__USE_MISC]: Remove redundant conditionals.
12370 * stdlib/stdlib.h: Update #else and #endif comments.
12371 [__USE_MISC]: Remove redundant conditionals.
12372 [__USE_GNU]: Likewise.
12373 * string/bits/string2.h [__USE_MISC]: Likewise.
12374 * string/string.h: Update #endif comments.
12375 [__USE_MISC]: Remove redundant conditionals.
12376 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12377 Likewise.
12378 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12379 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12380 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12381 Likewise.
12382 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12383 Likewise.
12384 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12385 comments.
12386 [__USE_MISC]: Remove redundant conditionals.
12387 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12388 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12389 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12390 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12391 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12392 Likewise.
12393 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12394 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12395 Likewise.
12396 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12397 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12398 Likewise.
12399 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12400 Likewise.
12401 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12402 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12403 Likewise.
12404 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12405 Likewise.
12406 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12407 * sysdeps/x86/bits/string.h: Update #endif comments.
12408 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12409 conditionals.
12410 * time/sys/time.h: Update #endif comments.
12411 * time/time.h: Likewise.
12412 [__USE_MISC]: Remove redundant conditionals.
12413
a5d82e4e
YG
124142014-02-21 Yury Gribov <y.gribov@samsung.com>
12415
12416 [BZ #16600]
12417 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12418
9a80491d
AS
124192014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12420
12421 * Versions.def (librt): Add GLIBC_2.17.
12422
105fa381
AC
124232014-02-21 Adam Conrad <adconrad@0c3.net>
12424
12425 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12426 synonym for _SYS_AUXV_H to allow direct inclusion.
12427 * sysdeps/sparc/bits/hwcap.h: Likewise.
12428 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12429 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12430 * sysdeps/sparc/sysdep.h: Likewise.
12431
b8cd1c4e
SP
124322014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12433
12434 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12435
bd939d23
RS
124362014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12437
12438 * benchtests/bench-strrchr.c: Print length instead of position.
12439
5d7b57ca
JM
124402014-02-20 Joseph Myers <joseph@codesourcery.com>
12441
bc688c10
JM
12442 [BZ #16611]
12443 * sysdeps/unix/sysv/linux/kernel-features.h
12444 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12445 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12446 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12447 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12448 Likewise.
12449 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12450 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12451 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12452 (__ASSUME_SENDMMSG): Define instead of using previous
12453 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12454 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12455 (__ASSUME_SENDMMSG_SYSCALL): Define.
12456 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12457 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12458 Likewise.
12459 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12460 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12461 Likewise.
12462 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12463 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12464 Likewise.
12465 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12466 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12467 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12468 [__ASSUME_SENDMMSG]: Change conditionals to
12469 [__ASSUME_SENDMMSG_SOCKETCALL].
12470 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12471 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12472 Define.
12473 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12474 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12475 Likewise.
12476 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12477 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12478 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12479 [!__ASSUME_SENDMMSG]: Change conditional to
12480 [!__ASSUME_SENDMMSG_SOCKETCALL].
12481 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12482 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12483 Define.
12484
0e31b18c
JM
12485 [BZ #16610]
12486 * sysdeps/unix/sysv/linux/kernel-features.h
12487 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12488 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12489 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12490 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12491 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12492 [__i386__ || __sparc__]
12493 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12494 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12495 (__ASSUME_RECVMMSG): Define instead of using previous
12496 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12497 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12498 (__ASSUME_RECVMMSG_SYSCALL): Define.
12499 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12500 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12501 Likewise.
12502 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12503 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12504 Likewise.
12505 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12506 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12507 Likewise.
12508 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12509 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12510 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12511 [__ASSUME_RECVMMSG]: Change condition to
12512 [__ASSUME_RECVMMSG_SOCKETCALL].
12513 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12514 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12515 Define.
12516 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12517 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12518 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12519 Likewise.
12520 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12521 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12522 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12523 [!__ASSUME_RECVMMSG]: Change condition to
12524 [!__ASSUME_RECVMMSG_SOCKETCALL].
12525 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12526 (__ASSUME_RECVMMSG_SYSCALL): Define.
12527
dd481ccf
JM
12528 [BZ #16609]
12529 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12530 __powerpc__ || __s390__ || __sh__ || __sparc__]
12531 (__ASSUME_SOCKETCALL): Define.
12532 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12533 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12534 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12535 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12536 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12537 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12538 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12539 (__ASSUME_ACCEPT4): Define instead of using previous
12540 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12541 __powerpc__ || __sparc__ || __s390__)] condition.
12542 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12543 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12544 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12545 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12546 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12547 [!__ASSUME_ACCEPT4]: Change condition to
12548 [!__ASSUME_ACCEPT4_SOCKETCALL].
12549 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12550 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12551 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12552 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12553 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12554 __ASSUME_ACCEPT4_SYSCALL.
12555 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12556 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12557 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12558 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12559 __ASSUME_ACCEPT4_SYSCALL.
12560 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12561 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12562 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12563 [__ASSUME_ACCEPT4]: Change condition to
12564 [__ASSUME_ACCEPT4_SOCKETCALL].
12565 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12566 (__ASSUME_SOCKETCALL): Define.
12567 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12568 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12569 (__ASSUME_SOCKETCALL): Define.
12570 (__ASSUME_ACCEPT4): Remove.
12571 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12572 Define.
12573 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12574 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12575 Likewise.
12576 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12577 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12578
5d7b57ca
JM
12579 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12580 macro.
12581 (HWCAP_ARM_LPAE): Likewise.
12582 (HWCAP_ARM_EVTSTRM): Likewise.
12583 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12584 Add vpfd32, lpae and evtstrm.
12585 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12586 Increase to 22.
12587
63689d61
JM
125882014-02-19 Joseph Myers <joseph@codesourcery.com>
12589
12590 * math/auto-libm-test-in: Add tests of clog10.
12591 * math/auto-libm-test-out: Regenerated.
12592 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12593 * sysdeps/i386/fpu/libm-test-ulps: Update.
12594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12595
ab09bf61
AS
125962014-02-18 Andreas Schwab <schwab@suse.de>
12597
12598 [BZ #16574]
12599 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12600 Store non-zero if the second buffer was newly allocated.
12601 (send_dg): Likewise.
12602 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12603 to send_vc and send_dg.
12604 (res_nsend): Pass NULL for ansp2_malloced.
12605 * resolv/res_query.c (__libc_res_nquery): Add parameter
12606 answerp2_malloced and pass it down to __libc_res_nsend.
12607 (res_nquery): Pass additional NULL to __libc_res_nquery.
12608 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12609 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
12610 second answer buffer if answerp2_malloced was set.
12611 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12612 (__libc_res_nquerydomain): Add parameter
12613 answerp2_malloced and pass it down to __libc_res_nquery.
12614 (res_nquerydomain): Pass additional NULL to
12615 __libc_res_nquerydomain.
12616 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12617 additional NULL to __libc_res_nsend and __libc_res_nquery.
12618 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12619 additional NULL to __libc_res_nsearch.
12620 (_nss_dns_gethostbyname4_r): Revert last change. Use new
12621 parameter of __libc_res_nsearch to check for separately allocated
12622 second buffer.
12623 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12624 __libc_res_nquery.
12625 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12626 additional NULL to __libc_res_nquery.
12627 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12628 __libc_res_nsearch.
12629 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12630 * include/resolv.h: Update prototypes of __libc_res_nquery,
12631 __libc_res_nsearch, __libc_res_nsend.
12632
a4fb7861
JM
126332014-02-18 Joseph Myers <joseph@codesourcery.com>
12634
c6af2d89
JM
12635 * math/auto-libm-test-in: Add tests of fma.
12636 * math/auto-libm-test-out: Regenerated.
12637 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12638 (fma_towardzero_test_data): Likewise.
12639 (fma_downward_test_data): Likewise.
12640 (fma_upward_test_data): Likewise.
12641 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12642 mpc_mode.
12643 (rounding_modes): Add values for new field.
12644 (func_calc_method): Add value mpfr_fff_f.
12645 (func_calc_desc): Add mpfr_fff_f union field.
12646 (test_function): Add field exact_args.
12647 (FUNC): Add macro argument EXACT_ARGS.
12648 (FUNC_mpfr_f_f): Update call to FUNC.
12649 (FUNC_mpfr_f_f): Likewise.
12650 (FUNC_mpfr_ff_f): Likewise.
12651 (FUNC_mpfr_if_f): Likewise.
12652 (FUNC_mpc_c_f): Likewise.
12653 (FUNC_mpc_c_c): Likewise.
12654 (test_functions): Add fma. Update calls to FUNC.
12655 (handle_input_arg): Add argument exact_args.
12656 (add_test): Update call to handle_input_arg.
12657 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
12658 (output_for_one_input_case): Update call to calc_generic_results.
12659 Recalculate exact zero results in each rounding mode.
12660
a4fb7861
JM
12661 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12662 non-negative before setting low bit.
12663 * math/auto-libm-test-in: Mark one asin test possibly having
12664 spurious underflow.
12665 * math/auto-libm-test-out: Regenerated.
12666 * sysdeps/i386/fpu/libm-test-ulps: Update.
12667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12668
ef114eaf
DH
126692014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
12670
2b7f4f2c
SP
12671 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12672 * sysdeps/unix/sysv/linux/microblaze: Move directory from
12673 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
12674 * README: Add missing listing for microblaze*-*-linux-gnu.
12675
8125aedc
AM
126762014-02-16 Ondřej Bílka <neleai@seznam.cz>
12677
12678 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12679 duplicate code
12680
c70a4b1d
MF
126812014-02-16 Mike Frysinger <vapier@gentoo.org>
12682
12683 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12684 * sysdeps/unix/sysv/linux/ia64: Move directory from
12685 ports/sysdeps/unix/sysv/linux/ia64.
12686 * README: Update listing for ia64-*-linux-gnu.
12687
591aeaf7
TD
126882014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
12689 Joseph Myers <joseph@codesourcery.com>
12690
12691 * Makeconfig (test-name): New variable.
12692 (evaluate-test): Likewise.
12693 * Makerules (do-test-clean): Remove .test-result files.
12694 (common-mostlyclean): Likewise.
12695 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12696 * scripts/evaluate-test.sh: New file.
12697
6e89caf1
JM
126982014-02-14 Joseph Myers <joseph@codesourcery.com>
12699
7f98f180
JM
12700 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12701 separate $(objpfx)tst-fopenloc-cmp.out and
12702 $(objpfx)tst-fopenloc-mem.out targets.
12703 (tests): Update dependencies.
12704 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12705 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12706 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12707 (tst-rxspencer-no-utf8-ARGS): New variable.
12708 (tst-rxspencer-no-utf8-ENV): Likewise.
12709 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12710 instead of $(objpfx)tst-rxspencer-mem.
12711 ($(objpfx)tst-rxspencer-mem): Change target to
12712 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
12713 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12714 * posix/tst-rxspencer-no-utf8.c: New file.
12715
6e89caf1
JM
12716 * elf/Makefile ($(objpfx)order.out): Remove rule.
12717 [$(run-built-tests) = yes] (tests): Depend on
12718 $(objpfx)order-cmp.out.
12719 ($(objpfx)order-cmp.out): New rule.
12720 [$(run-built-tests) = yes] (tests): Depend on
12721 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12722 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12723 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12724 $(objpfx)tst-array5-static-cmp.out.
12725 ($(objpfx)tst-array1.out): Remove rule.
12726 ($(objpfx)tst-array1-cmp.out): New rule.
12727 ($(objpfx)tst-array1-static.out): Remove rule.
12728 ($(objpfx)tst-array1-static-cmp.out): New rule.
12729 ($(objpfx)tst-array2.out): Remove rule.
12730 ($(objpfx)tst-array2-cmp.out): New rule.
12731 ($(objpfx)tst-array3.out): Remove rule.
12732 ($(objpfx)tst-array3-cmp.out): New rule.
12733 ($(objpfx)tst-array4.out): Remove rule.
12734 ($(objpfx)tst-array4-cmp.out): New rule.
12735 ($(objpfx)tst-array5.out): Remove rule.
12736 ($(objpfx)tst-array5-cmp.out): New rule.
12737 ($(objpfx)tst-array5-static.out): Remove rule.
12738 ($(objpfx)tst-array5-static-cmp.out): New rule.
12739 [$(run-built-tests) = yes] (tests): Depend on
12740 $(objpfx)order2-cmp.out.
12741 ($(objpfx)order2.out): Remove rule.
12742 ($(objpfx)order2-cmp.out): New rule.
12743 ($(objpfx)tst-initorder.out): Remove rule.
12744 [$(run-built-tests) = yes] (tests): Depend on
12745 $(objpfx)tst-initorder-cmp.out.
12746 ($(objpfx)tst-initorder-cmp.out): New rule.
12747 ($(objpfx)tst-initorder2.out): Remove rule.
12748 [$(run-built-tests) = yes] (tests): Depend on
12749 $(objpfx)tst-initorder2-cmp.out.
12750 ($(objpfx)tst-initorder2-cmp.out): New rule.
12751 [$(run-built-tests) = yes] (tests): Depend on
12752 $(objpfx)tst-unused-dep-cmp.out.
12753 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12754 ($(objpfx)tst-unused-dep-cmp.out): New rule.
12755 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12756 on $(objpfx)tst-setvbuf1-cmp.out.
12757 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12758 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12759 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12760 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12761 ($(objpfx)tst-svc.out): Remove rule.
12762 ($(objpfx)tst-svc-cmp.out): New rule.
12763
ed9a38e2
JM
127642014-02-13 Joseph Myers <joseph@codesourcery.com>
12765
12766 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12767 * ctype/ctype.h [__USE_MISC]: Likewise.
12768 * dirent/dirent.h [__USE_MISC]: Likewise.
12769 * grp/grp.h [__USE_MISC]: Likewise.
12770 * io/fcntl.h [__USE_MISC]: Likewise.
12771 * io/sys/stat.h [__USE_MISC]: Likewise.
12772 * libio/stdio.h [__USE_MISC]: Likewise.
12773 * posix/unistd.h [__USE_MISC]: Likewise.
12774 * pwd/pwd.h [__USE_MISC]: Likewise.
12775 * stdlib.h [__USE_MISC]: Likewise.
12776 * string/bits/string2.h [__USE_MISC]: Likewise.
12777 * string/string.h [__USE_MISC]: Likewise.
12778 * time/time.h [__USE_MISC]: Likewise.
12779
d6680619
AS
127802014-02-13 Andreas Schwab <schwab@suse.de>
12781
12782 [BZ #16574]
12783 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12784 second answer buffer if it was separately allocated.
12785
ace614b8
JM
127862014-02-12 Joseph Myers <joseph@codesourcery.com>
12787
743151ae
JM
12788 * sysdeps/mips/math-tests.h: Include <features.h>.
12789 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12790 (ROUNDING_TESTS_long_double): Do not define.
12791 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12792 (EXCEPTION_TESTS_long_double): Likewise.
12793 * sysdeps/mips/mips64/libm-test-ulps: Update.
12794
498afc54
JM
12795 * include/features.h (__USE_BSD): Remove macro definitions.
12796 (__USE_SVID): Likewise.
12797 (_BSD_SOURCE): Likewise.
12798 (_SVID_SOURCE): Likewise.
12799 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12800 from definition of _DEFAULT_SOURCE.
12801 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12802 [_DEFAULT_SOURCE].
12803 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12804 * bits/mman.h [__USE_BSD]: Likewise.
12805 * bits/termios.h [__USE_BSD]: Likewise.
12806 * bits/waitstatus.h [__USE_BSD]: Likewise.
12807 * ctype/ctype.h [__USE_SVID]: Likewise.
12808 * dirent/dirent.h [__USE_BSD]: Likewise.
12809 * grp/grp.h [__USE_SVID]: Likewise.
12810 [__USE_BSD]: Likewise.
12811 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12812 * io/fcntl.h [__USE_BSD]: Likewise.
12813 * io/ftw.h [__USE_BSD]: Likewise.
12814 * io/sys/stat.h [__USE_BSD]: Likewise.
12815 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12816 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12817 * libio/stdio.h [__USE_SVID]: Likewise.
12818 [__USE_BSD]: Likewise.
12819 * math/math.h [__USE_SVID]: Likewise.
12820 [__USE_BSD]: Likewise.
12821 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12822 * misc/bits/syslog.h [__USE_BSD]: Likewise.
12823 * misc/search.h [__USE_SVID]: Likewise.
12824 * misc/sys/mman.h [__USE_BSD]: Likewise.
12825 * misc/sys/syslog.h [__USE_BSD]: Likewise.
12826 * misc/sys/uio.h [__USE_BSD]: Likewise.
12827 * posix/bits/unistd.h [__USE_BSD]: Likewise.
12828 * posix/glob.h [__USE_BSD]: Likewise.
12829 * posix/regex.h [__USE_BSD]: Likewise.
12830 * posix/sys/types.h [__USE_BSD]: Likewise.
12831 [__USE_SVID]: Likewise.
12832 * posix/sys/utsname.h [__USE_SVID]: Likewise.
12833 * posix/sys/wait.h [__USE_BSD]: Likewise.
12834 [__USE_SVID]: Likewise.
12835 * posix/unistd.h [__USE_BSD]: Likewise.
12836 [__USE_SVID]: Likewise.
12837 * pwd/pwd.h [__USE_SVID]: Likewise.
12838 * resolv/netdb.h [__USE_BSD]: Likewise.
12839 * setjmp/setjmp.h [__USE_BSD]: Likewise.
12840 * signal/signal.h [__USE_BSD]: Likewise.
12841 [__USE_SVID]: Likewise.
12842 * socket/sys/socket.h [__USE_BSD]: Likewise.
12843 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12844 * stdlib/stdlib.h [__USE_BSD]: Likewise.
12845 [__USE_SVID]: Likewise.
12846 * string/bits/string2.h [__USE_BSD]: Likewise.
12847 [__USE_SVID]: Likewise.
12848 * string/bits/string3.h [__USE_BSD]: Likewise.
12849 * string/endian.h [__USE_BSD]: Likewise.
12850 * string/string.h [__USE_SVID]: Likewise.
12851 [__USE_BSD]: Likewise.
12852 * string/strings.h [__USE_BSD]: Likewise.
12853 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12854 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12855 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12856 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12857 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12858 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12859 Likewise.
12860 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12861 Likewise.
12862 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12863 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12864 Likewise.
12865 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12866 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12867 Likewise.
12868 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12869 Likewise.
12870 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12871 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12872 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12873 Likewise.
12874 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12875 Likewise.
12876 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12877 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12878 * termios/termios.h [__USE_BSD]: Likewise.
12879 * time/sys/time.h [__USE_BSD]: Likewise.
12880 * time/time.h [__USE_BSD]: Likewise.
12881 [__USE_SVID]: Likewise.
12882
dd7b064c
JM
12883 * Makefile (subdir_targets): Remove subdir_lint.out.
12884
a2c4c199
JM
12885 * stdio-common/Makefile (do-tst-unbputc): Remove target.
12886 (do-tst-printf): Likewise.
12887 (tests): Depend directly on $(objpfx)tst-unbputc.out and
12888 $(objpfx)tst-printf.out.
12889
8756f740
JM
12890 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12891
1b6dd3f1
JM
12892 * Makerules (check-abi-%): Change target to
12893 $(objpfx)check-abi-%.out.
12894 (check-abi target): Update dependencies.
12895 (check-abi-pattern variable): Redirect output of diff to $@.
12896 (check-abi variable): Likewise.
12897 * elf/Makefile (check-abi): Update dependencies.
12898
ace614b8
JM
12899 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12900 unused.
12901 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12902 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12903 subnormal range.
12904 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12905 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12906 value has largest subnormal exponent.
12907 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12908 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12909 * sysdeps/aarch64/soft-fp/sfp-machine.h
12910 (_FP_TININESS_AFTER_ROUNDING): New macro.
12911 * sysdeps/alpha/soft-fp/sfp-machine.h
12912 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12913 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12914 Likewise.
12915 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12916 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12917 * sysdeps/mips/soft-fp/sfp-machine.h
12918 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12919 * sysdeps/powerpc/soft-fp/sfp-machine.h
12920 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12921 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12922 Likewise.
12923 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12924 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12925 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12926 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12927 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12928 Likewise.
12929
fbfdf9cb
DAS
129302014-02-12 Dylan Alex Simon <dylan@dylex.net>
12931
12932 [BZ #16545]
12933 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12934 model 1.
12935
68b7efaa
RH
129362014-02-12 Richard Henderson <rth@redhat.com>
12937
c70a4b1d 12938 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
12939 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12940 * sysdeps/unix/sysv/linux/alpha: Move directory from
12941 ports/sysdeps/unix/sysv/linux/alpha.
12942 * README: Update listing for alpha-*-linux-gnu.
12943
cb4a2928
JM
129442014-02-11 Joseph Myers <joseph@codesourcery.com>
12945
c941736c
JM
12946 * include/features.h: Update comment documenting feature test
12947 macros.
12948 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
12949 _DEFAULT_SOURCE.
12950 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
12951 (_SVID_SOURCE): Likewise.
12952 (_DEFAULT_SOURCE): Update description of default features.
12953 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12954 with _GNU_SOURCE.
12955 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
12956 (S_ISVTX): Likewise.
12957 * manual/math.texi (Mathematical Constants): Likewise.
12958 * manual/signal.texi (Interrupted Primitives): Likewise.
12959 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
12960 * math/test-matherr.c (_SVID_SOURCE): Do not define.
12961 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
12962 Don't refer to _SVID_SOURCE in warning text.
12963
e8d8d7ec
JM
12964 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12965
cb4a2928
JM
12966 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12967 already defined.
12968 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12969 * sysdeps/mips/dl-lookup.c: Remove.
12970 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12971
7e6424e3
AK
129722014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12973
12974 [BZ #16447]
12975 * math/auto-libm-test-in: Add testcase for expl.
12976 * math/auto-libm-test-out: Regenerate.
12977 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12978 calculation of unsafe.
12979 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12980
75eff3fe
MS
129812014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
12982
12983 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12984 * sysdeps/unix/sysv/linux/aarch64: Move directory from
12985 ports/sysdeps/unix/sysv/linux/aarch64.
12986 * README: Update listing for aarch64*-*-linux-gnu.
12987
d35f1e80
WN
129882014-02-11 Will Newton <will.newton@linaro.org>
12989
12990 * manual/probes.texi (Mathematical Function Probes): Use
12991 "triggered" instead of "hit".
12992
7b3436d4
WN
12993 * manual/probes.texi (Internal Probes): Add documentation
12994 of setjmp, longjmp and longjmp_target probes.
12995
b4f12ca3
WN
12996 * include/stap-probe.h: Add comment about probe argument
12997 format.
12998
c13a72b7
WN
12999 * malloc/mtrace.c (attribute_hidden): Remove unused macro
13000 definition. (tr_where, tr_freehook, tr_mallochook,
13001 tr_reallochook, tr_memalignhook): Use ANSI protoype.
13002
195b8165
DM
130032014-02-11 David S. Miller <davem@davemloft.net>
13004
13005 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
13006 processing int_tests.
13007
2ad7600b
JM
130082014-02-10 Joseph Myers <joseph@codesourcery.com>
13009
13010 * sysdeps/mips: Move directory from ports/sysdeps/mips.
13011 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
13012 * sysdeps/unix/sysv/linux/mips: Move directory from
13013 ports/sysdeps/unix/sysv/linux/mips.
13014 * README: Update listing for mips-*-linux-gnu and
13015 mips64-*-linux-gnu.
13016
73588a72
AS
130172014-02-10 Andreas Schwab <schwab@linux-m68k.org>
13018
13019 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
13020 * sysdeps/unix/sysv/linux/m68k: Move directory from
13021 ports/sysdeps/unix/sysv/linux/m68k.
13022 * README: Update listing for m68k-*-linux-gnu.
13023
4372980f
CM
130242014-02-10 Chris Metcalf <cmetcalf@tilera.com>
13025
13026 * sysdeps/tile: Move directory from ports/sysdeps/tile.
13027 * sysdeps/unix/sysv/linux/generic: Move directory from
13028 ports/sysdeps/unix/sysv/linux/generic.
13029 * sysdeps/unix/sysv/linux/tile: Move directory from
13030 ports/sysdeps/unix/sysv/linux/tile.
13031 * README: Update listing for tile*-*-linux-gnu.
13032
a1ffb40e
OB
130332014-02-10 Ondřej Bílka <neleai@seznam.cz>
13034
57f41c40
AS
13035 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
13036 __builtin_expect.
a1ffb40e
OB
13037 * benchtests/bench-memmem.c (simple_memmem): Likewise.
13038 * catgets/open_catalog.c (__open_catalog): Likewise.
13039 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
13040 * debug/confstr_chk.c: Likewise.
13041 * debug/fread_chk.c (__fread_chk): Likewise.
13042 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
13043 * debug/getgroups_chk.c: Likewise.
13044 * debug/mbsnrtowcs_chk.c: Likewise.
13045 * debug/mbsrtowcs_chk.c: Likewise.
13046 * debug/mbstowcs_chk.c: Likewise.
13047 * debug/memcpy_chk.c: Likewise.
13048 * debug/memmove_chk.c: Likewise.
13049 * debug/mempcpy_chk.c: Likewise.
13050 * debug/memset_chk.c: Likewise.
13051 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13052 * debug/strcat_chk.c (__strcat_chk): Likewise.
13053 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
13054 * debug/strncat_chk.c (__strncat_chk): Likewise.
13055 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
13056 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
13057 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
13058 * debug/wcpncpy_chk.c: Likewise.
13059 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13060 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
13061 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
13062 * debug/wcsncpy_chk.c: Likewise.
13063 * debug/wcsnrtombs_chk.c: Likewise.
13064 * debug/wcsrtombs_chk.c: Likewise.
13065 * debug/wcstombs_chk.c: Likewise.
13066 * debug/wmemcpy_chk.c: Likewise.
13067 * debug/wmemmove_chk.c: Likewise.
13068 * debug/wmempcpy_chk.c: Likewise.
13069 * debug/wmemset_chk.c: Likewise.
13070 * dirent/scandirat.c (SCANDIRAT): Likewise.
13071 * dlfcn/dladdr1.c (dladdr1): Likewise.
13072 * dlfcn/dladdr.c (dladdr): Likewise.
13073 * dlfcn/dlclose.c (dlclose_doit): Likewise.
13074 * dlfcn/dlerror.c (__dlerror): Likewise.
13075 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
13076 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13077 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13078 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
13079 * dlfcn/dlsym.c (dlsym_doit): Likewise.
13080 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
13081 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
13082 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
13083 Likewise.
13084 * elf/dl-conflict.c: Likewise.
13085 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
13086 * elf/dl-dst.h: Likewise.
13087 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
13088 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
13089 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
13090 * elf/dl-init.c (call_init, _dl_init): Likewise.
13091 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
13092 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13093 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13094 Likewise.
a1ffb40e
OB
13095 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13096 Likewise.
13097 * elf/dl-minimal.c (__libc_memalign): Likewise.
13098 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13099 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13100 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13101 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
13102 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13103 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
13104 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13105 * elf/dl-writev.h (_dl_writev): Likewise.
13106 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
13107 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13108 (dl_main): Likewise.
a1ffb40e
OB
13109 * elf/setup-vdso.h (setup_vdso): Likewise.
13110 * grp/compat-initgroups.c (compat_call): Likewise.
13111 * grp/fgetgrent.c (fgetgrent): Likewise.
13112 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13113 * grp/putgrent.c (putgrent): Likewise.
13114 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13115 Likewise.
13116 * hurd/hurdinit.c: Likewise.
13117 * iconvdata/8bit-gap.c (struct): Likewise.
13118 * iconvdata/ansi_x3.110.c : Likewise.
13119 * iconvdata/big5.c : Likewise.
13120 * iconvdata/big5hkscs.c : Likewise.
13121 * iconvdata/cp1255.c: Likewise.
13122 * iconvdata/cp1258.c : Likewise.
13123 * iconvdata/cp932.c : Likewise.
13124 * iconvdata/euc-cn.c: Likewise.
13125 * iconvdata/euc-jisx0213.c : Likewise.
13126 * iconvdata/euc-jp.c: Likewise.
13127 * iconvdata/euc-jp-ms.c : Likewise.
13128 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13129 * iconvdata/gb18030.c : Likewise.
13130 * iconvdata/gbbig5.c (const): Likewise.
13131 * iconvdata/gbgbk.c: Likewise.
13132 * iconvdata/gbk.c : Likewise.
13133 * iconvdata/ibm1364.c : Likewise.
13134 * iconvdata/ibm930.c : Likewise.
13135 * iconvdata/ibm932.c: Likewise.
13136 * iconvdata/ibm933.c : Likewise.
13137 * iconvdata/ibm935.c : Likewise.
13138 * iconvdata/ibm937.c : Likewise.
13139 * iconvdata/ibm939.c : Likewise.
13140 * iconvdata/ibm943.c: Likewise.
13141 * iconvdata/iso_11548-1.c: Likewise.
13142 * iconvdata/iso-2022-cn.c : Likewise.
13143 * iconvdata/iso-2022-cn-ext.c : Likewise.
13144 * iconvdata/iso-2022-jp-3.c: Likewise.
13145 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13146 * iconvdata/iso-2022-kr.c : Likewise.
13147 * iconvdata/iso646.c (gconv_end): Likewise.
13148 * iconvdata/iso_6937-2.c : Likewise.
13149 * iconvdata/iso_6937.c : Likewise.
13150 * iconvdata/iso8859-1.c: Likewise.
13151 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13152 * iconvdata/shift_jisx0213.c : Likewise.
13153 * iconvdata/sjis.c : Likewise.
13154 * iconvdata/t.61.c : Likewise.
13155 * iconvdata/tcvn5712-1.c : Likewise.
13156 * iconvdata/tscii.c: Likewise.
13157 * iconvdata/uhc.c : Likewise.
13158 * iconvdata/unicode.c (gconv_end): Likewise.
13159 * iconvdata/utf-16.c (gconv_end): Likewise.
13160 * iconvdata/utf-32.c (gconv_end): Likewise.
13161 * iconvdata/utf-7.c (base64): Likewise.
13162 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13163 * iconv/gconv_close.c (__gconv_close): Likewise.
13164 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
13165 * iconv/gconv_simple.c (internal_ucs4_loop_single)
13166 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13167 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13168 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13169 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
13170 * iconv/iconv.c (iconv): Likewise.
13171 * iconv/iconv_close.c: Likewise.
13172 * iconv/loop.c (SINGLE): Likewise.
13173 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13174 * include/atomic.h: Likewise.
13175 * inet/inet6_option.c (option_alloc): Likewise.
13176 * intl/bindtextdom.c (set_binding_values): Likewise.
13177 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13178 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13179 * intl/localealias.c (read_alias_file): Likewise.
13180 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
13181 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13182 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
13183 * libio/fmemopen.c (fmemopen): Likewise.
13184 * libio/iofgets.c (_IO_fgets): Likewise.
13185 * libio/iofgets_u.c (fgets_unlocked): Likewise.
13186 * libio/iofgetws.c (fgetws): Likewise.
13187 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13188 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
13189 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13190 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
13191 * locale/findlocale.c (_nl_find_locale): Likewise.
13192 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13193 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13194 Likewise.
13195 * locale/setlocale.c (setlocale): Likewise.
13196 * login/programs/pt_chown.c (main): Likewise.
13197 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13198 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
13199 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13200 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
13201 * math/e_exp2l.c: Likewise.
13202 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13203 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13204 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13205 * math/s_catan.c (__catan): Likewise.
13206 * math/s_catanf.c (__catanf): Likewise.
13207 * math/s_catanh.c (__catanh): Likewise.
13208 * math/s_catanhf.c (__catanhf): Likewise.
13209 * math/s_catanhl.c (__catanhl): Likewise.
13210 * math/s_catanl.c (__catanl): Likewise.
13211 * math/s_ccosh.c (__ccosh): Likewise.
13212 * math/s_ccoshf.c (__ccoshf): Likewise.
13213 * math/s_ccoshl.c (__ccoshl): Likewise.
13214 * math/s_cexp.c (__cexp): Likewise.
13215 * math/s_cexpf.c (__cexpf): Likewise.
13216 * math/s_cexpl.c (__cexpl): Likewise.
13217 * math/s_clog10.c (__clog10): Likewise.
13218 * math/s_clog10f.c (__clog10f): Likewise.
13219 * math/s_clog10l.c (__clog10l): Likewise.
13220 * math/s_clog.c (__clog): Likewise.
13221 * math/s_clogf.c (__clogf): Likewise.
13222 * math/s_clogl.c (__clogl): Likewise.
13223 * math/s_csin.c (__csin): Likewise.
13224 * math/s_csinf.c (__csinf): Likewise.
13225 * math/s_csinh.c (__csinh): Likewise.
13226 * math/s_csinhf.c (__csinhf): Likewise.
13227 * math/s_csinhl.c (__csinhl): Likewise.
13228 * math/s_csinl.c (__csinl): Likewise.
13229 * math/s_csqrt.c (__csqrt): Likewise.
13230 * math/s_csqrtf.c (__csqrtf): Likewise.
13231 * math/s_csqrtl.c (__csqrtl): Likewise.
13232 * math/s_ctan.c (__ctan): Likewise.
13233 * math/s_ctanf.c (__ctanf): Likewise.
13234 * math/s_ctanh.c (__ctanh): Likewise.
13235 * math/s_ctanhf.c (__ctanhf): Likewise.
13236 * math/s_ctanhl.c (__ctanhl): Likewise.
13237 * math/s_ctanl.c (__ctanl): Likewise.
13238 * math/w_pow.c: Likewise.
13239 * math/w_powf.c: Likewise.
13240 * math/w_powl.c: Likewise.
13241 * math/w_scalb.c (sysv_scalb): Likewise.
13242 * math/w_scalbf.c (sysv_scalbf): Likewise.
13243 * math/w_scalbl.c (sysv_scalbl): Likewise.
13244 * misc/error.c (error_tail): Likewise.
13245 * misc/pselect.c (__pselect): Likewise.
13246 * nis/nis_callback.c (__nis_create_callback): Likewise.
13247 * nis/nis_call.c (__nisfind_server): Likewise.
13248 * nis/nis_creategroup.c (nis_creategroup): Likewise.
13249 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13250 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13251 * nis/nis_getservlist.c (nis_getservlist): Likewise.
13252 * nis/nis_lookup.c (nis_lookup): Likewise.
13253 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
13254 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13255 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 13256 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
13257 * nis/nss_compat/compat-grp.c (getgrent_next_file)
13258 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13259 * nis/nss_compat/compat-initgroups.c (add_group)
13260 (internal_getgrent_r): Likewise.
13261 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13262 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13263 * nis/nss_compat/compat-spwd.c (getspent_next_file)
13264 (internal_getspnam_r): Likewise.
13265 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13266 (_nss_nis_getaliasbyname_r): Likewise.
13267 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13268 (_nss_nis_getntohost_r): Likewise.
13269 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13270 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13271 (_nss_nis_getgrgid_r): Likewise.
13272 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13273 (internal_nis_gethostent_r, internal_gethostbyname2_r)
13274 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13275 (_nss_nis_gethostbyname4_r): Likewise.
13276 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13277 (initgroups_netid): Likewise.
a1ffb40e 13278 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
13279 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13280 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13281 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13282 (_nss_nis_getprotobynumber_r): Likewise.
13283 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13284 (_nss_nis_getsecretkey): Likewise.
13285 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13286 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13287 (_nss_nis_getpwuid_r): Likewise.
13288 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13289 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13290 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13291 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13292 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13293 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
13294 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13295 Likewise.
57f41c40
AS
13296 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13297 (_nss_nisplus_getntohost_r): Likewise.
13298 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13299 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13300 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13301 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 13302 Likewise.
57f41c40
AS
13303 * nis/nss_nisplus/nisplus-initgroups.c
13304 (_nss_nisplus_initgroups_dyn): Likewise.
13305 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13306 (_nss_nisplus_getnetbyaddr_r): Likewise.
13307 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13308 (_nss_nisplus_getprotobynumber_r): Likewise.
13309 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13310 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
13311 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13312 Likewise.
57f41c40
AS
13313 * nis/nss_nisplus/nisplus-service.c
13314 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13315 (_nss_nisplus_getservbyport_r): Likewise.
13316 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13317 (_nss_nisplus_getspnam_r): Likewise.
13318 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13319 Likewise.
a1ffb40e
OB
13320 * nscd/aicache.c (addhstaiX): Likewise.
13321 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
13322 * nscd/connections.c (register_traced_file, send_ro_fd)
13323 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13324 (main_loop_epoll): Likewise.
a1ffb40e
OB
13325 * nscd/grpcache.c (addgrbyX): Likewise.
13326 * nscd/hstcache.c (addhstbyX): Likewise.
13327 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13328 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
13329 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13330 (addinnetgrX): Likewise.
13331 * nscd/nscd-client.h (__nscd_acquire_maplock)
13332 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
13333 * nscd/nscd_getai.c (__nscd_getai): Likewise.
13334 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13335 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13336 Likewise.
13337 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13338 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
13339 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13340 (__nscd_get_map_ref): Likewise.
a1ffb40e 13341 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
13342 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13343 Likewise.
a1ffb40e
OB
13344 * nscd/pwdcache.c (addpwbyX): Likewise.
13345 * nscd/selinux.c (preserve_capabilities): Likewise.
13346 * nscd/servicescache.c (addservbyX): Likewise.
13347 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13348 * posix/fnmatch.c (fnmatch): Likewise.
13349 * posix/getopt.c (_getopt_internal_r): Likewise.
13350 * posix/glob.c (glob, glob_in_dir): Likewise.
13351 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
13352 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13353 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
13354 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13355 * resolv/res_init.c: Likewise.
13356 * resolv/res_mkquery.c (res_nmkquery): Likewise.
13357 * resolv/res_query.c (__libc_res_nquery): Likewise.
13358 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13359 Likewise.
13360 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13361 * stdio-common/perror.c (perror): Likewise.
13362 * stdio-common/printf_fp.c (___printf_fp): Likewise.
13363 * stdio-common/tmpnam.c (tmpnam): Likewise.
13364 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13365 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
13366 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13367 Likewise.
a1ffb40e
OB
13368 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13369 * stdlib/putenv.c (putenv): Likewise.
13370 * stdlib/setenv.c (__add_to_environ): Likewise.
13371 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13372 * stdlib/strtol_l.c (INTERNAL): Likewise.
13373 * string/memmem.c (memmem): Likewise.
13374 * string/strerror.c (strerror): Likewise.
13375 * string/strnlen.c (__strnlen): Likewise.
13376 * string/test-memmem.c (simple_memmem): Likewise.
13377 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13378 * sunrpc/pm_getport.c (__get_socket): Likewise.
13379 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13380 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
13381 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13382 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
13383 Likewise.
13384 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13385 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13386 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13387 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13388 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
13389 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13390 Likewise.
13391 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13392 Likewise.
a1ffb40e
OB
13393 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13394 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13395 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13396 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13397 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13398 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13399 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13400 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13401 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13402 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13403 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13404 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13405 Likewise.
13406 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13407 Likewise.
13408 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13409 Likewise.
13410 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13411 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13412 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13413 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13414 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13415 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13416 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13417 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13418 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13419 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13420 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13421 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13422 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13423 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13424 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
13425 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13426 Likewise.
a1ffb40e
OB
13427 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13428 Likewise.
13429 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13430 Likewise.
13431 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13432 Likewise.
13433 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13434 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13435 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13436 Likewise.
13437 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13438 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13439 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13440 * sysdeps/posix/sleep.c: Likewise.
13441 * sysdeps/posix/tempname.c: Likewise.
13442 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13443 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13444 Likewise.
57f41c40
AS
13445 * sysdeps/powerpc/powerpc32/dl-machine.h
13446 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
13447 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13448 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13449 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13450 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13451 Likewise.
13452 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13453 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13454 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13455 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13456 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13457 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13458 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13459 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13460 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13461 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13462 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13463 (elf_machine_lazy_rel): Likewise.
a1ffb40e 13464 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13465 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13466 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13467 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13468 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13469 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13470 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13471 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13472 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13473 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13474 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13475 Likewise.
13476 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13477 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13478 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13479 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13480 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13481 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13482 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13483 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13484 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13485 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13486 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13487 Likewise.
13488 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13489 (__posix_fallocate64_l64): Likewise.
13490 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13491 (posix_fallocate): Likewise.
57f41c40
AS
13492 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13493 Likewise.
a1ffb40e 13494 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
13495 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13496 (getifaddrs_internal): Likewise.
a1ffb40e
OB
13497 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13498 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13499 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13500 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13501 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13502 (__posix_fallocate64_l64): Likewise.
13503 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13504 Likewise.
13505 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
13506 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13507 (__get_clockfreq): Likewise.
a1ffb40e
OB
13508 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13509 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13510 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13511 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13512 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13513 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13514 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13515 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13516 Likewise.
13517 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13518 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13519 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13520 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13521 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13522 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13523 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13524 Likewise.
13525 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13526 (posix_fallocate): Likewise.
13527 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13528 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13529 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13530 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13531 (elf_machine_rela, elf_machine_rela_relative)
13532 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13533 * time/asctime.c (asctime_internal): Likewise.
13534 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13535 * time/tzset.c (__tzset_parse_tz): Likewise.
13536 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13537 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13538 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13539 * wcsmbs/wcsmbsload.h: Likewise.
13540
f3d338c9
OB
13541 [BZ #15894]
13542 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13543
57f41c40
AS
13544 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13545 (arena_get2): Remove THREAD_STATS conditionals.
13546 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13547 (__malloc_stats, int): Likewise.
bdfe308a 13548
d674667c
MF
135492014-02-08 Mike Frysinger <vapier@gentoo.org>
13550
13551 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13552 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13553
6349768c
MF
13554 * manual/setjmp.texi: Fix typos/grammar errors.
13555
0b7c7473
MF
13556 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13557 Only return early when n is <= 0. Delete unused return statement.
13558
ac8cc9e3
MF
13559 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13560 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13561 * debug/tst-longjmp_chk3.c: New file.
13562
c5bb8e23
MF
13563 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13564 (test_main): Replace code with set_fortify_handler call.
13565 * debug/test-strcpy_chk.c: Likewise.
13566 * debug/tst-chk1.c: Likewise.
13567 * debug/tst-longjmp_chk.c: Likewise.
13568 * test-skeleton.c: Include fcntl.h & paths.h
13569 (set_fortify_handler): Define.
13570
10444e42
MF
13571 * debug/tst-longjmp_chk.c: Add header comment and include
13572 ../test-skeleton.c.
13573 (do_test): Mark static.
13574 (TEST_FUNCTION): Define.
13575
1e805e8d
MF
13576 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13577 (IP_PMTUDISC_INTERFACE): Likewise.
13578 (IP_MULTICAST_IF): Likewise.
13579 (IP_MULTICAST_TTL): Likewise.
13580 (IP_MULTICAST_LOOP): Likewise.
13581 (IP_ADD_MEMBERSHIP): Likewise.
13582 (IP_DROP_MEMBERSHIP): Likewise.
13583 (IP_UNBLOCK_SOURCE): Likewise.
13584 (IP_BLOCK_SOURCE): Likewise.
13585 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13586 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13587 (IP_MSFILTER): Likewise.
13588 (MCAST_JOIN_GROUP): Likewise.
13589 (MCAST_BLOCK_SOURCE): Likewise.
13590 (MCAST_UNBLOCK_SOURCE): Likewise.
13591 (MCAST_LEAVE_GROUP): Likewise.
13592 (MCAST_JOIN_SOURCE_GROUP): Likewise.
13593 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13594 (MCAST_MSFILTER): Likewise.
13595 (IP_MULTICAST_ALL): Likewise.
13596 (IP_UNICAST_IF): Likewise.
13597
73f79bb7
MF
13598 * timezone/Makefile: Delete $(have-ksh) check.
13599 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13600 * timezone/tzselect.ksh: Add +x mode bits.
13601
8da79b60
MF
13602 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13603 (ANON_INODE_FS_MAGIC): Likewise.
13604 (BDEVFS_MAGIC): Likewise.
13605 (BINFMTFS_MAGIC): Likewise.
13606 (BTRFS_TEST_MAGIC): Likewise.
13607 (CRAMFS_MAGIC_WEND): Likewise.
13608 (DEBUGFS_MAGIC): Likewise.
13609 (ECRYPTFS_SUPER_MAGIC): Likewise.
13610 (EXT3_SUPER_MAGIC): Likewise.
13611 (EXT4_SUPER_MAGIC): Likewise.
13612 (FUTEXFS_SUPER_MAGIC): Likewise.
13613 (HOSTFS_SUPER_MAGIC): Likewise.
13614 (HUGETLBFS_MAGIC): Likewise.
13615 (MINIX3_SUPER_MAGIC): Likewise.
13616 (MTD_INODE_FS_MAGIC): Likewise.
13617 (NILFS_SUPER_MAGIC): Likewise.
13618 (OPENPROM_SUPER_MAGIC): Likewise.
13619 (PIPEFS_MAGIC): Likewise.
13620 (PSTOREFS_MAGIC): Likewise.
13621 (QNX6_SUPER_MAGIC): Likewise.
13622 (RAMFS_MAGIC): Likewise.
13623 (REISERFS_SUPER_MAGIC_STRING): Likewise.
13624 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13625 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13626 (SECURITYFS_MAGIC): Likewise.
13627 (SELINUX_MAGIC): Likewise.
13628 (SMACK_MAGIC): Likewise.
13629 (SOCKFS_MAGIC): Likewise.
13630 (SQUASHFS_MAGIC): Likewise.
13631 (STACK_END_MAGIC): Likewise.
13632 (TMPFS_MAGIC): Likewise.
13633 (USBDEVICE_SUPER_MAGIC): Likewise.
13634 (V9FS_MAGIC): Likewise.
13635 (XENFS_SUPER_MAGIC): Likewise.
13636 (CRAMFS_MAGIC): Fix typo in comment.
13637 (EXT2_SUPER_MAGIC): Update comment.
13638 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13639
464263cc
JM
136402014-02-08 Joseph Myers <joseph@codesourcery.com>
13641
c6bfe5c4
JM
13642 * sysdeps/arm: Move directory from ports/sysdeps/arm.
13643 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13644 * sysdeps/unix/sysv/linux/arm: Move directory from
13645 ports/sysdeps/unix/sysv/linux/arm.
13646 * README: Update listing for arm-*-linux-gnueabi.
13647
464263cc
JM
13648 * README: Remove mention of am33.
13649
32749f6c
RM
136502014-02-07 Roland McGrath <roland@hack.frob.com>
13651
13652 * bits/sigset.h (__sigemptyset): Use a statement expression rather
13653 than the comma operator, to avoid "rhs of comma has no effect"
13654 compiler warnings.
13655 (__sigfillset, __sigandset, __sigorset): Likewise.
13656 * include/signal.h (__sigemptyset): Likewise.
13657 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13658
d5b396c1
AM
136592014-02-07 Allan McRae <allan@archlinux.org>
13660
13661 * version.h (RELEASE): Set to "development".
13662 (VERSION): Set to "2.19.90"
13663 * NEWS: Add 2.20 section.
13664
3bfff2ed
CD
136652014-02-06 Carlos O'Donell <carlos@redhat.com>
13666
13667 [BZ #16529]
13668 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13669
ee7cc385
SP
136702014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13671
13672 * manual/contrib.texi: Update entry for Carlos O'Donell,
13673 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13674
f877c4f2
CD
136752014-02-05 Carlos O'Donell <carlos@rehdat.com>
13676
27e839f6
CD
13677 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13678
f877c4f2
CD
13679 * sysdeps/unix/sysv/linux/kernel-features.h
13680 [__LINUX_KERNEL_VERSION >= 0x020621]
13681 (__ASSUME_PROC_PID_TASK_COMM): Define.
13682
68159946
SP
136832014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13684
ba17cdbd
SP
13685 [BZ #16398]
13686 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13687 conversion when destination buffer does not have enough space.
13688 * libio/tst-ftell-partial-wide.c: New test case.
13689 * libio/Makefile (tests): Add tst-ftell-partial-wide.
13690
68159946
SP
13691 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13692 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
13693 Leonard and Allan McRae.
13694
2b528732
DM
136952014-02-04 David S. Miller <davem@davemloft.net>
13696
13697 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13698 32-bit.
13699
0ff82463
AZ
137002014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13701
57f41c40
AS
13702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13703 New file
c01603f7
AZ
13704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13705 New file
57f41c40
AS
13706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13707 New file.
13708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13709 New file.
c01603f7
AZ
13710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13711 New file.
57f41c40
AS
13712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13713 New file.
13714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13715 New file.
c01603f7
AZ
13716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13717 New file.
13718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13719 New file.
13720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13721 New file.
13722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13723 New file.
13724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13725 New file.
13726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13727 New file.
13728
137292014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13730
0ff82463
AZ
13731 * nptl/shlib-versions: Change powerpc*le start to 2.17.
13732 * shlib-versions: Likewise.
13733
1695c773
AZ
137342014-02-04 Roland McGrath <roland@hack.frob.com>
13735 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13736
13737 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13738 (abilist-pattern): New variable, set to %-le.abilist.
13739
13740 * Makerules (abilist-pattern): New variable.
13741 (vpath): Use $(abilist-pattern) in place of %.abilist.
13742 (check-abi-% pattern rule): Likewise.
13743 (check-abi, update-abi): Likewise.
13744
6c0ce4b4
EW
137452014-02-04 Eric Wong <normalperson@yhbt.net>
13746
13747 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13748
481e3524
CD
137492014-02-03 Carlos O'Donell <carlos@redhat.com>
13750
13751 * manual/startup.texi: Add next, previous, and top entries for
13752 the `Program Arguments' and `Environment Variables' nodes.
13753
375592d3
AO
137542014-02-03 Alexandre Oliva <aoliva@redhat.com>
13755
13756 * manual/macros.texi: Add comments before MTASC-safety macros.
13757
f54838ba
AO
13758 * manual/users.texi: Document MTASC-safety properties.
13759
57f41c40
AS
13760 * manual/threads.texi (pthread_key_create, pthread_key_delete)
13761 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
13762 @deftypefun, and add @safety note.
13763 * manual/signal.texi: Move comments that analyze the above
13764 functions to their home place.
13765
fd3daba4
AM
137662014-02-03 Allan McRae <allan@archlinux.org>
13767
13768 * po/sl.po: Update Slovenian translation from translation project.
13769
597636d7
AO
137702014-02-02 Alexandre Oliva <aoliva@redhat.com>
13771
13772 * manual/time.texi (timegm): Add missing blank after @c.
13773 Reported by Joseph Myers <joseph@codesourcery.com>.
13774
ee196e3c
AO
137752014-02-01 Alexandre Oliva <aoliva@redhat.com>
13776
13777 * manual/check-safety.sh: New.
13778 * manual/Makefile ($(objpfx)stamp-summary): Run it.
13779
f8d529d5
AO
13780 * manual/terminal.texi: Document MTASC-safety properties.
13781
de55fdf4
AO
13782 * manual/filesys.texi: Document MTASC-safety properties.
13783
c3299c08
AO
13784 * manual/errno.texi: Document MTASC-safety properties.
13785
06e90b14
AO
13786 * manual/intro.texi: Document safety identifiers and
13787 conditionals.
13788
1acd4371
AO
13789 * manual/string.texi (wcstok): Fix prototype.
13790 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13791
23e5b8cb
AO
13792 * manual/time.texi: Document MTASC-safety properties.
13793
11087373
AO
13794 * manual/string.texi: Document MTASC-safety properties.
13795
5da2c93d
AO
13796 * manual/threads.texi: Document MTASC-safety properties.
13797
171e9210
AO
13798 * manual/stdio.texi: Document MTASC-safety properties.
13799
d9e02532
AO
13800 * manual/syslog.texi: Document MTASC-safety properties.
13801
6af8bab7
AO
13802 * manual/sysinfo.texi: Document MTASC-safety properties.
13803
663b02d7
AO
13804 * manual/startup.texi: Document MTASC-safety properties.
13805
973f180b
AO
13806 * manual/socket.texi: Document MTASC-safety properties.
13807
8f3c25c8
AO
13808 * manual/signal.texi: Document MTASC-safety properties.
13809
542210fb
AO
138102014-01-31 Alexandre Oliva <aoliva@redhat.com>
13811
13812 * manual/setjmp.texi: Document MTASC-safety properties.
13813
433c45a2
AO
13814 * manual/search.texi: Document MTASC-safety properties.
13815
c8ce789c
AO
13816 * manual/resource.texi: Document MTASC-safety properties.
13817
19f5d29c
AO
13818 * manual/process.texi: Document MTASC-safety properties.
13819
e2dfb7f4
AO
13820 * manual/platform.texi: Document MTASC-safety properties.
13821
8c1413f5
AO
13822 * manual/pipe.texi: Document MTASC-safety properties.
13823
03483ada
AO
13824 * manual/pattern.texi: Document MTASC-safety properties.
13825
29e7e2df
AO
13826 * manual/message.texi: Document MTASC-safety properties.
13827
9f529d7c
AO
13828 [BZ #12751]
13829 * manual/memory.texi: Document MTASC-safety properties.
13830
27aaa791
AO
13831 * manual/math.texi: Document MTASC-safety properties.
13832
f2d58726
AO
13833 * manual/locale.texi: Document MTASC-safety properties.
13834
2cc3615c
AO
13835 * manual/llio.texi: Document MTASC-safety properties.
13836
d9f0ec97
AO
13837 * manual/libdl.texi: New.
13838
e7c4409a
AO
13839 * manual/lang.texi: Document MTASC-safety properties.
13840
27bdc63c
AO
13841 * manual/job.texi: Document MTASC-safety properties.
13842
a7b90ea9
AO
13843 * manual/getopt.texi: Document MTASC-safety properties.
13844
c49130e3
AO
13845 * manual/ctype.texi: Document MTASC-safety properties.
13846
0d23a5c1
MR
138472014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
13848
13849 [BZ #16046]
13850 * csu/libc-tls.c (static_map): Remove variable.
13851 (__libc_setup_tls): Use main executable's link map for TLS data.
13852 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13853 casing for LM_ID_BASE and GL(dl_nns).
13854 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13855 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
13856 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13857 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13858 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13859 member.
13860 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13861 l_phnum members.
13862
0037bb60
AO
138632014-01-30 Alexandre Oliva <aoliva@redhat.com>
13864
13865 * manual/debug.texi: Document MTASC-safety properties.
13866
409e00bd
L
138672014-01-29 H.J. Lu <hongjiu.lu@intel.com>
13868
13869 [BZ #16510]
13870 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13871 of __x86_64__ when disabling x87 inline functions.
13872
86e60666
AO
138732014-01-29 Alexandre Oliva <aoliva@redhat.com>
13874
13875 * manual/charset.texi: Document MTASC-safety properties.
13876
76167637
AO
13877 * manual/crypt.texi: Document MTASC-safety properties.
13878
e567f2a0
AO
13879 * manual/conf.texi: Document MTASC-safety properties.
13880
b719dafd
AO
13881 * manual/arith.texi: Document MTASC-safety properties.
13882
4a16c662
AO
13883 * manual/argp.texi: Document MTASC-safety properties.
13884
0a57b83e
AO
13885 * manual/macros.texi: Introduce macros to document multi
13886 thread, asynchronous signal and asynchronous cancellation
13887 safety properties.
13888 * manual/intro.texi: Introduce the properties themselves.
13889
feab2397
KK
138902014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13891
13892 * sysdeps/sh/sh4/Makefile: New file.
13893
1c0d11bc
AS
138942014-01-27 Andreas Schwab <schwab@linux-m68k.org>
13895
13896 * math/gen-libm-test.pl ($srcdir): New variable.
13897 ($auto_input): Use it.
13898
af37a8a3
SP
138992014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13900
d7b00f98
SP
13901 [BZ #16506]
13902 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13903 access beyond array bounds when parsing netgroups file.
13904
af37a8a3
SP
13905 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13906 the old buffer before realloc.
13907
0c00f062
AM
139082014-01-27 Allan McRae <allan@archlinux.org>
13909
13910 * po/fr.po: Update French translation from translation project.
13911
7d69a1b0
KK
139122014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13913
13914 * sysdeps/sh/libm-test-ulps: Regenerate.
13915
6e697ff7
DM
139162014-01-24 David S. Miller <davem@davemloft.net>
13917
13918 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13919
9cadb35c
KK
139202014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13921
13922 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13923 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13924
5d41dadf
SP
139252013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13926
13927 [BZ #16474]
13928 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13929 string pointers after reallocation.
13930
0bad441c
KK
139312014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13932
13933 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13934 __SH4A__ instead of __SH_FPU_ANY__.
13935
7007c661
KK
139362014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13937
13938 * sysdeps/sh/fpu_control.h: New file.
13939 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13940 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13941 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13942 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13943 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13944 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13945 * sysdeps/sh/sys/ucontext.h: Remove.
13946 * sysdeps/sh/sys: Remove directory.
13947
0f0c35e4
AK
139482014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13949
13950 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
13951 s390/sys/ucontext.h.
13952 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
13953 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
13954
4959e284
L
139552014-01-20 H.J. Lu <hongjiu.lu@intel.com>
13956
13957 [BZ #15605]
13958 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
13959
d98720e0
AZ
139602014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13961
13962 [BZ#16431]
13963 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13964 Adjust the vDSO correctly for internal calls.
13965 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13966
91cbd0bc
AM
139672014-01-20 Allan McRae <allan@archlinux.org>
13968
13969 * po/ca.po: Update Catalan translation from translation project.
13970
7a02cfad
MF
139712014-01-16 Mike Frysinger <vapier@gentoo.org>
13972
13973 * sysdeps/s390/sotruss-lib.c: New file.
13974
736c304a
AZ
139752014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13976
13977 [BZ#16430]
6e077ee5 13978 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
13979 (__GI___gettimeofday): Alias for a different internal symbol to avoid
13980 local calls issues by not having a PLT stub required for IFUNC calls.
13981 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13982
94d0cea0
JM
139832014-01-16 Joseph Myers <joseph@codesourcery.com>
13984
13985 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13986 * math/test-fpucw-static.c: Likewise.
13987
980cb518
SP
139882013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13989
13990 [BZ #16453]
13991 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13992
2393fc01
AZ
139932014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13994
13995 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13996 implementation for powerpc.
13997
d359bcc2
OB
139982014-01-15 Ondřej Bílka <neleai@seznam.cz>
13999
14000 [BZ #14782]
14001 * sysdeps/posix/system.c (__libc_system): Do not enable
14002 asynchronous cancellation.
14003
7beb48cb
AK
140042014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14005
14006 [BZ #16427]
14007 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
14008 handling only for numbers special also in the IEEE case.
14009
c20d5bf5
AK
140102014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14011
14012 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14013
e83bd4ee
AM
140142014-01-11 Allan McRae <allan@archlinux.org>
14015
76d0ea69
AM
14016 * po/bg.po: Update Bulgarian translation from translation project.
14017
e83bd4ee
AM
14018 * po/de.po: Update German translation from translation project.
14019
bc2ba20a
RM
140202014-01-10 Roland McGrath <roland@hack.frob.com>
14021
14022 * sysdeps/generic/gcc-compat.h: New file.
14023
649ecea2
SP
140242014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14025
14026 * benchtests/asin-inputs: Correct slow inputs.
14027 * benchtests/acos-inputs: Likewise.
14028
1b19c006
AM
140292014-01-10 Allan McRae <allan@archlinux.org>
14030
a46dab08
AM
14031 * po:sv.po: Update Swedish translation from translation project.
14032
421df74a
AM
14033 * po/vi.po: Update Vietnamese translation from translation project.
14034
d61c51a7
AM
14035 * po/eo.po: Update Esperanto translation from translation project.
14036
0339a319
AM
14037 * po/cs.po: Update Czech translation from translation project.
14038
94ad3e99
AM
14039 * po/nl.po: Update Dutch translation from translation project.
14040
e349ca71
AM
14041 * po/pl.po: Update Polish translation from translation project.
14042
ddf930c1
AM
14043 * po/ru.po: Update Russian translation from translation project.
14044
1b19c006
AM
14045 * po/uk.po: Update Ukrainian translation from translation project.
14046
9f236c49
BM
140472014-01-08 Brooks Moses <bmoses@google.com>
14048
14049 * elf/dl-load.c: Fix comment typo.
14050
cd6701cf
CD
140512014-01-08 Carlos O'Donell <carlos@redhat.com>
14052
14053 * po/header.pot: Rename to...
14054 * po/pot.header: ... this.
14055 * po/Makefile: Use pot.header.
14056
66671c84
YK
140572014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
14058 Maxim Kuvyrkov <maxim@kugelworks.com>
14059
14060 [BZ #16394]
cd6701cf
CD
14061 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
14062 SRC and DEST against LEN.
66671c84 14063
38f34581
AZ
140642014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14065
14066 [BZ #16414]
14067 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
14068 implementation.
14069 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
14070
140712014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
14072
14073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14074
4c327f2a
JM
140752014-01-08 Joseph Myers <joseph@codesourcery.com>
14076
14077 [BZ #16408]
14078 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
14079 for large positive arguments.
14080
b821f414
JM
140812014-01-07 Joseph Myers <joseph@codesourcery.com>
14082
1f0f2067
JM
14083 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14084
a5a326f6
JM
14085 * math/auto-libm-test-in: Mark various tests with
14086 xfail-rounding:ldbl-128ibm.
14087 * math/auto-libm-test-out: Regenerated.
14088
b821f414
JM
14089 [BZ #16407]
14090 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14091 Increase overflow threshold.
14092
94c8a4bc
OB
140932014-01-07 Ondřej Bílka <neleai@seznam.cz>
14094
14095 [BZ #14286]
14096 * stdio-common/vfprintf.c: Check for integer overflow.
14097
87ded0c3
AK
140982014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14099
14100 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14101 the first argument and return value of __tls_get_addr_internal.
14102
c5eebdd0
AK
141032014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14104
14105 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14106 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14107
05d138ef
AK
141082014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14109
14110 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14111 * sysdeps/s390/rtld-global-offsets.sym: New file.
14112 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14113 GLIBC_2.19 symbol.
14114 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14115 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14116 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14117 ... this.
14118 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14119 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14120 ... this.
14121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14122 Regenerate.
14123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14124 Regenerate.
14125 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14126 halfs of GPRs for high_gprs contexts.
14127 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14128 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
14129 field.
14130 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14131 uc_flags field.
14132 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14133 64 bit versions:
14134 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14135 for high GPRs (uc_high_gprs) and for future extensions
14136 (__reserved).
14137 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14138 for future extensions (__reserved).
14139 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14140 64 bit versions:
14141 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14142 SC_HIGHGPRS offset definition.
14143 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14144 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14145
93a45ff1
AK
14146 * Versions.def: Add GLIBC_2.19 for libpthread.
14147 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14148 siglongjmp for libpthread with GLIBC_2.19 symver.
14149 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14150 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14151 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14152 * sysdeps/s390/__longjmp.c: New file.
14153 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14154 * sysdeps/s390/longjmp.c: New file.
14155 * sysdeps/s390/setjmp.S: New file.
14156 * sysdeps/s390/sigjmp.S: New file.
14157 * sysdeps/s390/v1-longjmp.c: New file.
14158 * sysdeps/s390/v1-setjmp.h: New file.
14159 * sysdeps/s390/v1-sigjmp.c: New file.
14160 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14161 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14162 GLIBC_2.19 version.
14163 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14164 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14165 versioned symbols for ____longjmp_chk.
14166 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14167 Likewise.
14168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14169 Regenerate.
14170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14171 Regenerate.
14172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14173 Regenerate.
14174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14175 Regenerate.
14176 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14177 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14178 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14179 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14180 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14181 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14182 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14183 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14184 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14185 * sysdeps/s390/rtld-__longjmp.c: New file.
14186 * sysdeps/s390/rtld-setjmp.S: New file.
14187
eb3fc44b
JM
141882014-01-06 Joseph Myers <joseph@codesourcery.com>
14189
14190 [BZ #16400]
14191 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14192 Return -__logl (x) for small positive arguments without evaluating
14193 a polynomial.
14194
9341dde4
MF
141952014-01-06 Mike Frysinger <vapier@gentoo.org>
14196
14197 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14198 Rename to ...
14199 (__ptrace_peeksiginfo_args): ... this.
14200 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14201 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14202 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14203
4cff0293
AM
142042014-01-06 Allan McRae <allan@archlinux.org>
14205
14206 * inet/netinet/in.h: Fix typo in comment.
14207
75595dcf
AJ
142082014-01-05 Andreas Jaeger <aj@suse.de>
14209
14210 * sysdeps/i386/fpu/libm-test-ulps: Update.
14211
79c1e109
AM
142122014-01-05 Allan McRae <allan@archlinux.org>
14213
dd804818
AM
14214 * po/libc.pot: Regenerated.
14215
79c1e109
AM
14216 * malloc/memusagestat.c: Fix gettext call formatting.
14217
0c813d1f
SK
142182014-01-04 Sami Kerola <kerolasa@iki.fi>
14219
14220 * nscd/nscd.c: Improve usage() output.
14221
20f4a8d9
MF
142222014-01-04 Mike Frysinger <vapier@gentoo.org>
14223
14224 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14225 * sysdeps/unix/sysv/linux/configure: Regenerated.
14226 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14227 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14228
22562bb2
JM
142292014-01-03 Joseph Myers <joseph@codesourcery.com>
14230
14231 [BZ #16390]
14232 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14233 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14234
d7ad2d9b
AZ
142352014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14236
14237 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14238 extra tokens at end of #undef directive.
14239 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14240 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14241 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14242
7dd009d8
JM
142432014-01-03 Joseph Myers <joseph@codesourcery.com>
14244
24db925a
JM
14245 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14246
7dd009d8
JM
14247 * math/auto-libm-test-in: Mark various tests with
14248 xfail-rounding:ldbl-128ibm.
14249 * math/auto-libm-test-out: Regenerated.
14250
396e3ecf
JM
142512014-01-02 Joseph Myers <joseph@codesourcery.com>
14252
819e5d50
JM
14253 [BZ #16386]
14254 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14255 numbers with subnormal high part when calculating exponent.
14256
90b6a1e5
JM
14257 [BZ #16385]
14258 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14259 fabs.
14260
396e3ecf
JM
14261 [BZ #16384]
14262 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14263 M_LN2l.
14264 (__ieee754_acoshl): Use __log1pl not __log1p.
14265
6c8dbf00
OB
142662013-01-02 Ondřej Bílka <neleai@seznam.cz>
14267
57f41c40
AS
14268 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14269 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14270 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14271 (grow_heap, heap_trim, _int_new_arena, get_free_list)
14272 (reused_arena, arena_get2): Convert to GNU style.
14273 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14274 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14275 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 14276 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
14277 * malloc/malloc.c (__malloc_assert, malloc_init_state)
14278 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14279 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14280 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14281 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14282 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 14283 * malloc/malloc.h: Likewise.
57f41c40
AS
14284 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14285 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 14286 * malloc/mcheck.h: Likewise.
57f41c40
AS
14287 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14288 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
14289 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14290 * malloc/morecore.c (__default_morecore): Likewise.
14291 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
14292 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14293 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14294 (print_and_abort): Likewise.
6c8dbf00
OB
14295 * malloc/obstack.h: Likewise.
14296 * malloc/set-freeres.c (__libc_freeres): Likewise.
14297 * malloc/tst-mallocstate.c (main): Likewise.
14298 * malloc/tst-mtrace.c (main): Likewise.
14299 * malloc/tst-realloc.c (do_test): Likewise.
14300
d4124212
SP
143012013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14302
9a3c6a6f
SP
14303 [BZ #16366]
14304 * nscd/netgroupcache.c (do_notfound): New function.
14305 (addgetnetgrentX): Use it.
14306
d4124212
SP
14307 [BZ # 16365]
14308 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14309 NSS_STATUS_NOTFOUND.
14310
97b9a009
JM
143112014-01-01 Joseph Myers <joseph@codesourcery.com>
14312
14313 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14315
d4697bc9
AM
143162014-01-01 Allan McRae <allan@archlinux.org>
14317
ddb3687f
AM
14318 * scripts/update-copyrights: Update configure input file suffix.
14319
88726d48
AM
14320 * NEWS: Update copyright year.
14321 * catgets/gencat.c: Likewise.
14322 * csu/version.c: Likewise.
14323 * debug/catchsegv.sh: Likewise.
14324 * debug/pcprofiledump.c: Likewise.
14325 * debug/xtrace.sh: Likewise.
14326 * elf/ldconfig.c: Likewise.
14327 * elf/ldd.bash.in: Likewise.
14328 * elf/pldd.c: Likewise.
14329 * elf/sotruss.ksh: Likewise.
14330 * elf/sprof.c: Likewise.
14331 * iconv/iconv_prog.c: Likewise.
14332 * iconv/iconvconfig.c: Likewise.
14333 * locale/programs/locale.c: Likewise.
14334 * locale/programs/localedef.c: Likewise.
14335 * login/programs/pt_chown.c: Likewise.
14336 * malloc/memusage.sh: Likewise.
14337 * malloc/memusagestat.c: Likewise.
14338 * malloc/mtrace.pl: Likewise.
14339 * manual/libc.texinfo: Likewise.
14340 * nscd/nscd.c: Likewise.
14341 * nss/getent.c: Likewise.
14342 * nss/makedb.c: Likewise.
14343 * posix/getconf.c: Likewise.
14344 * scripts/test-installation.pl: Likewise.
14345
d4697bc9
AM
14346 * All files with FSF copyright notices: Update copyright dates
14347 using scripts/update-copyrights.
14348 * intl/plural.c: Regenerated.
14349 * locale/programs/charmap-kw.h: Likewise.
14350 * locale/programs/locfile-kw.h: Likewise.
14351
c8590f9d
MF
143522013-12-31 Mike Frysinger <vapier@gentoo.org>
14353
14354 * sysdeps/unix/sysv/linux/configure: Regenerated.
14355 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14356 the linux/fanotify.h header.
14357 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14358 HAVE_LINUX_FANOTIFY_H is defined.
14359
b19221b9
SP
143602013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14361
dd1d85e5
SP
14362 * benchtests/cos-inputs: New inputs.
14363 * benchtests/sin-inputs: Likewise.
14364
1acbb90f
SP
14365 * benchtests/atan-inputs: New inputs. Fix name of multiple
14366 precision fallback inputs.
14367
4c012ed3
SP
14368 * benchtests/atanh-inputs: New inputs.
14369 * benchtests/tanh-inputs: Likewise.
14370
eff98324
SP
14371 * benchtests/acosh-inputs: New inputs.
14372 * benchtests/asinh-inputs: Likewise.
14373
ce641152
SP
14374 * benchtests/cosh-inputs: New inputs.
14375 * benchtests/sinh-inputs: Likewise.
14376
b19221b9
SP
14377 * benchtests/acos-inputs: Add more inputs.
14378 * benchtests/asin-inputs: Likewise.
14379
030a4976 143802013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 14381
030a4976 14382 [BZ #16375]
9dcc8f11
VS
14383 * manual/arith.texi: Fix spelling.
14384 * manual/charset.texi: Likewise.
14385 * manual/errno.texi: Likewise.
14386 * manual/filesys.texi: Likewise.
14387 * manual/lang.texi: Likewise.
14388 * manual/llio.texi: Likewise.
14389 * manual/locale.texi: Likewise.
14390 * manual/message.texi: Likewise.
14391 * manual/resource.texi: Likewise.
14392 * manual/search.texi: Likewise.
14393 * manual/setjmp.texi: Likewise.
14394 * manual/stdio.texi: Likewise.
14395 * manual/string.texi: Likewise.
14396 * manual/sysinfo.texi: Likewise.
14397 * manual/time.texi: Likewise.
14398
11520a57
CD
143992013-12-27 Carlos O'Donell <carlos@redhat.com>
14400
14401 * po/sl.po: New file.
14402
471103ae
MF
144032013-12-27 Mike Frysinger <vapier@gentoo.org>
14404
14405 * .gitignore: Add core/.gdbinit/.gdb_history.
14406
6c9642ed
AM
144072013-12-27 Allan McRae <allan@archlinux.org>
14408
14409 [BZ #16369]
14410 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14411 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14412
3f637079
BM
144132013-12-24 Brooks Moses <bmoses@google.com>
14414
14415 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14416 all compilers that claim C++98 compliance, not just GCC.
14417 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14418 Likewise.
14419
abc26e99
MK
144202013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14421
14422 * NEWS: Restore accidentally deleted bug-fix entries.
14423
362b47fe
MK
144242013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14425 Ondřej Bílka <neleai@seznam.cz>
14426
14427 [BZ #15073]
14428 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 14429 have_lock.
362b47fe 14430
b9bcbbcb
OB
144312013-12-23 Ondřej Bílka <neleai@seznam.cz>
14432
14433 [BZ #12986]
14434 * manual/stdio.texi (String Input Conversions): Clarify that character
14435 classes are not supported.
14436
fb55fcd2
AZ
144372013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14438
14439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14440
ef7344f0
JM
144412013-12-22 Joseph Myers <joseph@codesourcery.com>
14442
4f40e4b3
JM
14443 [BZ #16337]
14444 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14445 Calculate results for small negative arguments directly rather
14446 than using reflection formula with special underflow handling.
14447
ef7344f0
JM
14448 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14449 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14450 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14451 (fchflags): Likewise.
14452 (revoke): Likewise.
14453 (setlogin): Likewise.
14454 (sigaltstack): Likewise.
14455 (wait4): Likewise.
14456 (sigblock): Remove.
14457 (sigsetmask): Likewise.
14458 (wait3): Likewise.
14459 (waitpid): Likewise.
14460 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14461 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14462 file.
14463 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14464 * sysdeps/unix/bsd/Makefile: ... here.
14465 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14466 * sysdeps/unix/bsd/Versions: ... here.
14467 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14468 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14469 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14470 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14471 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14472 * sysdeps/unix/bsd/sigblock.c: ... here.
14473 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14474 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14475 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14476 * sysdeps/unix/bsd/sigvec.c: ... here.
14477 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14478 * sysdeps/unix/bsd/tcdrain.c: ... here.
14479 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14480 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14481 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14482 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14483 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14484 * sysdeps/unix/bsd/wait.c: ... here.
14485 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14486 * sysdeps/unix/bsd/wait3.c: ... here.
14487 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14488 * sysdeps/unix/bsd/waitpid.c: ... here.
14489
5b0626b9
JM
144902013-12-21 Joseph Myers <joseph@codesourcery.com>
14491
14492 [BZ #16356]
14493 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14494 round-to-nearest for [!USE_AS_EXPM1L].
14495 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14496 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14497 more tests of exp and exp10. Expect some exp10 tests to miss
14498 exceptions or fail in directed rounding modes.
14499 * math/auto-libm-test-out: Regenerated.
14500 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14501 (exp10_test_tonearest): New function.
14502 (exp10_towardzero_test_data): New array.
14503 (exp10_test_towardzero): New function.
14504 (exp10_downward_test_data): New array.
14505 (exp10_test_downward): New function.
14506 (exp10_upward_test_data): New array.
14507 (exp10_test_upward): New function.
14508 (main): Call the new functions.
14509 * sysdeps/i386/fpu/libm-test-ulps: Update.
14510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14511
7fda5682
JM
145122013-12-20 Joseph Myers <joseph@codesourcery.com>
14513
31e3a405
JM
14514 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14515 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14516 * math/auto-libm-test-out: Regenerated.
14517 * math/libm-test.inc (acosh_test_data): Add more tests.
14518 (atanh_test_data): Likewise.
14519 (ceil_test_data): Likewise.
14520 (copysign_test_data): Likewise.
14521 * sysdeps/i386/fpu/libm-test-ulps: Update.
14522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14523
85bff96a
JM
14524 * timezone/checktab.awk: Update from tzcode 2013i.
14525 * timezone/private.h: Likewise.
14526 * timezone/scheck.c: Likewise.
14527 * timezone/tzfile.h: Likewise.
14528 * timezone/tzselect.ksh: Likewise.
14529 * timezone/zdump.c: Likewise.
14530 * timezone/zic.c: Likewise.
14531
b7867a3b
JM
14532 * math/auto-libm-test-in: Add tests of cpow.
14533 * math/auto-libm-test-out: Regenerated.
14534 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 14535 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
14536 mpc_cc_c.
14537 (func_calc_desc): Add mpc_cc_c union field.
14538 (test_functions): Add cpow.
14539 (special_fill_2pi): New function.
14540 (special_real_inputs): Add 2pi.
14541 (calc_generic_results): Handle mpc_cc_c.
14542 * sysdeps/i386/fpu/libm-test-ulps: Update.
14543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14544
7fda5682
JM
14545 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14546 csqrt, ctan and ctanh.
14547 * math/auto-libm-test-out: Regenerated.
14548 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14549 (TEST_COND_x86): Likewise.
14550 (ccos_test_data): Use AUTO_TESTS_c_c.
14551 (ccosh_test_data): Likewise.
14552 (cexp_test_data): Likewise.
14553 (clog_test_data): Likewise.
14554 (csqrt_test_data): Likewise.
14555 (ctan_test_data): Likewise.
14556 (ctan_tonearest_test_data): Likewise.
14557 (ctan_towardzero_test_data): Likewise.
14558 (ctan_downward_test_data): Likewise.
14559 (ctan_upward_test_data): Likewise.
14560 (ctanh_test_data): Likewise.
14561 (ctanh_tonearest_test_data): Likewise.
14562 (ctanh_towardzero_test_data): Likewise.
14563 (ctanh_downward_test_data): Likewise.
14564 (ctanh_upward_test_data): Likewise.
14565 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14566 mpc_c_c.
14567 (func_calc_desc): Add mpc_c_c union field.
14568 (FUNC_mpc_c_c): New macro.
14569 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14570 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14571 ctanh.
14572 (special_fill_min_subnorm_p120): New function.
14573 (special_real_inputs): Add min_subnorm_p120.
14574 (calc_generic_results): Handle mpc_c_c.
14575 * sysdeps/i386/fpu/libm-test-ulps: Update.
14576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14577
5ff8d60e
SP
145782013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14579
57f41c40
AS
14580 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14581 (do_sin_slow): New functions.
14582 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14583 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 14584
84ba214c
SP
14585 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14586 Use M to change sign of result instead of X. Assume X is
14587 positive.
14588 (csloww1): Likewise.
14589 (__sin): Adjust.
14590 (__cos): Adjust.
14591
975195e4
SP
14592 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14593 arguments A and DA.
14594 (__sin): Adjust.
14595 (__cos): Likewise.
14596
5ff8d60e
SP
14597 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14598 (__cos): Likewise.
14599 (sloww1): Don't adjust sign of DX.
14600 (csloww1): Likewise.
14601 (sloww2): Use X directly and don't adjust sign of DX.
14602 (csloww2): Likewise.
14603
eb983568
JM
146042013-12-19 Joseph Myers <joseph@codesourcery.com>
14605
64a17f1a
JM
14606 * math/auto-libm-test-in: Add tests of cabs and carg.
14607 * math/auto-libm-test-out: Regenerated.
14608 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14609 (carg_test_data): Likewise.
14610 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14611 mpc_c_f.
14612 (func_calc_desc): Add mpc_c_f union field.
14613 (test_functions): Add cabs and carg.
14614 (calc_generic_results): Handle mpc_c_f.
14615
eb983568
JM
14616 * sysdeps/powerpc/powerpc32/libgcc-compat.S
14617 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14618 as a macro and a compat symbol.
14619 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14620 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14621 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14622 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14623 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14624 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14625 not use .hidden.
14626 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14627 Likewise.
14628 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14629 Likewise.
14630 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14631 Likewise.
14632 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14633 Likewise.
14634 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14635 Likewise.
14636 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14637 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14638 from GLIBC_2.3.2.
14639
6eeb678a
AZ
146402013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14641
14642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14643
6f6fc482
JM
146442013-12-19 Joseph Myers <joseph@codesourcery.com>
14645
21fea2e2
JM
14646 * manual/texinfo.tex: Update to version 2013-11-26.10 with
14647 trailing whitespace removed.
14648 * scripts/config.guess: Update to version 2013-11-29.
14649 * scripts/config.sub: Update to version 2013-10-01.
14650
6f6fc482
JM
14651 * math/auto-libm-test-in: Add tests of sincos.
14652 * math/auto-libm-test-out: Regenerated.
14653 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14654 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14655 mpfr_f_11.
14656 (func_calc_desc): Add mpfr_f_11 union field.
14657 (test_functions): Add sincos.
14658 (calc_generic_results): Handle mpfr_f_11.
14659 * sysdeps/i386/fpu/libm-test-ulps: Update.
14660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14661
83f5c32d
AS
146622013-12-19 Andreas Schwab <schwab@suse.de>
14663
14664 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14665 CALL_MCOUNT.
14666 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14667 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14668 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14669
c688b419
JM
146702013-12-19 Joseph Myers <joseph@codesourcery.com>
14671
335ee092
JM
14672 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14673 * sysdeps/i386/fpu/libm-test-ulps: Update.
14674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14675
f88acd39
JM
14676 [BZ #16293]
14677 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14678 round-to-nearest mode when using frndint.
14679 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14680 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14681 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14682 Likewise.
14683 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
14684 sinh test to fail.
14685 * math/auto-libm-test-out: Regenerated.
14686 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14687 (TEST_COND_x86): Likewise.
14688 (expm1_tonearest_test_data): New array.
14689 (expm1_test_tonearest): New function.
14690 (expm1_towardzero_test_data): New array.
14691 (expm1_test_towardzero): New function.
14692 (expm1_downward_test_data): New array.
14693 (expm1_test_downward): New function.
14694 (expm1_upward_test_data): New array.
14695 (expm1_test_upward): New function.
14696 (main): Run the new test functions.
14697 * sysdeps/i386/fpu/libm-test-ulps: Update.
14698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14699
c688b419
JM
14700 * include/features.h: Update comment documenting feature test
14701 macros. Mention _DEFAULT_SOURCE in comment.
14702 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14703 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14704 _BSD_SOURCE and _SVID_SOURCE.
14705 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14706 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14707 !_SVID_SOURCE]: Likewise.
14708 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14709 (__USE_POSIX_IMPLICITLY): Define.
14710 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14711 (_POSIX_SOURCE): Undefine and redefine.
14712 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14713 (_POSIX_C_SOURCE): Likewise.
14714 * manual/creature.texi (_DEFAULT_SOURCE): Document.
14715 (Feature Test Macros): Update documentation of default features.
14716
9f6e964c
RS
147172013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14718
14719 * benchtests/Makefile: Add bench-strtok.
14720 * benchtests/bench-strtok.c: New file: strtok benchtest.
14721
ee0a148a
AM
147222013-12-19 Allan McRae <allan@archlinux.org>
14723
14724 * manual/install.texi: Suppress menu for plain text output.
14725 * INSTALL: Regenerated.
14726
b9ab448f
BM
147272013-12-18 Brooks Moses <bmoses@google.com>
14728
14729 [BZ #15846]
14730 * misc/getauxval.c: Include errno.h.
14731 (__getauxval): Set errno to ENOENT if the requested type is not
14732 found.
14733 * misc/sys/auxv.h (getauxval): Document that it may set errno;
14734 don't declare with __attribute_const__.
14735 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14736 * manual/startup.texi: Document that getauxval sets errno.
14737
23776487
JM
147382013-12-18 Joseph Myers <joseph@codesourcery.com>
14739
f889953b
JM
14740 * math/auto-libm-test-in: Add tests of jn and yn.
14741 * math/auto-libm-test-out: Regenerated.
14742 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14743 (yn_test_data): Likewise.
14744 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14745 mpfr_if_f.
14746 (func_calc_desc): Add mpfr_if_f union field.
14747 (FUNC_mpfr_if_f): New macro.
14748 (test_functions): Add jn and yn.
14749 (calc_generic_results): Assert type of second input for
14750 mpfr_ff_f. Handle mpfr_if_f.
14751 (output_for_one_input_case): Disable all checking for arguments
14752 fitting floating-point types in case of an integer argument.
14753 * sysdeps/i386/fpu/libm-test-ulps: Update.
14754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14755
23776487
JM
14756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14757 Don't expect fegetround reference in libm.so.
14758
cb756c6d
MS
147592013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14760
14761 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14762 $(config-cflags-nofma).
14763
2dec468f
JM
147642013-12-18 Joseph Myers <joseph@codesourcery.com>
14765
5953eb3a
JM
14766 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14767 * math/auto-libm-test-out: Regenerated.
14768
2dec468f
JM
14769 [BZ #16338]
14770 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14771 to determine exponent and adjust argument to have exponent of -1.
14772 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14773 log2.
14774 * math/auto-libm-test-out: Regenerated.
14775 * sysdeps/i386/fpu/libm-test-ulps: Update.
14776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14777
4d84e6ad
OB
147782013-12-18 Ondřej Bílka <neleai@seznam.cz>
14779
14780 * manual/probes.texi: Remove cases when per-thread arenas are
14781 disabled.
14782
1818483b
AS
147832013-12-18 Andreas Schwab <schwab@suse.de>
14784
14785 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14786 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14787 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14788 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14789 * sysdeps/i386/i686/multiarch/Makefile: Update.
14790 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14791
25de95bf
JM
147922013-12-17 Joseph Myers <joseph@codesourcery.com>
14793
14794 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14795 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14796
674762d9
PE
147972013-12-17 Paul Eggert <eggert@cs.ucla.edu>
14798
ed27ed83 14799 [BZ #15968]
0748546f
PE
14800 Support TZ transition times < 00:00:00.
14801 This is needed for version-3 tz-format files; it supports time
14802 stamps past 2037 for America/Godthab (the only entry in the tz
14803 database for which this change is relevant).
14804 * manual/time.texi (TZ Variable): Document transition times
14805 from -167:59:59 through -00:00:01.
14806 * time/tzset.c (tz_rule): Time of day is now signed.
14807 (__tzset_parse_tz): Parse negative time of day.
14808
4480e934
PE
14809 Document TZ transition times >= 25:00:00.
14810 * manual/time.texi (TZ Variable): Document transition times from
14811 25:00:00 through 167:59:59. These are already supported, and this
14812 support will help with version-3 tz-format files.
14813
69947401
PE
14814 * manual/time.texi (TZ Variable): Modernize North America example
14815 to reflect current (i.e., 2007-and-later) daylight saving rules.
14816
674762d9
PE
14817 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14818
7011c262
JM
148192013-12-17 Joseph Myers <joseph@codesourcery.com>
14820
2fc6557e
JM
14821 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14822 * sysdeps/unix/bsd/bits/stat.h: Likewise.
14823 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14824 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14825 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14826 * sysdeps/unix/bsd/bsdstat.h: Likewise.
14827 * sysdeps/unix/bsd/clock.c: Likewise.
14828 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14829 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14830 * sysdeps/unix/bsd/init-posix.c: Likewise.
14831 * sysdeps/unix/bsd/poll.c: Likewise.
14832 * sysdeps/unix/bsd/ptsname.c: Likewise.
14833 * sysdeps/unix/bsd/seekdir.c: Likewise.
14834 * sysdeps/unix/bsd/setegid.c: Likewise.
14835 * sysdeps/unix/bsd/seteuid.c: Likewise.
14836 * sysdeps/unix/bsd/setgid.c: Likewise.
14837 * sysdeps/unix/bsd/setrgid.c: Likewise.
14838 * sysdeps/unix/bsd/setruid.c: Likewise.
14839 * sysdeps/unix/bsd/setsid.c: Likewise.
14840 * sysdeps/unix/bsd/setuid.c: Likewise.
14841 * sysdeps/unix/bsd/sigaction.c: Likewise.
14842 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14843 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14844 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14845 * sysdeps/unix/bsd/telldir.c: Likewise.
14846 * sysdeps/unix/bsd/times.c: Likewise.
14847 * sysdeps/unix/bsd/usleep.c: Likewise.
14848
029c7b25
JM
14849 * misc/Makefile (install-lib): Remove libbsd-compat.a.
14850 ($(objpfx)libbsd-compat.a): Remove rule.
14851
7011c262
JM
14852 * include/features.h (__FAVOR_BSD): Do not define.
14853 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14854 features conflicting with POSIX.
14855 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14856 (_BSD_SOURCE): Remove description of not being a subset of other
14857 feature test macros.
14858 * manual/job.texi (getpgrp): Do not document BSD version.
14859 (getpgid): Do not document by reference to BSD getpgrp.
14860 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14861 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14862 * signal/signal.h [__FAVOR_BSD]: Likewise.
14863 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14864 instead of making contents conditional on [__FAVOR_BSD].
14865 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14866
affb6f78
AZ
148672013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14868
14869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14870
c88769dd
JM
148712013-12-17 Joseph Myers <joseph@codesourcery.com>
14872
6432a540
JM
14873 [BZ #16314]
14874 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14875 values below 2**-450, not 2**-500.
14876 * math/auto-libm-test-in: Don't allow spurious underflow from
14877 hypot.
14878 * math/auto-libm-test-out: Regenerated.
14879
c88769dd
JM
14880 [BZ #16316]
14881 [BZ #16330]
14882 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14883 values of ha and hb and sort them after adjusting subnormal
14884 arguments.
14885 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14886 Likewise.
14887 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14888 values of ea and eb and sort them after adjusting subnormal
14889 arguments.
14890 * math/auto-libm-test-in: Do not expect some hypot tests of
14891 subnormals to fail. Add more hypot tests.
14892 * math/auto-libm-test-out: Regenerated.
14893
29618f6b
KK
148942013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14895
14896 [BZ #13304]
14897 * sysdeps/sh/s_fma.c: New file.
14898 * sysdeps/sh/s_fmaf.c: New file.
14899 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
14900 version.
14901 * sysdeps/sh/Implies: Add sh/soft-fp.
14902
eacfdfbf
RM
149032013-12-16 Roland McGrath <roland@hack.frob.com>
14904
14905 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
14906 level of indirection to members `objname', `errstring', `malloced'.
14907 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14908 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
14909 it as the __longjmp argument (just pass 1 instead).
14910 (_dl_catch_error): Initialize C with argument pointers and address of
14911 volatile local ERRCODE rather than copying values out of C at return.
14912
ff362e5b
JM
149132013-12-16 Joseph Myers <joseph@codesourcery.com>
14914
14915 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14916 * math/auto-libm-test-out: Regenerated.
14917 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14918 (hypot_test_data): Likewise.
14919 (pow_test_data): Likewise.
14920 (pow_tonearest_test_data): Likewise.
14921 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14922 mpfr_ff_f.
14923 (func_calc_desc): Add mpfr_ff_f union field.
14924 (FUNC_mpfr_ff_f): New macro.
14925 (test_functions): Add atan2, hypot and pow.
14926 (special_fill_min): New function.
14927 (special_fill_minus_min): Likewise.
14928 (special_fill_min_subnorm): Likewise.
14929 (special_fill_minus_min_subnorm): Likewise.
14930 (special_real_inputs): Add min, -min, min_subnorm and
14931 -min_subnorm.
14932 (calc_generic_results): Handle mpfr_ff_f.
14933 * sysdeps/i386/fpu/libm-test-ulps: Update.
14934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14935
5764c27f
WN
149362013-12-16 Will Newton <will.newton@linaro.org>
14937
14938 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14939 (Aligned Memory Blocks): Add documentation for aligned_alloc
14940 and suggest it as an alternative to posix_memalign.
14941 (Hooks for Malloc): Document __memalign_hook is also called
14942 for aligned_alloc. (Summary of Malloc): Add summary for
14943 aligned alloc. Document __memalign_hook is also called
14944 for aligned_alloc.
14945
0a096e44
WN
149462013-12-16 Will Newton <will.newton@linaro.org>
14947
14948 * manual/memory.texi (Malloc Examples): Clarify default
14949 alignment documentation. Suggest posix_memalign rather
14950 than memalign or valloc.
14951 (Aligned Memory Blocks): Remove suggestion to use memalign
14952 or valloc. Remove obsolete comment about BSD.
14953 Document memalign errno values and mark the function obsolete.
14954 Document posix_memalign returned error codes. Mark valloc
14955 as obsolete. (Hooks for Malloc): __memalign_hook is also
14956 called for posix_memalign and valloc.
14957 (Summary of Malloc): Add posix_memalign to function summary.
14958 __memalign_hook is also called for posix_memalign and valloc.
14959
8d561986
SP
149602013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14961
14962 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
14963 TAYLOR_SIN.
14964 (__sin): Adjust.
14965 (__cos): Likewise.
14966 (sloww): Use mynumber union. Expand ternary operator into
14967 if-else statements.
14968 (cslow): use mynumber union.
14969
73616a74
AM
149702013-12-16 Allan McRae <allan@archlinux.org>
14971
9e8ac24b
AM
14972 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14973 * configure: Regenerated.
14974
6f8e37eb
AM
14975 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14976
8894bad3
AM
14977 [BZ #14120]
14978 * configure.ac: Added --enable-maintainer-mode. Check for
14979 autoconf when enabled.
14980 * configure: Regenerated.
14981
73616a74
AM
14982 * nscd/nscd.service: New file.
14983 * nscd/nscd.tmpfiles: New file.
14984
584b18eb
OB
149852013-12-14 Ondřej Bílka <neleai@seznam.cz>
14986
14987 [BZ #12100]
14988 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14989 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14990 * sysdeps/x86_64/multiarch/strstr.c: ... here.
14991 (strstr): Add __strstr_sse2_unaligned ifunc.
14992 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14993 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14994 (strcasestr): Remove __strcasestr_sse42 ifunc.
14995 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14996 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14997 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14998
8a5c7897
KK
149992013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15000
15001 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
15002 * sysdeps/sh/bits/fenv.h: ... here.
15003 * sysdeps/sh/sh4/fpu/bits: Remove directory.
15004
fd712ef3
AZ
150052013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15006
15007 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
15008
42fcb46c
AZ
15009 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
15010 hypotf multiarch implementations.
15011 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
15012 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
15013 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
15014 multiarch hypot for PPC64.
15015 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
15016 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
15017 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
15018 multiarch hypotf for PPC64.
15019
83efded4
AZ
15020 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
15021 modff multiarch implementations.
15022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
15023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
15024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
15025 multiarch modf for PPC64.
15026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
15027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
15028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
15029 multiarch modff for PPC64.
15030
43e246d2
AZ
15031 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
15032 and logl multiarch implementations.
15033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
15034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
15035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
15036 multiarch logb for PPC64.
15037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
15038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
15039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
15040 multiarch logb for PPC64.
15041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
15042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
15043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
15044 multiarch logb for PPC64.
15045
8fdad123
AZ
15046 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
15047 isinff multiarch implementation.
15048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
15049 file.
15050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
15051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
15052 multiarch isinf for PPC64.
15053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
15054 file.
15055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
15056 multiarch isinff for PPC64.
15057
1481d706
AZ
15058 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
15059 finitef multiarch implementation.
15060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
15061 file.
15062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
15063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
15064 multiarch finite for PPC64.
15065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
15066 file.
15067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
15068 multiarch finitef for PPC64.
15069
5ccd5fc8
AZ
15070 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
15071 lrint multiarch implementation.
15072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
15073 file.
15074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
15075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
15076 multiarch llrint for PPC64.
15077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
15078 multiarch lrint for PPC64.
15079
2568f3fa
AZ
15080 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
15081 copysignf multiarch implementation.
15082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
15083 file.
15084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
15085 file.
15086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
15087 multiarch copysign for PPC64.
15088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
15089 multiarch copysignf for PPC64.
15090
1cb341fd
AZ
15091 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
15092 multiarch implementation.
15093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15094 file.
15095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15096 file.
15097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15098 file.
15099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15100 file.
15101 multiarch llround for PPC64.
15102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15103 multiarch trunc for PPC64.
15104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15105 multiarch truncf for PPC64.
15106
59a3e194
AZ
15107 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15108 multiarch implementation.
15109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15110 file.
15111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15112 file.
15113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15114 file.
15115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15116 file.
15117 multiarch llround for PPC64.
15118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15119 multiarch round for PPC64.
15120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15121 multiarch roundf for PPC64.
15122
357fd3b4
AZ
15123 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15124 multiarch implementation.
15125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15126 file.
15127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15128 file.
15129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15130 file.
15131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15132 file.
15133 multiarch llround for PPC64.
15134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15135 multiarch floor for PPC64.
15136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15137 multiarch floorf for PPC64.
15138
96770f12
AZ
15139 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15140 multiarch implementation.
15141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15142 file.
15143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15144 file.
15145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15146 file.
15147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15148 file.
15149 multiarch llround for PPC64.
15150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15151 multiarch ceil for PPC64.
15152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15153 multiarch ceilf for PPC64.
15154
c3627f6e
AZ
15155 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15156 multiarch implementation.
15157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15158 file.
15159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15160 file.
15161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15162 file.
15163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15164 multiarch llround for PPC64.
15165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15166 multiarch lround for PPC64.
15167
b2284ad7
AZ
15168 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15169 multiarch implementation.
15170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15173 file.
15174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15177 multiarch isnan for PPC64.
15178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15179 multiarch isnanf for PPC64.
15180
69bbc63d
AZ
15181 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15182 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15183 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15184 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15185 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15187
c24517c9
AZ
15188 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15189 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15190 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15191 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15192
a52374e8
AZ
15193 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15194 multiarch implementations.
15195 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15196 (__libc_ifunc_impl_list): Likewise.
15197 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15198 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15199 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15200 multiarch stpcpy for PPC64.
15201
7f5ec113
AZ
15202 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15203 multiarch implementations.
15204 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15205 (__libc_ifunc_impl_list): Likewise.
15206 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15207 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15208 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15209 multiarch strcpy for PPC64.
15210
e28bcd42
AZ
15211 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15212 redefine function name.
15213 (_wordcopy_fwd_dest_aligned): Likewise.
15214 (_wordcopy_bwd_aligned): Likewise.
15215 (_wordcopy_bwd_dest_aligned): Likewise.
15216 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15217 multiarch implementations.
15218 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15219 (__libc_ifunc_impl_list): Likewise.
15220 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15221 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15222 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15223 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15224 multiarch wcscpy for PPC64.
15225
92cacfce
AZ
15226 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15227 multiarch implementations.
15228 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15229 (__libc_ifunc_impl_list): Likewise.
15230 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15231 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15232 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15233 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15234 multiarch wcscpy for PPC64.
15235
7b714620
AZ
15236 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15237 multiarch implementations.
15238 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15239 (__libc_ifunc_impl_list): Likewise.
15240 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15241 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15242 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15243 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15244 multiarch wcsrchr for PPC64.
15245
16fd2ae3
AZ
15246 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15247 multiarch implementations.
15248 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15249 (__libc_ifunc_impl_list): Likewise.
15250 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15251 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15252 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15253 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15254 multiarch wcschr for PPC64.
15255
9ee2969b
AZ
15256 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15257 multiarch implementations.
15258 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15259 (__libc_ifunc_impl_list): Likewise.
15260 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15261 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15262 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15263 multiarch strchrnul for PPC64.
15264
372dc060
AZ
15265 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15266 implementations.
15267 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15268 (__libc_ifunc_impl_list): Likewise.
15269 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15270 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15271 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15272 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15273 strchr for PPC64.
15274
24c2c3b9
AZ
15275 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15276 implementations.
15277 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15278 (__libc_ifunc_impl_list): Likewise.
15279 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15280 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15281 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15282 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15283 strncmp for PPC64.
15284
1c92d9a0
AZ
15285 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15286 multiarch implementations.
15287 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15288 (__libc_ifunc_impl_list): Likewise.
15289 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15290 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15291 strncasecmp for PPC64.
15292 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15293 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15294 multiarch strncasecmp_l for PPC64.
15295
17de3ee3
AZ
15296 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15297 multiarch implementations.
15298 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15299 (__libc_ifunc_impl_list): Likewise.
15300 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15301 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15302 multiarch strcasecmp for PPC64.
15303 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15304 file.
15305 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15306 multiarch strcasecmp_l for PPC64.
15307
62982bf9
AZ
15308 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15309 implementations.
15310 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15311 (__libc_ifunc_impl_list): Likewise.
15312 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15313 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15314 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15315 strnlen for PPC64.
15316
a65f4904
AZ
15317 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15318 implementations.
15319 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15320 (__libc_ifunc_impl_list): Likewise.
15321 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15322 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15323 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15324 strlen for PPC64.
15325
1fd005ad
AZ
15326 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15327 implementations.
15328 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15329 (__libc_ifunc_impl_list): Likewise.
15330 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15331 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15332 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15333 rawmemrchr for PPC64.
15334
cd05ba91
AZ
15335 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15336 implementation.
15337 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15338 (__libc_ifunc_impl_list): Likewise.
15339 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15340 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15341 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15342 memrchr for PPC64.
15343
870f8676
AZ
15344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15345 implementation.
15346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15347 (__libc_ifunc_impl_list): Likewise.
15348 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15349 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15350 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15351 memchr for PPC64.
15352
f00be62b
AZ
15353 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15354 implementation.
15355 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15356 (__libc_ifunc_impl_list): Likewise.
15357 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15358 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15359 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15360 mempcpy for PPC64.
15361
8a29a3d0
AZ
15362 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15363 avoid cretion of __bzero symbol.
15364 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15365 Likewise.
15366 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15367 Likewise.
15368 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15369 Likewise.
15370 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15371 multiarch implementations.
15372 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15373 (__libc_ifunc_impl_list): Likewise.
15374 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15375 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15376 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15377 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15378 bzero for PPC32.
15379 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15380 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15381 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15382 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15383 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15384 memset for PPC64.
15385 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15386
07253fcf
AZ
15387 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15388 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15389 implementations.
15390 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15391 (__libc_ifunc_impl_list): Likewise.
15392 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15393 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15394 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15395 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15396 memcmp for PPC64.
15397
b5beafbc
AZ
15398 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15399 multiarch for POWER/PPC64.
15400 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15401 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15402 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15403 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15404 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15405 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15406 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15407 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15408 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15409 memcpy for PPC64.
15410
5e6a4d4b
AZ
15411 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15412 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15413 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15414 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15415 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15416 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15417 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15418 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15419 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15420 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15421 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15422 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15423 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15424 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15425 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15433
ddfab6dc
KK
154342013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15435
15436 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15437
19b5525e
SP
154382013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15439
15440 * benchtests/Makefile (bench): Add exp2 and log2.
15441 (LDLIBS-bench-exp2): Add -lm.
15442 (LDLIBS-bench-log2): Likewise.
15443 * benchtests/exp2-inputs: New inputs file.
15444 * benchtests/log2-inputs: New inputs file.
15445 * benchtests/log-inputs: Add new inputs.
15446 * benchtests/tan-inputs: Likewise.
15447
196f7f5d
SP
154482013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15449
7a74607f
SP
15450 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15451 definition...
57f41c40
AS
15452 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15453 (csloww2): ... from here.
7a74607f 15454
196f7f5d
SP
15455 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15456 instead of structures.
15457 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15458 (POLYNOMIAL): Likewise.
15459 (TAYLOR_SLOW): Likewise.
15460 (__sin): Likewise.
15461 (__cos): Likewise.
15462 (slow1): Likewise.
15463 (slow2): Likewise.
15464 (sloww): Likewise.
15465 (sloww1); Likewise.
15466 (sloww2): Likewise.
15467 (bsloww1): Likewise.
15468 (bsloww2): Likewise.
15469 (cslow2): Likewise.
15470 (csloww): Likewise.
15471 (csloww1): Likewise.
15472 (csloww2): Likewise.
15473
0dfa665c
OB
154742013-12-10 Ondřej Bílka <neleai@seznam.cz>
15475
15476 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
15477 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15478 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
15479 * malloc/hooks.c (realloc_check): Likewise.
15480
5782a80f
OB
15481 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15482 * malloc/arena.c: Remove PER_THREAD conditional.
15483 [!PER_THREAD]: Remove code.
15484 (ptmalloc_unlock_all2): Likewise.
15485 (ptmalloc_init): Likewise.
15486 (_int_new_arena): Likewise.
15487 (arena_get2): Likewise.
15488 * malloc/hooks.c (__malloc_get_state): Likewise.
15489 (__malloc_set_state): Likewise.
15490 * malloc/malloc.c: Likewise.
15491 (struct malloc_state): Likewise.
15492 (struct malloc_par): Likewise.
15493 (__libc_realloc): Likewise.
15494 (__libc_mallopt): Likewise.
15495
aeb95445
AZ
154962013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15497
15498 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15499
e8349efd
OB
155002013-12-09 Ondřej Bílka <neleai@seznam.cz>
15501
15502 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15503 macro to a function. Check for zero perturb_byte.
15504 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15505
f3eeb3fc 15506 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
15507 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15508 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
15509 force_reg by atomic_forced_read.
15510 * malloc/arena.c (ptmalloc_init): Likewise.
15511 * malloc/hooks.c (top_check): Likewise.
15512
be2f9009
AZ
155132013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15514
15515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15516
e7b914bd
MT
155172013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15518
15519 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15520
9f0be4f8
JM
155212013-12-08 Joseph Myers <joseph@codesourcery.com>
15522
15523 * math/auto-libm-test-in: Add tests of lgamma.
15524 * math/auto-libm-test-out: Regenerated.
15525 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15526 (M_LOG_2_SQRT_PIl): Likewise.
15527 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15528 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15529 mpfr_f_f1.
15530 (func_calc_desc): Add mpfr_f_f1 union field.
15531 (ARGS1): New macro.
15532 (ARGS2): Likewise.
15533 (ARGS3): Likewise.
15534 (ARGS4): Likewise.
15535 (RET1): Likewise.
15536 (RET2): Likewise.
15537 (CALC): Likewise.
15538 (FUNC): Likewise.
15539 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15540 (test_functions): Add lgamma.
15541 (calc_generic_results): Handle mpfr_f_f1.
15542 * sysdeps/i386/fpu/libm-test-ulps: Update.
15543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15544
24eeafdb
AZ
155452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15546
15547 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15548 __mpn_add_n for PowerPC64/POWER7.
15549 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15550 __mpn_sub_n for PowerPC64/POWER7.
15551
4a2c0fd4
AZ
15552 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15553 __mpn_addmul_1 for PowerPC64.
15554 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15555 __mpn_submul_1 for PowerPC64.
15556 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15557 for PowerPC64.
15558 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15559 for PowerPC64.
15560
4b5b548c
FS
155612013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15562
15563 [BZ #15089]
15564 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15565
0a3ac0aa
AZ
155662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15567
15568 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15569
ccdc8438
AZ
15570 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15571 add multiarch folders.
15572 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15573 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15574 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15575 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15576 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15577 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15578 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15579 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15580 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15581 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15582 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15589
2e973d99
AZ
15590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15591 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15593 New file.
15594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15595 New file.
15596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15597 multiarch __ieee754_hypot for PowerPC32.
15598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15599 New file.
15600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15601 New file.
15602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15603 multiarch __ieee754_hypotf for PowerPC32.
15604
2d9470b2
AZ
15605 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15606 long_double_symbol only if __logbl is defined.
15607 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15608 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15609 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15610 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15611 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15612 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15613 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15614 path for implementation.
15615 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15616 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15618 logb, and logbl multiarch implementations for PowerPC32.
15619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15620 file.
15621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15622 file.
15623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15624 multiarch logb for PowerPC32.
15625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15626 file.
15627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15628 file.
15629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15630 multiarch logbf for PowerPC32.
15631 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15633 file.
15634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15635 multiarch logbl implementation for PowerPC32.
15636
5212ffce
AZ
15637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15638 and modff multiarch implementations.
15639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15640 New file.
15641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15642 New file.
15643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15644 multiarch modf for PowerPC32.
15645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15646 New file.
15647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15648 New file.
15649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15650 multiarch modff for PowerPC32.
15651
79dccf31
AZ
15652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15653 and lrintf multiarch implementations.
15654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15655 New file.
15656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15657 New file.
15658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15659 multiarch lrint for PowerPC32.
15660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15661 file: multiarch lrintf for PowerPC32.
15662
deb66480
AZ
15663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15664 and lroundf multiarch implementations.
15665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15666 New file.
15667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15668 New file.
15669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15670 New file.
15671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15672 multiarch lround for PowerPC32.
15673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15674 file: multiarch lroundf for PowerPC32.
15675
264b036b
AZ
15676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15677 copysign and copysignf multiarch implementations.
15678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15679 New file.
15680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15681 New file.
15682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15683 file: multiarch copysign for PowerPC32.
15684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15685 file: multiarch copysignf for PowerPC32.
15686
d47db6c9
AZ
15687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15688 and truncf multiarch implementations.
15689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15690 New file.
15691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15692 file.
15693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15694 multiarch trunc for PowerPC32.
15695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15696 New file.
15697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15698 New file.
15699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15700 multiarch truncf for PowerPC32.
15701
ddb60b5a
AZ
15702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15703 and roundf multiarch implementations.
15704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15705 New file.
15706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15707 file.
15708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15709 multiarch round for PowerPC32.
15710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15711 New file.
15712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15713 New file.
15714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15715 multiarch roundf for PowerPC32.
15716
bedcf49b
AZ
15717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15718 and floorf multiarch implementations.
15719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15720 New file.
15721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15722 file.
15723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15724 multiarch floor for PowerPC32.
15725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15726 New file.
15727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15728 New file.
15729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15730 multiarch floorf for PowerPC32.
15731
35ae5b40
AZ
15732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15733 and ceilf multiarch implementations.
15734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15735 New file.
15736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15737 file.
15738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15739 multiarch ceil for PowerPC32.
15740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15741 New file.
15742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15743 file.
15744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15745 multiarch ceilf for PowerPC32.
15746
ae1a4cd9
AZ
15747 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15748 is defined.
15749 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15750 FINITEF is defined.
15751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15752 and finitef multiarch implementations.
15753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15754 New file.
15755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15756 file.
15757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15758 multiarch finite for PowerPC32.
15759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15760 New file.
15761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15762 file: multiarch finitef for PowerPC32.
15763
64fffd65
AZ
15764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15765 and isinff multiarch implementations.
15766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15767 file.
15768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15769 file.
15770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15771 multiarch isinf for PowerPC32.
15772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15773 New file.
15774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15775 multiarch isinff for PowerPC32.
15776
8e4e7ba2
AZ
15777 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15778 alias when __isnan is defined.
15779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15780 and isnanf multiarch implementations.
15781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15782 file.
15783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15784 file.
15785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15786 file.
15787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15788 file.
15789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15790 multiarch isnan for PowerPC32.
15791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15792 New file.
15793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15794 New file.
15795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15796 multiarch isnanf for PowerPC32.
15797
ddba588e
AZ
15798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15799 and sqrtf multiarch implementations.
15800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15801 file.
15802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15803 file.
15804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15805 multiarch sqrt for PowerPC32.
15806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15807 file.
15808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15809 file.
15810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15811 multiarch sqrtf for PowerPC32.
15812
0f96a2f0
AZ
15813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15814 and llroundf multiarch implementations.
15815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15816 New file.
15817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15818 New file.
15819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15820 New file.
15821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15822 file: multiarch llround for PowerPC32.
15823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15824 file: multiarch llroundf for PowerPC32.
15825
c9b5d79e
AZ
15826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15827 multiarch PowerPC32 fpu implementations.
15828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15829 New file.
15830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15831 New file.
15832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15833 multiarch llrint for PowerPC32.
15834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15835 New file.
15836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15837 New file.
15838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15839 file.
15840
9cbb3aab
AZ
15841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15842
ea5a72f8
AZ
15843 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15844 file.
15845 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15846 file.
15847 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15848 file.
15849 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15850 multiarch wordcopy for PPC32.
15851 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15852 wordcopy objects.
15853 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15854 (__libc_ifunc_impl_list): Likewise.
15855 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15856 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15857 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15858 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15859 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15860 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15861
93be09e7
AZ
15862 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15863 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15864 file.
15865 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15866 file.
15867 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15868 file.
15869 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15870 multiarch wcscpy for PPC32.
15871 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15872 multiarch objects.
15873 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15874 (__libc_ifunc_impl_list): Likewise.
15875 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15876 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15877 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15878 sysdeps/powerpc/power6/wcscpy.c.
15879
bb04e529
AZ
15880 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15881 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15882 file.
15883 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15884 file.
15885 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15886 file.
15887 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15888 multiarch wcsrchr for PPC32.
15889 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15890 multiarch objects.
15891 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15892 (__libc_ifunc_impl_list): Likewise.
15893 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15894 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15895 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15896 sysdeps/powerpc/power6/wcsrchr.c.
15897
05b5cd1c
AZ
15898 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15899 file.
15900 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15901 file.
15902 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15903 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15904 multiarch wcschr for PPc32.
15905 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15906 multiarch objects.
15907 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15908 (__libc_ifunc_impl_list): Likewise.
15909 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15910 * sysdeps/powerpc/power6/wcschr.c: ... to here.
15911 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15912 sysdeps/powerpc/power6/wcschr.c.
15913
ba964147
AZ
15914 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15915 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15916 file.
15917 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15918 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15919 file: multiarch strchr for PPC32.
15920 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15921 multiarch objects.
15922 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15923 (__libc_ifunc_impl_list): Likewise.
15924
31c81aaa
AZ
15925 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15926 name.
15927 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15928 file.
15929 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15930 file.
15931 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15932 multiarch strchrnul for PPC32.
15933 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15934 multiarch objects.
15935 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15936 (__libc_ifunc_impl_list): Likewise.
15937
0d0607d9
AZ
15938 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15939 file.
15940 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15941 multiarch strncasecmp for PPC32.
15942 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15943 file.
15944 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15945 multiarch strncasecmp_l for PPC32.
15946 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
15947 strncasecmp multiarch objects.
15948 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15949 (__libc_ifunc_impl_list): Likewise.
15950
4dfd5c86
AZ
15951 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
15952 file.
15953 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
15954 multiarch strncasecmp for PPC32.
15955 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15956 New file.
15957 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
15958 multiarch strcasecmp_l for PPC32.
15959 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
15960 multiarch objects.
15961 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15962 (__libc_ifunc_impl_list): Likewise.
15963
a19e01a3
AZ
15964 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15965 file.
15966 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15967 file.
15968 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15969 multiarch strncmp for PPC32.
15970 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15971 multiarch objects.
15972 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15973 (__libc_ifunc_impl_list): Likewise.
15974
ae9cf7a2
AZ
15975 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15976 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15977 file.
15978 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15979 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15980 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15981 multiarch objects.
15982 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15983 (__libc_ifunc_impl_list): Likewise.
15984
3148bb7d
AZ
15985 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15986 file.
15987 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15988 file.
15989 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15990 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15991 multiarch objects.
15992 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15993 (__libc_ifunc_impl_list): Likewise.
15994
7af8b946
AZ
15995 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15996 file.
15997 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15998 file.
15999 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
16000 multiarch rawmemchr for PPC32.
16001 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
16002 multiarch objects.
16003 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16004 (__libc_ifunc_impl_list): Likewise.
16005
03a6aa6a
AZ
16006 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
16007 file.
16008 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
16009 file.
16010 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
16011 file: memrchr multiarch for PPC32.
16012 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
16013 multiarch objects.
16014 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16015 (__libc_ifunc_impl_list): Likewise.
16016
1c62e6d9
AZ
16017 * string/memchr.c (__memchr): Using macro to redefine symbol name.
16018 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
16019 file.
16020 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
16021 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
16022 multiarch memchr for PPC32.
16023 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
16024 multiarch objects.
16025 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16026 (__libc_ifunc_impl_list): Likewise.
16027
87da8bdb
AZ
16028 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
16029 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
16030 file.
16031 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
16032 file.
16033 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
16034 file: multiarch mempcpy for PPC32.
16035 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
16036 multiarch objects.
16037 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16038 (__libc_ifunc_impl_list): Likewise.
16039
20ed4714
AZ
16040 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
16041 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
16042 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
16043 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
16044 multiarch bzero for PPC32.
16045 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
16046 file.
16047 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
16048 file.
16049 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
16050 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
16051 file: multiarch memset for PPC32.
16052 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
16053 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
16054 memset multiarch objects.
16055 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16056 (__libc_ifunc_impl_list): Likewise.
16057
ab3e3a46
AZ
16058 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
16059 file.
16060 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
16061 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
16062 memcmp for PPC32.
16063 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
16064 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
16065 multiarch objects.
16066 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16067 (__libc_ifunc_impl_list): Likewise.
16068
930de6f0
AZ
16069 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
16070 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
16071 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
16072 file.
16073 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
16074 file.
16075 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
16076 file.
16077 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
16078 multiarch memcpy for PPC32.
16079 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
16080 multiarch objects.
16081 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16082 (__libc_ifunc_impl_list): Likewise.
16083
4c628e00
AZ
16084 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
16085 support multiarch for POWER/PPC32.
16086 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
16087 Likewise.
16088 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
16090 Implies file to make multiarch folder appers before the fpu and
16091 default folder for power4 configuration.
16092
f4479220
SP
160932013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16094
16095 * scripts/bench.pl: Append volatile keyword to type.
16096
8517800f
KK
160972013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16098
16099 * sysdeps/sh/sotruss-lib.c: New file.
16100 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16101
180138f1
AZ
161022013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16103
16104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16105
bbf37bdc
JM
161062013-12-05 Joseph Myers <joseph@codesourcery.com>
16107
e47cc4e0
JM
16108 [BZ #6810]
16109 * math/w_tgamma.c: Include <errno.h>.
16110 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
16111 * math/w_tgammaf.c: Include <errno.h>.
16112 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
16113 * math/w_tgammal.c: Include <errno.h>.
16114 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
16115 * math/auto-libm-test-in: Do not allow missing errno on tgamma
16116 underflow. Add more tgamma tests.
16117 * math/auto-libm-test-out: Regenerated.
16118 * sysdeps/i386/fpu/libm-test-ulps: Update.
16119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16120
bbf37bdc
JM
16121 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16122 sin, sinh, tan, tanh, tgamma, y0 and y1.
16123 * math/auto-libm-test-out: Regenerated.
16124 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16125 (TEST_COND_x86): Likewise.
16126 (M_E2l): Remove macro.
16127 (M_E3l): Likewise.
16128 (M_2_SQRT_PIl): Likewise.
16129 (M_SQRT_PIl): Likewise.
16130 (M_1_DIV_El): Likewise.
16131 (log_test_data): Use AUTO_TESTS_f_f.
16132 (log10_test_data): Likewise.
16133 (log1p_test_data): Likewise.
16134 (log2_test_data): Likewise.
16135 (sin_test_data): Likewise.
16136 (sin_tonearest_test_data): Likewise.
16137 (sin_towardzero_test_data): Likewise.
16138 (sin_downward_test_data): Likewise.
16139 (sin_upward_test_data): Likewise.
16140 (sinh_test_data): Likewise.
16141 (sinh_tonearest_test_data): Likewise.
16142 (sinh_towardzero_test_data): Likewise.
16143 (sinh_downward_test_data): Likewise.
16144 (sinh_upward_test_data): Likewise.
16145 (tan_test_data): Likewise.
16146 (tan_tonearest_test_data): Likewise.
16147 (tan_towardzero_test_data): Likewise.
16148 (tan_downward_test_data): Likewise.
16149 (tan_upward_test_data): Likewise.
16150 (tanh_test_data): Likewise.
16151 (tgamma_test_data): Likewise.
16152 (y0_test_data): Likewise.
16153 (y1_test_data): Likewise.
16154 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16155 (special_real_inputs): Add pi/4.
16156 * sysdeps/i386/fpu/libm-test-ulps: Update.
16157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16158
eb5ad6b9
AZ
161592013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16160
16161 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16162 "longjmp_target" static probes.
16163 (__longjmp): Rename to __longjmp_symbol.
16164 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16165 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16166 on which longjmp to generate.
16167 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16168 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16169 probe.
16170 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16171 (__sigjmp_save): Rename to __sigjmp_save_symbol.
16172 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16173 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16174 and __sigjmp_save_symbol based on which sigsetjmp to generated.
16175 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16177 __longjmp_symbol based on which __longjmp to generate.
16178 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16179 probe.
16180 (setjmp): Rename to setjmp_symbol.
16181 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16182 (_setjmp): Rename to _setjmp_symbol.
16183 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16184 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16185 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16186 which setjmp to generate.
16187 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16188 "longjmp_target" static probes.
16189
d136c6dc
SP
161902013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16191
9298ecba
SP
16192 * benchtests/README: Add note about output arguments.
16193 * benchtests/bench-sincos.c: Remove file.
16194 * benchtests/sincos-inputs: New file.
16195 * scripts/bench.pl: Identify output arguments and define
16196 static variables for them.
16197
232983e9
SP
16198 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16199
d136c6dc
SP
16200 [BZ #15941]
16201 * Makefile (INSTALL): Add install-plain.texi as the primary
16202 dependency.
16203 * manual/install-plain.texi: New file.
16204 * manual/install.texi: Include node directive only for
16205 non-plaintext output.
16206
699ff837
JM
162072013-12-04 Joseph Myers <joseph@codesourcery.com>
16208
ab07cea8
JM
16209 * stdlib/longlong.h: Update from GCC.
16210
699ff837
JM
16211 [BZ #6807]
16212 [BZ #15901]
16213 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16214 * math/w_j0f.c (y0f): Likewise.
16215 * math/w_j0l.c (__y0l): Likewise.
16216 * math/w_j1.c (y1): Likewise.
16217 * math/w_j1f.c (y1f): Likewise.
16218 * math/w_j1l.c (__y1l): Likewise
16219 * math/w_jn.c (yn): Likewise.
16220 * math/w_jnf.c (ynf): Likewise.
16221 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16222 Bessel function pole errors in _POSIX_ mode. Use NAN as return
16223 value for Bessel function domain errors outside _SVID_ mode.
16224 Adjust sign of return value for yn (negative integer, 0).
16225 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16226 by zero in return for negative x and set sign appropriately for
16227 negative n.
16228 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16229 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16230 * math/libm-test.inc (y0_test_data): Add more tests and adjust
16231 expectations in error cases.
16232 (y1_test_data): Likewise.
16233 (yn_test_data): Likewise.
16234 * sysdeps/i386/fpu/libm-test-ulps: Update.
16235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16236
5b118558
UW
162372013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16238
16239 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16240 "64" to "64-v1". Add "64-v2".
16241 (abi-64-options): Rename to ...
16242 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
16243 (abi-64-condition): Rename to ...
16244 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
16245 (abi-64-ld-soname): Rename to ...
16246 (abi-64-v1-ld-soname): ... this.
16247 (abi-64-v2-options): Define.
16248 (abi-64-v2-condition): Likewise.
16249 (abi-64-v2-ld-soname): Likewise.
16250 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16251 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16255
61cd8fe4
UW
162562013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16257 Alan Modra <amodra@gmail.com>
16258
16259 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16260 New versions for use with the ELFv2 ABI.
16261 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16262 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16263 declaration.
16264 (struct La_ppc64v2_retval): Likewise.
16265 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16266 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16267 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16268 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16269 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16270 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16271 Do not save or restore CR.
16272 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16273 (_dl_profile_resolve): Do no save or restore CR. Support extended
16274 return values for ELFv2 ABI. Fix location of FPR return registers.
16275 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16276 updated values for _CALL_ELF == 2.
16277 (La_regs, La_retval, int_retval): Likewise.
16278
8b8a692c
UW
162792013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16280
16281 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16282 (FRAME_MIN_SIZE_PARM): Likewise.
16283 (FRAME_BACKCHAIN): Likewise.
16284 (FRAME_CR_SAVE): Likewise.
16285 (FRAME_LR_SAVE): Likewise.
16286 (FRAME_TOC_SAVE): Likewise.
16287 (FRAME_PARM_SAVE): Likewise.
16288 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16289 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16290 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16291 (call_mcount_parm_offset): New macro.
16292 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16293 (PROF): Use symbolic stack frame offsets.
16294 (TAIL_CALL_SYSCALL_ERROR): Likewise.
16295 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16296 Redefine in terms of FRAME_MIN_SIZE.
16297 (_dl_runtime_resolve): Use symbolic stack frame offsets.
16298 (_dl_profile_resolve): Likewise. Update comment.
16299 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16300 symbols stack frame offsets.
16301 (__sigsetjmp): Likewise.
16302 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16303 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16304 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16305 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16306
16307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16308 (FRAME_BACKCHAIN): Remove.
16309 (FRAME_CR_SAVE): Likewise.
16310 (FRAME_LR_SAVE): Likewise.
16311 (FRAME_COMPILER_DW): Likewise.
16312 (FRAME_LINKER_DW): Likewise.
16313 (FRAME_TOC_SAVE): Likewise.
16314 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
16315 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16316 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16317 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
16318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16319 (CHECK_SP): Use symbolic stack frame offsets.
16320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16321 zone" instead of caller's parameter save area for temp storage.
16322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16323 Likewise. Also, use symbolic stack frame offsets.
16324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16325 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16326 our own stack frame instead of the caller's.
16327 (__socket): Use symbolic stack frame offsets.
16328
122b66de
UW
163292013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16330 Alan Modra <amodra@gmail.com>
16331
16332 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16333 Define.
57f41c40
AS
16334 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16335 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
16336 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16337 New function.
16338 (elf_machine_fixup_plt): Call it.
16339 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
16340 reloc arguments.
16341 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
16342 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16343 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
16344 r2 before calling target.
16345
696caf1d
UW
163462013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16347 Alan Modra <amodra@gmail.com>
16348
16349 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16350 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16351 versions of macros to support ELFv2 ABI.
16352 (LOCALENTRY): New macro.
16353 (ENTRY, EALIGN): Use it.
16354 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16355 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16356 fall through into ENTRY entry point.
16357 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16358 Only define if _CALL_ELF != 2.
16359
16360 (elf_machine_matches_host): Verify ABI version matches.
16361 (RTLD_START): Use LOCALENTRY.
16362 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16363 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16364 (PLT_ENTRY_WORDS): New macro.
16365 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16366 (elf_machine_runtime_setup): Support ELFv2 ABI.
16367 (elf_machine_fixup_plt): Likewise.
16368 (elf_machine_plt_conflict): Likewise.
16369 (resolve_ifunc): Likewise.
16370 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16371 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16372 Likewise.
16373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16374 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16376 (makecontext): Support ELFv2 ABI.
16377 * elf/elf.h (EF_PPC64_ABI): Define.
16378
d31beafa
UW
163792013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16380
57f41c40
AS
16381 * sysdeps/powerpc/powerpc64/sysdep.h
16382 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16383 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16384 (ENTRY) [ASSEMBLER]: ... but instead here ...
16385 (EALIGN) [ASSEMBLER]: ... and here.
16386 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16387 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16388 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
16389 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16390 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
16391 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16392 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
16393 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16395 Use PPC64_LOAD_FUNCPTR.
16396
b525166b
UW
16397 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16398
7ec07d9a
AM
163992013-12-04 Alan Modra <amodra@gmail.com>
16400
16401 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16402 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16403 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16404 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16405
16406 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16407 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16408 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16409 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16410 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16411 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16412
5162e7dd
UW
164132013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16414
16415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16416 (__makecontext): Fix incorrect CFI when backtracing out of
16417 context created via makecontext.
16418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16419 (__setcontext): Fix incorrect CFI during switch to new context.
16420 (__novec_setcontext): Likewise.
16421
19e3372b
OB
164222013-12-04 Ondřej Bílka <neleai@seznam.cz>
16423
16424 [BZ #4772]
16425 * time/strptime_l.c (__strptime_internal): Allow modifiers
16426 in strptime.
16427 * time/tst-strptime.c (day_tests): Add testcase.
16428
ecaf142d
SP
164292013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16430
16431 * scripts/bench.pl: Skip over blank lines.
16432
fbf964ae
PE
164332013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16434
16435 [BZ #926]
16436 * manual/time.texi (Calendar Time): Clarify what timezone functions
16437 use.
16438
fa60a674
AZ
164392013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16440
16441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16442
d674f0ef
OB
164432013-12-04 Ondřej Bílka <neleai@seznam.cz>
16444
16445 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16446 implementation.
16447 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16448 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16449 * debug/memset_chk.c (__memset_chk): Likewise.
16450 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16451 * debug/strncpy_chk.c: Likewise.
16452
17dea188
JM
164532013-12-03 Joseph Myers <joseph@codesourcery.com>
16454
749008ff
JM
16455 [BZ #15268]
16456 [BZ #15425]
16457 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16458 (__ieee754_exp): For possibly underflowing results, check size of
16459 result and force underflow exception if required.
16460 * math/auto-libm-test-in: Add more tests of exp.
16461 * math/auto-libm-test-out: Regenerated.
16462 * sysdeps/i386/fpu/libm-test-ulps: Update.
16463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16464
17dea188
JM
16465 [BZ #16283]
16466 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16467 * math/w_exp2f.c (__exp2f): Likewise.
16468 * math/w_exp2l.c (__exp2l): Likewise.
16469 * math/auto-libm-test-in: Do not allow missing errno on exp2
16470 underflow.
16471 * math/auto-libm-test-out: Regenerated.
16472
b20de2c3
OB
164732013-12-03 Ondřej Bílka <neleai@seznam.cz>
16474
16475 [BZ #16274]
16476 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16477 handle filename validation.
16478 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16479 (do_open): Delete.
16480
d8e2dbe3
JM
164812013-12-03 Joseph Myers <joseph@codesourcery.com>
16482
34e16df5
JM
16483 [BZ #6786]
16484 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16485 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16486 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16487 <float.h>.
16488 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16489 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16490 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16491 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16492 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16493 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16494 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16495 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16496 Add more erfc tests.
16497 * math/auto-libm-test-out: Regenerated.
16498 * sysdeps/i386/fpu/libm-test-ulps: Update.
16499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16500
d8e2dbe3
JM
16501 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16502 exp2, expm1, j0 and j1.
16503 * math/auto-libm-test-out: Regenerated.
16504 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16505 (erfc_test_data): Likewise.
16506 (exp_test_data): Likewise.
16507 (exp_tonearest_test_data): Likewise.
16508 (exp_towardzero_test_data): Likewise.
16509 (exp_downward_test_data): Likewise.
16510 (exp_upward_test_data): Likewise.
16511 (exp10_test_data): Likewise.
16512 (exp2_test_data): Likewise.
16513 (expm1_test_data): Likewise.
16514 (j0_test_data): Likewise.
16515 (j1_test_data): Likewise.
16516 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16517 (input_flag_type): Add flag_xfail_rounding.
16518 (input_flags): Add xfail-rounding.
16519 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16520 (output_for_one_input_case): Handle flag_xfail_rounding.
16521 * sysdeps/i386/fpu/libm-test-ulps: Update.
16522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16523
18d14251
AJ
165242013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16525
3d2e6075 16526 [BZ #16289]
18d14251
AJ
16527 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16528 division by 0.
16529
520d437b
SP
165302013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16531
16532 [BZ #16195]
16533 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16534 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16535 (STAP_PROBE0): New macro.
16536 (STAP_PROBE1): Likewise.
16537 (STAP_PROBE2): Likewise.
16538 (STAP_PROBE3): Likewise.
16539 (STAP_PROBE4): Likewise.
16540
416e0145
OB
165412013-12-02 Ondřej Bílka <neleai@seznam.cz>
16542
16543 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16544
9d17796a
SE
165452013-12-02 Steve Ellcey <sellcey@mips.com>
16546
16547 * benchtests/Makefile (bench): Add sqrt.
16548 (LDLIBS-bench-sqrt): New.
16549 * benchtests/sqrt-input: New.
16550
f524d6a8
PS
165512013-12-02 Pavel Simerda <psimerda@redhat.com>
16552
639a0ef8
PS
16553 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16554 (GAIH_EAI): Likewise.
16555 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16556 (gaih_inet): Likewise.
16557 (getaddrinfo): Don't use GAIH_EAI.
16558
f524d6a8
PS
16559 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16560 (struct gaih): Remove definition.
16561
df3aedaf
SP
165622013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16563
16564 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16565 Use HERRNOP directly.
16566
1ab19dec
AZ
165672013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16568
b42ad38d 16569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 16570
176b0c79
JM
165712013-11-30 Joseph Myers <joseph@codesourcery.com>
16572
16573 * math/gen-auto-libm-tests.c (test_functions): Add more
16574 single-argument functions.
16575 (special_fill_pi_2): New function.
16576 (special_fill_minus_pi_2): Likewise.
16577 (special_fill_pi_6): Likewise.
16578 (special_fill_minus_pi_6): Likewise.
16579 (special_fill_pi_3): Likewise.
16580 (special_fill_2pi_3): Likewise.
16581 (special_fill_e): Likewise.
16582 (special_fill_1_e): Likewise.
16583 (special_fill_e_minus_1): Likewise.
16584 (special_real_inputs): Add more special inputs.
16585 (output_for_one_input_case): Do not require ERANGE on underflow to
16586 zero if round-to-nearest result does not underflow to zero, unless
16587 exact results required.
16588 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16589 atan, atanh, cbrt, cos and cosh.
16590 * math/auto-libm-test-out: Regenerated.
16591 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16592 (acos_tonearest_test_data): Likewise.
16593 (acos_towardzero_test_data): Likewise.
16594 (acos_downward_test_data): Likewise.
16595 (acos_upward_test_data): Likewise.
16596 (acosh_test_data): Likewise.
16597 (asin_test_data): Likewise.
16598 (asin_tonearest_test_data): Likewise.
16599 (asin_towardzero_test_data): Likewise.
16600 (asin_upward_test_data): Likewise.
16601 (asinh_test_data): Likewise.
16602 (atan_test_data): Likewise.
16603 (atanh_test_data): Likewise.
16604 (cbrt_test_data): Likewise.
16605 (cos_test_data): Likewise.
16606 (cos_tonearest_test_data): Likewise.
16607 (cos_towardzero_test_data): Likewise.
16608 (cos_downward_test_data): Likewise.
16609 (cos_upward_test_data): Likewise.
16610 (cosh_test_data): Likewise.
16611 (cosh_tonearest_test_data): Likewise.
16612 (cosh_towardzero_test_data): Likewise.
16613 (cosh_downward_test_data): Likewise.
16614 (cosh_upward_test_data): Likewise.
16615 * sysdeps/i386/fpu/libm-test-ulps: Update.
16616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16617
ffb536d0
JM
166182013-11-29 Joseph Myers <joseph@codesourcery.com>
16619
2a77a467
JM
16620 [BZ #6787]
16621 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16622 * math/w_exp10f.c (__exp10f): Likewise.
16623 * math/w_exp10l.c (__exp10l): Likewise.
16624 * math/libm-test.inc (exp10_test_data): Add more tests and expect
16625 errno settings in existing tests.
16626
ea3bc4e8
JM
16627 [BZ #14032]
16628 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16629 precision control set to double precision.
16630 * sysdeps/i386/fpu/w_sqrt.c: New file.
16631 * math/auto-libm-test-in: Add more tests.
16632 * math/auto-libm-test-out: Update.
16633
0712c9d8
JM
16634 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16635 (sqrt_test_tonearest): New function.
16636 (sqrt_towardzero_test_data): New variable.
16637 (sqrt_test_towardzero): New function.
16638 (sqrt_downward_test_data): New variable.
16639 (sqrt_test_downward): New function.
16640 (sqrt_upward_test_data): New variable.
16641 (sqrt_test_upward): New function.
16642 (main): Call the new functions.
16643
ffb536d0
JM
16644 * math/gen-auto-libm-tests.c: New file.
16645 * math/auto-libm-test-in: Likewise.
16646 * math/auto-libm-test-out: New generated file.
16647 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16648 variables.
16649 (%beautify): Add generated representations of zero.
16650 (top level): Set $auto_input and call parse_auto_input.
16651 (beautify): Remove trailing "f" from hex float constants.
16652 (parse_args): Handle XFAIL_TEST.
16653 (convert_condition): New function.
16654 (or_value): Likewise.
16655 (or_cond_value): Likewise.
16656 (generate_testfile): Handle AUTO_TESTS_* lines.
16657 (parse_auto_input): New function.
16658 * math/libm-test.inc (XFAIL_TEST): New macro.
16659 (ERRNO_UNCHANGED): Update value.
16660 (ERRNO_EDOM): Likewise.
16661 (ERRNO_ERANGE): Likewise.
16662 (IGNORE_RESULT): Likewise.
16663 (TEST_COND_flt_32): New macro.
16664 (TEST_COND_dbl_64): Likewise.
16665 (TEST_COND_ldbl_96_intel): Likewise.
16666 (TEST_COND_ldbl_96_m68k): Likewise.
16667 (TEST_COND_ldbl_128): Likewise.
16668 (TEST_COND_ldbl_128ibm): Likewise.
16669 (TEST_COND_long32): Likewise.
16670 (TEST_COND_long64): Likewise.
16671 (TEST_COND_before_rounding): Likewise.
16672 (TEST_COND_after_rounding): Likewise.
16673 (enable_test): Handle XFAIL_TEST flag.
16674 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16675 with finite results.
16676 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16677 auto-libm-test-out.
16678
acd98a8e
AK
166792013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16680 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16681
16682 [BZ #16214]
16683 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16684 __tls_get_addr_internal instead of __tls_get_offset in order to
16685 avoid GOT pointer dependency. Make rtld export
16686 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16687 __tls_get_addr since we are a __tls_get_offset platform.
16688 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16689 GOT pointer being set up before.
16690 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16691
3c1c46a6
JM
166922013-11-28 Joseph Myers <joseph@codesourcery.com>
16693
7475aef5
JM
16694 * manual/math.texi (Errors in Math Functions): Document accuracy
16695 goals.
16696
8bca7cd8
JM
16697 [BZ #15004]
16698 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16699 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16700 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16701 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16702 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16703 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16704 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16705 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16706 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16707 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16708 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16709 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16710 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16711 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16712 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16713 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16714
91a1f3fe
JM
16715 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16716 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16717 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16718 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16719 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16720 Likewise.
16721 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16722 Likewise.
16723 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16724 Likewise.
16725 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16726 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16727 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16728 atomic-feupdateenv and flt-rounds.
16729 * sysdeps/powerpc/nofpu/Versions (libc): Add
16730 __atomic_feholdexcept, __atomic_feclearexcept,
16731 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16732 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16733 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16734 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16735 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16736 here.
16737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16738 Update.
16739
c5df7609
JM
16740 * manual/arith.texi (FP Exceptions): Document that exceptions may
16741 not be raised when matherr is used.
16742 (Math Error Reporting): Document overflow in directed rounding
16743 modes. Document that errno may not be set when finite values are
16744 returned on overflow. Document intent to set errno on underflow
16745 only for underflow to zero.
16746
3c1c46a6
JM
16747 [BZ #16271]
16748 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16749 round-to-nearest then adjust result for other rounding modes.
16750 * include/fenv.h (fegetround): Use libm_hidden_proto.
16751 * math/fegetround.c (fegetround): Use libm_hidden_def.
16752 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16753 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16754 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16755 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16756 Likewise.
16757 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16758 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16759 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16760 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16761
5a4c6d53
SP
167622013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16763
16764 [BZ #16077]
16765 * nss/Versions (libnss_files): Add
16766 _nss_files_gethostbyname3_r.
16767 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16768 New function.
16769 (HOST_DB_LOOKUP): Remove macro.
16770 (_nss_files_gethostbyname_r): Implement function without the
16771 HOST_DB_LOOKUP macro.
16772 (_nss_files_gethostbyname2_r): Likewise.
16773
897b98ba
OB
167742013-11-28 Ondřej Bílka <neleai@seznam.cz>
16775
16776 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16777
6f476861
UB
167782013-11-26 Uros Bizjak <ubizjak@gmail.com>
16779
16780 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16781 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16782 warning.
16783
bd12ab55
AZ
167842013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16785
16786 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16787 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16788 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16789 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16790 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16791 __fe_nomask_env_priv and attribute_hidden.
16792 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16793 (libc_feupdateenv_test_ppc): Likewise.
16794 (libc_feresetround_ppc): Likewise.
16795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16796 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16797 compat_symbol macro.
16798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16799 (__fe_nomask_env): Likewise.
16800 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16801
52bb6543
OB
168022013-11-26 Ondřej Bílka <neleai@seznam.cz>
16803
16804 * string/Makefile: Remove ifunc tests.
16805 * string/test-string.h: Define TEST_IFUNC.
16806 * string/test-bcopy-ifunc.c: Remove.
16807 * string/test-bzero-ifunc.c: Likewise.
16808 * string/test-memccpy-ifunc.c: Likewise.
16809 * string/test-memchr-ifunc.c: Likewise.
16810 * string/test-memcmp-ifunc.c: Likewise.
16811 * string/test-memcpy-ifunc.c: Likewise.
16812 * string/test-memmem-ifunc.c: Likewise.
16813 * string/test-memmove-ifunc.c: Likewise.
16814 * string/test-mempcpy-ifunc.c: Likewise.
16815 * string/test-memrchr-ifunc.c: Likewise.
16816 * string/test-memset-ifunc.c: Likewise.
16817 * string/test-rawmemchr-ifunc.c: Likewise.
16818 * string/test-stpcpy-ifunc.c: Likewise.
16819 * string/test-stpncpy-ifunc.c: Likewise.
16820 * string/test-strcasecmp-ifunc.c: Likewise.
16821 * string/test-strcasestr-ifunc.c: Likewise.
16822 * string/test-strcat-ifunc.c: Likewise.
16823 * string/test-strchr-ifunc.c: Likewise.
16824 * string/test-strchrnul-ifunc.c: Likewise.
16825 * string/test-strcmp-ifunc.c: Likewise.
16826 * string/test-strcpy-ifunc.c: Likewise.
16827 * string/test-strcspn-ifunc.c: Likewise.
16828 * string/test-strlen-ifunc.c: Likewise.
16829 * string/test-strncasecmp-ifunc.c: Likewise.
16830 * string/test-strncat-ifunc.c: Likewise.
16831 * string/test-strncmp-ifunc.c: Likewise.
16832 * string/test-strncpy-ifunc.c: Likewise.
16833 * string/test-strnlen-ifunc.c: Likewise.
16834 * string/test-strpbrk-ifunc.c: Likewise.
16835 * string/test-strrchr-ifunc.c: Likewise.
16836 * string/test-strspn-ifunc.c: Likewise.
16837 * string/test-strstr-ifunc.c: Likewise.
16838
ab260039 168392013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
16840
16841 * benchtests/Makefile: Remove ifunc tests.
16842 * benchtests/bench-string.h: Define TEST_IFUNC.
16843 * benchtests/bench-bcopy-ifunc.c: Remove.
16844 * benchtests/bench-bzero-ifunc.c: Likewise.
16845 * benchtests/bench-memccpy-ifunc.c: Likewise.
16846 * benchtests/bench-memchr-ifunc.c: Likewise.
16847 * benchtests/bench-memcmp-ifunc.c: Likewise.
16848 * benchtests/bench-memcpy-ifunc.c: Likewise.
16849 * benchtests/bench-memmem-ifunc.c: Likewise.
16850 * benchtests/bench-memmove-ifunc.c: Likewise.
16851 * benchtests/bench-mempcpy-ifunc.c: Likewise.
16852 * benchtests/bench-memrchr-ifunc.c: Likewise.
16853 * benchtests/bench-memset-ifunc.c: Likewise.
16854 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16855 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16856 * benchtests/bench-stpcpy-ifunc.c: Likewise.
16857 * benchtests/bench-stpncpy-ifunc.c: Likewise.
16858 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16859 * benchtests/bench-strcasestr-ifunc.c: Likewise.
16860 * benchtests/bench-strcat-ifunc.c: Likewise.
16861 * benchtests/bench-strchr-ifunc.c: Likewise.
16862 * benchtests/bench-strchrnul-ifunc.c: Likewise.
16863 * benchtests/bench-strcmp-ifunc.c: Likewise.
16864 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16865 * benchtests/bench-strcpy-ifunc.c: Likewise.
16866 * benchtests/bench-strcspn-ifunc.c: Likewise.
16867 * benchtests/bench-strlen-ifunc.c: Likewise.
16868 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16869 * benchtests/bench-strncat-ifunc.c: Likewise.
16870 * benchtests/bench-strncmp-ifunc.c: Likewise.
16871 * benchtests/bench-strncpy-ifunc.c: Likewise.
16872 * benchtests/bench-strnlen-ifunc.c: Likewise.
16873 * benchtests/bench-strpbrk-ifunc.c: Likewise.
16874 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 16875 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
16876 * benchtests/bench-strspn-ifunc.c: Likewise.
16877 * benchtests/bench-strstr-ifunc.c: Likewise.
16878
168792013-11-26 Ondřej Bílka <neleai@seznam.cz>
16880
ab260039
OB
16881 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16882
d1d9eaf4 168832013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 16884
d1d9eaf4
OB
16885 * resolv/netdb.h: Use __glibc_reserved instead __unused.
16886 * rt/aio.h: Likewise.
16887 * sysdeps/gnu/bits/utmp.h: Likewise.
16888 * sysdeps/gnu/bits/utmpx.h: Likewise.
16889 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16890 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16891 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16892 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16893 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16894 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16895 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16896 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16897 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16898 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16899 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16900 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16901 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16903 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16904 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16905 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16906 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16907 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16908 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16909 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16910 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16911 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16912 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16913 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16914 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16915 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16916 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16917 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16918 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16919 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16920 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16921 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16922 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16923 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16924 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16925 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16926 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16927 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16928 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16929 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16930 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16931
a7624ed9
CD
169322013-11-25 Carlos O'Donell <carlos@redhat.com>
16933
16934 [BZ #16245]
16935 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16936 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16937
63cfe52b
JM
169382013-11-25 Joseph Myers <joseph@codesourcery.com>
16939
16940 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16941 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16942 Likewise.
16943
41e8926a
AZ
169442013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16945
16946 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16947 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
16948 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
16949 (__fesetround): Remove define.
16950 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
16951 rounding and exceptions handling.
16952 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16953 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
16954 (__fe_nomask_env): Likewise.
16955 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
16956 __fegetround instead of fegetround.
16957 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16958 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16959
6851bd4d
RM
169602013-11-21 Roland McGrath <roland@hack.frob.com>
16961
070906ff
RM
16962 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
16963 it's there.
16964
6851bd4d
RM
16965 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16966
84ae135d
MI
169672013-11-21 Meador Inge <meadori@codesourcery.com>
16968
16969 [BZ #11157]
16970 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16971 (encrypt_r): Likewise.
16972 * malloc/obstack.h (obstack_free): Likewise.
16973 * posix/unistd.h (encrypt): Likewise.
16974
daf75146
GM
169752013-11-21 Guy Martin <gmsoft@tuxicoman.be>
16976
16977 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16978 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16979 DL_CALL_DT_FINI() that call the functions directly.
16980 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16981 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16982 * elf/dl-fini.c: Likewise.
16983
10ad46bc
OB
169842013-11-20 Ondřej Bílka <neleai@seznam.cz>
16985
16986 * malloc/hooks.c (memalign_check): Add alignment rounding.
16987 * malloc/malloc.c (_mid_memalign): New function.
16988 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16989 Implement by calling _mid_memalign.
16990 * manual/probes.texi (Memory Allocation Probes): Remove
16991 memory_valloc_retry and memory_pvalloc_retry.
16992
f3fd2628
SP
169932013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16994
4712799f
SP
16995 * locale/programs/locarchive.c (open_archive): Add const
16996 qualifier to ARCHIVEFNAME and copy default fname to
16997 DEFAULT_FNAME.
16998
0417b20f
SP
16999 [BZ #15601]
17000 * libio/tst-widetext.input: Rename Oriya to Odia.
17001 * locale/iso-639.def: Likewise.
17002
f3fd2628
SP
17003 * manual/probes.texi (Mathematical Function Probes): Add
17004 documentation for sin, cos, asin and acos probes.
17005 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
17006 (__sin32): Add slowasin probe.
17007 (__cos32): Add slowacos probe.
17008 (__mpsin): Add slowsin probe.
17009 (__mpcos): Add slowcos probe.
17010
73c1ce4f
JM
170112013-11-19 Joseph Myers <joseph@codesourcery.com>
17012
17013 [BZ #15483]
17014 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
17015 thread-local __sim_exceptions_thread and global
17016 __sim_exceptions_global.
17017 (__sim_disabled_exceptions): Change to thread-local
17018 __sim_disabled_exceptions_thread and global
17019 __sim_disabled_exceptions_global.
17020 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17021 and global __sim_round_mode_global.
17022 (__simulate_exceptions): Use thread-local floating-point state and
17023 set global state from it as needed.
17024 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
17025 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
17026 __sim_round_mode_thread.
17027 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
17028 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
17029 and global __sim_exceptions_global.
17030 (__sim_disabled_exceptions): Change to thread-local
17031 __sim_disabled_exceptions_thread and global
17032 __sim_disabled_exceptions_global.
17033 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17034 and global __sim_round_mode_global.
17035 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
17036 (SIM_SET_GLOBAL): Likewise.
17037 * sysdeps/powerpc/soft-fp/sfp-machine.h
17038 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
17039 __sim_round_mode_thread.
17040 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
17041 __sim_disabled_exceptions_thread.
17042 (__sim_exceptions): Change to __sim_exceptions_thread.
17043 (__sim_disabled_exceptions): Change to
17044 __sim_disabled_exceptions_thread.
17045 (__sim_round_mode): Change to __sim_round_mode_thread.
17046 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
17047 thread-local floating-point state and set global state from it as
17048 needed.
17049 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
17050 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
17051 (__sim_disabled_exceptions): Remove extern declaration.
17052 (feenableexcept): Use thread-local floating-point state and set
17053 global state from it as needed.
17054 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
17055 extern declaration.
17056 (__sim_disabled_exceptions): Likewise.
17057 (__sim_round_mode): Likewise.
17058 (__fegetenv): Use thread-local floating-point state.
17059 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
17060 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17061 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
17062 floating-point state and set global state from it as needed.
17063 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
17064 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17065 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
17066 Likewise.
17067 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17068 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
17069 Likewise.
17070 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
17071 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
17072 Use __sim_round_mode_thread.
17073 * math/test-fenv-tls.c: New file.
17074 * math/Makefile (tests): Add test-fenv-tls.
17075 ($(objpfx)test-fenv-tls): Depend on
17076 $(common-objpfx)nptl/libpthread.so.
17077
b5449b12
AS
170782013-11-19 Andreas Schwab <schwab@suse.de>
17079
17080 * locale/programs/locale.c (show_info): Decode wordarray elements.
17081 * locale/categories.def (LC_MONETARY): Add element for
17082 _NL_MONETARY_CRNCYSTR.
17083 * locale/C-monetary.c (conversion_rate): New variable.
17084 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
17085 element.
17086
e186536b
CM
170872013-11-18 Chris Metcalf <cmetcalf@tilera.com>
17088
17089 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
17090 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
17091
5c349950
PP
170922013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17093
17094 * elf/Makefile (tst-auxv): New test.
17095 * elf/tst-auxv.c: New
17096 * elf/rtld.c (dl_main): Adjust AT_EXECFN
17097
699df45b
JM
170982013-11-18 Joseph Myers <joseph@codesourcery.com>
17099
17100 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17101 (hidden_proto): Caller changed.
17102 (hidden_tls_proto): New macro.
17103 (libc_hidden_tls_proto): Likewise.
17104 (rtld_hidden_tls_proto): Likewise.
17105 (libm_hidden_tls_proto): Likewise.
17106 (libresolv_hidden_tls_proto): Likewise.
17107 (librt_hidden_tls_proto): Likewise.
17108 (libdl_hidden_tls_proto): Likewise.
17109 (libnss_files_hidden_tls_proto): Likewise.
17110 (libnsl_hidden_tls_proto): Likewise.
17111 (libnss_nisplus_hidden_tls_proto): Likewise.
17112 (libutil_hidden_tls_proto): Likewise.
17113
b7589107
OB
171142013-11-18 Ondřej Bílka <neleai@seznam.cz>
17115
17116 [BZ #10253]
17117 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17118 (decompose_rpath): Defer expansion to fillin_rpath.
17119 (_dl_init_paths): Pass linkmap to fillin_rpath.
17120
250c23bd
RS
171212013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17122
17123 * benchtests/Makefile: Add strsep.
17124 * benchtests/bench-strsep.c: New file: strsep benchtest.
17125 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17126
a7931fcf
AS
171272013-11-18 Andreas Schwab <schwab@suse.de>
17128
17129 * locale/programs/locale.c (show_info) [case byte]: Check for
17130 '\377' instead of '\177'.
17131 * locale/C-monetary.c (not_available): Always use "\377".
17132 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17133 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
17134 detect unavailable sign_posn locale elements.
17135 * locale/localeconv.c (__localeconv): For grouping and
17136 mon_grouping handle "\177" and "\377" like no grouping.
17137 (INT_ELEM): New macro. Use it to set all numeric members.
17138 * locale/programs/ld-monetary.c (monetary_read)
17139 <tok_mon_grouping>: Normalize single -1 to the empty string.
17140 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17141 Likewise.
17142
728dab0e
OB
171432013-11-07 Ondřej Bílka <neleai@seznam.cz>
17144
17145 [BZ #16055]
17146 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17147 when we match (nil).
17148 * stdio-common/tst-sscanf.c (struct test): Add testcase.
17149
66294491
JM
171502013-11-16 Joseph Myers <joseph@codesourcery.com>
17151
ce665817
JM
17152 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17153 (NO_TEST_INLINE): Update value.
17154 (ERRNO_UNCHANGED): Likewise.
17155 (ERRNO_EDOM): Likewise.
17156 (ERRNO_ERANGE): Likewise.
17157 (IGNORE_RESULT): Likewise.
17158 (check_float_internal): Check signs of NaN results if
17159 TEST_NAN_SIGN used.
17160 (check_complex): Pass TEST_NAN_SIGN flag through to second
17161 check_float_internal call.
17162 (copysign_test_data): Add tests with quiet NaNs as second
17163 argument. Use TEST_NAN_SIGN.
17164 (fabs_test_data): Add test of negative quiet NaN argument. Use
17165 TEST_NAN_SIGN.
17166 (signbit_test_data): Add tests of quiet NaN argument.
17167 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17168
ee1466a9
JM
17169 * math/gen-libm-test.pl (show_exceptions): Take extra argument
17170 $ignore_result.
17171 (parse_args): Handle function results specified as IGNORE.
17172 * math/libm-test.inc (IGNORE_RESULT): New macro.
17173 (check_float_internal): Do not check numerical result if flag
17174 IGNORE_RESULT set.
17175 (check_complex): Pass through IGNORE_RESULT to second
17176 check_float_internal call.
17177 (check_int): Do not check numerical result if flag IGNORE_RESULT
17178 set.
17179 (check_long): Likewise.
17180 (check_bool): Likewise.
17181 (check_longlong): Likewise.
17182 (lrint_test_data): Add tests of infinite and NaN arguments.
17183 (lrint_tonearest_test_data): Likewise.
17184 (lrint_towardzero_test_data): Likewise.
17185 (lrint_downward_test_data): Likewise.
17186 (lrint_upward_test_data): Likewise.
17187 (llrint_test_data): Likewise.
17188 (llrint_tonearest_test_data): Likewise.
17189 (llrint_towardzero_test_data): Likewise.
17190 (llrint_downward_test_data): Likewise.
17191 (llrint_upward_test_data): Likewise.
17192 (lround_test_data): Likewise.
17193 (llround_test_data): Likewise.
17194
14407b7e
JM
17195 * math/libm-test.inc (NO_TEST_INLINE): New macro.
17196 (ERRNO_UNCHANGED): Update value.
17197 (ERRNO_EDOM): Likewise.
17198 (ERRNO_ERANGE): Likewise.
17199 (NO_TEST_INLINE_FLOAT): New macro.
17200 (NO_TEST_INLINE_DOUBLE): Likewise.
17201 (enable_test): New function.
17202 (RUN_TEST_f_f): Check enable_test before running test.
17203 (RUN_TEST_2_f): Likewise.
17204 (RUN_TEST_fff_f): Likewise.
17205 (RUN_TEST_c_f): Likewise.
17206 (RUN_TEST_f_f1): Likewise.
17207 (RUN_TEST_fF_f1): Likewise.
17208 (RUN_TEST_fI_f1): Likewise.
17209 (RUN_TEST_ffI_f1): Likewise.
17210 (RUN_TEST_c_c): Likewise.
17211 (RUN_TEST_cc_c): Likewise.
17212 (RUN_TEST_f_i): Likewise.
17213 (RUN_TEST_f_i_tg): Likewise.
17214 (RUN_TEST_ff_i_tg): Likewise.
17215 (RUN_TEST_f_b): Likewise.
17216 (RUN_TEST_f_b_tg): Likewise.
17217 (RUN_TEST_f_l): Likewise.
17218 (RUN_TEST_f_L): Likewise.
17219 (RUN_TEST_fFF_11): Likewise.
17220 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17221 conditionals.
17222 (cosh_test_data): Likewise.
17223 (exp_test_data): Likewise.
17224 (expm1_test_data): Likewise.
17225 (hypot_test_data): Likewise.
17226 (pow_test_data): Likewise.
17227 (sinh_test_data): Likewise.
17228 (tanh_test_data): Likewise.
17229 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17230 flags argument.
17231
ca07f197
JM
17232 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17233 tests with quiet NaN input and output.
17234 (acosh_test_data): Likewise.
17235 (asin_test_data): Likewise.
17236 (asinh_test_data): Likewise.
17237 (atan_test_data): Likewise.
17238 (atanh_test_data): Likewise.
17239 (atan2_test_data): Likewise.
17240 (cbrt_test_data): Likewise.
17241 (cos_test_data): Likewise.
17242 (cosh_test_data): Likewise.
17243 (erf_test_data): Likewise.
17244 (erfc_test_data): Likewise.
17245 (exp_test_data): Likewise.
17246 (exp10_test_data): Likewise.
17247 (exp2_test_data): Likewise.
17248 (expm1_test_data): Likewise.
17249 (hypot_test_data): Likewise.
17250 (j0_test_data): Likewise.
17251 (j1_test_data): Likewise.
17252 (jn_test_data): Likewise.
17253 (lgamma_test_data): Likewise.
17254 (log_test_data): Likewise.
17255 (log10_test_data): Likewise.
17256 (log1p_test_data): Likewise.
17257 (log2_test_data): Likewise.
17258 (pow_test_data): Likewise.
17259 (scalb_test_data): Likewise.
17260 (sin_test_data): Likewise.
17261 (sincos_test_data): Likewise.
17262 (sinh_test_data): Likewise.
17263 (tan_test_data): Likewise.
17264 (tanh_test_data): Likewise.
17265 (tgamma_test_data): Likewise.
17266 (y0_test_data): Likewise.
17267 (y1_test_data): Likewise.
17268 (yn_test_data): Likewise.
17269
66294491
JM
17270 [BZ #16167]
17271 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17272 argument being NaN and avoid computations with second argument in
17273 that case.
17274 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17275 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17276 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17277
1820b143
CL
172782013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
17279
17280 * locale/iso-639.def: Add Chitwani Tharu (the).
17281
714bd261
AS
172822013-11-14 Andreas Schwab <schwab@suse.de>
17283
17284 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17285 word instead of empty string.
17286
7ab44563
AZ
172872013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17288
17289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17290 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17292 (__fe_nomask_env): Likewise.
17293
e8470ea2
SE
172942013-11-13 Steve Ellcey <sellcey@mips.com>
17295
17296 * benchtests/bench-timing.h: Include time.h.
17297
17c1d9f0
L
172982013-11-13 H.J. Lu <hongjiu.lu@intel.com>
17299
17300 [BZ #15997]
17301 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17302 to 3.4.0 for x32.
17303 * sysdeps/unix/sysv/linux/configure: Regenerated.
17304
9310c284
JM
173052013-11-13 Joseph Myers <joseph@codesourcery.com>
17306
17307 [BZ #16151]
17308 * stdlib/strtod_l.c (round_and_return): Do not consider
17309 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17310 exponent one less than half the least subnormal exponent.
17311 * stdlib/test-strtod-round-data: Add more tests.
17312 * stdlib/tst-strtod-round.c (tests): Regenerated.
17313
7a2ad8cf
AZ
173142013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17315
17316 [BZ #14143]
17317 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17318 (__fe_mask_env): Likewise.
17319 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17320 libm_hidden_proto and add function prototype.
17321 (__fe_mask_env): Add function prototype.
17322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17323 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17325 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17327 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17328
50727aa7
MS
173292013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17330
b2f386c1 17331 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
17332 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17333
a615be46
MS
173342013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17335
17336 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17337 of htab_find_slot().
17338
7ddace62
DM
173392013-11-11 David S. Miller <davem@davemloft.net>
17340
17341 [BZ #16150]
17342 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17343 symbol in the non-vis3 case in static builds.
17344 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17345 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17346 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17347 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17348
9182aa67
JK
173492013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17350
17351 [BZ #387]
17352 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17353 it is empty.
17354
450a2e2d
AZ
173552013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17356
b2f386c1
SP
17357 * benchtests/Makefile: Add bench-strtod.
17358 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 17359
8ec3f656
AS
173602013-11-11 Andreas Schwab <schwab@suse.de>
17361
17362 [BZ #16153]
17363 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17364 terminating NUL in key length.
17365
76a9b998
AZ
173662013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17367
17368 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17369 Add artificial ODP entry for vDSO symbol for PPC64.
17370 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17371 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17372
e4368156
OB
173732013-11-07 Ondřej Bílka <neleai@seznam.cz>
17374
17375 [BZ #15374]
17376 * nss/getent.c (services_keys): Recognize services starting with digit.
17377
8d6bb57c
DM
173782013-11-06 David S. Miller <davem@davemloft.net>
17379
17380 [BZ #15985]
17381 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17382 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17383
e256c421
WN
173842013-11-06 Will Newton <will.newton@linaro.org>
17385
17386 * manual/memory.texi (Malloc Examples): Remove register
17387 keyword from examples.
17388
f6e12daa 173892013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 17390
f6e12daa 17391 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 17392
9d880655
AS
173932013-11-04 Joseph Myers <joseph@codesourcery.com>
17394
fd2f9486 17395 [BZ #6981]
9d880655
AS
17396 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17397 depending on [__GCC_IEC_559 > 0].
17398 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17399 depending on [__GCC_IEC_559_COMPLEX > 0].
17400
ae129d3c
CL
174012013-11-03 Chris Leonard <cjl@sugarlabs.org>
17402
17403 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17404 to iso-639.def.
17405
4a15c2a4 174062013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
17407
17408 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17409
8b35e35d
OB
174102013-11-01 Ondřej Bílka <neleai@seznam.cz>
17411
17412 [BZ #16112]
17413 * malloc/malloc (malloc_info): Do not handle first bin as
17414 special case.
17415
1d70fd6c
CL
174162013-11-01 Chris Leonard <cjl@sugarlabs.org>
17417
17418 * locale/iso-639.def: Add Central Nahuatl (nhn).
17419
8c5c2600
BH
174202013-11-01 Bruno Haible <bruno@clisp.org>
17421
17422 [BZ #7003]
17423 * manual/math.texi (BSD Random): Specify range upper bound as
17424 in POSIX.
17425
da5579c2
CL
174262013-10-31 Chris Leonard <cjl@sugarlabs.org>
17427
17428 * locale/iso-639.def: Add Meadow Mari (mhr).
17429
5d30d853
OB
174302013-10-31 Ondřej Bílka <neleai@seznam.cz>
17431
17432 [BZ #14752], [BZ #15763]
17433 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17434 Validate name.
17435 * rt/tst_shm.c: Add test for escaping directory.
17436
a4966c61
AS
174372013-10-31 Andreas Schwab <schwab@suse.de>
17438
8a43e768 17439 [BZ #15917]
a4966c61
AS
17440 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17441 followed by 'x' as part of digit sequence.
17442 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17443
28d708c4
MAP
174442013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17445
17446 [BZ #16037]
17447 * configure.ac: allow GNU Make 4.0 and greater.
17448 * configure: Regenerated.
17449
a56ee40b
WN
174502013-10-30 Will Newton <will.newton@linaro.org>
17451
17452 [BZ #16038]
17453 * malloc/hooks.c (memalign_check): Limit alignment to the
17454 maximum representable power of two.
17455 * malloc/malloc.c (__libc_memalign): Likewise.
17456 * malloc/tst-memalign.c (do_test): Add test for very
17457 large alignment values.
17458 * malloc/tst-posix_memalign.c (do_test): Likewise.
17459
c6e4925d
OB
174602013-10-30 Ondřej Bílka <neleai@seznam.cz>
17461
17462 [BZ #11087]
17463 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17464 (munmap_chunk): Likewise.
17465 (mremap_chunk): Likewise.
17466
174672013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 17468
8a43e768 17469 [BZ #15799]
bbea82f7
OB
17470 * stdlib/div.c (div): Remove obsolete code.
17471 * stdlib/ldiv.c (ldiv): Likewise.
17472 * stdlib/lldiv.c (lldiv): Likewise.
17473
977f4b31
SP
174742013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17475
17476 [BZ #16071]
17477 * nss/nss_files/files-XXX.c (get_contents_ret): New
17478 enumerator.
17479 (get_contents): New function.
17480 (internal_getent): Use it. Expand size of LINEBUFLEN.
17481
cb8a6dbd
MF
174822013-10-30 Mike Frysinger <vapier@gentoo.org>
17483
17484 * configure.in: Moved to ...
17485 * configure.ac: ... here. Change reference to configure.in
17486 to configure.ac.
17487 * sysdeps/arm/preconfigure.ac: ... here.
17488 configure.in to configure.ac.
17489 * sysdeps/gnu/configure.in: Moved to ...
17490 * sysdeps/gnu/configure.ac: ... here.
17491 * sysdeps/i386/configure.in: Moved to ...
17492 * sysdeps/i386/configure.ac: ... here.
17493 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17494 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17495 * sysdeps/mach/configure.in: Moved to ...
17496 * sysdeps/mach/configure.ac: ... here.
17497 * sysdeps/mach/hurd/configure.in: Moved to ...
17498 * sysdeps/mach/hurd/configure.ac: ... here.
17499 * sysdeps/powerpc/configure.in: Moved to ...
17500 * sysdeps/powerpc/configure.ac: ... here.
17501 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17502 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17503 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17504 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17505 * sysdeps/s390/s390-32/configure.in: Moved to ...
17506 * sysdeps/s390/s390-32/configure.ac: ... here.
17507 * sysdeps/s390/s390-64/configure.in: Moved to ...
17508 * sysdeps/s390/s390-64/configure.ac: ... here.
17509 * sysdeps/sh/configure.in: Moved to ...
17510 * sysdeps/sh/configure.ac: ... here.
17511 * sysdeps/sparc/configure.in: Moved to ...
17512 * sysdeps/sparc/configure.ac: ... here.
17513 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17514 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17515 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17516 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17517 * sysdeps/x86_64/configure.in: Moved to ...
17518 * sysdeps/x86_64/configure.ac: ... here.
17519 * sysdeps/x86_64/preconfigure.in: Moved to ...
17520 * sysdeps/x86_64/preconfigure.ac: ... here.
17521 * aclocal.m4: Change reference to configure.in to configure.ac.
17522 * config.h.in: Likewise.
17523 * manual/install.texi: Likewise.
17524 * manual/maint.texi: Likewise.
17525 * Makefile: Likewise.
17526 * malloc/Makefile: Likewise.
17527 * nscd/Makefile: Likewise.
17528 * Makeconfig: Change reference to configure.in and
17529 preconfigure.in to configure.ac and preconfigure.ac
17530 respectively.
17531 * INSTALL: Regenerated.
17532 * configure: Likewise.
17533 * sysdeps/gnu/configure: Likewise.
17534 * sysdeps/i386/configure: Likewise.
17535 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17536 * sysdeps/mach/configure: Likewise.
17537 * sysdeps/mach/hurd/configure: Likewise.
17538 * sysdeps/powerpc/configure: Likewise.
17539 * sysdeps/powerpc/powerpc32/configure: Likewise.
17540 * sysdeps/powerpc/powerpc64/configure: Likewise.
17541 * sysdeps/s390/s390-32/configure: Likewise.
17542 * sysdeps/s390/s390-64/configure: Likewise.
17543 * sysdeps/sh/configure: Likewise.
17544 * sysdeps/sparc/configure: Likewise.
17545 * sysdeps/unix/sysv/linux/configure: Likewise.
17546 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17547 * sysdeps/x86_64/configure: Likewise.
17548 * sysdeps/x86_64/preconfigure: Likewise.
17549
36a4953a
AS
175502013-10-29 Andreas Schwab <schwab@suse.de>
17551
17552 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17553
c79a1204
SP
175542013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17555
dfa1b402
SP
17556 * benchtests/pow-inputs: Add new inputs.
17557
54f73d9c
SP
17558 * benchtests/exp-inputs: Add new inputs.
17559
c79a1204
SP
17560 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17561 conditional check for return value.
17562 (__cos32): Likewise.
17563
67beb545 175642013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
17565
17566 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17567 to provide a boost for large inputs with word alignment.
17568 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17569 implementation based on optimized PPC64 strcpy.
17570 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17571 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17572 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17573 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17574
151659f6
OB
175752013-10-25 Ondřej Bílka <neleai@seznam.cz>
17576
482a077e 17577 [BZ #2801]
151659f6
OB
17578 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17579
10b0f26b
OB
175802013-10-25 Ondřej Bílka <neleai@seznam.cz>
17581
17582 [BZ #14876]
17583 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17584 * time/tst-strptime.c (day_tests): Add testcase.
17585
ca42d35e
OB
175862013-10-25 Ondřej Bílka <neleai@seznam.cz>
17587
482a077e 17588 [BZ #14029]
ca42d35e
OB
17589 * manual/pattern.texi: Acknowledge that fnmatch can fail.
17590
52e6d801
FB
175912013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
17592
17593 [BZ #16074]
17594 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17595 MAP_FAILED on error.
17596
7cbcdb36
SP
175972013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17598
17599 [BZ #16072]
17600 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17601 heap for large requests.
17602
894f3f10
AM
176032013-10-25 Aurelien Jarno <aurelien@aurel32.net>
17604
17605 [BZ #9954]
17606 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17607 result if the result has no associated interface.
17608 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17609 interface for all 127.X.Y.Z addresses.
17610
b85545a6
CL
176112013-10-24 Chris Leonard <cjl@sugarlabs.org>
17612
17613 * locale/iso-639.def: Add Ligurian (lij)
17614
d1f23d46
OB
176152013-10-21 Ondřej Bílka <neleai@seznam.cz>
17616
17617 [BZ #15825]
17618 * sunrpc/rpc_main.c: Document rpcgen -5.
17619
4db5b08f
MS
176202013-10-19 Michael Stahl <mstahl@redhat.com>
17621
17622 * elf/rtld.c (do_preload): Print the reason why preloading failed.
17623
a471e96a
OB
176242013-10-19 Ondřej Bílka <neleai@seznam.cz>
17625
d1f23d46 17626 [BZ #10278]
a471e96a
OB
17627 * posix/glob.c: Match only directories when trailing slash is present.
17628 * posix/tst-gnuglob.c (my_opendir): Do not open files.
17629 (main): Add testcase.
17630
45c30c61
OB
176312013-10-19 Ondřej Bílka <neleai@seznam.cz>
17632
17633 [BZ #15670]
17634 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17635
484c12fb
CD
176362013-10-18 Carlos O'Donell <carlos@redhat.com>
17637
3d7dc513
CD
17638 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17639 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17640 AUTH_DES and cindex for FIPS 140-2.
17641 (DES Encryption): Add cindex FIPS 46-3.
17642
484c12fb
CD
17643 * locale/locarchive.h (struct locarhandle): Add fname.
17644 * locale/programs/localedef.c (main): Pass ARGV[remaining]
17645 if an optional argument was specified to --list-archive,
17646 otherwise NULL.
17647 * locale/programs/locarchive.c (show_archive_content): Take new
17648 argument fname and pass it via ah.fname to open_archive.
17649 * locale/programs/localedef.h: Update decl.
17650 (open_archive): If AH->fname is non-null, open that file
17651 rather than the default file name, and don't ignore ENOENT.
17652 (create_archive): Set AH.fname to NULL.
17653 (delete_locales_from_archive): Likewise.
17654 (add_locales_to_archive): Likewise.
17655 * locale/programs/locfile.c (write_all_categories): Likewise.
17656
3c8325fb
JM
176572013-10-18 Joseph Myers <joseph@codesourcery.com>
17658 Aldy Hernandez <aldyh@redhat.com>
17659
17660 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17661 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17662 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17663 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17664 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17665 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17666 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17667 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17668 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17669 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17670 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17671 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17672 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17673 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17674 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17675 Likewise.
17676 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17677 Likewise.
17678 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17679 Likewise.
17680 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17681 Likewise.
17682 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17683 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17684 Likewise.
17685 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17686 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17687 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17688 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17689 Likewise.
17690 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17691 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17692 * sysdeps/powerpc/preconfigure: Likewise.
17693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17694 Likewise.
17695 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17696 Replace contents of file by #include of <fenv_libc.h>.
17697 * sysdeps/powerpc/soft-fp/sfp-machine.h
17698 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17699 and <sys/prctl.h>.
17700 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17701 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17702 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17703 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17704 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17705 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17706 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17707 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17708 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17709 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17710 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17711 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17713 Allow copysignl PLT reference to be missing.
17714
5abe0682
RS
177152013-10-18 Richard Sandiford <richard@codesourcery.com>
17716 Joseph Myers <joseph@codesourcery.com
17717
17718 [BZ #15948]
17719 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17720 single character.
17721 (add_to_tablewc): Assert sequence of wide characters is nonempty.
17722
c7738d08
SP
177232013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17724
17725 * elf/tst-tls-dlinfo.c: Don't include tls.h.
17726 * elf/tst-tls1.c: Likewise.
17727 * elf/tst-tls10.h: Likewise.
17728 * elf/tst-tls14.c: Likewise.
17729 * elf/tst-tls2.c: Likewise.
17730 * elf/tst-tls3.c: Likewise.
17731 * elf/tst-tls4.c: Likewise.
17732 * elf/tst-tls5.c: Likewise.
17733 * elf/tst-tls6.c: Likewise.
17734 * elf/tst-tls7.c: Likewise.
17735 * elf/tst-tls8.c: Likewise.
17736 * elf/tst-tls9.c: Likewise.
17737 * elf/tst-tlsmod1.c: Likewise.
17738 * elf/tst-tlsmod13.c: Likewise.
17739 * elf/tst-tlsmod13a.c: Likewise.
17740 * elf/tst-tlsmod14a.c: Likewise.
17741 * elf/tst-tlsmod16a.c: Likewise.
17742 * elf/tst-tlsmod16b.c: Likewise.
17743 * elf/tst-tlsmod2.c: Likewise.
17744 * elf/tst-tlsmod3.c: Likewise.
17745 * elf/tst-tlsmod4.c: Likewise.
17746 * elf/tst-tlsmod5.c: Likewise.
17747 * elf/tst-tlsmod6.c: Likewise.
17748
0bfcf2c7
OB
177492013-10-18 Ondřej Bílka <neleai@seznam.cz>
17750
17751 [BZ #12486]
17752 * malloc/malloc.c: remove checks for statistics.
17753
264aad1e
OB
177542013-10-17 Ondřej Bílka <neleai@seznam.cz>
17755
17756 [BZ #15277]
17757 * inet/inet_net.c (inet_network): Detect additional invalid strings.
17758 * inet/tst-network.c: Add testcase.
17759
b957ced8
AS
177602013-10-17 Andreas Schwab <schwab@suse.de>
17761
17762 [BZ #15218]
17763 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17764 to determine canonical name.
17765
c5d5d574
OB
177662013-10-17 Ondřej Bílka <neleai@seznam.cz>
17767
17768 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17769 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17770 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17771 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17772 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17773 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17774 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17775 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17776 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17777 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17778 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17779 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17780 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17781 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17782 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17783 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17784 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17785 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17786 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17787 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17788 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17789 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17790 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17791 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17792 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17793 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17794 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17795 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17796 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17797 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17798 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17799 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17800 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17801 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17802 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17803 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17804 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17805 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17806 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17807 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17808 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17809 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17810 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17811 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17812 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17813 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17814 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17815 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17816 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17817 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17818 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17819 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17820 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17821 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17822 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17823 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17824 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17825 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17826
e5c2c2d0
JM
178272013-10-17 Joseph Myers <joseph@codesourcery.com>
17828
17829 [BZ #16041]
17830 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17831 make result into a quiet NaN.
17832
51ca9e29
JM
178332013-10-16 Joseph Myers <joseph@codesourcery.com>
17834
17835 * soft-fp/adddf3.c: Fix horizontal whitespace.
17836 * soft-fp/addsf3.c: Likewise.
17837 * soft-fp/addtf3.c: Likewise.
17838 * soft-fp/divdf3.c: Likewise.
17839 * soft-fp/divsf3.c: Likewise.
17840 * soft-fp/divtf3.c: Likewise.
17841 * soft-fp/double.h: Likewise.
17842 * soft-fp/eqdf2.c: Likewise.
17843 * soft-fp/eqsf2.c: Likewise.
17844 * soft-fp/eqtf2.c: Likewise.
17845 * soft-fp/extenddftf2.c: Likewise.
17846 * soft-fp/extended.h: Likewise.
17847 * soft-fp/extendsfdf2.c: Likewise.
17848 * soft-fp/extendsftf2.c: Likewise.
17849 * soft-fp/extendxftf2.c: Likewise.
17850 * soft-fp/fixdfdi.c: Likewise.
17851 * soft-fp/fixdfsi.c: Likewise.
17852 * soft-fp/fixdfti.c: Likewise.
17853 * soft-fp/fixsfdi.c: Likewise.
17854 * soft-fp/fixsfsi.c: Likewise.
17855 * soft-fp/fixsfti.c: Likewise.
17856 * soft-fp/fixtfdi.c: Likewise.
17857 * soft-fp/fixtfsi.c: Likewise.
17858 * soft-fp/fixtfti.c: Likewise.
17859 * soft-fp/fixunsdfdi.c: Likewise.
17860 * soft-fp/fixunsdfsi.c: Likewise.
17861 * soft-fp/fixunsdfti.c: Likewise.
17862 * soft-fp/fixunssfdi.c: Likewise.
17863 * soft-fp/fixunssfsi.c: Likewise.
17864 * soft-fp/fixunssfti.c: Likewise.
17865 * soft-fp/fixunstfdi.c: Likewise.
17866 * soft-fp/fixunstfsi.c: Likewise.
17867 * soft-fp/fixunstfti.c: Likewise.
17868 * soft-fp/floatdidf.c: Likewise.
17869 * soft-fp/floatdisf.c: Likewise.
17870 * soft-fp/floatditf.c: Likewise.
17871 * soft-fp/floatsidf.c: Likewise.
17872 * soft-fp/floatsisf.c: Likewise.
17873 * soft-fp/floatsitf.c: Likewise.
17874 * soft-fp/floattidf.c: Likewise.
17875 * soft-fp/floattisf.c: Likewise.
17876 * soft-fp/floattitf.c: Likewise.
17877 * soft-fp/floatundidf.c: Likewise.
17878 * soft-fp/floatundisf.c: Likewise.
17879 * soft-fp/floatunditf.c: Likewise.
17880 * soft-fp/floatunsidf.c: Likewise.
17881 * soft-fp/floatunsisf.c: Likewise.
17882 * soft-fp/floatunsitf.c: Likewise.
17883 * soft-fp/floatuntidf.c: Likewise.
17884 * soft-fp/floatuntisf.c: Likewise.
17885 * soft-fp/floatuntitf.c: Likewise.
17886 * soft-fp/fmadf4.c: Likewise.
17887 * soft-fp/fmasf4.c: Likewise.
17888 * soft-fp/fmatf4.c: Likewise.
17889 * soft-fp/gedf2.c: Likewise.
17890 * soft-fp/gesf2.c: Likewise.
17891 * soft-fp/getf2.c: Likewise.
17892 * soft-fp/ledf2.c: Likewise.
17893 * soft-fp/lesf2.c: Likewise.
17894 * soft-fp/letf2.c: Likewise.
17895 * soft-fp/muldf3.c: Likewise.
17896 * soft-fp/mulsf3.c: Likewise.
17897 * soft-fp/multf3.c: Likewise.
17898 * soft-fp/negdf2.c: Likewise.
17899 * soft-fp/negsf2.c: Likewise.
17900 * soft-fp/negtf2.c: Likewise.
17901 * soft-fp/op-1.h: Likewise.
17902 * soft-fp/op-2.h: Likewise.
17903 * soft-fp/op-4.h: Likewise.
17904 * soft-fp/op-8.h: Likewise.
17905 * soft-fp/op-common.h: Likewise.
17906 * soft-fp/quad.h: Likewise.
17907 * soft-fp/single.h: Likewise.
17908 * soft-fp/soft-fp.h: Likewise.
17909 * soft-fp/sqrtdf2.c: Likewise.
17910 * soft-fp/sqrtsf2.c: Likewise.
17911 * soft-fp/sqrttf2.c: Likewise.
17912 * soft-fp/subdf3.c: Likewise.
17913 * soft-fp/subsf3.c: Likewise.
17914 * soft-fp/subtf3.c: Likewise.
17915 * soft-fp/truncdfsf2.c: Likewise.
17916 * soft-fp/trunctfdf2.c: Likewise.
17917 * soft-fp/trunctfsf2.c: Likewise.
17918 * soft-fp/trunctfxf2.c: Likewise.
17919 * soft-fp/unorddf2.c: Likewise.
17920 * soft-fp/unordsf2.c: Likewise.
17921 * soft-fp/unordtf2.c: Likewise.
17922
9ebb0332
JM
179232013-10-15 Joseph Myers <joseph@codesourcery.com>
17924
17925 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17926 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17927
4b1a6d8b
OB
179282013-10-15 Ondřej Bílka <neleai@seznam.cz>
17929
17930 * elf/dl-libc.c: Clear initfini list after freeing.
17931
1e145589
JM
179322013-10-14 Joseph Myers <joseph@codesourcery.com>
17933
17934 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17935 * soft-fp/addsf3.c: Likewise.
17936 * soft-fp/addtf3.c: Likewise.
17937 * soft-fp/divdf3.c: Likewise.
17938 * soft-fp/divsf3.c: Likewise.
17939 * soft-fp/divtf3.c: Likewise.
17940 * soft-fp/double.h: Likewise.
17941 * soft-fp/eqdf2.c: Likewise.
17942 * soft-fp/eqsf2.c: Likewise.
17943 * soft-fp/eqtf2.c: Likewise.
17944 * soft-fp/extenddftf2.c: Likewise.
17945 * soft-fp/extended.h: Likewise.
17946 * soft-fp/extendsfdf2.c: Likewise.
17947 * soft-fp/extendsftf2.c: Likewise.
17948 * soft-fp/extendxftf2.c: Likewise.
17949 * soft-fp/fixdfdi.c: Likewise.
17950 * soft-fp/fixdfsi.c: Likewise.
17951 * soft-fp/fixdfti.c: Likewise.
17952 * soft-fp/fixsfdi.c: Likewise.
17953 * soft-fp/fixsfsi.c: Likewise.
17954 * soft-fp/fixsfti.c: Likewise.
17955 * soft-fp/fixtfdi.c: Likewise.
17956 * soft-fp/fixtfsi.c: Likewise.
17957 * soft-fp/fixtfti.c: Likewise.
17958 * soft-fp/fixunsdfdi.c: Likewise.
17959 * soft-fp/fixunsdfsi.c: Likewise.
17960 * soft-fp/fixunsdfti.c: Likewise.
17961 * soft-fp/fixunssfdi.c: Likewise.
17962 * soft-fp/fixunssfsi.c: Likewise.
17963 * soft-fp/fixunssfti.c: Likewise.
17964 * soft-fp/fixunstfdi.c: Likewise.
17965 * soft-fp/fixunstfsi.c: Likewise.
17966 * soft-fp/fixunstfti.c: Likewise.
17967 * soft-fp/floatdidf.c: Likewise.
17968 * soft-fp/floatdisf.c: Likewise.
17969 * soft-fp/floatditf.c: Likewise.
17970 * soft-fp/floatsidf.c: Likewise.
17971 * soft-fp/floatsisf.c: Likewise.
17972 * soft-fp/floatsitf.c: Likewise.
17973 * soft-fp/floattidf.c: Likewise.
17974 * soft-fp/floattisf.c: Likewise.
17975 * soft-fp/floattitf.c: Likewise.
17976 * soft-fp/floatundidf.c: Likewise.
17977 * soft-fp/floatundisf.c: Likewise.
17978 * soft-fp/floatunsidf.c: Likewise.
17979 * soft-fp/floatunsisf.c: Likewise.
17980 * soft-fp/floatuntidf.c: Likewise.
17981 * soft-fp/floatuntisf.c: Likewise.
17982 * soft-fp/floatuntitf.c: Likewise.
17983 * soft-fp/fmadf4.c: Likewise.
17984 * soft-fp/fmasf4.c: Likewise.
17985 * soft-fp/fmatf4.c: Likewise.
17986 * soft-fp/gedf2.c: Likewise.
17987 * soft-fp/gesf2.c: Likewise.
17988 * soft-fp/getf2.c: Likewise.
17989 * soft-fp/ledf2.c: Likewise.
17990 * soft-fp/lesf2.c: Likewise.
17991 * soft-fp/letf2.c: Likewise.
17992 * soft-fp/muldf3.c: Likewise.
17993 * soft-fp/mulsf3.c: Likewise.
17994 * soft-fp/multf3.c: Likewise.
17995 * soft-fp/negdf2.c: Likewise.
17996 * soft-fp/negsf2.c: Likewise.
17997 * soft-fp/negtf2.c: Likewise.
17998 * soft-fp/op-1.h: Likewise.
17999 * soft-fp/op-2.h: Likewise.
18000 * soft-fp/op-4.h: Likewise.
18001 * soft-fp/op-8.h: Likewise.
18002 * soft-fp/op-common.h: Likewise.
18003 * soft-fp/quad.h: Likewise.
18004 * soft-fp/single.h: Likewise.
18005 * soft-fp/soft-fp.h: Likewise.
18006 * soft-fp/sqrtdf2.c: Likewise.
18007 * soft-fp/sqrtsf2.c: Likewise.
18008 * soft-fp/sqrttf2.c: Likewise.
18009 * soft-fp/subdf3.c: Likewise.
18010 * soft-fp/subsf3.c: Likewise.
18011 * soft-fp/subtf3.c: Likewise.
18012 * soft-fp/truncdfsf2.c: Likewise.
18013 * soft-fp/trunctfdf2.c: Likewise.
18014 * soft-fp/trunctfsf2.c: Likewise.
18015 * soft-fp/trunctfxf2.c: Likewise.
18016 * soft-fp/unorddf2.c: Likewise.
18017 * soft-fp/unordsf2.c: Likewise.
18018 * soft-fp/unordtf2.c: Likewise.
18019
17c48a60
OB
180202013-10-14 Ondřej Bílka <neleai@seznam.cz>
18021
18022 [BZ #15672]
18023 * misc/error.c (error_tail): Fix possible buffer overflow.
18024
cabba934
OB
180252013-10-14 Aurelien Jarno <aurelien@aurel32.net>
18026
18027 [BZ #13028]
18028 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
18029 address.
18030
94bf958a
PM
180312013-10-14 P. J. McDermott <pj@pehjota.net>
18032
18033 [BZ #832]
18034 * elf/ldd.bash.in (try_trace): New function. Delete previous code
18035 testing pipefail option.
18036
71b4dea7
JM
180372013-10-12 Joseph Myers <joseph@codesourcery.com>
18038
18039 * soft-fp/double.h: Indent preprocessor directives inside #if.
18040 * soft-fp/extended.h: Likewise.
18041 * soft-fp/op-2.h: Likewise.
18042 * soft-fp/op-4.h: Likewise.
18043 * soft-fp/op-common.h: Likewise.
18044 * soft-fp/quad.h: Likewise.
18045 * soft-fp/single.h: Likewise.
18046 * soft-fp/soft-fp.h: Likewise.
18047
55602758
YC
180482013-10-12 Yuri Chornoivan <yurchor@ukr.net>
18049
18050 * iconv/iconv_prog.c: Fix typos.
18051 * stdio-common/psiginfo-data.h: Likewise.
18052
9cd83302
RT
180532013-10-12 Reuben Thomas <rrt@sc3d.org>
18054
18055 [BZ #15764]
18056 * locale/setlocale.c: Fix typo.
18057
99fd9f47
JM
180582013-10-12 Joseph Myers <joseph@codesourcery.com>
18059
b7ea74f0
JM
18060 [BZ #16036]
18061 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
18062 signaling NaN arguments.
18063 * soft-fp/unordsf2.c (__unordsf2): Likewise.
18064 * soft-fp/unordtf2.c (__unordtf2): Likewise.
18065
8a509447
JM
18066 [BZ #14910]
18067 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
18068 unordered operands.
18069 * soft-fp/gesf2.c (__gesf2): Likewise.
18070 * soft-fp/getf2.c (__getf2): Likewise.
18071 * soft-fp/ledf2.c (__ledf2): Likewise.
18072 * soft-fp/lesf2.c (__lesf2): Likewise.
18073 * soft-fp/letf2.c (__letf2): Likewise.
18074
98998e9f
JM
18075 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
18076 * soft-fp/eqsf2.c (__eqsf2): Likewise.
18077 * soft-fp/eqtf2.c (__eqtf2): Likewise.
18078 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
18079 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
18080 * soft-fp/fixdfti.c (__fixdfti): Likewise.
18081 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
18082 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
18083 * soft-fp/fixsfti.c (__fixsfti): Likewise.
18084 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
18085 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
18086 * soft-fp/fixtfti.c (__fixtfti): Likewise.
18087 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
18088 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
18089 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18090 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
18091 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
18092 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18093 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18094 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18095 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18096 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18097 * soft-fp/floatdisf.c (__floatdisf): Likewise.
18098 * soft-fp/floatsisf.c (__floatsisf): Likewise.
18099 * soft-fp/floattidf.c (__floattidf): Likewise.
18100 * soft-fp/floattisf.c (__floattisf): Likewise.
18101 * soft-fp/floattitf.c (__floattitf): Likewise.
18102 * soft-fp/floatundidf.c (__floatundidf): Likewise.
18103 * soft-fp/floatundisf.c (__floatundisf): Likewise.
18104 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18105 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18106 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18107 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18108 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18109 * soft-fp/gesf2.c (__gesf2): Likewise.
18110 * soft-fp/getf2.c (__getf2): Likewise.
18111 * soft-fp/ledf2.c (__ledf2): Likewise.
18112 * soft-fp/lesf2.c (__lesf2): Likewise.
18113 * soft-fp/letf2.c (__letf2): Likewise.
18114
8edc4a11
JM
18115 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18116 Undefine and redefine.
18117 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18118 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18119 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18120 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18121 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18122 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18123 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18124 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18125 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18126 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18127 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18128 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18129 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18130 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18131 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18132
8399acaf
JM
18133 [BZ #16032]
18134 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18135 without decrementing exponent if mantissa >= that for the
18136 denominator, not >.
18137 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18138 denominator, not >. Decrement exponent in < case instead of
18139 incrementing in >= case.
18140 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18141 without decrementing exponent if mantissa >= that for the
18142 denominator, not >.
18143
99fd9f47
JM
18144 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18145 computing saturated result for unsigned overflow.
18146
10e1cf6b
SP
181472013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18148 Jeff Law <law@redhat.com>
18149
18150 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18151 (atan2Mp): Add systemtap probe marker.
18152 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18153 (__ieee754_log): Add systemtap probe marker.
18154 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18155 (atanMp): Add systemtap probe marker.
18156 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18157 (tanMp): Add systemtap probe marker.
18158 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18159 (__slowexp): Add systemtap probe marker.
18160 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18161 (__slowpow): Add systemtap probe marker.
18162 * manual/probes.texi: Document probes.
18163
3d110c7c
EB
181642013-10-11 Eric Biggers <ebiggers3@gmail.com>
18165
18166 [BZ #15362]
18167 * libio/fileops.c (_IO_new_file_write): Return count of bytes
18168 written.
18169 (_IO_new_file_xsputn): Don't return EOF if nothing has been
18170 written.
18171 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18172 written to buffer but not flushed.
18173 * libio/iofwrite_u.c: Likewise.
18174 * libio/iopadn.c: Return bytes returned even if EOF was
18175 encountered.
18176 * libio/iowpadn.c: Likewise.
18177 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18178 if _IO_padn does not write the whole buffer.
18179 [!COMPILE_WPRINTF] (PAD): Likewise.
18180
75b4202a
DM
181812013-10-10 David S. Miller <davem@davemloft.net>
18182
18183 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18184 directory block.
18185
6c6352e6
JM
181862013-10-10 Joseph Myers <joseph@codesourcery.com>
18187
33b853c3
JM
18188 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
18189 instead of FSF address.
18190 * soft-fp/fixdfti.c: Likewise.
18191 * soft-fp/fixsfti.c: Likewise.
18192 * soft-fp/fixtfti.c: Likewise.
18193 * soft-fp/fixunsdfti.c: Likewise.
18194 * soft-fp/fixunssfti.c: Likewise.
18195 * soft-fp/fixunstfti.c: Likewise.
18196 * soft-fp/floattidf.c: Likewise.
18197 * soft-fp/floattisf.c: Likewise.
18198 * soft-fp/floattitf.c: Likewise.
18199 * soft-fp/floatuntidf.c: Likewise.
18200 * soft-fp/floatuntisf.c: Likewise.
18201 * soft-fp/floatuntitf.c: Likewise.
18202 * soft-fp/trunctfxf2.c: Likewise.
18203
6c6352e6
JM
18204 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
18205 * soft-fp/fixdfti.c: Likewise.
18206 * soft-fp/fixsfti.c: Likewise.
18207 * soft-fp/fixtfti.c: Likewise.
18208 * soft-fp/fixunsdfti.c: Likewise.
18209 * soft-fp/fixunssfti.c: Likewise.
18210 * soft-fp/fixunstfti.c: Likewise.
18211 * soft-fp/floattidf.c: Likewise.
18212 * soft-fp/floattisf.c: Likewise.
18213 * soft-fp/floattitf.c: Likewise.
18214 * soft-fp/floatuntidf.c: Likewise.
18215 * soft-fp/floatuntisf.c: Likewise.
18216 * soft-fp/floatuntitf.c: Likewise.
18217 * soft-fp/trunctfxf2.c: Likewise.
18218
3bf78b71
DM
182192013-10-10 David S. Miller <davem@davemloft.net>
18220
18221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18222
6f10289e
JM
182232013-10-10 Joseph Myers <joseph@codsourcery.com>
18224
bd878fc0
JM
18225 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18226 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18227 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18228 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18229 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18230 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18231 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18232
6f10289e
JM
18233 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18234 for NaNs before doing comparisons on argument.
18235 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18236 Likewise.
18237
321e2684
WN
182382013-10-10 Will Newton <will.newton@linaro.org>
18239
18240 * malloc/hooks.c (memalign_check): Ensure the value of bytes
18241 passed to _int_memalign does not overflow.
18242
40fefba1
TR
182432013-10-10 Torvald Riegel <triegel@redhat.com>
18244
18245 * scripts/bench.pl: Add include-sources directive.
18246 * benchtests/README: Update documentation.
18247
2ae21ed2
JM
182482013-10-10 Joseph Myers <joseph@codesourcery.com>
18249
dcc2dd3f
JM
18250 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18251 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18252 instead of FP_INIT_ROUNDMODE.
18253 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18254 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18255
2ae21ed2
JM
18256 [BZ #16034]
18257 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
18258 copy class of input value.
18259 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
18260 not handle exceptions.
18261 * soft-fp/negsf2.c (__negsf2): Likewise.
18262 * soft-fp/negtf2.c (__negtf2): Likewise.
18263 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18264
cb8f9562
JM
182652013-10-09 Joseph Myers <joseph@codesourcery.com>
18266
18267 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18268 semicolon. From Linux kernel.
18269
5b60c59d
AB
182702013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
18271
18272 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18273
b86835ca
YC
182742013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
18275
18276 [BZ #156]
18277 * manual/socket.texi: Added statement about buffer
18278 for gethostbyname2_r.
18279
e7044ea7
OB
182802013-10-08 Ondřej Bílka <neleai@seznam.cz>
18281
18282 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18283 Use .p2align directive instead, throughout.
18284 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18285 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18286 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18287 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18288 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18289 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18290 * sysdeps/x86_64/strchr.S: Likewise.
18291 * sysdeps/x86_64/strrchr.S: Likewise.
18292
09544cbc
SP
182932013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18294
88576635
SP
18295 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18296
e7b2d1dd
SP
18297 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18298
09544cbc
SP
18299 * sysdeps/generic/math_private.h (__mpsin1): Remove
18300 declaration.
18301 (__mpcos1): Likewise.
18302 (__mpsin): New argument __range_reduce.
18303 (__mpcos): Likewise.
18304 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18305 (slow): Use __mpsin and __mpcos.
18306 (slow1): Likewise.
18307 (slow2): Likewise.
18308 (sloww): Likewise.
18309 (sloww1): Likewise.
18310 (sloww2): Likewise.
18311 (bsloww): Likewise.
18312 (bsloww1): Likewise.
18313 (bsloww2): Likewise.
18314 (cslow2): Likewise.
18315 (csloww): Likewise.
18316 (csloww1): Likewise.
18317 (csloww2): Likewise.
18318 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18319 range_reduce. Merge in __mpsin1.
18320 (__mpcos): Likewise.
18321 (__mpsin1): Remove.
18322 (__mpcos1): Likewise.
18323
7602d070
JM
183242013-10-07 Joseph Myers <joseph@codesourcery.com>
18325
18326 * locale/loadlocale.c (_nl_intern_locale_data): Use
18327 LOCFILE_ALIGNED_P.
18328 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18329 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18330 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18331 obstack data is appropriately aligned.
18332 (obstack_int32_grow_fast): Likewise.
18333 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18334 * locale/programs/locfile.c (add_locale_uint32): Likewise.
18335 (add_locale_uint32_array): Likewise.
18336
a357259b
SP
183372013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18338
18339 * benchtests/Makefile: Remove ARGLIST and RET variables.
18340 ($(objpfx)bench-%.c): Pass only function name to the script.
18341 * benchtests/README: Update documentation.
18342 * benchtests/acos-inputs: Add new directives.
18343 * benchtests/acosh-inputs: Likewise.
18344 * benchtests/asin-inputs: Likewise.
18345 * benchtests/asinh-inputs: Likewise.
18346 * benchtests/atan-inputs: Likewise.
18347 * benchtests/atanh-inputs: Likewise.
18348 * benchtests/cos-inputs: Likewise.
18349 * benchtests/cosh-inputs: Likewise.
18350 * benchtests/exp-inputs: Likewise.
18351 * benchtests/log-inputs: Likewise.
18352 * benchtests/pow-inputs: Likewise.
18353 * benchtests/rint-inputs: Likewise.
18354 * benchtests/sin-inputs: Likewise.
18355 * benchtests/sinh-inputs: Likewise.
18356 * benchtests/tan-inputs: Likewise.
18357 * benchtests/tanh-inputs: Likewise.
18358 * scripts/bench.pl: Add support for new directives.
18359
9ec1b13d
AM
183602013-10-07 Alan Modra <amodra@gmail.com>
18361
18362 * README: Fix careless merge.
18363
8b7d57cd
AM
183642013-10-05 Alan Modra <amodra@gmail.com>
18365
18366 * NEWS: Mention powerpc64le support and bugs fixed.
18367 * README: Both big-endian and little-endian powerpc64 supported.
18368
7b7bab13
ST
183692013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18370
57f41c40
AS
18371 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18372 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
18373 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18374 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18375
d39baad1
RA
183762013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
18377
18378 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18379 match prototype.
18380
cd78f7e7
JM
183812013-10-04 Joseph Myers <joseph@codesourcery.com>
18382
29d73d86
JM
18383 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18384 Move -mhard-float appending from
18385 ports/sysdeps/powerpc/powerpc32/Makefile.
18386 [$(with-fp) = yes] (ASFLAGS): Likewise.
18387 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18388 * sysdeps/powerpc/nofpu: Move directory from
18389 ports/sysdeps/powerpc/nofpu.
18390 * sysdeps/powerpc/soft-fp: Move directory from
18391 ports/sysdeps/powerpc/soft-fp.
18392 * sysdeps/powerpc/powerpc32/405: Move directory from
18393 ports/sysdeps/powerpc/powerpc32/405.
18394 * sysdeps/powerpc/powerpc32/440: Move directory from
18395 ports/sysdeps/powerpc/powerpc32/440.
18396 * sysdeps/powerpc/powerpc32/464: Move directory from
18397 ports/sysdeps/powerpc/powerpc32/464.
18398 * sysdeps/powerpc/powerpc32/476: Move directory from
18399 ports/sysdeps/powerpc/powerpc32/476.
18400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18401 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18403 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18405 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18407 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18409 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18410 * README: Update for powerpc-*-linux-gnu software floating point
18411 support in libc.
18412
e246b347
JM
18413 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18414 case to powerpc/powerpc32*.
18415 * sysdeps/unix/sysv/linux/configure: Regenerated.
18416
89c2003e
JM
18417 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18418 (_FPU_MASK_OM): Define as 0x04.
18419 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18420 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18421 0x00c10080.
18422 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18423 0x0000003c.
18424 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18425
cd78f7e7
JM
18426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18427 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18428 getcontext_e500.
18429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18430 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18431 setcontext_e500.
18432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18433 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18434 and setcontext_e500.
18435
c755294d
CL
184362013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18437
18438 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18439
e16d221c
SP
184402013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18441
18442 * manual/threads.texi (Default Thread Attributes): Fix typo.
18443
215c7d43
WN
184442013-10-04 Will Newton <will.newton@linaro.org>
18445
18446 * malloc/Makefile: Add tst-memalign.
18447 * malloc/tst-memalign.c: New file.
18448
27d0461b
WN
18449 * malloc/tst-posix_memalign.c: Add comments.
18450 (do_test): Add comments and call free on all potentially
18451 allocated pointers. Add space after cast.
18452
1bc92709
WN
18453 * malloc/tst-pvalloc.c: Add comments.
18454 (do_test): Add comments and call free on all potentially
18455 allocated pointers. Remove duplicate check for NULL pointer.
18456 Add space after cast.
18457
66a9be9d
WN
18458 * malloc/tst-valloc.c: Add comments.
18459 (do_test): Add comments and call free on all potentially
18460 allocated pointers. Remove duplicate check for NULL pointer.
18461 Add space after cast.
18462
4cb81307
AM
184632013-10-04 Alan Modra <amodra@gmail.com>
18464
18465 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18466 Use stdint types in rather than __attribute__((mode())).
18467 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18468
f8e3e9f3
AM
184692013-10-04 Alan Modra <amodra@gmail.com>
18470
18471 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18472 Correct handling of unaligned relocs for little-endian.
18473 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18474
8f9ebb08
AM
184752013-10-04 Alan Modra <amodra@gmail.com>
18476
18477 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18478 * configure: Regenerate.
18479 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18480 * shlib-versions: Likewise.
18481
0edf96c2
AM
184822013-10-04 Alan Modra <amodra@gmail.com>
18483
18484 * string/tester.c (test_memrchr): Increment reported test cycle.
18485
e0f7a380
AM
184862013-10-04 Alan Modra <amodra@gmail.com>
18487
18488 * string/test-memcpy.c (do_one_test): When reporting errors, print
18489 string address and don't overrun end of string.
18490
466b0393
AM
184912013-10-04 Alan Modra <amodra@gmail.com>
18492
18493 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18494 insrdi. Make better use of reg selection to speed exit slightly.
18495 Schedule entry path a little better. Remove useless "are we done"
18496 checks on entry to main loop. Handle wrapping around zero address.
18497 Correct main loop count. Handle single left-over word from main
18498 loop inline rather than by using loop_small. Remove extra word
18499 case in loop_small caused by wrong loop count. Add little-endian
18500 support.
18501 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18502 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18503 cache hint.
18504 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18505 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18506 support. Avoid rlwimi.
18507 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18508
3be87c77
AM
185092013-10-04 Alan Modra <amodra@gmail.com>
18510
18511 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 18512 insrdi. Formatting.
3be87c77
AM
18513 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18514 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18515 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18516 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18517 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18518 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18519
759cfef3
AM
185202013-10-04 Alan Modra <amodra@gmail.com>
18521
18522 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18523 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18524 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18525 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18526 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18527 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18528 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18529 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18530 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18531 use of regs. Use power7 mtocrf. Tidy function tails.
18532
fe6e95d7
AM
185332013-10-04 Alan Modra <amodra@gmail.com>
18534
18535 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18536 Formatting. Consistently use rXXX register defines or rN defines.
18537 Use early exit labels that avoid restoring unused non-volatile regs.
18538 Make cr field use more consistent with rWORDn compares. Rename
18539 regs used as shift registers for unaligned loop, using rN defines
18540 for short lifetime/multiple use regs.
18541 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18542 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18543 addi 1,1,64 to pop stack frame. Simplify return value code.
18544 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18545
664318c3
AM
185462013-10-04 Alan Modra <amodra@gmail.com>
18547
18548 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18549 support. Correct typos, formatting. Optimize tail. Use insrdi
18550 rather than rlwimi.
18551 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18552 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18553 little-endian support. Correct typos.
18554 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18555 rather than rlwimi.
18556 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18557 in loop and entry code to keep "and." results.
18558 (strchr): Add little-endian support. Comment. Move cntlzd
18559 earlier in tail.
18560 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18561
43b84013
AM
185622013-10-04 Alan Modra <amodra@gmail.com>
18563
18564 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18565 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18566 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18567 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18568
8a7413f9
AM
185692013-10-04 Alan Modra <amodra@gmail.com>
18570
18571 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18572 (rTMP): Define as r11.
18573 (strcmp): Add little-endian support. Optimise tail.
18574 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18575 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18576 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18577 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18578 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18579 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18580 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18581
33ee81de
AM
185822013-10-04 Alan Modra <amodra@gmail.com>
18583
18584 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18585 little-endian support. Remove unnecessary "are we done" tests.
18586 Handle "s" wrapping around zero and extremely large "size".
18587 Correct main loop count. Handle single left-over word from main
18588 loop inline rather than by using small_loop. Correct comments.
18589 Delete "zero" tail, use "end_max" instead.
18590 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18591
db9b4570
AM
185922013-10-04 Alan Modra <amodra@gmail.com>
18593
18594 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18595 support. Don't branch over align.
18596 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18597 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18598 support. Rearrange tmp reg use to suit. Comment.
18599 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18600
f7c399cf
AM
186012013-10-04 Alan Modra <amodra@gmail.com>
18602
18603 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18604
0b2c2ace
AM
186052013-10-04 Alan Modra <amodra@gmail.com>
18606
18607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18608 conditional form of branch and link when obtaining pc.
18609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18610
02f04a6c
AM
186112013-10-04 Alan Modra <amodra@gmail.com>
18612
18613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18614 HIWORD/LOWORD.
18615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18617
9b874b2f
AM
186182013-10-04 Alan Modra <amodra@gmail.com>
18619
18620 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18621 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18622 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18623 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18624 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18625 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18626 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18627 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18628 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18629 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18630
be1e5d31
AB
186312013-10-04 Anton Blanchard <anton@au1.ibm.com>
18632 Alistair Popple <alistair@ozlabs.au.ibm.com>
18633 Alan Modra <amodra@gmail.com>
18634
18635 [BZ #15723]
18636 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18637 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18638 _dl_hwcap access for little-endian.
18639 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
18640 destroy vmx regs when saving unaligned.
18641 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18642 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
18643 destroy vmx regs when saving unaligned.
18644
fef13a78
AM
186452013-10-04 Alan Modra <amodra@gmail.com>
18646
18647 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18648 Don't use a union to pack hi/low value.
18649
76a66d51
AB
186502013-10-04 Anton Blanchard <anton@au1.ibm.com>
18651
18652 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18653 for little-endian.
18654 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18655 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18656 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18657 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18658 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18659
6a31fe7f
AM
186602013-10-04 Alan Modra <amodra@gmail.com>
18661
18662 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18663 constants to usual value for .cst8 section, and remove redundant
18664 high address load.
18665 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18666 constant for 0x1p52. Load little-endian words of double from
18667 correct stack offsets.
18668
7b88401f
AM
186692013-10-04 Alan Modra <amodra@gmail.com>
18670
18671 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18672 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18673 words of double from correct stack offsets.
18674 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18675 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18676 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18677 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18678 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18679 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18680 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18681 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18682 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18683 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18684 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18685 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18686 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18687 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18688 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18689 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18690 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18691
9c008155
AM
186922013-10-04 Alan Modra <amodra@gmail.com>
18693
18694 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18695 64-bit int/double union.
18696 (_FPU_SETCW): Likewise.
18697 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18698 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18699
da13146d
AM
187002013-10-04 Alan Modra <amodra@gmail.com>
18701
18702 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18703 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18704
603e8410
AM
187052013-10-04 Alan Modra <amodra@gmail.com>
18706
18707 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18708 use vector int constants.
18709 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18710
4a28b3ca
AB
187112013-10-04 Anton Blanchard <anton@au1.ibm.com>
18712
18713 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18714 array with long long.
18715 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18716 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18717 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18718 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18719 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18720 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18721 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18722 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18723 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18724 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18725 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18726 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18727 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18728
2ca85d2b
AB
187292013-10-04 Anton Blanchard <anton@au1.ibm.com>
18730
18731 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18732 (__signbit): Likewise. Correct for little-endian.
18733 (__signbitl): Call __signbit.
18734 (lrint): Correct for little-endian.
18735 (lrintf): Call lrint.
18736
62a728ae
AM
187372013-10-04 Alan Modra <amodra@gmail.com>
18738
18739 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18740 union 32-bit int array member with 64-bit int array.
18741 (t515, tm256): Double rather than long double.
18742 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18743
32c301df
AM
187442013-10-04 Alan Modra <amodra@gmail.com>
18745
18746 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18747 Delete.
18748 (IEEE854_LONG_DOUBLE_BIAS): Delete.
18749 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18750 version of math_ldbl.h.
18751
650ef4bd
AM
187522013-10-04 Alan Modra <amodra@gmail.com>
18753
18754 [BZ #15734], [BZ #15735]
18755 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18756 all uses of ieee875 long double macros and unions. Simplify test
18757 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
18758 ldbl_extract_mantissa value for ix,iy exponents. Properly
18759 normalize after ldbl_extract_mantissa, and don't add hidden bit
18760 already handled. Don't treat low word of ieee854 mantissa like
18761 low word of IBM long double and mask off bit when testing for
18762 zero.
18763 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18764 all uses of ieee875 long double macros and unions. Simplify tests
18765 for 0.0L and inf. Correct double adjustment of k. Delete dead code
18766 adjusting ha,hb. Simplify code setting kld. Delete two600 and
18767 two1022, instead use their values. Recognise that tests for large
18768 "a" and small "b" are mutually exclusive. Rename vars. Comment.
18769 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18770 Rewrite all uses of ieee875 long double macros and unions. Simplify
18771 test for 0.0L and nan. Correct negation.
18772 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18773 ieee875 long double macros and unions. Correct output for large
18774 magnitude x. Correct absolute value calculation.
18775 (__erfcl): Likewise.
18776 * math/libm-test.inc: Add tests for errors discovered in IBM long
18777 double versions of fmodl, remainderl, erfl and erfcl.
18778
765714ca
AM
187792013-10-04 Alan Modra <amodra@gmail.com>
18780
18781 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18782 all uses of ieee854 long double macros and unions. Simplify tests
18783 for long doubles that are fully specified by the high double.
18784 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18785 Likewise.
18786 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18787 Remove dead code too.
18788 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18789 (__ieee754_ynl): Likewise.
18790 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18791 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18792 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18793 Remove dead code too.
18794 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18795 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18796 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18797 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18798 Simplify.
18799 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18800 Simplify.
18801 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18802 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18803 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18804 Comment on variable precision.
18805 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18806 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18807 Likewise.
18808 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18809 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18810 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18811 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18812 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18813
4ebd120c
AM
188142013-10-04 Alan Modra <amodra@gmail.com>
18815
18816 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18817 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18818 all uses of ieee854 long double macros and unions.
18819 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18820 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18821 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18822 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18823 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18824 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18825 Likewise.
18826 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18827 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18828 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18829 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18830 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18831 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18832 Simplify sign and nan test too.
18833 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18834 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18835 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18836 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18837 Likewise.
18838 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18839 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18840 Likewise.
18841 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18842 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18843 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18844 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18845 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18846 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18847
1b6adf88
AM
188482013-10-04 Alan Modra <amodra@gmail.com>
18849
18850 * stdio-common/printf_size.c (__printf_size): Don't use
18851 union ieee854_long_double in fpnum union.
18852 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
18853 signbit macro to retrieve sign from long double.
18854 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18855 retrieve sign from long double.
18856 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18857 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18858 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18859 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18860 * math/test-misc.c (main): Don't use union ieee854_long_double.
18861
4cf69995
AM
188622013-10-04 Alan Modra <amodra@gmail.com>
18863
18864 [BZ #15680]
18865 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18866 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18867 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18868 calculation. Remove unnecessary test for denormal exponent.
18869 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18870 Correct handling of denormals. Avoid undefined shift behaviour.
18871 Correct normalisation of low mantissa when low double is denormal.
18872 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18873 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
18874 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18875 Correct normalisation of low mantissa. Test for overflow of high
18876 mantissa and normalise.
18877 (ldbl_nearbyint): Use more readable constant for two52.
18878 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18879 (__mpn_construct_long_double): Fix test for overflow of high
18880 mantissa and correct normalisation. Avoid undefined shift.
18881
9605ca6c
AM
188822013-10-04 Alan Modra <amodra@gmail.com>
18883
18884 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18885 (union ibm_extended_long_double): Define as an array of ieee754_double.
18886 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18887 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18888 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18889 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18890 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18891 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18892 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18893 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18894 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18895 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18896 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18897
975569d0
JM
188982013-10-03 Joseph Myers <joseph@codesourcery.com>
18899
d3d23756
JM
18900 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18901 page size instead of calling getpagesize.
18902
975569d0
JM
18903 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18904 (LOCFILE_ALIGN_MASK): Likewise.
18905 (LOCFILE_ALIGN_UP): Likewise.
18906 (LOCFILE_ALIGNED_P): Likewise.
18907 * locale/programs/ld-collate.c (collate_output): Use the new
18908 macros instead of __alignof__ (int32_t).
18909 * locale/weight.h (findidx): Likewise.
18910
b1fe1f2b
OB
189112013-10-03 Ondřej Bílka <neleai@seznam.cz>
18912
18913 [BZ #431]
18914 * manual/string.texi: Fix strncat and wcsncat.
18915
5f855e35
BM
189162013-10-03 Brooks Moses <bmoses@google.com>
18917
18918 [BZ #15915]
18919 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18920 * Makerules: ...here, and adjust associated comments.
18921
3cef6009
WN
189222013-10-02 Will Newton <will.newton@linaro.org>
18923
18924 * malloc/Makefile: Add tst-pvalloc.
18925 * malloc/tst-pvalloc.c: New file.
18926
7815420b
WN
189272013-10-02 Will Newton <will.newton@linaro.org>
18928
18929 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18930 improve test coverage.
18931
4868b204
WN
189322013-10-02 Will Newton <will.newton@linaro.org>
18933
18934 * malloc/Makefile: Add tst-posix_memalign.
18935 * malloc/tst-posix_memalign.c: New file.
18936
29c793b3
EB
189372013-10-01 Eric Blake <eblake@redhat.com>
18938
18939 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18940 Use __THROWNL rather than __THROW on static functions.
18941
fd967522
PM
189422013-09-30 Petr Machata <pmachata@redhat.com>
18943
18944 * elf/elf.h (R_AARCH64_ABS16): New macro.
18945 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18946 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
18947 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
18948 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18949 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
18950 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
18951 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
18952 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
18953 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
18954 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
18955 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
18956 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
18957 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
18958 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18959 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
18960 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
18961 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
18962 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
18963 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
18964 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18965 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18966 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18967 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18968 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18969 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18970 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18971 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18972 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18973 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18974 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18975 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18976 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18977 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18978 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18979 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18980 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18981 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18982 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18983 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18984 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18985 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18986 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18987 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18988 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18989 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18990 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18991 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18992 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18993 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18994 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18995 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18996 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18997 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18998 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18999 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
19000 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
19001 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
19002 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
19003 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
19004 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
19005 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
19006 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
19007 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
19008 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
19009 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
19010 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
19011 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
19012 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
19013 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
19014 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
19015 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
19016 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
19017 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
19018 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
19019 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
19020 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
19021 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
19022 (R_AARCH64_TLSDESC_LDR): Likewise.
19023 (R_AARCH64_TLSDESC_ADD): Likewise.
19024 (R_AARCH64_TLSDESC_CALL): Likewise.
19025
b2179107
AS
190262013-09-30 Andreas Schwab <schwab@suse.de>
19027
19028 [BZ #15048]
19029 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
19030 the nss database lookup.
19031 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19032 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19033
47f28d0a
MF
190342013-09-28 Mike Frysinger <vapier@gentoo.org>
19035
19036 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
19037
190382013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
19039
19040 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
19041 ${Bash-specific parameter/pattern/string} parameter expansion.
19042 * sysdeps/unix/make-syscalls.sh: Likewise.
19043
f4518a17
KK
190442013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19045
19046 * sysdeps/sh/stackguard-macros.h: New file.
19047
dc1a95c7
OB
190482013-09-26 Ondřej Bílka <neleai@seznam.cz>
19049
19050 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19051 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
19052 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
19053 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
19054 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19055 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
19056
5ebbff8f
AZ
190572013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19058
19059 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
19060 Fix thread ID register.
19061
4fd2cf9f
JM
190622013-09-25 Joseph Myers <joseph@codesourcery.com>
19063
19064 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
19065 [POSIX || UNIX98]: Require rather than permitting all symbols from
19066 <time.h>.
19067 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
19068 element of struct sched_param.
19069 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
19070 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
19071 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
19072 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
19073 constant.
19074
12c22bc4
OL
190752013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
19076
19077 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
19078 argument calculation.
19079
a03d8ea7
JM
190802013-09-24 Joseph Myers <joseph@codesourcery.com>
19081
19082 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
19083 Expect macro.
19084 [POSIX] (pthread_attr_t): Do not require type.
19085 [POSIX] (pthread_cond_t): Likewise.
19086 [POSIX] (pthread_condattr_t): Likewise.
19087 [POSIX] (pthread_key_t): Likewise.
19088 [POSIX] (pthread_mutex_t): Likewise.
19089 [POSIX] (pthread_mutexattr_t): Likewise.
19090 [POSIX] (pthread_once_t): Likewise.
19091 [POSIX] (pthread_t): Likewise.
19092 [POSIX-based standards] (pthread_atfork): Expect function.
19093
6055173a
JM
190942013-09-24 Joseph Myers <joseph@codesourcery.com>
19095 Richard Sandiford <richard@codesourcery.com>
19096
19097 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19098 (swap_endianness_p): New extern variable.
19099 (set_big_endian): New inline function.
19100 (maybe_swap_uint32): Likewise.
19101 (maybe_swap_uint32_array): Likewise.
19102 (maybe_swap_uint32_obstack): Likewise.
19103 * locale/programs/locfile.c: Include <stdbool.h>.
19104 (swap_endianness_p): New variable.
19105 (add_locale_uint32): Call maybe_swap_uint32.
19106 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19107 (write_locale_data): Call maybe_swap_uint32_array.
19108 * locale/programs/ld-collate.c (obstack_int32_grow): Call
19109 maybe_swap_uint32.
19110 (obstack_int32_grow_fast): Likewise.
19111 (output_weightwc): Call maybe_swap_uint32_obstack.
19112 (collate_output): Likewise.
19113 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19114 (OPT_LITTLE_ENDIAN): Likewise.
19115 (options): Add --little-endian and --big-endian options.
19116 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19117 * locale/programs/locarchive.c: Include "locfile.h".
19118 (GET): New macro.
19119 (SET): Likewise.
19120 (INC): Likewise.
19121 (create_archive): Use the new macros to access fields of
19122 structures directly mapped from or written to locale archives.
19123 (oldlocrecentcmp): Likewise.
19124 (enlarge_archive): Likewise.
19125 (insert_name): Likewise.
19126 (add_alias): Likewise.
19127 (add_locale): Likewise.
19128 (delete_locales_from_archive): Likewise.
19129 (show_archive_content): Likewise.
19130 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
19131 locale data.
19132
39bf0bb4
RM
191332013-09-24 Roland McGrath <roland@hack.frob.com>
19134
19135 * manual/freemanuals.texi: Updated from (newly) canonical copy at
19136 http://www.gnu.org/doc/freemanuals.texi.
19137 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19138
f02eed10
WN
191392013-09-24 Will Newton <will.newton@linaro.org>
19140
19141 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19142 macro.
19143
a3a6c312
JM
191442013-09-23 Joseph Myers <joseph@codesourcery.com>
19145
19146 * locale/hashval.h (compute_hashval): Interpret bytes of key as
19147 unsigned char.
19148
107375ac
MR
191492013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
19150
19151 * manual/threads.texi (POSIX Threads): Fix a typo.
19152
141f3a77
SP
191532013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19154
303e567a
SP
19155 [BZ #14547]
19156 * string/tst-strcoll-overflow.c: New test case.
19157 * string/Makefile (xtests): Add tst-strcoll-overflow.
19158 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19159 cache if string sizes may cause integer overflow.
19160
141f3a77
SP
19161 [BZ #14547]
19162 * string/strcoll_l.c (coll_seq): New members rule, idx,
19163 save_idx and back_us.
19164 (get_next_seq_nocache): New function.
19165 (do_compare_nocache): New function.
19166 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19167 when malloc fails.
19168
c61b4d41
CD
191692013-09-23 Carlos O'Donell <carlos@redhat.com>
19170
0b1f8e35
CD
19171 [BZ #15754]
19172 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19173 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19174 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19175
c61b4d41
CD
19176 [BZ #15754]
19177 * elf/Makefile (tests): Add tst-ptrguard1.
19178 (tests-static): Add tst-ptrguard1-static.
19179 (tst-ptrguard1-ARGS): Define.
19180 (tst-ptrguard1-static-ARGS): Define.
19181 * elf/tst-ptrguard1.c: New file.
19182 * elf/tst-ptrguard1-static.c: New file.
19183 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19184 * sysdeps/i386/stackguard-macros.h: Likewise.
19185 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19186 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19187 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19188 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19189 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19190 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19191
191922013-09-23 Hector Marco <hecmargi@upv.es>
19193 Ismael Ripoll <iripoll@disca.upv.es>
19194 Carlos O'Donell <carlos@redhat.com>
19195
19196 [BZ #15754]
19197 * sysdeps/generic/stackguard-macros.h: Define
19198 __pointer_chk_guard_local and POINTER_CHK_GUARD.
19199 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19200 Define __pointer_chk_guard_local.
19201 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19202 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19203
f5f4e7b4
VV
192042013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
19205
19206 [BZ #15859]
19207 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19208
5bb43a43
AS
192092013-09-20 Andreas Schwab <schwab@linux-m68k.org>
19210
19211 * include/string.h (__ffs): Declare as hidden.
19212 * string/ffs.c (__ffs): Define as hidden.
19213 * sysdeps/i386/ffs.c (__ffs): Likewise.
19214 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19215 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19216 * sysdeps/s390/ffs.c (__ffs): Likewise.
19217 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19218
3ea5be54
AO
192192013-09-20 Alexandre Oliva <aoliva@redhat.com>
19220
ffb89e53
AO
19221 * NEWS: Mention malloc probes.
19222
322dea08
AO
19223 * malloc/arena.c (new_heap): New memory_heap_new probe.
19224 (grow_heap): New memory_heap_more probe.
19225 (shrink_heap): New memory_heap_less probe.
19226 (heap_trim): New memory_heap_free probe.
19227 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19228 (systrim): New memory_sbrk_less probe.
19229 * manual/probes.texi: Document them.
19230
655673f3
AO
19231 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19232 * manual/probes.texi: Document it.
19233
35fed6f1
AO
19234 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19235 (__libc_realloc): Add memory_realloc_retry probe.
19236 (__libc_memalign): Add memory_memalign_retry probe.
19237 (__libc_valloc): Add memory_valloc_retry probe.
19238 (__libc_pvalloc): Add memory_pvalloc_retry probe.
19239 (__libc_calloc): Add memory_calloc_retry probe.
19240 * manual/probes.texi: Document them.
19241
6999d38c
AO
19242 * malloc/arena.c (get_free_list): Add probe
19243 memory_arena_reuse_free_list.
19244 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19245 and memory_arena_reuse.
19246 (arena_get2) [!PER_THREAD]: Likewise.
19247 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19248 memory_arena_reuse_realloc.
19249 * manual/probes.texi: Document them.
19250
0653427f
AO
19251 * malloc/malloc.c (__libc_free): Add
19252 memory_mallopt_free_dyn_thresholds probe.
19253 (__libc_mallopt): Add multiple memory_mallopt probes.
19254 * manual/probes.texi: Document them.
19255
3ea5be54
AO
19256 * malloc/malloc.c: Include stap-probe.h.
19257 (__libc_mallopt): Add memory_mallopt probe.
19258 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19259 * manual/probes.texi: New.
19260 * manual/Makefile (chapters): Add probes.
19261 * manual/threads.texi: Set next node.
19262
e35696c3 192632013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 19264
e35696c3
CL
19265 [BZ #15963, #13985]
19266 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19267 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19268 Add `Chinese' to `nan' entry name.
19269
4aafb73c
SP
192702013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19271
19272 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19273 (POLYNOMIAL): Likewise.
19274 (TAYLOR_SINCOS): Likewise.
19275 (TAYLOR_SLOW): Likewise.
19276 (__sin): Use TAYLOR_SINCOS.
19277 (__cos): Likewise.
19278 (slow): Use TAYLOR_SLOW.
19279 (sloww): Likewise.
19280 (bsloww): Likewise.
19281 (csloww): Likewise.
19282
d84f25c7
LD
192832013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19284
19285 * stdlib/strtod_l.c: Fix buffer overrun.
19286
5eea0404
SP
192872013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19288
7849ff93
SP
19289 * benchtests/Makefile (bench): Add sincos.
19290 * benchtests/bench-sincos.c: New file.
19291
cfa3c886
SP
19292 * math/libm-test.inc (cos_test_data): New test inputs.
19293 (sin_test_data): Likewise.
19294
b348e1e3
SP
19295 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19296 macro.
19297 (__sin): Use it.
19298 (__cos): Likewise.
19299 (slow1): Likewise.
19300 (slow2): Likewise.
19301 (sloww1): Likewise.
19302 (sloww2): Likewise.
19303 (bsloww1): Likewise.
19304 (bsloww2): Likewise.
19305 (cslow2): Likewise.
19306 (csloww1): Likewise.
19307 (csloww2): Likewise.
19308
6cce25f8
SP
19309 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19310 function.
19311 (__sin): Use it.
19312 (__cos): Likewise.
19313
5eea0404
SP
19314 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19315 gotos.
19316 (__cos): Likewise.
19317
9c21573c
MR
193182013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
19319
19320 * config.h.in (HAVE_MIPS_NAN2008): New macro.
19321 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19322 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19323 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19324 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19325 * elf/cache.c (print_entry): Handle the new cache flags.
19326
24d22e65
JM
193272013-09-18 Joseph Myers <joseph@codesourcery.com>
19328 Aldy Hernandez <aldyh@redhat.com>
19329
19330 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19331 Change condition to [_SOFT_FLOAT].
19332 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19333 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19334 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19335 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19336 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19337 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19338 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19339 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19340 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19341 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19342 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19343 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19344 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19345 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19346 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19347 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19348 declaration.
19349
d13ef066
JM
193502013-09-18 Joseph Myers <joseph@codesourcery.com>
19351
2e071de0
JM
19352 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19353 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19354 (__longjmp): Use LOAD_GP to load saved GPRs.
19355 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19356 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19357 (__sigsetjmp): Use SAVE_GP to save GPRs.
19358
d13ef066
JM
19359 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19360 Do not append -msoft-float.
19361 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19362
97a0650b
SP
193632013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19364
19365 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19366
11ca09e9
JM
193672013-09-17 Joseph Myers <joseph@codesourcery.com>
19368
19369 [BZ #15966]
19370 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19371 (_FPU_GETCW): Use initial "__" on variable and field names but not
19372 on macro parameter name.
19373 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
19374 parentheses around reference to macro parameter.
19375
08ffcf34
RS
193762013-09-13 Richard Sandiford <richard@codesourcery.com>
19377
19378 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19379 prototype.
19380 (ctype_startup): Use uint32_t in cast and sizeof for
19381 ctype->charnames.
19382
ae7080d3
JL
193832013-09-11 Jia Liu <proljc@gmail.com>
19384
19385 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19386 __daddr_t_defined.
19387 [__FreeBSD__]: Likewise.
19388
5905e7b3
OB
193892013-09-11 Ondřej Bílka <neleai@seznam.cz>
19390
19391 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19392 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19393 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19394 (strchr): Remove __strchr_sse42 ifunc selection.
19395 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19396 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19397
b987c776
WN
193982013-09-11 Will Newton <will.newton@linaro.org>
19399
19400 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19401 parameter to RES. Remove hardcoded 1000 value.
19402 * benchtests/bench-skeleton.c (main): Pass RES parameter
19403 to TIMING_INIT and multiply result by 1000.
19404
ddf985af
AZ
194052013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19406
19407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19408
ffdd3181
AS
194092013-09-11 Andreas Schwab <schwab@suse.de>
19410
19411 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19412 if not defined.
19413 (O_TMPFILE) [__USE_GNU]: Define.
19414 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19415 Define.
19416
b73ed247
WN
194172013-09-11 Will Newton <will.newton@linaro.org>
19418
19419 [BZ #15857]
19420 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19421 does not overflow.
19422
55e17aad
WN
194232013-09-11 Will Newton <will.newton@linaro.org>
19424
19425 [BZ #15856]
19426 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19427 does not overflow.
19428
1159a193
WN
194292013-09-11 Will Newton <will.newton@linaro.org>
19430
19431 [BZ #15855]
19432 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19433 does not overflow.
19434
5905e7b3 194352013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
19436
19437 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19438 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19439 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19440 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19441 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19442
cdfc721b
AM
194432013-09-10 Allan McRae <allan@archlinux.org>
19444
aa04af00
AM
19445 [BZ #15748]
19446 * manual/arith.texi (Parsing of Floats): Clarify
19447 cross-reference.
19448
cdfc721b
AM
19449 [BZ #15849]
19450 * manual/install.texi (Running make install): Mention
19451 --enable-pt-chown.
19452 * INSTALL: Regenerated.
19453
95e7cf29
MR
194542013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19455
19456 * csu/init-first.c (_init): Remove the !SHARED condition around
19457 FPU control word initialization.
19458 * elf/dl-support.c (_dl_fpu_control): New variable.
19459 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19460 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19461 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19462 * math/test-fpucw-static.c: New file.
19463 * math/test-fpucw-ieee.c: New file.
19464 * math/test-fpucw-ieee-static.c: New file.
19465 * math/Makefile (tests): Add `test-fpucw-ieee' and
19466 `$(tests-static)'.
19467 (tests-static): New variable.
19468 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19469 dependency to...
19470 [($(build-shared),yes)]
19471 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19472 ... this.
19473 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19474 New dependency.
19475
83e43bf0
AM
194762013-09-09 Allan McRae <allan@archlinux.org>
19477
a9f5ce09
AM
19478 [BZ #15939]
19479 * manual/string.texi (Collation Functions): Fix typo in
19480 strcoll example.
19481 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19482
34829bc2
AM
19483 [BZ #15893]
19484 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19485
3932737d
AM
19486 [BZ #15892]
19487 * libio/memstream.c (open_memstream): Fix memory leak.
19488 * libio/wmemstream.c (open_wmemstream): Likewise.
19489
83e43bf0
AM
19490 [BZ #15895]
19491 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19492
0c66b8e9
WN
194932013-09-09 Will Newton <will.newton@linaro.org>
19494
19495 * malloc/Makefile: Add tst-realloc to tests.
19496 * malloc/tst-realloc.c: New file.
19497
f6b00fd1
AM
194982013-09-09 Allan McRae <allan@archlinux.org>
19499
19500 [BZ #15844]
19501 * COPYING: Update from GNU website to fix FSF address.
19502 * COPYING.LIB: Likewise.
19503
eec55e16
DM
195042013-09-06 David S. Miller <davem@davemloft.net>
19505
19506 * po/zh_TW.po: Update Chinese (traditional) translation from
19507 translation project.
19508
1ecbb381
RS
195092013-09-06 Richard Sandiford <richard@codesourcery.com>
19510 Joseph Myers <joseph@codesourcery.com>
19511
19512 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19513 "localeinfo.h".
19514 (obstack_chunk_alloc): New macro.
19515 (obstack_chunk_free): Likewise.
19516 (record_offset): New function.
19517 (init_locale_data): Likewise.
19518 (align_locale_data): Likewise.
19519 (add_locale_empty): Likewise.
19520 (add_locale_raw_data): Likewise.
19521 (add_locale_raw_obstack): Likewise.
19522 (add_locale_string): Likewise.
19523 (add_locale_wstring): Likewise.
19524 (add_locale_uint32): Likewise.
19525 (add_locale_uint32_array): Likewise.
19526 (add_locale_char): Likewise.
19527 (start_locale_structure): Likewise.
19528 (end_locale_structure): Likewise.
19529 (start_locale_prelude): Likewise.
19530 (end_locale_prelude): Likewise.
19531 (write_locale_data): Take locale_file structure rather than an
19532 iovec.
19533 * locale/programs/locfile.h: Include "obstack.h".
19534 (struct locale_file): Change to store locale file contents instead
19535 of header.
19536 (init_locale_data): New prototype.
19537 (align_locale_data): Likewise.
19538 (add_locale_empty): Likewise.
19539 (add_locale_raw_data): Likewise.
19540 (add_locale_raw_obstack): Likewise.
19541 (add_locale_string): Likewise.
19542 (add_locale_wstring): Likewise.
19543 (add_locale_uint32): Likewise.
19544 (add_locale_uint32_array): Likewise.
19545 (add_locale_char): Likewise.
19546 (start_locale_structure): Likewise.
19547 (end_locale_structure): Likewise.
19548 (start_locale_prelude): Likewise.
19549 (end_locale_prelude): Likewise.
19550 (write_locale_data): Update prototype.
19551 * locale/programs/3level.h (struct TABLE): Remove result field.
19552 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19553 Use new locale_file interface.
19554 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19555 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19556 * locale/programs/ld-address.c (address_output): Use new
19557 locale_file interface.
19558 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19559 NO_ADD_LOCALE.
19560 (collate_finish): Don't call collseq_table_finalize.
19561 (collate_output): Use new locale_file interface.
19562 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19563 in file.
19564 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19565 (TABLE): Move defines earlier in file.
19566 (ELEMENT): Likewise.
19567 (DEFAULT): Likewise.
19568 (wctrans_table_add): Move macro and inline function earlier in
19569 file.
19570 (struct wctype_table): Move type earlier in file.
19571 (add_locale_wctype_table): New static prototype.
19572 (struct locale_ctype_t): Use logical types instead of struct iovec
19573 pointers for members.
19574 (ctype_output): Use new locale_file interface.
19575 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19576 new locale_file interface.
19577 (allocate_arrays): Update for use of new locale_file interface.
19578 * locale/programs/ld-identification.c (identification_output): Use
19579 new locale_file interface.
19580 * locale/programs/ld-measurement.c (measurement_output): Likewise.
19581 * locale/programs/ld-messages.c (messages_output): Likewise.
19582 * locale/programs/ld-monetary.c (monetary_output): Likewise.
19583 * locale/programs/ld-name.c (name_output): Likewise.
19584 * locale/programs/ld-numeric.c (numeric_output): Likewise.
19585 * locale/programs/ld-paper.c (paper_output): Likewise.
19586 * locale/programs/ld-telephone.c (telephone_output): Likewise.
19587 * locale/programs/ld-time.c (time_output): Likewise.
19588
e029e2e5
AZ
195892013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19590
19591 * benchtests/Makefile: Add memrchr benchmark.
19592 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19593 benchmark as memrchr.
19594 * benchtests/bench-memrchr-ifunc.c: New file.
19595 * benchtests/bench-memrchr.c: New file.
19596
bbf6e8e4
WN
195972013-09-06 Will Newton <will.newton@linaro.org>
19598
19599 * benchtests/Makefile (string-bench): Add memcpy.
19600
6c82a2f8
CD
196012013-09-05 Carlos O'Donell <carlos@redhat.com>
19602 Cong Wang <amwang@redhat.com>
19603
e732c5f0 19604 [BZ #15850]
6c82a2f8
CD
19605 * sysdeps/unix/sysv/linux/bits/in.h
19606 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19607 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19608 before __USE_KERNEL_IPV6_DEFS uses.
19609 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19610 IPPROTO_BEETPH.
19611 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19612 sockaddr_in6, or ipv6_mreq.
19613
5430fc65
AZ
196142013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19615
19616 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19617 memory access for final bytes in some large inputs.
19618 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19619
4660856c
AZ
196202013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19621
19622 * string/test-memrchr.c: New file.
19623 * string/test-memrchr-ifunc.c: New file.
19624 * string/Makefile: Add new memrchr testcase.
19625
bb8ea713
MF
196262013-09-05 Mike Frysinger <vapier@gentoo.org>
19627
19628 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19629 fanotify_init returns EPERM.
19630
b92a20b5
JM
196312013-09-04 Joseph Myers <joseph@codesourcery.com>
19632
19633 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19634 errors.
19635 (top level): Treat second token from macro or constant entries for
19636 allowed headers as allowed.
19637 * include/complex.h: Condition internal declarations on
19638 [!_ISOMAC].
19639 * include/fenv.h: Condition include of <stdbool.h> and internal
19640 declarations on [!_ISOMAC].
7447ccd9
CL
19641
196422013-09-04 Chris Leonard <cjl@sugarlabs,.org>
19643
3e181dda 19644 [BZ #15923]
7447ccd9
CL
19645 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19646
3f2e46a4
JM
196472013-09-04 Joseph Myers <joseph@codesourcery.com>
19648
19649 * configure.in (--enable-versioning): Remove configure option.
19650 (libc_cv_asm_symver_directive): Remove configure test.
19651 (libc_cv_ld_version_script_option): Likewise.
19652 (VERSIONING): Remove variable and AC_SUBST.
19653 (DO_VERSIONING): Remove AC_DEFINE.
19654 * configure: Regenerated.
19655 * config.h.in (DO_VERSIONING): Remove macro.
19656 * Makerules [$(versioning) = yes]: Change conditionals to
19657 [$(build-shared) = yes].
19658 * config.make.in (versioning): Remove variable.
19659 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19660 [$(build-shared) = yes].
19661 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19662 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19663 * elf/Makefile [$(versioning) = yes]: Change conditionals to
19664 [$(build-shared) = yes].
19665 * extra-lib.mk [$(versioning) = yes]: Likewise.
19666 * hurd/Makefile [$(versioning) = yes]: Likewise.
19667 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19668 [SHARED].
19669 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19670 [SHARED].
19671 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19672 [SHARED && !NO_HIDDEN].
19673 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19674 [SHARED].
19675 [SHARED && DO_VERSIONING]: Likewise..
19676 * libio/Makefile [$(versioning) = yes]: Change conditionals to
19677 [$(build-shared) = yes].
19678 * manual/install.texi (--disable-versioning): Remove
19679 documentation.
19680 * INSTALL: Regenerated.
19681 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19682 to [SHARED].
19683 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19684 [$(build-shared) = yes].
19685 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19686 * sysdeps/i386/i686/multiarch/strstr-c.c
19687 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19688 [SHARED && !NO_HIDDEN].
19689 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19690 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19691 * sysdeps/powerpc/powerpc32/dl-machine.c
19692 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19693 * sysdeps/powerpc/powerpc32/sysdep.h
19694 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19695 to [SHARED && PIC && !NO_HIDDEN].
19696 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19697 conditional to [SHARED].
19698
44558701
WN
196992013-09-04 Will Newton <will.newton@linaro.org>
19700
19701 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19702 * benchtests/bench-string.h: Include bench-timing.h instead
19703 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19704 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19705 call to HP_TIMING_DIFF_INIT.
19706 * benchtests/bench-memccpy.c: Use bench-timing.h macros
19707 instead of hp-timing.h macros.
19708 * benchtests/bench-memchr.c: Likewise.
19709 * benchtests/bench-memcmp.c: Likewise.
19710 * benchtests/bench-memcpy.c: Likewise.
19711 * benchtests/bench-memmem.c: Likewise.
19712 * benchtests/bench-memmove.c: Likewise.
19713 * benchtests/bench-memset.c: Likewise.
19714 * benchtests/bench-rawmemchr.c: Likewise.
19715 * benchtests/bench-strcasecmp.c: Likewise.
19716 * benchtests/bench-strcasestr.c: Likewise.
19717 * benchtests/bench-strcat.c: Likewise.
19718 * benchtests/bench-strchr.c: Likewise.
19719 * benchtests/bench-strcmp.c: Likewise.
19720 * benchtests/bench-strcpy.c: Likewise.
19721 * benchtests/bench-strcpy_chk.c: Likewise.
19722 * benchtests/bench-strlen.c: Likewise.
19723 * benchtests/bench-strncasecmp.c: Likewise.
19724 * benchtests/bench-strncat.c: Likewise.
19725 * benchtests/bench-strncmp.c: Likewise.
19726 * benchtests/bench-strncpy.c: Likewise.
19727 * benchtests/bench-strnlen.c: Likewise.
19728 * benchtests/bench-strpbrk.c: Likewise.
19729 * benchtests/bench-strrchr.c: Likewise.
19730 * benchtests/bench-strspn.c: Likewise.
19731 * benchtests/bench-strstr.c: Likewise.
19732
cae16d66
WN
197332013-09-04 Will Newton <will.newton@linaro.org>
19734
19735 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19736
ffa3cd7f
JM
197372013-09-03 Joseph Myers <joseph@codesourcery.com>
19738
19739 [BZ #15427]
19740 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19741 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19742 * math/libm-test.inc (lgamma_test_data): Add more tests.
19743 * sysdeps/i386/fpu/libm-test-ulps: Update.
19744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19745
8f02859f
OB
197462013-09-03 Ondřej Bílka <neleai@seznam.cz>
19747
19748 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19749 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19750 Add ifunc.
19751 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19752 Add strcmp-sse2-unaligned
19753 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19754
18d43716
MF
197552013-09-02 Mike Frysinger <vapier@gentoo.org>
19756
19757 * Versions.def (libc): Add GLIBC_2.19.
19758
ac444012
MF
197592013-09-02 Mike Frysinger <vapier@gentoo.org>
19760
19761 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19762 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19763
b7835e32
JM
197642013-09-02 Joseph Myers <joseph@codesourcery.com>
19765
19766 [BZ #14155]
19767 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19768 intermediate calculations in recurrence.
19769 (__ieee754_ynf): Likewise.
19770 * math/libm-test.inc (jn_test_data): Do not allow spurious
19771 underflow exception. Add more tests.
19772 (yn_test_data): Add more tests.
19773 * sysdeps/i386/fpu/libm-test-ulps: Update.
19774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19775
8220f4f0
OB
197762013-09-02 Ondřej Bílka <neleai@seznam.cz>
19777
19778 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19779
f24a6d08
OB
197802013-08-30 Ondřej Bílka <neleai@seznam.cz>
19781
19782 * csu/init-first.c: Fix then/than typos.
19783 * locale/programs/ld-collate.c: Likewise.
19784 * locale/programs/linereader.h: Likewise.
19785 * manual/charset.texi: Likewise.
19786 * manual/filesys.texi: Likewise.
19787 * manual/stdio.texi: Likewise.
19788 * manual/string.texi: Likewise.
19789 * stdlib/fmtmsg.c: Likewise.
19790 * sysdeps/i386/stpncpy.S: Likewise.
19791 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19792 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19793 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19794 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19795
382466e0
OB
197962013-08-30 Ondřej Bílka <neleai@seznam.cz>
19797
19798 * elf/dl-open.c: Fix typos.
19799 * iconvdata/gbbig5.c: Likewise.
19800 * iconvdata/iso-2022-jp.c: Likewise.
19801 * iconv/gconv_int.h: Likewise.
19802 * iconv/loop.c: Likewise.
19803 * nis/rpcsvc/nis.h: Likewise.
19804 * resolv/ns_name.c: Likewise.
19805 * stdio-common/vfscanf.c: Likewise.
19806 * streams/stropts.h: Likewise.
19807 * sunrpc/rpc_thread.c: Likewise.
19808 * sysdeps/i386/strpbrk.S: Likewise.
19809 * sysdeps/ieee754/k_standard.c: Likewise.
19810 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19811 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19812 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19813 * sysdeps/mach/hurd/profil.c: Likewise.
19814 * sysdeps/s390/dl-procinfo.h: Likewise.
19815 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19816 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19817 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19818 * sysdeps/x86_64/dl-trampoline.S: Likewise.
19819 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19820
0186c6e9
OB
198212013-08-30 Ondřej Bílka <neleai@seznam.cz>
19822
19823 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19824 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19825
d4e16af1
OB
198262013-08-29 Ondřej Bílka <neleai@seznam.cz>
19827
19828 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19829 aix specific files.
19830 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19831 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19832 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19833 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19834 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19835 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19836 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19837 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19838
88335980
TS
198392013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19840 Roland McGrath <roland@hack.frob.com>
19841
19842 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19843 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19844
ed479b02
ST
198452013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19846
19847 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19848 __executable_start symbol instead of _start.
19849
f1cc4c86
TS
198502013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19851
d821f07c
TS
19852 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19853 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19854 Move macros to...
19855 * sysdeps/gnu/ldsodefs.h: ... this new file.
19856
c54290cf
TS
19857 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19858 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19859 instead of ELFOSABI_LINUX.
19860
0007fc9b 19861 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
19862 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19863 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19864 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19865 Likewise.
19866 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19867 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19868 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19869 Likewise.
19870 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19871 (ibm_extended_long_double): Add ieee_nan member.
19872 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19873 (do_test): New function.
19874
f1cc4c86
TS
19875 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19876 TEST_TRUNC.
19877 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19878 functions, renamed from truncdfsf_test, trunctfsf_test,
19879 trunctfdf_test.
19880 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19881 functions.
19882 (do_test): Run all these.
19883
6f65e668
OB
198842013-08-29 Ondřej Bílka <neleai@seznam.cz>
19885
19886 * argp/argp-help.c: Fix typos.
19887 * argp/argp-parse.c: Likewise.
19888 * debug/backtracesyms.c: Likewise.
19889 * elf/elf.h: Likewise.
19890 * malloc/malloc.c: Likewise.
19891 * nis/nis_print.c: Likewise.
19892 * resolv/res_comp.c: Likewise.
19893 * stdlib/stdlib.h: Likewise.
19894 * sunrpc/clnt_tcp.c: Likewise.
19895 * sunrpc/clnt_udp.c: Likewise.
19896 * sunrpc/clnt_unix.c: Likewise.
19897 * sysdeps/unix/bsd/ptsname.c: Likewise.
19898 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19899 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
19900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19901 Likewise.
19902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19903 Likewise.
19904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19905 Likewise.
6f65e668
OB
19906 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19907
3a309239
SP
199082013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19909
19910 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19911 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19912
3b813b29
MF
199132013-08-27 Mike Frysinger <vapier@gentoo.org>
19914
19915 [BZ #15897]
19916 * dlfcn/Makefile (tests): Add bug-dl-leaf.
19917 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19918 ($(objpfx)bug-dl-leaf): New rule.
19919 ($(objpfx)bug-dl-leaf.so): Likewise.
19920 ($(objpfx)bug-dl-leaf.out): Likewise.
19921 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19922 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19923 * dlfcn/bug-dl-leaf.c: New test.
19924 * dlfcn/bug-dl-leaf-lib.c: Likewise.
19925 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19926 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19927 (dlclose): Likewise.
19928 (dlmopen): Likewise.
19929
8cc3269f
RM
199302013-08-27 Roland McGrath <roland@hack.frob.com>
19931
7f9d0034
RM
19932 * include/netdb.h [!_ISOMAC]:
19933 Don't include <tls.h>.
19934 (h_errno, __libc_h_errno): Move declaration and macros out of
19935 [_LIBC_REENTRANT].
19936
fb431262
RM
19937 * include/resolv.h [_RESOLV_H_]:
19938 Don't include <tls.h>.
19939 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19940 * resolv/res_libc.c: Don't include <tls.h>.
19941 (_res): Use __attribute__ ((nocommon)) in place of
19942 __attribute__ ((section (".bss"))).
19943
bd81123a
RM
19944 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19945 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19946
c4e42566
RM
19947 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
19948
f890a59b
RM
19949 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
19950 only under [SIOCGIFCONF && SIOCGIFNETMASK].
19951
19952 * resolv/res_mkquery.c: Include <sys/time.h>.
19953
5d1f0a09
RM
19954 * inet/ifreq.c: Moved to ...
19955 * sysdeps/unix/ifreq.c: ... here.
19956 * inet/ifreq.c: New file, true stub version.
19957
6fcf28b3
RM
19958 * socket/sa_len.c: New file.
19959 * socket/Makefile (aux): Add it.
19960 * sysdeps/unix/sysv/linux/Makefile
19961 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
19962 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19963 and #include <socket/sa_len.c>.
19964 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19965 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19966
e041fb8b
RM
19967 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19968 * bits/socket.h: ... here.
19969
8cc3269f
RM
19970 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19971 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19972 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19973
5d228a43
AS
199742013-08-27 Andreas Schwab <schwab@suse.de>
19975
45b8accc
AS
19976 [BZ #15736]
19977 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19978 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19979 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19980 * string/test-strcasecmp.c (test_main): Run tests in several
19981 locales.
19982 * string/test-strncasecmp.c (test_main): Likewise.
19983
5d228a43
AS
19984 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19985 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19986 to __strcasecmp_nonascii and __strncasecmp_nonascii.
19987 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19988 (__strncasecmp_ssse3) [PIC]: Likewise.
19989
59d112a4
RM
199902013-08-26 Roland McGrath <roland@hack.frob.com>
19991
53234cc3
RM
19992 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19993
59d112a4
RM
19994 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19995 instead of explicitly declaring xdecrypt.
19996 * nis/nss_nis/nis-publickey.c: Likewise.
19997
595aba70
SP
199982013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19999
20000 [BZ #15890]
20001 * nscd/aicache.c: Include res_hconf.h.
20002 (addhstaiX): Initialize res_hconf.
20003
ffabd393
AS
200042013-08-26 Andreas Schwab <schwab@suse.de>
20005
20006 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
20007 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
20008
e0a69f5c
SP
200092013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20010
20011 * nscd/aicache.c (addhstaiX): Fix indentation.
20012
8c12f01d
MF
200132013-08-25 Mike Frysinger <vapier@gentoo.org>
20014
20015 * configure.ac: Quote $build_pt_chown test.
20016 * configure: Regenerated.
20017
8fe89494
JM
200182013-08-23 Joseph Myers <joseph@codesourcery.com>
20019
20020 [BZ #15532]
20021 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
20022 * math/s_cexpf.c (__cexpf): Likewise.
20023 * math/s_cexpl.c (__cexpl): Likewise.
20024 * math/libm-test.inc (cexp_test_data): Correct expected return
20025 value for NaN + i0. Add another test.
20026
75b181d6
DM
200272013-08-22 David S. Miller <davem@davemloft.net>
20028
20029 * po/ca.po: Update Catalan translation from translation project.
936241e4 20030 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 20031
acd06bb1
JM
200322013-08-21 Joseph Myers <joseph@codesourcery.com>
20033
20034 [BZ #15797]
20035 * math/s_fdim.c (__fdim): Check for infinite arguments if result
20036 is infinite, not alongside NaN test.
20037 * math/s_fdimf.c (__fdimf): Likewise.
20038 * math/s_fdiml.c (__fdiml): Likewise.
20039 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
20040 errno is unchanged.
20041
c0c3f78a
OB
200422013-08-21 Ondřej Bílka <neleai@seznam.cz>
20043
20044 * argp/argp-help.c: Fix typos.
20045 * crypt/speeds.c: Likewise.
20046 * csu/check_fds.c: Likewise.
20047 * elf/dl-load.c: Likewise.
20048 * elf/dl-open.c: Likewise.
20049 * elf/reldep3.c: Likewise.
20050 * elf/reldep.c: Likewise.
20051 * elf/sprof.c: Likewise.
20052 * iconv/iconv_charmap.c: Likewise.
20053 * iconv/skeleton.c: Likewise.
20054 * iconv/strtab.c: Likewise.
20055 * io/lockf64.c: Likewise.
20056 * libio/libioP.h: Likewise.
20057 * resolv/gai_notify.c: Likewise.
20058 * resolv/ns_name.c: Likewise.
20059 * resolv/ns_samedomain.c: Likewise.
20060 * resolv/res_send.c: Likewise.
20061 * stdlib/random.c: Likewise.
20062 * sunrpc/rpc/xdr.h: Likewise.
20063 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
20064 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20065 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20066 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20067 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20068 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20069 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20070 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20071 * sysdeps/mach/hurd/check_fds.c: Likewise.
20072 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20073 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20074 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20075 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20076 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20077 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20078 * sysdeps/pthread/aio_notify.c: Likewise.
20079 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
20080 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
20081 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
20082 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20083 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20084
46ed1038
LD
200852013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20086
20087 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
20088 version if bit_Slow_SSE4_2 is set.
20089 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20090 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20091
d400dcac
AZ
200922013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20093
20094 [BZ #15867]
20095 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20096 trampoline stack frame information.
20097 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20098 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20099 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20100 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20101 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20102 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20103 (_libc_vdso_platform_setup): Initialize the signal trampolines.
20104 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20105 sa_flags value.
20106 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20107 interrupting a syscall and set with option SA_SIGINFO.
20108
42c8fdd8
JM
201092013-08-20 Joseph Myers <joseph@codesourcery.com>
20110
c980f2f4
JM
20111 [BZ #15531]
20112 * math/s_cproj.c (__cproj): Only return an infinity if one part of
20113 argument is infinite.
20114 * math/s_cprojf.c (__cprojf): Likewise.
20115 * math/s_cprojl.c (__cprojl): Likewise.
20116 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20117 * math/libm-test.inc (cproj_test_data): Add more tests.
20118
0716c4fc
JM
20119 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20120
42c8fdd8
JM
20121 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20122 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20123 size. Use __ffs to determine corresponding shift.
20124
b31469d0
JM
201252013-08-20 Joseph Myers <joseph@codesourcery.com>
20126 Roland McGrath <roland@hack.frob.com>
20127
20128 * Makefile (INSTALL): Remove trailing blank lines from output of
20129 makeinfo.
20130
4e39af6e
AK
201312013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20132
20133 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20134 Align 32 bit compat elf_greg to 8 bytes.
20135
f315524e
AA
201362013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
20137
20138 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20139
1326ba1a
SP
201402013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20141
20142 * string/strcoll_l.c (coll_seq): New structure.
20143 (get_next_seq_cached): New function.
20144 (get_next_seq): New function.
20145 (do_compare): New function.
20146 (STRCOLL): Use GNU style definition. Simplify implementation
20147 by using get_next_seq, get_next_seq_cached and do_compare.
20148
91ce4085
FW
201492013-08-16 Florian Weimer <fweimer@redhat.com>
20150
20151 [BZ #14699]
20152 CVE-2013-4237
20153 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20154 member.
20155 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20156 member.
20157 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20158 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20159 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
20160 conditional.
20161 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20162 GETDENTS_64BIT_ALIGNED.
20163 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20164 * manual/filesys.texi (Reading/Closing Directory): Document
20165 ENAMETOOLONG return value of readdir_r. Recommend readdir more
20166 strongly.
20167 * manual/conf.texi (Limits for Files): Add portability note to
20168 NAME_MAX, PATH_MAX.
20169 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20170
ca0a6bc4
AS
201712013-08-13 Andreas Schwab <schwab@suse.de>
20172
20173 [BZ #15749]
20174 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20175 of fabs.
20176 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20177 LDBL_MAX_EXP >= 16384]: Add tests for it.
20178
6c1fd795
DM
201792013-08-12 David S. Miller <davem@davemloft.net>
20180
20181 * version.h (RELEASE): Set to "development".
20182 (VERSION): Set to "2.18.90".
20183 * NEWS: Add 2.19 section.
20184
31ad488d
DM
201852013-08-03 David S. Miller <davem@davemloft.net>
20186
20187 * po/ko.po: Update Korean translation from translation project.
20188
db24e684
DM
201892013-08-01 David S. Miller <davem@davemloft.net>
20190
20191 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
20192 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20193 Bilka.
20194
f723285b
DM
201952013-07-30 David S. Miller <davem@davemloft.net>
20196
20197 * po/fr.po: Update French translation from translation project.
20198
3cbc52db
DM
201992013-07-28 David S. Miller <davem@davemloft.net>
20200
30bbc0cc
DM
20201 * po/cs.po: Update Czech translation from translation project.
20202
3cbc52db
DM
20203 * po/sv.po: Update Swedish translation from translation project.
20204
d492e6d0
DM
202052013-07-27 David S. Miller <davem@davemloft.net>
20206
f1a7f492
DM
20207 * po/eo.po: Update Esperanto translation from translation project.
20208
90e62a4a
DM
20209 * po/vi.po: Update Vietnamese translation from translation project.
20210
d492e6d0
DM
20211 * po/de.po: Update German translation from translation project.
20212
d4baa62d
DM
202132013-07-26 David S. Miller <davem@davemloft.net>
20214
641aa7b4
DM
20215 * po/bg.po: Update Bulgarian translation from translation project.
20216
d4baa62d
DM
20217 * po/nl.po: Update Dutch translation from translation project.
20218 * po/pl.po: Update Polish translation from translation project.
20219 * po/ru.po: Update Russian translation from translation project.
20220
61a9dcb9
DM
202212013-07-24 David S. Miller <davem@davemloft.net>
20222
20223 * po/libc.pot: Update.
20224
7b1f8b58
AZ
202252013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20226
20227 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20228 variable page size.
20229 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20230 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20231 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20232
a8fc7a03
AK
202332013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20234
20235 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20236
e4608715
CD
202372013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20238 Andreas Schwab <schwab@suse.de>
20239 Roland McGrath <roland@hack.frob.com>
20240 Joseph Myers <joseph@codesourcery.com>
20241 Carlos O'Donell <carlos@redhat.com>
20242
20243 [BZ #15755]
20244 * config.h.in: Define HAVE_PT_CHOWN.
20245 * config.make.in (build-pt-chown): New variable.
20246 * configure.in (--enable-pt_chown): New configure option.
20247 * configure: Regenerate.
20248 * login/Makefile: Include Makeconfig. Build pt_chown only if
20249 build-pt-chown is enabled.
20250 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20251 pt_chown to fix pty ownership.
20252 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20253 CLOSE_ALL_FDS.
20254 * manual/install.texi (Configuring and compiling): Mention
20255 --enable-pt_chown. Add @findex for grantpt.
20256 * INSTALL: Regenerate.
20257
da2d62df
DM
202582013-07-20 David S. Miller <davem@davemloft.net>
20259
20260 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20261 difference between 32-bit and 64-bit.
20262
d7e06450
CD
202632013-07-15 Carlos O'Donell <carlos@redhat.com>
20264
20265 [BZ #15711]
20266 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20267 Avoid system header dependency with -ffreestanding.
20268 ($(objpfx)bits/syscall%d): Likewise.
20269
f959cfd7
DM
202702013-07-13 David S. Miller <davem@davemloft.net>
20271
20272 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20273 underflows from atanl/atan2l due to bug 15319.
20274 (casinh_test_data): Likewise.
20275
c61f8513
DM
202762013-07-07 David S. Miller <davem@davemloft.net>
20277
20278 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20279
72c90ed0
JA
202802013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
20281
20282 * sysdeps/i386/fpu/libm-test-ulps: Update.
20283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20284
52dfbe13
SP
202852013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20286
20287 * configure.in (--enable-lock-elision): Fix message text.
20288 * INSTALL: Regenerate.
20289 * configure: Regenerate.
20290
3f169543
AZ
202912013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20292
20293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20294
521c6785
AJ
202952013-07-03 Andreas Jaeger <aj@suse.de>
20296
20297 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20298 define.
20299 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20300 (ptrace_peeksiginfo_args): Add.
20301 (__ptrace_peeksiginfo_flags): Add.
20302 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20303 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20304 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20305
d2cc15cb
AM
203062013-07-03 Allan McRae <allan@archlinux.org>
20307
20308 * sysdeps/i386/fpu/libm-test-ulps: Update.
20309
3aaeeca7
DM
203102013-07-02 David S. Miller <davem@davemloft.net>
20311
20312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20313
5314ed1a
MT
203142013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
20315
20316 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20317
67338156
JM
203182013-07-02 Joseph Myers <joseph@codesourcery.com>
20319
20320 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20322
1717da59
AK
203232013-07-02 Andi Kleen <ak@linux.intel.com>
20324
20325 * config.h.in (ENABLE_LOCK_ELISION): Add.
20326 * configure.in (--enable-lock-elision): Add option.
20327 * manual/install.texi: Document --enable lock elision.
20328 * configure: Regenerate
20329 * INSTALL: Regenerate.
20330
1c81621c
L
203312013-07-02 H.J. Lu <hongjiu.lu@intel.com>
20332
20333 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20334 SSE4.2 strcasecmp for libc.a.
20335 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20336
77f01ab5
JM
203372013-07-02 Joseph Myers <joseph@codesourcery.com>
20338
20339 [BZ #13304]
20340 * soft-fp/op-common.h (_FP_FMA): New macro.
20341 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20342 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
20343 (_FP_MUL_MEAT_1_imm): ... here.
20344 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
20345 (_FP_MUL_MEAT_1_wide): ... here.
20346 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
20347 (_FP_MUL_MEAT_1_hard): ... here.
20348 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20349 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
20350 (_FP_MUL_MEAT_2_wide): ... here.
20351 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
20352 (_FP_MUL_MEAT_2_wide_3mul): ... here.
20353 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
20354 (_FP_MUL_MEAT_2_gmp): ... here.
20355 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20356 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
20357 (_FP_MUL_MEAT_4_wide): ... here.
20358 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
20359 (_FP_MUL_MEAT_4_gmp): ... here.
20360 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20361 (_FP_WFRACBITS_DW_S): Likewise.
20362 (_FP_WFRACXBITS_DW_S): Likewise.
20363 (_FP_HIGHBIT_DW_S): Likewise.
20364 (FP_FMA_S): Likewise.
20365 (_FP_FRAC_HIGH_DW_S): Likewise.
20366 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20367 (_FP_WFRACBITS_DW_D): Likewise.
20368 (_FP_WFRACXBITS_DW_D): Likewise.
20369 (_FP_HIGHBIT_DW_D): Likewise.
20370 (FP_FMA_D): Likewise.
20371 (_FP_FRAC_HIGH_DW_D): Likewise.
20372 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20373 (_FP_WFRACBITS_DW_E): Likewise.
20374 (_FP_WFRACXBITS_DW_E): Likewise.
20375 (_FP_HIGHBIT_DW_E): Likewise.
20376 (FP_FMA_E): Likewise.
20377 (_FP_FRAC_HIGH_DW_E): Likewise.
20378 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20379 (_FP_WFRACBITS_DW_Q): Likewise.
20380 (_FP_WFRACXBITS_DW_Q): Likewise.
20381 (_FP_HIGHBIT_DW_Q): Likewise.
20382 (FP_FMA_Q): Likewise.
20383 (_FP_FRAC_HIGH_DW_Q): Likewise.
20384 * soft-fp/fmasf4.c: New file.
20385 * soft-fp/fmadf4.c: Likewise.
20386 * soft-fp/fmatf4.c: Likewise.
20387
6308fd9a
LD
203882013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20389
20390 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20391 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20392 Silvermont.
20393 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20394 macro.
20395 (index_Slow_SSE4_2): Likewise.
20396 (index_Prefer_PMINUB_for_stringop): Likewise.
20397 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20398 bit_Slow_SSE4_2 is set.
20399 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20400 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20401
89cd9569
RA
204022013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20403
20404 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20405 rtld_global._dl_hwcap2.
20406 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20407 POWER8.
20408 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20409 POWER8 feature descriptions defined in _dl_hwcap2.
20410 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20411 string handling for POWER8 feature bits.
20412 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20413 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20414 _dl_powerpc_cap_flags.
20415 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20416 * sysdeps/powerpc/rtld-global-offsets.sym
20417 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20418 _dl_hwcap2 in the rtld_global_ro structure.
20419
1ae8bfe0
RA
204202013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20421
20422 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20423 hardware capabilities in support of AT_HWCAP2.
20424 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20425 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20426 GLRO(dl_hwcap2).
20427 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20428 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20429 explicitly the unknown a_type display mechanism is used.
20430 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20431 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20432 struct member.
20433 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20434 to macro prototype for AT_HWCAP2 support.
20435 * sysdeps/i386/dl-procinfo.h: Likewise.
20436 * sysdeps/s390/dl-procinfo.h: Likewise.
20437 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20438 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20439 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20440 return -1 for unknown a_type display fallback.
20441 * sysdeps/sparc/dl-procinfo.h: Likewise.
20442 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20443 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20444
8fbec010
JM
204452013-06-28 Joseph Myers <joseph@codesourcery.com>
20446
20447 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20448 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20449
0432680e
PY
204502013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20451
20452 [BZ #12492]
20453 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20454 mprotect making __stack_prot writable.
20455
ce61a2ad
NF
204562013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20457 Joseph Myers <joseph@codesourcery.com>
20458
20459 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20460 as being properly aligned.
20461
f91f1c0f
MR
204622013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20463
3d0f5d0c
MR
20464 * dlfcn/modstatic5.c: New file.
20465 * dlfcn/tststatic5.c: New file.
20466 * dlfcn/Makefile (tests): Add tststatic5.
20467 (tests-static): Likewise.
20468 (modules-names): Add modstatic5.
20469 (tststatic5-ENV): New variable.
20470 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20471
f91f1c0f
MR
20472 [BZ #15022]
20473 * elf/dl-support.c (_dl_main_map): New variable.
20474 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20475 (_dl_nns, _dl_load_adds): Set to 1.
20476 (_dl_initial_searchlist): Refer to _dl_main_map.
20477 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20478 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20479 call to _dl_get_origin.
20480 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20481 around call_map.
20482 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20483 * dlfcn/modstatic3.c: New file.
20484 * dlfcn/tststatic3.c: New file.
20485 * dlfcn/tststatic4.c: New file.
20486 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20487 (tests-static): Likewise.
20488 (modules-names): Add modstatic3.
20489 (tststatic3-ENV, tststatic4-ENV): New variables.
20490 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20491 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20492
cbe7d24b
JM
204932013-06-26 Joseph Myers <joseph@codesourcery.com>
20494
20495 * configure.in (CC): Require GCC version 4.4 or later.
20496 * configure: Regenerated.
20497 * manual/install.texi (Tools for Compilation): Update GCC version
20498 requirement.
20499 * INSTALL: Regenerated.
20500
11b8a0e1
LD
205012013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20502
20503 [BZ #15674]
bb5bb87c
L
20504 * string/test-memcmp.c (check2): New.
20505 (main): Call check2.
20506
11b8a0e1
LD
20507 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20508
b0037103
MR
205092013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20510
20511 [BZ #15022]
20512 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20513 over to...
20514 (dl_open_worker) [!SHARED]: ... here.
20515
c18c701d
RA
205162013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20517
20518 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20519
1d17fa5f
RH
205202013-06-25 Richard Henderson <rth@redhat.com>
20521
20522 * locale/programs/locarchive.c: Include <libc-internal.h>
20523
8fcb833a
JM
205242013-06-25 Joseph Myers <joseph@codesourcery.com>
20525
20526 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20527 trailing whitespace removed.
20528
17db6e8d
MF
205292013-06-24 Mike Frysinger <vapier@gentoo.org>
20530
20531 [BZ #10283]
17db6e8d
MF
20532 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20533 * locale/programs/locarchive.c: Include libc-mmap.h.
20534 (prepare_address_space): Take two new outputs (the mmap base and len).
20535 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20536 values.
20537 (create_archive): Declare new mmap base and len values for
20538 prepare_address_space, and store the result in ah.
20539 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20540 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20541 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20542 Declare new mmap base and len values for
20543 prepare_address_space, and store the result in new_ah.
20544 (open_archive): Declare new mmap base and len values for
20545 prepare_address_space, and store the result in ah.
20546 (close_archive): If ah->mmap_base is not NULL, use that and
20547 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20548 * sysdeps/generic/libc-mmap.h: New file.
20549
d605071e
MF
205502013-06-24 Mike Frysinger <vapier@gentoo.org>
20551
20552 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20553 (ALIGN_UP): Likewise.
20554 (PTR_ALIGN_DOWN): Likewise.
20555 (PTR_ALIGN_UP): Likewise.
20556
2f063a6e
RA
205572013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20558
20559 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20560 entry mapped to PPC_PLATFORM_POWER8.
20561 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20562 POWER8.
20563 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20564 (_dl_string_platform): Add case for exporting platform position for
20565 POWER8.
20566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20567 search path to sysdeps/powerpc/powerpc32/power8 directory.
20568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20569 search path to sysdeps/powerpc/powerpc64/power8 directory.
20570 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20571 power7 directories.
20572 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20573 power7 directories.
20574
a31ee4b3
SP
205752013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20576
a74ca98f
SP
20577 * INSTALL: Regenerate.
20578
a31ee4b3
SP
20579 * nscd/connections.c (nscd_init): Fix comment.
20580
695c378f
JM
205812013-06-22 Joseph Myers <joseph@codesourcery.com>
20582
d8412221
JM
20583 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20584
695c378f
JM
20585 [BZ #15667]
20586 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20587 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20588
d1d54715
MR
205892013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20590
20591 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20592 DL_DST_REQ_STATIC.
20593 (DL_DST_REQ_STATIC): Remove macro.
20594
8fdda7af
JM
205952013-06-21 Joseph Myers <joseph@codesourcery.com>
20596
20597 [BZ #7006]
20598 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20599 with a shift of 0 bits.
20600
f3bc5e5a
MR
206012013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20602
20603 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20604 $(tststatic-ENV).
20605
be09e8c9
KK
206062013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20607
20608 [BZ #15655]
20609 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20610
85c2e611
AZ
206112013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20612
20613 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20614 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20615 accepts -fno-tree-loop-distribute-patterns.
20616 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20617 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20618 recursive call.
20619 * string/memset.c (memset): Likewise.
20620 * string/test-memmove.c (simple_memmove): Disable loop transformation
20621 to library calls.
20622 * string/test-memset.c (simple_memset): Likewise.
20623 * benchtests/bench-memmove.c (simple_memmove): Likewise.
20624 * benchtests/bench-memset.c (simple_memset): Likewise.
20625 * configure: Regenerated.
20626
c91e0825
JM
206272013-06-20 Joseph Myers <joseph@codesourcery.com>
20628
b8c792af
JM
20629 * math/test-misc.c (main): Ignore fesetround failure when failures
20630 of subsequent rounding tests would be ignored.
20631
c91e0825
JM
20632 [BZ #15654]
20633 * math/fedisblxcpt.c (fedisableexcept): Return 0.
20634 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20635 * math/fegetenv.c (__fegetenv): Return 0.
20636 * math/fegetexcept.c (fegetexcept): Return 0.
20637 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20638 FE_TONEAREST.
20639 * math/feholdexcpt.c (feholdexcept): Return 0.
20640 * math/fesetenv.c (__fesetenv): Return 0.
20641 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20642 argument FE_TONEAREST.
20643 * math/feupdateenv.c (__feupdateenv): Return 0.
20644 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20645
bfcacbde
RM
206462013-06-18 Roland McGrath <roland@hack.frob.com>
20647
20648 * elf/rtld-Rules (rtld-compile-command.S): New variable.
20649 (rtld-compile-command.s, rtld-compile-command.c): New variables.
20650 ($(objpfx)rtld-%.os rules): Use them.
20651
e55a9b25
AZ
206522013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20653
20654 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20655 fields.
20656
346d65b3
RM
206572013-06-17 Roland McGrath <roland@hack.frob.com>
20658
12086fb4
RM
20659 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20660 length of target pattern, then descending length of dependency pattern.
20661 * configure.in (AWK): Require gawk 3.1.2 or newer.
20662 * manual/install.texi (Tools for Compilation): Say that we do.
20663 * configure: Regenerated.
20664
346d65b3
RM
20665 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20666 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20667 * scripts/sysd-rules.awk: ... this new script.
20668 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20669 than a glob-style pattern.
20670
1a846317
JM
206712013-06-17 Joseph Myers <joseph@codesourcery.com>
20672
20673 * math/test-misc.c (main): Do not treat incorrectly rounded
20674 conversions as failure unless ROUNDING_TESTS passes.
20675
8fc75e6f
JM
206762013-06-15 Joseph Myers <joseph@codesourcery.com>
20677
3711a167
JM
20678 [BZ #15631]
20679 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20680 restore exception state around main square root computation, then
20681 check for inexactness explicitly.
20682
8fc75e6f
JM
20683 * math/libm-test.inc (fma_test_data): Add another test.
20684
61dd6208
SP
206852013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20686
adf23d2c
SP
20687 * manual/threads.texi (Non-POSIX Extensions): New document
20688 node. Document pthread_getattr_default_np and
20689 pthread_setattr_default_np.
20690
61dd6208
SP
20691 * Versions.def (libpthread): Add GLIBC_2.18.
20692 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20694 Likewise.
20695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20696 Likewise.
20697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20698 Likewise.
20699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20700 Likewise.
20701 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20702 Likewise.
20703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20704 Likewise.
20705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20706 Likewise.
20707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20708 Likewise.
20709 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20710 Likewise.
20711
d086fc7b
LD
207122013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20713
20714 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20715 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20716
747ef469
SP
207172013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20718 H.J. Lu <hjl.tools@gmail.com>
20719
20720 [BZ #15627]
20721 * sysdeps/x86_64/rtld-memset.c: Remove file.
20722 * sysdeps/x86_64/rtld-memset.S: New file.
20723
1b2feed2
JM
207242013-06-14 Joseph Myers <joseph@codesourcery.com>
20725
20726 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20727 (test_in_one_mode): Take arguments for whether the rounding mode
20728 is supported for each floating-point type.
20729 (do_test): Pass new arguments to test_in_one_mode using
20730 ROUNDING_TESTS.
20731
a58ad3f8
RM
207322013-06-13 Roland McGrath <roland@hack.frob.com>
20733
20734 * posix/tst-waitid.c (do_test): Distinguish different instances of
20735 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
20736 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20737 before entering the kernel for waitpid.
20738
c204ab28
SP
207392013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20740
20741 * NEWS: Fix note on clock function precision. Text by Roland
20742 McGrath.
20743
f4a29fba
RM
207442013-06-13 Roland McGrath <roland@hack.frob.com>
20745
20746 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20747 it into place only when and if the sanity check passes.
20748
1f24b9ad
JM
207492013-06-13 Joseph Myers <joseph@codesourcery.com>
20750
20751 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20752 output for whether conversion result is exact. Take argument
20753 indicating whether type is IBM long double.
20754 (round_for_all): Change need_exact field to ibm_ld.
20755 * stdlib/tst-strtod-round.c (struct exactness): New type.
20756 (struct test): Change bool ld_ok field to struct exactness exact.
20757 (TEST): Update all definitions for change to field.
20758 (tests): Regenerate array contents.
20759 (test_in_one_mode): Take pointer to new field instead of old ld_ok
20760 field value. Check for IBM long double here.
20761 (do_test): Update calls to test_in_one_mode.
20762
58206c68
SP
207632013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20764
20765 [BZ #12515]
20766 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20767 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20768
2d6f4c5b 207692013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
20770
20771 [BZ #15605]
20772 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20773 generated by the compiler on loop optimizations.
20774 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20775 general definitions.
20776
94f2c076
JM
207772013-06-12 Joseph Myers <joseph@codesourcery.com>
20778
20779 * math/bug-nextafter.c: Include <math-tests.h>.
20780 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20781 the relevant type.
20782 * math/bug-nexttoward.c: Include <math-tests.h>.
20783 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20784 the relevant type.
20785 * math/test-misc.c: Include <math-tests.h>.
20786 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20787 the relevant type.
20788
e0e50a0a
AJ
207892013-06-12 Andreas Jaeger <aj@suse.de>
20790
20791 * po/ia.po: Update Interlingua translation from translation
20792 project.
20793
25061094
SP
207942013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20795
20796 * include/fenv.h: Include stdbool.h.
20797 (struct rm_ctx): New structure.
20798 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20799 Define macro.
20800 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20801 (SET_RESTORE_ROUNDF): Likewise.
20802 (SET_RESTORE_ROUNDL): Likewise.
20803 (SET_RESTORE_ROUND_NOEX): Likewise.
20804 (SET_RESTORE_ROUND_NOEXF): Likewise.
20805 (SET_RESTORE_ROUND_NOEXL): Likewise.
20806 (SET_RESTORE_ROUND_53BIT): Likewise.
20807 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20808 (libc_feresetround_noexf_ctx): Likewise.
20809 (libc_feresetround_noexl_ctx): Likewise.
20810 (libc_feholdsetround_53bit_ctx): Likewise.
20811 (libc_feresetround_53bit_ctx): Likewise.
20812 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20813 (libc_feholdexcept_setround_sse_ctx): New function.
20814 (libc_fesetenv_sse_ctx): Likewise.
20815 (libc_feupdateenv_sse_ctx): Likewise.
20816 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20817 (libc_feholdexcept_setround_387_ctx): Likewise.
20818 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20819 (libc_feholdsetround_387_prec_ctx): Likewise.
20820 (libc_feholdsetround_387_ctx): Likewise.
20821 (libc_feholdsetround_387_53bit_ctx): Likewise.
20822 (libc_feholdsetround_sse_ctx): Likewise.
20823 (libc_feresetround_sse_ctx): Likewise.
20824 (libc_feresetround_387_ctx): Likewise.
20825 (libc_feupdateenv_387_ctx): Likewise.
20826 (libc_feholdexcept_setroundf_ctx): Define macro.
20827 (libc_fesetenvf_ctx): Likewise.
20828 (libc_feupdateenvf_ctx): Likewise.
20829 (libc_feholdsetroundf_ctx): Likewise.
20830 (libc_feresetroundf_ctx): Likewise.
20831 (libc_feholdexcept_setround_ctx): Likewise.
20832 (libc_fesetenv_ctx): Likewise.
20833 (libc_feupdateenv_ctx): Likewise.
20834 (libc_feholdsetround_ctx): Likewise.
20835 (libc_feresetround_ctx): Likewise.
20836 (libc_feholdexcept_setroundl_ctx): Likewise.
20837 (libc_feupdateenvl_ctx): Likewise.
20838 (libc_feholdsetroundl_ctx): Likewise.
20839 (libc_feresetroundl_ctx): Likewise.
20840 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20841 (libc_feresetround_53bit_ctx): Likewise.
20842
59b30555
SP
208432013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20844
20845 * locale/iso-639.def: Convert to UTF-8.
20846
f1d73d30
JM
208472013-06-11 Joseph Myers <joseph@codesourcery.com>
20848
20849 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20850 (EXCEPTION_TESTS_double): Likewise.
20851 (EXCEPTION_TESTS_long_double): Likewise.
20852 (EXCEPTION_TESTS): Likewise.
20853 * math/libm-test.inc (test_exceptions): Only test exceptions if
20854 EXCEPTION_TESTS (FLOAT).
20855
94aca5e7
SP
208562013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20857
20858 * benchtests/Makefile (string-bench): Add strcpy_chk and
20859 stpcpy_chk.
20860 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20861 * benchtests/bench-stpcpy_chk.c: New file.
20862 * benchtests/bench-strcpy_chk-ifunc.c: New file.
20863 * benchtests/bench-strcpy_chk.c: New file.
20864 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20865 code.
20866 (do_test): Likewise.
20867
fac0c5f2
RA
208682013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20869
20870 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20871 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20872 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20873 with tabs where appropriate.
20874 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20875 dl-procinfo.h.
20876 [PPC_PLATFORM_PPC440]: Likewise.
20877 [PPC_PLATFORM_PPC464]: Likewise.
20878 [PPC_PLATFORM_PPC476]: Likewise.
20879 (_dl_string_platform): Add support for detecting ppc405, ppc440,
20880 ppc464, and ppc476 platform strings merging from ports/
20881 dl-procinfo.h.
20882
f22bc486
AS
208832013-06-11 Andreas Schwab <schwab@suse.de>
20884
20885 [BZ #14991]
20886 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20887 (from_ucs4_idx): Regenerate.
20888 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20889 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20890 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20891 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20892 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20893 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20894 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20895 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20896 from FROM_LOOP and TO_LOOP specific macros.
20897 (BODY): Handle combining characters.
20898 * iconvdata/BIG5HKSCS.irreversible: Update.
20899 * iconvdata/BIG5HKSCS.precomposed: New file.
20900 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20901 characters.
20902 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20903
c1f75dc3
SP
209042013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20905
4eacded2
SP
20906 * include/sys/time.h: Fix indentation and add copyright header.
20907
fec799f8
SP
20908 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20909 (do_test): Likewise.
20910 * string/test-memchr.c (do_one_test): Likewise.
20911 (do_test): Likewise.
20912 * string/test-memcmp.c (do_one_test): Likewise.
20913 (do_test): Likewise.
20914 * string/test-memcpy.c (do_one_test): Likewise.
20915 (do_test): Likewise.
20916 * string/test-memmem.c (do_one_test): Likewise.
20917 (do_test): Likewise.
20918 (do_random_tests): Likewise.
20919 * string/test-memmove.c (do_one_test): Likewise.
20920 (do_test): Likewise.
20921 * string/test-memset.c (do_one_test): Likewise.
20922 (do_test): Likewise.
20923 * string/test-rawmemchr.c (do_one_test): Likewise.
20924 (do_test): Likewise.
20925 * string/test-strcasecmp.c (do_one_test): Likewise.
20926 (do_test): Likewise.
20927 * string/test-strcasestr.c (do_one_test): Likewise.
20928 (do_test): Likewise.
20929 * string/test-strcat.c (do_one_test): Likewise.
20930 (do_test): Likewise.
20931 * string/test-strchr.c (do_one_test): Likewise.
20932 (do_test): Likewise.
20933 * string/test-strcmp.c (do_one_test): Likewise.
20934 (do_test): Likewise.
20935 * string/test-strcpy.c (do_one_test): Likewise.
20936 (do_test): Likewise.
20937 * string/test-string.h: Likewise.
20938 (test_init): Likewise.
20939 * string/test-strlen.c (do_one_test): Likewise.
20940 (do_test): Likewise.
20941 * string/test-strncasecmp.c (do_one_test): Likewise.
20942 (do_test): Likewise.
20943 * string/test-strncat.c (do_one_test): Likewise.
20944 (do_test): Likewise.
20945 * string/test-strncmp.c (do_one_test): Likewise.
20946 (do_test_limit): Likewise.
20947 (do_test): Likewise.
20948 * string/test-strncpy.c (do_one_test): Likewise.
20949 (do_test): Likewise.
20950 * string/test-strnlen.c (do_one_test): Likewise.
20951 (do_test): Likewise.
20952 * string/test-strpbrk.c (do_one_test): Likewise.
20953 (do_test): Likewise.
20954 * string/test-strrchr.c (do_one_test): Likewise.
20955 (do_test): Likewise.
20956 * string/test-strspn.c (do_one_test): Likewise.
20957 (do_test): Likewise.
20958 * string/test-strstr.c (do_one_test): Likewise.
20959 (do_test): Likewise.
20960
97020474
SP
20961 * benchtests/Makefile (string-bench): Add string benchmarks.
20962 * benchtests/bench-bcopy-ifunc.c: New file.
20963 * benchtests/bench-bcopy.c: New file.
20964 * benchtests/bench-bzero-ifunc.c: New file.
20965 * benchtests/bench-bzero.c: New file.
20966 * benchtests/bench-memccpy-ifunc.c: New file.
20967 * benchtests/bench-memccpy.c: New file.
20968 * benchtests/bench-memchr-ifunc.c: New file.
20969 * benchtests/bench-memchr.c: New file.
20970 * benchtests/bench-memcmp-ifunc.c: New file.
20971 * benchtests/bench-memcmp.c: New file.
20972 * benchtests/bench-memmem-ifunc.c: New file.
20973 * benchtests/bench-memmem.c: New file.
20974 * benchtests/bench-memmove-ifunc.c: New file.
20975 * benchtests/bench-memmove.c: New file.
20976 * benchtests/bench-mempcpy-ifunc.c: New file.
20977 * benchtests/bench-mempcpy.c: New file.
20978 * benchtests/bench-memset-ifunc.c: New file.
20979 * benchtests/bench-memset.c: New file.
20980 * benchtests/bench-rawmemchr-ifunc.c: New file.
20981 * benchtests/bench-rawmemchr.c: New file.
20982 * benchtests/bench-stpcpy-ifunc.c: New file.
20983 * benchtests/bench-stpcpy.c: New file.
20984 * benchtests/bench-stpncpy-ifunc.c: New file.
20985 * benchtests/bench-stpncpy.c: New file.
20986 * benchtests/bench-strcasecmp-ifunc.c: New file.
20987 * benchtests/bench-strcasecmp.c: New file.
20988 * benchtests/bench-strcasestr-ifunc.c: New file.
20989 * benchtests/bench-strcasestr.c: New file.
20990 * benchtests/bench-strcat-ifunc.c: New file.
20991 * benchtests/bench-strcat.c: New file.
20992 * benchtests/bench-strchr-ifunc.c: New file.
20993 * benchtests/bench-strchr.c: New file.
20994 * benchtests/bench-strchrnul-ifunc.c: New file.
20995 * benchtests/bench-strchrnul.c: New file.
20996 * benchtests/bench-strcmp-ifunc.c: New file.
20997 * benchtests/bench-strcmp.c: New file.
20998 * benchtests/bench-strcpy-ifunc.c: New file.
20999 * benchtests/bench-strcpy.c: New file.
21000 * benchtests/bench-strcspn-ifunc.c: New file.
21001 * benchtests/bench-strcspn.c: New file.
21002 * benchtests/bench-strlen-ifunc.c: New file.
21003 * benchtests/bench-strlen.c: New file.
21004 * benchtests/bench-strncasecmp-ifunc.c: New file.
21005 * benchtests/bench-strncasecmp.c: New file.
21006 * benchtests/bench-strncat-ifunc.c: New file.
21007 * benchtests/bench-strncat.c: New file.
21008 * benchtests/bench-strncmp-ifunc.c: New file.
21009 * benchtests/bench-strncmp.c: New file.
21010 * benchtests/bench-strncpy-ifunc.c: New file.
21011 * benchtests/bench-strncpy.c: New file.
21012 * benchtests/bench-strnlen-ifunc.c: New file.
21013 * benchtests/bench-strnlen.c: New file.
21014 * benchtests/bench-strpbrk-ifunc.c: New file.
21015 * benchtests/bench-strpbrk.c: New file.
21016 * benchtests/bench-strrchr-ifunc.c: New file.
21017 * benchtests/bench-strrchr.c: New file.
21018 * benchtests/bench-strspn-ifunc.c: New file.
21019 * benchtests/bench-strspn.c: New file.
21020 * benchtests/bench-strstr-ifunc.c: New file.
21021 * benchtests/bench-strstr.c: New file.
21022
c1f75dc3
SP
21023 * benchtests/Makefile: Disable parallel execution of targets.
21024 (string-bench): Add memcpy.
21025 (benchset): New variable to store a list of benchmark sets.
21026 (bench-func): Renamed from bench.
21027 (bench-set): New target.
21028 (bench): Depend on bench-func and bench-set.
21029 * benchtests/README: Add section on benchmark sets.
21030 * benchtests/bench-memcpy-ifunc.c: New file.
21031 * benchtests/bench-memcpy.c: New file.
21032 * benchtests/bench-string.h: New file.
21033
50fd745b
AS
210342013-06-11 Andreas Schwab <schwab@suse.de>
21035
21036 [BZ #15577]
21037 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
21038 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
21039 values in the triple.
21040 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
21041 terminator in the group key.
21042
3ee7e9fe
AJ
210432013-06-11 Andreas Jaeger <aj@suse.de>
21044
21045 * po/zh_TW.po: Update Chinese (traditional) translation from
21046 translation project.
21047
89fb6835
SP
210482013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21049
21050 * include/time.h (__clock_gettime): Add libc_hidden_proto.
21051 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
21052 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
21053 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21054 (clock_getcpuclockid): Likewise.
21055 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
21056 Add weak_alias and libc_hidden_def.
21057 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
21058 * rt/clock_gettime.c (clock_gettime): Rename to
21059 __clock_gettime. Add weak_alias and libc_hidden_def.
21060 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
21061 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
21062 __clock_nanosleep. Add weak_alias and libc_hidden_def.
21063 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
21064 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
21065 Likewise.
21066 * rt/clock_settime.c (clock_settime): Rename to
21067 __clock_settime. Add weak_alias and libc_hidden_def.
21068 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
21069
0efa6f8b
JM
210702013-06-10 Joseph Myers <joseph@codesourcery.com>
21071
b8c61b4b
JM
21072 * mach/err_boot.sub: Remove trailing whitespace.
21073 * mach/err_ipc.sub: Likewise.
21074 * mach/err_mach.sub: Likewise.
21075
0efa6f8b
JM
21076 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
21077 (ROUNDING_TESTS_double): Likewise.
21078 (ROUNDING_TESTS_long_double): Likewise.
21079 (ROUNDING_TESTS): Likewise.
21080 * math/libm-test.inc: Include <math-tests.h>.
21081 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
21082 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21083 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21084 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21085
50b818bf
SP
210862013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21087
21088 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
21089 of assigning.
21090
60d2f8f3
JM
210912013-06-08 Joseph Myers <joseph@codesourcery.com>
21092
4902d2c3
JM
21093 * sysdeps/gnu/errlist.awk: Do not generate space at end of
21094 otherwise empty TRANS lines.
21095 * sysdeps/gnu/errlist.c: Regenerated.
21096
60d2f8f3
JM
21097 * catgets/gencat.c (error_print): Use (void) in function
21098 definition.
21099 * crypt/crypt_util.c (__init_des): Likewise.
21100 * crypt/speeds.c (Stop): Likewise.
21101 (main): Likewise.
21102 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21103 * inet/ruserpass.c (token): Likewise.
21104 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21105 * intl/localealias.c (extend_alias_table): Likewise.
21106 * intl/plural-exp.c (init_germanic_plural): Likewise.
21107 * libio/fcloseall.c (__fcloseall): Likewise.
21108 * libio/genops.c (_IO_flush_all): Likewise.
21109 (_IO_flush_all_linebuffered): Likewise.
21110 (_IO_cleanup): Likewise.
21111 (_IO_iter_begin): Likewise.
21112 (_IO_iter_end): Likewise.
21113 (_IO_list_lock): Likewise.
21114 (_IO_list_unlock): Likewise.
21115 (_IO_list_resetlock): Likewise.
21116 * libio/getchar.c (getchar): Likewise.
21117 * libio/getchar_u.c (getchar_unlocked): Likewise.
21118 * libio/getwchar.c (getwchar): Likewise.
21119 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21120 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21121 * login/getpt.c (__getpt): Likewise.
21122 * login/tst-utmp.c (main): Likewise.
21123 * malloc/hooks.c (__malloc_check_init): Likewise.
21124 * malloc/malloc.c (__malloc_stats): Likewise.
21125 * malloc/mtrace.c (tr_break): Likewise.
21126 (mtrace): Likewise.
21127 (muntrace): Likewise.
21128 * misc/fstab.c (endfsent): Likewise.
21129 * misc/getclktck.c (__getclktck): Likewise.
21130 * misc/getdtsz.c (__getdtablesize): Likewise.
21131 * misc/gethostid.c (gethostid): Likewise.
21132 * misc/getpagesize.c (__getpagesize): Likewise.
21133 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21134 (__get_nprocs): Likewise.
21135 (__get_phys_pages): Likewise.
21136 (__get_avphys_pages): Likewise.
21137 * misc/getttyent.c (getttyent): Likewise.
21138 (setttyent): Likewise.
21139 (endttyent): Likewise.
21140 * misc/getusershell.c (getusershell): Likewise.
21141 (endusershell): Likewise.
21142 (setusershell): Likewise.
21143 (initshells): Likewise.
21144 * misc/hsearch.c (__hdestroy): Likewise.
21145 * misc/sync.c (sync): Likewise.
21146 * misc/syslog.c (closelog_internal): Likewise.
21147 (closelog): Likewise.
21148 * misc/ttyslot.c (ttyslot): Likewise.
21149 * misc/vhangup.c (vhangup): Likewise.
21150 * posix/fork.c (__fork): Likewise.
21151 * posix/getegid.c (__getegid): Likewise.
21152 * posix/geteuid.c (__geteuid): Likewise.
21153 * posix/getgid.c (__getgid): Likewise.
21154 * posix/getpid.c (__getpid): Likewise.
21155 * posix/getppid.c (__getppid): Likewise.
21156 * posix/getuid.c (__getuid): Likewise.
21157 * posix/pause.c (pause): Likewise.
21158 * posix/setpgrp.c (setpgrp): Likewise.
21159 * posix/setsid.c (__setsid): Likewise.
21160 * posix/test-vfork.c (noop): Likewise.
21161 * resolv/gethnamaddr.c (_endhtent): Likewise.
21162 (_gethtent): Likewise.
21163 (ht_endhostent): Likewise.
21164 (gethostent): Likewise.
21165 (dns_service): Likewise.
21166 * stdlib/drand48.c (drand48): Likewise.
21167 * stdlib/lrand48.c (lrand48): Likewise.
21168 * stdlib/mrand48.c (mrand48): Likewise.
21169 * stdlib/rand.c (rand): Likewise.
21170 * stdlib/random.c (__random): Likewise.
21171 * stdlib/setenv.c (clearenv): Likewise.
21172 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21173 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21174 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21175 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21176 (__get_nprocs): Likewise.
21177 (__get_phys_pages): Likewise.
21178 (__get_avphys_pages): Likewise.
21179 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21180 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21181 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21182 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21183 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21184 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21185 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21186 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21187 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21188 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21189 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21190 * sysdeps/mach/hurd/sync.c (sync): Likewise.
21191 * sysdeps/posix/clock.c (clock): Likewise.
21192 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21193 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21194 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21195 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21196 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21197 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21198 (__get_nprocs_conf): Likewise.
21199 (__get_phys_pages): Likewise.
21200 (__get_avphys_pages): Likewise.
21201 * time/clock.c (clock): Likewise.
21202 * time/tzset.c (__tzname_max): Likewise.
21203
2e09a79a
JM
212042013-06-07 Joseph Myers <joseph@codesourcery.com>
21205
21206 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21207 (__bswap_32): Do not use "register".
21208 * crypt/crypt.c (_ufc_doit_r): Likewise.
21209 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21210 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21211 * gmon/gmon.c (__monstartup): Likewise.
21212 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21213 * hurd/hurdmalloc.c (more_memory): Likewise.
21214 (malloc): Likewise.
21215 (free): Likewise.
21216 (realloc): Likewise.
21217 (malloc_fork_prepare): Likewise.
21218 (malloc_fork_parent): Likewise.
21219 (malloc_fork_child): Likewise.
21220 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21221 (_svcauth_des): Likewise.
21222 * inet/inet_lnaof.c (inet_lnaof): Likewise.
21223 * inet/inet_net.c (inet_network): Likewise.
21224 * inet/inet_netof.c (inet_netof): Likewise.
21225 * inet/rcmd.c (__validuser2_sa): Likewise.
21226 * io/fts.c (fts_open): Likewise.
21227 (fts_load): Likewise.
21228 (fts_close): Likewise.
21229 (fts_read): Likewise.
21230 (fts_children): Likewise.
21231 (fts_build): Likewise.
21232 (fts_stat): Likewise.
21233 (fts_sort): Likewise.
21234 (fts_alloc): Likewise.
21235 (fts_lfree): Likewise.
21236 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21237 (_IO_file_xsgetn): Likewise.
21238 (_IO_file_xsgetn_mmap): Likewise.
21239 * libio/iofopncook.c (_IO_cookie_read): Likewise.
21240 (_IO_cookie_write): Likewise.
21241 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21242 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21243 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21244 * malloc/obstack.c (_obstack_begin): Likewise.
21245 (_obstack_begin_1): Likewise.
21246 (_obstack_newchunk): Likewise.
21247 (_obstack_allocated_p): Likewise.
21248 (obstack_free): Likewise.
21249 (_obstack_memory_used): Likewise.
21250 * misc/getttyent.c (getttynam): Likewise.
21251 (getttyent): Likewise.
21252 (skip): Likewise.
21253 (value): Likewise.
21254 * misc/getusershell.c (initshells): Likewise.
21255 * misc/syslog.c (__vsyslog_chk): Likewise.
21256 * misc/ttyslot.c (ttyslot): Likewise.
21257 * nis/nis_hash.c (__nis_hash): Likewise.
21258 * posix/fnmatch_loop.c (FCT): Likewise.
21259 * posix/getconf.c (print_all): Likewise.
21260 (main): Likewise.
21261 * posix/getopt.c (exchange): Likewise.
21262 * posix/glob.c (globfree): Likewise.
21263 (prefix_array): Likewise.
21264 (__glob_pattern_type): Likewise.
21265 * resolv/arpa/nameser.h (NS_GET16): Likewise.
21266 (NS_GET32): Likewise.
21267 (NS_PUT16): Likewise.
21268 (NS_PUT32): Likewise.
21269 * resolv/gethnamaddr.c (getanswer): Likewise.
21270 (gethostbyname2): Likewise.
21271 (gethostbyaddr): Likewise.
21272 (_gethtent): Likewise.
21273 (_gethtbyname2): Likewise.
21274 (_gethtbyaddr): Likewise.
21275 * resolv/ns_print.c (dst_s_get_int16): Likewise.
21276 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21277 * resolv/res_init.c (__res_vinit): Likewise.
21278 (net_mask): Likewise.
21279 * resolv/res_mkquery.c (outchar): Likewise.
21280 (PRINT): Likewise.
21281 * stdio-common/printf_fp.c (outchar): Likewise.
21282 (PRINT): Likewise.
21283 * stdio-common/printf_fphex.c (outchar): Likewise.
21284 (PRINT): Likewise.
21285 * stdio-common/printf_size.c (outchar): Likewise.
21286 (PRINT): Likewise.
21287 * stdio-common/test_rdwr.c (main): Likewise.
21288 * stdio-common/tfformat.c (matches): Likewise.
21289 * stdio-common/vfprintf.c (outchar): Likewise.
21290 (printf_unknown): Likewise.
21291 (buffered_vfprintf): Likewise.
21292 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21293 * stdio-common/xbug.c (AppendToBuffer): Likewise.
21294 (ReadFile): Likewise.
21295 * stdlib/qsort.c (SWAP): Likewise.
21296 (_quicksort): Likewise.
21297 * stdlib/setenv.c (__add_to_environ): Likewise.
21298 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21299 * stdlib/strtol_l.c (__strtol_l): Likewise.
21300 * stdlib/tst-strtod.c (main): Likewise.
21301 * stdlib/tst-strtol.c (main): Likewise.
21302 * stdlib/tst-strtoll.c (main): Likewise.
21303 * string/bits/string2.h (__strcmp_cc): Likewise.
21304 (__strcmp_cg): Likewise.
21305 (__strcspn_c1): Likewise.
21306 (__strcspn_c2): Likewise.
21307 (__strcspn_c3): Likewise.
21308 (__strspn_c1): Likewise.
21309 (__strspn_c2): Likewise.
21310 (__strspn_c3): Likewise.
21311 (__strsep_1c): Likewise.
21312 (__strsep_2c): Likewise.
21313 (__strsep_3c): Likewise.
21314 * string/memccpy.c (__memccpy): Likewise.
21315 * string/stpcpy.c (__stpcpy): Likewise.
21316 * string/strcmp.c (strcmp): Likewise.
21317 * string/strrchr.c (strrchr): Likewise.
21318 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21319 Likewise.
21320 * sysdeps/mach/hurd/getcwd.c
21321 (_hurd_canonicalize_directory_name_internal): Likewise.
21322 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21323 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21324 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21325 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21326 Likewise, in both definitions.
21327 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21328 definitions.
21329 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21330 64] (__bswap_64): Likewise.
21331 * time/test_time.c (main): Likewise.
21332 * time/tzfile.c (__tzfile_read): Likewise.
21333 (__tzfile_compute): Likewise.
21334 * time/tzset.c (__tzset_parse_tz): Likewise.
21335 (tzset_internal): Likewise.
21336 (compute_change): Likewise.
21337 * wcsmbs/wcscat.c (__wcscat): Likewise.
21338 * wcsmbs/wcschr.c (wcschr): Likewise.
21339 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21340 * wcsmbs/wcscspn.c (wcscspn): Likewise.
21341 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21342 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21343 * wcsmbs/wcsspn.c (wcsspn): Likewise.
21344 * wcsmbs/wcsstr.c (wcsstr): Likewise.
21345 * wcsmbs/wmemchr.c (wmemchr): Likewise.
21346 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21347 * wcsmbs/wmemset.c (wmemset): Likewise.
21348
9e54314b
JM
213492013-06-06 Joseph Myers <joseph@codesourcery.com>
21350
21351 * scripts/config.guess: Update to version 2013-05-16.
21352 * scripts/config.sub: Update to version 2013-04-24.
21353 * scripts/install-sh: Update to version 2011-11-20.07.
21354 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21355 * scripts/move-if-change: Update to version 2012-01-06 07:23.
21356
350635a5
OB
213572013-06-06 Ondřej Bílka <neleai@seznam.cz>
21358
21359 * debug/fgetws_u_chk.c: Fix leading whitespaces.
21360 * elf/sln.c: Likewise.
21361 * hurd/hurd/ioctl.h: Likewise.
21362 * hurd/hurdmalloc.c: Likewise.
21363 * hurd/xattr.c: Likewise.
21364 * include/shlib-compat.h: Likewise.
21365 * inet/ruserpass.c: Likewise.
21366 * libio/iofgets_u.c: Likewise.
21367 * libio/iofgetws_u.c: Likewise.
21368 * locale/programs/ld-identification.c: Likewise.
21369 * locale/programs/ld-time.c: Likewise.
21370 * mach/msg-destroy.c: Likewise.
21371 * nss/nss_files/files-netgrp.c: Likewise.
21372 * resolv/res_data.c: Likewise.
21373 * soft-fp/op-1.h: Likewise.
21374 * soft-fp/op-2.h: Likewise.
21375 * soft-fp/op-4.h: Likewise.
21376 * soft-fp/op-common.h: Likewise.
21377 * stdio-common/printf_fphex.c: Likewise.
21378 * stdlib/strtod_l.c: Likewise.
21379 * sunrpc/rpc/clnt.h: Likewise.
21380 * sysdeps/generic/framestate.c: Likewise.
21381 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21382 * sysdeps/i386/bsd-setjmp.S: Likewise.
21383 * sysdeps/i386/__longjmp.S: Likewise.
21384 * sysdeps/i386/setjmp.S: Likewise.
21385 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21386 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21387 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21388 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21389 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21390 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21391 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21392 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21393 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21394 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21395 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21396 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21397 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21398 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21399 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21400 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21401 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21402 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21403 * sysdeps/ieee754/support.c: Likewise.
21404 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21405 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21406 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21407 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21408 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21409 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21410 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21411 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21412 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21413 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21414 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21415 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21416 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21417 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21418 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21419 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21420 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21422
44a988af
OB
214232013-06-05 Ondřej Bílka <neleai@seznam.cz>
21424
25506f09 21425 * posix/transbug.c: Remove executable mode.
44a988af 21426
9c84384c
JM
214272013-06-05 Joseph Myers <joseph@codesourcery.com>
21428
21429 * crypt/speeds.c: Remove trailing whitespace.
21430 * dlfcn/default.c: Likewise.
21431 * elf/ifuncdep2.c: Likewise.
21432 * elf/ifuncmain1.c: Likewise.
21433 * elf/ifuncmain1vis.c: Likewise.
21434 * elf/testobj.h: Likewise.
21435 * elf/tst-stackguard1.c: Likewise.
21436 * gmon/sys/gmon.h: Likewise.
21437 * hurd/hurdmsg.c: Likewise.
21438 * hurd/new-fd.c: Likewise.
21439 * hurd/ports-get.c: Likewise.
21440 * iconvdata/ibm1008_420.c: Likewise.
21441 * inet/tst-getni1.c: Likewise.
21442 * inet/tst-getni2.c: Likewise.
21443 * libio/ioungetc.c: Likewise.
21444 * libio/wfiledoalloc.c: Likewise.
21445 * manual/libm-err-tab.pl: Likewise.
21446 * math/w_dremf.c: Likewise.
21447 * misc/ftruncate.c: Likewise.
21448 * posix/bug-glob2.c: Likewise.
21449 * posix/tst-pcre.c: Likewise.
21450 * posix/wait4.c: Likewise.
21451 * resolv/README: Likewise.
21452 * resolv/res_debug.h: Likewise.
21453 * resolv/tst-inet_ntop.c: Likewise.
21454 * setjmp/bug269-setjmp.c: Likewise.
21455 * soft-fp/extended.h: Likewise.
21456 * soft-fp/op-1.h: Likewise.
21457 * soft-fp/op-2.h: Likewise.
21458 * soft-fp/op-4.h: Likewise.
21459 * soft-fp/op-8.h: Likewise.
21460 * soft-fp/testit.c: Likewise.
21461 * stdio-common/bug16.c: Likewise.
21462 * stdlib/random.c: Likewise.
21463 * sunrpc/rpcsvc/rquota.x: Likewise.
21464 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21465 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21466 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21467 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21468 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21469 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21470 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21471 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21472 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21473 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21474 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21475 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21476 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21477 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21478 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21479 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21480 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21481 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21482 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21483 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21484 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21485 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21486 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21487 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21488 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21489 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21490 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21491 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21492 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21493 * sysdeps/ieee754/s_lib_version.c: Likewise.
21494 * sysdeps/mach/hurd/check_fds.c: Likewise.
21495 * sysdeps/mach/hurd/getsockname.c: Likewise.
21496 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21497 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21498 * sysdeps/powerpc/bits/link.h: Likewise.
21499 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21500 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21501 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21502 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21503 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21504 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21505 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21506 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21507 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21508 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21509 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21510 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21511 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21512 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21513 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21514 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21515 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21516 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21517 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21518 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21519 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21520 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21521 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21522 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21523 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21524 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21525 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21526 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21527 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21528 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21529 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21530 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21531 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21532 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21533 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21534 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21535 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21536 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21537 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21538 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21539 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21540 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21541 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21542 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21543 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21544 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21545 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21546 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21547 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21548 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21549 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21550 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21551 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21552 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21553 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21554 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21555 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21556 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21557 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21558 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21559 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21560 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21561 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21562 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21563 * sysdeps/powerpc/sysdep.h: Likewise.
21564 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21565 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21566 * sysdeps/sh/dl-trampoline.S: Likewise.
21567 * sysdeps/sh/memset.S: Likewise.
21568 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21569 * sysdeps/sh/strlen.S: Likewise.
21570 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21571 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21572 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21573 * sysdeps/sparc/sparc32/rem.S: Likewise.
21574 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21575 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21576 * sysdeps/sparc/sparc32/strchr.S: Likewise.
21577 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21578 * sysdeps/sparc/sparc32/urem.S: Likewise.
21579 * sysdeps/sparc/sparc64/add_n.S: Likewise.
21580 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21581 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21582 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21583 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21584 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21585 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21586 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21587 * sysdeps/unix/bsd/times.c: Likewise.
21588 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21589 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21593 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21594 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21595 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21596 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21597 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21598 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21599 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21600 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21601 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21602 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21603 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21604 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21605 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21606 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21607 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21608 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21609 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21610 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21611 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21612 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21613 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21614 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21615 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21616 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21617 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21618 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21619 * sysdeps/x86_64/strcspn.S: Likewise.
21620
869378a5
RA
216212013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21622
21623 * locale/C-translit.h: Revert #include <stdint.h> because this is a
21624 generated file. Regenerate properly from gen-translit.pl.
21625 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
21626 locale/C-translit.h.
21627
840e2943
AS
216282013-06-05 Andreas Schwab <schwab@suse.de>
21629
21630 [BZ #15100]
21631 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21632 week as 6 instead of -1.
21633 * time/tst-strptime.c (day_tests): Add test case.
21634
4c60cb0c
SP
216352013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21636
21637 * sysdeps/generic/math_private.h
21638 (libc_feholdexcept_setround_53bit): Replace with
21639 libc_feholdsetround_53bit.
21640 (libc_feupdateenv_53bit): Replace with
21641 libc_feresetround_53bit.
21642 (SET_RESTORE_ROUND_53BIT): Adjust.
21643
d180203e
SP
216442013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21645
96df079a
SP
21646 * string/test-strchrnul.c: Add copyright header.
21647
d180203e
SP
21648 * posix/tst-getaddrinfo4.c: Increase test timeout.
21649
8b0ccb2d
CD
216502013-06-03 Carlos O'Donell <carlos@redhat.com>
21651
21652 [BZ #15536]
21653 * math/libm-test.inc (MAX_EXP): Remove
21654 (MIN_EXP): Define.
21655 (ulp): Use MIN_EXP - MANT_DIG.
21656 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21657
3b3c4d40
CD
216582013-05-31 Carlos O'Donell <carlos@redhat.com>
21659
21660 * po/be.po: Revert last change.
21661 * po/zh_CN.po: Likewise.
21662 * po/header.pot: Likewise.
21663
fab7ce3f
JM
216642013-05-31 Joseph Myers <joseph@codesourcery.com>
21665
21666 * Makefile ($(common-objpfx)linkobj/libc.so): Define
21667 link-libc-deps to empty as target-specific variable.
21668 * Makerules (link-libc-args): New variable.
21669 (libc-for-link): Likewise.
21670 (link-libc-deps): Likewise.
21671 (lib%.so): Depend on $(link-libc-deps). Link with
21672 $(link-libc-args).
21673 (build-module): Link with $(link-libc-args).
21674 (build-module-asneeded): Likewise.
21675 (build-module-helper-objlist): Filter out $(link-libc-deps) from
21676 list of objects.
21677 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21678 target-specific variable.
21679 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21680 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21681 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21682 libc.
21683 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21684 libc and ld.so.
21685 ($(objpfx)libpcprofile.so): Likewise.
21686 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21687 libc_nonshared.a.
21688 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21689 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21690 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21691 $(link-libc-deps).
21692 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21693 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21694 * login/Makefile ($(objpfx)libutil.so): Likewise.
21695 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21696 * math/Makefile ($(objpfx)libm.so): Likewise.
21697 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21698 $(objpfx)libnsl.so): Define libc-for-link as target-specific
21699 variable instead of depending directly on libc.
21700 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21701 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21702 $(link-libc-deps).
21703 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21704 libc.
21705 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21706 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21707 ($(objpfx)libanl.so): Likewise.
21708 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21709 ld.so.
21710 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21711 $(link-libc-deps).
21712 * sysdeps/i386/fpu/Makefile: Remove file.
21713 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21714 ($(objpfx)libm.so): Remove dependency on ld.so.
21715
eca5920c
PF
217162013-05-30 Patsy Franklin <pfrankli@redhat.com>
21717
21718 [BZ # 15553]
21719 * nis/yp_xdr.c (XDRMAXNAME): Define.
21720 (XDRMAXRECORD): Define.
21721 (xdr_domainname): Use XDRMAXNAME.
21722 (xdr_mapname): Likewise.
21723 (xdr_peername): Likewise.
21724 (xdr_keydat): Use XDRMAXRECORD.
21725 (xdr_valdat): Likewise.
21726
217272013-05-30 Jeff Law <law@redhat.com>
96945714
JL
21728
21729 [BZ #14256]
21730 * manual/errno.texi (ESTALE): Update to account for more than
21731 just NFS file systems.
21732 * sysdeps/gnu/errlist.c: Regenerated.
21733
b9375348
SP
217342013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21735
21736 [BZ #15465]
21737 * elf/Makefile (tests): Add tst-null-argv.
21738 (modules-names): Add tst-null-argv-lib.
21739 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21740 (tst-null-argv-ENV): Set environment for tst-null-argv.
21741 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21742 (RTLD_PROGNAME): New macro.
21743 * elf/tst-null-argv.c: New test case.
21744 * elf/tst-null-argv-lib.c: Library for test case.
21745 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21746 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21747 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21748 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21749 * elf/dl-init.c (call_init): Likewise.
21750 (_dl_init): Likewise.
21751 * elf/dl-load.c (print_search_path): Likewise.
21752 (_dl_map_object): Likewise.
21753 * elf/dl-lookup.c (do_lookup_x): Likewise.
21754 (add_dependency): Likewise.
21755 (_dl_lookup_symbol_x): Likewise.
21756 (_dl_debug_bindings): Likewise.
21757 * elf/dl-open.c (_dl_show_scope): Likewise.
21758 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21759 * elf/dl-version.c (match_symbol): Likewise.
21760 (_dl_check_map_versions): Likewise.
21761 * elf/rtld.c (dl_main): Likewise.
21762 (print_unresolved): Use RTLD_PROGNAME.
21763 (print_missing_version): Likewise.
21764 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21765 (elf_machine_rela): Likewise.
21766 * sysdeps/powerpc/powerpc32/dl-machine.c
21767 (__process_machine_rela): Likewise.
21768 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21769 Likewise.
21770 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21771 Likewise.
21772 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21773 Likewise.
21774 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21775 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21776 Likewise.
21777 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21778 Likewise.
21779 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21780
8a9f20c8
CD
217812013-05-28 Carlos O'Donell <carlos@redhat.com>
21782
21783 * po/be.po: Add descriptive title.
21784 * po/zh_CN.po: Likewise.
21785 * po/header.pot: Likewise.
21786
0e60d68e
MF
217872013-05-28 Mike Frysinger <vapier@gentoo.org>
21788
21789 * locale/programs/locarchive.c (create_archive): Inlucde fname in
21790 error message.
21791 (enlarge_archive): Likewise.
21792
56b672e9
BN
217932013-05-28 Ben North <ben@redfrontdoor.org>
21794
21795 * manual/arith.texi (frexp): It is the magnitude of the return
21796 value which lies in [0.5, 1), not the return value itself.
21797
5e056687
AZ
217982013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21799
21800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21801
2b66ef5d
TS
218022013-05-26 Thomas Schwinge <thomas@codesourcery.com>
21803
528c2405
TS
21804 * stdio-common/bug26.c (main): Correct fscanf template.
21805
07b4c13d
TS
21806 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21807 declare _dl_skip_args.
21808
ec9dd97c
TS
21809 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21810 Don't declare.
21811
2b66ef5d
TS
21812 * manual/platform.texi: Add missing @end deftypefun.
21813
4f8dfe27
JM
218142013-05-24 Joseph Myers <joseph@codesourcery.com>
21815
0323d086
JM
21816 [BZ #15529]
21817 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21818 bit of mantissa of 2^16382.
21819 * math/libm-test.inc (hypot_test_data): Add more tests.
21820
dd4259b9
JM
21821 * math/libm-test.inc: Add drem and pow10 to list of tested
21822 functions.
21823 (pow10_test): New function.
21824 (drem_test): Likewise.
21825 (drem_test_tonearest): Likewise.
21826 (drem_test_towardzero): Likewise.
21827 (drem_test_downward): Likewise.
21828 (drem_test_upward): Likewise.
21829 (main): Call the new functions.
21830
4f8dfe27
JM
21831 * math/libm-test.inc (finite_test_data): Remove.
21832 (finite_test): Run tests from isfinite_test_data.
21833 (gamma_test_data): Remove.
21834 (gamma_test): Run tests from lgamma_test_data.
21835 * sysdeps/i386/fpu/libm-test-ulps: Update.
21836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21837
d116b7c4
AZ
218382013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21839
21840 * manual/platform.texi: Add PowerPC PPR function set documentation.
21841 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21842 implementation.
21843
e96e3767
CD
218442013-05-24 Carlos O'Donell <carlos@redhat.com>
21845
21846 * math/libm-test.inc (MAX_EXP): Define.
21847 (ULPDIFF): Define.
21848 (ulp): New function.
21849 (check_float_internal): Use ULPDIFF.
21850 (cpow_test): Disable failing test.
21851 (check_ulp): Test ulp() implemetnation.
21852 (main): Call check_ulp before starting tests.
21853
b679a606
JM
218542013-05-24 Joseph Myers <joseph@codesourcery.com>
21855
e8bdba36
JM
21856 * math/gen-libm-test.pl (generate_testfile): Do not handle
21857 START_DATA and END_DATA.
21858 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21859 END_DATA.
21860 (acos_tonearest_test_data): Likewise.
21861 (acos_towardzero_test_data): Likewise.
21862 (acos_downward_test_data): Likewise.
21863 (acos_upward_test_data): Likewise.
21864 (acosh_test_data): Likewise.
21865 (asin_test_data): Likewise.
21866 (asin_tonearest_test_data): Likewise.
21867 (asin_towardzero_test_data): Likewise.
21868 (asin_downward_test_data): Likewise.
21869 (asin_upward_test_data): Likewise.
21870 (asinh_test_data): Likewise.
21871 (atan_test_data): Likewise.
21872 (atanh_test_data): Likewise.
21873 (atan2_test_data): Likewise.
21874 (cabs_test_data): Likewise.
21875 (cacos_test_data): Likewise.
21876 (cacosh_test_data): Likewise.
21877 (carg_test_data): Likewise.
21878 (casin_test_data): Likewise.
21879 (casinh_test_data): Likewise.
21880 (catan_test_data): Likewise.
21881 (catanh_test_data): Likewise.
21882 (cbrt_test_data): Likewise.
21883 (ccos_test_data): Likewise.
21884 (ccosh_test_data): Likewise.
21885 (ceil_test_data): Likewise.
21886 (cexp_test_data): Likewise.
21887 (cimag_test_data): Likewise.
21888 (clog_test_data): Likewise.
21889 (clog10_test_data): Likewise.
21890 (conj_test_data): Likewise.
21891 (copysign_test_data): Likewise.
21892 (cos_test_data): Likewise.
21893 (cos_tonearest_test_data): Likewise.
21894 (cos_towardzero_test_data): Likewise.
21895 (cos_downward_test_data): Likewise.
21896 (cos_upward_test_data): Likewise.
21897 (cosh_test_data): Likewise.
21898 (cosh_tonearest_test_data): Likewise.
21899 (cosh_towardzero_test_data): Likewise.
21900 (cosh_downward_test_data): Likewise.
21901 (cosh_upward_test_data): Likewise.
21902 (cpow_test_data): Likewise.
21903 (cproj_test_data): Likewise.
21904 (creal_test_data): Likewise.
21905 (csin_test_data): Likewise.
21906 (csinh_test_data): Likewise.
21907 (csqrt_test_data): Likewise.
21908 (ctan_test_data): Likewise.
21909 (ctan_tonearest_test_data): Likewise.
21910 (ctan_towardzero_test_data): Likewise.
21911 (ctan_downward_test_data): Likewise.
21912 (ctan_upward_test_data): Likewise.
21913 (ctanh_test_data): Likewise.
21914 (ctanh_tonearest_test_data): Likewise.
21915 (ctanh_towardzero_test_data): Likewise.
21916 (ctanh_downward_test_data): Likewise.
21917 (ctanh_upward_test_data): Likewise.
21918 (erf_test_data): Likewise.
21919 (erfc_test_data): Likewise.
21920 (exp_test_data): Likewise.
21921 (exp_tonearest_test_data): Likewise.
21922 (exp_towardzero_test_data): Likewise.
21923 (exp_downward_test_data): Likewise.
21924 (exp_upward_test_data): Likewise.
21925 (exp10_test_data): Likewise.
21926 (exp2_test_data): Likewise.
21927 (expm1_test_data): Likewise.
21928 (fabs_test_data): Likewise.
21929 (fdim_test_data): Likewise.
21930 (finite_test_data): Likewise.
21931 (floor_test_data): Likewise.
21932 (fma_test_data): Likewise.
21933 (fma_towardzero_test_data): Likewise.
21934 (fma_downward_test_data): Likewise.
21935 (fma_upward_test_data): Likewise.
21936 (fmax_test_data): Likewise.
21937 (fmin_test_data): Likewise.
21938 (fmod_test_data): Likewise.
21939 (fpclassify_test_data): Likewise.
21940 (frexp_test_data): Likewise.
21941 (gamma_test_data): Likewise.
21942 (hypot_test_data): Likewise.
21943 (ilogb_test_data): Likewise.
21944 (isfinite_test_data): Likewise.
21945 (isgreater_test_data): Likewise.
21946 (isgreaterequal_test_data): Likewise.
21947 (isinf_test_data): Likewise.
21948 (isless_test_data): Likewise.
21949 (islessequal_test_data): Likewise.
21950 (islessgreater_test_data): Likewise.
21951 (isnan_test_data): Likewise.
21952 (isnormal_test_data): Likewise.
21953 (issignaling_test_data): Likewise.
21954 (isunordered_test_data): Likewise.
21955 (j0_test_data): Likewise.
21956 (j1_test_data): Likewise.
21957 (jn_test_data): Likewise.
21958 (ldexp_test_data): Likewise.
21959 (lgamma_test_data): Likewise.
21960 (lrint_test_data): Likewise.
21961 (lrint_tonearest_test_data): Likewise.
21962 (lrint_towardzero_test_data): Likewise.
21963 (lrint_downward_test_data): Likewise.
21964 (lrint_upward_test_data): Likewise.
21965 (llrint_test_data): Likewise.
21966 (llrint_tonearest_test_data): Likewise.
21967 (llrint_towardzero_test_data): Likewise.
21968 (llrint_downward_test_data): Likewise.
21969 (llrint_upward_test_data): Likewise.
21970 (log_test_data): Likewise.
21971 (log10_test_data): Likewise.
21972 (log1p_test_data): Likewise.
21973 (log2_test_data): Likewise.
21974 (logb_test_data): Likewise.
21975 (logb_downward_test_data): Likewise.
21976 (lround_test_data): Likewise.
21977 (llround_test_data): Likewise.
21978 (modf_test_data): Likewise.
21979 (nearbyint_test_data): Likewise.
21980 (nextafter_test_data): Likewise.
21981 (nexttoward_test_data): Likewise.
21982 (pow_test_data): Likewise.
21983 (pow_tonearest_test_data): Likewise.
21984 (pow_towardzero_test_data): Likewise.
21985 (pow_downward_test_data): Likewise.
21986 (pow_upward_test_data): Likewise.
21987 (remainder_test_data): Likewise.
21988 (remainder_tonearest_test_data): Likewise.
21989 (remainder_towardzero_test_data): Likewise.
21990 (remainder_downward_test_data): Likewise.
21991 (remainder_upward_test_data): Likewise.
21992 (remquo_test_data): Likewise.
21993 (rint_test_data): Likewise.
21994 (rint_tonearest_test_data): Likewise.
21995 (rint_towardzero_test_data): Likewise.
21996 (rint_downward_test_data): Likewise.
21997 (rint_upward_test_data): Likewise.
21998 (round_test_data): Likewise.
21999 (scalb_test_data): Likewise.
22000 (scalbn_test_data): Likewise.
22001 (scalbln_test_data): Likewise.
22002 (signbit_test_data): Likewise.
22003 (sin_test_data): Likewise.
22004 (sin_tonearest_test_data): Likewise.
22005 (sin_towardzero_test_data): Likewise.
22006 (sin_downward_test_data): Likewise.
22007 (sin_upward_test_data): Likewise.
22008 (sincos_test_data): Likewise.
22009 (sinh_test_data): Likewise.
22010 (sinh_tonearest_test_data): Likewise.
22011 (sinh_towardzero_test_data): Likewise.
22012 (sinh_downward_test_data): Likewise.
22013 (sinh_upward_test_data): Likewise.
22014 (sqrt_test_data): Likewise.
22015 (tan_test_data): Likewise.
22016 (tan_tonearest_test_data): Likewise.
22017 (tan_towardzero_test_data): Likewise.
22018 (tan_downward_test_data): Likewise.
22019 (tan_upward_test_data): Likewise.
22020 (tanh_test_data): Likewise.
22021 (tgamma_test_data): Likewise.
22022 (trunc_test_data): Likewise.
22023 (y0_test_data): Likewise.
22024 (y1_test_data): Likewise.
22025 (yn_test_data): Likewise.
22026 (significand_test_data): Likewise.
22027
b679a606
JM
22028 * math/gen-libm-test.pl (@functions): Remove variable.
22029 (generate_testfile): Don't handle START and END lines.
22030 * math/libm-test.inc (START): New macro.
22031 (END): Likewise.
22032 (END_COMPLEX): Likewise.
22033 (acos_test): Use END macro without arguments.
22034 (acos_test_tonearest): Likewise.
22035 (acos_test_towardzero): Likewise.
22036 (acos_test_downward): Likewise.
22037 (acos_test_upward): Likewise.
22038 (acosh_test): Likewise.
22039 (asin_test): Likewise.
22040 (asin_test_tonearest): Likewise.
22041 (asin_test_towardzero): Likewise.
22042 (asin_test_downward): Likewise.
22043 (asin_test_upward): Likewise.
22044 (asinh_test): Likewise.
22045 (atan_test): Likewise.
22046 (atanh_test): Likewise.
22047 (atan2_test): Likewise.
22048 (cabs_test): Likewise.
22049 (cacos_test): Use END_COMPLEX macro without arguments.
22050 (cacosh_test): Likewise.
22051 (carg_test): Use END macro without arguments.
22052 (casin_test): Use END_COMPLEX macro without arguments.
22053 (casinh_test): Likewise.
22054 (catan_test): Likewise.
22055 (catanh_test): Likewise.
22056 (cbrt_test): Use END macro without arguments.
22057 (ccos_test): Use END_COMPLEX macro without arguments.
22058 (ccosh_test): Likewise.
22059 (ceil_test): Use END macro without arguments.
22060 (cexp_test): Use END_COMPLEX macro without arguments.
22061 (cimag_test): Use END macro without arguments.
22062 (clog_test): Use END_COMPLEX macro without arguments.
22063 (clog10_test): Likewise.
22064 (conj_test): Likewise.
22065 (copysign_test): Use END macro without arguments.
22066 (cos_test): Likewise.
22067 (cos_test_tonearest): Likewise.
22068 (cos_test_towardzero): Likewise.
22069 (cos_test_downward): Likewise.
22070 (cos_test_upward): Likewise.
22071 (cosh_test): Likewise.
22072 (cosh_test_tonearest): Likewise.
22073 (cosh_test_towardzero): Likewise.
22074 (cosh_test_downward): Likewise.
22075 (cosh_test_upward): Likewise.
22076 (cpow_test): Use END_COMPLEX macro without arguments.
22077 (cproj_test): Likewise.
22078 (creal_test): Use END macro without arguments.
22079 (csin_test): Use END_COMPLEX macro without arguments.
22080 (csinh_test): Likewise.
22081 (csqrt_test): Likewise.
22082 (ctan_test): Likewise.
22083 (ctan_test_tonearest): Likewise.
22084 (ctan_test_towardzero): Likewise.
22085 (ctan_test_downward): Likewise.
22086 (ctan_test_upward): Likewise.
22087 (ctanh_test): Likewise.
22088 (ctanh_test_tonearest): Likewise.
22089 (ctanh_test_towardzero): Likewise.
22090 (ctanh_test_downward): Likewise.
22091 (ctanh_test_upward): Likewise.
22092 (erf_test): Use END macro without arguments.
22093 (erfc_test): Likewise.
22094 (exp_test): Likewise.
22095 (exp_test_tonearest): Likewise.
22096 (exp_test_towardzero): Likewise.
22097 (exp_test_downward): Likewise.
22098 (exp_test_upward): Likewise.
22099 (exp10_test): Likewise.
22100 (exp2_test): Likewise.
22101 (expm1_test): Likewise.
22102 (fabs_test): Likewise.
22103 (fdim_test): Likewise.
22104 (finite_test): Likewise.
22105 (floor_test): Likewise.
22106 (fma_test): Likewise.
22107 (fma_test_towardzero): Likewise.
22108 (fma_test_downward): Likewise.
22109 (fma_test_upward): Likewise.
22110 (fmax_test): Likewise.
22111 (fmin_test): Likewise.
22112 (fmod_test): Likewise.
22113 (fpclassify_test): Likewise.
22114 (frexp_test): Likewise.
22115 (gamma_test): Likewise.
22116 (hypot_test): Likewise.
22117 (ilogb_test): Likewise.
22118 (isfinite_test): Likewise.
22119 (isgreater_test): Likewise.
22120 (isgreaterequal_test): Likewise.
22121 (isinf_test): Likewise.
22122 (isless_test): Likewise.
22123 (islessequal_test): Likewise.
22124 (islessgreater_test): Likewise.
22125 (isnan_test): Likewise.
22126 (isnormal_test): Likewise.
22127 (issignaling_test): Likewise.
22128 (isunordered_test): Likewise.
22129 (j0_test): Likewise.
22130 (j1_test): Likewise.
22131 (jn_test): Likewise.
22132 (ldexp_test): Likewise.
22133 (lgamma_test): Likewise.
22134 (lrint_test): Likewise.
22135 (lrint_test_tonearest): Likewise.
22136 (lrint_test_towardzero): Likewise.
22137 (lrint_test_downward): Likewise.
22138 (lrint_test_upward): Likewise.
22139 (llrint_test): Likewise.
22140 (llrint_test_tonearest): Likewise.
22141 (llrint_test_towardzero): Likewise.
22142 (llrint_test_downward): Likewise.
22143 (llrint_test_upward): Likewise.
22144 (log_test): Likewise.
22145 (log10_test): Likewise.
22146 (log1p_test): Likewise.
22147 (log2_test): Likewise.
22148 (logb_test): Likewise.
22149 (logb_test_downward): Likewise.
22150 (lround_test): Likewise.
22151 (llround_test): Likewise.
22152 (modf_test): Likewise.
22153 (nearbyint_test): Likewise.
22154 (nextafter_test): Likewise.
22155 (nexttoward_test): Likewise.
22156 (pow_test): Likewise.
22157 (pow_test_tonearest): Likewise.
22158 (pow_test_towardzero): Likewise.
22159 (pow_test_downward): Likewise.
22160 (pow_test_upward): Likewise.
22161 (remainder_test): Likewise.
22162 (remainder_test_tonearest): Likewise.
22163 (remainder_test_towardzero): Likewise.
22164 (remainder_test_downward): Likewise.
22165 (remainder_test_upward): Likewise.
22166 (remquo_test): Likewise.
22167 (rint_test): Likewise.
22168 (rint_test_tonearest): Likewise.
22169 (rint_test_towardzero): Likewise.
22170 (rint_test_downward): Likewise.
22171 (rint_test_upward): Likewise.
22172 (round_test): Likewise.
22173 (scalb_test): Likewise.
22174 (scalbn_test): Likewise.
22175 (scalbln_test): Likewise.
22176 (signbit_test): Likewise.
22177 (sin_test): Likewise.
22178 (sin_test_tonearest): Likewise.
22179 (sin_test_towardzero): Likewise.
22180 (sin_test_downward): Likewise.
22181 (sin_test_upward): Likewise.
22182 (sincos_test): Likewise.
22183 (sinh_test): Likewise.
22184 (sinh_test_tonearest): Likewise.
22185 (sinh_test_towardzero): Likewise.
22186 (sinh_test_downward): Likewise.
22187 (sinh_test_upward): Likewise.
22188 (sqrt_test): Likewise.
22189 (tan_test): Likewise.
22190 (tan_test_tonearest): Likewise.
22191 (tan_test_towardzero): Likewise.
22192 (tan_test_downward): Likewise.
22193 (tan_test_upward): Likewise.
22194 (tanh_test): Likewise.
22195 (tgamma_test): Likewise.
22196 (trunc_test): Likewise.
22197 (y0_test): Likewise.
22198 (y1_test): Likewise.
22199 (yn_test): Likewise.
22200 (significand_test): Likewise.
22201
bae143d2
OB
222022013-05-24 Ondřej Bílka <neleai@seznam.cz>
22203
22204 [BZ #15381]
22205 * libio/genops.c (_IO_no_init): Initialize wide struct info.
22206
9323d39b
EM
222072013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
22208
d4ea44a0 22209 [BZ #14894]
9323d39b
EM
22210 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22211 __ppc_mdoio and __ppc_mdoom.
22212 * manual/platform.texi: Document new functions __ppc_yield,
22213 __ppc_mdoio and __ppc_mdoom.
22214
13e23af7
CD
222152013-05-22 Carlos O'Donell <carlos@redhat.com>
22216
22217 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22218 (main): Mention "tls" pseudo-hwcap is legacy.
22219 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22220
351fe550
JM
222212013-05-22 Joseph Myers <joseph@codesourcery.com>
22222
22223 * math/gen-libm-test.pl (parse_args): Output only string of
22224 arguments as text for test name, not full call or descriptions of
22225 tests for extra outputs.
22226 (generate_testfile): Do not pass function name to parse_args.
22227 Generate this_func variable from START.
22228 * math/libm-test.inc (struct test_f_f_data): Rename test_name
22229 field to arg_str.
22230 (struct test_ff_f_data): Likewise.
22231 (test_ff_f_data_nexttoward): Likewise.
22232 (struct test_fi_f_data): Likewise.
22233 (struct test_fl_f_data): Likewise.
22234 (struct test_if_f_data): Likewise.
22235 (struct test_fff_f_data): Likewise.
22236 (struct test_c_f_data): Likewise.
22237 (struct test_f_f1_data): Likewise. Remove field extra_name.
22238 (struct test_fF_f1_data): Likewise.
22239 (struct test_ffI_f1_data): Likewise.
22240 (struct test_c_c_data): Rename test_name field to arg_str.
22241 (struct test_cc_c_data): Likewise.
22242 (struct test_f_i_data): Likewise.
22243 (struct test_ff_i_data): Likewise.
22244 (struct test_f_l_data): Likewise.
22245 (struct test_f_L_data): Likewise.
22246 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
22247 and extra2_name.
22248 (COMMON_TEST_SETUP): New macro.
22249 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22250 (COMMON_TEST_CLEANUP): Likewise.
22251 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22252 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
22253 macros.
22254 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22255 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
22256 macros.
22257 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22258 (RUN_TEST_fff_f): Take argument string. Call new setup and
22259 cleanup macros.
22260 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22261 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
22262 macros.
22263 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22264 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
22265 macros.
22266 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22267 (RUN_TEST_fF_f1): Take argument string. Call new setup and
22268 cleanup macros.
22269 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22270 (RUN_TEST_fI_f1): Take argument string. Call new setup and
22271 cleanup macros.
22272 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22273 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
22274 cleanup macros.
22275 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22276 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
22277 macros.
22278 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22279 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
22280 macros.
22281 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22282 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
22283 macros.
22284 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22285 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
22286 cleanup macros.
22287 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22288 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
22289 cleanup macros.
22290 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22291 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
22292 macros.
22293 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22294 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
22295 cleanup macros.
22296 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22297 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
22298 macros.
22299 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22300 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
22301 macros.
22302 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22303 (RUN_TEST_fFF_11): Take argument string. Call new setup and
22304 cleanup macros.
22305 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22306
85118d4d
EBM
223072013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22308
22309 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22310 to _sifields.sigfault.
22311 (si_addr_lsb): Define new macro.
22312 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22313 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22314 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22315
7a44c18f
CD
223162013-05-03 Carlos O'Donell <carlos at redhat.com>
22317
22318 [BZ #15441]
22319 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22320 returns -1.
22321 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22322 null return -1.
22323 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22324 loading the domain.
22325
b50a7181
JM
223262013-05-22 Joseph Myers <joseph@codesourcery.com>
22327
22328 * math/gen-libm-test.pl (parse_args): Do not include expected
22329 result in test name.
22330 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22331 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22332 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22333 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22334 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22336
051063c8
SP
223372013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22338
3ce9e010
SP
22339 * benchtests/Makefile: Sort function entries.
22340
051063c8
SP
22341 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22342 tanh, asinh, acosh, atanh.
22343 * benchtests/acos-inputs: New file.
22344 * benchtests/acosh-inputs: New file.
22345 * benchtests/asin-inputs: New file.
22346 * benchtests/asinh-inputs: New file.
22347 * benchtests/atanh-inputs: New file.
22348 * benchtests/cosh-inputs: New file.
22349 * benchtests/log-inputs: New file.
22350 * benchtests/sinh-inputs: New file.
22351 * benchtests/tanh-inputs: New file.
22352
47c22455
DL
223532013-05-21 Dmitry V. Levin <ldv@altlinux.org>
22354
22355 [BZ #15339]
22356 * posix/tst-getaddrinfo4.c: New test.
22357 * posix/Makefile (tests): Add it.
22358
3d04f5db
SP
223592013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22360
22361 [BZ #15339]
22362 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22363 when no services were used.
22364 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22365 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22366
d5dd6189
AS
223672013-05-21 Andreas Schwab <schwab@suse.de>
22368
22369 [BZ #15014]
22370 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22371 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22372 successful.
22373 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22374 redundant variable declarations and reallocation of buffer when
22375 parsing as IPv6 address. Always set NSS status when called from
22376 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
22377 buffer too small. Correct computation of needed size.
22378 * nss/Makefile (tests): Add test-digits-dots.
22379 * nss/test-digits-dots.c: New test.
22380
fef94eab
SP
223812013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22382
22383 * benchtests/Makefile: Remove instructions for adding
22384 benchmark tests.
22385 * benchtests/README: New file to explain how to execute and
22386 enhance the benchmark tests.
22387
e39adf43
AS
223882013-05-21 Andreas Schwab <schwab@suse.de>
22389
22390 [BZ #15493]
22391 * setjmp/Makefile (tests): Add tst-sigsetjmp.
22392 * setjmp/tst-sigsetjmp.c: New test.
22393
b2b671b6
OB
223942013-05-20 Ondřej Bílka <neleai@seznam.cz>
22395
22396 * sysdeps/x86_64/memset.S (memset): New implementation.
22397 (__bzero): Likewise.
22398 (__memset_tail): New function.
22399
2d48b41c
OB
224002013-05-20 Ondřej Bílka <neleai@seznam.cz>
22401
22402 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22403 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22404 __memcpy_sse2_unaligned ifunc selection.
22405 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22406 Add memcpy-sse2-unaligned.S.
22407 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22408 Add: __memcpy_sse2_unaligned.
22409
f16cc3eb
JM
224102013-05-19 Joseph Myers <joseph@codesourcery.com>
22411
3e694268
JM
22412 [BZ #15490]
22413 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22414 math_force_eval before restoring floating-point envrionment.
22415 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22416 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22417 Likewise.
22418 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22419 <math_private.h>.
22420 (__nearbyintl): Use math_force_eval before restoring
22421 floating-point environment.
22422 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22423
db62a907
JM
22424 * math/gen-libm-test.pl (special_functions): Remove.
22425 (parse_args): Don't handle TEST_extra. Handle functions with no
22426 return value.
22427 * math/libm-test.inc (struct test_sincos_data): Replace with
22428 struct test_fFF_11_data.
22429 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22430 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22431 (sincos_test_data): Change element type to struct
22432 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22433 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22434 RUN_TEST_LOOP_sincos.
22435 * math/README.libm-test: Don't mention special handling of
22436 individual functions.
22437 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22438 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22439 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22440 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22441 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22443
f16cc3eb
JM
22444 * math/gen-libm-test.pl (get_variable): Remove function.
22445 (parse_args): Don't show pointer parameters to call in test
22446 names. Use "extra output N" in test names for extra outputs
22447 rather than naming variables.
22448
3779b5b6
JM
224492013-05-18 Joseph Myers <joseph@codesourcery.com>
22450
2ee094ff
JM
22451 [BZ #15488]
22452 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22453 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22454 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22455 double tests.
22456 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22457 disable.
22458 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22459 check_long_double.
22460
3779b5b6
JM
22461 * math/gen-libm-test.pl (@tests): Remove variable.
22462 ($count): Likewise.
22463 (new_test): Remove function.
22464 (show_exceptions): New function.
22465 (special_functions): Use show_exceptions instead of new_test.
22466 (parse_args): Likewise.
22467 (generate_testfile): Pass only function name in generated call to
22468 print_max_error or print_complex_max_error.
22469 (get_ulps): Do not handle complex tests specially.
22470 (output_test): Rename to ...
22471 (get_all_ulps_for_test): ... this. Return a string rather than
22472 printing to a file. Require ulps to be present.
22473 (output_ulps): Generate arrays rather than #defines.
22474 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22475 (struct ulp_data): New type.
22476 (BUILD_COMPLEX_ULP): Remove macro.
22477 (compare_ulp_data): New function.
22478 (find_ulps): Likewise.
22479 (find_test_ulps): Likewise.
22480 (find_function_ulps): Likewise.
22481 (find_complex_function_ulps): Likewise.
22482 (print_max_error): Determine allowed ulps using
22483 find_function_ulps.
22484 (print_complex_max_error): Determine allowed ulps using
22485 find_complex_function_ulps.
22486 (check_float_internal): Determine max ulps using find_test_ulps.
22487 (check_float): Do not take max_ulp parameter. Update call to
22488 check_float_internal.
22489 (check_complex): Likewise.
22490 (check_int): Do not take max_ulp parameter.
22491 (check_long): Likewise.
22492 (check_bool): Likewise.
22493 (check_longlong): Likewise.
22494 (struct test_f_f_data): Remove max_ulp field.
22495 (struct test_ff_f_data): Likewise.
22496 (struct test_ff_f_data_nexttoward): Likewise.
22497 (struct test_fi_f_data): Likewise.
22498 (struct test_fl_f_data): Likewise.
22499 (struct test_if_f_data): Likewise.
22500 (struct test_fff_f_data): Likewise.
22501 (struct test_c_f_data): Likewise.
22502 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22503 (struct test_fF_f1_data): Likewise.
22504 (struct test_ffI_f1_data): Likewise.
22505 (struct test_c_c_data): Remove max_ulp field.
22506 (struct test_cc_c_data): Likewise.
22507 (struct test_f_i_data): Likewise.
22508 (struct test_ff_i_data): Likewise.
22509 (struct test_f_l_data): Likewise.
22510 (struct test_f_L_data): Likewise.
22511 (struct test_sincos_data): Likewise.
22512 (RUN_TEST_f_f): Do not handle ulps.
22513 (RUN_TEST_LOOP_f_f): Likewise.
22514 (RUN_TEST_2_f): Likewise.
22515 (RUN_TEST_LOOP_2_f): Likewise.
22516 (RUN_TEST_fff_f): Likewise.
22517 (RUN_TEST_LOOP_fff_f): Likewise.
22518 (RUN_TEST_c_f): Likewise.
22519 (RUN_TEST_LOOP_c_f): Likewise.
22520 (RUN_TEST_f_f1): Likewise.
22521 (RUN_TEST_LOOP_f_f1): Likewise.
22522 (RUN_TEST_fF_f1): Likewise.
22523 (RUN_TEST_LOOP_fF_f1): Likewise.
22524 (RUN_TEST_fI_f1): Likewise.
22525 (RUN_TEST_LOOP_fI_f1): Likewise.
22526 (RUN_TEST_ffI_f1): Likewise.
22527 (RUN_TEST_LOOP_ffI_f1): Likewise.
22528 (RUN_TEST_c_c): Likewise.
22529 (RUN_TEST_LOOP_c_c): Likewise.
22530 (RUN_TEST_cc_c): Likewise.
22531 (RUN_TEST_LOOP_cc_c): Likewise.
22532 (RUN_TEST_f_i): Likewise.
22533 (RUN_TEST_LOOP_f_i): Likewise.
22534 (RUN_TEST_f_i_tg): Likewise.
22535 (RUN_TEST_LOOP_f_i_tg): Likewise.
22536 (RUN_TEST_ff_i_tg): Likewise.
22537 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22538 (RUN_TEST_f_b): Likewise.
22539 (RUN_TEST_LOOP_f_b): Likewise.
22540 (RUN_TEST_f_b_tg): Likewise.
22541 (RUN_TEST_LOOP_f_b_tg): Likewise.
22542 (RUN_TEST_f_l): Likewise.
22543 (RUN_TEST_LOOP_f_l): Likewise.
22544 (RUN_TEST_f_L): Likewise.
22545 (RUN_TEST_LOOP_f_L): Likewise.
22546 (RUN_TEST_sincos): Likewise.
22547 (RUN_TEST_LOOP_sincos): Likewise.
22548
8269107f
JM
225492013-05-17 Joseph Myers <joseph@codesourcery.com>
22550
bb38759d
JM
22551 [BZ #15480]
22552 [BZ #15485]
22553 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22554 main case of finite arguments, set rounding mode to FE_TONEAREST
22555 and discard exceptions.
22556 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22557 exceptions.
22558 (remainder_tonearest_test_data): New variable.
22559 (remainder_test_tonearest): New function.
22560 (remainder_towardzero_test_data): New variable.
22561 (remainder_test_towardzero): New function.
22562 (remainder_downward_test_data): New variable.
22563 (remainder_test_downward): New function.
22564 (remainder_upward_test_data): New variable.
22565 (remainder_test_upward): New function.
22566 (main): Call the new test functions.
22567
a00bdcf0
JM
22568 * math/libm-test.inc (struct test_f_f1_data): Remove field
22569 extra_init.
22570 (struct test_fF_f1_data): Likewise.
22571 (struct test_ffI_f1_data): Likewise.
22572 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22573 based on value of EXTRA_EXPECTED.
22574 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22575 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22576 EXTRA_VAR based on value of EXTRA_EXPECTED.
22577 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22578 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
22579 EXTRA_VAR based on value of EXTRA_EXPECTED.
22580 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22581 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
22582 EXTRA_VAR based on value of EXTRA_EXPECTED.
22583 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22584 * math/gen-libm-test.pl (parse_args): Don't output initializers
22585 for extra output values.
22586
de407f79
JM
22587 * math/libm-test.inc (check_int): Expect result to be exactly
22588 equal to expected value and do not handle ulps.
22589 (check_long): Likewise.
22590 (check_longlong): Likewise.
22591
8269107f
JM
22592 * math/libm-test.inc (ceil_test_data): Test for "inexact"
22593 exceptions.
22594 (cimag_test_data): Likewise.
22595 (conj_test_data): Likewise.
22596 (copysign_test_data): Likewise.
22597 (cproj_test_data): Likewise.
22598 (creal_test_data): Likewise.
22599 (fabs_test_data): Likewise.
22600 (fdim_test_data): Likewise.
22601 (finite_test_data): Likewise.
22602 (floor_test_data): Likewise.
22603 (fmax_test_data): Likewise.
22604 (fmin_test_data): Likewise.
22605 (fmod_test_data): Likewise.
22606 (fpclassify_test_data): Likewise.
22607 (frexp_test_data): Likewise.
22608 (ilogb_test_data): Likewise.
22609 (isfinite_test_data): Likewise.
22610 (isgreater_test_data): Likewise.
22611 (isgreaterequal_test_data): Likewise.
22612 (isinf_test_data): Likewise.
22613 (isless_test_data): Likewise.
22614 (islessequal_test_data): Likewise.
22615 (islessgreater_test_data): Likewise.
22616 (isnan_test_data): Likewise.
22617 (isnormal_test_data): Likewise.
22618 (issignaling_test_data): Likewise.
22619 (isunordered_test_data): Likewise.
22620 (ldexp_test_data): Likewise.
22621 (lrint_test_data): Likewise.
22622 (lrint_test_data) [TEST_FLOAT]: Disable one test.
22623 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22624 (lrint_tonearest_test_data): Test for "inexact" exceptions.
22625 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22626 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22627 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22628 test input.
22629 (lrint_towardzero_test_data): Test for "inexact" exceptions.
22630 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22631 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22632 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22633 that test input.
22634 (lrint_downward_test_data): Test for "inexact" exceptions.
22635 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22636 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22637 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22638 test input.
22639 (lrint_upward_test_data): Test for "inexact" exceptions.
22640 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22641 test input.
22642 (llrint_test_data): Test for "inexact" exceptions.
22643 (llrint_test_data) [TEST_FLOAT]: Disable one test.
22644 (llrint_tonearest_test_data): Test for "inexact" exceptions.
22645 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22646 (llrint_towardzero_test_data): Test for "inexact" exceptions.
22647 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22648 (llrint_downward_test_data): Test for "inexact" exceptions.
22649 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22650 (llrint_upward_test_data): Test for "inexact" exceptions.
22651 (logb_test_data): Likewise.
22652 (logb_downward_test_data): Likewise.
22653 (nextafter_test_data): Likewise.
22654 (nexttoward_test_data): Likewise.
22655 (remainder_test_data): Likewise.
22656 (remquo_test_data): Likewise.
22657 (scalbn_test_data): Likewise.
22658 (scalbln_test_data): Likewise.
22659 (signbit_test_data): Likewise.
22660 (sqrt_test_data): Likewise.
22661 (significand_test_data): Likewise.
22662
48a18de1
SP
226632013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22664
22665 [BZ #15424]
22666 * benchtests/bench-modf.c (struct args): Mark arg0 as
22667 volatile.
22668 * scripts/bench.pl: Mark members of struct args as volatile.
22669
13d3b41a
AZ
226702013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22671
68191c1d 22672 [BZ # 15497]
13d3b41a
AZ
22673 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22674 negative infinity on POWER6 or lower.
22675 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22676
2848b105
MR
226772013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
22678
22679 [BZ #15442]
22680 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22681 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22682 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22683 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22684 (_FP_SETQNAN): New macro.
22685 (_FP_SETQNAN_SEMIRAW): Likewise.
22686 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22687 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22688 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22689 (FP_EXTEND): Use _FP_FRAC_SNANP.
22690 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22691 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22692 into account.
22693 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22694 New macro.
22695 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22696 Likewise.
22697
323e5cb7
JM
226982013-05-16 Joseph Myers <joseph@codesourcery.com>
22699
c58b274f
JM
22700 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22701 with DIVIDE_BY_ZERO_EXCEPTION.
22702 (gamma_test_data): Likewise.
22703 (lgamma_test_data): Likewise.
22704 (log_test_data): Likewise.
22705 (log10_test_data): Likewise.
22706 (log2_test_data): Likewise.
22707 (tgamma_test_data): Likewise.
22708
0ab34904
JM
22709 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22710 (acos_test_tonearest): Likewise.
22711 (acos_test_towardzero): Likewise.
22712 (acos_test_downward): Likewise.
22713 (acos_test_upward): Likewise.
22714 (acosh_test): Likewise.
22715 (asin_test): Likewise.
22716 (asin_test_tonearest): Likewise.
22717 (asin_test_towardzero): Likewise.
22718 (asin_test_downward): Likewise.
22719 (asin_test_upward): Likewise.
22720 (asinh_test): Likewise.
22721 (atan_test): Likewise.
22722 (atanh_test): Likewise.
22723 (atan2_test): Likewise.
22724 (cabs_test): Likewise.
22725 (cacos_test): Likewise.
22726 (cacosh_test): Likewise.
22727 (casin_test): Likewise.
22728 (casinh_test): Likewise.
22729 (catan_test): Likewise.
22730 (catanh_test): Likewise.
22731 (cbrt_test): Likewise.
22732 (ccos_test): Likewise.
22733 (ccosh_test): Likewise.
22734 (cexp_test): Likewise.
22735 (clog_test): Likewise.
22736 (clog10_test): Likewise.
22737 (cos_test): Likewise.
22738 (cos_test_tonearest): Likewise.
22739 (cos_test_towardzero): Likewise.
22740 (cos_test_downward): Likewise.
22741 (cos_test_upward): Likewise.
22742 (cosh_test): Likewise.
22743 (cosh_test_tonearest): Likewise.
22744 (cosh_test_towardzero): Likewise.
22745 (cosh_test_downward): Likewise.
22746 (cosh_test_upward): Likewise.
22747 (cpow_test): Likewise.
22748 (csin_test): Likewise.
22749 (csinh_test): Likewise.
22750 (csqrt_test): Likewise.
22751 (ctan_test): Likewise.
22752 (ctan_test_tonearest): Likewise.
22753 (ctan_test_towardzero): Likewise.
22754 (ctan_test_downward): Likewise.
22755 (ctan_test_upward): Likewise.
22756 (ctanh_test): Likewise.
22757 (ctanh_test_tonearest): Likewise.
22758 (ctanh_test_towardzero): Likewise.
22759 (ctanh_test_downward): Likewise.
22760 (ctanh_test_upward): Likewise.
22761 (erf_test): Likewise.
22762 (erfc_test): Likewise.
22763 (exp_test): Likewise.
22764 (exp_test_tonearest): Likewise.
22765 (exp_test_towardzero): Likewise.
22766 (exp_test_downward): Likewise.
22767 (exp_test_upward): Likewise.
22768 (exp10_test): Likewise.
22769 (exp2_test): Likewise.
22770 (expm1_test): Likewise.
22771 (fmod_test): Likewise.
22772 (gamma_test): Likewise.
22773 (hypot_test): Likewise.
22774 (j0_test): Likewise.
22775 (j1_test): Likewise.
22776 (jn_test): Likewise.
22777 (lgamma_test): Likewise.
22778 (log_test): Likewise.
22779 (log10_test): Likewise.
22780 (log1p_test): Likewise.
22781 (log2_test): Likewise.
22782 (logb_test_downward): Likewise.
22783 (pow_test): Likewise.
22784 (pow_test_tonearest): Likewise.
22785 (pow_test_towardzero): Likewise.
22786 (pow_test_downward): Likewise.
22787 (pow_test_upward): Likewise.
22788 (remainder_test): Likewise.
22789 (remquo_test): Likewise.
22790 (sin_test): Likewise.
22791 (sin_test_tonearest): Likewise.
22792 (sin_test_towardzero): Likewise.
22793 (sin_test_downward): Likewise.
22794 (sin_test_upward): Likewise.
22795 (sincos_test): Likewise.
22796 (sinh_test): Likewise.
22797 (sinh_test_tonearest): Likewise.
22798 (sinh_test_towardzero): Likewise.
22799 (sinh_test_downward): Likewise.
22800 (sinh_test_upward): Likewise.
22801 (sqrt_test): Likewise.
22802 (tan_test): Likewise.
22803 (tan_test_tonearest): Likewise.
22804 (tan_test_towardzero): Likewise.
22805 (tan_test_downward): Likewise.
22806 (tan_test_upward): Likewise.
22807 (tanh_test): Likewise.
22808 (tgamma_test): Likewise.
22809 (y0_test): Likewise.
22810 (y1_test): Likewise.
22811 (yn_test): Likewise.
22812
323e5cb7
JM
22813 * math/gen-libm-test.pl (adjust_arg): Remove function.
22814 (special_function): Remove argument $in_func. Only handle
22815 generating output for tables of tests, not inside functions.
22816 (parse_args): Likewise.
22817 (generate_testfile): Remove variable $in_func. Update call to
22818 parse_args.
22819 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22820 (MINUS_ZERO_INIT): Rename macro to minus_zero.
22821 (PLUS_INFTY_INIT): Rename macro to plus_infty.
22822 (MINUS_INFTY_INIT): Rename macro to minus_infty.
22823 (QNAN_VALUE_INIT): Rename macro to qnan_value.
22824 (MAX_VALUE_INIT): Rename macro to max_value.
22825 (MIN_VALUE_INIT): Rename macro to min_value.
22826 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22827 (plus_zero): Remove variable.
22828 (minus_zero): Likewise.
22829 (plus_infty): Likewise.
22830 (minus_infty): Likewise.
22831 (qnan_value): Likewise.
22832 (max_value): Likewise.
22833 (min_value): Likewise.
22834 (min_subnorm_value): Likewise.
22835
e054f494
RA
228362013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22837
22838 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22839 uint64_t or uint32_t usage.
22840 * crypt/sha256-block.c: Likewise.
22841 * crypt/sha256-crypt.c: Likewise.
22842 * crypt/sha256.c: Likewise.
22843 * crypt/sha512-block.c: Likewise.
22844 * crypt/sha512-crypt.c: Likewise.
22845 * crypt/sha512.c: Likewise.
22846 * debug/backtrace-tst.c: Likewise.
22847 * debug/pcprofiledump.c: Likewise.
22848 * elf/cache.c: Likewise.
22849 * elf/dl-cache.c: Likewise.
22850 * elf/dl-misc.c: Likewise.
22851 * elf/dl-profile.c: Likewise.
22852 * elf/dl-support.c: Likewise.
22853 * elf/ldconfig.c: Likewise.
22854 * elf/sprof.c: Likewise.
22855 * iconv/dummy-repertoire.c: Likewise.
22856 * iconv/iconv_charmap.c: Likewise.
22857 * iconv/skeleton.c: Likewise.
22858 * iconvdata/8bit-generic.c: Likewise.
22859 * iconvdata/cp737.h: Likewise.
22860 * iconvdata/cp775.h: Likewise.
22861 * iconvdata/ibm1008.h: Likewise.
22862 * iconvdata/ibm1025.h: Likewise.
22863 * iconvdata/ibm1046.h: Likewise.
22864 * iconvdata/ibm1097.h: Likewise.
22865 * iconvdata/ibm1112.h: Likewise.
22866 * iconvdata/ibm1122.h: Likewise.
22867 * iconvdata/ibm1123.h: Likewise.
22868 * iconvdata/ibm1124.h: Likewise.
22869 * iconvdata/ibm1129.h: Likewise.
22870 * iconvdata/ibm1130.h: Likewise.
22871 * iconvdata/ibm1132.h: Likewise.
22872 * iconvdata/ibm1133.h: Likewise.
22873 * iconvdata/ibm1137.h: Likewise.
22874 * iconvdata/ibm1140.h: Likewise.
22875 * iconvdata/ibm1141.h: Likewise.
22876 * iconvdata/ibm1142.h: Likewise.
22877 * iconvdata/ibm1143.h: Likewise.
22878 * iconvdata/ibm1144.h: Likewise.
22879 * iconvdata/ibm1145.h: Likewise.
22880 * iconvdata/ibm1146.h: Likewise.
22881 * iconvdata/ibm1147.h: Likewise.
22882 * iconvdata/ibm1148.h: Likewise.
22883 * iconvdata/ibm1149.h: Likewise.
22884 * iconvdata/ibm1153.h: Likewise.
22885 * iconvdata/ibm1154.h: Likewise.
22886 * iconvdata/ibm1155.h: Likewise.
22887 * iconvdata/ibm1156.h: Likewise.
22888 * iconvdata/ibm1157.h: Likewise.
22889 * iconvdata/ibm1158.h: Likewise.
22890 * iconvdata/ibm1160.h: Likewise.
22891 * iconvdata/ibm1161.h: Likewise.
22892 * iconvdata/ibm1162.h: Likewise.
22893 * iconvdata/ibm1163.h: Likewise.
22894 * iconvdata/ibm1164.h: Likewise.
22895 * iconvdata/ibm1166.h: Likewise.
22896 * iconvdata/ibm1167.h: Likewise.
22897 * iconvdata/ibm12712.h: Likewise.
22898 * iconvdata/ibm1390.h: Likewise.
22899 * iconvdata/ibm1399.h: Likewise.
22900 * iconvdata/ibm16804.h: Likewise.
22901 * iconvdata/ibm4517.h: Likewise.
22902 * iconvdata/ibm4899.h: Likewise.
22903 * iconvdata/ibm4909.h: Likewise.
22904 * iconvdata/ibm4971.h: Likewise.
22905 * iconvdata/ibm5347.h: Likewise.
22906 * iconvdata/ibm803.h: Likewise.
22907 * iconvdata/ibm856.h: Likewise.
22908 * iconvdata/ibm901.h: Likewise.
22909 * iconvdata/ibm902.h: Likewise.
22910 * iconvdata/ibm9030.h: Likewise.
22911 * iconvdata/ibm9066.h: Likewise.
22912 * iconvdata/ibm921.h: Likewise.
22913 * iconvdata/ibm922.h: Likewise.
22914 * iconvdata/ibm9448.h: Likewise.
22915 * iconvdata/isiri-3342.h: Likewise.
22916 * iconvdata/jis0201.h: Likewise.
22917 * include/link.h: Likewise.
22918 * include/netdb.h: Likewise.
22919 * inet/check_native.c: Likewise.
22920 * inet/check_pf.c: Likewise.
22921 * inet/getipv4sourcefilter.c: Likewise.
22922 * inet/getnameinfo.c: Likewise.
22923 * inet/getsourcefilter.c: Likewise.
22924 * inet/htonl.c: Likewise.
22925 * inet/setipv4sourcefilter.c: Likewise.
22926 * inet/setsourcefilter.c: Likewise.
22927 * inet/test-inet6_opt.c: Likewise.
22928 * inet/tst-network.c: Likewise.
22929 * locale/C-collate.c: Likewise.
22930 * locale/C-ctype.c: Likewise.
22931 * locale/C-time.c: Likewise.
22932 * locale/C-translit.h: Likewise.
22933 * locale/loadarchive.c: Likewise.
22934 * locale/programs/3level.h: Likewise.
22935 * locale/programs/charmap.c: Likewise.
22936 * locale/programs/charmap.h: Likewise.
22937 * locale/programs/ld-address.c: Likewise.
22938 * locale/programs/ld-collate.c: Likewise.
22939 * locale/programs/ld-ctype.c: Likewise.
22940 * locale/programs/ld-identification.c: Likewise.
22941 * locale/programs/ld-measurement.c: Likewise.
22942 * locale/programs/ld-messages.c: Likewise.
22943 * locale/programs/ld-monetary.c: Likewise.
22944 * locale/programs/ld-name.c: Likewise.
22945 * locale/programs/ld-numeric.c: Likewise.
22946 * locale/programs/ld-paper.c: Likewise.
22947 * locale/programs/ld-telephone.c: Likewise.
22948 * locale/programs/ld-time.c: Likewise.
22949 * locale/programs/linereader.c: Likewise.
22950 * locale/programs/locale.c: Likewise.
22951 * locale/programs/locarchive.c: Likewise.
22952 * locale/programs/locfile.h: Likewise.
22953 * locale/programs/repertoire.c: Likewise.
22954 * locale/programs/simple-hash.c: Likewise.
22955 * locale/programs/simple-hash.h: Likewise.
22956 * malloc/memusage.c: Likewise.
22957 * malloc/memusagestat.c: Likewise.
22958 * nis/nis_defaults.c: Likewise.
22959 * nis/nis_hash.c: Likewise.
22960 * nis/nis_print.c: Likewise.
22961 * nis/nis_xdr.c: Likewise.
22962 * nscd/connections.c: Likewise.
22963 * nscd/hstcache.c: Likewise.
22964 * nscd/nscd_gethst_r.c: Likewise.
22965 * nscd/nscd_getserv_r.c: Likewise.
22966 * nscd/nscd_helper.c: Likewise.
22967 * nscd/servicescache.c: Likewise.
22968 * nss/makedb.c: Likewise.
22969 * nss/nss_db/db-XXX.c: Likewise.
22970 * nss/nss_db/db-initgroups.c: Likewise.
22971 * nss/nss_db/db-netgrp.c: Likewise.
22972 * nss/nss_files/files-network.c: Likewise.
22973 * nss/nss_files/files-parse.c: Likewise.
22974 * posix/bug-regex5.c: Likewise.
22975 * posix/fnmatch_loop.c: Likewise.
22976 * posix/regcomp.c: Likewise.
22977 * posix/regexec.c: Likewise.
22978 * posix/tst-rfc3484-2.c: Likewise.
22979 * posix/tst-rfc3484-3.c: Likewise.
22980 * posix/tst-rfc3484.c: Likewise.
22981 * resolv/nss_dns/dns-canon.c: Likewise.
22982 * resolv/nss_dns/dns-network.c: Likewise.
22983 * resolv/res_init.c: Likewise.
22984 * resolv/res_mkquery.c: Likewise.
22985 * resolv/tst-aton.c: Likewise.
22986 * stdlib/cxa_atexit.c: Likewise.
22987 * stdlib/cxa_finalize.c: Likewise.
22988 * stdlib/gen-fpioconst.c: Likewise.
22989 * stdlib/strtol_l.c: Likewise.
22990 * string/tst-endian.c: Likewise.
22991 * sunrpc/auth_des.c: Likewise.
22992 * sunrpc/clnt_udp.c: Likewise.
22993 * sunrpc/rtime.c: Likewise.
22994 * sunrpc/svcauth_des.c: Likewise.
22995 * sunrpc/xdr.c: Likewise.
22996 * sunrpc/xdr_intXX_t.c: Likewise.
22997 * sunrpc/xdr_rec.c: Likewise.
22998 * sysdeps/generic/ldconfig.h: Likewise.
22999 * sysdeps/generic/ldsodefs.h: Likewise.
23000 * sysdeps/generic/memusage.h: Likewise.
23001 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23002 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
23003 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
23004 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23005 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23006 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23007 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23008 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23009 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23010 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23011 * sysdeps/posix/getaddrinfo.c: Likewise.
23012 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23013 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23014 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23015 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23016 * sysdeps/powerpc/test-gettimebase.c: Likewise.
23017 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23018 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
23019 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
23020 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23021 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
23022 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23023 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23024 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
23025 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
23026 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
23027 * sysdeps/x86_64/dl-tls.h: Likewise.
23028 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
23029 * time/alt_digit.c: Likewise.
23030 * time/era.c: Likewise.
23031 * wcsmbs/tst-c16c32-1.c: Likewise.
23032
8c75f674
JM
230332013-05-16 Joseph Myers <joseph@codesourcery.com>
23034
23035 * math/libm-test.inc (struct test_sincos_data): New type.
23036 (RUN_TEST_LOOP_sincos): New macro.
23037 (sincos_test_data): New variable.
23038 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
23039
e6e49e59
RH
230402013-05-16 Richard Henderson <rth@redhat.com>
23041
23042 * math/atest-exp2.c (LIMB64): New macro.
23043 (CONSTSZ): New macro.
23044 (mp_exp1, mp_exp_m1, mp_log2): New variables.
23045 (hexdig): Move ...
23046 (print_mpn_fp): ... to function scope.
23047 (read_mpn_hex): Remove.
23048 (get_log2): Remove.
23049 (exp2_mpn): Use mp_log2.
23050 (main): Use mp_exp1.
23051
15c7c18d
JM
230522013-05-16 Joseph Myers <joseph@codesourcery.com>
23053
105a07df
JM
23054 * math/libm-test.inc: Remove comment about not testing "inexact"
23055 exceptions.
23056 (INEXACT_EXCEPTION): New macro.
23057 (NO_INEXACT_EXCEPTION): Likewise.
23058 (INVALID_EXCEPTION_OK): Update value.
23059 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23060 (OVERFLOW_EXCEPTION_OK): Likewise.
23061 (UNDERFLOW_EXCEPTION_OK): Likewise.
23062 (IGNORE_ZERO_INF_SIGN): Likewise.
23063 (ERRNO_UNCHANGED): Likewise.
23064 (ERRNO_EDOM): Likewise.
23065 (ERRNO_ERANGE): Likewise.
23066 (test_exceptions): Handle testing "inexact" exceptions.
23067 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
23068 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
23069 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
23070 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
23071 INEXACT_EXCEPTION.
23072 (rint_towardzero_test_data): Likewise.
23073 (rint_downward_test_data): Likewise.
23074 (rint_upward_test_data): Likewise.
23075
e9eee333
JM
23076 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
23077 with OVERFLOW_EXCEPTION.
23078 (exp10_test_data): Likewise.
23079 (exp2_test_data): Likewise.
23080 (expm1_test_data): Likewise.
23081 (lgamma_test_data): Likewise.
23082 (pow_test_data): Likewise.
23083 (tgamma_test_data): Likewise.
23084 (yn_test_data): Remove duplicate test of overflow.
23085
1c38ff73
JM
23086 * math/libm-test.inc (struct test_cc_c_data): New type.
23087 (RUN_TEST_LOOP_cc_c): New macro.
23088 (cpow_test_data): New variable.
23089 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
23090
15c7c18d
JM
23091 * math/libm-test.inc (struct test_f_L_data): New type.
23092 (RUN_TEST_LOOP_f_L): New macro.
23093 (llrint_test_data): New variable.
23094 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23095 (llrint_tonearest_test_data): New variable.
23096 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23097 (llrint_towardzero_test_data): New variable.
23098 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23099 (llrint_downward_test_data): New variable.
23100 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23101 (llrint_upward_test_data): New variable.
23102 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23103 (llround_test_data): New variable.
23104 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23105
f137ff13
PC
231062013-05-13 Peter Collingbourne <pcc@google.com>
23107
23108 * math/atest-exp2.c (get_log2): Remove const attribute.
23109
3608cb24
JM
231102013-05-15 Joseph Myers <joseph@codesourcery.com>
23111
23112 * math/libm-test.inc (struct test_f_l_data): New type.
23113 (RUN_TEST_LOOP_f_l): New macro.
23114 (lrint_test_data): New variable.
23115 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23116 (lrint_tonearest_test_data): New variable.
23117 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23118 (lrint_towardzero_test_data): New variable.
23119 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23120 (lrint_downward_test_data): New variable.
23121 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23122 (lrint_upward_test_data): New variable.
23123 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23124 (lround_test_data): New variable.
23125 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23126
39b1f617
PC
231272013-05-15 Peter Collingbourne <pcc@google.com>
23128
1deff3dc
PC
23129 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23130 (EXTRACT_WORDS64) Use where appropriate.
23131 (INSERT_WORDS64) Likewise.
23132
791f3ba0
PC
23133 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23134 constraints with x constraints.
23135 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23136
39b1f617
PC
23137 * malloc/obstack.c (_obstack_compat): Add initializer.
23138
12fba011
EM
231392013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
23140
23141 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23142 si_trapno and add si_addr_lsb to _sifields.sigfault.
23143 (si_trapno): Remove macro.
23144 (si_addr_lsb): Define new macro.
23145 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23146
d369f531
JM
231472013-05-15 Joseph Myers <joseph@codesourcery.com>
23148
b861c6c4
JM
23149 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23150 instead of TEST_f_l.
23151 (llrint_test_tonearest): Likewise.
23152 (llrint_test_towardzero): Likewise.
23153 (llrint_test_downward): Likewise.
23154 (llrint_test_upward): Likewise.
23155 (llround_test): Likewise.
23156
7abeee12
JM
23157 * math/libm-test.inc (struct test_f_i_data): Add comment.
23158 (RUN_TEST_LOOP_f_b): New macro.
23159 (RUN_TEST_LOOP_f_b_tg): Likewise.
23160 (finite_test_data): New variable.
23161 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23162 (isfinite_test_data): New variable.
23163 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23164 (isinf_test_data): New variable.
23165 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23166 (isnan_test_data): New variable.
23167 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23168 (isnormal_test_data): New variable.
23169 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23170 (issignaling_test_data): New variable.
23171 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23172 (signbit_test_data): New variable.
23173 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23174
cbe8c4d3
JM
23175 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23176 with INVALID_EXCEPTION.
23177 (acosh_test_data): Likewise.
23178 (asin_test_data): Likewise.
23179 (atanh_test_data): Likewise.
23180 (fmod_test_data): Likewise.
23181 (log_test_data): Likewise.
23182 (log10_test_data): Likewise.
23183 (log2_test_data): Likewise.
23184 (pow_test_data): Likewise.
23185 (sqrt_test_data): Likewise.
23186 (y0_test_data): Likewise.
23187 (y1_test_data): Likewise.
23188 (yn_test_data): Likewise.
23189
5575c0e5
JM
23190 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23191 function contents.
23192
d369f531
JM
23193 * math/libm-test.inc (struct test_ff_i_data): New type.
23194 (RUN_TEST_LOOP_ff_i_tg): New macro.
23195 (isgreater_test_data): New variable.
23196 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23197 (isgreaterequal_test_data): New variable.
23198 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23199 (isless_test_data): New variable.
23200 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23201 (islessequal_test_data): New variable.
23202 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23203 (islessgreater_test_data): New variable.
23204 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23205 (isunordered_test_data): New variable.
23206 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23207
781fd748
DM
232082013-05-14 David S. Miller <davem@davemloft.net>
23209
23210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23211
87aa21df
JM
232122013-05-14 Joseph Myers <joseph@codesourcery.com>
23213
5e908270
JM
23214 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23215
f71172e5
JM
23216 * math/libm-test.inc (struct test_fF_f1_data): Change type of
23217 extra_test to int.
23218 (struct test_f_i_data): Change type of max_ulp to int.
23219
8cfa635a
JM
23220 * math/libm-test.inc (test_ffI_f1_data): New type.
23221 (RUN_TEST_LOOP_ffI_f1): New macro.
23222 (remquo_test_data): New variable.
23223 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23224
2bcb36b2
JM
23225 * setjmp/tst-setjmp-fp.c: New file.
23226 * setjmp/Makefile (tests): Add tst-setjmp-fp.
23227 (link-libm): New variable.
23228 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23229
acbd839a
JM
23230 * math/libm-test.inc (struct test_f_i_data): New type.
23231 (RUN_TEST_LOOP_f_i): New macro.
23232 (RUN_TEST_LOOP_f_i_tg): Likewise.
23233 (fpclassify_test_data): New variable.
23234 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23235 (ilogb_test_data): New variable.
23236 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23237
e414d745
JM
23238 * math/libm-test.inc (scalbln_test): Correct function name in END
23239 call.
23240
d9c2a0fd
JM
23241 * math/libm-test.inc (struct test_f_f1_data): Add comment.
23242 (RUN_TEST_LOOP_fI_f1): New macro.
23243 (frexp_test_data): New variable.
23244 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23245
9dc9095d
JM
23246 * math/libm-test.inc (struct test_fF_f1_data): New type.
23247 (RUN_TEST_LOOP_fF_f1): New macro.
23248 (modf_test_data): New variable.
23249 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23250
87aa21df
JM
23251 * math/libm-test.inc (struct test_f_f1_data): New type.
23252 (RUN_TEST_LOOP_f_f1): New macro.
23253 (gamma_test_data): New variable.
23254 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23255 (lgamma_test_data): New variable.
23256 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23257
141af660
CD
232582013-05-13 Carlos O'Donell <carlos@redhat.com>
23259
23260 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23261 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23262 (main): Comment "tls" pseudo-hwcap.
23263
6d33265c
JM
232642013-05-13 Joseph Myers <joseph@codesourcery.com>
23265
68fc074c
JM
23266 * math/libm-test.inc (struct test_fl_f_data): New type.
23267 (RUN_TEST_LOOP_fl_f): New variable.
23268 (scalbln_test_data): New variable.
23269 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23270
243216e1
JM
23271 * math/libm-test.inc (struct test_fi_f_data): New type.
23272 (RUN_TEST_LOOP_fi_f): New macro.
23273 (ldexp_test_data): New variable.
23274 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23275 (scalbn_test_data): New variable.
23276 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23277
6a1992e2
JM
23278 * math/libm-test.inc (struct test_c_f_data): New type.
23279 (RUN_TEST_LOOP_c_f): New macro.
23280 (cabs_test_data): New variable.
23281 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23282 (carg_test_data): New variable.
23283 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23284 (cimag_test_data): New variable.
23285 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23286 (creal_test_data): New variable.
23287 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23288
0e400df5
JM
23289 * math/libm-test.inc (struct test_if_f_data): New type.
23290 (RUN_TEST_LOOP_if_f): New macro.
23291 (jn_test_data): New variable.
23292 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23293 (yn_test_data): New variable.
23294 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23295
6d33265c
JM
23296 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23297
f98ece5f
AZ
232982013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23299
23300 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23301 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23302
0f7d347b
SP
233032013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23304
43fe811b
SP
23305 * benchtests/Makefile (CPPFLAGS-nonlib): Add
23306 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23307 (bench-deps): Add bench-timing.h.
23308 * benchtests-bench-skeleton.c: Include bench-timing.h.
23309 (main): Use TIMING_* macros instead of clock_gettime.
23310 * benchtests/bench-timing.h: New file.
23311
0f7d347b
SP
23312 [BZ #14582]
23313 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23314 Renamed from _LIB_VERSION.
23315 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23316
601a3a5f
JM
233172013-05-12 Joseph Myers <joseph@codesourcery.com>
23318
4f184d30
JM
23319 * math/libm-test.inc (struct test_fff_f_data): New type.
23320 (RUN_TEST_LOOP_fff_f): New macro.
23321 (fma_test_data): New variable.
23322 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23323 (fma_towardzero_test_data): New variable.
23324 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23325 (fma_downward_test_data): New variable.
23326 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23327 (fma_upward_test_data): New variable.
23328 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23329
08198877
JM
23330 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23331 (struct test_c_c_data): New type.
23332 (RUN_TEST_LOOP_c_c): New macro.
23333 (cacos_test_data): New variable.
23334 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23335 (cacosh_test_data): New variable.
23336 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23337 (casin_test_data): New variable.
23338 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23339 (casinh_test_data): New variable.
23340 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23341 (catan_test_data): New variable.
23342 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23343 (catanh_test_data): New variable.
23344 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23345 (ccos_test_data): New variable.
23346 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23347 (ccosh_test_data): New variable.
23348 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23349 (cexp_test_data): New variable.
23350 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23351 (clog_test_data): New variable.
23352 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23353 (clog10_test_data): New variable.
23354 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23355 (conj_test_data): New variable.
23356 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23357 (cproj_test_data): New variable.
23358 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23359 (csin_test_data): New variable.
23360 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23361 (csinh_test_data): New variable.
23362 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23363 (csqrt_test_data): New variable.
23364 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23365 (ctan_test_data): New variable.
23366 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23367 (ctan_tonearest_test_data): New variable.
23368 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23369 (ctan_towardzero_test_data): New variable.
23370 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23371 (ctan_downward_test_data): New variable.
23372 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23373 (ctan_upward_test_data): New variable.
23374 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23375 (ctanh_test_data): New variable.
23376 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23377 (ctanh_tonearest_test_data): New variable.
23378 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23379 (ctanh_towardzero_test_data): New variable.
23380 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23381 (ctanh_downward_test_data): New variable.
23382 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23383 (ctanh_upward_test_data): New variable.
23384 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23385 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23386 of BUILD_COMPLEX.
23387
601a3a5f
JM
23388 * math/libm-test.inc (struct test_ff_f_data): New type.
23389 (struct test_ff_f_data_nexttoward): Likewise.
23390 (RUN_TEST_LOOP_2_f): New macro.
23391 (RUN_TEST_LOOP_ff_f): Likewise.
23392 (atan2_test_data): New variable.
23393 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23394 (copysign_test_data): New variable.
23395 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23396 (fdim_test_data): New variable.
23397 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23398 (fmax_test_data): New variable.
23399 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23400 (fmin_test_data): New variable.
23401 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23402 (fmod_test_data): New variable.
23403 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23404 (hypot_test_data): New variable.
23405 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23406 (nextafter_test_data): New variable.
23407 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23408 (nexttoward_test_data): New variable.
23409 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23410 (pow_test_data): New variable.
23411 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23412 (pow_tonearest_test_data): New variable.
23413 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23414 (pow_towardzero_test_data): New variable.
23415 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23416 (pow_downward_test_data): New variable.
23417 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23418 (pow_upward_test_data): New variable.
23419 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23420 (remainder_test_data): New variable.
23421 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23422 (scalb_test_data): New variable.
23423 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23424 * sysdeps/i386/fpu/libm-test-ulps: Update.
23425
74c57478
JM
234262013-05-11 Joseph Myers <joseph@codesourcery.com>
23427
8329e4da
JM
23428 * math/libm-test.inc (fma_test): Use max_value instead of local
23429 variable fltmax.
23430 (nextafter_test): Likewise.
23431
74c57478
JM
23432 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23433 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23434 (acos_downward_test_data): New variable.
23435 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23436 (acos_upward_test_data): New variable.
23437 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23438 (acosh_test_data): New variable.
23439 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23440 (asin_test_data): New variable.
23441 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23442 (asin_tonearest_test_data): New variable.
23443 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23444 (asin_towardzero_test_data): New variable.
23445 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23446 (asin_downward_test_data): New variable.
23447 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23448 (asin_upward_test_data): New variable.
23449 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23450 (asinh_test_data): New variable.
23451 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23452 (atan_test_data): New variable.
23453 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23454 (atanh_test_data): New variable.
23455 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23456 (cbrt_test_data): New variable.
23457 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23458 (ceil_test_data): New variable.
23459 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23460 (cos_test_data): New variable.
23461 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23462 (cos_tonearest_test_data): New variable.
23463 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23464 (cos_towardzero_test_data): New variable.
23465 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23466 (cos_downward_test_data): New variable.
23467 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23468 (cos_upward_test_data): New variable.
23469 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23470 (cosh_test_data): New variable.
23471 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23472 (cosh_tonearest_test_data): New variable.
23473 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23474 (cosh_towardzero_test_data): New variable.
23475 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23476 (cosh_downward_test_data): New variable.
23477 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23478 (cosh_upward_test_data): New variable.
23479 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23480 (erf_test_data): New variable.
23481 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23482 (erfc_test_data): New variable.
23483 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23484 (exp_test_data): New variable.
23485 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23486 (exp_tonearest_test_data): New variable.
23487 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23488 (exp_towardzero_test_data): New variable.
23489 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23490 (exp_downward_test_data): New variable.
23491 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23492 (exp_upward_test_data): New variable.
23493 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23494 (exp10_test_data): New variable.
23495 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23496 (exp2_test_data): New variable.
23497 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23498 (expm1_test_data): New variable.
23499 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23500 (fabs_test_data): New variable.
23501 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23502 (floor_test_data): New variable.
23503 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23504 (j0_test_data): New variable.
23505 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23506 (j1_test_data): New variable.
23507 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23508 (log_test_data): New variable.
23509 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23510 (log10_test_data): New variable.
23511 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23512 (log1p_test_data): New variable.
23513 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23514 (log2_test_data): New variable.
23515 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23516 (logb_test_data): New variable.
23517 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23518 (logb_downward_test_data): New variable.
23519 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23520 (nearbyint_test_data): New variable.
23521 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23522 (rint_test_data): New variable.
23523 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23524 (rint_tonearest_test_data): New variable.
23525 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23526 (rint_towardzero_test_data): New variable.
23527 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23528 (rint_downward_test_data): New variable.
23529 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23530 (rint_upward_test_data): New variable.
23531 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23532 (round_test_data): New variable.
23533 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23534 (sin_test_data): New variable.
23535 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23536 (sin_tonearest_test_data): New variable.
23537 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23538 (sin_towardzero_test_data): New variable.
23539 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23540 (sin_downward_test_data): New variable.
23541 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23542 (sin_upward_test_data): New variable.
23543 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23544 (sinh_test_data): New variable.
23545 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23546 (sinh_tonearest_test_data): New variable.
23547 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23548 (sinh_towardzero_test_data): New variable.
23549 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23550 (sinh_downward_test_data): New variable.
23551 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23552 (sinh_upward_test_data): New variable.
23553 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23554 (sqrt_test_data): New variable.
23555 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23556 (tan_test_data): New variable.
23557 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23558 (tan_tonearest_test_data): New variable.
23559 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23560 (tan_towardzero_test_data): New variable.
23561 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23562 (tan_downward_test_data): New variable.
23563 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23564 (tan_upward_test_data): New variable.
23565 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23566 (tanh_test_data): New variable.
23567 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23568 (tgamma_test_data): New variable.
23569 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23570 (trunc_test_data): New variable.
23571 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23572 (y0_test_data): New variable.
23573 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23574 (y1_test_data): New variable.
23575 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23576 (significand_test_data): New variable.
23577 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23578
7187d844
CG
235792013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
23580
23581 [BZ #12387]
23582 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23583
f63fae73
PT
235842013-05-10 Pino Toscano <toscano.pino@tiscali.it>
23585
23586 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23587
8a67a4b3
AJ
235882013-05-10 Andreas Jaeger <aj@suse.de>
23589
23590 [BZ #15448]
23591 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23592 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23593
51df539d
JM
235942013-05-10 Joseph Myers <joseph@codesourcery.com>
23595
23596 * math/gen-libm-test.pl (adjust_arg): New function.
23597 (special_functions): Handle generating output in both functions
23598 and arrays.
23599 (parse_args): Likewise.
23600 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
23601 $in_func argument to parse_args.
23602 * math/libm-test.inc (struct test_f_f_data): New type.
23603 (IF_ROUND_INIT_): New macro.
23604 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23605 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23606 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23607 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23608 (ROUND_RESTORE_): Likewise.
23609 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23610 (ROUND_RESTORE_FE_TONEAREST): Likewise.
23611 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23612 (ROUND_RESTORE_FE_UPWARD): Likewise.
23613 (RUN_TEST_LOOP_f_f): New macro.
23614 (acos_test_data): New variable.
23615 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23616 (acos_tonearest_test_data): New variable.
23617 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23618
5c637fe5
SP
236192013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23620
23621 * benchtests/bench-skeleton.c (startup): Fix coding style.
23622
ab2b9461
JM
236232013-05-10 Joseph Myers <joseph@codesourcery.com>
23624
23625 [BZ #6809]
23626 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23627 negative infinity argument.
23628 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23629 negative infinity argument.
23630 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23631 negative infinity argument.
23632 * math/libm-test.inc (tgamma_test): Expect errno to be set for
23633 domain errors.
23634
4c0fe6fe
FW
236352013-05-10 Florian Weimer <fweimer@redhat.com>
23636
23637 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23638 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23639 * iconv/iconv_prog.c (main): Likewise.
23640 * locale/programs/charmap-dir.c (charmap_readdir)
23641 (fopen_uncompressed): Likewise.
23642 * locale/programs/locfile.c (siblings_uncached)
23643 (write_locale_data): Use lstat64 instead of lstat.
23644 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23645 stat.
23646
a3375d29
AJ
236472013-05-10 Andreas Jaeger <aj@suse.de>
23648
23649 [BZ #15395]
23650 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23651 localization.
23652 Include <locale.h>.
23653
36129722
CD
236542013-05-09 Carlos O'Donell <carlos@redhat.com>
23655
23656 * elf/dl-close.c (_dl_close_worker): Add comments.
23657
faa7f811
JM
236582013-05-09 Joseph Myers <joseph@codesourcery.com>
23659
ed41ffef
JM
23660 [BZ #15359]
23661 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23662 high part of pi/2.
23663 (__ieee754_rem_pio2l): Update comments.
23664
d0213cd0
JM
23665 [BZ #15429]
23666 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23667 high part of pi/2.
23668 (__ieee754_rem_pio2l): Update comments.
23669
0d3e777a
JM
23670 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23671 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23672
24f56066
JM
23673 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23674 M_PI_4l.
23675
faa7f811
JM
23676 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23677 (M_PI_34_LOG10El): Likewise.
23678 (M_PI2_LOG10El): Likewise.
23679 (M_PI4_LOG10El): Likewise.
23680 (M_PI_LOG10El): Likewise.
23681
e9a5e0fd
AZ
236822013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23683
23684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23685
d8cd06db
JM
236862013-05-08 Joseph Myers <joseph@codesourcery.com>
23687
a0d9f9d7
JM
23688 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23689 (MINUS_ZERO_INIT): Likewise.
23690 (PLUS_INFTY_INIT): Likewise.
23691 (MINUS_INFTY_INIT): Likewise.
23692 (QNAN_VALUE_INIT): Likewise.
23693 (MAX_VALUE_INIT): Likewise.
23694 (MIN_VALUE_INIT): Likewise.
23695 (MIN_SUBNORM_VALUE_INIT): Likewise.
23696 (plus_zero): Initialize with PLUS_ZERO_INIT.
23697 (minus_zero): Initialize with MINUS_ZERO_INIT.
23698 (plus_infty): Initialize with PLUS_INFTY_INIT.
23699 (minus_infty): Initialize with MINUS_INFTY_INIT.
23700 (qnan_value): Initialize with QNAN_VALUE_INIT.
23701 (max_value): Initialize with MAX_VALUE_INIT.
23702 (min_value): Initialize with MIN_VALUE_INIT.
23703 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23704
ae08db3b
JM
23705 * math/libm-test.inc (RUN_TEST_if_f): New macro.
23706 (jn_test): Use TEST_if_f instead of TEST_ff_f.
23707 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23708 (yn_test): Use TEST_if_f instead of TEST_ff_f.
23709
f44bf14a
JM
23710 * math/libm-test.inc (RUN_TEST_f_f): New macro.
23711 (RUN_TEST_2_f): Likewise.
23712 (RUN_TEST_ff_f): Likewise.
23713 (RUN_TEST_fi_f): Likewise.
23714 (RUN_TEST_fl_f): Likewise.
23715 (RUN_TEST_fff_f): Likewise.
23716 (RUN_TEST_c_f): Likewise.
23717 (RUN_TEST_f_f1): Likewise.
23718 (RUN_TEST_fF_f1): Likewise.
23719 (RUN_TEST_fI_f1): Likewise.
23720 (RUN_TEST_ffI_f1): Likewise.
23721 (RUN_TEST_c_c): Likewise.
23722 (RUN_TEST_cc_c): Likewise.
23723 (RUN_TEST_f_i): Likewise.
23724 (RUN_TEST_f_i_tg): Likewise.
23725 (RUN_TEST_ff_i_tg): Likewise.
23726 (RUN_TEST_f_b): Likewise.
23727 (RUN_TEST_f_b_tg): Likewise.
23728 (RUN_TEST_f_l): Likewise.
23729 (RUN_TEST_f_L): Likewise.
23730 (RUN_TEST_sincos): Likewise.
23731 * math/gen-libm-test.pl (new_test): Take new argument to indicate
23732 whether to show exceptions. Do not include ");\n" in return
23733 value.
23734 (special_functions): Output call to RUN_TEST_sincos instead of
23735 check_float calls. Update calls to new_test.
23736 (parse_args): Output call to single RUN_TEST_* macro instead of
23737 check_* calls and other assignments. Update calls to new_test.
23738
d8cd06db
JM
23739 [BZ #2546]
23740 [BZ #2560]
23741 [BZ #5159]
23742 [BZ #15426]
23743 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23744 input to result for tgamma overflow.
23745 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23746 (gamma_coeff): New variable.
23747 (NCOEFF): New macro.
23748 (gamma_positive): New function.
23749 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23750 underflow here. Use gamma_positive instead of exp (lgamma) for
23751 other arguments.
23752 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23753 (gamma_coeff): New variable.
23754 (NCOEFF): New macro.
23755 (gammaf_positive): New function.
23756 (__ieee754_gammaf_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-128/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, NaN, overflow and
23764 underflow here. Use gamma_positive instead of exp (lgamma) for
23765 other arguments.
23766 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23767 (gamma_coeff): New variable.
23768 (NCOEFF): New macro.
23769 (gammal_positive): New function.
23770 (__ieee754_gammal_r): Handle positive infinity, overflow and
23771 underflow here. Handle NaN the same as positive infinity. Remove
23772 check x < 0xffffffff for negative integers. Use gamma_positive
23773 instead of exp (lgamma) for other arguments.
23774 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23775 (gamma_coeff): New variable.
23776 (NCOEFF): New macro.
23777 (gammal_positive): New function.
23778 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23779 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23780 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23781 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23782 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23783 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23784 * sysdeps/generic/math_private.h (__gamma_productf): New
23785 prototype.
23786 (__gamma_product): Likewise.
23787 (__gamma_productl): Likewise.
23788 * math/Makefile (libm-calls): Add gamma_product.
23789 * math/libm-test.inc (tgamma_test): Add more tests.
23790 * sysdeps/i386/fpu/libm-test-ulps: Update.
23791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23792
bb7cf681
OB
237932013-05-08 Ondřej Bílka <neleai@seznam.cz>
23794
23795 * benchtests/bench-skeleton.c (main): Preheat CPU.
23796
ba853947
AJ
237972013-05-07 Aurelien Jarno <aurelien@aurel32.net>
23798
23799 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23800
8347c74c
RM
238012013-05-07 Roland McGrath <roland@hack.frob.com>
23802
23803 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23804 and _dl_skip_args_internal.
23805
e8dd4791
CD
238062013-05-07 Carlos O'Donell <carlos@redhat.com>
23807
23808 * manual/message.texi (Message Translation): Talk about users.
23809 Message to key mapping impacts design.
23810
c7405830
RM
238112013-05-06 Roland McGrath <roland@hack.frob.com>
23812
a9173057
RM
23813 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23814
976e2f03
RM
23815 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23816
9723ffc5
RM
23817 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23818 * sysdeps/wordsize-64/glob64.c: ... here.
23819
962e6658
RM
23820 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23821 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23822 New macros.
23823
ee586a6d
RM
23824 * debug/getlogin_r_chk.c: Moved to ...
23825 * login/getlogin_r_chk.c: ... here.
23826 * debug/Makefile (routines): Move getlogin_r_chk to ...
23827 * login/Makefile (routines): ... here.
23828 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23829 * login/Versions (libc: GLIBC_2.4): ... here.
23830
355f9165
RM
23831 * io/poll.c (__poll): Renamed from poll.
23832 Add libc_hidden_def.
23833 (poll): Define as weak alias.
23834
bd9ffde6
RM
23835 * debug/ptsname_r_chk.c: Moved to ...
23836 * login/ptsname_r_chk.c: ... here.
23837 * debug/Makefile (routines): Move ptsname_r_chk to ...
23838 * login/Makefile (routines): ... here.
23839 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23840 * login/Versions (libc: GLIBC_2.4): ... here.
23841
8fb16a04
RM
23842 * posix/getlogin.c: Moved to ...
23843 * login/getlogin.c: ... here.
23844 * posix/getlogin_r.c: Moved to ...
23845 * login/getlogin_r.c: ... here.
23846 * posix/getlogin_r.c: Moved to ...
23847 * login/getlogin_r.c: ... here.
23848 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23849 * login/Makefile (routines): ... here.
23850 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23851 * login/Versions (libc: GLIBC_2.0): ... here.
23852
b99b892f
RM
23853 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23854 (setrlimit): Define as weak alias.
23855
c7405830
RM
23856 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23857 Call __ names for open, ftruncate, and close.
23858 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23859 (truncate): Define as weak alias.
23860
5bf96de5
JM
238612013-05-06 Joseph Myers <joseph@codesourcery.com>
23862
9ea3513c
JM
23863 * math/gen-libm-test.pl (parse_args): Initialize x before each
23864 test of frexp, modf and remquo.
23865
5bf96de5
JM
23866 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23867 test signgam value.
23868
16e616a7
AZ
238692013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23870
23871 [BZ #15418]
23872 [BZ #15419]
23873 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23874 internal tests.
23875 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23876
d5e82754
RM
238772013-05-06 Roland McGrath <roland@hack.frob.com>
23878
23879 * elf/dl-writev.h: New file.
23880 * elf/dl-misc.c: Include it.
23881 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23882 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23883
a7548d41
JM
238842013-05-04 Joseph Myers <joseph@codesourcery.com>
23885
b7dab1e4
JM
23886 * math/libm-test.inc (noXFails): Remove variable.
23887 (noXPasses): Likewise.
23888 (BUILD_COMPLEX_INT): Remove macro.
23889 (print_screen): Remove xfail argument.
23890 (print_screen_max_error): Likewise.
23891 (update_stats): Likewise.
23892 (print_max_error): Likewise. Update calls to other affected
23893 functions.
23894 (print_complex_max_error): Likewise.
23895 (test_single_exception): Update calls to print_screen.
23896 (test_single_errno): Likewise.
23897 (check_float_internal): Remove xfail argument. Update calls to
23898 other affected functions.
23899 (check_float): Likewise.
23900 (check_complex): Likewise.
23901 (check_int): Likewise.
23902 (check_long): Likewise.
23903 (check_bool): Likewise.
23904 (check_longlong): Likewise.
23905 (main): Don't print noXFails and noXPasses.
23906 * math/gen-libm-test.pl (top level): Don't mention expected
23907 failure handling in comment.
23908 (new_test): Don't handle expected failures.
23909 (parse_args): Don't mention expected failure handling in comment.
23910 (generate_testfile): Don't handle expected failures.
23911 (parse_ulps): Likewise.
23912 (print_ulps_file): Likewise.
23913 (get_failure): Remove function.
23914 (output_test): Don't handle expected failures.
23915 * make/README.libm-test: Don't mention expected failure handling.
23916
a7548d41
JM
23917 * math/libm-test.inc (plus_zero): Make const. Add initializer.
23918 (minus_zero): Likewise.
23919 (plus_infty): Likewise.
23920 (minus_infty): Likewise.
23921 (qnan_value): Likewise.
23922 (max_value): Likewise.
23923 (min_value): Likewise.
23924 (min_subnorm_value): Likewise.
23925 (initialize): Do not initialize those variables dynamically.
23926
60bfd54c
RM
239272013-05-03 Roland McGrath <roland@hack.frob.com>
23928
cc0e6ed8
RM
23929 * io/open.c (__open_2): Moved to ...
23930 * io/open_2.c: ... this new file.
23931 * io/open64.c (__open64_2): Moved to ...
23932 * io/open64_2.c: ... this new file.
23933 * io/openat.c (__openat_2): Moved to ...
23934 * io/openat_2.c: ... this new file.
23935 * io/openat64.c (__openat64_2): Moved to ...
23936 * io/openat64_2.c: ... this new file.
23937 * io/Makefile (routines): Add them.
23938 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23939 * sysdeps/unix/sysv/linux/open_2.c: File removed.
23940 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23941 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23942 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23943 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23944 (__openat64): Add hidden_ver.
23945 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23946 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
23947
60bfd54c
RM
23948 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
23949 Separately conditionalize setting of GLRO(dl_sysinfo) so
23950 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
23951 as well, but the actual setting is only under [NEED_DL_SYSINFO].
23952
83e7640f
AZ
239532013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23954
23955 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
23956 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
23957 definition.
23958 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
23959 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23960 (_libc_vdso_platform_setup): Add __vdso_time initialization.
23961 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
23962 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
23963
d5dc2af3
JM
239642013-05-03 Joseph Myers <joseph@codesourcery.com>
23965
c31a5b1e
JM
23966 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23967 test signgam value.
23968
d5dc2af3
JM
23969 * math/libm-test.inc (hypot_test): Do not use
23970 IGNORE_ZERO_INF_SIGN.
23971
164fd39d
AJ
239722013-05-03 Andreas Jaeger <aj@suse.de>
23973
23974 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23975 Linux 3.9.
23976 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23977 (PF_MAX): Adjust for VSOCK change.
23978
8237f48c
AZ
239792013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23980
23981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23982
9df02941
CD
239832013-05-02 Carlos O'Donell <carlos@redhat.com>
23984
23985 [BZ #15264]
23986 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23987 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23988 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23989
d422395e
DM
239902013-05-02 David S. Miller <davem@davemloft.net>
23991
23992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23993
a07c5731
OB
239942013-05-01 Ondřej Bílka <neleai@seznam.cz>
23995
23996 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23997
1324e37f
RM
239982013-05-01 Roland McGrath <roland@hack.frob.com>
23999
24000 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
24001
0695940b
RS
240022013-05-01 Richard Smith <richard@metafoo.co.uk>
24003
bb5f27ad 24004 [BZ #14952]
0695940b
RS
24005 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
24006 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24007 Use __attribute__ ((__gnu_inline__)).
24008 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24009 Don't use __attribute__ ((__gnu_inline__)).
24010
10de07f5
JM
240112013-05-01 Joseph Myers <joseph@codesourcery.com>
24012
24013 [BZ #15423]
24014 * math/s_catan.c (__catan): Handle small real or imaginary part of
24015 input specially to avoid spurious underflow.
24016 * math/s_catanf.c (__catanf): Likewise.
24017 * math/s_catanh.c (__catanh): Likewise.
24018 * math/s_catanhf.c (__catanhf): Likewise.
24019 * math/s_catanhl.c (__catanhl): Likewise.
24020 * math/s_catanl.c (__catanl): Likewise.
24021 * math/libm-test.inc (catan_test): Add more tests.
24022 (catanh_test): Likewise.
24023 * sysdeps/i386/fpu/libm-test-ulps: Update.
24024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24025
cb4d5414
AZ
240262013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24027
24028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24029
caf84319
JM
240302013-04-30 Joseph Myers <joseph@codesourcery.com>
24031
24032 [BZ #15416]
24033 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
24034 accurately for denominator in atan2.
24035 * math/s_catanf.c (__catanf): Likewise.
24036 * math/s_catanh.c (__catanh): Likewise.
24037 * math/s_catanhf.c (__catanhf): Likewise.
24038 * math/s_catanhl.c (__catanhl): Likewise.
24039 * math/s_catanl.c (__catanl): Likewise.
24040 * math/libm-test.inc (catan_test): Add more tests.
24041 (catanh_test): Likewise.
24042 * sysdeps/i386/fpu/libm-test-ulps: Update.
24043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24044
d569c6ee
SP
240452013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24046
6dbe713d
SP
24047 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
24048
f0ee064b
SP
24049 * benchtests/Makefile (bench): Remove slow benchmarks.
24050 * benchtests/atan-inputs: Add slow benchmark inputs.
24051 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
24052 (BENCH_FUNC): Accept variant offset.
24053 (VARIANT): Define.
24054 * benchtests/bench-skeleton.c (main): Run benchmark for each
24055 variant.
24056 * benchtests/cos-inputs: Add slow benchmark inputs.
24057 * benchtests/exp-inputs: Likewise.
24058 * benchtests/pow-inputs: Likewise.
24059 * benchtests/sin-inputs: Likewise.
24060 * benchtests/slowatan-inputs: Remove.
24061 * benchtests/slowatan.c: Remove.
24062 * benchtests/slowcos-inputs: Remove.
24063 * benchtests/slowcos.c: Remove.
24064 * benchtests/slowexp-inputs: Remove.
24065 * benchtests/slowexp.c: Remove.
24066 * benchtests/slowpow-inputs: Remove.
24067 * benchtests/slowpow.c: Remove.
24068 * benchtests/slowsin-inputs: Remove.
24069 * benchtests/slowsin.c: Remove.
24070 * benchtests/slowtan-inputs: Remove.
24071 * benchtests/slowtan.c: Remove.
24072 * benchtests/tan-inputs: Add slow benchmark inputs.
24073 * scripts/bench.pl: Parse comments and directives.
24074
d569c6ee
SP
24075 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
24076 in CPPFLAGS.
24077 ($(objpfx)bench-%.c): Remove *-ITER.
24078 * benchtests/bench-modf.c: Remove definition of ITER.
24079 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
24080 (main): Loop for DURATION seconds instead of fixed number of
24081 iterations.
24082 * scripts/bench.pl: Don't expect iterations in parameters.
24083
a6a242fe
RM
240842013-04-29 Roland McGrath <roland@hack.frob.com>
24085
24086 * io/fchdir.c (__fchdir): Renamed from fchdir.
24087 (fchdir): Define as weak alias.
24088
f2da7793
JM
240892013-04-29 Joseph Myers <joseph@codesourcery.com>
24090
24091 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
24092 (ERRNO_EDOM): Likewise.
24093 (ERRNO_ERANGE): Likewise.
24094 (noErrnoTests): New variable.
24095 (init_max_error): Set errno to 0.
24096 (test_single_errno): New function.
24097 (test_errno): Likewise.
24098 (check_float_internal): Call test_errno. Set errno to 0.
24099 (check_complex): Refer to errno tests in comment.
24100 (check_int): Call test_errno. Set errno to 0.
24101 (check_long): Likewise.
24102 (check_bool): Likewise.
24103 (check_longlong): Likewise.
24104 (cos_test): Use ERRNO_* flags for errno tests instead of
24105 check_int.
24106 (expm1_test): Likewise.
24107 (fmod_test): Likewise.
24108 (ilogb_test): Likewise.
24109 (lgamma_test): Likewise.
24110 (pow_test): Likewise.
24111 (remainder_test): Likewise.
24112 (sin_test): Likewise.
24113 (tan_test): Likewise.
24114 (yn_test): Likewise.
24115 (initialize): Set errno to 0.
24116 (main): Print number of errno tests.
24117 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24118
b1a36ceb
AJ
241192013-04-29 Andreas Jaeger <aj@suse.de>
24120
c3ed8088
AJ
24121 [BZ #15084]
24122 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24123 and RES_USEVC.
24124
f1a24198
AJ
24125 [BZ #15085]
24126 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24127 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24128 unimplemented.
24129
9ce3b2cb
AJ
24130 [BZ #15380]
24131 * stdlib/random.c (__initstate): Return NULL if
24132 __initstate fails.
24133
f1a24198 24134 [BZ #15086]
b1a36ceb
AJ
24135 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24136 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24137 RES_SNGLKUPREOP.
24138
7e7b6f36
AZ
241392013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24140
24141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24142
4d14f449
JM
241432013-04-29 Joseph Myers <joseph@codesourcery.com>
24144
24145 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24146 of individual tests.
24147 (casin_test): Likewise.
24148 (casinh_test): Likewise.
24149
5b4217d7
JM
241502013-04-27 Joseph Myers <joseph@codesourcery.com>
24151
24152 [BZ #15409]
24153 * math/s_catan.c (__catan): Handle arguments with large real or
24154 imaginary part separately without squaring.
24155 * math/s_catanf.c (__catanf): Likewise.
24156 * math/s_catanh.c (__catanh): Likewise.
24157 * math/s_catanhf.c (__catanhf): Likewise.
24158 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24159 and redefine.
24160 (__catanhl): Handle arguments with large real or imaginary part
24161 separately without squaring.
24162 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24163 and redefine.
24164 (__catanl): Handle arguments with large real or imaginary part
24165 separately without squaring.
24166 * math/libm-test.inc (catan_test): Add more tests.
24167 (catanh_test): Likewise.
24168 * sysdeps/i386/fpu/libm-test-ulps: Update.
24169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24170
4220c3ef
AJ
241712013-04-27 Andreas Jaeger <aj@suse.de>
24172
24173 [BZ #15007]
24174 * stdlib/stdlib.h: Update guards for qecvt.
24175 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24176 <stdlib.h>.
24177
4721b2d1
AM
241782013-04-27 Allan McRae <allan@archlinux.org>
24179
24180 * sysdeps/i386/fpu/libm-test-ulps: Update.
24181
f0302940
JM
241822013-04-26 Joseph Myers <joseph@codesourcery.com>
24183
9457fd95
JM
24184 [BZ #15406]
24185 * math/s_catan.c: Include <float.h>.
24186 (__catan): Ensure underflow exception occurs for underflowed
24187 result.
24188 * math/s_catanf.c: Include <float.h>.
24189 (__catanf): Ensure underflow exception occurs for underflowed
24190 result.
24191 * math/s_catanh.c: Include <float.h>.
24192 (__catanh): Ensure underflow exception occurs for underflowed
24193 result.
24194 * math/s_catanhf.c: Include <float.h>.
24195 (__catanhf): Ensure underflow exception occurs for underflowed
24196 result.
24197 * math/s_catanhl.c: Include <float.h>.
24198 (__catanhl): Ensure underflow exception occurs for underflowed
24199 result.
24200 * math/s_catanl.c: Include <float.h>.
24201 (__catanl): Ensure underflow exception occurs for underflowed
24202 result.
24203 * math/libm-test.inc (catan_test): Add more tests.
24204 (catanh_test): Likewise.
24205
f0302940
JM
24206 [BZ #15405]
24207 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24208 underflowed result.
24209 * math/s_ccoshf.c (__ccoshf): Likewise.
24210 * math/s_ccoshl.c (__ccoshl): Likewise.
24211 * math/s_csin.c (__csin): Likewise.
24212 * math/s_csinf.c (__csinf): Likewise.
24213 * math/s_csinh.c (__csinh): Likewise.
24214 * math/s_csinhf.c (__csinhf): Likewise.
24215 * math/s_csinhl.c (__csinhl): Likewise.
24216 * math/s_csinl.c (__csinl): Likewise.
24217 * math/libm-test.inc (ccos_test): Add more tests.
24218 (ccosh_test): Likewise.
24219 (csin_test): Likewise.
24220 (csinh_test): Likewise.
24221
aa630f59
AZ
242222013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24223
24224 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24225 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24226 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24227 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24228 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24229 powerpc/power5+/fpu folders.
24230 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24231
24232
1b835983
MT
242332013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24234
24235 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24236
73709b26
JM
242372013-04-25 Joseph Myers <joseph@codesourcery.com>
24238
24239 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24240 additions to variable.
24241 [$(config-machine) = x86_64] (modules-names): Likewise.
24242 ($(objpfx)tst-audit3): Remove dependency.
24243 ($(objpfx)tst-audit3.out): Likewise.
24244 ($(objpfx)tst-audit4): Likewise.
24245 ($(objpfx)tst-audit4.out): Likewise.
24246 ($(objpfx)tst-audit5): Likewise.
24247 ($(objpfx)tst-audit5.out): Likewise.
24248 ($(objpfx)tst-audit6): Likewise.
24249 ($(objpfx)tst-audit6.out): Likewise.
24250 ($(objpfx)tst-audit7): Likewise.
24251 ($(objpfx)tst-audit7.out): Likewise.
24252 (tst-audit3-ENV): Remove variable.
24253 (tst-audit4-ENV): Likewise.
24254 (tst-audit5-ENV): Likewise.
24255 (tst-audit6-ENV): Likewise.
24256 (tst-audit7-ENV): Likewise.
24257 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24258 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24259 addition to variable.
24260 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24261 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24262 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24263 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24264 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24265 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24266 tst-audit3, tst-audit4 and tst-audit5.
24267 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24268 tst-audit6 and tst-audit7.
24269 [$(subdir) = elf] (modules-names): Add audit modules for those
24270 tests.
24271 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24272 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24273 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24274 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24275 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24276 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24277 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24278 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24279 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24280 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24281 [$(subdir) = elf] (tst-audit3-ENV): New variable.
24282 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24283 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24284 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24285 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24286 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24287 Likewise.
24288 [$(subdir) = elf && $(config-cflags-avx) = yes]
24289 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24290 [$(subdir) = elf && $(config-cflags-avx) = yes]
24291 (CFLAGS-tst-auditmod4a.c): Likewise.
24292 [$(subdir) = elf && $(config-cflags-avx) = yes]
24293 (CFLAGS-tst-auditmod4b.c): Likewise.
24294 [$(subdir) = elf && $(config-cflags-avx) = yes]
24295 (CFLAGS-tst-auditmod6b.c): Likewise.
24296 [$(subdir) = elf && $(config-cflags-avx) = yes]
24297 (CFLAGS-tst-auditmod6c.c): Likewise.
24298 [$(subdir) = elf && $(config-cflags-avx) = yes]
24299 (CFLAGS-tst-auditmod7b.c): Likewise.
24300 * elf/tst-audit3.c: Move to ...
24301 * sysdeps/x86_64/tst-audit3.c: ... here.
24302 * elf/tst-audit4.c: Move to ...
24303 * sysdeps/x86_64/tst-audit4.c: ... here.
24304 * elf/tst-audit5.c: Move to ...
24305 * sysdeps/x86_64/tst-audit5.c: ... here.
24306 * elf/tst-audit6.c: Move to ...
24307 * sysdeps/x86_64/tst-audit6.c: ... here.
24308 * elf/tst-audit7.c: Move to ...
24309 * sysdeps/x86_64/tst-audit7.c: ... here.
24310 * elf/tst-auditmod3a.c: Move to ...
24311 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24312 * elf/tst-auditmod3b.c: Move to ...
24313 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24314 * elf/tst-auditmod4a.c: Move to ...
24315 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24316 * elf/tst-auditmod4b.c: Move to ...
24317 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24318 * elf/tst-auditmod5a.c: Move to ...
24319 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24320 * elf/tst-auditmod5b.c: Move to ...
24321 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24322 * elf/tst-auditmod6a.c: Move to ...
24323 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24324 * elf/tst-auditmod6b.c: Move to ...
24325 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24326 * elf/tst-auditmod6c.c: Move to ...
24327 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24328 * elf/tst-auditmod7a.c: Move to ...
24329 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24330 * elf/tst-auditmod7b.c: Move to ...
24331 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24332
1ef74943
PP
243332013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24334
24335 [BZ #15366]
24336 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24337 define unconditionally.
24338 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24339 define unconditionally.
24340 (INT8_C, INT16_C, etc.): Likewise.
24341
93fd48c5
MR
243422013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
24343
ae9552cf
MR
24344 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24345 __ehdr_start with hidden visibility.
24346
93fd48c5
MR
24347 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24348
418601aa
CD
243492013-04-24 Carlos O'Donell <carlos@redhat.com>
24350
24351 * math/libm-test.inc (cos_test): Use accurate hex constants.
24352 (sincost_test): Likewise.
24353
2f38fbfe
JM
243542013-04-24 Joseph Myers <joseph@codesourcery.com>
24355
5e221800
JM
24356 * math/libm-test.inc (catan_test): Add more tests.
24357 (catanh_test): Likewise.
24358
77f143fd
JM
24359 * math/s_catanf.c (__catanf): Use suffixed floating-point
24360 constants.
24361 * math/s_catanhf.c (__catanhf): Likewise.
24362 * math/s_catanhl.c (__catanhl): Likewise.
24363 * math/s_catanl.c (__catanl): Likewise.
24364
2f38fbfe
JM
24365 [BZ #15394]
24366 * math/s_catan.c (__catan): Calculate imaginary part of result
24367 with log1p not log unless computing log of number close to 0.
24368 * math/s_catanf.c (__catanf): Likewise.
24369 * math/s_catanl.c (__catanl): Likewise.
24370 * math/s_catanh.c (__catanh): Calculate real part of result with
24371 log1p not log unless computing log of number close to 0.
24372 * math/s_catanhf.c (__catanhf): Likewise.
24373 * math/s_catanhl.c (__catanhl): Likewise.
24374 * math/libm-test.inc (catan_test): Add more tests.
24375 (catanh_test): Likewise.
24376 * sysdeps/i386/fpu/libm-test-ulps: Update.
24377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24378
45d69176
SP
243792013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24380
24381 * benchtests/Makefile: Mention files in which fast and slow
24382 paths of math functions are implemented.
24383
87f51853
RM
243842013-04-23 Roland McGrath <roland@hack.frob.com>
24385
24386 * sysdeps/posix/timespec_get.c: New file.
24387
3c026539
AZ
243882013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24389
24390 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24391 POWER.
24392 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24393 for POWER.
24394 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24395 powerpc/power5/fpu folders.
24396 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24397 * benchtests/Makefile: Add modf testcase.
24398 * benchtests/bench-modf.c: New file: Benchmark test for mo
24399
ff491d14
SP
244002013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24401
24402 [BZ #14888]
24403 * time/Makefile (tests): Add tst-strptime-whitespace.
24404 * time/strptime_l.c (get_number): Use ISSPACE.
24405 (__strptime_internal): Likewise.
24406 * time/tst-strptime-whitespace.c: New test case.
24407
7ed3f4e8
AS
244082013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24409
24410 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24411 member.
24412 (_nss_files_init): Set it here.
24413
5c95f7b6
HC
244142013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24415
24416 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24417 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24418 unsigned.
24419
d34c9158
JBG
244202013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24421
24422 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24423
2169712d
SP
244242013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24425
24426 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24427 size just once.
24428
29c5de99
DM
244292013-04-21 David S. Miller <davem@davemloft.net>
24430
24431 * po/ru.po: Update Russion translation from translation project.
24432
ccdad15d
AC
244332013-04-17 Adam Conrad <adconrad@0c3.net>
24434
24435 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24436 and setfsgid.
24437
0f122b8d
CD
244382013-04-17 Carlos O'Donell <carlos@redhat.com>
24439
5c5b07da 24440 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 24441 * configure: Regenerate.
5c5b07da 24442 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
24443 Add example to error message.
24444 * sysdeps/i386/configure: Regenerate.
24445
037714dd
SP
244462013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24447
24448 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24449 slowtan.
24450 * benchtests/cos-inputs: New file.
24451 * benchtests/slowcos-inputs: New file.
24452 * benchtests/slowcos.c: New file.
24453 * benchtests/slowtan-inputs: New file.
24454 * benchtests/slowtan.c: New file.
24455 * benchtests/tan-inputs: New file.
24456
e913141d
RM
244572013-04-16 Roland McGrath <roland@hack.frob.com>
24458
24459 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24460 considered kosher.
24461
a2964074
SP
244622013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24463
4856bcd2
SP
24464 * benchtests/Makefile: Include cppflags-iterator.mk to add
24465 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24466
a2964074
SP
24467 * Makefile.in (bench-clean): New target.
24468 * benchtests/Makefile (bench-clean): Likewise.
24469
9fbf9aca
DH
244702013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24471
24472 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24473
207d1e2a
TS
244742013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24475
24476 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24477
306dfba9
AS
244782013-04-15 Andreas Schwab <schwab@suse.de>
24479
24480 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24481 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24482 * nscd/pwdcache.c (cache_addpw): Likewise.
24483 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24484 more than recsize.
24485
206a6699
SP
244862013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24487
24488 * benchtests/Makefile (bench): Write all output to
24489 bench-out.tmp together.
24490
0582f6b3
AS
244912013-04-15 Andreas Schwab <schwab@suse.de>
24492
24493 * nscd/nscd.c (main): Don't fork again after closing files.
24494
acb4325f
SP
244952013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24496
5cb26d0a
SP
24497 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24498
acb4325f
SP
24499 * benchtests/Rules (bench-deps): Collect dependencies into a
24500 single variable. Add Makefile to dependencies.
24501 ($(objpfx)bench-%.c): Depend on bench-deps.
24502
47792506
RM
245032013-04-12 Roland McGrath <roland@hack.frob.com>
24504 Xavier Roche <roche+kml2@exalead.com>
24505
24506 [BZ #15361]
24507 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24508 just that it's a file descriptor.
24509 * manual/llio.texi (Synchronizing AIO Operations): Update description
24510 for EBADF error from aio_fsync.
24511
8fc1bee5
SP
245122013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24513
24514 * Rules (bench): Move target definition...
24515 * benchtests/Makefile: ... here.
24516
aba5e333
CD
245172013-04-11 Carlos O'Donell <carlos@redhat.com>
24518
24519 * math/libm-test.inc (cos_test): Fix PI/2 test.
24520 (sincos_test): Likewise.
24521 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24522 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24523
273cdee8
AS
245242013-04-11 Andreas Schwab <schwab@suse.de>
24525
6ecec3b6
AS
24526 [BZ #13988]
24527 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24528 accept exponent character only when digits were seen.
24529 * stdio-common/Makefile (tests): Add bug26.
24530 * stdio-common/bug26.c: New file.
24531
273cdee8
AS
24532 [BZ #14293]
24533 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24534 non-freeable.
24535
8da491f5
SP
245362013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24537
01dc6df9
SP
24538 * Makeconfig (rtld-prefix): Define built linker prefix.
24539 * Rules (run-bench): Use it.
24540 * math/Makefile (run-regen-ulps): Likewise.
24541
8da491f5
SP
24542 * Rules (bench): Remove eval.
24543
abe7f530
SP
245442013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24545 Roland McGrath <roland@hack.frob.com>
24546 Ondrej Bilka <neleai@seznam.cz>
24547
24548 [BZ #15346]
24549 * time/getdate.c: Include ctype.h and alloca.h.
24550 (__getdate_r): Trim leading and trailing spaces of input.
24551 * time/tst-getdate.c (tests): Add tests with leading and
24552 trailing spaces.
24553
61c23e62
RM
245542013-04-08 Roland McGrath <roland@hack.frob.com>
24555
24556 [BZ #14280]
24557 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24558 when computing value.
24559
7208a313
CD
245602013-04-06 Carlos O'Donell <carlos@redhat.com>
24561
085b2d41
CD
24562 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24563 Use testrun.sh to run libm tests.
24564
7208a313
CD
24565 [BZ #15309]
24566 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24567
872c0acd
MM
245682013-04-06 Marko Myllynen <myllynen@redhat.com>
24569
24570 [BZ #15264]
24571 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24572
26510bdd
CD
245732013-04-06 Carlos O'Donell <carlos@redhat.com>
24574
24575 * Makefile.in (regen-ulps): New target.
24576 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24577 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24578 [ifneq (no,$(PERL)] (regen-ulps): New target.
24579 [ifeq (no,$(PERL)] (regen-ulps): New target.
24580 * math/libm-test.inc (ulps_file_name): Define.
24581 (output_dir): New variable.
24582 (options): Add "output-dir" option.
24583 (parse_opt): Handle 'o' case.
24584 (main): If output_dir is non-NULL use it as a prefix
24585 otherwise use "".
24586 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24587
a01f19c8
CD
245882013-04-06 Carlos O'Donell <carlos@redhat.com>
24589
24590 [BZ #10060, #10062]
24591 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24592 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24593 fail configure if __sync_val_compare_and_swap is not inlined.
24594 * sysdeps/i386/configure: Regenerate.
24595 * configure.in: Build for i686 when configured for i386.
24596 * configure: Regenerate.
24597 * README: Remove i386 reference.
24598
b7a329a5
CD
245992013-04-06 Carlos O'Donell <carlos@redhat.com>
24600
24601 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24602 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24603
bf0f50df
TS
246042013-04-05 Thomas Schwinge <thomas@codesourcery.com>
24605
ee091edf
TS
24606 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24607 (lmsnanval): New variables.
24608 (F): Add conversion tests.
24609 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24610 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24611
a8b792d6
TS
24612 * stdio-common/tstdiomisc.c (F): Properly collect individual
24613 tests' results.
24614
a1cbf437
TS
24615 [BZ #14686, #15336]
24616 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24617 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24618 Instead, use input NaN values or generate a qNaN by arithmetic
24619 operation. Also fix bugs to comply with the standard.
24620 * math/libm-test.inc (remainder_test): Add more tests.
24621
8b43a0c9
TS
24622 [BZ #15335, #15342]
24623 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24624 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24625 input NaN values or generate a qNaN by arithmetic operation.
24626
d91da4ce
TS
24627 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24628 unreachable code.
24629
bf0f50df
TS
24630 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24631 definitions.
24632
05e166c8
JM
246332013-04-03 Joseph Myers <joseph@codesourcery.com>
24634
24635 [BZ #14478]
24636 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24637 underflowed result.
24638 * math/s_cexpf.c (__cexpf): Likewise.
24639 * math/s_cexpl.c (__cexpl): Likewise.
24640 * math/libm-test.inc (cexp_test): Add more tests.
24641
1cef1b19
AS
246422013-04-03 Andreas Schwab <schwab@suse.de>
24643
24644 [BZ #15330]
24645 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24646 order arrays from heap if bigger than alloca cutoff.
24647
74d87055
TS
246482013-04-03 Thomas Schwinge <thomas@codesourcery.com>
24649
24650 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24651 (SNAN_TESTS_double): Refer to GCC PR56831.
24652 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24653 GCC PR56828.
24654
d755bba4
SP
246552013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24656
90d5d5bb
SP
24657 * Rules (bench): Move bench.out after the run is complete.
24658
73e0cd5d
SP
24659 * Rules (bench): Echo currently running benchmark.
24660
64aabd4b
SP
24661 * benchtests/Makefile (bench): Add atan and slowatan.
24662 * benchtests/atan-inputs: New file.
24663 * benchtests/slowatan-inputs: New file.
24664 * benchtests/slowatan.c: New file.
24665
c871eccd
SP
24666 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24667 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24668 its value.
24669
d755bba4
SP
24670 [BZ #15305]
24671 * sysdeps/unix/sysv/linux/kernel-features.h
24672 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24673 __ASSUME_XFS_RESTRICTED_CHOWN.
24674 * sysdeps/unix/sysv/linux/pathconf.c
24675 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24676 Save and restore errno.
24677
52ce4860
JM
246782013-04-02 Joseph Myers <joseph@codesourcery.com>
24679
24680 [BZ #15327]
24681 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24682 arguments using __kernel_casinh.
24683 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24684 arguments using __kernel_casinhf.
24685 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24686 arguments using __kernel_casinhl.
24687 * math/libm-test.inc (cacosh_test): Add more tests.
24688 * sysdeps/i386/fpu/libm-test-ulps: Update.
24689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24690
81f311c2
SP
246912013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24692
e7906a47
SP
24693 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24694 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24695
92e3664b
SP
24696 * bench/Makefile (bench): Add sin and slowsin.
24697 * benchtests/sin-inputs: New file.
24698 * benchtests/slowsin-inputs: New file.
24699 * benchtests/slowsin.c: New file.
24700
81f311c2
SP
24701 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24702 (bench): Add slowexp and slowpow.
24703 (exp-ITER): Increase iterations.
24704 (pow-ITER): Likewise.
24705 * benchtests/exp-inputs: Change input.
24706 * benchtests/pow-inputs: Likewise.
24707 * benchtests/slowexp-inputs: New file.
24708 * benchtests/slowexp.c: New file.
24709 * benchtests/slowpow-inputs: New file.
24710 * benchtests/slowpow.c: New file.
24711
ab0f1aa9
AZ
247122013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24713
24714 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24715 instructions.
24716 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24717 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24718 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24719 * benchtests/Makefile: Add rint benchtest.
24720 * benchtests/rint-inputs: Input for rint benchtest.
24721
57267616
TS
247222013-04-02 Thomas Schwinge <thomas@codesourcery.com>
24723
24724 * Versions.def (libm): Add GLIBC_2.18.
24725 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24726 hidden libm prototypes.
24727 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24728 * math/Makefile (libm-calls): Add s_issignaling.
24729 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24730 __issignalingf, __issignalingl. Adjust all libm.abilist files.
24731 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24732 declaration.
24733 * math/math.h [__USE_GNU] (issignaling): New macro.
24734 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24735 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24736 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24737 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24738 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24739 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24740 * manual/arith.texi (issignaling): New section.
24741 * manual/libm-err-tab.pl (@all_functions): Update comment.
24742 * math/gen-libm-test.pl (parse_args): Apply special handling for
24743 issignaling.
24744 * math/libm-test.inc (print_float, issignaling_test): New
24745 functions.
24746 (check_float_internal): Add issignaling checks.
24747 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24748 default definition.
24749 * sysdeps/powerpc/math-tests.h: New file.
24750 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24751 tests.
24752 * math/test-snan.c (TEST_FUNC): Likewise.
24753
6142896d
DM
247542013-03-30 David S. Miller <davem@davemloft.net>
24755
24756 * po/de.po: Update from translation team.
24757
ccc8cadf
JM
247582013-03-30 Joseph Myers <joseph@codesourcery.com>
24759
24760 [BZ #10357]
24761 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24762 imaginary part less than 1.0 and real part less than 0.5
24763 specially.
24764 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24765 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24766 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24767 (cacos_test): Add more tests.
24768 (casin_test): Likewise.
24769 (casinh_test): Likewise.
24770 * sysdeps/i386/fpu/libm-test-ulps: Update.
24771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24772
0f6a8d4b
SP
247732013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24774
0d1029de
SP
24775 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24776 ONE with its value.
24777
c2d94018
SP
24778 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24779 (__pow_mp): Replace ONE and MONE with their values.
24780 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24781 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24782 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24783 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24784 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24785 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24786
27ec37f1
SP
24787 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24788
a64d7e0e
SP
24789 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24790 (__pow_mp): Replace ZERO and MZERO with their values.
24791 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24792 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24793 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24794 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24795 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24796 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24797 (__sqr): Likewise.
24798
d26dd3eb
SP
24799 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24800
0f6a8d4b
SP
24801 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24802
e57b0c61
RM
248032013-03-28 Roland McGrath <roland@hack.frob.com>
24804
24805 * include/stdlib.h [!SHARED] (__call_tls_dtors):
24806 Declare with __attribute__ ((weak)).
24807 * stdlib/exit.c (__libc_atexit) [!SHARED]:
24808 Call __call_tls_dtors only if it's not NULL.
24809
356b3480
RM
248102013-03-28 Roland McGrath <roland@hack.frob.com>
24811
288f7d79
RM
24812 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24813 didn't do it already, then set _dl_phdr and _dl_phnum based on the
24814 magic __ehdr_start linker symbol if it's defined.
24815 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24816 them up here if it was already done.
24817
dc0a0263
RM
24818 * elf/dl-support.c (_dl_phdr): Make pointer to const.
24819 (_dl_aux_init): Use const in cast when setting it.
24820 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24821 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24822 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24823
3d3436ae
RM
24824 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24825 Declare them here.
24826 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24827 * csu/libc-tls.c: Nor here.
24828 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24829
356b3480
RM
24830 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24831 (__libc_message): Never call vsyslog.
24832
b0f1246a
AM
248332013-03-28 Alan Modra <amodra@gmail.com>
24834
24835 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24836 Define as empty.
24837 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24838 Likewise.
24839
fbbe2b9a
AZ
248402013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24841
24842 [BZ #15214]
24843 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24844 underflow.
24845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24846
1728ab37
SP
248472013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24848
7a86be6e
SP
24849 [BZ #15304]
24850 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24851 Don't add gid passed as argument.
24852
1728ab37
SP
24853 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24854
3a7182a1
JM
248552013-03-27 Joseph Myers <joseph@codesourcery.com>
24856
24857 [BZ #15307]
24858 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24859 imaginary part between 1.0 and 1.5 and real part less than 0.5
24860 specially.
24861 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24862 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24863 * math/libm-test.inc (cacos_test): Add more tests.
24864 (casin_test): Likewise.
24865 (casinh_test): Likewise.
24866 * sysdeps/i386/fpu/libm-test-ulps: Update.
24867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24868
6f2e90e7
SP
248692013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24870
5739f705
SP
24871 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24872 constants.
24873 (norm): Likewise.
24874 (denorm): Likewise.
24875 (__dbl_mp): Likewise.
24876 (add_magnitudes): Likewise.
24877 (sub_magnitudes): Likewise.
24878 (__add): Likewise.
24879 (__sub): Likewise.
24880 (__mul): Likewise.
24881 (__sqr): Likewise.
24882 (__inv): Likewise.
24883 (__dvd): Likewise.
24884
e375e83d
SP
24885 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24886 commented code.
24887 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24888 (__dubcos): Likewise.
24889 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24890 (__ieee754_acos): Likewise.
24891 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24892 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24893 (__exp1): Likewise.
24894 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24895 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24896 (log1): Likewise.
24897 (my_log2): Likewise.
24898 (checkint): Likewise.
24899 * sysdeps/ieee754/dbl-64/e_remainder.c
24900 (__ieee754_remainder): Likewise.
24901 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24902 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24903 (bsloww): Likewise.
24904 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24905
6f2e90e7
SP
24906 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24907 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24908 MANTISSA_STORE_T to store computations on mantissa. Use
24909 macros for rounding and division.
24910 (denorm): Likewise.
24911 (__dbl_mp): Likewise.
24912 (add_magnitudes): Likewise.
24913 (sub_magnitudes): Likewise.
24914 (__mul): Likewise.
24915 (__sqr): Likewise.
24916 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24917 powers of two in terms of TWOPOW macro.
24918 (mp_no): Make type of mantissa as MANTISSA_T.
24919 [!RADIXI]: Define RADIXI.
24920 [!TWO52]: Define TWO52.
24921 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24922
fce14d4e
AZ
249232013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24924
24925 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24926 llroundl symbol when building for PPC32.
24927
9ad027fb
MW
249282013-03-24 Mark H Weaver <mhw@netris.org>
24929
24930 * manual/arith.texi (Normalization Functions): Fix prototypes for
24931 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24932
e42a38dd
AZ
249332013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24934
24935 [BZ #13889]
24936 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24937 high value to check if expl overflow.
24938 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24939 to check for underflow and overflow.
24940 * math/libm-test.inc: Add exp test.
24941
2e0fb521
DL
249422013-03-21 Dmitry V. Levin <ldv@altlinux.org>
24943
24944 [BZ #11120]
24945 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24946 with NOT_IN_libc.
24947
b5784d95
AZ
249482013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24949
24950 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
24951 symbol.
24952
5aa4a1a1
TS
249532013-03-21 Thomas Schwinge <thomas@codesourcery.com>
24954
bdef0be7
TS
24955 * math/gen-libm-test.pl (parse_args, special_functions): Properly
24956 wrap blocks consisting of several statements.
24957
5aa4a1a1
TS
24958 * sysdeps/generic/math-tests.h: New file.
24959 * sysdeps/i386/fpu/math-tests.h: Likewise.
24960 * math/test-snan.c: Include it.
24961 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
24962
98c48fe5
JM
249632013-03-21 Joseph Myers <joseph@codesourcery.com>
24964
24965 [BZ #15285]
24966 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24967 (__ieee754_j0l): Do not improve calculations using cos of twice
24968 input for inputs above LDBL_MAX / 2.0L.
24969 (__ieee754_y0l): Likewise.
24970 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24971 (__ieee754_j1l): Do not improve calculations using cos of twice
24972 input for inputs above LDBL_MAX / 2.0L.
24973 (__ieee754_y1l): Likewise.
24974 * math/libm-test.inc (j0_test): Add another test.
24975 (j1_test): Likewise.
24976 (y0_test): Likewise.
24977 (y1_test): Likewise.
24978 * sysdeps/i386/fpu/libm-test-ulps: Update.
24979
3775a8bc
SP
249802013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24981
24982 * Rules ($(objpfx)bench-%.c): Include code from a C source
24983 file.
24984
0a1b2ae6
JM
249852013-03-21 Joseph Myers <joseph@codesourcery.com>
24986
24987 [BZ #15287]
24988 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24989 imaginary part 1.0 and real part less than 0.5 specially.
24990 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24991 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24992 * math/libm-test.inc (cacos_test): Add more tests.
24993 (casin_test): Likewise.
24994 (casinh_test): Likewise.
24995 * sysdeps/i386/fpu/libm-test-ulps: Update.
24996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24997
b33d4ce4
SP
249982013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24999
25000 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
25001 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
25002
bef0b507
JM
250032013-03-20 Joseph Myers <joseph@codesourcery.com>
25004
25005 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
25006 * config.make.in (config-cflags-sse4): Remove variable.
25007 (config-cflags-avx): Likewise.
25008 (config-cflags-sse2avx): Likewise.
25009 (config-cflags-novzeroupper): Likewise.
25010 (config-asflags-i686): Likewise.
25011 (have-mfma4): Likewise.
25012 (have-as-vis3): Likewise.
25013 (MIG): Likewise.
25014 * configure.in (MIG): Do not AC_SUBST.
25015 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
25016 (libc_cv_cc_sse4): Do not AC_SUBST.
25017 (libc_cv_cc_avx): Likewise.
25018 (libc_cv_cc_sse2avx): Likewise.
25019 (libc_cv_cc_novzeroupper): Likewise.
25020 (libc_cv_cc_fma4): Likewise.
25021 (libc_cv_as_i686): Likewise.
25022 (libc_cv_sparc_as_vis3): Likewise.
25023 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
25024 LIBC_CONFIG_VAR.
25025 (config-asflags-i686): Likewise.
25026 (config-cflags-avx): Likewise.
25027 (config-cflags-sse2avx): Likewise.
25028 (have-mfma4): Likewise.
25029 (config-cflags-novzeroupper): Likewise.
25030 * sysdeps/mach/configure.in (MIG): Likewise.
25031 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
25032 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
25033 LIBC_CONFIG_VAR.
25034 (config-cflags-avx): Likewise.
25035 (config-cflags-sse2avx): Likewise.
25036 (have-mfma4): Likewise.
25037 (config-cflags-novzeroupper): Likewise.
25038 * configure: Regenerated.
25039 * sysdeps/i386/configure: Likewise.
25040 * sysdeps/mach/configure: Likewise.
25041 * sysdeps/sparc/configure: Likewise.
25042 * sysdeps/x86_64/configure: Likewise.
25043
912cc4b3
RM
250442013-03-20 Roland McGrath <roland@hack.frob.com>
25045
25046 [BZ #14812]
25047 * locale/programs/localedef.c (options): Put N_ translation marker
25048 on argument names, not just descriptions.
25049
04eed2b0
MS
250502013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25051
25052 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
25053
a065ceff
OB
250542013-03-20 Ondřej Bílka <neleai@seznam.cz>
25055
9bb2a810 25056 [BZ #14176]
a065ceff
OB
25057 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
25058
a600e5ce
RM
250592013-03-19 Roland McGrath <roland@hack.frob.com>
25060
25061 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
25062 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
25063 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
25064 [!BEFORE_ABORT] (before_abort): New function.
25065 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
25066 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
25067 (writev_for_fatal): New function.
25068 (WRITEV_FOR_FATAL): New macro; call that.
25069 (backtrace_and_maps): New function.
25070 (BEFORE_ABORT): New macro; call that.
25071 (struct str_list): Type removed.
25072 (__libc_message, __libc_fatal): Functions removed.
25073 Include <sysdeps/posix/libc_fatal.c> instead.
25074
6b18bea6
JM
250752013-03-19 Joseph Myers <joseph@codesourcery.com>
25076
25077 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
25078 constants.
25079 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
25080 double constants.
25081
aaa8cb4b
AS
250822013-03-19 Andreas Schwab <schwab@suse.de>
25083
44673770
AS
25084 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
25085 * sysdeps/gnu/configure: Regenerate.
25086
aaa8cb4b
AS
25087 * configure.in: Substitute libc_cv_rtlddir.
25088 * configure: Regenerate.
25089 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
25090 * Makeconfig (rtlddir, inst_rtlddir): New variables.
25091 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
25092 * elf/Makefile (install-others, CFLAGS-interp.c)
25093 (ldso_install, common-ldd-rewrite): Likewise.
25094 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25095 $(inst_slibdir)/$(rtld-installed-name).
25096 * scripts/rellns-sh: Add -p option.
25097 * Makerules (make-shlib-link): Use rellns-sh to get relative name
25098 for source.
25099
d3cfc668
SP
251002013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25101
25102 * manual/nptl.texi: Renamed to ...
25103 * manual/threads.texi: ... this.
25104 * manual/Makefile (chapters): Update.
25105
0e2b9cdd
RM
251062013-03-18 Roland McGrath <roland@hack.frob.com>
25107
25108 [BZ #14812]
25109 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25110 on argument names, not just descriptions.
0e2b9cdd
RM
25111 * malloc/memusagestat.c (options): Likewise.
25112 * nss/getent.c (options): Likewise.
63270c24
RM
25113
251142013-03-18 Benno Schulenberg <bensberg@justemail.net>
25115
25116 [BZ #14812]
25117 * iconv/iconv_prog.c (options): Put N_ translation marker
25118 on argument names, not just descriptions.
25119 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 25120
b2e1393c
OB
251212013-03-18 Ondrej Bilka <neleai@seznam.cz>
25122
25123 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25124 implementation which is faster on all x86_64 architectures.
25125 Tested on AMD, Intel Nehalem, SNB, IVB.
25126 * sysdeps/x86_64/strnlen.S: Likewise.
25127
25128 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25129 Remove all multiarch strlen and strnlen versions.
25130 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25131 Remove strlen and strnlen related parts.
25132
25133 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25134 Inline strlen part.
25135 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25136
25137 * sysdeps/x86_64/multiarch/strlen.S: Remove.
25138 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25139 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25140 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25141 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25142 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25143
ec4ff04d
CD
251442013-03-17 Carlos O'Donell <carlos@redhat.com>
25145
25146 * manual/memory.texi (Malloc Tunable Parameters):
25147 Sort parameters alphabetically. Add comments for missing entries.
25148
cd18e90a
DM
251492013-03-17 David S. Miller <davem@davemloft.net>
25150
25151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25152
2a185d32
JM
251532013-03-16 Joseph Myers <joseph@codesourcery.com>
25154
d2f9799e
JM
25155 [BZ #15283]
25156 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25157 for arguments at most half maximum finite value.
25158 * math/libm-test.inc (j0_test): Add more tests.
25159 (j1_test): Likewise.
25160 (y0_test): Likewise.
25161 (y1_test): Likewise.
25162 * sysdeps/i386/fpu/libm-test-ulps: Update.
25163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25164
2a185d32
JM
25165 [BZ #14155]
25166 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25167 1 / x and functions P and Q for arguments above 0x1p256L.
25168 (__ieee754_y0l): Likewise.
25169 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25170 (__ieee754_y1l): Likewise.
25171 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25172 (j1_test): Likewise.
25173 (y0_test): Likewise.
25174 (y1_test): Likewise.
25175
6cbec759
TS
251762013-03-16 Thomas Schwinge <thomas@codesourcery.com>
25177
25178 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25179 variable.
25180
bc16e260
RM
251812013-03-15 Roland McGrath <roland@hack.frob.com>
25182
aefc9b8c
RM
25183 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25184 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25185 zero since it's initialized to EXEC_PAGESIZE.
25186
bc16e260
RM
25187 * sysdeps/unix/sysv/linux/ldsodefs.h
25188 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25189 * sysdeps/generic/ldsodefs.h: ... here.
25190
a57da955
TS
251912013-03-15 Thomas Schwinge <thomas@codesourcery.com>
25192
af00a34d
TS
25193 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25194
495ded2c
TS
25195 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25196 math/test-snan.c.
25197 * math/test-snan.c: Renamed from
25198 sysdeps/powerpc/fpu/test-powerpc-snan.c.
25199 * math/Makefile (tests): Add test-snan.
25200 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25201 test-powerpc-snan.
25202
777b0332
TS
25203 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25204 SUFFIX. Initialize qNaN_var with __builtin_nan family of
25205 functions.
25206 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
25207 __builtin_nan family of functions.
25208 * math/libm-test.inc (initialize): Initialize qnan_value with
25209 __builtin_nan family of functions.
25210 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25211 Remove variables.
25212 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25213 Remove functions.
25214 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
25215 storage class. Initialize qNaN_var and sNaN_var with
25216 __builtin_nan and __builtin_nans families of functions,
25217 respectively.
25218
64d063b8
TS
25219 * math/libm-test.inc (acosh_test): Also test with qNaN input.
25220 (sqrt_test): Remove duplicate test with qNaN input.
25221 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25222 (round_test, signbit_test, significand_test): Note missing +/-Inf
25223 as well as qNaN tests.
25224
67e971f1
TS
25225 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25226 qNaN_var. Fix a few strings, too.
25227 * math/libm-test.inc (nan_value): Rename to qnan_value.
25228 * math/gen-libm-test.pl (%beautify): Adjust to that.
25229 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25230 * math/test-misc.c (main): Likewise.
25231 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25232 to __qnan_bytes, and __qnan_union, respectively.
25233 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25234 Likewise.
25235 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25236 and lqnanval, respectively.
25237 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25238 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25239 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25240 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25241
64487e12
TS
25242 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25243 * math/test-misc.c (main) [__x86_64__]: Enable test for long
25244 doubles.
25245
e015e27b
TS
25246 * math/test-misc.c (main): Fix copy'n'pastos.
25247 * misc/tst-efgcvt.c (special): Likewise.
25248
a57da955
TS
25249 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25250 Remove declarations.
25251
1e380345
SP
252522013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25253
25254 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25255 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25256 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25257 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25258
ef26eece
AZ
252592013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25260
25261 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25262 macro to return vdso values correctly in IFUNC implementations.
25263 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25264 Optimization by using IFUNC.
25265
8cfdb7e0
SP
252662013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25267 Richard Henderson <rth@redhat.com>
25268 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25269
25270 * Makefile.in (bench): New target.
25271 * NEWS: Mention the benchmark framework.
25272 * Rules (bench): Likewise.
25273 (binaries-bench): Generate binaries for functions to
25274 benchmark.
25275 * benchtests/Makefile: New makefile for benchmark tests.
25276 * benchtests/bench-skeleton.c: New skeleton file for benchmark
25277 programs.
25278 * benchtests/exp-inputs: New input file for EXP function.
25279 * benchtests/pow-inputs: New input file for POW function.
25280 * scripts/bench.pl: New script to generate source files for
25281 benchmark programs.
25282
bcda9880
SP
252832013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25284
d22ca8cd
SP
25285 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25286 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25287 computations on mantissa. Use macros for rounding and
25288 division.
25289 (denorm): Likewise.
25290 (__dbl_mp): Likewise.
25291 (add_magnitudes): Likewise.
25292 (sub_magnitudes): Likewise.
25293 (__mul): Likewise.
25294 (__sqr): Likewise.
25295 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25296 powers of two in terms of TWOPOW macro.
25297 (mp_no): Make type of mantissa as MANTISSA_T.
25298 [!RADIXI]: Define RADIXI.
25299 [!TWO52]: Define TWO52.
25300 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25301
bcda9880
SP
25302 * manual/nptl.texi (cindex): Modify threads to pthreads.
25303
06d5adfb
JM
253042013-03-15 Joseph Myers <joseph@codesourcery.com>
25305
25306 * sysdeps/x86_64/preconfigure: Regenerated.
25307
41c7328e
JM
253082013-03-14 Joseph Myers <joseph@codesourcery.com>
25309
25310 [BZ #14155]
25311 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25312 0x1p28 and above.
25313 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25314 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25315 0x1p28 and above.
25316 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25317 * math/libm-test.inc (j0_test): Do not allow one spurious
25318 underflow exception.
25319 (y1_test): Likewise.
25320
e25cfa60
SP
253212013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25322
0409959c
SP
25323 * manual/Makefile (chapters): Add nptl.
25324 * manual/debug.texi (Debugging Support): Add link to Threads
25325 chapter.
25326 * manual/nptl.texi: New file.
25327
e25cfa60
SP
25328 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25329
58a1335e
PB
253302013-03-14 Petr Baudis <pasky@ucw.cz>
25331
25332 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25333 for non-NULL pointer before the memory validity test. Pointed
25334 out by Holger Brunck <holger.brunck@keymile.com>.
25335
9dc7c64f
AS
253362013-03-13 Andreas Schwab <schwab@suse.de>
25337
25338 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25339 instead of .os.
25340
54206aa6
JM
253412013-03-13 Joseph Myers <joseph@codesourcery.com>
25342
25343 * timezone/zic.c: Update from tzcode 2013b.
25344
e98cdb38
CD
253452013-03-12 Carlos O'Donell <carlos@redhat.com>
25346
25347 * manual/install.texi (Configuring and compiling):
25348 Mention i686 and i586.
25349 * INSTALL: Regenerate.
25350
9967e003
RM
253512013-03-12 Roland McGrath <roland@hack.frob.com>
25352
25353 * sysdeps/init_array/elf-init.c: New file.
25354 * csu/elf-init.c
25355 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25356 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25357
25358 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25359 __gmon_start__ as global, but as static with a .preinit_array pointer.
25360 * sysdeps/init_array/gmon-start.c: New file. Use that.
25361 * sysdeps/init_array/crti.S: New file, empty except for comments.
25362 * sysdeps/init_array/crtn.S: Likewise.
25363
e6b5a293 253642013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
25365
25366 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25367 definining bcopy.
80f844c9
OB
25368 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25369 Remove Prefer_SSE_for_memop.
25370 * sysdeps/x86_64/multiarch/init-arch.h: Remove
25371 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25372 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
25373 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25374 memset-x86-64.
80f844c9 25375 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 25376 Remove bzero, memset ifunc support.
80f844c9
OB
25377 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25378 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25379 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25380 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25381
fb6b0fcb
AS
253822013-03-11 Andreas Schwab <schwab@suse.de>
25383
25384 [BZ #15234]
25385 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25386 by SHLIB_COMPAT.
25387 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25388 (GLIBC_2.16): Remove pthread_atfork.
25389
3e6bd4b1
PP
253902013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25391
25392 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25393 (ptestcases.h): Likewise.
25394
222d7f00
RM
253952013-03-08 Roland McGrath <roland@hack.frob.com>
25396
25397 * Makeconfig ($(common-objpfx)config.status): Depend on
25398 sysdeps/*/preconfigure{,.in} too.
25399
1ba4f030
JM
254002013-03-08 Joseph Myers <joseph@codesourcery.com>
25401
a222d91a
JM
25402 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25403 (__free_hook): Use void * instead of __malloc_ptr_t.
25404 (__malloc_hook): Likewise.
25405 (__realloc_hook): Likewise.
25406 (__memalign_hook): Likewise.
25407 (__after_morecore_hook): Likewise.
25408 * malloc/arena.c (save_malloc_hook): Likewise.
25409 (save_free_hook): Likewise.
25410 * malloc/hooks.c (malloc_hook_ini): Likewise.
25411 (realloc_hook_ini): Likewise.
25412 (memalign_hook_ini): Likewise.
25413 * malloc/malloc.c (malloc_hook_ini): Likewise.
25414 (realloc_hook_ini): Likewise.
25415 (memalign_hook_ini): Likewise.
25416 (__free_hook): Likewise.
25417 (__malloc_hook): Likewise.
25418 (__realloc_hook): Likewise.
25419 (__memalign_hook): Likewise.
25420 (__libc_malloc): Likewise.
25421 (__libc_free): Likewise.
25422 (__libc_realloc): Likewise.
25423 (__libc_memalign): Likewise.
25424 (__libc_valloc): Likewise.
25425 (__libc_pvalloc): Likewise.
25426 (__libc_calloc): Likewise.
25427 (__posix_memalign): Likewise.
25428 * malloc/morecore.c (__sbrk): Likewise.
25429 (__default_morecore): Likewise.
25430
5cc45e10
JM
25431 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25432
dd54b864
JM
25433 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25434 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25435 __malloc_ptrdiff_t.
25436
1ba4f030
JM
25437 * malloc/malloc.h (__malloc_size_t): Remove macro.
25438 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25439 __malloc_size_t.
25440 (old_memalign_hook): Likewise.
25441 (old_realloc_hook): Likewise.
25442 (struct hdr): Likewise.
25443 (flood): Likewise.
25444 (mallochook): Likewise.
25445 (memalignhook): Likewise.
25446 (reallochook): Likewise.
25447 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25448 (tr_old_realloc_hook): Likewise.
25449 (tr_old_memalign_hook): Likewise.
25450 (tr_mallochook): Likewise.
25451 (tr_reallochook): Likewise.
25452 (tr_memalignhook): Likewise.
25453
edf66e57
AZ
254542013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25455
25456 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25457 default_ldbl_pack and using as default implementation.
25458 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25459 implementation.
25460 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25461 redundant definition.
25462 (ldbl_insert_mantissa): Likewise.
25463 (ldbl_canonicalize): Likewise.
25464 (ldbl_nearbyint): Likewise.
25465 (ldbl_pack): Rename to ldbl_pack_ppc.
25466 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25467 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25468 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25469
6d9145d8
SP
254702013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25471
25472 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25473 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25474 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25475 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25476 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25477 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25478 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25479 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25480
4dd4e157
AJ
254812013-03-07 Andreas Jaeger <aj@suse.de>
25482
25483 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25484 bits/mman-linux.h.
25485
adbb8027
SP
254862013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25487
ce544b5b
SP
25488 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25489 Include mpa.h and declare __MPEXP.
25490 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25491 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25492 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25493 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25494 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25495 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25496 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25497
4cc149fd
SP
25498 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25499 (__slowpow): Use long double EXPL and LOGL functions to
25500 compute POW.
25501 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25502 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25503 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25504 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25505 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25506 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25507
e6ebd4a7
SP
25508 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25509 intermediate variable to calculate exponent.
25510 (__sqr): Likewise.
25511 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25512 Likewise.
25513 (__sqr): Likewise.
25514
82a9811d
SP
25515 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25516 [!NO__SQR]: Define __sqr.
25517 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25518 and NO__SQR. Remove all code except __mul and __sqr. Include
25519 sysdeps/ieee754/dbl-64/mpa.c.
25520 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25521
adbb8027
SP
25522 [BZ #12723]
25523 * posix/Makefile (tests): Add tst-pathconf.
25524 * posix/tst-pathconf.c: New test case.
25525 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25526 _PC_PIPE_BUF.
25527 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25528
39120df9
PF
255292013-03-06 Patsy Franklin <pfrankli@redhat.com>
25530
25531 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25532
67525cb8
AJ
255332013-03-06 Andreas Jaeger <aj@suse.de>
25534
664a9ce4
AJ
25535 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25536 definition via __MAP_ANONYMOUS.
25537
8e39047d
AJ
25538 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25539 it's not part of Linux headers.
25540
67525cb8
AJ
25541 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25542 (MAP_HUGE_MASK): Define.
25543
25544 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25545 Define.
25546 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25547 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25548 Define.
25549 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25550 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25551 Define.
25552 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25553 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25554 Define.
25555 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25556
25557 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25558 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25559 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25560 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25561 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25562 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25563
25564 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25565 Handle f2fs.
25566
25567 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25568 Handle f2fs and efivarfs.
25569
25570 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25571 f2fs.
25572
25573 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25574 (EFIVARFS_MAGIC): Add.
25575 (F2FS_LINK_MAX): Add.
25576
e1b42695
PP
255772013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25578
25579 * stdio-common/vfprintf.c: Replace __builtin_expect with
25580 __glibc_unlikely.
25581
2d67d91a
JM
255822013-03-06 Joseph Myers <joseph@codesourcery.com>
25583
25584 [BZ #13550]
25585 * sysdeps/generic/bp-sym.h: Remove file.
25586 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25587 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25588 <bp-sym.h> and <bp-asm.h>.
25589 (__longjmp): Don't use BP_SYM.
25590 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25591 and <bp-asm.h>.
25592 (memcpy): Don't use BP_SYM.
25593 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25594 <bp-sym.h> and <bp-asm.h>.
25595 (memcpy): Don't use BP_SYM.
25596 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25597 <bp-asm.h>.
25598 (memcpy): Don't use BP_SYM.
25599 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25600 <bp-asm.h>.
25601 (memset): Don't use BP_SYM.
25602 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25603 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25604 (__bzero): Don't use BP_SYM.
25605 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25606 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25607 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25608 <bp-sym.h> and <bp-asm.h>.
25609 (memcmp): Don't use BP_SYM. Remove comment about bounded
25610 pointers.
25611 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25612 <bp-sym.h> and <bp-asm.h>.
25613 (memcpy): Don't use BP_SYM.
25614 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25615 <bp-sym.h> and <bp-asm.h>.
25616 (memset): Don't use BP_SYM.
25617 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25618 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25619 (__bzero): Don't use BP_SYM.
25620 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25621 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25622 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25623 <bp-sym.h> and <bp-asm.h>.
25624 (strncmp): Don't use BP_SYM. Remove comment about bounded
25625 pointers.
25626 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25627 <bp-sym.h> and <bp-asm.h>.
25628 (memcpy): Don't use BP_SYM.
25629 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25630 <bp-sym.h> and <bp-asm.h>.
25631 (memset): Don't use BP_SYM.
25632 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25633 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25634 (__bzero): Don't use BP_SYM.
25635 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25636 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25637 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25638 <bp-sym.h> and <bp-asm.h>.
25639 (__memchr): Don't use BP_SYM.
25640 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25641 <bp-sym.h> and <bp-asm.h>.
25642 (memcmp): Don't use BP_SYM. Remove comment about bounded
25643 pointers.
25644 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25645 <bp-sym.h> and <bp-asm.h>.
25646 (memcpy): Don't use BP_SYM.
25647 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25648 <bp-sym.h> and <bp-asm.h>.
25649 (__mempcpy): Don't use BP_SYM.
25650 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25651 <bp-sym.h> and <bp-asm.h>.
25652 (__memrchr): Don't use BP_SYM.
25653 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25654 <bp-sym.h> and <bp-asm.h>.
25655 (memset): Don't use BP_SYM.
25656 (__bzero): Likewise.
25657 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25658 <bp-sym.h> and <bp-asm.h>.
25659 (__rawmemchr): Don't use BP_SYM.
25660 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25661 <bp-sym.h> and <bp-asm.h>.
25662 (__STRCMP): Don't use BP_SYM.
25663 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25664 <bp-sym.h> and <bp-asm.h>.
25665 (strchr): Don't use BP_SYM.
25666 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25667 <bp-sym.h> and <bp-asm.h>.
25668 (__strchrnul): Don't use BP_SYM.
25669 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25670 <bp-sym.h> and <bp-asm.h>.
25671 (strlen): Don't use BP_SYM.
25672 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25673 <bp-sym.h> and <bp-asm.h>.
25674 (strncmp): Don't use BP_SYM. Remove comment about bounded
25675 pointers.
25676 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25677 <bp-sym.h> and <bp-asm.h>.
25678 (__strnlen): Don't use BP_SYM.
25679 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25680 <bp-sym.h> and <bp-asm.h>.
25681 (__GI__setjmp): Don't use BP_SYM.
25682 (_setjmp): Likewise.
25683 (__sigsetjmp): Likewise.
25684 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25685 (L(start_addresses)): Don't use BP_SYM.
25686 (_start): Likewise.
25687 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25688 <bp-asm.h>.
25689 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25690 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25691 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25692 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25693 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25694 <bp-asm.h>.
25695 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25696 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
25697 about bounded pointers.
25698 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25699 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25700 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25701 <bp-asm.h>.
25702 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25703 about bounded pointers. Remove GKM FIXME comments.
25704 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25705 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25706 <bp-asm.h>.
25707 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25708 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
25709 Remove GKM FIXME comments.
25710 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25711 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25712 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25713 <bp-asm.h>.
25714 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25715 about bounded pointers. Remove GKM FIXME comment.
25716 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25717 and <bp-asm.h>.
25718 (strncmp): Don't use BP_SYM. Remove comment about bounded
25719 pointers.
25720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25721 <bp-sym.h> and <bp-asm.h>.
25722 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25724 <bp-sym.h> and <bp-asm.h>.
25725 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25726 comment.
25727
cdcf361f
PP
257282013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25729
25730 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25731 call free(NULL).
25732
3c4a2b15
DM
257332013-03-05 David S. Miller <davem@davemloft.net>
25734
25735 * po/es.po: Update from translation team.
25736
cdcf361f 257372013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
25738
25739 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25740 <bits/mman-linux.h>.
25741 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25742 is fine.
25743 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25744 <bits/mman-linux.h> to end of file.
25745 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25746 is fine.
25747 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25748 <bits/mman-linux.h> to end of file.
25749 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25750 is fine.
25751 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25752 <bits/mman-linux.h> to end of file.
25753
25754 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25755 (MCL_CURRENT, MCL_FUTURE): Define here.
25756
5f67c04f
AK
257572013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25758
8a4473cc 25759 [BZ #15232]
5f67c04f
AK
25760 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25761 attribute_hidden.
25762 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25763
c3e94a95
AK
257642013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25765
25766 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25767 fourth parameter needed for rt_sigprocmask syscall.
25768 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25769 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25770 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25771 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25772 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25773 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25774
cfb6382a
JM
257752013-03-04 Joseph Myers <joseph@codesourcery.com>
25776
25777 [BZ #13550]
25778 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25779 comment about bounded pointers.
25780 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25781 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25782
539d8e01
AJ
257832013-03-04 Andreas Jaeger <aj@suse.de>
25784
25785 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25786 common definitions.
25787
25788 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25789 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25790 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25791 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25792 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
25793 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25794
2e167a70 257952013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
25796
25797 [BZ #15055]
25798 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25799 __ieee754_sqrl instead of __sqrl.
25800
68508633
JM
258012013-03-01 Joseph Myers <joseph@codesourcery.com>
25802
25803 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25804 * sysdeps/powerpc/fpu_control.h: ... here.
25805 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25806 * sysdeps/powerpc/bits/fenvinline.h: ... here.
25807 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25808 * sysdeps/powerpc/bits/mathinline.h: ... here.
25809
7775448e
RM
258102013-03-01 Roland McGrath <roland@hack.frob.com>
25811
25812 * elf/dl-hwcaps.c (_dl_important_hwcaps):
25813 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25814 to just [NEED_DL_SYSINFO_DSO].
25815 * elf/dl-support.c: Likewise.
25816 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25817 * elf/rtld.c (dl_main): Likewise.
25818 * elf/setup-vdso.h (setup_vdso): Likewise.
25819 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25820 * sysdeps/unix/sysv/linux/dl-sysdep.c
25821 (_dl_discover_osversion): Likewise.
25822
4e9b5995
CD
258232013-03-01 Carlos O'Donell <carlos@redhat.com>
25824
25825 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25826 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25827
e23872c8
SP
258282013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25829
e5c74c63
SP
25830 * NEWS: Mention libm performance improvements and non-x86 PI
25831 futex support.
25832
e23872c8
SP
25833 * csu/libc-start.c (__pthread_initialize_minimal): Change
25834 function arguments.
25835 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25836
b5510883
JM
258372013-02-28 Joseph Myers <joseph@codesourcery.com>
25838
25839 [BZ #13550]
25840 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25841 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25842 <bp-sym.h> and <bp-asm.h>.
25843 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25844 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25845 and <bp-asm.h>.
25846 (memcpy): Don't use BP_SYM.
25847 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25848 <bp-asm.h>.
25849 (__mpn_add_n): Don't use BP_SYM.
25850 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25851 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25852 and <bp-asm.h>.
25853 (__mpn_addmul_1): Don't use BP_SYM.
25854 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25855 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25856 <bp-sym.h>.
25857 (_setjmp): Don't use BP_SYM.
25858 (__novmx_setjmp): Likewise.
25859 (__GI__setjmp): Likewise.
25860 (__vmx_setjmp): Likewise.
25861 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25862 <bp-sym.h>.
25863 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25864 (__bzero): Don't use BP_SYM.
25865 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25866 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25867 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25868 <bp-sym.h> and <bp-asm.h>.
25869 (memcpy): Don't use BP_SYM.
25870 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25871 <bp-sym.h> and <bp-asm.h>.
25872 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25873 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25874 <bp-sym.h> and <bp-asm.h>.
25875 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25876 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25877 <bp-asm.h>.
25878 (__mpn_lshift): Don't use BP_SYM.
25879 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25880 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25881 <bp-asm.h>.
25882 (memset): Don't use BP_SYM.
25883 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25884 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25885 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25886 <bp-asm.h>.
25887 (__mpn_mul_1): Don't use BP_SYM.
25888 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25889 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25890 <bp-sym.h> and <bp-asm.h>.
25891 (memcmp): Don't use BP_SYM.
25892 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25893 <bp-sym.h> and <bp-asm.h>.
25894 (memcpy): Don't use BP_SYM.
25895 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25896 <bp-sym.h> and <bp-asm.h>.
25897 (memset): Don't use BP_SYM.
25898 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25899 <bp-sym.h> and <bp-asm.h>.
25900 (strncmp): Don't use BP_SYM.
25901 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25902 <bp-sym.h> and <bp-asm.h>.
25903 (memcpy): Don't use BP_SYM.
25904 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25905 <bp-sym.h> and <bp-asm.h>.
25906 (memset): Don't use BP_SYM.
25907 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25908 <bp-sym.h> and <bp-asm.h>.
25909 (__memchr): Don't use BP_SYM.
25910 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25911 <bp-sym.h> and <bp-asm.h>.
25912 (memcmp): Don't use BP_SYM.
25913 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25914 <bp-sym.h> and <bp-asm.h>.
25915 (memcpy): Don't use BP_SYM.
25916 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25917 <bp-sym.h> and <bp-asm.h>.
25918 (__mempcpy): Don't use BP_SYM.
25919 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25920 <bp-sym.h> and <bp-asm.h>.
25921 (__memrchr): Don't use BP_SYM.
25922 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25923 <bp-sym.h> and <bp-asm.h>.
25924 (memset): Don't use BP_SYM.
25925 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25926 <bp-sym.h> and <bp-asm.h>.
25927 (__rawmemchr): Don't use BP_SYM.
25928 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25929 <bp-sym.h> and <bp-asm.h>.
25930 (__STRCMP): Don't use BP_SYM.
25931 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25932 <bp-sym.h> and <bp-asm.h>.
25933 (strchr): Don't use BP_SYM.
25934 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25935 <bp-sym.h> and <bp-asm.h>.
25936 (__strchrnul): Don't use BP_SYM.
25937 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25938 <bp-sym.h> and <bp-asm.h>.
25939 (strlen): Don't use BP_SYM.
25940 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25941 <bp-sym.h> and <bp-asm.h>.
25942 (strncmp): Don't use BP_SYM.
25943 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25944 <bp-sym.h> and <bp-asm.h>.
25945 (__strnlen): Don't use BP_SYM.
25946 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
25947 <bp-asm.h>.
25948 (__mpn_rshift): Don't use BP_SYM.
25949 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25950 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
25951 <bp-sym.h> and <bp-asm.h>.
25952 (__sigsetjmp): Don't use BP_SYM.
25953 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
25954 (L(start_addresses)): Don't use BP_SYM.
25955 (_start): Likewise.
25956 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
25957 <bp-asm.h>.
25958 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
25959 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25960 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25961 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
25962 <bp-asm.h>.
25963 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
25964 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25965 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25966 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25967 <bp-asm.h>.
25968 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25969 comments.
25970 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25971 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25972 <bp-asm.h>.
25973 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
25974 FIXME comments.
25975 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25976 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25977 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25978 <bp-asm.h>.
25979 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25980 comment.
25981 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25982 and <bp-asm.h>.
25983 (strncmp): Don't use BP_SYM,
25984 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25985 <bp-asm.h>.
25986 (__mpn_sub_n): Don't use BP_SYM.
25987 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25988 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25989 and <bp-asm.h>.
25990 (__mpn_submul_1): Don't use BP_SYM.
25991 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25993 <bp-sym.h> and <bp-asm.h>.
25994 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25996 <bp-sym.h> and <bp-asm.h>.
25997 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25998 comment.
25999
8d19fe64
SP
260002013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26001
26002 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
26003 Use ZK to minimize writes to Z.
26004 (sub_magnitudes): Simplify code a bit.
26005 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
26006 Use ZK to minimize writes to Z.
26007 (sub_magnitudes): Simplify code a bit.
26008
85bd816a
RM
260092013-02-27 Roland McGrath <roland@hack.frob.com>
26010
26011 * csu/gmon-start.c: Add special exception to license text.
26012
b5977bf2
RH
260132013-02-27 Richard Henderson <rth@redhat.com>
26014
26015 * scripts/config.guess: Update from config.git.
26016 * scripts/config.sub: Likewise.
26017
11d6e2f2
SP
260182013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26019
09c14ed2
SP
26020 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
26021
a688864e
SP
26022 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
26023
6295157a
SP
26024 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
26025
b8de2202
SP
26026 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
26027
11d6e2f2
SP
26028 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
26029
7e80ddb8
RM
260302013-02-26 Roland McGrath <roland@hack.frob.com>
26031
26032 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
26033 [$(build-shared = yes].
7e80ddb8 26034
7da6d9ed
SP
260352013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26036
45f05884
SP
26037 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
26038 (__mul): Reduce iterations for calculating mantissa.
26039
2236d359
SP
26040 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
26041 MPTWO.
26042 (__mpranred): Likewise.
26043
7da6d9ed
SP
26044 [BZ #15160]
26045 * malloc/memusagestat.c (main): Draw graphs for heap and stack
26046 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
26047
b7688c42
PE
260482013-02-26 Paul Eggert <eggert@cs.ucla.edu>
26049
26050 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
26051 Define __attribute__.
26052
53a5c423
SP
260532013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26054
26055 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
26056 unused.
26057 * posix/regex_internal.h (__attribute): Remove.
26058 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
26059 (re_string_context_at): Likewise.
26060 (bitset_not): Use __attribute__ and mark function as possibly
26061 unused.
26062 (bitset_merge): Likewise.
26063 (bitset_mask): Likewise.
26064 (re_string_char_size_at): Likewise.
26065 (re_string_wchar_at): Likewise.
26066 (re_string_elem_size_at): Likewise.
26067
60f5a8b5
SP
260682013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26069
2a983a2e
SP
26070 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
26071 code.
26072 (cc32): Likewise.
26073
e69804d1
SP
26074 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
26075 (__acr): Likewise.
26076 (__cpy): Likewise.
26077 (norm): Likewise.
26078 (denorm): Likewise.
26079 (__dbl_mp): Likewise.
26080 (add_magnitudes): Likewise.
26081 (sub_magnitudes): Likewise.
26082 (__mul): Likewise.
26083 (__inv): Likewise.
26084
2f22a1e8
SP
26085 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
26086 style.
26087
8930ddc7
SP
26088 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
26089 style.
26090
dc60cb11
SP
26091 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26092 code.
26093
60f5a8b5
SP
26094 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26095 up changes with default code.
26096 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26097 Likewise.
26098
b4d1fd33
AM
260992013-02-24 Allan McRae <allan@archlinux.org>
26100
faf6f8bc
AM
26101 * manual/socket.texi (The Internet Namespace): Order menu items
26102 to match that in the file.
26103
b4d1fd33
AM
26104 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26105 node listing of the info page menu.
26106
2366713d
JM
261072013-02-21 Joseph Myers <joseph@codesourcery.com>
26108
26109 [BZ #13550]
26110 * sysdeps/i386/bp-asm.h: Remove file.
26111 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26112 (PARMS): Do not use macros from bp-asm.h.
26113 (S1): Likewise.
26114 (S2): Likewise.
26115 (SIZE): Likewise.
26116 (__mpn_add_n): Do not use BP_SYM
26117 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26118 "bp-asm.h".
26119 (PARMS): Do not use macros from bp-asm.h.
26120 (S1): Likewise.
26121 (SIZE): Likewise.
26122 (__mpn_addmul_1): Do not use BP_SYM
26123 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26124 "bp-asm.h".
26125 (PARMS): Do not use macros from bp-asm.h.
26126 (SIGMSK): Likewise.
26127 (_setjmp): Likewise. Do not use BP_SYM.
26128 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
26129 "bp-asm.h".
26130 (PARMS): Do not use macros from bp-asm.h.
26131 (SIGMSK): Likewise.
26132 (setjmp): Likewise. Do not use BP_SYM.
26133 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
26134 "bp-asm.h".
26135 (PARMS): Do not use macros from bp-asm.h.
26136 (__frexp): Do not use BP_SYM.
26137 (frexp): Likewise.
26138 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26139 "bp-asm.h".
26140 (PARMS): Do not use macros from bp-asm.h.
26141 (__frexpf): Do not use BP_SYM.
26142 (frexpf): Likewise.
26143 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26144 "bp-asm.h".
26145 (PARMS): Do not use macros from bp-asm.h.
26146 (__frexpl): Do not use BP_SYM.
26147 (frexpl): Likewise.
26148 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26149 "bp-asm.h".
26150 (PARMS): Do not use macros from bp-asm.h.
26151 (__remquo): Do not use BP_SYM.
26152 (remquo): Likewise.
26153 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26154 "bp-asm.h".
26155 (PARMS): Do not use macros from bp-asm.h.
26156 (__remquof): Do not use BP_SYM.
26157 (remquof): Likewise.
26158 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26159 "bp-asm.h".
26160 (PARMS): Do not use macros from bp-asm.h.
26161 (__remquol): Do not use BP_SYM.
26162 (remquol): Likewise.
26163 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26164 "bp-asm.h".
26165 (PARMS): Do not use macros from bp-asm.h.
26166 (DEST): Likewise.
26167 (SRC): Likewise.
26168 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
26169 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26170 "bp-asm.h".
26171 (PARMS): Do not use macros from bp-asm.h.
26172 (strlen): Do not use BP_SYM.
26173 * sysdeps/i386/i586/add_n.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 (S2): Likewise.
26178 (SIZE): Likewise.
26179 (__mpn_add_n): Do not use BP_SYM.
26180 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26181 "bp-asm.h".
26182 (PARMS): Do not use macros from bp-asm.h.
26183 (S1): Likewise.
26184 (SIZE): Likewise.
26185 (__mpn_addmul_1): Do not use BP_SYM.
26186 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26187 weak_alias.
26188 (bzero): Likewise.
26189 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26190 "bp-asm.h".
26191 (PARMS): Do not use macros from bp-asm.h.
26192 (S): Likewise.
26193 (SIZE): Likewise.
26194 (__mpn_lshift): Do not use BP_SYM.
26195 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
26196 "bp-asm.h".
26197 (PARMS): Do not use macros from bp-asm.h.
26198 (DEST): Likewise.
26199 (SRC): Likewise.
26200 (LEN): Likewise.
26201 (memcpy): Likewise. Do not use BP_SYM.
26202 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26203 libc_hidden_def and weak_alias.
26204 (mempcpy): Do not use BP_SYM in weak_alias.
26205 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26206 "bp-asm.h".
26207 (PARMS): Do not use macros from bp-asm.h.
26208 (DEST): Likewise.
26209 (LEN): Likewise.
26210 [!BZERO_P] (CHR): Likewise.
26211 (memset): Likewise. Do not use BP_SYM.
26212 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26213 "bp-asm.h".
26214 (PARMS): Do not use macros from bp-asm.h.
26215 (S1): Likewise.
26216 (SIZE): Likewise.
26217 (__mpn_mul_1): Do not use BP_SYM.
26218 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26219 "bp-asm.h".
26220 (PARMS): Do not use macros from bp-asm.h.
26221 (S): Likewise.
26222 (SIZE): Likewise.
26223 (__mpn_rshift): Do not use BP_SYM.
26224 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26225 "bp-asm.h".
26226 (PARMS): Do not use macros from bp-asm.h.
26227 (STR): Likewise.
26228 (CHR): Likewise.
26229 (strchr): Likewise. Do not use BP_SYM.
26230 (index): Do not use BP_SYM in weak_alias.
26231 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
26232 "bp-asm.h".
26233 (PARMS): Do not use macros from bp-asm.h.
26234 (DEST): Likewise.
26235 (SRC): Likewise.
26236 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
26237 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26238 "bp-asm.h".
26239 (PARMS): Do not use macros from bp-asm.h.
26240 (strlen): Do not use BP_SYM.
26241 * sysdeps/i386/i586/sub_n.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 (S2): Likewise.
26246 (SIZE): Likewise.
26247 (__mpn_sub_n): Do not use BP_SYM.
26248 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26249 "bp-asm.h".
26250 (PARMS): Do not use macros from bp-asm.h.
26251 (S1): Likewise.
26252 (SIZE): Likewise.
26253 (__mpn_submul_1): Do not use BP_SYM.
26254 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26255 "bp-asm.h".
26256 (PARMS): Do not use macros from bp-asm.h.
26257 (S1): Likewise.
26258 (S2): Likewise.
26259 (SIZE): Likewise.
26260 (__mpn_add_n): Do not use BP_SYM.
26261 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26262 weak_alias.
26263 (bzero): Likewise.
26264 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26265 "bp-asm.h".
26266 (PARMS): Do not use macros from bp-asm.h.
26267 (BLK2): Likewise.
26268 (LEN): Likewise.
26269 (memcmp): Do not use BP_SYM.
26270 (bcmp): Do not use BP_SYM in weak_alias.
26271 * sysdeps/i386/i686/memcpy.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 (memcpy): Likewise. Do not use BP_SYM.
26278 * sysdeps/i386/i686/memmove.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 (memmove): Likewise. Do not use BP_SYM.
26285 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26286 "bp-asm.h".
26287 (PARMS): Do not use macros from bp-asm.h.
26288 (DEST): Likewise.
26289 (SRC): Likewise.
26290 (LEN): Likewise.
26291 (__mempcpy): Likewise. Do not use BP_SYM.
26292 (mempcpy): Do not use BP_SYM in weak_alias.
26293 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26294 "bp-asm.h".
26295 (PARMS): Do not use macros from bp-asm.h.
26296 (DEST): Likewise.
26297 (LEN): Likewise.
26298 [!BZERO_P] (CHR): Likewise.
26299 (memset): Likewise. Do not use BP_SYM.
26300 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26301 "bp-asm.h".
26302 (PARMS): Do not use macros from bp-asm.h.
26303 (STR2): Likewise.
26304 (strcmp): Do not use BP_SYM.
26305 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26306 "bp-asm.h".
26307 (PARMS): Do not use macros from bp-asm.h.
26308 (STR): Likewise.
26309 (DELIM): Likewise.
26310 [USE_AS_STRTOK_R] (SAVE): Likewise.
26311 (FUNCTION): Likewise. Do not use BP_SYM.
26312 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26313 aliases.
26314 (strtok_r): Likewise.
26315 (__GI___strtok_r): Likewise.
26316 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26317 (PARMS): Do not use macros from bp-asm.h.
26318 (S): Likewise.
26319 (SIZE): Likewise.
26320 (__mpn_lshift): Do not use BP_SYM.
26321 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26322 (PARMS): Do not use macros from bp-asm.h.
26323 (STR): Likewise.
26324 (CHR): Likewise.
26325 (__memchr): Do not use BP_SYM.
26326 (memchr): Do not use BP_SYM in weak_alias.
26327 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26328 (PARMS): Do not use macros from bp-asm.h.
26329 (BLK2): Likewise.
26330 (LEN): Likewise.
26331 (memcmp): Do not use BP_SYM.
26332 (bcmp): Do not use BP_SYM in weak_alias.
26333 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26334 (PARMS): Do not use macros from bp-asm.h.
26335 (S1): Likewise.
26336 (SIZE): Likewise.
26337 (__mpn_mul_1): Do not use BP_SYM.
26338 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26339 "bp-asm.h".
26340 (PARMS): Do not use macros from bp-asm.h.
26341 (STR): Likewise.
26342 (CHR): Likewise.
26343 (__rawmemchr): Do not use BP_SYM.
26344 (rawmemchr): Do not use BP_SYM in weak_alias.
26345 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26346 (PARMS): Do not use macros from bp-asm.h.
26347 (S): Likewise.
26348 (SIZE): Likewise.
26349 (__mpn_rshift): Do not use BP_SYM.
26350 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26351 (PARMS): Do not use macros from bp-asm.h.
26352 (SIGMSK): Likewise.
26353 (__sigsetjmp): Likewise. Do not use BP_SYM.
26354 * sysdeps/i386/start.S: Do not include "bp-sym.h".
26355 (_start): Do not use BP_SYM.
26356 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26357 (PARMS): Do not use macros from bp-asm.h.
26358 (DEST): Likewise.
26359 (SRC): Likewise.
26360 (__stpcpy): Likewise. Do not use BP_SYM.
26361 (stpcpy): Do not use BP_SYM in weak_alias.
26362 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26363 "bp-asm.h".
26364 (PARMS): Do not use macros from bp-asm.h.
26365 (DEST): Likewise.
26366 (SRC): Likewise.
26367 (LEN): Likewise.
26368 (__stpncpy): Likewise. Do not use BP_SYM.
26369 (stpncpy): Do not use BP_SYM in weak_alias.
26370 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26371 (PARMS): Do not use macros from bp-asm.h.
26372 (STR): Likewise.
26373 (CHR): Likewise.
26374 (strchr): Likewise. Do not use BP_SYM.
26375 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26376 "bp-asm.h".
26377 (PARMS): Do not use macros from bp-asm.h.
26378 (STR): Likewise.
26379 (CHR): Likewise.
26380 (__strchrnul): Likewise. Do not use BP_SYM.
26381 (strchrnul): Do not use BP_SYM in weak_alias.
26382 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26383 "bp-asm.h".
26384 (PARMS): Do not use macros from bp-asm.h.
26385 (STOP): Likewise.
26386 (strcspn): Do not use BP_SYM.
26387 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26388 "bp-asm.h".
26389 (PARMS): Do not use macros from bp-asm.h.
26390 (STR): Likewise.
26391 (STOP): Likewise.
26392 (strpbrk): Likewise. Do not use BP_SYM.
26393 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26394 "bp-asm.h".
26395 (PARMS): Do not use macros from bp-asm.h.
26396 (STR): Likewise.
26397 (CHR): Likewise.
26398 (strrchr): Likewise. Do not use BP_SYM.
26399 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26400 (PARMS): Do not use macros from bp-asm.h.
26401 (SKIP): Likewise.
26402 (strspn): Do not use BP_SYM.
26403 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26404 (PARMS): Do not use macros from bp-asm.h.
26405 (STR): Likewise.
26406 (DELIM): Likewise.
26407 (SAVE): Likewise.
26408 (FUNCTION): Likewise. Do not use BP_SYM.
26409 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26410 aliases.
26411 (strtok_r): Likewise.
26412 (__GI___strtok_r): Likewise.
26413 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26414 (PARMS): Do not use macros from bp-asm.h.
26415 (S1): Likewise.
26416 (S2): Likewise.
26417 (SIZE): Likewise.
26418 (__mpn_sub_n): Do not use BP_SYM.
26419 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26420 "bp-asm.h".
26421 (PARMS): Do not use macros from bp-asm.h.
26422 (S1): Likewise.
26423 (SIZE): Likewise.
26424 (__mpn_submul_1): Do not use BP_SYM.
26425 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26426 <bp-sym.h>.
26427 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26428 and <bp-asm.h>.
26429 (PARMS): Do not use macros from bp-asm.h.
26430 (FLAGS): Likewise.
26431 (PTID): Likewise.
26432 (TLS): Likewise.
26433 (CTID): Likewise.
26434 (__clone): Do not use BP_SYM.
26435 (clone): Do not use BP_SYM in weak_alias.
26436 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26437 and <bp-asm.h>.
26438 (PARMS): Do not use macros from bp-asm.h.
26439 (LEN): Likewise.
26440 (__mmap64): Do not use BP_SYM.
26441 (mmap64): Do not use BP_SYM in weak_alias.
26442 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26443 <bp-sym.h> and <bp-asm.h>.
26444 (PARMS): Do not use macros from bp-asm.h.
26445 (__posix_fadvise64_l64): Do not use BP_SYM.
26446 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26447 (PARMS): Do not use macros from bp-asm.h.
26448 (NSOPS): Likewise.
26449 (semtimedop): Do not use BP_SYM.
26450 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26451 and <bp-asm.h>.
26452
582a3cff
AM
264532013-02-21 Allan McRae <allan@archlinux.org>
26454
26455 * manual/message.texi (Charset conversion in gettext):
26456 Move @end statement to beginning of line.
26457
bab8a695
SP
264582013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26459
80945231
SP
26460 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26461 static.
26462 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26463 Likewise.
26464
bab8a695
SP
26465 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26466 (denorm): Likewise.
26467 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26468 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26469
e21d7aa7
AK
264702013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26471
26472 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26473 tail-call to the resolved function if pltexit isn't needed.
26474
4c7a4263
SP
264752013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26476
26477 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26478 or Y being zero as being unlikely.
26479 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26480 Likewise.
26481
41f49342
CD
264822013-02-20 Carlos O'Donell <carlos@redhat.com>
26483
26484 * manual/nss.texi (System Databases and Name Service Switch):
26485 Remove frobnicate @pxref.
26486
50022a93
TS
264872013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26488
26489 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26490 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26491
08cbd996
PM
264922013-02-20 Petr Machata <pmachata@redhat.com>
26493
26494 * elf/elf.h (R_ARM_TARGET1): New macro.
26495 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26496 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26497 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26498 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26499 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26500 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26501 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26502 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26503 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26504 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26505 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26506 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26507 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26508 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26509 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26510 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26511 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26512 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26513 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26514 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26515 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26516 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26517 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26518 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26519 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26520 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26521 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26522 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26523 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26524 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26525 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26526 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26527 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26528 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26529 (R_ARM_THM_GOT_BREL12): Likewise.
26530 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26531 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26532 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26533 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26534 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26535 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26536 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26537 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26538 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26539
c7b275d6
TS
265402013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26541
26542 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26543 __attribute_used__ to __attribute__ ((unused)).
26544
20cd7fb3
SP
265452013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26546
26547 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26548 powerpc mpa.c.
26549 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26550 comment formatting.
26551 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26552
92945b52
JM
265532013-02-19 Joseph Myers <joseph@codesourcery.com>
26554
26555 [BZ #13550]
26556 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26557 Remove macro.
26558 (ENTER): Remove both macro definitions.
26559 (LEAVE): Likewise.
26560 (CHECK_BOUNDS_LOW): Likewise.
26561 (CHECK_BOUNDS_HIGH): Likewise.
26562 (CHECK_BOUNDS_BOTH): Likewise.
26563 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26564 (RETURN_BOUNDED_POINTER): Likewise.
26565 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26566 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26567 (POP_ERRNO_LOCATION_RETURN): Likewise.
26568 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26569 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26570 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26571 macros.
26572 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26573 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26574 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26575 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26576 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26577 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26578 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26579 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26580 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26581 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26582 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26583 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26584 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26585 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26586 removed macros.
26587 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26588 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26589 macros.
26590 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26591 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26592 * sysdeps/i386/i586/memset.S (memset): Likewise.
26593 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26594 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26595 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26596 macros.
26597 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26598 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26599 Change uses of L(2) to L(out).
26600 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26601 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26602 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26603 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26604 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26605 removed macros.
26606 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26607 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26608 macros.
26609 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26610 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26611 (RETURN): Do not use macro LEAVE.
26612 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26613 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26614 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26615 * sysdeps/i386/i686/memset.S (memset): Likewise.
26616 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26617 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26618 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26619 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26620 Likewise.
26621 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26622 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
26623 L(1_2) and L(1_3) into L(1).
26624 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26625 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26626 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26627 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26628 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26629 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26630 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26631 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26632 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26633 macros.
26634 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26635 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26636 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26637 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26638 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26639 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26640 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26641 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26642 * sysdeps/i386/strcspn.S (strcspn): Likewise.
26643 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26644 * sysdeps/i386/strrchr.S (strrchr): Likewise.
26645 * sysdeps/i386/strspn.S (strspn): Likewise.
26646 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26647 conditional code.
26648 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26649 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26650 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26651 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
26652 L(1_3) into L(1_1).
26653 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26654 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26655 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26656 macros.
26657 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26658
2389741a
JJ
266592013-02-19 Jakub Jelinek <jakub@redhat.com>
26660
26661 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26662 macro.
26663
2016b3cd
SP
266642013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26665
e4f22324
SP
26666 * math/atest-exp.c (exp_mpn): Remove ROUND.
26667 * math/atest-exp2.c (exp_mpn): Likewise.
26668 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26669
2016b3cd
SP
26670 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26671 * stdlib/tst-tls-atexit-lib.c: Likewise.
26672 * stdlib/tst-tls-atexit.c: Likewise.
26673
4be9b544
MF
266742013-02-18 Mike Frysinger <vapier@gentoo.org>
26675
26676 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26677 and __attribute_alloc_size__.
26678
2f62b9ee
MF
266792013-02-18 Mike Frysinger <vapier@gentoo.org>
26680
26681 * include/programs/xmalloc.h: Change __attribute_alloc_size to
26682 __attribute_alloc_size__.
26683 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26684 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26685
6ff444c4
MF
266862013-02-18 Mike Frysinger <vapier@gentoo.org>
26687
26688 * include/programs/xmalloc.h: New file.
26689 * catgets/gencat.c: Include it.
26690 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26691 * elf/pldd.c: Likewise.
26692 * iconv/iconv_charmap.c: Likewise.
26693 * iconv/iconvconfig.c: Likewise.
26694 * iconv/strtab.c: Likewise.
26695 * locale/programs/locale.c: Likewise.
26696 * locale/programs/localedef.h: Likewise.
26697 * locale/programs/simple-hash.c: Likewise.
26698 * nscd/nscd.h: Likewise.
26699 * nss/makedb.c: Likewise.
26700 * sysdeps/generic/ldconfig.h: Likewise.
26701
be179c8a
SP
267022013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26703
ba384f6e
SP
26704 * Versions.def: Add GLIBC_2.18.
26705 * include/link.h (struct link_map): New member l_tls_dtor_count.
26706 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26707 (__call_tls_dtors): Likewise.
26708 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26709 __cxa_thread_atexit_impl.
26710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26711 Likewise.
26712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26713 Likewise.
26714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26715 Likewise.
26716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26717 Likewise.
26718 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26720 Likewise.
26721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26722 Likewise.
26723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26725 Likewise.
26726 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26727 (tests): Add test case tst-tls-atexit.
26728 (modules-names): Add shared library for tst-tls-atexit.
85891aca 26729 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
26730 (GLIBC_PRIVATE): Add __call_tls_dtors.
26731 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26732 for libstdc++.
26733 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26734 * stdlib/tst-tls-atexit.c: New test case.
26735 * stdlib/tst-tls-atexit-lib.c: New test case.
26736
ffaa74cf 26737 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 26738
be179c8a
SP
26739 * elf/Versions (ld): Add _dl_find_dso_for_object.
26740 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26741 * elf/dl-open.c (_dl_find_dso_for_object): New function.
26742 (dl_open_worker): Use _dl_find_dso_for_object.
26743 * elf/dl-sym.c (do_sym): Likewise.
26744 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26745
f78b5caa
AK
267462013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26747
26748 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26749 Syntactic changes only.
26750 (_dl_runtime_profile): Do a tail-call to the resolved function.
26751
29691210
JM
267522013-02-17 Joseph Myers <joseph@codesourcery.com>
26753
26754 [BZ #13550]
26755 * sysdeps/x86_64/bp-asm.h: Remove file.
26756 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26757 <bp-sym.h> and <bp-asm.h>.
26758 (__clone): Do not use BP_SYM.
26759 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26760 <bp-sym.h> and <bp-asm.h>.
26761 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26762 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26763 "bp-asm.h".
26764 (_setjmp): Do not use BP_SYM.
26765 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26766 "bp-asm.h".
26767 (setjmp): Do not use BP_SYM.
26768 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26769 libc_hidden_def.
26770 (mempcpy): Do not use BP_SYM in weak_alias.
26771 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26772 "bp-asm.h".
26773 (strchr): Do not use BP_SYM.
26774 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26775 "bp-asm.h".
26776 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26777 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26778 (_start): Do not use BP_SYM.
26779 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26780 "bp-asm.h".
26781 (strcat): Do not use BP_SYM.
26782 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26783 "bp-asm.h".
26784 (STRCMP): Do not use BP_SYM.
26785 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26786 "bp-asm.h".
26787 (STRCPY): Do not use BP_SYM.
26788 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26789 "bp-asm.h".
26790 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26791 "bp-asm.h".
26792 (FUNCTION): Do not use BP_SYM.
26793 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26794 weak_alias.
26795 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26796
f238fd19
AJ
267972013-02-17 Andreas Jaeger <aj@suse.de>
26798
26799 * time/Versions: Sort entries.
26800 * string/Versions: Likewise.
26801 * resolv/Versions: Likewise.
26802 * posix/Versions: Likewise.
26803 * iconv/Versions: Likewise.
26804 * elf/Versions: Likewise.
26805 * wcsmbs/Versions: Likewise.
26806
bd07f23c 268072013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 26808
22af19f9
SP
26809 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26810 loop termination condition.
26811
4709fe76
SP
26812 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26813 variable to calculate EZ.
26814 (__sqr): Likewise.
2d0e0f29
SP
26815
26816 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26817 the lower precision input.
26818
daaa7713
JM
268192013-02-15 Joseph Myers <joseph@codesourcery.com>
26820
26821 [BZ #13550]
26822 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26823 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26824 (run-via-rtld-prefix): Do not handle %-bp tests.
26825 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26826 (all-object-suffixes): Remove .ob.
26827 (bppfx): Remove variable.
26828 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26829 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26830 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26831 [$(build-bounded) = yes] (libtype.ob): Likewise.
26832 * Makerules (elide-routines.ob): Remove variable.
26833 (do-tests-clean): Do not handle *-bp.out.
26834 (common-mostlyclean): Do not handle *-bp and *-bp.out.
26835 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26836 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26837 (tests): Do not include $(tests-bp.out).
26838 (xtests): Do not include $(xtests-bp.out).
26839 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26840 [$(build-bounded) = yes] ($(addprefix
26841 $(objpfx),$(binaries-bounded))): Remove rule.
26842 ($(objpfx)%-bp.out): Remove rule.
26843 * config.make.in (build-bounded): Remove variable.
26844 * crypt/Makefile [$(build-bounded) = yes]
26845 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26846 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26847 append to variable.
26848 [$(build-bounded) = yes] (install-lib): Likewise.
26849 [$(build-bounded) = yes] (generated): Likewise.
26850 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26851 Remove rule.
26852 * intl/Makefile [$(build-bounded) = yes]
26853 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26854 * math/Makefile [$(build-bounded) = yes]
26855 ($(tests:%=$(objpfx)%-bp): Likewise.
26856 * misc/Makefile [$(build-bounded) = yes]
26857 ($(objpfx)tst-tsearch-bp): Likewise.
26858 * nptl/Makeconfig (bounded-thread-library): Remove variable.
26859 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26860 Remove dependency.
26861 * string/Makefile (o-objects.ob): Remove variable.
26862 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26863 (CFLAGS-.ob): Remove variable.
26864 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26865 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26866 both definitions of variable.
26867 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26868 (ASFLAGS-.ob): Remove variable.
26869
e97ed6dd
JM
268702013-02-14 Joseph Myers <joseph@codesourcery.com>
26871
2bdd4ca6
JM
26872 [BZ #13550]
26873 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26874 Remove __BOUNDED_POINTERS__ from condition.
26875 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26876 * string/bits/string2.h [!__NO_STRING_INLINES &&
26877 !__BOUNDED_POINTERS__]: Likewise.
26878 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26879 Likewise.
26880 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26881 Remove conditional code.
26882 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26883 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26884 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26885 condition.
26886
e97ed6dd
JM
26887 [BZ #13550]
26888 * csu/libc-start.c: Do not include <bp-sym.h>.
26889 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26890 * elf/dl-open.c: Do not include <bp-sym.h>.
26891 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26892 * math/fegetenv.c: Do not include <bp-sym.h>.
26893 (fegetenv): Do not use BP_SYM in versioned symbols.
26894 * nptl/sysdeps/pthread/bits/libc-lockP.h
26895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26896 <bp-sym.h>.
26897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26898 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26899 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26900 (__pthread_mutex_destroy): Likewise.
26901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26902 (__pthread_mutex_lock): Likewise.
26903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26904 (__pthread_mutex_trylock): Likewise.
26905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26906 (__pthread_mutex_unlock): Likewise.
26907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26908 (__pthread_mutexattr_init): Likewise.
26909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26910 (__pthread_mutexattr_destroy): Likewise.
26911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26912 (__pthread_mutexattr_settype): Likewise.
26913 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26914 (__pthread_rwlock_init): Likewise.
26915 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26916 (__pthread_rwlock_destroy): Likewise.
26917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26918 (__pthread_rwlock_rdlock): Likewise.
26919 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26920 (__pthread_rwlock_tryrdlock): Likewise.
26921 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26922 (__pthread_rwlock_wrlock): Likewise.
26923 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26924 (__pthread_rwlock_trywrlock): Likewise.
26925 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26926 (__pthread_rwlock_unlock): Likewise.
26927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26928 (__pthread_key_create): Likewise.
26929 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26930 (__pthread_setspecific): Likewise.
26931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26932 (__pthread_getspecific): Likewise.
26933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26934 Likewise.
26935 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26936 (_pthread_cleanup_push_defer): Likewise.
26937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26938 (_pthread_cleanup_pop_restore): Likewise.
26939 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26940 (pthread_setcancelstate): Likewise.
26941 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26942 <bp-sym.h>.
26943 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26944 (memchr): Do not use BP_SYM in weak_alias.
26945 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26946 (fegetenv): Do not use BP_SYM in versioned symbols.
26947 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
26948 (fesetenv): Do not use BP_SYM in versioned symbols.
26949 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26950 (feupdateenv): Do not use BP_SYM in versioned symbols.
26951 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26952 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26953 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
26954 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
26955 (open64): Do not use BP_SYM in weak_alias.
26956 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
26957 (fegetenv): Do not use BP_SYM in versioned symbols.
26958 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
26959 (fesetenv): Do not use BP_SYM in versioned symbols.
26960 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26961 (feupdateenv): Do not use BP_SYM in versioned symbols.
26962 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
26963 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
26964 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26965 (feraiseexcept): Do not use BP_SYM in versioned symbols.
26966 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26967 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26968 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26969 <bp-sym.h>.
26970 (__libc_start_main): Do not use BP_SYM.
26971
d6752ccd
SP
269722013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26973
cb57ce60
SP
26974 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26975 redundant return line.
26976 (norm): Likewise.
26977 (denorm): Likewise.
26978 (dbl_mp): Likewise.
26979 (sub_magnitudes): Likewise.
26980 (__add): Likewise.
26981 (__sub): Likewise.
26982 (__mul): Likewise.
26983 (__inv): Likewise.
26984 (__dvd): Likewise.
26985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26986 (norm): Likewise.
26987 (denorm): Likewise.
26988 (dbl_mp): Likewise.
26989 (sub_magnitudes): Likewise.
26990 (__add): Likewise.
26991 (__sub): Likewise.
26992 (__mul): Likewise.
26993 (__inv): Likewise.
26994 (__dvd): Likewise.
26995
f414520d
SP
26996 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26997 instead of __mul.
26998 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26999 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
27000 (cc32): Likewise.
27001
d6752ccd
SP
27002 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
27003 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
27004 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
27005 of __mul for squares.
27006 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
27007 function
27008 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
27009 Likewise.
27010 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
27011 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27012
70d9946a
JM
270132013-02-13 Joseph Myers <joseph@codesourcery.com>
27014
27015 [BZ #13550]
27016 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
27017 code.
27018 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
27019 prototype or function definition. Rename ubp_* variables and
27020 parameters. Remove argv definitions conditional on
27021 [__BOUNDED_POINTERS__].
27022 * debug/backtrace.c (__backtrace): Do not use __unbounded.
27023 * elf/dl-runtime.c (_dl_fixup): Likewise.
27024 * include/set-hooks.h (RUN_HOOK): Likewise.
27025 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
27026 definition.
27027 * string/strcpy.c (strcpy): Do not use __unbounded.
27028 * sysdeps/generic/frame.h (struct layout): Likewise.
27029 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
27030 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
27031 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
27032 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
27033 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
27034 (__backtrace): Likewise.
27035 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
27036 use __ptrvalue.
27037 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27038 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27039 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27040 Likewise.
27041 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
27042 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
27043 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27044 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27045 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
27046 Do not use __unbounded.
27047 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
27048 Rename __unboundedrlimits parameter to rlimits in prototype.
27049 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
27050 Do not use __unbounded.
27051 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
27052 not use __ptrvalue.
27053 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27054 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
27055 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27056 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
27057 __ptrvalue or __unbounded.
27058 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
27059 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
27060 use __unbounded.
27061 (__new_msgctl): Do not use __ptrvalue.
27062 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
27063 __unbounded.
27064 (__libc_msgrcv): Do not use __ptrvalue.
27065 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
27066 startup_info): Do not use __unbounded.
27067 (__libc_start_main): Likewise. Rename ubp_* variables and
27068 parameters. Remove argv definitions conditional on
27069 [__BOUNDED_POINTERS__].
27070 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
27071 __ptrvalue.
27072 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
27073 use __unbounded.
27074 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
27075 or __ptrvalue.
27076 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
27077 use __unbounded.
27078 (__new_shmctl): Do not use __ptrvalue.
27079 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27080 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27081 Likewise.
27082 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27083 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
27084 (__libc_sigaction): Likewise.
27085 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
27086 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
27087 Likewise.
27088 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27089
cc7834d6
OB
270902013-02-13 Ondřej Bílka <neleai@seznam.cz>
27091
ffb1ec7b 27092 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
27093
27094 * string/mempcpy.c: Implement by calling memcpy.
27095
bdf02814
SP
270962013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27097
c2af38aa
SP
27098 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27099
4e92d59e
SP
27100 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27101 evaluation.
27102
909279a5
SP
27103 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27104 values in the mantissa.
27105
bdf02814
SP
27106 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27107 minimize writes to Z.
27108 (sub_magnitudes): Simplify code a bit.
27109
cd525923
RM
271102013-02-12 Roland McGrath <roland@hack.frob.com>
27111
27112 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27113 from the message. The linker prefixes all warnings with that already.
27114
7e2f0d2d
AS
271152013-02-12 Andreas Schwab <schwab@suse.de>
27116
a445af0b
AS
27117 [BZ #15078]
27118 * posix/regexec.c (extend_buffers): Add parameter min_len.
27119 (check_matching): Pass minimum needed length.
27120 (clean_state_log_if_needed): Likewise.
27121 (get_subexp): Likewise.
27122 * posix/Makefile (tests): Add bug-regex34.
27123 (bug-regex34-ENV): Define.
27124 * posix/bug-regex34.c: New file.
27125
7e2f0d2d
AS
27126 [BZ #11561]
27127 * posix/regcomp.c (parse_bracket_exp): When looking up collating
27128 elements compare against the byte sequence of it, not its name.
27129 * posix/Makefile (tests): Add bug-regex35.
27130 (bug-regex35-ENV): Define.
27131 * posix/bug-regex35.c: New file.
27132
a175b684
TV
271332013-02-11 Tom de Vries <tom@codesourcery.com>
27134
27135 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
27136 comment.
27137 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27138 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27139 (CHECK_EOL): Add undef.
27140
310998fe 271412013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
27142
27143 * bits/stdlib-bsearch.h: New file.
27144 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 27145 * stdlib/stdlib.h: Likewise.
41eda41d 27146
8ded91fb
RM
271472013-02-11 Roland McGrath <roland@hack.frob.com>
27148
27149 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27150 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27151 declaration.
27152 * manual/search.texi (Array Search Function): Add missing const in
27153 lfind prototype.
27154 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27155 declaration to use rlim_t.
27156 (Basic Scheduling Functions): Remove erroneous const from
27157 sched_getparam prototype. Remove erroneous * from
27158 sched_get_priority_max and sched_get_priority_min prototypes.
27159 (Resource Usage): Fix summary @comment on vtimes to refer to
27160 sys/vtimes.h rather than vtimes.h.
27161 Add missing *s in vtimes prototype.
27162 (Limits on Resources): Fix ulimit prototype to return long int.
27163 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27164 prototypes to use long int rather than double.
27165 (BSD Random): Fix initstate and setstate to use char *, not void *.
27166 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27167 prototype to make second argument 'struct aiocb64 *const[]'.
27168 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27169 (Status of AIO Operations): Remove erroneous const in aio_return and
27170 aio_return64 prototypes.
27171 (Synchronizing I/O): Fix sync prototype to return void.
27172 * manual/startup.texi (Suboptions): Remove an erroneous const in
27173 getsubopt prototype.
27174 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27175 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27176 use size_t rather than int.
27177 (Scanning All Users): Likewise for getpwent_r.
27178 (Setting Groups): Add missing const to setgroups prototype.
27179 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27180 * manual/socket.texi (Host Names): Fix gethostbyaddr and
27181 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27182 'const void *' rather than 'const char *'.
27183 (Host Address Functions): Likewise for inet_ntop.
27184 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27185 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27186 ssize_t for return value.
27187 (Sending Data): Likewise for send, sendto, sendmsg.
27188 (Socket Option Functions): Add a missing const in setsockopt prototype.
27189 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27190 use wchar_t for the argument.
27191 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27192 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27193 take no arguments.
27194 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27195 double/float/long double for second argument.
27196 Fix return types of significand, significandf, significandl.
27197 * manual/filesys.texi (Setting Permissions): Use mode_t for second
27198 argument in fchmod prototype.
27199 (File Owner): Use uid_t and gid_t in fchown prototype.
27200 (File Times): Add const to utimes, futimes, and lutimes prototypes.
27201 (Making Special Files): Use mode_t and dev_t in mknod prototype.
27202 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27203 use 'const struct dirent **' as argument types to CMP function pointer
27204 argument.
27205 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27206 (File Times): Fix summary magic @comment for struct utimbuf and utime
27207 to refer to utime.h, not time.h.
27208 * manual/string.texi (Argz Functions): Add missing const in
27209 argz_extract and argz_next prototypes.
27210 (Finding Tokens in a String): Likewise for basename.
27211 (String/Array Comparison): Fix typo in wcscasecmp prototype.
27212 (Copying and Concatenation): Fix typo in wmemmove prototype.
27213 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27214 (Signal Stack): Remove erroneous const in sigstack prototype.
27215 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27216 prototype.
27217 (Simple Calendar Time): Likewise for stime.
27218 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27219 prototype.
27220 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27221 say sys/sysctl.h instead.
27222 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27223 and vsyslog prototypes.
27224
fe77fe6d
TV
272252013-02-11 Tom de Vries <tom@codesourcery.com>
27226
27227 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27228 Remove.
27229
3a09b620
RM
272302013-02-11 Roland McGrath <roland@hack.frob.com>
27231
27232 * misc/sys/mman.h: Fix typo in mremap comment.
27233
550a0b89
RM
272342013-02-08 Roland McGrath <roland@hack.frob.com>
27235
27236 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27237 the '\0' terminator.
27238
a2da1673
JM
272392013-02-08 Joseph Myers <joseph@codesourcery.com>
27240
27241 [BZ #13550]
27242 * debug/segfault.c: Don't include <bp-checks.h>.
27243 * sysdeps/generic/bp-checks.h: Remove file.
27244 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27245 (__GETDENTS): Don't use CHECK_N.
27246 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27247 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27248 (__getgroups): Don't use CHECK_N.
27249 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27250 (setgroups): Don't use CHECK_N.
27251 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27252 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27253 (__libc_msgrcv): Don't use CHECK_N.
27254 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27255 (__libc_msgsnd): Don't use CHECK_N.
27256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27257 <bp-checks.h>.
27258 (__libc_pread): Don't use CHECK_N.
27259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27260 include <bp-checks.h>.
27261 (__libc_pread64): Don't use CHECK_N.
27262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27263 include <bp-checks.h>.
27264 (__libc_pwrite): Don't use CHECK_N.
27265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27266 include <bp-checks.h>.
27267 (__libc_pwrite64): Don't use CHECK_N.
27268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27269 <bp-checks.h>.
27270 (__libc_pread): Don't use CHECK_N.
27271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27272 include <bp-checks.h>.
27273 (__libc_pread64): Don't use CHECK_N.
27274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27275 include <bp-checks.h>.
27276 (__libc_pwrite): Don't use CHECK_N.
27277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27278 include <bp-checks.h>.
27279 (__libc_pwrite64): Don't use CHECK_N.
27280 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27281 (do_pread): Don't use CHECK_N.
27282 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27283 (do_pread64): Don't use CHECK_N.
27284 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27285 (do_pwrite): Don't use CHECK_N.
27286 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27287 (do_pwrite64): Don't use CHECK_N.
27288 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27289 (__libc_readv): Don't use CHECK_N.
27290 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27291 (semop): Don't use CHECK_N.
27292 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27293 <bp-checks.h>.
27294 (semtimedop): Don't use CHECK_N.
27295 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27296 (__libc_pread): Don't use CHECK_N.
27297 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27298 <bp-checks.h>.
27299 (__libc_pread64): Don't use CHECK_N.
27300 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27301 <bp-checks.h>.
27302 (__libc_pwrite): Don't use CHECK_N.
27303 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27304 <bp-checks.h>.
27305 (__libc_pwrite64): Don't use CHECK_N.
27306 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27307 <bp-checks.h>.
27308 (__libc_msgrcv): Don't use CHECK_N.
27309 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27310 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
27311 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27312 (__libc_writev): Don't use CHECK_N.
27313
b84660a8
RM
273142013-02-08 Roland McGrath <roland@hack.frob.com>
27315
7f3e75f8
RM
27316 * string/strcpy.c: Removed unused variable.
27317
b84660a8
RM
27318 * Makeconfig (+sysdep-includes): Define with := rather than =.
27319 Use an existing include/ subdir of each sysdeps dir before it.
27320
471514d3
CD
273212013-02-08 Carlos O'Donell <carlos@redhat.com>
27322
27323 * nscd/connection.c (register_traced_file): Comment function.
27324 [HAVE_INOTIFY] (union __inev): Define.
27325 [HAVE_INOTIFY] (inotify_check_files): New function.
27326 [HAVE_INOTIFY] (clear_db_cache): Likewise.
27327 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27328 clear_db_cache.
27329 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27330
b2d3c3be
CD
273312013-02-08 Carlos O'Donell <carlos@redhat.com>
27332
27333 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27334 loaded if not already and that a failure is permanent.
27335
b39949d2
CD
273362013-02-08 Carlos O'Donell <carlos@redhat.com>
27337
ddacd1db 27338 [BZ #15006]
b39949d2
CD
27339 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27340 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27341
b2c9eff4
JM
273422013-02-08 Joseph Myers <joseph@codesourcery.com>
27343
f3aae3f3
JM
27344 [BZ #13550]
27345 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27346 (CHECK_1_NULL_OK): Likewise.
27347 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27348 (__fxstat): Do not use CHECK_1.
27349 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27350 <bp-checks.h>.
27351 (___fxstat64): Do not use CHECK_1.
27352 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27353 <bp-checks.h>.
27354 (__fxstatat): Do not use CHECK_1.
27355 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27356 <bp-checks.h>.
27357 (__fxstatat64): Do not use CHECK_1.
27358 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27359 <bp-checks.h>.
27360 (__fxstat): Do not use CHECK_1.
27361 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27362 <bp-checks.h>.
27363 (__fxstatat): Do not use CHECK_1.
27364 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27365 <bp-checks.h>.
27366 (__getresgid): Do not use CHECK_1.
27367 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27368 <bp-checks.h>.
27369 (__getresuid): Do not use CHECK_1.
27370 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27371 <bp-checks.h>.
27372 (__lxstat): Do not use CHECK_1.
27373 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27374 <bp-checks.h>.
27375 (__old_msgctl): Do not use CHECK_1.
27376 (__new_msgctl): Likewise.
27377 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27378 <bp-checks.h>.
27379 (__new_setrlimit): Do not use CHECK_1.
27380 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27381 <bp-checks.h>.
27382 (__old_shmctl): Do not use CHECK_1.
27383 (__new_shmctl): Likewise.
27384 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27385 <bp-checks.h>.
27386 (__xstat): Do not use CHECK_1.
27387 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27388 (__lxstat): Do not use CHECK_1.
27389 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27390 <bp-checks.h>.
27391 (___lxstat64): Do not use CHECK_1.
27392 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27393 (__old_msgctl): Do not use CHECK_1.
27394 (__new_msgctl): Likewise.
27395 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27396 <bp-checks.h>.
27397 (__gettimeofday): Do not use CHECK_1.
27398 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27399 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27400 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27401 <bp-checks.h>.
27402 (__gettimeofday): Do not use CHECK_1.
27403 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27404 (__old_shmctl): Do not use CHECK_1_NULL_OK.
27405 (__new_shmctl): Do not use CHECK_1.
27406 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27407 <bp-checks.h>.
27408 (do_sigtimedwait): Do not use CHECK_1.
27409 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27410 <bp-checks.h>.
27411 (do_sigwaitinfo): Do not use CHECK_1.
27412 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27413 <bp-checks.h>.
27414 (msgctl): Do not use CHECK_1.
27415 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27416 <bp-checks.h>.
27417 (shmctl): Do not use CHECK_1.
27418 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27419 (ustat): Do not use CHECK_1.
27420 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27421 <bp-checks.h>.
27422 (__fxstat): Do not use CHECK_1.
27423 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27424 <bp-checks.h>.
27425 (__fxstatat): Do not use CHECK_1.
27426 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27427 <bp-checks.h>.
27428 (__lxstat): Do not use CHECK_1.
27429 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27430 <bp-checks.h>.
27431 (__xstat): Do not use CHECK_1.
27432 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27433 (__xstat): Do not use CHECK_1.
27434 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27435 (___xstat64): Do not use CHECK_1.
27436
b2c9eff4
JM
27437 [BZ #13550]
27438 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27439 definitions.
27440 (CHECK_BOUNDS_HIGH): Likewise.
27441 * string/strcpy.c: Do not include <bp-checks.h>.
27442 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27443
f1d70dad
RM
274442013-02-07 Roland McGrath <roland@hack.frob.com>
27445
27446 * nscd/nscd-client.h (__nscd_drop_map_ref):
27447 Add __attribute__ ((unused)).
27448 * nis/nss-nisplus.h (niserr2nss): Likewise.
27449
27450 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27451 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27452
27453 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27454 Remove inline keyword.
27455 * include/rounding-mode.h (round_away): Likewise.
27456 * libio/wfileops.c (adjust_wide_data): Likewise.
27457 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27458 (__m128i_strloadu_tolower): Likewise.
27459 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27460 (__m128i_strloadu_tolower): Likewise.
27461 * time/mktime.c (ydhms_diff): Likewise.
27462 * locale/elem-hash.h (elem_hash): Likewise.
27463 * locale/setlocale.c (setdata): Likewise.
27464 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27465 (re_string_wchar_at): Likewise.
27466 (bitset_not, bitset_merge, bitset_mask): Likewise.
27467 [!(__GNUC__ > 3)] (inline): Remove macro.
27468 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27469 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27470 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27471 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27472 * string/memcmp.c (memcmp_bytes): Likewise.
27473 * locale/programs/locarchive.c (compute_hashval): Likewise.
27474 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27475 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27476 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27477 * nss/getent.c (print_rpc, print_protocols): Likewise.
27478 (print_passwd, print_group, print_aliases): Likewise.
27479 * nis/nss-nisplus.h (niserr2nss): Likewise.
27480 * nscd/connections.c (restart_p): Likewise.
27481 Change return type to bool.
27482
eab55bfb
RM
274832013-02-05 Roland McGrath <roland@hack.frob.com>
27484
7bd642f5
RM
27485 * Makeconfig (all-Depend-files): Add existing
27486 $(sorted-subdirs:=/Depend) files.
27487 (all-subdirs): Remove nss.
27488 * sysdeps/unix/inet/Subdirs: Add it here instead.
27489 * hesiod/Depend: New file.
27490
573c29b2
RM
27491 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27492 instead of calling alloca.
27493
b2e25af0
RM
27494 * io/lseek.c (__lseek): Rename to __libc_lseek.
27495 Define __lseek as an alias.
27496
eab55bfb
RM
27497 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27498
9a0d1941
CD
274992013-02-04 Carlos O'Donell <carlos@redhat.com>
27500
27501 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27502 else clause and remove check for non-standard endianness.
27503
b83bbec4
DM
275042013-02-04 David S. Miller <davem@davemloft.net>
27505
27506 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27507
6277fdab
JM
275082013-02-04 Joseph Myers <joseph@codesourcery.com>
27509
27510 [BZ #13550]
27511 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27512 (__ubp_memchr): Remove prototype.
27513 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27514 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27515 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27516 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27517 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27518 Remove alias.
27519 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27520 (__ubp_memchr): Likewise.
27521 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27522 (__ubp_memchr): Likewise.
27523 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27524 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27525 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27526 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27527 CHECK_STRING.
27528 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27529 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27530 (__getcwd): Do not use CHECK_STRING.
27531 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27532 <bp-checks.h>.
27533 (__real_chown): Do not use CHECK_STRING.
27534 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27535 <bp-checks.h>.
27536 (fchownat): Do not use CHECK_STRING.
27537 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27538 CHECK_STRING.
27539 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27540 <bp-checks.h>.
27541 (__lchown): Do not use CHECK_STRING.
27542 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27543 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27544 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27545 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27547 include <bp-checks.h>.
27548 (truncate64): Do not use CHECK_STRING.
27549 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27550 <bp-checks.h>.
27551 (__real_chown): Do not use CHECK_STRING.
27552 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27553 <bp-checks.h>.
27554 (__lchown): Do not use CHECK_STRING.
27555 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27556 <bp-checks.h>.
27557 (__chown): Do not use CHECK_STRING.
27558 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27559 <bp-checks.h>.
27560 (truncate64): Do not use CHECK_STRING.
27561 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27562 Likewise.
27563 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27564 (__xmknod): Do not use CHECK_STRING.
27565 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27566 <bp-checks.h>.
27567 (__xmknodat): Do not use CHECK_STRING.
27568 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27569 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27570
903ae060
AS
275712013-02-04 Andreas Schwab <schwab@suse.de>
27572
27573 [BZ #14142]
27574 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27575 * include/netdb.h: Likewise for h_errno.
27576 * elf/tst-stackguard1.c: Include <tls.h>.
27577
542f9466
JK
275782013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
27579
27580 * elf/link.h (struct link_map): Extend the l_addr comment.
27581 * include/link.h (struct link_map): Likewise.
27582
e782a927
JM
275832013-02-01 Joseph Myers <joseph@codesourcery.com>
27584
27585 [BZ #13550]
27586 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27587 (BOUNDED_1): Remove macro.
27588 * debug/backtrace.c: Don't include <bp-checks.h>.
27589 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27590 (__backtrace): Likewise.
27591 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27592 <bp-checks.h>.
27593 (__backtrace): Don't use BOUNDED_1.
27594 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27595 <bp-checks.h>.
27596 (__backtrace): Don't use BOUNDED_1.
27597 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27598 (__backtrace): Don't use BOUNDED_1.
27599 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27600 (shmat): Don't use BOUNDED_N.
27601
8cf28c5e
JM
276022013-01-31 Joseph Myers <joseph@codesourcery.com>
27603
3a7ac8a0
JM
27604 [BZ #13550]
27605 * sysdeps/generic/bp-start.h: Remove file.
27606 * csu/libc-start.c: Don't include <bp-start.h>.
27607 (LIBC_START_MAIN): Set up __environ directly instead of using
27608 INIT_ARGV_and_ENVIRON.
27609 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27610 <bp-start.h>.
27611
f3499f95
JM
27612 [BZ #13550]
27613 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27614 definitions.
27615 (CHECK_FCNTL): Likewise.
27616 (CHECK_N_PAGES): Likewise.
27617
32a45bea
JM
27618 [BZ #13550]
27619 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27620 definitions.
27621 (CHECK_SIGSET_NULL_OK): Likewise.
27622 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27623 <bp-checks.h>.
27624 (sigpending): Don't use CHECK_SIGSET.
27625 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27626 <bp-checks.h>.
27627 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27628 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27629 <bp-checks.h>.
27630 (do_sigsuspend): Don't use CHECK_SIGSET.
27631 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27632 use CHECK_SIGSET.
27633 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27634 (do_sigwait): Don't use CHECK_SIGSET.
27635 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27636 use CHECK_SIGSET.
27637 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27638 include <bp-checks.h>.
27639 (sigpending): Don't use CHECK_SIGSET.
27640 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27641 include <bp-checks.h>.
27642 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27643 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27644 <bp-checks.h>.
27645 (sigpending): Don't use CHECK_SIGSET.
27646 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27647 <bp-checks.h>.
27648 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27649
2e8a5c8c
JM
27650 [BZ #13550]
27651 * sysdeps/generic/bp-semctl.h: Remove file.
27652 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27653 <bp-checks.h> and <bp-semctl.h>.
27654 (__old_semctl): Don't use CHECK_SEMCTL.
27655 (__new_semctl): Likewise.
27656 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27657 and <bp-semctl.h>.
27658 (__old_semctl): Don't use CHECK_SEMCTL.
27659 (__new_semctl): Likewise.
27660 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27661 <bp-checks.h> and <bp-semctl.h>.
27662 (__old_semctl): Don't use CHECK_SEMCTL.
27663 (__new_semctl): Likewise.
27664 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27665 <bp-checks.h> and <bp-semctl.h>.
27666 (semctl): Don't use CHECK_SEMCTL.
27667
c2d54929
JM
27668 [BZ #13550]
27669 * Makerules (elide-bp-thunks): Remove variable.
27670 (elide-routines.oS): Don't use $(elide-bp-thunks).
27671 (elide-routines.os): Likewise.
27672 (elide-routines.o): Likewise.
27673 (elide-routines.op): Likewise.
27674 (elide-routines.og): Likewise.
27675 (objects): Don't use $(bp-thunks).
27676 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27677 include.
27678 (common-generated): Do not add s-proto-bp.d.
27679 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27680 (int): Likewise.
27681 (typ): Likewise.
27682 Do not generate makefile rules for bounded-pointer thunks.
27683 * sysdeps/generic/bp-thunks.h: Remove file.
27684 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27685 * sysdeps/unix/s-proto-bp.S: Likewise.
27686
8cf28c5e
JM
27687 [BZ #15062]
27688 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27689 parts of result separately when argument is not close to line from
27690 -i to i and one part of argument is small.
27691 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27692 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27693 * math/libm-test.inc (cacos_test): Add more tests.
27694 (casin_test): Likewise.
27695 (casinh_test): Likewise.
27696 * sysdeps/i386/fpu/libm-test-ulps: Update.
27697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27698
c4e33b8d
DM
276992013-01-31 David S. Miller <davem@davemloft.net>
27700
27701 * po/de.po: Update from translation team.
27702
3b60b421
MK
277032013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
27704
27705 * time/tzfile.c: Include stdint.h for SIZE_MAX.
27706
bb931195
TS
277072013-01-25 Thomas Schwinge <thomas@codesourcery.com>
27708
b5a5da23
TS
27709 * configure.in (_AC_PROG_CC_C89): New definition.
27710 * configure: Regenerate.
27711
bb931195
TS
27712 * configure.in (AC_PROG_CPP): New definition.
27713 * configure: Regenerate.
27714
8c53a12c
JM
277152013-01-23 Joseph Myers <joseph@codesourcery.com>
27716
27717 * debug/tst-backtrace.h: New file.
27718 * debug/tst-backtrace2.c: Include tst-backtrace.h.
27719 (ret): Remove variable.
27720 (x): Likewise.
27721 (FAIL): Remove macro.
27722 (NO_INLINE): Likewise.
27723 (fn1): Use match function instead of strstr.
27724 * debug/tst-backtrace3.c: Include tst-backtrace.h.
27725 (ret): Remove variable.
27726 (x): Likewise.
27727 (FAIL): Remove macro.
27728 (NO_INLINE): Likewise.
27729 (fn): Use match function instead of strstr.
27730 * debug/tst-backtrace4.c: Include tst-backtrace.h.
27731 (ret): Remove variable.
27732 (x): Likewise.
27733 (FAIL): Remove macro.
27734 (NO_INLINE): Likewise.
27735 (handle_signal): Use match function instead of strstr.
27736 * debug/tst-backtrace5.c: Include tst-backtrace.h.
27737 (ret): Remove variable.
27738 (x): Likewise.
27739 (FAIL): Remove macro.
27740 (NO_INLINE): Likewise.
27741 (handle_signal): Use match function instead of strstr.
27742
4858fa2a
RM
277432013-01-23 Roland McGrath <roland@hack.frob.com>
27744
27745 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27746
bae8e7f5
DM
277472013-01-23 David S. Miller <davem@davemloft.net>
27748
27749 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27750 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27751 argument of CAS if possible.
27752 * sysdeps/sparc/sparc64/bits/atomic.h
27753 (__arch_compare_and_exchange_val_32_acq): Likewise.
27754 (__arch_compare_and_exchange_val_64_acq): Likewise.
27755
9cbbc4ae
PT
277562013-01-23 Pino Toscano <toscano.pino@tiscali.it>
27757
27758 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27759 * sysdeps/posix/ulimit.c: ... this.
92a601b8 27760 Include <limits.h>.
67b3f58c 27761 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 27762
5655a0b5
AC
277632013-01-23 Adam Conrad <adconrad@0c3.net>
27764
27765 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27766 (LDFLAGS-tst-array5): Likewise.
27767
052aff95
JM
277682013-01-23 Joseph Myers <joseph@codesourcery.com>
27769
27770 [BZ #15036]
27771 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27772 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27773 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27774 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27775
7c1e01aa
DM
277762013-01-21 David S. Miller <davem@davemloft.net>
27777
27778 * sysdeps/sparc/backtrace.c: New file.
27779 * sysdeps/sparc/sparc32/backtrace.h: New file.
27780 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27781 * sysdeps/sparc/sparc64/backtrace.h: New file.
27782 * sysdeps/sparc/sparc64/backtrace.c: Delete.
27783 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27784 -funwind-tables.
27785
ab087e0a
AS
277862013-01-21 Andreas Schwab <schwab@suse.de>
27787
27788 [BZ #15020]
27789 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27790 closed its stdout.
27791
ed689c2f
AS
277922013-01-20 Andreas Schwab <schwab@linux-m68k.org>
27793
27794 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27795 "mpa2.h".
27796 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27797
31d470ac
JM
277982013-01-18 Joseph Myers <joseph@codesourcery.com>
27799 Mark Mitchell <mark@codesourcery.com>
27800 Tom de Vries <tom@codesourcery.com>
27801 Paul Pluzhnikov <ppluzhnikov@google.com>
27802
27803 * debug/tst-backtrace2.c: New file.
27804 * debug/tst-backtrace3.c: Likewise.
27805 * debug/tst-backtrace4.c: Likewise.
27806 * debug/tst-backtrace5.c: Likewise.
27807 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27808 (CFLAGS-tst-backtrace3.c): Likewise.
27809 (CFLAGS-tst-backtrace4.c): Likewise.
27810 (CFLAGS-tst-backtrace5.c): Likewise.
27811 (LDFLAGS-tst-backtrace2): Likewise.
27812 (LDFLAGS-tst-backtrace3): Likewise.
27813 (LDFLAGS-tst-backtrace4): Likewise.
27814 (LDFLAGS-tst-backtrace5): Likewise.
27815 (tests): Add new tests tst-backtrace2, tst-backtrace3,
27816 tst-backtrace4 and tst-backtrace5.
27817
90567f30 278182013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
27819 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27820
27821 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27822 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27823 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27824 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27826 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27827 "+r" and remove output regs list as redundant. Add explicit inline
27828 asm to specify register of return val to work around compiler codegen
27829 bug. Remove (int) cast on return value. Add return type parameter to
27830 use in macro so that this macro does not truncate return value for
27831 64-bit values.
27832 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27833 pass to INTERNAL_VSYSCALL_NCS.
27834 (INLINE_VSYSCALL): Add 'long int' as return type to
27835 INTERNAL_VSYSCALL_NCS macro invocation.
27836 (INTERNAL_VSYSCALL): Add 'long int' as return type to
27837 INTERNAL_VSYSCALL_NCS macro invocation.
27838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27839
d3b9ea61
SP
278402013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27841
0b57daeb
SP
27842 [BZ #14496]
27843 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27844 Fix application of SIMD FP exception mask.
27845
caa99d06
SP
27846 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27847 mp_no from a power of two.
27848 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27849 __mpexp_twomm1. Use __pow_mp.
27850
d3b9ea61
SP
27851 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27852 multiplication.
27853
1dbaee3c
DM
278542013-01-17 David S. Miller <davem@davemloft.net>
27855
27856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27857
728d7b43
JM
278582013-01-17 Joseph Myers <joseph@codesourcery.com>
27859
27860 [BZ #15023]
27861 * include/complex.h: Condition contents on [!_COMPLEX_H].
27862 (__kernel_casinhf): New prototype.
27863 (__kernel_casinh): Likewise.
27864 (__kernel_casinhl): Likewise.
27865 * math/Makefile (libm_calls): Add k_casinh.
27866 * math/k_casinh.c: New file.
27867 * math/k_casinhf.c: Likewise.
27868 * math/k_casinhl.c: Likewise.
27869 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27870 finite nonzero arguments.
27871 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27872 finite nonzero arguments.
27873 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27874 finite nonzero arguments.
27875 * math/s_casinh.c: Do not include <float.h>.
27876 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27877 * math/s_casinhf.c: Do not include <float.h>.
27878 (__casinhf): Move code for finite nonzero arguments to
27879 k_casinhf.c.
27880 * math/s_casinhl.c: Do not include <float.h>.
27881 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27882 redefine.
27883 (__casinhl): Move code for finite nonzero arguments to
27884 k_casinhl.c.
27885 * math/libm-test.inc (cacos_test): Add more tests.
27886 * sysdeps/i386/fpu/libm-test-ulps: Update.
27887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27888
2a26ef3a
PT
278892013-01-17 Pino Toscano <toscano.pino@tiscali.it>
27890
27891 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27892 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27893 [!HAVE_MREMAP]: Remove [defined linux] case.
27894 * malloc/arena.c: Do not include <malloc-sysdep.h>.
27895
a897655d
SP
278962013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27897
27898 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27899
881ebe89 279002013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
27901
27902 * elf/elf.h (R_386_SIZE32): New relocation.
27903 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27904 R_386_SIZE32.
27905 (elf_machine_rela): Likewise.
27906 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27907 R_X86_64_SIZE64 and R_X86_64_SIZE32.
27908
59981e9b
JM
279092013-01-17 Joseph Myers <joseph@codesourcery.com>
27910
27911 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27912 (FP_FAST_FMA): Do not define.
27913 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27914 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27915 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27916 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27917 !_SOFT_FLOAT]: Likewise.
27918 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27919 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27920 value.
27921 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27922 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27923 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27924 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27925 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27926 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27927 file.
27928
cfa8054f
AS
279292013-01-16 Andreas Schwab <schwab@suse.de>
27930
27931 [BZ #14327]
27932 * include/stdlib.h (__mktemp): Add declaration.
27933 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27934 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27935
dd930cc5
SP
279362013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27937
881ebe89
SP
27938 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27939 definitions.
27940 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27941 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27942 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27943 definitions here.
27944 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27945 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27946 definitions.
27947 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
27948 and ONE.
27949 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
27950 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
27951 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
27952 definitions.
27953 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
27954 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
27955 definitions.
27956 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 27957
dd930cc5
SP
27958 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
27959
c19a9f89
DM
279602013-01-15 David S. Miller <davem@davemloft.net>
27961
1aa61767
DM
27962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27963 trunc{,f} to libm-sysdep_routes.
27964 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27966 file.
27967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27969 file.
27970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27971 file.
27972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27974 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27975 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27976 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27977 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27978 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27979 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27980
c42d5e98
DM
27981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27982 nearbyint{,f} to libm-sysdep_routes.
27983 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27985 New file.
27986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27987 file.
27988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27989 New file.
27990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27991 file.
27992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27994 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27995 file.
27996 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27997 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27998 file.
27999 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
28000 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
28001 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
28002
c19a9f89
DM
28003 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28004 libc_feholdexcept and libc_fesetenv.
28005
357679d2
MF
280062013-01-15 Mike Frysinger <vapier@gentoo.org>
28007
28008 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
28009
65a82e3d
DM
280102013-01-14 David S. Miller <davem@davemloft.net>
28011
8b954ab9
DM
28012 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
28013 (SPARC_ASM_VIS2_IFUNC): Likewise.
28014 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
28015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
28016 use of 'siam' instruction.
28017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
28018 Likewise.
28019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
28020 Likewise.
28021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
28022 Likewise.
28023 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
28024 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
28025 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
28026 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
28027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
28028 file.
28029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
28030 file.
28031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
28032 file.
28033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
28034 file.
28035 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
28036 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
28037 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
28038 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
28039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
28040 new VIS2 routines.
28041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28044 Likewise.
28045 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28046 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28047 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28048 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
28050 routines to libm-sysdep_routines.
28051 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28052
65a82e3d
DM
28053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28054 fdim/fdimf to libm-sysdep_routines.
28055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
28056 file.
28057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
28058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
28059 file.
28060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
28061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
28062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
28063 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
28064 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
28065 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
28066 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
28067
e34ab705
SP
280682013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28069
2a91b573
SP
28070 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
28071 to optimize copies.
28072
1066a534
SP
28073 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
28074 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28075 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28076
e34ab705
SP
28077 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
28078 local variable MPTWO.
28079 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28080 Likewise.
28081
aba5e596
MF
280822013-01-13 Mike Frysinger <vapier@gentoo.org>
28083
28084 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
28085 GLOB_NOESCAPE.
28086
e557e9e5
MF
280872013-01-13 Mike Frysinger <vapier@gentoo.org>
28088
28089 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
28090
0428cec9
MF
280912013-01-13 Mike Frysinger <vapier@gentoo.org>
28092
28093 * manual/pattern.texi (glob_t): Document gl_flags.
28094 (glob64_t): Likewise.
28095
8794a964
DM
280962013-01-11 David S. Miller <davem@davemloft.net>
28097
66438c3f
RM
28098 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28099 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28100 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
28101 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28102 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28103 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28104 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28105 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28106 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28107 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28108 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28109 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28110 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28111
4ae4244d
DM
28112 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28113 sparc V9 rather than using V8 code.
28114 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28115 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28116
8794a964
DM
28117 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28118 Move to...
28119 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28120 Here.
28121
6270516e
RM
281222013-01-11 Roland McGrath <roland@hack.frob.com>
28123
28124 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28125 not in the main loop.
28126 * configure: Regenerated.
28127
6a57d931
JM
281282013-01-11 Joseph Myers <joseph@codesourcery.com>
28129
28130 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28131 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28132 to just #else.
28133 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
28134 [!__GLIBC_HAVE_LONG_LONG] case.
28135 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28136 condition to just #else.
28137 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28138 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28139 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28140 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28141 unconditional.
28142 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28143 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28144 #elif condition to just #else.
28145 * sysdeps/unix/sysv/linux/sys/sysmacros.h
28146 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28147 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28148 #elif condition to just #else.
28149
0e8529e9
SE
281502013-01-11 Steve Ellcey <sellcey@mips.com>
28151
28152 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28153 (EF_MIPS_ARCH_64): Fix value.
28154 (EF_MIPS_ARCH_32R2): New.
28155 (EF_MIPS_ARCH_64R2): New.
28156
740b3dbe
L
281572013-01-11 H.J. Lu <hongjiu.lu@intel.com>
28158
28159 * Makeconfig (+link-pie-before-libc): New.
28160 (+link-pie-after-libc): Likewise.
28161 (+link-pie-tests): Likewise.
28162 (+link-pie): Rewritten.
28163 (link-before-libc): Remove $(config-LDFLAGS).
28164 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28165 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28166 (config-LDFLAGS): Renamed to ...
28167 (rtld-LDFLAGS): This.
28168 (rtld-tests-LDFLAGS): New macro.
28169 (link-libc-rpath-link): Likewise.
28170 (link-libc-tests-rpath-link): Likewise.
28171 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28172 (link-libc): Prepand $(link-libc-rpath-link).
28173 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28174 (test-program-prefix): New macro.
28175 (test-via-rtld-prefix): Likewise.
28176 (test-program-cmd): Likewise.
28177 (host-test-program-cmd): Likewise.
28178 * Makefile ($(common-objpfx)testrun.sh): Replace
28179 $(run-program-prefix) with $(test-program-prefix).
28180 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28181 $(rtld-LDFLAGS).
28182 ($(common-objpfx)shlib.lds): Likewise.
28183 (build-module-helper): Likewise.
28184 ($(common-objpfx)format.lds): Likewise.
28185 * Rules (binaries-pie-tests): New.
28186 (binaries-pie-notests): Likewise.
28187 (binaries-pie): Rewritten.
28188 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28189 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28190 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28191 (make-test-out): Replace $(host-built-program-cmd) with
28192 $(host-test-program-cmd).
28193 * config.make.in (build-hardcoded-path-in-tests): New variable.
28194 * configure.in (--enable-hardcoded-path-in-tests): New configure
28195 option.
28196 (hardcoded_path_in_tests): New AC_SUBST.
28197 * configure: Regenerated.
28198 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28199 $(built-program-cmd) with $(test-program-cmd).
28200 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28201 (test_program_cmd): This.
28202 * elf/Makefile ($(objpfx)order.out): Run test with
28203 $(test-program-prefix).
28204 ($(objpfx)order2.out): Likewise.
28205 ($(objpfx)tst-initorder.out): Likewise.
28206 ($(objpfx)tst-initorder2.out): Likewise.
28207 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28208 $(test-program-cmd).
28209 ($(objpfx)tst-array1-static.out): Likewise.
28210 ($(objpfx)tst-array2.out): Likewise.
28211 ($(objpfx)tst-array3.out): Likewise.
28212 ($(objpfx)tst-array4.out): Likewise.
28213 ($(objpfx)tst-array5.out): Likewise.
28214 ($(objpfx)tst-array5-static.out): Likewise.
28215 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28216 $(test-program-cmd).
28217 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28218 $(run-program-prefix) with $(test-program-prefix).
28219 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28220 (test_program_prefix): This.
28221 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28222 $(run-program-prefix) with $(test-program-prefix).
28223 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28224 (test_program_prefix): This.
28225 * iconvdata/tst-tables.sh: Likewise.
28226 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28227 $(run-program-prefix) with $(test-program-prefix).
28228 ($(objpfx)tst-translit.out): Likewise.
28229 ($(objpfx)tst-gettext2.out): Likewise.
28230 ($(objpfx)tst-gettext4.out): Likewise.
28231 ($(objpfx)tst-gettext6.out): Likewise.
28232 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28233 (test_program_prefix): This.
28234 * intl/tst-gettext2.sh: Likewise.
28235 * intl/tst-gettext4.sh Likewise.
28236 * intl/tst-gettext6.sh: Likewise.
28237 * intl/tst-translit.sh: Likewise.
28238 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28239 with $(test-program-cmd).
28240 * libio/Makefile ($(objpfx)test-freopen.out): Replace
28241 $(run-program-prefix) with $(test-program-prefix).
28242 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28243 (test_program_prefix): This.
28244 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28245 $(run-program-prefix) with $(test-program-prefix).
28246 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28247 (test_program_prefix): This.
28248 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28249 * posix/Makefile ($(objpfx)globtest.out): Replace
28250 $(run-via-rtld-prefix) and $(test-wrapper) with
28251 $(test-program-prefix) and $(test-via-rtld-prefix).
28252 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28253 $(test-program-prefix).
28254 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28255 $(host-test-program-cmd).
28256 (tst-spawn-ARGS): Likewise.
28257 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28258 $(test-program-prefix).
28259 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28260 (test_via_rtld_prefix): This.
28261 (test_wrapper): Renamed to ...
28262 (test_program_prefix): This.
28263 (run_program_prefix): Replaced by test_program_prefix.
28264 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28265 (test_program_prefix): This.
28266 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28267 with $(host-test-program-cmd).
28268 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28269 $(run-program-prefix) with $(test-program-prefix).
28270 ($(objpfx)tst-printf.out): Likewise.
28271 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28272 $(test-program-cmd).
28273 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28274 (test_program_prefix): This.
28275 * stdio-common/tst-unbputc.sh: Likewise.
28276 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28277 $(run-program-prefix) with $(test-program-prefix).
28278 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28279 (test_program_prefix): This.
28280 * string/Makefile ($(objpfx)tst-svc.out): Replace
28281 $(built-program-cmd) with $(test-program-cmd).
28282
c6fe55cf
AJ
282832013-01-11 Andreas Jaeger <aj@suse.de>
28284
28285 [BZ #15003]
28286 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28287 value. Sync with Linux 3.7.
28288
9e6919c8
DM
282892013-01-10 David S. Miller <davem@davemloft.net>
28290
28291 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28292 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28293 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28294
1c9f1a02
RM
282952013-01-10 Roland McGrath <roland@hack.frob.com>
28296
28297 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28298 never set.
28299 * configure: Regenerated.
28300
b9de2dde
DM
283012013-01-10 David S. Miller <davem@davemloft.net>
28302
28303 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28304 sparc V9 rather than using V8 code.
28305 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28306 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28307
e7f68ef4
RM
283082013-01-10 Roland McGrath <roland@hack.frob.com>
28309
28310 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28311 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28312 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28313 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28314 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28315 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28316 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28317 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28318 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28319 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28320 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28321 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28322 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28323 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28324 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28325 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28326 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28327 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28328 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28329 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28330 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28331 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28332 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28333 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28334 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28335 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28336 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28337
5a47cc9c
DM
283382013-01-10 David S. Miller <davem@davemloft.net>
28339
28340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28341
4cf8f209
L
283422013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28343
28344 * posix/Makefile (tests-static): New variable.
28345 (tests): Add $(tests-static).
28346 (tst-exec-static-ARGS): New variable.
28347 (tst-spawn-static-ARGS): Likewise.
28348 * posix/tst-exec-static.c: New file.
28349 * posix/tst-spawn-static.c: Likewise.
28350 * posix/tst-exec.c: Support run directly.
28351 * posix/tst-spawn.c: Likewise.
28352
fed0faa1
JM
283532013-01-10 Joseph Myers <joseph@codesourcery.com>
28354
828beb13
JM
28355 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28356 long.
28357 * math/bits/mathcalls.h (llrint): Likewise.
28358 (llround): Likewise.
28359 * stdlib/stdlib.h (struct drand48_data): Likewise.
28360 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28361 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28362 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28363 Likewise.
28364 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28365 Likewise.
28366 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28367 (elf_greg_t): Likewise.
28368 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28369 (__jmp_buf): Likewise.
28370 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28371 definitions.
28372 (llrint): Likewise, for all definitions.
28373 (llrintl): Likewise.
28374
fed0faa1
JM
28375 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28376 Remove [__GNUC__] condition.
28377 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28378 condition to just [__USE_ISOC99].
28379 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28380
1a20cb20
L
283812013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28382
28383 [BZ #14200]
28384 * sysdeps/unix/sysv/linux/x86/bits/environments.h
28385 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28386 defined.
28387 (_POSIX_V6_ILP32_OFF32): Likewise.
28388 (_XBS5_ILP32_OFF32): Likewise.
28389 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28390 (__ILP32_OFFBIG_LDFLAGS): Likewise.
28391
751b85f7
SP
283922013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28393
7490eb81
SP
28394 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28395
751b85f7
SP
28396 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28397 doubles __mpexp_twomm1. Adjust usage.
28398 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28399 Remove.
28400
988197f0
AS
284012013-01-10 Andreas Schwab <schwab@suse.de>
28402
28403 [BZ #14964]
28404 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28405 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28406
e83d7298
DM
284072013-01-09 David S. Miller <davem@davemloft.net>
28408
034ed64b 28409 [BZ #15003]
57f41c40
AS
28410 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28411 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28412 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28413 (TCP_FASTOPEN): Define.
e83d7298
DM
28414 (tcp_repair_opt): New structure.
28415 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28416 enum values.
57f41c40
AS
28417 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28418 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28419 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
28420 (tcp_cookie_transactions): New structure.
28421
d5e0b9bd
AB
284222013-01-09 Anton Blanchard <anton@samba.org>
28423
28424 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28425 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28426 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28427 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28428
0c07e3ea
JM
284292013-01-09 Joseph Myers <joseph@codesourcery.com>
28430
28431 * include/features.h (__USE_ANSI): Remove.
28432
232f7002
RM
284332013-01-09 Roland McGrath <roland@hack.frob.com>
28434
ad98e30c
RM
28435 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28436
232f7002
RM
28437 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28438
950c99ca
SP
284392013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28440
b5792741
SP
28441 * sysdeps/s390/fpu/libm-test-ulps: Update.
28442
47cf2278
SP
28443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28444
950c99ca
SP
28445 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28446 (__acr): Likewise.
28447 (__cpy): Likewise.
28448 (norm): Likewise.
28449 (denorm): Likewise.
28450 (__mp_dbl): Likewise.
28451 (__dbl_mp): Likewise.
28452 (add_magnitudes): Likewise.
28453 (sub_magnitudes): Likewise.
28454 (__add): Likewise.
28455 (__sub): Likewise.
28456 (__mul): Likewise.
28457 (__inv): Likewise.
28458 (__dvd): Likewise.
28459 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28460 (__acr): Likewise.
28461 (__cpy): Likewise.
28462 (norm): Likewise.
28463 (denorm): Likewise.
28464 (__mp_dbl): Likewise.
28465 (__dbl_mp): Likewise.
28466 (add_magnitudes): Likewise.
28467 (sub_magnitudes): Likewise.
28468 (__add): Likewise.
28469 (__sub): Likewise.
28470 (__mul): Likewise.
28471 (__inv): Likewise.
28472 (__dvd): Likewise.
28473 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28474 (__acr): Likewise.
28475 (__cpy): Likewise.
28476 (norm): Likewise.
28477 (denorm): Likewise.
28478 (__mp_dbl): Likewise.
28479 (__dbl_mp): Likewise.
28480 (add_magnitudes): Likewise.
28481 (sub_magnitudes): Likewise.
28482 (__add): Likewise.
28483 (__sub): Likewise.
28484 (__mul): Likewise.
28485 (__inv): Likewise.
28486 (__dvd): Likewise.
28487
eede9df9
JM
284882013-01-08 Joseph Myers <joseph@codesourcery.com>
28489
28490 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28491 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28492 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28493 2 && __USE_EXTERN_INLINES]: Likewise.
28494
c40ea3d9
AJ
284952013-01-08 Andreas Jaeger <aj@suse.de>
28496
28497 [BZ# 14985]
28498 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28499 Remove.
28500 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28501 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28502
2ccdea26
AB
285032013-01-07 Anton Blanchard <anton@samba.org>
28504
28505 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28506 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28507 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28508 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28509 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28510 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28511 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28512 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28513 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28514 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28515 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28516 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28517 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28518 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28519 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28520 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28521 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28522 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28523 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28524 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28525 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28526 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28527 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28528 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28529 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28530 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28531 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28532 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28533 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28534 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28535 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28536 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28537 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28538 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28539 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28540 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28541 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28542 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28543 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28544 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28545 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28546 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28547 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28548
a9708fed
JM
285492013-01-07 Joseph Myers <joseph@codesourcery.com>
28550
375607b9
JM
28551 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28552 (__MALLOC_PMT): Likewise.
28553 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28554 [__GNUC__], only on [_LIBC].
28555 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28556 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28557 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28558 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28559 forward declaration.
28560 (realloc_hook_ini): Likewise.
28561 (memalign_hook_ini): Likewise.
28562 (__libc_memalign): Do not use __MALLOC_PMT in variable
28563 declaration.
28564 (__libc_valloc): Likewise.
28565 (__libc_pvalloc): Likewise.
28566 (__libc_calloc): Likewise.
28567 (__posix_memalign): Likewise.
28568
a9708fed
JM
28569 [BZ #14996]
28570 * math/s_casinh.c: Include <float.h>.
28571 (__casinh): Do not do computation with squaring and square root
28572 for large arguments.
28573 * math/s_casinhf.c: Include <float.h>.
28574 (__casinhf): Do not do computation with squaring and square root
28575 for large arguments.
28576 * math/s_casinhl.c: Include <float.h>.
28577 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28578 (__casinhl): Do not do computation with squaring and square root
28579 for large arguments.
28580 * math/libm-test.inc (casin_test): Add more tests.
28581 (casinh_test): Likewise.
28582 * sysdeps/i386/fpu/libm-test-ulps: Update.
28583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28584
afec409a
L
285852013-01-04 H.J. Lu <hongjiu.lu@intel.com>
28586
28587 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28588 (__x86_64_raw_data_cache_size): Likewise.
28589 (__x86_64_data_cache_size_half): Likewise.
28590 (__x86_64_raw_data_cache_size_half): Likewise.
28591 (__x86_64_shared_cache_size): Likewise.
28592 (__x86_64_raw_shared_cache_size): Likewise.
28593 (__x86_64_shared_cache_size_half): Likewise.
28594 (__x86_64_raw_shared_cache_size_half): Likewise.
28595 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28596 to ...
28597 (__x86_data_cache_size): This.
28598 (__x86_64_raw_data_cache_size): Renamed to ...
28599 (__x86_raw_data_cache_size): This.
28600 (__x86_64_data_cache_size_half): Renamed to ...
28601 (__x86_data_cache_size_half): This.
28602 (__x86_64_raw_data_cache_size_half): Renamed to ...
28603 (__x86_raw_data_cache_size_half): This.
28604 (__x86_64_shared_cache_size): Renamed to ...
28605 (__x86_shared_cache_size): This.
28606 (__x86_64_raw_shared_cache_size): Renamed to ...
28607 (__x86_raw_shared_cache_size): This.
28608 (__x86_64_shared_cache_size_half): Renamed to ...
28609 (__x86_shared_cache_size_half): This.
28610 (__x86_64_raw_shared_cache_size_half): Renamed to ...
28611 (__x86_raw_shared_cache_size_half): This.
28612 * sysdeps/x86_64/memcpy.S: Updated.
28613 * sysdeps/x86_64/memset.S: Likewise.
28614 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28615 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28616 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28617
0b3986d0
DM
286182013-01-04 David S. Miller <davem@davemloft.net>
28619
28620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28621
e47686e9
AS
286222013-01-04 Andreas Schwab <schwab@linux-m68k.org>
28623
d643bac1
AS
28624 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28625 1 to avoid redefinition warning.
28626 (__USE_GNU): Don't define.
28627 (init_signaling_nan): Protoize.
28628
e47686e9
AS
28629 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28630
b18decba
SP
286312013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28632
fffb407f
SP
28633 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28634 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28635 (__cpymn): Likewise.
28636 (norm): Remove commented code.
28637 (denorm): Likewise.
28638 (__mp_dbl): Likewise.
28639 (__inv): Likewise.
28640 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28641 (__cpymn): Likewise.
28642 (norm): Remove commented code.
28643 (denorm): Likewise.
28644 (__mp_dbl): Likewise.
28645 (__inv): Likewise.
28646
b18decba
SP
28647 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28648 mp_no value for 1.0 and 2.0.
28649 (norm): Use RADIXI instead of radixi.d.
28650 (denorm): Likewise.
28651 (__mul): Use 0.0 instead of zero.d.
28652 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28653 mp_no value for 1.0 and 2.0.
28654 (norm): Use RADIXI instead of radixi.d.
28655 (denorm): Likewise.
28656 (__mul): Use 0.0 instead of zero.d.
28657
cdc1c96f
JM
286582013-01-04 Joseph Myers <joseph@codesourcery.com>
28659
28660 [BZ #14994]
28661 * math/s_casinh.c (__casinh): Reduce finite argument to first
28662 quadrant then set signs of results at the end.
28663 * math/s_casinhf.c (__casinhf): Likewise.
28664 * math/s_casinhl.c (__casinhl): Likewise.
28665 * math/libm-test.inc (casin_test): Add more tests.
28666 (casinh_test): Likewise.
28667 * sysdeps/i386/fpu/libm-test-ulps: Update.
28668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28669
302913e1
SP
286702013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28671
6420d207
SP
28672 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28673
a9e48ab4
SP
28674 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28675
b7837264
SP
28676 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28677 declarations.
28678 (denorm): Likewise.
28679 (__mp_dbl): Likewise.
28680 (__inv): Likewise.
28681
f8af25d2
SP
28682 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28683 and adjust the header comment.
28684
302913e1
SP
28685 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28686 variable name from declaration.
28687
5d7dd1ca
L
286882013-01-03 H.J. Lu <hongjiu.lu@intel.com>
28689
28690 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28691 Initialize COMMON_CPUID_INDEX_7 element.
28692 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28693 (CPUID_RTM): Likewise.
28694 (HAS_RTM): Likewise.
28695 (COMMON_CPUID_INDEX_7): New enum.
28696
2f5f40f4
AS
286972013-01-03 Andreas Schwab <schwab@linux-m68k.org>
28698
28699 [BZ #14981]
28700 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28701 size is zero, record memory as freed.
28702
4056f4a0
AJ
287032013-01-03 Andreas Jaeger <aj@suse.de>
28704
28705 * po/ia.po: Add new Interlingua translation.
28706
ab15736f 287072012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
28708
28709 * locale/programs/localedef.c: Fix description of '--posix' flag.
28710
568035b7
JM
287112013-01-02 Joseph Myers <joseph@codesourcery.com>
28712
e6898b8d
JM
28713 * NEWS: Update dates in second copyright notice.
28714 * README: Update copyright dates in example.
28715 * manual/libc.texinfo: Update copyright dates.
28716 * scripts/test-installation.pl: Update copyright date in --version
28717 output.
28718
0e2f9562
JM
28719 * hurd/ctty-input.c: Fix copyright notice formatting.
28720 * hurd/ctty-output.c: Likewise.
28721 * hurd/dtable.c: Likewise.
28722 * hurd/hurd-raise.c: Likewise.
28723 * hurd/hurdprio.c: Likewise.
28724 * hurd/msgportdemux.c: Likewise.
28725 * misc/sys/file.h: Likewise.
28726 * misc/sys/ioctl.h: Likewise.
28727 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28728 * sysdeps/mach/hurd/chdir.c: Likewise.
28729 * sysdeps/mach/hurd/fchdir.c: Likewise.
28730 * sysdeps/mach/hurd/rename.c: Likewise.
28731 * sysdeps/mach/hurd/rmdir.c: Likewise.
28732 * sysdeps/mach/hurd/seekdir.c: Likewise.
28733 * sysdeps/mach/hurd/setsid.c: Likewise.
28734 * sysdeps/posix/wait3.c: Likewise.
28735
568035b7
JM
28736 * All files with FSF copyright notices: Update copyright dates
28737 using scripts/update-copyrights.
28738 * intl/plural.c: Regenerated.
28739 * locale/programs/charmap-kw.h: Likewise.
28740 * locale/programs/locfile-kw.h: Likewise.
28741
da08f647
SP
287422013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28743
0f5477af
SP
28744 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28745 four values.
28746
44e0d4c2
SP
28747 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28748 calculation loop and add branch prediction.
28749
4d55b4e5
SP
28750 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28751 check access beyond bounds of m1np.
28752
da08f647
SP
28753 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28754 MPTWO.
28755 (__inv): Remove local variable MPTWO to use the global
28756 constant.
28757 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28758 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28759 variable MPTWO.
28760 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28761 MP3HALFS static const.
28762
8e051029
DM
287632013-01-01 David S. Miller <davem@davemloft.net>
28764
28765 * po/ca.po: Update from translation team.
28766
f4cf5f2d
JM
287672013-01-01 Joseph Myers <joseph@codesourcery.com>
28768
28769 * scripts/update-copyrights: New file.
28770 * Makeconfig: Reformat copyright notice.
28771 * ctype/ctype.h: Likewise.
28772 * debug/swprintf_chk.c: Likewise.
28773 * elf/dl-cache.c: Likewise.
28774 * elf/dl-debug.c: Likewise.
28775 * elf/dl-object.c: Likewise.
28776 * grp/initgroups.c: Likewise.
28777 * hurd/Makefile: Likewise.
28778 * hurd/hurd/signal.h: Likewise.
28779 * hurd/hurdfault.c: Likewise.
28780 * hurd/hurdioctl.c: Likewise.
28781 * hurd/hurdlookup.c: Likewise.
28782 * hurd/intr-msg.c: Likewise.
28783 * iconv/gconv_open.c: Likewise.
28784 * libio/swprintf.c: Likewise.
28785 * locale/lc-ctype.c: Likewise.
28786 * locale/nl_langinfo.c: Likewise.
28787 * mach/Machrules: Likewise.
28788 * mach/Makefile: Likewise.
28789 * malloc/obstack.h: Likewise.
28790 * manual/Makefile: Likewise.
28791 * manual/tsort.awk: Likewise.
28792 * misc/bits/stab.def: Likewise.
28793 * nis/nis_print_group_entry.c: Likewise.
28794 * nis/nis_table.c: Likewise.
28795 * nis/nss_compat/compat-pwd.c: Likewise.
28796 * nis/nss_compat/compat-spwd.c: Likewise.
28797 * po/Makefile: Likewise.
28798 * posix/fnmatch.c: Likewise.
28799 * posix/regex.h: Likewise.
28800 * resolv/Makefile: Likewise.
28801 * resolv/nss_dns/dns-network.c: Likewise.
28802 * resolv/res_hconf.c: Likewise.
28803 * scripts/gen-sorted.awk: Likewise.
28804 * soft-fp/soft-fp.h: Likewise.
28805 * stdio-common/printf.h: Likewise.
28806 * stdlib/monetary.h: Likewise.
28807 * stdlib/random.c: Likewise.
28808 * stdlib/random_r.c: Likewise.
28809 * sysdeps/generic/Makefile: Likewise.
28810 * sysdeps/gnu/Makefile: Likewise.
28811 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28812 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28813 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28814 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28815 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28816 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28817 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28818 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28819 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28820 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28821 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28822 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28823 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28824 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28825 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28826 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28827 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28828 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28829 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28830 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28831 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28832 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28833 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28834 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28835 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28836 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28837 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28838 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28839 * sysdeps/mach/hurd/errnos.awk: Likewise.
28840 * sysdeps/mach/hurd/fork.c: Likewise.
28841 * sysdeps/mach/hurd/getcwd.c: Likewise.
28842 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28843 * sysdeps/mach/hurd/mmap.c: Likewise.
28844 * sysdeps/mach/hurd/utimes.c: Likewise.
28845 * sysdeps/mach/hurd/xmknod.c: Likewise.
28846 * sysdeps/posix/profil.c: Likewise.
28847 * sysdeps/posix/readdir_r.c: Likewise.
28848 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28849 * sysdeps/powerpc/bits/setjmp.h: Likewise.
28850 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28851 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28852 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28853 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28854 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28855 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28857 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28858 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28859 * sysdeps/pthread/lio_listio.c: Likewise.
28860 * sysdeps/sparc/dl-procinfo.h: Likewise.
28861 * sysdeps/unix/i386/sysdep.S: Likewise.
28862 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28863 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28864 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28865 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28867 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28868 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28869 * sysdeps/unix/sysv/linux/speed.c: Likewise.
28870 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28871 * sysdeps/wordsize-32/divdi3.c: Likewise.
28872 * time/sys/time.h: Likewise.
28873 * wcsmbs/Makefile: Likewise.
28874
0549fbba
DM
288752013-01-01 David S. Miller <davem@davemloft.net>
28876
a141f1a7
DM
28877 * po/fr.po: Update from translation team.
28878
0549fbba
DM
28879 * catgets/gencat.c: Update copyright year.
28880 * csu/version.c: Likewise.
28881 * debug/catchsegv.sh: Likewise.
28882 * debug/pcprofiledump.c: Likewise.
28883 * debug/xtrace.sh: Likewise.
28884 * elf/ldconfig.c: Likewise.
28885 * elf/ldd.bash.in: Likewise.
28886 * elf/pldd.c: Likewise.
28887 * elf/sotruss.ksh: Likewise.
28888 * elf/sprof.c: Likewise.
28889 * iconv/iconv_prog.c: Likewise.
28890 * iconv/iconvconfig.c: Likewise.
28891 * locale/programs/locale.c: Likewise.
28892 * locale/programs/localedef.c: Likewise.
28893 * login/programs/pt_chown.c: Likewise.
28894 * malloc/memusage.sh: Likewise.
28895 * malloc/memusagestat.c: Likewise.
28896 * malloc/mtrace.pl: Likewise.
28897 * nscd/nscd.c: Likewise.
28898 * nss/getent.c: Likewise.
28899 * nss/makedb.c: Likewise.
28900 * posix/getconf.c: Likewise.
28901
18ea052c
SP
289022012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28903
28904 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28905 numbers.
28906
9c89fca6
MF
289072012-12-30 Mike Frysinger <vapier@gentoo.org>
28908
28909 * math/bits/mathcalls.h (modf): Use __nonnull.
28910
085ec079
SP
289112012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28912
28913 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28914 (split): Use macro CN instead of the bare value.
28915 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28916 could be used.
28917 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28918 instead of the bare value.
28919 (power1): Likewise.
28920
6d9f97e1
SP
289212012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28922
d63f73be
SP
28923 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28924 __ATAN_TWOM.
28925 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28926
6d9f97e1
SP
28927 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28928 their values.
28929 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28930 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28931 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28932 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28933
4c4febf5
AJ
289342012-12-28 Andreas Jaeger <aj@suse.de>
28935
af5843ef
AJ
28936 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
28937 values are from Linux 3.7.
28938
4c4febf5
AJ
28939 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28940 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
28941
99136f82
SP
289422012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28943
2f216c3c 28944 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
28945 TRUE case.
28946
99136f82
SP
28947 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
28948 (norm): Likewise.
28949 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
28950 variables with preprocessor constants.
28951 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28952 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28953 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28954
7fffbdff
BH
289552012-12-27 Bruno Haible <bruno@clisp.org>
28956
28957 [BZ #14317]
28958 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
28959 only if needed.
28960
b76eb5f0
SP
289612012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28962
31a7fe5c
SP
28963 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28964 and use variable directly.
28965 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28966
b76eb5f0
SP
28967 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28968 MPONE.
28969 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28970 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28971 variable MPONE.
28972 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28973 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28974 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28975 include directive. Remove local variable MPONE.
28976 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28977 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28978 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28979
2c8bfe7d
DM
289802012-12-25 David S. Miller <davem@davemloft.net>
28981
28982 * version.h (RELEASE): Set to "development".
28983 (VERSION): Set to "2.17.90".
28984 * NEWS: Add 2.18 section.
28985
147d03b0
DM
289862012-12-21 David S. Miller <davem@davemloft.net>
28987
28988 * po/hr.po: Update from translation team.
28989
a8ebb2b9
AK
289902012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28991
28992 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28993
95b4f1b6
SE
289942012-12-19 Steve Ellcey <sellcey@mips.com>
28995
b2d94007 28996 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 28997
cedb2a90
MS
289982012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28999
29000 * manual/contrib.texi (Contributors): Spelling correction.
29001
bbf527d6
DM
290022012-12-15 David S. Miller <davem@davemloft.net>
29003
29004 * po/ru.po: Update from translation team.
29005
bc38c906
DM
290062012-12-13 David S. Miller <davem@davemloft.net>
29007
85429b1a
DM
29008 * NEWS: Mention IFUNC testsuite enhancements.
29009
d283e353
DM
29010 * po/pl.po: Update from translation team.
29011 * po/bg.po: Likewise.
29012
bc38c906
DM
29013 * manual/contrib.texi (Contributors): Update entries for Hongjiu
29014 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
29015
a181b0d7
DM
290162012-12-11 David S. Miller <davem@davemloft.net>
29017
4641d57e
DM
29018 * po/sv.po: Update from translation team.
29019
f7bc6495
DM
29020 * po/vi.po: Update from translation team.
29021
6fc9048f
DM
29022 * po/cs.po: Update from translation team.
29023
a181b0d7
DM
29024 * po/de.po: Update from translation team.
29025 * po/eo.po: Likewise.
29026 * po/nl.po: Likewise.
29027
f70bfe80
SP
290282012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29029
3c8b4190
SP
29030 [BZ #14246]
29031 * manual/argp.texi (Argp Helper Functions): Move node to follow
29032 Argp Parsing State.
29033
f70bfe80
SP
29034 [BZ #14872]
29035 * manual/conf.texi (Limits on File System Capacity): Mention if
29036 terminating null is included in the max size.
29037
188f0adf
AJ
290382012-12-10 Andreas Jaeger <aj@suse.de>
29039
29040 * po/cs.po: Update from translation team.
29041
56e7d3ad
SP
290422012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29043
29044 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
29045 void pointer and cast to uintptr_t.
29046 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
29047 path.
29048 * sysdeps/s390/s390-64/memcpy.S: Likewise.
29049 * sysdeps/s390/s390-64/memset.S: Likewise.
29050
76f2d2ea 290512012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
29052
29053 [BZ #14833]
29054 * menual/message.texi (Message Translation): Fix typos.
29055 (Helper programs for gettext): Likewise.
29056
67cbf9a2
AS
290572012-12-07 Andreas Schwab <schwab@linux-m68k.org>
29058
29059 [BZ #14898]
29060 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
29061 Change to -1.
29062
682d0e9a
DM
290632012-12-07 David S. Miller <davem@davemloft.net>
29064
29065 * po/libc.pot: Update.
29066
573cd484
RH
290672012-12-07 Richard Henderson <rth@redhat.com>
29068
7e9da188 29069 [BZ #10114]
573cd484
RH
29070 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
29071 normal/normal case to before the switch.
29072 (_FP_DIV): Likewise.
29073
e933a943
MF
290742012-12-06 Carlos O'Donell <carlos@systemhalted.org>
29075 Mike Frysinger <vapier@gentoo.org>
29076
29077 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
29078 check for __NR_fadvise64_64.
29079
82123268
CM
290802012-12-06 Chris Metcalf <cmetcalf@tilera.com>
29081
29082 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
29083 0, not just to plain "0" as a statement.
29084 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
29085 with cw.
29086
d9814526
JM
290872012-12-06 Joseph Myers <joseph@codesourcery.com>
29088
29089 * NEWS: Use sourceware.org in Bugzilla URL.
29090
7728c574
SP
290912012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29092
f16946dd
SP
29093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29094 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29095
5704bbcb
SP
29096 * stdio-common/tst-put-error.c (do_test): Add newline to the
29097 padded test to ensure flush.
29098
17aa0516
JL
290992012-12-05 Jeff Law <law@redhat.com>
29100
29101 * sunrpc/etc.rpc (fedfs_admin): Add entry.
29102
363313b5
JM
291032012-12-05 Joseph Myers <joseph@codesourcery.com>
29104
effbd42a
JM
29105 * README: Don't refer to ports add-on as distributed separately.
29106 Mention AArch64 in list of systems supported in the ports add-on.
29107
87600365
JM
29108 * LICENSES: Add more non-FSF copyright and license notices.
29109
a0d7066a
JM
29110 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29111 ((unused)).
29112
66ca5a5b
JM
29113 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29114
363313b5
JM
29115 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29116 10000 as width of padded output.
29117
b37984ad
JM
291182012-12-04 Joseph Myers <joseph@codesourcery.com>
29119
9003570a
JM
29120 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29121
b37984ad
JM
29122 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29123 variable LX with __attribute__ ((unused)).
29124 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29125 Likewise.
29126 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29127 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29128 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29129 with __attribute__ ((unused)).
29130
c8df52ec
DM
291312012-12-04 David S. Miller <davem@abraco.davemloft.net>
29132
29133 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29134
b3b099af
JM
291352012-12-04 Joseph Myers <joseph@codesourcery.com>
29136
c33aa6e3
JM
29137 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29138 (CFLAGS-nldbl-acos.c): New variable.
29139 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29140 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29141 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29142 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29143 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29144 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29145 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29146 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29147 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29148 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29149 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29150 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29151 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29152 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29153 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29154 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29155 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29156 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29157 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29158 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29159 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29160 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29161 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29162 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29163 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29164 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29165 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29166 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29167 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29168 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29169 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29170 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29171 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29172 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29173 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29174 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29175 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29176 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29177 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29178 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29179 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29180 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29181 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29182 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29183 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29184 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29185 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29186 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29187 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29188 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29189 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29190 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29191 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29192 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29193 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29194 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29195 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29196 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29197 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29198 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29199 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29200 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29201 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29202 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29203 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29204 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29205 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29206 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29207 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29208 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29209 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29210 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29211 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29212 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29213 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29214 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29215 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29216 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29217 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29218 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29219 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29220 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29221 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29222 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29223 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29224 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29225 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29226 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29227 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29228 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29229 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29230 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29231 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29232 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29233 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29234 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29235 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29236
20f0018d
JM
29237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29238 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29239
b3b099af
JM
29240 [BZ #14914]
29241 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29242 whole low double instead of just low 47 bits when splitting values
29243 into two parts.
29244
029264d1
AM
292452012-12-03 Allan McRae <allan@archlinux.org>
29246
29247 * manual/stdio.texi (Predefined Printf Handlers): Remove
29248 @hsep and @vsep usage.
29249
c9d6789e
MF
292502012-12-03 Mike Frysinger <vapier@gentoo.org>
29251
29252 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29253 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29254
4b7634a5
JL
292552012-12-03 Jeff Law <law@redhat.com>
29256
29257 * time/sys/time.h (settimeofday): Do not mark TV argument
29258 as __nonnull.
29259
eb6cbd24
MF
292602012-12-01 Mike Frysinger <vapier@gentoo.org>
29261
29262 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29263 when currently writing and seek to current position when not.
29264 * libio/Makefile (tests): Remove bug-fclose1.
29265 * libio/bug-fclose1.c: Delete.
29266
f638872a
JM
292672012-12-01 Joseph Myers <joseph@codesourcery.com>
29268
29269 * manual/arith.texi (feenableexcept): Fix typo.
29270 (fedisableexcept): Likewise.
29271
48085d14
RM
292722012-11-30 Roland McGrath <roland@hack.frob.com>
29273
29274 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29275 second, differently-typed declaration, rather than a cast.
29276
1a538b9f
SP
292772012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29278
29279 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29280 * include/rpc/svc.h: ... here.
29281
d07f2ff1 292822012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
29283
29284 [BZ #13013]
29285 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29286 depending n and resplen2 to catch cases where answer
29287 equals answerp2.
29288
c93ec1f0
CD
292892012-11-29 Carlos O'Donell <carlos@systemhalted.org>
29290
29291 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29292 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29293
37db69de
MF
292942012-11-29 Mike Frysinger <vapier@gentoo.org>
29295
29296 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29297
e10c4e4f
RM
292982012-11-29 Roland McGrath <roland@hack.frob.com>
29299
29300 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29301
2af1b328
JL
293022012-11-28 Jeff Law <law@redhat.com>
29303
29304 [BZ #13761]
29305 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29306 dataset_temporary. Track alloca usage into alloca_used.
29307 If dataset is large allocate and release it via malloc/free.
29308
111db5b1
FW
293092012-06-04 Florian Weimer <fweimer@redhat.com>
29310
f06cc227 29311 [BZ #14197]
111db5b1
FW
29312 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29313
dd694abd
DM
293142012-11-28 David S. Miller <davem@davemloft.net>
29315
29316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29317
9984dd01
JM
293182012-11-28 Joseph Myers <joseph@codesourcery.com>
29319
29320 [BZ #14803]
29321 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29322 of pi/2 rounded to nearest to 64 bits.
29323 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29324 nearest to 64 bits.
29325 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29326 bits.
29327
14bc93a9
JL
293282012-11-28 Jeff Law <law@redhat.com>
29329 Martin Osvald <mosvald@redhat.com>
29330
29331 [BZ #14889]
29332 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29333 * sunrpc/svc.c: Include time.h.
29334 (__svc_accept_failed): New function.
29335 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29336 any reason other than EINTR, call __svc_accept_failed.
29337 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29338 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29339
e3c6aa3a
AS
293402012-11-28 Andreas Schwab <schwab@suse.de>
29341
29342 * scripts/abilist.awk: Also handle indirect functions in .opd
29343 section.
29344
1bead169
JM
293452012-11-28 Joseph Myers <joseph@codesourcery.com>
29346
29347 [BZ #13881]
29348 * sysdeps/x86/fpu/powl_helper.c: New file.
29349 * sysdeps/x86/fpu/Makefile: Likewise.
29350 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29351 (p3): New object.
29352 (__ieee754_powl): Use __powl_helper for finite arguments except
29353 integer exponents below 8.
29354 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29355 (p3): New object.
29356 (__ieee754_powl): Use __powl_helper for finite arguments except
29357 integer exponents below 8.
29358 * math/libm-test.inc (pow_test): Add more tests and enable some
29359 previously disabled tests.
29360 * sysdeps/i386/fpu/libm-test-ulps: Update.
29361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29362
0817d63d
SP
293632012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29364 Carlos O'Donell <carlos_odonell@mentor.com>
29365
29366 * nss/makedb.c (is_prime): Assert that input is odd and greater
29367 than 4. Note that fact in a comment too.
29368 (next_prime): Add 4 to input.
29369
de2fd463
SP
293702012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29371
29372 [BZ #11741]
29373 * libio/Makefile (tests): Add test case tst-fwrite-error.
29374 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29375 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29376 * libio/tst-fwrite-error.c: New test case.
29377
c515fb51
L
293782012-11-26 H.J. Lu <hongjiu.lu@intel.com>
29379
29380 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29381 before casting to void *.
29382 * include/libc-internal.h (__pointer_type): New macro.
29383 (__integer_if_pointer_type_sub): Likewise.
29384 (__integer_if_pointer_type): Likewise.
29385 (cast_to_integer): Likewise.
29386 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29387 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29388 before casting to atomic64_t.
29389 (atomic_exchange_acq): Likewise.
29390 (__arch_exchange_and_add_body): Likewise.
29391 (__arch_add_body): Likewise.
29392 (atomic_add_negative): Likewise.
29393 (atomic_add_zero): Likewise.
29394
4cf77aa9
JM
293952012-11-26 Joseph Myers <joseph@codesourcery.com>
29396
29397 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29398 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29399 (add_fdes): Likewise.
29400 (linear_search_fdes): Likewise.
29401 (binary_search_unencoded_fdes): Likewise.
29402
d260b3b4
AS
294032012-11-26 Andreas Schwab <schwab@linux-m68k.org>
29404
29405 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29406
67060746
AC
294072012-11-24 Adam Conrad <adconrad@0c3.net>
29408
29409 * configure.in: Autodetect C++ header directories.
29410 * configure: Regenerated.
29411
800938a1
MF
294122012-11-23 Mike Frysinger <vapier@gentoo.org>
29413
29414 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29415
4e6e34e6
AS
294162012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29417
29418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29419
7c7feb47
JM
294202012-11-22 Joseph Myers <joseph@codesourcery.com>
29421
7184dcdf
JM
29422 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29423 LDBL_MANT_DIG == 106]: Disable some tests.
29424 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29425 Likewise.
29426 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29427 Likewise.
29428
0a42601f
JM
29429 [BZ #14871]
29430 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29431 input for small inputs. Return +/- pi/2 for large inputs.
29432 * math/libm-test.inc (atan_test): Add more tests.
29433
79c9b9fe
JM
29434 * sysdeps/generic/unwind-dw2-fde-glibc.c
29435 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29436 __attribute__ ((unused)).
29437
c60d3bf2
JM
29438 [BZ #14645]
29439 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29440 x * y if x and y are nonzero and z is zero.
29441
ef1e0867
JM
29442 [BZ #14811]
29443 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29444 nonzero exponents with absolute value below 0x1p-117 to +/-
29445 0x1p-117.
29446
1468ded3
JM
29447 [BZ #14869]
29448 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29449 up arguments below 2**-450, not just those below 2**-500.
29450 * math/libm-test.inc (hypot_test): Add another test.
29451
8e27e3cc
JM
29452 [BZ #14868]
29453 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29454 Return a+b for ratio over 2**120, not 2**60.
29455 * math/libm-test.inc (hypot_test): Add another test.
29456
c9c0279b
JM
29457 * math/libm-test.inc (clog_test): Use
29458 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29459 (clog10_test): Likewise.
29460
7c7feb47
JM
29461 [BZ #6778]
29462 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29463
fff1530e
AS
294642012-11-22 Andreas Schwab <schwab@suse.de>
29465
29466 * sysdeps/i386/fpu/libm-test-ulps: Update.
29467
94558d30
PT
294682012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29469
29470 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29471 printf output with newline.
29472
7e1be741
L
294732012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29474
6bfea974
L
29475 [BZ #14865]
29476 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29477 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29478 -z nodlopen, -z initfirst and -z execstack support.
29479 * configure: Regenerated.
29480
7e1be741
L
29481 * elf/elf.h (DF_1_NODIRECT): New macro.
29482 (DF_1_IGNMULDEF): Likewise.
29483 (DF_1_NOKSYMS): Likewise.
29484 (DF_1_NOHDR): Likewise.
29485 (DF_1_EDITED): Likewise.
29486 (DF_1_NORELOC): Likewise.
29487 (DF_1_SYMINTPOSE): Likewise.
29488 (DF_1_GLOBAUDIT): Likewise.
29489 (DF_1_SINGLETON): Likewise.
29490 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29491 DT_1_SUPPORTED_MASK bits.
29492 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29493
105ce2ce
CD
294942012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29495
29496 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29497
123be9de
TS
294982012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29499
d072f3f7
TS
29500 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29501 macro.
29502
123be9de
TS
29503 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29504 (sendmmsg): Move declarations...
29505 * socket/sys/socket.h: ... here.
29506 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29507 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29508 include it from...
29509 * socket/recvmmsg.c: ... this new file.
29510 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29511 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29512 definition of __sendmmsg hidden.
29513 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29514 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29515 Move ENOSYS stub into and include it from...
29516 * socket/sendmmsg.c: ... this new file.
29517 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29518 (sysdep_routines): Move recvmmsg and sendmmsg...
29519 * socket/Makefile (routines): ... here.
29520 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29521 (GLIBC_PRIVATE): Add __sendmmsg.
29522 * include/sys/socket.h (__sendmmsg): Add declarations.
29523 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29524 sendmmsg.
29525
cf9a5d18
JM
295262012-11-20 Joseph Myers <joseph@codesourcery.com>
29527
29528 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29529 variable I1 with __attribute__ ((unused)).
29530 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29531
ecd4caf9
JM
295322012-11-19 Joseph Myers <joseph@codesourcery.com>
29533
be14d48f
JM
29534 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29535 DUMMY variables with __attribute__ ((unused)).
29536
ecd4caf9
JM
29537 * bits/byteswap.h: Include <bits/types.h>.
29538 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29539
986cab95
PT
295402012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29541
29542 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29543 string_t. Do not manually set errno.
29544 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29545 length with __strnlen. Make sure to both set errno and return it on
29546 failure.
29547
6d33cc9d
DM
295482012-11-19 David S. Miller <davem@davemloft.net>
29549
29550 With help from Joseph Myers.
29551 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29552 very large arguments properly.
29553 * math/libm-test.inc (atan_test): New tests.
29554 (atan2_test): New tests.
29555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29556 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29557
ee663277
JM
295582012-11-19 Joseph Myers <joseph@codesourcery.com>
29559
877f2d8e
JM
29560 [BZ #14856]
29561 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29562 Define to 3.
29563
116fc08a
JM
29564 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29565 [POSIX] (EADDRNOTAVAIL): Likewise.
29566 [POSIX] (EAFNOSUPPORT): Likewise.
29567 [POSIX] (EALREADY): Likewise.
29568 [POSIX] (ECONNABORTED): Likewise.
29569 [POSIX] (ECONNREFUSED): Likewise.
29570 [POSIX] (ECONNRESET): Likewise.
29571 [POSIX] (EDESTADDRREQ): Likewise.
29572 [POSIX] (EDQUOT): Likewise.
29573 [POSIX] (EHOSTUNREACH): Likewise.
29574 [POSIX] (EIDRM): Likewise.
29575 [POSIX] (EISCONN): Likewise.
29576 [POSIX] (ELOOP): Likewise.
29577 [POSIX] (EMULTIHOP): Likewise.
29578 [POSIX] (ENETDOWN): Likewise.
29579 [POSIX] (ENETUNREACH): Likewise.
29580 [POSIX] (ENOBUFS): Likewise.
29581 [POSIX] (ENODATA): Likewise.
29582 [POSIX] (ENOLINK): Likewise.
29583 [POSIX] (ENOMSG): Likewise.
29584 [POSIX] (ENOPROTOOPT): Likewise.
29585 [POSIX] (ENOSR): Likewise.
29586 [POSIX] (ENOSTR): Likewise.
29587 [POSIX] (ENOTCONN): Likewise.
29588 [POSIX] (ENOTSOCK): Likewise.
29589 [POSIX] (EOPNOTSUPP): Likewise.
29590 [POSIX] (EOVERFLOW): Likewise.
29591 [POSIX] (EPROTO): Likewise.
29592 [POSIX] (EPROTONOSUPPORT): Likewise.
29593 [POSIX] (EPROTOTYPE): Likewise.
29594 [POSIX] (ESTALE): Likewise.
29595 [POSIX] (ETIME): Likewise.
29596 [POSIX] (ETXTBSY): Likewise.
29597 [POSIX] (EWOULDBLOCK): Likewise.
29598 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29599 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29600 [POSIX] (SEEK_CUR): Likewise.
29601 [POSIX] (SEEK_END): Likewise.
29602 [POSIX || UNIX98] (mode_t): Do not require.
29603 [POSIX] (off_t): Likewise.
29604 [POSIX] (pid_t): Likewise.
29605 [POSIX] (sys/stat.h): Do not allow header.
29606 [POSIX] (unistd.h): Likewise.
29607 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29608 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29609 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29610 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29611 require.
29612 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29613 sigevent): Specify elements.
29614 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29615 entry.
29616 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29617 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29618
a483863f
JM
29619 * conform/data/cpio.h-data [POSIX]: Disable whole file.
29620 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29621 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29622 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29623 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29624 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29625 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29626 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29627 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29628 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29629 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29630 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29631 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29632 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29633 Likewise.
29634 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29635 Likewise.
29636 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29637 Likewise.
29638 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29639 Likewise.
29640 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29641 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29642 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29643 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29644 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29645 Specify lower bound on value.
29646 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29647 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29648 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29649 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29650 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29651 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29652 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29653 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29654 value.
29655 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29656 as optional.
29657 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29658 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29659 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29660 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29661 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29662 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29663 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29664 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29665 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29666 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29667 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29668 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29669 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29670 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29671 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29672 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29673 entry.
29674 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29675 optional.
29676 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29677 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29678 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29679 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29680 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29681 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29682 Likewise.
29683 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29684 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29685 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29686 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29687 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
29688 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29689 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29690 as optional.
29691 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29692 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29693 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29694 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29695 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29696 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29697 specify as optional.
29698 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29699 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29700 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29701 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29702 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29703 [XPG3] (NL_LANGMAX): Likewise.
29704 [POSIX || XPG3] (NL_MSGMAX): Likewise.
29705 [POSIX || XPG3] (NL_NMAX): Likewise.
29706 [POSIX || XPG3] (NL_SETMAX): Likewise.
29707 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29708 [XPG3] (NZERO): Likewise.
29709 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29710 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29711 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29712 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29713 (REG_ERANGE): Expect.
29714 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29715 optional-constant.
29716 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29717 Use (void) in prototype.
29718 [POSIX] (*_t): Allow.
29719 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29720 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29721 (WRDE_BADVAL): Expect.
29722
5ba924e3
JM
29723 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29724 expect.
29725 [XPG3 || XPG4] (O_RSYNC): Likewise.
29726 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29727 Likewise.
29728 [XPG3 || XPG4] (pthread_sigmask): Likewise.
29729 [XPG3 || XPG4] (sigqueue): Likewise.
29730 [XPG3 || XPG4] (sigtimedwait): Likewise.
29731 [XPG3 || XPG4] (sigwaitinfo): Likewise.
29732 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29733 [XPG3 || XPG4] (vsnprintf): Likewise.
29734 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29735 Likewise.
29736 [XPG3 || XPG4] (blksize_t): Likewise.
29737 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29738 Likewise.
29739 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29740 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29741 [XPG3 || XPG4] (struct itimerspec): Likewise.
29742 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29743 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29744 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29745 [XPG3 || XPG4] (clockid_t): Likewise.
29746 [XPG3 || XPG4] (timer_t): Likewise.
29747 [XPG3 || XPG4] (clock_getres): Likewise.
29748 [XPG3 || XPG4] (clock_gettime): Likewise.
29749 [XPG3 || XPG4] (clock_settime): Likewise.
29750 [XPG3 || XPG4] (nanosleep): Likewise.
29751 [XPG3 || XPG4] (timer_create): Likewise.
29752 [XPG3 || XPG4] (timer_delete): Likewise.
29753 [XPG3 || XPG4] (timer_gettime): Likewise.
29754 [XPG3 || XPG4] (timer_getoverrun): Likewise.
29755 [XPG3 || XPG4] (timer_settime): Likewise.
29756 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29757 [XPG3 || XPG4] (getlogin_r): Likewise.
29758 [XPG3 || XPG4] (pread): Likewise.
29759 [XPG3 || XPG4] (pthread_atfork): Likewise.
29760 [XPG3 || XPG4] (pwrite): Likewise.
29761
ee663277
JM
29762 [BZ #14835]
29763 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29764 <bits/siginfo.h>.
29765
942caa16
PT
297662012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29767
e19af380
PT
29768 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29769 finalizing MALLSTREAM.
29770
942caa16
PT
29771 * sysdeps/mach/hurd/syncfs.c: New file.
29772
cfde9b46
SP
297732012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29774
29775 [BZ #14719]
29776 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29777 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29778 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29779 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29780 (_nss_dns_gethostbyname4_r): Likewise.
29781 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29782 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29783
f6da27e5
PH
297842012-11-19 Peng Haitao <penght@cn.fujitsu.com>
29785
29786 [BZ #13763]
29787 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29788
6665d4a2
SM
297892012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
29790
1f51ee92
SM
29791 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29792 * elf/cache.c (print_entry): Print ",AArch64" for
29793 FLAG_AARCH64_LIB64
29794
6665d4a2
SM
29795 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29796 * elf/cache.c (print_entry): Print ",hard-float" for
29797 FLAG_ARM_LIBHF.
29798
05b227bd
DM
297992012-11-18 David S. Miller <davem@davemloft.net>
29800
29801 With help from Joseph Myers.
29802 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29803 cutoff to 2**-13.
29804 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29805 cutoff to 2**-25.
29806 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29807 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29808 small.
29809 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29810 * math/libm-test.inc (y0_test): New tests.
29811 (y1_test): New tests.
29812 * sysdeps/i386/fpu/libm-test-ulps: Update.
29813 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29815
786b0b67
AS
298162012-11-18 Andreas Schwab <schwab@linux-m68k.org>
29817
29818 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29819 64-bit targets.
29820 * configure: Regenerated.
29821
8e18b86d
DM
298222012-11-17 David S. Miller <davem@davemloft.net>
29823
29824 [BZ #14811]
29825 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29826 nonzero exponents with absolute value below 0x1p-128 to +/-
29827 0x1p-128.
29828
531f1ae0
JM
298292012-11-17 Joseph Myers <joseph@codesourcery.com>
29830
12df29e2
JM
29831 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29832
150dc1a0
JM
29833 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29834
531f1ae0
JM
29835 * posix/getconf-speclist.c: New file.
29836 * posix/posix-envs.def: Likewise.
29837 * posix/confstr.c (START_ENV_GROUP): New macro.
29838 (END_ENV_GROUP): Likewise.
29839 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29840 (KNOWN_PRESENT_ENV_STRING): Likewise.
29841 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29842 (UNKNOWN_ENVIRONMENT): Likewise.
29843 (confstr): Include posix-envs.def instead of handling
29844 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29845 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29846 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29847 (END_ENV_GROUP): Likewise.
29848 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29849 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29850 (UNKNOWN_ENVIRONMENT): Likewise.
29851 (__sysconf): Include posix-envs.def instead of handling associated
29852 cases directly here.
29853 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29854 preprocessing getconf-speclist.c rather than running getconf or
29855 generating empty file.
29856
a93f9cbc
PT
298572012-11-16 Pino Toscano <toscano.pino@tiscali.it>
29858
29859 * scripts/check-local-headers.sh: Ignore 'mach' headers.
29860
d64d9f87
AL
298612012-11-16 Andrej Lajovic <natrij@gmail.com>
29862
29863 [BZ #14672]
29864 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29865
447885eb
DM
298662012-11-16 David S. Miller <davem@davemloft.net>
29867
29868 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29869 smaller than LDBL_EPSILON/2.0L, just return xm1.
29870
bcbf9830
L
298712012-11-16 H.J. Lu <hongjiu.lu@intel.com>
29872
29873 * elf/tst-array1.c (init): Set constructor priority to 1000.
29874 (fini): Set destructor priority to 1000.
29875 * elf/tst-array2dep.c: Likewise.
29876
2b766585
SP
298772012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29878
29879 [BZ #11741]
29880 * libio/fileops.c (_IO_new_file_write): Correctly return error.
29881 (_IO_new_file_xsputn): Also return EOF if none of the input
29882 data was written when overflow failed.
29883 * libio/iopadn.c (_IO_padn): Likewise.
29884 * libio/iowpadn.c (_IO_wpadn): Likewise.
29885 * stdio-common/tst-put-error.c: Add copyright notice.
29886 (do_test): Add case for printing padded string.
29887 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29888 _IO_padn returned error.
29889 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29890 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29891 return EOF.
29892
b1848fde
SP
298932012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29894
29895 * libio/libioP.h: Add comment note that the references to C++
29896 bits are now obsolete.
29897
2fd89785
MS
298982012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29899
29900 * math/libm-test.inc (check_complex): Use asprintf.
29901
e3ea5409
JM
299022012-11-14 Joseph Myers <joseph@codesourcery.com>
29903
29904 * debug/pcprofiledump.c (print_version): Update copyright year.
29905 * malloc/memusagestat.c (print_version): Likewise.
29906
2e64d265
L
299072012-11-14 H.J. Lu <hongjiu.lu@intel.com>
29908
29909 [BZ #14831]
29910 * elf/Makefile (tests): Add tst-audit8.
29911 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29912 ($(objpfx)tst-audit8.out): New target.
29913 (tst-audit8-ENV): New variable.
29914 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29915 audit if l_reloc_result is NULL.
29916 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29917 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29918 * elf/tst-audit8.c: New file.
29919
c485e4d2
MS
299202012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29921
29922 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29923 * misc/Makefile (CFLAGS-select.c): Define.
29924 * posix/Makefile (CFLAGS-pause.c): Define.
29925
3a0d900a
DM
299262012-11-13 David S. Miller <davem@davemloft.net>
29927
29928 * crypt/Makefile: Move test targets after toplevel Rules
29929 inclusion. Grab any necessary sysdep routines when linking.
29930 * crypt/md5.c (md5_process_block): Remove define, we will always
29931 name it __md5_process_block.
29932 (md5_finish_ctx): Update md5_process_block call.
29933 (md5_stream): Likewise.
29934 (md5_process_bytes): Likewise.
29935 (md5_process_block): Rename to __md5_process_block and move to ...
29936 * crypt/md5-block.c: ... here.
29937 * crypt/sha256.c (sha256_process_block): Move to ...
29938 * crypt/sha256-block.c: ... here.
29939 * crypt/sha512.c (sha512_process_block): Move to ...
29940 * crypt/sha512-block.c: ... here.
29941 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29942 path.
29943 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29944 * sysdeps/sparc/sparc64/multiarch/Makefile
29945 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29946 crypt subdir.
29947 (localedef-aux): Add md5 crypto assembler when in locale subdir.
29948 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
29949 multiarch changes.
29950 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
29951 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
29952 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
29953 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
29954 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
29955 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
29956 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
29957 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
29958 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
29959 file.
29960 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
29961 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
29962 file.
29963 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
29964
8ca89318
JM
299652012-11-13 Joseph Myers <joseph@codesourcery.com>
29966
e27d476a
JM
29967 * timezone/tzselect.ksh: Update from tzcode git revision
29968 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29969 * timezone/zdump.c: Likewise.
29970 * timezone/zic.c: Likewise.
29971 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29972 in TZVERSION setting, not $(PKGVERSION).
29973 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
29974 REPORT_BUGS_TO settings.
29975
8ca89318
JM
29976 [BZ #14838]
29977 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29978 macro.
29979
47594329
MS
299802012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29981
29982 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29983 detection to immediately after _FP_ROUND().
29984 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29985 bits are 0.
29986
640ac3f1
DM
299872012-11-11 David S. Miller <davem@davemloft.net>
29988
29989 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29990 inttypes.h
29991 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29992 __close rather than their public counterparts.
29993
3d2577bb
JM
299942012-11-10 Joseph Myers <joseph@codesourcery.com>
29995
29996 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29997 file.
29998 [UNIX98] (sem_timedwait): Do not expect.
29999 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
30000 [XPG4 || UNIX98] (sockatmark): Do not expect.
30001 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
30002 (clock_getcpuclockid): Do not expect.
30003 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
30004 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
30005 Do not expect.
30006 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
30007 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
30008 [UNIX98] (vwscanf): Likewise.
30009 [UNIX98] (vswscanf): Likewise.
30010
fb1ae1ee
JM
300112012-11-09 Joseph Myers <joseph@codesourcery.com>
30012
9ec6f8bd
JM
30013 * timezone/version.h: Remove file.
30014 * timezone/README: Do not refer to version.h.
30015 * timezone/Makefile ($(objpfx)zic.o): New dependency on
30016 $(objpfx)version.h.
30017 ($(objpfx)zdump.o): Likewise.
c3f81911 30018 ($(objpfx)version.h): New target.
9ec6f8bd 30019
0aa8f8a1
JM
30020 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
30021 2012i.
30022 * timezone/README: Don't mention modification to tzselect.ksh.
30023 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
30024 work on unmodified tzselect.ksh. Substitute version numbers in
30025 tzselect.ksh.
30026
4e87147f
JM
30027 * Makefile (format-me): Remove.
30028 (INSTALL): Adjust indentation. Use commands directly instead of
30029 using $(format-me).
30030
8b748aed
JM
30031 * aclocal.m4 (ACX_PKGVERSION): New macro.
30032 (ACX_BUGURL): Likewise.
30033 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
30034 (PKGVERSION): New AC_DEFINE_UNQUOTED.
30035 (REPORT_BUGS_TO): Likewise.
30036 * configure: Regenerated.
30037 * config.h.in (PKGVERSION): New macro.
30038 (REPORT_BUGS_TO): Likewise.
30039 * config.make.in (PKGVERSION): New variable.
30040 (PKGVERSION_TEXI): Likewise.
30041 (REPORT_BUGS_TO): Likewise.
30042 (REPORT_BUGS_TEXI): Likewise.
30043 * Makefile (format-me): Use -I$(common-objpfx)manual.
30044 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
30045 ($(common-objpfx)manual/%): New target.
30046 (manual/%): Remove target.
30047 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
30048 (print_version): Use PKGVERSION.
30049 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
30050 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
30051 and REPORT_BUGS_TO.
30052 ($(objpfx)xtrace): Likewise.
30053 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
30054 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
30055 (print_version): Use PKGVERSION.
30056 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
30057 (do_version): Use PKGVERSION.
30058 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
30059 REPORT_BUGS_TO.
30060 (common-ldd-rewrite): Likewise.
30061 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
30062 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
30063 (print_version): Use PKGVERSION.
30064 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
30065 * elf/pldd.c (argp_program_bug_address): Remove variable.
30066 (more_help): New function.
30067 (argp): Use more_help.
30068 (print_version): Use PKGVERSION.
30069 * elf/sln.c (main): Use PKGVERSION.
30070 (usage): Use REPORT_BUGS_TO.
30071 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
30072 (top level): Use PKGVERSION.
30073 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
30074 (print_version): Use PKGVERSION.
30075 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
30076 (print_version): Use PKGVERSION.
30077 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
30078 (print_version): Use PKGVERSION.
30079 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
30080 (print_version): Use PKGVERSION.
30081 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
30082 (print_version): Use PKGVERSION.
30083 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
30084 (print_version): Use PKGVERSION.
30085 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
30086 and BUGURL.
30087 ($(objpfx)memusage): Likewise.
30088 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
30089 (do_version): Use PKGVERSION.
30090 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
30091 (print_version): Use PKGVERSION.
30092 * malloc/mtrace.pl ($PACKAGE): Remove variable.
30093 ($PKGVERSION): New variable.
30094 ($REPORT_BUGS_TO): Likewise.
30095 (usage): Use $REPORT_BUGS_TO.
30096 (top level): Use $PKGVERSION.
30097 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30098 ($(objpfx)pkgvers.texi): New rule.
30099 ($(objpfx)stamp-pkgvers): Likewise.
30100 * manual/install.texi: Include pkgvers.texi.
30101 (--with-pkgversion): Document new configure option.
30102 (--with-bugurl): Likewise.
30103 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30104 than necessarily for this particular distribution. Use
30105 REPORT_BUGS_TO for where to report bugs.
30106 * INSTALL: Regenerated.
30107 * manual/libc.texinfo: Include pkgvers.texi.
30108 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30109 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30110 (print_version): Use PKGVERSION.
30111 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30112 (print_version): Use PKGVERSION.
30113 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30114 (print_version): Use PKGVERSION.
30115 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30116 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30117 macro.
30118 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30119 (print_version): Use PKGVERSION.
30120 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30121 (print_version): Use PKGVERSION.
30122 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30123 and PKGVERSION.
30124
92e4b6a9
JM
30125 * timezone/checktab.awk: Update from tzcode 2012i.
30126 * timezone/ialloc.c: Likewise.
30127 * timezone/private.h: Likewise.
30128 * timezone/scheck.c: Likewise.
30129 * timezone/tzfile.h: Likewise.
30130 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30131 (TZVERSION): Hardcode tzcode version number.
30132 * timezone/zdump.c: Update from tzcode 2012i.
30133 * timezone/zic.c: Likewise.
30134 * timezone/version.h: New file.
30135 * timezone/README: Describe version.h. Update upstream location.
30136
9bde902c
JM
30137 [BZ #14824]
30138 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30139 (mktemp): Enable declaration.
30140 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30141 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30142 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30143 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30144 Likewise.
30145 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30146 Likewise.
30147 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30148 Likewise.
30149 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30150 Likewise.
30151 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30152 Likewise.
30153 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30154 Likewise.
30155
fb1ae1ee
JM
30156 [BZ #14821]
30157 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30158 offset in buffer as u_int32_t not u_long. Consistently use memcpy
30159 for copies of such integer values.
30160 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30161 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30162
2c1adbcb
AJ
301632012-11-09 Andreas Jaeger <aj@suse.de>
30164
30165 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30166 definitions and declarations that are provided by
30167 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30168
d0f8457e
AK
301692012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30170
3a235abb 30171 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
30172 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30173 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30174 definition.
30175
57241e26
MS
301762012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30177
30178 * elf/elf.h: Update comment before AArch64 relocations.
30179
60e8270d
DM
301802012-11-07 David S. Miller <davem@davemloft.net>
30181
30182 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30183 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30184 (__start_context): Declare.
30185 (__makecontext_ret): Delete.
30186 (__makecontext): Hook up __start_context instead of
30187 __makecontext_ret.
30188 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30189 (sysdep_routines): Add __start_context when in stdlib.
30190
0fbb0fbc
JM
301912012-11-07 Joseph Myers <joseph@codesourcery.com>
30192
30193 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30194 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30195 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
30196 hardcoded "nm".
30197 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
30198 (READELF): New variable. Use it instead of hardcoded "readelf".
30199
eb48db7e
L
302002012-11-07 H.J. Lu <hongjiu.lu@intel.com>
30201
30202 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30203 * sysdeps/x86/Makefile: Here.
30204 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30205 * sysdeps/x86/tst-xmmymm.sh: This.
30206
05bcf62a
JM
302072012-11-07 Joseph Myers <joseph@codesourcery.com>
30208
c4b6cf53
JM
30209 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30210 expectations.
30211 [UNIX98] (pthread_barrier_t): Do not expect.
30212 [UNIX98] (pthread_barrierattr_t): Likewise.
30213 [UNIX98] (pthread_spinlock_t): Likewise.
30214 [UNIX98] (pthread_barrier_destroy): Likewise.
30215 [UNIX98] (pthread_barrier_init): Likewise.
30216 [UNIX98] (pthread_barrier_wait): Likewise.
30217 [UNIX98] (pthread_barrierattr_destroy): Likewise.
30218 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30219 [UNIX98] (pthread_barrierattr_init): Likewise.
30220 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30221 [UNIX98] (pthread_getcpuclockid): Likewise.
30222 [UNIX98] (pthread_mutex_timedlock): Likewise.
30223 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30224 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30225 [UNIX98] (pthread_sigmask): Likewise.
30226 [UNIX98] (pthread_spin_destroy): Likewise.
30227 [UNIX98] (pthread_spin_init): Likewise.
30228 [UNIX98] (pthread_spin_lock): Likewise.
30229 [UNIX98] (pthread_spin_trylock): Likewise.
30230 [UNIX98] (pthread_spin_unlock): Likewise.
30231 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30232 Do not expect.
30233 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30234 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30235 [XPG3 || XPG4] (pthread_cond_t): Likewise.
30236 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30237 [XPG3 || XPG4] (pthread_key_t): Likewise.
30238 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30239 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30240 [XPG3 || XPG4] (pthread_once_t): Likewise.
30241 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30242 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30243 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30244 [XPG3 || XPG4] (pthread_t): Likewise.
30245
cbe6e120
JM
30246 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30247 not expect.
30248 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30249
1b126443
JM
30250 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30251 Change function return type to int.
30252
b961a573
JM
30253 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30254 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30255 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30256 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30257 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30258 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30259 [!POSIX] (posix_madvise): Likewise.
30260 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30261 && !UNIX98].
30262 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30263 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30264 (mode_t): Likewise.
30265 (posix_mem_offset): Likewise.
30266 (posix_typed_mem_get_info): Likewise.
30267 (posix_typed_mem_open): Likewise.
30268
9e188909
JM
30269 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30270 Change condition to [XOPEN2K8].
30271
05bcf62a
JM
30272 * conform/conformtest.pl: Preprocess allow-header data with -x c
30273 instead of from stdin.
30274 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30275 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30276 [C99-based standards] (cerfc): Likewise.
30277 [C99-based standards] (cexp2): Likewise.
30278 [C99-based standards] (cexpm1): Likewise.
30279 [C99-based standards] (clog10): Likewise.
30280 [C99-based standards] (clog1p): Likewise.
30281 [C99-based standards] (clog2): Likewise.
30282 [C99-based standards] (clgamma): Likewise.
30283 [C99-based standards] (ctgamma): Likewise.
30284 [C99-based standards] (cerff): Likewise.
30285 [C99-based standards] (cerfcf): Likewise.
30286 [C99-based standards] (cexp2f): Likewise.
30287 [C99-based standards] (cexpm1f): Likewise.
30288 [C99-based standards] (clog10f): Likewise.
30289 [C99-based standards] (clog1pf): Likewise.
30290 [C99-based standards] (clog2f): Likewise.
30291 [C99-based standards] (clgammaf): Likewise.
30292 [C99-based standards] (ctgammaf): Likewise.
30293 [C99-based standards] (cerfl): Likewise.
30294 [C99-based standards] (cerfcl): Likewise.
30295 [C99-based standards] (cexp2l): Likewise.
30296 [C99-based standards] (cexpm1l): Likewise.
30297 [C99-based standards] (clog10l): Likewise.
30298 [C99-based standards] (clog1pl): Likewise.
30299 [C99-based standards] (clog2l): Likewise.
30300 [C99-based standards] (clgammal): Likewise.
30301 [C99-based standards] (ctgammal): Likewise.
30302 * conform/data/inttypes.h-data [C99-based standards]: Include
30303 stdint.h-data. Remove all expectations for stdint.h contents.
30304 [C99-based standards] (PRI*): Do not allow.
30305 [C99-based standards] (SCN*): Likewise.
30306 [C99-based standards] (*_t): Likewise.
30307 [C99-based-standards] (PRId8): Expect macro.
30308 [C99-based-standards] (PRIi8): Likewise.
30309 [C99-based-standards] (PRIo8): Likewise.
30310 [C99-based-standards] (PRIu8): Likewise.
30311 [C99-based-standards] (PRIx8): Likewise.
30312 [C99-based-standards] (PRIX8): Likewise.
30313 [C99-based-standards] (SCNd8): Likewise.
30314 [C99-based-standards] (SCNi8): Likewise.
30315 [C99-based-standards] (SCNo8): Likewise.
30316 [C99-based-standards] (SCNu8): Likewise.
30317 [C99-based-standards] (SCNx8): Likewise.
30318 [C99-based-standards] (PRIdLEAST8): Likewise.
30319 [C99-based-standards] (PRIiLEAST8): Likewise.
30320 [C99-based-standards] (PRIoLEAST8): Likewise.
30321 [C99-based-standards] (PRIuLEAST8): Likewise.
30322 [C99-based-standards] (PRIxLEAST8): Likewise.
30323 [C99-based-standards] (PRIXLEAST8): Likewise.
30324 [C99-based-standards] (SCNdLEAST8): Likewise.
30325 [C99-based-standards] (SCNiLEAST8): Likewise.
30326 [C99-based-standards] (SCNoLEAST8): Likewise.
30327 [C99-based-standards] (SCNuLEAST8): Likewise.
30328 [C99-based-standards] (SCNxLEAST8): Likewise.
30329 [C99-based-standards] (PRIdFAST8): Likewise.
30330 [C99-based-standards] (PRIiFAST8): Likewise.
30331 [C99-based-standards] (PRIoFAST8): Likewise.
30332 [C99-based-standards] (PRIuFAST8): Likewise.
30333 [C99-based-standards] (PRIxFAST8): Likewise.
30334 [C99-based-standards] (PRIXFAST8): Likewise.
30335 [C99-based-standards] (SCNdFAST8): Likewise.
30336 [C99-based-standards] (SCNiFAST8): Likewise.
30337 [C99-based-standards] (SCNoFAST8): Likewise.
30338 [C99-based-standards] (SCNuFAST8): Likewise.
30339 [C99-based-standards] (SCNxFAST8): Likewise.
30340 [C99-based-standards] (PRId16): Likewise.
30341 [C99-based-standards] (PRIi16): Likewise.
30342 [C99-based-standards] (PRIo16): Likewise.
30343 [C99-based-standards] (PRIu16): Likewise.
30344 [C99-based-standards] (PRIx16): Likewise.
30345 [C99-based-standards] (PRIX16): Likewise.
30346 [C99-based-standards] (SCNd16): Likewise.
30347 [C99-based-standards] (SCNi16): Likewise.
30348 [C99-based-standards] (SCNo16): Likewise.
30349 [C99-based-standards] (SCNu16): Likewise.
30350 [C99-based-standards] (SCNx16): Likewise.
30351 [C99-based-standards] (PRIdLEAST16): Likewise.
30352 [C99-based-standards] (PRIiLEAST16): Likewise.
30353 [C99-based-standards] (PRIoLEAST16): Likewise.
30354 [C99-based-standards] (PRIuLEAST16): Likewise.
30355 [C99-based-standards] (PRIxLEAST16): Likewise.
30356 [C99-based-standards] (PRIXLEAST16): Likewise.
30357 [C99-based-standards] (SCNdLEAST16): Likewise.
30358 [C99-based-standards] (SCNiLEAST16): Likewise.
30359 [C99-based-standards] (SCNoLEAST16): Likewise.
30360 [C99-based-standards] (SCNuLEAST16): Likewise.
30361 [C99-based-standards] (SCNxLEAST16): Likewise.
30362 [C99-based-standards] (PRIdFAST16): Likewise.
30363 [C99-based-standards] (PRIiFAST16): Likewise.
30364 [C99-based-standards] (PRIoFAST16): Likewise.
30365 [C99-based-standards] (PRIuFAST16): Likewise.
30366 [C99-based-standards] (PRIxFAST16): Likewise.
30367 [C99-based-standards] (PRIXFAST16): Likewise.
30368 [C99-based-standards] (SCNdFAST16): Likewise.
30369 [C99-based-standards] (SCNiFAST16): Likewise.
30370 [C99-based-standards] (SCNoFAST16): Likewise.
30371 [C99-based-standards] (SCNuFAST16): Likewise.
30372 [C99-based-standards] (SCNxFAST16): Likewise.
30373 [C99-based-standards] (PRId32): Likewise.
30374 [C99-based-standards] (PRIi32): Likewise.
30375 [C99-based-standards] (PRIo32): Likewise.
30376 [C99-based-standards] (PRIu32): Likewise.
30377 [C99-based-standards] (PRIx32): Likewise.
30378 [C99-based-standards] (PRIX32): Likewise.
30379 [C99-based-standards] (SCNd32): Likewise.
30380 [C99-based-standards] (SCNi32): Likewise.
30381 [C99-based-standards] (SCNo32): Likewise.
30382 [C99-based-standards] (SCNu32): Likewise.
30383 [C99-based-standards] (SCNx32): Likewise.
30384 [C99-based-standards] (PRIdLEAST32): Likewise.
30385 [C99-based-standards] (PRIiLEAST32): Likewise.
30386 [C99-based-standards] (PRIoLEAST32): Likewise.
30387 [C99-based-standards] (PRIuLEAST32): Likewise.
30388 [C99-based-standards] (PRIxLEAST32): Likewise.
30389 [C99-based-standards] (PRIXLEAST32): Likewise.
30390 [C99-based-standards] (SCNdLEAST32): Likewise.
30391 [C99-based-standards] (SCNiLEAST32): Likewise.
30392 [C99-based-standards] (SCNoLEAST32): Likewise.
30393 [C99-based-standards] (SCNuLEAST32): Likewise.
30394 [C99-based-standards] (SCNxLEAST32): Likewise.
30395 [C99-based-standards] (PRIdFAST32): Likewise.
30396 [C99-based-standards] (PRIiFAST32): Likewise.
30397 [C99-based-standards] (PRIoFAST32): Likewise.
30398 [C99-based-standards] (PRIuFAST32): Likewise.
30399 [C99-based-standards] (PRIxFAST32): Likewise.
30400 [C99-based-standards] (PRIXFAST32): Likewise.
30401 [C99-based-standards] (SCNdFAST32): Likewise.
30402 [C99-based-standards] (SCNiFAST32): Likewise.
30403 [C99-based-standards] (SCNoFAST32): Likewise.
30404 [C99-based-standards] (SCNuFAST32): Likewise.
30405 [C99-based-standards] (SCNxFAST32): Likewise.
30406 [C99-based-standards] (PRId64): Likewise.
30407 [C99-based-standards] (PRIi64): Likewise.
30408 [C99-based-standards] (PRIo64): Likewise.
30409 [C99-based-standards] (PRIu64): Likewise.
30410 [C99-based-standards] (PRIx64): Likewise.
30411 [C99-based-standards] (PRIX64): Likewise.
30412 [C99-based-standards] (SCNd64): Likewise.
30413 [C99-based-standards] (SCNi64): Likewise.
30414 [C99-based-standards] (SCNo64): Likewise.
30415 [C99-based-standards] (SCNu64): Likewise.
30416 [C99-based-standards] (SCNx64): Likewise.
30417 [C99-based-standards] (PRIdLEAST64): Likewise.
30418 [C99-based-standards] (PRIiLEAST64): Likewise.
30419 [C99-based-standards] (PRIoLEAST64): Likewise.
30420 [C99-based-standards] (PRIuLEAST64): Likewise.
30421 [C99-based-standards] (PRIxLEAST64): Likewise.
30422 [C99-based-standards] (PRIXLEAST64): Likewise.
30423 [C99-based-standards] (SCNdLEAST64): Likewise.
30424 [C99-based-standards] (SCNiLEAST64): Likewise.
30425 [C99-based-standards] (SCNoLEAST64): Likewise.
30426 [C99-based-standards] (SCNuLEAST64): Likewise.
30427 [C99-based-standards] (SCNxLEAST64): Likewise.
30428 [C99-based-standards] (PRIdFAST64): Likewise.
30429 [C99-based-standards] (PRIiFAST64): Likewise.
30430 [C99-based-standards] (PRIoFAST64): Likewise.
30431 [C99-based-standards] (PRIuFAST64): Likewise.
30432 [C99-based-standards] (PRIxFAST64): Likewise.
30433 [C99-based-standards] (PRIXFAST64): Likewise.
30434 [C99-based-standards] (SCNdFAST64): Likewise.
30435 [C99-based-standards] (SCNiFAST64): Likewise.
30436 [C99-based-standards] (SCNoFAST64): Likewise.
30437 [C99-based-standards] (SCNuFAST64): Likewise.
30438 [C99-based-standards] (SCNxFAST64): Likewise.
30439 [C99-based-standards] (PRIdMAX): Likewise.
30440 [C99-based-standards] (PRIiMAX): Likewise.
30441 [C99-based-standards] (PRIoMAX): Likewise.
30442 [C99-based-standards] (PRIuMAX): Likewise.
30443 [C99-based-standards] (PRIxMAX): Likewise.
30444 [C99-based-standards] (PRIXMAX): Likewise.
30445 [C99-based-standards] (SCNdMAX): Likewise.
30446 [C99-based-standards] (SCNiMAX): Likewise.
30447 [C99-based-standards] (SCNoMAX): Likewise.
30448 [C99-based-standards] (SCNuMAX): Likewise.
30449 [C99-based-standards] (SCNxMAX): Likewise.
30450 [C99-based-standards] (PRIdPTR): Likewise.
30451 [C99-based-standards] (PRIiPTR): Likewise.
30452 [C99-based-standards] (PRIoPTR): Likewise.
30453 [C99-based-standards] (PRIuPTR): Likewise.
30454 [C99-based-standards] (PRIxPTR): Likewise.
30455 [C99-based-standards] (PRIXPTR): Likewise.
30456 [C99-based-standards] (SCNdPTR): Likewise.
30457 [C99-based-standards] (SCNiPTR): Likewise.
30458 [C99-based-standards] (SCNoPTR): Likewise.
30459 [C99-based-standards] (SCNuPTR): Likewise.
30460 [C99-based-standards] (SCNxPTR): Likewise.
30461 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30462 allow.
30463 * conform/data/stdint.h-data: Update comments to clarify
30464 requirements.
30465 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30466 type.
30467 [C99-based standards] (INT8_MAX): Likewise.
30468 [C99-based standards] (INT16_MIN): Likewise.
30469 [C99-based standards] (INT16_MAX): Likewise.
30470 [C99-based standards] (INT32_MIN): Likewise.
30471 [C99-based standards] (INT32_MAX): Likewise.
30472 [C99-based standards] (INT64_MIN): Likewise.
30473 [C99-based standards] (INT64_MAX): Likewise.
30474 [C99-based standards] (UINT8_MAX): Likewise.
30475 [C99-based standards] (UINT16_MAX): Likewise.
30476 [C99-based standards] (UINT32_MAX): Likewise.
30477 [C99-based standards] (UINT64_MAX): Likewise.
30478 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30479 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30480 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30481 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30482 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30483 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30484 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30485 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30486 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30487 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30488 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30489 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30490 [C99-based standards] (INT_FAST8_MIN): Likewise.
30491 [C99-based standards] (INT_FAST8_MAX): Likewise.
30492 [C99-based standards] (INT_FAST16_MIN): Likewise.
30493 [C99-based standards] (INT_FAST16_MAX): Likewise.
30494 [C99-based standards] (INT_FAST32_MIN): Likewise.
30495 [C99-based standards] (INT_FAST32_MAX): Likewise.
30496 [C99-based standards] (INT_FAST64_MIN): Likewise.
30497 [C99-based standards] (INT_FAST64_MAX): Likewise.
30498 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30499 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30500 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30501 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30502 [C99-based standards] (INTPTR_MIN): Likewise.
30503 [C99-based standards] (INTPTR_MAX): Likewise.
30504 [C99-based standards] (UINTPTR_MAX): Likewise.
30505 [C99-based standards] (INTMAX_MIN): Likewise.
30506 [C99-based standards] (INTMAX_MAX): Likewise.
30507 [C99-based standards] (UINTMAX_MAX): Likewise.
30508 [C99-based standards] (PTRDIFF_MIN): Likewise.
30509 [C99-based standards] (PTRDIFF_MAX): Likewise.
30510 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30511 [C99-based standards] (SIZE_MAX): Likewise.
30512 [C99-based standards] (WCHAR_MAX): Likewise.
30513 [C99-based standards] (WINT_MAX): Likewise.
30514 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30515 constraint on value.
30516 [C99-based standards] (WCHAR_MIN): Likewise.
30517 [C99-based standards] (WINT_MIN): Likewise.
30518 [C99-based standards] (*_t): Allow.
30519 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30520 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30521 Include math.h-data and complex.h-data. Remove all expectations
30522 of math.h and complex.h contents.
30523 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30524 at end of line.
30525 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30526 (struct tm): Expect tag.
30527 [C99-based-standards] (wcstof): Expect function.
30528 [C99-based-standards] (wcstold): Likewise.
30529 [C99-based-standards] (wcstoll): Likewise.
30530 [C99-based-standards] (wcstoull): Likewise.
30531 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30532 macro-int-constant. Specify type.
30533 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30534 constraint on value.
30535 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30536 Specify type.
30537 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30538 Specify value.
30539 [ISO C standards]: Do not allow headers.
30540 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30541 wcs[abcdefghijklmnopqrstuvwxyz]*.
30542 [ISO C standards] (*_t): Do not allow.
30543 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30544 Expect function.
30545 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30546 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30547 Specify type.
30548 [ISO C standards]: Do not allow headers.
30549 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30550 is[abcdefghijklmnopqrstuvwxyz]*.
30551 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30552 to[abcdefghijklmnopqrstuvwxyz]*.
30553 [ISO C standards] (*_t): Do not allow.
30554 * conform/data/stdalign.h-data: New file.
30555 * conform/data/stdbool.h-data: Likewise.
30556 * conform/data/stdnoreturn.h-data: Likewise.
30557
7514feb8
RM
305582012-11-07 Roland McGrath <roland@hack.frob.com>
30559
30560 [BZ #14815]
30561 * manual/filesys.texi (Directory Entries): Typo fix.
30562 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30563
19b2ecfc
MS
305642012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30565
30566 * elf/elf.h (EM_AARCH64): New macro.
30567 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30568 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30569 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30570 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30571 (R_AARCH64_TLSDESC): Likewise.
30572 (NT_ARM_TLS): Likewise.
30573 (NT_ARM_HW_BREAK): Likewise.
30574 (NT_ARM_HW_WATCH): Likewise.
30575
60e235ee
JM
305762012-11-07 Joseph Myers <joseph@codesourcery.com>
30577
30578 [BZ #14811]
30579 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30580 (__ieee754_powl): Saturate nonzero exponents with absolute value
30581 below 0x1p-79 to +/- 0x1p-79.
30582 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30583 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30584 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30585 nonzero exponents with absolute value below 0x1p-32 to +/-
30586 0x1p-32.
30587 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30588 (__ieee754_powl): Saturate nonzero exponents with absolute value
30589 below 0x1p-79 to +/- 0x1p-79.
30590 * math/libm-test.inc (pow_test): Add more tests.
30591
0ab234b7
AK
305922012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30593
30594 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30595 _dl_s390_cap_flags with kernel. Increase string length.
30596 (_dl_s390_platforms): Add z196 and zEC12.
30597
45832f74
JM
305982012-11-07 Joseph Myers <joseph@codesourcery.com>
30599
30600 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30601 Change XOPEN21K to XOPEN2K.
30602
19218757
MK
306032012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
30604
30605 * string/memmove.c: Use memcpy when possible.
30606
c5f45721
AJ
306072012-11-06 Andreas Jaeger <aj@suse.de>
30608
30609 * po/eo.po: Update from translation team.
30610
82477c28
JM
306112012-11-06 Joseph Myers <joseph@codesourcery.com>
30612
30613 [BZ #14793]
30614 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30615 exponent and small x and y exponents, scale x or y up. Increase
30616 by 2 the exponent used in scaling up.
30617 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30618 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30619 * math/libm-test.inc (fma_test): Add more tests.
30620 (fma_test_towardzero): Likewise.
30621 (fma_test_downward): Likewise.
30622 (fma_test_upward): Likewise.
30623
99252c8c
JM
306242012-11-05 Joseph Myers <joseph@codesourcery.com>
30625
acfa885f
JM
30626 [BZ #14805]
30627 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30628 fenv_t *.
30629
99252c8c
JM
30630 [BZ #14801]
30631 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30632 namespace for names of struct fields.
30633 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30634 fenv_t fields.
30635 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30636 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30637
d6d98dea
ST
306382012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
30639
30640 [BZ #3665]
30641 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30642
e10bb107
TS
306432012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30644
30645 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30646 PTR_DEMANGLE.
30647
30648 [BZ #5246]
30649 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30650 PTR_DEMANGLE.
30651
a0c2940d
JM
306522012-11-04 Joseph Myers <joseph@codesourcery.com>
30653
30654 [BZ #14797]
30655 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30656 definitely overflow as x * y not x * y + z.
30657 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30658 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30659 * math/libm-test.inc (fma_test): Add more tests.
30660 (fma_test_towardzero): Likewise.
30661 (fma_test_downward): Likewise.
30662 (fma_test_upward): Likewise.
30663
b830319d
TS
306642012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30665
30666 [BZ #157]
30667
30668 * include/stub-tag.h: Remove file.
30669 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30670 '#include' of it.
30671 * manual/maint.texi (Porting): Don't reference it.
30672 * Makerules ($(objpfx)stubs): Likewise.
30673 * dirent/closedir.c: Don't include <stub-tag.h>.
30674 * dirent/dirfd.c: Likewise.
30675 * dirent/fdopendir.c: Likewise.
30676 * dirent/getdents.c: Likewise.
30677 * dirent/getdents64.c: Likewise.
30678 * dirent/opendir.c: Likewise.
30679 * dirent/readdir.c: Likewise.
30680 * dirent/readdir64.c: Likewise.
30681 * dirent/readdir64_r.c: Likewise.
30682 * dirent/readdir_r.c: Likewise.
30683 * dirent/rewinddir.c: Likewise.
30684 * dirent/seekdir.c: Likewise.
30685 * dirent/telldir.c: Likewise.
30686 * gmon/profil.c: Likewise.
30687 * grp/setgroups.c: Likewise.
30688 * inet/if_index.c: Likewise.
30689 * io/access.c: Likewise.
30690 * io/chdir.c: Likewise.
30691 * io/chmod.c: Likewise.
30692 * io/chown.c: Likewise.
30693 * io/close.c: Likewise.
30694 * io/dup.c: Likewise.
30695 * io/dup2.c: Likewise.
30696 * io/dup3.c: Likewise.
30697 * io/euidaccess.c: Likewise.
30698 * io/faccessat.c: Likewise.
30699 * io/fchdir.c: Likewise.
30700 * io/fchmod.c: Likewise.
30701 * io/fchmodat.c: Likewise.
30702 * io/fchown.c: Likewise.
30703 * io/fchownat.c: Likewise.
30704 * io/fcntl.c: Likewise.
30705 * io/flock.c: Likewise.
30706 * io/fstatfs.c: Likewise.
30707 * io/fstatfs64.c: Likewise.
30708 * io/fstatvfs.c: Likewise.
30709 * io/fstatvfs64.c: Likewise.
30710 * io/futimens.c: Likewise.
30711 * io/fxstat.c: Likewise.
30712 * io/fxstat64.c: Likewise.
30713 * io/fxstatat.c: Likewise.
30714 * io/fxstatat64.c: Likewise.
30715 * io/getcwd.c: Likewise.
30716 * io/isatty.c: Likewise.
30717 * io/lchmod.c: Likewise.
30718 * io/lchown.c: Likewise.
30719 * io/link.c: Likewise.
30720 * io/linkat.c: Likewise.
30721 * io/lseek.c: Likewise.
30722 * io/lseek64.c: Likewise.
30723 * io/lxstat64.c: Likewise.
30724 * io/mkdir.c: Likewise.
30725 * io/mkdirat.c: Likewise.
30726 * io/mkfifo.c: Likewise.
30727 * io/mkfifoat.c: Likewise.
30728 * io/open.c: Likewise.
30729 * io/open64.c: Likewise.
30730 * io/openat.c: Likewise.
30731 * io/openat64.c: Likewise.
30732 * io/pipe.c: Likewise.
30733 * io/pipe2.c: Likewise.
30734 * io/poll.c: Likewise.
30735 * io/posix_fadvise.c: Likewise.
30736 * io/posix_fadvise64.c: Likewise.
30737 * io/posix_fallocate.c: Likewise.
30738 * io/posix_fallocate64.c: Likewise.
30739 * io/read.c: Likewise.
30740 * io/readlink.c: Likewise.
30741 * io/readlinkat.c: Likewise.
30742 * io/rmdir.c: Likewise.
30743 * io/sendfile.c: Likewise.
30744 * io/sendfile64.c: Likewise.
30745 * io/statfs.c: Likewise.
30746 * io/statfs64.c: Likewise.
30747 * io/statvfs.c: Likewise.
30748 * io/statvfs64.c: Likewise.
30749 * io/symlink.c: Likewise.
30750 * io/symlinkat.c: Likewise.
30751 * io/ttyname.c: Likewise.
30752 * io/ttyname_r.c: Likewise.
30753 * io/umask.c: Likewise.
30754 * io/unlink.c: Likewise.
30755 * io/unlinkat.c: Likewise.
30756 * io/utime.c: Likewise.
30757 * io/utimensat.c: Likewise.
30758 * io/write.c: Likewise.
30759 * io/xmknod.c: Likewise.
30760 * io/xmknodat.c: Likewise.
30761 * io/xstat.c: Likewise.
30762 * io/xstat64.c: Likewise.
30763 * login/getpt.c: Likewise.
30764 * login/grantpt.c: Likewise.
30765 * login/unlockpt.c: Likewise.
30766 * math/e_acoshl.c: Likewise.
30767 * math/e_acosl.c: Likewise.
30768 * math/e_asinl.c: Likewise.
30769 * math/e_atan2l.c: Likewise.
30770 * math/e_atanhl.c: Likewise.
30771 * math/e_coshl.c: Likewise.
30772 * math/e_expl.c: Likewise.
30773 * math/e_fmodl.c: Likewise.
30774 * math/e_gammal_r.c: Likewise.
30775 * math/e_hypotl.c: Likewise.
30776 * math/e_j0l.c: Likewise.
30777 * math/e_j1l.c: Likewise.
30778 * math/e_jnl.c: Likewise.
30779 * math/e_lgammal_r.c: Likewise.
30780 * math/e_log10l.c: Likewise.
30781 * math/e_log2l.c: Likewise.
30782 * math/e_logl.c: Likewise.
30783 * math/e_powl.c: Likewise.
30784 * math/e_rem_pio2l.c: Likewise.
30785 * math/e_sinhl.c: Likewise.
30786 * math/e_sqrtl.c: Likewise.
30787 * math/fclrexcpt.c: Likewise.
30788 * math/fedisblxcpt.c: Likewise.
30789 * math/feenablxcpt.c: Likewise.
30790 * math/fegetenv.c: Likewise.
30791 * math/fegetexcept.c: Likewise.
30792 * math/fegetround.c: Likewise.
30793 * math/feholdexcpt.c: Likewise.
30794 * math/fesetenv.c: Likewise.
30795 * math/fesetround.c: Likewise.
30796 * math/feupdateenv.c: Likewise.
30797 * math/fgetexcptflg.c: Likewise.
30798 * math/fraiseexcpt.c: Likewise.
30799 * math/fsetexcptflg.c: Likewise.
30800 * math/ftestexcept.c: Likewise.
30801 * math/k_cosl.c: Likewise.
30802 * math/k_rem_pio2l.c: Likewise.
30803 * math/k_sinl.c: Likewise.
30804 * math/k_tanl.c: Likewise.
30805 * math/s_asinhl.c: Likewise.
30806 * math/s_atanl.c: Likewise.
30807 * math/s_cbrtl.c: Likewise.
30808 * math/s_erfl.c: Likewise.
30809 * math/s_expm1l.c: Likewise.
30810 * math/s_log1pl.c: Likewise.
30811 * math/s_tanhl.c: Likewise.
30812 * misc/acct.c: Likewise.
30813 * misc/brk.c: Likewise.
30814 * misc/chflags.c: Likewise.
30815 * misc/chroot.c: Likewise.
30816 * misc/fchflags.c: Likewise.
30817 * misc/fgetxattr.c: Likewise.
30818 * misc/flistxattr.c: Likewise.
30819 * misc/fremovexattr.c: Likewise.
30820 * misc/fsetxattr.c: Likewise.
30821 * misc/fsync.c: Likewise.
30822 * misc/ftruncate.c: Likewise.
30823 * misc/futimes.c: Likewise.
30824 * misc/futimesat.c: Likewise.
30825 * misc/getdomain.c: Likewise.
30826 * misc/getdtsz.c: Likewise.
30827 * misc/gethostid.c: Likewise.
30828 * misc/gethostname.c: Likewise.
30829 * misc/getloadavg.c: Likewise.
30830 * misc/getpagesize.c: Likewise.
30831 * misc/getsysstats.c: Likewise.
30832 * misc/getxattr.c: Likewise.
30833 * misc/gtty.c: Likewise.
30834 * misc/ioctl.c: Likewise.
30835 * misc/lgetxattr.c: Likewise.
30836 * misc/listxattr.c: Likewise.
30837 * misc/llistxattr.c: Likewise.
30838 * misc/lremovexattr.c: Likewise.
30839 * misc/lsetxattr.c: Likewise.
30840 * misc/lutimes.c: Likewise.
30841 * misc/madvise.c: Likewise.
30842 * misc/mincore.c: Likewise.
30843 * misc/mlock.c: Likewise.
30844 * misc/mlockall.c: Likewise.
30845 * misc/mmap.c: Likewise.
30846 * misc/mprotect.c: Likewise.
30847 * misc/msync.c: Likewise.
30848 * misc/munlock.c: Likewise.
30849 * misc/munlockall.c: Likewise.
30850 * misc/munmap.c: Likewise.
30851 * misc/preadv.c: Likewise.
30852 * misc/preadv64.c: Likewise.
30853 * misc/ptrace.c: Likewise.
30854 * misc/pwritev.c: Likewise.
30855 * misc/pwritev64.c: Likewise.
30856 * misc/readv.c: Likewise.
30857 * misc/reboot.c: Likewise.
30858 * misc/remap_file_pages.c: Likewise.
30859 * misc/removexattr.c: Likewise.
30860 * misc/revoke.c: Likewise.
30861 * misc/select.c: Likewise.
30862 * misc/setdomain.c: Likewise.
30863 * misc/setegid.c: Likewise.
30864 * misc/seteuid.c: Likewise.
30865 * misc/sethostid.c: Likewise.
30866 * misc/sethostname.c: Likewise.
30867 * misc/setregid.c: Likewise.
30868 * misc/setreuid.c: Likewise.
30869 * misc/setxattr.c: Likewise.
30870 * misc/sstk.c: Likewise.
30871 * misc/stty.c: Likewise.
30872 * misc/swapoff.c: Likewise.
30873 * misc/swapon.c: Likewise.
30874 * misc/sync.c: Likewise.
30875 * misc/syncfs.c: Likewise.
30876 * misc/syscall.c: Likewise.
30877 * misc/truncate.c: Likewise.
30878 * misc/ualarm.c: Likewise.
30879 * misc/usleep.c: Likewise.
30880 * misc/ustat.c: Likewise.
30881 * misc/utimes.c: Likewise.
30882 * misc/vhangup.c: Likewise.
30883 * misc/writev.c: Likewise.
30884 * posix/_exit.c: Likewise.
30885 * posix/alarm.c: Likewise.
30886 * posix/execve.c: Likewise.
30887 * posix/fexecve.c: Likewise.
30888 * posix/fork.c: Likewise.
30889 * posix/fpathconf.c: Likewise.
30890 * posix/getaddrinfo.c: Likewise.
30891 * posix/getegid.c: Likewise.
30892 * posix/geteuid.c: Likewise.
30893 * posix/getgid.c: Likewise.
30894 * posix/getgroups.c: Likewise.
30895 * posix/getlogin.c: Likewise.
30896 * posix/getlogin_r.c: Likewise.
30897 * posix/getpgid.c: Likewise.
30898 * posix/getpid.c: Likewise.
30899 * posix/getppid.c: Likewise.
30900 * posix/getresgid.c: Likewise.
30901 * posix/getresuid.c: Likewise.
30902 * posix/getsid.c: Likewise.
30903 * posix/getuid.c: Likewise.
30904 * posix/glob64.c: Likewise.
30905 * posix/nanosleep.c: Likewise.
30906 * posix/pathconf.c: Likewise.
30907 * posix/pause.c: Likewise.
30908 * posix/posix_madvise.c: Likewise.
30909 * posix/pread.c: Likewise.
30910 * posix/pread64.c: Likewise.
30911 * posix/pwrite.c: Likewise.
30912 * posix/pwrite64.c: Likewise.
30913 * posix/sched_getaffinity.c: Likewise.
30914 * posix/sched_getp.c: Likewise.
30915 * posix/sched_gets.c: Likewise.
30916 * posix/sched_primax.c: Likewise.
30917 * posix/sched_primin.c: Likewise.
30918 * posix/sched_rr_gi.c: Likewise.
30919 * posix/sched_setaffinity.c: Likewise.
30920 * posix/sched_setp.c: Likewise.
30921 * posix/sched_sets.c: Likewise.
30922 * posix/sched_yield.c: Likewise.
30923 * posix/setgid.c: Likewise.
30924 * posix/setlogin.c: Likewise.
30925 * posix/setpgid.c: Likewise.
30926 * posix/setresgid.c: Likewise.
30927 * posix/setresuid.c: Likewise.
30928 * posix/setsid.c: Likewise.
30929 * posix/setuid.c: Likewise.
30930 * posix/sleep.c: Likewise.
30931 * posix/spawni.c: Likewise.
30932 * posix/sysconf.c: Likewise.
30933 * posix/times.c: Likewise.
30934 * posix/wait.c: Likewise.
30935 * posix/wait3.c: Likewise.
30936 * posix/wait4.c: Likewise.
30937 * posix/waitpid.c: Likewise.
30938 * resolv/gai_sigqueue.c: Likewise.
30939 * resource/getpriority.c: Likewise.
30940 * resource/getrlimit.c: Likewise.
30941 * resource/getrusage.c: Likewise.
30942 * resource/nice.c: Likewise.
30943 * resource/setpriority.c: Likewise.
30944 * resource/setrlimit.c: Likewise.
30945 * resource/ulimit.c: Likewise.
30946 * rt/aio_cancel.c: Likewise.
30947 * rt/aio_fsync.c: Likewise.
30948 * rt/aio_read.c: Likewise.
30949 * rt/aio_sigqueue.c: Likewise.
30950 * rt/aio_suspend.c: Likewise.
30951 * rt/aio_write.c: Likewise.
30952 * rt/clock_getres.c: Likewise.
30953 * rt/clock_gettime.c: Likewise.
30954 * rt/clock_nanosleep.c: Likewise.
30955 * rt/clock_settime.c: Likewise.
30956 * rt/lio_listio.c: Likewise.
30957 * rt/mq_close.c: Likewise.
30958 * rt/mq_getattr.c: Likewise.
30959 * rt/mq_notify.c: Likewise.
30960 * rt/mq_open.c: Likewise.
30961 * rt/mq_receive.c: Likewise.
30962 * rt/mq_send.c: Likewise.
30963 * rt/mq_setattr.c: Likewise.
30964 * rt/mq_timedreceive.c: Likewise.
30965 * rt/mq_timedsend.c: Likewise.
30966 * rt/mq_unlink.c: Likewise.
30967 * rt/shm_open.c: Likewise.
30968 * rt/shm_unlink.c: Likewise.
30969 * rt/timer_create.c: Likewise.
30970 * rt/timer_delete.c: Likewise.
30971 * rt/timer_getoverr.c: Likewise.
30972 * rt/timer_gettime.c: Likewise.
30973 * rt/timer_settime.c: Likewise.
30974 * setjmp/__longjmp.c: Likewise.
30975 * setjmp/setjmp.c: Likewise.
30976 * signal/kill.c: Likewise.
30977 * signal/killpg.c: Likewise.
30978 * signal/raise.c: Likewise.
30979 * signal/sigaction.c: Likewise.
30980 * signal/sigaltstack.c: Likewise.
30981 * signal/sigblock.c: Likewise.
30982 * signal/sigignore.c: Likewise.
30983 * signal/sigintr.c: Likewise.
30984 * signal/signal.c: Likewise.
30985 * signal/sigpause.c: Likewise.
30986 * signal/sigpending.c: Likewise.
30987 * signal/sigqueue.c: Likewise.
30988 * signal/sigreturn.c: Likewise.
30989 * signal/sigset.c: Likewise.
30990 * signal/sigsetmask.c: Likewise.
30991 * signal/sigstack.c: Likewise.
30992 * signal/sigsuspend.c: Likewise.
30993 * signal/sigtimedwait.c: Likewise.
30994 * signal/sigvec.c: Likewise.
30995 * signal/sigwait.c: Likewise.
30996 * signal/sigwaitinfo.c: Likewise.
30997 * signal/sysv_signal.c: Likewise.
30998 * socket/accept.c: Likewise.
30999 * socket/accept4.c: Likewise.
31000 * socket/bind.c: Likewise.
31001 * socket/connect.c: Likewise.
31002 * socket/getpeername.c: Likewise.
31003 * socket/getsockname.c: Likewise.
31004 * socket/getsockopt.c: Likewise.
31005 * socket/isfdtype.c: Likewise.
31006 * socket/listen.c: Likewise.
31007 * socket/recv.c: Likewise.
31008 * socket/recvfrom.c: Likewise.
31009 * socket/recvmsg.c: Likewise.
31010 * socket/send.c: Likewise.
31011 * socket/sendmsg.c: Likewise.
31012 * socket/sendto.c: Likewise.
31013 * socket/setsockopt.c: Likewise.
31014 * socket/shutdown.c: Likewise.
31015 * socket/sockatmark.c: Likewise.
31016 * socket/socket.c: Likewise.
31017 * socket/socketpair.c: Likewise.
31018 * stdio-common/ctermid.c: Likewise.
31019 * stdio-common/cuserid.c: Likewise.
31020 * stdio-common/remove.c: Likewise.
31021 * stdio-common/rename.c: Likewise.
31022 * stdio-common/renameat.c: Likewise.
31023 * stdio-common/tempname.c: Likewise.
31024 * stdlib/getcontext.c: Likewise.
31025 * stdlib/makecontext.c: Likewise.
31026 * stdlib/setcontext.c: Likewise.
31027 * stdlib/swapcontext.c: Likewise.
31028 * stdlib/system.c: Likewise.
31029 * streams/fattach.c: Likewise.
31030 * streams/fdetach.c: Likewise.
31031 * streams/getmsg.c: Likewise.
31032 * streams/getpmsg.c: Likewise.
31033 * streams/putmsg.c: Likewise.
31034 * streams/putpmsg.c: Likewise.
31035 * sysdeps/unix/bsd/getpt.c: Likewise.
31036 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
31037 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
31038 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31040 Likewise.
31041 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
31042 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31043 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31044 * sysvipc/msgctl.c: Likewise.
31045 * sysvipc/msgget.c: Likewise.
31046 * sysvipc/msgrcv.c: Likewise.
31047 * sysvipc/msgsnd.c: Likewise.
31048 * sysvipc/semctl.c: Likewise.
31049 * sysvipc/semget.c: Likewise.
31050 * sysvipc/semop.c: Likewise.
31051 * sysvipc/semtimedop.c: Likewise.
31052 * sysvipc/shmat.c: Likewise.
31053 * sysvipc/shmctl.c: Likewise.
31054 * sysvipc/shmdt.c: Likewise.
31055 * sysvipc/shmget.c: Likewise.
31056 * termios/tcdrain.c: Likewise.
31057 * termios/tcflow.c: Likewise.
31058 * termios/tcflush.c: Likewise.
31059 * termios/tcgetattr.c: Likewise.
31060 * termios/tcgetpgrp.c: Likewise.
31061 * termios/tcsendbrk.c: Likewise.
31062 * termios/tcsetattr.c: Likewise.
31063 * termios/tcsetpgrp.c: Likewise.
31064 * time/adjtime.c: Likewise.
31065 * time/clock.c: Likewise.
31066 * time/getitimer.c: Likewise.
31067 * time/gettimeofday.c: Likewise.
31068 * time/setitimer.c: Likewise.
31069 * time/settimeofday.c: Likewise.
31070 * time/stime.c: Likewise.
31071 * time/time.c: Likewise.
31072
310732012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 31074
a20492cf
PT
31075 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
31076 /usr/old/bin.
31077
72e182e3
PT
31078 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
31079 instead of spaces.
31080 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
31081
fbeafede
JM
310822012-11-03 Joseph Myers <joseph@codesourcery.com>
31083
5b5b04d6
JM
31084 [BZ #14796]
31085 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
31086 FE_TONEAREST before applying Dekker multiplication and Knuth
31087 addition. Clear inexact exceptions and check for exact zero
31088 results afterwards.
31089 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31090 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31091 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31092 * math/libm-test.inc (fma_test): Add more tests.
31093 (fma_test_towardzero): Likewise.
31094 (fma_test_downward): Likewise.
31095 (fma_test_upward): Likewise.
31096 * sysdeps/generic/math_private.h (default_libc_fesetround): New
31097 function.
31098 (libc_fesetround): New macro.
31099 (libc_fesetroundf): Likewise.
31100 (libc_fesetroundl): Likewise.
31101 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31102 function.
31103 (libc_fesetround_387): Likewise.
31104 (libc_fesetroundf): New macro.
31105 (libc_fesetround): Likewise.
31106 (libc_fesetroundl): Likewise.
31107 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31108 function.
31109 (libc_fesetroundf): New macro.
31110 (libc_fesetround): Likewise.
31111 (libc_fesetroundl): Likewise.
31112 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31113 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31114 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31115 libm_hidden_ver.
31116 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31117 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31118 libm_hidden_def.
31119 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31120 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31121 libm_hidden_ver.
31122 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31123 libm_hidden_def.
31124
fbeafede
JM
31125 [BZ #3439]
31126 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31127 integer constant usable in #if and use that to give value to enum
31128 constant.
31129 (FE_DIVBYZERO): Likewise.
31130 (FE_UNDERFLOW): Likewise.
31131 (FE_OVERFLOW): Likewise.
31132 (FE_INVALID): Likewise.
31133 (FE_INVALID_SNAN): Likewise.
31134 (FE_INVALID_ISI): Likewise.
31135 (FE_INVALID_IDI): Likewise.
31136 (FE_INVALID_ZDZ): Likewise.
31137 (FE_INVALID_IMZ): Likewise.
31138 (FE_INVALID_COMPARE): Likewise.
31139 (FE_INVALID_SOFTWARE): Likewise.
31140 (FE_INVALID_SQRT): Likewise.
31141 (FE_INVALID_INTEGER_CONVERSION): Likewise.
31142 (FE_TONEAREST): Likewise.
31143 (FE_TOWARDZERO): Likewise.
31144 (FE_UPWARD): Likewise.
31145 (FE_DOWNWARD): Likewise.
31146 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31147 (FE_DIVBYZERO): Likewise.
31148 (FE_OVERFLOW): Likewise.
31149 (FE_UNDERFLOW): Likewise.
31150 (FE_INEXACT): Likewise.
31151 (FE_TONEAREST): Likewise.
31152 (FE_DOWNWARD): Likewise.
31153 (FE_UPWARD): Likewise.
31154 (FE_TOWARDZERO): Likewise.
31155 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31156 (FE_UNDERFLOW): Likewise.
31157 (FE_OVERFLOW): Likewise.
31158 (FE_DIVBYZERO): Likewise.
31159 (FE_INVALID): Likewise.
31160 (FE_TONEAREST): Likewise.
31161 (FE_TOWARDZERO): Likewise.
31162 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31163 (FE_OVERFLOW): Likewise.
31164 (FE_UNDERFLOW): Likewise.
31165 (FE_DIVBYZERO): Likewise.
31166 (FE_INEXACT): Likewise.
31167 (FE_TONEAREST): Likewise.
31168 (FE_TOWARDZERO): Likewise.
31169 (FE_UPWARD): Likewise.
31170 (FE_DOWNWARD): Likewise.
31171 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31172 (FE_DIVBYZERO): Likewise.
31173 (FE_OVERFLOW): Likewise.
31174 (FE_UNDERFLOW): Likewise.
31175 (FE_INEXACT): Likewise.
31176 (FE_TONEAREST): Likewise.
31177 (FE_DOWNWARD): Likewise.
31178 (FE_UPWARD): Likewise.
31179 (FE_TOWARDZERO): Likewise.
31180
105ca950
CM
311812012-11-02 Chris Metcalf <cmetcalf@tilera.com>
31182
31183 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31184
a542b389
AS
311852012-11-03 Andreas Schwab <schwab@linux-m68k.org>
31186
31187 * scripts/cross-test-ssh.sh (command): Use newlines to separate
31188 commands. Quote $PWD.
31189 (blacklist_exports): Don't use remove_newlines. Replace "declare
31190 -x" by "export".
31191 (remove_newlines): Remove.
31192
f62c8abc
L
311932012-11-02 H.J. Lu <hongjiu.lu@intel.com>
31194
31195 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31196 * stdlib/stdlib.h (atof): Moved to ...
31197 * include/bits/stdlib-float.h: Here. New file.
31198 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31199 * stdlib/bits/stdlib-float.h: New file.
31200 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31201 -mno-sse -mno-mmx.
31202 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31203 <xmmintrin.h>.
31204
0155d5b2
JM
312052012-11-02 Joseph Myers <joseph@codesourcery.com>
31206
a68d0680
JM
31207 * conform/conformtest.pl (@headers): Add fenv.h.
31208 * conform/data/fenv.h-data: New file.
31209 * include/fenv.h [_ISOMAC]: Disable all contents of file except
31210 include of <math/fenv.h>.
31211
caf7f573
JM
31212 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31213 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31214 && !UNIX98]. Enables tests for XOPEN2K8.
31215 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31216 POSIX2008]: Likewise.
31217
6c073ad6
JM
31218 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31219 (struct rusage): Do not expect type or its members.
31220
0155d5b2
JM
31221 [BZ #3439]
31222 * math/math.h (FP_NAN): Define macro to integer constant usable in
31223 #if and use that to give value to enum constant.
31224 (FP_INFINITE): Likewise.
31225 (FP_ZERO): Likewise.
31226 (FP_SUBNORMAL): Likewise.
31227 (FP_NORMAL): Likewise.
31228
b5dcacb4
AS
312292012-11-02 Andreas Schwab <schwab@linux-m68k.org>
31230
31231 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31232 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31233 arguments.
31234
f7934be8
RM
312352012-11-02 Roland McGrath <roland@hack.frob.com>
31236
31237 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31238 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31239 autoconf-time if not.
31240 * configure.in: Remove AC_PREREQ.
31241
d7d08bde
TMQMF
312422012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31243
31244 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31245 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31246 of the internal implementation.
31247
dcdae19a
JM
312482012-11-02 Joseph Myers <joseph@codesourcery.com>
31249
31250 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31251 except include of <misc/sys/syslog.h>.
31252
d6cffd3e
AS
312532012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31254
31255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31256 function returns with a NULL context exit with zero.
31257
b3563932
TMQMF
312582012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31259
31260 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31261
b288a93d
L
312622012-11-01 H.J. Lu <hongjiu.lu@intel.com>
31263
31264 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31265 (run_program_cmd): This.
31266 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31267 (tst_langinfo): New variable. Use it.
31268
a2421a68
SAS
312692012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
31270
31271 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31272 floating point opcodes.
31273
6f796e1b
TS
312742012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31275
7402596b
TS
31276 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31277 variable.
31278
d0d4f868
TS
31279 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31280
6f796e1b
TS
31281 * sysdeps/mach/hurd/powerpc: Remove directory.
31282 * sysdeps/mach/powerpc: Likewise.
31283
4da224a2
AS
312842012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31285
31286 * scripts/check-local-headers.sh: Ignore c++ headers.
31287
341dd673
TS
312882012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31289
31290 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31291 __libc_cleanup_region_start argument.
31292
473611b2
JM
312932012-11-01 Joseph Myers <joseph@codesourcery.com>
31294
31295 [BZ #14784]
31296 [BZ #14785]
31297 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31298 x * y using scaling, not as x * y + z.
31299 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31300 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31301 * math/libm-test.inc (fma_test): Add more tests.
31302 (fma_test_towardzero): Likewise.
31303 (fma_test_downward): Likewise.
31304 (fma_test_upward): Likewise.
31305
4078da3d
TS
313062012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31307
31308 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31309
903252aa
JM
313102012-10-31 Joseph Myers <joseph@codesourcery.com>
31311
31312 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31313 New variable.
31314
cbc818d0
TS
313152012-10-31 Thomas Schwinge <thomas@codesourcery.com>
31316
31317 * rt/tst-shm.c (worker): Correct checking for mmap failure.
31318
5a03cb1e
AS
313192012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31320
31321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31322 Fix sort order.
31323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31324 Likewise.
31325
90aff2ff
TMQMF
313262012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31327
31328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31329 Fix the order of the list for glibc 2.17.
31330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31331 Likewise.
31332
1818fcb7
AS
313332012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31334
31335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31336
ef82f4da
JM
313372012-10-31 Joseph Myers <joseph@codesourcery.com>
31338
16a0e2ec
JM
31339 [BZ #14610]
31340 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31341 for low part of x being zero before using __atanl (y).
31342 * math/libm-test.inc (atan2_test): Add another test.
31343
0eb69512
JM
31344 * manual/install.texi (Configuring and compiling): Document
31345 general use of test-wrapper and test-wrapper-env.
31346 * INSTALL: Regenerated.
31347
ef82f4da
JM
31348 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31349 (__fma): Do not extract and scale down low bits on after-rounding
31350 systems when result rounded to normal precision would have normal
31351 exponent.
31352 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31353 (__fmal): Do not extract and scale down low bits on after-rounding
31354 systems when result rounded to normal precision would have normal
31355 exponent.
31356 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31357 (__fmal): Do not extract and scale down low bits on after-rounding
31358 systems when result rounded to normal precision would have normal
31359 exponent.
31360 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31361 macro.
31362 (fma_test): Add more tests.
31363 (fma_test_towardzero): Likewise.
31364 (fma_test_downward): Likewise.
31365 (fma_test_upward): Likewise.
31366
954ef0d9
L
313672012-10-30 H.J. Lu <hongjiu.lu@intel.com>
31368
31369 * sysdeps/i386/tininess.h: Renamed to ...
31370 * sysdeps/x86/tininess.h: This.
31371 * sysdeps/x86_64/tininess.h: Removed.
31372
df61ffb2
JM
313732012-10-30 Joseph Myers <joseph@codesourcery.com>
31374
31375 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31376 input. Use $(build-program-cmd).
31377 ($(objpfx)tst-array1-static.out): Likewise.
31378 ($(objpfx)tst-array2.out): Likewise.
31379 ($(objpfx)tst-array3.out): Likewise.
31380 ($(objpfx)tst-array4.out): Likewise.
31381 ($(objpfx)tst-array5.out): Likewise.
31382 ($(objpfx)tst-array5-static.out): Likewise.
31383
01767843
CM
313842012-10-30 Chris Metcalf <cmetcalf@tilera.com>
31385
47cc1490
CM
31386 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31387 if defined.
31388
01767843
CM
31389 * nss/nsswitch.h (nss_interface_function): Provide new
31390 macro for use with NSS functions.
31391 * grp/initgroups.c: Use new macro.
31392 * nss/getXXbyYY.c: Likewise.
31393 * nss/getXXbyYY_r.c: Likewise.
31394 * nss/getXXent.c: Likewise.
31395 * nss/getXXent_r.c: Likewise.
31396 * sysdeps/posix/getaddrinfo.c: Likewise.
31397
8321aa97
AJ
313982012-10-30 Andreas Jaeger <aj@suse.de>
31399
31400 * po/ru.po: Update Russion translation from translation project.
31401
2a27fd6d
JM
314022012-10-30 Joseph Myers <joseph@codesourcery.com>
31403
8627a232
JM
31404 [BZ #14152]
31405 [BZ #14783]
31406 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31407 result and shift together with sticky bit instead of replicating
31408 round-to-nearest rounding.
31409 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31410 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31411 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31412 missing underflow exceptions.
31413 (fma_test_towardzero): Add more tests.
31414 (fma_test_downward): Likewise.
31415 (fma_test_upward): Likewise.
31416
2a27fd6d
JM
31417 [BZ #14047]
31418 * sysdeps/generic/tininess.h: New file.
31419 * sysdeps/i386/tininess.h: Likewise.
31420 * sysdeps/sh/tininess.h: Likewise.
31421 * sysdeps/x86_64/tininess.h: Likewise.
31422 * stdlib/tst-strtod-underflow.c: Likewise.
31423 * stdlib/tst-tininess.c: Likewise.
31424 * stdlib/strtod_l.c: Include <tininess.h>.
31425 (round_and_return): Do not set errno for exact underflow cases.
31426 Force an underflow exception when setting errno for underflow.
31427 Determine underflow based on rounding to normal precision if
31428 TININESS_AFTER_ROUNDING.
31429 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31430 ERANGE for exact underflow cases.
31431 * stdlib/Makefile (tests): Add tst-tininess and
31432 tst-strtod-underflow.
31433 ($(objpfx)tst-tininess): Use $(link-libm).
31434 ($(objpfx)tst-strtod-underflow): Likewise.
31435
e7170363
AJ
314362012-10-30 Andreas Jaeger <aj@suse.de>
31437
e5088dc6
AJ
31438 [BZ#14767]
31439 * elf/Makefile (tests): Remove conditional for have-initfini-array
31440 since this is now always required and the variable does not exist
31441 anymore.
31442 (tests-static): Likewise.
31443 (modules-names): Likewise.
31444
e7170363 31445 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
31446
31447 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31448 merged with constructor/destructor.
31449 (init_array): Likewise.
31450 * elf/tst-array2dep.c (fini_array): Likewise.
31451 (init_array): Likewise.
31452
60457d8a
MF
314532012-10-29 Mike Frysinger <vapier@gentoo.org>
31454
31455 * manual/message.texi: Delete @cartouche tags.
31456
8bece752
PT
314572012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31458
94ce799f
PT
31459 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31460 EOPNOTSUPP.
31461 * sysdeps/mach/hurd/fsync.c: Likewise.
31462
8bece752
PT
31463 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31464 [_POSIX_REALTIME_SIGNALS]: Change condition to
31465 [_POSIX_REALTIME_SIGNALS > 0].
31466
86ebe6b1
AJ
314672012-10-27 Andreas Jaeger <aj@suse.de>
31468
31469 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31470 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31471 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31472 [__WORDSIZE != 64]: Likewise.
31473
54399c08
L
314742012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31475
31476 * iconvdata/tst-table.sh: Remove ${SHELL}.
31477 * iconvdata/tst-tables.sh: Likewise.
31478
e2211bed
DM
314792012-10-25 David S. Miller <davem@davemloft.net>
31480
31481 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31482 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31483 of strtoull.
31484
f303f97c
DM
31485 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31486 ifunc-impl-list.c
31487 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31488 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31489 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31490 file.
31491
1e9d84cd
RM
314922012-10-25 Roland McGrath <roland@hack.frob.com>
31493
31494 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31495 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31496 __getdirentries.
31497
df381762
JM
314982012-10-25 Joseph Myers <joseph@codesourcery.com>
31499 Jim Blandy <jimb@codesourcery.com>
31500
31501 * scripts/cross-test-ssh.sh: New file.
31502 * manual/install.texi (Configuring and compiling): Document use of
31503 cross-test-ssh.sh.
31504 * INSTALL: Regenerated.
31505
bff64913
PT
315062012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31507
31508 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31509 EOPNOTSUPP.
31510
25fe8932
JM
315112012-10-25 Joseph Myers <joseph@codesourcery.com>
31512
31513 * Makeconfig (run-program-prefix): Fix comment.
31514
cc1290d0
JM
315152012-10-24 Joseph Myers <joseph@codesourcery.com>
31516 Jim Blandy <jimb@codesourcery.com>
31517
31518 * Makeconfig (test-wrapper): New variable,
31519 (test-wrapper-env): Likewise.
31520 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31521 (run-built-tests): Define to yes.
31522 (run-program-prefix): Use $(test-wrapper).
31523 (built-program-cmd): Likewise.
31524 * Rules (make-test-out): Use $(test-wrapper-env) and
31525 $(host-built-program-cmd).
31526 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31527 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31528 tst-pathopt.sh.
31529 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31530 $(test-wrapper-env) to tst-rtld-load-self.sh.
31531 ($(objpfx)order2.out): Use $(test-wrapper).
31532 ($(objpfx)tst-initorder.out): Likewise.
31533 ($(objpfx)tst-initorder2.out): Likewise.
31534 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31535 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31536 (test_wrapper_env): New variable. Use it to run ld.so.
31537 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31538 Use it to run ld.so.
31539 (test_wrapper_env): Likewise.
31540 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31541 $(test-wrapper) to run-iconv-test.sh.
31542 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31543 (ICONV): Use $test_wrapper.
31544 * posix/Makefile ($(objpfx)globtest.out): Pass
31545 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31546 globtest.sh, not $(run-program-prefix).
31547 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31548 (test_wrapper): Likewise.
31549 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31550 set together with run_via_rtld_prefix.
31551 (run_program_prefix): Define in terms of test_wrapper and
31552 run_via_rtld_prefix.
31553
6e6249d0
RM
315542012-10-24 Roland McGrath <roland@hack.frob.com>
31555
31556 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31557 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31558 Targets removed.
31559
31560 [BZ #14743]
31561 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31562 Declare __clock_getres, __clock_gettime, __clock_settime,
31563 __clock_nanosleep, and __clock_getcpuclockid.
31564 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31565 Remove librt_hidden_def (clock_gettime).
31566 * sysdeps/unix/clock_gettime.c: Likewise.
31567 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31568 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31569 * rt/clock_getres.c: Define __clock_getres as an alias.
31570 * sysdeps/posix/clock_getres.c: Likewise.
31571 * rt/clock_settime.c: Define __clock_settime as an alias.
31572 * sysdeps/unix/clock_settime.c: Likewise.
31573 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31574 * sysdeps/unix/clock_nanosleep.c: Likewise.
31575 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31576 * rt/clock-compat.c: New file.
31577 * rt/Makefile (librt-routines): Add clock-compat and move
31578 $(clock-routines) to ...
31579 (routines): ... here, new variable.
31580 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31581 Don't add get_clockfreq here.
31582 * rt/Versions (libc: GLIBC_2.17): New version set.
31583 Add clock_* symbols here.
31584 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
31585 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31586 (GLIBC_2.17): Add clock_* symbols.
31587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31589 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31591 Likewise.
31592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31593 Likewise.
31594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31595 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31598 * NEWS: Mention the move.
31599
31600 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31601 Use __open, __read, __close rather than their public counterparts.
31602 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31603 (__get_clockfreq_via_cpuinfo): Likewise.
31604 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31605 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31606
31607 * config.h.in (HAVE_IFUNC): New #undef.
31608 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31609 was successful.
31610 * configure: Regenerated.
31611
0cae3f4b
MF
316122012-10-24 Mike Frysinger <vapier@gentoo.org>
31613
31614 * configure.in: Move READELF check to start of file.
31615 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31616 libc_cv_asm_gnu_indirect_function in the process.
31617 * configure: Regenerated.
31618
8175a253
MF
316192012-10-24 Mike Frysinger <vapier@gentoo.org>
31620
31621 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31622 send the output to /dev/null.
31623 (libc_cv_cc_with_libunwind): Likewise.
31624 (libc_cv_as_noexecstack): Likewise.
31625 * configure: Regenerate.
31626
0708a7d1
JM
316272012-10-24 Joseph Myers <joseph@codesourcery.com>
31628
10b40d85
JM
31629 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31630
0708a7d1
JM
31631 * posix/globtest.sh (TMPDIR): Do not set.
31632 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31633 (testout): Likewise.
31634
9fddec1a
AJ
316352012-10-24 Andreas Jaeger <aj@suse.de>
31636
3a8db22f
AJ
31637 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31638 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31639 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31640 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31641 posix_fadvise64, posix_fallocate64.
31642
9fddec1a
AJ
31643 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31644 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31645 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31646 Likewise.
31647 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31648 Likewise.
31649 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31650
31651 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31652 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31653 <bits/fcntl-linux.h>.
31654 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31655
31656 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31657 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31658 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31659 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31660 [__WORDSIZE != 64]: Likewise.
31661
ebfd1bbd
JM
316622012-10-23 Joseph Myers <joseph@codesourcery.com>
31663
03ac099f
JM
31664 * Makeconfig (run-built-tests): New variable.
31665 * Rules [$(cross-compiling) = yes]: Change condition to
31666 [$(run-built-tests) = no].
31667 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31668 to [$(run-built-tests) = yes].
31669 * elf/Makefile [$(cross-compiling) = no]: Likewise
31670 * grp/Makefile [$(cross-compiling) = no]: Likewise.
31671 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31672 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31673 * intl/Makefile [$(cross-compiling) = no]: Likewise.
31674 * io/Makefile [$(cross-compiling) = no]: Likewise.
31675 * libio/Makefile [$(cross-compiling) = no]: Likewise.
31676 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31677 * misc/Makefile [$(cross-compiling) = no]: Likewise.
31678 * posix/Makefile [$(cross-compiling) = no]: Likewise.
31679 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31680 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31681 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31682 * string/Makefile [$(cross-compiling) = no]: Likewise.
31683
ebfd1bbd
JM
31684 * posix/Makefile ($(objpfx)globtest.out): Pass
31685 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31686 $(rtld-installed-name).
31687 * posix/globtest.sh (elf_objpfx): Remove variable.
31688 (rtld_installed_name): Likewise.
31689 (library_path): Likewise.
31690 (run_program_prefix): New variable. Use for running globtest
31691 binary.
31692
166bca24
JB
316932012-10-23 Jim Blandy <jimb@codesourcery.com>
31694 Joseph Myers <joseph@codesourcery.com>
31695
31696 * Makeconfig (host-built-program-cmd): New variable.
31697 * elf/Makefile (tst-stackguard1-ARGS): Use
31698 $(host-built-program-cmd).
31699 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31700 (tst-spawn-ARGS): Likewise.
31701 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31702
88866099
JM
317032012-10-23 Joseph Myers <joseph@codesourcery.com>
31704 Jim Blandy <jimb@codesourcery.com>
31705
31706 * Makeconfig (run-via-rtld-prefix): New variable.
31707 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31708 (built-program-cmd): Likewise.
31709
b4b4c296
AJ
317102012-10-22 Andreas Jaeger <aj@suse.de>
31711
31712 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31713 __O_RSYNC if it exists, otherwise to O_SYNC.
31714
6fb54a22
JB
317152012-10-22 Jim Blandy <jimb@codesourcery.com>
31716 Joseph Myers <joseph@codesourcery.com>
31717
31718 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31719 /dev/null.
31720 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31721 from /dev/null
31722 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31723 /dev/null.
31724
481b90b9
AJ
317252012-10-22 Andreas Jaeger <aj@suse.de>
31726
2a0e2669
AJ
31727 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31728 Define always.
31729 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31730
76e38f9a
AJ
31731 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31732 bits/fcntl-linux.h.
31733
7cd37b43
AJ
31734 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31735 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31736
481b90b9
AJ
31737 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31738 to __O_LARGEFILE.
31739 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31740 to __O_LARGEFILE.
31741
aba75984
JB
317422012-10-21 Jim Blandy <jimb@codesourcery.com>
31743 Joseph Myers <joseph@codesourcery.com>
31744
31745 * config.make.in (NM): New variable.
31746
88d4247f
AJ
317472012-10-21 Andreas Jaeger <aj@suse.de>
31748
31749 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31750 definitions and declarations that are provided by
31751 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31752
f2eed205
L
317532012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31754
31755 [BZ #14683]
31756 * elf/Makefile (tests-static): Add tst-leaks1-static.
31757 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31758 ($(objpfx)tst-leaks1-static): New rule.
31759 ($(objpfx)tst-leaks1-static-mem): Likewise.
31760 (tst-leaks1-static-ENV): New macro.
31761 * elf/dl-open.c (dl_open_worker): Check the main application
31762 only if SHARED is defined.
31763 * elf/tst-leaks1-static.c: New file.
31764
335e6931
AJ
317652012-10-20 Andreas Jaeger <aj@suse.de>
31766
31767 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31768 generic values for Linux.
31769 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31770 and declarations that are provided by <bits/fcntl-linux.h> and
31771 include <bits/fcntl-linux.h>.
31772 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31773 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31774
ac5c94d3
RM
317752012-10-20 Roland McGrath <roland@hack.frob.com>
31776
31777 * io/fcntl.h: Move include of <bits/types.h> to the top and
31778 include it unconditionally.
31779
de54b33a
L
317802012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31781
228cfb01
L
31782 * wcsmbs/Makefile (tests-ifunc): New variable.
31783 (tests): Add $(tests-ifunc).
31784 * wcsmbs/test-wcschr-ifunc.c: New file.
31785 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31786 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31787 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31788 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31789 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31790
69f07e5f
L
31791 * string/Makefile (tests-ifunc): New variable.
31792 (tests): Add $(tests-ifunc).
31793 * string/test-memccpy.c (TEST_NAME): New macro.
31794 * string/test-memchr.c (TEST_NAME): Likewise.
31795 * string/test-memcmp.c (TEST_NAME): Likewise.
31796 * string/test-memcpy.c (TEST_NAME): Likewise.
31797 * string/test-memmem.c (TEST_NAME): Likewise.
31798 * string/test-memmove.c (TEST_NAME): Likewise.
31799 * string/test-memset.c (TEST_NAME): Likewise.
31800 * string/test-rawmemchr.c (TEST_NAME): Likewise.
31801 * string/test-stpcpy.c (TEST_NAME): Likewise.
31802 * string/test-stpncpy.c (TEST_NAME): Likewise.
31803 * string/test-strcasecmp.c (TEST_NAME): Likewise.
31804 * string/test-strcasestr.c (TEST_NAME): Likewise.
31805 * string/test-strcat.c (TEST_NAME): Likewise.
31806 * string/test-strchr.c (TEST_NAME): Likewise.
31807 * string/test-strcmp.c(TEST_NAME): Likewise.
31808 * string/test-strcpy.c (TEST_NAME): Likewise.
31809 * string/test-strcspn.c (TEST_NAME): Likewise.
31810 * string/test-strlen.c (TEST_NAME): Likewise.
31811 * string/test-strncasecmp.c (TEST_NAME): Likewise.
31812 * string/test-strncmp.c (TEST_NAME): Likewise.
31813 * string/test-strncpy.c (TEST_NAME): Likewise.
31814 * string/test-strnlen.c (TEST_NAME): Likewise.
31815 * string/test-strpbrk.c (TEST_NAME): Likewise.
31816 * string/test-strrchr.c (TEST_NAME): Likewise.
31817 * string/test-strspn.c (TEST_NAME): Likewise.
31818 * string/test-strstr.c (TEST_NAME): Likewise.
31819 * string/test-bcopy-ifunc.c: New file.
31820 * string/test-bzero-ifunc.c: Likewise.
31821 * string/test-memccpy-ifunc.c: Likewise.
31822 * string/test-memchr-ifunc.c: Likewise.
31823 * string/test-memcmp-ifunc.c: Likewise.
31824 * string/test-memcpy-ifunc.c: Likewise.
31825 * string/test-memmem-ifunc.c: Likewise.
31826 * string/test-memmove-ifunc.c: Likewise.
31827 * string/test-mempcpy-ifunc.c: Likewise.
31828 * string/test-memset-ifunc.c: Likewise.
31829 * string/test-rawmemchr-ifunc.c: Likewise.
31830 * string/test-stpcpy-ifunc.c: Likewise.
31831 * string/test-stpncpy-ifunc.c: Likewise.
31832 * string/test-strcasecmp-ifunc.c: Likewise.
31833 * string/test-strcasestr-ifunc.c: Likewise.
31834 * string/test-strcat-ifunc.c: Likewise.
31835 * string/test-strchr-ifunc.c: Likewise.
31836 * string/test-strchrnul-ifunc.c: Likewise.
31837 * string/test-strcmp-ifunc.c: Likewise.
31838 * string/test-strcpy-ifunc.c: Likewise.
31839 * string/test-strcspn-ifunc.c: Likewise.
31840 * string/test-strlen-ifunc.c: Likewise.
31841 * string/test-strncasecmp-ifunc.c: Likewise.
31842 * string/test-strncat-ifunc.c: Likewise.
31843 * string/test-strncmp-ifunc.c: Likewise.
31844 * string/test-strncpy-ifunc.c: Likewise.
31845 * string/test-strnlen-ifunc.c: Likewise.
31846 * string/test-strpbrk-ifunc.c: Likewise.
31847 * string/test-strrchr-ifunc.c: Likewise.
31848 * string/test-strspn-ifunc.c: Likewise.
31849 * string/test-strstr-ifunc.c: Likewise.
31850
de54b33a
L
31851 * debug/Makefile (tests-ifunc): New variable.
31852 (tests): Add $(tests-ifunc).
31853 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31854 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31855 * debug/test-stpcpy_chk-ifunc.c: New file.
31856 * debug/test-strcpy_chk-ifunc.c: Likewise.
31857
88481c16
SP
318582012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31859
31860 [BZ #13601]
31861 * elf/dl-load.c (open_verify): Retry read if the entire ELF
31862 header is not read in.
31863
135948bd
JM
318642012-10-19 Joseph Myers <joseph@codesourcery.com>
31865
89f1c388
JM
31866 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
31867 script to $(SHELL) as $<. Pass $(common-objpfx) to script
31868 directly. Pass built executable to script as
31869 $(built-program-cmd).
31870 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
31871 $testprogram without using LD_LIBRARY_PATH and $ldso.
31872
e40a0d21
JM
31873 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31874 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31875 $(rtld-installed-name).
31876 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31877 (rtld_installed_name): Likewise.
31878 (library_path): Likewise.
31879 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
31880 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31881 $(run-program-prefix) to tst-tables.sh.
31882 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
31883 it to run tst-table-from and tst-table-to.
31884 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31885 Pass it to tst-table.sh.
31886 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31887 $(run-program-prefix) to tst-gettext.sh.
31888 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31889 tst-translit.sh.
31890 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31891 tst-gettext2.sh.
31892 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
31893 to run tst-gettext.
31894 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
31895 to run tst-gettext2.
31896 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
31897 to run tst-translit.
31898 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31899 $(run-program-prefix) to tst-mtrace.sh.
31900 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
31901 to run tst-mtrace.
31902 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31903 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31904 $(rtld-installed-name).
31905 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31906 (rtld_installed_name): Likewise.
31907 (run_program_prefix): New variable. Use it to run wordexp-test.
31908
728e272a
JM
31909 * Makeconfig (ARCH): Remove all definitions.
31910 (machine): Likewise.
31911 [ARCH]: Remove conditional code.
31912 [!objdir]: Give error.
31913 [!objdir] (objpfx): Remove.
31914 [!objdir] (common-objpfx): Likewise.
31915 [!objdir] (common-objdir): Likewise.
31916 * configure.in (config_makefile): Remove. Hardcode Makefile in
31917 AC_CONFIG_FILES call.
31918 * configure: Regenerated.
31919
d528cdcf
JM
31920 [BZ #13888]
31921 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31922 or TMPDIR.
31923 (testout): Likewise.
31924
135948bd
JM
31925 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31926 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31927 $(rtld-installed-name).
31928 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31929 (rtld_installed_name): Likwise.
31930 (runit): Remove function.
31931 (run_getconf): New variable, Use it for running getconf binary.
31932
38c78296
L
319332012-10-18 H.J. Lu <hongjiu.lu@intel.com>
31934
31935 [BZ #14716]
31936 * string/test-memmem.c (check_result): New function.
31937 (do_one_test): Use it.
31938 (check1): New function.
31939 (test_main): Use it.
31940
d077f65f
MT
319412012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
31942
31943 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31944
ced52c71
JM
319452012-10-18 Joseph Myers <joseph@codesourcery.com>
31946
31947 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
31948 (_G_LSEEK64): Likewise.
31949 (_G_MMAP64): Likewise.
31950 (_G_FSTAT64): Likewise.
31951 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
31952 (_G_LSEEK64): Likewise.
31953 (_G_MMAP64): Likewise.
31954 (_G_FSTAT64): Likewise.
31955 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
31956 unconditional. Call __mmap64 directly.
31957 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
31958 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
31959 __lseek64 directly.
31960 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
31961 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
31962 __mmap64 directly.
31963 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
31964 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
31965 __lseek64 directly.
31966 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31967 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
31968 __lseek64 directly.
31969 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31970 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
31971 __lseek64 directly.
31972 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31973 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
31974 __fxstat64 directly.
31975 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31976 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31977 unconditional.
31978 (freopen64) [!_G_OPEN64]: Remove conditional code.
31979 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31980 unconditional.
31981 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31982 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31983 unconditional.
31984 (ftello64) [!_G_LSEEK64]: Remove conditional code.
31985 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31986 unconditional.
31987 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31988 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31989 unconditional.
31990 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31991 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31992 unconditional.
31993 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31994 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31995 unconditional.
31996 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31997 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31998 unconditional.
31999 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32000
b741de23
SP
320012012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32002
32003 [BZ #12140]
32004 * manual/memory.texi (Malloc Tunable Parameters): Add note
32005 about free list pointers overwriting some perturb bytes.
32006 Wording suggested by Roland McGrath.
32007
f9b9d9c9
JM
320082012-10-17 Joseph Myers <joseph@codesourcery.com>
32009
32010 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
32011 (lgamma_test): Likewise.
32012 (tgamma_test): Likewise.
32013
172a631a
FW
320142012-10-16 Florian Weimer <fweimer@redhat.com>
32015
32016 [BZ #14700]
32017 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
32018 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
32019
e9f37252
MK
320202012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
32021
32022 * NEWS: Mention BZ #14716.
32023 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
32024 when removing AVAILABLE1_USES_J macro.
32025
d394eb74
L
320262012-10-12 H.J. Lu <hongjiu.lu@intel.com>
32027
32028 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
32029 (__bswap_64): __uint64_t for unsigned 64-bit int.
32030
ca38dc17
AS
320312012-10-12 Andreas Schwab <schwab@linux-m68k.org>
32032
32033 * include/string.h (memmem): Declare libc hidden alias.
32034 * string/memmem.c (memmem): Define libc hidden alias.
32035 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
32036 __read, __close instead of open, read, close.
32037
9a387d1f
L
320382012-10-11 H.J. Lu <hongjiu.lu@intel.com>
32039
ac49ecaf
L
32040 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
32041 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
32042 global and hidden.
32043 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
32044 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
32045 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
32046 Likewise.
32047 (__rawmemchr_sse2): Likewise.
32048 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
32049 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
32050 (__strchr_sse2): Likewise.
32051 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
32052 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
32053 (__strcasecmp_sse2): Likewise.
32054 (__strncasecmp_sse2): Likewise.
32055 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
32056 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
32057 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
32058 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
32059 (__strrchr_sse2): Likewise.
32060 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
32061 ifunc-impl-list.c.
32062 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32063 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32064 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32065 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32066 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32067 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32068 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32069 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32070 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
32071 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
32072 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
32073 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
32074 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
32075 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32076 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32077 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32078 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32079 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32080 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
32081 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
32082 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
32083 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
32084 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
32085 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32086 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
32087 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32088 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32089 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32090 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32091 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32092
b090e8ea
L
32093 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32094 global and hidden.
32095 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32096 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32097 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32098 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32099 Likewise.
32100 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32101 Likewise.
32102 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32103 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32104 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32105 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32106 ifunc-impl-list.c.
32107 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32108 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32109 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32110 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32111 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32112 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32113 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32114 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32115 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32116 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32117 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32118 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32119 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32120 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32121 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32122 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32123 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32124 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32125 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32126 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32127 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32128 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32129 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32130 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32131 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32132 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32133 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32134 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32135 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32136 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32137 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32138 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32139 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32140 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32141 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32142 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32143 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32144 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32145 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32146 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32147 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32148
11dd4af6
L
32149 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32150 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32151 * include/ifunc-impl-list.h: New file.
32152 * misc/ifunc-impl-list.c: Likewise.
32153 * misc/Makefile (routines): Add ifunc-impl-list.
32154 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32155 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
32156 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32157 TEST_NAME]: New variables.
11dd4af6
L
32158 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32159 are defined.
32160 (test_init): Call __libc_ifunc_impl_list to initialize
32161 func_list if TEST_IFUNC and TEST_NAME are defined.
32162
9a387d1f
L
32163 * string/Makefile (strop-tests): Add bcopy and bzero.
32164 * string/test-bcopy.c: New file.
32165 * string/test-bzero.c: Likewise.
32166 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32167 defined.
32168 * string/test-memset.c: Support bzero test if TEST_BZERO is
32169 defined.
32170 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32171 __libc_memmove.
32172 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32173 __libc_memset.
32174 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32175 of memset.
32176
472371b9
JM
321772012-10-10 Joseph Myers <joseph@codesourcery.com>
32178
1e4a9536
JM
32179 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32180 * configure: Regenerated.
32181
d173d12e
JM
32182 * Makeconfig (+link-static-before-libc): Don't include
32183 $(link-static-libc).
32184
472371b9
JM
32185 * libio/libio.h (_IO_pos_t): Remove.
32186
89a3ad0b
AO
321872012-10-10 Alexandre Oliva <aoliva@redhat.com>
32188
32189 * NEWS: Add note about FIPS mode. Wording suggested by Roland
32190 McGrath.
32191
e7451425
AO
321922012-10-10 Alexandre Oliva <aoliva@redhat.com>
32193
32194 * crypt/crypt-entry.c: Include fips-private.h.
32195 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32196 * crypt/md5c-test.c (main): Tolerate disabled MD5.
32197 * sysdeps/unix/sysv/linux/fips-private.h: New file.
32198 * sysdeps/generic/fips-private.h: New file, dummy fallback.
32199
4ba74a35
AO
322002012-10-10 Alexandre Oliva <aoliva@redhat.com>
32201
32202 * crypt/crypt-private.h: Include stdbool.h.
32203 (_ufc_setup_salt_r): Return bool.
32204 * crypt/crypt-entry.c: Include errno.h.
32205 (__crypt_r): Return NULL with EINVAL for bad salt.
32206 * crypt/crypt_util.c (bad_for_salt): New.
32207 (_ufc_setup_salt_r): Check that salt is long enough and within
32208 the specified alphabet.
32209 * crypt/badsalttest.c: New file.
32210 * crypt/Makefile (tests): Add it.
32211 ($(objpfx)badsalttest): New.
32212
f96f1242
MK
322132012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
32214
32215 * NEWS: Add entry for BZ #14602.
32216
0e8e0c1c
JM
322172012-10-09 Joseph Myers <joseph@codesourcery.com>
32218
32219 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32220 type-generic.
32221 * math/libm-test.inc: Update comment listing what functions and
32222 macros are tested.
32223 (isgreater_test): New function.
32224 (isgreaterequal_test): Likewise.
32225 (isless_test): Likewise.
32226 (islessequal_test): Likewise.
32227 (islessgreater_test): Likewise.
32228 (isunordered_test): Likewise.
32229 (main): Call the new functions.
32230
273edc5e
RM
322312012-10-09 Roland McGrath <roland@hack.frob.com>
32232
b8493de0
RM
32233 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32234 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32235 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32236 * sysdeps/i386/configure: Regenerated.
32237 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32238 * sysdeps/mach/configure: Regenerated.
32239 * sysdeps/mach/hurd/configure: Regenerated.
32240 * sysdeps/powerpc/configure: Regenerated.
32241 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32242 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32243 * sysdeps/s390/s390-32/configure: Regenerated.
32244 * sysdeps/s390/s390-64/configure: Regenerated.
32245 * sysdeps/sh/configure: Regenerated.
32246 * sysdeps/sparc/configure: Regenerated.
32247 * sysdeps/unix/sysv/linux/configure: Regenerated.
32248 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32249 * sysdeps/x86_64/configure: Regenerated.
32250
273edc5e
RM
32251 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32252 defined. Don't check if MAP is NULL.
32253
c8450f70
JM
322542012-10-09 Joseph Myers <joseph@codesourcery.com>
32255
32256 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32257 (_G_stat64): Likewise.
32258 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32259 (_G_stat64): Likewise.
32260 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32261 instead of struct _G_stat64.
32262 * libio/fileops.c (mmap_remap_check): Likewise.
32263 (decide_maybe_mmap): Likewise.
32264 (_IO_new_file_seekoff): Likewise.
32265 (_IO_file_stat): Likewise.
32266 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32267 _G_off64_t.
32268 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32269 instead of struct _G_stat64.
32270 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32271
57e605ba
MK
322722012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
32273
32274 [BZ #14602]
32275 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32276 Replace with ...
32277 (CHECK_EOL): New macro.
32278 (two_way_short_needle): Check beginning of haystack for EOL. Use
32279 CHECK_EOL.
32280 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32281 Replace with CHECK_EOL.
32282 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32283 Replace with CHECK_EOL.
32284
ef1bb361
JM
322852012-10-08 Joseph Myers <joseph@codesourcery.com>
32286
32287 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32288 type-generic.
32289 * math/libm-test.inc: Update comment listing what functions and
32290 macros are tested.
32291 (finite_test): New function.
32292 (isinf_test): Likewise.
32293 (isnan_test): Likewise.
32294 (fpclassify_test): Test subnormal input.
32295 (isfinite_test): Likewise.
32296 (isnormal_test): Likewise.
32297 (main): Call the new functions.
32298
55f11534
JN
322992012-10-08 Jonathan Nieder <jrnieder@gmail.com>
32300
32301 [BZ #14660]
32302 * Makerules (%.dynsym): Force C locale when running
32303 $(OBJDUMP) --dynamic-syms.
32304
1ab29350
AS
323052012-10-08 Andreas Schwab <schwab@linux-m68k.org>
32306
32307 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32308 <stdint.h>.
32309
f1ecb7ef
DM
323102012-10-06 David S. Miller <davem@davemloft.net>
32311
32312 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32313 upper 32-bits of the length value in %o2 since we use branch-on-register
32314 tests which consider the entire 64-bit register.
32315
5d41d91a
L
323162012-10-06 H.J. Lu <hongjiu.lu@intel.com>
32317
32318 * string/test-strstr.c (check2): Add a test for page boundary.
32319
3baddb72
DM
323202012-10-05 David S. Miller <davem@davemloft.net>
32321
32322 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32323 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32324 file.
32325 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32326 sysdep_routines.
32327 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32328 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32329 and bzero when HWCAP_SPARC_CRYPTO is present.
32330
9cee5585
L
323312012-10-05 H.J. Lu <hongjiu.lu@intel.com>
32332
d7e0dab9
L
32333 [BZ #14602]
32334 * string/test-strstr.c (check2): New function.
32335 (test_main): Call check2.
32336
03759f47
L
32337 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32338 and bug-strchr1.
32339 * string/bug-strcasestr1.c (do_test): Moved to ...
32340 * string/test-strcasestr.c (check1): Here. New function.
32341 (do_one_test): Break out result checking code into ...
32342 (check_result): This. New function.
32343 (do_one_test): Call check_result.
32344 (test_main): Call check1.
32345 * string/bug-strchr1.c (do_test): Moved to ...
32346 * string/test-strchr.c (check1): Here. New function.
32347 (do_one_test): Break out result checking code into ...
32348 (check_result): This. New function.
32349 (do_one_test): Call check_result.
32350 (test_main): Call check1.
32351 * string/bug-strstr1.c (main): Moved to ...
046f153e 32352 * string/test-strstr.c (check1): Here. New function.
03759f47
L
32353 (do_one_test): Break out result checking code into ...
32354 (check_result): This. New function.
32355 (do_one_test): Call check_result.
32356 (test_main): Call check1.
32357 * string/bug-strcasestr1.c: Removed.
32358 * string/bug-strchr1.c: Likewise.
32359 * string/bug-strstr1.c: Likewise.
32360
53cea63e
L
32361 * elf/Makefile (dl-routines): Add hwcaps.
32362 * elf/dl-support.c (_dl_important_hwcaps): Removed.
32363 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32364 (_dl_important_hwcaps): Moved to ...
32365 * elf/dl-hwcaps.c: Here. New file.
32366 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32367
9cee5585 32368 [BZ #14557]
bb859b06
L
32369 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32370 if IS_IN_rtld isn't defined.
32371
9cee5585
L
32372 * elf/dl-support.c (_dl_sysinfo_map): New.
32373 Include "get-dynamic-info.h" and "setup-vdso.h".
32374 (_dl_non_dynamic_init): Call setup_vdso.
32375 * elf/dynamic-link.h: Don't include <assert.h>.
32376 (elf_get_dynamic_info): Moved to ...
32377 * elf/get-dynamic-info.h: Here. New file.
32378 * elf/dynamic-link.h: Include "get-dynamic-info.h".
32379 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32380 * elf/setup-vdso.h: Here. New file.
32381 * elf/rtld.c: Include "setup-vdso.h".
32382 (dl_main): Call setup_vdso.
32383
23c31b76
JM
323842012-10-05 Joseph Myers <joseph@codesourcery.com>
32385
28234b07
JM
32386 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32387 creal in comment listing functions tested. List finite, isinf,
32388 isnan, isless, islessequal, isgreater, isgreaterequal,
32389 islessgreater, isunordered, lgamma_r and pow10 as functions and
32390 macros not tested. Mention which functions not tested are aliases
32391 for other functions. Fix typo. Note that signs of NaNs are not
32392 tested.
32393
23c31b76
JM
32394 * scripts/config.guess: Update from config.git.
32395 * scripts/config.sub: Likewise.
32396
9043e228
RM
323972012-10-04 Roland McGrath <roland@hack.frob.com>
32398
32399 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32400 * misc/madvise.c (madvise): Renamed to __madvise.
32401 Make madvise a weak alias.
32402 * include/sys/mman.h: Declare __madvise.
32403 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32404 * sysdeps/unix/syscalls.list
32405 (madvise): Make __madvise the strong name, and madvise a weak alias.
32406 * sysdeps/unix/sysv/linux/syscalls.list
32407 (madvise, mmap): Remove redundant entries.
32408 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32409 * malloc/malloc.c (mtrim): Likewise.
32410 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32411
f57f8055
RM
324122012-10-03 Roland McGrath <roland@hack.frob.com>
32413
32414 * sysdeps/mach/hurd/dl-cache.c: File removed.
32415 * config.h.in (USE_LDCONFIG): New #undef.
32416 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32417 * configure: Regenerated.
32418 * elf/Makefile (dl-routines): Add dl-cache only under
32419 [$(use-ldconfig) = yes].
32420 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32421 cache on [USE_LDCONFIG].
32422 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32423 [USE_LDCONFIG].
32424 * elf/rtld.c (dl_main): Likewise.
32425
5bb0c10a
PT
324262012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32427
32428 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32429 _SC_LEVEL4_CACHE_LINESIZE.
32430
010188c6
RM
324312012-10-03 Roland McGrath <roland@hack.frob.com>
32432
32433 * sysdeps/unix/bsd/confstr.h: File removed.
32434
b6c5ec07
AO
324352012-10-02 Alexandre Oliva <aoliva@redhat.com>
32436
32437 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32438 sys/sdt-config.h.
32439
408223d4
RM
324402012-10-02 Roland McGrath <roland@hack.frob.com>
32441
32442 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32443 Make 'mapoff' field ElfW(Off) rather than off_t.
32444
bb9510dc
DL
324452012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32446
fc997c6e
DL
32447 * nscd/Makefile: Remove nscd-cflags and all its users.
32448 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32449 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32450
bb9510dc
DL
32451 [BZ #10631]
32452 * malloc.c (malloc_printerr): Clarify error message.
32453
05699367
L
324542012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32455
32456 [BZ #14648]
32457 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32458 Set bit_FMA_Usable if FMA is supported.
32459 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32460 macro.
32461 (bit_FMA4_Usable): Updated.
32462 (index_FMA_Usable): New macro.
32463 (CPUID_FMA): Likewise
32464 (HAS_FMA): Defined with bit_FMA_Usable.
32465
51367701
RM
324662012-10-01 Roland McGrath <roland@hack.frob.com>
32467
32468 * bits/types.h (__swblk_t): Type removed.
32469 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32470 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32471 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32472 (__SWBLK_T_TYPE): Likewise.
32473 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32474 (__SWBLK_T_TYPE): Likewise.
32475 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32476 (__SWBLK_T_TYPE): Likewise.
32477 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32478 (__SWBLK_T_TYPE): Likewise.
32479
4d57bf63 324802012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 32481 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
32482
32483 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32484 (xdr_mapname): Use YPMAXMAP as maxsize.
32485 (xdr_peername): Use YPMAXPEER as maxsize.
32486 (xdr_keydat): Use YPAXRECORD as maxsize.
32487 (xdr_valdat): Use YPMAXRECORD as maxsize.
32488
93c65d43
RM
324892012-10-01 Roland McGrath <roland@hack.frob.com>
32490
497a03d6
RM
32491 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32492
93c65d43
RM
32493 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32494 * csu/init-first.c: ... here.
32495 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32496 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32497 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32498 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32499 * sysdeps/i386/init-first.c: File removed.
32500 * sysdeps/sh/init-first.c: File removed.
32501
bec749fd
JM
325022012-10-01 Joseph Myers <joseph@codesourcery.com>
32503
32504 [BZ #14645]
32505 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32506 if x * y might underflow to zero and z is zero.
32507 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32508 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32509 * math/libm-test.inc (min_subnorm_value): New variable.
32510 (fma_test): Add more tests.
32511 (fma_test_towardzero): Likewise.
32512 (fma_test_downward): Likewise
32513 (fma_test_upward): Likewise.
32514 (initialize): Set min_subnorm_value.
32515
8ec5b013
JM
325162012-09-29 Joseph Myers <joseph@codesourcery.com>
32517
32518 [BZ #14638]
32519 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32520 0 + 0.
32521 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32522 mode for addition resulting in exact zero.
32523 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32524 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32525 exact 0 + 0.
32526 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32527 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32528 * math/libm-test.inc (fma_test): Add more tests.
32529 (fma_test_towardzero): New function.
32530 (fma_test_downward): Likewise.
32531 (fma_test_upward): Likewise.
32532 (main): Call the new functions.
32533
b1fa802e
DM
325342012-09-28 David S. Miller <davem@davemloft.net>
32535
32536 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32537
d3b9fd9e
RM
325382012-09-28 Roland McGrath <roland@hack.frob.com>
32539
ea4d37b3
RM
32540 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32541 instead of SIGALRM.
32542
ac51c949
RM
32543 * sysdeps/gnu/_G_config.h: Moved to ...
32544 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32545 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32546 * sysdeps/generic/_G_config.h: ... here.
32547
28c195f7
RM
32548 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32549
848917f9
RM
32550 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32551
6bacf05b
RM
32552 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32553 Conditionalize target on [libnss_test1.so-version].
32554
91363dbb
RM
32555 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32556
cc87f7d8
RM
32557 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32558 (elfobjdir): Move out of conditionals.
32559
b1c608fe
RM
32560 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32561 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32562 (__nss_lookup_function): Conditionalize label remove_from_tree on
32563 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 32564
1d9a6d96
DM
325652012-09-28 David S. Miller <davem@davemloft.net>
32566
32567 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32568 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32569 file.
32570 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32571 sysdep_routines.
32572 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32573 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32574 when HWCAP_SPARC_CRYPTO is present.
32575
72581615
PT
325762012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32577
32578 * io/tst-mknodat.c: Create a FIFO instead of a socket.
32579
715a900c
JL
325802012-09-28 Andreas Schwab <schwab@linux-m68k.org>
32581
32582 [BZ #6530]
32583 * stdio-common/vfprintf.c (process_string_arg): Revert
32584 2000-07-22 change.
32585
325862011-09-28 Jonathan Nieder <jrnieder@gmail.com>
32587
32588 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32589 for testcase.
32590 * stdio-common/tst-sprintf.c: Include <locale.h>
32591 (main): Test sprintf's handling of incomplete multibyte
32592 characters.
32593
9bac1d86
L
325942012-09-28 H.J. Lu <hongjiu.lu@intel.com>
32595
32596 * elf/dl-runtime.c (VERSYMIDX): Removed.
32597 * elf/dl-version.c (VERSYMIDX): Likewise.
32598 * elf/do-rel.h (VERSYMIDX): Likewise.
32599 (VALIDX): Likewise.
32600 * elf/dynamic-link.h (VERSYMIDX): Likewise.
32601 * elf/rtld.c (VALIDX): Likewise.
32602 (ADDRIDX): Likewise.
9bac1d86
L
32603 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32604 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32605 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
32606 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32607 (VALIDX): Likewise.
32608 (ADDRIDX): Likewise.
9bac1d86 32609
b31606c0
PT
326102012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32611
32612 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32613
11541177
JL
326142012-09-28 Dmitry V. Levin <ldv@altlinux.org>
32615
32616 [BZ #11438]
32617 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32618 to global scope.
32619 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32620 addresses are in the same scope as 192.0.2/24.
32621 * posix/gai.conf: Document new scope table defaults.
32622
adb26fae
SP
326232012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32624
32625 [BZ #5298]
32626 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32627 for ftell. Compute offsets from write pointers instead.
32628 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32629
4573c6b0
SP
326302012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32631
32632 [BZ #14543]
32633 * libio/Makefile (tests): New test case tst-fseek.
32634 * libio/tst-fseek.c: New test case to verify that fseek/ftell
32635 combination works in wide mode.
32636 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32637 state when the external buffer state changes.
32638
aa9bbfe6
DM
326392012-09-27 David S. Miller <davem@davemloft.net>
32640
32641 [BZ #14376]
32642 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32643 pass reloc->r_addend in as the 'high' argument to
32644 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32645
784421e7
DM
32646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32647
c39bc8b8
PT
326482012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32649
32650 * rt/tst-aio2.c: Include <pthread.h>.
32651 * rt/tst-aio3.c: Likewise.
32652
1ccc2399
SE
326532012-09-27 Steve Ellcey <sellcey@mips.com>
32654
32655 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32656
31ed4153
L
326572012-09-27 H.J. Lu <hongjiu.lu@intel.com>
32658
25f5f885
L
32659 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32660 contents on [SHARED].
31ed4153 32661
b7bfe116
MP
326622012-09-26 Marek Polacek <polacek@redhat.com>
32663
32664 [BZ #14530]
32665 [BZ #13741]
32666 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32667 for C++ and GCC <4.3 as well as for non GCC compilers.
32668
43c4edba
MT
326692012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32670
32671 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32672
6a1bf82f
RM
326732012-09-25 Roland McGrath <roland@hack.frob.com>
32674
32675 * Makefile.in (all, install): Declare with .PHONY.
32676 Reported by Michael Hope <michael.hope@linaro.org>.
32677
8ad11b9a
TMQMF
326782012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32679
32680 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32681 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32682 system header.
32683 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32684 Likewise.
32685 (sydep_routines): Add the new and the internal functions.
32686 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32687 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32689 (GLIBC_2.17): Add the new function.
32690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32691 (GLIBC_2.17): Likewise.
32692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32693 (GLIBC_2.17): Likewise.
32694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32695 (GLIBC_2.17): Likewise.
32696 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32697
7e2fca8d
AM
326982012-09-25 Alan Modra <amodra@gmail.com>
32699
32700 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32701 Add release barrier before setting once_control to say
32702 initialisation is done. Add hints on lwarx. Use macro in
32703 place of isync.
32704 (clear_once_control): Add release barrier.
32705
b87c4b24
JM
327062012-09-25 Joseph Myers <joseph@codesourcery.com>
32707
d032e0d2
JM
32708 [BZ #13629]
32709 * math/s_clog.c (__clog): Handle more values close to |z| = 1
32710 specially.
32711 * math/s_clog10.c (__clog10): Likewise.
32712 * math/s_clog10f.c (__clog10f): Likewise.
32713 * math/s_clog10l.c (__clog10l): Likewise.
32714 * math/s_clogf.c (__clogf): Likewise.
32715 * math/s_clogl.c (__clogl): Likewise.
32716 * math/Makefile (libm-calls): Add x2y2m1.
32717 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32718 (__x2y2m1): Likewise.
32719 (__x2y2m1l): Likewise.
32720 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32721 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32722 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32723 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32724 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32725 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32726 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32727 * sysdeps/i386/fpu/libm-test-ulps: Update.
32728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32729
b87c4b24
JM
32730 [BZ #14621]
32731 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32732 int as type of variable DEPTH.
32733 (glob): Use size_t instead of int as type of variables NEWCOUNT
32734 and OLD_PATHC.
32735
6d3bf199
LD
327362012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32737
22bf5c17
LD
32738 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32739 Add s_sincosf-sse2.
32740 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32741 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32742 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32743 macros for using routine as __sincosf_ia32.
32744 Use macro for function declaration and weak_alias.
32745 * sysdeps/i386/fpu/libm-test-ulps: Update.
32746
32747 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32748 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32749
32750 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
32751 subnormal argument.
32752 * math/s_cexpf.c (__cexpf): Likewise.
32753 * math/s_csinf.c (__csinf): Likewise.
32754 * math/s_csinhf.c (__csinhf): Likewise.
32755 * math/s_ctanf.c (__ctanf): Likewise.
32756 * math/s_ctanhf.c (__ctanhf): Likewise.
32757 * math/s_ccosh.c (__ccoshf): Likewise.
32758 * math/s_cexp.c (__cexpl): Likewise.
32759 * math/s_csin.c (__csin): Likewise.
32760 * math/s_csinh.c (__csinh): Likewise.
32761 * math/s_ctan.c (__ctan): Likewise.
32762 * math/s_ctanh.c (ctanh): Likewise.
32763 * math/s_ccoshl.c (__ccoshl): Likewise.
32764 * math/s_cexpl.c (__cexpl): Likewise.
32765 * math/s_csinl.c (__csinl): Likewise.
32766 * math/s_csinhl.c (__csinhl): Likewise.
32767 * math/s_ctanl.c (__ctanl): Likewise.
32768 * math/s_ctanhl.c (__ctanhl): Likewise.
32769
203e5603
JM
327702012-09-25 Joseph Myers <joseph@codesourcery.com>
32771
32772 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32773 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32774 (_IO_off_t): Define to __off_t, not _G_off_t.
32775 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32776 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32777 (_IO_wint_t): Define to wint_t, not _G_wint_t.
32778 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32779 type of __dummy and __dummy2 fields.
32780 * sysdeps/generic/_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/gnu/_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 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32795 (_G_ssize_t): Likewise.
32796 (_G_off_t): Likewise.
32797 (_G_pid_t): Likewise.
32798 (_G_uid_t): Likewise.
32799 (_G_wchar_t): Likewise.
32800 (_G_wint_t): Likewise.
32801
9fab36eb
SP
328022012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32803
32804 * malloc/arena.c: Include malloc-sysdep.h.
32805 (shrink_heap): Use check_may_shrink_heap to decide if madvise
32806 is sufficient to shrink the heap or an unmap is needed.
32807 * sysdeps/generic/malloc-sysdep.h: New file. Define
32808 new function check_may_shrink_heap.
32809 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
32810 new function check_may_shrink_heap.
32811
2b4f00d1
SP
328122012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32813
32814 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32815 comments.
32816
9a9028b1
DL
328172012-09-24 Dmitry V. Levin <ldv@altlinux.org>
32818
57c69bef
DL
32819 * catgets/test-gencat.sh: Add "set -e".
32820 * elf/tst-pathopt.sh: Likewise.
32821 * grp/tst_fgetgrent.sh: Likewise.
32822 * iconvdata/run-iconv-test.sh: Likewise.
32823 * intl/tst-gettext.sh: Likewise.
32824 * intl/tst-gettext2.sh: Likewise.
32825 * intl/tst-gettext4.sh: Likewise.
32826 * intl/tst-gettext6.sh: Likewise.
32827 * intl/tst-translit.sh: Likewise.
32828 * io/ftwtest-sh: Likewise.
32829 * libio/test-freopen.sh: Likewise.
32830 * malloc/tst-mtrace.sh: Likewise.
32831 * posix/globtest.sh: Likewise.
32832 * posix/tst-getconf.sh: Likewise.
32833 * posix/wordexp-tst.sh: Likewise.
32834 * stdio-common/tst-printf.sh: Likewise.
32835 * stdio-common/tst-unbputc.sh: Likewise.
32836 * stdlib/tst-fmtmsg.sh: Likewise.
32837 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32838 * catgets/Makefile: Do not specify -e option when running
32839 testsuite shell scripts.
32840 * elf/Makefile: Likewise.
32841 * grp/Makefile: Likewise.
32842 * iconvdata/Makefile: Likewise.
32843 * intl/Makefile: Likewise.
32844 * io/Makefile: Likewise.
32845 * libio/Makefile: Likewise.
32846 * malloc/Makefile: Likewise.
32847 * posix/Makefile: Likewise.
32848 * stdio-common/Makefile: Likewise.
32849 * stdlib/Makefile: Likewise.
32850 * sysdeps/x86_64/Makefile: Likewise.
32851
9a9028b1
DL
32852 * io/ftwtest-sh: Add copyright header.
32853 * posix/globtest.sh: Likewise.
32854 * posix/tst-getconf.sh: Likewise.
32855 * posix/wordexp-tst.sh: Likewise.
32856 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32857
ced6f16e
L
328582012-09-24 H.J. Lu <hongjiu.lu@intel.com>
32859
94b32c39
L
32860 [BZ #13679]
32861 * Makeconfig (+link): Defined as $(+link-static) if
32862 $(build-shared) isn't yes.
32863 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32864 isn't yes.
32865 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32866
189e935b
L
32867 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32868
ced6f16e
L
32869 [BZ #14562]
32870 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32871 new chunk size with MALLOC_ALIGN_MASK.
32872
a9f8e53a
JM
328732012-09-24 Joseph Myers <joseph@codesourcery.com>
32874
32875 [BZ #5044]
32876 * stdio-common/printf_fphex.c: Include <stdbool.h> and
32877 <rounding-mode.h>.
32878 (__printf_fphex): Determine rounding using get_rounding_mode and
32879 round_away.
32880 * stdio-common/tst-printf-round.c (struct hex_test): New
32881 structure.
32882 (hex_tests): New variable.
32883 (test_hex_in_one_mode): New function.
32884 (do_test): Also run tests for hex float output.
32885
43153109
JM
328862012-09-21 Joseph Myers <joseph@codesourcery.com>
32887
32888 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32889 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32890 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32891 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32892 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32893 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32894 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32895 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32896
8a26625d
JM
328972012-09-20 Joseph Myers <joseph@codesourcery.com>
32898
32899 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32900 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32901 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32902 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32903
f3fd569c
DL
329042012-09-19 Dmitry V. Levin <ldv@altlinux.org>
32905
32906 [BZ #14579]
32907 * elf/rtld.c (dl_main): Limit the check for self loading to normal
32908 mode only.
32909 * elf/tst-rtld-load-self.sh: New test.
32910 * elf/Makefile: Run it.
32911
63bbedd4
JM
329122012-09-18 Joseph Myers <joseph@codesourcery.com>
32913
32914 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32915 (tst-writev-ENV): Remove.
32916 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32917
626f8b6a
CM
329182012-09-17 Chris Metcalf <cmetcalf@tilera.com>
32919
32920 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32921
b7aaa4d6
JM
329222012-09-17 Joseph Myers <joseph@codesourcery.com>
32923
32924 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32925 unconditional.
32926 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32927 Likewise.
32928 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32929 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32930 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32931 Likewise.
32932
65513990
L
329332012-09-14 H.J. Lu <hongjiu.lu@intel.com>
32934
32935 [BZ #14587]
32936 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32937 * config.make.in (have-cpp-asm-debuginfo): Removed.
32938 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32939 * configure: Regenerated.
32940
784761be
JM
329412012-09-14 Joseph Myers <joseph@codesourcery.com>
32942
32943 [BZ #5044]
32944 * stdio-common/printf_fp.c: Include <stdbool.h> and
32945 <rounding-mode.h>.
32946 (___printf_fp): Determine rounding using get_rounding_mode and
32947 round_away.
32948 * stdio-common/tst-printf-round.c: New file.
32949 * stdio-common/Makefile (tests): Add tst-printf-round.
32950 (link-libm): New variable.
32951 ($(objpfx)tst-printf-round): Depend in $(link-libm).
32952
9503345f
L
329532012-09-13 H.J. Lu <hongjiu.lu@intel.com>
32954
32955 [BZ #14576]
32956 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
32957 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
32958 Likewise.
32959 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
32960 Likewise.
32961
ad35fc00
JM
329622012-09-13 Joseph Myers <joseph@codesourcery.com>
32963
32964 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32965 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32966 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32967 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32968
6c9b0f68
JM
329692012-09-12 Joseph Myers <joseph@codesourcery.com>
32970
32971 [BZ #14518]
32972 * include/rounding-mode.h: New file.
32973 * sysdeps/generic/get-rounding-mode.h: Likewise.
32974 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32975 * stdlib/strtod_l.c: Include <rounding-mode.h>.
32976 (MAX_VALUE): New macro.
32977 (MIN_VALUE): Likewise.
32978 (overflow_value): New function.
32979 (underflow_value): Likewise.
32980 (round_and_return): Use overflow_value and underflow_value to
32981 determine return values in overflow and underflow cases. Use
32982 round_away to determine rounding depending on rounding mode.
32983 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32984 determine return values in overflow and underflow cases.
32985 * stdlib/tst-strtod-round.c: Include <fenv.h>.
32986 (struct test_results): New structure.
32987 (struct test): Use struct test_results to store expected results
32988 for all rounding modes.
32989 (TEST): Include expected results for all rounding modes.
32990 (test_in_one_mode): New function.
32991 (do_test): Use test_in_one_mode to compute and check results.
32992 Check results for all rounding modes.
32993 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32994 $(link-libm).
32995
19fcedd5
AM
329962012-12-09 Allan McRae <allan@archlinux.org>
32997
1e9d84cd 32998 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 32999
8bbfd2f1
JM
330002012-09-11 Joseph Myers <joseph@codesourcery.com>
33001
33002 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
33003 (_G_int32_t): Likewise.
33004 (_G_uint16_t): Likewise.
33005 (_G_uint32_t): Likewise.
33006 (_G_HAVE_BOOL): Likewise.
33007 (_G_HAVE_ATEXIT): Likewise.
33008 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33009 (_G_HAVE_IO_FILE_OPEN): Likewise.
33010 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
33011 (_G_int32_t): Likewise.
33012 (_G_uint16_t): Likewise.
33013 (_G_uint32_t): Likewise.
33014 (_G_HAVE_BOOL): Likewise.
33015 (_G_HAVE_ATEXIT): Likewise.
33016 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33017 (_G_HAVE_IO_FILE_OPEN): Likewise.
33018 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
33019 (_G_int32_t): Likewise.
33020 (_G_uint16_t): Likewise.
33021 (_G_uint32_t): Likewise.
33022 (_G_HAVE_BOOL): Likewise.
33023 (_G_HAVE_ATEXIT): Likewise.
33024 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33025 (_G_HAVE_IO_FILE_OPEN): Likewise.
33026
b1dc5912
L
330272012-09-11 H.J. Lu <hongjiu.lu@intel.com>
33028
33029 * csu/libc-tls.c: Update copyright years.
33030
0e886ef9
JM
330312012-09-10 Joseph Myers <joseph@codesourcery.com>
33032
28361c5e
JM
33033 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
33034 [!_G_USING_THUNKS]: Remove conditional code.
33035 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
33036 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
33037
0e886ef9
JM
33038 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
33039 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
33040 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33041 (_G_VTABLE_LABEL_PREFIX): Likewise.
33042 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33043 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33044 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33045 (_G_VTABLE_LABEL_PREFIX): Likewise.
33046 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33047 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33048 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33049 (_G_VTABLE_LABEL_PREFIX): Likewise.
33050 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33051
bcba7aa2
L
330522012-09-10 H.J. Lu <hongjiu.lu@intel.com>
33053
33054 * libio/Makefile: Include ../Makeconfig before tests.
33055 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
33056 only if $(build-shared) is yes.
33057
06585ee8
L
33058 * iconv/gconv_db.c: Update copyright years.
33059
80ccd52c
LD
330602012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33061
33062 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
33063 unwind info if defined PIC. Fix special cases description.
33064 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
33065
33066 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
33067 DP_HI_MASK entry.
33068 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
33069
691bc9c1
L
330702012-09-07 H.J. Lu <hongjiu.lu@intel.com>
33071
3d9b46b3
L
33072 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
33073
de2139a9
L
33074 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
33075 is NULL.
33076
5ca78dd0
L
33077 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
33078 (LDLIBS-tst-chk4): This.
33079 (LDFLAGS-tst-chk5): Renamed to ...
33080 (LDLIBS-tst-chk5): This.
33081 (LDFLAGS-tst-chk6): Renamed to ...
33082 (LDLIBS-tst-chk6): This.
33083 (LDFLAGS-tst-lfschk4): Renamed to ...
33084 (LDLIBS-tst-lfschk4): This.
33085 (LDFLAGS-tst-lfschk5): Renamed to ...
33086 (LDLIBS-tst-lfschk5): This.
33087 (LDFLAGS-tst-lfschk6): Renamed to ...
33088 (LDLIBS-tst-lfschk6): This.
33089
691bc9c1
L
33090 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
33091 on $(common-objpfx)soversions.mk.
33092
65cafb1c
JM
330932012-09-07 Joseph Myers <joseph@codesourcery.com>
33094
33095 [BZ #10014]
33096 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33097 example host name.
33098
c78ab094
SP
330992012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33100
33101 * malloc/arena.c (arena_get_retry): New function that gets
33102 another arena for the caller to try its request on.
33103 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33104 current arena cannot fulfill the request.
33105 (__libc_memalign): Likewise.
33106 (__libc_memalign): Likewise.
33107 (__libc_pvalloc): Likewise.
33108 (__libc_calloc): Likewise.
33109
01f49f59
JT
331102012-09-05 John Tobey <john.tobey@gmail.com>
33111
33112 [BZ #13542]
33113 * manual/arith.texi (Operations on Complex): Fix description
33114 of carg branch cut.
33115
4c23fed5
JM
331162012-09-06 Joseph Myers <joseph@codesourcery.com>
33117
1d3c8572
JM
33118 [BZ #10014]
33119 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33120 host name.
33121
4c23fed5
JM
33122 [BZ #10038]
33123 * manual/memory.texi (Memory): Make order of menu items match
33124 order of sections.
33125
04570aaa
L
331262012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33127
33128 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33129 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
33130 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33131
b80af2f4
L
331322012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33133
33134 * csu/libc-tls.c (static_dtv): Renamed to ...
33135 (_dl_static_dtv): This. Make it global.
33136 (_dl_initial_dtv): Removed.
33137 (__libc_setup_tls): Updated.
33138 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33139 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33140 DL_INITIAL_DTV.
33141
2abe9f15
PM
331422012-09-06 Petr Machata <pmachata@redhat.com>
33143
33144 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33145 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33146 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33147 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33148
0948c3af
L
331492012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33150
33151 [BZ #14545]
33152 * csu/libc-tls.c (_dl_initial_dtv): New variable.
33153 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33154 freeing dtv[-1].
33155
a5055ad1
L
331562012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33157
33158 [BZ #14544]
33159 * Makeconfig (link-static-before-libc): Replace $(+prector)
33160 with $(+prectorT).
33161 (link-static-after-libc): Replace $(+postctor) with
33162 $(+postctorT).
33163 (link-bounded): Replace $(+prector)/$(+postctor) with
33164 $(+prectorT)/$(+postctorT).
33165 (+prectorT): New macro.
33166 (+postctorT): Likewise.
33167
ed8c2ecd
JM
331682012-09-06 Joseph Myers <joseph@codesourcery.com>
33169
33170 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33171 (round_str): Handle values above the maximum for IBM long double
33172 as inexact.
33173 * stdlib/tst-strtod-round.c (tests): Regenerated.
33174
14c996c8
AK
331752012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33176
33177 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33178 assembler flag.
33179 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33180 zarch_nohighgprs around the zarch optimized routines.
33181 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33182 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33183 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33184 for zarch.
33185
430d6ce6
DM
331862012-09-05 David S. Miller <davem@davemloft.net>
33187
33188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33189
57f41c40
AS
33190 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33191 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
33192 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33193 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33194 entries.
33195
24d4e01b
AO
331962012-09-05 Alexandre Oliva <aoliva@redhat.com>
33197
33198 * malloc/arena.c: Fold copyright years.
33199 * malloc/mcheck.c, malloc/memusage.c: Likewise.
33200
61d58174
AO
332012012-09-05 Alexandre Oliva <aoliva@redhat.com>
33202
33203 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33204
20196a5e
AO
332052012-09-05 Alexandre Oliva <aoliva@redhat.com>
33206
33207 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
33208
5c447383
AO
332092012-09-05 Alexandre Oliva <aoliva@redhat.com>
33210
33211 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33212 change internal state upon failure.
33213
fad64255
AO
332142012-09-05 Alexandre Oliva <aoliva@redhat.com>
33215
33216 * malloc/mcheck.c (mcheck_check_all): Fix typo.
33217 * malloc/memusage.c (mmap): Likewise.
33218 (mmap64, mremap): Likewise. Adjust name in comment.
33219
1ffb8c90
SP
332202012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33221
33222 * libio/fileops.c: Fix typos in comments.
33223 * libio/oldfileops.c: Likewise.
33224 * libio/wfileops.c: Likewise.
33225
6ef9cc37
SP
332262012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33227
33228 [BZ #1349]
33229 * malloc/Makefile (tests): Add tst-malloc-usable test case.
33230 (tst-malloc-usable-ENV): Set environment for test case.
33231 * malloc/hooks.c (malloc_check_get_size): New function to get
33232 requested size.
33233 * malloc/malloc.c (musable): Use malloc_check_get_size.
33234 * malloc/tst-malloc-usable.c: New test case.
33235
4d038ae3
AS
332362012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33237
33238 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33239
c4e85184
AM
332402012-09-05 Allan McRae <allan@archlinux.org>
33241
b9dafc56 33242 [BZ #13966]
c4e85184
AM
33243 * configure.in (CXX_SYSINCLUDES): Use compiler output to
33244 determine header location.
33245 * configure: Regenerated.
33246
e1343020
AS
332472012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33248
33249 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33250 float format.
33251 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
33252 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33253 format.
e1343020
AS
33254 (test): Regenerate.
33255
0a9f1987
DM
332562012-09-04 David S. Miller <davem@davemloft.net>
33257
33258 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33259 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33260 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33261
29237804
FW
332622012-09-04 Florian Weimer <fweimer@redhat.com>
33263
33264 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33265 failures.
33266
edb3cb88
FW
33267 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33268
60160d83
JM
332692012-09-04 Joseph Myers <joseph@codesourcery.com>
33270
33271 [BZ #9914]
33272 * libio/iogetdelim.c: Include <limits.h>.
33273 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33274 + len + 1 would overflow.
33275
bcd6c8dc
AJ
332762012-09-03 Andreas Jaeger <aj@suse.de>
33277
33278 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33279 * sysdeps/i386/fpu/libm-test-ulps: Update.
33280
4ffffbd2
LD
332812012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33282
33283 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33284 Add s_sinf-sse2, s_conf-sse2.
33285
33286 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33287 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33288 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33289 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33290
33291 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33292 for using routine as __sinf_ia32.
33293 Use macro for function declaration and weak_alias.
33294 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33295 for using routine as __cosf_ia32.
33296 Use macro for function declaration and weak_alias.
33297
33298 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33299 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33300
33301 * sysdeps/x86_64/fpu/s_sinf.S: New file.
33302 * sysdeps/x86_64/fpu/s_cosf.S: New file.
33303 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33304
33305 * math/libm-test.inc (cos_test): Add more test cases.
33306 (sin_test): Likewise.
33307 (sincos_test): Likewise.
33308
511fa286
AK
333092012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33310
33311 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33312 (IFUNC_RESOLVE): Make pointers to the specialized implementations
33313 hidden.
33314 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33315
5f30cfec
L
333162012-09-02 H.J. Lu <hongjiu.lu@intel.com>
33317
33318 [BZ #14538]
33319 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33320 first element of the GOT.
33321 (elf_machine_load_address): Return the difference between
33322 the runtime address of _DYNAMIC and elf_machine_dynamic ().
33323
0786794f
AM
333242012-09-01 Allan McRae <allan@archlinux.org>
33325
5f30cfec
L
33326 [BZ #13412]
33327 * configure.in (AWK): Require gawk version 3.0 or later.
33328 * configure: Regenerated.
0786794f 33329
26889eac
JM
333302012-09-01 Joseph Myers <joseph@codesourcery.com>
33331
33332 * sysdeps/unix/sysv/linux/kernel-features.h
33333 (__ASSUME_POSIX_CPU_TIMERS): Remove.
33334 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33335 [__NR_clock_getres]: Make code unconditional.
33336 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33337 (clock_getcpuclockid): Remove code left unreachable by removal of
33338 conditionals.
33339 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33340 code unconditional.
33341 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33342 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33343 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33344 Make code unconditional.
33345 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33346 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33347 * sysdeps/unix/sysv/linux/clock_settime.c
33348 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33349 conditional code.
33350 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33351 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33352
d22e28b0
L
333532012-08-29 H.J. Lu <hongjiu.lu@intel.com>
33354
33355 [BZ #14476]
33356 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33357 scripts/test-installation.pl.
33358
33359 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33360 and $ld_so_version if it is set.
33361
050af9c4
SP
333622012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33363
33364 [BZ #14516]
33365 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33366 failure if reading from procfs failed.
33367 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33368
ad845c0b
JM
333692012-08-27 Joseph Myers <joseph@codesourcery.com>
33370
33371 * sysdeps/unix/sysv/linux/kernel-features.h
33372 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33373 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33374 Remove conditional code.
33375 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33376 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33377 Remove conditional code.
33378 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33379 * sysdeps/unix/sysv/linux/i386/fxstat.c
33380 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33381 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33382 * sysdeps/unix/sysv/linux/i386/fxstatat.c
33383 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33384 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33385 * sysdeps/unix/sysv/linux/i386/lxstat.c
33386 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33387 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33388 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33389 Remove conditional code.
33390 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33391 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33392 Remove conditional code.
33393 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33394 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33395 <kernel-features.h>.
33396 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33397 Remove.
33398 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33399 Remove conditional code.
33400 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33401 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33402 Remove conditional.
33403
5dbf56af
MF
334042012-08-27 Mike Frysinger <vapier@gentoo.org>
33405
33406 [BZ #5400]
33407 * NEWS: Add fixed bug number.
33408
d6e70f43
JM
334092012-08-27 Joseph Myers <joseph@codesourcery.com>
33410
7efb4737
JM
33411 [BZ #14519]
33412 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33413 underflowing exponent in case of negative sign.
33414 * stdlib/tst-strtod-round-data: Add more tests.
33415 * stdlib/tst-strtod-round.c (tests): Regenerated.
33416
af92131a
JM
33417 [BZ #3479]
33418 * stdlib/strtod_l.c (NDIG): Remove.
33419 (HEXNDIG): Likewise.
33420 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33421 smallest representable value.
33422 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33423 lie within an exact representation of 1/2 ulp of the result.
33424 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33425 unconditionally.
33426 (TENS_P9_IDX): Define unconditionally.
33427 (TENS_P9_SIZE): Likewise.
33428 (TENS_P10_IDX): Likewise.
33429 (TENS_P10_SIZE): Likewise.
33430 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33431 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33432 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33433 entries for 10^2^13 and 10^2^14.
33434 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33435 (TENS_P13_IDX): Define.
33436 (TENS_P13_SIZE): Likewise.
33437 (TENS_P14_IDX): Likewise.
33438 (TENS_P14_SIZE): Likewise.
33439 (_fpioconst_pow10): Change array size to
33440 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33441 unconditional.
33442 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33443 1024]: Add entries for 10^2^13 and 10^2^14.
33444 [LAST_POW10 > _LAST_POW10]: Remove #error.
33445 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33446 (_fpioconst_pow10): Change array size to
33447 FPIOCONST_POW10_ARRAY_SIZE.
33448 * stdlib/gen-fpioconst.c: New file.
33449 * stdlib/gen-tst-strtod-round.c: Likewise.
33450 * stdlib/tst-strtod-round-data: Likewise.
33451 * stdlib/tst-strtod-round.c: Likewise.
33452 * stdlib/Makefile (tests): Add tst-strtod-round.
33453
d6e70f43
JM
33454 [BZ #14459]
33455 * stdlib/strtod_l.c: Include <stdint.h>.
33456 (NDEBUG): Do not define.
33457 (round_and_return): Change EXPONENT parameter to type intmax_t.
33458 Rearrange calculations to avoid internal overflow possibilities.
33459 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33460 Rearrange calculations to avoid internal overflow possibilities.
33461 Assert that number fits inside MPNSIZE limbs.
33462 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33463 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33464 calculations and add assertions to avoid internal overflow
33465 possibilities. Add casts to avoid signed/unsigned operations.
33466 * stdlib/tst-strtod-overflow.c: New file.
33467 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33468
1f529f7d
MP
334692012-08-25 Marek Polacek <polacek@redhat.com>
33470
33471 * time/time.h: Fix some typos in comments.
33472
59a629f1
RM
334732012-08-23 Roland McGrath <roland@hack.frob.com>
33474
33475 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33476 * posix/tst-rfc3484-2.c: Likewise.
33477 * posix/tst-rfc3484-3.c: Likewise.
33478
d3bafbc9
SM
334792012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33480
33481 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33482 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33483
4efcc022
JM
334842012-08-23 Joseph Myers <joseph@codesourcery.com>
33485
33486 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33487 #include of fxstatat64.c.
33488
3cc3ef96
RM
334892012-08-22 Roland McGrath <roland@hack.frob.com>
33490
f04e2132
RM
33491 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33492 * shadow/getspent_r.c: Likewise.
33493 * shadow/getspnam.c: Likewise.
33494 * shadow/getspnam_r.c: Likewise.
33495 * gshadow/getsgent.c: Likewise.
33496 * gshadow/getsgent_r.c: Likewise.
33497 * gshadow/getsgnam.c: Likewise.
33498 * gshadow/getsgnam_r.c: Likewise.
33499 * inet/getnetbyad.c: Likewise.
33500 * inet/getnetbyad_r.c: Likewise.
33501 * inet/getnetbynm.c: Likewise.
33502 * inet/getnetbynm_r.c: Likewise.
33503 * inet/getnetent.c: Likewise.
33504 * inet/getnetent_r.c: Likewise.
33505 * inet/getproto.c: Likewise.
33506 * inet/getproto_r.c: Likewise.
33507 * inet/getprtent.c: Likewise.
33508 * inet/getprtent_r.c: Likewise.
33509 * inet/getprtname.c: Likewise.
33510 * inet/getprtname_r.c: Likewise.
33511 * inet/getrpcbyname.c: Likewise.
33512 * inet/getrpcbyname_r.c: Likewise.
33513 * inet/getrpcbynumber.c: Likewise.
33514 * inet/getrpcbynumber_r.c: Likewise.
33515 * inet/getrpcent.c: Likewise.
33516 * inet/getrpcent_r.c: Likewise.
33517 * inet/getaliasent.c: Likewise.
33518 * inet/getaliasent_r.c: Likewise.
33519 * inet/getaliasname.c: Likewise.
33520 * inet/getaliasname_r.c: Likewise.
33521 * nscd/getgrgid_r.c: Likewise.
33522 * nscd/getgrnam_r.c: Likewise.
33523 * nscd/gethstbyad_r.c: Likewise.
33524 * nscd/gethstbynm3_r.c: Likewise.
33525 * nscd/getpwnam_r.c: Likewise.
33526 * nscd/getpwuid_r.c: Likewise.
33527 * nscd/getsrvbynm_r.c: Likewise.
33528 * nscd/getsrvbypt_r.c: Likewise.
33529 * nscd/gai.c: Likewise.
33530
c53d909c
RM
33531 * configure.in (build_nscd): New substituted variable, set
33532 by --disable-build-nscd and defaults to $use_nscd.
33533 * configure: Regenerated.
33534 * config.make.in (build-nscd): New substituted variable.
33535 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33536 Change conditional to require [$(build-nscd) = yes] as well.
33537 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33538
3cc3ef96
RM
33539 [BZ# 13696]
33540 * configure.in (use_nscd): New substituted variable, set by
33541 --disable-nscd. If enabled, define USE_NSCD.
33542 * configure: Regenerated.
33543 * config.h.in: Add USE_NSCD.
33544 * config.make.in (use-nscd): New substituted variable.
33545 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33546 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33547 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33548 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33549 (CFLAGS-getgrnam_r.c): Likewise.
33550 (CFLAGS-initgroups.c): Likewise.
33551 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33552 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33553 Variables removed.
33554 * inet/getnetgrent_r.c
33555 (nscd_setnetgrent): New function, broken out of ...
33556 (setnetgrent): ... here. Call it.
33557 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33558 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33559 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33560 * nscd/Makefile (routines, aux): Move definitions after include of
33561 Makeconfig. Conditionalize on [$(use-nscd) != no].
33562 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33563 Conditionalize on [USE_NSCD].
33564 (is_nscd, nscd_init_cb): Likewise.
33565 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33566 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33567 * nss/nss_db/db-init.c: Likewise.
33568 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33569 [USE_NSCD].
33570 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33571 (make_request): Use it.
33572 (cache_valid_p): New function.
33573 (__check_pf): Use it.
33574 * NEWS: Add item for --disable-nscd.
33575
07e51550
DL
335762012-08-22 Dmitry V. Levin <ldv@altlinux.org>
33577
33578 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33579 to support sed >= 4.2.1-20-ga9bf076.
33580 * configure: Regenerated.
33581
35a5b08b
RM
335822012-08-22 Roland McGrath <roland@hack.frob.com>
33583
33584 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33585 Conditionalize whole body on [IREL].
33586
8479f23a
JL
335872012-08-22 Jeff Law <law@redhat.com>
33588
33589 [BZ #14505]
33590 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33591 if the family is PF_UNSPEC.
33592
48da0b21
MF
335932012-08-22 Mike Frysinger <vapier@gentoo.org>
33594
33595 * Makerules (lib-version): Rename from V.
33596 (install-lib-nosubdir): Change V to lib-version.
33597
15d0da8c
WS
335982012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
33599
33600 [BZ #14252]
33601 * powerpc32/power6/wcschr.c: New file.
33602 * powerpc32/power6/wcscpy.c: New file.
33603 * powerpc32/power6/wcsrchr.c: New file.
33604 * powerpc64/power6/wcschr.c: New file.
33605 * powerpc64/power6/wcscpy.c: New file.
33606 * powerpc64/power6/wcsrchr.c: New file.
33607
bcca0895
MK
336082012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33609
33610 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33611 (two_way_short_needle): Use it.
5a4aaa33
RM
33612 * string/strstr.c (AVAILABLE1_USES_J): Define.
33613 * string/strcasestr.c: Likewise.
99677e57
MK
33614
33615 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33616 array references.
33617 * string/strcasestr.c (TOLOWER): Make side-effect safe.
33618
400726de
MK
33619 [BZ #11607]
33620 * NEWS: Add an entry.
33621 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33622 define their defaults.
33623 (two_way_short_needle): Detect end-of-string on-the-fly.
33624 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33625 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33626 * string/bug-strcasestr1.c: New test.
33627 * string/Makefile: Run it.
33628
20a71f2c
MK
336292012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33630
33631 [BZ #11607]
33632 * string/str-two-way.h (two_way_short_needle): Optimize matching of
33633 the first character.
33634
21ad0558
RM
336352012-08-21 Roland McGrath <roland@hack.frob.com>
33636
33637 * csu/elf-init.c (__libc_csu_irel): Function removed.
33638 * csu/libc-start.c (apply_irel): New function.
33639 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33640
0e1d9911
JM
336412012-08-21 Joseph Myers <joseph@codesourcery.com>
33642
33643 * sysdeps/unix/sysv/linux/kernel-features.h
33644 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33645 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33646 <kernel-features.h>.
33647 [__NR_fadvise64_64]: Make code unconditional.
33648 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33649 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33650 !__NR_fadvise64_64)]: Likewise.
33651 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33652 !__NR_fadvise64_64))]: Likewise.
33653 [__NR_fadvise64]: Make code unconditional.
33654 [!__NR_fadvise64]: Remove conditional code.
33655 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33656 <kernel-features.h>.
33657 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33658 unconditional.
33659 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33660 conditional code.
33661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33662 not include <kernel-features.h>.
33663 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33664 unconditional.
33665 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33666 conditional code.
33667 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33668 include <kernel-features.h>.
33669 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33670 unconditional.
33671 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33672 conditional code.
33673
14a50c9d
WS
336742012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33675
33676 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33677 slight instruction rearrangements per scrollpipe analysis.
33678 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33679
c0f4faf0
RM
336802012-08-20 Roland McGrath <roland@hack.frob.com>
33681
696da859
RM
33682 * manual/syslog.texi (syslog; vsyslog, closelog):
33683 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33684 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33685
c0f4faf0
RM
33686 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33687 DSOCAPS to match condition on defining it.
33688
348363b2
JM
336892012-08-20 Joseph Myers <joseph@codesourcery.com>
33690
a35cbf28
JM
33691 * sysdeps/unix/sysv/linux/kernel-features.h
33692 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33694 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33695 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33697 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33698 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33700 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33701 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33702
445f7ecd
JM
33703 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33704 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33705
348363b2
JM
33706 * sysdeps/unix/sysv/linux/kernel-features.h
33707 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33708 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33709 unconditional.
33710 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33711 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33712 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33713 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33714 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33715 Make code unconditional.
33716 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33717 (__mmap64) [!__NR_mmap2]: Likewise.
33718 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33719 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33720 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33721 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33722 [__NR_mmap2]: Make code unconditional.
33723 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33724 (__mmap64) [!__NR_mmap2]: Likewise.
33725
bc5bc0e5
AK
337262012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33727
33728 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33729
88d506de
AJ
337302012-08-18 Andreas Jaeger <aj@suse.de>
33731
33732 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33733
493387d2
MF
337342012-08-18 Mike Frysinger <vapier@gentoo.org>
33735
33736 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33737 * include/unistd.h (__have_sock_cloexec): Likewise.
33738 (__have_pipe2): Likewise.
33739 (__have_dup3): Likewise.
33740
a277af22
MF
337412012-08-18 Mike Frysinger <vapier@gentoo.org>
33742
33743 [BZ #9685]
33744 * include/unistd.h (__have_pipe2): Change define into an extern int.
33745 (__have_dup3): Likewise.
33746 * socket/have_sock_cloexec.c: Include fcntl.h.
33747 (__have_pipe2): New variable.
33748 (__have_dup3): Likewise.
33749
fdab8fd3
MF
337502012-08-17 Mike Frysinger <vapier@gentoo.org>
33751
33752 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33753
31035e80
MP
337542012-08-17 Marek Polacek <polacek@redhat.com>
33755
33756 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33757 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33758
3bd9e993
RM
337592012-08-17 Roland McGrath <roland@hack.frob.com>
33760
c91c505f
RM
33761 * configure.in: Add AC_SUBST for sysheaders.
33762 * configure: Regenerated.
33763 * config.make.in (sysheaders): New substituted variable.
33764
7c6f9d53
RM
33765 * sysdeps/unix/mkfifo.c: Moved ...
33766 * sysdeps/posix/mkfifo.c: ... here.
33767 * sysdeps/unix/mkfifoat.c: Moved ...
33768 * sysdeps/posix/mkfifoat.c: ... here.
33769
33770 * sysdeps/unix/utime.c: Moved ...
33771 * sysdeps/posix/utime.c: ... here.
33772
33773 * sysdeps/unix/time.c: Moved ...
33774 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
33775 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33776 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
33777
33778 * sysdeps/unix/nice.c: Moved ...
33779 * sysdeps/posix/nice.c: ... here.
33780
33781 * sysdeps/unix/alarm.c: Moved ...
33782 * sysdeps/posix/alarm.c: ... here.
33783
3bd9e993
RM
33784 * intl/Makefile ($(codeset_mo)): Depend on the input file.
33785
d1f09384
JL
337862012-08-17 Jeff Law <law@redhat.com>
33787
33788 * intl/Makefile (codeset_mo): New variable.
33789 ($(codeset_mo)): New target.
33790 (tst-codeset.out): Depend on that. Remove explicit rule.
33791 (tst-gettext3.out, tst-gettext5.out): Likewise.
33792 (LOCPATH-ENV, tst-codeset-ENV): New variables.
33793 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33794 * intl/tst-codeset.sh: Remove.
33795 * intl/tst-gettext3.sh: Likewise.
33796 * intl/tst-gettext5.sh: Likewise.
33797
2ae1ae5c
RM
337982012-08-17 Roland McGrath <roland@hack.frob.com>
33799
c31fdb83
RM
33800 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
33801 * sysdeps/unix/syscalls.list: ... here.
33802
a0844057
RM
33803 * sysdeps/posix/getaddrinfo.c
33804 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33805 (gaiconf_init, gaiconf_reload): Use them.
33806 [!_STATBUF_ST_NSEC]
33807 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33808 Define using time_t rather than struct timespec.
33809
750c1f2a
RM
33810 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33811 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33812 Macros removed.
33813 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33814 [!NO_THREADS].
33815 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33816 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33817 Likewise.
33818
2ae1ae5c
RM
33819 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33820 __libc_cleanup_push argument.
33821
e66a42f5
RM
33822 * bits/param.h: New file.
33823 * misc/sys/param.h: New file.
33824 * include/sys/param.h: New file.
33825 * misc/Makefile (headers): Add bits/param.h.
33826 * sysdeps/generic/sys/param.h: File removed.
33827 * sysdeps/unix/sysv/linux/bits/param.h: New file.
33828 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33829 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 33830 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 33831
b7c08a66
RM
33832 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33833 last change.
33834
b2e1c562
RM
33835 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33836 [_IO_MTSAFE_IO].
33837 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33838 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33839 New macros.
33840
c75ccd4c
RM
33841 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33842 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33843 rather than -D_IO_MTSAFE_IO conditionally.
33844 * stdio-common/Makefile (CPPFLAGS): Likewise.
33845 * wcsmbs/Makefile (CPPFLAGS): Likewise.
33846 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33847 Use $(libio-mtsafe).
33848 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33849 of -D_IO_MTSAFE_IO.
33850 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33851 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33852 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33853 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33854 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33855 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33856 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33857 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33858 (CFLAGS-fread_u_chk.c): Likewise.
33859 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33860 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33861 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33862 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33863 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33864 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33865 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33866 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33867 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33868
33869 * libio/Makefile: Test [$(libc-reentrant) = yes]
33870 instead of [$(filter %REENTRANT, $(defines)) nonempty].
33871
33872 * Makeconfig
33873 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33874 * sysdeps/pthread/configure: File removed.
33875 * sysdeps/pthread/Makeconfig: New file.
33876 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33877 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33878
d9195db8
GB
338792012-08-16 Gary Benson <gbenson@redhat.com>
33880
33881 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33882 unmapping the first object in a namespace.
33883
86466cd9
RM
338842012-08-16 Roland McGrath <roland@hack.frob.com>
33885
33886 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33887 (__internal_setnetgrent): ... this. Add internal_function to
33888 definition. Add libc_hidden_def.
33889 (setnetgrent): Update caller.
33890 (internal_endnetgrent): Renamed to ...
33891 (__internal_endnetgrent): ... this. Add internal_function to
33892 definition. Add libc_hidden_def.
33893 (endnetgrent): Update caller.
33894 (internal_getnetgrent_r): Renamed to ...
33895 (__internal_getnetgrent_r): ... this. Add internal_function to
33896 definition. Add libc_hidden_def.
33897 (__getnetgrent_r): Update caller.
33898 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
33899
c3c8283c
JM
339002012-08-16 Joseph Myers <joseph@codesourcery.com>
33901
33902 * stdlib/longlong.h: Update from GCC.
33903
db1ee0a8
RM
339042012-08-16 Roland McGrath <roland@hack.frob.com>
33905
33906 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33907 on _QL, which is set by umul_ppmm but never used.
33908 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33909 variables, which are set by GMP macros but never used.
33910 * stdio-common/_itowa.c (_itowa): Likewise.
33911 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33912 * stdlib/mod_1.c (mpn_mod_1): Likewise.
33913
30f69637
CD
339142012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
33915
33916 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33917 struct La_sh_regs is not constant.
33918 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33919 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33920 and struct La_sparc64_regs are not constant.
33921
93a78ac4
JM
339222012-08-16 Joseph Myers <joseph@codesourcery.com>
33923
33924 * sysdeps/unix/sysv/linux/kernel-features.h
33925 (__ASSUME_POSIX_TIMERS): Remove.
33926 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33927 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33928 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33929 Make code unconditional.
33930 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33931 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33932 Make code unconditional.
33933 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33934 * sysdeps/unix/sysv/linux/clock_nanosleep.c
33935 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33936 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33937 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33938 Make code unconditional.
33939 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33940 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33941 (__libc_missing_posix_timers): Remove.
33942
dd924cd7
RM
339432012-08-15 Roland McGrath <roland@hack.frob.com>
33944
4b4f2771
RM
33945 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33946 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
33947
601c888b
RM
33948 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
33949
176790a7
RM
33950 * elf/dl-sym.c: Include <stdlib.h>.
33951
329bc018
RM
33952 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
33953 constants, which avoids warnings in 32-bit builds.
33954
e04e272d
RM
33955 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
33956 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
33957
952bf94a
RM
33958 * misc/lseek.c: File moved to ...
33959 * io/lseek.c: ... here.
33960
7c99b50a
RM
33961 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
33962
dd924cd7
RM
33963 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
33964 shifting LEN more than 31 bits at once.
33965
b3f479a8
LD
339662012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33967
33968 [BZ #14195]
8c4ae0d4
RM
33969 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33970 segmentation fault for a case of two empty input strings.
b3f479a8
LD
33971 * string/test-strncasecmp.c (check1): Renamed to...
33972 (bz12205): ...this.
33973 (bz14195): Add new testcase for two empty input strings and N > 0.
33974 (test_main): Call new testcase, adapt for renamed function.
33975
9c55864e
AJ
339762012-08-15 Andreas Jaeger <aj@suse.de>
33977
33978 [BZ #14090]
33979 * crypt/md5test2.c: New test, based on test supplied by Serge
33980 Belyshev <belyshev@depni.sinp.msu.ru>.
33981 * crypt/Makefile (xtests): Add md5test-giant..
33982 * crypt/Makefile ($(objpfx)md5test-giant): Add.
33983
02dcb6c5
PE
339842012-08-15 Paul Eggert <eggert@cs.ucla.edu>
33985
33986 [BZ #14090]
33987 * crypt/md5.c (md5_process_block): Don't assume the buffer
33988 length is less than 2**32.
33989 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33990 length is less than 2**64.
33991
a3f95dcc
RM
339922012-08-15 Roland McGrath <roland@hack.frob.com>
33993
be75d758
RM
33994 * string/str-two-way.h: Include <sys/param.h>.
33995 (MAX): Macro removed.
33996
7312ca90
RM
33997 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33998 Move #define and #undef of memmove to just before and after
33999 including <string.h>.
34000
9a0a5486
RM
34001 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
34002 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
34003 and after including <string.h>. Move declarations of
34004 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
34005 to before #include "string/memmove.c".
34006
67cc348d
RM
34007 * include/dirent.h: Declare __getdirentries.
34008
a3f95dcc
RM
34009 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
34010 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
34011
ca98e171
MF
340122012-08-14 Mike Frysinger <vapier@gentoo.org>
34013
34014 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
34015 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
34016 * sysdeps/i386/configure: Regenerated.
34017 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
34018 STABS_CURRENT_FILE, and STABS_FUN.
34019 (END): Remove call to STABS_FUN_END.
34020 (STABS_CURRENT_FILE1): Delete.
34021 (STABS_CURRENT_FILE): Likewise.
34022 (STABS_FUN): Likewise.
34023 (STABS_FUN_END): Likewise.
34024 (STABS_FUN2): Likewise.
34025 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
34026 * sysdeps/x86_64/configure: Regenerated.
34027
5908bf46
RM
340282012-08-14 Roland McGrath <roland@hack.frob.com>
34029
34030 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 34031 * elf/dl-lookup.c: Likewise.
5908bf46 34032
f2c05b9e
JM
340332012-08-14 Joseph Myers <joseph@codesourcery.com>
34034
34035 * sysdeps/unix/sysv/linux/kernel-features.h
34036 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
34037 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
34038 unconditionally.
34039 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
34040 unconditionally.
34041 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
34042 condition on __ASSUME_CLONE_THREAD_FLAGS.
34043
e11f5155
AJ
340442012-08-14 Andreas Jaeger <aj@suse.de>
34045
34046 * sysdeps/i386/fpu/libm-test-ulps: Update.
34047
51a9ba86
MK
340482012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
34049
2fdd4f78
AJ
34050 * include/atomic.h (atomic_exchange_and_add): Split into ...
34051 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
34052 New atomic macros.
51a9ba86 34053
ba6cba9e
MT
340542012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
34055
34056 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34057
42443a47
JL
340582012-08-13 Jeff Law <law@redhat.com>
34059
34060 * manual/stdio.texi (snprintf): Clarify handling of the trailing
34061 null byte in the output string.
34062
121dce05
JM
340632012-08-10 Joseph Myers <joseph@codesourcery.com>
34064
34065 * sysdeps/unix/sysv/linux/kernel-features.h
34066 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
34067 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
34068 (__ASSUME_ARG_MAX_STACK_BASED): Define.
34069 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34070 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
34071 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
34072 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
34073
bf51f568
JL
340742012-08-09 Jeff Law <law@redhat.com>
34075
34076 [BZ #13939]
34077 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
34078 When avoid_arena is set, don't retry in the that arena. Pick the
34079 next one, whatever it might be.
34080 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34081 (arena_lock): Pass in new parameter to arena_get2.
34082 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
34083 arena_get2.
34084 (__libc_malloc): Unify retrying after main arena failure with
34085 __libc_memalign version.
34086 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
34087
f85fa270
L
340882012-08-09 H.J. Lu <hongjiu.lu@intel.com>
34089
34090 [BZ #14166]
34091 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
34092 to __redirect_strstr.
34093 (__strstr_sse42): Use typeof __redirect_strstr.
34094 (__strstr_ia32): Likewise.
34095 (__libc_strstr): New prototype.
34096 (strstr): Renamed to ...
34097 (__libc_strstr): This.
34098 (strstr): New strong alias of __libc_strstr.
34099 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34100 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34101 __redirect_time.
34102 Include <time.h>.
34103 (__libc_time): New prototype.
34104 (time_ifunc): Replace time with __libc_time.
34105 (time): New strong alias and hidden definition of __libc_time.
34106 (__GI_time): Remove strong alias.
34107 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34108 Include <stddef.h>.
34109 (memmove): Redefined to __redirect_memmove.
34110 (__memmove_sse2): Use typeof __redirect_memmove.
34111 (__memmove_ssse3): Likewise.
34112 (__memmove_ssse3_back): Likewise.
34113 (__libc_memmove): New prototype.
34114 (memmove): Renamed to ...
34115 (__libc_memmove): This.
34116 (memmove): New strong alias of __libc_memmove.
34117
33b4a91e
MS
341182012-08-08 Mark Salter <msalter@redhat.com>
34119
34120 * elf/elf.h
34121 (R_MN10300_TLS_GD): Define.
34122 (R_MN10300_TLS_LD): Likewise.
34123 (R_MN10300_TLS_LDO): Likewise.
34124 (R_MN10300_TLS_GOTIE): Likewise.
34125 (R_MN10300_TLS_IE): Likewise.
34126 (R_MN10300_TLS_LE): Likewise.
34127 (R_MN10300_TLS_DTPMOD): Likewise.
34128 (R_MN10300_TLS_DTPOFF): Likewise.
34129 (R_MN10300_TLS_TPOFF): Likewise.
34130 (R_MN10300_SYM_DIFF): Likewise.
34131 (R_MN10300_ALIGN): Likewise.
34132 (R_MN10300_NUM): Update.
34133
b36137f1
JM
341342012-08-08 Joseph Myers <joseph@codesourcery.com>
34135
34136 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34137 Remove.
34138
cdd915fd
RM
341392012-08-08 Roland McGrath <roland@hack.frob.com>
34140
a2433aac
RM
34141 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34142
cdd915fd
RM
34143 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34144 sysdeps/unix -> sysdeps/posix move.
34145 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34146
bf9b740a
AM
341472012-08-07 Allan McRae <allan@archlinux.org>
34148
34149 [BZ #14303]
34150 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34151 (SUNOS_CPP): Likewise.
34152 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34153 not found.
34154 (open_input): Call CPP using execvp.
34155
93df14ee
JM
341562012-08-07 Joseph Myers <joseph@codesourcery.com>
34157
34158 * sysdeps/unix/sysv/linux/kernel-features.h
34159 (__ASSUME_PROT_GROWSUPDOWN): Remove.
34160 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34161 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34162 (__ASSUME_WAITID_SYSCALL): Likewise.
34163 * sysdeps/unix/sysv/linux/dl-execstack.c
34164 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34165 code unconditional.
34166 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34167 conditional code.
34168 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34169 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34170 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34171 code.
34172 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34173 unconditional.
34174 [__ASSUME_WAITID_SYSCALL]: Likewise.
34175 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34176
d34689de
RM
341772012-08-07 Roland McGrath <roland@hack.frob.com>
34178
a281decc
RM
34179 * sysdeps/unix/closedir.c: Renamed to ...
34180 * sysdeps/posix/closedir.c: ... here.
34181 * sysdeps/unix/dirfd.c: Renamed to ...
34182 * sysdeps/posix/dirfd.c: ... here.
34183 * sysdeps/unix/dirstream.h: Renamed to ...
34184 * sysdeps/posix/dirstream.h: ... here.
34185 * sysdeps/unix/fdopendir.c: Renamed to ...
34186 * sysdeps/posix/fdopendir.c: ... here.
34187 * sysdeps/unix/opendir.c: Renamed to ...
34188 * sysdeps/posix/opendir.c: ... here.
34189 * sysdeps/unix/readdir.c: Renamed to ...
34190 * sysdeps/posix/readdir.c: ... here.
34191 * sysdeps/unix/readdir_r.c: Renamed to ...
34192 * sysdeps/posix/readdir_r.c: ... here.
34193 * sysdeps/unix/rewinddir.c: Renamed to ...
34194 * sysdeps/posix/rewinddir.c: ... here.
34195 * sysdeps/unix/seekdir.c: Renamed to ...
34196 * sysdeps/posix/seekdir.c: ... here.
34197 * sysdeps/unix/telldir.c: Renamed to ...
34198 * sysdeps/posix/telldir.c: ... here.
34199 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34200 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34201 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34202 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34203
22895b47
RM
34204 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34205 * bits/fcntl.h: ... here.
34206
707a53b6
RM
34207 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34208 not 0.
34209 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34210 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34211 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34212 (struct flock): Move l_start, l_len to the beginning.
34213 Use __pid_t for l_pid.
34214 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34215 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34216 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34217 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34218 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34219 [__USE_LARGEFILE64] (struct flock64): New type.
34220 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34221
f0bd3e25
RM
34222 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34223 * bits/dirent.h: ... here.
34224
d34689de
RM
34225 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34226 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34227
6dad2c06
JM
342282012-08-07 Joseph Myers <joseph@codesourcery.com>
34229
34230 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34231 Change from 2.6.0 to 2.6.16.
34232 * sysdeps/unix/sysv/linux/configure: Regenerated.
34233 * sysdeps/unix/sysv/linux/kernel-features.h
34234 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34235 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34236 version.
34237 (__ASSUME_UTIMES): Likewise.
34238 (__ASSUME_CLONE_STOPPED): Remove.
34239 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34240 architectures, not kernel version.
34241 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34242 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34243 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34244 (__ASSUME_WAITID_SYSCALL): Likewise.
34245 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34246 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34247 * README: State 2.6.16 as minimum Linux kernel version. Do not
34248 refer to older versions.
34249
03af9520
RM
342502012-08-06 Roland McGrath <roland@hack.frob.com>
34251
8e49df1d
RM
34252 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34253 Define alphasort64 as an alias.
34254 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34255 Define versionsort64 as an alias.
34256 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34257 Define scandir64 as an alias.
34258 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34259 Define scandirat64 as an alias.
34260 * dirent/alphasort64.c (alphasort64):
34261 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34262 * dirent/versionsort64.c: Likewise.
34263 * dirent/scandir64.c: Likewise.
34264 * dirent/scandirat64.c: Likewise.
34265 * sysdeps/wordsize-64/alphasort.c: File removed.
34266 * sysdeps/wordsize-64/alphasort64.c: File removed.
34267 * sysdeps/wordsize-64/scandir.c: File removed.
34268 * sysdeps/wordsize-64/scandir64.c: File removed.
34269 * sysdeps/wordsize-64/scandirat.c: File removed.
34270 * sysdeps/wordsize-64/scandirat64.c: File removed.
34271 * sysdeps/wordsize-64/versionsort.c: File removed.
34272 * sysdeps/wordsize-64/versionsort64.c: File removed.
34273 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34274 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34275 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34276 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34277 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34278 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34279 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34280 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34281
34282 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34283 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34284 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34285 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34286 [defined __arch64__ || defined __sparcv9]
34287 (__INO_T_MATCHES_INO64_T): New macro.
34288 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34289 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34290 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34291 * sysdeps/unix/sysv/linux/bits/dirent.h
34292 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34293 (_DIRENT_MATCHES_DIRENT64): New macro.
34294
03af9520
RM
34295 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34296 Define lockf64 as an alias.
34297 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34298 Define fseeko64 as an alias.
34299 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34300 Define ftello64 as an alias.
34301 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34302 Define _IO_fgetpos64 and fgetpos64 as aliases.
34303 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34304 Define _IO_fsetpos64 and fsetpos64 as aliases.
34305 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34306 Conditionalize body on this.
34307 * libio/fseeko64.c: Likewise.
34308 * libio/ftello64.c: Likewise.
34309 * libio/iofgetpos64.c: Likewise.
34310 * libio/iofsetpos64.c: Likewise.
34311 * sysdeps/wordsize-64/lockf.c: File removed.
34312 * sysdeps/wordsize-64/lockf64.c: File removed.
34313 * sysdeps/wordsize-64/fseeko.c: File removed.
34314 * sysdeps/wordsize-64/fseeko64.c: File removed.
34315 * sysdeps/wordsize-64/ftello.c: File removed.
34316 * sysdeps/wordsize-64/ftello64.c: File removed.
34317 * sysdeps/wordsize-64/iofgetpos.c: File removed.
34318 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34319 * sysdeps/wordsize-64/iofsetpos.c: File removed.
34320 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34321 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34322 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34323 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34324 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34325 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34326 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34327 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34328 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34329 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34330 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34331
34332 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34333 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34334 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34335 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34336 [defined __arch64__ || defined __sparcv9]
34337 (__OFF_T_MATCHES_OFF64_T): New macro.
34338 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34339 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34340 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34341 (__OFF_T_MATCHES_OFF64_T): New macro.
34342
c5757acd
L
343432012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34344
34345 * stdlib/secure-getenv.c (__secure_getenv): Replace
34346 GLIBC_2_16 with GLIBC_2_17.
34347
3a31811e
L
343482012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34349
34350 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34351 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34352
faa2bccb
DM
343532012-08-03 David S. Miller <davem@davemloft.net>
34354
34355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34356
85fe1997
JM
343572012-08-03 Joseph Myers <joseph@codesourcery.com>
34358
34359 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34360 Remove.
34361 (__ASSUME_CORRECT_SI_PID): Likewise.
34362 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34363 (__ASSUME_TMPFS_NAME): Likewise.
34364 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34365 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34366 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34367 (HAVE_AUX_SECURE): Make definition unconditional.
34368 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34369 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34370
4f75b7a0
RM
343712012-08-03 Roland McGrath <roland@hack.frob.com>
34372
34373 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34374 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34375 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34376 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34377 __eloop_threshold instead of SYMLOOP_MAX.
34378
34379 * sysdeps/generic/eloop-threshold.h: New file.
34380 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34381 of MAXSYMLINKS.
34382 * elf/chroot_canon.c (chroot_canon): Likewise.
34383
7aab07e4
JM
343842012-08-03 Joseph Myers <joseph@codesourcery.com>
34385
34386 [BZ #13717]
34387 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34388 Change to 2.6.0 everywhere.
34389 * sysdeps/unix/sysv/linux/configure: Regenerated.
34390 * sysdeps/unix/sysv/linux/kernel-features.h
34391 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34392 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34393 kernel versions.
34394 (__ASSUME_POSIX_TIMERS): Define unconditionally.
34395 (__ASSUME_FUTEX_REQUEUE): Remove.
34396 (__ASSUME_STATFS64): Define unconditionally.
34397 (__ASSUME_AT_SECURE): Likewise.
34398 (__ASSUME_CORRECT_SI_PID): Likewise.
34399 (__ASSUME_TGKILL): Define without depending on kernel version for
34400 i386.
34401 (__ASSUME_UTIMES): Likewise.
34402 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34403 kernel version.
34404 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34405 (__ASSUME_TMPFS_NAME): Likewise.
34406 * README: Update reference to Linux kernel versions.
34407
b67e9372
MP
344082012-08-02 Marek Polacek <polacek@redhat.com>
34409
1f529f7d 34410 [BZ# 14150]
b67e9372
MP
34411 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34412 libc_cv_asm_type_prefix with %.
34413 * configure: Regenerated.
d2441631
RM
34414 * include/libc-symbols.h: Remove comment about
34415 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
34416 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34417 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34418 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34419 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34420 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34421 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34422 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34423 * elf/tst-unique2mod1.c: Likewise.
34424 * elf/tst-unique1mod2.c: Likewise.
34425 * elf/tst-unique1mod1.c: Likewise.
34426 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34427 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34428 Replace ASM_TYPE_DIRECTIVE with .type.
34429 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34430 * sysdeps/i386/sysdep.h: Likewise.
34431 * sysdeps/x86_64/sysdep.h: Likewise.
34432 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
34433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34434 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 34435 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
34436 * sysdeps/powerpc/powerpc32/sysdep.h:
34437 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
34438 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34439 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34440 * sysdeps/i386/fpu/e_powf.S: Likewise.
34441 * sysdeps/i386/fpu/e_expl.S: Likewise.
34442 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34443 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34444 * sysdeps/i386/fpu/e_pow.S: Likewise.
34445 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34446 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34447 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34448 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34449 * sysdeps/i386/fpu/e_log2.S: Likewise.
34450 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34451 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34452 * sysdeps/i386/fpu/e_powl.S: Likewise.
34453 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34454 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34455 * sysdeps/i386/fpu/e_logl.S: Likewise.
34456 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34457 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34458 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34459 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34460 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34461 * sysdeps/i386/fpu/e_log.S: Likewise.
34462 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34463 * sysdeps/i386/fpu/e_logf.S: Likewise.
34464 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34465 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34466 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34467 * sysdeps/i386/fpu/e_log10.S: Likewise.
34468 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34469 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34470 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34471 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34472 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34473 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34474 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34475 * sysdeps/i386/i686/strtok.S: Likewise.
34476 * sysdeps/i386/i386-mcount.S: Likewise.
34477 * sysdeps/i386/strtok.S: Likewise.
34478 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34479 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34480 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34481 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34482 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34483 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34484 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34485 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34486 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34487 * sysdeps/x86_64/_mcount.S: Likewise.
34488 * sysdeps/x86_64/strtok.S: Likewise.
34489 * sysdeps/sh/_mcount.S: Likewise.
34490
2747bf9a
RM
344912012-08-01 Roland McGrath <roland@hack.frob.com>
34492
34493 * libio/iofopen.c: Include <fcntl.h>.
34494 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34495 (_IO_fopen64, fopen64): Define as aliases.
34496 * libio/iofopen64.c: Include <fcntl.h>.
34497 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34498 Conditionalize body on this.
34499 * sysdeps/wordsize-64/iofopen.c: File removed.
34500 * sysdeps/wordsize-64/iofopen64.c: File removed.
34501
3fb791b8
MP
345022012-08-01 Marek Polacek <polacek@redhat.com>
34503
34504 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34505 Use dlfcn directly instead of a variable.
34506 (binfmt-subdir): Do not define.
34507 (dlfcn): Likewise.
34508
a9f1039f
JM
345092012-08-01 Joseph Myers <joseph@codesourcery.com>
34510
23bddc06
JM
34511 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34512 Remove all definitions.
34513 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34514 <kernel-features.h>.
34515 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34516 (miss_F_GETOWN_EX): Remove all definitions.
34517 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34518 macro definition.
34519 [!__ASSUME_FCNTL64]: Remove conditional code.
34520 [__ASSUME_FCNTL64]: Make code unconditional.
34521 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34522 <kernel-features.h>.
34523 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34524 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34525 (lockf64) [__NR_fcntl64]: Make code unconditional.
34526 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34527
a9f1039f
JM
34528 * sysdeps/unix/sysv/linux/kernel-features.h
34529 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34530 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34531 Make code unconditional.
34532 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34533 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34535 [__NR_vfork]: Make code unconditional.
34536 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34537 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34539 [__NR_vfork]: Make code unconditional.
34540 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34541 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34542
09c0ee5f
RM
345432012-08-01 Roland McGrath <roland@hack.frob.com>
34544
48aec5b9
RM
34545 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34546 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34547
cd97c966
RM
34548 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34549 Define mkstemp64 as an alias.
3f55550c
RM
34550 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34551 Define mkstemps64 as an alias.
cd97c966
RM
34552 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34553 Define mkostemp64 as an alias.
b8625cfc
RM
34554 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34555 Define mkostemps64 as an alias.
cd97c966
RM
34556 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34557 Conditionalize body on this.
34558 * misc/mkostemp64.c: Likewise.
b8625cfc 34559 * misc/mkostemps64.c: Likewise.
3f55550c 34560 * misc/mkstemps64.c: Likewise.
cd97c966
RM
34561 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34562 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34563 * sysdeps/wordsize-64/mkostemp.c: File removed.
34564 * sysdeps/wordsize-64/mkstemp.c: File removed.
34565 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34566 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34567 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34568 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34569
09c0ee5f
RM
34570 [BZ #14138]
34571 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34572 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34573 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34574 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34575
34576 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34577 compat_symbol macros from <shlib-compat.h> rather than the underlying
34578 default_symbol_version and symbol_version macros, so that DEFAULT
34579 lines in shlib-versions are respected.
34580 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34581
7e66ee51
FW
345822012-08-01 Florian Weimer <fweimer@redhat.com>
34583
34584 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34585 Declare with warn_unused_result.
34586 (setgid, setregid, setegid, setresgid): Likewise.
34587 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34588 Likewise.
34589 * WUR-REPORT: Remove set*id functions.
34590
d2a54255
PT
345912012-07-31 Pino Toscano <toscano.pino@tiscali.it>
34592
34593 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34594
7ecdb005
RM
345952012-07-31 Roland McGrath <roland@hack.frob.com>
34596
b4180a5e 34597 [BZ #10191]
789bd351
RM
34598 * include/sys/socket.h (__libc_accept, __libc_accept4):
34599 Add attribute_hidden.
34600 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34601
40ce302d
RM
34602 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34603 use of PTR_MANGLE.
34604 * inet/getnetgrent_r.c (setup): Likewise.
34605
7ecdb005
RM
34606 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34607
e2eabb2c
DM
346082012-07-31 David S. Miller <davem@davemloft.net>
34609
34610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34611
d0419dbf
JM
346122012-07-31 Joseph Myers <joseph@codesourcery.com>
34613
34614 [BZ #13629]
34615 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34616 value between 1.0 and 2.0 and smaller part has absolute value less
34617 than 1.0.
34618 * math/s_clog10.c (__clog10): Likewise.
34619 * math/s_clog10f.c (__clog10f): Likewise.
34620 * math/s_clog10l.c (__clog10l): Likewise.
34621 * math/s_clogf.c (__clogf): Likewise.
34622 * math/s_clogl.c (__clogl): Likewise.
34623 * math/libm-test.inc (clog_test): Add more tests.
34624 (clog10_test): Likewise.
34625 * sysdeps/i386/fpu/libm-test-ulps: Update.
34626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34627
2bc13872
FW
346282012-07-31 Florian Weimer <fweimer@redhat.com>
34629
34630 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34631 Exit with zero in case no suitable GID is found, and write a
34632 message to standard error.
34633
bea9b193
RM
346342012-07-30 Roland McGrath <roland@hack.frob.com>
34635
34636 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34637 rather than to 1.
34638 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34639 (MAXPATHLEN): Removed.
34640 (NOGROUP, NODEV): New macros.
34641 (setbit, clrbit, isset, isclr): New macros.
34642 (howmany, roundup, powerof2): New macros.
34643 (DEV_BSIZE): New macro.
34644
34645 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34646 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34647
34648 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34649 definition on [!__NO_LONG_DOUBLE_MATH].
34650
34651 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34652 PTR_MANGLE and PTR_DEMANGLE.
34653
34654 * socket/accept4.c (accept4): Rename to __libc_accept4.
34655 Define accept4 as a weak alias.
34656
34657 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34658 on [_DIRENT_HAVE_D_TYPE].
34659 * io/ftw.c (ftw_dir): Likewise.
34660
34661 * io/xmknod.c (__xmknod): Don't check PATH for being null.
34662
34663 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34664
34665 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34666 Use the BSD numbers rather than the arbitrary ones we had.
34667 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34668 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34669 (SIGXCPU, SIGXFSZ): New macros.
34670 (_NSIG): Now 32.
34671
34672 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34673 initializer on [_LIBC_REENTRANT].
34674
34675 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34676 definitions inside [_POSIX_MAPPED_FILES].
34677
34678 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34679
34680 * dirent/opendir.c: Include <fcntl.h>.
34681
34682 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34683 (__libc_getspecific): Likewise.
34684 (__libc_key_create): Likewise.
34685
34686 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34687 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34688 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34689 (tmpfile64): Define as alias.
34690 * sysdeps/wordsize-64/tmpfile.c: File removed.
34691 * sysdeps/wordsize-64/tmpfile64.c: File removed.
34692 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34693 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34694
34695 * stdio-common/vfscanf.c: Include <stdbool.h>.
34696 * nss/makedb.c: Likewise.
34697 * stdio-common/_i18n_number.h: Likewise.
34698 * argp/argp-help.c: Likewise.
34699 * posix/wordexp.c: Likewise.
34700 * sysdeps/posix/spawni.c: Likewise.
34701 * nss/nss_files/files-initgroups.c: Likewise.
34702 * stdio-common/reg-modifier.c: Include <stdlib.h>.
34703 * nss/nss_files/files-initgroups.c: Likewise.
34704 * nss/nss_db/db-netgrp.c: Likewise.
34705 * nss/nss_db/db-initgroups.c: Likewise.
34706 * io/fchmodat.c: Include <sys/stat.h>.
34707
34708 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34709 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34710
34711 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34712 [HAVE_MMAP].
34713
34714 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34715 Add multiple inclusion protection.
34716
e5abc686
DM
347172012-07-27 David S. Miller <davem@davemloft.net>
34718
34719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34720
815e6fa3
GB
347212012-07-27 Gary Benson <gbenson@redhat.com>
34722
34723 [BZ #14298]
34724 * elf/rtld.c: Include <stap-probe.h>.
34725 (dl_main): Added static probes "init_start" and "init_complete".
34726 * elf/dl-load.c: Include <stap-probe.h>.
34727 (lose): Take new parameter "nsid".
34728 Added static probe "map_failed".
34729 (_dl_map_object_from_fd): Pass namespace id to lose.
34730 Added static probe "map_start".
34731 (open_verify): Pass namespace id to lose.
34732 * elf/dl-open.c: Include <stap-probe.h>.
34733 (dl_open_worker) Added static probes "map_complete", "reloc_start"
34734 and "reloc_complete".
34735 * elf/dl-close.c: Include <stap-probe.h>.
34736 (_dl_close_worker): Added static probes "unmap_start" and
34737 "unmap_complete".
34738 * elf/rtld-debugger-interface.txt: New file documenting the above.
34739
9f98c16c
RM
347402012-07-26 Roland McGrath <roland@hack.frob.com>
34741
34742 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34743 rather than a string variable.
34744 * sunrpc/rpc_main.c (h_output): Likewise.
34745 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34746
f3c22df3
PT
347472012-07-26 Pino Toscano <toscano.pino@tiscali.it>
34748
34749 * inet/check_native.c: New file.
34750
3129cfc6
JM
347512012-07-26 Joseph Myers <joseph@codesourcery.com>
34752
da865e95
JM
34753 [BZ #13629]
34754 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34755 if larger part has absolute value 1.0.
34756 * math/s_clog10.c (__clog10): Likewise.
34757 * math/s_clog10f.c (__clog10f): Likewise.
34758 * math/s_clog10l.c (__clog10l): Likewise.
34759 * math/s_clogf.c (__clogf): Likewise.
34760 * math/s_clogl.c (__clogl): Likewise.
34761 * math/libm-test.inc (clog_test): Add more tests.
34762 (clog10_test): Likewise.
34763 * sysdeps/i386/fpu/libm-test-ulps: Update.
34764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34765
3129cfc6
JM
34766 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34767 (pltexit): Likewise.
34768 (La_regs): Likewise.
34769 (La_retval): Likewise.
34770 (int_retval): Likewise.
34771 Update #error for removed macros to refer only to definitions in
34772 tst-audit.h.
34773 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34774 macro.
34775 (pltexit): Likewise.
34776 (La_regs): Likewise.
34777 (La_retval): Likewise.
34778 (int_retval): Likewise.
34779 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34780 macro.
34781 (pltexit): Likewise.
34782 (La_regs): Likewise.
34783 (La_retval): Likewise.
34784 (int_retval): Likewise.
34785 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34786 macro.
34787 (pltexit): Likewise.
34788 (La_regs): Likewise.
34789 (La_retval): Likewise.
34790 (int_retval): Likewise.
34791 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34792 macro.
34793 (pltexit): Likewise.
34794 (La_regs): Likewise.
34795 (La_retval): Likewise.
34796 (int_retval): Likewise.
34797 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34798 macro.
34799 (pltexit): Likewise.
34800 (La_regs): Likewise.
34801 (La_retval): Likewise.
34802 (int_retval): Likewise.
34803 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34804 macro.
34805 (pltexit): Likewise.
34806 (La_regs): Likewise.
34807 (La_retval): Likewise.
34808 (int_retval): Likewise.
34809 * sysdeps/generic/tst-audit.h: Update comment to refer only to
34810 macro definitions in tst-audit.h.
34811 * sysdeps/i386/tst-audit.h: New file.
34812 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34813 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34814 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34815 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34816 * sysdeps/sh/tst-audit.h: Likewise.
34817 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34818 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34819 * sysdeps/x86_64/tst-audit.h: Likewise.
34820
bfc07087
AJ
348212012-07-26 Andreas Jaeger <aj@suse.de>
34822
b1b2aaf8
AJ
34823 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34824 ptrace.
34825
34826 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34827 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34828 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34829 PTRACE_O_MASK.
34830 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34831 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34832 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34833
bfc07087
AJ
34834 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34835 value.
34836
34837 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34838 _sigsys.
34839 (si_call_addr, si_syscall, si_arch): Define new macro.
34840 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34841 _sigsys.
34842 (si_call_addr, si_syscall, si_arch): Define new marcro.
34843 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34844 _sigsys.
34845 (si_call_addr, si_syscall, si_arch): Define new macro.
34846 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34847 _sigsys.
34848 (si_call_addr, si_syscall, si_arch): Define new macro.
34849
89b4b02f
JM
348502012-07-25 Joseph Myers <joseph@codesourcery.com>
34851
34852 [BZ #13717]
34853 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34854 Change to 2.4.21 where previously 2.4.1.
34855 * sysdeps/unix/sysv/linux/configure: Regenerated.
34856 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34857 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34858 Linux kernel version.
34859 (__ASSUME_STD_AUXV): Remove.
34860 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34861 kernel version.
34862 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34863 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34864 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34865 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34866 (__ASSUME_NETLINK_SUPPORT): Likewise.
34867 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34868 (__no_netlink_support): Remove conditional definition.
34869 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34870 Remove.
34871 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34872 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34873 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34874 (if_nameindex_ioctl): Remove.
34875 (if_nameindex_netlink): Do not handle __no_netlink_support.
34876 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34877 code.
34878 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34879 Remove conditional code.
34880 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34881 code.
34882 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34883 unconditional.
34884 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34885 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34886 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34887 Remove.
34888 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34889 [!__ASSUME_STD_AUXV]: Remove conditional code.
34890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34891 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34892 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34894 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34895 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34896 code.
34897 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34899 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34900 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34901 conditional code.
34902 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34904 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34905 code.
34906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34907 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34908 conditional code.
34909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34910 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34911 code unconditional.
34912 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34913 conditional code.
34914 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34915 unconditional.
34916 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34917 conditional code.
34918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34919 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34920 unconditional.
34921 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34922 conditional code.
34923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34924 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34925 code unconditional.
34926 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34927 conditional code.
34928 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34929 unconditional.
34930 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34931 conditional code.
34932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34933 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34934 code unconditional.
34935 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34936 conditional code.
34937 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34938 unconditional.
34939 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34940 conditional code.
34941
842a39cd
AS
349422012-07-25 Andreas Schwab <schwab@linux-m68k.org>
34943
34944 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34945 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34946 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34947 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
34948 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
34949 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34950 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34951 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
34952 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
34953 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34954 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
34955 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
34956 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
34957 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34958 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
34959 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
34960 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
34961 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
34962 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
34963 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
34964 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34965 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34966 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34967
84b3fd84
FW
349682012-07-25 Florian Weimer <fweimer@redhat.com>
34969
34970 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
34971 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34972 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34973 Introduce __libc_secure_getenv.
0c7936d5
FW
34974 * stdlib/Versions (2.17): Add secure_getenv
34975 (GLIBC_PRIVATE): Add __libc_secure_getenv.
34976 * stdlib/secure-getenv.c: Rename __secure_getenv to
34977 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
34978 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
34979 * stdlib/tst-secure-getenv.c: New.
34980 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
34981 * manual/startup.texi (Environment Access): Document
34982 secure_getenv.
84b3fd84
FW
34983 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34984 __libc_secure_getenv.
34985 * inet/ruserpass.c (ruserpass): Likewise.
34986 * malloc/mtrace.c (mtrace): Likewise.
34987 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 34988 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
34989 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34990 * sysdeps/posix/tempname.c: Likewise. Evaluate
34991 HAVE_SECURE_GETENV.
34992 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 34993 __secure_getenv to __libc_secure_getenv.
84b3fd84 34994 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
34995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34996 Likewise.
34997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34998 Likewise.
34999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35001 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 35006
56e49b71
JM
350072012-07-25 Joseph Myers <joseph@codesourcery.com>
35008
35009 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
35010 (struct La_i86_retval): Likewise.
35011 (struct La_x86_64_regs): Likewise.
35012 (struct La_x86_64_retval): Likewise.
35013 (struct La_x32_regs): Likewise.
35014 (struct La_x32_retval): Likewise.
35015 (struct La_ppc32_regs): Likewise.
35016 (struct La_ppc32_retval): Likewise.
35017 (struct La_ppc64_regs): Likewise.
35018 (struct La_ppc64_retval): Likewise.
35019 (struct La_sh_regs): Likewise.
35020 (struct La_sh_retval): Likewise.
35021 (struct La_s390_32_regs): Likewise.
35022 (struct La_s390_32_retval): Likewise.
35023 (struct La_s390_64_regs): Likewise.
35024 (struct La_s390_64_retval): Likewise.
35025 (struct La_sparc32_regs): Likewise.
35026 (struct La_sparc32_retval): Likewise.
35027 (struct La_sparc64_regs): Likewise.
35028 (struct La_sparc64_retval): Likewise.
35029 (struct audit_ifaces): Remove architecture-specific pltenter and
35030 pltexit members.
35031 * sysdeps/i386/ldsodefs.h: New file.
35032 * sysdeps/powerpc/ldsodefs.h: Likewise.
35033 * sysdeps/s390/ldsodefs.h: Likewise.
35034 * sysdeps/sh/ldsodefs.h: Likewise.
35035 * sysdeps/sparc/ldsodefs.h: Likewise.
35036 * sysdeps/x86_64/ldsodefs.h: Likewise.
35037
354691b7
MP
350382012-07-25 Marek Polacek <polacek@redhat.com>
35039
35040 [BZ #6808]
35041 * math/libm-test.inc (yn_test): Add another test.
35042 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
35043 to ERANGE when the result is +-Inf.
35044 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35045 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35046 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
35047 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
35048
bf9e2071
JM
350492012-07-24 Joseph Myers <joseph@codesourcery.com>
35050
35051 * conform/data/time.h-data (NULL): Use macro-constant. Require
35052 equal to 0.
35053 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
35054 clock_t.
35055 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
35056
57633811
TS
350572012-07-23 Thomas Schwinge <thomas@codesourcery.com>
35058
35059 * configure.in <sysdeps resolving>: Correct printing
35060 Implies_before.
35061 * configure: Regenerate.
35062
c23c33b0
TS
350632012-07-22 Thomas Schwinge <thomas@codesourcery.com>
35064
35065 * math/w_ilogb.c: Include <limits.h>.
35066 * math/w_ilogbl.c: Likewise.
35067
b5982523
JM
350682012-07-20 Joseph Myers <joseph@codesourcery.com>
35069
35070 * manual/lang.texi (__va_copy): Document primarily as ISO C99
35071 va_copy. Document allowing for unavailable va_copy only as
35072 pre-C99 compatibility.
35073 * manual/string.texi (Copying and Concatenation): Use va_copy
35074 instead of __va_copy in concat example.
35075
ac4ea442
PT
350762012-07-20 Pino Toscano <toscano.pino@tiscali.it>
35077
35078 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
35079 (__sendto): Use create_address_port. Initialize APORT and deallocate
35080 it if not null.
35081
f98eafbd
PT
35082 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
35083 with O_NOLINK passed to __file_name_lookup.
35084
898c7aab
PT
35085 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
35086 with O_NOLINK passed to __file_name_lookup.
35087
0ced335a
PT
35088 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
35089 negative N or less than NGIDS.
35090
b3404dbd
PT
35091 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
35092 type to string_t. Set ERANGE as errno and return it if NAME is not big
35093 enough. Use memcpy instead of strncpy.
35094
0f48659e
JM
350952012-07-20 Joseph Myers <joseph@codesourcery.com>
35096
35097 * elf/Makefile (check-data): Remove.
35098 (localplt.data): New vpath directive.
35099 ($(objpfx)check-localplt.out): Use localplt.data from vpath
35100 instead of $(check-data).
35101 * scripts/data/localplt-generic.data: Move to ...
35102 * sysdeps/generic/localplt.data: ... here.
35103 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35104 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35105 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35107 ... here.
35108 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35110 ... here.
35111 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35113 ... here.
35114 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35116 ... here.
35117 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35119 ... here.
35120 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35122 ... here.
35123
d37cbdaa
AZ
351242012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35125
35126 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35127 PPC32 and PPC64 files.
35128 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35129 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35130
46f85fc2
AK
351312012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35132
35133 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35134 __makecontext_ret to ...
35135 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35136 ... here and call exit if uc_link is NULL. New file.
35137 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35138 __makecontext_ret.S.
35139 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35140 __makecontext_ret to ...
35141 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35142 ... here and call exit if uc_link is NULL. New file.
35143 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35144 __makecontext_ret.S.
35145
08f43f9b
AK
351462012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35147
35148 * elf/elf.h (R_390_IRELATIVE): New definition.
35149 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35150 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
35151 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35152 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35153 (elf_machine_lazy_rel): Likewise.
35154 * sysdeps/s390/dl-irel.h: New file.
35155 * sysdeps/s390/s390-64/memcpy.S: New asm code.
35156 * sysdeps/s390/s390-64/memset.S: New asm code.
35157 * sysdeps/s390/s390-64/memcmp.S: New asm code.
35158 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35159 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35160 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35161 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35162 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35163 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35164 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35165 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35166 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35167 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35168 * sysdeps/s390/s390-32/memcpy.S: New asm code.
35169 * sysdeps/s390/s390-32/memset.S: New asm code.
35170 * sysdeps/s390/s390-32/memcmp.S: New asm code.
35171
3b05db33
MP
351722012-07-17 Marek Polacek <polacek@redhat.com>
35173
35174 [BZ #14349]
35175 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35176 * sysdeps/s390/s390-64/configure.in: Likewise.
35177 * sysdeps/sparc/configure.in: Likewise.
35178 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35179 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35180 * sysdeps/i386/configure.in: Likewise.
35181 * sysdeps/x86_64/configure.in: Likewise.
35182 * sysdeps/sh/configure.in: Likewise.
35183 * sysdeps/s390/s390-32/configure: Regenerated.
35184 * sysdeps/s390/s390-64/configure: Likewise.
35185 * sysdeps/x86_64/configure: Likewise.
35186 * sysdeps/sh/configure: Likewise.
35187 * sysdeps/powerpc/powerpc64/configure: Likewise.
35188 * sysdeps/powerpc/powerpc32/configure: Likewise.
35189 * sysdeps/sparc/configure: Likwise.
35190 * sysdeps/i386/configure: Likewise.
35191
a66877c6
MP
35192 * elf/dl-open.c: Comment fixes.
35193
cfc82fd8
JM
351942012-07-17 Joseph Myers <joseph@codesourcery.com>
35195
bd29910a
JM
35196 * Makefile [CXX] (check-data): Remove.
35197 [CXX] (c++-types.data): New vpath directive.
35198 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35199 vpath. Do not allow for C++ type data being missing.
35200 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35201 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35202 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35203 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35204 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35205 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35206 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35208 ... here.
35209 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35211 ... here.
35212 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35214 ... here.
35215 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35217 ... here.
35218 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35220 ... here.
35221 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35223 ... here.
35224 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35226 ... here.
35227 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35229
cfc82fd8
JM
35230 * elf/tls-macros.h (TLS_LE): Move architecture-specific
35231 definitions to architecture-specific files.
35232 (TLS_IE): Likewise.
35233 (TLS_LD): Likewise.
35234 (TLS_GD): Likewise.
35235 * sysdeps/i386/tls-macros.h: New file.
35236 * sysdeps/powerpc/tls-macros.h: Likewise.
35237 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35238 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35239 * sysdeps/sh/tls-macros.h: Likewise.
35240 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35241 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35242 * sysdeps/x86_64/tls-macros.h: Likewise.
35243
f7db3170
TS
352442012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35245
07cbfc23
TS
35246 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35247 zero value for regular exit case.
35248
f7db3170
TS
35249 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35250 (__start_context): Preserve zero value for regular exit case.
35251
dc97c227
TS
352522012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35253 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35254
35255 * manual/setjmp.texi (setcontext): Clarify normal process
35256 termination when uc_link is the null pointer.
35257 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35258 exit call.
35259
d0cd7d02
AS
352602012-07-16 Andreas Schwab <schwab@linux-m68k.org>
35261
35262 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35263 preprocessor. Test for each exception mask separately.
35264
dd318934
AJ
352652012-07-16 Andreas Jaeger <aj@suse.de>
35266
35267 * po/ru.po: Update from translation team.
35268
8048311a
JM
352692012-07-15 Joseph Myers <joseph@codesourcery.com>
35270
35271 * conform/data/string.h-data (NULL): Use macro-constant. Require
35272 equal to 0.
35273 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35274 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35275 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35276 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35277 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35278
b637d46e
AJ
352792012-07-13 Andreas Jaeger <aj@suse.de>
35280
35281 * po/fr.po: Update from translation team.
35282
541428fe
MP
352832012-07-12 Marek Polacek <polacek@redhat.com>
35284
35285 [BZ #14173]
35286 * math/libm-test.inc (yn_test): Add test for BZ #14173.
35287 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35288 loop condition.
35289
ec332e94
JM
352902012-07-12 Joseph Myers <joseph@codesourcery.com>
35291
35292 [BZ #13717]
35293 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35294 Change to 2.4.1 where previously 2.4.0.
35295 * sysdeps/unix/sysv/linux/configure: Regenerated.
35296 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35297 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35298 version.
35299 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35300 (__ASSUME_AT_CLKTCK): Remove.
35301 (__ASSUME_AT_PAGESIZE): Likewise.
35302 (__ASSUME_AT_XID): Likewise.
35303 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35304 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35305 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35306 unconditionally.
35307 (HAVE_AUX_PAGESIZE): Likewise.
35308 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35309 [__ASSUME_AT_CLKTCK]: Make code unconditional.
35310 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35311
7b6e99be
JB
353122012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
35313
35314 [BZ #14307]
35315 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35316 the temporary buffer used to invoke __gethostbyname2_r,
35317 __gethostbyaddr_r and gethostbyname4_r to make room for struct
35318 host_data / struct gaih_addrtuple.
35319 * resolv/nss_dns/dns-host.c (global scope): Move definition of
35320 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35321 header file nss/nsswitch.h.
35322 * nss/nsswitch.h (global scope): Add definition of implementation
35323 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35324 resolv/nss_dns/dns-host.c).
35325
608404eb
AJ
353262012-07-11 Andreas Jaeger <aj@suse.de>
35327
35328 * po/fr.po: Update from translation team.
35329
71220aca
AJ
35330 * po/sv.po: Update from translation team
35331 * po/fr.po: Another update from translation team.
35332
28cfe843
AZ
353332012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35334
35335 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35336 for subnormals or multiply small sinh result by itself.
35337 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35339
6b90f981
DM
353402012-07-11 David S. Miller <davem@davemloft.net>
35341
35342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35343
c6825772
AS
353442012-07-10 Andreas Schwab <schwab@linux-m68k.org>
35345
35346 [BZ #14347]
35347 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35348 (INTERNAL_MARK): Shift it here.
35349
7b8e0d49
MP
353502012-07-10 Marek Polacek <polacek@redhat.com>
35351
35352 [BZ #14151]
35353 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
35354 libc_cv_asm_global_directive with .globl.
35355 * configure: Regenerated.
35356 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35357 with .globl.
35358 * sysdeps/i386/configure: Regenerated.
35359 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35360 with .globl.
35361 * sysdeps/x86_64/configure: Regenerated.
35362 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35363 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35364 * elf/tst-unique2mod2.c: Likewise.
35365 * elf/tst-unique2mod1.c: Likewise.
35366 * elf/tst-unique1mod2.c: Likewise.
35367 * elf/tst-unique1mod1.c: Likewise.
35368 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35369 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35370 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35371 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35372 * sysdeps/mach/sysdep.h: Likewise.
35373 * sysdeps/i386/sysdep.h: Likewise.
35374 * sysdeps/i386/i386-mcount.S: Likewise.
35375 * sysdeps/x86_64/_mcount.S: Likewise.
35376 * sysdeps/x86_64/sysdep.h: Likewise.
35377 * sysdeps/sh/_mcount.S: Likewise.
35378 * sysdeps/sh/sysdep.h: Likewise.
35379 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35380 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35381 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35382 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35383 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35384 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35385 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35386 * locale/localeinfo.h: Likewise.
35387 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35388 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35389
6c55cda3
RM
353902012-07-09 Roland McGrath <roland@hack.frob.com>
35391
35392 [BZ #14336]
35393 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35394 system".
35395 * manual/message.texi (The Uniforum approach): Likewise.
35396 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35397 (glibc iconv Implementation): Likewise.
35398
638a572e
JM
353992012-07-09 Joseph Myers <joseph@codesourcery.com>
35400
35401 [BZ #14337]
35402 * math/s_clog.c (__clog): Avoid scaling a value down where that
35403 could result in underflow.
35404 * math/s_clog10.c (__clog10): Likewise.
35405 * math/s_clog10f.c (__clog10f): Likewise.
35406 * math/s_clog10l.c (__clog10l): Likewise.
35407 * math/s_clogf.c (__clogf): Likewise.
35408 * math/s_clogl.c (__clogl): Likewise.
35409 * math/libm-test.inc (clog_test): Add more tests.
35410 (clog10_test): Likewise.
35411 * sysdeps/i386/fpu/libm-test-ulps: Update.
35412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35413
261f4859
AS
354142012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35415
0abaf3e4
AS
35416 [BZ #14283]
35417 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35418 by 7 not 8 to examine high bit of fractional part.
35419
261f4859
AS
35420 [BZ #14042]
35421 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35422 for call to __mcount_internal.
35423 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35424 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35425 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35426
f17ac40d
JM
354272012-07-06 Joseph Myers <joseph@codesourcery.com>
35428
9ad63c23
JM
35429 [BZ #14154]
35430 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35431 approximation for values within 0x1p-13f of an odd multiple of
35432 pi/4.
35433 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35434 exception. Add more tests.
35435 * sysdeps/i386/fpu/libm-test-ulps: Update.
35436
f17ac40d
JM
35437 [BZ #6778]
35438 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35439 inputs and return -1 for them. Do not check for +Inf in case not
35440 reachable for +Inf.
35441 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35442 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35443 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35444 and return -1 for them. Do not check for +Inf in case not
35445 reachable for +Inf.
35446 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35447 define.
35448 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35449 and return -1 for them. Do not check for +Inf in case not
35450 reachable for +Inf.
35451 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35452 spurious underflow.
35453 * sysdeps/i386/fpu/libm-test-ulps: Update.
35454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35455
fb21f89b
MF
354562012-07-06 Mike Frysinger <vapier@gentoo.org>
35457
35458 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35459
cdfe2c5e
JM
354602012-07-05 Joseph Myers <joseph@codesourcery.com>
35461
35462 [BZ #14157]
35463 [BZ #14331]
35464 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35465 could result in spurious underflow. Scale down values above
35466 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35467 * math/s_csqrtf.c (__csqrtf): Likewise.
35468 * math/s_csqrtl.c (__csqrtl): Likewise.
35469 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35470 spurious underflow.
35471 * sysdeps/i386/fpu/libm-test-ulps: Update.
35472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35473
70d35b67
AS
354742012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35475
704bc459
AS
35476 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35477 xopen-msg.sed.
35478 * catgets/xopen-msg.awk: New file.
35479 * catgets/xopen-msg.sed: Removed.
35480
70d35b67
AS
35481 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35482 po2text.sed.
35483 * intl/po2test.awk: New file.
35484 * intl/po2test.sed: Removed.
35485
ca61cf32
JM
354862012-07-04 Joseph Myers <joseph@codesourcery.com>
35487
35488 [BZ #14328]
35489 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35490 or multiply small sinh result by itself.
35491 * math/s_ctanf.c (__ctanf): Likewise.
35492 * math/s_ctanh.c (__ctanh): Likewise.
35493 * math/s_ctanhf.c (__ctanhf): Likewise.
35494 * math/s_ctanhl.c (__ctanhl): Likewise.
35495 * math/s_ctanl.c (__ctanl): Likewise.
35496 * math/libm-test.inc (ctan_test_tonearest): New function.
35497 (ctan_test_towardzero): Likewise.
35498 (ctan_test_downward): Likewise.
35499 (ctan_test_upward): Likewise.
35500 (ctanh_test_tonearest): Likewise.
35501 (ctanh_test_towardzero): Likewise.
35502 (ctanh_test_downward): Likewise.
35503 (ctanh_test_upward): Likewise.
35504 (main): Call these new functions.
35505 * sysdeps/i386/fpu/libm-test-ulps: Update.
35506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35507
ca48a46a
MF
355082012-07-03 Mike Frysinger <vapier@gentoo.org>
35509
35510 * .gitignore: Delete /ports entry.
35511
9d63d37d
AJ
355122012-07-03 Andreas Jaeger <aj@suse.de>
35513
35514 * po/bg.po: Update from translation team.
35515 * po/cs.po: Likewise.
35516 * po/de.po: Likewise.
35517 * po/hr.po: Likewise.
35518 * po/nl.pl: Likewise.
35519 * po/pl.po: Likewise.
35520 * po/vi.po: Likewise.
35521
370ca3d2
JM
355222012-07-03 Joseph Myers <joseph@codesourcery.com>
35523
95f5a9a8
JM
35524 * Makeconfig [!+link] (+link-before-libc): New variable.
35525 [!+link] (+link-after-libc): Likewise.
35526 [!+link] (+link-tests): Likewise.
35527 [!+link] (+link): Define in terms of $(+link-before-libc) and
35528 $(+link-after-libc).
35529 [!+link-static] (+link-static-before-libc): New variable.
35530 [!+link-static] (+link-static-after-libc): Likewise.
35531 [!+link-static] (+link-static-tests): Likewise.
35532 [!+link-static] (+link-static): Define in terms of
35533 $(+link-static-before-libc) and $(+link-static-after-libc).
35534 [build-shared] (link-libc-before-gnulib): New variable.
35535 [build-shared] (link-libc-tests): Likewise.
35536 [build-shared] (link-libc): Define in terms of
35537 $(link-libc-before-gnulib).
35538 [!build-shared] (link-libc-tests): New variable.
35539 (link-libc-static-tests): New variable.
35540 [!gnulib] (gnulib-arch): New variable.
35541 [!gnulib] (gnulib-tests): Likewise.
35542 [!gnulib] (static-gnulib-arch): Likewise.
35543 [!gnulib] (static-gnulib-tests): Likewise.
35544 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35545 Define with "=" instead of ":=".
35546 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35547 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35548 * Rules (binaries-all-notests): New variable.
35549 (binaries-all-tests): Likewise.
35550 (binaries-static-notests): Likewise.
35551 (binaries-static-tests): Likewise.
35552 (binaries-all): Define using $(binaries-all-notests) and
35553 $(binaries-all-tests).
35554 (binaries-static): Define using $(binaries-static-notests) and
35555 $(binaries-static-tests).
35556 (binaries-shared-tests): New variable.
35557 (binaries-shared-notests): Likewise.
35558 (binaries-shared): Remove variable.
35559 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35560 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35561 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35562 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35563 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35564 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35565 * elf/Makefile (sln-modules): New variable.
35566 (extra-objs): Add $(sln-modules:=.o).
35567 (ldconfig-modules): Add static-stubs.
35568 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35569 * elf/static-stubs.c: New file.
35570
7a845b2c
JM
35571 [BZ #14283]
35572 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35573 by 7 not 8 to examine high bit of fractional part. Use volatile
35574 variables when splitting into final array of floats if
35575 __FLT_EVAL_METHOD__ != 0.
35576 * math/libm-test.inc (cos_test): Add another test.
35577 (sin_test): Likewise.
35578 * sysdeps/i386/fpu/libm-test-ulps: Update.
35579
e2283f38
JM
35580 [BZ #14273]
35581 * math/libm-test.inc (cosh_test): Add more tests.
35582
370ca3d2
JM
35583 * version.h (RELEASE): Set to "development".
35584 (VERSION): Set to "2.16.90".
35585
ee9247c3
CD
355862012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
35587
35588 * NEWS: Update copyright. Remove last-updated date.
35589 Mention math library bug fixes and timezone data changes.
35590 * README: Mention GNU/Hurd, x32, and HPPA support status.
35591
4648c381
TS
355922012-06-28 Thomas Schwinge <thomas@codesourcery.com>
35593
35594 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35595
aac78a43
AJ
355962012-06-27 Andreas Jaeger <aj@suse.de>
35597
35598 * manual/contrib.texi (Contributors): Add Samuel Thibault.
35599
ed3dbfad
AJ
356002012-06-25 Andreas Jaeger <aj@suse.de>
35601
35602 * sysdeps/s390/fpu/libm-test-ulps: Update.
35603
4d0ee855
AS
356042012-06-23 Andreas Schwab <schwab@linux-m68k.org>
35605 Thomas Schwinge <thomas@codesourcery.com>
35606
35607 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35608 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35609 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35610 fanotify_mark.
35611
af1bce34
TS
356122012-06-23 Thomas Schwinge <thomas@codesourcery.com>
35613
a9fa33ba
TS
35614 * sysdeps/mach/start.c: Remove file.
35615 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35616 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35617 * sysdeps/sh/init-first.c: Likewise.
35618
58f902b8
TS
35619 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35620 registers for frame unwinding purposes, add CFI directives.
35621 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35622 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35623 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35624 Likewise.
35625
1518f58b
TS
35626 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35627 __fortify_fail returning.
35628 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35629
db9b5059
TS
35630 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35631 sysdeps/sh/____longjmp_chk.S.
35632 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35633 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35634 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35635 (gen-as-const-headers): Append sigaltstack-offsets.sym.
35636
967705fe
TS
35637 * sysdeps/sh/abort-instr.h: New file.
35638 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35639 process in case exit returns.
35640
a9def8c4
TS
35641 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35642 initialize the GOT register before use.
35643
2a649725
TS
35644 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35645 calculation of ARGC > 4.
35646
af1bce34
TS
35647 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35648 meaningful names to some local labels.
35649
d230f50a
KK
356502012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35651 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35652
35653 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35654 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35655 (__arch_compare_and_exchange_val_16_acq): Likewise.
35656 (__arch_compare_and_exchange_val_32_acq): Likewise.
35657 (atomic_exchange_and_add): Fix gUSA sequence.
35658 (atomic_add): Likewise.
35659 (atomic_add_negative): Likewise.
35660 (atomic_add_zero): Likewise.
35661 (atomic_bit_test_set): Likewise.
35662
0479b305
AS
356632012-06-22 Andreas Schwab <schwab@redhat.com>
35664
35665 [BZ #13579]
35666 * include/link.h (struct link_map): Add l_free_initfini.
35667 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35668 l_initfini.
35669 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35670 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35671 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35672 set.
35673
0e3933b9
CD
356742012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
35675
35676 * configure.in: Use AC_LANG_SOURCE.
35677 * configure: Regenerate.
35678
4248b1b1
RM
356792012-06-22 Roland McGrath <roland@hack.frob.com>
35680
35681 * configure.in (libc_cv_localstatedir): New substituted variable.
35682 * configure: Regenerated.
35683 * config.make.in (localstatedir): New variable, substituted from
35684 libc_cv_localstatedir.
35685 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35686 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35687 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35688 * sysdeps/gnu/configure: Regenerated.
35689
006dd861
JL
356902012-06-21 Jeff Law <law@redhat.com>
35691
35692 [BZ #14277]
35693 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35694 free. Simplify list management for _LIBC case.
35695
79662d42
JM
356962012-06-21 Joseph Myers <joseph@codesourcery.com>
35697
b7abb4bf
JM
35698 [BZ #14273]
35699 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35700 Clear sign bit of 64-bit integer value before comparing against
35701 overflow value.
35702
79662d42
JM
35703 * sysdeps/mach/configure: Regenerated.
35704
1f150908
L
357052012-06-21 H.J. Lu <hongjiu.lu@intel.com>
35706
35707 [BZ #14278]
35708 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35709
28363bbf
JL
357102012-06-21 Jeff Law <law@redhat.com>
35711
35712 [BZ #13882]
35713 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
35714 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 35715 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
35716 * elf/dl-open.c (dl_open_worker): Likewise.
35717
09615db4
CD
357182012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
35719
35720 * scripts/list-sources.sh: Scan PORTS for translations.
35721 * po/libc.pot: Regenerated.
35722
2174c6dd
AJ
357232012-06-21 Andreas Jaeger <aj@suse.de>
35724
35725 [BZ #12194]
35726 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35727 warning.
35728 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35729 * bits/byteswap-16.h (__bswap_16): Likewise.
35730 * bits/byteswap.h (__bswap_constant_16): Likewise.
35731
3ee947b1
L
357322012-06-18 H.J. Lu <hongjiu.lu@intel.com>
35733
35734 [BZ #14117]
a2f34833
L
35735 * sysdeps/i386/fpu_control.h: Removed.
35736 * sysdeps/x86_64/fpu_control.h: Moved to ...
35737 * sysdeps/x86/fpu_control.h: Here.
35738
3ee947b1
L
35739 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35740 (_FPU_SETCW): Likewise.
35741
ed1825f8
L
357422012-06-15 H.J. Lu <hongjiu.lu@intel.com>
35743
25f1282a
L
35744 [BZ #14117]
35745 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35746 * sysdeps/x86/fpu/bits/mathinline.h: This.
35747 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35748
ed1825f8
L
35749 [BZ #14050]
35750 [BZ #14117]
35751 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35752 functions if __x86_64__ is defined.
35753
36d54b74
CLT
357542012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
35755
35756 * string/endian.h: Add !__ASSEMBLER__ condition for including
35757 conversion interfaces.
35758
10285c21
JM
357592012-06-15 Joseph Myers <joseph@codesourcery.com>
35760
35761 [BZ #14241]
35762 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35763 of ABS(x) in calculating zero to negative powers other than odd
35764 integers.
35765 * math/libm-test.inc (pow_test): Add more tests.
35766
06c5abbd
AJ
357672012-06-15 Andreas Jaeger <aj@suse.de>
35768
35769 * manual/contrib.texi (Contributors): Update entry of Liubov
35770 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35771 Machado Filho.
35772
a3aeac40
CH
357732012-06-15 Cyril Hrubis <metan@ucw.cz>
35774
35775 * string/string.h: Add __wur to GNU version of strerror_r.
35776
49bdf4c1
L
357772012-06-14 H.J. Lu <hongjiu.lu@intel.com>
35778
35779 [BZ #14229]
35780 * string/Makefile (tests): Add tst-strtok_r.
35781 * string/tst-strtok_r.c: New file.
35782 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35783 RAX_LP/RDX_LP on SAVE_PTR.
35784
834f9b8d
RM
357852012-06-14 Roland McGrath <roland@hack.frob.com>
35786
35787 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35788
75fa1921
JM
357892012-06-14 Joseph Myers <joseph@codesourcery.com>
35790
35791 * libm_test.inc (csqrt_test): Allow more spurious underflow
35792 exceptions.
35793 (j0_test): Likewise.
35794 (j1_test): Likewise.
35795 (y0_test): Likewise.
35796 (y1_test): Likewise.
35797
771766df
CD
357982012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
35799
35800 * po/Makefile (libc.pot): Use UTF-8 charset.
35801
ceb9e56b
PP
358022012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
35803
35804 [BZ #14210]
35805 Suppress sign-conversion warning from FD_SET.
35806 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35807 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35808 not unsigned long int.
35809 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35810
ddb28975
L
358112012-06-12 H.J. Lu <hongjiu.lu@intel.com>
35812
35813 [BZ #14050]
35814 [BZ #14117]
35815 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35816 __extern_always_inline instead of __extern_inline.
35817 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35818 (__signbit): Likewise.
35819 (__signbitl): Support C++ namespace.
35820 (lrintf): New inline function.
35821 (lrint): Likewise.
35822 (llrintf): Likewise.
35823 (llrint): Likewise.
35824 (fmaxf): Likewise.
35825 (fmax): Likewise.
35826 (fminf): Likewise.
35827 (fmin): Likewise.
35828 (rint): Likewise.
35829 (rintf): Likewise.
35830 (ceil): Likewise.
35831 (ceilf): Likewise.
35832 (floor): Likewise.
35833 (floorf): Likewise.
35834 (nearbyint): Likewise.
35835 (nearbyintf): Likewise.
35836
d7b4fb26
TS
358372012-06-12 Thomas Schwinge <thomas@codesourcery.com>
35838
35839 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35840 non-default versions.
35841
eb55f5c2
RM
358422012-06-11 Roland McGrath <roland@hack.frob.com>
35843
35844 [BZ #14218]
35845 * manual/argp.texi (Argp): Reword argp_parse description slightly.
35846
366af02c
TS
358472012-06-09 Thomas Schwinge <thomas@codesourcery.com>
35848
99ff6e5c
TS
35849 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35850 (FE_UPWARD, FE_DOWNWARD): Don't define.
35851 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35852 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35853
366af02c
TS
35854 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35855 reading it.
35856 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35857 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35858
793ea851
KK
358592012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35860
35861 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35862 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35863 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35864 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35865
a728a38f
L
358662012-06-06 H.J. Lu <hongjiu.lu@intel.com>
35867
35868 [BZ #14117]
c08010c7
L
35869 * sysdeps/i386/fpu/bits/fenv.h: Removed.
35870 * sysdeps/i386/fpu/Implies: New file.
35871 * sysdeps/x86_64/fpu/Implies: Likewise.
35872 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35873 * sysdeps/x86/fpu/bits/fenv.h: This.
35874
a728a38f
L
35875 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35876 __SSE_MATH__.
35877
6e230d11
SP
358782012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35879
35880 [BZ #14134]
35881 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35882 character 0xffff that matches the last element of the
35883 conversion table.
35884
1b671feb
AZ
358852012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35886
35887 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35888 fmodl commit.
35889
6043738b
AZ
358902012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35891
35892 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35893 values higher than 25.6283.
35894
34ae0b32
AZ
358952012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35896
35897 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35898 subnormal exponent extraction and add some __builtin_expect.
35899 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35900 Fix for subnormal mantissa calculation.
35901
1214ec8f
MF
359022012-06-04 Mike Frysinger <vapier@gentoo.org>
35903
35904 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35905 cpu2 is -1 and errno is not ENOSYS.
35906
f3d1f93c
L
359072012-06-04 H.J. Lu <hongjiu.lu@intel.com>
35908
35909 [BZ #14117]
0e4a3cd7
L
35910 * sysdeps/i386/i486/bits/string.h: Renamed to ...
35911 * sysdeps/x86/bits/string.h: This.
35912 * sysdeps/x86_64/bits/string.h: Removed.
35913
6704c645
L
35914 * sysdeps/i386/i486/bits/string.h: Define inline functions only
35915 if not compiling for x86-64, but compiling for >= i486.
35916
48495318
L
35917 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35918 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35919
14adcbfc
L
35920 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35921 New macro from Linux kernel 3.4.0.
35922 (FP_XSTATE_MAGIC2): Likewise.
35923 (FP_XSTATE_MAGIC2_SIZE): Likewise.
35924 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35925 (struct _fpx_sw_bytes): New struct.
35926 (struct _xsave_hdr): Likewise.
35927 (struct _ymmh_state): Likewise.
35928 (struct _xstate): Likewise.
35929
68e408ab
L
35930 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35931 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35932 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35933 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35934 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35935 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35936
f3d1f93c
L
35937 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35938 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35939 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35940 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35941 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35942 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35943
d9dc34cd
TMQMF
359442012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35945
35946 [BZ #13743]
35947 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
35948 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
35949 (sysdep_headers): Include sys/platform/ppc.h.
35950 * sysdeps/powerpc/test-gettimebase.c: Test for
35951 __ppc_get_timebase() to catch future ISA opcode/insn changes.
35952 * manual/Makefile (appendices): Include platform.texi.
35953 * manual/contrib.texi (Contributors): Update @node pointers.
35954 * manual/maint.texi (Maintenance): Likewise.
35955 (Platform): New node.
35956 * manual/platform.texi: New file. Document the new features.
35957
4af3879c
SP
359582012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35959 Jakub Jelinek <jakub@redhat.com>
35960
35961 [BZ #14188]
35962 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
35963 where __builtin_expect is unavailable.
35964
2fd6ff13
DM
359652012-06-03 David S. Miller <davem@davemloft.net>
35966
35967 * stdlib/longlong.h: Updated from GCC.
35968
173f7220
AS
359692012-06-02 Andreas Schwab <schwab@linux-m68k.org>
35970
35971 [BZ #14042]
35972 * sysdeps/powerpc/powerpc32/mcount.c: New file.
35973 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35974 __mcount_internal.
35975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35976 (GLIBC_2.16): Likewise.
35977
f34a1c6f
L
359782012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35979
35980 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35981
88a4576f
JM
359822012-06-01 Joseph Myers <joseph@codesourcery.com>
35983
ea32bcdd
JM
35984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35985 (default-abi): New variable.
35986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35987 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35988 variable.
35989 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35990 Likewise.
35991 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35992 Likewise.
35993 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35994 Likewise.
35995
88a4576f
JM
35996 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35997 definition. Document in comment.
35998
402fe938
DM
359992012-06-01 David S. Miller <davem@davemloft.net>
36000
36001 * stdlib/longlong.h: Updated from GCC.
36002
3553723f
L
360032012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36004
36005 [BZ #14117]
3bd872c4
L
36006 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
36007 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
36008 sys/debugreg.h sys/io.h here.
36009 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
36010 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
36011 sys/io.h.
36012 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
36013 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
36014 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
36015 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
36016 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
36017 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
36018
3553723f
L
36019 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
36020 Define only if __x86_64__ is defined.
36021
4842e4fe
JM
360222012-06-01 Joseph Myers <joseph@codesourcery.com>
36023
c5bfe3d5
JM
36024 [BZ #14048]
36025 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
36026 Use int64_t for variable i.
36027 * math/libm-test.inc (fmod_test): Add more tests.
36028
4842e4fe
JM
36029 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
36030 z computation is not scheduled after fetestexcept.
36031 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
36032 Use math_force_eval instead of asm to ensure calculation scheduled
36033 before exception test.
36034 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
36035 Ensure a1 + u.d computation is not scheduled after fetestexcept.
36036
efb73488
AJ
360372012-06-01 Aurelien Jarno <aurelien@aurel32.net>
36038
36039 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
36040 computation is not scheduled after fetestexcept.
36041
29bcce7c
L
360422012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36043
36044 [BZ #14117]
36045 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
36046 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
36047
73a68f94
AZ
360482012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36049
36050 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
36051 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36052
67b6df78
L
360532012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36054
edf2933a 36055 [BZ #14117]
ebc64a18
L
36056 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
36057 <bits/wordsize.h>.
36058 (__WCHAR_MIN): Support __WORDSIZE == 64.
36059 (__WCHAR_MAX): Likewise.
36060
edf2933a
L
36061 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
36062 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
36063
57c6cf40
L
36064 [BZ #14183]
36065 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
36066 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
36067
67b6df78 36068 [BZ #14117]
8eb6281e
L
36069 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
36070 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
36071
aac639f4
L
36072 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
36073 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
36074
67b6df78
L
36075 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
36076 Defined to 1 if __x86_64__ isn't defined.
36077 (_STAT_VER_LINUX_OLD): New.
36078 (st_atime): Remove duplicate.
36079 (st_mtime): Likewise.
36080 (st_ctime): Likewise.
36081
1c2cfe81
DM
360822012-05-31 David S. Miller <davem@davemloft.net>
36083
36084 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
36085 entries.
36086
5be8418c
AS
360872012-06-01 Andreas Schwab <schwab@linux-m68k.org>
36088
e7725326
AS
36089 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36090 gen-libm-test.pl.
36091
5be8418c
AS
36092 [BZ #14132]
36093 * elf/dl-reloc.c: Include <_itoa.h>.
36094 (_dl_reloc_bad_type): Remove use of INTUSE.
36095 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36096 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36097 * stdio-common/psiginfo.c (psiginfo): Likewise.
36098 * stdio-common/psignal.c (psignal): Likewise.
36099 * string/strsignal.c (strsignal): Likewise.
36100 * include/signal.h (_sys_siglist): Declare hidden proto.
36101 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
36102 INTVARDEF with libc_hidden_data_def.
36103 * stdio-common/itoa-udigits.c: Likewise.
36104 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36105 (_itoa_lower_digits_internal): Remove declaration.
36106 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36107 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36108 (_sys_sigabbrev_internal): Remove aliases.
36109 (_sys_siglist): Define hidden alias.
36110
507352f1
MT
361112012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
36112
36113 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36114 bits/sysctl.h.
36115
42bbb1c3
L
361162012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36117
36118 [BZ #14117]
6bd784b6
L
36119 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36120 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36121
8bca20f0
L
36122 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36123 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36124 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36125 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36126 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36127 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36128
f9e890a9
L
36129 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36130 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36131 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36132
471101a1
L
36133 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36134 with __addr.
36135 (insw): Likewise.
36136 (insl): Likewise.
36137 (outsb): Likewise.
36138 (outsw): Likewise.
36139 (outsl): Likewise.
36140
6451c862
L
36141 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36142 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36143 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36144
a254b8c9
L
36145 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36146 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36147 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36148 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36149 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36150 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36151
b8dfdd92
L
36152 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36153 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36154
578cd270
L
36155 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36156 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36157
de662f5f
L
36158 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36159 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36160 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36161
25653439
L
36162 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36163 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36164 to ...
36165 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36166
6bad24a0
L
36167 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36168 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36169 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36170
42bbb1c3
L
36171 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36172 for x86-64.
36173 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36174
2d10d547
JM
361752012-05-31 Joseph Myers <joseph@codesourcery.com>
36176
36177 * math/math.h (M_El): Use two more decimal places.
36178 (M_LOG2El): Likewise.
36179 (M_LOG10El): Likewise.
36180 (M_LN2l): Likewise.
36181 (M_LN10l): Likewise.
36182 (M_PIl): Likewise.
36183 (M_PI_2l): Likewise.
36184 (M_PI_4l): Likewise.
36185 (M_1_PIl): Likewise.
36186 (M_2_PIl): Likewise.
36187 (M_2_SQRTPIl): Likewise.
36188 (M_SQRT2l): Likewise.
36189 (M_SQRT1_2l): Likewise.
36190
f230c29b
DM
361912012-05-31 David S. Miller <davem@davemloft.net>
36192
36193 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36194 values between float registers.
36195 * sysdeps/sparc/sparc64/memset.S: Likewise.
36196 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36197
fed806c3
MF
361982012-05-31 Mike Frysinger <vapier@gentoo.org>
36199
36200 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36201 -D_FORTIFY_SOURCE=1.
36202 (CPPFLAGS-tst-longjmp_chk.c): Define.
36203 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36204 (CPPFLAGS-tst-longjmp_chk2.c): Define.
36205 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36206 CFLAGS-tst-wchar-h.c.
36207
30917259
MP
362082012-05-31 Marek Polacek <polacek@redhat.com>
36209
36210 [BZ #14132]
36211 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36212 __endmntent_internal): Remove declaration.
36213 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36214 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36215 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36216
1c58d5dc
DM
362172012-05-30 David S. Miller <davem@davemloft.net>
36218
36219 * sysdeps/sparc/sparc32/soft-fp/q_util.c
36220 (___Q_simulate_exceptions): Use real FP ops rather than writing
36221 into the %fsr.
36222 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36223 Likewise.
36224
7dc00e0d
L
362252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36226
36227 [BZ #14117]
0bd53985
L
36228 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36229 * sysdeps/x86/bits/xtitypes.h: This.
36230
3a257e66
L
36231 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36232 * sysdeps/x86/bits/wordsize.h: This.
36233
62f62904
L
36234 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36235 * sysdeps/x86/bits/huge_vall.h: This.
36236
404fe9d9
L
36237 * sysdeps/i386/bits/select.h: Removed.
36238 * sysdeps/x86_64/bits/select.h: Renamed to ...
36239 * sysdeps/x86/bits/select.h: This.
36240
d48d0446
L
36241 * sysdeps/i386/bits/setjmp.h: Removed.
36242 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36243 * sysdeps/x86/bits/setjmp.h: This.
36244
7dc00e0d
L
36245 * sysdeps/i386/bits/mathdef.h: Removed.
36246 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36247 * sysdeps/x86/bits/mathdef.h: This.
36248
03277f8f
AS
362492012-05-30 Andreas Schwab <schwab@linux-m68k.org>
36250
36251 [BZ #14132]
36252 * include/sys/socket.h (__connect_internal)
36253 (__libc_sa_len_internal): Remove declaration.
36254 (__connect, __libc_sa_len): Declare hidden_proto.
36255 (SA_LEN): Remove use of INTUSE.
36256 * socket/connect.c: Add libc_hidden_def.
36257 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36258 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36259 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36260 alias.
36261 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36262 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36263 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36264 of adding _internal alias.
36265
13764867
L
362662012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36267
36268 [BZ #14117]
6bd97696
L
36269 * sysdeps/i386/bits/link.h: Removed.
36270 * sysdeps/i386/bits/linkmap.h: Likewise.
36271 * sysdeps/x86_64/bits/link.h: Renamed to ...
36272 * sysdeps/x86/bits/link.h: This.
36273 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36274 * sysdeps/x86/bits/linkmap.h: This.
36275
f726f0bb
L
36276 * sysdeps/i386/bits/endian.h: Removed.
36277 * sysdeps/x86_64/bits/endian.h: Renamed to ...
36278 * sysdeps/x86/bits/endian.h: This.
36279
13764867
L
36280 * sysdeps/i386/bits/byteswap.h: Removed.
36281 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36282 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36283 * sysdeps/x86/bits/byteswap.h: This.
36284 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36285 * sysdeps/x86/bits/byteswap-16.h: This.
36286 * sysdeps/i386/Implies: Add x86.
36287 * sysdeps/x86_64/Implies: Likewise.
36288
ae251b0b
DM
362892012-05-30 David S. Miller <davem@davemloft.net>
36290
36291 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36292 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36293 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36294 (FP_TRAPPING_EXCEPTIONS): Define.
36295 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36296 (FP_TRAPPING_EXCEPTIONS): Define.
36297 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36298 subnormals only when inexact has been signalled or underflow
36299 exceptions are enabled.
36300 (_FP_PACK_CANONICAL): Likewise.
36301
d5c90867
L
363022012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36303
36304 [BZ #14183]
36305 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36306 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36307
63f1549e
RH
363082012-05-30 Richard Henderson <rth@twiddle.net>
36309
8d8f2279
RH
36310 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36311 with #ifndef NOT_IN_libc.
36312
63f1549e
RH
36313 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
36314 marked to avoid plt entry.
36315
0ab0291b
L
363162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36317
36318 [BZ #14112]
36319 * Makeconfig (default-abi): New macro.
36320 (abi-includes): Likewise.
36321 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
36322 $(abi-$(default-abi)-lib-soname) for soname if defined.
36323 ($(common-objpfx)gnu/lib-names.stmp): Generate from
36324 abi-variants.
36325 * Makefile (installed-stubs): Likewise.
36326 * include/stubs-biarch.h: Removed.
36327 * scripts/lib-names.awk: Only handle one library at a time.
36328 * scripts/soversions.awk: Remove WORDSIZE support.
36329 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36330 entries.
36331 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36332 Removed.
36333 (syscall-list-default-condition): Likewise.
36334 (syscall-list-default-condition): Likewise.
36335 (syscall-list-includes): Likewise.
36336 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36337 syscall-list-* with abi-*. Handle undefined abi-variants.
36338 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36339 * sysdeps/unix/sysv/linux/i386/Implies: New file.
36340 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36341 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36342 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36343 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36344 Removed.
36345 (syscall-list-32-options): Likewise.
36346 (syscall-list-32-condition): Likewise.
36347 (syscall-list-64-options): Likewise.
36348 (syscall-list-64-condition): Likewise.
36349 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36350 macro.
36351 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36352 Renamed to ...
36353 (abi-*): This.
36354 (abi-64-ld-soname): New macro.
36355 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36356 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36357 Renamed to ...
36358 (abi-*): This.
36359 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36360 * sysdeps/x86_64/x32/shlib-versions: Likewise.
36361
4da0431d
JM
363622012-05-30 Joseph Myers <joseph@codesourcery.com>
36363
3a85279c
JM
36364 * sysdeps/unix/sysv/linux/kernel-features.h
36365 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36366 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36367 include <kernel-features.h>.
36368 [!__NR_ftruncate64]: Remove conditional code.
36369 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36370 [__NR_ftruncate64]: Make code unconditional.
36371 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36372 * sysdeps/unix/sysv/linux/truncate64.c: Do not
36373 include <kernel-features.h>.
36374 [!__NR_ftruncate64]: Remove conditional code.
36375 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36376 [__NR_ftruncate64]: Make code unconditional.
36377 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36379 include <kernel-features.h>.
36380 [!__NR_ftruncate64]: Remove conditional code.
36381 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36382 [__NR_ftruncate64]: Make code unconditional.
36383 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36385 include <kernel-features.h>.
36386 [!__NR_ftruncate64]: Remove conditional code.
36387 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36388 [__NR_ftruncate64]: Make code unconditional.
36389 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36390
4da0431d
JM
36391 * configure.in (libc_cv_fpie): Weaken to a compile test using
36392 LIBC_TRY_CC_OPTION.
36393 * configure: Regenerated.
36394
11ef492c
AK
363952012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36396
36397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36401 Refreshed.
36402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36408 Refreshed.
36409
d66ef399
DM
364102012-05-27 David S. Miller <davem@davemloft.net>
36411
36412 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36413 (___Q_zero): New.
36414 (__Q_simulate_exceptions): Return void. Change to simulate
36415 exceptions by writing into the %fsr.
36416 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36417 (__Qp_handle_exceptions): Likewise.
36418 (numbers): Delete.
36419 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36420 __Qp_handle_exceptions.
36421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36422 __Qp_handle_exceptions.
36423 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36424 as unused and give dummy FP_RND_NEAREST initializer.
36425 (FP_INHIBIT_RESULTS): Define.
36426 (___Q_simulate_exceptions): Update declaration.
36427 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36428 formatting.
36429 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36430 as unused and give dummy FP_RND_NEAREST initializer.
36431 (__Qp_handle_exceptions): Update declaration.
36432 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36433 formatting.
36434
04fb54b5
TS
364352012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36436
36437 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36438 the temporary FPU control word.
36439 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36440 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36441 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36442 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36443 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36444 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36445 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36446 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36447 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36448 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36449 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36450
3f99608f
KK
364512012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36452
36453 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36454 fields.
36455
65a4de4e
CLT
364562012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36457
36458 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36459 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36460 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36461 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36462 Likewise.
36463 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36464 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36465 Likewise.
36466
15749d40
UD
364672012-05-27 Ulrich Drepper <drepper@gmail.com>
36468
36469 * po/h.po: Update from translation team.
36470
25dbcb27
AS
364712012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36472
3d3f8e55
AS
36473 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36474
25dbcb27
AS
36475 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36476 handling of denormals.
36477 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36478 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36479 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36480 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36481 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36482 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36483 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36484 Likewise.
36485
7ad47a80 364862012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
36487
36488 [BZ #14152]
36489 * math/libm-test.inc (fma_test): Don't always expect underflow
36490 exception.
36491
9c6ea9fa
SP
364922012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36493
36494 [BZ #12416]
36495 * elf/tst-execstack.c: Include stackinfo.h.
36496 (do_test): Adjust test case to ensure that pthread_getattr_np
36497 behaviour remains the same after marking stack executable.
36498
a8239222
JM
364992012-05-25 Joseph Myers <joseph@codesourcery.com>
36500
36501 * sysdeps/unix/sysv/linux/kernel-features.h
36502 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36503 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36504 kernel-features.h.
36505 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36506 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36507 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36508 kernel-features.h.
36509 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36510 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36511
918b5606
L
365122012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36513
36514 * configure.in: Define the default includes to being none.
36515 * configure: Regenerated.
36516
3a097cc7
RM
365172012-05-25 Roland McGrath <roland@hack.frob.com>
36518
8422c9a5
RM
36519 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36520 * sysdeps/x86_64/setjmp.S: Likewise.
36521 * sysdeps/i386/bsd-setjmp.S: Likewise.
36522 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36523 * sysdeps/i386/setjmp.S: Likewise.
36524 * sysdeps/i386/__longjmp.S: Likewise.
36525 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36526 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36527
3a097cc7
RM
36528 * include/stap-probe.h: New file.
36529 * configure.in: Handle --enable-systemtap.
36530 * configure: Regenerated.
36531 * config.h.in (USE_STAP_PROBE): New #undef.
36532 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36533 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36534 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36535
21708942
JM
365362012-05-25 Joseph Myers <joseph@codesourcery.com>
36537
36538 [BZ #13717]
36539 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36540 to 2.4.0 where earlier.
36541 * sysdeps/unix/sysv/linux/configure: Regenerated.
36542 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36543 <kernel-features.h>.
36544 [__ASSUME_32BITUIDS]: Make code unconditional.
36545 [!__ASSUME_32BITUIDS]: Remove conditional code.
36546 * sysdeps/unix/sysv/linux/i386/fchown.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/fchownat.c (fchownat)
36551 [__ASSUME_32BITUIDS]: Make code unconditional.
36552 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36553 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36554 <kernel-features.h>.
36555 [__ASSUME_32BITUIDS]: Make code unconditional.
36556 [!__ASSUME_32BITUIDS]: Remove conditional code.
36557 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36558 <kernel-features.h>.
36559 [__ASSUME_32BITUIDS]: Make code unconditional.
36560 [!__ASSUME_32BITUIDS]: Remove conditional code.
36561 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36562 <kernel-features.h>.
36563 [__ASSUME_32BITUIDS]: Make code unconditional.
36564 [!__ASSUME_32BITUIDS]: Remove conditional code.
36565 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36566 <kernel-features.h>.
36567 [__ASSUME_32BITUIDS]: Make code unconditional.
36568 [!__ASSUME_32BITUIDS]: Remove conditional code.
36569 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36570 <kernel-features.h>.
36571 [__ASSUME_32BITUIDS]: Make code unconditional.
36572 [!__ASSUME_32BITUIDS]: Remove conditional code.
36573 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36574 <kernel-features.h>.
36575 [__ASSUME_32BITUIDS]: Make code unconditional.
36576 [!__ASSUME_32BITUIDS]: Remove conditional code.
36577 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36578 <kernel-features.h>.
36579 [__ASSUME_32BITUIDS]: Make code unconditional.
36580 [!__ASSUME_32BITUIDS]: Remove conditional code.
36581 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36582 <kernel-features.h>.
36583 [__ASSUME_32BITUIDS]: Make code unconditional.
36584 [!__ASSUME_32BITUIDS]: Remove conditional code.
36585 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36586 <kernel-features.h>.
36587 [__ASSUME_32BITUIDS]: Make code unconditional.
36588 [!__ASSUME_32BITUIDS]: Remove conditional code.
36589 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36590 <kernel-features.h>.
36591 [__ASSUME_32BITUIDS]: Make code unconditional.
36592 [!__ASSUME_32BITUIDS]: Remove conditional code.
36593 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36594 <kernel-features.h>.
36595 [__NR_setresgid] (__setresgid): Do not declare.
36596 [__ASSUME_32BITUIDS]: Make code unconditional.
36597 [!__ASSUME_32BITUIDS]: Remove conditional code.
36598 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36599 <kernel-features.h>.
36600 [__NR_setresuid] (__setresuid): Do not declare.
36601 [__ASSUME_32BITUIDS]: Make code unconditional.
36602 [!__ASSUME_32BITUIDS]: Remove conditional code.
36603 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36604 <kernel-features.h>.
36605 [__ASSUME_32BITUIDS]: Make code unconditional.
36606 [!__ASSUME_32BITUIDS]: Remove conditional code.
36607 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36608 <kernel-features.h>.
36609 [__ASSUME_32BITUIDS]: Make code unconditional.
36610 [!__ASSUME_32BITUIDS]: Remove conditional code.
36611 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36612 <kernel-features.h>.
36613 [__ASSUME_32BITUIDS]: Make code unconditional.
36614 [!__ASSUME_32BITUIDS]: Remove conditional code.
36615 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36616 <kernel-features.h>.
36617 [__ASSUME_32BITUIDS]: Make code unconditional.
36618 [!__ASSUME_32BITUIDS]: Remove conditional code.
36619 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36620 <kernel-features.h>.
36621 [__ASSUME_32BITUIDS]: Make code unconditional.
36622 [!__ASSUME_32BITUIDS]: Remove conditional code.
36623 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36624 <kernel-features.h>.
36625 [__ASSUME_32BITUIDS]: Make code unconditional.
36626 [!__ASSUME_32BITUIDS]: Remove conditional code.
36627 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36628 <kernel-features.h>.
36629 [__ASSUME_32BITUIDS]: Make code unconditional.
36630 [!__ASSUME_32BITUIDS]: Remove conditional code.
36631 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36632 <kernel-features.h>.
36633 [__ASSUME_32BITUIDS]: Make code unconditional.
36634 [!__ASSUME_32BITUIDS]: Remove conditional code.
36635 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36636 <kernel-features.h>.
36637 [__ASSUME_32BITUIDS]: Make code unconditional.
36638 [!__ASSUME_32BITUIDS]: Remove conditional code.
36639 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36640 <kernel-features.h>.
36641 [__ASSUME_32BITUIDS]: Make code unconditional.
36642 [!__ASSUME_32BITUIDS]: Remove conditional code.
36643 * sysdeps/unix/sysv/linux/kernel-features.h
36644 (__ASSUME_SETRESUID_SYSCALL): Remove.
36645 (__ASSUME_SETRESGID_SYSCALL): Likewise.
36646 (__ASSUME_32BITUIDS): Likewise.
36647 (__ASSUME_LDT_WORKS): Likewise.
36648 (__ASSUME_O_DIRECTORY): Likewise.
36649 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36650 architecture but not kernel version.
36651 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36652 (__ASSUME_MMAP2_SYSCALL): Likewise.
36653 (__ASSUME_STAT64_SYSCALL): Likewise.
36654 (__ASSUME_IPC64): Likewise.
36655 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36656 <kernel-features.h>.
36657 [__ASSUME_32BITUIDS]: Make code unconditional.
36658 [!__ASSUME_32BITUIDS]: Remove conditional code.
36659 * sysdeps/unix/sysv/linux/opendir.c: Do not include
36660 <kernel-features.h>.
36661 [__ASSUME_O_DIRECTORY]: Make code unconditional.
36662 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36663 132096]: Remove conditional code.
36664 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36665 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36666 <kernel-features.h>.
36667 [__ASSUME_32BITUIDS]: Make code unconditional.
36668 [!__ASSUME_32BITUIDS]: Remove conditional code.
36669 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36670 <kernel-features.h>.
36671 [__ASSUME_32BITUIDS]: Make code unconditional.
36672 [!__ASSUME_32BITUIDS]: Remove conditional code.
36673 * sysdeps/unix/sysv/linux/setegid.c: Do not include
36674 <kernel-features.h>.
36675 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36676 unconditional.
36677 (__setresgid): Do not declare.
36678 [__ASSUME_32BITUIDS]: Make code unconditional.
36679 [!__ASSUME_32BITUIDS]: Remove conditional code.
36680 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36681 <kernel-features.h>.
36682 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36683 unconditional.
36684 (__setresuid): Do not declare.
36685 [__ASSUME_32BITUIDS]: Make code unconditional.
36686 [!__ASSUME_32BITUIDS]: Remove conditional code.
36687 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36688 <kernel-features.h>.
36689 [__ASSUME_32BITUIDS]: Make code unconditional.
36690 [!__ASSUME_32BITUIDS]: Remove conditional code.
36691 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36692 <kernel-features.h>.
36693 [__ASSUME_32BITUIDS]: Make code unconditional.
36694 [!__ASSUME_32BITUIDS]: Remove conditional code.
36695
a386f1cc
RH
366962012-05-25 Richard Henderson <rth@twiddle.net>
36697
36698 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36699 dl_hwcap to ifunc resolver.
36700 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36701 elf_ifunc_invoke.
36702 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36703 dl_hwcap to ifunc resolver.
36704 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36705
b6550497
JM
367062012-05-24 Joseph Myers <joseph@codesourcery.com>
36707
36708 [BZ #14153]
36709 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36710 for |x| <= 2**-26, not 2**-57.
36711 * math/libm-test.inc (acos_test): Do not allow spurious underflow
36712 exception.
36713
b0bc23a1
JL
367142012-05-24 Jeff Law <law@redhat.com>
36715
36716 * stdio-common/Makefile (tests): Add bug25.
36717 * stdio-common/bug25.c: New test.
36718
347c92e9
L
367192012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36720
36721 [BZ #13576]
36722 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36723 multiple of MALLOC_ALIGNMENT in size.
36724 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36725
6bcc8b3f
JM
367262012-05-24 Joseph Myers <joseph@codesourcery.com>
36727
36728 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36729 Require >= 256.
36730 (FILENAME_MAX): Use macro-int-constant.
36731 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
36732 (_IOFBF): Use macro-int-constant.
36733 (_IOLBF): Likewise.
36734 (_IONBF): Likewise.
36735 (SEEK_CUR): Likewise.
36736 (SEEK_END): Likewise.
36737 (SEEK_SET): Likewise.
36738 (TMP_MAX): Likewise.
36739 (EOF): Use macro-int-constant. Require < 0.
36740 (NULL): Use macro-constant. Require == 0.
36741 (stdin): Require type to be FILE *.
36742 (stdout): Likewise.
36743 (stderr): Likewise.
36744 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36745 macro-int-constant.
36746 (EXIT_SUCCESS): Likewise.
36747 (NULL): Use macro-constant. Require == 0.
36748 (RAND_MAX): Use macro-int-constant.
36749 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36750 [C99-based standards] (strtof): Require function.
36751 [C99-based standards] (strtold): Likewise.
36752 [C99-based standards] (strtoll): Likewise.
36753 [C99-based standards] (strtoull): Likewise.
36754 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36755 [ISO || ISO99 || ISO11] (limits.h): Likewise.
36756 [ISO || ISO99 || ISO11] (math.h): Likewise.
36757 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36758 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36759 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36760
d18ea0c5
AS
367612012-05-24 Andreas Schwab <schwab@linux-m68k.org>
36762
36763 [BZ #14132]
56d25bb8
AS
36764 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36765 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36766 * intl/dgettext.c (DCGETTEXT): Likewise.
36767 * intl/gettext.c (DCGETTEXT): Likewise.
36768 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36769 * posix/regex_internal.h (gettext): Likewise.
36770 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36771 Remove declaration.
36772 * include/argz.h (__argz_count_internal)
36773 (__argz_stringify_internal): Remove declaration.
36774 (__argz_count, __argz_stringify): Declare hidden proto.
36775 * intl/dcgettext.c: Remove use of INTDEF.
36776 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36777 * string/argz-stringify.c: Likewise.
36778 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36779 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36780 Declare hidden proto.
d18ea0c5
AS
36781 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36782 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36783 Declare hidden proto.
36784 * include/stdio.h (__asprintf_internal): Don't declare.
36785 (__asprintf): Don't define as macro. Declare hidden proto.
36786 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36787 (__fsetlocking): Declare hidden proto.
36788 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36789 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36790 hidden proto.
36791 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36792 (_IO_setlinebuf): Remove use of INTUSE.
36793 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36794 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36795 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36796 Remove declaration.
36797 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36798 (_IO_do_flush): Remove use of INTUSE.
36799 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36800 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36801 (_IO_adjust_column, _IO_least_wmarker)
36802 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36803 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36804 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36805 (_IO_default_doallocate, _IO_wdefault_doallocate)
36806 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36807 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36808 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36809 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36810 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36811 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36812 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36813 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36814 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36815 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36816 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36817 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36818 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36819 proto.
36820 (_IO_flush_all_internal, _IO_adjust_column_internal)
36821 (_IO_default_uflow_internal, _IO_default_finish_internal)
36822 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36823 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36824 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36825 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36826 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36827 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36828 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36829 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36830 (_IO_file_close_internal, _IO_file_close_it_internal)
36831 (_IO_file_underflow_internal, _IO_file_overflow_internal)
36832 (_IO_file_init_internal, _IO_file_attach_internal)
36833 (_IO_file_fopen_internal, _IO_file_read_internal)
36834 (_IO_file_sync_internal, _IO_file_seek_internal)
36835 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36836 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36837 (_IO_str_underflow_internal, _IO_str_overflow_internal)
36838 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36839 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36840 (_IO_list_all_internal, _IO_link_in_internal)
36841 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36842 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36843 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36844 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36845 (_IO_do_write_internal, _IO_padn_internal)
36846 (_IO_getline_info_internal, _IO_getline_internal)
36847 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36848 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36849 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36850 (_IO_vfscanf_internal, _IO_vfprintf_internal)
36851 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36852 (_IO_init_internal, _IO_un_link_internal): Don't declare.
36853 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36854 with libc_hidden_ver, remove use of INTUSE.
36855 * libio/genops.c: Likewise.
36856 * libio/freopen.c: Likewise.
36857 * libio/freopen64.c: Likewise.
36858 * libio/iofclose.c: Likewise.
36859 * libio/iofdopen.c: Likewise.
36860 * libio/iofflush.c: Likewise.
36861 * libio/iofflush_u.c: Likewise.
36862 * libio/iofgets.c: Likewise.
36863 * libio/iofgets_u.c: Likewise.
36864 * libio/iofopen.c: Likewise.
36865 * libio/iofopncook.c: Likewise.
36866 * libio/iofread.c: Likewise.
36867 * libio/iofread_u.c: Likewise.
36868 * libio/ioftell.c: Likewise.
36869 * libio/iofwrite.c: Likewise.
36870 * libio/iogetline.c: Likewise.
36871 * libio/iogets.c: Likewise.
36872 * libio/iogetwline.c: Likewise.
36873 * libio/iopadn.c: Likewise.
36874 * libio/iopopen.c: Likewise.
36875 * libio/ioseekoff.c: Likewise.
36876 * libio/ioseekpos.c: Likewise.
36877 * libio/iosetbuffer.c: Likewise.
36878 * libio/iosetvbuf.c: Likewise.
36879 * libio/ioungetc.c: Likewise.
36880 * libio/ioungetwc.c: Likewise.
36881 * libio/iovdprintf.c: Likewise.
36882 * libio/iovsprintf.c: Likewise.
36883 * libio/iovsscanf.c: Likewise.
36884 * libio/memstream.c: Likewise.
36885 * libio/obprintf.c: Likewise.
36886 * libio/oldfileops.c: Likewise.
36887 * libio/oldiofclose.c: Likewise.
36888 * libio/oldiofdopen.c: Likewise.
36889 * libio/oldiofopen.c: Likewise.
36890 * libio/oldiopopen.c: Likewise.
36891 * libio/oldstdfiles.c: Likewise.
36892 * libio/putc.c: Likewise.
36893 * libio/setbuf.c: Likewise.
36894 * libio/setlinebuf.c: Likewise.
36895 * libio/stdfiles.c: Likewise.
36896 * libio/strops.c: Likewise.
36897 * libio/vasprintf.c: Likewise.
36898 * libio/vscanf.c: Likewise.
36899 * libio/vsnprintf.c: Likewise.
36900 * libio/vswprintf.c: Likewise.
36901 * libio/wfiledoalloc.c: Likewise.
36902 * libio/wfileops.c: Likewise.
36903 * libio/wgenops.c: Likewise.
36904 * libio/wmemstream.c: Likewise.
36905 * libio/wstrops.c: Likewise.
36906 * libio/__fpurge.c: Likewise.
36907 * libio/__fsetlocking.c: Likewise.
36908 * assert/assert.c: Likewise.
36909 * debug/fgets_chk.c: Likewise.
36910 * debug/fgets_u_chk.c: Likewise.
36911 * debug/fread_chk.c: Likewise.
36912 * debug/fread_u_chk.c: Likewise.
36913 * debug/gets_chk.c: Likewise.
36914 * debug/obprintf_chk.c: Likewise.
36915 * debug/vasprintf_chk.c: Likewise.
36916 * debug/vdprintf_chk.c: Likewise.
36917 * debug/vsnprintf_chk.c: Likewise.
36918 * debug/vsprintf_chk.c: Likewise.
36919 * malloc/mtrace.c: Likewise.
36920 * misc/error.c: Likewise.
36921 * misc/syslog.c: Likewise.
36922 * stdio-common/asprintf.c: Likewise.
36923 * stdio-common/fxprintf.c: Likewise.
36924 * stdio-common/getw.c: Likewise.
36925 * stdio-common/isoc99_fscanf.c: Likewise.
36926 * stdio-common/isoc99_scanf.c: Likewise.
36927 * stdio-common/isoc99_vfscanf.c: Likewise.
36928 * stdio-common/isoc99_vscanf.c: Likewise.
36929 * stdio-common/isoc99_vsscanf.c: Likewise.
36930 * stdio-common/printf-prs.c: Likewise.
36931 * stdio-common/printf_fp.c: Likewise.
36932 * stdio-common/printf_fphex.c: Likewise.
36933 * stdio-common/printf_size.c: Likewise.
36934 * stdio-common/putw.c: Likewise.
36935 * stdio-common/scanf.c: Likewise.
36936 * stdio-common/sprintf.c: Likewise.
36937 * stdio-common/tmpfile.c: Likewise.
36938 * stdio-common/vfprintf.c: Likewise.
36939 * stdio-common/vfscanf.c: Likewise.
36940 * stdlib/strfmon_l.c: Likewise.
36941 * sunrpc/openchild.c: Likewise.
36942 * sunrpc/xdr_stdio.c: Likewise.
36943 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36944 * sysdeps/mach/hurd/tmpfile.c: Likewise.
36945
d6c33fda
RM
369462012-05-24 Roland McGrath <roland@hack.frob.com>
36947
c1487492
RM
36948 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36949
36950 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
36951 in the third column, to generate for the shared library an IFUNC
36952 that uses _dl_vdso_vsym.
36953 * Makerules (COMPILE.c, compile-stdin.c): New variables.
36954 * Makeconfig (object-suffixes-noshared): New variable.
36955
36956 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
36957 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
36958 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
36959 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
36960
d6c33fda
RM
36961 [BZ #14132]
36962 * include/sys/time.h (__gettimeofday): Remove macro.
36963 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
36964 * time/gettimeofday.c (__gettimeofday): Remove #undef.
36965 Remove INTDEF.
36966 (__gettimeofday): Add libc_hidden_def.
36967 (gettimeofday): Add libc_hidden_weak.
36968 * sysdeps/mach/gettimeofday.c: Likewise.
36969 * sysdeps/posix/gettimeofday.c: Likewise.
36970 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36971 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36972 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36973 (__gettimeofday_internal): Remove strong_alias.
36974 (__gettimeofday): Add libc_hidden_def.
36975 (gettimeofday): Add libc_hidden_weak.
36976 * sysdeps/unix/syscalls.list (gettimeofday):
36977 Remove __gettimeofday_internal alias.
36978
b5a2bbe6
L
369792012-05-24 Daniel Jacobowitz <drow@false.org>
36980 H.J. Lu <hongjiu.lu@intel.com>
36981
36982 [BZ #12495]
36983 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36984 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36985 (largebin_index_32_big): New.
36986 (largebin_index): Use it for 16-byte alignment.
36987 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
36988 correction with front_misalign.
36989
cfba4fda
L
369902012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36991
7f907421
L
36992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36994 Likewise.
36995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36996 Likewise.
36997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36998 Likewise.
36999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
37000 Likewise.
37001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
37002 Likewise.
37003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
37004 Likewise.
37005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
37006 Likewise.
37007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37008 Likewise.
37009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
37010 Likewise.
37011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
37012 Likewise.
37013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37014 Likewise.
37015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
37016 Likewise.
37017
cfba4fda
L
37018 * scripts/data/c++-types-x32-linux-gnu.data: New file.
37019 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
37020
80bad0cc
JM
370212012-05-24 Joseph Myers <joseph@codesourcery.com>
37022
7a25eb06
JM
37023 [BZ #10846]
37024 [BZ #14036]
37025 * math/libm-test.inc (exp_test): Add test from bug 14036.
37026 (pow_test): Add test from bug 10846.
37027
795405f9
JM
37028 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
37029 and other flags.
37030 (special_function): Do not include flags in test name.
37031 (parse_args): Likewise.
37032 * sysdeps/i386/fpu/libm-test-ulps: Update.
37033 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37034 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37035 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37037
80bad0cc
JM
37038 * math/gen-libm-test.pl (%beautify): Add entries for underflow
37039 exceptions.
37040 * math/libm-test.inc ("Philosophy"): Update comment about
37041 exception testing.
37042 (UNDERFLOW_EXCEPTION): New macro.
37043 (UNDERFLOW_EXCEPTION_OK): Likewise.
37044 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
37045 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
37046 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
37047 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
37048 (INVALID_EXCEPTION_OK): Update value.
37049 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37050 (OVERFLOW_EXCEPTION_OK): Likewise.
37051 (IGNORE_ZERO_INF_SIGN): Likewise.
37052 (test_exceptions): Handle underflow exceptions.
37053 (acos_test): Update for underflow exception expectations.
37054 (cexp_test): Likewise.
37055 (clog_test): Likewise.
37056 (clog10_test): Likewise.
37057 (csqrt_test): Likewise.
37058 (ctan_test): Likewise.
37059 (ctanh_test): Likewise.
37060 (exp_test): Likewise.
37061 (exp10_test): Likewise.
37062 (exp2_test): Likewise.
37063 (expm1_test): Likewise.
37064 (fma_test): Likewise.
37065 (j0_test): Likewise.
37066 (jn_test): Likewise.
37067 (nexttoward_test): Likewise.
37068 (pow_test): Likewise.
37069 (scalbn_test): Likewise.
37070 (scalbln_test): Likewise.
37071 (tan_test): Likewise.
37072 (y1_test): Likewise.
37073 * sysdeps/i386/fpu/libm-test-ulps: Update.
37074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37075
9e0e3d0b
DM
370762012-05-23 David S. Miller <davem@davemloft.net>
37077
37078 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37079 (__libc_sigaction): Remove unused local variables.
37080
ccd0a08f
L
370812012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37082
37083 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
37084
62bdf9a6
PE
370852012-05-23 Paul Eggert <eggert@cs.ucla.edu>
37086
f8591f80
PE
37087 mktime: avoid signed integer overflow
37088 * time/mktime.c (__mktime_internal): Do not mishandle the case
37089 where diff == INT_MIN.
37090
94c7d826
PE
37091 mktime: simplify computation of average
37092 * time/mktime.c (ranged_convert): Use new time_t_avg function
37093 instead of rolling our own (probably-slower) code.
37094
ce73d683
PE
37095 mktime: do not assume signed right shift propagates sign bit
37096 * time/mktime.c (isdst_differ): New static function.
37097 (__mktime_internal): No need to normalize tm_isdst now.
37098 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37099 tm_isdst values.
37100
72a22e59
PE
37101 mktime: merge another wrapv change from gnulib
37102 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37103 from some compilers.
37104
68605433
PE
37105 mktime: remove incorrect attempt at unusual arithmetics
37106 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37107 The code didn't really work on such machines anyway.
37108 (TYPE_MINIMUM): Assume two's complement.
37109 (twos_complement_arithmetic): Verify that long_int and time_t
37110 are two's complement (or unsigned, in the latter case).
37111
03cf7fe3
PE
37112 mktime: check signed shifts on long_int and time_t, too
37113 * time/mktime.c (SHR): Check that shifts work as desired
37114 on the types long_int and time_t too, as SHR is used on
37115 such types.
37116
f04dfbc2
PE
37117 mktime: do not assume 'long' is wide enough
37118 * time/mktime.c (verify): Move decl up.
37119 (long_int): New type.
37120 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37121 to remove assumption in the code that 'long' is wide enough to
37122 store year values. This assumption is not true on x32 and on
37123 some non-glibc platforms.
37124
62bdf9a6
PE
37125 mktime: merge wrapv change from gnulib
37126 * time/mktime.c (WRAPV): New macro.
37127 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37128 (guess_time_tm, __mktime_internal): Do not assume that signed
37129 integer overflow wraps around; modern compilers generate code
37130 where this assumption is no longer valid.
37131
5e292e4f
L
371322012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37133
37134 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37135 Replace "jmp L(pseudo_end)" with "ret".
37136 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37137 Likewise.
37138
8caf8c87
AJ
371392012-05-23 Andreas Jaeger <aj@suse.de>
37140
37141 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37142 * sysdeps/unix/sysv/linux/poll.c: Remove file.
37143
1a09dc56
AJ
371442012-05-23 Andreas Jaeger <aj@suse.de>
37145 Maximilian Attems <max@stro.at>
37146
37147 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37148 New macros.
37149
1c87aba0
L
371502012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37151
37152 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37153 code so that pseudo_end is just ret and the stack pointer is
37154 correct also for static library in error case.
37155
40e45bd5
JM
371562012-05-23 Joseph Myers <joseph@codesourcery.com>
37157
c2670533
JM
37158 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37159 move to syscalls.list.
37160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37164
40e45bd5
JM
37165 * manual/install.texi (Running make install): Do not mention Linux
37166 kernel version for which pt_chown is not needed.
37167 (Linux): Do not mention problems with nscd with 2.0 kernels.
37168 * INSTALL: Regenerated.
37169
be08eda5
AJ
371702012-05-23 Andreas Jaeger <aj@suse.de>
37171
37172 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37173 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37174 macro.
37175 * sysdeps/unix/sysv/linux/s390/bits/mman.h
37176 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37177 * sysdeps/unix/sysv/linux/sh/bits/mman.h
37178 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37179 * sysdeps/unix/sysv/linux/i386/bits/mman.h
37180 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37181 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37182 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37183 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37184 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37185 * sysdeps/unix/sysv/linux/bits/in.h
37186 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37187
a6a056bb
RM
371882012-05-22 Roland McGrath <roland@hack.frob.com>
37189
37190 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37191 (PREPARE_VERSION): Just use assert instead, it will be elided
37192 under [NDEBUG] anyway.
37193
c9009328
L
371942012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37195
37196 * sysdeps/unix/sysv/linux/Makefile: Include
37197 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 37198 (sysdep_routines): Remove sysctl.
c9009328
L
37199 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37200 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37201 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37202 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37203 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37204
73338355
AJ
372052012-05-22 Andreas Jaeger <aj@suse.de>
37206
37207 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37208 that pseudo_end is just ret and the stack pointer is correct also
37209 for static library in error case.
37210
d44638b0
PP
372112012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
37212
37213 [BZ #14122]
37214 * nss/nsswitch.c (defconfig_entries): New variable.
37215 (__nss_database_lookup): Don't leak defconfig entries.
37216 (nss_parse_service_list): Don't leak on error paths.
37217 (free_database_entries): New function.
37218 (free_defconfig): New function.
37219 (free_mem): Move common code to free_database_entries.
37220
31a39bd8
L
372212012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37222
da0331a8
L
37223 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37224 Add arch_prctl.
37225 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37226
31a39bd8
L
37227 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37228 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37229 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37230 New macro.
37231 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37232 (INTERNAL_SYSCALL_TYPES): Likewise.
37233 (LOAD_ARGS_TYPES_[1-6]): Likewise.
37234 (LOAD_REGS_TYPES_[1-6]): Likewise.
37235 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37236 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37237
45470df3
AZ
372382012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37239
37240 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37241 copysignl for GLIBC_2_0.
37242 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37243 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37244 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37245 logbl for GLIBC_2_0.
37246 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37247 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37248
98a61bcb
L
372492012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37250
a4f6e481
L
37251 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37252 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37253
f63d5db6
L
37254 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37255 Use "neg %eax".
37256
98a61bcb
L
37257 * time/mktime.c: Update copyright years.
37258
95770f14
PE
372592012-05-22 Paul Eggert <eggert@cs.ucla.edu>
37260
6226efbd
PE
37261 mktime: merge comment-quoting-style change from gnulib
37262 * time/mktime.c: Quote 'like this' in comments.
37263 The GNU coding standards suggest that we no longer quote `like this',
37264 as "`" and "'" are typically rendered asymmetrically nowadays.
37265 The typical gnulib style is to quote 'like this' when quoting
37266 code, and "like this" when quoting English.
37267
b99e4f78
PE
37268 * time/mktime.c (compile-command): Add "-I.".
37269
643e01e6
PE
37270 mktime: merge mktime-internal.h change from gnulib
37271 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37272
2554247d
PE
37273 mktime: merge time_r change from gnulib
37274 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37275
826dd0ab
PE
37276 mktime: merge DEBUG change from gnulib
37277 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37278 case system <time.h> has a #define.
37279
bd83aabe
PE
37280 mktime: merge <sys/types.h> change from gnulib
37281 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37282 since <time.t> is now guaranteed to define time_t.
37283
95770f14
PE
37284 mktime: merge HAVE_CONFIG_H change from gnulib
37285 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37286
5e1a27a9
L
372872012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37288
0e44a77e
L
37289 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37290 Use "neg %eax".
37291
5e1a27a9
L
37292 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37293 __rlim_t cast.
37294 (struct rusage): Use anonymous union to pad each field to
37295 __syscall_slong_t.
37296
46259bec
DM
372972012-05-21 David S. Miller <davem@davemloft.net>
37298
37299 * Makefules (o-iterator): Remove .s cases.
37300 (compile-command.s): Delete.
37301 (COMPILE.s): Delete.
37302 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37303
59f0c22e
JM
373042012-05-21 Joseph Myers <joseph@codesourcery.com>
37305
37306 * configure.in (libc_cv_predef_stack_protector): Only consider
37307 "foobar" and "__stack_chk_fail" lines in libc_undefs.
37308 * configure: Regenerated.
37309
20c07380
L
373102012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37311
bbb3154b
L
37312 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37313 New macro. Use R*LP on int and pointer.
37314 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
37315 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37316 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
37317 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37318
20c07380
L
37319 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37320 [__WORDSIZE_TIME64_COMPAT32] instead of
37321 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37322 (struct utmp): Likewise.
37323 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37324 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37325 Renamed to ...
37326 (__WORDSIZE_TIME64_COMPAT32): This.
37327 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37328 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37329 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37330 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37331 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37332 (__WORDSIZE_TIME64_COMPAT32): New macro.
37333
d8d1017e
AJ
373342012-05-21 Andreas Jaeger <aj@suse.de>
37335
37336 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37337 only if [SHARED]. Add prototype for __wcschr_ia32.
37338
6c7fb145
RM
373392012-05-21 Roland McGrath <roland@hack.frob.com>
37340
37341 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37342 of %rbp unmolested in the jmp_buf while mangling the low bits.
37343 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37344 unmolested high bits of %rbp while demangling the low bits.
37345 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37346
66274218
AJ
373472012-05-21 Andreas Jaeger <aj@suse.de>
37348
07c58f8f
AJ
37349 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37350 * sunrpc/svc_simple.c: Use it for registerrpc.
37351 * sunrpc/xcrypt.c: Use it for passwd2des.
37352
66274218
AJ
37353 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37354
61f65140
L
373552012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37356
37357 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37358 Don't define if [__SYSCALL_WORDSIZE != 32].
37359 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37360 New macro.
37361
5fefb436
AJ
373622012-05-21 Bruno Haible <bruno@clisp.org>
37363 Andreas Jaeger <aj@suse.de>
37364
37365 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37366 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37367 inptr and inend for must_buffer_ch.
37368 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37369 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37370 * stdio-common/Makefile (tests): Remove bug15.
37371 (bug15-ENV): Remove macro.
37372 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37373 anymore.
37374
d8e272ab
AJ
373752012-05-19 Andreas Jaeger <aj@suse.de>
37376 Roland McGrath <roland@hack.frob.com>
37377
37378 * manual/contrib.texi: Completely rewritten. It contains now an
37379 alphabetical list of contributors and their contributions.
37380
4a56a162
RH
373812012-05-21 Richard Henderson <rth@twiddle.net>
37382
37383 * misc/getauxval.c (__getauxval): Use unsigned long int.
37384 * misc/sys/auxv.h: Include <sys/cdefs.h>.
37385 (getauxval): Use unsigned long int.
37386
d024d23c
L
373872012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37388
37389 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37390
cbc00a03
RM
373912012-05-21 Roland McGrath <roland@hack.frob.com>
37392
37393 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37394 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37395 __alignof__ (long double).
37396
478143fa
AZ
373972012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37398
37399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37400
c7683a6d
RH
374012012-05-20 Richard Henderson <rth@twiddle.net>
37402
37403 * misc/getauxval.c: New file.
37404 * misc/sys/auxv.h: New file.
37405 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37406 (routines): Add getauxval.
37407 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37408 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37409 * elf/dl-sysdep.c (_dl_auxv): Remove.
37410 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37411 * elf/dl-support.c (_dl_auxv): New variable.
37412 (_dl_aux_init): Initialize it.
37413 * manual/startup.texi (Auxiliary Vector): New node.
37414 * sysdeps/generic/bits/hwcap.h: New file.
37415 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37416 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37417 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37418 * sysdeps/sparc/sysdep.h: ... here. Include it.
37419 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37420 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
37421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37422 Update.
c7683a6d
RH
37423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37426 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37429 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37431
a6f1845d
AZ
374322012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37433
37434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37435
cbcbe830
DM
374362012-05-19 David S. Miller <davem@davemloft.net>
37437
37438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37439
e0b16cc2
JM
374402012-05-19 Joseph Myers <joseph@codesourcery.com>
37441
37442 [BZ #14123]
37443 * math/s_ccosh.c: Include <float.h>
37444 (__ccosh): Avoid internal overflow calculating sinh and cosh
37445 values before multiplying by sin and cos values.
37446 * math/s_ccoshf.c: Likewise.
37447 * math/s_ccoshl.c: Likewise.
37448 * math/s_csin.c: Likewise.
37449 * math/s_csinf.c: Likewise.
37450 * math/s_csinl.c: Likewise.
37451 * math/s_csinh.c: Likewise.
37452 * math/s_csinhf.c: Likewise.
37453 * math/s_csinhl.c: Likewise.
37454 * math/libm-test.inc (ccos_test): Add more tests.
37455 (ccosh_test): Likewise.
37456 (csin_test): Likewise.
37457 (csinh_test): Likewise.
37458 * sysdeps/i386/fpu/libm-test-ulps: Update.
37459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37460
6ad13e08
L
374612012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37462
f66f0ce8
L
37463 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37464 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37465
6ad13e08
L
37466 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37467
b1d072a7
JM
374682012-05-19 Joseph Myers <joseph@codesourcery.com>
37469
37470 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37471 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37472 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37473 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37474 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37475 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37476 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37477 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37478 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37479 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37480 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37481 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37482 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37483 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37484 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37485 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37486 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37487 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37488 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37489 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37490 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37491 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37492 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37493 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37494 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37495 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37496 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37497 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37498 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37499 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37500 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37501
9eae47cb
AJ
375022012-05-18 Andreas Jaeger <aj@suse.de>
37503
37504 * csu/.gitignore: Delete.
37505
bb07f69f
L
375062012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37507
37508 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37509 (timex): Use __syscall_slong_t.
37510
e6bdb741
AJ
375112012-05-18 Andreas Jaeger <aj@suse.de>
37512 Carlos O'Donell <carlos_odonell@mentor.com>
37513
37514 * manual/install.texi (Configuring and compiling): Update
37515 description about files modified in the source directory.
d6c33fda 37516 * INSTALL: Regenerated.
e6bdb741 37517
1b74487e
L
375182012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37519
37520 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37521 value. Use "or" to set return value to -1.
37522 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37523 negate return value.
37524
a88b64b9
TMQMF
375252012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37526
57f41c40
AS
37527 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37528 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
37529 failure if the compiler has Graphite support disabled.
37530 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37531 Likewise.
57f41c40
AS
37532 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37533 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
37534 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37535 Likewise.
37536
3707636e
L
375372012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37538
610b8622
L
37539 * sysdeps/x86_64/x32/_itoa.h: New file.
37540
7cd195df
L
37541 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37542 getdents system call only if kernel and user dirents have the
37543 same d_ino and d_off.
37544
94b07d20
L
37545 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37546 LLONG_MAX != LONG_MAX.
37547 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37548 (_fitoa_word): Likewise.
37549
18298070
L
37550 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37551 years.
37552 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37553 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37554 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37555
553c7ea4
L
37556 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37557 include <bits/wordsize.h>. Check __x86_64__ instead of
37558 __WORDSIZE.
37559 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37560 if __x86_64__ is defined. Use anonymous union on fpstate.
37561
3707636e
L
37562 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37563 anonymous union.
37564
b53ef01a
AS
375652012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37566
37fb1dc0
AS
37567 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37568 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37569 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37570 Refer to _rtld_local_ro instead of _rtld_global_ro.
37571 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37572 Likewise.
37573 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37574 Likewise.
37575 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37576 Likewise.
37577 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37578 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37579 of _rtld_global, and rtld_progname instead of _dl_argv[0].
37580
b53ef01a
AS
37581 * sysdeps/powerpc/powerpc32/dl-machine.c
37582 (__elf_machine_runtime_setup) [PROF]: Don't reference
37583 _dl_prof_resolve.
37584
7a185db2
AJ
375852012-05-18 Andreas Jaeger <aj@suse.de>
37586
37587 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37588 function only available for GCCs before 3.4 since GCC 3.4
37589 introduced a builtin.
37590 (lrint): Likewise.
37591 (llrintf): Likewise.
37592 (llrint): Likewise.
37593 (fmaxf): Likewise.
37594 (fmax): Likewise.
37595 (fminf): Likewise.
37596 (fmin): Likewise.
37597 (rint): Likewise.
37598 (rintf): Likewise.
37599 (nearbyint): Likewise.
37600 (nearbyintf): Likewise.
37601 (ceil): Likewise.
37602 (ceilf): Likewise.
37603 (floor): Likewise.
37604 (floorf): Likewise.
37605
3e5aef87
L
376062012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37607
428bd707
L
37608 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37609 on both fields and cast pointer to __syscall_ulong_t.
37610
3e5aef87
L
37611 * bits/types.h (__fsword_t): New type.
37612 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37613 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37614 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37615 (__FSWORD_T_TYPE): Likewise.
37616 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37617 (__FSWORD_T_TYPE): Likewise.
37618 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37619 (__FSWORD_T_TYPE): Likewise.
37620 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37621 (__FSWORD_T_TYPE): Likewise.
37622 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37623 __SWORD_TYPE with __fsword_t.
37624 (statfs64): Likewise.
37625
1ba7c3dc
DM
376262012-05-17 David S. Miller <davem@davemloft.net>
37627
37628 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37629
59910343
AJ
376302012-05-17 Andreas Jaeger <aj@suse.de>
37631
37632 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37633 warning.
37634
2e4c1e9e
L
376352012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37636
37637 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37638
de7f5ce7
AJ
376392012-05-17 Andreas Jaeger <aj@suse.de>
37640
37641 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37642 when it is used.
37643
286abc3d
CM
376442012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37645
37646 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37647
477cc68e
L
376482012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37649
37650 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37651 * sysdeps/x86_64/tst-mallocalign1.c: New file.
37652
1a0994f5
CD
376532012-05-17 Andreas Jaeger <aj@suse.de>
37654 Carlos O'Donell <carlos_odonell@mentor.com>
37655
37656 [BZ #14059]
37657 * sysdeps/x86_64/multiarch/init-arch.h
37658 (bit_YMM_Usable): Rename to...
37659 (bit_AVX_Usable): ... this.
37660 (bit_FMA4_Usable): New macro.
37661 (bit_XMM_state): New macro.
37662 (bit_YMM_state): New macro.
37663 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37664 [__ASSEMBLER__] (index_AVX_Usable): ... this.
37665 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37666 (CPUID_OSXSAVE): New macro.
37667 (CPUID_AVX): New macro.
37668 (CPUID_FMA4): New macro.
37669 (index_YMM_Usable): Rename to...
37670 (index_AVX_Usable): ... this.
37671 (HAS_AVX): Use HAS_ARCH_FEATURE.
37672 (HAS_FMA4): Likewise.
37673 (HAS_YMM_USABLE): Remove.
37674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37675 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37676 are present.
37677 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37678 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37679 * sysdeps/x86_64/multiarch/Makefile: Likewise.
37680 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37681 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37682
0af797de
CM
376832012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37684
37685 * math/libm-test.c: Support platforms without multiple rounding modes.
37686 * math/bug-nextafter.c: Support platforms without FP exceptions.
37687 * math/bug-nexttoward.c: Likewise.
37688 * math/test-fenv.c: Likewise.
37689 * math/test-misc.c: Likewise.
37690 * stdlib/bug-getcontext.c: Likewise.
37691
e39745ff
AJ
376922012-05-17 Andreas Jaeger <aj@suse.de>
37693
37694 * manual/examples/search.c (critter_cmp): Change signature to
37695 avoid warnings.
37696 * manual/string.texi (Collation Functions): Likewise.
37697
48970aba
L
376982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37699
37700 * bits/types.h: Fold copyright years.
37701 * bits/typesizes.h: Likewise.
37702 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37703 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37704 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37705 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37706 * time/time.h: Likewise.
37707
bedee953
PP
377082012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
37709
37710 [BZ #208]
37711 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37712 in instead of returning them. Return void.
37713 (__libc_mallinfo): Accumulate over all arenas.
37714 (__malloc_stats): Adjust for change in int_mallinfo interface.
37715
61653dfb
RM
377162012-05-16 Roland McGrath <roland@hack.frob.com>
37717
30b99d79
RM
37718 [BZ #10375]
37719 * configure.in (NM): Add AC_CHECK_TOOL for it.
37720 (libc_extra_cflags): New substituted variable.
37721 Check for -fstack-protector being used implicitly.
37722 * configure: Regenerated.
37723 * config.make.in (config-extra-cflags): New variable,
37724 gets @libc_extra_cflags@.
37725 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37726
61653dfb
RM
37727 [BZ #10375]
37728 * configure.in: Check for _FORTIFY_SOURCE being predefined.
37729 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37730 * configure: Regenerated.
37731 * config.make.in (CPPUNDEFS): New substituted variable.
37732 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37733 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37734 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37735
661768bb
L
377362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37737
37738 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37739 (mq_attr): Use __syscall_slong_t.
37740
d4261567
L
377412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37742
37743 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37744 Check __x86_64__ instead of __WORDSIZE.
37745 (_STAT_VER_LINUX): Likewise.
37746 (stat): Check __x86_64__ instead of __WORDSIZE. Use
37747 __syscall_ulong_t and __syscall_slong_t.
37748 (stat64): Likewise.
37749
cf3ff365
L
377502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37751
37752 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37753
76cf3e4d
L
377542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37755
37756 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37757
a637753a
L
377582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37759
37760 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37761 __syscall_ulong_t.
37762
d5e05119
L
37763 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37764 include <bits/wordsize.h>. Check __x86_64__ instead of
37765 __WORDSIZE.
37766 (greg_t): Use "__extension__ long long int" if __x86_64__ is
37767 defined.
37768 (mcontext_t): Replace "unsigned long" with "unsigned long long".
37769
f62ee380
L
37770 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37771 include <bits/wordsize.h>. Check __x86_64__ instead of
37772 __WORDSIZE.
37773 (user_regs_struct): Use "__extension__ unsigned long long"
37774 instead of "unsigned long" if __x86_64__ is defined.
37775 (user): Likewise. Pad after pointer field if __ILP32__ is
37776 defined.
37777
4e124ced
JM
377782012-05-16 Joseph Myers <joseph@codesourcery.com>
37779
6a3951a0
JM
37780 * configure.in (makeinfo): Require version 4.5 or later. Allow
37781 versions 5 to 9.
37782 * configure: Regenerated.
37783 * manual/install.texi (texinfo): Increase version requirement to
37784 4.5 or later.
37785 * INSTALL: Regenerated.
37786
4e124ced
JM
37787 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37788
953ca31a
L
377892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37790
37791 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37792
617aca05
L
37793 * sysdeps/x86_64/x32/ffs.c: New file.
37794
5762f7ae
L
37795 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37796 __syscall_ulong_t.
37797 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37798 defined. Use __syscall_ulong_t.
37799 (shminfo): Use __syscall_ulong_t.
37800 (shm_info): Likewise.
37801
a26b6856
L
37802 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37803 __syscall_ulong_t.
37804
cb2b9ef7
L
37805 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37806 <bits/wordsize.h>.
37807 (msgqnum_t): Use __syscall_ulong_t.
37808 (msglen_t): Likewise.
37809 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
37810 __syscall_ulong_t.
37811
34683bb0
L
37812 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37813 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37814
84a68786
L
37815 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37816
48baa5f1
L
37817 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37818 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37819
180be88b
L
37820 * sysvipc/sys/msg.h (msgbuf): Replace long int with
37821 __syscall_slong_t.
37822
5e90c8ad
L
37823 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37824 include <bits/wordsize.h>. Check __x86_64__ instead of
37825 __WORDSIZE.
37826
23dfb58b
L
37827 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37828 "unsigned long long int" if __x86_64__ is defined.
37829 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37830
ce5d54b0
L
37831 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37832 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37833 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37834
13dc9eac
L
37835 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37836 <stdint.h>.
37837 (GET_PC): Cast to uintptr_t first.
37838 (GET_FRAME): Likewise.
37839 (GET_STACK): Likewise.
37840
a7895d15
L
37841 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37842 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37843 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37844 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37845 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37846 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37847 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37848 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37849 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37850 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37851 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37852 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37853 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37854 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37855 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37856 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37857 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37858 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37859 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37860 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37861 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37862 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37863 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37864 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37865 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37866 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37867 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37868 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37869 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37870
656416c9
AS
378712012-05-16 Andreas Schwab <schwab@linux-m68k.org>
37872
5bd66283
AS
37873 * Makerules (+depfiles): Also collect depfiles from .oS in
37874 $(extra-objs).
37875 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37876 .oS, $(libnldbl-routines)).
37877
656416c9
AS
37878 * Makerules (native-compile-mkdep-flags): Define.
37879 * sunrpc/Makefile (extra-objs): Add $(addprefix
37880 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37881 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37882 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
37883 calling $(make-target-directory).
37884
a46f2169
L
378852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37886
37887 * bits/types.h (__snseconds_t): Removed.
37888 * time/time.h (struct timespec): Replace __snseconds_t with
37889 __syscall_slong_t.
37890 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37891 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37892 Likewise.
37893 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37894 (__SNSECONDS_T_TYPE): Likewise.
37895 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37896 (__SNSECONDS_T_TYPE): Likewise.
37897 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37898 (__SNSECONDS_T_TYPE): Likewise.
37899
6af6528b
L
379002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37901
37902 * sysdeps/mach/hurd/bits/typesizes.h
37903 (__SYSCALL_SLONG_TYPE): New macro.
37904 (__SYSCALL_ULONG_TYPE): Likewise.
37905
de986b56
L
379062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37907
37908 * bits/types.h (__syscall_slong_t): New type.
37909 (__syscall_ulong_t): Likewise.
37910
37911 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37912 (__SYSCALL_ULONG_TYPE): Likewise.
37913 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37914 (__SYSCALL_SLONG_TYPE): Likewise.
37915 (__SYSCALL_ULONG_TYPE): Likewise.
37916 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37917 (__SYSCALL_SLONG_TYPE): Likewise.
37918 (__SYSCALL_ULONG_TYPE): Likewise.
37919 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37920 (__SYSCALL_SLONG_TYPE): Likewise.
37921 (__SYSCALL_ULONG_TYPE): Likewise.
37922
85736dc7
L
379232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37924
37925 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37926 Add sigaltstack-offsets.sym.
37927 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37928 <sigaltstack-offsets.h>.
37929 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
37930 longjmp_msg pointer.
37931 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
37932 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37933 signal stack.
37934 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37935
cc03b296
JM
379362012-05-15 Joseph Myers <joseph@codesourcery.com>
37937
a9538892
JM
37938 * elf/stackguard-macros.h: Remove file.
37939 * sysdeps/generic/stackguard-macros.h: New file.
37940 * sysdeps/i386/stackguard-macros.h: Likewise.
37941 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37942 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37943 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37944 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37945 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37946 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37947 * sysdeps/x86_64/stackguard-macros.h: Likewise.
37948 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
37949 <elf/stackguard-macros.h>.
37950
cc03b296
JM
37951 [BZ #14109]
37952 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
37953 __aligned__ in attribute.
37954 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
37955 (gregset_t): Likewise.
37956
93171016
L
379572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37958
37959 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
37960 * sysdeps/x86_64/64/Implies-after: Here. New file.
37961 * sysdeps/x86_64/x32/Implies-after: New file.
37962
d86813a0
L
379632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37964
37965 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37966 and access return value for _dl_profile_fixup. Use R10_LP to
37967 load frame size.
37968
2953ec75
L
379692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37970
37971 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37972
3b550e9e
L
379732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37974
37975 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37976 * sysdeps/x86_64/x32/sysdep.h: New file.
37977
eda41706
L
379782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37979
37980 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37981 * sysdeps/x86_64/setjmp.S: Likewise.
37982
9ea01d93
AZ
379832012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37984
37985 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37986 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37987 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37988 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37989 remove unused global constant.
37990
02a91938
CM
379912012-05-15 Chris Metcalf <cmetcalf@tilera.com>
37992
37993 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37994 include of <not-cancel.h>.
37995
6540185f
RM
379962012-05-15 Roland McGrath <roland@hack.frob.com>
37997
37998 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37999
509072a0
AJ
380002012-05-15 Jeff Law <law@redhat.com>
38001 Andreas Jaeger <aj@suse.de>
38002
38003 [BZ #13594]
38004 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
38005 out from...
38006 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
38007 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
38008 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
38009 code changing __hst_map_handle.map.
38010
ba75122d
RM
380112012-05-15 Roland McGrath <roland@hack.frob.com>
38012
38013 * configure.in (sysnames): Look for Implies-before and Implies-after
38014 files.
38015 * configure: Regenerated.
38016
890d8bd8
L
380172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38018
38019 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
38020 8-byte data alignment with LP_SIZE alignment.
38021
f6ee6623
L
380222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38023
38024 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
38025 into R10_LP.
38026
ea2626f6
L
380272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38028
38029 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
38030
085f715e
L
380312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38032
38033 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
38034 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
38035 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
38036 Likewise.
38037 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38038
be8498fc
L
380392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38040
38041 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
38042 (stackinfo_sub_sp): Likewise.
38043
70bc83b9
L
380442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38045
38046 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
38047 RAX_LP.
38048
9bc0b730
L
380492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38050
38051 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
38052 into R*_LP.
38053
6d2850e7
L
380542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38055
38056 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
38057 sizes into R*_LP.
38058
3cb84561
L
380592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38060
38061 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
38062
54e2ed81
L
380632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38064
38065 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
38066 into R11_LP and load __x86_64_shared_cache_size_half into
38067 R8_LP.
38068
8a17f349
L
380692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38070
38071 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
38072 R8_LP.
38073
777b1eea
AZ
380742012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38075
38076 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
38077 logb for POWER7.
38078 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
38079 logbf for POWER7.
38080 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
38081 logbl for POWER7.
38082 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
38083 powerpc32/power7/fpu/s_logb.c via #include.
38084 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
38085 powerpc32/power7/fpu/s_logbf.c via #include.
38086 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
38087 powerpc32/power7/fpu/s_logbl.c via #include.
38088
d20d4ac2
JM
380892012-05-15 Joseph Myers <joseph@codesourcery.com>
38090
38091 * README.libm: Remove file.
38092
6cdef1ab
L
380932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38094
38095 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38096 count for x32. Use R*_LP and omit operand-size suffix.
38097
0b254d8f
L
380982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38099
38100 * shlib-versions: Move x86_64-.*-linux.* entries to ...
38101 * sysdeps/x86_64/64/shlib-versions: Here. New file.
38102 * sysdeps/x86_64/x32/shlib-versions: New file.
38103
ceb809dc
RM
381042012-05-14 Roland McGrath <roland@hack.frob.com>
38105
38106 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38107 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38108 Use _dl_fatal_printf instead.
38109
37f1abd4
JM
381102012-05-14 Joseph Myers <joseph@codesourcery.com>
38111
38112 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38113 set if not set by the user. Do not allow for being unset.
38114 * sysdeps/unix/sysv/linux/configure: Regenerated.
38115
11de3a33
L
381162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38117
38118 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38119 the `q' suffix from lea and replace .quad with ASM_ADDR.
38120
e02f153a
L
381212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38122
38123 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38124 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
38125 instead of $17.
38126 (PTR_DEMANGLE): Likewise.
38127
520ae0fd
L
381282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38129
38130 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38131 (LP_OP): Likewise.
38132 (ASM_ADDR): Likewise.
38133 (RAX_LP): Likewise.
38134 (RBP_LP): Likewise.
38135 (RBX_LP): Likewise.
38136 (RCX_LP): Likewise.
38137 (RDI_LP): Likewise.
38138 (RSI_LP): Likewise.
38139 (RSP_LP): Likewise.
38140 (R8_LP): Likewise.
38141 (R9_LP): Likewise.
38142 (R10_LP): Likewise.
38143 (R10_LP): Likewise.
38144 (R11_LP): Likewise.
38145 (R12_LP): Likewise.
38146 (R13_LP): Likewise.
38147 (R14_LP): Likewise.
38148 (R15_LP): Likewise.
38149
b985be81
L
381502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38151
38152 * sysdeps/x86_64/x32/dl-machine.h: New file.
38153
6a4888ff
AJ
381542012-05-14 Andreas Jaeger <aj@suse.de>
38155
38156 * manual/Makefile (subdir): Remove export of subdir.
38157 (all): Remove target.
38158 (.PHONY): Remove all from list.
38159 (mkinstalldirs): Remove.
38160 (.PHONY): Remove installdirs from list.
38161 ($(inst_infodir)/libc.info): Use make-target-directory.
38162 (installdirs): Remove.
38163 (subdir_%): Remove.
38164 (glibc-targets): Remove.
38165 (lib): Remove.
38166 (stubs): Remove.
38167 ($(objpfx)stubs ../po/manual.pot): Remove.
38168 ($(objpfx)stamp%): Remove.
38169 (make-target-directory): Remove.
38170 (subdir_install): Remove.
38171 (routines): Remove.
38172 (aux): Remove.
38173 (sources): Remove.
38174 (objects): Remove.
38175 (headers): Remove.
38176
38177 [BZ #13750]
38178 * manual/.gitignore: Remove, it's not needed anymore.
38179 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38180 all files in it.
38181 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38182 directory.
38183 (texis): Renamed to $(objpfx)texis.
38184 (texis-path): New, contains path to generated files.
38185 (chapters.%): Use texis-path for complete path, add extra argument
38186 libc-texinfo.sh.
38187 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38188 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38189 (summary,texi, stamp-summary): Use complete path of
38190 files. Generate files in build dir.
38191 (dir-add.texi): Build in build dir.
38192 (libm-err.texi,stamp-libm-err): Likewise.
38193 (version.texi, stamp-version): Likewise.
38194 (.%c.texi): Likewise.
38195 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38196 (mostlyclean): Remove target.
38197 (realclean): Remove target.
38198 (generated): Add new variable with contents from mostlyclean and
38199 realclean, remove entries duplicated in common-mostlyclean, add
38200 stamp-libm-err and stamp-version.
38201 (generated-dirs): Add libc directory.
38202 ($(inst_infodir)/libc.info): Install files from build dir.
38203
38204 * manual/install.texi (Configuring and compiling): Adjust since
38205 the info files are not part of the tar ball anymore.
38206
7ac77294
AJ
382072012-05-14 Andreas Jaeger <aj@suse.de>
38208
38209 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38210 variable.
38211
ffb7875d
JM
382122012-05-14 Joseph Myers <joseph@codesourcery.com>
38213
38214 [BZ #13717]
38215 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38216 to 2.2.0 where earlier.
38217 * sysdeps/unix/sysv/linux/configure: Regenerated.
38218 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38219 Remove conditional code.
38220 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38221 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38222 Remove conditional code.
38223 [!__NR_lchown]: Likewise.
38224 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38225 [__NR_lchown]: Likewise.
38226 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38227 comment referencing __ASSUME_LCHOWN_SYSCALL.
38228 * sysdeps/unix/sysv/linux/i386/sigaction.c
38229 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38230 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38231 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38232 Remove conditional code.
38233 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38234 (__protocol_available): Remove #if 0 code.
38235 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38236 conditional code.
38237 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38238 * sysdeps/unix/sysv/linux/kernel-features.h
38239 (__ASSUME_GETCWD_SYSCALL): Don't define.
38240 (__ASSUME_REALTIME_SIGNALS): Likewise.
38241 (__ASSUME_PREAD_SYSCALL): Likewise.
38242 (__ASSUME_PWRITE_SYSCALL): Likewise.
38243 (__ASSUME_POLL_SYSCALL): Likewise.
38244 (__ASSUME_LCHOWN_SYSCALL): Likewise.
38245 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38246 non-SPARC.
38247 (__ASSUME_SIOCGIFNAME): Don't define.
38248 (__ASSUME_MSG_NOSIGNAL): Likewise.
38249 (__ASSUME_SENDFILE): Define unconditionally.
38250 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38251 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38252 conditional code.
38253 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38254 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38255 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38256 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38257 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38258 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38259 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38261 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38262 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38264 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38265 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38267 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38268 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38270 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38271 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38273 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38274 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38276 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38277 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38279 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38280 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38282 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38283 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38284 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38285 Remove conditional code.
38286 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38287 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38288 Remove conditional code.
38289 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38290 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38291 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38292 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38293 Remove conditional code.
38294 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38295 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38296 Remove conditional code.
38297 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38298 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38299 Remove conditional code.
38300 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38301 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38302 Remove conditional code.
38303 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38304 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38305 Remove conditional code.
38306 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38307 * sysdeps/unix/sysv/linux/sh/pwrite64.c
38308 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38309 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38310 * sysdeps/unix/sysv/linux/sigaction.c
38311 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38312 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38313 * sysdeps/unix/sysv/linux/sigpending.c
38314 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38315 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38316 * sysdeps/unix/sysv/linux/sigprocmask.c
38317 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38318 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38319 * sysdeps/unix/sysv/linux/sigsuspend.c
38320 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38321 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38322 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38323 (__libc_missing_rt_sigs): Remove.
38324 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38325 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38326 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38327 Remove conditional code.
38328 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38329 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38330 return 1.
38331 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38332 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38333 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38334 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38335
1bfb7291
AJ
383362012-05-14 Andreas Jaeger <aj@suse.de>
38337
caae5a81
AJ
38338 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38339 it's not used in glibc.
38340 (__coshm1): Likewise.
38341 (__acosh1p): Likewise.
38342 (__sgn): Likewise.
38343
1bfb7291
AJ
38344 * manual/string.texi (Copying and Concatenation): Add missing
38345 variable in concat example.
38346 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38347
c044d724
L
383482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38349
144c5467 38350 [BZ #14103]
c044d724
L
38351 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38352 __builtin_clzl with __builtin_clzll.
38353
2523c62b
L
383542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38355
38356 [BZ #14104]
38357 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38358 libc_freeres_ptr.
38359
d7bb4c42
LD
383602012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38361
38362 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38363 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38364 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38365 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38366
9dc4e1fb
MF
383672012-05-14 Mike Frysinger <vapier@gentoo.org>
38368
38369 * NEWS: Update ia64 info.
38370
c7df0112
AS
383712012-05-12 Andreas Schwab <schwab@linux-m68k.org>
38372
38373 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38374 used as bcopy.
38375
dc70356c
TS
383762012-05-12 Thomas Schwinge <thomas@codesourcery.com>
38377
38378 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38379 * sysdeps/unix/syscalls.list (dup3): Likewise.
38380 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38381 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38382
9fb1a21f
L
383832012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38384
38385 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38386 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38387
4822a2a5
L
383882012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38389
38390 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38391 thread pointer.
38392 (TLS_IE): Use mov/add instead of movq/addq to load thread
38393 pointer.
38394 (TLS_GD_PREFIX): New.
38395 (TLS_GD): Use it.
38396
842b81d6
DM
383972012-05-11 David S. Miller <davem@davemloft.net>
38398
38399 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38400 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38401 (_FPU_SETCW): Likewise.
38402
1cf463cd
L
384032012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38404
38405 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38406 is 32-byte aligned.
38407
60cc4a18
AS
384082012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38409
38410 [BZ #11837]
38411 * iconvdata/gb18030.c: Update tables.
38412 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38413 characters specially.
38414 (BODY for TO_LOOP): Add encoding of missing ranges.
38415
febb44a4
TS
384162012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38417
38418 [BZ #13673]
38419 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38420 * sysdeps/mach/hurd/dup3.c: Likewise.
38421 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38422 * sysdeps/powerpc/memmove.c:: Likewise.
38423
0a10fb9e
L
384242012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38425
38426 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38427 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38428
df8a552f
L
384292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38430
38431 * elf/elf.h (R_X86_64_RELATIVE64): New.
38432 (R_X86_64_NUM): Updated.
38433 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38434 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38435 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38436 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38437 tst-quad1pie tst-quad2pie
38438 (modules-names): Add tst-quadmod1 tst-quadmod2.
38439 ($(objpfx)tst-quad1): New dependency.
38440 ($(objpfx)tst-quad2): Likewise.
38441 ($(objpfx)tst-quad1pie): Likewise.
38442 ($(objpfx)tst-quad2pie): Likewise.
38443 * sysdeps/x86_64/tst-quad1.c: New file.
38444 * sysdeps/x86_64/tst-quad1pie.c: New file.
38445 * sysdeps/x86_64/tst-quad2.c: Likewise.
38446 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38447 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38448 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38449 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38450 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38451
f34d6f84
ST
384522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38453
f42d41d1
ST
38454 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38455 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38456 * streams/stropts.h (t_scalar_t): Define type.
38457
3c3571fc
ST
38458 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38459 (_PATH_PRESERVE): Set to "/var/lib".
38460 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38461
61f06bd3
ST
38462 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38463 instead of int.
38464
918d4d71
ST
38465 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38466 if __dir_mkfile succeeded.
38467
f34d6f84
ST
38468 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38469 checking for _hurd_dtablesize. Unlock it right after having
38470 finished _hurd_dtable allocation.
38471
10589b4a
TS
384722012-05-10 Thomas Schwinge <thomas@schwinge.name>
38473
674cdbc7
TS
38474 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38475 * sysdeps/mach/hurd/configure: Regenerated.
38476 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38477 special-casing to...
38478 * sysdeps/gnu/configure.in: ... this new file.
38479 * sysdeps/unix/sysv/linux/configure: Regenerated.
38480 * sysdeps/gnu/configure: New generated file.
38481
8e41b99f
TS
38482 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38483 for Linux: use nsec instead of usec, as well as:
38484 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38485 members of type struct timespec.
38486 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38487 New macros.
38488 (struct stat64): Likewise.
38489 (_STATBUF_ST_NSEC): New macro.
38490 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38491
10589b4a
TS
38492 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38493 __strtoul_internal rather than strtoul.
38494
63643c85
PT
384952012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38496
38497 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38498 and reject them.
38499
3faebe6a
ST
385002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38501
38502 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38503 which preserves existing values.
38504 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38505
c6474b07
PT
385062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38507
38508 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38509 TIMEOUT values. Return EINVAL for NFDS values either negative or
38510 greater than FD_SETSIZE.
38511
1043890b
ST
385122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38513
38514 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38515 allocated, call __vm_protect to finish enabling the existing space, and
38516 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38517 allocate the remainder.
38518
37ed8b9b
PT
385192012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38520
38521 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38522 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38523
db653660
ST
385242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38525
37ed8b9b
PT
38526 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38527 sysdeps/mach/hurd/readlink.c.
b29d4053 38528
db653660
ST
38529 * posix/tst-sysconf.c (posix_options): Only use
38530 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38531 _POSIX_SYNCHRONIZED_IO when they are defined
38532 * sysdeps/mach/hurd/bits/posix_opt.h:
38533 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38534 (_XOPEN_REALTIME): Undefine macro.
38535 (_XOPEN_REALTIME_THREADS): Undefine macro.
38536 (_XOPEN_SHM): Undefine macro.
38537 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38538 macro to -1.
38539 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38540 macro to -1.
38541 (_POSIX_ASYNC_IO): Undefine macro.
38542 (_POSIX_PRIORITIZED_IO): Undefine macro.
38543 (_POSIX_SPIN_LOCKS): Define macro to -1.
38544
ee16e894
ST
38545 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38546 SA_NODEFER, SA_RESETHAND.
38547 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38548 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38549 F_DUPFD_CLOEXEC.
38550
6103ae3b
TS
385512012-05-10 Thomas Schwinge <thomas@schwinge.name>
38552
38553 * elf/Makefile (pldd-modules): Define unconditionally.
38554
80b4e5f3
TS
385552012-05-10 Thomas Schwinge <thomas@schwinge.name>
38556
38557 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38558
edadcbd6
ST
385592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38560
38561 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38562 Return ENOENT when name is empty.
38563 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38564
80694780
TS
385652012-05-10 Thomas Schwinge <thomas@schwinge.name>
38566
1792c087
TS
38567 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38568
80694780
TS
38569 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38570
6b645f0d
ST
385712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38572
80694780
TS
38573 Fix mlock in all cases except non-readable pages.
38574 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38575 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 38576
6b645f0d
ST
38577 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38578 (__mkdir): When path is `/', just fail with EEXIST.
38579 * sysdeps/mach/hurd/mkdirat.c: Likewise.
38580
e468f8a3
TS
385812012-05-10 Thomas Schwinge <thomas@schwinge.name>
38582
38583 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38584 <sys/uio.h> (for writev).
38585 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38586 and <sys/param.h> (for MIN).
38587
a4186cff
PT
385882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38589
38590 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38591 REQUESTED_TIME. Properly set the remaining time and return EINTR
38592 if interrupted.
38593
510bbf14
TS
385942012-05-10 Thomas Schwinge <thomas@schwinge.name>
38595
38596 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38597 Depend on against $(link-rpcuserlibs).
38598
5d5722e8
ST
385992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38600
a4186cff
PT
38601 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38602 (__libc_stack_end): Do not use attribute_relro.
38603 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38604 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 38605 to libthread-provided value.
a4186cff
PT
38606 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38607 attribute_relro.
5d5722e8 38608
37233df9
TS
386092012-05-10 Thomas Schwinge <thomas@schwinge.name>
38610
be971a2b
TS
38611 [BZ #3748]
38612 * bits/libc-lock.h (__libc_once_get): New macro.
38613 * sysdeps/mach/bits/libc-lock.h: Likewise.
38614 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38615 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38616 instead of using implementation details.
38617
37233df9
TS
38618 * libio/fileops.c: Unconditionally include <kernel-features.h>.
38619 * libio/freopen.c: Likewise.
38620 * libio/freopen64.c: Likewise.
38621 * misc/syslog.c: Likewise.
38622 * nscd/connections.c: Likewise.
38623 * nscd/netgroupcache.c: Likewise.
38624 * sysdeps/posix/getcwd.c: Likewise.
38625
38de94a5
RM
386262012-05-10 Roland McGrath <roland@hack.frob.com>
38627
38628 * math/w_ilogbf.c: Add #include <limits.h>.
38629
67530489
ST
386302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38631
a4186cff 38632 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
38633 path instead of returning without unlocking.
38634
67530489
ST
38635 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38636 immediate-write ioctls.
38637 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38638
5aa3a74a
TS
386392012-05-10 Thomas Schwinge <thomas@schwinge.name>
38640
18bad2ae
TS
38641 * sysdeps/mach/hurd/i386/init-first.c (init): Use
38642 __builtin_frame_address instead of making assumptions about the
38643 location of the return address relative to DATA. Force early load of
38644 the return address.
38645 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38646 __builtin_frame_address.
38647
5aa3a74a
TS
38648 dup3 for GNU Hurd.
38649 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38650 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
38651 implement dup3 and do some further code clean-ups.
38652 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38653 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38654
ecd0de9a
ST
386552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38656
cd9fa985
ST
38657 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38658
a4186cff
PT
38659 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38660 HURD_CRITICAL_END around holding _hurd_dtable_lock.
38661 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38662 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38663 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38664 d->port.lock.
802ca5a5 38665
a4186cff
PT
38666 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38667 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
38668 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 38669
bcf55240
TS
386702012-05-10 Thomas Schwinge <thomas@schwinge.name>
38671
6960eb42
TS
38672 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38673 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38674 definitions.
38675
eb43375f
TS
38676 accept4 for GNU Hurd.
38677 * include/sys/socket.h (__libc_accept4): New prototype.
38678 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
38679 to implement __libc_accept4.
38680 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38681 __libc_accept4.
38682 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38683
bcf55240
TS
38684 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38685 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38686 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38687 signal-defines.sym.
38688
6178c55b
ST
386892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38690
a4186cff 38691 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 38692
6f080c2f
TS
386932012-05-10 Thomas Schwinge <thomas@schwinge.name>
38694
38695 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38696 assertion on O_CLOEXEC flag.
38697 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38698 * hurd/intern-fd.c: Likewise.
38699 * hurd/port2fd.c: Likewise.
38700
bcfe3a54
ST
387012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38702
38703 [BZ #3906]
38704 * bits/in.h (IPV6_PKTINFO): Define new macro.
38705 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38706
89c9aa49
AZ
387072012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38708
38709 [BZ #13954]
38710 [BZ #13955]
38711 [BZ #13956]
38712 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38713 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38714 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38715 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38716 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38717 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38718 * math/libm-test.inc (logb_test) : Additional logb tests.
38719
021db4be
AJ
387202012-05-09 Andreas Schwab <schwab@linux-m68k.org>
38721 Andreas Jaeger <aj@suse.de>
38722
38723 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38724 * configure: Regenerated.
38725 * config.h.in (LINK_OBSOLETE_RPC): New macro.
38726 * config.make.in (link-obsolete-rpc): New substituted variable.
38727 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38728 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38729 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38730 (shared-only-routines): Don't set it under [link-obsolete-rpc],
38731 so that libc.a contains the symbols.
38732 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38733 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38734 * sunrpc/auth_none.c: Likewise.
38735 * sunrpc/auth_unix.c: Likewise.
38736 * sunrpc/authdes_prot.c: Likewise.
38737 * sunrpc/authuxprot.c: Likewise.
38738 * sunrpc/clnt_gen.c: Likewise.
38739 * sunrpc/clnt_perr.c: Likewise.
38740 * sunrpc/clnt_raw.c: Likewise.
38741 * sunrpc/clnt_simp.c: Likewise.
38742 * sunrpc/clnt_tcp.c: Likewise.
38743 * sunrpc/clnt_udp.c: Likewise.
38744 * sunrpc/clnt_unix.c: Likewise.
38745 * sunrpc/des_crypt.c: Likewise.
38746 * sunrpc/des_soft.c: Likewise.
38747 * sunrpc/get_myaddr.c: Likewise.
38748 * sunrpc/key_call.c: Likewise.
38749 * sunrpc/key_prot.c: Likewise.
38750 * sunrpc/netname.c: Likewise.
38751 * sunrpc/pm_getmaps.c: Likewise.
38752 * sunrpc/pm_getport.c: Likewise.
38753 * sunrpc/pmap_clnt.c: Likewise.
38754 * sunrpc/pmap_prot.c: Likewise.
38755 * sunrpc/pmap_prot2.c: Likewise.
38756 * sunrpc/pmap_rmt.c: Likewise.
38757 * sunrpc/publickey.c: Likewise.
38758 * sunrpc/rpc_cmsg.c: Likewise.
38759 * sunrpc/rpc_common.c: Likewise.
38760 * sunrpc/rpc_dtable.c: Likewise.
38761 * sunrpc/rpc_prot.c: Likewise.
38762 * sunrpc/rpc_thread.c: Likewise.
38763 * sunrpc/rtime.c: Likewise.
38764 * sunrpc/svc.c: Likewise.
38765 * sunrpc/svc_auth.c: Likewise.
38766 * sunrpc/svc_raw.c: Likewise.
38767 * sunrpc/svc_run.c: Likewise.
38768 * sunrpc/svc_tcp.c: Likewise.
38769 * sunrpc/svc_udp.c: Likewise.
38770 * sunrpc/svc_unix.c: Likewise.
38771 * sunrpc/svcauth_des.c: Likewise.
38772 * sunrpc/xcrypt.c: Likewise.
38773 * sunrpc/xdr.c: Likewise.
38774 * sunrpc/xdr_array.c: Likewise.
38775 * sunrpc/xdr_float.c: Likewise.
38776 * sunrpc/xdr_intXX_t.c: Likewise.
38777 * sunrpc/xdr_mem.c: Likewise.
38778 * sunrpc/xdr_rec.c: Likewise.
38779 * sunrpc/xdr_ref.c: Likewise.
38780 * sunrpc/xdr_sizeof.c: Likewise.
38781 * sunrpc/xdr_stdio.c: Likewise.
38782
b5c086a2
RM
387832012-05-10 Roland McGrath <roland@hack.frob.com>
38784
38785 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38786 change. Update copyright years.
38787
6d74dd09
JM
387882012-05-10 Joseph Myers <joseph@codesourcery.com>
38789
38790 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38791
28e72501
MK
387922012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
38793 Joseph Myers <joseph@codesourcery.com>
38794 Paul Pluzhnikov <ppluzhnikov@google.com>
38795
38796 [BZ #14012]
38797 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38798 requiring rpcgen.
38799 [cross-compiling] (extra-libs): Likewise.
38800 [cross-compiling] (extra-libs-others): Likewise.
38801 [cross-compiling] (librpcsvc-routines): Likewise.
38802 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38803 [cross-compiling] (omit-deps): Likewise.
38804 (sunrpc-CPPFLAGS): New variable.
38805 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38806 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38807 (cross-rpcgen-objs): New variable.
38808 (extra-objs): Append $(cross-rpcgen-objs).
38809 ($(cross-rpcgen-objs)): New rule.
38810 ($(objpfx)cross-rpcgen): Likewise.
38811 (rpcgen-cmd): Define to use $(built-program-file). Expand
38812 comment.
38813 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38814 ($(objpfx)x%.stmp): Likewise.
38815 * sunrpc/proto.h [IS_IN_build] (_): Define.
38816 [IS_IN_build] (_libc_intl_domainname): Likewise.
38817
c8c59454
L
388182012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38819
38820 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38821 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38822 and R_X86_64_TPOFF64.
38823
6f27cd16
JM
388242012-05-10 Joseph Myers <joseph@codesourcery.com>
38825
38826 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38827 sysdeps/unix/sysv/syscalls.list.
38828 (stime): Likewise.
38829 (utime): Likewise.
38830 * sysdeps/unix/sysv/syscalls.list: Remove file.
38831
02467e1c
PE
388322012-05-10 Paul Eggert <eggert@cs.ucla.edu>
38833
38834 [BZ #3440]
38835 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38836 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38837 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38838 (__LC_IDENTIFICATION): Make these macros useful in #if
38839 expressions, as required by C99.
38840
da392631
AS
388412012-05-10 Andreas Schwab <schwab@linux-m68k.org>
38842
38843 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38844 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
38845 after this.
38846
8115f29b
L
388472012-05-09 H.J. Lu <hongjiu.lu@intel.com>
38848
38849 * stdlib/longlong.h: Updated from GCC.
38850
bdd74070
AJ
388512012-05-09 Andreas Jaeger <aj@suse.de>
38852
edfe0dbe
AJ
38853 * nscd/nscd.c (run_modes): Make named enum, reorder so that
38854 default is first entry.
38855 (run_mode): Set type.
38856 (main): Remove informal message about syslog.
38857 (options): Fix typo.
38858
bcfe3a54
ST
38859 [BZ #14053]
38860 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 38861 to asm.
bcfe3a54
ST
38862 (lrint): Likewise.
38863 (llrintf): Likewise.
38864 (llrint): Likewise.
38865 (rint): Likewise.
38866 (rintf): Likewise.
38867 (nearbyint): Likewise.
38868 (nearbyintf): Likewise.
bdd74070 38869
91d8d69e
AJ
388702012-05-09 Andreas Jaeger <aj@suse.de>
38871 Pedro Alves <palves@redhat.com>
38872
38873 * nscd/nscd.c (run_mode): Use enum.
38874 (main): Cleanup coding style issue.
38875
bb90b80b
AJ
388762012-05-09 Alexandre Oliva <aoliva@redhat.com>
38877 Andreas Jaeger <aj@suse.de>
38878
bcfe3a54
ST
38879 * nscd/nscd.c (go_background): Replaced with...
38880 (run_mode): ... this.
bb90b80b 38881 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
38882 (options): Add -F --foreground.
38883 (main): Implement it.
38884 (parse_opt): Parse it.
bb90b80b 38885
1a4b75a1
AJ
388862012-05-09 Andreas Jaeger <aj@suse.de>
38887
38888 [BZ #14083]
38889 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38890 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38891 -Wconversion warning.
38892 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38893 Likewise.
38894
b1cc2472
JM
388952012-05-09 Joseph Myers <joseph@codesourcery.com>
38896
38897 * conform/data/locale.h-data (NULL): Use macro-constant. Require
38898 == 0.
38899 (LC_ALL): Use macro-int-constant.
38900 (LC_COLLATE): Likewise.
38901 (LC_CTYPE): Likewise.
38902 (LC_MESSAGES): Likewise.
38903 (LC_MONETARY): Likewise.
38904 (LC_NUMERIC): Likewise.
38905 (LC_TIME): Likewise.
38906 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38907 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38908 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38909 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38910 Specify type.
38911 [C99-based standards] (float_t): Expect type.
38912 [C99-based standards] (double_t): Expect type.
38913 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
38914 type.
38915 [C99-based standards] (HUGE_VALL): Likewise.
38916 [C99-based standards] (INFINITY): Likewise.
38917 [C99-based standards] (NAN): Likewise.
38918 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38919 [C99-based standards] (FP_NAN): Likewise.
38920 [C99-based standards] (FP_NORMAL): Likewise.
38921 [C99-based standards] (FP_SUBNORMAL): Likewise.
38922 [C99-based standards] (FP_ZERO): Likewise.
38923 [C99-based standards] (FP_FAST_FMA): Use
38924 optional-macro-int-constant. Specify type. Require == 1.
38925 [C99-based standards] (FP_FAST_FMAF): Likewise.
38926 [C99-based standards] (FP_FAST_FMAL): Likewise.
38927 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38928 [C99-based standards] (FP_ILOGBNAN): Likewise.
38929 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38930 Specify type.
38931 [C99-based standards] (MATH_ERREXCEPT): Likewise.
38932 [C99-based standards] (math_errhandling): Specify type.
38933 [ISO99 || ISO11] (signgam): Do not allow.
38934 [non-C99-based standards] (copysignf): Do not allow.
38935 [non-C99-based standards] (exp2f): Likewise.
38936 [non-C99-based standards] (log2f): Likewise.
38937 [non-C99-based standards] (modff): Allow.
38938 [non-C99-based standards] (erff): Do not allow.
38939 [non-C99-based standards] (erfcf): Likewise.
38940 [non-C99-based standards] (gammaf): Likewise.
38941 [non-C99-based standards] (hypotf): Likewise.
38942 [non-C99-based standards] (j0f): Likewise.
38943 [non-C99-based standards] (j1f): Likewise.
38944 [non-C99-based standards] (jnf): Likewise.
38945 [non-C99-based standards] (lgammaf): Likewise.
38946 [non-C99-based standards] (tgammaf): Likewise.
38947 [non-C99-based standards] (y0f): Likewise.
38948 [non-C99-based standards] (y1f): Likewise.
38949 [non-C99-based standards] (ynf): Likewise.
38950 [non-C99-based standards] (isnanf): Likewise.
38951 [non-C99-based standards] (acoshf): Likewise.
38952 [non-C99-based standards] (asinhf): Likewise.
38953 [non-C99-based standards] (atanhf): Likewise.
38954 [non-C99-based standards] (cbrtf): Likewise.
38955 [non-C99-based standards] (expm1f): Likewise.
38956 [non-C99-based standards] (ilogbf): Likewise.
38957 [non-C99-based standards] (log1pf): Likewise.
38958 [non-C99-based standards] (logbf): Likewise.
38959 [non-C99-based standards] (nextafterf): Likewise.
38960 [non-C99-based standards] (remainderf): Likewise.
38961 [non-C99-based standards] (rintf): Likewise.
38962 [non-C99-based standards] (scalbf): Likewise.
38963 [non-C99-based standards] (copysignl): Likewise.
38964 [non-C99-based standards] (exp2l): Likewise.
38965 [non-C99-based standards] (log2l): Likewise.
38966 [non-C99-based standards] (modfl): Allow.
38967 [non-C99-based standards] (erfl): Do not allow.
38968 [non-C99-based standards] (erfcl): Likewise.
38969 [non-C99-based standards] (gammal): Likewise.
38970 [non-C99-based standards] (hypotl): Likewise.
38971 [non-C99-based standards] (j0l): Likewise.
38972 [non-C99-based standards] (j1l): Likewise.
38973 [non-C99-based standards] (jnl): Likewise.
38974 [non-C99-based standards] (lgammal): Likewise.
38975 [non-C99-based standards] (tgammal): Likewise.
38976 [non-C99-based standards] (y0l): Likewise.
38977 [non-C99-based standards] (y1l): Likewise.
38978 [non-C99-based standards] (ynl): Likewise.
38979 [non-C99-based standards] (isnanl): Likewise.
38980 [non-C99-based standards] (acoshl): Likewise.
38981 [non-C99-based standards] (asinhl): Likewise.
38982 [non-C99-based standards] (atanhl): Likewise.
38983 [non-C99-based standards] (cbrtl): Likewise.
38984 [non-C99-based standards] (expm1l): Likewise.
38985 [non-C99-based standards] (ilogbl): Likewise.
38986 [non-C99-based standards] (log1pl): Likewise.
38987 [non-C99-based standards] (logbl): Likewise.
38988 [non-C99-based standards] (nextafterl): Likewise.
38989 [non-C99-based standards] (remainderl): Likewise.
38990 [non-C99-based standards] (rintl): Likewise.
38991 [non-C99-based standards] (scalbl): Likewise.
38992 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38993 [non-C99-based standards] (FP_*): Do not allow.
38994 [C99-based standards] (FP_*): Change to
38995 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38996 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38997 allow.
38998 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38999 (SIG_ERR): Likewise.
39000 [X/Open-based standards] (SIG_HOLD): Likewise.
39001 (SIG_IGN): Likewise.
39002 (SIGABRT): Use macro-int-constant. Specify type. Require
39003 positive value.
39004 (SIGFPE): Likewise.
39005 (SIGILL): Likewise.
39006 (SIGINT): Likewise.
39007 (SIGSEGV): Likewise.
39008 (SIGTER): Likewise.
39009 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
39010 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
39011 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
39012 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
39013 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
39014 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
39015 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
39016 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
39017 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
39018 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
39019 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
39020 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
39021 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
39022 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
39023 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
39024 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
39025 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
39026 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
39027 [X/Open-based standards] (SIGTRAP): Likewise.
39028 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
39029 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
39030 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
39031 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
39032 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39033 allow.
39034
b9f1922d
IW
390352012-05-08 Ian Wienand <ianw@vmware.com>
39036
39037 [BZ #14080]
39038 * time/tzset.c (__tzset_parse_tz): Update default rules for
39039 daylight time changes in the Energy Policy Act of 2005.
39040
1db86e88
AJ
390412012-05-09 Andreas Jaeger <aj@suse.de>
39042
39043 [BZ #13983]
39044 * elf/ldconfig.c (parse_conf): Change string to make clear that
39045 ldconfig only issued a warning if ld.so.conf does not exist.
39046
dee4a4e3
DM
390472012-05-08 David S. Miller <davem@davemloft.net>
39048
ee0db190
DM
39049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
39050 movxtod instead of popping the value on the stack.
39051
dee4a4e3
DM
39052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39053
6a43ec98
CD
390542012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
39055
39056 * config.h.in: Add HAVE_ARM_PCS_VFP.
39057
05c2c961
RMG
390582012-05-08 Roland Mc Grath <roland@hack.frob.com>
39059
bcfe3a54
ST
39060 [BZ #13979]
39061 * include/features.h: Warn if user requests __FORTIFY_SOURCE
39062 checking but the checks are disabled for any reason.
05c2c961 39063
4b30f61a
L
390642012-05-08 H.J. Lu <hongjiu.lu@intel.com>
39065
39066 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
39067 and ELF64_R_TYPE with ELFW(R_TYPE).
39068
eee2bc67
JM
390692012-05-08 Joseph Myers <joseph@codesourcery.com>
39070
7ea5391a
JM
39071 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
39072 (ulimit): Likewise.
39073
eee2bc67
JM
39074 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
39075 (settimeofday): Likewise.
39076
abb66a67
MF
390772012-05-08 Mike Frysinger <vapier@gentoo.org>
39078
39079 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
39080 a struct th_u2 inside the union, and move tu_block/tu_code into
39081 a new th_u3 union of tu_block/tu_code inside of that. Move
39082 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
39083 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
39084 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39085 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
39086 (th_stuff): Change to th_u1.tu_stuff.
39087 (th_data): Define.
39088 (th_msg): Change to th_u1.th_u2.tu_data.
39089
7f18b530
DM
390902012-05-07 David S. Miller <davem@davemloft.net>
39091
05760585
DM
39092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39093
7f18b530
DM
39094 [BZ #14074]
39095 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39096 (SETUP_PIC_REG): Use it.
39097 (SETUP_PIC_REG_LEAF): Use it.
39098
495fd99f
JM
390992012-05-07 Joseph Myers <joseph@codesourcery.com>
39100
39101 [BZ #13885]
39102 [BZ #13923]
39103 * sysdeps/i386/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/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39109 e_expl.S.
39110 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39111 USE_AS_EXPM1L.
39112 (EXPL_FINITE): Likewise.
39113 (FLDLOG): Likewise.
39114 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39115 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39116 e_expl.S.
39117 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
39118 test of -max_value argument for long double.
39119 * sysdeps/i386/fpu/libm-test-ulps: Update.
39120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39121
6693d694
DM
391222012-05-06 David S. Miller <davem@davemloft.net>
39123
39124 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39125 quad soft-float symbols whose references which are compiler
39126 generated.
39127 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39128
6c23e11c
JM
391292012-05-06 Joseph Myers <joseph@codesourcery.com>
39130
d8b82cad
JM
39131 [BZ #13884]
39132 [BZ #13914]
39133 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39134 USE_AS_EXP10L.
39135 (EXPL_FINITE): Likewise.
39136 (FLDLOG): Likewise.
39137 (c0): Likewise.
39138 (c1): Likewise.
39139 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39140 Adjust comments for base varying.
39141 (__expl_finite): Change alias to EXPL_FINITE.
39142 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39143 e_expl.S.
39144 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39145 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39146 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39147 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39148 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39149 USE_AS_EXP10L.
39150 (EXPL_FINITE): Likewise.
39151 (FLDLOG): Likewise.
39152 (c0): Likewise.
39153 (c1): Likewise.
39154 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39155 Adjust comments for base varying.
39156 (__expl_finite): Change alias to EXPL_FINITE.
39157 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
39158 tests for bugs.
39159 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39160
6c23e11c
JM
39161 [BZ #14064]
39162 * math/libm-test.inc (check_float_internal): Correct ulp
39163 calculation for subnormal expected results.
39164
29ba805c
AJ
391652012-05-06 Andreas Jaeger <aj@suse.de>
39166
39167 * Makeconfig (+math-flags): New, set to -frounding-math.
39168 (+cflags): Add +math-flags so that all of glibc gets compiled with
39169 it.
39170
39171 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39172
7b17aeda
JM
391732012-05-05 Joseph Myers <joseph@codesourcery.com>
39174
5779f134
JM
39175 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39176 Disable one test.
39177
41498f4d
JM
39178 [BZ #13787]
39179 [BZ #13922]
39180 [BZ #14036]
39181 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39182 (__ieee754_expl): Allow for and saturate large arguments.
39183 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39184 (u_threshold): Likewise.
39185 (__exp): Call __ieee754_exp before checking for overflow and
39186 underflow.
39187 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39188 (u_threshold): Likewise.
39189 (__expf): Call __ieee754_expf before checking for overflow and
39190 underflow.
39191 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39192 (u_threshold): Likewise.
39193 (__expl): Call __ieee754_expl before checking for overflow and
39194 underflow.
39195 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39196 (__ieee754_expl): Allow for and saturate large arguments.
39197 * math/libm-test.inc (exp_test): Add another test. Do not allow
39198 missing overflow exception on overflow.
39199 (expm1_test): Do not allow missing overflow exception on overflow.
39200
6698b8bf
JM
39201 * sysdeps/i386/fpu/e_expl.c: Move to ...
39202 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
39203 rather than using inline asm.
39204 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39205 * sysdeps/x86_64/fpu/e_expl.S: Copy from
39206 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39207
7b17aeda
JM
39208 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39209 (nice): Likewise.
39210 (poll): Likewise.
39211 (signal): Likewise.
39212 (time): Likewise.
39213 (times): Likewise.
39214
f7c85819
JM
392152012-05-04 Joseph Myers <joseph@codesourcery.com>
39216
39217 * sysdeps/unix/syscalls.list (adjtime): Add entry from
39218 sysdeps/unix/common/syscalls.list.
39219 (fchmod): Likewise.
39220 (fchown): Likewise.
39221 (ftruncate): Likewise.
39222 (getrusage): Likewise.
39223 (gettimeofday): Likewise.
39224 (setpgid): Likewise.
39225 (setregid): Likewise.
39226 (setreuid): Likewise.
39227 (sigaction): Likewise.
39228 (truncate): Likewise.
39229 (vhangup): Likewise.
39230 * sysdeps/unix/common/syscalls.list: Remove file.
39231 * sysdeps/unix/bsd/Implies: Don't include unix/common.
39232 * sysdeps/unix/sysv/linux/Implies: Likewise.
39233
336270d0
L
392342012-05-04 H.J. Lu <hongjiu.lu@intel.com>
39235
39236 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39238 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39239 Moved to ...
39240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39241 Here.
39242 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39243 to ...
39244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39245 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39246 to ...
39247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39248 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39249 to ...
39250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39251 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39252 to ...
39253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39254 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39255 to ...
39256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39257 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39258 to ...
39259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39260 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39261 to ...
39262 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39263 Here.
39264 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39265 to ...
39266 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39267 Here.
39268 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39269 to ...
39270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39271 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39272 Moved to ...
39273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39274 Here.
39275 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39276 to ...
39277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39278
d128e450
JM
392792012-05-04 Joseph Myers <joseph@codesourcery.com>
39280
fa8ee516
JM
39281 * sysdeps/unix/common/bits/dirent.h: Remove file.
39282 * sysdeps/unix/common/bits/fcntl.h: Likewise.
39283
d128e450
JM
39284 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39285 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39286 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39287 * sysdeps/unix/bsd/isatty.c: Likewise.
39288 * sysdeps/unix/bsd/tcdrain.c: Likewise.
39289 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39290 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39291
ff8faaf0 392922012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 39293
62881be4 39294 [BZ #13563]
31dc8730
AZ
39295 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39296 long double comparison inaccuracies.
39297 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39299
6fef930c
AS
393002012-05-04 Andreas Schwab <schwab@linux-m68k.org>
39301
39302 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39303 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39304
8f203e6c
JM
393052012-05-04 Joseph Myers <joseph@codesourcery.com>
39306
39307 [BZ #14049]
39308 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39309 nonzero digits before rounding a hex value.
39310 * stdlib/tst-strtod.c (tests): Add another test.
39311
5197d9c2
AK
393122012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39313
39314 * sysdeps/s390/fpu/libm-test-ulps: Update.
39315
f0c1dedf
AJ
393162012-05-03 Andreas Jaeger <aj@suse.de>
39317
39318 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39319 does not get optimized out.
39320 (malloc_opt_barrier): New.
39321
a65ef2ae 393222012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 39323 Roland McGrath <roland@hack.frob.com>
a65ef2ae 39324
2b942cb7 39325 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 39326 intermediate file deletion.
2b942cb7 39327 (generated): Add .symlist files.
a65ef2ae 39328
54b71e02
JM
393292012-05-03 Joseph Myers <joseph@codesourcery.com>
39330
39331 [BZ #13775]
39332 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39333 Redirect under this condition.
39334 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39335 [__USE_GNU] (__dprintf_chk): Not under this condition.
39336 [__USE_GNU] (__vdprintf_chk): Likewise.
39337 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39338 under this condition.
39339 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39340 [__USE_XOPEN2K8] (dprintf): Define under this condition.
39341 [__USE_XOPEN2K8] (vdprintf): Likewise.
39342 [__USE_GNU] (__dprintf_chk): Not under this condition.
39343 [__USE_GNU] (__vdprintf_chk): Likewise.
39344 [__USE_GNU] (dprintf): Likewise.
39345 [__USE_GNU] (vdprintf): Likewise.
39346
d3dfcc41
RM
393472012-05-03 Roland McGrath <roland@hack.frob.com>
39348
39349 * elf/Makefile (common-generated): Set this instead of generated for
39350 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
39351 $(all-built-dso)-derived lists.
39352
7ac30cc5
AJ
393532012-05-03 Andreas Jaeger <aj@suse.de>
39354
0c51e550
AJ
39355 * sysdeps/i386/fpu/libm-test-ulps: Update.
39356
7ac30cc5
AJ
39357 * FAQ: Removed.
39358 * FAQ.in: Likewise.
39359 * scripts/gen-FAQ.pl: Likewise.
39360 * manual/install.texi (Installation): Point to online location of
39361 FAQ.
39362 * Makefile (files-for-dist): Remove FAQ.
39363 (FAQ): Remove.
39364
d4c2917f
AM
393652012-05-02 Allan McRae <allan@archlinux.org>
39366
39367 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39368 (LDFLAGS-reldepmod5.so): Likewise.
39369 (LDFLAGS-reldep6mod1.so): Likewise.
39370 (LDFLAGS-reldep6mod4.so): Likewise.
39371 (LDFLAGS-reldep8mod3.so): Likewise.
39372 (LDFLAGS-unload4mod1.so): Likewise.
39373 (LDFLAGS-unload4mod2.so): Likewise.
39374 (LDFLAGS-tst-initorder): Likewise.
39375 (LDFLAGS-tst-initordera2.so): Likewise.
39376 (LDFLAGS-tst-initordera3.so): Likewise.
39377 (LDFLAGS-tst-initordera4.so): Likewise.
39378 (LDFLAGS-tst-initorderb2.so): Likewise.
39379 (LDFLAGS-noload): Likewise.
39380 (LDFLAGS-next): Likewise.
39381 (LDFLAGS-order2mod1.so): Likewise.
39382 (LDFLAGS-order2mod2.so): Likewise.
39383 (LDFLAGS-tst-initorder2): Likewise.
39384 (LDFLAGS-tst-initorder2a.so): Likewise.
39385 (LDFLAGS-tst-initorder2b.so): Likewise.
39386 (LDFLAGS-tst-initorder2c.so): Likewise.
39387 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39388
d77f993f
DM
393892012-05-02 David S. Miller <davem@davemloft.net>
39390
39391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39392
171a70b4
PP
393932012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39394
39395 [BZ #14055]
39396 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39397
0be196ad
AJ
393982012-05-02 Andreas Jaeger <aj@suse.de>
39399
39400 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39401 since we manipulate rounding mode.
39402 (CPPFLAGS-test-idouble.c): Likewise.
39403 (CPPFLAGS-test-ifloat.c): Likewise.
39404 (CFLAGS-test-ldouble.c): Likewise.
39405 (CFLAGS-test-double.c): Likewise.
39406 (CFLAGS-test-float.c): Likewise.
39407 (CFLAGS-test-misc.c): Likewise.
39408 (CFLAGS-test-test-fenv.c): Likewise.
39409
4f9d04aa
AZ
394102012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39411
2b942cb7
RM
39412 [BZ #2550]
39413 [BZ #2570]
39414 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39415 comparisons to determine direction to adjust input.
4f9d04aa 39416
82a79e7d
RM
394172012-05-01 Roland McGrath <roland@hack.frob.com>
39418
f5a01ca9
RM
39419 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39420 output to the target.
39421
90fe4186
RM
39422 * scripts/localplt.awk: New file.
39423 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39424 (check-localplt-CFLAGS): Variable removed.
39425 ($(all-built-dso:=.jmprel)): New static pattern rule.
39426 (generated): Add those targets.
39427 (localplt-built-dso): New variable.
39428 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39429
39430 * elf/check-localplt.c: File removed.
39431
82397ed6
RM
39432 * scripts/check-execstack.awk: New file.
39433 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39434 (check-execstack-CFLAGS): Variable removed.
39435 ($(objpfx)check-execstack.h): Target removed.
39436 ($(objpfx)execstack-default): New target.
39437 (generated): Add that instead of check-execstack.h.
39438 ($(all-built-dso:=.phdr)): New static pattern rule.
39439 (generated): Add those targets.
39440 * elf/check-execstack.c: File removed.
39441
82a79e7d
RM
39442 * scripts/check-textrel.awk: New file.
39443 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39444 (check-textrel-CFLAGS): Variable removed.
39445 (all-built-dso): Use := to define.o
39446 ($(all-built-dso:=.dyn)): New static pattern rule.
39447 (generated): Add those targets.
39448 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39449 * config.make.in (READELF): New substituted variable.
39450 * elf/check-textrel.c: File removed.
39451
62fde54f 394522012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 39453
615605c9
JM
39454 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39455 allow.
39456 * conform/data/ctype.h-data [C99-based standards] (isblank):
39457 Expect function.
39458 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39459 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39460 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39461 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39462 Specify type. Require positive value.
39463 (EILSEQ): Likewise.
39464 (ERANGE): Likewise.
39465 [ISO || POSIX] (EILSEQ): Do not expect.
39466 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39467 Specify type. Require positive value.
39468 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39469 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39470 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39471 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39472 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39473 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39474 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39475 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39476 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39477 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39478 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39479 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39480 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39481 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39482 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39483 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39484 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39485 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39486 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39487 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39488 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39489 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39490 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39491 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39492 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39493 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39494 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39495 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39496 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39497 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39498 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39499 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39500 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39501 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39502 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39503 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39504 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39505 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39506 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39507 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39508 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39509 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39510 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39511 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39512 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39513 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39514 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39515 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39516 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39517 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39518 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39519 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39520 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39521 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39522 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39523 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39524 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39525 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39526 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39527 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39528 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39529 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39530 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39531 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39532 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39533 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39534 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39535 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39536 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39537 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39538 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39539 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39540 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39541 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39542 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39543 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39544 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39545 Require >= 2.
39546 (FLT_ROUNDS): Expect as macro, not constant.
39547 (FLT_MANT_DIG): Use macro-int-constant.
39548 (DBL_MANT_DIG): Likewise.
39549 (LDBL_MANT_DIG): Likewise.
39550 (FLT_DIG): Likewise.
39551 (DBL_DIG): Likewise.
39552 (LDBL_DIG): Likewise.
39553 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39554 (DBL_MIN_EXP): Likewise.
39555 (LDBL_MIN_EXP): Likewise.
39556 (FLT_MAX_EXP): Use macro-int-constant.
39557 (DBL_MAX_EXP): Likewise.
39558 (LDBL_MAX_EXP): Likewise.
39559 (FLT_MAX_10_EXP): Likewise.
39560 (DBL_MAX_10_EXP): Likewise.
39561 (LDBL_MAX_10_EXP): Likewise.
39562 (FLT_MAX): Use macro-constant.
39563 (DBL_MAX): Likewise.
39564 (LDBL_MAX): Likewise.
39565 (FLT_EPSILON): Use macro-constant. Give upper bound.
39566 (DBL_EPSILON): Likewise.
39567 (LDBL_EPSILON): Likewise.
39568 (FLT_MIN): Likewise.
39569 (DBL_MIN): Likewise.
39570 (LDBL_MIN): Likewise.
39571 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39572 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39573 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39574 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39575 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39576 [ISO11] (DBL_DECIMAL_DIG): Likewise.
39577 [ISO11] (FLT_DECIMAL_DIG): Likewise.
39578 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39579 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39580 [ISO11] (FLT_TRUE_MIN): Likewise.
39581 [ISO11] (LDBL_TRUE_MIN): Likewise.
39582 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39583 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39584 (SCHAR_MIN): Use macro-int-constant. Specify type.
39585 (SCHAR_MAX): Likewise.
39586 (UCHAR_MAX): Likewise.
39587 (CHAR_MIN): Likewise.
39588 (CHAR_MAX): Likewise.
39589 (MB_LEN_MAX): Use macro-int-constant.
39590 (SHRT_MIN): Use macro-int-constant. Specify type.
39591 (SHRT_MAX): Likewise.
39592 (USHRT_MAX): Likewise.
39593 (INT_MAX): Likewise.
39594 (INT_MIN): Use macro-int-constant. Specify type. Make upper
39595 bound negative.
39596 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
39597 bound with "U".
39598 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39599 bound with "L".
39600 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
39601 bound negative. Suffix upper bound with "L".
39602 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39603 bound with "UL".
39604 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39605 Specify type.
39606 [C99-based standards] (LLONG_MAX): Likewise.
39607 [C99-based standards] (ULLONG_MAX): Likewise.
39608 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
39609 == 0.
39610 [ISO11] (max_align_t): Require type.
39611 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39612
c9140a62
JM
39613 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39614 from $CFLAGS, without defining away __attribute__ calls.
39615 (checknamespace): Use $CFLAGS_namespace.
39616
9af0bf29
JM
39617 * conform/conformtest.pl (@keywords): Only include C99 keywords
39618 for standards based on C99 or C11.
39619
343222a2
JM
39620 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39621 Disable tests.
39622 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39623 UNIX98]: Likewise.
39624
661f8cf0
JM
39625 * conform/conformtest.pl: Handle "macro-int-constant" and test for
39626 usability of symbols in #if.
39627
ee74b9cb
JM
39628 * conform/conformtest.pl: If macro or constant types start
39629 "promoted:", expect the symbol to be of the following type
39630 promoted by the integer promotions.
62fde54f 39631
aafc49b3
JM
39632 * conform/conformtest.pl: Parse all "constant" and "macro" lines
39633 in one place. Also handle "macro-constant".
39634
fefdf574
JM
39635 * conform/conformtest.pl: Only accept expected macro values with
39636 "==". Parse all "macro" lines in one place.
39637 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39638
f2d922fe
JM
39639 * conform/conformtest.pl: Handle braced types on "constant" lines
39640 instead of handling "typed-constant".
39641 * conform/data/signal.h-data: Use "constant" instead of
39642 "typed-constant".
39643
d22956c9
JM
39644 * conform/conformtest.pl: Handle "optional-" at start of lines in
39645 one place rather than duplicating several cases. Handle each
39646 format of "macro" line with initial "optional-".
39647
028e2e38
JM
39648 * conform/conformtest.pl: Only accept expected constant or
39649 optional-constant values with "==". Parse all "constant" lines in
39650 one place. Parse all "optional-constant" lines in one place.
39651 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39652 * conform/data/fmtmsg.h-data: Likewise.
39653 * conform/data/netinet/in.h-data: Likewise.
39654 * conform/data/tar.h-data: Likewise.
39655 * conform/data/limits.h-data: Use "==" form on "constant" and
39656 "optional-constant" lines.
39657
1b8f2850
JM
39658 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39659 Use -std=c99 for XOPEN2K.
39660 (@knownproblems): Remove.
39661 (newtoken): Don't check %isknown.
39662
a05a144b
JM
39663 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39664 Do not expect macro.
39665 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39666 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39667 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39668 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39669 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39670 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39671 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39672 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39673 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39674 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39675 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39676 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39677 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39678 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39679 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39680 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39681 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39682 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39683 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39684 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39685 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39686 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39687 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39688 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39689 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39690 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39691 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39692 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39693 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39694 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39695 [XPG3] (acosh): Likewise.
39696 [XPG3] (asinh): Likewise.
39697 [XPG3] (atanh): Likewise.
39698 [XPG3] (cbrt): Likewise.
39699 [XPG3] (expm1): Likewise.
39700 [XPG3] (ilogb): Likewise.
39701 [XPG3] (log1p): Likewise.
39702 [XPG3] (logb): Likewise.
39703 [XPG3] (nextafter): Likewise.
39704 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39705 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39706 [XPG3] (remainder): Likewise.
39707 [XPG3] (rint): Likewise.
39708 [XPG3 || XPG4 || UNIX98] (round): Likewise.
39709 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39710 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39711 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39712 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39713 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39714 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39715 [UNIX98 || XOPEN2K] (scalb): Expect.
39716 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39717 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39718 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39719 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39720 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39721 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39722 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39723 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39724 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39725 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39726 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39727 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39728 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39729 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39730 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39731 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39732 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39733 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39734 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39735 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39736 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39737 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39738 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39739 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39740 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39741 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39742 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39743 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39744 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39745 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39746 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39747 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39748 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39749 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39750 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39751 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39752 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39753 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39754 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39755 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39756 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39757 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39758 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39759 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39760 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39761 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39762 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39763 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39764 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39765 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39766 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39767 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39768 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39769 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39770 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39771 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39772 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39773 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39774 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39775 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39776 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39777 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39778 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39779 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39780 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39781 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39782 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39783 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39784 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39785 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39786 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39787 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39788 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39789 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39790 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39791 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39792 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39793 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39794 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39795 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39796 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39797 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39798 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39799 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39800 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39801 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39802 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39803 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39804 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39805 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39806 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39807 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39808 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39809 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39810 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39811 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39812 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39813 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39814 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39815 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39816 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39817 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39818 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39819 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39820 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39821 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39822 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39823 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39824 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39825 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39826 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39827 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39828 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39829 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39830 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39831 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39832 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39833 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39834 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39835 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39836 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39837 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39838 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39839 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39840 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39841 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39842 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39843 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39844 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39845 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39846 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39847 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39848 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39849 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39850 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39851 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39852 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39853
73c5ebe3
JM
39854 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39855 _XOPEN_SOURCE_EXTENDED for XPG4.
39856
39c33b6c
JM
39857 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39858
62fde54f
JM
39859 * Makeconfig (localtime): Remove variable.
39860 (inst_localtime-file): Likewise.
39861
0741d64c
AS
398622012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39863
39864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39865 Update.
39866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39867 Update.
39868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39869 Update.
39870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39871 Update.
39872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39873 Update.
39874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39875 Update.
39876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39877 Update.
39878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39879 Update.
39880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39881 Update.
39882
7cb029ee
JM
398832012-05-01 Joseph Myers <joseph@codesourcery.com>
39884
39885 [BZ #2550]
39886 [BZ #2570]
39887 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39888 comparisons to determine direction to adjust input.
39889 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39890 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39891 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39892 Likewise.
39893 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39894 Likewise.
39895 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39896 Likewise.
39897 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39898 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39899 Likewise.
39900 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39901 Likewise.
39902 * math/libm-test.inc (nexttoward_test): Add more tests.
39903
412bd966
AS
399042012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39905
39906 [BZ #14040]
39907 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39908 in version GLIBC_2.1, not GLIBC_2.0.
39909 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39910 Likewise.
39911
9568c0c2
JM
399122012-04-30 Joseph Myers <joseph@codesourcery.com>
39913
adfbc8ac
JM
39914 [BZ #13942]
39915 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39916 (1 - x) * (1 + x).
39917 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39918 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39919 * math/libm-test.inc (acos_test): Add more tests.
39920 (asin_test): Likewise.
39921 * sysdeps/i386/fpu/libm-test-ulps: Update.
39922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39923
5ba3cc69
JM
39924 [BZ #14034]
39925 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39926 of square root.
39927 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39928 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39929 * math/libm-test.inc (acos_test_tonearest): New function.
39930 (acos_test_towardzero): Likewise.
39931 (acos_test_downward): Likewise.
39932 (acos_test_upward): Likewise.
39933 (asin_test_tonearest): Likewise.
39934 (asin_test_towardzero): Likewise.
39935 (asin_test_downward): Likewise.
39936 (asin_test_upward): Likewise.
39937 (main): Call the new functions.
39938 * sysdeps/i386/fpu/libm-test-ulps: Update.
39939 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39940
9568c0c2
JM
39941 [BZ #13884]
39942 [BZ #13924]
39943 * math/e_exp10.c: Include <float.h>.
39944 (__ieee754_exp10): Handle underflow here rather than multiplying
39945 large negative argument by M_LN10.
39946 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
39947 of __ieee754_expf.
39948 * math/e_exp10l.c: Include <float.h>.
39949 (__ieee754_exp10l): Handle underflow here rather than multiplying
39950 large negative argument by M_LN10l.
39951 * math/libm-test.inc (exp10_test): Add another test. Do not allow
39952 spurious overflow exception on underflow.
39953
5ac3ea17
MP
399542012-04-29 Marek Polacek <polacek@redhat.com>
39955
39956 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
39957 (__fortify_function): New macro.
39958 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
39959 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
39960 __extern_always_inline.
39961 * libio/bits/stdio2.h: Likewise.
39962 * libio/bits/stdio.h: Likewise.
39963 * string/string.h: Likewise.
39964 * string/bits/string3.h: Likewise.
39965 * include/stdio.h: Likewise.
39966 * stdlib/bits/stdlib.h: Likewise.
39967 * stdlib/stdlib.h: Likewise.
39968 * rt/bits/mqueue2.h: Likewise.
39969 * rt/mqueue.h: Likewise.
39970 * posix/bits/unistd.h: Likewise.
39971 * posix/unistd.h: Likewise.
39972 * io/bits/poll2.h: Likewise.
39973 * io/bits/fcntl2.h: Likewise.
39974 * io/fcntl.h: Likewise.
39975 * io/sys/poll.h: Likewise.
39976 * misc/bits/syslog.h: Likewise.
39977 * misc/bits/syslog-ldbl.h: Likewise.
39978 * misc/sys/syslog.h: Likewise.
39979 * socket/bits/socket2.h: Likewise.
39980 * socket/sys/socket.h: Likewise.
39981 * debug/tst-chk1.c: Likewise.
39982 * wcsmbs/bits/wchar2.h: Likewise.
39983 * wcsmbs/bits/wchar-ldbl.h: Likewise.
39984 * wcsmbs/wchar.h: Likewise.
39985
ecf0ebfb
AJ
399862012-04-29 Andreas Jaeger <aj@suse.de>
39987
39988 * Makerules (tests): Remove enable-check-abi protection.
39989 (check-abi-warn): Remove.
39990 (check-abi-%): Remove check-abi-warn usage.
39991
39992 * configure.in: Remove check-abi configure option.
39993 * configure: Regenerated.
39994 * config.make.in (enable-check-abi): Remove.
39995
6d5c57fa
AS
399962012-04-28 Andreas Schwab <schwab@linux-m68k.org>
39997
24c5d07e 39998 [BZ #14033]
ded5180a
AS
39999 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
40000 double functions to double *_finite functions.
40001
7e0d315d
AS
40002 [BZ #13941]
40003 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
40004 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
40005 LDBL_MIN_EXP.
40006 * stdio-common/Makefile (tests): Add tst-sprintf3.
40007 * stdio-common/tst-sprintf3.c: New file.
40008
6d5c57fa
AS
40009 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
40010 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
40011
0749ff8b
JM
400122012-04-28 Joseph Myers <joseph@codesourcery.com>
40013
40014 * conform/conformtest.pl: Remove duplicate typed-constant
40015 handling.
40016
8dbd5d7b
DM
400172012-04-28 David S. Miller <davem@davemloft.net>
40018
40019 * Makerules (%.abilist): Add vpath on sysdep_dirs.
40020 (check-abi-%): Remove AWK script prerequisite and explicit
40021 abilist directory.
40022 (check-abi): Rewrite to just diff the symlist with the abilist.
40023 (config-tls, config-abi-config): Delete, no longer used.
40024 (update-abi-%): Remove AWK script and explicit abilist directory.
40025 (update-abi): Rewrite to simply compare and conditionally copy the
40026 symlist and the sysdep abilist file. Remove update-abi-config
40027 checks.
40028 * abilist/ld.abilist: Remove.
40029 * abilist/libBrokenLocale.abilist: Remove.
40030 * abilist/libanl.abilist: Remove.
40031 * abilist/libcrypt.abilist: Remove.
40032 * abilist/libdl.abilist: Remove.
40033 * abilist/librt.abilist: Remove.
40034 * abilist/libthread_db.abilist: Remove.
40035 * abilist/libutil.abilist: Remove.
40036 * scripts/extract-abilist.awk: Remove.
40037 * scripts/merge-abilist.awk: Remove.
40038 * sysdeps/generic/libcidn.abilist: New file.
40039 * sysdeps/generic/libnss_compat.abilist: New file.
40040 * sysdeps/generic/libnss_db.abilist: New file.
40041 * sysdeps/generic/libnss_dns.abilist: New file.
40042 * sysdeps/generic/libnss_files.abilist: New file.
40043 * sysdeps/generic/libnss_hesiod.abilist: New file.
40044 * sysdeps/generic/libnss_nis.abilist: New file.
40045 * sysdeps/generic/libnss_nisplus.abilist: New file.
40046 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
40047 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
40048 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
40049 file.
40050 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
40051 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
40052 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
40053 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
40054 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
40055 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
40056 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
40057 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
40058 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
40059 file.
40060 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
40061 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
40062 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
40063 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
40064 file.
40065 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
40066 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
40067 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
40068 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
40069 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
40070 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
40071 file.
40072 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
40073 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
40074 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
40075 file.
40076 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
40077 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
40078 New file.
40079 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
40080 New file.
40081 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
40082 New file.
40083 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
40084 New file.
40085 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
40086 New file.
40087 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
40088 New file.
40089 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
40090 New file.
40091 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40092 New file.
40093 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40094 New file.
40095 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40096 New file.
40097 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40098 New file.
40099 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40100 New file.
40101 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40102 New file.
40103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40104 file.
40105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40106 New file.
40107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40108 New file.
40109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40110 file.
40111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40112 New file.
40113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40114 New file.
40115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40116 file.
40117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40118 New file.
40119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40120 New file.
40121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40122 New file.
40123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40124 New file.
40125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40126 New file.
40127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40128 New file.
40129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40131 file.
40132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40133 New file.
40134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40135 file.
40136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40137 file.
40138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40139 file.
40140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40141 file.
40142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40143 file.
40144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40145 New file.
40146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40147 file.
40148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40149 file.
40150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40151 New file.
40152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40153 file.
40154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40156 file.
40157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40158 New file.
40159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40160 file.
40161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40162 file.
40163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40164 file.
40165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40166 file.
40167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40168 file.
40169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40170 New file.
40171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40172 file.
40173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40174 file.
40175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40176 New file.
40177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40178 file.
40179 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40180 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40181 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40182 file.
40183 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40184 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40185 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40186 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40187 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40188 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40189 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40190 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40191 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40192 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40195 file.
40196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40197 New file.
40198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40199 file.
40200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40201 file.
40202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40203 file.
40204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40205 file.
40206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40207 file.
40208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40209 New file.
40210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40211 New file.
40212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40213 file.
40214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40215 New file.
40216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40217 file.
40218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40220 file.
40221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40222 New file.
40223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40224 file.
40225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40226 file.
40227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40228 file.
40229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40230 file.
40231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40232 file.
40233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40234 New file.
40235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40236 New file.
40237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40238 file.
40239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40240 New file.
40241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40242 file.
40243
41d73a1b
JM
402442012-04-28 Joseph Myers <joseph@codesourcery.com>
40245
40246 * conform/conformtest.pl: Fix typo in handling typed-constant from
40247 allow-header.
40248
28aeeda4
JM
402492012-04-27 Joseph Myers <joseph@codesourcery.com>
40250
adae8f5e
JM
40251 * README: Cut down references to pre-2.6 Linux kernels and
40252 Linuxthreads. Update lists of configurations in libc and ports
40253 and sort alphabetically. Say "or newer" with Linux kernel version
40254 requirements.
40255
28aeeda4
JM
40256 * config.h.in [IS_IN_build]: Allow compiling without optimization.
40257
a462cb63
RA
402582012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40259
40260 [BZ #887]
40261 * math/libm-test.inc (logb_test_downward): New test to expose
40262 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40263 rounding mode.
40264
6ad3493e
JM
402652012-04-27 Joseph Myers <joseph@codesourcery.com>
40266
40267 [BZ #14027]
40268 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40269 to be done.
40270 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40271 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40272
2ce4f015
JM
402732012-04-26 Joseph Myers <joseph@codesourcery.com>
40274
5aeb141a
JM
40275 * sysdeps/unix/i386/brk.S: Remove file.
40276 * sysdeps/unix/i386/dl-brk.S: Likewise.
40277 * sysdeps/unix/i386/pipe.S: Likewise.
40278 * sysdeps/unix/i386/sigreturn.S: Likewise.
40279 * sysdeps/unix/i386/syscall.S: Likewise.
40280 * sysdeps/unix/i386/vfork.S: Likewise.
40281 * sysdeps/unix/i386/wait.S: Likewise.
40282
7143acae
JM
40283 * sysdeps/unix/common/tcsendbrk.c: Move to ...
40284 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40285
2ce4f015
JM
40286 * configure.in (arm*-none*): Do not allow without
40287 --enable-hacker-mode.
40288 (netbsd*): Remove case setting base_os.
40289 (386bsd*): Likewise.
40290 (freebsd*): Likewise.
40291 (bsdi*): Likewise.
40292 (osf*): Likewise.
40293 (sunos*): Likewise.
40294 (ultrix*): Likewise.
40295 (newsos*): Likewise.
40296 (dynix*): Likewise.
40297 (*bsd*): Likewise.
40298 (sysv*): Likewise.
40299 (isc*): Likewise.
40300 (esix*): Likewise.
40301 (sco*): Likewise.
40302 (minix*): Likewise.
40303 (irix4*): Likewise.
40304 (irix6*): Likewise.
40305 (solaris[2-9]*): Likewise.
40306 (none): Likewise.
40307 * configure: Regenerated.
40308
0ac229c8
AZ
403092012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40310
40311 [BZ #11521]
40312 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40313 overflow or cancellation in calculating denominator.
40314 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40315 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40316 down expression to avoid unexpected rounding in newer GCCs.
40317 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40318
33f244f4
DM
403192012-04-26 David S. Miller <davem@davemloft.net>
40320
40321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40322 long-double compat symbols.
40323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40336
cfa1f3e8
DM
403372012-04-25 David S. Miller <davem@davemloft.net>
40338
40339 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40340 HWCAP_* values only after the memory barriers have been defined.
40341 (atomic_full_barrier): Define.
40342 (atomic_read_barrier): Define.
40343 (atomic_write_barrier): Define.
40344
6e236b92
SP
403452012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40346
40347 * shlib-versions: Add libgcc_s version information.
40348 * sysdeps/generic/libgcc_s.h: Remove.
40349 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40350 libgcc_s.h.
40351 * sysdeps/gnu/unwind-resume.c: Likewise.
40352 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40353
aab39a09
DM
403542012-04-25 David S. Miller <davem@davemloft.net>
40355
40356 * sysdeps/unix/sparc/brk.S: Delete.
40357 * sysdeps/unix/sparc/dl-brk.S: Delete.
40358 * sysdeps/unix/sparc/pipe.S: Delete.
40359 * sysdeps/unix/sparc/sysdep.S: Delete.
40360 * sysdeps/unix/sparc/sysdep.h: Delete.
40361 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
40362 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40363 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40364 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40365 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
40366 (JUMPTARGET): Remove.
40367 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40368 sysdeps/unix/sparc/sysdep.h
40369 (ENTRY, END): Remove.
40370 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40371
a3cc4f48
JM
403722012-04-25 Joseph Myers <joseph@codesourcery.com>
40373
2ed8cda2
JM
40374 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40375 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40376 -DIS_IN_build.
40377
35d76d59
JM
40378 * timezone/README: Update upstream location and email address for
40379 tzcode and tzdata.
40380 * timezone/zdump.c: Update from tzcode 2012b.
40381 * timezone/zic.c: Likewise.
40382
a3cc4f48
JM
40383 * configure.in (libc_cv_as_needed): Remove test.
40384 * configure: Regenerated.
40385 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40386 conditional definition.
40387 [$(have-as-needed) != yes] (no-as-needed): Likewise.
40388 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40389 * config.make.in (have-as-needed): Remove variable.
40390
ceab42c3
SP
403912012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40392 Paul Pluzhnikov <ppluzhnikov@google.com>
40393
40394 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40395 strings correctly.
40396
3ce2865f
CLT
403972012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
40398
40399 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40400 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40401 * sysdeps/sh/strlen.S: Likewise.
40402
f37e0d68
JM
404032012-04-24 Joseph Myers <joseph@codesourcery.com>
40404
ae186e9a
JM
40405 * sysdeps/unix/fork.S: Remove file.
40406 * sysdeps/unix/i386/fork.S: Likewise.
40407 * sysdeps/unix/sparc/fork.S: Likewise.
40408
b96914af
JM
40409 * sysdeps/unix/system.c: Remove file.
40410 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40411
f37e0d68
JM
40412 * sysdeps/unix/getegid.S: Remove file.
40413 * sysdeps/unix/geteuid.S: Likewise.
40414
87ef29ca
RM
404152012-04-24 Roland McGrath <roland@hack.frob.com>
40416
83bcd236
RM
40417 * scripts/check-localplt.awk: New file.
40418 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40419 of diff.
40420 * scripts/data/localplt-generic.data: Add a comment.
40421
87ef29ca
RM
40422 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40423 NODE when __dir_mkfile failed.
40424 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40425 Reported by Ludovic Courtès <ludo@gnu.org>.
40426
e5a6e567
AJ
404272012-04-24 Andreas Jaeger <aj@suse.de>
40428
40429 * Makerules (common-clean): Also remove gen-as-const-headers
40430 files.
40431
c1820385
JM
404322012-04-24 Joseph Myers <joseph@codesourcery.com>
40433
40434 * Makerules (native-compile): Do not change working directory for
40435 build. Use $(OUTPUT_OPTION) in command.
40436 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40437
94e02fc4
AZ
404382012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40439
40440 [BZ #13886]
40441 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40442 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40443 * math/libm-test.inc (floor_test): Add more tests.
40444 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40445
3a533ca3
JM
404462012-04-24 Joseph Myers <joseph@codesourcery.com>
40447
940ab4b3
JM
40448 * sysdeps/unix/getdents.c: Remove file.
40449 * sysdeps/unix/sysv/getdents.c: Likewise.
40450 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40451
90e037bd
JM
40452 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40453 sysdeps/unix/mman/syscalls.list.
40454 (mmap): Likewise.
40455 (mprotect): Likewise.
40456 (msync): Likewise.
40457 (munmap): Likewise.
40458 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40459 * sysdeps/unix/mman/syscalls.list: Remove.
40460 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40461
3a533ca3
JM
40462 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40463 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40464 * configure: Regenerated.
40465 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40466 $(libgcc_s_suffix).
40467 * config.make.in (libgcc_s_suffix): Remove variable.
40468
1ad743de
JM
404692012-04-23 Joseph Myers <joseph@codesourcery.com>
40470
4ad451e2
JM
40471 * sysdeps/unix/sysv/gethostname.c: Move to ...
40472 * sysdeps/posix/gethostname.c: ... here.
40473
5e37ce39
JM
40474 * sysdeps/unix/execve.S: Remove file.
40475
1ad743de
JM
40476 * sysdeps/unix/_exit.S: Remove file.
40477
4e681b5b
AJ
404782012-04-23 Andreas Jaeger <aj@suse.de>
40479
40480 [BZ #13739]
40481 * manual/Makefile: Remove make dist support, there's no
40482 need for a stand-alone documentation tar ball.
40483 (TEXI2DVI): Define always, it's not in Makeconfig.
40484 (dist): Removed.
40485 (tar-it): Removed.
40486 (edition): Removed.
40487 (glibc-doc-$(edition).tar): Removed
40488 (%.Z): Removed.
40489 (%.gz): Removed.
40490 (%.uu): Removed.
40491 (ETAGS): Remove, it's in Makeconfig.
40492 (move-if-change): Remove, it's in Makeconfig.
40493
38686a03 404942012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
40495
40496 [BZ #13970]
40497 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40498 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40499 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40500 (strtod_l, strtof_l, strtold_l): Remove __wur.
40501 It is not necessarily an error to ignore strtol's return value.
40502 One can reliably look at the stored endptr to decide whether
40503 the number had valid syntax.
40504
7c0616fa
AJ
405052012-04-21 Andreas Jaeger <aj@suse.de>
40506
803cb6b7 40507 [BZ #13739]
7c0616fa
AJ
40508 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40509
b0fe253f
JM
405102012-04-21 Joseph Myers <joseph@codesourcery.com>
40511
40512 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40513 * sysdeps/unix/sysv/Versions: Remove file.
40514
8280f22d
MT
405152012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40516
40517 [BZ #13927]
40518 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40519
75ce411f 405202012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
40521
40522 [BZ #7064]
40523 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40524 version from __vm86.
40525
097d59fa
JM
405262012-04-20 Joseph Myers <joseph@codesourcery.com>
40527
a90f3bcb
JM
40528 * sysdeps/unix/common/lxstat.c: Remove file.
40529 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40530
edc7ea78
JM
40531 * sysdeps/unix/sysv/Makefile: Remove file.
40532
cb78c221
JM
40533 * sysdeps/unix/sysv/direct.h: Remove file.
40534
efa6a45f
JM
40535 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40536 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40537 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40538 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40539 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40540 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40541 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40542
9c9f2d0c
JM
40543 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40544
4541c83b
JM
40545 * sysdeps/unix/xmknod.c: Remove file.
40546 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40547
f5d153a0
JM
40548 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40549
aa746595
JM
40550 * sysdeps/unix/sysv/i386/time.S: Remove file.
40551
cce5905e
JM
40552 * sysdeps/unix/fxstat.c: Remove file.
40553 * sysdeps/unix/xstat.c: Likewise.
40554 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40555
37fa3841
JM
40556 * sysdeps/unix/sysv/sigaction.c: Remove file.
40557
ff1962a3
JM
40558 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40559 (sysdep_headers): Remove variable.
40560 [termio.h not in sysdep_headers] (generated): Likewise.
40561 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40562 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40563 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40564 * sysdeps/unix/sysv/tcflow.c: Likewise.
40565 * sysdeps/unix/sysv/tcflush.c: Likewise.
40566 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40567 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40568 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40569 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40570 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40571
e7740d31
JM
40572 * sysdeps/unix/siglist.c: Remove file.
40573
ee06f18b
JM
40574 * sysdeps/unix/getppid.S: Remove file.
40575
097d59fa
JM
40576 * sysdeps/unix/mkdir.c: Remove file.
40577 * sysdeps/unix/rmdir.c: Likewise.
40578
ff3d51ec
AS
405792012-04-19 Andreas Schwab <schwab@linux-m68k.org>
40580
40581 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40582 ERR_MAX value.
40583 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40584 errlist-compat value.
40585
50f81fd7
DM
405862012-04-18 David S. Miller <davem@davemloft.net>
40587
40588 * sysdeps/generic/memcopy.h (reg_char): Delete.
40589 * debug/strcat_chk.c: Use char, not reg_char.
40590 * debug/strcpy_chk.c: Likewise.
40591 * debug/strncat_chk.c: Likewise.
40592 * debug/strncpy_chk.c: Likewise.
40593 * string/memchr.c: Likewise.
40594 * string/memrchr.c: Likewise.
40595 * string/rawmemchr.c: Likewise.
40596 * string/strcat.c: Likewise.
40597 * string/strchr.c: Likewise.
40598 * string/strchrnul.c: Likewise.
40599 * string/strcmp.c: Likewise.
40600 * string/strcpy.c: Likewise.
40601 * string/strncat.c: Likewise.
40602 * string/strncmp.c: Likewise.
40603 * string/strncpy.c: Likewise.
40604
8ff41c46
WS
406052012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40606
40607 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40608 __builtin_memcopy is called when src and dest ranges are known to not
40609 overlap.
40610
6b652f46
WS
406112012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40612
40613 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40614 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40615 fwd_align_merge macro call.
40616 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40617 bwd_align_merge macro call.
40618 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40619
b282631e
WS
406202012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40621
40622 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40623 bwd_align_merge macros.
40624 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40625 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40626 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40627
95aa737c
DM
406282012-04-18 David S. Miller <davem@davemloft.net>
40629
40630 * sysdeps/sparc/sparc64/memcopy.h: Delete.
40631
7a99a614
AJ
406322012-04-18 Andreas Jaeger <aj@suse.de>
40633
40634 [BZ# 6794]
40635 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40636 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40637 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40638
40639 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40640 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40641 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40642
40643 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40644 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40645 Adjust for changed ldbl-128 files.
40646
40647 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40648 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40649 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40650
e5270c23
DM
406512012-04-17 David S. Miller <davem@davemloft.net>
40652
40653 * sysdeps/sparc/sparc32/memcopy.h: Delete.
40654
fb5e92c9
AS
406552012-04-17 Andreas Schwab <schwab@linux-m68k.org>
40656
40657 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40658 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40659 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40660 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40661 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40662 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40663
76da7265
AZ
406642012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40665
40666 [BZ #6794]
40667 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40668 * math/libm-test.inc: Add ilogb errno and exception tests.
40669 * math/w_ilogb.c: New file: ilogb wrapper.
40670 * math/w_ilogbf.c: New file: ilogbf wrapper.
40671 * math/w_ilogbl.c: New file: ilogbl wrapper.
40672 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40673 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40674 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40675 exception being thrown with 0.0 as argument.
40676 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40677 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40678 exception being thrown with 0.0 as argument.
40679 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40680 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40681 exception being thrown with 0.0 as argument.
40682 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40683 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40684 exception being thrown with 0.0 as argument.
40685 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40686 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 40687 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
40688 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40689 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40690 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40691 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40692 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40693 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40694
0396e69d
PB
406952012-04-17 Petr Baudis <pasky@ucw.cz>
40696
40697 * include/sys/uio.h: Change __vector to __iovec to avoid clash
40698 with altivec.
40699
750b5926
MP
407002012-04-16 Marek Polacek <polacek@redhat.com>
40701
40702 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40703
751728a1
MP
407042012-04-16 Marek Polacek <polacek@redhat.com>
40705
40706 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40707 operands of fdivp instruction.
40708
34a27407
L
407092012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40710
40711 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40712 * elf/tst-auditmod3b.c: Likewise.
40713 * elf/tst-auditmod4b.c: Likewise.
40714 * elf/tst-auditmod5b.c: Likewise.
40715 * elf/tst-auditmod6b.c: Likewise.
40716 * elf/tst-auditmod6c.c: Likewise.
40717 * elf/tst-auditmod7b.c: Likewise.
40718 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40719 * sysdeps/x86_64/preconfigure.in: Likewise.
40720 * sysdeps/x86_64/preconfigure: Regenerated.
40721
7e73e17d
L
407222012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40723
40724 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40725 __ILP32__.
40726
c7a6ab72
AB
407272012-04-13 Antoine Balestrat <merkil33@gmail.com>
40728
40729 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40730 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40731
a9e8e0e0
CL
407322012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
40733
40734 [BZ #13973]
40735 * locale/iso-639.def: Fix gl language name. Spotted by
40736 Yaron Shahrabani.
40737
ec98af7d
RM
407382012-04-12 Roland McGrath <roland@hack.frob.com>
40739
40740 [BZ #2074]
40741 * libio/libio.h (__io_write_fn): Update comment.
40742
247c3ede
PB
407432012-04-12 Petr Baudis <pasky@ucw.cz>
40744
40745 [BZ #2074]
40746 * stdio.texi (Hook Functions): The user provided writer function
40747 is not allowed to return -1.
40748
55939d6d
DM
407492012-04-11 David S. Miller <davem@davemloft.net>
40750
40751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40752
90020f5a
MF
407532012-04-11 Mike Frysinger <vapier@gentoo.org>
40754
40755 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40756 Add a leading slash to rtkaio.
40757
288f9098
JM
407582012-04-11 Jim Meyering <meyering@redhat.com>
40759
90020f5a
MF
40760 [BZ #11959]
40761 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40762 It is not necessarily an error to ignore fwrite's return
40763 value. One can reliably use ferror to test for errors after
40764 the fact.
288f9098 40765
4be2b570
L
407662012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40767
40768 * bits/types.h (__snseconds_t): New type.
40769 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40770
40771 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40772 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40773 (__SNSECONDS_T_TYPE): Likewise.
40774 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40775 (__SNSECONDS_T_TYPE): Likewise.
40776 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40777 (__SNSECONDS_T_TYPE): Likewise.
40778
288f9098 407792012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
40780
40781 [BZ #2636]
40782 * manual/time.texi (Processor Time): Return type of times is
40783 elapsed real time since an arbitrary point in the past.
40784 (CPU Time): Move CLK_TCK from here...
40785 (Processor Time): ...to here. Correct description.
40786 * manual/conf.texi (Constants for Sysconf): Correct description of
40787 _SC_CLK_TCK.
40788
d7dd4413
DM
407892012-04-10 David S. Miller <davem@davemloft.net>
40790
40791 [BZ #13967]
40792 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40793 where the is a gap between DT_REL(A) and DT_JMPREL.
40794
b46068fc
L
407952012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40796
40797 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40798 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40799 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40800
73d65cc3
SP
408012012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40802
40803 * elf/dl-support.c (_dl_inhibit_cache): New variable.
40804 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40805 (dl_main): Handle --inhibit-cache.
40806 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40807 _dl_inhibit_cache.
40808 * elf/dl-load.c (_dl_map_object): Use it.
40809 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40810
bcc8d661
JM
408112012-04-09 Joseph Myers <joseph@codesourcery.com>
40812
8f9a2fae
JM
40813 [BZ #13872]
40814 * sysdeps/i386/fpu/e_powl.S (p78): New object.
40815 (__ieee754_powl): Saturate large exponents rather than testing for
40816 overflow of y*log2(x).
40817 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40818 * math/libm-test.inc (pow_test): Do not permit spurious overflow
40819 exceptions.
40820
bcc8d661
JM
40821 [BZ #11521]
40822 * math/s_ctan.c: Include <float.h>.
40823 (__ctan): Avoid internal overflow or cancellation in calculating
40824 denominator.
40825 * math/s_ctanf.c: Likewise.
40826 * math/s_ctanl.c: Likewise.
40827 * math/s_ctanh.c: Likewise.
40828 * math/s_ctanhf.c: Likewise.
40829 * math/s_ctanhl.c: Likewise.
40830 * math/libm-test.inc (ctan_test): Add more tests.
40831 (ctanh_test): Likewise.
40832 * sysdeps/i386/fpu/libm-test-ulps: Update.
40833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40834
823fbbb4
AJ
408352012-04-09 Andreas Jaeger <aj@suse.de>
40836
03879793
AJ
40837 [BZ #6894]
40838 * manual/filesys.texi (Directory Entries): Mention that d_namlen
40839 is an optional BSD extension.
40840
823fbbb4
AJ
40841 [BZ #10254]
40842 * manual/stdio.texi (Opening Streams): Document additional fopen
40843 parameters.
40844
8de131cb
RM
408452012-04-09 Roland McGrath <roland@hack.frob.com>
40846
40847 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40848 %eax without telling the compiler.
40849
c0ed9d7d
CD
408502012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
40851
40852 [BZ # 13963]
40853 * manual/install.texi: Use sourceware.org.
40854
c483f6b4
JM
408552012-04-09 Joseph Myers <joseph@codesourcery.com>
40856
d7dd9453
JM
40857 [BZ #13873]
40858 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40859 (__ieee754_pow): Generate overflow and underflow using huge*huge
40860 and tiny*tiny rather than just returning constant infinity or zero
40861 for large exponents.
40862 * math/libm-test.inc (pow_test): Require overflow exceptions for
40863 applicable cases of large exponents.
40864
c483f6b4
JM
40865 [BZ #706]
40866 * sysdeps/i386/fpu/e_pow.S (p10): New object.
40867 (__ieee754_pow): Use iterative multiplication algorithm only for
40868 integer exponents with absolute value below 1024. Check for odd
40869 integer exponents when using algorithm for real exponents.
40870 * math/libm-test.inc (pow_test): Add more tests.
40871 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40872
d2de7579
JM
408732012-04-08 Joseph Myers <joseph@codesourcery.com>
40874
40875 [BZ #13705]
40876 * math/libm-test.inc (exp_test): Do not allow overflow exception
40877 on underflow test.
40878
f77f1232
AJ
408792012-04-08 Aurelien Jarno <aurelien@aurel32.net>
40880
40881 [BZ #13705]
40882 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40883 instead of __kernel_standard_f.
40884
3884932b
MF
408852012-04-08 Mike Frysinger <vapier@gentoo.org>
40886
40887 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40888 * sysdeps/x86_64/memset_chk.S: Likewise.
40889
54472e9c
AJ
408902012-04-08 Andreas Jaeger <aj@suse.de>
40891
6ab0fbfc
AJ
40892 [BZ #10153]
40893 * manual/startup.texi (Environment Access): Describe return value
40894 for putenv and setenv.
40895
61efba8c
AJ
40896 [BZ #6895]
40897 * manual/filesys.texi (Directory Entries): Add description for
40898 DT_LNK.
40899
95c3f29a
AJ
40900 [BZ #6890]
40901 * manual/filesys.texi (Directory Entries): Clarify that it's file
40902 system not operating system in the description of DT_UNKNOWN.
40903
54472e9c
AJ
40904 [BZ #6578]
40905 * manual/syslog.texi (closelog): Fix reference, it's openlog.
40906
624254b1
SC
409072012-04-08 Stephen Compall <s11@member.fsf.org>
40908
40909 [BZ #6649]
40910 * manual/llio.texi (Opening and Closing Files): Add cross
40911 reference to explain mode argument.
40912
1e4920e0
MF
409132012-04-07 Mike Frysinger <vapier@gentoo.org>
40914
40915 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40916 * sysdeps/x86_64/memset_chk.S: Likewise.
40917
5ed848f3
DM
409182012-04-07 David S. Miller <davem@davemloft.net>
40919
40920 * elf/elf.h (R_SPARC_WDISP10): Define.
40921 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40922 R_SPARC_SIZE32.
40923 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40924 R_SPARC_SIZE64 and R_SPARC_H34.
40925
96154cd8
CD
409262012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
40927
40928 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40929 conditions and remove no longer applicable assertion.
40930
9904dc47
L
409312012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40932
40933 * bits/byteswap.h: Include <features.h>.
40934 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40935 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40936
f8887d0a
L
409372012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40938
40939 * bits/byteswap.h (__bswap_16): Removed.
40940 Include <bits/byteswap-16.h> to get __bswap_16.
40941 * sysdeps/i386/bits/byteswap.h: Likewise.
40942 * sysdeps/s390/bits/byteswap.h: Likewise.
40943 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40944 * bits/byteswap-16.h: New file.
40945 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40946 * sysdeps/s390/bits/byteswap-16.h: Likewise.
40947 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
40948 * string/Makefile (headers): Add bits/byteswap-16.h.
40949
62470f60
PP
409502012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40951
40952 [BZ #13895]
40953 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
40954 extra indirection.
40955 * nss/Makefile (tests-static, tests): Add tst-nss-static.
40956 * nss/tst-nss-static.c: New.
40957
4dad7bab
RM
409582012-04-06 Robert Millan <rmh@gnu.org>
40959
40960 [BZ #6486]
40961 * manual/llio.texi (File Position Primitive): lseek
40962 refers to WHENCE when it really means OFFSET.
40963
e9142a17
AJ
409642012-04-06 Andreas Jaeger <aj@suse.de>
40965
2c040eff
AJ
40966 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40967 strncmp declarations.
40968
e9142a17
AJ
40969 * abilist/libc.abilist: Add __poll and __ppoll.
40970
ff9f1c5f
DM
409712012-04-05 David S. Miller <davem@davemloft.net>
40972
dcd2ae90
DM
40973 * scripts/check-local-headers.sh: Accept a host triplet in the
40974 path matched by the exclude regexp.
40975
993eb054
DM
40976 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40977 definition.
40978 * sysdeps/powerpc/powerpc32/dl-machine.h
40979 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40980 * sysdeps/s390/s390-32/dl-machine.h
40981 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40982 * sysdeps/sparc/sparc32/dl-machine.h
40983 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40984 * sysdeps/sparc/sparc64/dl-machine.h
40985 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40986
ff9f1c5f
DM
40987 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40988 lazy binding.
48e2e132 40989 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
40990 undefined symbol errors.
40991
48e2e132 40992 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
40993 DT_NEEDED entries.
40994
e80d6f94
MM
409952012-04-05 Michael Matz <matz@suse.de>
40996
40997 [BZ #13592]
40998 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40999
349fa79f
AJ
410002012-04-05 Andreas Jaeger <aj@suse.de>
41001
41002 [BZ #13908]
41003 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
41004 comment.
41005
f402708f
KK
410062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41007
41008 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
41009 which ROUND is no valid rounding mode.
41010
2ecccfc9
KK
410112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41012
41013 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
41014 read again.
41015 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
41016
8a53f50f
KK
410172012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41018
41019 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
41020 an exception using FPU order intentionally.
41021
410222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41023
41024 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
41025 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
41026 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
41027 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
41028
d653abb7
SJ
410292012-04-05 Simon Josefsson <simon@josefsson.org>
41030
41031 [BZ #12340]
41032 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
41033 EINVAL when BUFLEN is too smal.
41034
c3b1bf7d
TS
410352012-04-05 Thomas Schwinge <thomas@codesourcery.com>
41036
41037 [BZ #13553]
41038 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
41039 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
41040
b1aa60f3
AJ
410412012-04-03 Andreas Jaeger <aj@suse.de>
41042
c3b1bf7d 41043 [BZ #13938]
67f60a26
AJ
41044 * manual/setjmp.texi (System V contexts): Fix sentence.
41045
b1aa60f3
AJ
41046 [BZ #13926]
41047 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
41048 New macro for this case.
41049 [!__GNUC__] (__bswap_64): New inline function for this case.
41050 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41051 * bits/byteswap.h: Likewise.
41052 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
41053 ull, guard with __GLIBC_HAVE_LONG_LONG.
41054
41055 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
41056 __GLIBC_HAVE_LONG_LONG.
41057
41058 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
41059 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
41060
39c59c35
TMQMF
410612012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41062
41063 [BZ #13691]
41064 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
41065 inptr and inend, rather than using last_ch.
41066
135ffda8
DM
410672012-04-02 David S. Miller <davem@davemloft.net>
41068
41069 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
41070 * stdio-common/printf-parse.h (read_int): Change return type to
41071 'int', return -1 on INT_MAX overflow.
41072 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
41073 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
41074 overflows INT_MAX. Check for overflow of in-format-string precision
41075 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
41076 SIZE_MAX not INT_MAX for integer overflow test.
41077 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
41078 skip the construct in the format string but do not record anything.
41079 * stdio-common/bug22.c: Adjust to test both width/prevision
41080 INT_MAX overflow as well as total length INT_MAX overflow. Check
41081 explicitly for proper errno values.
41082
228c019e
TS
410832012-04-02 Thomas Schwinge <thomas@codesourcery.com>
41084
302cadd3
TS
41085 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
41086 CHAR_MAX.
41087 * string/test-strcmp.c [! WIDE]: Likewise.
41088 * time/tst-mktime2.c: Likewise for INT_MAX.
41089 * string/test-string.h: #include <sys/param.h> for MIN.
41090
228c019e
TS
41091 * csu/init-first.c (__libc_init_first): Call __ctype_init.
41092 * sysdeps/i386/init-first.c (init): Likewise.
41093 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41094 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41095 * sysdeps/sh/init-first.c (init): Likewise.
41096
cfa633f5
UD
410972012-04-01 Ulrich Drepper <drepper@gmail.com>
41098
41099 * po/ru.po: Update from translation team.
d1635ef8 41100 * po/vi.po: Likewise.
cfa633f5 41101
6cd0a5ea
SP
411022012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41103
41104 * resolv/nss_dns/dns-host.c: Merge copyright years.
41105
4b43400f
LD
411062012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41107
41108 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41109 Optimize memcpy with prefetch if
41110 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
41111 src, dst pointers have unequal 16 byte alignments.
41112
48c41d04
SP
411132012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41114
41115 [BZ #13928]
41116 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41117 from a CNAME entry and return the minimum ttl for the query.
41118 (gaih_getanswer_slice): Likewise.
41119
b8dc394d
JL
411202012-03-30 Jeff Law <law@redhat.com>
41121
41122 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41123 due to long keys.
41124 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41125 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41126
2f5a5ed0
JL
41127 * resolv/nss_dns/dns-host.c: Update copyright year.
41128
1d39e359
UD
411292012-03-30 Ulrich Drepper <drepper@gmail.com>
41130
c030f70c 41131 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 41132 requests to save a system call. Fix check that all bytes are sent.
c030f70c 41133
1d39e359
UD
41134 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41135 comments for sendmmsg.
41136
411372012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
41138
41139 [BZ #13691]
41140 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41141 with only 1 character between 0x0041 and 0x01b0.
41142 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41143 * wcsmbs/tst-mbsnrtowcs.c: New file.
41144
20fde227
DM
411452012-03-29 David S. Miller <davem@davemloft.net>
41146
41147 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41148 small copies by hand.
41149
984a4237
JL
411502012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41151
41152 [BZ #13761]
57f41c40
AS
41153 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41154 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41155 group memberships.
984a4237 41156
18c9d62b
DM
411572012-03-28 David S. Miller <davem@davemloft.net>
41158
88d85d4f
DM
41159 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41160 that branches into memcpy.
41161 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41162 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41163 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41164 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41165 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41166 bits.
41167 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41168 implementation too.
41169 * sysdeps/sparc/mempcpy.S: New file.
41170
e5aa83e1
DM
41171 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41172 the IFUNC routine in the libc case.
41173 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41174
88570753
DM
41175 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41176 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41177 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41178 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41179 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41180 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41181 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41182 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41183
249d7567
DM
41184 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41185 loop to 256 bytes instead of 64 bytes and fix test signedness.
41186
18c9d62b
DM
41187 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41188 * sysdeps/sparc/sparc32/Makefile: rather than here...
41189 * sysdeps/sparc/sparc64/Makefile: and here.
41190
05f3d1f6
UD
411912012-03-28 Ulrich Drepper <drepper@gmail.com>
41192
41193 * malloc/mallocbug.c: Avoid warnings about unused variables.
41194
86ae07a8
JL
411952012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41196
41197 [BZ #13760]
41198 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41199 in the right place. Discard and retry query if response is
41200 larger than input buffer size.
41201
41bf21a1
JM
412022012-03-28 Joseph Myers <joseph@codesourcery.com>
41203
d6270972
JM
41204 [BZ #369]
41205 [BZ #2678]
41206 [BZ #3866]
41207 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41208 x for large integer exponent.
41209 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41210 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
41211 sign of result as needed afterwards.
41212 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41213 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41214 result for underflowing pow the same as for overflow.
41215 (__kernel_standard_l): Handle powl overflow and underflow here
41216 rather than calling __kernel_standard.
41217 * math/libm-test.inc (pow_test): Add more tests.
41218
414fca03 41219 [BZ #3868]
41bf21a1
JM
41220 [BZ #13879]
41221 [BZ #13910]
41222 [BZ #13911]
41223 [BZ #13912]
41224 [BZ #13913]
41225 [BZ #13915]
41226 [BZ #13916]
41227 [BZ #13917]
41228 [BZ #13918]
41229 [BZ #13919]
41230 [BZ #13920]
41231 [BZ #13921]
41232 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41233 * sysdeps/ieee754/k_standard.c: Include <float.h>.
41234 (__kernel_standard_l): New function.
41235 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41236 __kernel_standard.
41237 * math/w_acosl.c (__acosl): Likewise.
41238 * math/w_asinl.c (__asinl): Likewise.
41239 * math/w_atan2l.c (__atan2l): Likewise.
41240 * math/w_atanhl.c (__atanhl): Likewise.
41241 * math/w_coshl.c (__coshl): Likewise.
41242 * math/w_exp10l.c (__exp10l): Likewise.
41243 * math/w_exp2l.c (__exp2l): Likewise.
41244 * math/w_fmodl.c (__fmodl): Likewise.
41245 * math/w_hypotl.c (__hypotl): Likewise.
41246 * math/w_j0l.c (__j0l, __y0l): Likewise.
41247 * math/w_j1l.c (__j1l, __y1l): Likewise.
41248 * math/w_jnl.c (__jnl, __ynl): Likewise.
41249 * math/w_lgammal.c (__lgammal): Likewise.
41250 * math/w_log10l.c (__log10l): Likewise.
41251 * math/w_log2l.c (__log2l): Likewise.
41252 * math/w_logl.c (__logl): Likewise.
41253 * math/w_powl.c (__powl): Likewise.
41254 * math/w_remainderl.c (__remainderl): Likewise.
41255 * math/w_scalbl.c (sysv_scalbl): Likewise.
41256 * math/w_sinhl.c (__sinhl): Likewise.
41257 * math/w_sqrtl.c (__sqrtl): Likewise.
41258 * math/w_tgammal.c (__tgammal): Likewise.
41259 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41260 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41261 * math/libm-test.inc (acos_test): Add more tests.
41262 (acosh_test): Likewise.
41263 (asin_test): Likewise.
41264 (atanh_test): Likewise.
41265 (exp_test): Likewise.
41266 (exp10_test): Likewise.
41267 (exp2_test): Likewise.
41268 (expm1_test): Likewise.
41269 (lgamma_test): Likewise.
41270 (log_test): Likewise.
41271 (log10_test): Likewise.
41272 (log1p_test): Likewise.
41273 (log2_test): Likewise.
41274 (pow_test): Do not allow some spurious overflow exceptions.
41275 (sqrt_test): Add more tests.
41276 (tgamma_test): Likewise.
41277 (y0_test): Likewise.
41278 (y1_test): Likewise.
41279 (yn_test): Likewise.
41280
dd62fda6
AB
412812012-03-27 Anton Blanchard <anton@samba.org>
41282
41283 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41284 MAP_HUGETLB.
41285 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41286 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41287 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41288
1e3cdfda
AJ
412892012-03-27 David S. Miller <davem@davemloft.net>
41290
b855ab85
DM
41291 * conform/Makefile: Run run-conformtest.sh using $(BASH).
41292
1e3cdfda
AJ
41293 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41294 have-as-vis3 check.
41295
412962012-03-27 Andreas Jaeger <aj@suse.de>
41297
41298 * sysdeps/x86_64/elf/configure.in: Moved to ...
41299 * sysdeps/x86_64/configure.in: ... here.
41300 * sysdeps/x86_64/elf/start.S: Moved to ...
41301 * sysdeps/x86_64/start.S: ... here.
41302 * sysdeps/x86_64/elf/configure: Delete.
41303
41304 * sysdeps/x86_64/configure.in: Merge contents from
41305 sysdeps/i386/configure.in (without i686 check).
41306
41307 * sysdeps/i386/elf/Versions: Merge into ...
41308 * sysdeps/i386/Versions: ... this.
41309 * sysdeps/i386/elf/Versions: Delete file.
41310 * sysdeps/i386/elf/start.S: Moved to ...
41311 * sysdeps/i386/start.S: ...here.
41312 * sysdeps/i386/elf/configure.in: Merge into...
41313 * sysdeps/i386/configure.in: ...here.
41314 * sysdeps/i386/elf/configure.in: Delete file.
41315 * sysdeps/i386/elf/configure: Delete file.
41316
41317 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41318 * debug/backtracesyms.c: ... here.
41319 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41320 * debug/backtracesymsfd.c: ... here.
41321 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41322 * sysdeps/generic/ifunc-sel.h: ... here.
41323
41324 * sysdeps/unix/i386/start.c: Delete file.
41325 * sysdeps/unix/sparc/start.c: Delete file.
41326 * sysdeps/unix/start.c: Delete file.
41327
41328 * sysdeps/sh/elf/configure.in: Moved to ...
41329 * sysdeps/sh/configure.in: ... here.
41330 * sysdeps/sh/elf/start.S: Moved to ...
41331 * sysdeps/sh/start.S: ... here.
41332 * sysdeps/sh/elf/configure: Delete file.
41333
41334 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41335 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41336 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41337 * sysdeps/powerpc/powerpc64/entry.h: ... here.
41338 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41339 * sysdeps/powerpc/powerpc64/start.S: here.
41340 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41341 * sysdeps/powerpc/powerpc64/Makefile: ... this.
41342 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41343 * sysdeps/powerpc/powerpc64/configure.in: ... this.
41344 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41345
41346 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41347 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41348 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41349 * sysdeps/powerpc/powerpc32/start.S: ... here.
41350 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41351 * sysdeps/powerpc/powerpc32/configure.in: ... this.
41352 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41353
41354 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41355 * sysdeps/powerpc/ifunc-sel.h: ... here.
41356 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41357 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41358
41359 * sysdeps/sparc/elf/configure.in: Moved to ...
41360 * sysdeps/sparc/configure.in: ... here.
41361 * sysdeps/sparc/elf/configure: Delete file.
41362 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41363 * sysdeps/sparc/sparc32/start.S: ... here.
41364 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41365 * sysdeps/sparc/sparc64/start.S: ... here.
41366 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41367 * sysdeps/sparc/sparc32/Makefile: ... this.
41368 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41369 * sysdeps/sparc/sparc64/Makefile: ... this.
41370
41371 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41372 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41373 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41374 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41375 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41376 * sysdeps/s390/s390-32/setjmp.S: ... here.
41377 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41378 * sysdeps/s390/s390-32/configure.in: ... here.
41379 * sysdeps/s390/s390-32/elf/configure: Delete file.
41380 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41381 * sysdeps/s390/s390-32/start.S: ... here.
41382
41383 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41384 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41385 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41386 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41387 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41388 * sysdeps/s390/s390-64/setjmp.S: ... here.
41389 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41390 * sysdeps/s390/s390-64/configure.in: ... here
41391 * sysdeps/s390/s390-64/elf/configure: Delete file.
41392 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41393 * sysdeps/s390/s390-64/start.S: ... here.
41394 * sysdeps/s390/s390-64/elf/configure: Delete.
41395
41396 * configure.in: Remove support for elf directories in sysdeps.
41397
41398 * configure: Regenerated.
41399 * sysdeps/i386/configure: Regenerated.
41400 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41401 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41402 * sysdeps/s390/s390-32/configure: Regenerated.
41403 * sysdeps/s390/s390-64/configure: Regenerated.
41404 * sysdeps/sh/configure: Regenerated.
41405 * sysdeps/sparc/configure: Regenerated.
41406 * sysdeps/x86_64/configure: Regenerated.
41407
a3f61311
AS
414082012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41409
c876e002
AS
41410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41411
a3f61311
AS
41412 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41413 denormal result into account.
41414
ac4c54f0
RM
414152012-03-25 Roland McGrath <roland@hack.frob.com>
41416
41417 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41418 Reported by Allan McRae <allan@archlinux.org>.
41419
6a9b9c02
JL
414202012-03-23 Jeff Law <law@redhat.com>
41421
41422 * nss/getnssent.c (__nss_getent): Fix typo.
41423
4c42a0c1
DM
414242012-03-23 David S. Miller <davem@davemloft.net>
41425
41426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41427
1532c7ac
L
414282012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41429
41430 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41431 to pad to uint64_t for each field.
41432 (dl_tls_index): Replace unsigned long with uint64_t.
41433
3ff42526
PP
414342012-03-23 Daniel Jacobowitz <dmj@google.com>
41435 Paul Pluzhnikov <ppluzhnikov@google.com>
41436
41437 [BZ #6528]
41438 * grp/Makefile (otherlibs): Don't set it.
41439 * inet/Makefile (otherlibs): Likewise.
41440 * login/Makefile (otherlibs): Likewise.
41441 * nscd/Makefile (otherlibs): Likewise.
41442 * posix/Makefile (otherlibs): Likewise.
41443 * pwd/Makefile (otherlibs): Likewise.
41444 * rt/Makefile (otherlibs): Likewise.
41445 * sunrpc/Makefile (otherlibs): Likewise.
41446 * nss/Makefile (otherlibs): Likewise.
41447 Add libnss_files to routines and static-only-routines.
41448 ($(objpfx)getent): Remove rule.
41449 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41450 static-only-routines.
41451
7c69cd14
JM
414522012-03-22 Joseph Myers <joseph@codesourcery.com>
41453
41454 [BZ #13892]
41455 * math/s_cexp.c: Include <float.h>.
41456 (__cexp): Handle exp result overflowing not necessarily
41457 overflowing both real and imaginary parts of result.
41458 * math/s_cexpf.c: Likewise.
41459 * math/s_cexpl.c: Likewise.
41460 * math/libm-test.inc (cexp_test): Add more tests.
41461 * sysdeps/i386/fpu/libm-test-ulps: Update.
41462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41463
81b035fe
L
414642012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41465
41466 * include/link.h (ELFW): New macro.
41467 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41468 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41469
1da7940c
L
414702012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41471
41472 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41473 with uint64_t.
41474
b749dbb9
L
414752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41476
41477 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41478 declaration.
41479 (struct La_x32_retval): Likewise.
41480
2ff87f3f
L
414812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41482
41483 * sysdeps/x86_64/preconfigure.in: New file.
41484 * sysdeps/x86_64/preconfigure: New generated file.
41485
c0df8e69
JM
414862012-03-22 Joseph Myers <joseph@codesourcery.com>
41487
48e44791
JM
41488 [BZ #13824]
41489 * math/e_exp2l.c: Include <float.h>.
41490 (__ieee754_exp2l): Handle overflow and underflow cases
41491 separately. Only pass fractional part of argument to
41492 __ieee754_expl.
41493 * math/libm-test.inc (exp2_test): Add more tests.
41494
c0df8e69
JM
41495 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41496 negating x to take absolute value.
41497 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41498 Likewise.
41499 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41500 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41501 Likewise.
41502 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41503 computing low part if x was negated.
41504 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41505
c8e43ba7
L
415062012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41507
41508 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41509 la_x32_gnu_pltexit.
41510 (pltexit): Cast int_retval to ptrdiff_t.
41511 * elf/tst-auditmod3b.c: Likewise.
41512 * elf/tst-auditmod4b.c: Likewise.
41513 * elf/tst-auditmod5b.c: Likewise.
41514 * elf/tst-auditmod6b.c: Likewise.
41515 * elf/tst-auditmod6c.c: Likewise.
41516 * elf/tst-auditmod7b.c: Likewise.
41517
41518 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41519 and x32_gnu_pltexit.
41520
41521 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41522 __ELF_NATIVE_CLASS.
41523 (La_x32_regs): New macro.
41524 (La_x32_retval): Likewise.
41525 (la_x32_gnu_pltenter): New function prototype.
41526 (la_x32_gnu_pltexit): Likewise.
41527
7998fa78
AS
415282012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41529
dcb33988
AS
41530 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41531 exponent.
41532
233fc563
AS
41533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41534
7998fa78
AS
41535 * configure.in (libc_cv_cc_nofma): Check for option to disable
41536 generation of FMA instructions.
41537 * configure: Regenerate.
41538 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41539 * sysdeps/ieee754/dbl-64/Makefile: New file.
41540 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41541 Remove brandred-fma4.
41542 (CFLAGS-brandred-fma4.c): Remove.
41543 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41544 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41545 define.
41546 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41547 define.
41548
8e95c99a
L
415492012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41550
41551 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41552 LLONG_MAX != LONG_MAX.
41553 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41554 (_fitoa_word): Likewise.
41555 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41556 LLONG_MAX != LONG_MAX.
41557 * stdio-common/_itowa.h: Include <_itoa.h>.
41558 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41559 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41560 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41561 only if not defined.
41562 (_ITOA_WORD_TYPE): Likewise.
41563 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41564 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41565
6f4db457
DM
415662012-03-21 David S. Miller <davem@davemloft.net>
41567
41568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41569
7785fe5a
L
415702012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41571
41572 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41573 of x86_64 when setting libc_cv_slibdir, libdir and
41574 libc_cv_localedir.
41575 * sysdeps/unix/sysv/linux/configure: Regenerated.
41576
4535cd55
JM
415772012-03-21 Joseph Myers <joseph@codesourcery.com>
41578
41579 * manual/lang.texi (Old Varargs): Remove section.
41580 (How Variadic): Update menu.
41581 (va_start): Do not mention varargs.h.
41582
17228132
TS
415832012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41584 Joseph Myers <joseph@codesourcery.com>
41585
41586 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41587 link test.
41588 * configure: Regenerated.
41589
8149f976
TS
415902012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41591
05f3d1f6
UD
41592 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41593 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41594 conformtest.pl
8149f976 41595
1a4ac776
JM
415962012-03-21 Joseph Myers <joseph@codesourcery.com>
41597
be22ce65
JM
41598 * NOTES: Remove.
41599 * Makefile (files-for-dist): Remove NOTES.
41600 (NOTES): Remove rule.
41601 * README: Don't refer to NOTES.
41602 * manual/creature.texi: Don't include macros.texi.
41603 * manual/intro.texi (creature.texi): Remove comment referring to
41604 NOTES.
41605
40b601fb
JM
41606 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41607 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41608 * configure: Regenerated.
41609 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41610 LIBC_TRY_CC_OPTION.
41611 (libc_cv_as_i686): Likewise.
41612 (libc_cv_cc_avx): Likewise.
41613 (libc_cv_cc_sse2avx): Likewise.
41614 (libc_cv_cc_fma4): Likewise.
41615 (libc_cv_cc_novzeroupper): Likewise.
41616 * sysdeps/i386/configure: Regenerated.
41617
1a4ac776
JM
41618 [BZ #13883]
41619 * sysdeps/i386/fpu/s_cexp.S: Remove.
41620 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41621 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41622 * math/libm-test.inc (cexp_test): Add more tests.
41623 * sysdeps/i386/fpu/libm-test-ulps: Update.
41624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41625
a458e7fe
AM
416262012-03-21 Allan McRae <allan@archlinux.org>
41627
41628 * timezone/Makefile: Do not install iso3166.tab and zone.tab
41629
0cb7efc5
JM
416302012-03-21 Joseph Myers <joseph@codesourcery.com>
41631
41632 [BZ #13871]
41633 * math/w_exp2.c: Do not include <float.h>.
41634 (o_threshold, u_threshold): Remove.
41635 (__exp2): Calculate result before checking finiteness and calling
41636 __kernel_standard.
41637 * math/w_exp2f.c: Likewise.
41638 * math/w_exp2l.c: Likewise.
41639 * math/libm-test.inc (exp2_test): Require overflow exception for
41640 1e6 input.
2460d3aa
JM
41641
41642 [BZ #3866]
41643 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41644 range of signed 64-bit integers before using fistpll. Remove
41645 checks for whether integers fit in mantissa bits.
41646 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41647 the range of signed 32-bit integers before using fistpl. Remove
41648 checks for whether integers fit in mantissa bits.
41649 * sysdeps/i386/fpu/e_powl.S (p64): New object.
41650 (__ieee754_powl): Test for y outside the range of signed 64-bit
41651 integers before using fistpll. Reduce 64-bit values to 63-bit
41652 ones as needed.
41653 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41654 divide-by-zero is raised for zero to large negative powers.
41655 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41656 (__ieee754_powl): Test for y outside the range of signed 64-bit
41657 integers before using fistpll. Reduce 64-bit values to 63-bit
41658 ones as needed.
41659 * math/libm-test.inc (pow_test): Add more tests.
41660
eb96ffb0
L
416612012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41662
41663 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41664 <stdio-common/_itoa.h>.
41665 * debug/segfault.c: Likewise.
41666 * elf/dl-cache.c: Likewise.
41667 * elf/dl-minimal.c: Likewise.
41668 * elf/dl-misc.c: Likewise.
41669 * elf/dl-sysdep.c: Likewise.
41670 * elf/dl-version.c: Likewise.
41671 * elf/rtld.c: Likewise.
41672 * hurd/hurdsock.c: Likewise.
41673 * hurd/lookup-retry.c: Likewise.
41674 * malloc/malloc.c: Likewise.
41675 * malloc/mtrace.c: Likewise.
41676 * nscd/nscd_getgr_r.c: Likewise.
41677 * nscd/nscd_getpw_r.c: Likewise.
41678 * nscd/nscd_getserv_r.c: Likewise.
41679 * posix/getopt_init.c: Likewise.
41680 * posix/wordexp.c: Likewise.
41681 * stdio-common/_itoa.c: Likewise.
41682 * stdio-common/printf_fphex.c: Likewise.
41683 * stdio-common/vfprintf.c: Likewise.
41684 * string/_strerror.c: Likewise.
41685 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41686 * sysdeps/i386/i686/hp-timing.h: Likewise.
41687 * sysdeps/mach/_strerror.c: Likewise.
41688 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41689 * sysdeps/mach/hurd/sethostid.c: Likewise.
41690 * sysdeps/mach/hurd/xmknodat.c: Likewise.
41691 * sysdeps/mach/xpg-strerror.c: Likewise.
41692 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41693 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41694 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41695 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41696 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41697 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41698 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41699 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41700 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41701 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41702 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41703 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41704 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41705 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41706 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41707 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41708 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41709 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41710 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41711 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41712 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41713
41714 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41715
41716 * stdio-common/_itoa.h: Moved to ...
41717 * sysdeps/generic/_itoa.h: Here.
41718
41719 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41720
41721 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41722 instead of "_itoa.h" and "_itowa.h".
41723 * stdio-common/vfprintf.: Likewise.
41724
d1af992d
L
417252012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41726
41727 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41728 <bits/wordsize.h>.
41729 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41730 (__signbit): Likwise.
41731 (llrintf): Likwise.
41732 (llrint): Likwise.
41733
114883e0
L
417342012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41735
41736 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41737 __WORDSIZE != 64.
41738
c135cc1b
JM
417392012-03-20 Joseph Myers <joseph@codesourcery.com>
41740
41741 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41742 OVERFLOW_EXCEPTION_OK.
41743 * math/libm-test.inc ("Philosophy"): Update comment about
41744 exception testing.
41745 (OVERFLOW_EXCEPTION): Define.
41746 (OVERFLOW_EXCEPTION_OK): Likewise.
41747 (INVALID_EXCEPTION_OK): Renumber.
41748 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41749 (IGNORE_ZERO_INF_SIGN): Likewise.
41750 (test_exceptions): Handle FE_OVERFLOW.
41751 (exp10_test): Expect overflow exceptions.
41752 (exp2_test): Likewise.
41753 (expm1_test): Likewise.
41754 (nextafter_test): Likewise.
41755 (pow_test): Likewise.
41756 (scalbn_test): Likewise.
41757 (scalbln_test): Likewise.
41758
95443d88
L
417592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41760
41761 * sysdeps/x86_64/bits/atomic.h
41762 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41763 64bit integer.
41764 (atomic_exchange_acq): Likewise.
41765 (__arch_exchange_and_add_body): Likewise.
41766 (__arch_add_body): Likewise.
41767 (atomic_add_negative): Likewise.
41768 (atomic_add_zero): Likewise.
41769
490df6c4
L
417702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41771
c2722551 41772 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
41773 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41774
5e52b189
L
417752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41776
41777 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41778 Check __x86_64__ instead of __WORDSIZE.
41779
a9879d4c
L
417802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41781
41782 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41783
5df98260
DM
417842012-03-19 David S. Miller <davem@davemloft.net>
41785
e1497744
DM
41786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41787
5df98260
DM
41788 * sysdeps/sparc/fpu/fenv_private.h: New file.
41789 * sysdeps/sparc/fpu/math_private.h: Use it.
41790 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41791 Remove.
57f41c40 41792 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
41793 (libc_feholdexcept_setroundl): Remove.
41794 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41795 Remove.
41796 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41797 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41798
b4c35121
L
417992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41800
41801 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41802 int64_t instead of long int.
41803 (INSERT_WORDS64): Likwise.
41804
56965fd7
L
418052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41806
41807 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41808 _Unwind_GetCFA return to _Unwind_Ptr first.
41809
83d1aec8
JM
418102012-03-19 Joseph Myers <joseph@codesourcery.com>
41811
1897ad44
JM
41812 [BZ #13629]
41813 * math/s_clog.c: Include <float.h>.
41814 (__clog): Scale large or subnormal inputs.
41815 * math/s_clogf.c: Likewise.
41816 * math/s_clogl.c: Likewise.
41817 * math/s_clog10.c: Include <float.h>.
41818 (M_LOG10_2): Define.
41819 (__clog10): Scale large or subnormal inputs.
41820 * math/s_clog10f.c: Likewise.
41821 * math/s_clog10l.c: Likewise.
41822 * math/libm-test.inc (clog_test): Add more tests.
41823 (clog10_test): Likewise.
41824 * sysdeps/i386/fpu/libm-test-ulps: Update.
41825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41826
7726d6a9
JM
41827 [BZ #11451]
41828 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41829 x and y.
41830 * math/libm-test.inc (atan2_test): Add another test.
41831
83d1aec8
JM
41832 * Makerules (common-objdir-compile): Remove.
41833 * sysdeps/unix/Makefile (config-generated): Do not add
41834 $(unix-generated) to variable.
41835 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41836 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41837 Remove rule.
41838 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41839 Likewise.
41840 [generic bits/local_lim.h] (before-compile): Do not append to
41841 variable.
41842 [generic bits/local_lim.h] (common-generated): Likewise.
41843 [generic sys/param.h] (before-compile): Do not append to variable.
41844 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41845 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41846 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41847 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41848 include.
41849 [generic sys/param.h] (sys/param.h-includes): Remove variable.
41850 [generic sys/param.h] (sys/param.h-includes): Remove rule.
41851 [generic sys/param.h] ($(addprefix
41852 $(common-objpfx),$(sys/param.h-includes))): Likewise.
41853 [generic sys/param.h] (common-generated): Do not append to
41854 variable.
41855 [generic sys/param.h] (sysdep_headers): Likewise.
41856 [generic bits/errno.h] (before-compile): Do not append to
41857 variable.
41858 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41859 rule.
41860 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41861 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41862 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41863 [generic bits/errno.h] (common-generated): Do not append to
41864 variable.
41865 [generic bits/ioctls.h] (before-compile): Do not append to
41866 variable.
41867 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41868 rule.
41869 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41870 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41871 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41872 rule.
41873 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41874 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41875 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41876 [generic bits/ioctls.h] (common-generated): Do not append to
41877 variable.
41878 [generic sys/syscall.h] (syscall.h): Remove variable.
41879 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41880 rule.
41881 [generic sys/syscall.h] (before-compile): Do not append to
41882 variable.
41883 [generic sys/syscall.h] (common-generated): Likewise.
41884 * sysdeps/unix/errnos-tmpl.c: Remove file.
41885 * sysdeps/unix/errnos.awk: Likewise.
41886 * sysdeps/unix/ioctls-tmpl.c: Likewise.
41887 * sysdeps/unix/ioctls.awk: Likewise.
41888 * sysdeps/unix/mk-local_lim.c: Likewise.
41889 * sysdeps/unix/snarf-ioctls: Likewise.
41890
4851a949
RH
418912012-03-19 Richard Henderson <rth@twiddle.net>
41892
bd37f2ee
RH
41893 * sysdeps/i386/fpu/fenv_private.h: New file.
41894 * sysdeps/i386/fpu/math_private.h: Use it.
41895 (math_opt_barrier, math_force_eval): Remove.
41896 (libc_feholdexcept_setround_53bit): Remove.
41897 (libc_feupdateenv_53bit): Remove.
41898 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41899 (math_opt_barrier, math_force_eval): Remove.
41900 (libc_feholdexcept): Remove.
41901 (libc_feholdexcept_setround): Remove.
41902 (libc_fetestexcept, libc_fesetenv): Remove.
41903 (libc_feupdateenv_test): Remove.
41904 (libc_feupdateenv, libc_feholdsetround): Remove.
41905 (libc_feresetround): Remove.
41906
d0adc922
RH
41907 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41908 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41909
0fe0f1f8
RH
41910 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41911 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41912 (libc_feupdateenv_testl): New.
41913 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41914 (libc_feupdateenv_testf): New.
41915 (libc_feupdateenv): Use libc_feupdateenv_test.
41916 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41917 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41918
eb92c487
RH
41919 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41920 (libc_feholdsetroundf, libc_feholdsetroundl): New.
41921 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41922 (libc_feresetround_noex): New.
41923 (libc_feresetround_noexf): New.
41924 (libc_feresetround_noexl): New.
41925 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41926 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41927 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41928 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41929 SET_RESTORE_ROUND.
41930 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41931 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41932 (__cos): Likewise.
41933 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41934 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41935 SET_RESTORE_ROUND_NOEX.
41936 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41937 SET_RESTORE_ROUND_NOEXF.
41938 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41939 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41940 (libc_feholdsetroundf): New.
41941 (libc_feresetround, libc_feresetroundf): New.
41942
7d2e8012
RH
41943 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41944 (libc_feholdexcept_setround_53bit): Convert from macro to function.
41945 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
41946
b4dabbb4
RH
41947 * sysdeps/generic/math_private.h: Include <fenv.h>.
41948 (default_libc_feholdexcept): New.
41949 (default_libc_feholdexcept_setround): New.
41950 (default_libc_fesetenv, default_libc_feupdateenv): New.
41951 (libc_feholdexcept): Only define if undefined.
41952 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
41953 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
41954 (libc_feholdexcept_setroundl): Likewise.
41955 (libc_feholdexcept_setround_53bit): Likewise.
41956 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41957 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
41958 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
41959 (libc_feupdateenv_53bit): Likewise.
41960 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
41961 (libc_feholdexcept): Convert from macro to inline function.
41962 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
41963 (libc_fesetenv, libc_feupdateenv): Likewise.
41964
4851a949
RH
41965 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41966 not previously defined.
41967 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41968 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41969 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41970 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41971 * sysdeps/ieee754/flt-32/math_private.h: New file.
41972 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41973 math_private.h below SET_FLOAT_WORD.
41974 (__isnan, __isinf_ns, __finite): Remove.
41975 (__isnanf, __isinf_nsf, __finitef): Remove.
41976
e79d442e
AS
419772012-03-18 Andreas Schwab <schwab@linux-m68k.org>
41978
41979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41980
90b80344
DM
419812012-03-17 David S. Miller <davem@davemloft.net>
41982
41983 [BZ #6471]
41984 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41985 for 2.16.
41986
edc21804
DM
419872012-03-16 David S. Miller <davem@davemloft.net>
41988
77e927af
DM
41989 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41990 warnings.
41991
374976dd
DM
41992 [BZ #6471]
41993 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41994 properly.
41995 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41996 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41997 sysdep_routines when subdir is sysvipc.
41998 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41999 __getshmlba helper.
42000
edc21804
DM
42001 * sysdeps/sparc/fpu/libm-test/ulps: Update.
42002
473c3ef3
L
420032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42004
42005 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
42006 [__LP64__].
42007
eb0f39b6
L
420082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42009
42010 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
42011 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
42012 (__lround): Renamed to ...
42013 (__llround): This. Replace long int with long long int.
42014 Define lround functions as aliases of llround functions.
42015 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
42016
6b6cd74b
L
420172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42018
42019 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
42020 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
42021 adresses to uintptr_t. Replace "long int" and "unsigned long
42022 int" with "greg_t" on va_arg.
42023
f1a77b01
L
420242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42025
42026 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
42027 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
42028
42029 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
42030 Move e_machine check before EI_CLASS check. Handle x32
42031 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
42032 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
42033 SKIP_EM_IA_64 and include
42034 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
42035
42036 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
42037 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
42038 (add_system_dir): New macro.
42039
42040 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
42041 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
42042
11b90b9f
JM
420432012-03-16 Joseph Myers <joseph@codesourcery.com>
42044
c36e1d23
JM
42045 [BZ #2551]
42046 [BZ #2552]
42047 [BZ #2553]
42048 [BZ #2554]
42049 [BZ #2562]
42050 [BZ #2563]
42051 [BZ #2565]
42052 [BZ #2566]
42053 [BZ #2576]
42054 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
42055 (y0): Likewise.
42056 * math/w_j0f.c (j0f): Likewise.
42057 (y0f): Likewise.
42058 * math/w_j0l.c (__j0l): Likewise.
42059 (__y0l): Likewise.
42060 * math/w_j1.c (j1): Likewise.
42061 (y1): Likewise.
42062 * math/w_j1f.c (j1f): Likewise.
42063 (y1f): Likewise.
42064 * math/w_j1l.c (__j1l): Likewise.
42065 (__y1l): Likewise.
42066 * math/w_jn.c (jn): Likewise.
42067 (yn): Likewise.
42068 * math/w_jnf.c (jnf): Likewise.
42069 (ynf): Likewise.
42070 * math/w_jnl.c (__jnl): Likewise.
42071 (__ynl): Likewise.
42072 * math/libm-test.inc (j0_test): Add more tests.
42073 (j1_test): Likewise.
42074 (jn_test): Likewise. Add trailing semicolon to existing test.
42075 (y0_test): Likewise.
42076 (y1_test): Likewise.
42077 * sysdeps/i386/fpu/libm-test-ulps: Update.
42078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42079
11b90b9f
JM
42080 [BZ #13851]
42081 [BZ #13854]
42082 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
42083 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
42084 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
42085 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
42086 (__tanl): Set errno for infinite argument.
42087 * sysdeps/i386/fpu/mptan.c: Remove.
42088 * sysdeps/i386/fpu/s_tan.S: Likewise.
42089 * sysdeps/i386/fpu/s_tanl.S: Likewise.
42090 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
42091 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
42092 * math/libm-test.inc (tan_test): Add more tests and enable more
42093 tests for double and long double.
42094 * sysdeps/i386/fpu/libm-test-ulps: Update.
42095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42096
6a1bd2a1
JK
420972012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
42098
42099 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42100 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42101
10a803e0
RM
421022012-03-16 Roland McGrath <roland@hack.frob.com>
42103
42104 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42105 * configure.in: Use it for both main tree and add-ons.
42106 * configure: Regenerated.
42107
f196c7f7
L
421082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42109
42110 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42111
8848d99d
JM
421122012-03-16 Joseph Myers <joseph@codesourcery.com>
42113
96cbe7f4
JM
42114 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42115 in comment.
42116
8848d99d
JM
42117 [BZ #13851]
42118 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42119 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42120 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42121 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42122 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42123 infinite argument.
42124 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42125 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42126 != 0 for prec == 2.
42127 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42128 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42129 * sysdeps/i386/fpu/s_cosl.S: Likewise.
42130 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42131 * sysdeps/i386/fpu/s_sinl.S: Likewise.
42132 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42133 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42134 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42135 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42136 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42137 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42138 * math/libm-test.inc (cos_test): Add more tests and enable more
42139 tests for long double.
42140 (sin_test): Likewise.
42141 (sincos_test): Likewise.
42142 * sysdeps/i386/fpu/libm-test-ulps: Update.
42143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42144
dd7f4703
DM
421452012-03-16 David S. Miller <davem@davemloft.net>
42146
42147 * sysdeps/sparc/fpu/math_private.h: New file.
42148
006f1daa
DM
421492012-03-15 David S. Miller <davem@davemloft.net>
42150
c0c83bc8
DM
42151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42152 file.
e6a62e18 42153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
42154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42155 file.
e6a62e18
DM
42156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42157 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42158 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42159 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42160 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42161 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42162 sysdep routines.
42163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42164
88cb87d9
DM
42165 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42166 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42167
006f1daa 42168 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
42169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42170 sparc-ifunc.h
006f1daa 42171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
42172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42173 Likewise.
42174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42175 Likewise.
006f1daa
DM
42176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
42179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42180 Likewise.
006f1daa
DM
42181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
42185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42186 Likewise.
42187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42188 Likewise.
006f1daa
DM
42189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42193 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42194 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42195 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42196 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42197 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42198 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42199 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42200 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42201 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42202 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42203 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42204 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42205 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42206 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42207 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42208 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42209 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42210 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42211 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42212 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42213
11e0098e
AS
422142012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42215
42216 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42217 scaling.
42218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42219
e85b09d0
AJ
422202012-03-15 Andreas Jaeger <aj@suse.de>
42221
42222 [BZ #13852]
42223 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42224 ieee754/flt-32 implementation for sin, cos and sincos.
42225 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42226 * sysdeps/i386/fpu/s_cosf.S: Likewise.
42227 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42228 * sysdeps/i386/fpu/s_sinf.S: Likewise.
42229 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42230 ieee754/flt-32 implementation for tan.
42231
42232 * math/libm-test.inc (cos_test): Enable some large input tests for
42233 float as well
42234 (sin_test): Likewise.
42235 (sincos_test): Likewise.
42236 (tan_test): Add tests for large input.
42237
42238 * sysdeps/i386/fpu/libm-test-ulps: Update.
42239
81c64153
AJ
422402012-03-15 Andreas Jaeger <aj@suse.de>
42241
42242 [BZ #13658]
42243 * math/libm-test.inc (cos_test): Add more test cases.
42244 (sin_test): Likewise.
42245 (sincos_test): Likewise.
42246
7bbfa5c6
AJ
422472012-03-15 Andreas Jaeger <aj@suse.de>
42248
42249 [BZ #13837]
42250 * math/libm-test.inc (cos_test): Add a test case for large input
42251 value.
42252 (sin_test): Likewise.
42253 (sincos_test): Likewise.
42254
57f41c40
AS
422552012-03-15 Andreas Jaeger <aj@suse.de>
42256 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
42257
42258 [BZ #13658]
0671f479 42259 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
42260 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42261 * sysdeps/i386/fpu/branred.c: Likewise.
42262 * sysdeps/i386/fpu/dosincos.c: Likewise.
42263 * sysdeps/i386/fpu/mpa.c: Likewise.
42264 * sysdeps/i386/fpu/s_cos.S: Likewise.
42265 * sysdeps/i386/fpu/s_sin.S: Likewise.
42266 * sysdeps/i386/fpu/s_sincos.S: Likewise.
42267 * sysdeps/i386/fpu/sincos32.c: Likewise.
42268
42269 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42270 Define.
42271 (libc_feupdateenv_53bit): Define.
42272 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42273 Define.
42274 (libc_feupdateenv_53bit): Define.
42275
42276 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42277 53 bit (without extend i386 double precision).
42278
42279 * math/libm-test.inc (sincos_test): Add tests for large input.
42280 (sin): Likewise.
42281 (cos): Likewise.
42282
42283 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42284
9cad04ea
AS
422852012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42286
42287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42288
f7062b9a
DM
422892012-03-15 David S. Miller <davem@davemloft.net>
42290
42291 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42292 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42293 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42294 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42301 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42302 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42303 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42304 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42305 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
42306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42307 file.
f7062b9a 42308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
42309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42310 file.
f7062b9a 42311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
42312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42313 file.
f7062b9a 42314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
42315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42316 file.
f7062b9a
DM
42317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42318 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42319 fmin/fmax sysdep routines.
42320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42321
7bd951ff
DM
423222012-03-14 David S. Miller <davem@davemloft.net>
42323
559398ab
DM
42324 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42325 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42326 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42327 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42328 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42329 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42330 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42331 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42332 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42333 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42334 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42335 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42336 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42337 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42338 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42339 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42340 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42341 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42342 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42343 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42344 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42345 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42346 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42347 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42348 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42349 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42350 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42351 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42352 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42353 routines.
42354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42355 file.
559398ab 42356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
42357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42358 file.
559398ab 42359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
42360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42361 file.
559398ab 42362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
42363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42364 file.
559398ab 42365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
42366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42367 file.
559398ab 42368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
42369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42370 file.
42371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42372 file.
42373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42374 file.
42375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42376 file.
42377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42378 New file.
42379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42380 file.
42381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42382 file.
559398ab 42383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
42384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42385 file.
559398ab 42386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42388 file.
559398ab 42389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
42390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42391 file.
559398ab 42392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
42393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42394 VIS3 routines.
559398ab
DM
42395
42396 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42397 New file.
42398
5a1c1e32
DM
42399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42400
eae47a36
DM
42401 * sysdeps/sparc/configure.in: New file.
42402 * sysdeps/sparc/configure: Generate.
42403 * configure.in (libc_cv_sparc_as_vis3): Substitute.
42404 * configure: Regenerate.
42405 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42406 * config.make.in (have-as-vis3): New.
42407 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42408 available use -Av9d instead of -Av9a.
42409 * sysdeps/sparc/sparc64/Makefile: Likewise.
42410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
42411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42412 New file.
42413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42414 file.
42415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42416 New file.
42417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42418 file.
eae47a36
DM
42419 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42420 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42421 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42422 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42423 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42424
c0c83bc8
DM
42425 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42426 fzeros/fnegs to load 0x80000000 into a float register instead of
42427 using the stack.
7bd951ff
DM
42428 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42429
bd951ccb
JM
424302012-03-14 Joseph Myers <joseph@codesourcery.com>
42431
42432 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42433 bits/syscall.h.
42434 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42435 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42436 ($(inst_includedir)/bits/syscall.h): Remove rule.
42437 ($(objpfx)bits/syscall.d): Include instead of
42438 $(objpfx)syscall-list.d.
42439 (generated): Change syscall-list.h and syscall-list.d to
42440 bits/syscall.h and bits/syscall.d.
42441
bb4e6db2
RM
424422012-03-14 Roland McGrath <roland@hack.frob.com>
42443
42444 [BZ #13846]
42445 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42446
aa4a2ae1
JM
424472012-03-14 Joseph Myers <joseph@codesourcery.com>
42448
e456826d
JM
42449 [BZ #13841]
42450 * math/s_csqrt.c: Include <float.h>.
42451 (__csqrt): Scale large or subnormal inputs.
42452 * math/s_csqrtf.c: Likewise.
42453 * math/s_csqrtl.c: Likewise.
42454 * math/libm-test.inc (csqrt_test): Add more tests.
42455 * sysdeps/i386/fpu/libm-test-ulps: Update.
42456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42457
aa4a2ae1
JM
42458 [BZ #13840]
42459 * math/libm-test.inc (hypot_test): Add more tests.
42460
7c10fd35
DM
424612012-03-13 David S. Miller <davem@davemloft.net>
42462
42463 [BZ #13840]
42464 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42465 double-precision for the calculation instead of scaling.
42466
f453b98b
JM
424672012-03-13 Joseph Myers <joseph@codesourcery.com>
42468
42469 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42470 manipulate bits before adding and subtracting TWO52[sx].
42471 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42472 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42473 Likewise.
42474 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42475
09a3453f
DM
424762012-03-13 David S. Miller <davem@davemloft.net>
42477
8e59da90
DM
42478 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42479 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42480 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42481 rtld-global-offsets.h
42482 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42483
2a8ab7f2
DM
42484 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42485 large parameters.
42486
10f62770
DM
42487 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42488
5f0bdb18
DM
42489 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42490 'err' in the ifdef scope in which it is actually used.
42491
09a3453f
DM
42492 * nss/nss_db/db-init.c: Include string.h
42493
b4b2eb5e
DM
424942012-03-12 David S. Miller <davem@davemloft.net>
42495
98bb2f1c
DM
42496 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42497 masking out of the most significant byte of random value used.
42498 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42499 Fix coding style in previous change.
42500
b4b2eb5e
DM
42501 * sysdeps/unix/sysv/linux/kernel-features.h
42502 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42503 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42504 expression.
42505 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42506 later.
42507
6e226b09
DM
425082012-03-11 David S. Miller <davem@davemloft.net>
42509
a1bcbd40
DM
42510 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42511 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42512 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42513 for 'resultvar' otherwise things get truncated on 64-bit.
42514
cb9d6174
DM
42515 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42516 Fix masking out of the most significant byte of random value used.
42517
6e226b09
DM
42518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42519
058c132d
AS
425202012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42521
42522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42523
2d2cd515
DM
425242012-03-09 David S. Miller <davem@davemloft.net>
42525
42526 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42527 variables with appropriate CPP guards.
57f41c40
AS
42528 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42529 from the frame pointer, not the stack pointer. Correct layout
42530 comments. Fix test on resulting framesize and the management of
42531 the outregs buffer for pltexit. Preserve floating point return
42532 values across _dl_call_pltexit call.
2d2cd515
DM
42533 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42534 framesize and the management of the outregs buffer for pltexit.
42535 Preserve floating point return values across _dl_call_pltexit
42536 call.
57f41c40
AS
42537 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42538 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42539 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
42540 (print_exit): Fix format string for return register value.
42541
9a07f9d0
JM
425422012-03-10 Joseph Myers <joseph@codesourcery.com>
42543
42544 * sunrpc/Makefile (others): Add rpcgen.
42545 ($(objpfx)rpcgen): Remove special build rule and dependency on
42546 libc.
42547 * sunrpc/rpcgen.c: New file.
42548
547b5e30
PE
425492012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42550
c524201a
PE
42551 [BZ #13673]
42552 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42553 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42554 * sysdeps/i386/crti.S: Likewise.
42555 * sysdeps/i386/crtn.S: Likewise.
42556 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42557 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42558 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42559 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42560 * sysdeps/sh/crti.S: Likewise.
42561 * sysdeps/sh/crtn.S: Likewise.
42562 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42563
7b6235f2
PE
42564 [BZ #13673]
42565 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42566 with URL.
42567 * locale/programs/locfile-kw.gperf: Likewise.
42568 * locale/programs/charmap-kw.h: Regenerated.
42569 * locale/programs/locfile-kw.h: Likewise.
42570
547b5e30
PE
42571 [BZ #13673]
42572 * intl/plural.y: Replace FSF snail mail address with URL.
42573 * intl/plural.c: Regenerated.
42574
5f0a5dae
RH
425752012-03-09 Richard Henderson <rth@twiddle.net>
42576
42577 * include/math_private.h: Remove file.
42578 * math/math_private.h: Move file ...
42579 * sysdeps/generic/math_private.h: ... here.
42580
b8c03620
RH
42581 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42582 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42583 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42584
4e234f5d 42585 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
42586 and <math_private.h>.
42587 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42588 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42589 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42590 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42591 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42592 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42593 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42594 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42595 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42596 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42597 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42598 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42599 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42600 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42601 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42602 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42603 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42604 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42605 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42606 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42607 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42608 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42609 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42610 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42611 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42612 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42613 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42614 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42615 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42616 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42617 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42618 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42619 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42620 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42621 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42622 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42623 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42624 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42625 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42626 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42627 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42628 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42629 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42630 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42631 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42632 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42633 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42634 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42635 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42636 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42637 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42638 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42639 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42640 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42641 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42642 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42643 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42644 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42645 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42646 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42647 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42648 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42649 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42650 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42651 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42652 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42653 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42654 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42655 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42656 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42657 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42658 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42659 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42660 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42661 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42662 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42663 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42664 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42665 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42666 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42667 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42668 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42669 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42670 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42671 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42672 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42673 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42674 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42675 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42676 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42677 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42678 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42679 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42680 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42681 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42682 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42683 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42684 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42685 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42686 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42687 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42688 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42689 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42690 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42691 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42692 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42693 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42694 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42695 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42696 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42697 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42698 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42699 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42700 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42701 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42702 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42703 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42704 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42705 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42706 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42707 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42708 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42709 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42710 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42711 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42712 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42713 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42714 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42715 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42716 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42717 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42718 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42719 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42720 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42721 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42722 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42723 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42724 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42725 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42726 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42727 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42728 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42729 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42730 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42731 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42732 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42733 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42734 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42735 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42736 * sysdeps/ieee754/k_standard.c: Likewise.
42737 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42738 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42739 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42740 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42741 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42742 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42743 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42744 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42745 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42746 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42747 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42748 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42749 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42750 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42751 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42752 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42753 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42754 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42755 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42756 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42757 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42758 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42759 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42760 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42761 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42762 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42763 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42764 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42765 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42766 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42767 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42768 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42769 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42770 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42771 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42772 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42773 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42774 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42775 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42776 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42777 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42778 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42779 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42780 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42781 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42782 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42783 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42784 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42785 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42786 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42787 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42788 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42789 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42790 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42791 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42792 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42793 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42794 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42795 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42796 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42797 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42798 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42799 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42800 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42801 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42802 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42803 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42804 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42805 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42806 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42807 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42808 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42809 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42810 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42811 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42812 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42813 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42814 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42815 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42816 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42817 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42818 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42819 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42820 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42821 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42822 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42823 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42824 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42825 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42826 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42827 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42828 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42829 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42830 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42831 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42832 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42833 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42834 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42835 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42836 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42837 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42838 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42839 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42840 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42841 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42842 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42843 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42844 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42845 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42846 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42847 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42848 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42849 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42850 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42851 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42852 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42853 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42854 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42855 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42856 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42857 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42858 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42859 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42860 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42861 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42862 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42863 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42864 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42865 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42866 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42867 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42868 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42869 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42870 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42871 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42872 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42873 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42874 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42875 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42876 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42877 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42878 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42879 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42880 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42881 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42882 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42883 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42884 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42885 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42886 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42887 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42888 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42889 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42890 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42891 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42892 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42893 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42894 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42895 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42896 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42897 * sysdeps/ieee754/s_lib_version.c: Likewise.
42898 * sysdeps/ieee754/s_matherr.c: Likewise.
42899 * sysdeps/ieee754/s_signgam.c: Likewise.
42900 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42901 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42902 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42903 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42904 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42905 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42906 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42907 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42908 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42909 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42910 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42911 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42912 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42913 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42914 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42915 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42916 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42917 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42918 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42919 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42920 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 42921
1991fa03
JM
429222012-03-09 Joseph Myers <joseph@codesourcery.com>
42923
42924 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42925 * sunrpc/rpc_main.c: Likewise.
42926 * sunrpc/rpc_svcout.c: Likewise.
42927
60d6f5a6
DM
429282012-03-09 David S. Miller <davem@davemloft.net>
42929
42930 * include/math_private.h: New file.
42931
4962050e
JM
429322012-03-09 Joseph Myers <joseph@codesourcery.com>
42933
02a6f887
JM
42934 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42935 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42936 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42937 from <bits/socket_type.h>.
42938 (enum __socket_type): Don't define here.
42939 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42940 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42941 bits/socket_type.h.
42942
c6e013c1
JM
42943 [BZ #13566]
42944 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42945 checking __USE_GNU.
42946
4962050e
JM
42947 * Makerules ($(inst_includedir)/%.h): New rule.
42948 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
42949 (install-others): Remove variable setting.
42950 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
42951
38842f45
RH
429522012-03-08 Richard Henderson <rth@twiddle.net>
42953
67bb6da6
RH
42954 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
42955 from macro to inline function; merge with the
42956 !__LIBC_INTERNAL_MATH_INLINES version.
42957 (__ieee754_sqrtf): Likewise.
42958
15194b4b
RH
42959 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
42960 to inline function.
42961 (__rintf, __floor, __floorf): Likewise.
42962
64e21ede
RH
42963 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
42964 macro to inline function.
42965 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42966
38842f45
RH
42967 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42968 not <math/math_private.h>.
42969
c64bf5fe
DM
429702012-03-08 David S. Miller <davem@davemloft.net>
42971
42972 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42973 copyright year.
42974 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42975
82d86f28
TS
429762012-03-08 Thomas Schwinge <thomas@codesourcery.com>
42977
42978 * resolv/gai_misc.c (handle_requests): Fix struct timespec
42979 normalization.
42980 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42981 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42982
aea5d727
UD
429832012-03-08 Ulrich Drepper <drepper@gmail.com>
42984
42985 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
42986 be defined individually, they must be defined as a block. Define
42987 S for printing a string instead of hidint the different by using a
42988 macro for adding the 'l'.
42989 * stdio-common/tst-fphex-wide.c: Adjust.
42990
70bca0a3
MP
429912012-03-07 Marek Polacek <polacek@redhat.com>
42992
42993 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42994
65b81130
MP
429952012-03-08 Marek Polacek <polacek@redhat.com>
42996
42997 [BZ #13806]
42998 * stdio-common/Makefile (tests): Add tst-fphex-wide.
42999 * stdio-common/tst-fphex.c: Define a few macros to make the
43000 test reusable. Use them.
43001 * stdio-common/tst-fphex-wide.c: New file.
43002
07037eeb
JM
430032012-03-08 Joseph Myers <joseph@codesourcery.com>
43004
a7a93d50
JM
43005 [BZ #6911]
43006 * manual/macros.texi (gnusystems): New macro.
43007 (nongnusystems): Likewise.
43008 (gnulinuxhurdsystems): Likewise.
43009 (gnuhurdsystems): Likewise..
43010 (gnulinuxsystems): Likewise.
43011 * manual/charset.texi: Use new macros or @theglibc{} to refer to
43012 variants of the GNU system, not "GNU system".
43013 * manual/conf.texi: Likewise.
43014 * manual/errno.texi: Likewise. Update example of errno macro
43015 expansion.
43016 * manual/filesys.texi: Likewise.
43017 (getumask): Document as specific to GNU/Hurd.
43018 * manual/install.texi: Likewise. Reword some references to
43019 GNU/Linux.
43020 * manual/intro.texi: Likewise.
43021 * manual/io.texi: Likewise.
43022 (File Name Portability): Detail which constraints are inapplicable
43023 to all GNU systems and which are only inapplicable to GNU/Hurd.
43024 * manual/job.texi: Likewise.
43025 * manual/llio.texi: Likewise.
43026 (O_NOCTTY): Document as present on GNU/Linux.
43027 * manual/maint.texi: Likewise.
43028 * manual/memory.texi: Likewise.
43029 * manual/pattern.texi: Likewise.
43030 * manual/pipe.texi: Likewise.
43031 * manual/process.texi: Likewise.
43032 * manual/resource.texi: Likewise.
43033 (RUSAGE_CHILDREN): Remove statement about specifying a particular
43034 child on GNU/Hurd.
43035 * manual/setjmp.texi: Likewise.
43036 * manual/signal.texi: Likewise.
43037 * manual/startup.texi: Likewise.
43038 * manual/stdio.texi: Likewise.
43039 * manual/terminal.texi: Likewise.
43040 (ONLCR): Document as POSIX.
43041 (OXTABS): Document availability on GNU/Linux as XTABS.
43042 (ONOEOT): Document availability separately from other bits.
43043 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
43044 * manual/time.texi: Likewise.
43045 * manual/users.texi: Likewise.
43046 * INSTALL: Regenerated.
43047 * sysdeps/gnu/errlist.c: Regenerated.
43048
07037eeb
JM
43049 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
43050 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
43051 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
43052 puts.
43053 * configure: Regenerated.
43054
d1d3431a
JM
430552012-03-07 Joseph Myers <joseph@codesourcery.com>
43056
af6a1e37
JM
43057 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
43058 default includes instead of AC_HEADER_CHECK.
43059 * sysdeps/i386/configure: Regenerated.
43060
d1d3431a
JM
43061 [BZ #10716]
43062 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
43063 * math/s_cacoshf.c (__cacoshf): Likewise.
43064 * math/s_cacoshl.c (__cacoshl): Likewise.
43065 * math/s_casinh.c (__casinh): Set signs of result from argument.
43066 * math/s_casinhf.c (__casinhf): Likewise.
43067 * math/s_casinhl.c (__casinhl): Likewise.
43068 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
43069 (casinh_test): Add more tests.
43070 * sysdeps/i386/fpu/libm-test-ulps: Update.
43071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43072
482ff4da
UD
430732012-03-07 Ulrich Drepper <drepper@gmail.com>
43074
872fda05
UD
43075 * po/zh_TW.po: Update from translation team.
43076
a4300c7a
UD
43077 * login/Makefile (distribute): Remove variable.
43078 * catgets/Makefile: Likewise.
43079 * mach/Makefile: Likewise.
43080 * malloc/Makefile: Likewise.
43081 * misc/Makefile: Likewise.
43082 * iconv/Makefile: Likewise.
43083 * nscd/Makefile: Likewise.
43084 * hurd/Makefile: Likewise.
43085 * manual/Makefile: Likewise.
43086 * locale/Makefile: Likewise.
43087 * intl/Makefile: Likewise.
43088 * conform/Makefile: Likewise.
43089 * nss/Makefile: Likewise.
43090 * time/Makefile: Likewise.
43091 * soft-fp/Makefile: Likewise.
43092 * dirent/Makefile: Likewise.
43093 * gmon/Makefile: Likewise.
43094 * po/Makefile: Likewise.
43095 * rt/Makefile: Likewise.
43096 * socket/Makefile: Likewise.
43097 * math/Makefile: Likewise.
43098 * signal/Makefile: Likewise.
43099 * debug/Makefile: Likewise.
43100 * elf/Makefile: Likewise.
43101 * timezone/Makefile: Likewise.
43102 * stdlib/Makefile: Likewise.
43103 * iconvdata/Makefile: Likewise.
43104 * sunrpc/Makefile: Likewise.
43105 * io/Makefile: Likewise.
43106 * argp/Makefile: Likewise.
43107 * inet/Makefile: Likewise.
43108 * hesiod/Makefile: Likewise.
43109 * grp/Makefile: Likewise.
43110 * csu/Makefile: Likewise.
43111 * wctype/Makefile: Likewise.
43112 * crypt/Makefile: Likewise.
43113 * libio/Makefile: Likewise.
43114 * string/Makefile: Likewise.
43115 * nis/Makefile: Likewise.
43116 * resolv/Makefile: Likewise.
43117 * stdio-common/Makefile: Likewise.
43118 * wcsmbs/Makefile: Likewise.
43119 * dlfcn/Makefile: Likewise.
43120 * posix/Makefile: Likewise.
43121
3b7c4e74 43122 [BZ #6959]
482ff4da
UD
43123 * timezone/Makefile: Don't install timezone files, just the programs
43124 and scripts.
43125
f72ed77d
UD
431262012-03-06 Ulrich Drepper <drepper@gmail.com>
43127
a000466f
UD
43128 * nss/databases.def: Add missing gshadow entry.
43129
f72ed77d
UD
43130 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
43131
a53b7a4e
MP
431322012-03-06 Marek Polacek <polacek@redhat.com>
43133
43134 [BZ #13726]
43135 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43136 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43137 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43138 * stdio-common/tst-long-dbl-fphex.c: New file.
43139
e9258400
DM
431402012-03-06 David S. Miller <davem@davemloft.net>
43141
43142 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43143 (set_obp_int): New function.
43144 (get_obp_int): New function.
43145 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
43146 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43147 Avoid unused variable warnings on 'val' and use builtin_expect.
43148 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43149 __builtin_expect.
e9258400
DM
43150 (INLINE_CLONE_SYSCALL): Likewise.
43151
3bd2c723
DM
431522012-03-05 David S. Miller <davem@davemloft.net>
43153
43154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43155
bbb78d03
AS
431562012-03-05 Andreas Schwab <schwab@linux-m68k.org>
43157
884c5db4
AS
43158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43159
bbb78d03
AS
43160 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43161 only for |x| >= 40.
43162 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43163
1c9f702a 431642012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
43165
43166 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43167 Replace gettimeofday with __vdso_gettimeofday.
43168
7be16f82
RM
43169 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43170 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43171 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
43172
43173 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43174 time with __vdso_time.
43175
ed58a00f
JM
431762012-03-05 Joseph Myers <joseph@codesourcery.com>
43177
43178 * manual/lang.texi (size_t): Note types to which size_t may be
43179 equivalent with the GNU C Library, but do not describe when
43180 differences between them are significant.
43181
30ee4ced
AJ
431822012-03-05 Andreas Jaeger <aj@suse.de>
43183
43184 * sysdeps/i386/fpu/libm-test-ulps: Update.
43185
b7cd39e8
JM
431862012-03-05 Joseph Myers <joseph@codesourcery.com>
43187
43188 [BZ #3976]
43189 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43190 (__ieee754_pow): Save and restore rounding mode and use
43191 round-to-nearest for main computations.
43192 * math/libm-test.inc (pow_test_tonearest): New function.
43193 (pow_test_towardzero): Likewise.
43194 (pow_test_downward): Likewise.
43195 (pow_test_upward): Likewise.
43196 (main): Call the new functions.
43197 * sysdeps/i386/fpu/libm-test-ulps: Update.
43198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
43199
43200 [BZ #3976]
43201 * math/libm-test.inc (cosh_test_tonearest): New function.
43202 (cosh_test_towardzero): Likewise.
43203 (cosh_test_downward): Likewise.
43204 (cosh_test_upward): Likewise.
43205 (sinh_test_tonearest): Likewise.
43206 (sinh_test_towardzero): Likewise.
43207 (sinh_test_downward): Likewise.
43208 (sinh_test_upward): Likewise.
43209 (main): Call the new functions.
43210 * sysdeps/i386/fpu/libm-test-ulps: Update.
43211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43212
6c6a98c9
TV
432132012-03-05 Tom de Vries <tom@codesourcery.com>
43214
43215 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43216 default stack guard is set in last bytes.
43217 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43218
21bb2d2e 432192012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 43220
21bb2d2e 43221 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 43222
21bb2d2e
AJ
43223 [BZ #13656]
43224 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43225 possibly allocate from heap instead of stack.
43226 * stdio-common/bug-vfprintf-nargs.c: New file.
43227 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 43228
c6922934
AS
432292012-03-03 Andreas Schwab <schwab@linux-m68k.org>
43230
43231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43232
bc957d53
MP
432332012-03-03 Marek Polacek <polacek@redhat.com>
43234
43235 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43236 * math/math_private.h: Likewise.
43237 * stdlib/tst-strtod.c: Likewise.
43238 * sysdeps/i386/i486/bits/atomic.h: Likewise.
43239 * sysdeps/x86_64/bits/atomic.h: Likewise.
43240
6358490d
DM
432412012-03-02 David S. Miller <davem@davemloft.net>
43242
43243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43247 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43248 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43249 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43250 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43251
01ae168d
RM
432522012-03-02 Roland McGrath <roland@hack.frob.com>
43253
d9a17c07
RM
43254 [BZ #13792]
43255 * manual/examples/README: New file, says the example source files
43256 can be used under GPL>=2.
43257 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43258 line containing just "*/".
43259 * manual/examples/add.c: Add copyright header (GPL>=2).
43260 * manual/examples/argp-ex1.c: Likewise.
43261 * manual/examples/argp-ex2.c: Likewise.
43262 * manual/examples/argp-ex3.c: Likewise.
43263 * manual/examples/argp-ex4.c: Likewise.
43264 * manual/examples/atexit.c: Likewise.
43265 * manual/examples/db.c: Likewise.
43266 * manual/examples/dir.c: Likewise.
43267 * manual/examples/dir2.c: Likewise.
43268 * manual/examples/execinfo.c: Likewise.
43269 * manual/examples/filecli.c: Likewise.
43270 * manual/examples/filesrv.c: Likewise.
43271 * manual/examples/fmtmsgexpl.c: Likewise.
43272 * manual/examples/genpass.c: Likewise.
43273 * manual/examples/inetcli.c: Likewise.
43274 * manual/examples/inetsrv.c: Likewise.
43275 * manual/examples/isockad.c: Likewise.
43276 * manual/examples/longopt.c: Likewise.
43277 * manual/examples/memopen.c: Likewise.
43278 * manual/examples/memstrm.c: Likewise.
43279 * manual/examples/mkfsock.c: Likewise.
43280 * manual/examples/mkisock.c: Likewise.
43281 * manual/examples/mygetpass.c: Likewise.
43282 * manual/examples/pipe.c: Likewise.
43283 * manual/examples/popen.c: Likewise.
43284 * manual/examples/rprintf.c: Likewise.
43285 * manual/examples/search.c: Likewise.
43286 * manual/examples/select.c: Likewise.
43287 * manual/examples/setjmp.c: Likewise.
43288 * manual/examples/sigh1.c: Likewise.
43289 * manual/examples/sigusr.c: Likewise.
43290 * manual/examples/stpcpy.c: Likewise.
43291 * manual/examples/strdupa.c: Likewise.
43292 * manual/examples/strftim.c: Likewise.
43293 * manual/examples/strncat.c: Likewise.
43294 * manual/examples/subopt.c: Likewise.
43295 * manual/examples/swapcontext.c: Likewise.
43296 * manual/examples/termios.c: Likewise.
43297 * manual/examples/testopt.c: Likewise.
43298 * manual/examples/testpass.c: Likewise.
43299 * manual/examples/timeval_subtract.c: Likewise.
43300
01ae168d
RM
43301 [BZ #13792]
43302 * manual/time.texi (Elapsed Time): Move timeval_subtract example
43303 function to ...
43304 * manual/timeval_subtract.c.texi: ... here, new file.
43305
49efa33d
DM
433062012-03-02 David S. Miller <davem@davemloft.net>
43307
43308 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43309
28afd92d
JM
433102012-03-02 Joseph Myers <joseph@codesourcery.com>
43311
804360ed
JM
43312 [BZ #3976]
43313 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43314 (__sin): Save and restore rounding mode and use round-to-nearest
43315 for all computations.
43316 (__cos): Save and restore rounding mode and use round-to-nearest
43317 for all computations.
43318 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43319 <fenv.h>.
43320 (tan): Save and restore rounding mode and use round-to-nearest for
43321 all computations.
43322 * math/libm-test.inc (cos_test_tonearest): New function.
43323 (cos_test_towardzero): Likewise.
43324 (cos_test_downward): Likewise.
43325 (cos_test_upward): Likewise.
43326 (sin_test_tonearest): Likewise.
43327 (sin_test_towardzero): Likewise.
43328 (sin_test_downward): Likewise.
43329 (sin_test_upward): Likewise.
43330 (tan_test_tonearest): Likewise.
43331 (tan_test_towardzero): Likewise.
43332 (tan_test_downward): Likewise.
43333 (tan_test_upward): Likewise.
43334 (main): Call the new functions.
43335 * sysdeps/i386/fpu/libm-test-ulps: Update.
43336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43337
a6d06d7b
JM
43338 [BZ #10135]
43339 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43340 small n, then large n, before computing and testing k+n.
43341 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43342 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43343 Likewise.
43344 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43345 Likewise.
43346 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43347 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43348 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43349 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43350 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43351 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43352 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43353 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43354 * math/libm-test.inc (scalbn_test): Add more tests.
43355 (scalbln_test): Likewise.
43356
07e12bb3
JM
43357 * manual/filesys.texi (mode_t): Describe constraints on size and
43358 signedness, not exact equivalence to a particular type.
43359 (ino_t): Likewise.
43360 (ino64_t): Likewise.
43361 (dev_t): Likewise.
43362 (nlink_t): Likewise.
43363 (blkcnt_t): Likewise.
43364 (blkcnt64_t): Likewise.
43365 * manual/llio.texi (off_t): Likewise.
43366
28afd92d
JM
43367 [BZ #3976]
43368 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43369 (__ieee754_exp): Save and restore rounding mode and use
43370 round-to-nearest for all computations.
43371 * math/libm-test.inc (exp_test_tonearest): New function.
43372 (exp_test_towardzero): Likewise.
43373 (exp_test_downward): Likewise.
43374 (exp_test_upward): Likewise.
43375 (main): Call the new functions.
43376 * sysdeps/i386/fpu/libm-test-ulps: Update.
43377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43378
b1eeb65d
CD
433792012-03-01 Chris Demetriou <cgd@google.com>
43380
43381 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43382 have predictable order.
43383
53362a4b
DM
433842012-03-01 David S. Miller <davem@davemloft.net>
43385
3c969083
DM
43386 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43387
759707de
DM
43388 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43389 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43390 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43391 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43392
dfdb8ff2
DM
43393 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43394 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43395 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43397 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43398 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43399 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43400 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43401 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43402
ead89f96
DM
43403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43404
7f66bd07
DM
43405 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43406 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43407 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43408
53362a4b
DM
43409 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43410 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43411 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43412 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43413 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43414 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43415 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43416 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43417 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43418 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43419 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43420 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43421 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43422 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43423 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43424 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43425 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43426 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43427 * sysdeps/sparc/elf/configure: Regenerated.
43428
7b1902cb
JM
434292012-03-01 Joseph Myers <joseph@codesourcery.com>
43430
bec039bc
JM
43431 * configure.in (AS, LD): Require binutils 2.20 or later.
43432 * configure: Regenerated.
43433 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43434 as required minimum version.
43435 * INSTALL: Regenerated.
43436
7b1902cb
JM
43437 [BZ #2541]
43438 [BZ #4108]
43439 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43440 before squaring exponent.
43441 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43442 bottom long double and 27 bits of top long double before squaring
43443 exponent.
43444 * math/libm-test.inc (erfc_test): Add more tests.
43445 * sysdeps/i386/fpu/libm-test-ulps: Update.
43446 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43448
f775c276
KT
434492012-03-01 Kai Tietz <ktietz@redhat.com>
43450
43451 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43452 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43453 containing bit-fields.
43454 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43455 * soft-fp/single.h (_FP_UNION_S): Likewise.
43456 * soft-fp/double.h (_FP_UNION_D): Likewise.
43457
5b8a4d4a
JM
434582012-02-29 Joseph Myers <joseph@codesourcery.com>
43459
0bab47b6
JM
43460 [BZ #13786]
43461 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43462 not include ../strcmp.S.
43463 [USE_AS_STRNCASECMP_L]: Likewise.
43464 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43465 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43466 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43467 (__strncasecmp_l_ia32): Define as alias to
43468 __strncasecmp_l_nonascii.
43469
0fcad3e2
JM
43470 [BZ #5794]
43471 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43472 * sysdeps/i386/fpu/libm-test-ulps: Update.
43473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43474
5b8a4d4a
JM
43475 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43477
8fdceb2e
JL
434782012-02-29 Jeff Law <law@redhat.com>
43479
43480 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43481 out of bounds read.
43482
1f393a11
MP
434832012-02-29 Marek Polacek <polacek@redhat.com>
43484
43485 [BZ #13706]
43486 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43487 * elf/Makefile: Add rules to run tst-unused-dep.out.
43488
8847f037
DM
434892012-02-28 David S. Miller <davem@davemloft.net>
43490
43491 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43492 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43493 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43494 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43495 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43496 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43497
169d7f11
JM
434982012-02-29 Joseph Myers <joseph@codesourcery.com>
43499
43500 * math/libm-test.inc (llround_test): Move one test from
43501 lround_test. Use TEST_f_L in moved test.
43502 (lround_test): Move misplaced test to llround_test. Add testcase
43503 from bug 2561.
43504
39adf059
UD
435052012-02-28 Ulrich Drepper <drepper@gmail.com>
43506
43507 * sysdeps/x86_64/fpu/e_expf.S: New file.
43508 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43509
71b5d1c5
SB
435102012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43511
43512 [BZ #13637]
43513 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43514 of remain_len that may cause incomplete multi-byte character and
43515 false match.
43516 * posix/bug-regex33.c: New file.
43517 * posix/Makefile (tests): Add bug-regex33.
43518
1f77f049
JM
435192012-02-28 Joseph Myers <joseph@codesourcery.com>
43520
43521 * manual/macros.texi: New file.
43522 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43523 * manual/libc.texinfo: Include macros.texi.
43524 * manual/creatute.texi: Likewise.
43525 * manual/install.texi: Likewise.
43526 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43527 @glibcadj{} in references to the GNU C Library.
43528 * manual/charset.texi: Likewise.
43529 * manual/conf.texi: Likewise.
43530 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43531 when not using those macros.
43532 * manual/creature.texi: Likewise.
43533 * manual/crypt.texi: Likewise.
43534 * manual/errno.texi: Likewise.
43535 * manual/filesys.texi: Likewise.
43536 * manual/header.texi: Likewise.
43537 * manual/install.texi: Likewise.
43538 * manual/intro.texi: Likewise.
43539 * manual/io.texi: Likewise.
43540 * manual/job.texi: Likewise.
43541 * manual/lang.texi: Likewise.
43542 * manual/libc.texiinfo: Likewise.
43543 * manual/llio.texi: Likewise.
43544 * manual/locale.texi: Likewise.
43545 * manual/maint.texi: Likewise.
43546 * manual/math.texi: Likewise.
43547 * manual/memory.texi: Likewise.
43548 * manual/message.texi: Likewise.
43549 * manual/nss.texi: Likewise.
43550 * manual/pattern.texi: Likewise.
43551 * manual/process.texi: Likewise.
43552 * manual/resource.texi: Likewise.
43553 * manual/search.texi: Likewise.
43554 * manual/setjmp.texi: Likewise.
43555 * manual/signal.texi: Likewise.
43556 * manual/socket.texi: Likewise.
43557 * manual/startup.texi: Likewise.
43558 * manual/stdio.texi: Likewise.
43559 * manual/string.texi: Likewise.
43560 * manual/sysinfo.texi: Likewise.
43561 * manual/syslog.texi: Likewise.
43562 * manual/terminal.texi: Likewise.
43563 * manual/time.texi: Likewise.
43564 * manual/users.texi: Likewise.
43565 * INSTALL: Regenerated.
43566 * NOTES: Regenerated.
d40c5d54 43567 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 43568
450bf206
AS
435692012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43570
43571 * include/dirent.h: Include <dirstream.h> before
43572 <dirent/dirent.h>.
43573
741a235b
DM
435742012-02-28 David S. Miller <davem@davemloft.net>
43575
43576 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43577 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43578 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43579 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43580
d6b5aa58
DM
435812012-02-27 David S. Miller <davem@davemloft.net>
43582
1aff59a3
DM
43583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43585 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43586 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43587
d6b5aa58
DM
43588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43589 frame pointer instead of stack pointer relative arg slot.
43590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43591 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43592 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43593
433f48bf
CD
435942012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
43595
43596 [BZ #3992]
43597 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43598
d674b76d
DM
435992012-02-27 David S. Miller <davem@davemloft.net>
43600
43601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43605 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43606 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43607 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43608 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43609
0e7727f7
JM
436102012-02-27 Joseph Myers <joseph@codesourcery.com>
43611
43612 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43613 later. Allow versions 5-9.
43be4ca2 43614 * configure: Regenerated.
0e7727f7
JM
43615 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43616 required minimum version and 4.6 as recommended version. Do not
43617 mention bugs in GCC 2.7 and 2.8.
43be4ca2 43618 * INSTALL: Regenerated.
0e7727f7 43619
a78bc654
DM
436202012-02-27 David S. Miller <davem@davemloft.net>
43621
428d5830
DM
43622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43626 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43627 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43628 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43629 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43630
a78bc654
DM
43631 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43632 manipulate bits before adding and subtracting TWO112[sx].
43633 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43634
4579f81c
RM
436352012-02-27 Roland McGrath <roland@hack.frob.com>
43636
36c8acb4
RM
43637 [BZ #13775]
43638 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43639 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43640 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43641 being in POSIX, because they are in 1003.1-2008.
43642
84ad622b
RM
43643 * rt/tst-aio.c: Include <fcntl.h>.
43644 * rt/tst-aio7.c: Likewise.
43645 * rt/tst-aio64.c: Likewise.
43646
4579f81c
RM
43647 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43648
abd923db
JM
436492012-02-27 Joseph Myers <joseph@codesourcery.com>
43650
43651 * manual/install.texi (--with-headers): Describe headers as
43652 interface headers, not private headers.
43653 (Specific advice for GNU/Linux systems): Describe use of headers
43654 from "make headers_install", not private headers from older
43655 kernels.
43be4ca2 43656 * INSTALL: Regenerated.
abd923db
JM
43657 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43658 Change to 2.6.19.
43659 * sysdeps/unix/sysv/linux/configure: Regenerated.
43660
6664049b
JM
43661 * manual/llio.texi (fclean): Remove documentation.
43662
bb8b6697
JM
43663 * manual/Makefile (libc-texi-generated): New variable. Include
43664 version.texi.
43665 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43666 $(libc-texi-generated), not duplicated list of files.
43667 (version.texi, stamp-version): New rules.
43668 (realclean): Remove $(libc-texi-generated), not individual files
43669 from that list. Do not remove dir-add.texinfo.
43670 * manual/libc.texinfo: Comment out uses of edition numbers and
43671 references to printed manual. Remove last-updated dates.
43672 (EDITION): Comment out.
43673 (ISBN): Likewise.
43674 (VERSION, UPDATED): Remove.
43675 (version.texi): Include.
43676
12e5c3b9
AS
436772012-02-27 Andreas Schwab <schwab@linux-m68k.org>
43678
43679 * sysdeps/posix/spawni.c: Include <signal.h>.
43680 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43681 * sysdeps/pthread/aio_fsync.c: Likewise.
43682
4efeffc1 436832012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 43684
ba63ba08
UD
43685 * conform/Makefile (tests): Run only when not cross-compiling and
43686 when fast-check is not defined.
43687
d94a4670
UD
43688 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43689 * conform/data/limits.h-data: Fixes for POSIX2008.
43690 * conform/run-conformtest.sh: Run all tests.
43691 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43692 headers.
43693 * include/bits/dlfcn.h: Likewise.
43694 * include/langinfo.h: Likewise.
43695 * include/monetary.h: Likewise.
43696 * include/sys/poll.h: Likewise.
43697
43698 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43699 for __USE_GNU.
43700 * posix/spawn.h: Define __need_sigset_t.
43701 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43702 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43703 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
43704 to get sigevent_t only.
43705 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43706 only for __USE_GNU.
43707 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43708 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43709 process_vm_writev only for __USE_GNU.
43710 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
43711
43712 * conform/Makefile: For now ignore errors from run-conformtest.
43713 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
43714 POSIX to avoid namespace pollution. Don't prepend headers.
43715 * conform/data/aio.h-data: Fixes for POSIX testing.
43716 * conform/data/fcntl.h-data: Likewise.
43717 * conform/data/glob.h-data: Likewise.
43718 * conform/data/grp.h-data: Likewise.
43719 * conform/data/pthread.h-data: Likewise.
43720 * conform/data/pwd.h-data: Likewise.
43721 * conform/data/signal.h-data: Likewise.
43722 * conform/data/spawn.h-data: Likewise.
43723 * conform/data/stdio.h-data: Likewise.
43724 * conform/data/stdlib.h-data: Likewise.
43725 * conform/data/stropts.h-data: Likewise.
43726 * conform/data/sys/mman.h-data: Likewise.
43727 * conform/data/sys/stat.h-data: Likewise.
43728 * conform/data/sys/types.h-data: Likewise.
43729 * conform/data/sys/wait.h-data: Likewise.
43730 * conform/data/time.h-data: Likewise.
43731 * conform/data/unistd.h-data: Likewise.
43732 * conform/data/utime.h-data: Likewise.
43733
43734 * io/sys/stat.h: fchmod was always in POSIX.
43735 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43736 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43737 * rt/aio.h: Define __need_timespec before including <time.h>.
43738 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43739 struct. Add forward declaration of pthread_attr_t and use it in
43740 sigevent.
43741 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43742 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43743 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43744 always remove CLK_TCK definition.
43745
c20105c3
AS
437462012-02-26 Andreas Schwab <schwab@linux-m68k.org>
43747
43748 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43749
7a270350
UD
437502012-02-25 Ulrich Drepper <drepper@gmail.com>
43751
31341567
UD
43752 * conform/run-conformtest.sh: New file.
43753 * conform/Makefile: Run run-conformtest for tests.
43754 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
43755 support.
43756
43757 * conform/data/uchar.h-data: New file.
43758 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43759 * conform/data/arpa/inet.h-data: Likewise.
43760 * conform/data/assert.h-data: Likewise.
43761 * conform/data/complex.h-data: Likewise.
43762 * conform/data/cpio.h-data: Likewise.
43763 * conform/data/ctype.h-data: Likewise.
43764 * conform/data/dirent.h-data: Likewise.
43765 * conform/data/dlfcn.h-data: Likewise.
43766 * conform/data/errno.h-data: Likewise.
43767 * conform/data/fcntl.h-data: Likewise.
43768 * conform/data/float.h-data: Likewise.
43769 * conform/data/fmtmsg.h-data: Likewise.
43770 * conform/data/fnmatch.h-data: Likewise.
43771 * conform/data/ftw.h-data: Likewise.
43772 * conform/data/glob.h-data: Likewise.
43773 * conform/data/grp.h-data: Likewise.
43774 * conform/data/iconv.h-data: Likewise.
43775 * conform/data/inttypes.h-data: Likewise.
43776 * conform/data/langinfo.h-data: Likewise.
43777 * conform/data/libgen.h-data: Likewise.
43778 * conform/data/limits.h-data: Likewise.
43779 * conform/data/locale.h-data: Likewise.
43780 * conform/data/math.h-data: Likewise.
43781 * conform/data/monetary.h-data: Likewise.
43782 * conform/data/mqueue.h-data: Likewise.
43783 * conform/data/ndbm.h-data: Likewise.
43784 * conform/data/net/if.h-data: Likewise.
43785 * conform/data/netdb.h-data: Likewise.
43786 * conform/data/netinet/in.h-data: Likewise.
43787 * conform/data/nl_types.h-data: Likewise.
43788 * conform/data/poll.h-data: Likewise.
43789 * conform/data/pthread.h-data: Likewise.
43790 * conform/data/pwd.h-data: Likewise.
43791 * conform/data/regex.h-data: Likewise.
43792 * conform/data/sched.h-data: Likewise.
43793 * conform/data/search.h-data: Likewise.
43794 * conform/data/semaphore.h-data: Likewise.
43795 * conform/data/setjmp.h-data: Likewise.
43796 * conform/data/signal.h-data: Likewise.
43797 * conform/data/spawn.h-data: Likewise.
43798 * conform/data/stdarg.h-data: Likewise.
43799 * conform/data/stdio.h-data: Likewise.
43800 * conform/data/stdlib.h-data: Likewise.
43801 * conform/data/string.h-data: Likewise.
43802 * conform/data/strings.h-data: Likewise.
43803 * conform/data/stropts.h-data: Likewise.
43804 * conform/data/sys/ipc.h-data: Likewise.
43805 * conform/data/sys/mman.h-data: Likewise.
43806 * conform/data/sys/msg.h-data: Likewise.
43807 * conform/data/sys/resource.h-data: Likewise.
43808 * conform/data/sys/select.h-data: Likewise.
43809 * conform/data/sys/sem.h-data: Likewise.
43810 * conform/data/sys/shm.h-data: Likewise.
43811 * conform/data/sys/socket.h-data: Likewise.
43812 * conform/data/sys/stat.h-data: Likewise.
43813 * conform/data/sys/statvfs.h-data: Likewise.
43814 * conform/data/sys/time.h-data: Likewise.
43815 * conform/data/sys/timeb.h-data: Likewise.
43816 * conform/data/sys/times.h-data: Likewise.
43817 * conform/data/sys/types.h-data: Likewise.
43818 * conform/data/sys/uio.h-data: Likewise.
43819 * conform/data/sys/un.h-data: Likewise.
43820 * conform/data/sys/utsname.h-data: Likewise.
43821 * conform/data/sys/wait.h-data: Likewise.
43822 * conform/data/syslog.h-data: Likewise.
43823 * conform/data/tar.h-data: Likewise.
43824 * conform/data/termios.h-data: Likewise.
43825 * conform/data/utime.h-data: Likewise.
43826 * conform/data/utmpx.h-data: Likewise.
43827 * conform/data/varargs.h-data: Likewise.
43828 * conform/data/wchar.h-data: Likewise.
43829 * conform/data/wctype.h-data: Likewise.
43830 * conform/data/wordexp.h-data: Likewise.
43831
43832 * include/stropts.h: New file.
43833 * include/uchar.h: New file.
43834 * include/aio.h: Changes to allow conformtest.pl to use the headers.
43835 * include/assert.h: Likewise.
43836 * include/ctype.h: Likewise.
43837 * include/dirent.h: Likewise.
43838 * include/dlfcn.h: Likewise.
43839 * include/fcntl.h: Likewise.
43840 * include/fnmatch.h: Likewise.
43841 * include/glob.h: Likewise.
43842 * include/grp.h: Likewise.
43843 * include/libio.h: Likewise.
43844 * include/locale.h: Likewise.
43845 * include/math.h: Likewise.
43846 * include/net/if.h: Likewise.
43847 * include/netdb.h: Likewise.
43848 * include/netinet/in.h: Likewise.
43849 * include/pthread.h: Likewise.
43850 * include/pwd.h: Likewise.
43851 * include/regex.h: Likewise.
43852 * include/sched.h: Likewise.
43853 * include/search.h: Likewise.
43854 * include/setjmp.h: Likewise.
43855 * include/signal.h: Likewise.
43856 * include/stdio.h: Likewise.
43857 * include/stdlib.h: Likewise.
43858 * include/string.h: Likewise.
43859 * include/sys/cdefs.h: Likewise.
43860 * include/sys/mman.h: Likewise.
43861 * include/sys/msg.h: Likewise.
43862 * include/sys/resource.h: Likewise.
43863 * include/sys/select.h: Likewise.
43864 * include/sys/socket.h: Likewise.
43865 * include/sys/stat.h: Likewise.
43866 * include/sys/statvfs.h: Likewise.
43867 * include/sys/time.h: Likewise.
43868 * include/sys/times.h: Likewise.
43869 * include/sys/uio.h: Likewise.
43870 * include/sys/utsname.h: Likewise.
43871 * include/sys/wait.h: Likewise.
43872 * include/termios.h: Likewise.
43873 * include/time.h: Likewise.
43874 * include/ulimit.h: Likewise.
43875 * include/unistd.h: Likewise.
43876 * include/utime.h: Likewise.
43877 * include/wchar.h: Likewise.
43878 * include/wctype.h: Likewise.
43879 * include/wordexp.h: Likewise.
43880
43881 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43882
7a270350
UD
43883 * time/time.h: TIME_UTC must be a macro.
43884 Make timespec_get available for ISO C11 only as well.
43885
7724defc
UD
438862012-02-24 Ulrich Drepper <drepper@gmail.com>
43887
43888 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43889 Reported by Peng Haitao <penght@cn.fujitsu.com>.
43890
6b1d1d46
JM
438912012-02-24 Joseph Myers <joseph@codesourcery.com>
43892
43893 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 43894
0f8bbd69
JM
438952012-02-24 Joseph Myers <joseph@codesourcery.com>
43896
43897 * manual/texinfo.tex: Update to version 2012-01-19.16.
43898
66ab80bc
JM
438992012-02-24 Joseph Myers <joseph@codesourcery.com>
43900
43901 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43902
74981cc5
RM
439032012-02-24 Roland McGrath <roland@hack.frob.com>
43904
ee968201
RM
43905 [BZ #13738]
43906 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43907 * manual/fdl-1.3.texi: New file.
43908 * manual/fdl-1.1.texi: File removed.
43909
74981cc5
RM
43910 [BZ #13738]
43911 * manual/libc.texinfo (FDL_VERSION): New @set.
43912 Use it for mention of FDL in cover text.
43913 (Documentation License): Use it in @include file name.
43914
7bb764bc
JM
439152012-02-22 Joseph Myers <joseph@codesourcery.com>
43916 Roland McGrath <roland@hack.frob.com>
43917
43918 [BZ #5461]
57f41c40
AS
43919 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43920 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
43921 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43922 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
43923 name.
43924 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43925
6cbeae47
JM
439262012-02-22 Joseph Myers <joseph@codesourcery.com>
43927
43928 [BZ #2547]
43929 [BZ #11365]
43930 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43931 manipulate bits before adding and subtracting TWO23[sx].
43932 * math/libm-test.inc (nearbyint_test): Add more tests.
43933
fe45ce09
JM
439342012-02-22 Joseph Myers <joseph@codesourcery.com>
43935
43936 [BZ #2548]
43937 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43938 bits before adding and subtracting TWO23[sx].
43939 * math/libm-test.inc (rint_test): Add more tests.
43940 (rint_test_tonearest): Likewise.
43941 (rint_test_towardzero): Likewise.
43942 (rint_test_downward): Likewise.
43943 (rint_test_upward: Likewise.
43944
ff3b3d82
JM
439452012-02-22 Joseph Myers <joseph@codesourcery.com>
43946
43947 [BZ #10110]
43948 * include/stdc-predef.h: New file. Extracted from features.h.
43949 * include/features.h: Include stdc-predef.h.
43950 * Makefile (headers): Add stdc-predef.h.
43951 * CONFORMANCE (Compiler limitations): Update.
43952
ef0aab35
JM
439532012-02-22 Joseph Myers <joseph@codesourcery.com>
43954
43955 * manual/libc.texinfo (VERSION, UPDATED): Revert.
43956
58639409
DM
439572012-02-21 David S. Miller <davem@davemloft.net>
43958
43959 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
43960 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43961
c0e70b25
DM
439622012-02-20 David S. Miller <davem@davemloft.net>
43963
43964 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43965 using a normal save/restore sequence, rather than allocating a
43966 dummy stack frame just to store a frame pointer and restore.
43967 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43968
fb06851d
JM
439692012-02-21 Joseph Myers <joseph@codesourcery.com>
43970
43971 * manual/install.texi: Fix stray word in line-wrapped comment.
43972
7a8b71c3
DM
439732012-02-20 David S. Miller <davem@davemloft.net>
43974
d510c123
DM
43975 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43976 both binutils and gcc support GOTDATA.
43977
0722d7c2
DM
43978 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43979 "rd %pc" in the PIC register setup sequences.
43980
3d2b3019
DM
43981 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43982 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43983 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43984 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43985 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43986 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43987 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43988 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43989 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43990 (SYSCALL_ERROR_HANDLER): Likewise.
43991 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43992 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43993 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43994 (SYSCALL_ERROR_HANDLER): Likewise.
43995
c80098a9
DM
43996 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43997 (HAVE_GCC_GOTDATA): New.
43998 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43999 relocation support in both binutils and gcc.
44000 * sysdeps/sparc/elf/configure: Regenerate.
44001
3a2545a0
DM
44002 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
44003 * sysdeps/sparc/sparc32/elf/configure: Delete.
44004 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
44005 * sysdeps/sparc/sparc64/elf/configure: Delete.
44006 * sysdeps/sparc/elf/configure.in: New file.
44007 * sysdeps/sparc/elf/configure: Generate.
44008
7a8b71c3
DM
44009 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
44010 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
44011 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44012 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
44013 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
44014
f1e86fca
JM
440152012-02-21 Joseph Myers <joseph@codesourcery.com>
44016
44017 * manual/install.texi: Do not mention specific glibc version
44018 numbers.
44019 * manual/libc.texinfo (VERSION, UPDATED): Update.
44020 (@copying): Use @copyright{} and range of years.
44021
0e7dfaef
JM
440222012-02-21 Joseph Myers <joseph@codesourcery.com>
44023
44024 [BZ #13695]
44025 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
44026 [crti.S not in sysdirs] (generated): Do not append.
44027 [crti.S not in sysdirs] (omit-deps): Likewise.
44028 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
44029 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
44030 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
44031 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
44032 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
44033 Likewise.
44034 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
44035 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
44036 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
44037 * csu/defs.awk: Remove file.
44038 * sysdeps/generic/initfini.c: Likewise.
44039 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
44040 variable.
44041 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
44042 Likewise.
44043
599af3ca
JM
440442012-02-20 Joseph Myers <joseph@codesourcery.com>
44045
44046 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
44047 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
44048 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
44049 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
44050 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44051 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
44052 <bits/epoll.h>.
44053 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
44054 (__EPOLL_PACKED): Define to empty if not defined by
44055 <bits/epoll.h>.
44056 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
44057 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44058 bits/epoll.h.
44059
0e499750
JM
440602012-02-20 Joseph Myers <joseph@codesourcery.com>
44061
44062 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
44063 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
44064 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
44065 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
44066 <bits/timerfd.h>.
44067 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
44068 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44069 bits/timerfd.h.
44070
5ad91f6e
JM
440712012-02-20 Joseph Myers <joseph@codesourcery.com>
44072
44073 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
44074 in C locale.
44075 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44076 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44077 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
44078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44079
06b99b02
AJ
440802012-02-20 Aurelien Jarno <aurelien@aurel32.net>
44081
44082 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44083 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44084
7638c0fd
AS
440852012-02-19 Andreas Schwab <schwab@linux-m68k.org>
44086
44087 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
44088 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
44089 defined.
44090 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
44091 Likewise.
44092 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44093 entry for 2.16.
44094
92221550
AJ
440952012-02-19 Aurelien Jarno <aurelien@aurel32.net>
44096
44097 * math/w_acos.c: Use non-signaling floating-point comparisons.
44098 * math/w_acosf.c: Likewise.
44099 * math/w_acosh.c: Likewise.
44100 * math/w_acoshf.c: Likewise.
44101 * math/w_acoshl.c: Likewise.
44102 * math/w_acosl.c: Likewise.
44103 * math/w_asin.c: Likewise.
44104 * math/w_asinf.c: Likewise.
44105 * math/w_asinl.c: Likewise.
44106 * math/w_atanh.c: Likewise.
44107 * math/w_atanhf.c: Likewise.
44108 * math/w_atanhl.c: Likewise.
44109 * math/w_exp2.c: Likewise.
44110 * math/w_exp2f.c: Likewise.
44111 * math/w_exp2l.c: Likewise.
44112 * math/w_j0.c: Likewise.
44113 * math/w_j0f.c: Likewise.
44114 * math/w_j0l.c: Likewise.
44115 * math/w_j1.c: Likewise.
44116 * math/w_j1f.c: Likewise.
44117 * math/w_j1l.c: Likewise.
44118 * math/w_jn.c: Likewise.
44119 * math/w_jnf.c: Likewise.
44120 * math/w_log.c: Likewise.
44121 * math/w_log10.c: Likewise.
44122 * math/w_log10f.c: Likewise.
44123 * math/w_log10l.c: Likewise.
44124 * math/w_log2.c: Likewise.
44125 * math/w_log2f.c: Likewise.
44126 * math/w_log2l.c: Likewise.
44127 * math/w_logf.c: Likewise.
44128 * math/w_logl.c: Likewise.
44129 * math/w_sqrt.c: Likewise.
44130 * math/w_sqrtf.c: Likewise.
44131 * math/w_sqrtl.c: Likewise.
44132 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44133 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44134 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44135 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44136 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44137
ebaf36eb
JM
441382012-02-19 Joseph Myers <joseph@codesourcery.com>
44139
44140 [BZ #9739]
44141 * manual/string.texi (strnlen): Use correct parameter name in
44142 equivalent expression.
44143
71c254a6
JM
441442012-02-19 Joseph Myers <joseph@codesourcery.com>
44145
44146 [BZ #11174]
44147 * manual/users.texi (seteuid): Consistently use neweuid for
44148 argument name.
44149
16d2c631
JM
441502012-02-19 Joseph Myers <joseph@codesourcery.com>
44151
44152 [BZ #13704]
44153 * manual/nss.texi (Services in the NSS configuration): Correct
44154 list of services in example configuration file.
44155
cd837b09
NB
441562012-02-19 Nick Bowler <nbowler@draconx.ca>
44157
44158 [BZ #11322]
44159 * manual/arith.texi: Remove statements about negative zero
44160 behaving identically to zero.
44161
02c4bbad
JM
441622012-02-18 Joseph Myers <joseph@codesourcery.com>
44163
44164 [BZ #5993]
44165 * manual/install.texi: Do not document upgrading from libc5.
44166
366842e7
JM
441672012-02-18 Joseph Myers <joseph@codesourcery.com>
44168
44169 [BZ #4596]
44170 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44171
dd54084d
DM
441722012-02-18 David S. Miller <davem@davemloft.net>
44173
44174 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44175 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44176 %o7 across the call.
44177 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44178 instead.
44179 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44180 SETUP_PIC_REG_LEAF.
44181 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44182 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44183 * sysdeps/sparc/crtn.S: Likewise.
44184
2bcc53a3
UD
441852012-02-17 Ulrich Drepper <drepper@gmail.com>
44186
44187 * aout/Makefile: Remove.
44188
09c093b5
RK
441892012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
44190
44191 [BZ #13058]
44192 * manual/examples/argp-ex1.c (main): Format definition in GNU
44193 style.
44194 * manual/examples/argp-ex2.c (main): Likewise.
44195 * manual/examples/argp-ex3.c (main): Likewise.
44196 * manual/examples/argp-ex4.c (main): Likewise.
44197 * manual/examples/longopt.c (main): Use new-style prototype
44198 definition.
44199 * manual/examples/strncat.c (main): Specify return type and use
44200 (void) for arguments.
44201 * manual/examples/subopt.c (main): Use char **argv argument.
44202
2ee633a2
JM
442032012-02-17 Joseph Myers <joseph@codesourcery.com>
44204
44205 [BZ #5077]
44206 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44207 rounding modes.
44208
0520adde
FB
442092012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
44210
44211 [BZ #6907]
44212 * manual/string.texi (strchr): Change when strchrnul is
44213 recommended.
44214
3f4081cd
DGM
442152012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
44216
44217 [BZ #174]
44218 * manual/locale.texi (setlocale): Document LOCPATH.
44219
d1b10e78
JM
442202012-02-17 Joseph Myers <joseph@codesourcery.com>
44221
44222 [BZ #10210]
44223 * manual/process.texi (execle): Move @dots{} before last argument.
44224
79c6869c
PB
442252012-02-17 Paul Bolle <pebolle@tiscali.nl>
44226
44227 [BZ #12047]
44228 * manual/charset.texi (Generic Charset Conversion): Fix typo
44229 (LC_TYPE -> LC_CTYPE).
44230
cc6e48bc
NB
442312012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
44232
44233 [BZ #5805]
44234 * manual/arith.texi (scalbn): Use @var{} on parameter names.
44235 (scalbnf): Likewise.
44236 (scalbnl): Likewise.
44237 (scalbln): Likewise.
44238 (scalblnf): Likewise.
44239 (scalblnl): Likewise.
44240 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44241 (vwarnx): Likewise.
44242 (verr): Likewise.
44243 (verrx): Likewise.
44244 * manual/filesys.texi (telldir): Use braces around return type.
44245 * manual/llio.texi (mmap): Add space after comma.
44246 (mmap64): Likewise.
44247 * manual/math.texi (jn): Use @var{} on parameter names.
44248 (jnf): Likewise.
44249 (jnl): Likewise.
44250 (yn): Likewise.
44251 (ynf): Likewise.
44252 (ynl): Likewise.
44253 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44254 line.
44255 * manual/resource.texi (ulimit): Use @dots{} instead of literal
44256 "...".
44257 (sched_get_priority_min): Remove semicolon on @deftypefun line.
44258 (sched_get_priority_max): Likewise.
44259 * manual/signal.texi (sigvec): Add space after comma.
44260 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44261 names.
44262 (if_indextoname): Likewise.
44263 (if_freenameindex): Likewise.
44264 (sendto): Use ',' instead of '.' in prototype.
44265 * manual/startup.texi (syscall): Use @dots{} instead of literal
44266 "...".
44267 * manual/stdio.texi (__fpending): Separate initial words of
44268 paragraph from @deftypefun line.
44269 * manual/syslog.texi (syslog): Use @dots{} instead of literal
44270 "...".
44271 (vsyslog): Use @var{} on parameter names.
44272 * manual/terminal.texi (stty): Use @var{} on parameter names.
44273 * manual/users.texi (getutmp): Use @var{} on parameter names.
44274 (getutmpx): Likewise.
44275
5b23062f
JM
442762012-02-17 Joseph Myers <joseph@codesourcery.com>
44277
44278 [BZ #6884]
44279 * manual/stdio.texi (fopen): Fix typos in description of
44280 ",ccs=STRING".
44281
8dee4833
AJ
442822012-02-17 Aurelien Jarno <aurelien@aurel32.net>
44283
44284 [BZ #4026]
44285 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44286 get clock_id definition.
44287
9078ce93
TS
442882012-02-17 Thomas Schwinge <thomas@schwinge.name>
44289
44290 [BZ #4822]
44291 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44292 (madvise): Cast every argument to void on its own.
44293
3835c55f
JM
442942012-02-17 Joseph Myers <joseph@codesourcery.com>
44295
44296 [BZ #9902]
44297 * manual/startup.texi (Exit Status): Fix typo.
44298
35c47e37
JM
442992012-02-17 Joseph Myers <joseph@codesourcery.com>
44300
44301 [BZ #10140]
44302 * manual/examples/argp-ex1.c: Include <stdlib.h>.
44303 * manual/examples/argp-ex2.c: Likewise.
44304 * manual/examples/argp-ex3.c: Likewise.
44305
e3b69ca7
RH
443062012-02-16 Richard Henderson <rth@redhat.com>
44307
44308 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44309 * sysdeps/s390/s390-32/initfini.c: Remove.
44310 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44311 * sysdeps/s390/s390-64/initfini.c: Remove.
44312
df83af67
KK
443132012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44314
44315 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44316 compiler output for sysdeps/generic/initfini.c.
44317 * sysdeps/sh/elf/initfini.c: Remove file.
44318
f63f3380
DM
443192012-02-16 David S. Miller <davem@davemloft.net>
44320
fb59b3a4
DM
44321 [BZ #11494]
44322 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44323
f63f3380
DM
44324 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44325 * sysdeps/sparc/crti.S: New file.
44326 * sysdeps/sparc/crtn.S: New file.
44327 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44328 * sysdeps/sparc/sparc64/Makefile: Likewise.
44329
df6a4a4a
MF
443302012-02-15 Mike Frysinger <vapier@gentoo.org>
44331
6dd8f3dc 44332 [BZ #3335]
df6a4a4a
MF
44333 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44334
1cac7236
RM
443352012-02-15 Roland McGrath <roland@hack.frob.com>
44336
d2c736f8
RM
44337 [BZ #4822]
44338 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44339
1cac7236
RM
44340 * mach/devstream.c (cookie_io_functions_t): Macro removed.
44341 (write, read, close): Likewise.
44342 Patch by Aurelien Jarno <aurelien@aurel32.net>.
44343
8e475601
JM
443442012-02-15 Joseph Myers <joseph@codesourcery.com>
44345
44346 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44347 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44348 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44349 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44350 <bits/signalfd.h>.
44351 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44352 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44353 bits/signalfd.h.
44354
ed656b40
MP
443552012-02-14 Marek Polacek <polacek@redhat.com>
44356
44357 * sysdeps/x86_64/crti.S: New file.
44358 * sysdeps/x86_64/crtn.S: New file.
44359 * sysdeps/x86_64/elf/initfini.c: Remove file.
44360
2a979d3a
JM
443612012-02-13 Joseph Myers <joseph@codesourcery.com>
44362
44363 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44364 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44365 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44366 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44367 <bits/inotify.h>.
44368 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44369 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44370 bits/inotify.h.
44371
2a418ac3
JM
443722012-02-13 Joseph Myers <joseph@codesourcery.com>
44373
44374 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44375 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44376 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44377 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44378 <bits/eventfd.h>.
44379 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44380 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44381 bits/eventfd.h.
44382
fb779be7
TS
443832012-02-10 Thomas Schwinge <thomas@codesourcery.com>
44384
e19e83c5
RM
44385 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44386 __feraiseexcept instead of feraiseexcept.
7c35ffed 44387
fb779be7
TS
44388 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44389 nanosleep invocations.
44390 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44391 strings, and add error checking for a nanosleep invocations.
44392
59ba27a6
PE
443932012-02-09 Paul Eggert <eggert@cs.ucla.edu>
44394
44395 Replace FSF snail mail address with URLs, as per GNU coding standards.
44396 Most of the snail mail addresses were wrong anyway, and omitting
44397 them makes the source code easier to maintain. Almost all of the
44398 changes are to license notices and to locale LC_IDENTIFICATION
44399 addresses, except for this one:
44400 * manual/libc.texinfo: In "Published by", give the FSF's URL,
44401 not its snail mail address.
44402
57b957eb
RH
444032012-02-09 Richard Henderson <rth@twiddle.net>
44404
af850b1c
RH
44405 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44406 of kernel-features.h.
44407
57b957eb
RH
44408 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44409
6b73181a
MP
444102012-02-08 Marek Polacek <polacek@redhat.com>
44411
44412 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44413 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44414 * sysdeps/gnu/_G_config.h: Likewise.
44415 * sysdeps/generic/_G_config.h: Likewise.
44416
26ecc33a
AS
444172012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44418
6c6dbc63
AS
44419 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44420 tests.
44421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44422
e216c012
AS
44423 * sysdeps/powerpc/powerpc32/crti.S: New file.
44424 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44425 * sysdeps/powerpc/powerpc64/crti.S: New file.
44426 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44427
26ecc33a
AS
44428 * Makeconfig (have-initfini): Don't set.
44429 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44430 * configure.in (nopic_initfini): Don't substitute.
44431 * config.h.in (HAVE_INITFINI): Don't #undef.
44432 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44433 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44434
3add8e13
JM
444352012-02-08 Joseph Myers <joseph@codesourcery.com>
44436
44437 Support crti.S and crtn.S provided directly by architectures.
44438 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44439 [crti.S in sysdirs] (omit-deps): Likewise.
44440 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44441 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44442 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44443 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44444 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44445 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44446 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44447 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44448 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44449 compiler output for sysdeps/generic/initfini.c.
44450 * sysdeps/i386/elf/Makefile: Remove file.
44451 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44452
a22f12b4
MP
444532012-02-07 Marek Polacek <polacek@redhat.com>
44454
44455 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44456 * sysdeps/gnu/_G_config.h: Likewise.
44457 * sysdeps/mach/hurd/_G_config.h: Likewise.
44458
148cf100
MP
444592012-02-07 Marek Polacek <polacek@redhat.com>
44460
44461 * math/Makefile (tests): Add tst-CMPLX2.
44462 * math/tst-CMPLX2.c: New file.
44463
cfdc0dd7
AS
444642012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44465
84ba42c4
AS
44466 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44467
cfdc0dd7
AS
44468 * math/libm-test.inc (jn_test): Add missing L suffix.
44469
622c86f4
MP
444702012-02-06 Marek Polacek <polacek@redhat.com>
44471
44472 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44473 * sysdeps/i386/fpu/e_powf.S: Likewise.
44474 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44475 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44476 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44477 * sysdeps/i386/fpu/e_pow.S: Likewise.
44478 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44479 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44480 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44481 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44482 * sysdeps/i386/fpu/e_log2.S: Likewise.
44483 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44484 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44485 * sysdeps/i386/fpu/e_powl.S: Likewise.
44486 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44487 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44488 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44489 * sysdeps/i386/fpu/e_logl.S: Likewise.
44490 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44491 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44492 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44493 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44494 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44495 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44496 * sysdeps/i386/fpu/e_log.S: Likewise.
44497 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44498 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44499 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44500 * sysdeps/i386/fpu/e_logf.S: Likewise.
44501 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44502 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44503 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44504 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44505 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44506 * sysdeps/i386/fpu/e_log10.S: Likewise.
44507 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44508 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44509 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44510 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44511 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44512 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44513 * sysdeps/i386/asm-syntax.h: Likewise.
44514 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44515 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44516 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44517 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44518 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44519 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44520 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44521 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44522 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44523 * sysdeps/powerpc/sysdep.h: Likewise.
44524 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44525 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44526
d4a54ac6
JM
445272012-02-06 Joseph Myers <joseph@codesourcery.com>
44528
44529 [BZ #411]
44530 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44531
314054ea
JM
445322012-02-06 Joseph Myers <joseph@codesourcery.com>
44533
44534 * sysdeps/i386/sysdep.h: Include <features.h>.
44535 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44536 version.
44537
d8e0ca50
JM
445382012-02-05 Joseph Myers <joseph@codesourcery.com>
44539
44540 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44541 Define.
44542 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44543 LOAD_PIC_REG_STR.
44544
b1da7dd9
JM
445452012-02-03 Joseph Myers <joseph@codesourcery.com>
44546
44547 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44548 (SETUP_PIC_REG): Use GET_PC_THUNK.
44549 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44550 macro.
44551
9a1d9254
JM
445522012-02-03 Joseph Myers <joseph@codesourcery.com>
44553
44554 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44555 for non-PIC compilation.
44556 (SETUP_PIC_REG): Add .p2align directive.
44557 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44558 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44559 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44560 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44561 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44562 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44563 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44564 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44565 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44566 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44567 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44568 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44569 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44570 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44571 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44572 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44573 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44574 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44575 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44576 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44577 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44578 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44579 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44580 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44581 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44582 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44583 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44584 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44585 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44586 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44587 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44588 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44589 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44590 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44591 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44592 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44593 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44594 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44595 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44596 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44597 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44598
65dc3b75
JM
445992012-02-03 Joseph Myers <joseph@codesourcery.com>
44600
44601 * math/tst-CMPLX.c: Include <stdio.h>.
44602
d55bf177
JM
446032012-01-31 Joseph Myers <joseph@codesourcery.com>
44604
44605 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44606 float.
44607 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44608 * sysdeps/sparc/bits/mathdef.h: Likewise.
44609
69db4f8f
MP
446102012-01-31 Marek Polacek <polacek@redhat.com>
44611
44612 * libio/libio.h: Don't define _PARAMS.
44613 * locale/programs/config.h: Don't define PARAMS.
44614 * stdlib/strtol_l.c: Likewise.
44615 (__strtol_l): Remove PARAMS from the prototype.
44616
41b81892
UD
446172012-01-31 Ulrich Drepper <drepper@gmail.com>
44618
3b49edc0
UD
44619 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
44620 names. Just use the correct names. Remove unnecessary wrapper
44621 functions.
44622 * malloc/arena.c: Likewise.
44623 * malloc/hooks.c: Likewise.
44624
41b81892
UD
44625 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44626 ARENA_TEST says not to. Simplify test for creation of a new arena.
44627 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44628
27a25b6e
UD
446292012-01-30 Ulrich Drepper <drepper@gmail.com>
44630
44631 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44632 into tail calls.
44633 (update_get_addr): New function.
44634 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44635 GET_ADDR_MODULE parameter.
44636
c8a89e7d
JM
446372012-01-30 Joseph Myers <joseph@codesourcery.com>
44638
44639 * crypt/cert.c: Remove __STDC__ conditionals.
44640 * crypt/crypt-entry.c: Likewise.
44641 * crypt/crypt_util.c: Likewise.
44642 * libio/filedoalloc.c: Likewise.
44643 * libio/fileops.c: Likewise.
44644 * libio/genops.c: Likewise.
44645 * libio/iofclose.c: Likewise.
44646 * libio/iofdopen.c: Likewise.
44647 * libio/iofopen.c: Likewise.
44648 * libio/iofopen64.c: Likewise.
44649 * libio/iogetdelim.c: Likewise.
44650 * libio/iopopen.c: Likewise.
44651 * libio/obprintf.c: Likewise.
44652 * libio/oldfileops.c: Likewise.
44653 * libio/oldiofclose.c: Likewise.
44654 * libio/oldiofdopen.c: Likewise.
44655 * libio/oldiofopen.c: Likewise.
44656 * libio/oldiopopen.c: Likewise.
44657 * libio/wfiledoalloc.c: Likewise.
44658 * libio/wgenops.c: Likewise.
44659 * locale/programs/xmalloc.c: Likewise.
44660 * misc/syslog.c: Likewise.
44661 * stdio-common/xbug.c: Likewise.
44662 * string/memchr.c: Likewise.
44663 * string/memcmp.c: Likewise.
44664 * string/memrchr.c: Likewise.
44665 * string/rawmemchr.c: Likewise.
44666 * sysdeps/posix/getcwd.c: Likewise.
44667 * time/strftime_l.c: Likewise.
44668
3b100462
JM
446692012-01-30 Joseph Myers <joseph@codesourcery.com>
44670
44671 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
44672 * config.make.in (config-cflags-sse2avx): Define.
44673 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44674 Fix typo.
44675
607998af
CM
446762012-01-29 Chris Metcalf <cmetcalf@tilera.com>
44677
44678 * scripts/config.guess: Update from upstream config git repository.
44679 * scripts/config.sub: Likewise.
44680
3601428f
CM
446812012-01-28 Chris Metcalf <cmetcalf@tilera.com>
44682
3ac8b282
CM
44683 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44684 (EM_NUM): Update.
44685 (R_TILEPRO_*, R_TILEGX_*): New macros.
44686
e034841e
CM
44687 * scripts/firstversions.awk: Fix bug in version range handling.
44688
540d7568
CM
44689 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44690
3601428f
CM
44691 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44692
463de862
CM
44693 * include/sys/epoll.h: New file.
44694 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44695 libc_hidden_def.
44696
73139a76
UD
446972012-01-28 Ulrich Drepper <drepper@gmail.com>
44698
96bc5b45
UD
44699 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44700 Avoid unnecessary __WORDSIZE == 64 test.
44701 (fmaxf): Use VEX format if possible.
44702 (fmax): Likewise.
44703 (fminf): Likewise.
44704 (fmin): Likewise.
44705
56f6f6a2
UD
44706 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44707 * math/math_private.h: Remove libc_fegetround* and
44708 libc_fesetround*.
44709 * sysdeps/i386/configure.in: Check for -msse2avx.
44710 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44711 also if SSE2AVX is defined.
44712 Remove libc_fegetround* and libc_fesetround*.
44713 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44714 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
44715 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44716 of HAS_YMM_USABLE.
44717 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44718 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44719 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44720 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44721 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44722
73139a76
UD
44723 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44724
d73f93a4
AZ
447252012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44726
44727 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44728 size is not set.
44729 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44730
6ee65ed6
UD
447312012-01-27 Ulrich Drepper <drepper@gmail.com>
44732
44733 [BZ #13618]
44734 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44735 relocation.
44736 * Makeconfig (libm): Define.
44737 * elf/Makefile: Add rules to build and run tst-relsort1.
44738 * elf/tst-relsort1.c: New file.
44739 * elf/tst-relsort1mod1.c: New file.
44740 * elf/tst-relsort1mod2.c: New file.
44741
8db21882
JM
447422012-01-27 Joseph Myers <joseph@codesourcery.com>
44743
44744 * math/s_ldexp.c: Remove __STDC__ conditionals.
44745 * math/s_ldexpf.c: Likewise.
44746 * math/s_ldexpl.c: Likewise.
44747 * math/s_nextafter.c: Likewise.
44748 * math/s_nexttowardf.c: Likewise.
44749 * math/s_significand.c: Likewise.
44750 * math/s_significandf.c: Likewise.
44751 * math/s_significandl.c: Likewise.
44752 * math/w_jnl.c: Likewise.
44753 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44754 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44755 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44756 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44757 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44758 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44759 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44760 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44761 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44762 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44763 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44764 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44765 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44766 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44767 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44768 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44769 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44770 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44771 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44772 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44773 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44774 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44775 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44776 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44777 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44778 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44779 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44780 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44781 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44782 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44783 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44784 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44785 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44786 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44787 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44788 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44789 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44790 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44791 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44792 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44793 * sysdeps/ieee754/k_standard.c: Likewise.
44794 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44795 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44796 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44797 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44798 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44799 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44800 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44801 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44802 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44803 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44804 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44805 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44806 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44807 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44808 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44809 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44810 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44811 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44812 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44813 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44814 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44815 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44816 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44817 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44818 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44819 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44820 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44821 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44822 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44823 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44824 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44825 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44826 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44827 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44828 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44829 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44830 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44831 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44832 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44833 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44834 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44835 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44836 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44837 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44838 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44839 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44840 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44841 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44842 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44843 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44844 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44845 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44846 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44847 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44848 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44849 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44850 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44851 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44852 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44853 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44854 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44855 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44856 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44857 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44858 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44859 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44860 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44861 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44862 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44863 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44864 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44865 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44866 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44867 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44868 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44869 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44870 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44871 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44872 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44873 * sysdeps/ieee754/s_matherr.c: Likewise.
44874 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44875 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44876 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44877 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44878
965a54a4
JM
448792012-01-26 Joseph Myers <joseph@codesourcery.com>
44880
44881 * crypt/md5.h: Remove __STDC__ conditionals.
44882 * libio/libioP.h: Likewise.
44883 * locale/programs/config.h: Likewise.
44884 * sysdeps/generic/sysdep.h: Likewise.
44885 * sysdeps/i386/asm-syntax.h: Likewise.
44886 * sysdeps/s390/asm-syntax.h: Likewise.
44887 * sysdeps/unix/sysdep.h: Likewise.
44888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44890
7071ad79
JM
448912012-01-26 Joseph Myers <joseph@codesourcery.com>
44892
44893 * libio/libio.h: Remove __STDC__ conditionals.
44894 * malloc/obstack.h: Likewise.
44895 * math/complex.h: Likewise.
44896 * math/math.h: Likewise.
44897 * sysdeps/generic/_G_config.h: Likewise.
44898 * sysdeps/gnu/_G_config.h: Likewise.
44899 * sysdeps/mach/hurd/_G_config.h: Likewise.
44900 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44901 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44902 * sysdeps/sparc/bits/mathdef.h: Likewise.
44903
afc5ed09
UD
449042012-01-26 Ulrich Drepper <drepper@gmail.com>
44905
44906 [BZ #13583]
44907 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 44908 Clean up HAS_* macros.
afc5ed09 44909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
44910 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44911 possible.
44912 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44913 HAS_AVX.
44914 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44915 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44916 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44917 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44918 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 44919
bdb6de1d
JM
449202012-01-25 Joseph Myers <joseph@codesourcery.com>
44921
44922 * elf/tst-unique3.cc (gets): Remove declaration.
44923 * elf/tst-unique3lib.cc (gets): Likewise.
44924 * elf/tst-unique3lib2.cc (gets): Likewise.
44925 * elf/tst-unique4.cc (gets): Likewise.
44926
b15549e6
UD
449272012-01-24 Ulrich Drepper <drepper@gmail.com>
44928
44929 * include/stdio.h: Add C++ protection. Add gets declarations and
44930 definitions.
44931 * debug/tst-chk1.c: Don't declare gets here.
44932 * stdio-common/tst-gets.c: Likewise.
44933
a037381f
JM
449342012-01-24 Joseph Myers <joseph@codesourcery.com>
44935
44936 * posix/glob: Remove directory.
44937
f1d4aa75
JM
449382012-01-24 Joseph Myers <joseph@codesourcery.com>
44939
44940 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44941
81c0c964
PT
449422012-01-22 Pino Toscano <toscano.pino@tiscali.it>
44943
44944 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44945 of the non-standard EPFNOSUPPORT.
44946
0ea698ae
ST
449472011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
44948
44949 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
44950 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
44951 ANYWHERE set to 1 only on KERN_NO_SPACE error.
44952
d220b117
UD
449532012-01-21 Ulrich Drepper <drepper@gmail.com>
44954
44955 * wcsmbs/uchar.h: Test __STDC_VERSION__.
44956
3e1aa84e
UD
449572012-01-20 Ulrich Drepper <drepper@gmail.com>
44958
44959 * nscd/aicache.c (addhstaiX): Do not cache negative results of
44960 transient errors.
44961 * nscd/grpcache.c (cache_addgr): Likewise.
44962 * nscd/hstcache.c (cache_addhst): Likewise.
44963 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44964 * nscd/pwdcache.c (cache_addpw): Likewise.
44965 * nscd/servicescache.c (cache_addserv): Likewise.
44966
400aa020
UD
449672012-01-16 Ulrich Drepper <drepper@gmail.com>
44968
d77e7869
UD
44969 * malloc/malloc.c: Various cleanups.
44970 * malloc/hooks.c: Likewise.
44971
400aa020
UD
44972 * stdlib/Makefile (tests): Add bug-fmtmsg1.
44973 * stdlib/bug-fmtmsg1.c: New file.
44974
44975 * stdlib/fmtmsg.c (init): Add missing unlock.
44976 Patch by Peng Haitao <penght@cn.fujitsu.com>.
44977
e0a309cf
MP
449782012-01-12 Marek Polacek <polacek@redhat.com>
44979
44980 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44981 and _GNU_SOURCE.
44982
929d11c7
WS
449832012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44984
44985 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44986 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44987 macro to ensure uniqueness of label name.
44988 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44989 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44990
41d0e869
UD
449912012-01-11 Ulrich Drepper <drepper@gmail.com>
44992
0cc5ed3b
UD
44993 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44994
41d0e869
UD
44995 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44996 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44997 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44998 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44999
a47a831a
UD
450002012-01-10 Ulrich Drepper <drepper@gmail.com>
45001
daa891c0
UD
45002 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
45003
45004 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
45005 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45006 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45007
e58ef0f2
UD
45008 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
45009
a47a831a 45010 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
45011 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45012 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 45013 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
45014
45015 * math/bits/math-finite.h: Add ldexp support.
45016
a0bfc9c7
MP
450172012-01-10 Marek Polacek <polacek@redhat.com>
45018
45019 * locale/programs/localedef.h (show_archive_content): Add noreturn
45020 attribute.
45021
d6e97a1d
UD
450222012-01-09 Ulrich Drepper <drepper@gmail.com>
45023
45024 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
45025
d5835c26
UD
450262012-01-08 Ulrich Drepper <drepper@gmail.com>
45027
e5f484c6
UD
45028 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
45029
d5835c26
UD
45030 * io/Makefile (headers): Add bits/poll2.h.
45031
d1f741e9
WS
450322011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
45033
45034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
45035 typo #include statement.
45036
ec09c1c4
UD
450372012-01-08 Ulrich Drepper <drepper@gmail.com>
45038
45039 * include/sys/cdefs.h: Define __attribute_alloc_size.
45040 * catgets/gencat.c: Add alloc_size attribute and apply consistently
45041 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
45042 * elf/pldd.c: Likewise.
45043 * iconv/iconv_charmap.c: Likewise.
45044 * iconv/iconvconfig.c: Likewise.
45045 * iconv/strtab.c: Likewise.
45046 * locale/programs/locale.c: Likewise.
45047 * locale/programs/localedef.h: Likewise.
45048 * locale/programs/simple-hash.c: Likewise.
45049 * nscd/nscd.h: Likewise.
45050 * nss/makedb.c: Likewise.
45051 * sysdeps/generic/ldconfig.h: Likewise.
45052 * locale/programs/localedef.c: Remove xmalloc prototype.
45053 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
45054
20b38e03
PP
450552012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45056
45057 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
45058 appropriate.
45059
a0da5fe1
UD
450602012-01-08 Ulrich Drepper <drepper@gmail.com>
45061
1d5a644a 45062 * math/Makefile (tests): Add tst-CMPLX.
669704fd 45063 * math/tst-CMPLX.c: New file.
1d5a644a 45064
8784a6db
UD
45065 * math/complex.h (CMPLXL): Fix typo.
45066
d9a216c0
UD
45067 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
45068 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
45069 GLIBC_2.16.
45070 * debug/tst-chk1.c: Add poll and ppoll tests.
45071 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
45072 * include/sys/poll.h: Add hidden proto for ppoll.
45073 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
45074 * sysdeps/mach/hurd/ppoll.c: Likewise.
45075 * io/ppoll.c: Likewise.
45076 * debug/poll_chk.c: New file.
45077 * debug/ppoll_chk.c: New file.
45078 * include/bits/poll2.h: New file.
45079 * io/bits/poll2.h: New file.
45080
ac097f5c
UD
45081 [BZ #1350]
45082 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
45083
2119dcfa
UD
45084 * configure.in: static is always set to yes. Remove.
45085 * config.make.in: Don't set build-static.
45086 * Makeconfig: Remove use of build-static.
45087 * dlfcn/Makefile: Likewise.
45088 * elf/Makefile: Likewise.
45089 * math/Makefile: Likewise.
45090 * misc/Makefile: Likewise.
45091 * nptl/Makefile: Likewise.
45092 * sysdeps/mach/hurd/Makefile: Likewise.
45093
121766a9
UD
45094 * configure.in: PWD_P is not used anymore.
45095 * config.make.in: Remove PWD_P entry.
45096
51a1d39c 45097 * configure.in: Remove last remnants of RANLIB.
8720d066 45098 No need to check for signed size_t anymore.
215f4bdc
UD
45099 Don't set libc_commonpagesize and libc_relro_required here for Alpha
45100 and IA-64.
3857022a 45101 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
45102 * aclocal.m4: Likewise.
45103
d3ed7225
UD
45104 * wcsmbs/mbrtoc16.c: Implement using towc function.
45105 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45106 * wcsmbs/wcsmbsload.c: Likewise.
45107 * iconv/gconv_simple.c: Likewise.
45108 * iconv/gconv_int.h: Likewise.
45109 * iconv/gconv_builtin.h: Likewise.
45110 * iconv/iconv_prog.c: Remove CHAR16 handling.
45111
45112 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45113
45114 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45115
a0da5fe1
UD
45116 * configure.in: Remove --with-elf and --enable-bounded options.
45117 Dont set base_machine for ia64. More non-ELF conditions removed.
45118 Remove testing and setting of leading underscore information.
45119 * config.make.in (build-bounded): Set to no.
45120 * config.h.in: Remove NO_UNDERSCORES entry.
45121 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
45122 them.
45123 * csu/start.c: Remove !NO_UNDERSCORE code.
45124 * locale/localeinfo.h: Likewise.
45125 * sysdeps/generic/machine-gmon.h: Likewise.
45126 * sysdeps/generic/sysdep.h: Likewise.
45127 * sysdeps/i386/sysdep.h: Likewise.
45128 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45129 * sysdeps/mach/sysdep.h: Likewise.
45130 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45131 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45132 * sysdeps/sh/sysdep.h: Likewise.
45133 * sysdeps/sparc/sparc32/alloca.S: Likewise.
45134 * sysdeps/unix/i386/sysdep.S: Likewise.
45135 * sysdeps/unix/sparc/start.c: Likewise.
45136 * sysdeps/unix/sparc/sysdep.S: Likewise.
45137 * sysdeps/unix/sparc/sysdep.h: Likewise.
45138 * sysdeps/unix/start.c: Likewise.
45139 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45140 * sysdeps/x86_64/sysdep.h: Likewise.
45141
df78418a
UD
451422012-01-07 Ulrich Drepper <drepper@gmail.com>
45143
a784e502
UD
45144 [BZ #13553]
45145 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45146 for non-gcc.
45147 * argp/argp-fmtstream.h: Use const instead __const.
45148 * argp/argp.h: Likewise.
45149 * assert/assert.h: Likewise.
45150 * bits/fenv.h: Likewise.
45151 * bits/sched.h: Likewise.
45152 * bits/sigset.h: Likewise.
45153 * bits/sigthread.h: Likewise.
45154 * catgets/nl_types.h: Likewise.
45155 * conform/data/pthread.h-data: Likewise.
45156 * crypt/crypt-private.h: Likewise.
45157 * crypt/crypt.h: Likewise.
45158 * crypt/crypt_util.c: Likewise.
45159 * ctype/ctype.h: Likewise.
45160 * debug/execinfo.h: Likewise.
45161 * debug/mbsnrtowcs_chk.c: Likewise.
45162 * debug/mbsrtowcs_chk.c: Likewise.
45163 * debug/wcsnrtombs_chk.c: Likewise.
45164 * debug/wcsrtombs_chk.c: Likewise.
45165 * debug/wcstombs_chk.c: Likewise.
45166 * dirent/dirent.h: Likewise.
45167 * dlfcn/dlfcn.h: Likewise.
45168 * elf/neededtest4.c: Likewise.
45169 * grp/grp.h: Likewise.
45170 * gshadow/gshadow.h: Likewise.
45171 * iconv/gconv.h: Likewise.
45172 * iconv/gconv_int.h: Likewise.
45173 * iconv/gconv_simple.c: Likewise.
45174 * iconv/iconv.h: Likewise.
45175 * iconv/loop.c: Likewise.
45176 * iconv/skeleton.c: Likewise.
45177 * include/aio.h: Likewise.
45178 * include/aliases.h: Likewise.
45179 * include/argz.h: Likewise.
45180 * include/arpa/inet.h: Likewise.
45181 * include/assert.h: Likewise.
45182 * include/dirent.h: Likewise.
45183 * include/dlfcn.h: Likewise.
45184 * include/execinfo.h: Likewise.
45185 * include/fcntl.h: Likewise.
45186 * include/fenv.h: Likewise.
45187 * include/glob.h: Likewise.
45188 * include/grp.h: Likewise.
45189 * include/libintl.h: Likewise.
45190 * include/mntent.h: Likewise.
45191 * include/netdb.h: Likewise.
45192 * include/pwd.h: Likewise.
45193 * include/rpc/netdb.h: Likewise.
45194 * include/sched.h: Likewise.
45195 * include/search.h: Likewise.
45196 * include/shadow.h: Likewise.
45197 * include/signal.h: Likewise.
45198 * include/stdio.h: Likewise.
45199 * include/stdlib.h: Likewise.
45200 * include/string.h: Likewise.
45201 * include/sys/socket.h: Likewise.
45202 * include/sys/stat.h: Likewise.
45203 * include/sys/statfs.h: Likewise.
45204 * include/sys/statvfs.h: Likewise.
45205 * include/sys/syslog.h: Likewise.
45206 * include/sys/time.h: Likewise.
45207 * include/sys/uio.h: Likewise.
45208 * include/time.h: Likewise.
45209 * include/unistd.h: Likewise.
45210 * include/utmp.h: Likewise.
45211 * include/wchar.h: Likewise.
45212 * include/wctype.h: Likewise.
45213 * inet/aliases.h: Likewise.
45214 * inet/arpa/inet.h: Likewise.
45215 * inet/netinet/ether.h: Likewise.
45216 * inet/netinet/in.h: Likewise.
45217 * intl/libintl.h: Likewise.
45218 * io/bits/fcntl2.h: Likewise.
45219 * io/fcntl.h: Likewise.
45220 * io/ftw.h: Likewise.
45221 * io/sys/poll.h: Likewise.
45222 * io/sys/stat.h: Likewise.
45223 * io/sys/statfs.h: Likewise.
45224 * io/sys/statvfs.h: Likewise.
45225 * io/utime.h: Likewise.
45226 * libio/bits/stdio.h: Likewise.
45227 * libio/bits/stdio2.h: Likewise.
45228 * libio/libio.h: Likewise.
45229 * libio/libioP.h: Likewise.
45230 * libio/stdio.h: Likewise.
45231 * locale/lc-ctype.c: Likewise.
45232 * locale/locale.h: Likewise.
45233 * login/utmp.h: Likewise.
45234 * malloc/arena.c: Likewise.
45235 * malloc/malloc.c: Likewise.
45236 * malloc/malloc.h: Likewise.
45237 * malloc/mcheck.c: Likewise.
45238 * malloc/mtrace.c: Likewise.
45239 * math/bits/mathcalls.h: Likewise.
45240 * math/fenv.h: Likewise.
45241 * math/math_private.h: Likewise.
45242 * misc/bits/error.h: Likewise.
45243 * misc/bits/syslog.h: Likewise.
45244 * misc/err.h: Likewise.
45245 * misc/error.h: Likewise.
45246 * misc/fstab.h: Likewise.
45247 * misc/mntent.h: Likewise.
45248 * misc/regexp.h: Likewise.
45249 * misc/search.h: Likewise.
45250 * misc/sgtty.h: Likewise.
45251 * misc/sys/mman.h: Likewise.
45252 * misc/sys/syslog.h: Likewise.
45253 * misc/sys/uio.h: Likewise.
45254 * misc/sys/xattr.h: Likewise.
45255 * misc/ttyent.h: Likewise.
45256 * nis/rpcsvc/ypclnt.h: Likewise.
45257 * nss/nss.h: Likewise.
45258 * posix/bits/unistd.h: Likewise.
45259 * posix/fnmatch.h: Likewise.
45260 * posix/glob.h: Likewise.
45261 * posix/sched.h: Likewise.
45262 * posix/spawn.h: Likewise.
45263 * posix/sys/wait.h: Likewise.
45264 * posix/unistd.h: Likewise.
45265 * posix/wordexp.h: Likewise.
45266 * pwd/pwd.h: Likewise.
45267 * resolv/netdb.h: Likewise.
45268 * resource/sys/resource.h: Likewise.
45269 * rt/aio.h: Likewise.
45270 * rt/bits/mqueue2.h: Likewise.
45271 * rt/mqueue.h: Likewise.
45272 * shadow/shadow.h: Likewise.
45273 * signal/signal.h: Likewise.
45274 * socket/send.c: Likewise.
45275 * socket/sendto.c: Likewise.
45276 * socket/sys/socket.h: Likewise.
45277 * stdio-common/printf.h: Likewise.
45278 * stdlib/bits/stdlib.h: Likewise.
45279 * stdlib/fmtmsg.h: Likewise.
45280 * stdlib/monetary.h: Likewise.
45281 * stdlib/stdlib.h: Likewise.
45282 * stdlib/ucontext.h: Likewise.
45283 * streams/stropts.h: Likewise.
45284 * string/argz.h: Likewise.
45285 * string/bits/string2.h: Likewise.
45286 * string/string.h: Likewise.
45287 * string/strings.h: Likewise.
45288 * sunrpc/rpc/auth.h: Likewise.
45289 * sunrpc/rpc/auth_des.h: Likewise.
45290 * sunrpc/rpc/clnt.h: Likewise.
45291 * sunrpc/rpc/netdb.h: Likewise.
45292 * sunrpc/rpc/pmap_clnt.h: Likewise.
45293 * sunrpc/rpc/xdr.h: Likewise.
45294 * sysdeps/generic/inttypes.h: Likewise.
45295 * sysdeps/generic/net/if.h: Likewise.
45296 * sysdeps/generic/sys/swap.h: Likewise.
45297 * sysdeps/gnu/net/if.h: Likewise.
45298 * sysdeps/gnu/utmpx.h: Likewise.
45299 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45300 * sysdeps/i386/i486/bits/string.h: Likewise.
45301 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45302 * sysdeps/s390/bits/string.h: Likewise.
45303 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45304 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45305 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45306 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45307 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45308 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45309 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45310 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45311 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45312 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45313 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45314 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45315 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45316 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45317 * sysdeps/unix/sysv/linux/readv.c: Likewise.
45318 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45319 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45320 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45321 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45322 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45323 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45324 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45325 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45326 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45327 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45328 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45329 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45330 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45331 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45332 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45333 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45334 * sysvipc/sys/ipc.h: Likewise.
45335 * sysvipc/sys/msg.h: Likewise.
45336 * sysvipc/sys/sem.h: Likewise.
45337 * sysvipc/sys/shm.h: Likewise.
45338 * termios/termios.h: Likewise.
45339 * time/sys/time.h: Likewise.
45340 * time/time.h: Likewise.
45341 * wcsmbs/bits/wchar2.h: Likewise.
45342 * wcsmbs/uchar.h: Likewise.
45343 * wcsmbs/wchar.h: Likewise.
45344 * wctype/wctype.h: Likewise.
45345
0269750c
UD
45346 [BZ #13551]
45347 * Makeconfig: Remove all but ELF support including AIX support.
45348 * Makerules: Likewise.
45349 * config.h.in: Likewise.
45350 * config.make.in: Likewise.
45351 * configure: Likewise.
45352 * configure.in: Likewise.
45353 * csu/Makefile: Likewise.
45354 * csu/version.c: Likewise.
45355 * debug/Makefile: Likewise.
45356 * dlfcn/Makefile: Likewise.
45357 * elf/Makefile: Likewise.
45358 * extra-lib.mk: Likewise.
45359 * iconv/Makefile: Likewise.
45360 * include/libc-symbols.h: Likewise.
45361 * include/shlib-compat.h: Likewise.
45362 * resolv/Makefile: Likewise.
45363 * resolv/res_libc.c: Likewise.
45364 * rt/Makefile: Likewise.
45365 * sysdeps/i386/asm-syntax.h: Likewise.
45366 * sysdeps/i386/sysdep.h: Likewise.
45367 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45368 * sysdeps/mach/sysdep.h: Likewise.
45369 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45370 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45371 * sysdeps/s390/asm-syntax.h: Likewise.
45372 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45373 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45374 * sysdeps/sh/sysdep.h: Likewise.
45375 * sysdeps/unix/sparc/sysdep.h: Likewise.
45376 * sysdeps/wordsize-32/divdi3.c: Likewise.
45377 * sysdeps/x86_64/sysdep.h: Likewise.
45378
00bbd29b
UD
45379 * argp/Versions: Remove _argp_unlock_xxx.
45380
45381 [BZ #13559]
45382 * abilist/ld.abilist: Update. Adjust for removal of tls option.
45383 * abilist/libBrokenLocale.abilist: Likewise.
45384 * abilist/libanl.abilist: Likewise.
45385 * abilist/libc.abilist: Likewise.
45386 * abilist/libcrypt.abilist: Likewise.
45387 * abilist/libdl.abilist: Likewise.
45388 * abilist/libm.abilist: Likewise.
45389 * abilist/libnsl.abilist: Likewise.
45390 * abilist/libpthread.abilist: Likewise.
45391 * abilist/libresolv.abilist: Likewise.
45392 * abilist/librt.abilist: Likewise.
45393 * abilist/libthread_db.abilist: Likewise.
45394 * abilist/libutil.abilist: Likewise.
45395 * abilist/libnss_db.abilist: New file.
45396
45397 * scripts/abilist.awk: Add support for indirect functions.
45398
a2693a0e
UD
45399 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45400
3f05895f
UD
45401 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45402
ecb6fb48
UD
45403 * shlib-versions: Remove entries for ports architectures.
45404
664f8cb9
UD
45405 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
45406 files in ports.
45407 * elf/stackguard-macros.h: Remove support for IA-64.
45408 * elf/tst-auditmod1.c: Likewise.
45409 * sysdeps/generic/ldsodefs.h: Likewise.
45410
7ae81d88
UD
45411 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45412 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45413 configure files.
45414
bdeba135
UD
45415 [BZ #13552]
45416 * configure.in: Remove --enable-omitfp support.
45417 * FAQ.in: Adjust.
45418 * config.make.in: Likewise.
45419 * Makeconfig: Likewise.
45420 * manual/install.texi: Likewise.
45421
d75a0a62
UD
45422 In case anyone cares, the IA-64 architecture could move to ports.
45423 * sysdeps/ia64/*: Removed.
45424 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 45425 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 45426
dcc9756b
UD
45427 [BZ #13555]
45428 * configure.in: Remove entries for unsupported architectures.
45429
d3761ebc 45430 [BZ #13533]
9954432e
UD
45431 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45432 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45433 routines.
45434 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45435 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45436 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45437 fall back to using wcrtomb.
45438 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45439 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45440 renaming.
45441 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45442 * wcsmbs/tst-c16c32-1.c: New file.
45443
45444 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45445 local variable.
45446
c3a87236
UD
45447 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45448
28926a1b
UD
45449 * elf/tst-unique3.cc: Add explicit declaration of gets.
45450 * elf/tst-unique3lib.cc: Likewise.
45451 * elf/tst-unique3lib2.cc: Likewise.
45452 * elf/tst-unique4.cc: Likewise.
45453
df78418a
UD
45454 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45455
8ecd6b2a
JM
454562012-01-06 Joseph Myers <joseph@codesourcery.com>
45457
45458 [BZ #13566]
45459 * assert/assert.h (static_assert): Don't define for C++.
45460 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45461 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45462
9f115170
UD
454632012-01-03 Ulrich Drepper <drepper@gmail.com>
45464
5e0d0300
UD
45465 * iconv/loop.c (single loop): Fix assertion in storing of
45466 remaining bytes.
45467
9f115170
UD
45468 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45469
81fb02b0
UD
454702012-01-01 Ulrich Drepper <drepper@gmail.com>
45471
45472 * posix/getconf.c: Update copyright year.
45473 * nss/getent.c: Likewise.
a316c1f6 45474 * nss/makedb.c: Likewise.
81fb02b0
UD
45475 * iconv/iconvconfig.c: Likewise.
45476 * iconv/iconv_prog.c: Likewise.
45477 * elf/ldconfig.c: Likewise.
a316c1f6
UD
45478 * elf/pldd.c: Likewise.
45479 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
45480 * catgets/gencat.c: Likewise.
45481 * csu/version.c: Likewise.
45482 * elf/ldd.bash.in: Likewise.
45483 * elf/sprof.c (print_version): Likewise.
45484 * locale/programs/locale.c: Likewise.
45485 * locale/programs/localedef.c: Likewise.
a316c1f6 45486 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
45487 * nscd/nscd.c (print_version): Likewise.
45488 * debug/xtrace.sh: Likewise.
45489 * malloc/memusage.sh: Likewise.
45490 * malloc/mtrace.pl: Likewise.
45491 * debug/catchsegv.sh: Likewise.
45492
2ba92745
JJ
454932011-12-30 Jakub Jelinek <jakub@redhat.com>
45494
45495 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45496 pure attribute.
45497
dadebdae
UD
454982011-12-24 Ulrich Drepper <drepper@gmail.com>
45499
d3761ebc 45500 [BZ #13533]
db6af3eb
UD
45501 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45502 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45503 transformations.
45504 * iconv/gconv_int.h: Likewise.
45505 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45506 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45507 from libc for GLIBC_2.16.
45508 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45509 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45510 * wcsmbs/uchar.h: Really define mbstate_t.
45511 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45512 * wcsmbs/c16rtomb.c: New file.
45513 * wcsmbs/mbrtoc16.c: New file.
45514 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45515 for C/POSIX locale.
45516 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45517 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45518
dadebdae
UD
45519 * wcsmbs/wchar.h: Add missing __restrict.
45520
67371b56
UD
455212011-12-23 Ulrich Drepper <drepper@gmail.com>
45522
74033a25
UD
45523 [BZ #13532]
45524 * time/Makefile (routines): Add timespec_get.
45525 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45526 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45527 timespec for ISO C11.
45528 * time/timespec_get.c: New file.
45529 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45530 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45531
380d7e87
UD
45532 [BZ #13531]
45533 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45534 * stdlib/stdlib.h: Declare aligned_alloc.
45535 * Versions.def: Add GLIBC_2.16 for libc.
45536 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45537
4e9e7a35
UD
45538 [BZ 13527]
45539 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45540 ISO C11.
45541
380d7e87 45542 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
45543 code.
45544
03a71829
UD
45545 [BZ #13528]
45546 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45547
839e283e
UD
45548 [BZ #13529]
45549 * assert/assert.h (static_assert): Define.
45550
ce5294e2 45551 * version.h: Update for 2.16 development version.
90fa7312 45552
8d44e150 45553 [BZ #13526]
d7809905
UD
45554 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45555 _ISOC11_SOURCE.
45556
c0da14cd
UD
45557 * version.h (RELEASE): Bump for 2.15 release.
45558 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45559
530a3249
MP
45560 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45561 Patch by Marek Polacek <mpolacek@redhat.com>.
45562
67371b56
UD
45563 * bits/byteswap.h: Protect long long constants with __extension__.
45564 * sysdeps/i386/bits/byteswap.h: Likewise.
45565 * sysdeps/ia64/bits/byteswap.h: Likewise.
45566 * sysdeps/s390/bits/byteswap.h: Likewise.
45567 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45568
15db4de1
LD
455692011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45570
45571 [BZ #13540]
bbe315ea
LD
45572 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45573 destination buffer.
15db4de1
LD
45574 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45575
2b2596b1
MP
455762011-12-23 Marek Polacek <polacek@redhat.com>
45577
45578 * elf/dl-addr.c (determine_info): Add inline keyword.
45579 * elf/tst-auditmod4b.c (check_avx): Likewise.
45580 * elf/tst-auditmod6b.c (check_avx): Likewise.
45581 * elf/tst-auditmod6c.c (check_avx): Likewise.
45582 * elf/tst-auditmod7b.c (check_avx): Likewise.
45583
70c6c246
UD
455842011-12-23 Ulrich Drepper <drepper@gmail.com>
45585
45586 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45587 !__SSE_MATH__.
45588
c044cf14
LD
455892011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45590
15db4de1 45591 [BZ #13540]
c044cf14
LD
45592 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45593 processing for last bytes.
45594
6b13d9d9
BH
455952011-08-06 Bruno Haible <bruno@clisp.org>
45596
d455f537
BH
45597 [BZ #13061]
45598 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45599 U+0385, not to U+1FEE.
45600
6b13d9d9
BH
45601 [BZ #13062]
45602 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45603 entry for U+00A5 U+0301.
45604
db910efd
UD
456052011-12-22 Ulrich Drepper <drepper@gmail.com>
45606
27deeafc
UD
45607 [BZ #13166]
45608 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45609 buffer for the output is too small.
45610
aed9d171
UD
45611 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45612 optimization.
45613
db910efd
UD
45614 [BZ #13185]
45615 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45616 SSE flags if possible.
45617
2bd779ae
LD
456182011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45619
e7f9dac3 45620 [BZ #13540]
2bd779ae
LD
45621 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45622 processing for last bytes.
45623
154bfc16
JM
456242011-12-22 Joseph Myers <joseph@codesourcery.com>
45625
45626 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45627 (syscall-list-default-options, syscall-list-default-condition)
45628 (syscall-list-includes): Define.
45629 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45630 list of ABIs and options and #if conditions for each ABI. Do not
45631 handle common syscalls between ABIs specially.
45632 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45633 Remove.
45634 (syscall-list-variants, syscall-list-32bit-options)
45635 (syscall-list-32bit-condition, syscall-list-64bit-options)
45636 (syscall-list-64bit-condition): Define.
45637 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45638 (syscall-list-variants, syscall-list-32bit-options)
45639 (syscall-list-32bit-condition, syscall-list-64bit-options)
45640 (syscall-list-64bit-condition): Define.
45641 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45642 Remove.
45643 (syscall-list-variants, syscall-list-32bit-options)
45644 (syscall-list-32bit-condition, syscall-list-64bit-options)
45645 (syscall-list-64bit-condition): Define.
45646 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45647 Remove.
45648 (syscall-list-variants, syscall-list-32bit-options)
45649 (syscall-list-32bit-condition, syscall-list-64bit-options)
45650 (syscall-list-64bit-condition): Define.
45651
21eaf3a5
UD
456522011-12-22 Ulrich Drepper <drepper@gmail.com>
45653
16c6f992
UD
45654 * locale/iso-639.def: Add brx entry.
45655
41043168
UD
45656 [BZ #13328]
45657 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45658 Proposed by Mariusz_Cukr <marcukr@op.pl>.
45659
21eaf3a5
UD
45660 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45661 __feraiseexcept_renamed.
45662
e3a851a2
UD
456632011-12-21 Ulrich Drepper <drepper@gmail.com>
45664
4920765e
UD
45665 [BZ #13538]
45666 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45667 EPOLLET with unsigned values.
45668 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45669 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45670
e3a851a2
UD
45671 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45672 to large cancellation.
45673 * math/s_cacoshf.c: Likewise.
45674 * math/s_cacoshl.c: Likewise.
45675
b27e24b8
RK
456762011-11-18 Richard B. Kreckel <kreckel@ginac.de>
45677
45678 [BZ #13305]
aebefeee 45679 [BZ #12786]
b27e24b8
RK
45680 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45681 * math/s_cacoshf.c: Likewise.
45682 * math/s_cacoshl.c: Likewise.
45683
ee190f67
UD
456842011-12-21 Ulrich Drepper <drepper@gmail.com>
45685
45686 [BZ #13439]
45687 * iconv/gconv.h: Define __GCONV_SWAP.
45688 * iconvdata/unicode.c: The swap bit must be stored in __flags.
45689 * iconvdata/utf-16.c: Likewise.
45690 * iconvdata/utf-32.c: Likewise.
45691
707f25df
AS
456922011-12-21 Andreas Schwab <schwab@linux-m68k.org>
45693
45694 [BZ #13524]
45695 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45696 numerator after shifting it by one limb.
45697
d2daaa1e
RÁE
456982011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
45699
45700 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45701 under [__USE_EXTERN_INLINES].
45702
a4647e72
UD
457032011-12-17 Ulrich Drepper <drepper@gmail.com>
45704
45705 [BZ #13446]
45706 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45707
f0b264f1
AZ
457082011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45709
45710 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45711 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45712 optimized code.
45713 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45714 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45715 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45716 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45717 for strncasecmp/strncasecmp_l compilation.
45718 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45719 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45720
8ef4f244
MP
457212011-12-08 Marek Polacek <mpolacek@redhat.com>
45722
45723 [BZ #13484]
45724 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45725 of __asm__.
45726
97ac2654
UD
457272011-12-17 Ulrich Drepper <drepper@gmail.com>
45728
45729 [BZ #13506]
45730 * time/tzfile.c (__tzfile_read): Check values from file header.
45731
91d2a845
WS
457322011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
45733
45734 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45735 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45736 * powerpc/powerpc32/dl-start.S: Likewise.
45737 * powerpc/powerpc32/elf/start.S: Likewise.
45738 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45739 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45740 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45741 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45742 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45743 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45744 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45745 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45746 * powerpc/powerpc32/fpu/s_round.S: Likewise.
45747 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45748 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45749 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45750 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45751 * powerpc/powerpc32/memset.S: Likewise.
45752 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45753 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45754 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45755 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45756 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45757 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45758 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45759 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45760 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45761 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45762 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45763 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45764 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45765
a1267ba1
AZ
457662011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45767
45768 * math/libm-test.inc: Added more nearbyint tests.
45769 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45770 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45771 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45772 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45773
ad8ac1bd
RL
457742011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
45775
45776 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45777 FD_CLOEXEC.
45778
1d3e4b61
UD
457792011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45780
45781 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45782 Add wcscpy-ssse3 wcscpy-c.
45783 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45784 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45785 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45786 * sysdeps/x86_64/wcschr.S: New file.
45787 * sysdeps/x86_64/wcsrchr.S: New file.
45788 * string/test-strcmp.c: Remove checking of wcscmp function for
45789 wrong alignments.
45790 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45791 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45792 wcsrchr-sse2 wcsrchr-c.
45793 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45794 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45795 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45796 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45797 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45798 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45799 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45800 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45801 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45802 * wcsmbc/wcschr.c (WCSCHR): New macro.
45803
5b330a2d
UD
458042011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45805
45806 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45807 * wcsmbs/test-wcsrchr.c: New file.
45808 * string/test-strrchr.c: Add wcsrchr support.
45809 (WIDE): New macro.
45810 * wcsmbs/test-wcscpy.c: New file.
45811 * string/test-strcpy.c: Add wcscpy support.
45812 (WIDE): New macro.
26428b7c 45813
f039c043
UD
458142011-12-10 Ulrich Drepper <drepper@gmail.com>
45815
45816 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45817 the inner loop.
45818
850fb039
AS
458192011-12-06 Andreas Schwab <schwab@linux-m68k.org>
45820
45821 [BZ #13472]
45822 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45823
4efbd5cb
UD
458242011-12-04 Ulrich Drepper <drepper@gmail.com>
45825
52ff5dd0 45826 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 45827 Minor optimizations.
52ff5dd0 45828
4efbd5cb
UD
45829 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45830 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45831 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45832
8a426e12
UD
458332011-12-03 Ulrich Drepper <drepper@gmail.com>
45834
aff2453d
UD
45835 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45836 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45837 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45838 for gcc to avoid warnings.
45839 * inet/Makefile (tests): Add tst-checks.
45840 * inet/tst-checks.c: New file.
45841
45842 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45843 warning.
45844
45845 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45846 __wmemcmp_sse2.
45847
45848 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45849 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45850
8a426e12
UD
45851 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45852
9bea3473
UD
458532011-12-02 Ulrich Drepper <drepper@gmail.com>
45854
3a965496
UD
45855 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45856 problem.
45857
9bea3473
UD
45858 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45859
f101631b
UD
458602011-11-29 Joseph Myers <joseph@codesourcery.com>
45861
45862 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45863 conditional on GCC version.
45864 (__arch_compare_and_exchange_val_8_acq)
45865 (__arch_compare_and_exchange_val_16_acq)
45866 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45867 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45868 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45869
a98275aa
UD
458702011-12-02 Joseph Myers <joseph@codesourcery.com>
45871
45872 * sysdeps/sh/backtrace.c: New file.
45873
d4cc29a2
AS
458742011-12-02 Andreas Schwab <schwab@redhat.com>
45875
45876 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
45877 parenthesis.
45878
6257af2d
AS
458792011-12-01 Andreas Schwab <schwab@redhat.com>
45880
45881 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45882 falling back to utime.
45883
b5f44c1a
AS
458842011-11-30 Andreas Schwab <schwab@redhat.com>
45885
45886 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45887 expectations for float.
45888
f3a6cc0a
AS
458892011-11-29 Andreas Schwab <schwab@redhat.com>
45890
45891 * locale/weight.h (findidx): Add parameter len.
45892 * locale/weightwc.h (findidx): Likewise.
45893 * posix/fnmatch_loop.c (FCT): Adjust caller.
45894 * posix/regcomp.c (build_equiv_class): Likewise.
45895 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45896 * posix/regexec.c (check_node_accept_bytes): Likewise.
45897 * string/strcoll_l.c (STRCOLL): Likewise.
45898 * string/strxfrm_l.c (STRXFRM): Likewise.
45899
9d65ea3a
UD
459002011-11-17 Ulrich Drepper <drepper@gmail.com>
45901
45902 * Makefile.in: Remove CVSOPT handling.
45903 * configure.in: Remove use of AC_REVISION.
45904 * iconvdata/Makefile (distribute): No need to filter out CVS.
45905 * scripts/list-sources.sh: Remove CVS, subversion and monotone
45906 handling.
45907
5583a086
AS
459082011-11-16 Andreas Schwab <schwab@redhat.com>
45909
45910 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45911 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45912 [USE_AS_STRNCASECMP_L]: Likewise.
45913 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45914 NO_TLS_DIRECT_SEG_REFS.
45915 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45916 Fix argument offsets for non-PIC.
45917 [USE_AS_STRNCASECMP_L]: Likewise.
45918 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45919 NO_TLS_DIRECT_SEG_REFS.
45920
d62a8200
UD
459212011-11-15 Ulrich Drepper <drepper@gmail.com>
45922
9d65ea3a 45923 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
45924 O_CLOEXEC.
45925 * locale/loadlocale.c (_nl_load_locale): Likewise.
45926
09f93bd3
AS
459272011-11-15 Andreas Schwab <schwab@redhat.com>
45928
446514f9
AS
45929 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45930 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45931 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45932 (SYSCALL_GETTIME): Set errno on error.
45933
09f93bd3
AS
45934 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45935 count references to noai6ai_cached.
45936
312be3f9
UD
459372011-11-15 Ulrich Drepper <drepper@gmail.com>
45938
45939 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45940
45941 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45942 FD_CLOEXEC for /proc/self/maps.
45943
45944 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45945 FD_CLOEXEC for /proc/meminfo.
45946
45947 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
45948 gai.conf.
45949
45950 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
45951 FD_CLOEXEC for given file.
45952
45953 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
45954
45955 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
45956 FD_CLOEXEC for /etc/hosts.
45957 (_gethtent): Likewise.
45958
45959 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
45960
45961 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
45962 cancellation and set FD_CLOEXEC for /etc/netgroup.
45963
45964 * nss/nss_files/files-key.c (search): Don't allow cancellation when
45965 reading /etc/publickey.
45966
45967 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45968 allow cancellation when reading /etc/group.
45969
45970 * nss/nss_files/files-alias.c (internal_setent): Don't allow
45971 cancellation.
45972 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
45973
45974 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45975 when using data file.
45976
45977 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45978
45979 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45980 (write_nis_obj): Use "c" and "e" in fopen.
45981
45982 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45983
45984 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45985
45986 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45987
45988 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45989
45990 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45991 locale.alias.
45992
45993 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45994
45995 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45996
45997 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45998
45999 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
46000 file parsing and set FD_CLOEXEC.
46001
82af0fa8
UD
460022011-11-14 Ulrich Drepper <drepper@gmail.com>
46003
46004 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
46005
a5fb313c
AS
460062011-11-14 Andreas Schwab <schwab@redhat.com>
46007
46008 * malloc/arena.c (arena_get2): Don't call reused_arena when
46009 _int_new_arena failed.
46010
6abf3465
UD
460112011-11-14 Ulrich Drepper <drepper@gmail.com>
46012
46013 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
46014 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
46015 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
46016 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46017 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46018 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
46019 to compile strcasecmp and strncasecmp.
46020 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
46021 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
46022
46023 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
46024
76e3966e
UD
460252011-11-13 Ulrich Drepper <drepper@gmail.com>
46026
46027 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
46028 locale-defines.sym to gen-as-const-headers.
46029 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
46030 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
46031 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
46032 to compile strcasecmp and strncasecmp.
46033 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
46034 strcasecmp_l and strncasecmp_l.
46035 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
46036 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
46037 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
46038 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
46039 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
46040 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
46041 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
46042 * sysdeps/i386/i686/multiarch/strncase.S: New file.
46043 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
46044 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
46045 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
46046
ab26144e
UD
460472011-11-12 Ulrich Drepper <drepper@gmail.com>
46048
7edb22ef
UD
46049 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
46050 result of SYSDEP_GETTIME_CPU to retval.
46051 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
46052 parameter list to macro. Remove trailing semicolon. Adjust users.
46053
9694fc44
UD
46054 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
46055 variable.
46056
8ad89ef8
UD
46057 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
46058 mantissa words.
46059 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
46060
0c822ef9
UD
46061 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
46062 from unused variable.
46063
874e0564
UD
46064 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
46065 DWARF definitions.
46066 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
46067 for assembling.
46068
3a2edc79
UD
46069 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
46070 over namespaces.
46071
f3c2577f
UD
46072 * sunrpc/rpc_prot.c (rejected): Fix case value.
46073
294ce126
UD
46074 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
46075 unsigned long long int to avoid warnings in shift.
46076
5e2b63c6
UD
46077 * posix/regex_internal.c (re_string_reconstruct): Actually use result
46078 of use of trans.
46079 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
46080 variable tmp.
46081
e7f4b08e
UD
46082 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
46083 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
46084 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
46085
ab26144e
UD
46086 * nis/nis_table.c (nis_list): Use variable of correct type for
46087 result of __follow_path call.
46088
8a6d5255
AZ
460892011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46090
46091 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
46092 of math functions ceil, trunc, floor, round, and sqrt, when
46093 avaliable on the platform.
46094 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46095 name clash.
46096 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46097 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46098 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46099
aaddc98c
MP
461002011-10-30 Marek Polacek <mpolacek@redhat.com>
46101
46102 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46103 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46104
95b7042b
RM
461052011-11-11 Roland McGrath <roland@hack.frob.com>
46106
46107 * include/unistd.h: Fix __readlink return type.
46108 Reported by Chris Metcalf <cmetcalf@tilera.com>.
46109
57769839
UD
461102011-11-11 Ulrich Drepper <drepper@gmail.com>
46111
46112 * stdlib/ucontext.h: Undo last change for makecontext.
46113
edc5984d
AS
461142011-11-11 Andreas Schwab <schwab@redhat.com>
46115
98591e58
AS
46116 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46117
edc5984d
AS
46118 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46119 * setjmp/setjmp.h: Mark functions as non-leaf.
46120 * setjmp/bits/setjmp2.h: Likewise.
46121 * stdlib/ucontext.h: Likewise.
46122
77cdc054
AS
461232011-11-10 Andreas Schwab <schwab@redhat.com>
46124
46125 * malloc/arena.c (_int_new_arena): Don't increment narenas.
46126 (reused_arena): Don't check arena limit.
46127 (arena_get2): Atomically check arena limit.
46128
fe72eebd
UD
461292011-11-08 Ulrich Drepper <drepper@gmail.com>
46130
5f078c32
UD
46131 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46132 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46133
fe72eebd
UD
46134 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46135 instructions.
46136
ae1bc2fa
AS
461372011-11-07 Andreas Schwab <schwab@redhat.com>
46138
7583a88d
AS
46139 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46140 handler when locking.
46141
ae1bc2fa
AS
46142 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46143 Fix size of allocated buffer.
46144
10fb0bfa
AS
461452011-11-04 Andreas Schwab <schwab@redhat.com>
46146
998832a4
AS
46147 [BZ #10103]
46148 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46149 declarations for long double functions.
46150 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46151
10fb0bfa
AS
46152 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46153
3d7ba52b
AS
461542011-11-03 Andreas Schwab <schwab@redhat.com>
46155
a9ae54a1
AS
46156 * nscd/nscd.c (main): Don't start AVC thread until credentials are
46157 installed.
46158
3d7ba52b
AS
46159 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46160 is disabled.
46161
bc8db248
ST
461622011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
46163
46164 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46165
45b96dd6
AS
461662011-11-01 Andreas Schwab <schwab@linux-m68k.org>
46167
647776f6
AS
46168 * include/alloca.h (stackinfo_alloca_round): Define.
46169 (extend_alloca): Use it.
46170 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46171 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46172 here.
46173
d91a8b93
AS
46174 * scripts/check-local-headers.sh: Ignore libaudit.h.
46175
45b96dd6
AS
46176 * nscd/Makefile (extra-objs): Make recursively expanded.
46177
432d41ce
UD
461782011-11-01 Ulrich Drepper <drepper@gmail.com>
46179
34372fc6
UD
46180 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46181 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46182
fadb59f8
UD
46183 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46184 * posix/tst-rfc3484-2.c: Likewise.
46185 * posix/tst-rfc3484-3.c: Likewise.
46186
78239589
UD
46187 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46188 process_vm_writev.
46189 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46190 process_vm_writev.
46191 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46192 process_vm_writev from libc using GLIBC_2.15 version.
46193
432d41ce
UD
46194 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46195
02f9c6cf
PP
461962011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
46197
46198 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46199 stack usage.
46200
3a2c0242
UD
462012011-10-31 Ulrich Drepper <drepper@gmail.com>
46202
f4ec4833
UD
46203 [BZ #13367]
46204 * nss/getent.c (initgroups_keys): Show error message in case no group
46205 names are given.
46206
3a2c0242
UD
46207 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46208 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46209 __bump_nl_timestamp.
46210 * nscd/connections (nscd_init): When host database is served open
46211 netlink socket and request notification about configuration changes.
46212 (main_loop_poll): Track netlink file descriptor and bump timestamp
46213 in case data becomes available.
46214 (main_loop_epoll): Likewise.
46215 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46216 (database_pers_head): Add extra_data fileds.
46217 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46218 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46219 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46220 Adjust caller.
46221 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46222 in6ai data, call __free_in6ai.
46223 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46224 Add -DHAVE_NETLINK.
46225 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
46226 interface information. Reuse previous data if netlink timestamp
46227 is not changed.
46228 (__bump_nl_timestamp): New function.
46229 (__free_in6ai): New function.
46230
636064eb
UD
462312011-10-30 Ulrich Drepper <drepper@gmail.com>
46232
46233 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46234 close_not_cancel_no_status here.
46235 (__check_pf): Reorganize code a bit to not call close twice if OOM.
46236
9beb2334
UD
462372011-10-29 Ulrich Drepper <drepper@gmail.com>
46238
6ef76f3b
UD
46239 [BZ #13276]
46240 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46241 return value.
46242
0ffc4f3e 46243 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
46244 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46245 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46246
cb95113e
UD
462472011-07-03 Andreas Jaeger <aj@suse.de>
46248
46249 [BZ #10709]
46250 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46251 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46252 * math/libm-test.inc (sin_test): Add test case.
46253
a1b560ff
UD
462542011-10-29 Ulrich Drepper <drepper@gmail.com>
46255
c9aaface
UD
46256 [BZ #13337]
46257 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46258 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46259
d272e7f1
UD
46260 * elf/chroot_canon.c (chroot_canon): Cleanups.
46261
1bc33071
UD
46262 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46263
1760874d
TJ
46264 [BZ #13335]
46265 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46266 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46267
51d91b18
UD
46268 * string/test-strchr.c: Make usable for strchrnul testing.
46269 * string/test-strchrnul.c: New file.
46270 * string/Makefile (strop-tests): Add strchrnul.
46271
a1b560ff 46272 * po/it.po: Update from translation team.
b611fb81 46273 * po/es.po: Likewise.
a1b560ff 46274
a5b81e1f
UD
462752011-10-28 Ulrich Drepper <drepper@gmail.com>
46276
fd52bc6d
UD
46277 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46278 the three constants needed as parameters. Drop the others.
46279 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46280 __m128i_strloadu_tolower.
52e4b9eb
UD
46281 Create and initialize variable zero and use it in all the places
46282 where _mm_setzero_si128 was used.
fd52bc6d 46283
a5b81e1f
UD
46284 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46285 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46286 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46287 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46288 anymore.
46289 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46290 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46291 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46292 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46293 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46294 __mpranred, __mptan.
46295 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46296 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46297 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46298 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46299 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46300 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46301 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46302 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46303 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46304
b4343346
AS
463052011-10-28 Andreas Schwab <schwab@redhat.com>
46306
0c92d8a8
AS
46307 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46308 redefine if SHARED.
46309 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46310
b4343346
AS
46311 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46312 wide char related routines to wcsmbs subdir.
46313
3871f58f
AS
463142011-10-27 Andreas Schwab <schwab@redhat.com>
46315
46316 [BZ #13344]
46317 * misc/sys/cdefs.h (__THROWNL): Define.
46318 * posix/unistd.h: Use __THREADNL instead of __THREAD
46319 for memory synchronization functions.
46320
94d44d9f
RM
463212011-10-26 Roland McGrath <roland@hack.frob.com>
46322
21b64b15 46323 [BZ #13349]
94d44d9f
RM
46324 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46325 doesn't exist.
46326 * manual/stdio.texi (Obstack Streams): Node removed.
46327
f6ce9294
AS
463282011-10-26 Andreas Schwab <schwab@redhat.com>
46329
80479147
AS
46330 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46331 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46332 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46333
f6ce9294
AS
46334 * math/math_private.h (math_force_eval): Allow non-addressable
46335 arguments.
46336 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46337
618280a1
UD
463382011-10-25 Ulrich Drepper <drepper@gmail.com>
46339
e0016b11
UD
46340 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46341 file is not needed.
46342
46343 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46344 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46345 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46346 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46347 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46348 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46349 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46350 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46351 Add AVX variants.
46352 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46353 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46354 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46355 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46356 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46357 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46358 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46359 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46360 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46361 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46362 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46363 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46364 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46365 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46366 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46367 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46368 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46369 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46370 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46371
46372 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46373 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
46374
618280a1
UD
46375 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46376 place. Use VEX encoding when compiling for AVX.
46377
37822576
AS
463782011-10-25 Andreas Schwab <schwab@redhat.com>
46379
1f1e1947
AS
46380 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46381 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46382
37822576
AS
46383 * string/test-strchr.c (do_test): Don't generate NUL bytes.
46384
31ea014d
UD
463852011-10-25 Ulrich Drepper <drepper@gmail.com>
46386
d7826aa1 46387 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 46388 useless if() expression.
d7826aa1
UD
46389 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46390 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46391 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46392 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46393 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46394 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46395 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46396 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46397 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46398 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46399 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46400 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46401 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46402 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46403 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46404 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46405 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46406 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46407 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46408
31ea014d
UD
46409 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46410
16437fec
AS
464112011-10-25 Andreas Schwab <schwab@redhat.com>
46412
46413 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46414 condition.
46415 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46416
31d3cc00
UD
464172011-10-25 Ulrich Drepper <drepper@gmail.com>
46418
46419 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46420 .text section. Avoid duplicate constants.
46421 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46422 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46423 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46424 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46425 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46426 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46427 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46428 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46429 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46430 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46431 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46432 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46433 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46434 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46435 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46436 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46437 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46438 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46439 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46440 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46441 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46442 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46443 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46444 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46445 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46446 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46447 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46448 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46449 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46450 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46451 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46452 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46453 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46454 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46455 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46456 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46457 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46458 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46459 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46460 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46461 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46462 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46463 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46464 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46465 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46466
58985aa9
UD
464672011-10-24 Ulrich Drepper <drepper@gmail.com>
46468
202c9deb
UD
46469 * sysdeps/x86_64/dla.h: Move to ...
46470 * sysdeps/x86_64/fpu/dla.h: ...here.
46471 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46472 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 46473
af968f62
UD
46474 * config.make.in: Add have-mfma4 entry.
46475 * configure.in: Substitute libc_cv_cc_fma4.
46476 * math/Makefile (dbl-only-routines): Add sincostab.
46477 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46478 Use __sincostab not sincos.
46479 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46480 name is a macro.
46481 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46482 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46483 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46484 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46485 using __copysign.
46486 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46487 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46488 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46489 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46490 and __inv.
46491 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46492 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46493 __copysign.
46494 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46495 define aliases when function name is a macro.
46496 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46497 sysdeps/ieee754/dbl-64/sincos.tbl.
46498 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46499 fma4-enabled routines.
46500 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46501 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46502 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46503 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46504 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46505 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46506 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46507 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46508 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46509 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46510 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46511 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46512 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46513 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46514 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46515 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46516 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46517 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46518 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46519 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46520 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46521 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46522 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46523 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46524 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46525 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46526 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46527 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46528 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46529 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46530
58985aa9
UD
46531 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46532 rename.
46533 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46534 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46535 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46536 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46537 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46538 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46539 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46540 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46541
a201fbcf
AS
465422011-10-24 Andreas Schwab <schwab@redhat.com>
46543
46544 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46545
fc2ee42a
LD
465462011-10-23 Ulrich Drepper <drepper@gmail.com>
46547
bb3129bd
UD
46548 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46549
0275fff8
UD
46550 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46551 prediction.
46552 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46553
2fa2ae85
UD
46554 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46555 Remove unused variable magic_bits.
46556 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46557
fc2ee42a
LD
46558 * string/strnlen.c: Define and use STRNLEN macro.
46559 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46560 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46561 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46562 * wcsmbs/wcslen.c: Define and use WCSLEN.
46563 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46564 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46565 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46566 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46567 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46568 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46569 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46570
ce7dd29f
LD
465712011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46572
46573 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46574 strnlen-sse2-no-bsf.
46575 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46576 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46577 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46578 Add strnlen support.
46579 (USE_AS_STRNLEN): New macro.
46580 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46581 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46582 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46583 * sysdeps/x86_64/wcslen.S: New file.
46584
979c70a3
MZ
465852011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
46586
46587 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46588 XMM-moves are used for copying on small sizes.
46589
2d09f82f
LD
465902011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46591
46592 * wcsmbs/Makefile (strop-tests): Add wcschr.
46593 * wcsmbs/test-wcschr.c: New file.
46594 * string/test-strchr.c: Update.
46595 Add wcschr support.
46596 (WIDE): New macro.
46597
619fccca
LD
465982011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46599
2d09f82f 46600 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
46601 * wcsmbs/test-wcslen.c: New file.
46602 * string/test-strlen.c: Update.
46603 Add wcslen support.
46604 (WIDE): New macro.
46605
09f699ea
UD
466062011-10-23 Ulrich Drepper <drepper@gmail.com>
46607
46608 * po/it.po: Update from translation team.
46609
95584d3b
LD
466102011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46611
46612 * sysdeps/x86_64/wcscmp.S: Update.
46613 Fix wrong comparison semantics.
46614 wcscmp shall use signed comparison not unsigned.
46615 Don't use substraction to avoid overflow bug.
46616 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46617 * wcsmbc/wcscmp.c: Likewise.
46618 * string/test-strcmp.c: Likewise.
46619 Add new tests to check cases with negative values.
46620
c8b3296b
UD
466212011-10-23 Ulrich Drepper <drepper@gmail.com>
46622
46623 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46624 * sysdeps/x86_64/dla.h: ...here. New file.
46625 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46626 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46627 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46628 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46629 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46630 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46631 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46632 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46633 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46634
246ad57a
AS
466352011-10-23 Andreas Schwab <schwab@linux-m68k.org>
46636
46637 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46638 __ynl_finite aliases.
46639
a1a87169
UD
466402011-10-22 Ulrich Drepper <drepper@gmail.com>
46641
0d355eb7
UD
46642 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46643
a1a87169
UD
46644 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46645 define DLA_FMA.
46646 [DLA_FMA] (EMULV): Use DLA_FMA.
46647 [DLA_FMA] (MUL12): Use EMULV.
46648 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46649 that are not needed.
46650 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46651 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46652 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46653 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46654 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46655 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46656 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46657
ee2aafe0
AS
466582011-10-22 Andreas Schwab <schwab@linux-m68k.org>
46659
46660 * math/s_nan.c: Undef __nan.
46661 * math/s_nanf.c: Undef __nanf.
46662 * math/s_nanl.c: Undef __nanl.
46663 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46664 "math_private.h".
46665
bc62c2fb
UD
466662011-10-22 Ulrich Drepper <drepper@gmail.com>
46667
77425c63
UD
46668 * math/s_catan.c: Add branch predictions.
46669 * math/s_catanf.c: Likewise.
46670 * math/s_catanh.c: Likewise.
46671 * math/s_catanhf.c: Likewise.
46672 * math/s_catanhl.c: Likewise.
46673 * math/s_catanl.c: Likewise.
46674 * math/s_cexp.c: Likewise.
46675 * math/s_cexpf.c: Likewise.
46676 * math/s_cexpl.c: Likewise.
46677 * math/s_clog.c: Likewise.
46678 * math/s_clog10.c: Likewise.
46679 * math/s_clog10f.c: Likewise.
46680 * math/s_clog10l.c: Likewise.
46681 * math/s_clogf.c: Likewise.
46682 * math/s_clogl.c: Likewise.
46683 * math/s_csqrt.c: Likewise.
46684 * math/s_csqrtf.c: Likewise.
46685 * math/s_csqrtl.c: Likewise.
46686 * math/s_ctanf.c: Likewise.
46687 * math/s_ctanh.c: Likewise.
46688 * math/s_ctanhf.c: Likewise.
46689 * math/s_ctanhl.c: Likewise.
46690 * math/s_ctanl.c: Likewise.
46691
bc62c2fb
UD
46692 * math/math_private.h: Define __nan, __nanf, __nanl.
46693 * math/s_cacosh.c: Include <math_private.h>.
46694 * math/s_cacoshl.c: Likewise.
46695 * math/s_casinh.c: Likewise.
46696 * math/s_casinhf.c: Likewise.
46697 * math/s_casinhl.c: Likewise.
46698 * math/s_ccos.c: Rely entire on ccosh.
46699 * math/s_ccosf.c: Rely entire on ccoshf.
46700 * math/s_ccosl.c: Rely entirely on ccoshl.
46701 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
46702 Remove tests for FE_INVALID.
46703 * math/s_ccoshf.c: Likewise.
46704 * math/s_ccoshl.c: Likewise.
46705 * math/s_csin.c: Likewise.
46706 * math/s_csinf.c: Likewise.
46707 * math/s_csinh.c Likewise.
46708 * math/s_csinhf.c: Likewise.
46709 * math/s_csinhl.c: Likewise.
46710 * math/s_csinl.c: Likewise.
46711 * math/s_ctan.c: Likewise.
46712 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46713 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46714 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46715
8ec250a4
UD
467162011-10-21 Ulrich Drepper <drepper@gmail.com>
46717
c196fed8
UD
46718 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46719 compilation problems.
46720
8ec250a4
UD
46721 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46722 __builtin_expect.
46723
8d4f46c6
UD
467242011-10-20 Ulrich Drepper <drepper@gmail.com>
46725
ed72b654
UD
46726 * sysdeps/i386/configure.in: Test for -mfma4 option.
46727 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46728 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46729 COMMON_CPUID_INDEX_80000001.
46730 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46731 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46732 use it if FMA3 is not supported.
46733 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46734
8d4f46c6
UD
46735 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46736 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46737
d45c60c2
AS
467382011-10-20 Andreas Schwab <schwab@redhat.com>
46739
46740 [BZ #12892]
46741 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46742 it would create a cycle with a link time dependency.
46743
d9a4d2ab
UD
467442011-10-19 Ulrich Drepper <drepper@gmail.com>
46745
855d1560
UD
46746 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46747 instruction.
46748 * string/Makefile (strop-tests): Add rawmemchr.
46749 * string/test-rawmemchr.c: New file.
46750
d9a4d2ab
UD
46751 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46752 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
46753 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
46754 when compiling str{,n}casecmp and when AVX is available. Hook up
46755 new optimized code in initializers.
46756
8f3b1ffe
AS
467572011-10-19 Andreas Schwab <schwab@redhat.com>
46758
46759 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46760 __feraiseexcept instead of feraiseexcept.
46761
d38f1dba
UD
467622011-10-18 Ulrich Drepper <drepper@gmail.com>
46763
d9a8d0ab
UD
46764 * math/math_private.h: Define defaults for libc_fetestexcept and
46765 libc_feupdateenv.
46766 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46767 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46768 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46769 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46770 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46771 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46772 libc_fetestexcept and libc_feupdateenv.
46773
4855e3dd
UD
46774 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46775 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46776 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46777 * sysdeps/x86_64/fpu/math_private.h: Define special version of
46778 libc_feholdexcept_setround.
46779
581d30e3
UD
46780 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46781 Add s_nearbyint-c and s_nearbyintf-c.
46782 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46783 nearbyintf inlines.
46784 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46785 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46786 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46787 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46788
d38f1dba
UD
46789 * math/math_private.h: Define defaults for libc_fegetround,
46790 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46791 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46792 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46793 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46794 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46795 standard functions.
46796 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46797 Remove comments and hacks for old compiler versions.
46798 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46799 libc_fegetround, libc_fesetround, libc_feholdexcept, and
46800 libc_feholdexceptl.
46801
caa6c9d8
AS
468022011-10-18 Andreas Schwab <schwab@redhat.com>
46803
46804 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
46805 (__feraiseexcept_renamed): Add __NTH.
46806 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
46807 namespace violations.
46808
97c066e6
UD
468092011-10-17 Ulrich Drepper <drepper@gmail.com>
46810
99ce7b04
UD
46811 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46812
1004d182
UD
46813 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46814
228a984d
UD
46815 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46816 recently added interfaces.
46817 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46818
c8553a6a
UD
46819 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46820 about macro parameter expansion.
46821
ed22dcf6
UD
46822 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46823 __NO_MATH_INLINES is defined. Cleanups.
46824
46825 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46826 and __floorf is target has SSE4.1.
46827 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46828 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46829 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46830 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46831
b171c137
UD
46832 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46833 name.
46834 (floorf): Likewise.
46835
97c066e6
UD
46836 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46837
629f62ef
AS
468382011-10-17 Andreas Schwab <schwab@redhat.com>
46839
49a43d80
AS
46840 * misc/sys/cdefs.h: Fix last change.
46841
629f62ef
AS
46842 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46843 database lookup.
46844
e453f6cd
UD
468452011-10-16 Ulrich Drepper <drepper@gmail.com>
46846
aa78043a
UD
46847 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46848
ad0f5cad
UD
46849 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46850 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46851 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46852 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46853 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46854 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46855 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46856 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46857 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46858 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46859 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46860 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46861 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46862 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46863 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46864 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46865 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46866 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46867 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46868 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46869 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46870 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46871
46872 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46873 ceil, ceilf, floor, floorf.
46874
46875 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46876 Perform IRELATIVE relocations last.
46877
e453f6cd
UD
46878 * elf/do-rel.h: Add another parameter nrelative, replacing the
46879 local variable with the same name. Change name of the function
46880 to end in Rel or Rela (uppercase).
46881 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46882 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
46883 elf_dynamic_do_##reloc function.
46884
fd5bdc09
UD
468852011-10-15 Ulrich Drepper <drepper@gmail.com>
46886
79b195b5
UD
46887 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46888 is sufficient, at least on modern CPUs.
46889
d4a28569
UD
46890 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46891
b61099b5
UD
46892 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46893 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46894
bcf01e6d
UD
46895 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46896 __expl_finite.
46897 * math/bits/math-finite.h: Add entries for exp.
46898 * math/e_expl.c: Add __*_finite alias.
46899 * sysdeps/i386/fpu/e_exp.S: Likewise.
46900 * sysdeps/i386/fpu/e_expf.S: Likewise.
46901 * sysdeps/i386/fpu/e_expl.c: Likewise.
46902 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46903 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46904 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46905 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46906 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46907 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46908 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46909
ba1a0d59
UD
46910 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46911 is sufficient, at least on modern CPUs.
46912
fd5bdc09
UD
46913 * ctype/ctype-info.c (__ctype_init): Define.
46914 * include/ctype.h (__ctype_init): Declare.
46915 (__ctype_b_loc): The variable is always initialized.
46916 (__ctype_toupper_loc): Likewise.
46917 (__ctype_tolower_loc): Likewise.
46918 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46919 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46920
7872cfb0
AS
469212011-10-15 Andreas Schwab <schwab@linux-m68k.org>
46922
b468825a
AS
46923 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46924
7872cfb0
AS
46925 * configure.in: Also look in $cxxmachine/include for C++ system
46926 headers.
46927
be13f7bf
LD
469282011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46929
46930 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46931 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46932 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46933 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
46934 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46935 (USE_AS_WMEMCMP): New macro.
46936 Fixing indents.
46937 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46938 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46939 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46940 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46941 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46942 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46943 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46944 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46945 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46946 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
46947 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
46948 (USE_AS_WMEMCMP): New macro.
46949 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
46950 * sysdeps/string/test-memcmp.c: Update.
46951 Fix simple_wmemcmp.
46952 Add new tests.
46953 * wcsmbs/wmemcmp.c: Update.
46954 (WMEMCMP): New macro.
46955 Fix overflow bug.
46956
556a2007
AJ
469572011-10-12 Andreas Jaeger <aj@suse.de>
46958
46959 [BZ #13268]
46960 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
46961
538faaa7
UD
469622011-10-15 Ulrich Drepper <drepper@gmail.com>
46963
ab6737ff
UD
46964 * libio/iofwide.c (do_length): Avoid warning.
46965
538faaa7
UD
46966 * ctype/ctype.h (__isctype_f): Add missing __THROW.
46967
396a21b1
UD
469682011-10-14 Ulrich Drepper <drepper@gmail.com>
46969
cdf2901f
UD
46970 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46971
38ad40ce
UD
46972 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46973 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46974 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46975 * sysdeps/i386/i686/fpu/e_log.S: New file.
46976 * sysdeps/i386/i686/fpu/e_logf.S: New file.
46977 * sysdeps/i386/i686/fpu/e_logl.S: New file.
46978
396a21b1
UD
46979 * ctype/ctype.h: Add support for inlined isXXX functions when
46980 compiling C++ code.
46981
6b1f68c9
AS
469822011-10-14 Andreas Schwab <schwab@redhat.com>
46983
349290c0
AS
46984 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46985
6b1f68c9
AS
46986 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46987
f2282d42
RM
469882011-10-13 Roland McGrath <roland@hack.frob.com>
46989
46990 [BZ #13291]
46991 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46992
5298ffa8
AS
469932011-10-13 Andreas Schwab <schwab@redhat.com>
46994
714fad23
AS
46995 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46996 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46997 feraiseexcept.
46998
81dcc7fb
AS
46999 * sysdeps/x86_64/memrchr.S: Check for zero size.
47000
5298ffa8
AS
47001 * string/stratcliff.c: Add memrchr tests.
47002
951fbcec
LD
470032011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47004
47005 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47006 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
47007 rawmemchr-sse2 rawmemchr-sse2-bsf.
47008 * sysdeps/i386/i686/multiarch/memchr.S: New file.
47009 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
47010 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
47011 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
47012 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
47013 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
47014 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
47015 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
47016 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
47017 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
47018 * string/memrchr.c (MEMRCHR): New macro.
47019
0ac5ae23
UD
470202011-10-12 Ulrich Drepper <drepper@gmail.com>
47021
47022 Add integration with gcc's -ffinite-math-only and optimize wrapper
47023 functions in libm.
47024 * Versions.def: Define GLIBC_2.15 version for libm.
47025 * math/Makefile (headers): Add bits/math-finite.h.
47026 * math/bits/math-finite.h: New file.
47027 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
47028 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
47029 * math/e_acoshl.c: Add __*_finite alias.
47030 * math/e_acosl.c: Likewise.
47031 * math/e_asinl.c: Likewise.
47032 * math/e_atan2l.c: Likewise.
47033 * math/e_atanhl.c: Likewise.
47034 * math/e_coshl.c: Likewise.
47035 * math/e_exp10.c: Likewise.
47036 * math/e_exp10f.c: Likewise.
47037 * math/e_exp10l.c: Likewise.
47038 * math/e_exp2l.c: Likewise.
47039 * math/e_fmodl.c: Likewise.
47040 * math/e_gammal_r.c: Likewise.
47041 * math/e_hypotl.c: Likewise.
47042 * math/e_j0l.c: Likewise.
47043 * math/e_j1l.c: Likewise.
47044 * math/e_jnl.c: Likewise.
47045 * math/e_lgammal_r.c: Likewise.
47046 * math/e_log10l.c: Likewise.
47047 * math/e_log2l.c: Likewise.
47048 * math/e_logl.c: Likewise.
47049 * math/e_powl.c: Likewise.
47050 * math/e_sinhl.c: Likewise.
47051 * math/e_sqrtl.c: Likewise.
47052 * math/e_scalb.c: Completely rewritten and optimized.
47053 * math/e_scalbf.c: Likewise.
47054 * math/e_scalbl.c: Likewise.
47055 * math/w_acos.c: Likewise.
47056 * math/w_acosf.c: Likewise.
47057 * math/w_acosl.c: Likewise.
47058 * math/w_acosh.c: Likewise.
47059 * math/w_acoshf.c: Likewise.
47060 * math/w_acoshl.c: Likewise.
47061 * math/w_asin.c: Likewise.
47062 * math/w_asinf.c: Likewise.
47063 * math/w_asinl.c: Likewise.
47064 * math/w_atan2.c: Likewise.
47065 * math/w_atan2f.c: Likewise.
47066 * math/w_atan2l.c: Likewise.
47067 * math/w_atanh.c: Likewise.
47068 * math/w_atanhf.c: Likewise.
47069 * math/w_atanhl.c: Likewise.
47070 * math/w_exp10.c: Likewise.
47071 * math/w_exp10f.c: Likewise.
47072 * math/w_exp10l.c: Likewise.
47073 * math/w_fmod.c: Likewise.
47074 * math/w_fmodf.c: Likewise.
47075 * math/w_fmodl.c: Likewise.
47076 * math/w_j0.c: Likewise.
47077 * math/w_j0f.c: Likewise.
47078 * math/w_j0l.c: Likewise.
47079 * math/w_j1.c: Likewise.
47080 * math/w_j1f.c: Likewise.
47081 * math/w_j1l.c: Likewise.
47082 * math/w_jn.c: Likewise.
47083 * math/w_jnf.c: Likewise.
47084 * math/w_log.c: Likewise.
47085 * math/w_logf.c: Likewise.
47086 * math/w_logl.c: Likewise.
47087 * math/w_log10.c: Likewise.
47088 * math/w_log10f.c: Likewise.
47089 * math/w_log10l.c: Likewise.
47090 * math/w_log2.c: Likewise.
47091 * math/w_log2f.c: Likewise.
47092 * math/w_log2l.c: Likewise.
47093 * math/w_pow.c: Likewise.
47094 * math/w_powf.c: Likewise.
47095 * math/w_powl.c: Likewise.
47096 * math/w_remainder.c: Likewise.
47097 * math/w_remainderf.c: Likewise.
47098 * math/w_remainderl.c: Likewise.
47099 * math/w_scalb.c: Likewise.
47100 * math/w_scalbf.c: Likewise.
47101 * math/w_scalbl.c: Likewise.
47102 * math/w_sqrt.c: Likewise.
47103 * math/w_sqrtf.c: Likewise.
47104 * math/w_sqrtl.c: Likewise.
47105 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47106 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
47107 used.
47108 * math/math_private.h: Declare __kernel_standard_f.
47109 * math/w_cosh.c: Remove cruft and optimize a bit.
47110 * math/w_coshf.c: Likewise.
47111 * math/w_coshl.c: Likewise.
47112 * math/w_exp2.c: Likewise.
47113 * math/w_exp2f.c: Likewise.
47114 * math/w_exp2l.c: Likewise.
47115 * math/w_hypot.c: Likewise.
47116 * math/w_hypotf.c: Likewise.
47117 * math/w_hypotl.c: Likewise.
47118 * math/w_lgamma.c: Likewise.
47119 * math/w_lgamma_r.c: Likewise.
47120 * math/w_lgammaf.c: Likewise.
47121 * math/w_lgammaf_r.c: Likewise.
47122 * math/w_lgammal.c: Likewise.
47123 * math/w_lgammal_r.c: Likewise.
47124 * math/w_sinh.c: Likewise.
47125 * math/w_sinhf.c: Likewise.
47126 * math/w_sinhl.c: Likewise.
47127 * math/w_tgamma.c: Likewise.
47128 * math/w_tgammaf.c: Likewise.
47129 * math/w_tgammal.c: Likewise.
47130 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47131 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47132 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47133 Minor optimizations. Pretty printing. Remove cruft.
47134 * sysdeps/i386/fpu/e_acosf.S: Likewise.
47135 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47136 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47137 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47138 * sysdeps/i386/fpu/e_acosl.c: Likewise.
47139 * sysdeps/i386/fpu/e_asin.S: Likewise.
47140 * sysdeps/i386/fpu/e_asinf.S: Likewise.
47141 * sysdeps/i386/fpu/e_atan2.S: Likewise.
47142 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47143 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47144 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47145 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47146 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47147 * sysdeps/i386/fpu/e_exp10.S: Likewise.
47148 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47149 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47150 * sysdeps/i386/fpu/e_exp2.S: Likewise.
47151 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47152 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47153 * sysdeps/i386/fpu/e_fmod.S: Likewise.
47154 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47155 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47156 * sysdeps/i386/fpu/e_hypot.S: Likewise.
47157 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47158 * sysdeps/i386/fpu/e_log.S: Likewise.
47159 * sysdeps/i386/fpu/e_log10.S: Likewise.
47160 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47161 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47162 * sysdeps/i386/fpu/e_log2.S: Likewise.
47163 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47164 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47165 * sysdeps/i386/fpu/e_logf.S: Likewise.
47166 * sysdeps/i386/fpu/e_logl.S: Likewise.
47167 * sysdeps/i386/fpu/e_pow.S: Likewise.
47168 * sysdeps/i386/fpu/e_powf.S: Likewise.
47169 * sysdeps/i386/fpu/e_powl.S: Likewise.
47170 * sysdeps/i386/fpu/e_remainder.S: Likewise.
47171 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47172 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47173 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47174 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47175 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47176 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47177 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47178 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47179 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47180 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47181 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47182 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47183 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47184 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47185 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47186 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47187 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47188 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47189 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47190 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47191 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47192 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47193 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47194 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47195 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47196 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47197 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47198 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47199 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47200 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47201 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47202 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47203 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47204 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47205 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47206 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47207 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47208 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47209 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47210 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47211 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47212 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47213 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47214 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47215 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47216 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47217 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47218 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47219 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47220 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47221 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47222 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47223 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47224 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47225 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47226 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47227 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47228 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47229 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47230 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47231 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47232 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47233 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47234 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47235 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47236 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47237 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47238 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47239 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47240 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47241 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47242 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47243 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47244 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47245 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47246 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47247 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47248 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47249 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47250 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47251 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47252 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47253 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47254 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47255 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47256 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47257 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47258 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47259 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47260 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47261 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47262 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47263 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47264 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47265 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47266 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47267 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47268 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47269 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47270 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47271 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47272 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47273 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47274 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47275 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47276 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47277 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47278 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47279 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47280 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47281 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47282 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47283 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47284 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47285 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47286 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47287 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47288 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47289 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
47290 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47291 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47292 (__isnanf): Likewise.
47293 (__isinf_ns): Likewise.
47294 (__isinf_nsf): Likewise.
47295 (__finite): Likewise.
47296 (__finitef): Likewise.
47297 (__ieee754_sqrt): Define as macro.
47298 (__ieee754_sqrtf): Define as macro.
47299 (__ieee754_sqrtl): Define as macro.
47300 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47301 inlined copy.
47302 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47303 __FINITE_MATH_ONLY__ consistent.
47304 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47305
12cc2fcd
AS
473062011-10-10 Andreas Schwab <schwab@linux-m68k.org>
47307
a843a204
AS
47308 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47309 of rawmemchr.
47310
12cc2fcd
AS
47311 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47312
c853acd5
UD
473132011-10-09 Ulrich Drepper <drepper@gmail.com>
47314
47315 * po/ja.po: Update from translation team.
47316
c658d255
RM
473172011-10-08 Roland McGrath <roland@hack.frob.com>
47318
110946e4
RM
47319 * locale/programs/locarchive.c (prepare_address_space): New function.
47320 (create_archive, enlarge_archive, open_archive): Use it.
47321
50604220
RM
47322 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47323 inside [SHARED], where it is used.
47324
c658d255
RM
47325 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47326
47327 * nss/getent.c (netgroup_keys): Remove unused variable.
47328 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47329
6a621eb7
UD
473302011-10-08 Ulrich Drepper <drepper@gmail.com>
47331
7edb55ce
UD
47332 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47333 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47334 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47335 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47336 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47337 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47338 * math/Makefile (libm-calls): Add s_isinf_ns.
47339 * math/divtc3.c: Use __isinf_nsl instead of isinf.
47340 * math/multc3.c: Likewise.
47341 * math/s_casin.c: Likewise.
47342 * math/s_casinf.c: Likewise.
47343 * math/s_casinl.c: Likewise.
47344 * math/s_ccos.c: Likewise.
47345 * math/s_ccosf.c: Likewise.
47346 * math/s_ccosl.c: Likewise.
47347 * math/s_ctan.c: Likewise.
47348 * math/s_ctanf.c: Likewise.
47349 * math/s_ctanh.c: Likewise.
47350 * math/s_ctanhf.c: Likewise.
47351 * math/s_ctanhl.c: Likewise.
47352 * math/s_ctanl.c: Likewise.
47353 * math/w_fmod.c: Likewise.
47354 * math/w_fmodf.c: Likewise.
47355 * math/w_fmodl.c: Likewise.
47356 * math/w_remainder.c: Likewise.
47357 * math/w_remainderf.c: Likewise.
47358 * math/w_remainderl.c: Likewise.
47359 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47360 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47361 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47362 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47363 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47364 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47365 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47366 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47367
187da0ae
UD
47368 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47369 of the number.
47370 * stdio-common/printf_fphex.c: Likewise.
47371 * stdio-common/printf_size.c: Likewise.
47372
9277c064
UD
47373 * math/e_exp10.c: Include math_private.h using <...> not "...".
47374 * math/e_exp10f.c: Likewise.
47375 * math/e_exp10l.c: Likewise.
47376 * math/e_exp2l.c: Likewise.
47377 * math/e_j0l.c: Likewise.
47378 * math/e_j1l.c: Likewise.
47379 * math/e_jnl.c: Likewise.
47380 * math/e_lgammal_r.c: Likewise.
47381 * math/e_rem_pio2l.c: Likewise.
47382 * math/e_scalb.c: Likewise.
47383 * math/e_scalbf.c: Likewise.
47384 * math/e_scalbl.c: Likewise.
47385 * math/k_cosl.c: Likewise.
47386 * math/k_sinl.c: Likewise.
47387 * math/k_tanl.c: Likewise.
47388 * math/s_cacoshf.c: Likewise.
47389 * math/s_catan.c: Likewise.
47390 * math/s_catanf.c: Likewise.
47391 * math/s_catanh.c: Likewise.
47392 * math/s_catanhf.c: Likewise.
47393 * math/s_catanhl.c: Likewise.
47394 * math/s_catanl.c: Likewise.
47395 * math/s_ccosh.c: Likewise.
47396 * math/s_ccoshf.c: Likewise.
47397 * math/s_ccoshl.c: Likewise.
47398 * math/s_cexp.c: Likewise.
47399 * math/s_cexpf.c: Likewise.
47400 * math/s_cexpl.c: Likewise.
47401 * math/s_clog.c: Likewise.
47402 * math/s_clog10.c: Likewise.
47403 * math/s_clog10f.c: Likewise.
47404 * math/s_clog10l.c: Likewise.
47405 * math/s_clogf.c: Likewise.
47406 * math/s_clogl.c: Likewise.
47407 * math/s_csin.c: Likewise.
47408 * math/s_csinf.c: Likewise.
47409 * math/s_csinh.c: Likewise.
47410 * math/s_csinhf.c: Likewise.
47411 * math/s_csinhl.c: Likewise.
47412 * math/s_csinl.c: Likewise.
47413 * math/s_csqrt.c: Likewise.
47414 * math/s_csqrtf.c: Likewise.
47415 * math/s_csqrtl.c: Likewise.
47416 * math/s_ctan.c: Likewise.
47417 * math/s_ctanf.c: Likewise.
47418 * math/s_ctanh.c: Likewise.
47419 * math/s_ctanhf.c: Likewise.
47420 * math/s_ctanhl.c: Likewise.
47421 * math/s_ctanl.c: Likewise.
47422 * math/s_ldexp.c: Likewise.
47423 * math/s_ldexpf.c: Likewise.
47424 * math/s_ldexpl.c: Likewise.
47425 * math/s_significand.c: Likewise.
47426 * math/s_significandf.c: Likewise.
47427 * math/s_significandl.c: Likewise.
47428 * math/w_acos.c: Likewise.
47429 * math/w_acosf.c: Likewise.
47430 * math/w_acosh.c: Likewise.
47431 * math/w_acoshf.c: Likewise.
47432 * math/w_acoshl.c: Likewise.
47433 * math/w_acosl.c: Likewise.
47434 * math/w_asin.c: Likewise.
47435 * math/w_asinf.c: Likewise.
47436 * math/w_asinl.c: Likewise.
47437 * math/w_atan2.c: Likewise.
47438 * math/w_atan2f.c: Likewise.
47439 * math/w_atan2l.c: Likewise.
47440 * math/w_atanh.c: Likewise.
47441 * math/w_atanhf.c: Likewise.
47442 * math/w_atanhl.c: Likewise.
47443 * math/w_cosh.c: Likewise.
47444 * math/w_coshf.c: Likewise.
47445 * math/w_coshl.c: Likewise.
47446 * math/w_dremf.c: Likewise.
47447 * math/w_exp10.c: Likewise.
47448 * math/w_exp10f.c: Likewise.
47449 * math/w_exp10l.c: Likewise.
47450 * math/w_exp2.c: Likewise.
47451 * math/w_exp2f.c: Likewise.
47452 * math/w_fmod.c: Likewise.
47453 * math/w_fmodf.c: Likewise.
47454 * math/w_fmodl.c: Likewise.
47455 * math/w_hypot.c: Likewise.
47456 * math/w_hypotf.c: Likewise.
47457 * math/w_hypotl.c: Likewise.
47458 * math/w_j0.c: Likewise.
47459 * math/w_j0f.c: Likewise.
47460 * math/w_j0l.c: Likewise.
47461 * math/w_j1.c: Likewise.
47462 * math/w_j1f.c: Likewise.
47463 * math/w_j1l.c: Likewise.
47464 * math/w_jn.c: Likewise.
47465 * math/w_jnf.c: Likewise.
47466 * math/w_jnl.c: Likewise.
47467 * math/w_lgamma.c: Likewise.
47468 * math/w_lgamma_r.c: Likewise.
47469 * math/w_lgammaf.c: Likewise.
47470 * math/w_lgammaf_r.c: Likewise.
47471 * math/w_lgammal.c: Likewise.
47472 * math/w_lgammal_r.c: Likewise.
47473 * math/w_log.c: Likewise.
47474 * math/w_log10.c: Likewise.
47475 * math/w_log10f.c: Likewise.
47476 * math/w_log10l.c: Likewise.
47477 * math/w_log2.c: Likewise.
47478 * math/w_log2f.c: Likewise.
47479 * math/w_log2l.c: Likewise.
47480 * math/w_logf.c: Likewise.
47481 * math/w_logl.c: Likewise.
47482 * math/w_pow.c: Likewise.
47483 * math/w_powf.c: Likewise.
47484 * math/w_powl.c: Likewise.
47485 * math/w_remainder.c: Likewise.
47486 * math/w_remainderf.c: Likewise.
47487 * math/w_remainderl.c: Likewise.
47488 * math/w_scalb.c: Likewise.
47489 * math/w_scalbf.c: Likewise.
47490 * math/w_scalbl.c: Likewise.
47491 * math/w_sinh.c: Likewise.
47492 * math/w_sinhf.c: Likewise.
47493 * math/w_sinhl.c: Likewise.
47494 * math/w_sqrt.c: Likewise.
47495 * math/w_sqrtf.c: Likewise.
47496 * math/w_sqrtl.c: Likewise.
47497 * math/w_tgamma.c: Likewise.
47498 * math/w_tgammaf.c: Likewise.
47499 * math/w_tgammal.c: Likewise.
47500
6a621eb7
UD
47501 * po/ja.po: Update from translation team.
47502
bf582445
AJ
475032011-09-29 Andreas Jaeger <aj@suse.de>
47504
f9efbf3a
AJ
47505 [BZ #13179]
47506 * sunrpc/netname.c (netname2host): Fix logic.
47507
bf582445
AJ
47508 [BZ #6779]
47509 [BZ #6783]
47510 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47511 correctly.
47512 * math/w_remainder.c (__remainder): Likewise.
47513 * math/w_remainderf.c (__remainderf): Likewise.
47514 * math/libm-test.inc (remainder_test): Add test cases.
47515
48693bea
AK
475162011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47517
47518 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47519 sdiv_qrnnd.
47520
42622229
LD
475212011-10-07 Ulrich Drepper <drepper@gmail.com>
47522
47523 * string/test-memcmp.c: Avoid unncessary #defines.
47524 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47525
093ecf92
LD
475262011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47527
47528 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47529 Use new sse2 version for core i3 - i7 as it's faster
47530 than sse42 version.
47531 (bit_Prefer_PMINUB_for_stringop): New.
47532 * sysdeps/x86_64/rawmemchr.S: Update.
47533 Replace with faster SSE2 version.
47534 * sysdeps/x86_64/memrchr.S: New file.
47535 * sysdeps/x86_64/memchr.S: Update.
47536 Replace with faster SSE2 version.
47537
fde56e5c
MP
475382011-09-12 Marek Polacek <mpolacek@redhat.com>
47539
47540 * elf/dl-load.c (lose): Add cast to avoid warning.
47541
21fd49a9
UD
475422011-10-07 Ulrich Drepper <drepper@gmail.com>
47543
5a06e643
UD
47544 * po/ca.po: Update from translation team.
47545
684ae515
UD
47546 * inet/getnetgrent_r.c: Hook up nscd.
47547 * nscd/Makefile (routines): Add nscd_netgroup.
47548 (nscd-modules): Add netgroupcache.
47549 (CFLAGS-netgroupcache.c): Define.
47550 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47551 (cache_search): Add const to second parameter.
47552 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47553 INNETGR.
47554 (dbs): Add netgrdb entry.
47555 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47556 (verify_persistent_db): Handle netgrdb.
47557 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47558 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47559 GETFDNETGR.
47560 (netgroup_response_header): Define.
47561 (innetgroup_response_header): Define.
47562 (datahead): Add netgroup_response_header and innetgroup_response_header
47563 elements.
47564 * nscd/nscd.conf: Add entries for netgroup cache.
47565 * nscd/nscd.h (dbtype): Add netgrdb.
47566 (_PATH_NSCD_NETGROUP_DB): Define.
47567 (netgroup_iov_disabled): Declare.
47568 (xmalloc, xcalloc, xrealloc): Move declarations here.
47569 (cache_search): Adjust prototype.
47570 Add netgroup-related prototypes.
47571 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47572 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47573 (__nscd_innetgr): Declare.
47574 * nscd/selinux.c (perms): Use access_vector_t as element type and
47575 add netgroup-related initializers.
47576 * nscd/netgroupcache.c: New file.
47577 * nscd/nscd_netgroup.c: New file.
47578 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47579 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47580 For four parameters use innetgr.
47581 * nss/nss_files/files-init.c: Add definition and callback for netgr.
47582 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47583 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47584 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47585
21fd49a9
UD
47586 * nscd/connections.c (register_traced_file): Don't register file
47587 for disabled databases.
47588
054c0457
UD
475892011-10-06 Ulrich Drepper <drepper@gmail.com>
47590
32b63198
UD
47591 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47592
054c0457
UD
47593 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47594 from tree and freeing node.
47595
64031225
JO
475962011-09-25 Jiri Olsa <jolsa@redhat.com>
47597
47598 * nss/nsswitch.c (__nss_database_lookup): Handle
47599 nss_parse_service_list out of memory case.
47600
0490345c
JO
476012011-09-15 Jiri Olsa <jolsa@redhat.com>
47602
47603 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47604 out of memory case.
47605
3a62d00d
AS
476062011-10-04 Andreas Schwab <schwab@redhat.com>
47607
47608 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47609 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47610 pass it down.
47611 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47612 elf_machine_rela, elf_machine_lazy_rel.
47613 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47614 (ELF_DYNAMIC_DO_REL): Likewise.
47615 (ELF_DYNAMIC_DO_RELA): Likewise.
47616 (ELF_DYNAMIC_RELOCATE): Likewise.
47617 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47618 to ELF_DYNAMIC_DO_REL.
47619 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47620 (dl_main): In trace mode always set __RTLD_NOIFUNC.
47621 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47622 elf_machine_rela.
47623 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47624 skip_ifunc, don't call ifunc function if non-zero.
47625 (elf_machine_rela): Likewise.
47626 (elf_machine_lazy_rel): Likewise.
47627 (elf_machine_lazy_rela): Likewise.
47628 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47629 (elf_machine_lazy_rel): Likewise.
47630 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47631 Likewise.
47632 (elf_machine_lazy_rel): Likewise.
47633 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47634 Likewise.
47635 (elf_machine_lazy_rel): Likewise.
47636 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47637 (elf_machine_lazy_rel): Likewise.
47638 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47639 (elf_machine_lazy_rel): Likewise.
47640 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47641 (elf_machine_lazy_rel): Likewise.
47642 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47643 (elf_machine_lazy_rel): Likewise.
47644 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47645 (elf_machine_lazy_rel): Likewise.
47646 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47647 (elf_machine_lazy_rel): Likewise.
47648
68577918
UD
476492011-09-28 Ulrich Drepper <drepper@gmail.com>
47650
47651 * nss/nss_files/files-init.c (_nss_files_init): Use static
47652 initialization for all the *_traced_file variables.
47653
68822d74
AS
476542011-09-28 Andreas Schwab <schwab@redhat.com>
47655
47656 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47657
2056100b
RM
476582011-09-27 Roland McGrath <roland@hack.frob.com>
47659
47660 [BZ #13226]
47661 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47662
32c76b63
AS
476632011-09-27 Andreas Schwab <schwab@redhat.com>
47664
47665 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47666 Reread the line before reparsing it.
47667
bf972c9d
AS
476682011-09-26 Andreas Schwab <schwab@redhat.com>
47669
47670 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47671
e057a1b5
JM
476722011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
47673 Maxim Kuvyrkov <maxim@codesourcery.com>
47674 Joseph Myers <joseph@codesourcery.com>
47675
47676 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47677 if needed for __stack_chk_guard.
47678
bc7e1c36
RM
476792011-09-19 Roland McGrath <roland@hack.frob.com>
47680
ecb1482f
RM
47681 * sysdeps/posix/spawni.c (script_execute): Always define it.
47682 It will be optimized away if unused.
47683 (maybe_script_execute): New function.
47684 (__spawni): Call it.
47685
bc7e1c36
RM
47686 * Makerules: Don't include tls.make.
47687 (config-tls): Always set to thread.
47688 * tls.make.c: File removed.
47689
1c3b002b
MF
476902011-09-19 Mike Frysinger <vapier@gentoo.org>
47691
47692 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47693 * config.make.in (CPPFLAGS-config): New substituted variable.
47694
2840865d
UD
476952011-09-15 Ulrich Drepper <drepper@gmail.com>
47696
88738eb6
UD
47697 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47698
cbf645a6 47699 [BZ #13192]
2840865d
UD
47700 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47701 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47702
b402e91a
RM
477032011-09-15 Roland McGrath <roland@hack.frob.com>
47704
47705 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47706 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47707 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47708 (CALL_FAIL): Likewise.
47709 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47710 (CALL_FAIL): Macro removed.
47711 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47712
4c1a1f71
UD
477132011-09-15 Ulrich Drepper <drepper@gmail.com>
47714
47715 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47716 for __FINITE_MATH_ONLY__ == 1.
47717
edc121be
AS
477182011-09-15 Andreas Schwab <schwab@redhat.com>
47719
47720 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47721 __ieee754_sqrt instead of sqrt.
47722 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47723 __ieee754_sqrtf instead of sqrtf.
47724 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47725 __floorf instead of floorf.
47726 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47727 __floorf, __truncf instead of floorf, truncf.
47728
cd205654
UD
477292011-09-14 Ulrich Drepper <drepper@gmail.com>
47730
ee4d0315
UD
47731 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47732
cd205654
UD
47733 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47734 __extern_always_inline.
47735 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47736 32-bit.
47737
48b67d71
AS
477382011-09-14 Andreas Schwab <schwab@redhat.com>
47739
47740 * elf/rtld.c (dl_main): Also relocate in dependency order when
47741 doing symbol dependency testing.
47742
1ae12c75
AS
477432011-09-13 Andreas Schwab <schwab@linux-m68k.org>
47744
47745 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47746 Always define `refsym'.
47747
995a80df
AS
477482011-09-13 Andreas Schwab <schwab@redhat.com>
47749
e529793b
AS
47750 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47751 (__FD_ELT): Renamed from __FDELT.
47752 * misc/bits/select2.h (__FD_ELT): Likewise.
47753 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47754 __FD_MASK instead of __FDELT, __FDMASK.
47755 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47756 Likewise.
47757 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47758 Likewise.
47759
52d4fef8
AS
47760 * elf/Makefile (gen-ldd): Fix pattern.
47761
995a80df
AS
47762 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47763 (init_tls): Likewise.
47764
8682f8b0
UD
477652011-09-12 Ulrich Drepper <drepper@gmail.com>
47766
47767 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47768
de82006d
AS
477692011-09-12 Andreas Schwab <schwab@redhat.com>
47770
a7c8e6a1
AS
47771 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47772 `struct cmsghdr *' instead of `void *'.
47773 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47774 Likewise.
47775
0f31fe77
AS
477762011-09-11 Andreas Schwab <schwab@linux-m68k.org>
47777
47778 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47779 if non-absolute.
47780 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47781 ldd_rewrite_script.
0f31fe77 47782
32b4c839
UD
477832011-09-11 Ulrich Drepper <drepper@gmail.com>
47784
83cd1420
UD
47785 * configure.in: Remove --with-tls option.
47786 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47787 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47788 out in case it is missing.
47789 * sysdeps/ia64/elf/configure.in: Likewise.
47790 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47791 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47792 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47793 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47794 * sysdeps/sh/elf/configure.in: Likewise.
47795 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47796 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47797 * sysdeps/x86_64/elf/configure.in: Likewise.
47798 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47799 * sysdeps/mach/hurd/tls.h: Likewise.
47800
633f745d
UD
47801 [BZ #13067]
47802 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47803
f318beb8
UD
47804 [BZ #13090]
47805 * configure.in: Fix use of AC_INIT.
47806
32b4c839
UD
47807 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47808
3ce1f295
UD
478092011-09-10 Ulrich Drepper <drepper@gmail.com>
47810
bb016596
UD
47811 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47812 __set_errno.
8e58439c
UD
47813 * malloc/hooks.c: Likewise.
47814
aebae053 47815 [BZ #11929]
02d46fc4
UD
47816 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
47817 variables statically.
47818 (narenas): Initialize.
47819 (list_lock): Initialize.
bb016596
UD
47820 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
47821 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
47822 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47823 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
47824 Add initializers to main_arena and mp_.
47825 (malloc_state): Remove pagesize member. Change all users to use
47826 GLRO(dl_pagesize).
47827
47828 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47829 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
47830 is always initialized.
47831
22a89187
UD
47832 * malloc/malloc.c: Removed unused configurations and dead code.
47833 * malloc/arena.c: Likewise.
47834 * malloc/hooks.c: Likewise.
02d46fc4 47835 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 47836
d063d164
UD
47837 * include/tls.h: Removed. USE___THREAD must always be defined.
47838 * bits/libc-tsd.h: Don't handle !USE___THREAD.
47839 * elf/dl-libc.c: Likewise.
47840 * elf/dl-tsd.c: Likewise.
47841 * include/errno.h: Likewise.
47842 * include/netdb.h: Likewise.
47843 * include/resolv.h: Likewise.
47844 * inet/herrno-loc.c: Likewise.
47845 * inet/herrno.c: Likewise.
47846 * malloc/arena.c: Likewise.
47847 * malloc/hooks.c: Likewise.
47848 * malloc/malloc.c: Likewise.
47849 * resolv/res-state.c: Likewise.
47850 * resolv/res_libc.c: Likewise.
47851 * sysdeps/i386/dl-machine.h: Likewise.
47852 * sysdeps/ia64/dl-machine.h: Likewise.
47853 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47854 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47855 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47856 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47857 * sysdeps/sh/dl-machine.h: Likewise.
47858 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47859 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47860 * sysdeps/unix/i386/sysdep.S: Likewise.
47861 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47862 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47863 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47864 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47865 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47866 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47867 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47868 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47869 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47870 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47871 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47872 * sysdeps/x86_64/dl-machine.h: Likewise.
47873 * tls.make.c: Likewise.
47874
3ce1f295
UD
47875 * configure.in: Remove --with-__thread option. Make tests for
47876 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47877 tls_model attribute fail if no support is available. Remove
47878 USE_IN_LIBIO.
47879 * Makeconfig: Adjust for dropped configure option. All features are
47880 now mandatory.
47881 * Makerules: Likewise.
47882 * Versions.def: Likewise.
47883 * argp/argp-fmtstream.c: Likewise.
47884 * argp/argp-fmtstream.h: Likewise.
47885 * argp/argp-help.c: Likewise.
47886 * assert/assert.c: Likewise.
47887 * config.h.in: Likewise.
47888 * config.make.in: Likewise.
47889 * configure: Likewise.
47890 * configure.in: Likewise.
47891 * csu/Versions: Likewise.
47892 * csu/init.c: Likewise.
47893 * elf/tst-audit2.c: Likewise.
47894 * elf/tst-tls10.c: Likewise.
47895 * elf/tst-tls10.h: Likewise.
47896 * elf/tst-tls11.c: Likewise.
47897 * elf/tst-tls12.c: Likewise.
47898 * elf/tst-tls14.c: Likewise.
47899 * elf/tst-tlsmod11.c: Likewise.
47900 * elf/tst-tlsmod12.c: Likewise.
47901 * elf/tst-tlsmod13.c: Likewise.
47902 * elf/tst-tlsmod13a.c: Likewise.
47903 * elf/tst-tlsmod14a.c: Likewise.
47904 * elf/tst-tlsmod15b.c: Likewise.
47905 * elf/tst-tlsmod16a.c: Likewise.
47906 * elf/tst-tlsmod16b.c: Likewise.
47907 * elf/tst-tlsmod7.c: Likewise.
47908 * elf/tst-tlsmod8.c: Likewise.
47909 * elf/tst-tlsmod9.c: Likewise.
47910 * gmon/gmon.c: Likewise.
47911 * grp/fgetgrent_r.c: Likewise.
47912 * grp/putgrent.c: Likewise.
47913 * hurd/fopenport.c: Likewise.
47914 * include/libc-symbols.h: Likewise.
47915 * include/tls.h: Likewise.
47916 * intl/gettextP.h: Likewise.
47917 * intl/loadinfo.h: Likewise.
47918 * locale/global-locale.c: Likewise.
47919 * locale/localeinfo.h: Likewise.
47920 * mach/devstream.c: Likewise.
47921 * malloc/arena.c: Likewise.
47922 * malloc/set-freeres.c: Likewise.
47923 * misc/err.c: Likewise.
47924 * misc/getttyent.c: Likewise.
47925 * misc/mntent_r.c: Likewise.
47926 * posix/getopt.c: Likewise.
47927 * posix/wordexp.c: Likewise.
47928 * pwd/fgetpwent_r.c: Likewise.
47929 * resolv/Versions: Likewise.
47930 * resolv/res_hconf.c: Likewise.
47931 * shadow/fgetspent_r.c: Likewise.
47932 * shadow/putspent.c: Likewise.
47933 * stdio-common/printf_fphex.c: Likewise.
47934 * stdio-common/tmpfile.c: Likewise.
47935 * stdlib/abort.c: Likewise.
47936 * stdlib/fmtmsg.c: Likewise.
47937 * sunrpc/auth_unix.c: Likewise.
47938 * sunrpc/clnt_perr.c: Likewise.
47939 * sunrpc/clnt_tcp.c: Likewise.
47940 * sunrpc/clnt_udp.c: Likewise.
47941 * sunrpc/clnt_unix.c: Likewise.
47942 * sunrpc/openchild.c: Likewise.
47943 * sunrpc/svc_simple.c: Likewise.
47944 * sunrpc/svc_tcp.c: Likewise.
47945 * sunrpc/svc_udp.c: Likewise.
47946 * sunrpc/svc_unix.c: Likewise.
47947 * sunrpc/xdr.c: Likewise.
47948 * sunrpc/xdr_array.c: Likewise.
47949 * sunrpc/xdr_rec.c: Likewise.
47950 * sunrpc/xdr_ref.c: Likewise.
47951 * sunrpc/xdr_stdio.c: Likewise.
47952
1248c1c4
PB
479532011-09-09 Ulrich Drepper <drepper@gmail.com>
47954
47955 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47956
479572011-07-03 Andreas Jaeger <aj@suse.de>
47958
47959 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
47960 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
47961 regenerate with gen-libm-tests.pl.
47962
479632010-05-12 Petr Baudis <pasky@suse.cz>
47964
47965 [BZ #11589]
47966 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47967 around j0() zero points by switching to j1().
47968 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47969 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47970 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47971 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47972
f22e1074
UD
479732011-09-09 Ulrich Drepper <drepper@gmail.com>
47974
f19009c1
UD
47975 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47976 instead of 0.
47977 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 47978 instead of 0.
f19009c1
UD
47979 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47980 Patch in part by Pavel Roskin <proski@gnu.org>.
47981
3f8cc204
UD
47982 [BZ #13138]
47983 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47984 realloc.
47985 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
47986 Free memory block if necessary.
47987
f22e1074
UD
47988 [BZ #12847]
47989 * libio/genops.c (INTDEF): For string streams the _lock pointer can
47990 be NULL. Don't lock in this case.
47991
0a2349f9
RM
479922011-09-09 Roland McGrath <roland@hack.frob.com>
47993
47994 * elf/elf.h (ELFOSABI_GNU): New macro.
47995 (ELFOSABI_LINUX): Define to that.
47996
f3cdd467
DZ
479972011-07-29 Denis Zaitceff <zaitceff@gmail.com>
47998
47999 * string/strncat.c (strncat): Undef the symbol in case it has been
48000 defined in bits/string.h.
48001
74718d13
UD
480022011-09-09 Ulrich Drepper <drepper@gmail.com>
48003
633e9e0f
UD
48004 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
48005
0a2349f9 48006 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
48007 link map.
48008
f9924780
AJ
480092011-08-17 Andreas Jaeger <aj@suse.de>
48010
48011 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
48012
7f5517aa
PP
480132011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
48014 Ian Lance Taylor <iant@google.com>
48015
48016 * math/libm-test.inc (lround_test): New testcase.
48017 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
48018
762011fe
UD
480192011-09-08 Ulrich Drepper <drepper@gmail.com>
48020
92963737
UD
48021 * Makefile: Remove support for automatic cvs check-ins.
48022 * Makerules: Likewise.
48023 * config.make.in: Likewise.
48024 * configure.in: Likewise.
48025 * intl/Makefile: Likewise.
48026 * locale/Makefile: Likewise.
48027 * po/Makefile: Likewise.
48028 * posix/Makefile: Likewise.
48029 * sysdeps/gnu/Makefile: Likewise.
48030 * sysdeps/mach/hurd/Makefile: Likewise.
48031 * sysdeps/sparc/sparc32/Makefile: Likewise.
48032
b0727fd8
JS
48033 [BZ #13118]
48034 * posix/Makefile (bug-regex32-ENV): Define.
48035 Patch by John Stanley <jpsinthemix@verizon.net>.
48036
a0f33f99
UD
48037 * misc/Makefile (headers): Add bits/select2.h.
48038 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
48039 * misc/bits/select2.h: New file.
48040 * include/bits/select2.h: New file.
48041 * debug/Makefile (routines): Add fdelt_chk.
48042 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
48043 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
48044 FD_ISSET.
48045 * debug/fdelt_chk.c: New file.
48046
762011fe
UD
48047 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
48048 * wcsmbs/test-wmemcmp.c: Likewise.
48049 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 48050 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
48051
480522011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48053
48054 * string/Makefile (strop-tests): Add memcmp.
48055 * string/test-wmemcmp.c: New file.
48056 * string/test-memcmp.c: Add wmemcmp support.
48057
7f513ec8
RM
480582011-09-08 Roland McGrath <roland@hack.frob.com>
48059
0442afb4
RM
48060 [BZ #13153]
48061 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
48062 2011-07-19 change.
48063
7f513ec8
RM
48064 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
48065 garbage value in a __mach_port_mod_refs call in the cases of the
48066 task-self and thread-self ports.
48067
a12b2239
ST
480682011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48069
48070 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
48071
610f9ab4
AS
480722011-09-08 Andreas Schwab <schwab@redhat.com>
48073
7f513ec8 48074 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 48075
48882a1a
LD
480762011-09-07 Ulrich Drepper <drepper@gmail.com>
48077
b49865be
UD
48078 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
48079
fdc86bc9
UD
48080 * elf/dl-libc.c (dlerror_run): Pass back error code from
48081 dl_catch_error.
48082
c966526a
UD
48083 [BZ #13123]
48084 * elf/dl-load.c (lose): Free l_origin if it is valid.
48085
48882a1a
LD
48086 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
48087 names.
48088 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
48089 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48090 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48091 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48092 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48093 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48094
77a2a8b4
AZ
480952011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48096
48097 * sysdeps/powerpc/fpu/e_hypot.c: New file.
48098 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48099 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48100 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48101 * sysdeps/powerpc/fpu/k_cosf.c: New file.
48102 * sysdeps/powerpc/fpu/k_sinf.c: New file.
48103 * sysdeps/powerpc/fpu/s_cosf.c: New file.
48104 * sysdeps/powerpc/fpu/s_sinf.c: New file.
48105 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48106 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48107
24f579d8
AM
481082011-08-15 Alan Modra <amodra@gmail.com>
48109
48110 [BZ #13092]
48111 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48112 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48113 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
48114 ppc_mcount to static-only-routines.
48115 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48116 __mcount_internal.
48117 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48118 __mcount_internal with usual JUMPTARGET. Remove useless nop.
48119
3d4837df
UD
481202011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
48121
48122 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48123 for finite and infinity parameters.
48124
22700377
WS
481252011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48126
48127 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48128 and add nop instructions for throughput optimization.
48129 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48130
5025581e
WS
481312011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
48132
48133 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48134 aligned copy for power7 with vector-scalar instructions.
48135 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48136
08a300c9
L
481372011-07-24 H.J. Lu <hongjiu.lu@intel.com>
48138
48139 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48140 AVX check.
48141
59178ef9
AS
481422011-09-07 Andreas Schwab <schwab@redhat.com>
48143
48144 [BZ #13144]
48145 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48146 last change.
48147
e38ba7ab
UD
481482011-09-07 Ulrich Drepper <drepper@gmail.com>
48149
48150 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48151 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48152 syscall wrapper around clock_gettime in __vdso_clock_gettime.
48153 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48154 clock_gettime.
48155
d53a73ac
UD
481562011-09-06 Ulrich Drepper <drepper@gmail.com>
48157
fc8bffcc
UD
48158 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48159 Forgot to demangle the pointer.
48160
ceaa0c5d
UD
48161 * sysdeps/i386/sysdep.h: Define atom_text_section.
48162 * sysdeps/x86_64/sysdep.h: Likewise.
48163 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48164 section with atom_text_section.
48165 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48166 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48167 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48168 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48169 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48170
a77d3c17
UD
48171 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48172 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48173 already be defined. Change to take two parameters and don't assign
48174 result to variable. Adjust all users.
48175 Define INTERNAL_GETTIME if not already defined.
48176 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48177 call.
48178 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48179 HAVE_CLOCK_GETTIME_VSYSCALL.
48180 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48181
d53a73ac
UD
48182 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48183 gettimeofday vsyscall, just use time.
48184
a8f84144
AS
481852011-09-06 Andreas Schwab <schwab@redhat.com>
48186
48187 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48188 <errno.h>.
48189
ef606249
UD
481902011-09-06 Ulrich Drepper <drepper@gmail.com>
48191
48192 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48193 syscall on x86-64.
48194 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48195 syscall.
48196 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48197 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48198 syscall if possible.
48199
6585cb60
UD
482002011-09-05 Ulrich Drepper <drepper@gmail.com>
48201
48202 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48203 e_ident. Don't pass to find_mapsXX.
48204 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48205
a5f524e4
LD
482062011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48207
48208 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48209 strchr-sse2-no-bsf strrchr-sse2-no-bsf
48210 * sysdeps/x86_64/multiarch/strchr.S: Update.
48211 Check bit_slow_BSF bit.
48212 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48213 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48214 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48215
554881ef
UD
482162011-09-05 Ulrich Drepper <drepper@gmail.com>
48217
d96de963
UD
48218 [BZ #13134]
48219 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48220 before glibc 2.15.
48221 (tryshell): Define.
48222 (__spawni): Change last parameter to be flag. Test
48223 SPAWN_XFLAGS_USE_PATH flag to use path or not.
48224 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48225 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48226 * posix/spawni.c: Likewise.
48227 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48228 * posix/spawnp.c: Likewise. Change normal version to use
48229 SPAWN_XFLAGS_USE_PATH.
48230 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48231 SPAWN_XFLAGS_TRY_SHELL.
48232
d48e5868
UD
48233 [BZ #13150]
48234 * posix/glob.h: Remove gcc 1.x support.
48235
554881ef
UD
48236 [BZ #13068]
48237 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48238
693fb948
LD
482392011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48240
48241 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48242 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48243 strrchr-sse2-bsf
48244 * sysdeps/i386/i686/multiarch/strchr.S: New file.
48245 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48246 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48247 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48248 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48249 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48250
1b48c537
UD
482512011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48252
49d42c37
UD
48253 * sysdeps/x86_64/wcscmp.S: New file.
48254
1b48c537
UD
48255 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48256 wcscmp-c wcscmp-sse2
48257 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48258 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48259 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48260 * wcsmbs/wcscmp.c: Allow renaming.
48261
15c95c5d
DM
482622011-09-05 David S. Miller <davem@davemloft.net>
48263
48264 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48265 stack slot, rather than the struct return pointer slot.
48266 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48267 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48269 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48270
2f0ad8f3
UD
482712011-09-05 Ulrich Drepper <drepper@gmail.com>
48272
d88ae418
UD
48273 * po/ja.po: Update from translation team.
48274
2f0ad8f3
UD
48275 [BZ #13144]
48276 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48277 kernel in 64-bit binaries.
48278
5f4318d1
DM
482792011-09-01 David S. Miller <davem@davemloft.net>
48280
48281 * elf/elf.h (HWCAP_SPARC_*): Move to..
48282 * sysdeps/sparc/sysdep.h: this new file and add new values.
48283 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48284 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48285 _DL_HWCAP_COUNT to 24.
48286 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48287 entries.
48288 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48289 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48290 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48291 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48292 instead of magic constants.
48293 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48294
3ba57516
DM
482952011-08-31 David S. Miller <davem@davemloft.net>
48296
48297 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48298 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48299 Reimplement to do errno handling inline.
48300 (SYSCALL_ERROR_HANDLER): New macro.
48301 (__SYSCALL_STRING): Do not do errno handling in asm.
48302 (__CLONE_SYSCALL_STRING): Delete.
48303 (__INTERNAL_SYSCALL_STRING): Delete.
48304 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48305 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48306 (PSEUDO): Reimplement to do errno handling inline.
48307 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48308 (SYSCALL_ERROR_HANDLER): New macro.
48309 (__SYSCALL_STRING): Do not do errno handling in asm.
48310 (__CLONE_SYSCALL_STRING): Delete.
48311 (__INTERNAL_SYSCALL_STRING): Delete.
48312 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48313 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48314 i386.
48315 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48316 (inline_syscall*): Add 'err' argument.
48317 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48318 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48319 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48320 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48321
48322 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48323 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48324
2bc17433
AS
483252011-08-30 Andreas Schwab <schwab@redhat.com>
48326
48327 * elf/rtld.c (dl_main): Relocate objects in dependency order.
48328
fbeb5f4d
JO
483292011-08-29 Jiri Olsa <jolsa@redhat.com>
48330
48331 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48332 directive.
48333
ad69cc26
DM
483342011-08-24 David S. Miller <davem@davemloft.net>
48335
48336 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48337
39dd69df
AS
483382011-08-24 Andreas Schwab <schwab@redhat.com>
48339
48340 * elf/Makefile: Add rules to build and run unload8 test.
48341 * elf/unload8.c: New file.
48342 * elf/unload8mod1.c: New file.
48343 * elf/unload8mod1x.c: New file.
48344 * elf/unload8mod2.c: New file.
48345 * elf/unload8mod3.c: New file.
48346
48347 * elf/dl-close.c (_dl_close_worker): Reset private search list if
48348 it wasn't used.
48349
2c0b250a
DM
483502011-08-23 David S. Miller <davem@davemloft.net>
48351
48352 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48353 subtract stack bias.
48354 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48355 %sp not %fp in calculations.
48356 (_JMPBUF_UNWINDS_ADJ): Likewise.
48357
22044b48
DM
48358 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48359 (aio_suspend): Call it to force an exception region around the
48360 AIO_MISC_WAIT() invocation.
48361
2cae4995
AS
483622011-08-23 Andreas Schwab <schwab@redhat.com>
48363
48364 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48365 backslash.
48366
873a772e
AJ
483672011-07-04 Aurelien Jarno <aurelien@aurel32.net>
48368
48369 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48370 protection macro.
48371 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48372 and <dl-machine.h>.
48373 (Elf64_FuncDesc): Remove.
48374
25ad0df1
DM
483752011-08-22 David S. Miller <davem@davemloft.net>
48376
48377 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48378 sigaltstack check, add missing cfi directives.
48379 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48380 missing cfi directives, and sigaltstack handling.
48381
e888bcbe
AS
483822011-08-16 Andreas Schwab <schwab@redhat.com>
48383
48384 [BZ #11724]
48385 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48386 object is seen twice.
48387 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48388
48389 * elf/Makefile (distribute): Add tst-initorder2.c.
48390 (tests): Add tst-initorder2.
48391 (modules-names): Add tst-initorder2a tst-initorder2b
48392 tst-initorder2c tst-initorder2d. Add rules to build them.
48393 ($(objpfx)tst-initorder2.out): New rule.
48394 * elf/tst-initorder2.c: New file.
48395 * elf/tst-initorder2.exp: New file.
48396
87162f46
AS
483972011-08-22 Andreas Schwab <schwab@redhat.com>
48398
70538b7f
AS
48399 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48400
f55ffe58
AS
48401 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48402 dependencies back to end of function.
48403
87162f46
AS
48404 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48405 $(elfobjdir)/ld.so.
48406
91b392a4
UD
484072011-08-21 Ulrich Drepper <drepper@gmail.com>
48408
48409 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48410 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48411 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48412 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48413 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48414 of __vdso_gettimeofday.
48415 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48416 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48417 attribute_hidden.
48418 (_libc_vdso_platform_setup): Remove initialization of
48419 __vdso_gettimeofday and __vdso_time.
48420
5c43483f
UD
484212011-08-20 Ulrich Drepper <drepper@gmail.com>
48422
775a77e7
UD
48423 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48424 and fgetc_unlocked.
48425 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48426 getc_unlocked.
89f447ed 48427
49c74ba9
UD
48428 * elf/dl-open.c (add_to_global): Report additions to the global scope
48429 for LD_DEBUG=scopes.
48430 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 48431 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 48432
5c43483f
UD
48433 [BZ #13114]
48434 * stdio-common/Makefile (tests): Add bug24.
48435 * stdio-common/bug24.c: New file.
48436
a101b025
AJ
484372011-08-19 Andreas Jaeger <aj@suse.de>
48438
48439 [BZ #13114]
48440 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48441 non-existant file when using close-on-exec mode.
48442
c88f1766
UD
484432011-08-20 Ulrich Drepper <drepper@gmail.com>
48444
0276a718
UD
48445 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48446 the very first instruction.
48447
c88f1766
UD
48448 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48449 the CFI state in the end.
48450 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48451 inclusion of dl-trampoline.h.
48452 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48453
51ccffa0
AS
484542011-08-19 Andreas Schwab <schwab@redhat.com>
48455
94d7165f
AS
48456 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48457 expectations for long double.
48458
51ccffa0
AS
48459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48460 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48461
fd708658 484622011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
48463
48464 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48465 artificual limit depends upon the system page size.
48466
44f0a71e
UD
484672011-08-17 Ulrich Drepper <drepper@gmail.com>
48468
48469 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48470 * resolv/Makefile: Define CFLAGS-libresolv.
48471
8de79a24
AS
484722011-08-17 Andreas Schwab <schwab@redhat.com>
48473
48474 * nss/makedb.c (compute_tables): Make variables used in nested
48475 function static.
48476
27724598
UD
484772011-08-17 Ulrich Drepper <drepper@gmail.com>
48478
c5305d88
UD
48479 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48480 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48481 if buffer was too small.
48482
27724598
UD
48483 * elf/pldd.c (main): Attach to all threads in the process.
48484 Rewrite /proc handling to use *at functions.
48485
076fe015
UD
484862011-08-16 Ulrich Drepper <drepper@gmail.com>
48487
174baab3
UD
48488 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48489 specifies first scope to show.
48490 (dl_open_worker): Update callers. Move printing scope of new
48491 object to before the relocation.
44f0a71e 48492 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
48493 * sysdeps/generic/ldsodefs.h: Update declaration.
48494
076fe015
UD
48495 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48496 string for the scope number.
48497
a60df2c3
UD
484982011-08-14 Ulrich Drepper <drepper@gmail.com>
48499
48500 * nscd/servicescache.c (cache_addserv): Make sure written is always
48501 initialized.
48502
5e4287d1
RM
485032011-08-14 Roland McGrath <roland@hack.frob.com>
48504
85ae0589
RM
48505 * sysdeps/i386/i486/bits/atomic.h
48506 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48507 statement expression, so as to suppress "set but not used" warning.
48508 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48509
69f63097
RM
48510 * string/strncat.c (STRNCAT): Use prototype definition.
48511
675456ef
RM
48512 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48513 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48514 -Iprograms here.
48515 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48516 (localedef-modules): Add localedef.
48517 (locale-modules): Add locale.
48518
5e4287d1
RM
48519 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48520 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48521 to avoid a warning.
48522
9c96ff23
DM
485232011-08-14 David S. Miller <davem@davemloft.net>
48524
48525 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48526 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48527
f9ddf089
UD
485282011-08-13 Ulrich Drepper <drepper@gmail.com>
48529
44f0a71e 48530 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
48531 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48532 * elf/rtld.c (dl_main): Set l_name of vDSO.
48533 Call _dl_show_scope when DL_DEBUG_SCOPES.
48534 (process_dl_debug): Recognize scopes flag and also set it for all.
48535 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48536 Declare _dl_show_scope.
48537
1dc27704
UD
48538 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48539 (do_dlopen): Pass caller_dlopen to dl_open.
48540 (__libc_dlopen_mode): Initialize caller_dlopen.
48541
f9ddf089
UD
48542 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48543 of libc. Make tolower call locale-independent. Optimize a bit by
48544 using isdigit instead of isalnum.
48545 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48546
9ac533d3
UD
485472011-08-12 Ulrich Drepper <drepper@gmail.com>
48548
48549 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48550 was a dependency or dynamically loaded.
48551
89edf2e9
UD
485522011-08-11 Ulrich Drepper <drepper@gmail.com>
48553
8e999d29
UD
48554 * intl/l10nflist.c: Allow architecture-specific pop function.
48555 * sysdeps/x86_64/l10nflist.c: New file.
48556
89edf2e9
UD
48557 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48558 classification.
48559
14d96785
AS
485602011-08-10 Andreas Schwab <schwab@redhat.com>
48561
48562 * include/dirent.h: Add libc_hidden_proto for scandirat and
48563 scandirat64. Don't declare __scandirat64.
48564 * dirent/scandirat.c: Add libc_hidden_def.
48565 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48566 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48567
6761ac04
DM
485682011-08-10 David S. Miller <davem@davemloft.net>
48569
48570 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48571 enum.
48572 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48573 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48574 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48575
c55fbd1e
UD
485762011-08-09 Ulrich Drepper <drepper@gmail.com>
48577
48578 * Versions.def [libc]: Add GLIBC_2.15.
48579 * dirent/Makefile (routines): Add scandirat and scandirat64.
48580 * dirent/Versions [libc]: Export scandirat and scandirat64 for
48581 GLIBC_2.15.
48582 * dirent/dirent.h: Declare scandirat and scandirat64.
48583 * dirent/scandirat.c: New file.
48584 * dirent/scandirat64.c: New file.
48585 * sysdeps/wordsize-64/scandirat.c: New file.
48586 * sysdeps/wordsize-64/scandirat64.c: New file.
48587 * dirent/opendir.c: Define opendirat.
48588 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
48589 using scandirat.
48590 * dirent/scandir64.c: Adjust for scandir.c change.
48591 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
48592 __scandirat64, and __scandir_cancel_handler.
48593 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
48594 additional parameter and use openat instead of open (outside of ld.so).
48595 Add new __opendir as wrapper around __opendirat.
48596 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48597 here without requiring old scandirat implementation.
48598
879165f2
UD
485992011-08-08 Ulrich Drepper <drepper@gmail.com>
48600
48601 * dirent/scandir.c (cancel_handler): Renamed to
48602 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
48603 defined. Adjust users.
48604 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48605 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48606
cb7e923b
UD
486072011-08-04 Ulrich Drepper <drepper@gmail.com>
48608
16292edd
UD
48609 * string/test-string.h (IMPL): Use __STRING to expand name and then
48610 stringify it.
48611
cb7e923b
UD
48612 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
48613 of cleanups.
48614
cff82933
LD
486152011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48616
48617 * string/Makefile: Update.
48618 (strop-tests): Append strncat.
48619 * string/test-wcscmp.c: New file.
48620 New comprehensive test for wcscmp.
48621 * string/test-strcmp.c: Update.
48622 (WIDE): New define.
48623
9be9bfcc
AS
486242011-07-22 Andreas Schwab <schwab@redhat.com>
48625
48626 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48627 line.
48628
2e96f1c7
AS
486292011-07-26 Andreas Schwab <schwab@redhat.com>
48630
48631 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48632 encoding to ACE if AI_IDN.
48633
85188888
JJ
486342011-08-01 Jakub Jelinek <jakub@redhat.com>
48635
48636 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48637 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48638
5fa16e9b
LD
486392011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48640
48641 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48642 Fix overflow bug in strncat.
48643 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48644
48645 * string/test-strncat.c: Update.
48646 Add new tests for checking overflow bugs.
48647
486482011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48649
48650 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48651 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48652 * sysdeps/i386/i686/multiarch/strcat.S: New file.
48653 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48654 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48655 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48656 * sysdeps/i386/i686/multiarch/strncat.S: New file.
48657 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48658 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48659
48660 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48661 (USE_AS_STRCAT): Define.
48662 Add strcat and strncat support.
48663 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48664
8c1a459f
AS
486652011-07-25 Andreas Schwab <schwab@redhat.com>
48666
48667 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48668 __n bigger than INT_MAX+1.
48669 (__strncmp_g): Likewise.
48670
bba33c28
UD
486712011-07-23 Ulrich Drepper <drepper@gmail.com>
48672
798be72d
UD
48673 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48674 * libio/stido.h: Likewise.
48675
8accd4dc
UD
48676 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48677 (AF_NFC): Define.
48678 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48679 (AF_NFC): Define.
48680
cbff0d96
UD
48681 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48682 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48683 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48684 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48685 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48686
9191c04a
UD
48687 [BZ #13021]
48688 * scripts/test-installation.pl: Don't expect libnss_test1 to be
48689 installed.
48690
bba33c28
UD
48691 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48692 typo.
48693 (_dl_x86_64_save_sse): Likewise.
48694
90f139dd
UD
486952011-07-22 Ulrich Drepper <drepper@gmail.com>
48696
1aae088a
UD
48697 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48698 OSXSAVE.
48699 (_dl_x86_64_save_sse): Likewise.
48700
8e2045f5
UD
48701 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48702
90f139dd
UD
48703 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48704
1d002f25
AS
487052011-07-21 Andreas Schwab <schwab@redhat.com>
48706
48707 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48708 change.
48709 (_dl_x86_64_save_sse): Use correct AVX check.
48710
21137f89
UD
487112011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48712
48713 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48714 bug in strncpy/strncat.
48715 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48716
a65c0b7a
UD
487172011-07-21 Ulrich Drepper <drepper@gmail.com>
48718
48719 * string/tester.c (test_strcat): Add tests for different alignments
48720 of source and destination.
48721 (test_strncat): Likewise.
48722
6986b98a
UD
487232011-07-20 Ulrich Drepper <drepper@gmail.com>
48724
90bb2039
UD
48725 [BZ #12852]
48726 * posix/glob.c (glob): Check passed in values before using them in
48727 expressions to avoid some overflows.
48728 (glob_in_dir): Likewise.
48729
5644ef54
UD
48730 [BZ #13007]
48731 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48732 check for AVX enablement so that we don't crash with old kernels and
48733 new hardware.
48734 * elf/tst-audit4.c: Add same checks here.
48735 * elf/tst-audit6.c: Likewise.
48736
48737 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 48738
bfc9dc9b
AS
487392011-07-09 Andreas Schwab <schwab@linux-m68k.org>
48740
48741 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48742
702e64bb
UD
487432011-07-20 Ulrich Drepper <drepper@gmail.com>
48744
48745 * po/cs.po: Update from translation team.
48746 * po/bg.po: Likewise.
48747
295e904f
MP
487482011-07-12 Marek Polacek <mpolacek@redhat.com>
48749
48750 * misc/sys/cdefs.h: Add support for const attribute.
48751 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48752 to gnu_dev_{major,minor,makedev} functions.
48753
3ff94596
MP
487542011-07-20 Marek Polacek <mpolacek@redhat.com>
48755
48756 * intl/dcigettext.c (get_output_charset): Add missing bracket.
48757
28b59fca
AS
487582011-07-20 Andreas Schwab <schwab@redhat.com>
48759
48760 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48761 strlen results.
48762
19df733e
AK
487632011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48764
48765 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48766 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48767 register in order to avoid conflicts with the soft frame pointer
48768 being held in r11 when necessary.
48769 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48770 (INTERNAL_VSYSCALL_NCS): Likewise.
48771
c8835729
MP
487722011-07-14 Marek Polacek <mpolacek@redhat.com>
48773
48774 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48775 * elf/dl-fini.c (_dl_fini): Adjust caller.
48776 * elf/dl-close.c (_dl_close_worker): Likewise.
48777 * sysdeps/generic/ldsodefs.h: Adjust declaration.
48778
b902330c
MP
487792011-07-15 Marek Polacek <mpolacek@redhat.com>
48780
8991e135
MP
48781 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48782 "aux_cache->nlibs < 0".
48783
b902330c
MP
48784 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48785 in the reload-count case.
48786
99710781
LD
487872011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48788
48789 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48790 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48791 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48792 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48793 * sysdeps/x86_64/multiarch/strcat.S: New file.
48794 * sysdeps/x86_64/multiarch/strncat.S: New file.
48795 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48796 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48797 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48798 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48799 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48800 (USE_AS_STRCAT): Define.
48801 Add strcat and strncat support.
48802 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48803 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48804 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48805 * string/strncat.c: Update.
48806 (USE_AS_STRNCAT): Define.
48807 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48808 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48809 and i7.
48810 * sysdeps/x86_64/multiarch/init-arch.h
48811 (bit_Prefer_PMINUB_for_stringop): New.
48812 (index_Prefer_PMINUB_for_stringop): Likewise.
48813 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48814 bit_Prefer_PMINUB_for_stringop.
48815
7dc6bd90
UD
488162011-07-19 Ulrich Drepper <drepper@gmail.com>
48817
48818 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48819 buffer64.
48820 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48821 of casting of buffer.
48822 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48823 buffer32 and buffer64.
48824 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48825 writes instead of casting of buffer.
48826 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48827 buffer32.
48828 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48829 casting of buffer.
48830
e0e72284
AS
488312011-07-19 Andreas Schwab <schwab@redhat.com>
48832
48833 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48834
feb1eb0b
UD
488352011-07-19 Ulrich Drepper <drepper@gmail.com>
48836
48837 * nscd/nscd.c (termination_handler): Don't do anything for a database
48838 if it has not yet been initialized.
48839
298711ff
UD
488402011-07-18 Ulrich Drepper <drepper@gmail.com>
48841
48842 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48843
488442011-07-15 Marek Polacek <mpolacek@redhat.com>
48845
48846 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48847
f9d68389
UD
488482011-07-18 Ulrich Drepper <drepper@gmail.com>
48849
48850 * po/nl.po: Update from translation team.
48851 * po/sv.po: Likewise.
48852
db290cf5
RM
488532011-07-16 Roland McGrath <roland@hack.frob.com>
48854
48855 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48856 now disallowed by GCC.
5c550700 48857
fd5e21c7
RM
48858 * configure.in (use-default-link): Default to yes if a test -shared
48859 link meets our qualifications.
48860 * configure: Regenerated.
48861
5c550700
RM
48862 * config.make.in (output-format): New variable.
48863 * configure.in: Check for ld --print-output-format support.
48864 * configure: Regenerated.
48865 * Makerules ($(common-objpfx)format.lds)
48866 [$(output-format) != unknown]: Just use $(output-format),
48867 instead of the linker-script munging.
48868
9fa2c032
RM
488692011-07-14 Roland McGrath <roland@hack.frob.com>
48870
a6928d51
RM
48871 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48872 of $(common-objpfx)shlib.lds.
48873 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48874
661607b3
RM
48875 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48876 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48877
9fa2c032
RM
48878 * configure.in (-z relro check): Adjust test code to add a large
48879 writable data section after it.
48880 * configure: Regenerated.
48881
defe9061
RM
488822011-07-11 Roland McGrath <roland@hack.frob.com>
48883
48884 * configure.in (-z relro check): Fix test code to make the variable
48885 truly const.
48886 * configure: Regenerated.
48887
319b9ad4
UD
488882011-07-11 Ulrich Drepper <drepper@gmail.com>
48889
48890 * nscd/nscd.h (struct traced_file): Define.
48891 (struct database_dyn): Remove inotify_descr, reset_res, and filename
48892 elements. Add traced_files.
48893 (inotify_fd): Declare.
48894 (register_traced_file): Declare.
48895 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48896 (inotify_fd): Export.
48897 (resolv_conf_descr): Remove.
48898 (nscd_init): Move inotify descriptor creation to main.
48899 Don't register files for notification here.
48900 (register_traced_file): New function.
48901 (invalidate_cache): Don't use reset_res to determine whether to call
48902 res_init, go through the list of registered files.
48903 (main_loop_poll): The inotify descriptors are now stored in the
48904 structures for the traced files.
48905 (main_loop_epoll): Likewise
48906 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
48907 to __nss_disable_nscd.
48908 * nscd/cache.c (prune_cache): There is no single inotify descriptor
48909 for a database anymore. Check the records for all the registered
48910 files instead.
48911 * nss/Makefile (libnss_files-routines): Add files-init.
48912 (libnss_db-routines): Add db-init.
48913 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48914 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48915 * nss/nss_db/db-init.c: New file.
48916 * nss/nss_files/files-init.c: New file.
48917 * nss/nsswitch.c (nss_load_library): New function. Broken out of
48918 __nss_lookup_function.
48919 (__nss_lookup_function): Call nss_load_library.
48920 (nss_load_all_libraries): New function.
48921 (__nss_disable_nscd): Take parameter with callback function for files
48922 to register. Set is_nscd. Load all the DSOs for the NSS modules
48923 used for the cached services.
48924 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48925 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48926 options for features to all the files in nscd.
48927
48928 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48929
23bee3e8
RM
489302011-07-10 Roland McGrath <roland@hack.frob.com>
48931
48932 * csu/elf-init.c (__libc_csu_init): Comment typo.
48933
46a5b7f0
UD
489342011-07-09 Ulrich Drepper <drepper@gmail.com>
48935
48936 * po/pl.po: Update from translation team.
48937 * po/ja.po: Likewise.
48938 * po/ru.po: Likewise.
48939 * po/ko.po: Likewise.
48940 * po/fr.po: Likewise.
48941
d30cf5bb
RM
489422011-07-09 Roland McGrath <roland@hack.frob.com>
48943
113ddea4
RM
48944 * configure.in (.ctors/.dtors header and trailer check):
48945 Use an empirical test on a built program.
48946 * configure: Regenerated.
48947
574920b4
RM
48948 * configure.in (-z relro check): Use an empirical test on a built DSO.
48949 Detect, but do not require, on ia64.
48950 * configure: Regenerated.
48951
d30cf5bb
RM
48952 * configure.in (READELF): Find it with AC_CHECK_TOOL.
48953 Update tests that use readelf to use $READELF instead.
48954 * configure: Regenerated.
48955
8538fdb3
UD
489562011-07-08 Ulrich Drepper <drepper@gmail.com>
48957
48958 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
48959 if the result is not used.
48960
04d08991
AJ
489612011-07-05 Andreas Jaeger <aj@suse.de>
48962
48963 [BZ#9696]
48964 * stdlib/tst-strtod.c: Add testcase.
48965
de283087
AD
489662011-07-07 Ulrich Drepper <drepper@gmail.com>
48967
4e5f31c8 48968 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 48969 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
48970 The latter has a higher limit. Take additional parameter to pass to
48971 the new function.
48972 (__pathconf): Pass file to __statfs_link_max.
48973 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48974 __statfs_link_max.
48975 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48976 __statfs_link_max.
48977
de283087
AD
48978 [BZ #12868]
48979 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48980 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48981 Handle Lustre.
48982 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48983 (__statfs_filesize_max): Likewise.
48984 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48985
c75fa153
AJ
489862011-07-05 Andreas Jaeger <aj@suse.de>
48987
48988 * resolv/res_comp.c (dn_skipname): Remove unused variable.
48989
1a544854
UD
489902011-07-06 Marek Polacek <mpolacek@redhat.com>
48991
48992 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48993 `status' variable.
48994 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48995 Likewise.
48996
6f0eec67
UD
489972011-07-04 H.J. Lu <hongjiu.lu@intel.com>
48998
48999 * Makefile (strop-tests): Add strncat.
49000 * string/test-strncat.c: New file.
49001
aae30307
UD
490022011-06-30 Marek Polacek <mpolacek@redhat.com>
49003
49004 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
49005
c0cfb5eb
UD
490062011-06-21 Andreas Jaeger <aj@suse.de>
49007
49008 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
49009 Copy rule from iconvdata/Makefile.
49010
01636b21
UD
490112011-07-06 Ulrich Drepper <drepper@gmail.com>
49012
49013 [BZ #12922]
49014 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
49015 but no long options are defined, just return 'W'.
49016
9895c8bc
UD
490172011-06-22 Marek Polacek <mpolacek@redhat.com>
49018
49019 [BZ #9696]
49020 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
49021
5d4cf042
UD
490222011-07-06 Ulrich Drepper <drepper@gmail.com>
49023
49024 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
49025 netgroups to read.
960e5535 49026 (innetgr): Likewise.
5d4cf042 49027
751eb97e
RM
490282011-07-05 Roland McGrath <roland@hack.frob.com>
49029
49030 * config.make.in (install_root): Default to $(DESTDIR).
49031
f15f1e45
UD
490322011-07-05 Ulrich Drepper <drepper@gmail.com>
49033
49034 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
49035
4e34ac6a
RM
490362011-07-02 Roland McGrath <roland@hack.frob.com>
49037
5e9b6af4
RM
49038 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
49039
84f9ea0f
RM
49040 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
49041 containing directory rather than embedding absolute directory names.
49042
ea5ee9f7
RM
49043 * scripts/check-local-headers.sh: Rewritten using awk.
49044 Match by word, not by line. Print error messages for matches.
49045 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
49046
1b74661a
RM
49047 * Makerules [shlib-lds-flags empty]:
49048 ($(common-objpfx)libc_pic.opts): New target.
49049 ($(common-objpfx)libc_pic.os.clean): New target.
49050 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
49051
49052 * config.make.in (OBJCOPY): New variable.
49053 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
49054 * configure: Regenerated.
49055
f781ef40
RM
49056 * config.make.in (use-default-link): New variable.
49057 * configure.in (use_default_link): Grok --with-default-link to set it.
49058 * configure: Regenerated.
49059 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
49060 (shlib-lds, shlib-lds-flags): Define to empty.
49061
2d4fa81e
RM
49062 * Makerules (shlib-lds): New variable.
49063 (shlib-lds-flags): New variable.
49064 (build-shlib, build-moduile, build-module-asneeded): Use it.
49065 ($(common-objpfx)libc.so): Use $(shlib-lds).
49066 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
49067 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
49068
31fffa6b
RM
49069 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
49070 DT_FLAGS/DT_FLAGS_1 with zero flags.
49071
4e34ac6a
RM
49072 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
49073 linker script munging.
49074
fcfc776b
UD
490752011-07-02 Ulrich Drepper <drepper@gmail.com>
49076
49077 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
49078 as 128-bit value.
49079 * crypt/sha512.c (sha512_process_block): Perform total addition using
49080 128-bit if possible.
49081 (__sha512_finish_ctx): Likewise.
49082 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
49083 as 64-bit value.
49084 * crypt/sha256.c (SWAP64): Define.
49085 (sha256_process_block): Perform total addition using 64-bit if
49086 possible.
49087 (__sha256_finish_ctx): Likewise.
49088
99231d9a
UD
490892011-07-01 Ulrich Drepper <drepper@gmail.com>
49090
49091 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
49092 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49093 * nscd/hstcache.c (cache_addhst): Likewise.
49094 * nscd/grpcache.c (cache_addgr): Likewise.
49095 * nscd/aicache.c (addhstaiX): Likewise
49096 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49097
445b4a53
TK
490982011-07-01 Thorsten Kukuk <kukuk@suse.de>
49099
49100 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49101 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49102 * nscd/hstcache.c (cache_addhst): Likewise.
49103 * nscd/grpcache.c (cache_addgr): Likewise.
49104 * nscd/aicache.c (addhstaiX): Likewise
49105
6d4d8e8e
AS
491062011-07-01 Andreas Schwab <schwab@redhat.com>
49107
49108 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49109 domain only when needed.
49110
89f654c5
AS
491112011-06-30 Andreas Schwab <schwab@redhat.com>
49112
49113 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49114 is always restored.
49115
cf3b23ff
UD
491162011-06-29 Ulrich Drepper <drepper@gmail.com>
49117
49118 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49119 are re-adding the entry.
49120 * nscd/servicescache.c (cache_addserv): Likewise.
49121
751626f9
AJ
491222011-06-30 Aurelien Jarno <aurelien@aurel32.net>
49123
49124 * sysdeps/generic/dl-irel.h: fix protection against multiple
49125 inclusions.
49126 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49127
9113ea1f
UD
491282011-06-28 Ulrich Drepper <drepper@gmail.com>
49129
5c0b8d90
UD
49130 [BZ #12935]
49131 * malloc/memusage.sh: Fix quoting in message.
49132 * debug/xtrace.sh: Likewise.
49133
9113ea1f
UD
49134 * configure.in: Remove support for --experimental-malloc option, make
49135 it the default.
49136 * config.make.in: Likewise.
49137 * malloc/Makefile: Likewise.
49138
a4172181
AS
491392011-06-27 Andreas Schwab <schwab@redhat.com>
49140
49141 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49142 two-byte characters.
49143
78a7eee7
RM
491442011-06-27 Roland McGrath <roland@hack.frob.com>
49145
62bede13
RM
49146 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49147 AC_CACHE_CHECK invocation.
49148 * configure: Regenerated.
49149
78a7eee7
RM
49150 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49151
5ce33a62
UD
491522011-06-27 Ulrich Drepper <drepper@gmail.com>
49153
034807a9
UD
49154 [BZ #12350]
49155 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
49156 bit from old_res_options.
49157
4902da17
UD
49158 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49159
5ce33a62
UD
49160 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49161 value type for setfct.
49162
c2344f56
L
491632011-06-23 H.J. Lu <hongjiu.lu@intel.com>
49164
49165 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49166 __gettimeofday instead of gettimeofday.
49167
68468076
UD
491682011-06-26 Ulrich Drepper <drepper@gmail.com>
49169
49170 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49171
acb0d739
L
491722011-06-24 H.J. Lu <hongjiu.lu@intel.com>
49173
49174 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49175
49176 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49177 info.
49178
8912479f
L
491792011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49180
49181 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49182 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49183 strcpy-sse2-unaligned strncpy-sse2-unaligned
49184 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49185 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49186 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49187 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49188 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49189 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49190 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49191 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49192 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49193 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49194 (STRCPY): Support SSE2 and SSSE3 versions.
49195
d5495a11
UD
491962011-06-24 Ulrich Drepper <drepper@gmail.com>
49197
49198 [BZ #12874]
49199 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49200 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49201 kernels which artificially limit size of requests.
49202
0b1cbaae
L
492032011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49204
49205 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49206 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49207 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49208 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49209 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49210 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49211 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49212 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49213 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49214 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49215 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49216 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49217 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49218 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49219 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49220 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49221 Enable unaligned load optimization for Intel Core i3, i5 and i7
49222 processors.
49223 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49224 Define.
49225 (index_Fast_Unaligned_Load): Define.
49226 (HAS_FAST_UNALIGNED_LOAD): Define.
49227
07f494a0
MP
492282011-06-23 Marek Polacek <mpolacek@redhat.com>
49229
49230 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49231
fa3fc0fe
UD
492322011-06-22 Ulrich Drepper <drepper@gmail.com>
49233
49234 [BZ #12907]
49235 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49236 until it is clear that the information is realy needed.
49237 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49238
e12df166
AS
492392011-06-22 Andreas Schwab <schwab@redhat.com>
49240
49241 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49242
852eb34d
UD
492432011-06-22 Ulrich Drepper <drepper@gmail.com>
49244
84e2a551
UD
49245 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49246 /sys/devices/system/cpu/online if it is usable.
49247
852eb34d
UD
49248 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49249 reading the information from the /proc filesystem to once a second.
49250
6e502e19
UD
492512011-06-21 Andreas Jaeger <aj@suse.de>
49252
49253 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49254 NULL after inclusion of kernel headers.
49255
75d39ff2
UD
492562011-06-21 Ulrich Drepper <drepper@gmail.com>
49257
51f9aa6a
UD
49258 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49259 calls to internal_setent.
49260
c0244a9d
UD
49261 [BZ #12885]
49262 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49263 addresses using gethostbyname4_r ignore IPv4 addresses.
49264
c5e3c2ae
UD
49265 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49266 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
49267
75d39ff2
UD
49268 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49269
42675c6f
DM
492702011-06-20 David S. Miller <davem@davemloft.net>
49271
49272 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49273 inclusions.
49274 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49275
49276 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49277 (elf_irel): Use it.
49278 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49279 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49280 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49281 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49282 * sysdeps/x86_64/dl-irel.h: Likewise.
49283
49284 * elf/dl-runtime.c: Use elf_ifunc_invoke.
49285 * elf/dl-sym.c: Likewise.
49286
57912a71
UD
492872011-06-15 Ulrich Drepper <drepper@gmail.com>
49288
49289 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
49290 need to dereference resplen2.
49291
ee22793d
AS
492922011-06-14 Andreas Schwab <schwab@redhat.com>
49293
49294 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49295
a9e836b0
UD
492962011-06-15 Ulrich Drepper <drepper@gmail.com>
49297
77fb9117
UD
49298 * Makeconfig: Define vardbdir and inst_vardbdir.
49299 * nss/Makefile: Add rules to install db-Makefile.
49300
40c1b22c
UD
49301 * nss/nss_db/db-XXX.c: Cleanup.
49302
9f2da732
UD
49303 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49304 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49305 GLIBC_PRIVATE.
49306 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49307 * nss/makedb.c: Implement -g option to specify that value strings
49308 are generated and should not be added to table iterated over for
49309 get*ent calls.
49310 * nss/nss_db/db-initgroups.c: New file.
49311
82e9a1f7
UD
49312 * nss/getent.c: Add support for initgroups lookups through getgrouplist
49313 interface.
49314
c41af17e
UD
49315 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49316 (internal_getgrouplist): Adjust to name change.
49317 Update use_initgroups_entry if this is not the first call.
49318 * nss/databases.def: Add initgroups entry.
49319
a9e836b0
UD
49320 * nss/makedb.c (compute_tables): Check result of multiple hash table
49321 sizes to minimize maximum chain length.
49322
2666d441
UD
493232011-06-14 Ulrich Drepper <drepper@gmail.com>
49324
49325 * Versions.def: Add entry for libnss_db.
49326 * shlib-versions: Likewise.
49327 * nss/Makefile: Add rules to build libnss_db.
49328 * nss/Versions: Add libnss_db information. Organize libnss_files
49329 entries better.
49330 * nss/db-Makefile: Add gshadow support. Change rules for the new
49331 makedb progra. Some minor improvements to generate smaller files.
49332 * nss/nss_db/nss_db.h: Move NSS database header data structures to
49333 here from...
49334 * nss/makedb.c: ...here.
49335 Improve database format to be smaller and require less memory at
49336 runtime.
49337 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
49338 db anymore.
49339 * nss/nss_db/db-netgrp.c: Likewise.
49340 * nss/nss_db/db-open.c: Likewise.
49341 * nss/nss_files/flies-XXX.x: Adjust comments.
49342 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49343 * nss/nss_files/files-grp.c: Likewise.
49344 * nss/nss_files/files-hosts.c: Likewise.
49345 * nss/nss_files/files-network.c: Likewise.
49346 * nss/nss_files/files-proto.c: Likewise.
49347 * nss/nss_files/files-pwd.c: Likewise.
49348 * nss/nss_files/files-rpc.c: Likewise.
49349 * nss/nss_files/files-service.c: Likewise.
49350 * nss/nss_files/files-sgrp.c: Likewise.
49351 * nss/nss_files/files-spwd.c: Likewise.
49352 * nss/nss_db/db-alias.c: Removed.
49353 * nss/nss_db/dummy-db.h: Removed.
49354
9ee76b5a
UD
493552011-06-02 Ulrich Drepper <drepper@gmail.com>
49356
49357 * nss/makedb.c: Rewritten to not use database library.
49358 * nss/Makefile: Update to build new makedb program.
49359
c71ca1f8
AJ
493602011-06-14 Andreas Jaeger <aj@suse.de>
49361
49362 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49363 memset declaration.
49364
3154bfb8
UD
493652011-06-10 Andreas Schwab <schwab@redhat.com>
49366
49367 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49368 tmpbuf.
49369
b350afab
RM
493702011-06-10 Roland McGrath <roland@hack.frob.com>
49371
decd4e50
RM
49372 * Makerules (shlib.lds): Fail if the linker script comes out empty.
49373 * elf/Makefile ($(objpfx)ld.so): Likewise.
49374
5615eaf2
RM
49375 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49376 Don't list ld.so twice in dependencies.
49377
49378 * posix/bug-regex31.c: Include <stdlib.h>.
49379
49380 * nscd/hstcache.c (cache_addhst): Remove unused variable.
49381
49382 * nis/nss_compat/compat-spwd.c
49383 (getspent_next_nss_netgr): Remove unused variable.
49384 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49385
49386 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49387 nonmembers" output to use the right array.
49388
49389 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49390
49391 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49392
49393 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49394 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49395 * catgets/gencat.c (read_input_file): Likewise.
49396 * locale/programs/locarchive.c (enlarge_archive): Likewise.
49397
49398 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49399 variable definition inside #if's controlling its use.
49400
49401 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49402
49403 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49404
49405 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49406
49407 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49408 unreachable code.
49409
49410 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49411
b68e08db
RM
49412 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49413 * configure: Regenerated.
49414
b350afab
RM
49415 * Makerules: Revert last change.
49416 * elf/Makefile: Likewise.
49417
28368601
RM
494182011-06-09 Roland McGrath <roland@hack.frob.com>
49419
49420 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49421 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49422 (reloc-link): Likewise.
49423
11988f8f
UD
494242011-06-09 Ulrich Drepper <drepper@gmail.com>
49425
49426 * elf/Makefile: Add rules to build pldd.
49427 * elf/pldd.c: New file.
49428 * elf/pldd-xx.c: New file.
49429
e80fab37
UD
494302011-06-07 Ulrich Drepper <drepper@gmail.com>
49431
49432 * version.h: Update for 2.15 development version.
49433
9b849836
DM
494342011-06-07 David S. Miller <davem@davemloft.net>
49435
49436 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49437 ifuncs.
49438 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49439 elf_machine_lazy_rel): Likewise.
49440 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49441 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49442 elf_machine_lazy_rel): Likewise.
49443 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49444 dl_hwcap via passed in argument.
49445 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49446 Likewise.
49447
5a31b283
AK
494482011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49449
49450 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49451
069e52f8
RM
494522011-06-06 Roland McGrath <roland@hack.frob.com>
49453
49454 [BZ #12849]
49455 * manual/fdl-1.1.texi: New file, verbatim from:
49456 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49457 * manual/lgpl-2.1.texi: New file, verbatim from:
49458 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49459 * manual/Makefile (licenses): New variable, list those new file names.
49460 (texis): Use it.
49461 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49462
49463 * manual/fdl.texi: File removed.
49464 * manual/lesser.texi: File removed.
49465 * manual/libc.texinfo (Copying, Documentation License):
49466 Use new @include file names, put @appendix directive before @include.
49467
f16846a5
JJ
494682011-06-04 Jakub Jelinek <jakub@redhat.com>
49469
49470 [BZ #12841]
49471 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49472 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49473 (mq_open): Add __NTH.
49474
3d29045b
L
494752011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49476
49477 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49478 Assume Intel Core i3/i5/i7 processor if AVX is available.
49479
8c297311
UD
494802011-05-31 Ulrich Drepper <drepper@gmail.com>
49481
49482 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49483 typo.
49484
c8fc0c91
UD
494852011-05-31 Andreas Schwab <schwab@redhat.com>
49486
49487 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49488 memory. Use alloca_account. Fix memory leak when retrying.
49489
5b27a807
UD
494902011-05-31 Ulrich Drepper <drepper@gmail.com>
49491
356f8bc6
UD
49492 * version.h (RELEASE): Bump for 2.14 release.
49493 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49494
5b27a807
UD
49495 * config.make.in (RANLIB): Remove entry.
49496
01f16ab0
UD
494972011-05-30 Ulrich Drepper <drepper@gmail.com>
49498
41fce8bd
UD
49499 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49500 (libc.pot): Work around missing support for .ksh extension in xgettext.
49501
4769ae77
UD
49502 [BZ #12684]
49503 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49504 if both request failed.
49505 (send_dg): In case of server errors clear resplen or *resplen2.
49506
6b1e7d19
UD
49507 [BZ #12454]
49508 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49509 when there are multiple maps.
49510 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49511 (_dl_fini): Remove test here.
49512
01f16ab0
UD
49513 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49514
b1ebd700
UD
495152011-05-29 Ulrich Drepper <drepper@gmail.com>
49516
7ae22829
UD
49517 [BZ #12350]
49518 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49519 bit from old_res_options.
49520 (gaih_inet): Likewise.
49521
553149f6 49522 [BZ #11099]
18a84741 49523 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
49524 as signed.
49525
652ffab1
UD
49526 * resolv/res_init.c (res_setoptions): Make the code more compact.
49527
16985fd0
UD
49528 [BZ #11558]
49529 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49530 set RES_USEVC.
49531
0464f746
UD
49532 [BZ #11634]
49533 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49534
7d17596c
UD
49535 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49536
cf6bbbd7
UD
49537 [BZ #11781]
49538 * malloc/malloc.h: Declare malloc hook variables as volatile.
49539
13f1ab36
UD
49540 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49541 in last patch.
49542
b1ebd700
UD
49543 [BZ #11799]
49544 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 49545 raise in the comment.
80e2212d
UD
49546 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49547 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49548 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 49549
ce67228d
UD
495502011-05-28 Ulrich Drepper <drepper@gmail.com>
49551
8887a920
UD
49552 [BZ #12811]
49553 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49554 grow the buffers more if it already has to be sufficient.
49555 (build_wcs_upper_buffer): Likewise.
49556 * posix/regexec.c (check_matching): Likewise.
49557 (clean_state_log_if_needed): Likewise.
49558 (extend_buffers): Don't enlarge buffers beyond size of the input
49559 buffer.
49560 Patches mostly by Emil Wojak <emil@wojak.eu>.
49561 * posix/bug-regex32.c: New file.
49562 * posix/Makefile (tests): Add bug-regex32.
49563
4f031072
UD
49564 * locale/findlocale.c (_nl_find_locale): Return right away if
49565 _nl_explode_name failed.
49566 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49567
d0478f0c
UD
49568 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49569
de81b246
UD
49570 * debug/xtrace.sh: Unify messages.
49571 * malloc/memusage.sh: Likewise.
49572
c738465a
UD
49573 [BZ #12813]
49574 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49575 time symbol from vDSO. Substitute with vsyscall if not available.
49576 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49577 __vdso_time.
49578
f1f929d7
UD
49579 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49580 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49581 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49582 Add sendmmsg and internal_sendmmsg.
49583 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49584 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49585 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49586
ce67228d
UD
49587 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49588 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49589 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49590
e57420c6
UD
495912011-05-27 Ulrich Drepper <drepper@gmail.com>
49592
a8509ca5
UD
49593 [BZ #12813]
49594 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49595 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
49596 available.
49597 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49598 __vdso_getcpu.
49599
e57420c6
UD
49600 [BZ #12814]
49601 * iconvdata/Makefile (tests): Add bug-iconv9.
49602 * iconvdata/bug-iconv9.c: New file.
49603
4d07db15
AS
496042011-05-27 Andreas Schwab <schwab@redhat.com>
49605
49606 [BZ #12814]
49607 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49608
ea486f69
JJ
496092011-05-25 Jakub Jelinek <jakub@redhat.com>
49610
49611 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49612 (struct user_regs_struct): Change intcs field back to cs.
49613
6f038433
UD
496142011-05-25 Ulrich Drepper <drepper@gmail.com>
49615
49616 * po/ja.po: Update from translation team.
49617
67f86a25
UD
496182011-05-23 Ulrich Drepper <drepper@gmail.com>
49619
49620 [BZ #12795]
49621 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49622 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49623
def7fbd6
AS
496242011-05-20 Andreas Schwab <schwab@redhat.com>
49625
49626 * stdlib/longlong.h: Update from GCC.
49627
f50ef8f1
AS
496282011-05-23 Andreas Schwab <schwab@redhat.com>
49629
49630 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49631 parameter name.
49632 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49633 Add parameter name.
49634 (__sysconf): Pass it down.
49635
de7ce8f1
UD
496362011-05-22 Ulrich Drepper <drepper@gmail.com>
49637
f2962a71
UD
49638 [BZ #12671]
49639 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49640 some situations.
49641 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49642 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49643 add in in __libc_use_alloca calls. Adjust callers.
49644 (glob): Use malloc in some situations.
49645
de7ce8f1
UD
49646 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49647 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49648 pltexit.
49649
aec84f53
UD
496502011-05-21 Ulrich Drepper <drepper@gmail.com>
49651
05bb4a68
UD
49652 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49653 and CLOCK_BOOTTIME_ALARM.
49654
7ea72f99
UD
49655 [BZ #12782]
49656 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49657 is returned.
49658
7e4afad5
UD
49659 * string/_strerror.c (__strerror_r): Print negative errors as signed
49660 numbers.
49661
8e211fec
UD
49662 [BZ #12777]
49663 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49664 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49665 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49666
f7d82dc9
UD
49667 * configure.in: Fix typo in redirection and correct removal of test
49668 files in two cases.
49669
cc9e536d
UD
49670 [BZ #12788]
49671 * locale/setlocale.c (new_composite_name): Fix test to check for
49672 identical name of all categories.
49673
aec84f53
UD
49674 [BZ #12792]
49675 * libio/filedoalloc.c (local_isatty): New function.
49676 (_IO_file_doallocate): Use local_isatty.
49677 * stdio-common/perror.c (perror): In case a new stream is used
49678 forward the stream error.
49679 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49680 error flag.
49681
78e64fdc
RT
496822011-05-20 Ulrich Drepper <drepper@gmail.com>
49683
34a9094f
UD
49684 [BZ #11869]
49685 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49686 alloca.
49687 * include/alloca.h (extend_alloca_account): Define.
49688
78e64fdc
RT
49689 [BZ #11857]
49690 * posix/regex.h: Fix comments with documentation of user-accessible
49691 fields after compilation and describe correct free'ing of pattern
49692 after re_compile_pattern.
49693 Patch by Reuben Thomas <rrt@sc3d.org>.
49694
457bddfc
RA
496952011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
49696
49697 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49698 and -mno-altivec to prevent the compiler from using Altivec and/or
49699 VSX instructions when the corresponding registers are not available.
49700
a4527b51
AS
497012011-05-19 Andreas Schwab <schwab@redhat.com>
49702
49703 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49704
ed690b2f
UD
497052011-05-19 Ulrich Drepper <drepper@gmail.com>
49706
49707 * libio/freopen.c (freopen): Use __dup2, not dup2.
49708 * libio/freopen64.c (freopen64): Likewise.
49709
8db73634
L
497102011-05-17 H.J. Lu <hongjiu.lu@intel.com>
49711
49712 [BZ #12775]
49713 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49714 * math/Makefile (tests): Add test-powl.
49715 (CFLAGS-test-powl.c): Define.
49716 * math/test-powl.c: New file.
49717
0a197a9d
L
497182011-05-16 H.J. Lu <hongjiu.lu@intel.com>
49719
49720 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49721
ee30c380
UD
497222011-05-17 Ulrich Drepper <drepper@gmail.com>
49723
49724 [BZ #11837]
49725 * iconvdata/gb18030.c: Update to GB18020-2005.
49726
6ce75379
UD
497272011-05-16 Ulrich Drepper <drepper@gmail.com>
49728
a4b89fd8
AR
49729 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49730 RE_SYNTAX_POSIX_AWK): Update to match recent development.
49731 Patch by Aharon Robbins <arnold@skeeve.com>.
49732
ea389b12
UD
49733 [BZ #11892]
49734 * stdlib/putenv.c (putenv): Don't always create copy of the variable
49735 on the stack.
49736
68a3f91f
UD
49737 [BZ #11895]
49738 * misc/pselect.c (__pselect): Handle timeout value errors hidden
49739 through underflows.
49740
15cc7dd1
UD
49741 [BZ #12766]
49742 * misc/error.c (error_at_line): Ensure file_name and old_file_name
49743 point to strings before performing equality test for error_one_per_line
49744 mode.
49745
f3799213
UD
49746 [BZ #11697]
49747 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49748
d79a9c94
UD
49749 [BZ #11820]
49750 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49751 (struct user_fpregs_struct): Avoid __uint*_t types.
49752
56e5eb46
UD
49753 [BZ #6420]
49754 * malloc/mtrace.c (tr_where): Add additional parameter to point to
49755 symbol info. Use it instead of calling _dl_addr locally.
49756 (lock_and_info): New function.
49757 (tr_freehook): Call lock_and_info and pass symbol info as additional
49758 parameter to tr_where.
49759 (tr_mallochook): Likewise.
49760 (tr_reallochook): Likewise.
49761 (tr_memalignhook): Likewise.
49762
6ce75379
UD
49763 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
49764 used and couldn't be at all thread-safe.
49765
f8a3b5bf
UD
497662011-05-15 Ulrich Drepper <drepper@gmail.com>
49767
94b7cc37
UD
49768 * libio/freopen.c (freopen): Don't close old file descriptor
49769 before the new one is opened. Instead dup the new file descriptor
49770 to the old one after the new stream is created.
49771 * libio/freopen64.c (freopen64): Likewise.
49772 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49773 * libio/fileops.c (_IO_new_file_close_it): Handle new
49774 _IO_FLAGS2_NOCLOSE flag.
49775 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49776 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49777 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49778 _IO_FLAGS2_NOCLOSE flag.
49779 * include/unistd.h: Add hidden_proto for dup3.
49780 Define __have_dup3.
49781 * io/dup3.c: Define hidden symbol.
49782 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49783
bd25564e
UD
49784 [BZ #7101]
49785 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49786 when an incomplete long option is used.
49787 * posix/tst-getopt_long1.c: New file.
49788 * posix/Makefile (tests): Add tst-getopt_long1.
49789
c84cfef4
UD
49790 [BZ #10138]
49791 * scripts/config.guess: Update from autoconf-2.68.
49792 * scripts/config.sub: Likewise.
49793
3b85df27
UD
49794 [BZ #10157]
49795 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49796 tests into ...
49797 (has_cpuclock): ...this. New function.
49798 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49799 macro here based on has_cpuclock code.
49800
15a856b1
UD
49801 [BZ #10149]
49802 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49803 First byte (not low byte) is now always NUL.
49804 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49805
05f399e6
UD
49806 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49807 Use non-cancelable interfaces.
49808
10a52685 49809 [BZ #9809]
94ecc67d
UD
49810 * locale/iso-639.def: Add entry for Sorani.
49811
f8a3b5bf
UD
49812 [BZ #11901]
49813 * include/stdlib.h: Move include protection to the right place.
49814 Define abort_msg_s. Declare __abort_msg with it.
49815 * stdlib/abort.c (__abort_msg): Adjust type.
49816 * assert/assert.c (__assert_fail_base): New function. Majority
49817 of code from __assert_fail. Allocate memory for __abort_msg with
49818 mmap.
49819 (__assert_fail): Now call __assert_fail_base.
49820 * assert/assert-perr.c: Remove bulk of implementation. Use
49821 __assert_fail_base.
49822 * include/assert.hL Declare __assert_fail_base.
49823 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49824 mmap.
49825 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49826
1af4e298
UD
498272011-05-14 Ulrich Drepper <drepper@gmail.com>
49828
f8a3b5bf 49829 [BZ #11952]
d26dfc60
MG
49830 [BZ #12453]
49831 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49832 until all modules are registered in the DTV.
49833 * elf/Makefile: Add rules to build and run tst-tls19.
49834 * elf/tst-tls19.c: New file.
49835 * elf/tst-tls19mod1.c: New file.
49836 * elf/tst-tls19mod2.c: New file.
49837 * elf/tst-tls19mod3.c: New file.
49838 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49839
2fc54d6f
UD
49840 [BZ #12083]
49841 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49842 correctly.
49843
98d76b46
UD
49844 [BZ #12601]
49845 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49846 two-byte sequence errors.
49847 * iconvdata/Makefile (tests): Add bug-iconv8.
49848 * iconvdata/bug-iconv8.c: New file.
49849
da3c19ef
UD
49850 [BZ #12626]
49851 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49852 buf2 definition.
49853
ca408c15
UD
49854 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49855
d6f67f7d
UD
49856 [BZ #12432]
49857 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49858 (dummy_getcfa): New function.
49859 (init): Get _Unwind_GetCFA address, use dummy if not found.
49860 (backtrace_helper): In recursion check, also check whether CFA changes.
49861 (__backtrace): Completely initialize arg.
49862
1af4e298 49863 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
49864 storing incomplete byte sequence in state object. Avoid testing for
49865 guaranteed too small input if we know there is enough data available.
1af4e298 49866
da62f81b
AS
498672011-05-11 Andreas Schwab <schwab@redhat.com>
49868
49869 * Makeconfig (+link-pie): Indent.
49870 * Rules (binaries-pie): Define if $(have-fpie) and
49871 $(build-shared).
49872 (binaries-shared): Also filter out $(binaries-pie).
49873 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49874 * nscd/Makefile (others-pie): Add nscd.
49875 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49876 ($(objpfx)nscd): Remove command override.
49877 * login/Makefile (others-pie): Add pt_chown.
49878 ($(objpfx)pt_chown): Remove command override.
49879 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49880 remove command overrides.
49881
fcabc0f8
UD
498822011-05-13 Ulrich Drepper <drepper@gmail.com>
49883
20030ae6
UD
49884 * libio/tst_putwc.c: Fix error messages.
49885
fcabc0f8
UD
49886 [BZ #12724]
49887 * libio/fileops.c (_IO_new_file_close_it): Always flush when
49888 currently writing and seek to current position when not.
49889 * libio/Makefile (tests): Add bug-fclose1.
49890 * libio/bug-fclose1.c: New file.
49891
320a5dc0
PB
498922011-05-12 Ulrich Drepper <drepper@gmail.com>
49893
49894 [BZ #12511]
49895 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49896 don't set DF_1_NODELETE here.
49897 (do_lookup_x): When entering new entry test for copy relocation
49898 and if necessary set DF_1_NODELETE flag.
49899 * elf/tst-unique4.cc: New file.
49900 * elf/tst-unique4.h: New file.
49901 * elf/tst-unique4lib.cc: New file.
49902 * elf/Makefile: Add rules to build and run tst-unique4.
49903 Patch by Piotr Bury <pbury@goahead.com>.
49904
22836f52
UD
499052011-05-11 Ulrich Drepper <drepper@gmail.com>
49906
f574184a
UD
49907 [BZ #12052]
49908 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49909
e1fb097f
UD
49910 [BZ #12625]
49911 * misc/mntent_r.c (addmntent): Flush the stream after the output
49912
22836f52
UD
49913 [BZ #12393]
49914 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49915 (is_trusted_path_normalize): Skip initial colon. Append slash
49916 to empty buffer. Duplicate is_trusted_path code but allow
49917 constructed patch to be prefix.
49918 (is_dst): Allow $ORIGIN followed by /.
49919 (_dl_dst_substitute): Correct clearing of check_for_trusted.
49920 Correct testing of result of is_trusted_path_normalize
49921 (decompose_rpath): Fix warning.
49922
7b3b0b2a
UD
499232011-05-10 Ulrich Drepper <drepper@gmail.com>
49924
49925 [BZ #11257]
49926 * grp/initgroups.c (internal_getgrouplist): When we found the service
49927 list through the initgroups entry in nsswitch.conf do not always
49928 continue on a successful lookup. Don't always use the
eac80ce2 49929 __nss_group_database value if it is set.
7b3b0b2a
UD
49930 * nss/nsswitch.conf (initgroups): Change action for successful db
49931 lookup to continue for compatibility.
49932
2a81eaa5
UD
499332011-05-09 Ulrich Drepper <drepper@gmail.com>
49934
be97a69e
UD
49935 [BZ #11532]
49936 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49937 and CP774 modules.
49938 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49939 and CP774 modules.
49940 * iconvdata/tst-tables.sh: Likewise.
49941 * iconvdata/cp770.c: New file.
49942 * iconvdata/cp771.c: New file.
49943 * iconvdata/cp772.c: New file.
49944 * iconvdata/cp773.c: New file.
49945 * iconvdata/cp774.c: New file.
49946 * iconvdata/testdata/CP770: New file.
49947 * iconvdata/testdata/CP770..UTF8: New file.
49948 * iconvdata/testdata/CP771: New file.
49949 * iconvdata/testdata/CP771..UTF8: New file.
49950 * iconvdata/testdata/CP772: New file.
49951 * iconvdata/testdata/CP772..UTF8: New file.
49952 * iconvdata/testdata/CP773: New file.
49953 * iconvdata/testdata/CP773..UTF8: New file.
49954 * iconvdata/testdata/CP774: New file.
49955 * iconvdata/testdata/CP774..UTF8: New file.
49956
49957 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
49958 END CHARMAP line.
49959 * iconvdata/gen-8bit-gap.sh: Likewise.
49960 * iconvdata/gen-8bit.sh: Likewise.
49961
c1e9e399
UD
49962 * locale/iso-639.def: Add ary entry.
49963
24c55fb3 49964 [BZ #11258]
96b4b1b0
UD
49965 * locale/C-translit.h.in: Add U20A1 transliteration.
49966
bdc2f971
KB
49967 [BZ #12178]
49968 * locale/iso-639.def: Add wae entry.
49969 Patch by Kevin Bortis <bortis@translate-wae.ch>.
49970
2952b117
UD
49971 [BZ #12545]
49972 * locale/programs/localedef.c (construct_output_path): Use ssize_t
49973 for n.
49974
2a81eaa5
UD
49975 [BZ #12711]
49976 * locale/C-translit.h.in: Add entry for U20B9.
49977 Patch by pravin.d.s@gmail.com.
49978
28377d1b
UD
499792011-05-08 Ulrich Drepper <drepper@gmail.com>
49980
7fb90fb8
UD
49981 [BZ #12713]
49982 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49983 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
49984 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
49985 in rtld. Use *stat64.
7fb90fb8 49986 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 49987 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 49988 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
49989 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49990 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49991 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49992 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49993 __fstatat64 macros.
7fb90fb8
UD
49994 * include/dirent.h: Add libc_hidden_proto for rewinddir.
49995 * dirent/rewinddir.c: Add libc_hidden_def.
49996 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 49997 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 49998
28377d1b
UD
49999 * include/dirent.h (__alloc_dir): Add flags parameter.
50000 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
50001 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
50002 __alloc_dir.
50003 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
50004 from fdopendir if O_CLOEXEC is already set.
50005
66bdbaa4
AM
500062011-03-15 Alan Modra <amodra@gmail.com>
50007
50008 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
50009 l_tls_firstbyte_offset non-zero. Save padding offset in
50010 l_tls_firstbyte_offset for later use.
50011 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
50012 freeing static tls block.
50013
95721191
JN
500142011-03-05 Jonathan Nieder <jrnieder@gmail.com>
50015
50016 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
50017 where #ifdef was intended. The intent is to prevent ARG_MAX from
50018 being defined by the kernel headers.
50019
f87dfb1f
UD
500202011-05-07 Ulrich Drepper <drepper@gmail.com>
50021
50022 [BZ #12734]
50023 * resolv/resolv.h: Define RES_NOTLDQUERY.
50024 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
50025 no-tld-query and set RES_NOTLDQUERY.
50026 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
50027 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
50028 modern BIND to search name as TLD unless forbidden.
50029
47c3cd7a
UD
500302011-05-07 Petr Baudis <pasky@suse.cz>
50031 Ulrich Drepper <drepper@gmail.com>
50032
50033 [BZ #12393]
50034 * elf/dl-load.c (fillin_rpath): Move trusted path check...
50035 (is_trusted_path): ...to here.
c1e9ea35 50036 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 50037 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 50038 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 50039
8a35c912
PP
500402011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50041
50042 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
50043 __BEGIN/__END_DECLS.
50044
acd41f47
UD
500452011-05-06 Ulrich Drepper <drepper@gmail.com>
50046
50047 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
50048 NSS_STATUS_NOTFOUND if no record was found.
50049
597df647
AS
500502011-05-05 Andreas Schwab <schwab@redhat.com>
50051
50052 * sunrpc/Makefile (headers): Add rpc/netdb.h.
50053 (headers-not-in-tirpc): Remove rpc/netdb.h
50054 * resolv/netdb.h: Revert last change.
50055
b9af1301
PP
500562011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50057
50058 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
50059 circular dependency between libgcc.a and libc.a.
50060
4e34d5f5
AS
500612011-05-05 Andreas Schwab <schwab@redhat.com>
50062
50063 * resolv/netdb.h: Don't include <rpc/netdb.h>.
50064 * nis/Makefile: Don't install rpcsvc/*.
50065 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
50066 instead of <rpc/types.h>.
50067 (MAXHOSTNAMELEN): Define.
50068
00ee369c
AS
500692011-05-03 Andreas Schwab <schwab@redhat.com>
50070
50071 * elf/ldconfig.c (add_dir): Don't crash on empty path.
50072
0b592a30
MB
500732011-04-28 Maciej Babinski <mbabinski@google.com>
50074
50075 [BZ #12714]
50076 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
50077 gethostbyname4_r when IPv6 results are possible.
50078
6e04cbbe
UD
500792011-05-02 Ulrich Drepper <drepper@gmail.com>
50080
50081 [BZ #12723]
50082 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
50083 _PC_PIPE_BUF handling.
50084
e4ecafe0
BH
500852011-04-30 Bruno Haible <bruno@clisp.org>
50086
50087 [BZ #12717]
50088 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
50089 * resolv/netdb.h (getnameinfo): Change type of flags parameter
50090 to 'int'.
50091 * inet/getnameinfo.c (getnameinfo): Likewise.
50092
125ee683
UD
500932011-04-29 Ulrich Drepper <drepper@gmail.com>
50094
50095 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50096 to groups setting in database lookup.
50097 * nss/nsswitch.conf: Add initgroups entry.
50098
b722481a
EB
500992011-04-22 Ulrich Drepper <drepper@gmail.com>
50100
50101 [BZ #12685]
50102 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50103 mode string.
50104 Patch by Eric Blake <eblake@redhat.com>.
50105
4df46dbd
L
501062011-04-20 H.J. Lu <hongjiu.lu@intel.com>
50107
50108 * sunrpc/Makefile (need-export-routines): Add svc_run.
50109 (routines): Remove svc_run.
50110 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50111 * sunrpc/clnt_perr.c (clnt_perrno): Export.
50112 * sunrpc/svc_run.c (svc_run): Likewise.
50113 * sunrpc/svc_udp.c (svcudp_create): Likewise.
50114
e84142d2
UD
501152011-04-21 Ulrich Drepper <drepper@gmail.com>
50116
50117 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50118 problem in reallocation in last patch.
50119
877175d8
UD
501202011-04-20 Ulrich Drepper <drepper@gmail.com>
50121
50122 * sunrpc/Makefile: Move inclusion of Rules.
50123
ab8eed78
UD
501242011-04-19 Ulrich Drepper <drepper@gmail.com>
50125
50126 * nss/nss_files/files-initgroups.c: New file.
50127 * nss/Makefile (libnss_files-routines): Add files-initgroups.
50128 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50129 _nss_files_initgroups_dyn.
50130
e3d8f584
RS
501312011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
50132
50133 * elf/elf.h (R_ARM_IRELATIVE): Define.
50134
af190f45
UD
501352011-04-19 Ulrich Drepper <drepper@gmail.com>
50136
50137 * po/ru.po: Update from translation team.
50138
53cf59ef
UD
501392011-04-17 Ulrich Drepper <drepper@gmail.com>
50140
50141 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50142 dependencies.
50143
4c559bcd
MF
501442011-02-06 Mike Frysinger <vapier@gentoo.org>
50145
50146 [BZ #12653]
50147 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50148 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50149 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50150 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50151 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50152
4420675c
AS
501532011-03-28 Andreas Schwab <schwab@linux-m68k.org>
50154
50155 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50156 differing bytes.
50157 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50158 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50159 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50160
75ea32ab
UD
501612011-04-17 Ulrich Drepper <drepper@gmail.com>
50162
50163 [BZ #12420]
50164 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50165 storing it.
50166 * stdlib/bug-getcontext.c: New file.
50167 * stdlib/Makefile: Add rules to build and run bug-getcontext.
50168
27390476
AK
501692011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50170
50171 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50172 instructions into .machine "z9-109".
50173 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50174 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50175
10442705
AK
501762011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50177
50178 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50179 between environment variables and auxiliary vector.
50180
7b57bfe5
UD
501812011-04-16 Ulrich Drepper <drepper@gmail.com>
50182
50183 * Makefile: Add rules to build linkobj/libc.so.
50184 * include/libc-symbols.h: Define libc_hidden_nolink.
50185 * include/rpc/auth.h: Mark functions which are to be hidden.
50186 * include/rpc/auth_des.h: Likewise.
50187 * include/rpc/auth_unix.h: Likewise.
50188 * include/rpc/clnt.h: Likewise.
50189 * include/rpc/des_crypt.h: Likewise.
50190 * include/rpc/key_prot.h: Likewise.
50191 * include/rpc/pmap_clnt.h: Likewise.
50192 * include/rpc/pmap_prot.h: Likewise.
50193 * include/rpc/pmap_rmt.h: Likewise.
50194 * include/rpc/rpc_msg.h: Likewise.
50195 * include/rpc/svc.h: Likewise.
50196 * include/rpc/svc_auth.h: Likewise.
50197 * include/rpc/xdr.h: Likewise.
50198 * nis/Makefile: Link all DSOs against linkobj/libc.so.
50199 * nss/Makefile: Likewise.
50200 * sunrpc/Makefile: Don't install headers. Build library with normal
50201 entry points. Don't build rpcinfo. Link RPC tests appropriately.
50202 * sunrpc/auth_des.c: Hide exported symbols by default, export some
50203 for the compat linking library. Remove use of INTDEF/INTUSE.
50204 * sunrpc/auth_none.c: Likewise.
50205 * sunrpc/auth_unix.c: Likewise.
50206 * sunrpc/authdes_prot.c: Likewise.
50207 * sunrpc/authuxprot.c: Likewise.
50208 * sunrpc/clnt_gen.c: Likewise.
50209 * sunrpc/clnt_perr.c: Likewise.
50210 * sunrpc/clnt_raw.c: Likewise.
50211 * sunrpc/clnt_simp.c: Likewise.
50212 * sunrpc/clnt_tcp.c: Likewise.
50213 * sunrpc/clnt_udp.c: Likewise.
50214 * sunrpc/clnt_unix.c: Likewise.
50215 * sunrpc/des_crypt.c: Likewise.
50216 * sunrpc/des_soft.c: Likewise.
50217 * sunrpc/get_myaddr.c: Likewise.
50218 * sunrpc/key_call.c: Likewise.
50219 * sunrpc/key_prot.c: Likewise.
50220 * sunrpc/netname.c: Likewise.
50221 * sunrpc/pm_getmaps.c: Likewise.
50222 * sunrpc/pm_getport.c: Likewise.
50223 * sunrpc/pmap_clnt.c: Likewise.
50224 * sunrpc/pmap_prot.c: Likewise.
50225 * sunrpc/pmap_prot2.c: Likewise.
50226 * sunrpc/pmap_rmt.c: Likewise.
50227 * sunrpc/publickey.c: Likewise.
50228 * sunrpc/rpc_cmsg.c: Likewise.
50229 * sunrpc/rpc_common.c: Likewise.
50230 * sunrpc/rpc_dtable.c: Likewise.
50231 * sunrpc/rpc_prot.c: Likewise.
50232 * sunrpc/rpc_thread.c: Likewise.
50233 * sunrpc/rtime.c: Likewise.
50234 * sunrpc/svc.c: Likewise.
50235 * sunrpc/svc_auth.c: Likewise.
50236 * sunrpc/svc_authux.c: Likewise.
50237 * sunrpc/svc_raw.c: Likewise.
50238 * sunrpc/svc_run.c: Likewise.
50239 * sunrpc/svc_simple.c: Likewise.
50240 * sunrpc/svc_tcp.c: Likewise.
50241 * sunrpc/svc_udp.c: Likewise.
50242 * sunrpc/svc_unix.c: Likewise.
50243 * sunrpc/svcauth_des.c: Likewise.
50244 * sunrpc/xcrypt.c: Likewise.
50245 * sunrpc/xdr.c: Likewise.
50246 * sunrpc/xdr_array.c: Likewise.
50247 * sunrpc/xdr_float.c: Likewise.
50248 * sunrpc/xdr_intXX_t.c: Likewise.
50249 * sunrpc/xdr_mem.c: Likewise.
50250 * sunrpc/xdr_rec.c: Likewise.
50251 * sunrpc/xdr_ref.c: Likewise.
50252 * sunrpc/xdr_sizeof.c: Likewise.
50253 * sunrpc/xdr_stdio.c: Likewise.
50254
e6c61494
UD
502552011-04-10 Ulrich Drepper <drepper@gmail.com>
50256
50257 [BZ #12650]
50258 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50259 * sysdeps/ia64/dl-tls.h: Likewise.
50260 * sysdeps/powerpc/dl-tls.h: Likewise.
50261 * sysdeps/s390/dl-tls.h: Likewise.
50262 * sysdeps/sh/dl-tls.h: Likewise.
50263 * sysdeps/sparc/dl-tls.h: Likewise.
50264 * sysdeps/x86_64/dl-tls.h: Likewise.
50265 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50266
34fe483e
AS
502672011-03-14 Andreas Schwab <schwab@redhat.com>
50268
50269 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50270 rpath element also skip the following colon.
50271 (expand_dynamic_string_token): Add is_path parameter and pass
50272 down to DL_DST_REQUIRED and _dl_dst_substitute.
50273 (decompose_rpath): Call expand_dynamic_string_token with
50274 non-zero is_path. Ignore empty rpaths.
50275 (_dl_map_object_from_fd): Call expand_dynamic_string_token
50276 with zero is_path.
50277
f12a32e6
AS
502782011-04-08 Andreas Schwab <schwab@linux-m68k.org>
50279
50280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50281 Make cancelable.
50282
38a7d692
UD
502832011-04-09 Ulrich Drepper <drepper@gmail.com>
50284
50285 [BZ #12655]
50286 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50287 Patch by Filipe David Manana <fdmanana@apache.org>.
50288
e451d22b
AS
502892011-04-07 Andreas Schwab <schwab@redhat.com>
50290
50291 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50292 Maintain aligned stack.
50293 (CHECK_RSP): Remove unused macro.
50294
dedc7c7b
UD
502952011-04-03 Ulrich Drepper <drepper@gmail.com>
50296
50297 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50298 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50299
94521213
UD
503002011-04-02 Ulrich Drepper <drepper@gmail.com>
50301
50302 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50303
8cb700c0 50304 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 50305
0354e355
L
503062011-03-26 H.J. Lu <hongjiu.lu@intel.com>
50307
50308 [BZ #12518]
50309 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50310 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50311 * sysdeps/x86_64/memmove.c: New file.
50312 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50313 (memcpy): Renamed to ...
50314 (__new_memcpy): This.
50315 (memcpy): Provide GLIBC_2_14 memcpy.
50316 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50317 (memcpy): Provide GLIBC_2_2_5 memcpy.
50318
8593482f
UD
503192011-04-01 Ulrich Drepper <drepper@gmail.com>
50320
50321 [BZ #12631]
50322 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50323
81a5726b
AS
503242011-03-30 Andreas Schwab <schwab@redhat.com>
50325
50326 * misc/syncfs.c: New file.
50327 * misc/Makefile (routines): Add syncfs.
50328 * posix/unistd.h: Declare syncfs.
50329 * sysdeps/unix/syscalls.list: Add syncfs.
50330
00e5419f
AS
503312011-04-01 Andreas Schwab <schwab@redhat.com>
50332
50333 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50334 open_by_handle_at.
50335 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50336 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50337 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50338 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50339 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50340 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50341 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50342
748876bf
UD
503432011-04-01 Ulrich Drepper <drepper@gmail.com>
50344
658e451d
UD
50345 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50346 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50347 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50348 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50349 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50350 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50351 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50352
748876bf
UD
50353 * io/Makefile: Compile fallocate.c, fallocate64.c, and
50354 sync_file_range.c with -fexceptions.
50355 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50356 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50357 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50358 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50359 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50360 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50361 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
50362 sync_file_range as cancellation point
50363 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
50364 now a wrapper around __call_sync_file_range with cancellation handling.
50365 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50366 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
50367 function name to __call_sync_file_range.
50368 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50369 Add call_sync_file_range.
748876bf 50370
6e63d5e1
AS
503712011-04-01 Andreas Schwab <schwab@redhat.com>
50372
50373 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 50374 bits/timex.h.
6e63d5e1 50375
46998f74
UD
503762011-04-01 Ulrich Drepper <drepper@gmail.com>
50377
4c1423ed
UD
50378 * iconv/iconv.h: Fix typo in comment.
50379 * io/fcntl.h: Likewise.
50380 * libio/stdio.h: Likewise.
50381 * posix/spawn.h: Likewise.
50382 * posix/unistd.h: Likewise.
50383 * stdlib/stdlib.h: Likewise.
50384 * time/time.h: Likewise.
50385 * wcsmbs/wchar.h: Likewise.
50386
158648c0
UD
50387 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50388 open_by_handle): Add.
50389 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50390 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
50391 Augment a few comments.
50392 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50393 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50394 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50395 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50396 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50397 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50398 open_by_handle.
50399
46998f74
UD
50400 * io/fcntl.h (AT_EMPTY_PATH): Define.
50401
83fe108b
UD
504022011-03-30 Ulrich Drepper <drepper@gmail.com>
50403
50404 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50405 * sysdeps/unix/sysv/linux/bits/time.h: New file.
50406 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50407 to...
50408 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
50409 * Versions.def: Add GLIBC_2.14.
50410 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50411 Export.
83fe108b 50412
bb242059
UD
504132011-03-22 Ulrich Drepper <drepper@gmail.com>
50414
50415 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50416 round counter.
50417 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50418
c97a1282
L
504192011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50420
50421 [BZ #12597]
50422 * string/test-strncmp.c (do_page_test): New function.
50423 (check2): Likewise.
50424 (test_main): Call check2.
50425 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50426
2a115601
UD
504272011-03-20 Ulrich Drepper <drepper@gmail.com>
50428
50429 [BZ #12587]
50430 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50431 Handle cache information in CPU leaf 4.
50432 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50433
8126d904
UD
504342011-03-18 Ulrich Drepper <drepper@gmail.com>
50435
042c49c6 50436 [BZ #12583]
8126d904
UD
50437 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50438 character representation.
50439 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50440
ccfe366e
RA
504412011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50442
50443 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50444 END(__isnan) to END(__isnanf) to match function entry point/label
50445 EALIGN(__isnanf,...).
50446
c6e13027
JJ
504472011-03-10 Jakub Jelinek <jakub@redhat.com>
50448
50449 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50450
33f85a3f
UD
504512011-03-10 Ulrich Drepper <drepper@gmail.com>
50452
028478fa
UD
50453 [BZ #12510]
50454 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50455 copy from the symbol referenced in the relocation to initialize the
50456 used variable.
50457 Patch by Piotr Bury <pbury@goahead.com>.
50458 * elf/Makefile: Add rules to build and tst-unique3.
50459 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50460 * elf/tst-unique3.cc: New file.
50461 * elf/tst-unique3.h: New file.
50462 * elf/tst-unique3lib.cc: New file.
50463 * elf/tst-unique3lib2.cc: New file.
50464
33f85a3f
UD
50465 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50466
03592fc7
MF
504672011-03-10 Mike Frysinger <vapier@gentoo.org>
50468
50469 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50470 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50471 to _start.
03592fc7 50472
6a5ee102
UD
504732011-03-06 Ulrich Drepper <drepper@gmail.com>
50474
50475 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50476 to-be-loaded object along a path to loader is ld.so.
50477
7e4ba49c
HJ
504782011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50479 Ulrich Drepper <drepper@gmail.com>
50480
50481 * sysdeps/x86_64/memset.S: After aligning destination, code
50482 branches to different locations depending on the value of
50483 misalignment, when multiarch is enabled. Fix this.
50484
504852011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50486
50487 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50488 Set _x86_64_preferred_memory_instruction for AMD processsors.
50489 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50490 Set bit_Prefer_SSE_for_memop for AMD processors.
50491
13a804de
UD
504922011-03-04 Ulrich Drepper <drepper@gmail.com>
50493
50494 * libio/fmemopen.c (fmemopen): Optimize a bit.
50495
9d25c392
AS
504962011-03-03 Andreas Schwab <schwab@redhat.com>
50497
50498 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50499
a5543c6a
RM
505002011-03-03 Roland McGrath <roland@redhat.com>
50501
50502 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50503
012d35f7
DM
505042011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50505
7e4ba49c 50506 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
50507 __bzero_ultra1 instead of __memset_ultra1.
50508
4bff6e01
AS
505092011-02-23 Andreas Schwab <schwab@redhat.com>
50510 Ulrich Drepper <drepper@gmail.com>
50511
50512 [BZ #12509]
50513 * include/link.h (struct link_map): Add l_orig_initfini.
50514 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50515 returning unsuccessfully.
50516 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50517 close of a file loaded at startup, restore the original l_initfini
50518 list.
50519 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50520 list, store the pointer.
50521 * elf/Makefile ($(objpfx)noload-mem): New rule.
50522 (noload-ENV): Define.
50523 (tests): Add $(objpfx)noload-mem.
50524 * elf/noload.c: Include <memcheck.h>.
50525 (main): Call mtrace. Close all opened handles.
50526
f2092faf
AS
505272011-02-17 Andreas Schwab <schwab@redhat.com>
50528
50529 [BZ #12454]
50530 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50531 dependencies are missing.
50532
6c8a2e88
ST
505332011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50534
f2092faf 50535 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
50536 Hurd needs munmap.
50537 * sysdeps/mach/hurd/ifreq.h: New file.
50538
84a42118
PB
505392011-01-27 Petr Baudis <pasky@suse.cz>
50540 Ulrich Drepper <drepper@gmail.com>
50541
071f805e 50542 [BZ 12445]#
84a42118
PB
50543 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50544 to extend_alloca().
50545 * stdio-common/bug23.c: New file.
50546 * stdio-common/Makefile (tests): Add bug23.
50547
e23fe25b
AS
505482010-09-28 Andreas Schwab <schwab@redhat.com>
50549 Ulrich Drepper <drepper@gmail.com>
50550
50551 [BZ #12489]
50552 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50553 before performing relro protection. At old place add assertion
50554 to make sure nothing changed.
50555
d3f02e10
NS
505562011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50557 Glauber de Oliveira Costa <glommer@gmail.com>
50558
50559 * elf/elf.h: Add new ARM TLS relocs.
50560
d55fd7a5
RA
505612011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50562
50563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50564 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50565 cast from r3.
50566 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50567 'tests' variable.
50568 * sysdeps/wordsize-64/tst-writev.c: New file.
50569
2206397e
RA
505702011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50571
50572 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50573 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50574 insns in _dl_start to prevent a TOC reference before relocs are
50575 resolved.
50576
e9433893
UD
505772011-02-15 Ulrich Drepper <drepper@gmail.com>
50578
50579 [BZ #12469]
50580 * Makeconfig: Remove RANLIB definition.
50581 * Makerules: Don't use RANLIB.
50582 * aclocal.m4: Remove ranlib test.
50583 * configure.in: No need to check for ranlib.
50584 * elf/rtld-Rules: Don't use RANLIB.
50585
f75286c6
ST
505862011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50587
8e31c82d
ST
50588 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50589 protection macro.
50590 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50591 inclusion protection macro.
50592
f75286c6
ST
50593 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50594 SIGRTMIN and SIGRTMAX and print information in that case only when
50595 SIGRTMIN is defined.
50596
c1d0e639
JJ
505972011-02-11 Jakub Jelinek <jakub@redhat.com>
50598
50599 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50600 arginfo fn returning -1.
50601
50602 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50603 and thousands string is zero terminated.
50604
edf9294e
AS
506052011-02-03 Andreas Schwab <schwab@redhat.com>
50606
50607 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50608 sysdeps/unix/sysv/linux/bits/socket.h.
50609
2b7e92df
ST
506102011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
50611
edf9294e
AS
50612 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50613 (__CPU_COUNT): Remove old macros.
50614 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50615 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50616 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
50617 (__sched_cpualloc, __sched_cpufree): Add declarations.
50618
a4c7ea7b
UD
506192011-02-05 Ulrich Drepper <drepper@gmail.com>
50620
50621 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50622 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50623 * nscd/aicache.c (addhstaiX): Return timeout of added value.
50624 (readdhstai): Return value of addhstaiX call.
50625 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50626 (addgrbyX): Return value returned by cache_addgr.
50627 (readdgrbyname): Return value returned by addgrbyX.
50628 (readdgrbygid): Likewise.
50629 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50630 (addpwbyX): Return value returned by cache_addpw.
50631 (readdpwbyname): Return value returned by addhstbyX.
50632 (readdpwbyuid): Likewise.
50633 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50634 (addservbyX): Return value returned by cache_addserv.
50635 (readdservbyname): Return value returned by addservbyX:
50636 (readdservbyport): Likewise.
50637 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50638 (addhstbyX): Return value returned by cache_addhst.
50639 (readdhstbyname): Return value returned by addhstbyX.
50640 (readdhstbyaddr): Likewise.
50641 (readdhstbynamev6): Likewise.
50642 (readdhstbyaddrv6): Likewise.
50643 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50644 (readdinitgroups): Return value returned by addinitgroupsX.
50645 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50646 (prune_cache): Keep track of timeout value of re-added entries.
50647 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50648 * nscd/nscd.h: Adjust prototypes of readd* functions.
50649
a0bf67cc
RM
506502011-02-04 Roland McGrath <roland@redhat.com>
50651
50652 * nis/nis_server.c (nis_servstate): Use the right name for 0.
50653 (nis_stats): Likewise.
50654 * nis/nis_modify.c (nis_modify): Likewise.
50655 * nis/nis_remove.c (nis_remove): Likewise.
50656 * nis/nis_add.c (nis_add): Likewise.
50657
50658 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50659
50660 * posix/fnmatch_loop.c: Add some consts.
50661
50662 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50663
435b95eb
L
506642011-02-02 H.J. Lu <hongjiu.lu@intel.com>
50665
50666 [BZ #12460]
50667 * config.make.in (config-cflags-novzeroupper): Define.
50668 * configure.in: Substitute libc_cv_cc_novzeroupper.
50669 * elf/Makefile (AVX-CFLAGS): Define.
50670 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50671 (CFLAGS-tst-auditmod4a.c): Likewise.
50672 (CFLAGS-tst-auditmod4b.c): Likewise.
50673 (CFLAGS-tst-auditmod6b.c): Likewise.
50674 (CFLAGS-tst-auditmod6c.c): Likewise.
50675 (CFLAGS-tst-auditmod7b.c): Likewise.
50676 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50677
8517b15e
UD
506782011-02-02 Ulrich Drepper <drepper@gmail.com>
50679
50680 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50681 function to the callback.
50682 Patch partly by Jiri Olsa <jolsa@redhat.com>.
50683
10a656fe
AS
506842011-02-02 Andreas Schwab <schwab@redhat.com>
50685
50686 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50687 of errno.
50688
968dad0a
UD
506892011-01-19 Ulrich Drepper <drepper@gmail.com>
50690
9f94d2ea 50691 [BZ #11724]
968dad0a
UD
50692 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50693 of constructors.
50694 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50695 of destructors.
50696 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50697
50698 [BZ #11724]
50699 * elf/Makefile: Add rules to build and run new test.
50700 * elf/tst-initorder.c: New file.
50701 * elf/tst-initorder.exp: New file.
50702 * elf/tst-initordera1.c: New file.
50703 * elf/tst-initordera2.c: New file.
50704 * elf/tst-initordera3.c: New file.
50705 * elf/tst-initordera4.c: New file.
50706 * elf/tst-initorderb1.c: New file.
50707 * elf/tst-initorderb2.c: New file.
50708 * elf/tst-order-a1.c: New file.
50709 * elf/tst-order-a2.c: New file.
50710 * elf/tst-order-a3.c: New file.
50711 * elf/tst-order-a4.c: New file.
50712 * elf/tst-order-b1.c: New file.
50713 * elf/tst-order-b2.c: New file.
50714 * elf/tst-order-main.c: New file.
50715 New test case by George Gensure <werkt0@gmail.com>.
50716
86e92359
UD
507172010-10-01 Andreas Schwab <schwab@redhat.com>
50718
50719 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50720 decoding ACE if AI_CANONIDN.
50721
5d5732b0
UD
507222011-01-18 Ulrich Drepper <drepper@gmail.com>
50723
50724 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50725
a77e8cbc
UD
507262011-01-17 Ulrich Drepper <drepper@gmail.com>
50727
6392473f
UD
50728 * version.h (RELEASE): Bump for 2.13 release.
50729 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50730
620a0529
UD
50731 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50732
18ba70a5
UD
50733 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50734 MADV_NOHUGEPAGE.
32465c3e
UD
50735 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50736 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50737 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50738 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50739 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50740 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50741
c0dafcf1
UD
50742 * posix/getconf.c: Update copyright year.
50743 * catgets/gencat.c: Likewise.
50744 * csu/version.c: Likewise.
50745 * debug/catchsegv.sh: Likewise.
50746 * debug/xtrace.sh: Likewise.
50747 * elf/ldconfig.c: Likewise.
50748 * elf/ldd.bash.in: Likewise.
50749 * elf/sprof.c (print_version): Likewise.
50750 * iconv/iconv_prog.c: Likewise.
50751 * iconv/iconvconfig.c: Likewise.
50752 * locale/programs/locale.c: Likewise.
50753 * locale/programs/localedef.c: Likewise.
50754 * malloc/memusage.sh: Likewise.
50755 * malloc/mtrace.pl: Likewise.
50756 * nscd/nscd.c (print_version): Likewise.
50757 * nss/getent.c: Likewise.
50758
a77e8cbc
UD
50759 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50760 PF_CAIF, and PF_ALG.
50761 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50762
77e8bddf
AS
507632011-01-16 Andreas Schwab <schwab@linux-m68k.org>
50764
1f20b93a
AS
50765 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50766 (modules-names): Use them.
50767 (ifunc-test-modules, ifunc-pie-tests): Define.
50768 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50769 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50770 (test-extras): Likewise.
50771 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50772 $(compile-command.c).
50773 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50774 (all-built-dso): Define.
50775 (check-textrel.out, check-execstack.out): Depend on it.
50776
77e8bddf
AS
50777 * configure.in: Don't override --enable-multi-arch.
50778
bc425b33
UD
507792011-01-15 Ulrich Drepper <drepper@gmail.com>
50780
50781 [BZ #6812]
50782 * nscd/hstcache.c (tryagain): Define.
50783 (cache_addhst): Return tryagain not notfound for temporary errors.
50784 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50785 failed.
50786
794c3ad3
UD
507872011-01-14 Ulrich Drepper <drepper@gmail.com>
50788
70181fdd
UD
50789 [BZ #10563]
50790 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50791 to make the syscall.
50792 * sysdeps/unix/sysv/linux/setgroups.c: New file.
50793
794c3ad3
UD
50794 [BZ #12378]
50795 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50796 and fall back to matching as normal character if the string ends before
50797 the matching ']' is found. This is what POSIX requires.
50798 * posix/testfnm.c: Adjust test result.
50799 * posix/globtest.sh: Adjust test result. Add new test.
50800 * posix/tst-fnmatch.input: Likewise.
50801 * posix/tst-fnmatch2.c: Add new test.
50802
68dc9497
AS
508032010-12-28 Andreas Schwab <schwab@linux-m68k.org>
50804
50805 * elf/Makefile (check-execstack): Revert last change. Depend on
50806 check-execstack.h.
50807 (check-execstack.h): New target.
50808 (generated): Add check-execstack.h.
50809 * elf/check-execstack.c: Include "check-execstack.h".
50810 (main): Revert last change.
50811 (handle_file): Return zero if GNU_STACK is absent and
50812 DEFAULT_STACK_PERMS doesn't include PF_X.
50813
451f001b
UD
508142011-01-13 Ulrich Drepper <drepper@gmail.com>
50815
cfa28e56
UD
50816 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50817 in child fails because the descriptor is already closed.
8cf8ce17
UD
50818 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50819 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50820 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 50821
1086d70d
UD
50822 [BZ #12397]
50823 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50824 syscall.
50825
451f001b
UD
50826 [BZ #10484]
50827 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50828 temporary buffer used to handle multi lookups locally.
a85b5cb4 50829 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 50830
08769175
UD
508312011-01-12 Ulrich Drepper <drepper@gmail.com>
50832
50833 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50834 loader is ld.so.
50835
5e49c52e
UD
508362011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
50837
50838 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50839 alignment for SSE2.
50840
60522a5f
UD
508412011-01-12 Ulrich Drepper <drepper@gmail.com>
50842
50843 [BZ #12394]
50844 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50845 characters. When rounding increased number of integer digits recompute
50846 number of groups.
50847 * stdio-common/tst-grouping.c: New file.
50848 * stdio-common/Makefile: Add rules to build and run tst-grouping.
50849
f257bbd7
UD
508502011-01-09 Ulrich Drepper <drepper@gmail.com>
50851
50852 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50853 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
50854
50855 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50856 void.
50857 * bits/select.h: Likewise.
50858
fa9c15cb
UD
508592011-01-08 Ulrich Drepper <drepper@gmail.com>
50860
50861 * po/ja.po: Update from translation team.
50862
16c2895f
DM
508632011-01-04 David S. Miller <davem@sunset.davemloft.net>
50864
50865 [BZ #11155]
50866 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50867 implementation just like for lxstat, fxstatat, et al.
50868
2543fef2
JM
508692010-12-27 Jim Meyering <meyering@redhat.com>
50870
50871 [BZ #12348]
50872 * posix/regexec.c (build_trtable): Return failure indication upon
50873 calloc failure. Otherwise, re_search_internal could infloop on OOM.
50874
98727dbe
UD
508752010-12-25 Ulrich Drepper <drepper@gmail.com>
50876
5bd6dc5c
UD
50877 [BZ #12201]
50878 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50879 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50880 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50881 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50882
97983464
UD
50883 [BZ #12207]
50884 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50885
98727dbe
UD
50886 [BZ #12204]
50887 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50888 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50889
4a531bb0
L
508902010-12-15 H.J. Lu <hongjiu.lu@intel.com>
50891
50892 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50893 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50894 script has SORT_BY_INIT_PRIORITY.
50895 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50896 NO_CTORS_DTORS_SECTIONS is defined.
50897 * elf/soinit.c: Likewise.
50898 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50899 NO_CTORS_DTORS_SECTIONS is defined.
50900 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50901 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50902 * sysdeps/sh/init-first.c: Likewise.
50903 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50904
07eb4b71
UD
509052010-12-24 Ulrich Drepper <drepper@gmail.com>
50906
50907 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50908 always use the slow path.
50909
30950a5f
RA
509102010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
50911
50912 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50913 similar rule which adds the sysdep directories to the header search in
50914 order to pick up the correct platform stackinfo.h.
50915 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50916 perform test if it is, otherwise return successfully without testing.
50917 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50918 DEFAULT_STACK_PERMS define in stackinfo.h.
50919 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50920 defined in stackinfo.h.
50921 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50922 DEFAULT_STACK_PERMS defined in stackinfo.h.
50923 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50924 * sysdeps/ia64/stackinfo.h: Likewise.
50925 * sysdeps/s390/stackinfo.h: Likewise.
50926 * sysdeps/sh/stackinfo.h: Likewise.
50927 * sysdeps/sparc/stackinfo.h: Likewise.
50928 * sysdeps/x86_64/stackinfo.h: Likewise.
50929 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50930 PF_X for powerpc64. Retain PF_X for powerpc32.
50931
db753e2c
UD
509322010-12-19 Ulrich Drepper <drepper@gmail.com>
50933
14b697f7
UD
50934 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50935 accurately.
db753e2c
UD
50936 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50937 GETDENTS_64BIT_ALIGNED.
50938
28300719
UD
509392010-12-14 Ulrich Drepper <dreper@gmail.com>
50940
14b697f7 50941 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 50942
4f197237
AS
509432010-12-10 Andreas Schwab <schwab@redhat.com>
50944
dbb0472f
AS
50945 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50946 _GNU_SOURCE.
50947
4f197237
AS
50948 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
50949 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
50950 Remove __restrict.
50951 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
50952 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
50953
fb88ac72
UD
509542010-12-09 Ulrich Drepper <drepper@gmail.com>
50955
50956 [BZ #11655]
50957 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
50958 are initialized.
50959
42acbb92
JJ
509602010-12-09 Jakub Jelinek <jakub@redhat.com>
50961
50962 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
50963
c038d98d
UD
509642010-12-03 Ulrich Drepper <drepper@gmail.com>
50965
50966 * po/it.po: Update from translation team.
50967
3a4a2499
L
509682010-12-01 H.J. Lu <hongjiu.lu@intel.com>
50969
50970 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50971 unused codes.
50972
1e24cf6e
UD
509732010-11-30 Ulrich Drepper <drepper@gmail.com>
50974
50975 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50976
a7690819
AS
509772010-11-24 Andreas Schwab <schwab@redhat.com>
50978
50979 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50980 specially.
50981 (gaih_getanswer_slice): Likewise.
50982
3bf8d1b1
JJ
509832010-10-20 Jakub Jelinek <jakub@redhat.com>
50984
50985 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50986
6db52fbb
PB
509872010-05-31 Petr Baudis <pasky@suse.cz>
50988
50989 [BZ #11149]
50990 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50991 silently even in the chroot mode.
50992
eaca7569
UD
509932010-11-22 Ulrich Drepper <drepper@gmail.com>
50994
50995 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50996 last patch a bit. Pretty printing
50997
3056dcdb
UD
509982010-05-31 Petr Baudis <pasky@suse.cz>
50999
51000 [BZ #10085]
51001 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
51002 initialization of skip_initgroups_dyn.
51003
cf7c9078
UD
510042010-11-19 Ulrich Drepper <drepper@gmail.com>
51005
51006 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
51007 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51008
a1fb5e3e
UD
510092010-11-16 Ulrich Drepper <drepper@gmail.com>
51010
51011 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
51012
3540d66b
AS
510132010-11-11 Andreas Schwab <schwab@redhat.com>
51014
51015 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
51016 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
51017 (tst-fnmatch-ENV): Set MALLOC_TRACE.
51018 ($(objpfx)tst-fnmatch-mem): New rule.
51019 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
51020 * posix/tst-fnmatch.c (main): Call mtrace.
51021
13b69574
L
510222010-11-11 H.J. Lu <hongjiu.lu@intel.com>
51023
51024 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51025 Support Intel processor model 6 and model 0x2c.
51026
da93d214
LM
510272010-11-10 Luis Machado <luisgpm@br.ibm.com>
51028
51029 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
51030 signed comparison.
51031
8ca52c6e
L
510322010-11-09 H.J. Lu <hongjiu.lu@intel.com>
51033
51034 [BZ #12205]
51035 * string/test-strncasecmp.c (check_result): New function.
51036 (do_one_test): Use it.
51037 (check1): New function.
51038 (test_main): Use it.
51039 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
51040 Support strcasecmp and strncasecmp.
51041
69da074d
UD
510422010-11-08 Ulrich Drepper <drepper@gmail.com>
51043
51044 [BZ #12194]
51045 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
51046 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51047
ff02d528
L
510482010-11-07 H.J. Lu <hongjiu.lu@intel.com>
51049
51050 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
51051 IFUNC support.
51052 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51053 memset-x86-64.
51054 * sysdeps/x86_64/multiarch/bzero.S: New file.
51055 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
51056 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
51057 * sysdeps/x86_64/multiarch/memset.S: New file.
51058 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
51059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51060 Set bit_Prefer_SSE_for_memop for Intel processors.
51061 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
51062 Define.
51063 (index_Prefer_SSE_for_memop): Define.
51064 (HAS_PREFER_SSE_FOR_MEMOP): Define.
51065
344d0b54
LM
510662010-11-04 Luis Machado <luisgpm@br.ibm.com>
51067
51068 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
51069 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
51070
c0dde15b
UD
510712010-11-03 H.J. Lu <hongjiu.lu@intel.com>
51072
51073 [BZ #12191]
51074 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51075 (__x86_64_raw_data_cache_size_half): Likewise.
51076 (__x86_64_raw_shared_cache_size): Likewise.
51077 (__x86_64_raw_shared_cache_size_half): Likewise.
51078
51079 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51080 (__x86_64_raw_data_cache_size_half): Likewise.
51081 (__x86_64_raw_shared_cache_size): Likewise.
51082 (__x86_64_raw_shared_cache_size_half): Likewise.
51083 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
51084 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
51085 and __x86_64_raw_shared_cache_size_half. Round
51086 __x86_64_data_cache_size_half, __x86_64_data_cache_size
51087 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
51088 to multiple of 256 bytes.
51089
0e516e0e
MS
510902010-11-03 Ulrich Drepper <drepper@gmail.com>
51091
51092 [BZ #12167]
51093 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51094 of inacessible symlinks. Verify result of symlink before returning it.
51095 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51096 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51097
0e012e87
ER
510982010-10-28 Erich Ritz <erichritz@gmail.com>
51099
51100 * math/math.h (isinf): Fix typo in comment.
51101
de0ff7bc
UD
511022010-11-01 Ulrich Drepper <drepper@gmail.com>
51103
51104 * po/da.po: Update from translation team.
51105
fa41c84d
UD
511062010-10-26 Ulrich Drepper <drepper@gmail.com>
51107
51108 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51109 is added to the list.
51110
f0967738
AK
511112010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51112 Ulrich Drepper <drepper@gmail.com>
51113
51114 * elf/dl-object.c (_dl_new_object): Don't append the new object to
51115 the global list here. Move code to...
51116 (_dl_add_to_namespace_list): ...here. New function.
51117 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51118 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51119 * elf/dl-load.c (lose): Don't remove the element from the list.
51120 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51121 (_dl_map_object): Likewise.
51122
511232010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
51124
51125 [BZ #12159]
51126 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51127 into all bytes of SSE register.
51128 Patch by Richard Li <richardpku@gmail.com>.
51129
f0967738 511302010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
51131
51132 [BZ #12140]
51133 * malloc/malloc.c (_int_free): Fill correct number of bytes when
51134 perturbing.
51135
d0b9e94f
MB
511362010-10-20 Michael B. Brutman <brutman@us.ibm.com>
51137
51138 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51139 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51140 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51141 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51143 submachine.
51144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51145
8e9f92e9
AS
511462010-10-22 Andreas Schwab <schwab@redhat.com>
51147
51148 * include/dlfcn.h (__RTLD_SECURE): Define.
51149 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
51150 mode & __RTLD_SECURE instead.
51151 (open_path): Rename preloaded parameter to secure.
51152 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51153 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51154 * elf/dl-deps.c (openaux): Likewise.
51155 * elf/rtld.c (struct map_args): Remove is_preloaded.
51156 (map_doit): Don't use it.
51157 (dl_main): Likewise.
51158 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51159 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51160
bc96fbda
AS
511612010-09-09 Andreas Schwab <schwab@redhat.com>
51162
51163 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51164 (sysd-rules-targets): Remove duplicates.
51165 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51166 rtld-%.$o dependency.
51167
22cd1c9b
AS
511682010-10-18 Andreas Schwab <schwab@redhat.com>
51169
51170 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51171 _dl_map_object do it.
51172
18edac48
UD
511732010-10-19 Ulrich Drepper <drepper@gmail.com>
51174
51175 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51176 fast fma builtins, define the macros in the C99 standard.
51177 (FP_FAST_FMAF): Likewise.
51178 (FP_FAST_FMAL): Likewise.
51179 * sysdeps/x86_64/bits/mathdef.h: Likewise.
51180
51181 * bits/mathdef.h: Update copyright year.
51182 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51183
d2050124
MM
511842010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
51185
51186 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51187 builtins, define the macros in the C99 standard.
51188 (FP_FAST_FMAF): Likewise.
51189 (FP_FAST_FMAL): Likewise.
51190 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51191 multiply/add.
51192 (FP_FAST_FMAF): Likewise.
51193
475facd1
JJ
511942010-10-15 Jakub Jelinek <jakub@redhat.com>
51195
51196 [BZ #3268]
51197 * math/libm-test.inc (fma_test): Some new testcases.
51198 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51199 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51200 y and infinite z. Do multiplication by C already in long double.
51201 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51202 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51203 y and infinite z. Do bitwise or of inexact bit into u.d.
51204 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51205 * sysdeps/i386/fpu/s_fmaf.S: Removed.
51206 * sysdeps/i386/fpu/s_fma.S: Removed.
51207 * sysdeps/i386/fpu/s_fmal.S: Removed.
51208
7c08a05c
JJ
512092010-10-16 Jakub Jelinek <jakub@redhat.com>
51210
51211 [BZ #3268]
51212 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51213 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51214 computation is not scheduled after fetestexcept. Fix value
51215 of minimum denormal long double.
51216
f3f7372d
JJ
512172010-10-14 Jakub Jelinek <jakub@redhat.com>
51218
51219 [BZ #3268]
51220 * math/libm-test.inc (fma_test): Add some more tests.
51221 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51222 correctly.
51223
14d43591
AS
512242010-10-15 Andreas Schwab <schwab@redhat.com>
51225
51226 * scripts/data/localplt-s390-linux-gnu.data: New file.
51227 * scripts/data/localplt-s390x-linux-gnu.data: New file.
51228
5e908464
JJ
512292010-10-13 Jakub Jelinek <jakub@redhat.com>
51230
51231 [BZ #3268]
51232 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51233 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51234 instead of dbl-64.
51235 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51236 inlines.
51237 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51238 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51239 if one of x and y is very large and the other is subnormal.
51240 * sysdeps/s390/fpu/s_fmaf.c: New file.
51241 * sysdeps/s390/fpu/s_fma.c: New file.
51242 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51243 * sysdeps/powerpc/fpu/s_fma.S: New file.
51244 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51245 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51246 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51247
512482010-10-12 Jakub Jelinek <jakub@redhat.com>
51249
51250 [BZ #3268]
51251 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51252 fma tests.
51253 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51254 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51255 * sysdeps/i386/i686/multiarch/s_fma.c: Include
51256 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51257 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51258 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51259 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51260
b833d51f
UD
512612010-10-12 Ulrich Drepper <drepper@redhat.com>
51262
51263 [BZ #12078]
51264 * posix/regcomp.c (parse_branch): One more memory leak plugged.
51265 * posix/bug-regex31.input: Add test case.
51266
1751705d
UD
512672010-10-11 Ulrich Drepper <drepper@gmail.com>
51268
e9b9cbf5
UD
51269 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51270 * posix/bug-regex31.input: New file.
51271
51272 [BZ #12078]
51273 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51274 (parse_sub_exp): Fix last change, use postorder.
51275
ef06edbe
UD
51276 * posix/bug-regex31.c: New file.
51277 * posix/Makefile: Add rules to build and run bug-regex31.
51278
a129c80d
UD
51279 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51280
51281 [BZ #12078]
51282 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51283
b76b818e
UD
51284 [BZ #12108]
51285 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51286 to have entries in sys_siglist.
51287
1751705d
UD
51288 [BZ #12093]
51289 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51290 be NULL.
51291
9ff8d36f
JJ
512922010-10-07 Jakub Jelinek <jakub@redhat.com>
51293
51294 [BZ #3268]
51295 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51296 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51297 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51298 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51299 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51300 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51301 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51302 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51303 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51304 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51305 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51306 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51307 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51308 * math/ftestexcept.c (fetestexcept): Likewise.
51309 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51310 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51311 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51312 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51313 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51314 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51315 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51316
af325969
UD
513172010-10-11 Ulrich Drepper <drepper@gmail.com>
51318
c579b202 51319 [BZ #12107]
af325969
UD
51320 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51321 newline.
51322
67a67b95
UD
513232010-10-06 Ulrich Drepper <drepper@gmail.com>
51324
51325 * string/bug-strstr1.c: New file.
51326 * string/Makefile: Add rules to build and run bug-strstr1.
51327
5fb308bc
EB
513282010-10-05 Eric Blake <eblake@redhat.com>
51329
51330 [BZ #12092]
51331 * string/str-two-way.h (two_way_long_needle): Always clear memory
51332 when skipping input due to the shift table.
51333
45db99c7
UD
513342010-10-03 Ulrich Drepper <drepper@gmail.com>
51335
3b111893
UD
51336 [BZ #12005]
51337 * malloc/mcheck.c: Handle large requests.
51338
45db99c7
UD
51339 [BZ #12077]
51340 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51341 for strncmp and strncasecmp.
51342 * string/stratcliff.c: Add tests for strcmp and strncmp.
51343 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51344
cf7a1eb8
NI
513452010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51346
51347 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51348 __set_fpscr.
51349
6484ba5e
AJ
513502010-09-30 Andreas Jaeger <aj@suse.de>
51351
51352 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51353 (CGROUP_SUPER_MAGIC): Define.
51354 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51355 Handle btrfs and cgroup file systems.
51356 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51357 Likewise.
51358
91c42559
LM
513592010-09-27 Luis Machado <luisgpm@br.ibm.com>
51360
51361 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51362 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51363
87a97932
AK
513642010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51365
51366 [BZ #12067]
51367 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51368 trying to locate the ELF header.
51369
c21cc9bc
AS
513702010-09-27 Andreas Schwab <schwab@redhat.com>
51371
51372 [BZ #11611]
51373 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51374 Mask out sign-bit copies when constructing f_fsid.
51375
315970f6
PB
513762010-09-24 Petr Baudis <pasky@suse.cz>
51377
51378 * debug/stack_chk_fail_local.c: Add missing licence exception.
51379 * debug/warning-nop.c: Likewise.
51380
1ac7a2c7
JM
513812010-09-15 Joseph Myers <joseph@codesourcery.com>
51382
51383 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51384 implementing getdents64 using getdents syscall, set d_type if
51385 __ASSUME_GETDENTS32_D_TYPE.
51386
56801c50
AS
513872010-09-16 Andreas Schwab <schwab@redhat.com>
51388
51389 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51390 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51391
dda51327
UD
513922010-09-21 Ulrich Drepper <drepper@redhat.com>
51393
51394 [BZ #12037]
51395 * posix/unistd.h: Undo change of feature selection for ftruncate from
51396 2010-01-11.
51397
8ffcee4a
UD
513982010-09-20 Ulrich Drepper <drepper@redhat.com>
51399
a545ecd9 51400 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
51401 detection.
51402
e24f0a8b
AS
514032010-09-20 Andreas Schwab <schwab@redhat.com>
51404
51405 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51406 fanotify_mark.
51407 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51408
7291c56f
AS
514092010-09-14 Andreas Schwab <schwab@redhat.com>
51410
51411 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51412 variables after CHECK_SP call.
51413 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51414
bc5fb037
AS
514152010-09-13 Andreas Schwab <schwab@redhat.com>
51416 Ulrich Drepper <drepper@redhat.com>
51417
51418 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51419 re-relocationg ld.so.
51420 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51421 _dl_init_paths call.
51422 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51423 here anymore.
51424
e66e7419
UD
514252010-09-14 Ulrich Drepper <drepper@redhat.com>
51426
51427 * resolv/res_init.c (__res_vinit): Count the default server we added.
51428
c044aa75
CLT
514292010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51430 Ulrich Drepper <drepper@redhat.com>
51431
51432 [BZ #11968]
51433 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51434 (____longjmp_chk): Use %ebx for saving value across system call.
51435 Add unwind info.
51436
32cf4069
AS
514372010-09-06 Andreas Schwab <schwab@redhat.com>
51438
51439 * manual/Makefile: Don't mix pattern rules with normal rules.
51440
817328ee
AS
514412010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51442
51443 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51444 operation.
51445 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51446 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51447 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51448 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51449 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51450 Likewise.
51451
29fddf61
UD
514522010-09-04 Ulrich Drepper <drepper@redhat.com>
51453
51454 [BZ #11979]
51455 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51456 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51457
0959ffc9
UD
514582010-09-02 Ulrich Drepper <drepper@redhat.com>
51459
51460 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51461 * sysdeps/x86_64/addmul_1.S: Likewise.
51462 * sysdeps/x86_64/lshift.S: Likewise.
51463 * sysdeps/x86_64/mul_1.S: Likewise.
51464 * sysdeps/x86_64/rshift.S: Likewise.
51465 * sysdeps/x86_64/sub_n.S: Likewise.
51466 * sysdeps/x86_64/submul_1.S: Likewise.
51467
ece29840
ST
514682010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51469
0959ffc9
UD
51470 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51471 Define __sched_param instead of SCHED_* and sched_param when
ece29840 51472 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 51473 * bits/sched.h [__need_schedparam]
ece29840 51474 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
51475 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51476 (__defined_schedparam): Define to 1.
ece29840
ST
51477 (__sched_param): New structure, identical to sched_param.
51478 (__need_schedparam): Undefine.
51479
e53a31fe
MF
514802010-08-31 Mike Frysinger <vapier@gentoo.org>
51481
fdc0c10d
MF
51482 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51483 (epoll_create1): Declare.
51484
e53a31fe
MF
51485 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51486
a726d796
AS
514872010-08-31 Andreas Schwab <schwab@redhat.com>
51488
51489 [BZ #7066]
51490 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51491 shifting retval into place.
51492
2f3e3dc7
UD
514932010-09-01 Ulrich Drepper <drepper@redhat.com>
51494
f2933da9
UD
51495 * nis/rpcsvc/nis.h: Update copyright notice.
51496 * nis/rpcsvc/nis.x: Likewise.
51497 * nis/rpcsvc/nis_callback.h: Likewise.
51498 * nis/rpcsvc/nis_callback.x: Likewise.
51499 * nis/rpcsvc/nis_object.x: Likewise.
51500 * nis/rpcsvc/nis_tags.h: Likewise.
51501 * nis/rpcsvc/yp.h: Likewise.
51502 * nis/rpcsvc/yp.x: Likewise.
51503 * nis/rpcsvc/ypupd.h: Likewise.
51504 * nis/yp_xdr.c: Likewise.
51505 * nis/ypupdate_xdr.c: Likewise.
51506
2f3e3dc7
UD
51507 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51508 mainly the body of pmap_getport. Add parameters to specify timeouts.
51509 (pmap_getport): Use __libc_rpc_getport.
51510 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51511 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51512 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51513
f3dcc2f9
AS
515142010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51515
51516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51517 fanotify_mark.
51518
6d34eb5b
RM
515192010-08-27 Roland McGrath <roland@redhat.com>
51520
51521 * sysdeps/i386/i686/multiarch/Makefile
51522 (CFLAGS-varshift.c): New variable.
51523
9ea3de11
UD
515242010-08-27 Ulrich Drepper <drepper@redhat.com>
51525
c96d23fc
UD
51526 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51527 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51528
9ea3de11
UD
51529 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51530
51531 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51532
623aac7f
L
515332010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51534
51535 * sysdeps/x86_64/strlen.S: Unroll the loop.
51536 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51537 strlen-sse2 strlen-sse2-bsf.
51538 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51539 __strlen_no_bsf if bit_Slow_BSF is set.
51540 (__strlen_sse42): Removed.
51541 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51542 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51543
8b2b7715
RM
515442010-08-25 Roland McGrath <roland@redhat.com>
51545
51546 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51547 * sysdeps/x86_64/multiarch/varshift.c: New file.
51548 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51549 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51550 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51551 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51552
e73015f2
L
515532010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51554
51555 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51556 strlen-sse2 strlen-sse2-bsf.
51557 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51558 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51559 (__strlen_sse2): Removed.
51560 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51561 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51562 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51563 bit_Slow_BSF for Atom.
51564 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51565 (index_Slow_BSF): Define.
51566 (HAS_SLOW_BSF): Define.
51567
df24a73e
UD
515682010-08-25 Ulrich Drepper <drepper@redhat.com>
51569
51570 [BZ #10851]
51571 * resolv/res_init.c (__res_vinit): When no server address at all
51572 is given default to loopback.
51573
f2ac4868
RM
515742010-08-24 Roland McGrath <roland@redhat.com>
51575
09055553
RM
51576 * configure.in: Remove config-name.h generation.
51577 * configure: Regenerated.
51578 * config-name.in: File removed.
51579 * scripts/config-uname.sh: New file.
51580 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51581 ($(objdir)config-name.h): New target.
51582
f2ac4868
RM
51583 * sunrpc/rpc_parse.h: Avoid nested comment.
51584
73f27d5e
RH
515852010-08-24 Richard Henderson <rth@redhat.com>
51586 Ulrich Drepper <drepper@redhat.com>
51587 H.J. Lu <hongjiu.lu@intel.com>
51588
51589 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51590 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51591 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51592 Replace _mm_srli_si128 with __m128i_shift_right. Replace
51593 _mm_alignr_epi8 with _mm_loadu_si128.
51594 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51595 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51596 (__m128i_shift_right): Removed.
51597 * sysdeps/i386/i686/multiarch/varshift.h: New file.
51598 * sysdeps/i386/i686/multiarch/varshift.S: New file.
51599 * sysdeps/x86_64/multiarch/varshift.h: New file.
51600 * sysdeps/x86_64/multiarch/varshift.S: New file.
51601
84b9230c
MF
516022010-08-21 Mike Frysinger <vapier@gentoo.org>
51603
51604 * configure.in: Move assembler checks to before sysdep dir checking.
51605
9bbd0ddc
PB
516062010-08-20 Petr Baudis <pasky@suse.cz>
51607
51608 * LICENSES: Sync the sunrpc license.
51609
9da4bb31
UD
516102010-08-19 Ulrich Drepper <drepper@redhat.com>
51611
a7ab6ec8
UD
51612 * sunrpc/auth_des.c: Update copyright notice once again.
51613 * sunrpc/auth_none.c: Likewise.
51614 * sunrpc/auth_unix.c: Likewise.
51615 * sunrpc/authdes_prot.c: Likewise.
51616 * sunrpc/authuxprot.c: Likewise.
51617 * sunrpc/bindrsvprt.c: Likewise.
51618 * sunrpc/clnt_gen.c: Likewise.
51619 * sunrpc/clnt_perr.c: Likewise.
51620 * sunrpc/clnt_raw.c: Likewise.
51621 * sunrpc/clnt_simp.c: Likewise.
51622 * sunrpc/clnt_tcp.c: Likewise.
51623 * sunrpc/clnt_udp.c: Likewise.
51624 * sunrpc/clnt_unix.c: Likewise.
51625 * sunrpc/des_crypt.c: Likewise.
51626 * sunrpc/des_soft.c: Likewise.
51627 * sunrpc/get_myaddr.c: Likewise.
51628 * sunrpc/getrpcport.c: Likewise.
51629 * sunrpc/key_call.c: Likewise.
51630 * sunrpc/key_prot.c: Likewise.
51631 * sunrpc/openchild.c: Likewise.
51632 * sunrpc/pm_getmaps.c: Likewise.
51633 * sunrpc/pm_getport.c: Likewise.
51634 * sunrpc/pmap_clnt.c: Likewise.
51635 * sunrpc/pmap_prot.c: Likewise.
51636 * sunrpc/pmap_prot2.c: Likewise.
51637 * sunrpc/pmap_rmt.c: Likewise.
51638 * sunrpc/rpc/auth.h: Likewise.
51639 * sunrpc/rpc/auth_unix.h: Likewise.
51640 * sunrpc/rpc/clnt.h: Likewise.
51641 * sunrpc/rpc/des_crypt.h: Likewise.
51642 * sunrpc/rpc/key_prot.h: Likewise.
51643 * sunrpc/rpc/netdb.h: Likewise.
51644 * sunrpc/rpc/pmap_clnt.h: Likewise.
51645 * sunrpc/rpc/pmap_prot.h: Likewise.
51646 * sunrpc/rpc/pmap_rmt.h: Likewise.
51647 * sunrpc/rpc/rpc.h: Likewise.
51648 * sunrpc/rpc/rpc_des.h: Likewise.
51649 * sunrpc/rpc/rpc_msg.h: Likewise.
51650 * sunrpc/rpc/svc.h: Likewise.
51651 * sunrpc/rpc/svc_auth.h: Likewise.
51652 * sunrpc/rpc/types.h: Likewise.
51653 * sunrpc/rpc/xdr.h: Likewise.
51654 * sunrpc/rpc_clntout.c: Likewise.
51655 * sunrpc/rpc_cmsg.c: Likewise.
51656 * sunrpc/rpc_common.c: Likewise.
51657 * sunrpc/rpc_cout.c: Likewise.
51658 * sunrpc/rpc_dtable.c: Likewise.
51659 * sunrpc/rpc_hout.c: Likewise.
51660 * sunrpc/rpc_main.c: Likewise.
51661 * sunrpc/rpc_parse.c: Likewise.
51662 * sunrpc/rpc_parse.h: Likewise.
51663 * sunrpc/rpc_prot.c: Likewise.
51664 * sunrpc/rpc_sample.c: Likewise.
51665 * sunrpc/rpc_scan.c: Likewise.
51666 * sunrpc/rpc_scan.h: Likewise.
51667 * sunrpc/rpc_svcout.c: Likewise.
51668 * sunrpc/rpc_tblout.c: Likewise.
51669 * sunrpc/rpc_util.c: Likewise.
51670 * sunrpc/rpc_util.h: Likewise.
51671 * sunrpc/rpcinfo.c: Likewise.
51672 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51673 * sunrpc/rpcsvc/key_prot.x: Likewise.
51674 * sunrpc/rpcsvc/klm_prot.x: Likewise.
51675 * sunrpc/rpcsvc/mount.x: Likewise.
51676 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51677 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51678 * sunrpc/rpcsvc/rex.x: Likewise.
51679 * sunrpc/rpcsvc/rstat.x: Likewise.
51680 * sunrpc/rpcsvc/rusers.x: Likewise.
51681 * sunrpc/rpcsvc/sm_inter.x: Likewise.
51682 * sunrpc/rpcsvc/spray.x: Likewise.
51683 * sunrpc/rpcsvc/yppasswd.x: Likewise.
51684 * sunrpc/rtime.c: Likewise.
51685 * sunrpc/svc.c: Likewise.
51686 * sunrpc/svc_auth.c: Likewise.
51687 * sunrpc/svc_authux.c: Likewise.
51688 * sunrpc/svc_raw.c: Likewise.
51689 * sunrpc/svc_run.c: Likewise.
51690 * sunrpc/svc_simple.c: Likewise.
51691 * sunrpc/svc_tcp.c: Likewise.
51692 * sunrpc/svc_udp.c: Likewise.
51693 * sunrpc/svc_unix.c: Likewise.
51694 * sunrpc/svcauth_des.c: Likewise.
51695 * sunrpc/xcrypt.c: Likewise.
51696 * sunrpc/xdr.c: Likewise.
51697 * sunrpc/xdr_array.c: Likewise.
51698 * sunrpc/xdr_float.c: Likewise.
51699 * sunrpc/xdr_mem.c: Likewise.
51700 * sunrpc/xdr_rec.c: Likewise.
51701 * sunrpc/xdr_ref.c: Likewise.
51702 * sunrpc/xdr_sizeof.c: Likewise.
51703 * sunrpc/xdr_stdio.c: Likewise.
51704
9da4bb31
UD
51705 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51706 handling.
51707
bdaa77bc
AS
517082010-08-19 Andreas Schwab <schwab@redhat.com>
51709
51710 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51711
fe2f79db
LM
517122010-08-19 Luis Machado <luisgpm@br.ibm.com>
51713
51714 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51715 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51716 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51717 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51718 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51719 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51720 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51721 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51722 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51723 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51724 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51725 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51726 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51727 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51728
b9b42ee0
AB
517292010-07-26 Anton Blanchard <anton@samba.org>
51730
51731 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51732 * malloc/arena.c (heap_trim): Likewise.
51733
1c06ba31
UD
517342010-08-16 Ulrich Drepper <drepper@redhat.com>
51735
51736 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51737 here. Not...
51738 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51739 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51740
f8392f40
L
517412010-08-12 H.J. Lu <hongjiu.lu@intel.com>
51742
51743 * sysdeps/i386/elf/Makefile: New file.
51744
3162f12e
AS
517452010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51746
51747 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51748 from fanotify_init.
51749 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51750 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51751
28c90b2c
UD
517522010-08-15 Ulrich Drepper <drepper@redhat.com>
51753
51754 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51755 of strncasecmp_l.
1feccb6c 51756 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 51757
ca6bb004
UD
517582010-08-14 Ulrich Drepper <drepper@redhat.com>
51759
e9f82e0d
UD
51760 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51761 strncase_l-nonascii.
51762 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51763 Add strncase_l-ssse3.
51764 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51765 * sysdeps/x86_64/strcmp.S: Likewise.
51766 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51767 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51768 * sysdeps/x86_64/strncase.S: New file.
51769 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51770 * sysdeps/x86_64/strncase_l.S: New file.
51771 * string/Makefile (strop-tests): Add strncasecmp.
51772 * string/test-strncasecmp.c: New file.
51773
51774 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51775 warning.
51776
ca6bb004
UD
51777 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51778 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51779
052fa7b3
AS
517802010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51781
51782 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51783
962dba78
UD
517842010-08-12 Ulrich Drepper <drepper@redhat.com>
51785
51786 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51787 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51788 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51789
bebff237
AM
517902010-05-01 Alan Modra <amodra@gmail.com>
51791
51792 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51793 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51794 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51795 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51796 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51797 tidying. Don't tail-call __sigjmp_save for static lib.
51798 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51799 save location.
51800 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51801 (CALL_MCOUNT): Add eh info, and nop after bl.
51802 (TAIL_CALL_SYSCALL_ERROR): New macro.
51803 (PSEUDO_RET): Use it.
51804 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51805 Correct save location of integer regs and cr.
51806 (_dl_profile_resolve): Correct cr save location. Delete nops
51807 after bl when SHARED. Reduce cfi size a little by better
51808 placement of cfi directives.
51809 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51810 make a stack frame. Instead use parm save area as a temp.
51811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51812 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
51813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51814 Don't make a stack frame for parent, use parm save area.
51815 Increase child stack frame to 112 bytes. Don't save unused reg,
51816 and adjust reg usage. Set up cfi on error recovery and
51817 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51819 (__makecontext): Add dummy nop after jump to exit.
51820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51821 Use correct parm save area and cr save, reduce stack frame.
51822 Correct cfi for possible PSEUDO_RET frame setup.
51823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51824 Branch to local label emitted by PSEUDO_RET rather than
51825 __syscall_error.
51826
02637374
AS
518272010-08-12 Andreas Schwab <schwab@redhat.com>
51828
51829 [BZ #11904]
51830 * locale/programs/locale.c (print_assignment): New function.
51831 (show_locale_vars): Use it.
51832
c3e2f19b
UD
518332010-08-11 Ulrich Drepper <drepper@redhat.com>
51834
3cdaa6ad
UD
51835 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51836 field.
51837 (struct statfs64): Likewise.
51838 (_STATFS_F_FLAGS): Define.
51839 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51840 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51841 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51842 (ST_VALID): Define locally.
51843 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51844 __statvfs_getflags, use the provided value.
51845 * sysdeps/unix/sysv/linux/kernel-features.h: Define
51846 __ASSUME_STATFS_F_FLAGS.
51847
754f7da3
UD
51848 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51849
10b3bedc
UD
51850 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51851 Add sys/fanotify.h.
51852 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51853 fanotify_mask for GLIBC_2.13.
51854 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51855 fanotify_init and fanotify_mark.
51856 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51857 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51858
c08fb0d7
UD
51859 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51860 Add prlimit.
51861 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51862 prlimit64 for GLIBC_2.13.
51863 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51864 prlimit64.
51865 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51866 syscall.
51867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51868 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51869 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51870 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51871 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
51872 add prlimit alias.
51873 * sysdeps/unix/sysv/linux/prlimit.c: New file.
51874
15bac72b
UD
51875 [BZ #11903]
51876 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51877 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51878
c3e2f19b
UD
51879 * nss/Makefile: Add rules to build and run tst-nss-test1.
51880 * shlib-versions: Add entry for libnss_test1.
51881 * nss/nss_test1.c: New file.
51882 * nss/tst-nss-test1.c: New file.
51883
51884 * nss/nsswitch.c (__nss_database_custom): Define new variable.
51885 (__nss_configure_lookup): Set appropriate entry in
51886 __nss_configure_lookup to true.
51887 * nss/nsswitch.h: Define enum with indeces of databases in
51888 databases and __nss_database_custom arrays. Declare
51889 __nss_database_custom.
51890 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51891 to avoid using nscd when custom rules are installed.
51892 * nss/getXXbyYY_r.c: Likewise.
51893 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51894
51895 * nss/nss_files/files-parse.c: Whitespace fixes.
51896
f15ce4d8
UD
518972010-08-09 Ulrich Drepper <drepper@redhat.com>
51898
51899 [BZ #11883]
51900 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51901 * posix/fnmatch_loop.c: Likewise.
51902
d22e4cc9
AK
519032010-07-17 Andi Kleen <ak@linux.intel.com>
51904
51905 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51906 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51907 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51908 * Versions.def [GLIBC_2.13]: Add.
51909
805bc17d
UD
519102010-08-06 Ulrich Drepper <drepper@redhat.com>
51911
51912 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51913 Also fail if tpwd after pwuid call is NULL.
51914
5a42321d
ST
519152010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
51916
51917 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51918 when converting to ms.
51919
fd3ebeda
ST
519202010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51921
51922 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51923 EOPNOTSUPP errors with ENOTTY.
51924 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51925 EOPNOTSUPP errors with ENOTTY.
51926
73507d3a
UD
519272010-07-31 Ulrich Drepper <drepper@redhat.com>
51928
51929 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51930 Add strcasecmp_l-ssse3.
51931 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51932 strcasecmp.
51933 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51934 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51935 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51936
fe36dd02
UD
519372010-07-30 Ulrich Drepper <drepper@redhat.com>
51938
66f6765a
UD
51939 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51940
42e08a54
UD
51941 * string/Makefile (strop-tests): Add strcasecmp.
51942 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51943 strcasecmp_l-nonascii.
51944 (gen-as-const-headers): Add locale-defines.sym.
51945 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51946 * sysdeps/x86_64/strcasecmp.S: New file.
51947 * sysdeps/x86_64/strcasecmp_l.S: New file.
51948 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
51949 * sysdeps/x86_64/locale-defines.sym: New file.
51950 * string/test-strcasecmp.c: New file.
51951
fe36dd02
UD
51952 * string/test-strcasestr.c: Test both ends of the range of characters.
51953 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
51954
48cbc0d6
RM
519552010-07-29 Roland McGrath <roland@redhat.com>
51956
76e6d6bc 51957 [BZ #11856]
48cbc0d6
RM
51958 * manual/locale.texi (Yes-or-No Questions): Fix example code.
51959
880113d9
UD
519602010-07-27 Ulrich Drepper <drepper@redhat.com>
51961
51962 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
51963 for ld.so.
51964
deb9cabb
AS
519652010-07-27 Andreas Schwab <schwab@redhat.com>
51966
51967 * manual/memory.texi (Malloc Tunable Parameters): Document
51968 M_PERTURB.
51969
1c7570ff
RM
519702010-07-26 Roland McGrath <roland@redhat.com>
51971
51972 [BZ #11840]
51973 * configure.in (-fgnu89-inline check): Set and substitute
51974 gnu89_inline, not libc_cv_gnu89_inline.
51975 * configure: Regenerated.
51976 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51977
24fb0f88
UD
519782010-07-26 Ulrich Drepper <drepper@redhat.com>
51979
51980 * string/test-strnlen.c: New file.
51981 * string/Makefile (strop-tests): Add strnlen.
51982 * string/tester.c (test_strnlen): Add a few more test cases.
51983 * string/tst-strlen.c: Better error reporting.
51984
51985 * sysdeps/x86_64/strnlen.S: New file.
51986
8e96b93a
UD
519872010-07-24 Ulrich Drepper <drepper@redhat.com>
51988
51989 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51990 lower-latency instructions.
51991
dbc676d4
UD
519922010-07-23 Ulrich Drepper <drepper@redhat.com>
51993
51994 * string/test-strcasestr.c: New file.
51995 * string/test-strstr.c: New file.
51996 * string/Makefile (strop-tests): Add strstr and strcasestr.
51997 * string/str-two-way.h: Don't undefine MAX.
51998 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51999
f6a31e0e
AS
520002010-07-21 Andreas Schwab <schwab@redhat.com>
52001
52002 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52003 strcasestr-nonascii.
52004 (CFLAGS-strcasestr-nonascii.c): Define.
52005 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
52006 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
52007 Remove unused attribute.
52008
5dbc3b6c
RM
520092010-07-20 Roland McGrath <roland@redhat.com>
52010
52011 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
52012 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
52013 ld.so.cache was broken. With it, there is no way to disable dsocaps
52014 like LD_HWCAP_MASK can disable hwcaps.
52015
23d101d8
EPM
520162010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52017
52018 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
52019
cc9f2e47
UD
520202010-07-16 Ulrich Drepper <drepper@redhat.com>
52021
52022 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
52023 call in strcasestr.
52024 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
52025 __strcasestr_sse42_nonascii.
52026 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
52027 strcasestr-nonascii.c.
52028 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
52029
77c1b069
LM
520302010-06-15 Luis Machado <luisgpm@br.ibm.com>
52031
52032 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
52033 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
52034 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
52035 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
52036
440566c3
UD
520372010-07-09 Ulrich Drepper <drepper@redhat.com>
52038
52039 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
52040 fcntl.
52041
5be9d05d
AS
520422010-07-06 Andreas Schwab <schwab@redhat.com>
52043
c30b7ee2 52044 [BZ #11577]
5be9d05d
AS
52045 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
52046 dl_signal_cerror.
52047
8a492a67
UD
520482010-07-06 Ulrich Drepper <drepper@redhat.com>
52049
52050 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
52051 _PC_PIPE_BUF using F_GETPIPE_SZ.
52052
713df3d5
RM
520532010-07-05 Roland McGrath <roland@redhat.com>
52054
52055 * manual/arith.texi (Rounding Functions): Fix rint description
52056 implicit in round description.
52057
702e8f14
UD
520582010-07-02 Ulrich Drepper <drepper@redhat.com>
52059
52060 * elf/Makefile: Fix linking for a few tests to make recent linker
52061 happy.
52062
52ed8be9
AS
520632010-06-30 Andreas Schwab <schwab@redhat.com>
52064
52065 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52066 $(common-objpfx)libc_nonshared.a.
52067
f47c9a11
LM
520682010-06-21 Luis Machado <luisgpm@br.ibm.com>
52069
52070 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
52071 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
52072 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52073 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52074 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
52075 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
52076 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52077 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
52079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
52080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
52081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
52083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
52085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
52086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
52087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
52088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
52090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
52092 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52093 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52094 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52095 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52096 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52097 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52098 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52099 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52100 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52101 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52102 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52103 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52118
6fb8cbcb
L
521192010-06-25 H.J. Lu <hongjiu.lu@intel.com>
52120
52121 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52122 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
52123 * string/memmove.c (memmove): Renamed to ...
52124 (MEMMOVE): ...this. Default to memmove.
52125 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52126 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52127 (END_CHK): Define.
52128 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52129 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52130 mempcpy-ssse3-back memmove-ssse3-back.
52131 * sysdeps/x86_64/multiarch/bcopy.S: New file .
52132 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52133 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52134 * sysdeps/x86_64/multiarch/memcpy.S: New file.
52135 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52136 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52137 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52138 * sysdeps/x86_64/multiarch/memmove.c: New file.
52139 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52140 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52141 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52142 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52143 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52144 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52145 Define.
52146 (index_Fast_Copy_Backward): Define.
52147 (HAS_ARCH_FEATURE): Define.
52148 (HAS_FAST_REP_STRING): Define.
52149 (HAS_FAST_COPY_BACKWARD): Define.
52150
4e733bac 521512010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
52152
52153 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52154 Restore proper fallback handling.
52155
63c4ed22
UD
521562010-06-19 Ulrich Drepper <drepper@redhat.com>
52157
ac2b484c
UD
52158 [BZ #11701]
52159 * posix/group_member.c (__group_member): Correct checking loop.
52160
63c4ed22
UD
52161 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52162 OOM in getpwuid_r correctly. Return error number when the caller
52163 should return, otherwise -1.
52164 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52165 call returning > 0 value.
52166 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52167
765ade4b
AS
521682010-06-07 Andreas Schwab <schwab@redhat.com>
52169
52170 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52171 libc_nonshared.a from targets in modules-names.
52172
80da2e09
KS
521732010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
52174
52175 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52176 requires it.
52177
158db122
LM
521782010-06-10 Luis Machado <luisgpm@br.ibm.com>
52179
52180 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52181 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52182 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52183 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52184
caa78cf8
AS
521852010-06-02 Andreas Schwab <schwab@redhat.com>
52186
52187 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52188
b2ef2c01
UD
521892010-06-14 Ulrich Drepper <drepper@redhat.com>
52190
52191 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52192 and F_GETPIPE_SZ.
52193 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52194 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52195 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52196 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52197 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52198 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52199
fbd643b6
RM
522002010-06-14 Roland McGrath <roland@redhat.com>
52201
52202 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52203
f32f2869
JJ
522042010-06-07 Jakub Jelinek <jakub@redhat.com>
52205
52206 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52207 __REDIRECT followed by __THROW.
52208 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52209 * posix/getopt.h (getopt): Likewise.
52210
2a50c078
EPM
522112010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52212
52213 * hurd/lookup-at.c (__file_name_lookup_at): Accept
52214 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
52215 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52216 in AT_FLAGS.
52217 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52218 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52219
eb5ad2eb
LM
522202010-05-28 Luis Machado <luisgpm@br.ibm.com>
52221
52222 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52223
3c88fe1e
L
522242010-05-26 H.J. Lu <hongjiu.lu@intel.com>
52225
52226 [BZ #11640]
52227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52228 Properly check family and model.
52229
d2f73151
TY
522302010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
52231
52232 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52233
ebd2e13d
LM
522342010-05-24 Luis Machado <luisgpm@br.ibm.com>
52235
52236 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52237
b32b8b45
UD
522382010-05-21 Ulrich Drepper <drepper@redhat.com>
52239
52240 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52241 symbol reference.
52242
9acbe24d
AS
522432010-05-19 Andreas Schwab <schwab@redhat.com>
52244
52245 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52246 symbol reference.
52247
f0ccf6ea
AS
522482010-05-21 Andreas Schwab <schwab@redhat.com>
52249
3d04ff3a
AS
52250 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52251 and internal_recvmmsg.
52252 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52253 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52254 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52255 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52256
f0ccf6ea
AS
52257 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52258 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52259 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52260
5b08ac57
AS
522612010-05-20 Andreas Schwab <schwab@redhat.com>
52262
52263 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52264
4828935d
LM
522652010-05-17 Luis Machado <luisgpm@br.ibm.com>
52266
52267 POWER7 optimizations.
52268 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52269 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52270
373d545e
UD
522712010-05-19 Ulrich Drepper <drepper@redhat.com>
52272
52273 * version.h: Update for 2.13 development version.
52274
21a2b1ae
AS
522752010-05-12 Andrew Stubbs <ams@codesourcery.com>
52276
52277 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52278 exceptions. Return 0.
52279
3f7dcb2b
RM
522802010-05-07 Roland McGrath <roland@redhat.com>
52281
52282 * elf/ldconfig.c (main): Add a const.
52283
5f24d53a 522842010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 52285
a160f8d8
UD
52286 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52287 (args_options): Add no-idn option.
52288 (ahosts_keys_int): Add idn_flags to ai_flags.
52289 (parse_option): Handle 'i' option to clear idn_flags.
52290
5f24d53a
UD
52291 * malloc/malloc.c (_int_free): Possible race in the most recently
52292 added check. Only act on the data if no current modification
52293 happened.
265bb1ce
UD
52294
52295See ChangeLog.17 for earlier changes.