]> sourceware.org Git - glibc.git/blame - ChangeLog
Remove sigvec.
[glibc.git] / ChangeLog
CommitLineData
0781a777
RM
12014-11-14 Roland McGrath <roland@hack.frob.com>
2
3 * signal/signal.h [__USE_MISC]
4 (struct sigvec): Remove type.
5 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
6 (sigvec): Remove declaration.
7 * sysdeps/posix/sigvec.c: Moved ...
8 * signal/sigvec.c: ... here, replacing old file.
9 (struct sigvec): New type, copied from old signal.h definition.
10 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
11 (__sigvec): Convert definition to prototype.
12 (sigvec): Replace weak_alias with compat_symbol.
13 * signal/Versions (libc: GLIBC_2.21): New version set.
14 * include/signal.h: Remove __sigvec declaration.
15 * sysdeps/unix/bsd/sigvec.c: Remove file.
16 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
17 * manual/signal.texi (BSD Handler): Remove subsection.
18 Move siginterrupt up to ...
19 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
20 (Blocking in BSD): Fold subsection into its parent.
21 * NEWS: Mention sigvec removal.
22
a4733812
JM
232014-11-14 Joseph Myers <joseph@codesourcery.com>
24
5ae4fe60
JM
25 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
26 (DLA_FMS): Make definition conditional only on [__FMA4__].
27 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
28 definition.
29
6a0dd472
JM
30 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
31 Make definition conditional only on [PROF].
32 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
33 definition.
34 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
35 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
36
a4733812
JM
37 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
38 !__GNUC__].
39 * include/signal.h (__sigpause): Move declaration above call to
40 libc_hidden_proto.
41 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
42 variable.
43 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
45
cf7246dd
DM
462014-11-14 David S. Miller <davem@davemloft.net>
47
48 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
49 Define before including <string/memcpy.c> and <string/mempcpy.c>.
50
c1b0aadc
JM
512014-11-14 Joseph Myers <joseph@codesourcery.com>
52
4863355a
JM
53 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
54 * configure: Regenerated.
55 * manual/install.texi (Tools for Compilation): Document a
56 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
57 compiler verified to work.
58 * INSTALL: Regenerated.
59
c1b0aadc
JM
60 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
61 redeclare with asm name.
62 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
63 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
64 including <string.h>.
65 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
66 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
67 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
68 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
69 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
70 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
71 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
72
2a1cfd94
JM
732014-11-13 Joseph Myers <joseph@codesourcery.com>
74
bf438382
JM
75 * stdlib/strtol.c (__strtol): Use prototype definition.
76
2a1cfd94
JM
77 [BZ #17594]
78 * stdlib/strtol.c (SYM__): New macro.
79 (SYM__1): Likewise.
80 (__strtol): Likewise.
81 (strtol): Rename to __strtol and define as weak alias of
82 __strtol. Use libc_hidden_weak.
83
20ed0d26
SL
842014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
85
86 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
87 Use numbered labels in inline assembly.
88
53244a4e
SL
892014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
90
91 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
92 Add setjmp LIBC_PROBE.
93 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
94 Likewise.
95 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
96 Add longjmp, longjmp_target LIBC_PROBE.
97 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
98 Likewise.
99
47df8251
SL
1002014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
101
102 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
103 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
104 to get rid of unused variable warning.
105
618cebef
SL
1062014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
107
108 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
109 Check for unwind_backtrace == NULL only in SHARED case.
110 (__backchain_backtrace): Compile only in SHARED case.
111 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
112 Likewise.
113 (__backchain_backtrace): Declare as static.
114
c6aab2cb
RM
1152014-11-12 Roland McGrath <roland@hack.frob.com>
116
117 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
118 (__libc_multiple_threads_ptr): Variable moved ...
119 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
120
5a6fa4d7
JM
1212014-11-12 Joseph Myers <joseph@codesourcery.com>
122
24f4f825
JM
123 * conform/GlibcConform.pm: New file.
124 * conform/conformtest.pl: Use GlibcConform module.
125 * conform/linknamespace.pl: New file.
126 * conform/list-header-symbols.pl: Likewise.
127 * conform/Makefile (linknamespace-symlists-base): New variable.
128 (linknamespace-symlists-tests): Likewise.
129 (linknamespace-header-base): Likewise.
130 (linknamespace-header-tests): Likewise.
131 (tests-special): Add new tests.
132 ($(linknamespace-symlists-tests)): New rule.
133 (linknamespace-libs): New variable.
134 ($(objpfx)symlist-stdlibs): New rule.
135 ($(linknamespace-header-tests)): Likewise.
136 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
137 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
138 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
139 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
140 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
141 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
142 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
143 (test-xfail-ISO/math.h/linknamespace): Likewise.
144 (test-xfail-ISO/signal.h/linknamespace): Likewise.
145 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
146 (test-xfail-ISO/time.h/linknamespace): Likewise.
147 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
148 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
149 (test-xfail-ISO99/math.h/linknamespace): Likewise.
150 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
151 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
152 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
153 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
154 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
155 (test-xfail-ISO11/math.h/linknamespace): Likewise.
156 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
157 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
158 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
159 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
160 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
161 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
162 (test-xfail-XPG3/math.h/linknamespace): Likewise.
163 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
164 (test-xfail-XPG3/search.h/linknamespace): Likewise.
165 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
166 (test-xfail-XPG3/time.h/linknamespace): Likewise.
167 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
168 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
169 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
170 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
171 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
172 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
173 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
174 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
175 (test-xfail-XPG4/math.h/linknamespace): Likewise.
176 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
177 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
178 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
179 (test-xfail-XPG4/search.h/linknamespace): Likewise.
180 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
181 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
182 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
183 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
184 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
185 (test-xfail-XPG4/time.h/linknamespace): Likewise.
186 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
187 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
188 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
189 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
190 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
191 (test-xfail-POSIX/math.h/linknamespace): Likewise.
192 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
193 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
194 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
195 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
196 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
197 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
198 (test-xfail-POSIX/time.h/linknamespace): Likewise.
199 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
200 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
201 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
202 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
203 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
204 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
205 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
206 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
207 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
208 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
209 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
210 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
211 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
212 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
213 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
214 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
215 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
216 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
217 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
218 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
219 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
220 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
221 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
222 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
223 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
224 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
225 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
226 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
227 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
228 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
229 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
230 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
231 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
232 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
233 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
234 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
235 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
236 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
237 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
238 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
239 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
240 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
241 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
242 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
243 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
244 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
245 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
246 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
247 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
248 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
249 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
250 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
251 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
252 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
253 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
254 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
255 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
256 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
257 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
258 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
259 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
260 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
261 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
262 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
263 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
264 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
265 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
266 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
267 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
268 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
269 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
270 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
271 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
272 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
273 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
274 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
275 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
276 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
277 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
278 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
279 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
280 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
281 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
282 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
283 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
284 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
285 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
286 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
287 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
288 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
289 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
290 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
291 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
292 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
293 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
294 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
295 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
296 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
297
cc67478e
JM
298 [BZ #17589]
299 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
300 of fgets_unlocked.
301
9975e3d3
JM
302 [BZ #17585]
303 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
304 (memmem): Rename to __memmem and define as weak alias of
305 __memmem. Use libc_hidden_weak.
306 (__memmem): Use libc_hidden_def.
307 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
308 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
309 memmem.
310
c4eae752
JM
311 [BZ #17582]
312 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
313 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
314 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
315 and define as weak alias of __fgets_unlocked. Use
316 libc_hidden_weak.
317 (__fgets_unlocked): Use libc_hidden_def.
318 * include/stdio.h (__fgets_unlocked): Declare. Use
319 libc_hidden_proto.
320 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
321 __fgets_unlocked instead of fgets_unlocked.
322 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
323 (GET_NPROCS_CONF_PARSER): Likewise.
324 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
325 (GET_NPROCS_CONF_PARSER): Likewise.
326
01cad84e
JM
327 [BZ #17574]
328 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
329 weak alias of __wmemset. Use libc_hidden_weak.
330 (__wmemset): Use libc_hidden_def.
331 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
332 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
333 of wmemset.
334
939da411
JM
335 [BZ #17573]
336 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
337 with asm name __mempcpy.
338 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
339
293d9a41
JM
340 [BZ #17572]
341 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
342 and define as weak alias of __rawmemchr.
343 (__rawmemchr): Do not define as strong alias of rawmemchr.
344
bef8fd60
JM
345 [BZ #17571]
346 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
347 alias of __qsort_r.
348 (qsort): Call __qsort_r instead of qsort_r.
349 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
350 (__qsort_r): Declare. Call libc_hidden_proto.
351 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
352 instead of qsort_r.
353 * nscd/gai.c (__qsort_r): Define to qsort_r.
354 * posix/tst-rfc3484.c (__qsort_r): Likewise.
355 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
356 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
357
c52ff39e
JM
358 [BZ #17570]
359 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
360 define as weak alias of __malloc_info.
361
2f5c1b00
JM
362 [BZ #17584]
363 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
364 as weak alias of __rewinddir. Don't use libc_hidden_def.
365 (__rewinddir): Use libc_hidden_def.
366 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
367 as weak alias of __rewinddir. Don't use libc_hidden_def.
368 (__rewinddir): Use libc_hidden_def.
369 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
370 weak alias of __rewinddir. Don't use libc_hidden_def.
371 (__rewinddir): Use libc_hidden_def.
372 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
373 (__rewinddir): Use libc_hidden_proto.
374 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
375 rewinddir.
376 (__getcwd): Use __rewinddir instead of rewinddir.
377
5a6fa4d7
JM
378 [BZ #17583]
379 * libio/fileno.c (fileno): Rename to __fileno and define as weak
380 alias of __fileno. Use libc_hidden_weak.
381 (__fileno): Use libc_hidden_def.
382 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
383 * libio/ftello.c (ftello): Rename to __ftello and define as weak
384 alias of __ftello.
385 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
386 __ftello.
387 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
388 (__fread_unlocked): Define as strong alias of _IO_fread. Use
389 libc_hidden_def.
390 (fread_unlocked): Don't use libc_hidden_ver.
391 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
392 and define as weak alias of __fread_unlocked. Don't use
393 libc_hidden_def.
394 (__fread_unlocked): Use libc_hidden_def.
395 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
396 (ftello): Don't use libc_hidden_proto.
397 (__ftello): Declare. Use libc_hidden_proto.
398 (fread_unlocked): Don't use libc_hidden_proto.
399 (__fread_unlocked): Declare. Use libc_hidden_proto.
400 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
401 and __ftello instead of fileno, fread_unlocked and ftello.
402
2581b98e
SP
4032012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
404
405 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
406 GOT12.
407 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
408 Likewise.
409 (_dl_start_user): Likewise.
410 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
411
533bb7c2
SP
4122014-11-12 Carlos O'Donell <carlos@redhat.com>
413 Siddhesh Poyarekar <siddhesh@redhat.com>
414
415 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
416 Move argv and envp down instead of moving argc up.
417 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
418
fffa1cf8
LH
4192014-11-12 Leonhard Holz <leonhard.holz@web.de>
420
421 [BZ #17506]
422 * test-skeleton.c (main): Return successful if one of
423 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
424 * string/tst-strcoll-overflow.c: Define expected status.
425
fb89b46d
TU
4262014-11-12 Tatiana Udalova <t.udalova@samsung.com>
427
428 [BZ #17475]
429 * locale/iso-639.def: Define Bhili and Tulu language codes.
430
5c40c3ba
AH
4312014-11-11 Alan Hayward <alan.hayward@arm.com>
432
433 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
434
b17fe01b 4352014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
436
437 [BZ #17555]
438 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
439
bd805071
AS
4402014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
441
442 * configure.ac: Updated check of minimal required version to
443 2.22.
444 * manual/install.texi (Tools for Compilation): Updated version
445 number.
446 * configure: Regenerated.
447 * INSTALL: Likewise.
448
1400983e
AS
4492014-11-07 Andreas Schwab <schwab@linux-m68k.org>
450
451 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
452 __tls_get_addr.
453
2c46a66a
JM
4542014-11-07 Joseph Myers <joseph@codesourcery.com>
455
456 * include/sys/wait.h (__libc_waitpid): Remove declaration.
457 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
458 (__waitpid): Don't define as alias. Use libc_hidden_def not
459 libc_hidden_weak.
460 (waitpid): Define as alias of __waitpid.
461 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
462 __waitpid.
463 (__waitpid): Don't define as alias. Use libc_hidden_def not
464 libc_hidden_weak.
465 (waitpid): Define as alias of __waitpid.
466 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
467 __libc_waitpid alias.
468 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
469 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
470 Likewise.
471 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
472 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
473 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
474 alias.
475 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
476 __waitpid.
477 (__waitpid): Don't define as alias. Use libc_hidden_def not
478 libc_hidden_weak.
479 (waitpid): Define as alias of __waitpid.
480
da53d6db
CD
4812014-11-06 Carlos O'Donell <carlos@redhat.com>
482
a2887bdb
CD
483 * manual/llio.texi: Add comment that write safety has been
484 fixed in Linux.
485
da53d6db
CD
486 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
487 (localplt-build-dso): Add elf/ld.so.
488 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
489 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
490 and free for ld.so.
491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
492 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
494 Likewise.
495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
496 Likewise.
497 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
498 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
499 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
500 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
501 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
502 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
503 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
504 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
505 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
506 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
507 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
508
9cf27b8d
JM
5092014-11-05 Joseph Myers <joseph@codesourcery.com>
510
511 [BZ #14132]
512 * include/libc-symbols.h (INTUSE): Remove macro.
513 (INTDEF): Likewise.
514 (INTVARDEF): Likewise.
515 (_INTVARDEF): Likewise.
516 (INTDEF2): Likewise.
517 (INTVARDEF2): Likewise.
518 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
519 rtld_hidden_def instead of INTVARDEF.
520 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
521 (_dl_starting_up_internal): Remove declaration.
522 (_dl_starting_up): Use rtld_hidden_proto.
523 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
524 declaration.
525 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
526 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
527 _dl_starting_up.
528 * elf/dl-writev.h (_dl_writev): Likewise.
529 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
530 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
531 _dl_starting_up_internal.
532
af83568d
AZ
5332014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
534
535 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
536 test-skeleton.c.
537
b01ee67c
WN
5382014-11-05 Will Newton <will.newton@linaro.org>
539
540 * benchtests/Makefile: (bench-malloc): Add malloc thread
541 scalability benchmark.
542 * benchtests/bench-malloc-threads.c: New file.
543
be9d4ccc
RE
5442014-11-05 Richard Earnshaw <rearnsha@arm.com>
545
546 * sysdeps/aarch64/strchrnul.S: New file.
547
7110166d
AZ
5482014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
549
550 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
551 definition.
552 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
553 Likwise.
554 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
555 Likewise.
556 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
557 Likewise.
558 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
559 Likewise.
560 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
561 Likewise.
562
5632014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
564
565 * catgets/test-gencat.c: Use test-skeleton.c.
566 * catgets/tst-catgets.c: Likewise.
567 * csu/tst-empty.c: Likewise.
568 * elf/tst-audit2.c: Likewise.
569 * elf/tst-global1.c: Likewise.
570 * elf/tst-pathopt.c: Likewise.
571 * elf/tst-piemod1.c: Likewise.
572 * elf/tst-tls10.c: Likewise.
573 * elf/tst-tls11.c: Likewise.
574 * elf/tst-tls12.c: Likewise.
575 * gnulib/tst-gcc.c: Likewise.
576 * iconvdata/tst-e2big.c: Likewise.
577 * iconvdata/tst-loading.c: Likewise.
578 * iconv/tst-iconv1.c: Likewise.
579 * iconv/tst-iconv2.c: Likewise.
580 * inet/test-inet6_opt.c: Likewise.
581 * inet/tst-gethnm.c: Likewise.
582 * inet/tst-network.c: Likewise.
583 * inet/tst-ntoa.c: Likewise.
584 * intl/tst-codeset.c: Likewise.
585 * intl/tst-gettext2.c: Likewise.
586 * intl/tst-gettext3.c: Likewise.
587 * intl/tst-ngettext.c: Likewise.
588 * intl/tst-translit.c: Likewise.
589 * io/test-stat.c: Likewise.
590 * libio/test-fmemopen.c: Likewise.
591 * libio/tst-freopen.c: Likewise.
592 * libio/tst-sscanf.c: Likewise.
593 * libio/tst-ungetwc1.c: Likewise.
594 * libio/tst-ungetwc2.c: Likewise.
595 * libio/tst-widetext.c: Likewise.
596 * localedata/tst-ctype.c: Likewise.
597 * localedata/tst-digits.c: Likewise.
598 * localedata/tst-leaks.c: Likewise.
599 * localedata/tst-mbswcs1.c: Likewise.
600 * localedata/tst-mbswcs2.c: Likewise.
601 * localedata/tst-mbswcs3.c: Likewise.
602 * localedata/tst-mbswcs4.c: Likewise.
603 * localedata/tst-mbswcs5.c: Likewise.
604 * localedata/tst-setlocale.c: Likewise.
605 * localedata/tst-trans.c: Likewise.
606 * localedata/tst-wctype.c: Likewise.
607 * localedata/tst-xlocale1.c: Likewise.
608 * login/tst-grantpt.c: Likewise.
609 * malloc/tst-calloc.c: Likewise.
610 * malloc/tst-malloc.c: Likewise.
611 * malloc/tst-mallocstate.c: Likewise.
612 * malloc/tst-mcheck.c: Likewise.
613 * malloc/tst-mtrace.c: Likewise.
614 * malloc/tst-obstack.c: Likewise.
615 * math/atest-exp2.c: Likewise.
616 * math/atest-exp.c: Likewise.
617 * math/atest-sincos.c: Likewise.
618 * math/test-matherr.c: Likewise.
619 * math/test-misc.c: Likewise.
620 * math/test-powl.c: Likewise.
621 * math/tst-definitions.c: Likewise.
622 * misc/tst-dirname.c: Likewise.
623 * misc/tst-efgcvt.c: Likewise.
624 * misc/tst-fdset.c: Likewise.
625 * misc/tst-hsearch.c: Likewise.
626 * misc/tst-mntent2.c: Likewise.
627 * nptl/tst-sem7.c: Likewise.
628 * nptl/tst-sem8.c: Likewise.
629 * nptl/tst-sem9.c: Likewise.
630 * nss/test-netdb.c: Likewise.
631 * posix/tst-fnmatch.c: Likewise.
632 * posix/tst-getlogin.c: Likewise.
633 * posix/tst-gnuglob.c: Likewise.
634 * posix/tst-mmap.c: Likewise.
635 * pwd/tst-getpw.c: Likewise.
636 * resolv/tst-inet_ntop.c: Likewise.
637 * rt/tst-timer.c: Likewise.
638 * stdio-common/test-fseek.c: Likewise.
639 * stdio-common/test-popen.c: Likewise.
640 * stdio-common/test-vfprintf.c: Likewise.
641 * stdio-common/tst-cookie.c: Likewise.
642 * stdio-common/tst-fileno.c: Likewise.
643 * stdio-common/tst-gets.c: Likewise.
644 * stdio-common/tst-obprintf.c: Likewise.
645 * stdio-common/tst-perror.c: Likewise.
646 * stdio-common/tst-sprintf2.c: Likewise.
647 * stdio-common/tst-sprintf3.c: Likewise.
648 * stdio-common/tst-sprintf.c: Likewise.
649 * stdio-common/tst-swprintf.c: Likewise.
650 * stdio-common/tst-tmpnam.c: Likewise.
651 * stdio-common/tst-unbputc.c: Likewise.
652 * stdio-common/tst-wc-printf.c: Likewise.
653 * stdlib/tst-environ.c: Likewise.
654 * stdlib/tst-fmtmsg.c: Likewise.
655 * stdlib/tst-limits.c: Likewise.
656 * stdlib/tst-rand48-2.c: Likewise.
657 * stdlib/tst-rand48.c: Likewise.
658 * stdlib/tst-random2.c: Likewise.
659 * stdlib/tst-random.c: Likewise.
660 * stdlib/tst-strtol.c: Likewise.
661 * stdlib/tst-strtoll.c: Likewise.
662 * stdlib/tst-tls-atexit.c: Likewise.
663 * stdlib/tst-xpg-basename.c: Likewise.
664 * string/test-ffs.c: Likewise.
665 * string/tst-bswap.c: Likewise.
666 * string/tst-inlcall.c: Likewise.
667 * string/tst-strtok.c: Likewise.
668 * string/tst-strxfrm.c: Likewise.
669 * sysdeps/x86_64/tst-audit10.c: Likewise.
670 * sysdeps/x86_64/tst-audit3.c: Likewise.
671 * sysdeps/x86_64/tst-audit4.c: Likewise.
672 * sysdeps/x86_64/tst-audit5.c: Likewise.
673 * time/tst-ftime_l.c: Likewise.
674 * time/tst-getdate.c: Likewise.
675 * time/tst-mktime3.c: Likewise.
676 * time/tst-mktime.c: Likewise.
677 * time/tst-posixtz.c: Likewise.
678 * time/tst-strptime2.c: Likewise.
679 * time/tst-strptime3.c: Likewise.
680 * wcsmbs/tst-btowc.c: Likewise.
681 * wcsmbs/tst-mbrtowc.c: Likewise.
682 * wcsmbs/tst-mbsrtowcs.c: Likewise.
683 * wcsmbs/tst-wchar-h.c: Likewise.
684 * wcsmbs/tst-wcpncpy.c: Likewise.
685 * wcsmbs/tst-wcrtomb.c: Likewise.
686 * wcsmbs/tst-wcsnlen.c: Likewise.
687 * wcsmbs/tst-wcstof.c: Likewise.
688
2004e7fb
JM
6892014-11-04 Joseph Myers <joseph@codesourcery.com>
690
ab97ee8f
JM
691 [BZ #14132]
692 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
693 INTDEF.
694 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
695 declaration.
696 (_dl_mcount): Use rtld_hidden_proto.
697 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
698 _dl_mcount.
699 * elf/rtld.c (_rtld_global_ro): Likewise.
700
c5684fdb
JM
701 [BZ #14132]
702 * elf/dl-init.c (_dl_init): Don't use INTDEF.
703 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
704 of _dl_init_internal.
705 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
706 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
707 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
708 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
709 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
710 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
711 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
712 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
713 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
714 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
715 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
716 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
717 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
718 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
719 * sysdeps/tile/dl-start.S (_start): Likewise.
720 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
721 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
722
4243cbea
JM
723 [BZ #14132]
724 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
725 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
726 (rtld_progname): Make macro definition unconditional.
727 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
728 INTDEF.
729 (dlmopen_doit): Do not use INTUSE with _dl_argv.
730 (dl_main): Likewise.
731 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
732 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
733 instead of _dl_argv_internal.
734 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
735 __GI__dl_argv instead of INTUSE(_dl_argv).
736 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
737 __GI__dl_argv instead of _dl_argv_internal.
738
2004e7fb
JM
739 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
740 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
741 macro.
742 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
743 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
744 New macro.
745 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
746 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
747 macro.
748 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
749 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
750
97827bfc
AS
7512014-11-04 Andreas Schwab <schwab@suse.de>
752
753 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
754
5e4df284
AZ
7552014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
756
757 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
758 mtvsrd instruction in binary form.
759
04b76b5a
AS
7602014-11-03 Andreas Schwab <schwab@suse.de>
761
762 [BZ #17522]
763 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
764 for less than MB_LEN_MAX use a local buffer of that size.
765 * libio/tst-fputws.c: New file.
766 * libio/Makefile (tests): Add tst-fputws.
767
4c6da7da
JM
7682014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
769
770 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
771 the size of the fpu_fr.fpu_dregs[] array.
772
1679ba8e
JM
7732014-11-01 Joseph Myers <joseph@codesourcery.com>
774
775 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
776 (__nanosleep): Do not define as alias.
777 (nanosleep): Define as alias of __nanosleep.
778 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
779 __libc_nanosleep name.
780
2626c183
JM
7812014-10-31 Joseph Myers <joseph@codesourcery.com>
782
783 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
784 install.texi in comment.
785
7f981fc2
TR
7862014-10-31 Torvald Riegel <triegel@redhat.com>
787
788 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
789 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
790 ... add here and use lwsync or sync ...
791 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
792 ... and add here using lwsync.
793
d6f373d2
MF
7942014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
795
796 * elf/dl-machine-reject-phdr.h: New file.
797 * elf/dl-load.c: #include that.
798 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
799 if that returned true.
800
67c37987
RM
8012014-10-31 Roland McGrath <roland@hack.frob.com>
802
803 [BZ #17496]
804 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
805 gen-as-const-headers chunk. Add a big scare comment after the last
806 safe place to touch before-compile.
807
94a42455 8082014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 809
f3f5d895
JM
810 * manual/install.texi (Tools for Compilation): Update autoconf
811 version requirements.
812 * INSTALL: Regenerated.
813
f62ff286
JM
814 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
815 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
816 (__libc_pselect): Likewise.
94a42455
JM
817
818 [BZ #14138]
819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
823
ff9dbdc0
TR
8242014-10-31 Torvald Riegel <triegel@redhat.com>
825
826 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
827 correct barrier instruction.
828 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
829 Likewise.
830 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
831 Likewise.
832
b4f66884
RM
8332014-10-30 Roland McGrath <roland@hack.frob.com>
834
835 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
836 after defining inlines. Instead, just use parens to defeat macro
837 expansion of __isctype in its declaration.
838
e19c95fd
JM
8392014-10-30 Joseph Myers <joseph@codesourcery.com>
840
841 * include/sys/uio.h (__libc_readv): Remove declaration.
842 (__libc_writev): Likewise.
843 * misc/readv.c (__libc_readv): Rename to __readv.
844 (__readv): Do not define as alias.
845 (readv): Define as alias of __readv.
846 * misc/writev.c (__libc_writev): Rename to __writev.
847 (__writev): Do not define as alias.
848 (writev): Define as alias of __writev.
849 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
850 (__readv): Do not define as alias.
851 (readv): Define unconditionally as alias of __readv.
852 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
853 (__writev): Do not define as alias.
854 (writev): Define unconditionally as alias of __writev.
855 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
856 name.
857 (writev): Do not define __libc_writev name.
858
65b00b6c
RM
8592014-10-30 Roland McGrath <roland@hack.frob.com>
860
861 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
862 (convert_charseq): New function, broken out of ...
863 (use_from_charmap): ... here. Call it.
864 (use_to_charmap): Use convert_charseq and free instead of duplicating
865 its code with a variable-length stack struct.
866
d4e157aa
JM
8672014-10-30 Joseph Myers <joseph@codesourcery.com>
868
869 * include/fcntl.h (__libc_creat): Remove declaration.
870 * io/creat.c (__libc_creat): Rename to creat.
871 (creat): Do not define as alias.
872 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
873 of creat instead of __libc_creat.
874 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
875 to creat.
876 (creat): Do not define as alias.
877 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
878 __libc_creat.
879 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
880 __libc_creat name.
881 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
882 Likewise.
883
0c6891a0
CD
8842014-10-29 Carlos O'Donell <carlos@redhat.com>
885
886 * manual/llio.texi: Add comments discussing why write() may be
887 considered MT-unsafe on Linux.
888
cc00cece
CD
8892014-10-28 Carlos O'Donell <carlos@redhat.com>
890
891 * dl-load.c (local_strdup): Remove.
892 (expand_dynamic_string_token): Use __strdup.
893 (decompose_rpath): Likewise.
894 (_dl_map_object): Likewise.
895
51e623f2
JM
8962014-10-28 Joseph Myers <joseph@codesourcery.com>
897
898 [BZ #14132]
899 * sysdeps/generic/unwind-dw2-fde.c
900 (__register_frame_info_bases_internal): Do not declare.
901 (__register_frame_info_table_bases_internal): Likewise.
902 (__deregister_frame_info_bases_internal): Likewise.
903 (__register_frame_info_bases): Declare and use hidden_proto before
904 definition. Use hidden_def instead of INTDEF.
905 (__register_frame_info_table_bases): Likewise.
906 (__deregister_frame_info_bases): Likewise.
907 (__register_frame_info): Do not use INTUSE.
908 (__register_frame): Likewise.
909 (__register_frame_info_table): Likewise.
910 (__register_frame_table): Likewise.
911 (__deregister_frame_info): Likewise.
912 (__deregister_frame): Likewise.
913
03d41216
GC
9142014-10-27 Gratian Crisan <gratian.crisan@ni.com>
915
916 * sysdeps/unix/sysv/linux/arm/kernel-features.h
917 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
918 not undefine.
919 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
920 Likewise.
921 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
922 Likewise.
923
a4b3624d
JM
9242014-10-27 Joseph Myers <joseph@codesourcery.com>
925
926 [BZ #14138]
927 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
928 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
929 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
930 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
931 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
932 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
933 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
934 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
935 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
936 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
937 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
938 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
939 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
940 syscall.
941 (setfsuid): Likewise.
942 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
943 (setfsuid): Likewise.
944 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
945 (setfsuid): Likewise.
946 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
947 Likewise.
948 (setfsuid): Likewise.
949 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
950 (setfsuid): Likewise.
951 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
952 Likewise.
953 (setfsuid): Likewise.
954
3574f2fd
AS
9552014-10-27 Andreas Schwab <schwab@suse.de>
956
957 [BZ #17501]
958 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
959 check for Slow_SSE4_2 feature bit.
960 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
961 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
962 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
963 Likewise. Fix check for Fast_Unaligned_Load feature bit.
964
70996a37
RM
9652014-10-24 Roland McGrath <roland@hack.frob.com>
966
461a7b1e
RM
967 * configure.ac: Validate compiler version with a empirical test of
968 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
969 $CC -v output.
970 * configure: Regenerated.
971
70996a37
RM
972 * inet/htons.c (htons): Prototypify.
973 * inet/htonl.c (htonl): Likewise.
974
e80514b5
WD
9752014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
976
977 * string/strncat.c (strncat): Improve performance by using strlen.
978
6e46de42
WD
9792014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
980
981 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
982
6a9ad2fa
WD
9832014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
984
985 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
986 Call libc_fetestexcept_aarch64.
987
1c8810ed
WD
9882014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
989
990 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
991 Call libc_feholdexcept_aarch64.
992
8b1af712
WD
9932014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
994
995 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
996 Call get_rounding_mode.
997
a7b00c11
WD
9982014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
999
1000 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1001 Simplify logic.
1002
3a84f1a6
WD
10032014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1004
1005 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
1006 Simplify logic.
1007
48eb7a94
JM
10082014-10-24 Joseph Myers <joseph@codesourcery.com>
1009
c8bc4038
JM
1010 [BZ #14138]
1011 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
1012 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
1013 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
1014 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
1015 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
1016 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
1017 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
1018 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1019 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
1020 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
1021 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1022 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1023 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1024 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
1025 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
1026 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
1027 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
1028 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
1029 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
1030 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
1031 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
1032 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
1033 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
1034 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
1035 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
1036 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
1037 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
1038 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
1039 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
1040 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
1041 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
1042 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
1043 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
1044 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
1045 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
1046 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
1047 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
1048 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
1049 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
1050 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
1051 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
1052 syscall.
1053 (geteuid): Likewise.
1054 (getgid): Likewise.
1055 (getuid): Likewise.
1056 (getresgid): Likewise.
1057 (getresuid): Likewise.
1058 (getgroups): Likewise.
1059 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
1060 (geteuid): Likewise.
1061 (getgid): Likewise.
1062 (getuid): Likewise.
1063 (getresgid): Likewise.
1064 (getresuid): Likewise.
1065 (getgroups): Likewise.
1066 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
1067 (geteuid): Likewise.
1068 (getgid): Likewise.
1069 (getuid): Likewise.
1070 (getresgid): Likewise.
1071 (getresuid): Likewise.
1072 (getgroups): Likewise.
1073 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
1074 Likewise.
1075 (geteuid): Likewise.
1076 (getgid): Likewise.
1077 (getuid): Likewise.
1078 (getresgid): Likewise.
1079 (getresuid): Likewise.
1080 (getgroups): Likewise.
1081 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
1082 (geteuid): Likewise.
1083 (getgid): Likewise.
1084 (getuid): Likewise.
1085 (getresgid): Likewise.
1086 (getresuid): Likewise.
1087 (getgroups): Likewise.
1088 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
1089 Likewise.
1090 (geteuid): Likewise.
1091 (getgid): Likewise.
1092 (getuid): Likewise.
1093 (getgroups): Likewise.
1094
48eb7a94
JM
1095 [BZ #14138]
1096 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
1097 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
1098 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1099 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1100 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
1101 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
1102 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
1103 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
1104 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
1105 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
1106 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
1107 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
1108 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
1109 __chown.
1110 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
1111 (lchown): Likewise.
1112 (fchown): Likewise.
1113 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
1114 Likewise.
1115 (lchown): Likewise.
1116 (fchown): Likewise.
1117 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1118 (lchown): Likewise.
1119 (fchown): Likewise.
1120 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1121 Likewise.
1122 (lchown): Likewise.
1123 (fchown): Likewise.
1124
ea9a7c8b
WD
11252014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1126
1127 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1128 Simplify logic.
1129
e226de33
WD
11302014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1131
1132 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1133 Cleanup logic.
1134
6e3d8ed3
WD
11352014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1136
1137 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1138 Remove unused include.
1139
eb04247d
WD
11402014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1141
1142 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1143 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1144 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1145 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1146
13d84554
CD
11472014-10-23 Carlos O'Donell <carlos@systemhalted.org>
1148 Helge Deller <deller@gmx.de>
1149
1150 [BZ #17508]
1151 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1152 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1153 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1154
15f9c5df
JM
11552014-10-23 Joseph Myers <joseph@codesourcery.com>
1156
1157 [BZ #14132]
1158 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1159 Remove macro definition.
1160 (__ashrdi3_v_glibc20): Likewise.
1161 (__lshrdi3_v_glibc20): Likewise.
1162 (__cmpdi2_v_glibc20): Likewise.
1163 (__ucmpdi2_v_glibc20): Likewise.
1164 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1165 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1166 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1167 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1168 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1169 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1170
c6dfed24
RM
11712014-10-22 Roland McGrath <roland@hack.frob.com>
1172
1173 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1174 old GNU extension [0] syntax.
1175 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1176 alloca rather than an array member with variable length.
1177 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1178 * nscd/nscd.c (invalidate_db): New function, broken out of ...
1179 (parse_opt): ... here. Likewise use alloca there.
1180 Validate the -i argument before checking for rootness.
1181 (send_shutdown): New function, broken out of ...
1182 (parse_opt): ... here.
1183
8c2b1ed8
RM
11842014-10-22 Roland McGrath <roland@hack.frob.com>
1185
1186 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1187 macro to get at the _rt_local_ro field.
1188 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1189 ([PIC] case) or _dl_hwcap ([!PIC] case).
1190 * sysdeps/arm/setjmp.S: Likewise.
1191
1192 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1193 * sysdeps/arm/configure.ac: New check to define it.
1194 * sysdeps/arm/configure: Regenerated.
1195 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1196 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1197 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1198 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1199 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1200 Use move/movt pair instead of a load.
1201 (LDST_GLOBAL): Macro removed.
1202 (LDR_GLOBAL): New macro replaces it.
1203 (LDR_HIDDEN): New macro.
1204 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1205 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1206
1207 * setjmp/tst-setjmp-static.c: New file.
1208 * setjmp/Makefile (tests): Add it.
1209 (tests-static): New variable.
1210
b5af9297
MR
12112014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
1212
1213 [BZ #17485]
1214 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1215
a13d0d74
JM
12162014-10-21 Joseph Myers <joseph@codesourcery.com>
1217
1218 [BZ #14132]
1219 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1220
f05e73f6
RM
12212014-10-21 Roland McGrath <roland@hack.frob.com>
1222
1223 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1224
6ab1d1ea
RM
12252014-10-20 Roland McGrath <roland@hack.frob.com>
1226
1227 * io/fts.c (dirent_not_directory): New function.
1228 (fts_build): Call it.
1229
ab49e763
RM
12302014-10-20 Roland McGrath <roland@hack.frob.com>
1231
e436eb79
RM
1232 * nptl/version.c (__nptl_main): Use normal __write rather than
1233 INTERNAL_SYSCALL.
1234 (banner): Update copyright years.
1235
6af246cf
RM
1236 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1237 gettimeofday.
1238 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1239 * nptl/pthread_cond_timedwait.c: Likewise.
1240 * nptl/pthread_mutex_timedlock.c: Likewise.
1241 * nptl/sem_timedwait.c: Likewise.
1242
ab49e763
RM
1243 * sysdeps/nptl/bits/libc-lock.h
1244 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1245 (__libc_lock_init_recursive): Return void, not 0.
1246 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1247 (__libc_rwlock_init): Likewise.
1248 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1249
f50277c1
TR
12502014-10-20 Torvald Riegel <triegel@redhat.com>
1251
1252 [BZ #15215]
1253 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1254 (__pthread_once_slow): ... here.
1255 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1256 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1257
63668b70
TR
12582014-10-20 Torvald Riegel <triegel@redhat.com>
1259
1260 [BZ #15215]
1261 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1262 __PTHREAD_ONCE_FORK_GEN_INCR): New.
1263 * sysdeps/nptl/fork.c (__libc_fork): Use them.
1264 * nptl/pthread_once.c (__pthread_once): Likewise.
1265 Update comments.
1266
42b7f5d4
JM
12672014-10-20 Joseph Myers <joseph@codesourcery.com>
1268
1269 [BZ #14138]
1270 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1271 name.
1272 (writev): Use __libc_writev as strong name.
1273 * sysdeps/unix/sysv/linux/readv.c: Remove file.
1274 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1275
b0643088
RM
12762014-10-17 Roland McGrath <roland@hack.frob.com>
1277
114c4e09
RM
1278 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1279
674b8978
RM
1280 * sysdeps/i386/nptl/tls.h
1281 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1282 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1283 New macros.
1284 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1285 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1286 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1287 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1288 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1289 Call CHECK_THREAD_SYSINFO instead of doing an assert.
1290
184ee940
RM
1291 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1292 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1293 on [__NR_futex].
1294 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1295 broken out of ...
1296 (__pthread_mutex_init): ... here. Call it.
1297 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1298 Conditionalize PI cases on [__NR_futex].
1299 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1300 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1301 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1302
327ae257
RM
1303 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1304 conditional on [SIGSETXID].
1305 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1306 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1307 is defined. Likewise for SIGSETXID.
1308 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1309 Conditionalize definitions on [SIGSETXID].
1310 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1311 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1312 unblocking on [SIGCANCEL].
1313
b0643088
RM
1314 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1315 [__NR_set_robust_list].
1316
33cc770b
SP
13172014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1318
1319 * string/strcoll_l.c (get_next_seq): Fix up formatting.
1320 (do_compare): Likewise.
1321
0742aef6
LH
13222014-10-17 Leonhard Holz <leonhard.holz@web.de>
1323
1324 [BZ #15884]
1325 * string/strcoll_l.c: Don't include stdio.h.
1326 (coll_seq): Remove members idxarr and rulearr.
1327 (get_next_seq_cached): Remove function.
1328 (get_next_seq): Likewise.
1329 (get_next_seq_nocache): Rename to get_next_seq.
1330 (do_compare): Remove function.
1331 (do_compare_nocache): Rename to do_compare.
1332 (STRCOLL): Remove weight and rules cache.
1333
ee54ce44
RM
13342014-10-16 Roland McGrath <roland@hack.frob.com>
1335
1336 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1337 * sysdeps/arm/sfp-machine.h: ... to here.
1338 * sysdeps/arm/Implies: Remove arm/soft-fp.
1339
a75d3b02
JM
13402014-10-14 Joseph Myers <joseph@codesourcery.com>
1341
1342 * conform/data/sys/utsname.h-data (*_t): Allow.
1343 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1344 [POSIX] (WEXITED): Do not expect constant.
1345 [POSIX] (WSTOPPED): Likewise.
1346 [POSIX] (WNOHANG): Likewise.
1347 [POSIX] (WNOWAIT): Likewise.
1348 [POSIX] (siginfo_t): Do not expect type or elements.
1349 [POSIX] (pid_t): Do not expect type.
1350 [POSIX] (signal.h): Do not allow header.
1351 [POSIX] (sys/resource.h): Likewise.
1352 [POSIX] (si_*): Do not allow pattern.
1353 [POSIX] (W*): Likewise.
1354 [POSIX] (P_*): Likewise.
1355 [POSIX] (BUS_*): Likewise.
1356 [POSIX] (CLD_*): Likewise.
1357 [POSIX] (FPE_*): Likewise.
1358 [POSIX] (ILL_*): Likewise.
1359 [POSIX] (POLL_*): Likewise.
1360 [POSIX] (SEGV_*): Likewise.
1361 [POSIX] (SI_*): Likewise.
1362 [POSIX] (TRAP_*): Likewise.
1363 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1364 variable.
1365
fda389c8
SP
13662014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1367
1368 [BZ #12926]
1369 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1370 infinite loop when __recvmsg returns 0.
1371
6bc6bd3b
JM
13722014-10-10 Joseph Myers <joseph@codesourcery.com>
1373
fcb32af1
JM
1374 * CANCEL-FCT-WAIVE: Remove file.
1375 * CANCEL-FILE-WAIVE: Likewise.
1376
6bc6bd3b
JM
1377 [BZ #14132]
1378 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1379 instead of INTVARDEF.
1380 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1381 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1382 rtld_hidden_data_def instead of INTVARDEF.
1383 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1384 * elf/dl-deps.c (expand_dst): Likewise.
1385 * elf/dl-load.c (_dl_dst_count): Likewise.
1386 (_dl_dst_substitute): Likewise.
1387 (decompose_rpath): Likewise.
1388 (_dl_init_paths): Likewise.
1389 (open_path): Likewise.
1390 (_dl_map_object): Likewise.
1391 * elf/rtld.c (dl_main): Likewise.
1392 (process_dl_audit): Likewise.
1393 (process_envvars): Likewise.
1394 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1395 Remove declaration.
1396 (__libc_enable_secure): Use rtld_hidden_proto.
1397
b8c80a7e
KS
13982014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1399
1400 * elf/dl-load.c
1401 (add_path): New function broken out of _dl_rtld_di_serinfo.
1402 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
1403
ff12c11f
JM
14042014-10-09 Joseph Myers <joseph@codesourcery.com>
1405
5c0508a3
JM
1406 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1407 parentheses around macro arguments.
1408 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1409 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1410 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1411 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1412 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1413 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1414 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1415 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1416 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1417 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1418 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1419 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1420 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1421 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1422 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1423 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1424 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1425 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1426 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1427 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1428 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1429 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1430 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1431 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1432 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1433 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1434 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1435 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1436 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1437 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1438 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1439 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1440 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1441 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1442 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1443 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1444 Likewise.
1445 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1446 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1447 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1448 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1449 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1450 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1451 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1452 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1453 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1454 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1455 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1456 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1457 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1458 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1459 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1460 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1461 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1462 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1463 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1464 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1465 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1466 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1467 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1468 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1469 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1470 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1471 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1472 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1473 (_FP_FRAC_SRS_1): Likewise.
1474 (_FP_FRAC_CLZ_1): Likewise.
1475 (_FP_MUL_MEAT_1_imm): Likewise.
1476 (_FP_MUL_MEAT_1_wide): Likewise.
1477 (_FP_MUL_MEAT_1_hard): Likewise.
1478 (_FP_SQRT_MEAT_1): Likewise.
1479 (_FP_FRAC_ASSEMBLE_1): Likewise.
1480 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1481 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1482 (__FP_CLZ_2): Likewise.
1483 (_FP_MUL_MEAT_2_wide): Likewise.
1484 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1485 (_FP_MUL_MEAT_2_gmp): Likewise.
1486 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1487 (_FP_SQRT_MEAT_2): Likewise.
1488 (_FP_FRAC_ASSEMBLE_2): Likewise.
1489 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1490 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1491 (_FP_FRAC_CLZ_4): Likewise.
1492 (_FP_MUL_MEAT_4_wide): Likewise.
1493 (_FP_MUL_MEAT_4_gmp): Likewise.
1494 (_FP_SQRT_MEAT_4): Likewise.
1495 (_FP_FRAC_ASSEMBLE_4): Likewise.
1496 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1497 * soft-fp/op-common.h (_FP_CMP): Likewise.
1498 (_FP_CMP_EQ): Likewise.
1499 (_FP_CMP_UNORD): Likewise.
1500 (_FP_TO_INT): Likewise.
1501 (_FP_FROM_INT): Likewise.
1502 [!__FP_CLZ] (__FP_CLZ): Likewise.
1503 (_FP_DIV_HELP_imm): Likewise.
1504 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1505 Likewise.
1506 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1507 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1508 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1509 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1510 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1511 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1512 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1513 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1514 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1515 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1516 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1517 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1518 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1519 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1520 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1521 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1522 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1523 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1524 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1525 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1526 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1527 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1528 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1529 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1530 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1531 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1532 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1533 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1534 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1535 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1536 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1537 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1538 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1539 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1540 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1541 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1542 (FP_UNPACK_RAW_SP): Likewise.
1543 (FP_PACK_RAW_S): Likewise.
1544 (FP_PACK_RAW_SP): Likewise.
1545 (FP_UNPACK_S): Likewise.
1546 (FP_UNPACK_SP): Likewise.
1547 (FP_UNPACK_SEMIRAW_S): Likewise.
1548 (FP_UNPACK_SEMIRAW_SP): Likewise.
1549 (FP_PACK_S): Likewise.
1550 (FP_PACK_SP): Likewise.
1551 (FP_PACK_SEMIRAW_S): Likewise.
1552 (FP_PACK_SEMIRAW_SP): Likewise.
1553 (_FP_SQRT_MEAT_S): Likewise.
1554 (FP_CMP_S): Likewise.
1555 (FP_CMP_EQ_S): Likewise.
1556 (FP_CMP_UNORD_S): Likewise.
1557 (FP_TO_INT_S): Likewise.
1558 (FP_FROM_INT_S): Likewise.
1559
a736ec37
JM
1560 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1561
ff12c11f
JM
1562 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1563 (FP_EX_INVALID_IMZ): Likewise.
1564 (FP_EX_INVALID_IMZ_FMA): Likewise.
1565 (FP_EX_INVALID_ISI): Likewise.
1566 (FP_EX_INVALID_ZDZ): Likewise.
1567 (FP_EX_INVALID_IDI): Likewise.
1568 (FP_EX_INVALID_SQRT): Likewise.
1569 (FP_EX_INVALID_CVI): Likewise.
1570 (FP_EX_INVALID_VC): Likewise.
1571 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1572 "invalid" exceptions.
1573 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1574 (_FP_ADD_INTERNAL): Likewise.
1575 (_FP_MUL): Likewise.
1576 (_FP_FMA): Likewise.
1577 (_FP_DIV): Likewise.
1578 (_FP_CMP_CHECK_NAN): Likewise.
1579 (_FP_SQRT): Likewise.
1580 (_FP_TO_INT): Likewise.
1581 (FP_EXTEND): Likewise.
1582
b6dcfe8c
AM
15832014-10-09 Allan McRae <allan@archlinux.org>
1584
1585 * po/fr.po: Update French translation from translation project.
1586
2d6a47ba
JM
15872014-10-09 Joseph Myers <joseph@codesourcery.com>
1588
cb831245
JM
1589 [BZ #14132]
1590 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1591 of INTDEF.
1592 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1593 (__cxa_atexit): Use libc_hidden_proto.
1594 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1595
5deeb190
JM
1596 [BZ #14132]
1597 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1598 declaration.
1599 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1600 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1601 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1602 [!_ISOMAC] (__iswctype_internal): Likewise.
1603 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1604 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1605 alias.
1606 (fcntl): Remove __fcntl_internal alias.
1607 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1608 __connect_internal alias.
1609 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1610 Likewise.
1611
454ac701
JM
1612 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1613 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1614 FP_DENORM_ZERO.
1615 (_FP_CHECK_FLUSH_ZERO): New macro.
1616 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1617 (_FP_CMP): Likewise.
1618 (_FP_CMP_EQ): Likewise.
1619 (_FP_TO_INT): Do not set inexact for subnormal arguments if
1620 FP_DENORM_ZERO.
1621 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1622 (FP_TRUNC): Likewise.
1623
0022e688
JM
1624 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1625 treated as invalid conversion, not as normal exponent.
1626
73e28d9c
JM
1627 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1628 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
1629 (_FP_CMP_EQ): Likewise.
1630 (_FP_CMP_UNORD): Likewise.
1631 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1632 (FP_CMP_EQ_D): Likewise.
1633 (FP_CMP_UNORD_D): Likewise.
1634 * soft-fp/extended.h (FP_CMP_E): Likewise.
1635 (FP_CMP_EQ_E): Likewise.
1636 (FP_CMP_UNORD_E): Likewise.
1637 * soft-fp/quad.h (FP_CMP_Q): Likewise.
1638 (FP_CMP_EQ_Q): Likewise.
1639 (FP_CMP_UNORD_Q): Likewise.
1640 * soft-fp/single.h (FP_CMP_S): Likewise.
1641 (FP_CMP_EQ_S): Likewise.
1642 (FP_CMP_UNORD_S): Likewise.
1643 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1644 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1645 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1646 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1647 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1648 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1649 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1650 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1651 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1652 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1653 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1654 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1655 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1656 to FP_CMP_Q.
1657 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1658 FP_CMP_Q.
1659 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1660 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1661 FP_CMP_EQ_Q.
1662 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1663 FP_CMP_Q.
1664 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1665 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1666 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1667 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1668 FP_CMP_EQ_Q.
1669 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1670 FP_CMP_Q.
1671 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1672 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1673 FP_CMP_EQ_Q.
1674 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1675 FP_CMP_Q.
1676 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1677 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1678 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1679 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1680 FP_CMP_EQ_Q.
1681
43059f42
JM
1682 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1683 a subnormal result, set the underflow exception if trapping on
1684 underflow is enabled.
1685 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1686 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1687 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1688 redefine to 0.
1689 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1690 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1691 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1692 * soft-fp/extendxftf2.c (__extendxftf2): Use
1693 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1694
2d6a47ba
JM
1695 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1696 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1697 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1698 FP_HANDLE_EXCEPTIONS.
1699 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1700 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1701 FP_HANDLE_EXCEPTIONS.
1702 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1703 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1704 FP_HANDLE_EXCEPTIONS.
1705 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1706 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1707 FP_HANDLE_EXCEPTIONS.
1708
620f462e
JM
17092014-10-08 Joseph Myers <joseph@codesourcery.com>
1710
1711 [BZ #14132]
1712 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1713 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1714 use INTUSE.
1715 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1716 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1717 Remove alias.
1718 (__adjtimex): Define using libc_hidden_ver.
1719 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1720 Remove declaration.
1721 (ntp_gettime): Call __adjtimex directly.
1722 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1723 Remove declaration.
1724 (ntp_gettimex): Call __adjtimex directly.
1725 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1726 __adjtimex_internal alias.
1727
c763c5d2
RM
17282014-10-08 Roland McGrath <roland@hack.frob.com>
1729
1730 [BZ #17460]
1731 * nscd/nscd.c (more_help): Rewrite list of tables collection
1732 using xstrdup and asprintf.
1733
1734 * nscd/nscd_conf.c: Remove local xstrdup declaration.
1735
7b8fb2b8
RM
17362014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1737 Roland McGrath <roland@hack.frob.com>
1738
1739 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1740 (do_lookup_unique): ... local function 'enter' here; update callers.
1741
abb280f7
JM
17422014-10-06 Joseph Myers <joseph@codesourcery.com>
1743
f7b42517
JM
1744 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1745 compat_symbol calls on [SHARED].
1746 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1747 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1748 Remove.
1749 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1750 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1751 (oldsetrlimit): Remove.
1752 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1754 (lchown): New syscall entry.
1755 (oldsetrlimit): Remove.
1756 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1757 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1758 (oldsetrlimit): Remove.
1759 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1760
abb280f7
JM
1761 [BZ #14138]
1762 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1763 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1764 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1765 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1766 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1767 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1768 (fchown): Likewise.
1769 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1770 (fchown): Likewise.
1771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1772 Likewise.
1773
47d46237
AZ
17742014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1775
1776 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1777 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1778 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1779 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1780 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1781 Likewise.
1782 (__old_sem_post): Likewise.
1783
17842014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 1785
845a7343
CM
1786 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1787 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1788 HAVE_CLOCK_GETTIME_VSYSCALL macros.
1789 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1790 Use INLINE_VSYSCALL macro.
1791 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1792 __vdso_clock_gettime.
1793 * sysdeps/unix/sysv/linux/tile/init-first.c
1794 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1795 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1796 __vdso_clock_gettime.
1797
83d641ef
CM
1798 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1799 to set up frame more cleanly.
1800
d9cd52e6
CM
1801 * sysdeps/tile/memcmp.c: New file.
1802
4b68ea11
CM
1803 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1804
c86f7b80
CM
1805 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1806 * sysdeps/tile/tilegx/strcasestr.c: New file.
1807 * sysdeps/tile/tilegx/strnlen.c: New file.
1808 * sysdeps/tile/tilegx/strstr.c: New file.
1809
1c4c1a6f
CM
1810 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1811
99d86ea3
AS
18122014-10-06 Arjun Shankar <arjun.is@lostca.se>
1813
1814 * nptl/tst-setuid3.c: Write errors to stdout.
1815
06210a44
KS
18162014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1817
1818 * elf/dl-deps.c
1819 (preload): New functions broken out of _dl_map_object_deps.
1820 (_dl_map_object_deps): Remove a nested function. Update call sites.
1821
6268f532
JM
18222014-10-01 Joseph Myers <joseph@codesourcery.com>
1823
1824 [BZ #14138]
1825 * sysdeps/unix/sysv/linux/execve.c: Remove file.
1826 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1827
b925285f
SE
18282014-10-01 Steve Ellcey <sellcey@mips.com>
1829
1830 * sysdeps/mips/strcmp.S: New.
1831
754a15c6
JM
18322014-09-30 Joseph Myers <joseph@codesourcery.com>
1833
1834 [BZ #14138]
1835 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1836 (linkat): Likewise.
1837 (mkdirat): Likewise.
1838 (readlinkat): Likewise.
1839 (renameat): Likewise.
1840 (symlinkat): Likewise.
1841 (unlinkat): Likewise.
1842 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1843 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1844 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1845 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1846 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1847 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1848 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1849
85bb81c9
WN
18502014-09-30 Will Newton <will.newton@linaro.org>
1851
dc6fe23b
WN
1852 * math/math.h: Define long double math functions if
1853 _LIBC_TEST is defined.
1854 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1855
85bb81c9
WN
1856 * localedata/Makefile: Move assignment to tests-special
1857 into an ifdef testing run-built-tests.
1858 * timezone/Makefile: Likewise.
1859
b7e02da4
JM
18602014-09-29 Joseph Myers <joseph@codesourcery.com>
1861
1862 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1863 with $(BASH) not $(SHELL).
1864
62058ce6
CD
18652014-09-29 Carlos O'Donell <carlos@redhat.com>
1866 Matthew LeGendre <legendre1@llnl.gov>
1867
1868 [BZ #17411]
1869 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1870 l_reloc_result.
1871
8e257a29
KS
18722014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1873
1874 * stdio-common/printf_fp.c
1875 (hack_digit): New function, broken out of ...
1876 (__printf_fp): ... local function here. Update call sites.
1877 hack_digit now takes an additional parameter that is a pointer
1878 to a struct of the referenced locals. Those locals moved inside
1879 the struct and references updated.
1880
f4a58f0d
L
18812014-09-29 H.J. Lu <hongjiu.lu@intel.com>
1882
1883 * aclocal.m4: Require autoconf 2.69.
1884 * configure: Regenerated.
1885 * sysdeps/aarch64/configure: Likewise.
1886 * sysdeps/alpha/configure: Likewise.
1887 * sysdeps/arm/armv7/configure: Likewise.
1888 * sysdeps/arm/configure: Likewise.
1889 * sysdeps/ia64/configure: Likewise.
1890 * sysdeps/mach/configure: Likewise.
1891 * sysdeps/mips/configure: Likewise.
1892 * sysdeps/s390/configure: Likewise.
1893 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1895
1896 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1897 file.
1898 * sysdeps/ia64/configure.ac: Likewise.
1899
93ae1eba
JM
19002014-09-26 Joseph Myers <joseph@codesourcery.com>
1901
1810d3ab
JM
1902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1903 specify symbol version for ld.so. Do not include entry for
1904 libpthread.
1905 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1906 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1907 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1908
93ae1eba
JM
1909 [BZ #14171]
1910 * Makeconfig [$(build-shared) = yes]
1911 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1912 makefiles.
1913 [$(build-shared) = yes && $(soversions.mk-done) = t]
1914 ($(common-objpfx)gnu/lib-names.h): Remove rule.
1915 [$(build-shared) = yes && $(soversions.mk-done) = t]
1916 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
1917 to Makerules.
1918 [$(build-shared) = yes && $(soversions.mk-done) = t]
1919 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1920 here.
1921 [$(build-shared) = yes && $(soversions.mk-done) = t]
1922 (common-generated): Don't append gnu/lib-names.h and
1923 gnu/lib-names.stmp here.
1924 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1925 (lib-names-h-abi): New variable.
1926 [$(build-shared) = yes && $(soversions.mk-done) = t]
1927 (lib-names-stmp-abi): Likewise.
1928 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1929 abi-variants] (before-compile): Append
1930 $(common-objpfx)$(lib-names-h-abi).
1931 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1932 abi-variants] (common-generated): Append gnu/lib-names.h.
1933 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1934 abi-variants] (install-others-nosubdir): Depend on
1935 $(inst_includedir)/$(lib-names-h-abi).
1936 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1937 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1938 [$(build-shared) = yes && $(soversions.mk-done) = t]
1939 ($(common-objpfx)$(lib-names-h-abi)): New rule.
1940 [$(build-shared) = yes && $(soversions.mk-done) = t]
1941 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1942 [$(build-shared) = yes && $(soversions.mk-done) = t]
1943 (common-generated): Append $(lib-names-h-abi) and
1944 $(lib-names-stmp-abi).
1945 * scripts/lib-names.awk: Do not handle multi being set.
1946 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1947 Remove variable.
1948 (abi-lp64_be-ld-soname): Likewise.
1949 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1950 Likewise.
1951 (abi-hard-ld-soname): Likewise.
1952 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1953 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1954 Remove variable.
1955 (abi-o32_hard-ld-soname): Likewise.
1956 (abi-o32_soft_2008-ld-soname): Likewise.
1957 (abi-o32_hard_2008-ld-soname): Likewise.
1958 (abi-n32_soft-ld-soname): Likewise.
1959 (abi-n32_hard-ld-soname): Likewise.
1960 (abi-n32_soft_2008-ld-soname): Likewise.
1961 (abi-n32_hard_2008-ld-soname): Likewise.
1962 (abi-n64_soft-ld-soname): Likewise.
1963 (abi-n64_hard-ld-soname): Likewise.
1964 (abi-n64_soft_2008-ld-soname): Likewise.
1965 (abi-n64_hard_2008-ld-soname): Likewise.
1966 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1967 Likewise.
1968 (abi-64-v2-ld-soname): Likewise.
1969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1970 ld.so entries.
1971 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1972 variable.
1973 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
1974 entry.
1975 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
1976 variable.
1977 (abi-64-ld-soname): Likewise.
1978 (abi-x32-ld-soname): Likewise.
1979 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
1980 entry.
1981 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1982
68870f12
JM
19832014-09-23 Joseph Myers <joseph@codesourcery.com>
1984
1985 [BZ #14138]
1986 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
1987 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1988 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
1989 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
1990 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
1991 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1992 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1993 syscall entry for GLIBC_2.2 symbol version.
1994 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1995 Likewise.
1996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1997 (setrlimit): Likewise.
1998 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1999 Likewise.
2000
ea58f202
WN
20012014-09-23 Will Newton <will.newton@linaro.org>
2002
2003 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
2004 _LINUX_ARM_SYSDEP_H include guard too.
2005 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
2006 define.
2007
69eb9a18
RV
20082014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2009
2010 * sysdeps/unix/sysv/linux/eventfd.c:
2011 Make first argument unsigned.
2012 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
2013 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2014
20e5a5f7
OB
20152014-09-20 Ondřej Bílka <neleai@seznam.cz>
2016
2017 * socket/recvmmsg.c (recvmmsg): Drop const argument.
2018 * socket/sys/socket.h: Likewise
2019 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
2020
d3c827e7
AK
20212014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2022
2023 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
2024
fe1cc35a
AS
20252014-09-17 Arjun Shankar <arjun.is@lostca.se>
2026
2027 * time/tst-ftime.c: New test.
2028 * time/Makefile (tests): Add tst-ftime.
2029
4e8afe69
JM
20302014-09-17 Joseph Myers <joseph@codesourcery.com>
2031
c4fe3ea7
JM
2032 * soft-fp/extended.h: Fix comment formatting.
2033 * soft-fp/op-1.h: Likewise.
2034 * soft-fp/op-2.h: Likewise.
2035 * soft-fp/op-4.h: Likewise.
2036 * soft-fp/op-8.h: Likewise.
2037 * soft-fp/op-common.h: Likewise.
2038 * soft-fp/soft-fp.h: Likewise.
2039
4e8afe69
JM
2040 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
2041
af296fcd
JM
20422014-09-16 Joseph Myers <joseph@codesourcery.com>
2043
2044 [BZ #6652]
2045 * Makeconfig (soversions-default-setname): Remove variable.
2046 ($(common-objpfx)soversions.i): Don't pass default_setname to
2047 soversions.awk.
2048 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
2049 oldest_abi to abi-versions.awk.
2050 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
2051 * config.make.in (oldest-abi): Remove variable.
2052 * configure.ac (--enable-oldest-abi): Remove configure option.
2053 * configure: Regenerated.
2054 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
2055 text.
2056 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
2057 * scripts/soversions.awk: Do not handle default_setname variable.
2058 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
2059 variable.
2060 * sysdeps/mach/hurd/configure: Regenerated.
2061 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
2062 variable.
2063 * sysdeps/unix/sysv/linux/configure: Regenerated.
2064
545583d6
SP
20652014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2066
d330b980
SP
2067 * elf/Makefile (CFLAGS-interp.c): Remove.
2068 ($(elf-objpfx)runtime-linker.h): Generate header with linker
2069 path string.
2070 * elf/interp.c: Include generated runtime-linker.h
2071
02657da2
SP
2072 * Makerules (lib%.so): Don't include $(+interp) in
2073 prerequisites.
2074 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
2075 * dlfcn/eval.c: Remove file.
2076
653b1080
SP
2077 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
2078 macros.
2079
602f80ec
SP
2080 [BZ #17266]
2081 * misc/sys/cdefs.h: Define __extern_always_inline for clang
2082 4.2 and newer.
2083
545583d6
SP
2084 [BZ #17370]
2085 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
2086
884ddc50
SP
20872014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2088 Jakub Jelinek <jakub@redhat.com>
2089
2090 [BZ #17266]
2091 * libio/stdio.h: Check definition of __fortify_function
2092 instead of __extern_always_inline to include bits/stdio2.h.
2093 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
2094 check if __extern_always_inline is defined.
2095 [__USE_MISC || __USE_XOPEN]: Likewise.
2096 [__USE_ISOC99] Likewise.
2097 * misc/sys/cdefs.h (__fortify_function): Define only if
2098 __extern_always_inline is defined.
2099 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
2100 __extern_always_inline and __extern_inline only for g++-4.3
2101 and newer or a compatible gcc.
2102
a7b87268
AS
21032014-09-15 Andreas Schwab <schwab@linux-m68k.org>
2104
2105 [BZ #17371]
2106 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2107 last change to handle zero prefix length.
2108
3f41521d
SP
21092014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2110
61fe374a
SP
2111 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
2112 _SC_REGEX_VERSION.
2113
3f41521d
SP
2114 * posix/getconf.c (vars): Add _POSIX_IPV6 and
2115 _POSIX_RAW_SOCKETS.
2116
d8f879ee
AM
21172014-09-13 Allan McRae <allan@archlinux.org>
2118
2119 * po/ru.po: Update Russian translation from translation project.
2120
c079afb7
RM
21212014-09-12 Roland McGrath <roland@hack.frob.com>
2122
a62b3c15
RM
2123 * locale/programs/locale.c (show_locale_vars): Inline local function
2124 into its sole call site. Clean up some style nits.
2125 (print_item): New function, broken out of ...
2126 (show_info): ... local function here. Clean up style nits.
2127
d7e49b19
RM
2128 * locale/programs/ld-ctype.c (set_one_default): New function, broken
2129 out of ...
2130 (set_class_defaults): ... local function set_default here.
2131 Define set_default as a macro locally to pass constant parameters.
2132 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2133 rather than a shared local.
2134
c079afb7
RM
2135 * stdlib/rpmatch.c (try): New function, broken out of ...
2136 (rpmatch): ... local function here. Also, prototypify definition.
2137
0bd72468
JM
21382014-09-12 Joseph Myers <joseph@codesourcery.com>
2139
ba90e050
JM
2140 * scripts/soversions.awk: Do not handle configuration names.
2141 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2142 vendor and os variables to soversions.awk.
2143 * configure.ac: Do not modify gnu-* host_os.
2144 * configure: Regenerated
2145 * shlib-versions: Remove first column with configuration names.
2146 * nptl/shlib-versions: Likewise.
2147 * nptl_db/shlib-versions: Likewise.
2148 * sysdeps/hppa/shlib-versions: Likewise.
2149 * sysdeps/m68k/shlib-versions: Likewise.
2150 * sysdeps/mach/hurd/shlib-versions: Likewise.
2151 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2152 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2153 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2154 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2155 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2156 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2157 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2158 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2160 Likewise.
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/shlib-versions: Likewise.
2164 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2165 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2166 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2167 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2168 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2169
73a39112
JM
2170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2171 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2173 Regenerated.
2174 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2176 Condition symbol version definitions on [HAVE_ELFV2_ABI].
2177
c729e7c1
JM
2178 * shlib-versions: Remove OS-specific entries. Moved to files in
2179 sysdeps.
2180 * sysdeps/mach/hurd/shlib-versions: New file.
2181 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2182
dc932a24
JM
2183 * nptl/shlib-versions: Remove architecture-specific entries.
2184 Moved to files in sysdeps.
2185 * shlib-versions: Likewise.
2186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2187 file.
2188 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2189 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2190 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2191 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2192
0bd72468
JM
2193 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2194 (UDP_NO_CHECK6_RX): Likewise.
2195
920238e0
SP
21962014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2197
2198 * sysdeps/posix/sysconf.c (__sysconf): Spell
2199 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2200
ba7b4d29
FW
22012014-08-12 Florian Weimer <fweimer@redhat.com>
2202
2203 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2204 loading.
2205 * iconv/Versions (__gconv_transliterate): Export for use from
2206 gconv modules.
2207 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2208 (struct __gconv_trans_data, __gconv_trans_fct,
2209 __gconv_trans_context_fct, __gconv_trans_query_fct,
2210 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2211 definitions.
2212 (struct __gconv_step_data): Remove __trans member.
2213 (__gconv_transliterate): Declaration moved from gconv_int.h. No
2214 longer hidden. Remove unused trans_data argument.
2215 * iconv/gconv_int.h (struct trans_struct): Remove definition.
2216 (__gconv_translit_find): Remove declaration.
2217 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
2218 prototype.
2219 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2220 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2221 trans_data argument. Add hidden definition.
2222 (__gconv_translit_find): Remove.
2223 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2224 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2225 * iconv/skeleton.c: Remove transliteration initialization.
2226 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2227 __gconv_step_data initialization.
2228 * libio/iofwide.c (__libio_translit_): Remove.
2229 (_IO_fwide): Adjust struct __gconv_step_data initialization.
2230 * wcsmbs/btowc.c (__btowc): Likewise.
2231 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2232 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2233 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2234 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2235 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2236 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2237 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2238 * wcsmbs/wctob.c (wctob): Likewise.
2239
5379aebd
SP
22402014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2241
2242 [BZ #16194]
2243 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2244 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
2245 register usage.
2246 * sysdeps/x86/Makefile: Adjust.
2247
8c0ab919
RM
22482014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2249 Roland McGrath <roland@hack.frob.com>
2250
2251 * locale/weight.h: Add include guard.
2252 (findidx): Make static rather than auto; take new parameters
2253 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2254 * locale/weightwc.h: Likewise.
2255 * posix/fnmatch_loop.c
2256 (FCT): Change type of EXTRA from int32_t to wint_t.
2257 Don't include either header inside the function.
2258 Call FINDIDX rather than findidx, and pass new arguments.
2259 #undef FINDIDX at the end of the file.
2260 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2261 FINDIDX before including fnmatch_loop.c for the non-wide version.
2262 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2263 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2264 for the wide version.
2265 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2266 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2267 Pass new arguments to findidx.
2268 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2269 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2270 Don't #include it inside the function. Pass new arguments to findidx.
2271 * posix/regex_internal.h
2272 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2273 (re_string_elem_size_at): Don't #include it inside the function.
2274 Pass new arguments to findidx.
2275 * string/strcoll_l.c: #include WEIGHT_H at top level.
2276 (get_next_seq): Don't #include it inside the function.
2277 Pass new arguments to findidx.
2278 (get_next_seq_nocache): Likewise.
2279 * string/strxfrm_l.c: #include WEIGHT_H at top level.
2280 (STRXFRM): Don't #include it inside the function.
2281 Pass new arguments to findidx.
2282
52ffbdf2
FW
22832014-09-11 Florian Weimer <fweimer@redhat.com>
2284
2285 [BZ #17344]
2286 * malloc/malloc.c (unlink): Turn asserts into a call to
2287 malloc_printerr.
2288
984c0ea9
TL
22892014-09-11 Tim Lammens <tim.lammens@gmail.com>
2290
2291 [BZ #17370]
2292 * libio/wfileops (do_ftell_wide): Free OUT.
2293
3daee107
CM
22942014-09-10 Chris Metcalf <cmetcalf@tilera.com>
2295
2296 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2297
58b930ae
SP
22982014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2299
2300 [BZ #17363]
2301 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2302 group if the current group is empty.
2303
3b473fec
AZ
23042014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2305
71ae8647
AZ
2306 * benchtests/bench-memset.c (test_main): Add more test from size
2307 from 32 to 512 bytes.
2308 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2309 Add POWER8 memset object.
2310 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2311 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2312 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2313 implementation.
2314 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2315 Likewise.
2316 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2317 multiarch POWER8 memset optimization.
2318 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2319 POWER8 memset optimization.
2320
3b473fec
AZ
2321 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2322 Remove bzero multiarch objects.
2323 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2324 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2325 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2326 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2327 Remove define.
2328 [__bzero]: Redefine to specific name.
2329 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2330 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2331 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2332 define.
2333 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2334 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2335
e6fb9587
FW
23362014-09-10 Florian Weimer <fweimer@redhat.com>
2337
2338 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2339 warnings into errors.
2340
2341 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2342 __cxa_thread_atexit_impl prototype.
2343
9d3a350b
SE
23442014-09-09 Steve Ellcey <sellcey@mips.com>
2345
2346 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2347 Fix capitalization of error message.
2348
0febba23
SE
23492014-09-09 Steve Ellcey <sellcey@mips.com>
2350
2351 * sysdeps/mips/preconfigure: Modify ABI tests.
2352
645a0e9c
CD
23532014-09-07 Carlos O'Donell <carlos@systemhalted.org>
2354
2355 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2356
d83f0734
CD
23572014-09-07 Roland McGrath <roland@hack.frob.com>
2358 Carlos O'Donell <carlos@systemhalted.org>
2359
2360 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2361 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2362 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2363 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2364 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2365 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2366 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2367 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2368 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2369 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2370 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2371 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2372 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2373 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2374 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2375 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2376 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2377 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2378 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2379 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2380 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2381 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2382 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2383 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2384 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2385 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2386 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2387 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2388 Deconditionalize the code that was previously under [RESET_PID].
2389 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2390 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2391 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2392 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2393 include sysdep.h.
2394
21c83793
AM
23952014-09-08 Allan McRae <allan@archlinux.org>
2396
2397 * version.h (RELEASE): Set to "development".
2398 (VERSION): Set to "2.20.90"
2399
1cd9b65c
AM
24002014-09-07 Allan McRae <allan@archlinux.org
2401
b8079dd0
AM
2402 * version.h (RELEASE): Set to "stable".
2403 (VERSION): Set to "2.20"
2404 * include/features.h (__GLIBC_MINOR__): Set to 20.
2405
c46303ef
AM
2406 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2407 Liebler.
2408
1cd9b65c
AM
2409 * po/ko.po: Update Korean translation from translation project.
2410
8622092d
CM
24112014-09-06 Chris Metcalf <cmetcalf@tilera.com>
2412
2413 [BZ #17354]
2414 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2415 macro for handling signed relocations.
2416
41488498
FW
24172014-09-03 Florian Weimer <fweimer@redhat.com>
2418
2419 [BZ #17325]
2420 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2421 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2422 assert.
2423 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2424 * iconvdata/ibm935.c (BODY): Likewise.
2425 * iconvdata/ibm937.c (BODY): Likewise.
2426 * iconvdata/ibm939.c (BODY): Likewise.
2427 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2428 assert.
2429 * iconvdata/Makefile (iconv-test.out): Pass module list to test
2430 script.
2431 * iconvdata/run-iconv-test.sh: New test loop for checking for
2432 decoder crashers.
2433
a78b712d
KR
24342014-09-02 Khem Raj <raj.khem@gmail.com>
2435
2436 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2437 libm_hidden_ver.
2438
cb08abc6
AM
24392014-09-01 Allan McRae <allan@archlinux.org>
2440
2c31e102
AM
2441 * po/eo.po: Update Esperanto translation from translation project.
2442
cb08abc6
AM
2443 * po/ca.po: Update Catalan translation from translation project.
2444
17a62de1
ST
24452014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2446
2447 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2448 __proc_dostop call.
2449
9570bc53
MW
24502014-08-27 Mark Wielaard <mjw@redhat.com>
2451
2452 [BZ #17319]
2453 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2454 to call set_thread_area instead of hand written asm.
2455 (__NR_set_thread_area): Removed define.
2456 (TLS_FLAG_WRITABLE): Likewise.
2457 (__ASSUME_SET_THREAD_AREA): Remove check.
2458 (TLS_EBX_ARG): Remove define.
2459 (TLS_LOAD_EBX): Likewise.
2460
b0f955c9
ST
24612014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2462
2463 Simplify atomicity of socket creation in bind.
2464
2465 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2466 looking up the name after linking the file.
2467
529bf515
AM
24682014-08-27 Allan McRae <allan@archlinux.org>
2469
2470 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2471
a1a6a401
FW
24722014-08-26 Florian Weimer <fweimer@redhat.com>
2473
2474 [BZ #17187]
2475 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2476 trans_compare, open_translit, __gconv_translit_find):
2477 Remove module loading code.
2478
686ab290
AM
24792014-08-26 Allan McRae <allan@archlinux.org>
2480
e4e7cfd2
AM
2481 * po/vi.po: Update Vietnamese translation from translation project.
2482
6aa09f71
AM
2483 * po/uk.po: Update Ukrainian translation from translation project.
2484
edc0660e
AM
2485 * po/fr.po: Update French translation from translation project.
2486
7eea72ac
AM
2487 * po/ru.po: Update Russian translation from translation project.
2488
93c49eff
AM
2489 * po/pl.po: Update Polish translation from translation project.
2490
46acaf63
AM
2491 * po/cs.po: Update Czech translation from translation project.
2492
a9f5ce98
AM
2493 * po/de.po: Update German translation from translation project.
2494
373f2b78
AM
2495 * po/bg.po: Update Bulgarian translation from translation project.
2496
e7548bd8
AM
2497 * po/sv.po: Update Sweedish translation from translation project.
2498
c526bf4d
AM
2499 * po/nl.po: Update Dutch translation from translation project.
2500
686ab290
AM
2501 * po/es.po: Update Spanish translation from translation project.
2502
eb72478a
SP
25032014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2504
dd763fdb
SP
2505 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2506
318c7a58
SP
2507 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2508 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2509 (CPPFLAGS-iconvconfig): Likewise.
2510 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2511
eb72478a
SP
2512 * include/libc-symbols.h: Remove unnecessary check for
2513 NOT_IN_libc.
2514 * nptl/pthreadP.h: Likewise.
2515 * sysdeps/aarch64/setjmp.S: Likewise.
2516 * sysdeps/alpha/setjmp.S: Likewise.
2517 * sysdeps/arm/sysdep.h: Likewise.
2518 * sysdeps/i386/setjmp.S: Likewise.
2519 * sysdeps/m68k/setjmp.c: Likewise.
2520 * sysdeps/posix/getcwd.c: Likewise.
2521 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2522 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2523 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2524 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2525 * sysdeps/sh/sh3/setjmp.S: Likewise.
2526 * sysdeps/sh/sh4/setjmp.S: Likewise.
2527 * sysdeps/unix/alpha/sysdep.h: Likewise.
2528 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2529 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2530 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2531 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2534 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2535 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2536 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2537 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2538 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2539 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2540 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2541 * sysdeps/x86_64/setjmp.S: Likewise.
2542
d44a052c
JM
25432014-08-13 Joseph Myers <joseph@codesourcery.com>
2544
2545 [BZ #17263]
2546 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2547 <stdint.h>.
2548 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2549 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2550
508ce3ac
SP
25512014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2552
e44c8b0e
SP
2553 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2554
508ce3ac
SP
2555 [BZ #17262]
2556 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2557 and __x86_64__ when disabling x87 inline functions.
2558
b4acef1f
L
25592014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2560
2561 [BZ #17259]
2562 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2563 asm statement with __cpuid_count.
2564
61b1ef6e
MF
25652014-08-12 Mike Frysinger <vapier@gentoo.org>
2566
2567 * configure.ac: Change __ehdr_start code to dereference the struct.
2568 Run readelf on the output to look for relocations.
2569 * configure: Regenerated.
2570
898c62f4
JM
25712014-08-12 Joseph Myers <joseph@codesourcery.com>
2572
2573 [BZ #17261]
2574 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2575 value to 0.
2576 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2577
9a8a5720
RM
25782014-08-12 Roland McGrath <roland@hack.frob.com>
2579
2580 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2581
4e75751c
BO
25822014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2583
2584 [BZ #16892]
2585 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2586 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2587
bb2ce416
SA
25882014-08-12 Sean Anderson <seanga2@gmail.com>
2589
2590 * malloc/malloc.c: Fix typo in comment.
2591
7950a4ee
AM
25922014-08-09 Allan McRae <allan@archlinux.org>
2593
2594 * Regenerate libc.po.
2595
f469c49f
MF
25962014-08-08 Mike Frysinger <vapier@gentoo.org>
2597
2598 * intl/tst-gettext2.sh: Check every lang file for creation.
2599
656b84c2
WD
26002014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2601
2602 * sysdeps/aarch64/fpu/math_private.h
2603 (libc_feholdsetround_noex_aarch64_ctx): New function.
2604
538e9e45
W
26052014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2606
2607 * sysdeps/arm/armv6/strcpy.S (strcpy):
2608 Fix performance issue in misaligned cases.
2609
d4795e4a
AZ
26102014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2611
2612 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2613 Move definition from termios.h.
2614 (struct termio): Likewise.
2615 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2616 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2617 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2618 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2619 Likewise.
2620 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2621 Move definition to ioctl-types.h
2622 (struct termio): Likewise.
2623 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2624 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2625 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2626 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2627 Likewise.
2628
64accb62
RH
26292014-08-05 Richard Henderson <rth@redhat.com>
2630
27bb6dc0
RH
2631 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2632 exceptions.
2633 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2634 Add fraiseexcpt.
2635 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2636 Use __feraiseexcept.
2637 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2638 Protect libm symbols with IS_IN_libm.
2639
64accb62
RH
2640 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2641
e5292691
BO
26422014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
2643
2644 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2645
5b4bd2d4
WN
26462014-08-04 Will Newton <will.newton@linaro.org>
2647
2648 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2649 file.
2650
fcadaeef
MF
26512014-08-04 Mike Frysinger <vapier@gentoo.org>
2652
2653 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2654 variants for each function.
2655
43a94c64
RM
26562014-08-04 Roland McGrath <roland@hack.frob.com>
2657
2658 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2659 appended ...
2660 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2661 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2662 appended ...
2663 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2664 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2665 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2666 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2667 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2668 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2669 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2670 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2671 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2672 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2673 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2674 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2675 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2676 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2677 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2678 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2679 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2680 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2681 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2682 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2683 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2684 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2685 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2686 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2687 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2688 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2689 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2690 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2691 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2692 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2693 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2694 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2695 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2696 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2697 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2698 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2699 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2700 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2701 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2702 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2703 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2704 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2705 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2706 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2707 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2708 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2709 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2710 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2711 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2712 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2713 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2714 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2715 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2716 Update #include.
2717 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2718 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2719
8f3c1fa4
RM
27202014-08-04 Roland McGrath <roland@hack.frob.com>
2721
2722 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2723 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2724 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2725 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2726 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2727 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2728
ca08746f
RM
27292014-08-04 Roland McGrath <roland@hack.frob.com>
2730
2731 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2732 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2733 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2734 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2735
9c925ff9
RM
27362014-08-04 Roland McGrath <roland@hack.frob.com>
2737
2738 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2739 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2740 (__libc_vfork): Define function under this name.
2741 (__vfork): Define as an alias.
2742 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2743 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2744
e641054c
RM
27452014-08-04 Roland McGrath <roland@hack.frob.com>
2746
2747 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2748 that was previously under [RESET_PID].
2749 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2750
dacdc867
AS
27512014-08-04 Andreas Schwab <schwab@suse.de>
2752
2753 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2754
41f725ff
MF
27552014-08-03 Mike Frysinger <vapier@gentoo.org>
2756
2757 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2758 (main): Likewise.
2759
277cfb31
RM
27602014-08-01 Roland McGrath <roland@hack.frob.com>
2761
2762 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2763
4896f049
RH
27642014-08-01 Richard Henderon <rth@redhat.com>
2765
2766 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2767 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2768 typo in exact zero test.
2769 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2770 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2771 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2772
6f64e7d7
RM
27732014-08-01 Roland McGrath <roland@hack.frob.com>
2774
2775 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2776 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2777 * sysdeps/arm/sysdep.h: ... here.
2778 [!__ASSEMBLER__]: Include <stdint.h>.
2779
3f3dd810
SP
27802014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2781
a476ac4b
SP
2782 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2783 (HAVE_WCTYPE_H): Likewise.
2784 (HAVE_ISWCTYPE): Likewise.
2785 (ENABLE_NLS): Likewise.
2786 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2787 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2788
78dd658a
SP
2789 * posix/regex_internal.c: Check if DEBUG is defined and is
2790 set.
2791
3f3dd810
SP
2792 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2793 (HAVE_MBSRTOWCS): Likewise.
2794 * posix/fnmatch.c: Include string.h unconditionally.
2795
95ee7fb1
SL
27962014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2797
2798 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2799 reversal.
2800
23fe486b
RM
28012014-07-31 Roland McGrath <roland@hack.frob.com>
2802
f61a113f
RM
2803 * sysdeps/generic/safe-fatal.h: New file.
2804 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2805 * nptl/forward.c: Include it.
2806 (__pthread_unwind): Use __safe_fatal as default action, rather
2807 than a bogus use of INTERNAL_SYSCALL that could never work.
2808
9fe7e787
RM
2809 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2810 * configure.ac (libc_cv_builtin_trap): New test.
2811 * configure: Regenerated.
2812 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2813 (ABORT_INSTRUCTION): Define using __builtin_trap.
2814
23fe486b
RM
2815 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2816 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2817 * sysdeps/nptl/nptl-signals.h: New file.
2818 * nptl/pthreadP.h: Include <nptl-signals.h>.
2819
f349489e
SL
28202014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2821
2822 * sysdeps/s390/s390-64/utf16-utf32-z9.c
2823 (ONE_DIRECTION): Define.
2824 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2825 (ONE_DIRECTION): Define.
2826 * sysdeps/s390/s390-64/utf8-utf32-z9.c
2827 (ONE_DIRECTION): Define.
2828
2f438e20
SL
28292014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2830
2831 * sysdeps/s390/Makefile: Delete file.
2832 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2833 * sysdeps/s390/__longjmp.c: Delete file.
2834 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2835 Remove fields __flags and __reserved.
2836 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2837 and add versioning.
2838 * sysdeps/s390/rtld-__longjmp.c: Delete file.
2839 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2840 * sysdeps/s390/rtld-setjmp.S: Likewise.
2841 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2842 * sysdeps/s390/s390-32/__longjmp.c: ... here.
2843 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2844 * sysdeps/s390/s390-32/setjmp.S: ... here.
2845 Add versioning.
2846 (__sigsetjmp): Remove setting __flags field.
2847 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2848 * sysdeps/s390/s390-64/__longjmp.c: ... here.
2849 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2850 * sysdeps/s390/s390-64/setjmp.S: ... here.
2851 Add versioning.
2852 (__sigsetjmp): Remove setting __flags field.
2853 * sysdeps/s390/setjmp.S: Delete file.
2854 * sysdeps/s390/sigjmp.c: Likewise.
2855 * sysdeps/s390/v1-longjmp.c: Likewise.
2856 * sysdeps/s390/v1-setjmp.h: Likewise.
2857 * sysdeps/s390/v1-sigjmp.c: Likewise.
2858 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2859 Remove v1-longjmp_chk.
2860 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2861 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2862 Include debug/longjmp_chk.c and add versioning.
2863 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2864 Include nptl/pt-longjmp.c and add versioning.
2865 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2866 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2867 Include __longjmp.c.
2868 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2869 Move to ...
2870 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2871 (__getcontext): Remove setting __flags field.
2872 Add versioning.
2873 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2874 Don't restore upper high grps.
2875 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2876 Likewise.
2877 (__swapcontext): Remove setting uc_flags field.
2878 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2879 Delete file.
2880 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2881 Include __longjmp.c.
2882 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2883 Move to ...
2884 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2885 (__getcontext): Remove setting __flags field.
2886 Add versioning.
2887 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2888 (__swapcontext): Remove setting uc_flags field.
2889 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2890 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2891 Remove fields uc_high_gprs and __reserved.
2892 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2893 New file with reverted content.
2894 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2895 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2896 Regenerated.
2897 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2898 Regenerated.
2899
6c9578a2
AS
29002014-07-31 Andreas Schwab <schwab@suse.de>
2901
2902 * config.h.in (HAVE_IFUNC): Define to 0.
2903 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2904 definedness.
2905
05f3633d
LM
29062014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
2907
2908 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2909 memmove-avx-unaligned, memcpy-avx-unaligned and
2910 mempcpy-avx-unaligned.
2911 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2912 Add tests for AVX memcpy functions.
2913 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2914 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2915 memcpy_chk.
2916 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2917 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2918 memmove_chk.
2919 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2920 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2921 mempcpy_chk.
2922 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2923 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2924 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2925
a53fbd8e
AZ
29262013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2927
2928 [BZ #17213]
2929 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2930 powerpc64le.
2931
0961f7e1
JL
29322014-07-29 Jeff Layton <jlayton@poochiereds.net>
2933
2934 [BZ #16839]
2935 * manual/llio.texi: Add section about open file description locks.
2936 * manual/examples/ofdlocks.c: Example of open file description
2937 lock usage.
2938 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2939 F_OFD_SETLK, and F_OFD_SETLKW.
2940
cc5fb300
AM
29412014-07-23 Allan McRae <allan@archlinux.org>
2942
2943 * po/es.po: Update Spanish translation from translation project.
2944
23329dca
AS
29452014-07-18 Andreas Schwab <schwab@linux-m68k.org>
2946
2947 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2948
9c82da17
MR
29492014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
2950
2951 [BZ #17078]
2952 * sysdeps/arm/dl-machine.h (elf_machine_rela)
2953 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2954 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2955
29c4f53e
JM
29562014-07-17 Joseph Myers <joseph@codesourcery.com>
2957
831b9896
JM
2958 [BZ #17088]
2959 * math/fesetenv.c (__fesetenv)
2960 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2961 * math/feupdateenv.c (__feupdateenv)
2962 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2963
b21c2d50
JM
2964 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2965 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2966 (__ASSUME_SOCKETCALL): Do not define.
2967
067764ef
JM
2968 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2969 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2970 (__ASSUME_SOCKETCALL): Do not define.
2971 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2972 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2973 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2974 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2975 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2976 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
2977 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2978 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2979
642530c1
JM
2980 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
2981 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
2982 (__ASSUME_SOCKETCALL): Do not define.
2983 (__ASSUME_IPC64): Define unconditionally.
2984 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2985 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2986 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2987 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2988 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
2989 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2990 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
2991 Likewise.
2992
03f77315
JM
2993 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2994 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2995 (__ASSUME_SOCKETCALL): Do not define.
2996 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2997 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2998 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2999 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3000 (__ASSUME_REQUEUE_PI): Define unconditionally.
3001 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
3002 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3003 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3004 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
3005 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3006 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3007
083b1f7c
JM
3008 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
3009 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
3010 (__ASSUME_SOCKETCALL): Do not define.
3011 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
3012 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3013 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3014 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
3015 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3016 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3017
5be44ea6
JM
3018 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
3019 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
3020 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3021 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
3022 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3023 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
3024 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3025 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
3026 (__ASSUME_GETCPU_SYSCALL): Likewise.
3027
d95ffd4c
JM
3028 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
3029 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
3030 cases for individual architectures.
3031 * sysdeps/gnu/configure: Regenerated.
3032 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
3033 LIBC_SLIBDIR_RTLDDIR.
3034 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
3035 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
3036 LIBC_SLIBDIR_RTLDDIR.
3037 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
3038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
3039 LIBC_SLIBDIR_RTLDDIR.
3040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3041 Regenerated.
3042 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
3043 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
3044 file.
3045 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
3046 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
3047 file.
3048 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
3049 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
3050 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
3051 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
3052
29c4f53e
JM
3053 * sysdeps/aarch64/shlib-versions: Move to ...
3054 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
3055 * sysdeps/alpha/shlib-versions: Move to ...
3056 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
3057 * sysdeps/arm/shlib-versions: Move to ...
3058 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
3059 * sysdeps/hppa/shlib-versions: Move all contents except for
3060 libgcc_s entry to ...
3061 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
3062 entry from ...
3063 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
3064 * sysdeps/ia64/shlib-versions: Move to ...
3065 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
3066 entry from ...
3067 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
3068 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
3069 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
3070 * sysdeps/microblaze/shlib-versions: Move to ...
3071 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
3072 * sysdeps/mips/shlib-versions: Move to ...
3073 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
3074 entry from ...
3075 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
3076 * sysdeps/tile/shlib-versions: Move to ...
3077 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
3078 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
3079 from ...
3080 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
3081 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
3082 entry from ...
3083 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
3084
32bead5b
WN
30852014-07-17 Will Newton <will.newton@linaro.org>
3086
57977c4b
WN
3087 * sysdeps/arm/bits/atomic.h
3088 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
3089 (__arch_compare_and_exchange_bool_16_int): Likewise.
3090 (__arch_compare_and_exchange_bool_64_int): Likewise.
3091
32bead5b
WN
3092 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
3093 into an #else block.
3094
37fccd41
RM
30952014-07-16 Roland McGrath <roland@hack.frob.com>
3096
3097 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
3098 just Linux configurations. Test empirically that the compiler sets
3099 __ARM_EABI__, rather than using the tuple to decide.
3100 * sysdeps/arm/preconfigure: Regenerated.
3101 * sysdeps/unix/sysv/linux/arm/configure: File removed.
3102 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
3103 contents appended ...
3104 * sysdeps/arm/configure.ac: ... here.
3105 * sysdeps/arm/configure: Regenerated.
3106
b365f3ec
RM
31072014-07-15 Roland McGrath <roland@hack.frob.com>
3108
8badf496
RM
3109 * nptl/pthread_kill.c: New file.
3110 * nptl/pthread_sigmask.c: New file.
3111 * nptl/pthread_sigqueue.c: New file.
3112
3df6f22e
RM
3113 * sysdeps/nptl/lowlevellock.h: New file.
3114 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
3115 * sysdeps/nptl/lowlevellock-futex.h: New file.
3116
b365f3ec
RM
3117 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
3118 Remove dead declarations.
3119
f2fef657
L
31202014-07-14 H.J. Lu <hongjiu.lu@intel.com>
3121
3122 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3123 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3124 config-cflags-avx2.
3125 * sysdeps/x86_64/configure.ac: Likewise.
3126 * sysdeps/i386/configure: Regenerated.
3127 * sysdeps/x86_64/configure: Likewise.
3128 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3129 memset-avx2 only if config-cflags-avx2 is yes.
3130 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3131 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3132 defined.
3133 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3134 only if HAVE_AVX2_SUPPORT is defined.
3135 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3136
f6c44d47
AM
31372014-07-14 Alan Modra <amodra@gmail.com>
3138
3139 [BZ #17153]
3140 * elf/elf.h (DT_PPC64_NUM): Correct value.
3141 * NEWS: Add to fixed bug list.
3142
7ee03f00
JM
31432014-07-13 Jim Meyering <meyering@fb.com>
3144
3145 [BZ 17150]
3146 regex: don't deref NULL upon heap allocation failure
3147 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3148 failure in one more place.
3149 To trigger the segfault, configure grep -with-included-regex,
3150 build it, and run these commands:
3151 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3152
9d39d517
AS
31532014-07-13 Andreas Schwab <schwab@linux-m68k.org>
3154
3155 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3156
a75b89b7
RH
31572014-07-11 Richard Henderson <rth@redhat.com>
3158
3159 * sysdeps/aarch64/libm-test-ulps: Update.
3160
771eb141
FW
31612014-07-10 Florian Weimer <fweimer@redhat.com>
3162
3163 [BZ #17135]
3164 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3165 * nptl/allocatestack.c (__nptl_setxid_error): New function.
3166 (__nptl_setxid): Initialize error member. Call
3167 __nptl_setxid_error.
3168 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3169 * nptl/descr.h (struct xid_command): Add error member.
3170 * nptl/tst-setuid3.c: New file.
3171 * nptl/Makefile (tests): Add it.
3172
bc1da176
AZ
31732014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3174
3175 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3176 New define.
3177 (__lll_trylock): Use __lll_base_trylock.
3178 (__lll_cond_trylock): Likewise.
3179
887865fc
RM
31802014-07-10 Roland McGrath <roland@hack.frob.com>
3181
c0c6bac9
RM
3182 * nptl/pthread_create.c (start_thread): Use atomic_or and
3183 lll_futex_wake directly rather than lll_robust_dead.
3184 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3185 (lll_robust_dead): Macro removed.
6a42be57 3186 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
3187 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3188 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3189 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3190 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3191 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3192 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3193 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3194 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3195 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3196 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3197 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3198 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3199 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3200 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3201
887865fc
RM
3202 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3203 Use atomic_compare_and_exchange_val_acq directly rather than
3204 lll_robust_trylock.
3205 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3206 (__lll_robust_trylock, lll_robust_trylock): Removed.
3207 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3208 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3209 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3210 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3211 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3212 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3213 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3214 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3215 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3216 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3217 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3218 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3219 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3220 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3221
58536726
FW
32222014-07-02 Florian Weimer <fweimer@redhat.com>
3223
3224 * manual/locale.texi (Locale Names): New section documenting
3225 locale name syntax. Adjust menu and node chaining accordingly.
3226 (Choosing Locale): Reference Locale Names, Locale Categories.
3227 Mention setting LC_ALL=C. Reflect that name syntax is now
3228 documented.
3229 (Locale Categories): New section title. Reference Locale Names.
3230 LC_ALL is an environment variable, but not a category.
3231 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3232 description, now in Locale Name. Reference that section. Locale
3233 name syntax is now documented.
3234
4e8f95a0
FW
32352014-07-02 Florian Weimer <fweimer@redhat.com>
3236
3237 [BZ #17137]
3238 * locale/findlocale.c (name_present, valid_locale_name): New
3239 functions.
3240 (_nl_find_locale): Use the loc_name variable to store name
3241 candidates. Call name_present and valid_locale_name to check and
3242 validate locale names. Return an error if the locale is invalid.
3243
d1836456
FW
32442014-07-02 Florian Weimer <fweimer@redhat.com>
3245
3246 * locale/setlocale.c (setlocale): Use strdup for allocating
3247 composite name copy.
3248
d69b7f5a
SP
32492014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3250
888c679b
SP
3251 Sync up with gnulib.
3252 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3253 [!_LIBC && ENABLE_NLS]: Include gettext.h.
3254 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3255 and _GL_ARG_NONNULL.
3256 [USE_UNLOCKED_IO]: Include unlocked-io.h.
3257 [!_LIBC]: Include code for Windows and Cygwin.
3258 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3259 Include prototype for int strerror_r.
3260 [!_LIBC] (is_open): New function.
3261 (flush_stdout): New function.
3262 (print_errno_message): Use it.
3263 (error): Likewise.
3264 (error_at_line): Likewise.
3265 (error_tail) Add function attribute macros. Use
3266 __builtin_expect.
3267
180e0e4b
SP
3268 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3269
d22f1fe2
SP
3270 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3271
12f2254b
SP
3272 * io/ftw.c: Include sys/param.h unconditionally.
3273
c3c7c360
SP
3274 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3275
d62aa75a
SP
3276 [BZ #17125]
3277 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3278 libc_freeres_ptr.
3279 (freecache): New function to free CACHE on exit.
3280
d69b7f5a
SP
3281 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3282 initialization.
3283
5efe06a1
DM
32842014-07-09 David S. Miller <davem@davemloft.net>
3285
3286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3287
7000d82e
DM
3288 * sysdeps/sparc/nptl/internaltypes.h: Delete.
3289 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3290 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3291 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3292 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3293 * sysdeps/sparc/nptl/sem_init.c: Likewise.
3294 * sysdeps/sparc/nptl/sem_post.c: Likewise.
3295 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3296 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3297 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3298 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3299 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3300 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3301
c213442d
AS
33022014-07-09 Andreas Schwab <schwab@suse.de>
3303
4a2552c3
AS
3304 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3305 output.
3306 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3307 (do_test): Likewise.
3308
c213442d
AS
3309 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3310
82374e65
WN
33112014-07-09 Will Newton <will.newton@linaro.org>
3312
3313 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3314 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3315 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3316 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3317 * sysdeps/hppa/start.S (_start): Likewise.
3318
6680738a
SP
33192014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3320
6ee3eab4
SP
3321 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3322
6680738a
SP
3323 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3324 defined.
3325
80b5c505
SP
33262014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3327
e35c53e3
SP
3328 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3329 after checking that it is non-NULL.
3330
80b5c505
SP
3331 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3332
91f4b564
AZ
33332014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3334
27b75f56
AZ
3335 * sysdeps/powerpc/memmove.c: Remove file.
3336 * sysdeps/powerpc/powerpc32/power4/memcopy.h
3337 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3338 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3339 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3340 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3341 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3342 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3343 string memmove instead of removed powerpc one.
3344
e7f95bb5
AZ
3345 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3346 [weak_alias]: Fix compiler warning due trailing data.
3347 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3348 [weak_alias]: Likewise.
3349 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3350 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3351
91f4b564
AZ
3352 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3353 (__libc_ifunc_impl_list): Add memmove functions.
3354
7c33f1e5
SP
33552014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3356
3357 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3358 Remove code.
3359 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3360 Likewise
3361 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3362 Likewise
3363 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3364 Likewise
3365 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3366 Likewise
3367 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3368 Likewise
3369 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3370 Likewise
3371 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3372 Likewise
3373 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3374 Likewise
3375 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3376 Likewise
3377 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3378 Likewise
3379 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3380 Likewise
3381 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3382 Likewise
3383 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3384 Likewise
3385 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3386 Likewise
3387 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3388 Likewise
3389 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3390 Likewise
3391
3f17b03b
AZ
33922014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3393
87868c24
AZ
3394 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3395 to avoid alignment traps in non-cacheable memory.
3396 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3397
07aedd78
AZ
3398 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3399 multiarch objects.
3400 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3401 file: multiarch power7 memmove.
3402 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3403 multiarch default memmove.
3404 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3405 multiarch memove for powerpc32/power4.
3406
17762f66
AZ
3407 * string/bcopy.c: Use full path to include memmove.c.
3408 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3409 multiarch objects.
3410 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3411 bcopy for powerpc64.
3412 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3413 bcopy for powerpc64.
3414 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3415 and memmove implementations.
3416 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3417 optimized multiarch memmove for POWER7/powerpc64.
3418 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3419 default multiarch memmove for powerpc64.
3420 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3421 multiarch for powerpc64.
3422 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3423 for POWER7/powerpc64.
3424 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3425 memmove for POWER7/powerpc64.
3426
d6f68bbe
AZ
3427 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3428 glibc default one.
3429
3f17b03b
AZ
3430 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3431 __ELF_NATIVE_CLASS equal to 64.
3432
08192659
RM
34332014-07-07 Roland McGrath <roland@hack.frob.com>
3434
f4c4021b
RM
3435 * sysdeps/nptl/lowlevellock.h: File removed.
3436
f083450f
RM
3437 * NEWS: NPTL is no longer an add-on!
3438 * nptl/internaltypes.h: Moved ...
3439 * sysdeps/nptl/internaltypes.h: ... here.
3440 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3441 * sysdeps/nptl/fork.c: Likewise.
3442 * sysdeps/nptl/gai_misc.h: Likewise.
3443 * sysdeps/nptl/librt-cancellation.c: Likewise.
3444 * sysdeps/nptl/jmp-unwind.c: Likewise.
3445 * sysdeps/nptl/setxid.h: Likewise.
3446 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3447 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3448 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3449 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3450 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3451 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3452 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3453 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3454 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3455 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3456 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3457 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3458 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3459 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3460 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3461 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3462 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3463 * nptl/Makeconfig: Moved ...
3464 * sysdeps/nptl/Makeconfig: ... here.
3465 * nptl/configure: File removed.
3466 * nptl/ANNOUNCE: File removed.
3467 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3468 * sysdeps/unix/sysv/linux/configure: Regenerated.
3469
08192659
RM
3470 * nptl/Makefile (routines): Add libc_pthread_init,
3471 libc_multiple_threads, register-atfork and unregister-atfork.
3472 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3473 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3474 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3475 pthread-pi-defines.sym, structsem.sym.
3476 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3477 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3478 [$(subdir) = nptl] (tests): Add tst-setgetname.
3479 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3480 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3481 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3482 [!LIBC_SIGACTION]: Remove aliases.
3483 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3484 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3485 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3486 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3487 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3488 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3489 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3490 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3491 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3492 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3493 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3494 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3495 __libc_allocate_rtsig_private.
3496 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3497 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3498 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3499 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3500 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3501 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3502 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3503 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3504 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3505 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3506 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3507 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3508 * nptl/internaltypes.h: ... here.
3509 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3510 * sysdeps/nptl/jmp-unwind.c: ... here.
3511 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3512 * nptl/libc-lowlevellock.c: ... here.
3513 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3514 * nptl/libc_multiple_threads.c: ... here.
3515 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3516 * nptl/libc_pthread_init.c: ... here.
3517 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3518 * nptl/lowlevelbarrier.sym: ... here.
3519 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3520 * nptl/lowlevelcond.sym: ... here.
3521 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3522 * nptl/lowlevellock.c: ... here.
3523 * nptl/lowlevellock.h: Moved ...
3524 * sysdeps/nptl/lowlevellock.h: ... here.
3525 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3526 * nptl/lowlevelrobustlock.c: ... here.
3527 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3528 * nptl/lowlevelrobustlock.sym: ... here.
3529 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3530 * nptl/lowlevelrwlock.sym: ... here.
3531 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3532 * nptl/pt-fork.c: ... here.
3533 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3534 * nptl/pthread-pi-defines.sym: ... here.
3535 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3536 * nptl/pthread_attr_getaffinity.c: ... here.
3537 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3538 * nptl/pthread_attr_setaffinity.c: ... here.
3539 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3540 * nptl/pthread_mutex_cond_lock.c: ... here.
3541 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3542 Update #include.
3543 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3544 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3545 * nptl/pthread_once.c: ... here, replacing old file.
3546 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3547 * nptl/pthread_yield.c: ... here.
3548 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3549 * nptl/register-atfork.c: ... here.
3550 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3551 * nptl/sem_post.c: ... here.
3552 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3553 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3554 * nptl/sem_timedwait.c: ... here.
3555 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3556 * nptl/sem_trywait.c: ... here.
3557 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3558 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3559 * nptl/sem_wait.c: ... here.
3560 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3561 * nptl/structsem.sym: ... here.
3562 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3563 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3564 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3565 * nptl/unregister-atfork.c: ... here.
3566 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3567 * nptl/unwindbuf.sym: ... here.
3568 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3569 * sysdeps/nptl/fork.c: ... here.
3570 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3571 * sysdeps/nptl/fork.h: ... here.
3572 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3573 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3574 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3575 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3576 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3577 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3578 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3579 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3580 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3581 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3582 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3583 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3584 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3585 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3586 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3587 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3588 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3589 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3590 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3591 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3592 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3593 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3594 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3595 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3596 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3597 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3598 * sysdeps/unix/sysv/linux/raise.c: ... here.
3599 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3600 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3601 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3602 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3603 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3604 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3605 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3606 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3607 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3608 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3609 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3610 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3611 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3612 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3613 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3614
96baf6ff
SP
36152014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3616
3617 * sysdeps/generic/memcopy.h: Add comment for
3618 MEMCPY_OK_FOR_FWD_MEMMOVE.
3619
6b7b14b2
WN
36202014-07-04 Will Newton <will.newton@linaro.org>
3621
1570a72b
WN
3622 * string/memchr.c: Merge from gnulib.
3623 [_LIBC]: Remove conditionals.
3624 (__ptr_t): Remove define.
3625 (LONG_MAX_32_BITS): Likewise.
3626 (LONG_MAX): Likewise.
3627 (MEMCHR): Use ANSI prototype and optimize algorithm.
3628
6b7b14b2
WN
3629 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3630
38851324
SP
36312014-07-03 Roland McGrath <roland@hack.frob.com>
3632
3d9eb57c
RM
3633 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3634 (lll_futex_timed_wait_bitset): Fix syscall argument count.
3635
78b984ae
RM
3636 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3637 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3638 in a bare environment with no <stdlib.h> installed.
3639 * sysdeps/nptl/configure: Regenerated.
3640
2d5976a5
RM
3641 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3642
c1f5acd4
RM
3643 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3644 AC_EGREP_CPP for kernel header checks, so they only succeed if
3645 including <linux/version.h> actually works right.
3646 * sysdeps/unix/sysv/linux/configure: Regenerated.
3647
4d614fe5
RM
3648 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3649 value so it's not diagnosed as unused.
3650
38851324
SP
3651 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3652 thing) with "ifeq ($(subdir),rt)".
3653
b3ec00e5
RH
36542014-07-03 Richard Henderson <rth@redhat.com>
3655
69862e25
RH
3656 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3657 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3658 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3659
d5e16ade
RH
3660 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3661 (math_force_eval): New.
3662
ca7b945c
RH
3663 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3664 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3665
cd1175a3
RH
3666 * sysdeps/alpha/fpu/s_round.c: Remove file.
3667 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3668
b3ec00e5
RH
3669 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3670 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3671 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3672 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3673 (_dl_start, print_statistics): Likewise.
3674 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3675 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3676
3677 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3678 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3679 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3680 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3681 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3682 (HP_SMALL_TIMING_AVAIL): Define.
3683 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3684 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3685 (HP_SMALL_TIMING_AVAIL): Define.
3686 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3687 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3688
3689 * sysdeps/aarch64/hp-timing.h: New file.
3690
3691 * sysdeps/generic/hp-timing.h: Remove dead comment.
3692 * sysdeps/generic/hp-timing-common.h: New file.
3693 * sysdeps/alpha/hp-timing.h: Include it.
3694 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3695 * sysdeps/i386/i686/hp-timing.h: Likewise.
3696 * sysdeps/ia64/hp-timing.h: Likewise.
3697 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3698 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3699 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3700 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3701 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3702 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3703 (hp_timing_t): New.
3704
3705 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3706 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3707 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3708 * elf/rtld.c (_dl_start_final): Likewise.
3709 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3710 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3711 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3712 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3713 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3714 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3715 (HP_TIMING_DIFF_INIT): Remove.
3716 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3717 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3718 (HP_TIMING_DIFF_INIT): Remove.
3719 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3720 * sysdeps/i386/i686/hp-timing.c: Remove file.
3721 * sysdeps/x86_64/hp-timing.c: Remove file.
3722 * sysdeps/ia64/hp-timing.c: Remove file.
3723 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3724 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3725 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3726 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3727
3728 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3729 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3730 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3731 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3732 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3733 (HP_TIMING_ACCUM): Remove.
3734 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3735 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3736 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3737
3738 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3739 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3740 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3741 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3742 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3743 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3744 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3745 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3746
3747 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3748
225f410f
MR
37492014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
3750
3751 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3752
3247f285
SP
37532014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3754
3755 Sync up with gettext.
3756 * intl/loadmsgcat.c: Define O_BINARY if not defined.
3757 [_MSC_VER]: Include malloc.h
3758 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3759 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3760 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
3761 TEMP_FAILURE_RETRY. Cast return of alloca.
3762 [!_LIBC] Call gl_rwlock_init.
3763 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3764
d12704c7
SP
37652014-07-02 Roland McGrath <roland@hack.frob.com>
3766
3767 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3768 before checking its value.
3769
99f8dc92
SP
37702014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3771
05fdac77
SP
3772 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3773
99f8dc92
SP
3774 * debug/memcpy_chk.c: Don't include pagecopy.h.
3775 * debug/mempcpy_chk.c: Likewise.
3776 * string/memcpy.c: Likewise.
3777 * string/memmove.c: Likewise.
3778 * sysdeps/powerpc/memmove.c: Likewise.
3779 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
3780 definition of PAGE_COPY_FWD_MAYBE here...
3781 * sysdeps/generic/pagecopy.h: ... from here.
3782 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3783
bc8ea385
VR
37842014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3785 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3786
3787 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3788 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3789 optimizations.
3790 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3791 (__libc_ifunc_impl_list): Likewise.
3792 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3793 multiarch strcat for PPC64.
3794 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3795 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3796
fe5f34e4
RM
37972014-07-02 Roland McGrath <roland@hack.frob.com>
3798
3799 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3800
256aa665
SP
38012014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3802
d4eb8195
SP
3803 * intl/loadmsgcat.c: Remove declaration of
3804 get_sysdep_segment_value.
3805 (get_sysdep_segment_value): Use ISO C style.
3806 (_nl_load_domain): Use ISO C style. Get rid of redundant
3807 semicolon. Fix typo and formatting in comment.
3808 (_nl_unload_domain): Use ISO C style.
3809
256aa665
SP
3810 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3811
b100f9aa
WN
38122014-07-02 Will Newton <will.newton@linaro.org>
3813
3814 * malloc/obstack.c: Merge from gnulib master.
3815 [HAVE_CONFIG_H]: Remove conditional code.
3816 [!_LIBC]: Include config.h.
3817 [!ELIDE_CODE]: Don't include inttypes.h, include
3818 stdint.h unconditionally.
3819 (print_and_abort): Mark as _Noreturn.
3820 (_obstack_allocated_p): Mark as __attribute_pure__.
3821 (obstack_free): Rename to __obstack_free.
3822 [!__attribute__]: Remove conditional code.
3823 * malloc/obstack.h: Merge from gnulib master.
3824 [__cplusplus]: Move conditional down.
3825 [!__attribute_pure__]: Define __attribute_pure__ here
3826 if it is not already defined.
3827 (_obstack_memory_used): Mark as __attribute_pure__.
3828 [!__obstack_free]: Define as obstack_free.
3829 [__GNUC__]: Remove check for ancient NeXT gcc.
3830
c4c41244
PE
38312014-07-02 Will Newton <will.newton@linaro.org>
3832 Paul Eggert <eggert@cs.ucla.edu>
3833
3834 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3835
e1e041c4
SP
38362014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3837
3838 * resolv/gethnamaddr.c: Add comment warning that the file is
3839 not maintained.
3840
ccf431ff
CD
38412014-07-01 Carlos O'Donell <carlos@redhat.com>
3842
d34570a6
CD
3843 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3844 entries.
3845
ccf431ff
CD
3846 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3847 entry for aio_cancel and aio_cancel64.
3848 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3849 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3850 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3851 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3852 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3853 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3854 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3855 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3856 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3857 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3858 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3859 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3860 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3861
ca06321d
RM
38622014-07-01 Roland McGrath <roland@hack.frob.com>
3863
3864 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3865 * nptl/pthread_mutex_lock.c: Likewise.
3866 * nptl/pthread_mutex_timedlock.c: Likewise.
3867 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3868
a1ac3184
RH
38692014-07-01 Richard henderson <rth@redhat.com>
3870
631021e0
RH
3871 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3872 (__isnan, __isnanl): Remove.
3873 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3874
a1ac3184
RH
3875 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3876
0c1d731f
SL
38772014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3878
3879 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3880
76985d3e
SP
38812014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3882
3883 * resolv/nss_dns/dns-host.c (getanswer_r)
3884 [MULTI_PTRS_ARE_ALIASES]: Remove code.
3885
b0cb3096
JM
38862014-07-01 Joseph Myers <joseph@codesourcery.com>
3887
3888 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3889 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3890 undefine.
3891 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3892 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3893
4d76cb39
RM
38942014-07-01 Roland McGrath <roland@hack.frob.com>
3895
3896 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3897 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3898
3899 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3900 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3901
3902 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3903 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3904 ... here.
3905 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3906 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3907
3908 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3909 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3910 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3911 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3912
3913 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3914 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3915 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3916 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3917 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3918 Moved ...
3919 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3920 ... here.
3921 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3922 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3923 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3924 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3925 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3926 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3927 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3928 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3929 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3930 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3931 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3932 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3933 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3934 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3935 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3936 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3937 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3938 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3939 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3940 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3941 ... here.
3942 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3943 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3944 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3945 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3946 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3947 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3948 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3949 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3950
0cdcad17
DH
39512014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
3952
3953 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3954 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3955 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3956 Add sysdep.
3957
9b71d0e3
AZ
39582014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3959
3960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3961
665390c2
JM
39622014-06-30 Joseph Myers <joseph@codesourcery.com>
3963
ae05a9d7
JM
3964 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3965 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3966
a7672a2f
JM
3967 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3968
665390c2
JM
3969 * sysdeps/arm/libm-test-ulps: Regenerated.
3970
d7a05d07
MR
39712014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3972 Roland McGrath <roland@hack.frob.com>
3973
3974 * test-skeleton.c (signal_handler): Kill the whole process group
3975 before killing the child individually.
3976 (main): Report any failure on `setpgid'.
3977
46f1d8a6
RM
39782014-06-30 Roland McGrath <roland@hack.frob.com>
3979
3980 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
3981 from _TLS_H to _ARM_NPTL_TLS_H.
3982 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
3983 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
3984
9c37ec0b
JM
39852014-06-30 Joseph Myers <joseph@codesourcery.com>
3986
ce9c5b3e
JM
3987 [BZ #16539]
3988 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
3989 (__expm1l): Return argument unchanged when small but not
3990 subnormal.
3991
3a6e9887
JM
3992 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3993 include macro name.
3994 (_FP_UNPACK_RAW_1_P): Likewise.
3995 (_FP_PACK_RAW_1): Likewise.
3996 (_FP_PACK_RAW_1_P): Likewise.
3997 (_FP_MUL_MEAT_1_wide): Likewise.
3998 (_FP_MUL_MEAT_DW_1_hard): Likewise.
3999 (_FP_MUL_MEAT_1_hard): Likewise.
4000 (_FP_DIV_MEAT_1_imm): Likewise.
4001 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
4002 (_FP_DIV_MEAT_1_udiv): Likewise.
4003 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
4004 (_FP_UNPACK_RAW_2): Likewise.
4005 (_FP_UNPACK_RAW_2_P): Likewise.
4006 (_FP_PACK_RAW_2): Likewise.
4007 (_FP_PACK_RAW_2_P): Likewise.
4008 (_FP_MUL_MEAT_DW_2_wide): Likewise.
4009 (_FP_MUL_MEAT_2_wide): Likewise.
4010 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
4011 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4012 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
4013 (_FP_MUL_MEAT_2_gmp): Likewise.
4014 (_FP_DIV_MEAT_2_udiv): Likewise.
4015 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
4016 (_FP_FRAC_SRL_4): Likewise.
4017 (_FP_FRAC_SRST_4): Likewise.
4018 (_FP_FRAC_SRS_4): Likewise.
4019 (_FP_UNPACK_RAW_4): Likewise.
4020 (_FP_UNPACK_RAW_4_P): Likewise.
4021 (_FP_PACK_RAW_4): Likewise.
4022 (_FP_PACK_RAW_4_P): Likewise.
4023 (_FP_MUL_MEAT_DW_4_wide): Likewise.
4024 (_FP_MUL_MEAT_4_wide): Likewise.
4025 (_FP_MUL_MEAT_4_gmp): Likewise.
4026 (umul_ppppmnnn): Likewise.
4027 (_FP_DIV_MEAT_4_udiv): Likewise.
4028 (__FP_FRAC_ADD_4): Likewise.
4029 (__FP_FRAC_SUB_3): Likewise.
4030 (__FP_FRAC_SUB_4): Likewise.
4031 (__FP_FRAC_DEC_3): Likewise.
4032 (__FP_FRAC_DEC_4): Likewise.
4033 (__FP_FRAC_ADDI_4): Likewise.
4034 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
4035 (_FP_FRAC_SRL_8): Likewise.
4036 (_FP_FRAC_SRS_8): Likewise.
4037
9c37ec0b
JM
4038 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
4039 include macro name.
4040 (FP_UNPACK_RAW_EP): Likewise.
4041 (FP_PACK_RAW_E): Likewise.
4042 (FP_PACK_RAW_EP): Likewise.
4043 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
4044 (_FP_ISSIGNAN): Likewise.
4045 (_FP_ADD_INTERNAL): Likewise.
4046 (_FP_FMA): Likewise.
4047 (_FP_CMP): Likewise.
4048 (_FP_SQRT): Likewise.
4049 (_FP_TO_INT): Likewise.
4050 (_FP_FROM_INT): Likewise.
4051 (FP_EXTEND): Likewise.
4052 (_FP_DIV_MEAT_N_loop): Likewise.
4053
2125f674
MR
40542014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4055
4056 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
4057 throughout.
4058
edea4028
JM
40592014-06-29 Joseph Myers <joseph@codesourcery.com>
4060
4061 [BZ #17097]
4062 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
4063 result with correct sign in case of exponents that produce
4064 overflow except for X very close to 1.
4065
dd0ba018
PE
40662014-06-28 Paul Eggert <eggert@cs.ucla.edu>
4067
4068 mktime: merge #if/#ifdef usage from glibc
4069 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
4070 as that works with both Glibc's and Gnulib's style.
4071 See thread starting at Siddhesh Poyarekar's bug report at:
4072 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
4073
64df73c2
SP
40742014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4075
4076 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
4077 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
4078 * sysdeps/tile/tilegx/memmove.c: Remove file.
4079
f1eafb41
JM
40802014-06-27 Joseph Myers <joseph@codesourcery.com>
4081
4082 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
4083 abi-name definition.
4084 * scripts/soversions.awk: Do not handle or generate ABI lines.
4085 * shlib-versions: Remove ABI entries.
4086 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
4087 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
4088
58eb0862
RM
40892014-06-27 Roland McGrath <roland@hack.frob.com>
4090
37caf178
RM
4091 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
4092 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
4093 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
4094 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
4095 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
4096 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
4097 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
4098 Moved ...
4099 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
4100 ... here.
4101 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
4102 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
4103 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
4104 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
4105 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
4106 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
4107 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
4108 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
4109 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
4110 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
4111 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
4112 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
4113 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
4114 Moved ...
4115 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
4116 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
4117 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
4118 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
4119 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4120 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4121 Moved ...
4122 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4123 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4124 Moved ...
4125 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4126 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4127 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4128 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4129 Moved ...
4130 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4131 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4132 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4133 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4134 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4135 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4136 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4137 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4138 Moved ...
4139 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4140 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4141 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4142 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4143 Moved ...
4144 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4145 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4146 Moved ...
4147 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4148 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4149 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4150 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4151 Moved ...
4152 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4153 ... here.
4154 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4155 Identical file removed.
4156 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4157 Moved ...
4158 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4159 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4160 Identical file removed.
4161 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4162 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4163 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4164 Moved ...
4165 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4166 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4167 Identical file removed.
4168 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4169 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4170 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4171 Identical file removed.
4172 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4173 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4174 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4175 Identical file removed.
4176 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4177 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4178 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4179 Identical file removed.
4180 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4181 Moved ...
4182 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4183 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4184 Identical file removed.
4185 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4186 Moved ...
4187 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4188 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4189 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4190 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4191 Identical file removed.
4192 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4193 Moved ...
4194 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4195 ... here.
4196 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4197 Identical file removed.
4198 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4199 Moved ...
4200 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4201 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4202 Identical file removed.
4203 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4204 Moved ...
4205 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4206 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4207 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4208 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4209 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4210 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4211 Moved ...
4212 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4213 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4214 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4215
58eb0862
RM
4216 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4217 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4218 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4219 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4220 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4221
6f12d062
AS
42222014-06-27 Arjun Shankar <arjun.is@lostca.se>
4223
4224 [BZ #17092]
4225 * nscd/nscd.c (monitor_child): Return exit status of child
4226 instead of return value from wait syscall.
4227
be254932
JM
42282014-06-27 Joseph Myers <joseph@codesourcery.com>
4229
cb403c34
JM
4230 * configure.ac (libc_commonpagesize): Remove variable.
4231 (libc_relro_required): Likewise.
4232 (libc_cv_z_relro): Remove configure test.
4233 * configure: Regenerated.
4234 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4235 variable.
4236 (libc_relro_required): Likewise.
4237 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4238 (libc_relro_required): Likewise.
4239 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4240 (libc_relro_required): Likewise.
4241 * sysdeps/arm/preconfigure: Regenerated.
4242 * sysdeps/ia64/preconfigure: Remove file.
4243 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4244 variable.
4245 (libc_relro_required): Likewise.
4246
be254932
JM
4247 [BZ #16561]
4248 [BZ #16562]
4249 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4250 (__ieee754_yn): Set FE_TONEAREST mode internally and then
4251 recompute overflowing results in original rounding mode.
4252 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4253 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4254 recompute overflowing results in original rounding mode.
4255 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4256 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4257 recompute overflowing results in original rounding mode.
4258 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4259 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4260 recompute overflowing results in original rounding mode.
4261 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4262 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4263 recompute overflowing results in original rounding mode.
4264 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4265 (libc_feholdsetround_ctx): New macro.
4266 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4267 * sysdeps/i386/fpu/libm-test-ulps: Update.
4268 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4269
b351d85a
JM
42702014-06-26 Joseph Myers <joseph@codesourcery.com>
4271
4272 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4273 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4274 corresponding .cpsetup call.
4275
3cb4de47
RM
42762014-06-26 Roland McGrath <roland@hack.frob.com>
4277
4278 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4279 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4280 * sysdeps/arm/Makefile [$(subdir) = csu]
4281 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4282 (static-only-routines): Add aeabi_read_tp here.
4283 (shared-only-routines): Add libc-aeabi_read_tp here.
4284 (CFLAGS-libc-start.c): Add -fexceptions here.
4285 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4286 (sysdep_routines, static-only-routines, shared-only-routines):
4287 Don't add to these here.
4288 (CFLAGS-libc-start.c): Likewise.
4289
4290 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4291 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4292 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4293 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4294 * sysdeps/arm/Makefile [$(subdir) = rt]
4295 (librt-sysdep_routines, librt-shared-only-routines):
4296 Append rt-aeabi_unwind_cpp_pr1 here.
4297 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4298 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4299 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4300 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4301 Append nptl-aeabi_unwind_cpp_pr1 here.
4302 (tests): Filter out tst-cleanupx4 here.
4303 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4304 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4305 Don't do those here.
4306
354426bb
JM
43072014-06-26 Joseph Myers <joseph@codesourcery.com>
4308
4309 * scripts/list-sources.sh: Do not handle ports specially.
4310
28b0a8c9
RM
43112014-06-26 Roland McGrath <roland@hack.frob.com>
4312
a3dd035d
RM
4313 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4314 * sysdeps/arm/feupdateenv.c: Likewise.
4315
28b0a8c9
RM
4316 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4317
e66a8203
JM
43182014-06-26 Joseph Myers <joseph@codesourcery.com>
4319
4320 * manual/texinfo.tex: Update to version 2014-05-05.10 with
4321 trailing whitespace removed.
4322 * scripts/config.guess: Update to version 2014-03-23.
4323 * scripts/config.sub: Update to version 2014-05-01
4324 * scripts/install-sh: Update to version 2013-12-25.23.
4325 * scripts/move-if-change: Update from gnulib.
4326
74171115
SP
43272014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4328
b97c9ce5
SP
4329 * debug/memmove_chk.c: Remove pagecopy.h include.
4330
4000f892
SP
43312014-06-26 Paul Eggert <eggert@cs.ucla.edu>
4332
74171115
SP
4333 * time/mktime.c (leapyear): Remove inline keyword. The code is now
4334 identical to gnulib mktime.
4335
a8779c28
JM
43362014-06-26 Joseph Myers <joseph@codesourcery.com>
4337
e64708de
JM
4338 * configure.ac: Do not test for machine being rs6000. Do not test
4339 for powerpc*-*soft.
4340 * configure: Regenerated.
4341
a8779c28
JM
4342 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4343 test.
4344 * configure: Regenerated.
4345 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4346 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4347 Remove configure test.
4348 * sysdeps/arm/configure: Regenerated.
4349 * sysdeps/nptl/configure.ac: Do not check
4350 libc_cv_asm_cfi_directives.
4351 * sysdeps/nptl/configure: Regenerated.
4352 * sysdeps/x86_64/nptl/configure.ac: Remove file.
4353 * sysdeps/x86_64/nptl/configure: Remove generated file.
4354 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4355 unconditional.
4356 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4357
2aac0a86
SP
43582014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4359
059bf913
SP
4360 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4361 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4362 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4363 it is defined.
4364
4cf5b6d0
SP
4365 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4366 instead of whether it is defined.
4367 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4368 * sysdeps/hppa/dl-machine.h: Likewise.
4369 * sysdeps/ia64/dl-machine.h: Likewise.
4370 * sysdeps/m68k/dl-machine.h: Likewise.
4371 * sysdeps/microblaze/dl-machine.h: Likewise.
4372 * sysdeps/mips/dl-machine.: Likewise.
4373 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4374 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4375 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4376 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4377 * sysdeps/sh/dl-machine.h: Likewise.
4378 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4379 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4380 * sysdeps/tile/dl-machine.h: Likewise.
4381 * sysdeps/x86_64/dl-machine.h: Likewise.
4382
2aac0a86
SP
4383 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4384 code.
4385 (verify_persistent_db): Likewise.
4386
6ad2df0b
RM
43872014-06-26 Roland McGrath <roland@hack.frob.com>
4388
d8a483f3
RM
4389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4390 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4392 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4394 Moved ...
4395 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4396 ... here.
4397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4398 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4400 Identical file removed.
4401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4402 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4404 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4406 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4408 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4410 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4412 Moved ...
4413 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4415 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4417 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4419 Moved ...
4420 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4422 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4424 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4426 Identical file removed.
4427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4428 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4430 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4432 Moved ...
4433 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4434 ... here.
4435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4436 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4438 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4439 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4440 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4442 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4444 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4446 Moved ...
4447 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4449 Moved ...
4450 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4452 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4454 Moved ...
4455 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4457 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4458
52ae23b4
RM
4459 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4460 folded into ...
4461 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4462 * sysdeps/unix/sysv/linux/s390/Versions
4463 (libpthread: GLIBC_2.19): New version set.
4464 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4465 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4466 (librt: GLIBC_2.3.3): New version set.
4467 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4468 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4469 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4470 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4471 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4472 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4473 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4474 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4475 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4476 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4477 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4478 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4479 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4480 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4481 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4482 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4483 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4484 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4485 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4486 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4487 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4488 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4489 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4490 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4491 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4492 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4493 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4494 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4495 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4496 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4497 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4498 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4499 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4500 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4501 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4502 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4503 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4504 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4505 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4506 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4507 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4508 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4509 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4510 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4511 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4512
39507e4a
RM
4513 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4514 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4515 (__libc_vfork): Define the function under this name.
4516 [!NOT_IN_libc] (__vfork): Make this an alias.
4517 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4518 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4519 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4520 (__libc_vfork): Define the function under this name.
4521 [!NOT_IN_libc] (__vfork): Make this an alias.
4522 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4523 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4524 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4525 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4526 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4527 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4528
e549ee56
RM
4529 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4530 code that was previously under [RESET_PID].
4531 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4532 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4533 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4534
6ad2df0b
RM
4535 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4536 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4537 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4538 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4539 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4540 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4541 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4542 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4543 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4544 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4545 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4546 Moved ...
4547 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4548 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4549 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4550 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4551 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4552 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4553 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4554 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4555 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4556 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4557 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4558 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4559 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4560 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4561 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4562 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4563 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4564 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4565 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4566 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4567 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4568 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4569 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4570 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4571 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4572 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4573 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4574 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4575 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4576
7c1c1d8e
RM
45772014-06-25 Roland McGrath <roland@hack.frob.com>
4578
4579 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4580 that was previously under [RESET_PID].
4581 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4582
3e239be6
JM
45832014-06-25 Joseph Myers <joseph@codesourcery.com>
4584
74385da5
JM
4585 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4586 not undefine and redefine.
4587 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4588 [O_CLOEXEC]: Make code unconditional.
4589 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4590 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4591 <kernel-features.h>.
4592 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4593 conditional variable definition.
4594 (shm_open) [O_CLOEXEC]: Make code unconditional.
4595 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4596 code.
4597
c2570a0b
JM
4598 * configure.ac (USE_REGPARMS): Don't define here.
4599 * configure: Regenerated.
4600 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4601 * sysdeps/i386/configure: Regenerated.
4602
11b076bb
JM
4603 * nptl/createthread.c: Don't include kernel-features.h.
4604 * nptl/pthread_cancel.c: Likewise.
4605 * nptl/pthread_condattr_setclock.c: Likewise.
4606 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4607 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4608 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4609 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4610 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4611 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4612 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4613 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4614 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4615 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4616 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4617 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4618 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4619 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4620 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4621 * nscd/gai.c: Likewise.
4622 * nss/nss_db/db-open.c: Likewise.
4623 * sysdeps/generic/ldsodefs.h: Likewise.
4624 * sysdeps/sh/nptl/tls.h: Likewise.
4625 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4626 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4627 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4628 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4629 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4630 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4631 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4632 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4633 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4634 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4635 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4636 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4637 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4638 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4639 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4640 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4641 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4642 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4643 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4644 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4645 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4646 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4647 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4648 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4649 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4650 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4651 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4652 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4653 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4654 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4655 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4656 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4657 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4658 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4659 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4660 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4661 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4662 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4663 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4664 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4665 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4666 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4667 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4668 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4669 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4670 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4671 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4672 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4673 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4674 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4675 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4676 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4677 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4678 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4679 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4680 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4681 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4682 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4705 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4706 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4707 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4708 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4709 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4710 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4711 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4712 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4713 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4714 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4715 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4716 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4717 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4718 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4719 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4720 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4721 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4722 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4723 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4724 * sysdeps/unix/sysv/linux/system.c: Likewise.
4725 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4726 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4727 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4728 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4729 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4730 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4731 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4732
92072d57
JM
4733 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4734 * configure: Regenerated.
4735 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4736
3e239be6
JM
4737 * configure.ac (base_machine): Do not set specially for particular
4738 machines here.
4739 * configure: Regenerated.
4740 * sysdeps/powerpc/preconfigure: Move machine and base_machine
4741 settings from configure.ac.
4742 * sysdeps/i386/preconfigure: New file.
4743 * sysdeps/s390/preconfigure: Likewise.
4744 * sysdeps/sh/preconfigure: Likewise.
4745 * sysdeps/sparc/preconfigure: Likewise.
4746
06d50baa
RM
47472014-06-25 Roland McGrath <roland@hack.frob.com>
4748
74836003
RM
4749 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4750 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4751 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4752 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4753 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4754 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4755 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4756 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4757 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4758 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4759 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4760 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4761 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4762 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4763 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4764 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4765 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4766 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4767 * sysdeps/sparc/sparc64/Makefile: ... appended here.
4768
4769 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4770 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4771 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4772 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4773 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4774 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4775 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4776 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4777 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4778 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4779 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4780 * sysdeps/sparc/sparc32/sem_post.c: ... here.
4781 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4782 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4783 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4784 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4785 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4786 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4787 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4788 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4789 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4790 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4791 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4792 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4793 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4794 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4795 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4796 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4797 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4798 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4799 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4800 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4801 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4802 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4803 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4804 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4805 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4806 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4807
06d50baa
RM
4808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4809 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4811 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4813 Moved ...
4814 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4815 ... here.
4816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4817 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4819 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4820 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4821 Moved ...
4822 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4824 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4826 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4828 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4830 Moved ...
4831 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4833 Moved ...
4834 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4835 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4836 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4838 Moved ...
4839 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4841 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4843 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4845 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4847 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4849 Moved ...
4850 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4851 ... here.
4852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4853 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4855 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4856 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4857 Moved ...
4858 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4859 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4860 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4862 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4864 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4865 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4866 Moved ...
4867 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4869 Moved ...
4870 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4872 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4873 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4874 Moved ...
4875 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4876 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4877 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4878 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4879 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4880
a4ccbc9b
JM
48812014-06-25 Joseph Myers <joseph@codesourcery.com>
4882
0828edbf
JM
4883 * timezone/checktab.awk: Update from tzcode 2014e.
4884 * timezone/private.h: Likewise.
4885 * timezone/tzfile.h: Likewise.
4886 * timezone/zdump.c: Likewise.
4887 * timezone/zic.c: Likewise.
4888
a4ccbc9b
JM
4889 * sysdeps/unix/sysv/linux/kernel-features.h
4890 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4891 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4892 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4893 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4894 Remove conditional code.
4895
9aea0cb8
WN
48962014-06-25 Will Newton <will.newton@linaro.org>
4897
4898 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4899 (_dl_arm_cap_flags): Add HWCAP2 values.
4900 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4901 (_DL_HWCAP_COUNT): Increase to 37.
4902 (_DL_HWCAP_LAST): New define.
4903 (_DL_HWCAP2_LAST): New define.
4904 (_dl_procinfo): Add support for printing
4905 AT_HWCAP2 entries.
4906 (_dl_string_hwcap): Use _dl_hwcap_string.
4907
6eaa65ce
AZ
49082014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4909
4910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4911
0f5b7185
JM
49122014-06-25 Joseph Myers <joseph@codesourcery.com>
4913
cfd2ea50
JM
4914 * README: Do not mention ports directory.
4915
cecf2ed4
JM
4916 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4917 Remove macro.
4918 * sysdeps/unix/sysv/linux/futimes.c: Do not include
4919 <kernel-features.h>.
4920 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4921 conditional variable definition.
4922 (__futimes): Update comment.
4923 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4924 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4925
a638de82
JM
4926 [BZ #16560]
4927 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4928 arguments close to 0.
4929 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4930 Likewise.
4931 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4932 Likewise.
4933 * math/auto-libm-test-in: Add more tests of exp10.
4934 * math/auto-libm-test-out: Regenerated.
4935 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4936
0f5b7185
JM
4937 * sysdeps/unix/sysv/linux/kernel-features.h
4938 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4939 * sysdeps/unix/sysv/linux/readv.c: Do not include
4940 <kernel-features.h>.
4941 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4942 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4943 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4944 unconditional.
4945 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4946 conditional code.
4947 * sysdeps/unix/sysv/linux/writev.c: Do not include
4948 <kernel-features.h>.
4949 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4950 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4951 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4952 unconditional.
4953 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4954 conditional code.
4955
c7aec4be
WN
49562014-06-25 Will Newton <will.newton@linaro.org>
4957
4958 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4959 comment changes throughout the file. Remove checks
4960 for HAVE_*_H definitions that are not required.
4961 (__gen_tempname): Call abort if an unknown kind value is
4962 passed.
4963
c5241f95
AS
49642014-06-25 Andreas Schwab <schwab@suse.de>
4965
4966 [BZ #17086]
4967 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4968 scalbln, scalblnf, scalblnl in libc.
4969
911422da
SP
49702014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4971
4972 [BZ #17086]
4973 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
4974 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4975 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4976
0d749bbe
RM
49772014-06-24 Roland McGrath <roland@hack.frob.com>
4978
4979 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4980 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
4981 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
4982 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
4983 Update #include.
4984 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
4985 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
4986 Update #include.
4987 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
4988 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
4989 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
4990 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
4991 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4992 * sysdeps/x86/bits/pthreadtypes.h: ... here.
4993 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4994 * sysdeps/x86/bits/semaphore.h: ... here.
4995 * sysdeps/x86/nptl/elide.h: Moved ...
4996 * sysdeps/x86/elide.h: ... here.
4997 * sysdeps/x86_64/nptl/Implies: File removed.
4998 * sysdeps/i386/nptl/Implies: File removed.
4999
0ea5d373
JM
50002014-06-24 Joseph Myers <joseph@codesourcery.com>
5001
4060283d
JM
5002 [BZ #16539]
5003 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
5004 return the argument for normal arguments with exponent below -64.
5005 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5006 Likewise.
5007 * math/auto-libm-test-in: Add another test of expm1.
5008 * math/auto-libm-test-out: Regenerated.
5009
e7dd3c8c
JM
5010 [BZ #16287]
5011 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
5012 calling __erfcl for arguments at least 16.
5013 * math/auto-libm-test-in: Add more tests of erf.
5014 * math/auto-libm-test-out: Regenerated.
5015
0ea5d373
JM
5016 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
5017 individual architectures.
5018 * sysdeps/unix/sysv/linux/configure: Regenerated.
5019 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
5020 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
5021 * sysdeps/unix/sysv/linux/powerpc/configure.ac
5022 (ldd_rewrite_script): Define variable.
5023 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
5025 file.
5026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
5027 generated file.
5028 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
5029 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
5030 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
5031 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
5032 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
5033 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
5034 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
5035 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
5036
2307e126
SP
50372014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5038
5039 [BZ #17084]
5040 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
5041 Rename member __data.d to __data.__elision_data.
5042
c0a4ed77
W
50432014-06-24 Wilco <wdijkstr@arm.com>
5044
5045 * NEWS: Add 16918 to fixed bug list.
5046
b8c00573
W
50472014-06-24 Wilco <wdijkstr@arm.com>
5048
5049 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
5050
b5570d92
W
50512014-06-24 Wilco <wdijkstr@arm.com>
5052
5053 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
5054 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
5055 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
5056 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
5057 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
5058 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
5059 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
5060 Use _FPU_MASK_RM.
5061
947bdca2
W
50622014-06-24 Wilco <wdijkstr@arm.com>
5063
5064 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
5065
00f669ed
W
50662014-06-24 Wilco <wdijkstr@arm.com>
5067
5068 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
5069 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
5070 * sysdeps/arm/fesetround.c (fesetround): Remove space.
5071 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
5072
db59bad3
W
50732014-06-24 Wilco <wdijkstr@arm.com>
5074
5075 [BZ #16918]
5076 * sysdeps/arm/feupdateenv.c (feupdateenv):
5077 Rewrite to reduce FPSCR accesses and fix return value.
5078
001f7b77
W
50792014-06-24 Wilco <wdijkstr@arm.com>
5080
5081 * sysdeps/arm/fclrexcpt.c (feclearexcept):
5082 Optimize to avoid unnecessary FPSCR writes.
5083 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
5084 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
5085 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
5086 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
5087
4841e6a6
W
50882014-06-24 Wilco <wdijkstr@arm.com>
5089
5090 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
5091 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
5092 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
5093 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
5094 Call libc_fetestexcept_vfp.
5095 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
5096 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
5097 __SOFTFP__ ifdef so that they can be built for softfp.
5098
0813022c
SP
50992014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5100
08e5862f
SP
5101 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
5102 argument type signed char.
5103
0813022c
SP
5104 * Makerules (check-abi): Dump diff of symlist if the test
5105 fails.
5106
3fc7236a
RM
51072014-06-23 Roland McGrath <roland@hack.frob.com>
5108
aba8ef95
RM
5109 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
5110 using abort.
5111
3fc7236a
RM
5112 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5113 Remove unused variable ST.
5114
4da6db51
JM
51152014-06-23 Joseph Myers <joseph@codesourcery.com>
5116
4648909d
JM
5117 [BZ #16354]
5118 [BZ #17061]
5119 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5120 small arguments before calling __expm1.
5121 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5122 small arguments before calling __expm1f.
5123 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5124 small arguments before calling __expm1l.
5125 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5126 Likewise.
5127 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5128 * math/auto-libm-test-in: Add more cosh tests. Do not allow
5129 spurious underflow for some cosh tests.
5130 * math/auto-libm-test-out: Regenerated.
5131 * sysdeps/i386/fpu/libm-test-ulps: Update.
5132
46a3d3c7
JM
5133 [BZ #17050]
5134 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5135 (__ieee754_y1): Set errno if return value overflows.
5136 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5137 (__ieee754_y1f): Set errno if return value overflows.
5138 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5139 (__ieee754_y1l): Set errno if return value overflows.
5140 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5141 (__ieee754_y1l): Set errno if return value overflows.
5142 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5143 * math/auto-libm-test-out: Regenerated.
5144
863893ec
JM
5145 * math/gen-auto-libm-tests.c: Document use of
5146 ignore-zero-inf-sign.
5147 (input_flag_type): Add value flag_ignore_zero_inf_sign.
5148 (input_flags): Add ignore-zero-inf-sign.
5149 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5150 * math/gen-libm-test.pl (generate_testfile): Handle
5151 ignore-zero-inf-sign.
5152 * math/auto-libm-test-in: Mark some cpow tests with
5153 ignore-zero-inf-sign and some with xfail-rounding.
5154 * math/auto-libm-test-out: Regenerated.
5155 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5156 * sysdeps/i386/fpu/libm-test-ulps: Update.
5157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5158
4da6db51
JM
5159 [BZ #16315]
5160 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5161 overflowing or underflowing operations take place with sign of
5162 result.
5163 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5164 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5165 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5166 (__ieee754_pow): Recompute overflowing and underflowing results in
5167 original rounding mode.
5168 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5169 (__powl_helper): Allow negative argument X and scale negated value
5170 as needed. Avoid passing value outside [-1, 1] to f2xm1.
5171 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5172 overflowing or underflowing operations take place with sign of
5173 result.
5174 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5175 Include <math.h>.
5176 * math/auto-libm-test-in: Add more tests of pow.
5177 * math/auto-libm-test-out: Regenerated.
5178 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5179 (pow_tonearest_test_data): Remove.
5180 (pow_test_tonearest): Likewise.
5181 (pow_towardzero_test_data): Likewise.
5182 (pow_test_towardzero): Likewise.
5183 (pow_downward_test_data): Likewise.
5184 (pow_test_downward): Likewise.
5185 (pow_upward_test_data): Likewise.
5186 (pow_test_upward): Likewise.
5187 (main): Don't call removed functions.
5188 * sysdeps/i386/fpu/libm-test-ulps: Update.
5189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5190
5686b236
RM
51912014-06-23 Roland McGrath <roland@hack.frob.com>
5192
5193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5194 Moved ...
5195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5197 Moved ...
5198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5200 Moved ...
5201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5203 Moved ...
5204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5206 File removed.
5207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5208 File removed.
5209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5210 File removed.
5211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5212 File removed.
5213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5214 File removed.
5215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5216 File removed.
5217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5218 File removed.
5219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5220 File removed.
5221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5222 File removed.
5223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5224 File removed.
5225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5226 File removed.
5227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5228 File removed.
5229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5230 Moved ...
5231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5233 Moved ...
5234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5235 ... here.
5236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5237 Moved ...
5238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5240 Moved ...
5241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5243 Moved ...
5244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5246 Moved ...
5247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5249 Moved ...
5250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5252 Moved ...
5253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5255 Moved ...
5256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5259 ... here.
5260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5261 Moved ...
5262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5264 Moved ...
5265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5266 ... here.
5267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5268 Moved ...
5269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5270 ... here.
5271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5272 Moved ...
5273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5274 ... here.
5275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5276 Moved ...
5277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5279 Moved ...
5280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5284 Moved ...
5285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5286 ... here.
5287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5288 Moved ...
5289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5290 ... here.
5291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5292 Moved ...
5293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5295 Moved ...
5296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5298 Moved ...
5299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5301 Moved ...
5302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5304 Moved ...
5305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5306 ... here.
5307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5308 Moved ...
5309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5311 Moved ...
5312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5314 Moved ...
5315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5317 Moved ...
5318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5322 Moved ...
5323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5325 Moved ...
5326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5328 Moved ...
5329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5330 ... here.
5331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5332 Moved ...
5333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5334 ... here.
5335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5336 Moved ...
5337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5338 ... here.
5339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5340 Moved ...
5341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5343 Moved ...
5344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5346 Moved ...
5347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5349 Moved ...
5350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5351 ... here.
5352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5353 Moved ...
5354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5355 ... here.
5356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5357 Moved ...
5358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5359 ... here.
5360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5361 Moved ...
5362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5364 Moved ...
5365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5366
e6d90d67
WD
53672014-06-23 Will Newton <will.newton@linaro.org>
5368 Wilco <wdijkstr@arm.com>
5369
5370 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5371 implementation. Include get-rounding-mode.h.
5372 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5373 [!libc_feholdsetround_noex_ctx]: Define
5374 libc_feholdsetround_noex_ctx.
5375 [!libc_feholdsetround_noexf_ctx]: Define
5376 libc_feholdsetround_noexf_ctx.
5377 [!libc_feholdsetround_noexl_ctx]: Define
5378 libc_feholdsetround_noexl_ctx.
5379 (libc_feholdsetround_ctx): New function.
5380 (libc_feresetround_ctx): New function.
5381 (libc_feholdsetround_noex_ctx): New function.
5382 (libc_feresetround_noex_ctx): New function.
5383
d42df555
RM
53842014-06-23 Roland McGrath <roland@hack.frob.com>
5385
88a46474
RM
5386 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5387 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5388 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5389 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5390 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5391 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5392
15bed472
RM
5393 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5394 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5395 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5396 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5397 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5398 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5399 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5400 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5401 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5402 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5403 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5404 Moved ...
5405 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5406 ... here.
5407 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5408 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5409 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5410 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5411 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5412 Moved ...
5413 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5414 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5415 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5416 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5417 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5418 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5419 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5420 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5421 Moved ...
5422 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5423 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5424 Moved ...
5425 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5426 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5427 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5428 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5429 Moved ...
5430 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5431 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5432 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5433 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5434 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5435 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5436 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5437 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5438 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5439 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5440 Moved ...
5441 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5442 ... here.
5443 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5444 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5445 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5446 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5447 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5448 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5449 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5450 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5451 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5452 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5453 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5454 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5455 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5456 Moved ...
5457 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5458 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5459 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5460 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5461 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5462 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5463 Moved ...
5464 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5465 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5466 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5467 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5468 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5469
d42df555
RM
5470 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5471 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5472 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5473 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5474 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5475 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5476 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5477 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5478 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5479 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5480 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5481 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5482 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5483 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5484 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5485 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5486 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5487 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5488 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5489 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5490 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5491 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5492 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5493 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5494 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5495 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5496 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5497 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5498
76e5216e
JM
54992014-06-23 Joseph Myers <joseph@codesourcery.com>
5500
5501 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5502 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5503 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5504 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5505 (IPV6_PMTUDISC_INTERFACE): Likewise.
5506 (IPV6_PMTUDISC_OMIT): Likewise.
5507
7a81cbcc
AS
55082014-06-23 Andreas Schwab <schwab@suse.de>
5509
5510 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5511 Remove unused errout label.
5512
db224009
AZ
55132014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5514
5515 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5516 macro: hardware supports Vector Crypto instructions.
5517
f393b4aa
WN
55182014-06-23 Will Newton <will.newton@linaro.org>
5519
cc7d0447
WN
5520 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5521 rather than __builtin_expect.
5522
d6d06225
WN
5523 * elf/dl-lookup.c (undefined_msg): Remove variable.
5524 (_dl_lookup_symbol_x): Replace undefined_msg with string
5525 literal.
5526
f393b4aa
WN
5527 * elf/dl-lookup.c (do_lookup_unique): New function.
5528 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5529 to a separate function.
5530
ac60763e
AS
55312014-06-23 Andreas Schwab <schwab@suse.de>
5532
5533 [BZ #17079]
5534 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5535 before reading the next line.
5536
c5c13355
WN
55372014-06-23 Will Newton <will.newton@linaro.org>
5538
5539 * test-skeleton.c (signal_handler): Use printf and %m
5540 rather than perror. Use printf rather than fprintf to
5541 stderr. Use puts rather than fputs to stderr.
5542 (main): Likewise.
5543
bd3675f9
LC
55442014-06-22 Ludovic Courtès <ludo@gnu.org>
5545
5546 * nscd/nscd.c (thread_info_t): Remove typedef.
5547 (thread_info): Remove variable.
5548
d03efb2f
AM
55492014-06-21 Allan McRae <allan@archlinux.org>
5550
5551 * NEWS: Mention CVE-2014-4043.
5552
bc4a86fa
RM
55532014-06-20 Roland McGrath <roland@hack.frob.com>
5554
dc9a54f8
RM
5555 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5556 * nptl/smp.h: ... here.
5557
bd7022c4
RM
5558 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5559
26ffd5e6
RM
5560 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5561 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5562 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5563 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5564
93a6d082
RM
5565 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5566 * nptl/stack-aliasing.h: New file.
5567 * sysdeps/i386/i686/stack-aliasing.h: New file.
5568 * sysdeps/i386/i686/nptl/Makefile: File removed.
5569 * sysdeps/x86_64/stack-aliasing.h: New file.
5570 * sysdeps/x86_64/nptl/Makefile
5571 (CFLAGS-pthread_create.c): Variable removed.
5572
bc4a86fa
RM
5573 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5574 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5575 old file.
5576 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5577 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5578 old file.
5579
2272ffc1
JM
55802014-06-21 Joseph Myers <joseph@codesourcery.com>
5581
5582 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5583 (__ASSUME_SIGFRAME_V2): Remove macro.
5584 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5585 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5586 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5587 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5588 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5589 Declare as function. Remove conditional macro definitions.
5590 (__default_rt_sa_restorer): Likewise.
5591 (__default_sa_restorer_v1): Remove declaration.
5592 (__default_sa_restorer_v2): Likewise.
5593 (__default_rt_sa_restorer_v1): Likewise.
5594 (__default_rt_sa_restorer_v2): Likewise.
5595 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5596 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5597 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5598
4b88139b
RM
55992014-06-20 Roland McGrath <roland@hack.frob.com>
5600
5601 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5602 (libpthread-routines): Add sysdep.
5603 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5604 * sysdeps/unix/sysv/linux/sparc/Versions
5605 (libpthread: GLIBC_2.3.3): New version set.
5606 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5607 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5608 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5609 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5610 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
5611 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5612 Moved ...
5613 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5614 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5615 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5616 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5617 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5618 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5619 * sysdeps/sparc/nptl/sem_init.c: ... here.
5620 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5621 * sysdeps/sparc/nptl/sem_post.c: ... here.
5622 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5623 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5624 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5625 * sysdeps/sparc/nptl/sem_wait.c: ... here.
5626 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5627 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5628 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5629 (libpthread-routines): Add cpu_relax.
5630 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5631 File removed.
5632 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5633 (librt: GLIBC_2.3.3): New version set.
5634 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5635 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5636 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5637 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5638 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5639 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5640 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5641 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5642 Moved ...
5643 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5644 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5645 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5646 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5647 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5648 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5649 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5650 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5651 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5652 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5653 Moved ...
5654 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5655 Update #include.
5656 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5657 Moved ...
5658 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5659 Update #include.
5660 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5661 Moved ...
5662 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5663 Update #include.
5664 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5665 Moved ...
5666 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5667 Update #include.
5668 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5669 Moved ...
5670 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5671 Update #include.
5672 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5673 Moved ...
5674 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5675 Update #include.
5676 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5677 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5678 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5679 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5680 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5681 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5682 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5683 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5684 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5685 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5686 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5687 Moved ...
5688 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5689 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5690 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5691 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5692 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5693
d7109027
JM
56942014-06-20 Joseph Myers <joseph@codesourcery.com>
5695
9bc6103d
JM
5696 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5697 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5698 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5699 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5700 * nscd/nscd.c: Likewise.
5701 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5702 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5703 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5704 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5705
d7109027
JM
5706 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5707 <kernel-features.h>.
5708 (init_mq_netlink): Remove conditional have_sock_cloexec
5709 definitions. Remove code conditional on have_sock_cloexec < 0.
5710 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5711 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5712 * sysdeps/unix/sysv/linux/opensock.c: Do not include
5713 <kernel-features.h>.
5714 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5715 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5716
d92d8f8a
L
57172014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5718
5719 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5720 Add tests for memset_chk and memset.
5721
5722 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5723 with AVX2_Usable.
5724
4e6d2347
MR
57252014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5726
257ce712
MR
5727 [BZ #16046]
5728 * elf/tst-dl-iter-static.c: New file.
5729 * elf/Makefile (tests-static): Add tst-dl-iter-static.
5730
4e6d2347
MR
5731 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5732 error.
5733
a2a76afe
JM
57342014-06-20 Joseph Myers <joseph@codesourcery.com>
5735
7fd00f99
JM
5736 * sysdeps/unix/sysv/linux/kernel-features.h
5737 (__ASSUME_F_GETOWN_EX): Remove macro.
5738 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5739 <kernel-features.h>.
5740 (miss_F_GETOWN_EX): Remove variable or macro.
5741 (do_fcntl): Do not check miss_F_GETOWN_EX.
5742 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5743
4a103975
JM
5744 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5745 Remove macro.
5746 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5747 [!__ASSUME_AT_RANDOM]: Remove conditional code.
5748 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5749
a2a76afe
JM
5750 * sysdeps/unix/sysv/linux/kernel-features.h
5751 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5752 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5753 [ADJ_OFFSET_SS_READ]: Make code unconditional.
5754 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5755
90e5dd48
MR
57562014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5757
5758 [BZ #17075]
5759 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5760 Fix calculation of the symbol's value.
5761 * sysdeps/arm/tst-armtlsdescloc.c: New file.
5762 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5763 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5764 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5765 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5766 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5767 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5768 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5769 (modules-names): Add `tst-armtlsdescmod',
5770 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5771 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5772 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5773 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5774 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5775 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5776 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5777 ($(objpfx)tst-armtlsdescloc): New dependency.
5778 ($(objpfx)tst-armtlsdescextnow): Likewise.
5779 ($(objpfx)tst-armtlsdescextlazy): Likewise.
5780 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5781 TLS scheme support.
5782 * sysdeps/arm/configure: Regenerate.
5783
809fdf0d
JM
57842014-06-20 Joseph Myers <joseph@codesourcery.com>
5785
5786 * include/fcntl.h (__atfct_seterrno): Remove prototype.
5787 (__atfct_seterrno_2): Likewise.
5788 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5789 <kernel-features.h>.
5790 (__ASSUME_ATFCTS): Do not undefine and redefine.
5791 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5792 (__have_atfcts): Remove conditional definition.
5793 (__fxstatat([__NR_fstatat64]: Make code unconditional.
5794 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5795 unreachable if [__ASSUME_ATFCTS].
5796 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5797 not undefine and redefine.
5798 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5799 <kernel-features.h>.
5800 (faccessat) [__NR_faccessat]: Make code unconditional.
5801 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5802 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5803 <kernel-features.h>.
5804 (fchmodat) [__NR_fchmodat]: Make code unconditional.
5805 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5806 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5807 <kernel-features.h>.
5808 (fchownat) [__NR_fchownat]: Make code unconditional.
5809 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5810 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5811 <kernel-features.h>.
5812 (futimesat) [__NR_futimesat]: Make code unconditional.
5813 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5814 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5815 <kernel-features.h>.
5816 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5817 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5818 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5819 <kernel-features.h>.
5820 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5821 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5822 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5823 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5824 <kernel-features.h>.
5825 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5826 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5827 * sysdeps/unix/sysv/linux/linkat.c: Do not include
5828 <kernel-features.h>.
5829 (linkat) [__NR_linkat]: Make code unconditional.
5830 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5831 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5832 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5833 <kernel-features.h>.
5834 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5835 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5836 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5837 <kernel-features.h>.
5838 (mkdirat) [__NR_mkdirat]: Make code unconditional.
5839 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5840 * sysdeps/unix/sysv/linux/openat.c: Do not include
5841 <kernel-features.h>.
5842 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5843 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5844 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5845 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5846 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5847 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5848 <kernel-features.h>.
5849 (readlinkat) [__NR_readlinkat]: Make code unconditional.
5850 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
5851 result of INLINE_SYSCALL directly, not via int variable.
5852 * sysdeps/unix/sysv/linux/renameat.c: Do not include
5853 <kernel-features.h>.
5854 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5855 (renameat) [__NR_renameat]: Make code unconditional.
5856 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5857 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5858 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5859 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5860 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5861 (__ASSUME_ATFCTS): Do not undefine and redefine.
5862 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5863 <kernel-features.h>.
5864 (symlinkat) [__NR_symlinkat]: Make code unconditional.
5865 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5866 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5867 <kernel-features.h>.
5868 (unlinkat) [__NR_unlinkat]: Make code unconditional.
5869 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5870 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5871 (__ASSUME_ATFCTS): Do not undefine and redefine.
5872 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5873 <kernel-features.h>.
5874 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5875 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5876 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5877 <kernel-features.h>.
5878 (__xmknodat) [__NR_mknodat]: Make code unconditional.
5879 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5880
224c6c51
L
58812014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5882
5883 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5884
aa6ec754
AS
58852014-06-20 Andreas Schwab <schwab@linux-m68k.org>
5886
5887 [BZ #17069]
5888 * posix/regcomp.c (parse_reg_exp): Deallocate partially
5889 constructed tree before returning error.
5890 * posix/bug-regexp36.c: Expand test case.
5891
d8c2869d
SL
58922014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5893
3ef6b850
SL
5894 [BZ #6803]
5895 * math/libm-test.inc (scalbln_test_date):
5896 Add errno expectations.
5897 * math/w_scalblnf.c: New File.
5898 Add wrapper which checks for setting errno to ERANGE.
5899 Add weak_alias for corresponding scalbln function.
5900 * math/w_scalbln.c: Likewise.
5901 * math/w_scalblnl.c: Likewise.
5902 * math/Makefile (libm-calls): Add w_scalbln.
5903 * sysdeps/ieee754/flt-32/s_scalblnf.c:
5904 Remove weak_alias for corresponding scalbln function.
5905 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5906 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5907 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5908 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5909 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5910 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5911 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5912 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5913 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5914 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5915 Remove long_double_symbol for scalblnl function in libm, libc.
5916 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5917 Add wrapper which checks for setting errno to ERANGE.
5918 Add long_double_symbol for scalblnl function in libm, libc.
5919 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5920 Remove long_double_symbol for scalblnl in libm.
5921 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5922 Add wrapper which checks for setting errno to ERANGE.
5923 Add long_double_symbol for scalblnl function in libm.
5924 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5925 Do not use wrapper because of own implementation.
5926
c8daec5c
L
59272014-06-19 H.J. Lu <hongjiu.lu@intel.com>
5928
5929 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5930 3 bytes for __pad1 for x32.
5931 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5932
5c74e47c
LM
59332014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
5934 H.J. Lu <hongjiu.lu@intel.com>
5935
5936 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5937 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5938 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5939 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5940 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5941
4d43ef1e
AS
59422014-06-19 Andreas Schwab <schwab@linux-m68k.org>
5943
5944 [BZ #17069]
5945 * posix/regcomp.c (parse_expression): Deallocate partially
5946 constructed tree before returning error.
5947 * posix/Makefile.c (tests): Add bug-regex36.
5948 (generated): Add bug-regex36.mtrace.
5949 (tests-special): Add $(objpfx)bug-regex36-mem.out
5950 (bug-regex36-ENV): New variable.
5951 ($(objpfx)bug-regex36-mem.out): New rule.
5952 * posix/bug-regex36.c: New file.
5953
51a7380b
WN
59542014-06-19 Will Newton <will.newton@linaro.org>
5955
5956 * malloc/malloc.c (systrim): If extra is zero then return
5957 early.
5958
91b84fe5
SP
59592014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5960
5961 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5962
f940b965
RE
59632014-06-19 Richard Earnshaw <rearnsha@arm.com>
5964
5965 * sysdeps/aarch64/strchr.S: New file.
5966
4ba7a00f
JM
59672014-06-18 Joseph Myers <joseph@codesourcery.com>
5968
5969 [BZ #17022]
5970 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5971 from arguments -2 or below.
5972 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5973 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5974
b3a9f56b
AS
59752014-06-18 Andreas Schwab <schwab@suse.de>
5976
5977 [BZ #17062]
5978 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5979 of a bracket expr not to run off the end of the string.
5980 * posix/Makefile (tests): Add tst-fnmatch3.
5981 * posix/tst-fnmatch3.c: New file.
5982
85d89278
JM
59832014-06-18 Joseph Myers <joseph@codesourcery.com>
5984
5985 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
5986 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5987 [$(cross-compiling) = no]: Likewise.
5988 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5989 [$(cross-compiling) = no]: Likewise.
5990
754c5a08
RS
59912014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5992
5993 [BZ #17031]
5994 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5995 double, adjusted for any remainder from the high double.
5996 * math/libm-test.inc (nearbyint): Add tests.
5997 (rint): Likewise.
5998
556f529d
AZ
59992014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6000
6001 * nptl/sysdeps/powerpc/Makefile: Moved ...
6002 * sysdeps/powerpc/nptl/Makefile: ... here.
6003 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
6004 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
6005 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
6006 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
6007 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
6008 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
6009 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
6010 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
6011 * nptl/sysdeps/powerpc/tls.h: Moved ...
6012 * sysdeps/powerpc/nptl/tls.h: ... here.
6013
91c03c53
JM
60142014-06-16 Joseph Myers <joseph@codesourcery.com>
6015
6016 [BZ #16681]
6017 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
6018 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6019 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
6020 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
6021 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6022 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
6023 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
6024 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6025 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
6026
a76e63c5
AS
60272014-06-17 Andreas Schwab <schwab@linux-m68k.org>
6028
6029 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6030
f2f6d82f
AS
60312014-06-16 Andreas Schwab <schwab@linux-m68k.org>
6032
ea8a15f6
AS
6033 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
6034 defined operator.
6035
f2f6d82f
AS
6036 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
6037 $TIMEOUTFACTOR.
6038
a7291117
FW
60392014-06-16 Florian Weimer <fweimer@redhat.com>
6040
6041 [BZ #17058]
6042 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
6043 non-executed part of the test.
6044
3d7c00e3
AS
60452014-06-16 Andreas Schwab <schwab@suse.de>
6046
6047 * string/bits/string2.h (strdup, strndup): Update feature guard.
6048
6957fb31
DM
60492014-06-14 David S. Miller <davem@davemloft.net>
6050
6051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6052
11b9e55b
AS
60532014-06-14 Andreas Schwab <schwab@linux-m68k.org>
6054
1d2a0492
AS
6055 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
6056 that was previously under [RESET_PID].
6057 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
6058
11b9e55b
AS
6059 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
6060 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
6061 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
6062 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6063 (__libc_vfork): New strong alias.
6064 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
6065
0f6901d0
AK
60662014-06-14 Andi Kleen <ak@linux.intel.com>
6067
6068 * sysdeps/generic/elide.h: New file.
6069
38bbbb9f
SL
60702014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6071
6072 * Makefile (installed-headers): Adjust path of pthread.h header.
6073
45193bb8
RM
60742014-06-13 Roland McGrath <roland@hack.frob.com>
6075
9a25fd1e
RM
6076 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
6077 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
6078 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
6079 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
6080
4004f7e4
RM
6081 * nptl/sysdeps/s390/Makefile: Moved ...
6082 * sysdeps/s390/nptl/Makefile: ... here.
6083 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
6084 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
6085 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
6086 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
6087 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
6088 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
6089 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
6090 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
6091 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
6092 * sysdeps/s390/nptl/pthreaddef.h: ... here.
6093 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
6094 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
6095 * nptl/sysdeps/s390/tls.h: Moved ...
6096 * sysdeps/s390/nptl/tls.h: ... here.
6097
45193bb8
RM
6098 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
6099 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
6100
f6fdf533
DM
61012014-06-13 David S. Miller <davem@davemloft.net>
6102
6103 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
6104 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
6105 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
6106 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
6107 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
6108 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
6109 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
6110 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
6111 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
6112 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
6113 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
6114 Remove RESET_PID cpp guards.
6115 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
6116 Remove RESET_PID cpp guards.
6117 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
6118
f5d71e14
AS
61192014-06-13 Andreas Schwab <schwab@linux-m68k.org>
6120
6121 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6122 __sp to uintptr_t.
6123
b7aa8caa
AK
61242014-06-13 Andi Kleen <ak@linux.intel.com>
6125
4b266200
AZ
6126 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6127 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6128 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6129 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6130 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6131 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6132 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6133 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6134 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6135 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6136 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6137 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6138 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6139 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6140 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6141 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6142 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6143 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6144 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6145 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
6146
6147 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
6148 (pthread_rwlock_rdlock): Add elision.
6149 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6150 (pthread_rwlock_wrlock): Add elision.
6151 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6152 (pthread_rwlock_trywrlock): Add elision.
6153 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6154 (pthread_rwlock_tryrdlock): Add elision.
6155 * nptl/pthread_rwlock_unlock.c: Include elide.h.
6156 (pthread_rwlock_tryrdlock): Add elision unlock.
6157 * nptl/sysdeps/pthread/pthread.h:
6158 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6159 (PTHREAD_RWLOCK_INITIALIZER,
6160 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6161 Handle new elision field.
6162 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6163 * sysdeps/arm/nptl/bits/pthreadtypes.h
6164 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6165 * sysdeps/sh/nptl/bits/pthreadtypes.h
6166 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6167 * sysdeps/tile/nptl/bits/pthreadtypes.h
6168 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6169 * sysdeps/a/nptl/bits/pthreadtypes.h
6170 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6171 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6172 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6173 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6174 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6175 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6176 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6177 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6178 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6179 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6180 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6181 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6182 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6183 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6184 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6185 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6186 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6187 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6188 (elision_init): Set try_xbegin to zero when no RTM.
6189 * sysdeps/x86/nptl/bits/pthreadtypes.h
6190 (pthread_rwlock_t): Change __pad1 to __rwelision.
6191 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 6192
a832bdd3
AK
61932014-06-13 Andi Kleen <ak@linux.intel.com>
6194
6195 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6196 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6197 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6198 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6199
995a46bb
MI
62002014-06-13 Meador Inge <meadori@codesourcery.com>
6201
6202 [BZ #16996]
03ed7738 6203 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
6204 that the cached result has been set before returning it.
6205
45262aee
RM
62062014-06-12 Roland McGrath <roland@hack.frob.com>
6207
febf6cc5
RM
6208 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6209 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6210 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6211 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6212 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6213 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6214
e2682246
RM
6215 * nptl/sysdeps/sparc/Makefile: Moved ...
6216 * sysdeps/sparc/nptl/Makefile: ... here.
6217 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6218 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6219 * nptl/sysdeps/sparc/tls.h: Moved ...
6220 * sysdeps/sparc/nptl/tls.h: ... here.
6221 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6222 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6223 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6224 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6225 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6226 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6227 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6228 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6229 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6230 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6231 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6232 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6233 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6234 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6235 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6236 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6237 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6238 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6239 Update #include.
6240 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6241 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6242 Update #include.
6243 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6244 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6245 Update #include.
6246 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6247 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6248 Update #include.
6249
b0725f43
RM
6250 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6251
b14368b8
RM
6252 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6253 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6254
c5620eb3
RM
6255 * sysdeps/pthread/posix-timer.h: Include <list.h>.
6256 (struct list_links): Type removed.
6257 (struct thread_node, struct timer_node): Replace struct list_links
6258 with struct list_head.
6259 (list_unlink_ip): Likewise.
6260 * sysdeps/pthread/timer_routines.c
6261 (timer_free_list, thread_free_list, thread_active_list): Likewise.
6262 (list_append, list_insbefore): Likewise.
6263 (list_init): Function removed.
6264 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
6265 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6266 * sysdeps/pthread/Makefile: ... here, new file.
6267
6268 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6269 * sysdeps/nptl/Implies: ... here.
6270 * sysdeps/unix/sysv/linux/Implies: Add nptl.
6271 * nptl/sysdeps/pthread/list.h: Moved ...
6272 * include/list.h: ... here.
6273 * nptl/sysdeps/pthread/createthread.c: Moved ...
6274 * nptl/createthread.c: ... here.
6275 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6276 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6277 * nptl/pt-longjmp.c: ... here.
6278 * nptl/sysdeps/pthread/Makefile: Moved ...
6279 * sysdeps/nptl/Makefile: ... here.
6280 * nptl/sysdeps/pthread/Subdirs: Moved ...
6281 * sysdeps/nptl/Subdirs: ... here.
6282 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6283 * sysdeps/nptl/aio_misc.h: ... here.
6284 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6285 * sysdeps/nptl/bits/libc-lock.h: ... here.
6286 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6287 * sysdeps/nptl/bits/libc-lockP.h: ... here.
6288 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6289 * sysdeps/nptl/bits/stdio-lock.h: ... here.
6290 * nptl/sysdeps/pthread/configure: Moved ...
6291 * sysdeps/nptl/configure: ... here.
6292 * nptl/sysdeps/pthread/configure.ac: Moved ...
6293 * sysdeps/nptl/configure.ac: ... here.
6294 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6295 * sysdeps/nptl/gai_misc.h: ... here.
6296 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6297 * sysdeps/nptl/librt-cancellation.c: ... here.
6298 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6299 * sysdeps/nptl/malloc-machine.h: ... here.
6300 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6301 * sysdeps/nptl/pthread-functions.h: ... here.
6302 * nptl/sysdeps/pthread/pthread.h: Moved ...
6303 * sysdeps/nptl/pthread.h: ... here.
6304 * nptl/sysdeps/pthread/setxid.h: Moved ...
6305 * sysdeps/nptl/setxid.h: ... here.
6306 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6307 * sysdeps/nptl/sigfillset.c: ... here.
6308 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6309 * sysdeps/nptl/tcb-offsets.h: ... here.
6310 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6311 * sysdeps/nptl/tst-mqueue8x.c: ... here.
6312 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6313 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6314 * nptl/sysdeps/pthread/allocalim.h: Moved ...
6315 * sysdeps/pthread/allocalim.h: ... here.
6316 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6317 * sysdeps/pthread/bits/sigthread.h: ... here.
6318 * nptl/sysdeps/pthread/flockfile.c: Moved ...
6319 * sysdeps/pthread/flockfile.c: ... here.
6320 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6321 * sysdeps/pthread/ftrylockfile.c: ... here.
6322 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6323 * sysdeps/pthread/funlockfile.c: ... here.
6324 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6325 * sysdeps/pthread/posix-timer.h: ... here.
6326 * nptl/sysdeps/pthread/timer_create.c: Moved ...
6327 * sysdeps/pthread/timer_create.c: ... here.
6328 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6329 * sysdeps/pthread/timer_delete.c: ... here.
6330 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6331 * sysdeps/pthread/timer_getoverr.c: ... here.
6332 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6333 * sysdeps/pthread/timer_gettime.c: ... here.
6334 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6335 * sysdeps/pthread/timer_routines.c: ... here.
6336 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6337 * sysdeps/pthread/timer_settime.c: ... here.
6338 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6339 * sysdeps/pthread/tst-timer.c: ... here.
6340 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6341 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6342
e876b090
RM
6343 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6344 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6345
f6b07b3d
RM
6346 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6347 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6348 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6349 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6350 Update #include target.
6351 * nptl/sysdeps/i386/i686/Makefile: Moved ...
6352 * sysdeps/i386/i686/nptl/Makefile: ... here.
6353 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6354 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6355 Update #include target.
6356 * nptl/sysdeps/i386/i686/tls.h: Moved ...
6357 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
6358 * nptl/sysdeps/i386/Makefile: Moved ...
6359 * sysdeps/i386/nptl/Makefile: ... here.
6360 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6361 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6362 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6363 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6364 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6365 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6366 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6367 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6368 * sysdeps/i386/nptl/pthreaddef.h: ... here.
6369 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6370 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6371 * nptl/sysdeps/i386/tls.h: Moved ...
6372 * sysdeps/i386/nptl/tls.h: ... here.
6373
45262aee
RM
6374 * sysdeps/sh/Makefile [$(subdir) = csu]
6375 (gen-as-const-headers): Add tcb-offsets.sym.
6376 * nptl/sysdeps/sh/Makefile: File removed.
6377 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6378 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6379 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6380 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6381 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6382 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6383 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6384 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6385 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6386 * sysdeps/sh/nptl/pthreaddef.h: ... here.
6387 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6388 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6389 * nptl/sysdeps/sh/tls.h: Moved ...
6390 * sysdeps/sh/nptl/tls.h: ... here.
6391 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6392 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6393 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6394 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6395 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6396 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6397 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6398 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6399 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6400 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6401 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6402 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6403 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6404 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6405 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6406 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6407 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6408 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6409 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6410 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6411 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6412 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6413 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6414 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6415 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6416 Moved ...
6417 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6418 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6419 Moved ...
6420 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6421 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6422 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6423 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6424 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6425 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6426 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6427 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6428 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6429 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6430 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6431 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6432 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6433 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6434 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6435 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6436 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6437 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6438 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6439
35a5e3e3
SL
64402014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6441
6442 * posix/spawn_faction_addopen.c: Include string.h.
6443
14642b85
RM
64442014-06-11 Roland McGrath <roland@hack.frob.com>
6445
6446 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6447 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6448 * nptl/sysdeps/x86_64/Makefile: Moved ...
6449 * sysdeps/x86_64/nptl/Makefile: ... here.
6450 * nptl/sysdeps/x86_64/configure: Moved ...
6451 * sysdeps/x86_64/nptl/configure: ... here.
6452 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6453 * sysdeps/x86_64/nptl/configure.ac: ... here.
6454 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6455 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6456 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6457 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6458 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6459 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6460 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6461 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6462 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6463 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6464 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6465 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6466 * nptl/sysdeps/x86_64/tls.h: Moved ...
6467 * sysdeps/x86_64/nptl/tls.h: ... here.
6468 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6469 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6470 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6471 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6472
6473 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6474
31c44fea
AZ
64752014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6476
6477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6478
e81a4f9a
JM
64792014-06-11 Joseph Myers <joseph@codesourcery.com>
6480
6481 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6482 type.
6483 [POSIX] (off_t): Likewise.
6484 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6485 [POSIX] (S_ISBLK): Require macro.
6486 [POSIX] (S_ISCHR): Likewise.
6487 [POSIX] (S_ISDIR): Likewise.
6488 [POSIX] (S_ISFIFO): Likewise.
6489 [POSIX] (S_ISREG): Likewise.
6490 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6491 optional-macro.
6492 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6493 type.
6494 [POSIX] (time_t): Likewise.
6495 [POSIX] (timer_t): Likewise.
6496
89e435f3
FW
64972014-06-11 Florian Weimer <fweimer@redhat.com>
6498
6499 [BZ #17048]
6500 * posix/spawn_int.h (struct __spawn_action): Make the path string
6501 non-const to support deallocation.
6502 * posix/spawn_faction_addopen.c
6503 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6504 * posix/spawn_faction_destroy.c
6505 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6506 path in all spawn_do_open actions.
6507 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6508 posix_spawn_file_actions_addopen.
6509
c3a2ebe1
CM
65102014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6511
6512 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6513 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6514 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6515 conditional code always true.
6516 (__libc_vfork): New alias.
6517
9503784a
RM
65182014-06-11 Roland McGrath <roland@hack.frob.com>
6519
c9cab3d2
RM
6520 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6521 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6522
d3996c79
RM
6523 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6524
ba5ec611
RM
6525 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6526 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6527
f12b4814
RM
6528 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6529 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6530
9503784a
RM
6531 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6532 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6533
e23d3d26
VR
65342014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6535
6536 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6537 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6538 multiarch strcmp for PPC64.
6539 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6540 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6541 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6542 multiarch optimizations.
6543 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6544 (__libc_ifunc_impl_list): Likewise.
6545
42b1161e
SP
65462014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6547
6548 * benchtests/scripts/validate_benchout.py: New script.
6549 * benchtests/Makefile (bench-func): Call it.
6550 * benchtests/scripts/benchout.schema.json: New file.
6551
2d0fc4dc
CM
65522014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6553
4a594c34
AZ
6554 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6555 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6556 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6557 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6558 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6559 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6560 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6561 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6562 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6563 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6564 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6565 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6566 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6567 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6568 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6569 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 6571 Moved ...
4a594c34 6572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 6573 ... here.
4a594c34 6574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 6575 Moved ...
4a594c34
AZ
6576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 6578 Moved ...
4a594c34 6579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 6580 ... here.
4a594c34 6581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 6582 Moved ...
4a594c34 6583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 6584 ... here.
4a594c34 6585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 6586 Moved ...
4a594c34
AZ
6587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 6589 Moved ...
4a594c34 6590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 6591 ... here.
4a594c34 6592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 6593 Moved ...
4a594c34 6594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 6595 ... here.
4a594c34 6596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 6597 Moved ...
4a594c34
AZ
6598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 6600 Moved ...
4a594c34 6601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 6602 ... here.
4a594c34 6603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 6604 Moved ...
4a594c34 6605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 6606 ... here.
4a594c34 6607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 6608 Moved ...
4a594c34 6609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 6610 ... here.
4a594c34 6611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 6612 Moved ...
4a594c34
AZ
6613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 6615 Moved ...
4a594c34 6616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 6617 ... here.
4a594c34 6618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 6619 Moved ...
4a594c34 6620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 6621 ... here.
4a594c34 6622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 6623 Moved ...
4a594c34 6624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 6625 ... here.
4a594c34 6626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 6627 Moved ...
4a594c34
AZ
6628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 6630 Moved ...
4a594c34 6631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 6632 ... here.
4a594c34 6633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 6634 Moved ...
4a594c34 6635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 6636 ... here.
4a594c34 6637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 6638 Moved ...
4a594c34
AZ
6639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 6641 Moved ...
4a594c34 6642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 6643 ... here.
4a594c34 6644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 6645 Moved ...
4a594c34
AZ
6646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 6648 Moved ...
4a594c34
AZ
6649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 6651 Moved ...
4a594c34 6652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 6653 ... here.
4a594c34 6654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 6655 Moved ...
4a594c34 6656 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 6657 ... here.
4a594c34 6658 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 6659 Moved ...
4a594c34 6660 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 6661 ... here.
4a594c34 6662 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 6663 Moved ...
4a594c34
AZ
6664 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 6666 Moved ...
4a594c34 6667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 6668 ... here.
4a594c34 6669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 6670 Moved ...
4a594c34 6671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 6672 ... here.
4a594c34
AZ
6673 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6674 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6675 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6676 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6677 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 6678 Moved ...
4a594c34 6679 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 6680 ... here.
4a594c34
AZ
6681 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6682 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6683 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6684 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6685 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6686 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6687 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6688 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6689 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6690 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6691 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6692 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6693 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 6694 Moved ...
4a594c34
AZ
6695 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6696 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 6697 Moved ...
4a594c34
AZ
6698 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6699 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6700 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6701 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 6702 Moved ...
4a594c34
AZ
6703 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6704 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6705 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6706 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6707 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6708 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6709 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 6710
0570cfed
W
67112014-06-10 Wilco <wdijkstr@arm.com>
6712
6713 * math/test-fenv-return.c: New file.
6714 * math/Makefile: Add new test test-fenv-return.
6715
f8ba1b56
JM
67162014-06-10 Joseph Myers <joseph@codesourcery.com>
6717
6718 [BZ #17042]
6719 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6720 when x - 1 is zero.
6721 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6722 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6723 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6724 0.0L for an argument of 1.0L.
6725 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6726 Likewise.
6727 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6728 value when x - 1 is zero.
6729 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6730 * sysdeps/i386/fpu/libm-test-ulps: Update.
6731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6732
2c3520d9
BO
67332014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
6734
6735 [BZ #15119]
6736 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6737
acaa4d24
RM
67382014-06-09 Roland McGrath <roland@hack.frob.com>
6739
6740 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6741 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6742
962b744d
RM
67432014-06-09 Roland McGrath <roland@hack.frob.com>
6744
d752f0cc
RM
6745 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6746 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6747
34eda6d1
RM
6748 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6749 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6750
50f0a637
RM
6751 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6752 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6753
08f41f04
RM
6754 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6755 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6756
962b744d
RM
6757 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6758 if not already defined.
6759 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6760 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6761 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6762 (TLS_INIT_TP): Use it.
6763 (TLS_DEFINE_INIT_TP): New macro.
6764 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6765
09f19b05
JM
67662014-06-09 Joseph Myers <joseph@codesourcery.com>
6767
6768 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6769 constant.
6770 [POSIX] (IXANY): Likewise.
6771 [POSIX] (OLCUC): Likewise.
6772 [POSIX || POSIX2008] (CBAUD): Do not allow.
6773 [POSIX || POSIX2008] (DEFECHO): Likewise.
6774 [POSIX || POSIX2008] (ECHOCTL): Likewise.
6775 [POSIX || POSIX2008] (ECHOKE): Likewise.
6776 [POSIX || POSIX2008] (ECHOPRT): Likewise.
6777 [POSIX || POSIX2008] (EXTA): Likewise.
6778 [POSIX || POSIX2008] (EXTB): Likewise.
6779 [POSIX || POSIX2008] (FLUSHO): Likewise.
6780 [POSIX || POSIX2008] (LOBLK): Likewise.
6781 [POSIX || POSIX2008] (PENDIN): Likewise.
6782 [POSIX || POSIX2008] (SWTCH): Likewise.
6783 [POSIX || POSIX2008] (VDISCARD): Likewise.
6784 [POSIX || POSIX2008] (VDSUSP): Likewise.
6785 [POSIX || POSIX2008] (VLNEXT): Likewise.
6786 [POSIX || POSIX2008] (VREPRINT): Likewise.
6787 [POSIX || POSIX2008] (VSTATUS): Likewise.
6788 [POSIX || POSIX2008] (VWERASE): Likewise.
6789 (B*): Change to B[0123456789]*.
6790 * conform/data/time.h-data [POSIX || UNIX98]
6791 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6792 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6793 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6794 [POSIX] (tm_*): Do not allow.
6795
686554bf
JM
67962014-06-07 Joseph Myers <joseph@codesourcery.com>
6797
6798 * Makefile (install): Don't set LANGUAGE.
6799 * Makefile.in (install): Likewise.
6800 * assert/Makefile (test-assert-ENV): Remove variable.
6801 (test-assert-perr-ENV): Likewise.
6802 * elf/Makefile (neededtest4-ENV): Likewise.
6803 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6804 [$(cross-compiling) = no]: Don't set LANGUAGE.
6805 * io/ftwtest-sh (LANG): Remove variable.
6806 * libio/Makefile (tst-widetext-ENV): Likewise.
6807 * manual/install.texi (Running make install): Don't refer to
6808 environment settings for make install.
6809 * INSTALL: Regenerated.
6810 * nptl/tst-tls6.sh: Don't set LANG.
6811 * posix/globtest.sh (LANG): Remove variable.
6812 * string/Makefile (tester-ENV): Likewise.
6813 (inl-tester-ENV): Likewise.
6814 (noinl-tester-ENV): Likewise.
6815 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6816 [$(cross-compiling) = no]: Don't set LANGUAGE.
6817 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6818 without explicit environment settings.
6819
68e6b6b1
RM
68202014-06-06 Roland McGrath <roland@hack.frob.com>
6821
6822 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6823 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6824 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6825 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6826
4d3ae034
CM
68272014-06-06 Chris Metcalf <cmetcalf@tilera.com>
6828
6829 * crypt/crypt-private.h [DOS]: Add some includes taken from the
6830 other files in the crypt directory.
6831 * crypt/crypt.c: Remove duplicate includes.
6832 * crypt/crypt-entry.c: Likewise.
6833 * crypt/crypt_util.c: Likewise.
6834
8540f6d2
JM
68352014-06-06 Joseph Myers <joseph@codesourcery.com>
6836
6837 * Makeconfig (run-program-env): New variable.
6838 (run-program-prefix-before-env): Likewise.
6839 (run-program-prefix-after-env): Likewise.
6840 (run-program-prefix): Define in terms of new variables.
6841 (built-program-cmd-before-env): New variable.
6842 (built-program-cmd-after-env): Likewise.
6843 (built-program-cmd): Define in terms of new variables.
6844 (test-program-prefix-before-env): New variable.
6845 (test-program-prefix-after-env): Likewise.
6846 (test-program-prefix): Define in terms of new variables.
6847 (test-program-cmd-before-env): New variable.
6848 (test-program-cmd-after-env): Likewise.
6849 (test-program-cmd): Define in terms of new variables.
6850 * Rules (make-test-out): Use $(run-program-env).
6851 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6852 (help): Do not mention environment variables. Mention
6853 --timeoutfactor option.
6854 (timeoutfactor): New variable.
6855 (blacklist_exports): Remove function.
6856 (exports): Remove variable.
6857 (command): Do not include ${exports}.
6858 * manual/install.texi (Configuring and compiling): Do not mention
6859 test wrappers preserving environment variables. Mention that last
6860 assignment to a variable must take precedence.
6861 * INSTALL: Regenerated.
6862 * benchtests/Makefile (run-bench): Use $(run-program-env).
6863 * catgets/Makefile ($(objpfx)test1.cat): Use
6864 $(built-program-cmd-before-env), $(run-program-env) and
6865 $(built-program-cmd-after-env).
6866 ($(objpfx)test2.cat): Do not specify environment variables
6867 explicitly.
6868 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6869 $(run-program-env) and $(built-program-cmd-after-env).
6870 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6871 $(run-program-env) and $(test-program-cmd-after-env).
6872 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6873 explicitly.
6874 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6875 run_program_env and test_program_cmd_after_env arguments.
6876 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6877 * elf/tst-pathopt.sh: Use run_program_env argument.
6878 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6879 $(test-wrapper-env) and $(run-program-env).
6880 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6881 run_program_env arguments.
6882 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6883 * intl/Makefile ($(objpfx)tst-gettext.out): Use
6884 $(test-program-prefix-before-env), $(run-program-env) and
6885 $(test-program-prefix-after-env).
6886 ($(objpfx)tst-gettext2.out): Likewise.
6887 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6888 run_program_env and test_program_prefix_after_env arguments.
6889 * intl/tst-gettext2.sh: Likewise.
6890 * intl/tst-gettext4.sh: Do not set environment variables
6891 explicitly.
6892 * intl/tst-gettext6.sh: Likewise.
6893 * intl/tst-translit.sh: Likewise.
6894 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6895 $(test-program-prefix-before-env), $(run-program-env) and
6896 $(test-program-prefix-after-env).
6897 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6898 run_program_env and test_program_prefix_after_env arguments.
6899 * math/Makefile (run-regen-ulps): Use $(run-program-env).
6900 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6901 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
6902 explicitly with each use of ${test_wrapper_env}.
6903 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6904 $(test-program-prefix-before-env), $(run-program-env) and
6905 $(test-program-prefix-after-env).
6906 * posix/tst-getconf.sh: Do not set environment variables
6907 explicitly.
6908 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6909 run_program_env and test_program_prefix_after_env arguments.
6910 * stdio-common/tst-printf.sh: Do not set environment variables
6911 explicitly.
6912 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6913 $(test-program-prefix-before-env), $(run-program-env) and
6914 $(test-program-prefix-after-env).
6915 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6916 run_program_env and test_program_prefix_after_env arguments.
6917 Split $test calls into $test_pre and $test.
6918 * timezone/Makefile (build-testdata): Use
6919 $(built-program-cmd-before-env), $(run-program-env) and
6920 $(built-program-cmd-after-env).
6921
ed36bfa1
AZ
69222014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6923
6924 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6925 strlen for non SHARED builds.
6926
fc75bf46
SP
69272014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6928
6929 * nptl/allocatestack.c (check_list): Inlined function...
6930 (__reclaim_stacks): ... here.
6931
d89b3d80
OB
69322014-06-05 Ondřej Bílka <neleai@seznam.cz>
6933
6934 [BZ #15698]
6935 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6936 memory overrun.
6937
2bf18041
JM
69382014-06-05 Joseph Myers <joseph@codesourcery.com>
6939
6940 * Rules (make-test-out): Include
6941 LOCPATH=$(common-objpfx)localedata in default environment.
6942 * debug/Makefile (tst-chk1-ENV): Remove variable.
6943 (tst-chk2-ENV): Likewise.
6944 (tst-chk3-ENV): Likewise.
6945 (tst-chk4-ENV): Likewise.
6946 (tst-chk5-ENV): Likewise.
6947 (tst-chk6-ENV): Likewise.
6948 (tst-lfschk1-ENV): Likewise.
6949 (tst-lfschk2-ENV): Likewise.
6950 (tst-lfschk3-ENV): Likewise.
6951 (tst-lfschk4-ENV): Likewise.
6952 (tst-lfschk5-ENV): Likewise.
6953 (tst-lfschk6-ENV): Likewise.
6954 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6955 (tst-iconv7-ENV): Likewise.
6956 * intl/Makefile (LOCPATH-ENV): Likewise.
6957 (tst-codeset-ENV): Likewise.
6958 (tst-gettext3-ENV): Likewise.
6959 (tst-gettext5-ENV): Likewise.
6960 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6961 (tst-fopenloc-ENV): Likewise.
6962 (tst-fgetws-ENV): Remove variable.
6963 (tst-ungetwc1-ENV): Likewise.
6964 (tst-ungetwc2-ENV): Likewise.
6965 (bug-ungetwc2-ENV): Likewise.
6966 (tst-swscanf-ENV): Likewise.
6967 (bug-ftell-ENV): Likewise.
6968 (tst-fgetwc-ENV): Likewise.
6969 (tst-fseek-ENV): Likewise.
6970 (tst-ftell-partial-wide-ENV): Likewise.
6971 (tst-ftell-active-handler-ENV): Likewise.
6972 (tst-ftell-append-ENV): Likewise.
6973 * posix/Makefile (tst-fnmatch-ENV): Likewise.
6974 (tst-regexloc-ENV): Likewise.
6975 (bug-regex1-ENV): Likewise.
6976 (tst-regex-ENV): Likewise.
6977 (tst-regex2-ENV): Likewise.
6978 (bug-regex5-ENV): Likewise.
6979 (bug-regex6-ENV): Likewise.
6980 (bug-regex17-ENV): Likewise.
6981 (bug-regex18-ENV): Likewise.
6982 (bug-regex19-ENV): Likewise.
6983 (bug-regex20-ENV): Likewise.
6984 (bug-regex22-ENV): Likewise.
6985 (bug-regex23-ENV): Likewise.
6986 (bug-regex25-ENV): Likewise.
6987 (bug-regex26-ENV): Likewise.
6988 (bug-regex30-ENV): Likewise.
6989 (bug-regex32-ENV): Likewise.
6990 (bug-regex33-ENV): Likewise.
6991 (bug-regex34-ENV): Likewise.
6992 (bug-regex35-ENV): Likewise.
6993 (tst-rxspencer-ENV): Likewise.
6994 (tst-rxspencer-no-utf8-ENV): Likewise.
6995 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6996 (tst-sscanf-ENV): Likewise.
6997 (tst-swprintf-ENV): Likewise.
6998 (tst-swscanf-ENV): Likewise.
6999 (test-vfprintf-ENV): Likewise.
7000 (scanf13-ENV): Likewise.
7001 (bug14-ENV): Likewise.
7002 (tst-grouping-ENV): Likewise.
7003 * stdlib/Makefile (tst-strtod-ENV): Likewise.
7004 (tst-strtod3-ENV): Likewise.
7005 (tst-strtod4-ENV): Likewise.
7006 (tst-strtod5-ENV): Likewise.
7007 (testmb2-ENV): Likewise./
7008 * string/Makefile (tst-strxfrm-ENV): Likewise.
7009 (tst-strxfrm2-ENV): Likewise.
7010 (bug-strcoll1-ENV): Likewise.
7011 (test-strcasecmp-ENV): Likewise.
7012 (test-strncasecmp-ENV): Likewise.
7013 * time/Makefile (tst-strptime-ENV): Likewise.
7014 (tst-ftime_l-ENV): Likewise.
7015 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
7016 (tst-mbrtowc-ENV): Likewise.
7017 (tst-wcrtomb-ENV): Likewise.
7018 (tst-mbrtowc2-ENV): Likewise.
7019 (tst-c16c32-1-ENV): Likewise.
7020 (tst-mbsnrtowcs-ENV): Likewise.
7021
cd1fb604
OB
70222014-06-05 Ondřej Bílka <neleai@seznam.cz>
7023
7024 * manual/resource.texi (How to get information about the memory
7025 subsystem?): Fix typo.
7026 Reported by Peon de la Parra Ivan <peon@keba.com>
7027
b42eca7d
GY
70282014-06-03 Guo Yixuan <culu.gyx@gmail.com>
7029
7030 [BZ #16882]
7031 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
7032 (pthread_spin_lock): Branch out of spin loop to proper location.
7033 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
7034 (pthread_spin_lock): Likewise.
7035
902b71f9
DM
7036 * nptl/tst-spin4.c: New test.
7037 * nptl/Makefile (tests): Add tst-spin4.
7038
f9d2d032
AS
70392014-06-03 Andreas Schwab <schwab@suse.de>
7040
7041 [BZ #15946]
7042 * resolv/res_send.c (send_dg): Reload file descriptor after
7043 calling reopen.
7044
cf7bfd28
SL
70452014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
7046
7047 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7048
111cc714
RH
70492014-06-03 Richard Henderson <rth@redhat.com>
7050
89b4bd6b
RH
7051 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
7052 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
7053 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
7054 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
7055 in the SAVE_PID block.
7056 (__libc_vfork): New alias.
71840409 7057 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 7058
111cc714
RH
7059 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
7060 child in registers, not on the stack. Remove RESET_PID conditionals.
7061 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
7062
ccc39911
MS
70632014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
7064
7065 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7066
693096cc
W
70672014-06-03 Wilco <wdijkstr@arm.com>
7068
7069 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
7070 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
7071 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7072 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
7073 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
7074 Likewise.
7075
0b4366bc
W
70762014-06-03 Wilco <wdijkstr@arm.com>
7077
7078 * sysdeps/aarch64/fpu/math_private.h
7079 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
7080 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
7081 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
7082 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7083 Fix declarations.
7084
8747cd03
KS
70852014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7086
7087 * crypt/crypt-private.h: Include ufc-crypt.h.
7088 (__b64_from_24bit): Declare extern.
7089 * crypt/crypt_util.c(__b64_from_24bit): New function.
7090 (b64t): New static const variable.
7091 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
7092 (b64t): Remove variable.
7093 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
7094 * crypt/sha256-crypt.c: Include crypt-private.h.
7095 (b64t): Remove variable.
7096 (__sha256_crypt_r): Remove b64_from_24bit and replace
7097 with __b64_from_24bit.
7098 * crypt/sha512-crypt.c: Likewise.
7099
d936d379
RM
71002014-06-02 Roland McGrath <roland@hack.frob.com>
7101
7102 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
7103 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
7104 Label the code __libc_vfork rather than __vfork.
7105 [!NOT_IN_libc] (vfork): Define as weak alias.
7106 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
7107 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
7108 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
7109
9fa76613
SP
71102014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7111
7112 * malloc/malloc.c (malloc_info): Fix format specifier for
7113 n_mmaps.
7114
a88dadbe
W
71152014-06-02 Wilco <wdijkstr@arm.com>
7116
7117 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7118 FPCR write.
7119
c95b3011
W
71202014-06-02 Wilco <wdijkstr@arm.com>
7121
7122 [BZ #17009]
7123 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7124 Rewrite to reduce FPCR/FPSR accesses.
7125
6b4d7a90
DM
71262014-06-01 David S. Miller <davem@davemloft.net>
7127
7128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7129
30f3d07c
DM
71302014-05-31 David S. Miller <davem@davemloft.net>
7131
7132 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7133 to occur in round to nearest mode when |x| >= 2.0
7134
74f31c18
RH
71352014-05-30 Richard Henderson <rth@twiddle.net>
7136
f0712b54
RH
7137 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7138 (PSEUDO_RET_NOERRNO): Remove.
7139 (ret): Don't redefine.
7140 (ret_NOERRNO): Define in terms of ret.
7141 (ret_ERRVAL): Likewise.
7142
74f31c18
RH
7143 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7144 use of PSEUDO_RET; perform the error check directly.
7145
30477995
MM
71462014-05-30 Marko Myllynen <myllynen@redhat.com>
7147
7148 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7149 with __int128_t.
7150
62a58816
SP
71512014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7152
7153 * malloc/malloc (malloc_info): Fix formatting.
7154
4d653a59
SP
71552014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7156 Roland McGrath <roland@hack.frob.com>
7157
7158 * malloc/malloc (malloc_info): Also print mmapped statistics.
7159
5190c17f
RM
71602014-05-30 Roland McGrath <roland@hack.frob.com>
7161
7162 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7163 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7164
987c0269
OB
71652014-05-30 Ondřej Bílka <neleai@seznam.cz>
7166
7167 * malloc/malloc.c (malloc_info): Inline mi_arena.
7168
af4e8ef9
RH
71692014-05-29 Richard Henderson <rth@twiddle.net>
7170
1670e207
RH
7171 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7172 Remove comma before expanding ASM_ARGS_##nr.
7173 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7174 Make _x0 a strict output; make _x8 a strict input; adjust expansion
7175 of ASM_ARGS_##nr.
7176 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7177 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7178 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7179 (ASM_ARGS_1): Add leading comma.
7180
11a28aee
RH
7181 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7182 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7183 to __errno_location.
7184 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7185 Remove the expected plt for __errno_location.
7186
a17e5ffb 7187 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 7188 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
7189 call to __read_tp.
7190
b5be4597
RH
7191 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7192 Always allocate 64 bytes of stack frame. Use ldp/stp to create
7193 it and break it down.
7194 (DOCARGS_0, DOCARGS_1): Do nothing.
7195 (DOCARGS_2): Update to store into the new stack frame.
7196 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7197 (UNDOCARGS_1): Update to restore from the new stack frame.
7198 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7199 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7200
645d44ab
RH
7201 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7202 (SINGLE_THREAD_P): New parameter for result regno.
7203 (PSEUDO): Update to match; use cbz instead of beq.
7204
a8b4f04a
RH
7205 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7206 Use ENTRY to define the _nocancel entry point. Share the syscall
7207 and syscall error check paths with the cancel path.
7208 (PSEUDO_END): New.
7209
af4e8ef9
RH
7210 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7211 whitespace; tabs before and after asm mnemonics.
7212
26b0d2e1
EW
72132014-05-29 Eric Wong <normalperson@yhbt.net>
7214
7215 [BZ #15132]
7216 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7217 Call fstat64 or stat64 internally, depending on arguments passed.
7218 Replace stat buffer argument with file descriptor argument.
7219 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7220 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7221 Pass fd to __internal_statvfs instead of calling fstat64.
7222 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7223 Pass fd to __internal_statvfs64 instead of calling fstat64.
7224 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7225 Pass -1 to __internal_statvfs instead of calling stat64.
7226 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7227 Pass -1 to __internal_statvfs64 instead of calling stat64.
7228
1efe2bd9
RM
72292014-05-28 Roland McGrath <roland@hack.frob.com>
7230
0d3b7a19
RM
7231 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7232 that was previously under [RESET_PID].
7233 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7234
1efe2bd9
RM
7235 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7236 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7237
a6bea3ca
RM
72382014-05-27 Roland McGrath <roland@hack.frob.com>
7239
30b6629e
RM
7240 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7241
a6bea3ca
RM
7242 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7243 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7244
3dfb9a5c
OB
72452014-05-27 Ondřej Bílka <neleai@seznam.cz>
7246
7247 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7248
774f9285
AS
72492014-05-27 Andreas Schwab <schwab@suse.de>
7250
7251 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7252 TLS_INIT_TP macro.
7253 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7254 * elf/rtld.c (init_tls, dl_main): Likewise.
7255 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7256 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7257 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7258 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7259 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7260 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7261 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7262 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7263 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7264 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7265 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7266 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7267 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7268 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7269 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7270 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7271 * sysdeps/generic/tls.h: Update description.
7272
36ffe739
WN
72732014-05-27 Will Newton <will.newton@linaro.org>
7274
7275 [BZ #16990]
7276 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7277 and restore r2 rather than just restoring.
7278
2482ae43
SP
72792014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7280
7281 [BZ #16724]
7282 * libio/tst-ftell-append.c: New test case.
7283 * libio/Makefile (tests): Add test case.
7284 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7285 append mode.
7286 * libio/wfileops.c (do_ftell_wide): Likewise.
7287
3d1024e8
AZ
72882014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7289
bab90016
AZ
7290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7291
c7a8d667
AZ
7292 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7293 ...
7294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7296 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7297 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7298 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7299 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7300 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7301 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7302 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7303 Moved ...
7304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7305 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7306 Moved ...
7307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7308 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7309 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7310 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7311 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7312 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7313 ...
7314 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7315 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7316 Moved ...
7317 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7318 here.
7319 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7320 ...
7321 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7322 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7323 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7324
daee7851
AZ
7325 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7326 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7327 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7328 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7329
50a40819
AZ
7330 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7331 merge into ...
7332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7333 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7334 ...
7335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7336 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7337 ...
7338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7339 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7340 Moved ...
7341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7342 here.
7343 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7344 Moved ...
7345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7346 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7347 Moved ...
7348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7349
8464c2a1
AZ
7350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7351 conditional [RESET_PID].
7352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7353 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7354 removed.
7355 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7356 removed.
7357
3d1024e8
AZ
7358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7359 <tcb-offsets.h>.
7360 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7361 (__libc_vfork): New strong alias.
7362 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7363 removed.
7364 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7365 Removed.
7366
7367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7368 <tcb-offsets.h>.
7369 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7370 (__libc_vfork): New strong alias.
7371 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7372 removed.
7373 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7374 removed.
7375
fdfd175d
CD
73762014-05-26 Carlos O'Donell <carlos@redhat.com>
7377
7378 * malloc/malloc.c (mi_arena): New function.
7379 (malloc_info): Remove nested function mi_arena. Call non-nosted
7380 function mi_arena.
7381
d298c416
AZ
73822014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7383
7384 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7385 by insrwi.
7386 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7387 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7388 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7389 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7390 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7391 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7392 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7393
b60ea6ff
AS
73942014-05-26 Andreas Schwab <schwab@suse.de>
7395
7396 [BZ #16984]
7397 * locale/programs/repertoire.c (repertoire_read): Add slash
7398 between I18NPATH element and file name.
7399 * locale/programs/locfile.c (locfile_read): Likewise.
7400
67365926
SL
74012014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7402
7403 * nptl/pthread_mutexattr_settype.c
7404 (__pthread_mutexattr_settype):
7405 Disable lock elision for PTHREAD_MUTEX_NORMAL.
7406
f8bdf1f0
SL
74072014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7408
7409 * nptl/tst-mutex5 (do_test):
7410 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7411
15eaf6ff
SP
74122014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7413
7414 * benchtests/README: Document 'init' directive.
7415 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7416 BENCH_INIT.
7417 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7418 (parse_file): Recognize 'init' directive.
7419
75f11331
KM
74202014-05-26 Kyle McMartin <kyle@redhat.com>
7421
7422 [BZ #16796]
7423 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7424 alignment of struct pthread.
7425
c3ec475c
SP
74262014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7427
7428 [BZ #16878]
7429 * nscd/netgroupcache.c (addgetnetgrentX): Look for
7430 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7431 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7432 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7433
82aab97c
RH
74342014-05-25 Richard Henderson <rth@twiddle.net>
7435
aa2f176d
RH
7436 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7437 (SINGLE_THREAD_P_PIC): Remove.
7438 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7439 (SINGLE_THREAD_P_PIC): Remove.
7440
ca3cfa40
RH
7441 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7442 branch to syscall error ...
7443 (PSEUDO): ... here.
7444 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7445 from __local_syscall_error to .Lsyscall_error.
7446 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7447 (SYSCALL_ERROR): Update label name.
7448
6e6c2d01
RH
7449 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7450 Do not use DOARGS/UNDOARGS.
7451 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7452 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7453 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7454 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7455 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7456
c69abcee
RH
7457 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7458 block comment.
7459
82aab97c
RH
7460 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7461 define if !NOT_IN_libc.
7462 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7463 define with non-default symbol versions.
7464
8820e3ac
RH
74652014-05-23 Richard Henderson <rth@twiddle.net>
7466
900e445f
RH
7467 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7468 (vfork, __vfork): Define via compat_symbol.
7469
8820e3ac
RH
7470 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7471 [!HAVE_IFUNC] (vfork_compat): Remove.
7472 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7473
e59252a5
JM
74742014-05-23 Joseph Myers <joseph@codesourcery.com>
7475
7476 [BZ #16978]
7477 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7478 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7479 variable.
7480
132c7f5f
RH
74812014-05-23 Richard Henderson <rth@twiddle.net>
7482
bc89e962
RH
7483 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7484 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7485 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7486 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7487
7488 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7489 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7490 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7491 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7492 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7493 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7494 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7495 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7496 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7497 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7498 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7499 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7500 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7501 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7502 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7503 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7504 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7505 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7506 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7507 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7508 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7509 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7510 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7511 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7512 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7513 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7514 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7515 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7516 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7517 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7518 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7519 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7520 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7521 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7522 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7523 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7524 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7525 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7526 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7527 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7528 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7529 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7530 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7531 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7532 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7533 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7534 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7535 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7536 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7537 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7538 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7539 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7540 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7541 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7542 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7543 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7544
e2fa4bc2
RH
7545 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7546 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7547 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7548 before exiting on error.
7549 (__libc_vfork): New strong alias.
7550 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7551 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7552
279b24e2
RH
7553 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7554 that was previously under [RESET_PID].
7555 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7556
132c7f5f
RH
7557 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7558
b72592e7
JM
75592014-05-23 Joseph Myers <joseph@codesourcery.com>
7560
7561 [BZ #16977]
7562 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7563 value when x - 1 is zero.
7564 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7565 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7566 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7567 0.0L for an argument of 1.0L.
7568 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7569 Likewise.
7570 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7571 value when x - 1 is zero.
7572 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7573 * sysdeps/i386/fpu/libm-test-ulps: Update.
7574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7575
2302d679
RV
75762014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7577
7578 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7579 alphasort and versionsort.
7580
32999d63
AZ
75812014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7582
7583 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7584 macro.
7585 [copysignf]: Likewise.
7586
019324d0
SP
75872014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7588
7589 * crypt/md5-crypt.c: Fix formatting.
7590
34fff5c2
KS
75912014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7592
7593 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7594 (b64_from_24bit): New function.
7595
3d2badac
AZ
75962014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7597
7598 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7599 libc_hidden_builtin_def to ifunc.
7600 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7601 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7602
f7bb179f 76032014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
7604
7605 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7606 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7607
4134b50d
JM
76082014-05-21 Joseph Myers <joseph@codesourcery.com>
7609
bb7d0337
JM
7610 * nscd/Depend (linuxthreads): Remove.
7611 (nptl): Add.
7612 * resolv/Depend (linuxthreads): Remove.
7613 * rt/Depend (linuxthreads): Remove.
7614
4134b50d
JM
7615 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7616 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7617 $(common-objpfx)elf/.
7618 (link-libc-before-gnulib): Likewise.
7619 (elfobjdir): Remove variable.
7620 * Makefile (install): Use $(elf-objpfx) instead of
7621 $(common-objpfx)elf/.
7622 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7623 $(elfobjdir)/.
7624 (link-libc-deps): Likewise.
7625 ($(common-objpfx)libc.so): Likewise.
7626 ($(common-objpfx)linkobj/libc.so): Likewise.
7627 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7628 instead of $(common-objpfx)elf/.
7629 (symbolic-link-list): Likewise.
7630 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7631 [$(cross-compiling) = no]: Likewise.
7632 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7633 $(elfobjdir)/.
7634 (static-gnulib-arch): Likewise.
7635 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7636 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7637 $(common-objpfx)elf/.
7638
3612eb8f
RH
76392014-05-21 Richard Henderson <rth@redhat.com>
7640
a6b3657b
RH
7641 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7642 (SINGLE_THREAD_P): Use the correct width load. Fold
7643 into the ldr offset.
7644
3612eb8f
RH
7645 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7646 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7647
175cef41
JM
76482014-05-20 Joseph Myers <joseph@codesourcery.com>
7649
7650 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7651 (libgcc_s_resume): Use __attribute_used__.
7652 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7653 Likewise.
7654
e13bccd3
AZ
76552014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7656
7657 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7658 optimization when used with float constants.
7659
7c112a38
AZ
7660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7661
ae75a883
AJ
76622014-05-20 Aurelien Jarno <aurelien@aurel32.net>
7663
7664 [BZ #16915]
7665 * locale/nl_langinfo_l.c: Make direct reference to every
7666 _nl_current_CATEGORY symbol.
7667 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7668 (tests-static): Add tst-langinfo-static.
7669 (tests-special): Add tst-langinfo-static.out.
7670 ($(objpfx)tst-langinfo.out): Redirect output.
7671 ($(objpfx)tst-langinfo-static.out): New.
7672 * localedata/tst-langinfo.sh: Send output to stdout.
7673 * localedata/tst-langinfo-static.c: New file.
7674
4406c41c
AJ
7675 [BZ #16965]
7676 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7677 when the shift amount is modulo the limb size.
7678
4c0a1e63
RH
76792014-05-20 Richard Henderson <rth@redhat.com>
7680
de9d8f20
RH
7681 [BZ #16967]
7682 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7683 Change type of sa_flags from unsigned int to int.
7684
4c0a1e63
RH
7685 [BZ #16966]
7686 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
7687
7688 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7689
a60339aa
WN
76902014-05-20 Will Newton <will.newton@linaro.org>
7691
7692 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7693 Test the return value of the system call in the nocancel case.
7694
7d05a816
YR
76952014-05-20 Will Newton <will.newton@linaro.org>
7696 Yvan Roux <yvan.roux@linaro.org>
7697
7698 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7699 #include of asm/ptrace.h.
7700 (PTRACE_GET_THREAD_AREA): Remove #undef.
7701 (PTRACE_GETHBPREGS): Likewise.
7702 (PTRACE_SETHBPREGS): Likewise.
7703 (struct user_regs_struct): New structure.
7704 (struct user_fpsimd_struct): New structure.
7705 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7706 #include of asm/ptrace.h and second #include of sys/user.h.
7707 (PTRACE_GET_THREAD_AREA): Remove #undef.
7708 (PTRACE_GETHBPREGS): Likewise.
7709 (PTRACE_SETHBPREGS): Likewise.
7710 (ELF_NGREG): Use new struct user_regs_struct.
7711 (elf_fpregset_t): Use new struct user_fpsimd_struct.
7712
af121e37
AZ
77132014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7714
7715 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7716 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7717
834caf06
JM
77182014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7719
7720 [BZ #16958]
7721 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7722 membar to avoid block loads/stores to overlap previous stores.
7723
e184a918
RH
77242014-05-17 Richard Henderson <rth@redhat.com>
7725
7726 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7727 Create the __##syscall_name##_nocancel entry point.
7728 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7729 Remove; let the sysdep-cancel.h code create it.
7730
f56c7a6a
DM
77312014-05-17 David S. Miller <davem@davemloft.net>
7732
7733 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7734 Protect with __USE_GNU.
7735 (TIOCSET_TEMPT): Likewise.
7736 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7737 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7738 these are already provided in bits/ioctl-types.h
7739
f75616b2
RM
77402014-05-16 Roland McGrath <roland@hack.frob.com>
7741
3edeca86
RM
7742 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7743 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7744
f75616b2
RM
7745 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7746 Use wait4 regardless of [__NR_waitpid].
7747
deb0f7f6
MR
77482014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7749
7750 PR libgcc/60166
7751 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7752 (_FP_NANSIGN_Q): Set the quiet bit.
7753
79520f4b
JM
77542014-05-16 Joseph Myers <joseph@codesourcery.com>
7755
7756 * benchtests/Makefile
7757 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7758 not $(common-objpfx)math/libm.so.
7759 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7760 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7761 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7762 $(common-objpfx)dlfcn/libdl.so.
7763 ($(objpfx)tst-audit8): Depend on $(libm), not
7764 $(common-objpfx)math/libm.so.
7765 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7766 not $(common-objpfx)dlfcn/libdl.so.
7767 * math/Makefile
7768 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7769 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
7770 [$(build-shared) = yes].
7771 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7772 $(common-objpfx)nptl/libpthread.so.
7773 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7774 $(common-objpfx)math/libm.so$(libm.so-version) or
7775 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7776 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7777 $(common-objpfx)dlfcn/libdl.so.
7778 * setjmp/Makefile (link-libm): Remove variable.
7779 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7780 * stdio-common/Makefile (link-libm): Remove variable.
7781 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7782 * stdlib/Makefile (link-libm): Remove variable.
7783 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7784 ($(objpfx)tst-strtod-round): Likewise.
7785 ($(objpfx)tst-tininess): Likewise.
7786 ($(objpfx)tst-strtod-underflow): Likewise.
7787 ($(objpfx)tst-strtod6): Likewise.
7788 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7789 $(libdl), not $(common-objpfx)nptl/libpthread.so and
7790 $(common-objpfx)dlfcn/libdl.so.
7791
026b0fe4
AZ
77922014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7793
7794 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7795 BSD terminal modes definitions.
7796
def4bcb2
RM
77972014-05-16 Roland McGrath <roland@hack.frob.com>
7798
fe39b021
RM
7799 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7800 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7801
1d1fc46e 7802 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
7803 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7804 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7805 Don't do #include_next.
7806 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7807 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7808 Don't do #include_next.
7809 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7810 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7811 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7812 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7813
c72399fb
AM
78142014-05-16 Allan McRae <allan@archlinux.org>
7815
d51d659d
AM
7816 * po/sv.po: Update Swedish translation from translation project.
7817
c72399fb
AM
7818 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7819 in sed expression.
7820
d0583c40
AJ
78212014-05-16 Aurelien Jarno <aurelien@aurel32.net>
7822
7823 [BZ #16917]
7824 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7825 errno if the TIOCGPTN ioctl fails with an error different than
7826 EINVAL.
7827 * login/tst-ptsname.c: New file.
7828 * login/Makefile (tests): Add tst-ptsname.
7829
d16e6ec7
AJ
7830 [BZ #16943]
7831 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7832 and prlimit64.
7833
cf26a0cb
SP
78342014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7835
7836 [BZ #16849]
7837 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7838 herrno to return EAI_AGAIN.
7839
5675da1e
RM
78402014-05-14 Roland McGrath <roland@hack.frob.com>
7841
a5d87b3d
RM
7842 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7843 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7844 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7845 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7846 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7847 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7848 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7849 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7850 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7851 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7852 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7853 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7854 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7855 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7856 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7857 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7858 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7859 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7860 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7861 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7862 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7863 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7864 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7865 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7866 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7867 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7868 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7869 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7870 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7871 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7873 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7874 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7875 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7877 Moved ...
7878 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7879 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7880 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7881 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7882 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7884 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7885 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7886 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7887 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7888 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7889 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7890 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7891 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7892 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7893 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7894 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7895 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7896 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7897 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7898 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7899 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7900 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7902 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7904 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7906 Moved ...
7907 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7909 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7911 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7913 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7915 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7917 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7919 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7921 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7923 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7925 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7927 Moved ...
7928 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7930 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7931
039890a6
RM
7932 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7933 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7934 (libpthread-sysdep_routines): Add elision-related stuff here instead.
7935 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7936 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7937 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7938 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7939 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7940 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7941 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7942 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7943 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7944 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7945 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7946 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7947 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7948 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7949 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7950 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7951 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7952 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7953 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7954 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7955 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7956 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7957 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7958 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7959 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7960 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7961 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7962 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7963
65c89320
RM
7964 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7965 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7966
348f8e8c
RM
7967 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7968 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7969 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7970 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7971 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7972 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7973 Moved ...
7974 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
7975 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7976 Moved ...
7977 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
7978 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7979 Moved ...
7980 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
7981 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
7982 Moved ...
7983 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
7984 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
7985 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
7986 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7987 Moved ...
7988 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
7989 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
7990 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
7991 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7992 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7993 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7994 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7995 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7996 Moved ...
7997 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7998 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7999 Moved ...
8000 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8001 ... here.
8002 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
8003 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
8004 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
8005 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
8006 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8007 Moved ...
8008 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8009 ... here.
8010 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
8011 Moved ...
8012 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
8013 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
8014 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
8015 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
8016 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
8017 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
8018 Moved ...
8019 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
8020 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8021 Moved ...
8022 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
8023 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8024 Moved ...
8025 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
8026 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
8027 Moved ...
8028 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
8029 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
8030 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
8031 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
8032 Moved ...
8033 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
8034 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
8035 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
8036 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
8037 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
8038 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
8039 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
8040 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8041 Moved ...
8042 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
8043 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8044 Moved ...
8045 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8046 ... here.
8047 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
8048 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
8049 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
8050 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
8051 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8052 Moved ...
8053 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8054 ... here.
8055 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
8056 Moved ...
8057 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
8058 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
8059 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
8060 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
8061 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
8062 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
8063 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
8064 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
8065 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
8066 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
8067 Moved ...
8068 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
8069 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8070 Moved ...
8071 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
8072 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8073 Moved ...
8074 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
8075 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
8076 Moved ...
8077 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
8078 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
8079 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
8080 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
8081 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
8082 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8083 Moved ...
8084 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
8085 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
8086 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
8087 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
8088 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
8089 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
8090 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
8091 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8092 Moved ...
8093 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
8094 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8095 Moved ...
8096 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8097 ... here.
8098 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
8099 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
8100 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
8101 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
8102 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8103 Moved ...
8104 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8105 ... here.
8106 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
8107 Moved ...
8108 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
8109 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
8110 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
8111 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
8112 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
8113 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
8114 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
8115 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
8116 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
8117 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
8118 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8119
5085af05
RM
8120 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8121 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8122
708f0813
RM
8123 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8124 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8125
c96067bc
RM
8126 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8127 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8128 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8129 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8130 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8131 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8132 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8133 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8134 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8135 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8136 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8137 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8138 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8139 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8140 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8141 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8142 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8143 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8144 Moved ...
8145 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8146 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8147 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8148 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8149 Moved ...
8150 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8151 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8152 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8153 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8154 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8155 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8156 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8157 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8158 Moved ...
8159 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8160 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8161 Moved ...
8162 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8163 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8164 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8165 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8166 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8167 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8168 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8169 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8170 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8171 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8172 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8173 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8174 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8175 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8176 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8177 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8178 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8179
ec136444
RM
8180 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8181 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8182 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8183 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8184 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8185
2fbdf533
RM
8186 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8187 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8188 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8189 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8190 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8191 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8192 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8193 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8194 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8195 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8196
4c68138b
RM
8197 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8198 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8199
4eaae765
RM
8200 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8201 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
8202 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8203 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8204 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8205 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8206 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8207 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8208 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8209 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8210 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8211 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8212 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8213 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8214 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8215 Update #include.
8216 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8217 Likewise.
8218 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8219 Likewise.
8220 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8221 Likewise.
8222 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8223 Likewise.
8224 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8225 Likewise.
8226 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8227 Likewise.
8228 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8229 Likewise.
8230 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8231 Likewise.
8232 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8233 Likewise.
4ef6befa
RM
8234 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8235 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8236 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8237 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8238 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
8239 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8240 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8241 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8242 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8243 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8244 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8245 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8246 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8247 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
8248 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 8249
941d7dfd
RM
8250 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8251 that was previously under [RESET_PID].
8252 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8253 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8254 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8255
1b731c35
RM
8256 * sysdeps/i386/nptl/Implies: New file.
8257 * sysdeps/x86_64/nptl/Implies: New file.
8258 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8259 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8260 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8261 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8262
e2787137
RM
8263 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8264 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8265 (__libc_vfork): New strong alias.
8266 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8267 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8268
8269 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8270 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8271 (__libc_vfork): New strong alias.
8272 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8273 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8274
5675da1e
RM
8275 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8276 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8277 (__libc_vfork): New strong alias.
8278 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8279 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8280 * nptl/pt-vfork.c: New file.
8281 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8282 (libpthread: GLIBC_2.20): New version set (empty).
8283
4f02e2b8
WN
82842014-05-14 Will Newton <will.newton@linaro.org>
8285
8286 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8287 rather than #if.
8288
0bf061d3
JM
82892014-05-14 Joseph Myers <joseph@codesourcery.com>
8290
1a84c3d6
JM
8291 [BZ #16564]
8292 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8293 arguments with exponent 65 or above.
8294 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8295 arguments 0x1p113L or above.
8296 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8297 to arguments 0x1p107L or above.
8298 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8299 positive arguments with exponent 65 or above.
8300 * math/auto-libm-test-in: Add more tests of log1p.
8301 * math/auto-libm-test-out: Regenerated.
8302
01dbacd2
JM
8303 [BZ #16928]
8304 * math/s_cacos.c (__cacos): Ensure zero real part of result from
8305 non-finite arguments is +0.
8306 * math/s_cacosf.c (__cacosf): Likewise.
8307 * math/s_cacosl.c (__cacosl): Likewise.
8308 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8309 * sysdeps/i386/fpu/libm-test-ulps: Update.
8310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8311
913d03c8
JM
8312 [BZ #16927]
8313 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8314 value.
8315 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8316 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8317 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8318 for explicit high bit of mantissa when testing for argument equal
8319 to 1.
8320 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8321 * sysdeps/i386/fpu/libm-test-ulps: Update.
8322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8323
0bf061d3
JM
8324 [BZ #16516]
8325 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8326 (__erf): Scale by 16 instead of 8 in potentially underflowing
8327 case. Ensure exception if result actually underflows.
8328 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8329 (__erff): Scale by 16 instead of 8 in potentially underflowing
8330 case. Ensure exception if result actually underflows.
8331 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8332 (efx8): Remove variable.
8333 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8334 case. Ensure exception if result actually underflows.
8335 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8336 (efx8): Remove variable.
8337 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8338 case. Ensure exception if result actually underflows.
8339 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8340 (efx8): Remove variable.
8341 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8342 case. Ensure exception if result actually underflows.
8343 * math/auto-libm-test-in: Add more tests of erf.
8344 * math/auto-libm-test-out: Regenerated.
8345
73ba67cb
AS
83462014-05-14 Andreas Schwab <schwab@suse.de>
8347
3d8c8bff
AS
8348 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8349 Remove code conditionalized on USE___THREAD.
8350
73ba67cb
AS
8351 * config.h.in (HAVE_PT_CHOWN): Define as 0.
8352 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8353 not definedness.
8354
5c521ecd
JM
83552014-05-14 Joseph Myers <joseph@codesourcery.com>
8356
5e7698c6
JM
8357 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8358 Define unconditionally.
8359 (__ASSUME_O_CLOEXEC): Likewise.
8360 (__ASSUME_SOCK_CLOEXEC): Likewise.
8361 (__ASSUME_IN_NONBLOCK): Likewise.
8362 (__ASSUME_PIPE2): Likewise.
8363 (__ASSUME_EVENTFD2): Likewise.
8364 (__ASSUME_SIGNALFD4): Likewise.
8365 (__ASSUME_DUP3): Likewise.
8366 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8367 (__ASSUME_DUP3): Do not define.
8368 (__ASSUME_EVENTFD2): Likewise.
8369 (__ASSUME_IN_NONBLOCK): Likewise.
8370 (__ASSUME_O_CLOEXEC): Likewise.
8371 (__ASSUME_PIPE2): Likewise.
8372 (__ASSUME_SIGNALFD4): Likewise.
8373 (__ASSUME_SOCK_CLOEXEC): Likewise.
8374 (__ASSUME_UTIMES): Undefine.
8375 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8376 (__ASSUME_UTIMES): Do not define.
8377 (__ASSUME_O_CLOEXEC): Likewise.
8378 (__ASSUME_SOCK_CLOEXEC): Likewise.
8379 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8380 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8381 0x020621].
8382 (__ASSUME_PIPE2): Likewise.
8383 (__ASSUME_EVENTFD2): Likewise.
8384 (__ASSUME_SIGNALFD4): Likewise.
8385 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8386 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8387 Do not define.
8388 (__ASSUME_EVENTFD2): Likewise.
8389 (__ASSUME_SIGNALFD4): Likewise.
8390 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8391 (__ASSUME_32BITUIDS): Likewise.
8392 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8393 (__ASSUME_IPC64): Likewise.
8394 (__ASSUME_ST_INO_64_BIT): Likewise.
8395 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8396 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8397 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8398 (__ASSUME_UTIMES): Do not define.
8399 (__ASSUME_PSELECT): Likewise.
8400 (__ASSUME_PPOLL): Likewise.
8401 (__ASSUME_O_CLOEXEC): Likewise.
8402 (__ASSUME_SOCK_CLOEXEC): Likewise.
8403 (__ASSUME_IN_NONBLOCK): Likewise.
8404 (__ASSUME_PIPE2): Likewise.
8405 (__ASSUME_EVENTFD2): Likewise.
8406 (__ASSUME_SIGNALFD4): Likewise.
8407 (__ASSUME_DUP3): Likewise.
8408 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8409 (__ASSUME_UTIMES): Likewise.
8410 (__ASSUME_O_CLOEXEC): Likewise.
8411 (__ASSUME_SOCK_CLOEXEC): Likewise.
8412 (__ASSUME_IN_NONBLOCK): Likewise.
8413 (__ASSUME_PIPE2): Likewise.
8414 (__ASSUME_EVENTFD2): Likewise.
8415 (__ASSUME_SIGNALFD4): Likewise.
8416 (__ASSUME_DUP3): Likewise.
8417 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8418 (__ASSUME_UTIMES): Likewise.
8419 (__ASSUME_O_CLOEXEC): Likewise.
8420 (__ASSUME_SOCK_CLOEXEC): Likewise.
8421 (__ASSUME_IN_NONBLOCK): Likewise.
8422 (__ASSUME_PIPE2): Likewise.
8423 (__ASSUME_EVENTFD2): Likewise.
8424 (__ASSUME_SIGNALFD4): Likewise.
8425 (__ASSUME_DUP3): Likewise.
8426 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8427 Likewise.
8428 (__ASSUME_UTIMES): Likewise.
8429 (__ASSUME_EVENTFD2): Likewise.
8430 (__ASSUME_SIGNALFD4): Likewise.
8431 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8432 (__ASSUME_O_CLOEXEC): Likewise.
8433 (__ASSUME_SOCK_CLOEXEC): Likewise.
8434 (__ASSUME_IN_NONBLOCK): Likewise.
8435 (__ASSUME_PIPE2): Likewise.
8436 (__ASSUME_EVENTFD2): Likewise.
8437 (__ASSUME_SIGNALFD4): Likewise.
8438 (__ASSUME_DUP3): Likewise.
8439 (__ASSUME_UTIMES): Undefine.
8440
5c521ecd
JM
8441 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8442 feclearexcept. Remove symbol versioning code.
8443 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8444 symbol versioning code.
8445 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8446 symbol versioning code.
8447 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8448 feupdateenv. Remove symbol versioning code.
8449 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8450 fegetexceptflag. Remove symbol versioning code.
8451 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8452 fesetexceptflag. Remove symbol versioning code.
8453 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8454 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8455 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8456 (__posix_fadvise64_l32): Remove prototype.
8457 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8458 code.
8459
5da9dfad
RM
84602014-05-13 Roland McGrath <roland@hack.frob.com>
8461
8462 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8463 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8464 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8465 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8466
893b4f37
SK
84672014-05-13 Sami Kerola <kerolasa@iki.fi>
8468
8469 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8470 current working directory
8471
e0db6517
RM
84722014-05-13 Roland McGrath <roland@hack.frob.com>
8473
58aa195d
RM
8474 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8475 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8476 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8477 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8478 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8479 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8480 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8481 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8482 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8483 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8484 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8485 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8486 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8487 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8488 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8489 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8490 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8491 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8492 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8493 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8494 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8495 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8496 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8497 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8498 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8499 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8500 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8501 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8502 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8503 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8504 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8505 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8506 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8507 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8508 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8509 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8510 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8511 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8512 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8513 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8514 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8515 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8516
8c6d01f0
RM
8517 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8518 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8519
8520 * sysdeps/unix/sysv/linux/arm/Makefile
8521 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8522 Add rt-aeabi_unwind_cpp_pr1.
8523 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8524 Add nptl-aeabi_unwind_cpp_pr1.
8525 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8526 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8527 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8528 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8529 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8530 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8531
8532 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8533 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8534 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8535 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8536
bba6da4e
RM
8537 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8538 Deconditionalize the code that was previously under [RESET_PID].
8539 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8540
e0db6517
RM
8541 * sysdeps/generic/exit-thread.h: New file.
8542 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8543 * include/unistd.h (__exit_thread): Remove declaration.
8544 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8545 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8546 * csu/libc-start.c: Include <exit-thread.h>.
8547 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8548 * nptl/pthread_create.c: Include <exit-thread.h>.
8549 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8550 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8551 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8552 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8553 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8554 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8555 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8556 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8557 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8558 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8559 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8560 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8561 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8562 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8563 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8564 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8565 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8566
01eb16fd
AS
85672014-05-13 Andreas Schwab <schwab@suse.de>
8568
8569 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8570
637461d9
JM
85712014-05-12 Joseph Myers <joseph@codesourcery.com>
8572
8573 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8574 (__ASSUME_UTIMES): Do not condition on kernel version.
8575 (__ASSUME_PSELECT): Define unconditionally.
8576 (__ASSUME_PPOLL): Likewise.
8577 (__ASSUME_ATFCTS): Likewise.
8578 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8579 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8580 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8581 (__ASSUME_UTIMENSAT): Define unconditionally.
8582 (__ASSUME_PRIVATE_FUTEX): Likewise.
8583 (__ASSUME_FALLOCATE): Likewise.
8584 (__ASSUME_O_CLOEXEC): Likewise.
8585 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8586 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8587 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8588 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8589 (__ASSUME_IN_NONBLOCK): Likewise.
8590 (__ASSUME_PIPE2): Likewise.
8591 (__ASSUME_EVENTFD2): Likewise.
8592 (__ASSUME_SIGNALFD4): Likewise.
8593 (__ASSUME_DUP3): Likewise.
8594 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8595 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8596 (__ASSUME_AT_RANDOM): Likewise.
8597 (__ASSUME_PREADV): Likewise.
8598 (__ASSUME_PWRITEV): Likewise.
8599 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8600 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8601 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8602 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8603 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8604 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8605 (__ASSUME_O_CLOEXEC): Define unconditionally.
8606 (__ASSUME_PSELECT): Do not undefine conditionally.
8607 (__ASSUME_PPOLL): Likewise.
8608 (__ASSUME_ATFCTS): Likewise.
8609 (__ASSUME_SET_ROBUST_LIST): Likewise.
8610 (__ASSUME_UTIMENSAT): Likewise.
8611 (__ASSUME_FDATASYNC): Define unconditionally.
8612 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8613 (__ASSUME_SIGFRAME_V2): Likewise.
8614 )__ASSUME_EVENTFD2): Likewise.
8615 (__ASSUME_SIGNALFD4): Likewise.
8616 (__ASSUME_PSELECT): Do not undefine conditionally.
8617 (__ASSUME_PPOLL): Likewise.
8618 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8619 (__ASSUME_PSELECT): Define unconditionally.
8620 (__ASSUME_PPOLL): Likewise.
8621 (__ASSUME_O_CLOEXEC): Likewise.
8622 (__ASSUME_SOCK_CLOEXEC): Likewise.
8623 (__ASSUME_IN_NONBLOCK): Likewise.
8624 (__ASSUME_PIPE2): Likewise.
8625 (__ASSUME_EVENTFD2): Likewise.
8626 (__ASSUME_SIGNALFD4): Likewise.
8627 (__ASSUME_DUP3): Likewise.
8628 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8629 (__ASSUME_O_CLOEXEC): Likewise.
8630 (__ASSUME_SOCK_CLOEXEC): Likewise.
8631 (__ASSUME_IN_NONBLOCK): Likewise.
8632 (__ASSUME_PIPE2): Likewise.
8633 (__ASSUME_EVENTFD2): Likewise.
8634 (__ASSUME_SIGNALFD4): Likewise.
8635 (__ASSUME_DUP3): Likewise.
8636 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8637 (__ASSUME_EVENTFD2): Likewise.
8638 (__ASSUME_SIGNALFD4): Likewise.
8639 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8640
315eb1d8
AS
86412014-05-12 Andreas Schwab <schwab@suse.de>
8642
8643 [BZ #16932]
8644 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8645 (_nss_nis_gethostbyname4_r): Return error if item length is larger
8646 than maximum RPC packet size.
8647 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8648 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8649 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8650 (_nss_nis_getservbyport_r): Likewise.
8651
91df99f7
WN
86522014-05-12 Will Newton <will.newton@linaro.org>
8653
8654 * malloc/Makefile (tests): Add tst-mallopt.
8655 * malloc/tst-mallopt.c: New file.
8656
0a982a29
RM
86572014-05-09 Roland McGrath <roland@hack.frob.com>
8658
8659 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8660 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8661
0ded08a5
AZ
86622014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8663
8664 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8665 (tst-tlsmod6.so): Likewise.
8666
55d4d550
RM
86672014-05-09 Roland McGrath <roland@hack.frob.com>
8668
8669 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8670
77d08aca
JM
86712014-05-09 Joseph Myers <joseph@codesourcery.com>
8672
8673 [BZ #16064]
8674 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8675 and <dl-procinfo.h>.
8676 (__fegetenv): Save SSE state in envp->__eip if supported.
8677 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8678 envp->__eip if supported.
8679 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8680 and <dl-procinfo.h>.
8681 (__fesetenv): Always set __eip, __cs_selector, __opcode,
8682 __data_offset and __data_selector in environment to 0. Set SSE
8683 state if supported.
8684 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8685 test-fenv-sse.
8686 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8687 -mfpmath=sse.
8688 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8689
28162f4d
WN
86902014-05-09 Will Newton <will.newton@linaro.org>
8691
8692 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8693 and libc_relro_required for ARM.
8694 * sysdeps/arm/preconfigure: Regenerate.
8695
5a414ff7
DV
86962014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
8697 Stefan Liebler <stli@linux.vnet.ibm.com>
8698
8699 * config.make.in (enable-lock-elision): New Makefile variable.
8700 * configure.ac: Likewise.
8701 * configure: Regenerate.
8702 * sysdeps/s390/configure.ac:
8703 Add check for gcc transactions support.
8704 * sysdeps/s390/configure: Regenerate.
8705 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8706 Build elision files if enabled.
8707 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8708 Add lock elision support for s390.
8709 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8710 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8711 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8712 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8713 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8714 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8715 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8716 Likewise.
8717 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8718 Likewise.
8719 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8720 Likewise.
8721 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8722 Likewise.
8723 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8724 (__lll_timedlock_elision, __lll_lock_elision)
8725 (__lll_unlock_elision, __lll_trylock_elision)
8726 (lll_timedlock_elision, lll_lock_elision)
8727 (lll_unlock_elision, lll_trylock_elision): Add.
8728 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8729 (pthread_mutex_t): Add lock elision support for s390.
8730
1a2f40e5
W
87312014-05-14 Wilco <wdijkstr@arm.com>
8732
8733 * sysdeps/arm/fclrexcpt.c: Cleanup.
8734 * sysdeps/arm/fedisblxcpt.c: Cleanup.
8735 * sysdeps/arm/feenablxcpt.c: Cleanup.
8736 * sysdeps/arm/fegetenv.c: Cleanup.
8737 * sysdeps/arm/fegetexcept.c: Cleanup.
8738 * sysdeps/arm/fegetround.c: Cleanup.
8739 * sysdeps/arm/feholdexcpt.c: Cleanup.
8740 * sysdeps/arm/fesetenv.c: Cleanup.
8741 * sysdeps/arm/fesetround.c: Cleanup.
8742 * sysdeps/arm/feupdateenv.c: Cleanup.
8743 * sysdeps/arm/fgetexcptflg.c: Cleanup.
8744 * sysdeps/arm/fraiseexcpt.c: Cleanup.
8745 * sysdeps/arm/fsetexcptflg.c: Cleanup.
8746 * sysdeps/arm/ftestexcept.c: Cleanup.
8747 * sysdeps/arm/get-rounding-mode.h: Cleanup.
8748 * sysdeps/arm/setfpucw.c: Cleanup.
8749
f63c86fe
WN
87502014-05-09 Will Newton <will.newton@linaro.org>
8751
8752 * sysdeps/arm/armv7/strcmp.S: New file.
8753 * NEWS: Mention addition of ARMv7 optimized strcmp.
8754
7a1a51b5
RM
87552014-05-08 Roland McGrath <roland@hack.frob.com>
8756
95afbbe5
RM
8757 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8758 look for %.ac rather than %.in.
8759
8760 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8761 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8762 * sysdeps/mach/hurd/configure: Regenerated.
8763 * sysdeps/unix/sysv/linux/configure: Regenerated.
8764
7a1a51b5
RM
8765 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8766
5057ad3b
SE
87672014-05-07 Steve Ellcey <sellcey@mips.com>
8768
8769 [BZ# 16922]
8770 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8771 (LONG_SUB): Ditto.
8772 (PTR_SUB): Ditto.
8773
8dc97517
AS
87742014-05-07 Andreas Schwab <schwab@suse.de>
8775
8776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8777 when skipping over non-matching result from nscd.
8778
ce0c5b8f
OB
87792014-05-07 Ondřej Bílka <neleai@seznam.cz>
8780
8781 [BZ #16876]
8782 * nptl/sockperf.c (client): Check socket return value.
8dc97517 8783
a1189263
OB
8784 [BZ #16877]
8785 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8786 nscd security class.
ce0c5b8f 8787
0f58d252
RM
87882014-05-06 Roland McGrath <roland@hack.frob.com>
8789
8790 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8791 * sysdeps/arm/unwind.h: ... here.
8792
83df9ad0
AJ
87932014-05-06 Aurelien Jarno <aurelien@aurel32.net>
8794
ce0c5b8f
OB
8795 [BZ# 16916]
8796 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8797 Define.
83df9ad0 8798
f360f94a
VR
87992014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8800
8801 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8802 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8803 multiarch strncpy for PPC64.
8804 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8805 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8806 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8807 multiarch optimizations.
8808 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8809 (__libc_ifunc_impl_list): Likewise.
8810 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8811 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8812 multiarch stpncpy for PPC64.
8813 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8814 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8815
978a41c3
AS
88162014-05-06 Andreas Schwab <schwab@suse.de>
8817
8818 [BZ #16912]
8819 * gmon/mcount.c (_MCOUNT_DECL): Use
8820 atomic_compare_and_exchange_bool_acq instead of
8821 catomic_compare_and_exchange_bool_acq.
8822
eb1ed03d
RM
88232014-05-05 Roland McGrath <roland@hack.frob.com>
8824
fe658845
RM
8825 * elf/Makefile (others, install-bin): Remove pldd.
8826 (pldd-modules): Variable removed.
8827 ($(objpfx)pldd): Target removed.
8828 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8829 (others, install-bin): Append pldd here.
8830 ($(objpfx)pldd): New target.
8831
eb1ed03d
RM
8832 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8833 to 0, so the first #if test emitted later doesn't see it undefined.
8834 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8835 * sysdeps/gnu/errlist.c: Regenerated.
8836
19c4bec0
AZ
88372014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8838
8839 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8840 [libc_hidden_builtin_def]: Define to empty value.
8841 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8842 [libc_hidden_builtin_def]: Likewise.
8843 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8844 [libc_hidden_builtin_def]: Likewise.
8845 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8846 [libc_hidden_builtin_def]: Likewise.
8847 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8848 __redirect_memcpy and define ifunc as default hidden symbol.
8849 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8850 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8851
7776e669
AC
88522014-05-04 Adam Conrad <adconrad@0c3.net>
8853
8854 * locale/iso-4217.def: Reintroduce XDR currency.
8855
d69aeb12
AM
88562014-05-04 Allan McRae <allan@archlinux.org>
8857
8858 * po/eo.po: Update Esperanto translation from translation project.
8859
8f1df5cf
CD
88602014-05-02 Carlos O'Donell <carlos@redhat.com>
8861
8862 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8863 and FEATURE_INDEX_MAX to 1.
8864 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8865
13e402e7
SE
88662014-05-01 Steve Ellcey <sellcey@mips.com>
8867
8868 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8869 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8870 * iconvdata/big5.c (ONE_DIRECTION): Define.
8871 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8872 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8873 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8874 * iconvdata/cp932.c (ONE_DIRECTION): Define.
8875 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8876 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8877 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8878 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8879 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8880 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8881 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8882 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8883 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8884 * iconvdata/gbk.c (ONE_DIRECTION): Define.
8885 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8886 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8887 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8888 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8889 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8890 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8891 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8892 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8893 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8894 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8895 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8896 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8897 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8898 * iconvdata/iso646.c (ONE_DIRECTION): Define.
8899 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8900 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8901 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8902 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8903 * iconvdata/johab.c (ONE_DIRECTION): Define.
8904 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8905 * iconvdata/sjis.c (ONE_DIRECTION): Define.
8906 * iconvdata/t.61.c (ONE_DIRECTION): Define.
8907 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8908 * iconvdata/tscii.c (ONE_DIRECTION): Define.
8909 * iconvdata/uhc.c (ONE_DIRECTION): Define.
8910 * iconvdata/unicode.c (ONE_DIRECTION): Define.
8911 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8912 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8913 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8914
c727f032
RM
89152014-05-01 Roland McGrath <roland@hack.frob.com>
8916
8f2f08d0
RM
8917 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8918 (_IO_JUMPS_OFFSET): Define to 0.
8919
c727f032
RM
8920 * nptl/sysdeps/pthread/bits/libc-lock.h
8921 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8922 (__libc_lock_define_initialized_recursive): Always define using
8923 initializer. Modern compilers treat uninitialized (implicit zero) and
8924 explicit zero initializers the same (i.e. put the datum in bss).
8925
a849e800
AS
89262014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8927
8928 * nscd/nscd-client.h: Include <string.h>.
8929
5331255b
DM
89302014-05-01 David S. Miller <davem@davemloft.net>
8931
8932 [BZ #16885]
8933 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8934 multiple zero bytes exist at the end of a string.
8935 Reported by Aurelien Jarno <aurelien@aurel32.net>
8936
8937 * string/test-strcmp.c (check): Add explicit test for situations where
8938 there are multiple zero bytes after the first.
8939
4fdfe821
AS
89402014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8941
8942 [BZ #16890]
8943 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8944 when compiling wprintf.
8945 * stdio-common/tstdiomisc.c (t3): New function.
8946 (main): Call it.
8947
0cdddc25
SE
89482014-05-01 Steve Ellcey <sellcey@mips.com>
8949
8950 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8951 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8952 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8953 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8954
6426d77e
SE
89552014-05-01 Steve Ellcey <sellcey@mips.com>
8956
8957 * stdlib/longlong.h: Updated from GCC.
8958
6d96f5e4
WN
89592014-05-01 Will Newton <will.newton@linaro.org>
8960 Bernard Ogden <bernie.ogden@linaro.org>
8961
7470db0c
WN
8962 * NEWS: Update fixed bug list.
8963
6d96f5e4
WN
8964 [BZ #15119]
8965 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8966
211d653c
DM
89672014-04-30 David S. Miller <davem@davemloft.net>
8968
4fa262fa
DM
8969 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8970 (libc_feholdexcept_setround_sparc_ctx): New function.
8971 (libc_fesetenv_sparc_ctx): Likewise.
8972 (libc_feupdateenv_sparc_ctx): Likewise.
8973 (libc_feholdsetround_sparc_ctx): Likewise.
8974 (libc_feholdexcept_setround_ctx): Define.
8975 (libc_feholdexcept_setroundf_ctx): Likewise.
8976 (libc_feholdexcept_setroundl_ctx): Likewise.
8977 (libc_fesetenv_ctx): Likewise.
8978 (libc_fesetenvf_ctx): Likewise.
8979 (libc_fesetenvl_ctx): Likewise.
8980 (libc_feupdateenv_ctx): Likewise.
8981 (libc_feupdateenvf_ctx): Likewise.
8982 (libc_feupdateenvl_ctx): Likewise.
8983 (libc_feresetround_ctx): Likewise.
8984 (libc_feresetroundf_ctx): Likewise.
8985 (libc_feresetroundl_ctx): Likewise.
8986 (libc_feholdsetround_ctx): Likewise.
8987 (libc_feholdsetroundf_ctx): Likewise.
8988 (libc_feholdsetroundl_ctx): Likewise.
8989
1d3d93ef
DM
8990 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8991 with __USE_GNU instead of XOPEN cpp guards.
8992
8aa583c3
DM
8993 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8994 0.
8995
211d653c
DM
8996 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8997 with XOPEN cpp guards.
8998
60c8f1f6
JB
89992014-04-30 Julian Brown <julian@codesourcery.com>
9000
9001 [BZ #16888]
9002 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
9003 handling.
9004
9a461d46
JM
90052014-04-30 Joseph Myers <joseph@codesourcery.com>
9006
d0f5b3f8
JM
9007 [BZ #9894]
9008 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9009 Change to 2.6.32.
9010 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
9011 * sysdeps/unix/sysv/linux/configure: Regenerated.
9012 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
9013 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
9014 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
9015 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
9016 * README: Update reference to required Linux kernel version.
9017 * manual/install.texi (Linux): Update reference to required Linux
9018 kernel headers version.
9019 * INSTALL: Regenerated.
9020
9a461d46
JM
9021 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
9022 header inclusion.
9023 [POSIX] (limits.h): Likewise.
9024 [POSIX] (math.h): Likewise.
9025 [POSIX] (sys/wait.h): Likewise.
9026 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
9027 function.
9028 [POSIX] (stddef.h): Do not allow header inclusion.
9029
1775babf
AZ
90302014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9031
57f41c40 9032 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 9033
8f630cca
YY
90342014-04-30 Yang Yingliang <yangyingliang@huawei.com>
9035
9036 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9037 Return immediately after lll_futex_wake.
9038
1cdeb237
SP
90392014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9040
bc8f194c
SP
9041 [BZ #16791]
9042 * nscd/nscd-client.h (datahead_init_common): Initialize entire
9043 structure.
9044 (datahead_init_pos): Call datahead_init_common early.
9045 (datahead_init_neg): Likewise.
9046
1cdeb237
SP
9047 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
9048 datahead_init_neg): New functions.
9049 * nscd/aicache.c (addhstaiX): Use them.
9050 * nscd/grpcache.c (cache_addgr): Likewise.
9051 * nscd/hstcache.c (cache_addhst): Likewise.
9052 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9053 * nscd/netgroupcache.c (do_notfound): Likewise.
9054 (addgetnetgrentX): Likewise.
9055 (addinnetgrX): Likewise.
9056 * nscd/pwdcache.c (cache_addpw): Likewise.
9057 * nscd/servicescache.c (cache_addserv): Likewise.
9058
16b293a7
SP
90592014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9060 Atsushi Onoe <atsushi@onoe.org>
9061
9062 [BZ #14308]
9063 [BZ #12994]
9064 [BZ #13651]
9065 * resolv/res_query.c (__libc_res_nsearch): Return if at least
9066 one response is valid.
9067 * resolv/res_send.c (send_dg): Check for validity of other
9068 response if the current response is a referral.
9069
a28a9b94
SE
90702014-04-29 Steve Ellcey <sellcey@mips.com>
9071
9072 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
9073
2ca180e9
SL
90742014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
9075
9076 [BZ #16823]
9077 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
9078 Always divide by positive zero when computing -Inf result.
9079 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9080 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9081
18f2945a
AZ
90822014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9083
9084 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
9085 FPSCR if value do not change.
9086 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9087 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
9088 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9089 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9090 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
9091 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
9092 function.
9093
5abebba4
CD
90942014-05-29 Carlos O'Donell <carlos@systemhalted.org>
9095
9096 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
9097 * sysdeps/unix/sysv/linux/hppa: Move directory from
9098 ports/systeps/unix/sysv/linux/hppa.
9099 * README: Update listing for hppa-*-linux-gnu.
9100
f7ed60c2
OB
91012014-04-28 Ondřej Bílka <neleai@seznam.cz>
9102
fff763a5
OB
9103 [BZ #16754]
9104 * manual/stdio.texi (Hook functions): Fix types of stream hook
9105 functions.
f7ed60c2
OB
9106 [BZ #16854]
9107 * socket/sys/socket.h: Fix typo in comment.
9108
df639d73
WD
91092014-04-28 Wilco <wdijkstr@arm.com>
9110
f7ed60c2 9111 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
9112 * sysdeps/arm/math_private.h: New file.
9113 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
9114
48332d82
L
91152014-04-25 H.J. Lu <hongjiu.lu@intel.com>
9116
9117 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
9118 with __int128_t.
9119 (La_x86_64_retval): Likewise.
9120
e5e0d9a4
IB
91212014-04-24 Ian Bolton <ian.bolton@arm.com>
9122
9123 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9124 fpsr if value didn't change.
9125 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9126 to fpcr if value didn't change.
9127 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9128 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9129 fpsr or fpcr if value didn't change.
9130 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9131 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9132 fpcr if value didn't change.
9133 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9134 to fpsr if value didn't change.
9135
bacc75f7
SP
91362014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9137
9138 * nptl/tst-sem3.c: Use test-skeleton.c
9139 (main): Rename to do_test. Use return instead of
9140 exit.
9141 * nptl/tst-sem4.c: Use test-skeleton.c
9142 (main): Rename to do_test.
9143
a059d359
DM
91442014-04-22 David S. Miller <davem@davemloft.net>
9145
9146 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9147 (struct sigaction): New struct member __glibc_reserved0, change
9148 type of sa_flags to int.
9149
ea6c92f3
YZ
91502014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
9151
9152 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9153 (COUNT_LEADING_ZEROS_0): Define for AArch64.
9154
766c4a36
SP
91552014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9156
9157 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9158 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9159
140cc7ab
VK
91602014-04-22 Will Newton <will.newton@linaro.org>
9161 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
9162
9163 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9164 (__longjmp): Add longjmp and longjmp_target SystemTap
9165 probes.
9166 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9167 (__sigsetjmp): Add setjmp SystemTap probe.
9168
c54e5cf7
CD
91692014-04-17 Carlos O'Donell <carlos@redhat.com>
9170
9171 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9172 match manual order.
9173
75ffb047
AZ
91742014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9175
9176 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9177
2cd925f7
AZ
9178 * sysdeps/powerpc/fpu/fenv_private.h
9179 (libc_feholdexcept_setroundl_ctx): Define to
9180 libc_feholdexcept_setround_ppc_ctx.
9181 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9182 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9183 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9184 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9185
39e6cd8d
IB
91862014-04-17 Ian Bolton <ian.bolton@arm.com>
9187
9188 * sysdeps/aarch64/math-tests.h: New file.
9189
f9281df9
SY
91902014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
9191
9192 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9193 New.
9194 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9195 Check and set bit_AVX2_Usable.
9196 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9197 macro.
9198 (bit_AVX2): Likewise.
9199 (index_AVX2_Usable): Likewise.
9200 (CPUID_AVX2): Likewise.
9201 (HAS_AVX2): Likewise.
9202
37d35007
WN
92032014-04-17 Will Newton <will.newton@linaro.org>
9204
7c677662
WN
9205 * manual/setjmp.texi (System V contexts): Add note that
9206 calling setcontext on a context created by a call to a
9207 signal handler is undefined. Update text to note that
9208 setcontext from a signal handler is possible but not
9209 recommended.
9210
37d35007 9211 [BZ #16629]
e04a4e9d
WN
9212 * stdlib/tst-setcontext.c: Include signal.h.
9213 (main): Check that the signal stack before and
9214 after swapcontext is the same.
9215
37d35007
WN
9216 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9217 Re-implement to restore registers in user code and avoid
9218 rt_sigreturn system call.
9219
423a7160
W
92202014-04-17 Wilco <wdijkstr@arm.com>
9221
9222 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9223 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9224 * math/test-fenv.c: Skip exception trap tests on targets which only
9225 support non-stop mode.
9226
bc93ab29
IB
92272014-04-17 Ian Bolton <ian.bolton@arm.com>
9228 Wilco Dijkstra <wilco.dijkstra@arm.com>
9229
9230 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9231 (libc_feholdsetround_aarch64_ctx)
9232 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9233 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9234 (libc_feresetround_ctx, libc_feresetroundf_ctx)
9235 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9236 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9237 (libc_feresetround_noexl_ctx): Define.
9238
95fc5fa3
RH
92392014-04-16 Richard Henderson <rth@redhat.com>
9240
ddb04724
RH
9241 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9242
d77c0899
RH
9243 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9244 unwind tables.
9245
a3df56fc
RH
9246 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9247 const from the non-libc, non-ldso copy.
9248
95fc5fa3
RH
9249 * sysdeps/alpha/libm-test-ulps: Regenerate.
9250
7e0b6763
IB
92512014-04-16 Ian Bolton <ian.bolton@arm.com>
9252 Wilco Dijkstra <wilco.dijkstra@arm.com>
9253
9254 * sysdeps/aarch64/fpu/math_private.h: New file.
9255
a9ea2e0c
MS
92562014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
9257
9258 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9259
ea8ba7cd
IZ
92602014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
9261
7e54fd04 9262 [BZ #16275]
ea8ba7cd
IZ
9263 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9264 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9265 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9266 Intel MPX bound registers before _dl_profile_fixup.
9267 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9268 registers after _dl_profile_fixup. Save and restore bound
9269 registers bnd0/bnd1 when calling _dl_call_pltexit.
9270 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9271 (LR_BND_OFFSET): Likewise.
9272 (LRV_BND0_OFFSET): Likewise.
9273 (LRV_BND1_OFFSET): Likewise.
9274
9f2a4fbc
ST
92752014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9276
9277 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9278 to...
9279 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
9280 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9281 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9282 fields.
9f2a4fbc 9283
fd15a59b
ST
92842014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9285
9286 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9287
f19dfa0a
SL
92882014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9289
9290 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9291
4fa8bc3b
SL
92922014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9293
9294 [BZ #14770]
9295 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9296 * sysdeps/s390/configure: Regenerate.
9297
8ea587db
SL
9298 [BZ #16824]
9299 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9300 Set round-to-nearest internally to reduce error accumulation.
9301
aa5f0ff1
AM
93022014-04-16 Alan Modra <amodra@gmail.com>
9303
9304 [BZ #16740]
9305 [BZ #16619]
9306 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9307 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 9308 * NEWS: Update fixed bug list.
aa5f0ff1 9309
bb9c256f
SP
93102014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9311
9312 * benchtests/Makefile: Depend on libraries in build directory.
9313 (bench-math): Separate out math tests.
9314 (bench-pthread): Separate out pthread tests.
9315 (bench): Include math and pthread tests.
9316
f737dfd0
CD
93172014-04-14 Carlos O'Donell <carlos@redhat.com>
9318
9319 [BZ #16831]
9320 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9321 _dl_debug_initialize.
9322
0699f766
CD
9323 * configure.ac: Remove SELinux header check.
9324 * configure: Regenerate.
9325 * nscd/selinux.c (perms): Array of const char* to permission names.
9326 (nscd_request_avc_has_perm): Call security_deny_unknown to find
9327 default policy. Call string_to_security_class and string_to_av_perm to
9328 translate strings. Enforce default policy and call avs_has_perm with
9329 results of translated strings.
9330
809bd45f
DM
93312014-04-13 David S. Miller <davem@davemloft.net>
9332
9333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9334
89e691f2
AM
93352014-04-12 Allan McRae <allan@archlinux.org>
9336
9337 [BZ #16838]
9338 * manual/string.texi (Collation Functions): Fix qsort argument
9339 order in example.
9340 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9341
9c9daaeb
CM
93422014-04-11 Chris Metcalf <cmetcalf@tilera.com>
9343
9344 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9345 Make the test a no-op if there are no exceptions defined.
9346
95561fb9
PP
93472014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9348
fe8d072c 9349 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
9350 enable-hardcoded-path-in-tests
9351
970c602a
WN
93522014-04-11 Will Newton <will.newton@linaro.org>
9353
9354 * benchtests/Makefile (extra-objs): Add json-lib.o.
9355 (bench-func): Tidy up JSON output.
9356 * benchtests/bench-skeleton.c: Include json-lib.h.
9357 (main): Use JSON library functions to do output of
9358 benchmark results.
9359 * benchtests/bench-timing-type.c (main): Output the
9360 timing type simply, leaving formatting to the user.
9361 * benchtests/json-lib.c: New file.
9362 * benchtests/json-lib.h: Likewise.
9363
36875b06
TR
93642014-04-11 Torvald Riegel <triegel@redhat.com>
9365
9366 [BZ #15215]
9367 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9368 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
9369 memory barriers. Add comments.
9370 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9371 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9372 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9373 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9374 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9375 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9376
579db35a
SL
93772014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9378
9379 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9380 * sysdeps/s390/s390-64/configure.ac: ... this ...
9381 * sysdeps/s390/configure.ac: ... to here.
9382 * sysdeps/s390/s390-32/configure: Delete file.
9383 * sysdeps/s390/s390-64/configure: Delete file.
9384 * sysdeps/s390/configure: Regenerate.
9385
c12e9f37
JAPH
93862014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
9387
9388 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9389
439bda32
WN
93902014-04-11 Will Newton <will.newton@linaro.org>
9391
9392 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9393 to zero if it is not defined elsewhere. (mtrim): Test
9394 the value of MALLOC_DEBUG with #if rather than #ifdef.
9395
6a5d6ea1
TR
93962014-04-10 Torvald Riegel <triegel@redhat.com>
9397
9398 * benchtests/pthread_once-inputs: New file.
9399 * benchtests/pthread_once-source.c: New file.
9400 * benchtests/README: Update documentation.
9401
a4c75cfd
IZ
94022014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
9403 H.J. Lu <hongjiu.lu@intel.com>
9404
7e54fd04 9405 [BZ #16275]
a4c75cfd
IZ
9406 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9407 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9408 * sysdeps/x86_64/configure: Regenerated.
9409 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9410 macro.
9411 (REGISTER_SAVE_RAX): Likewise.
9412 (REGISTER_SAVE_RCX): Likewise.
9413 (REGISTER_SAVE_RDX): Likewise.
9414 (REGISTER_SAVE_RSI): Likewise.
9415 (REGISTER_SAVE_RDI): Likewise.
9416 (REGISTER_SAVE_R8): Likewise.
9417 (REGISTER_SAVE_R9): Likewise.
9418 (REGISTER_SAVE_BND0): Likewise.
9419 (REGISTER_SAVE_BND1): Likewise.
9420 (REGISTER_SAVE_BND2): Likewise.
9421 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
9422 bound registers when calling _dl_fixup.
9423
27822ce6
AZ
94242014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9425
9426 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
9427 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9428 of its definition.
27822ce6
AZ
9429 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9430 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9431 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9432 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9433 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9434 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9435 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9436
a88ddc90
PTB
94372014-04-09 Peter Brett <peter@peter-b.co.uk>
9438
9439 [BZ #15514]
9440 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9441 pathconf(_PC_NAME_MAX).
9442
01f8eac2
AZ
94432014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9444
9445 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9446 Remove macro usage.
9447 (__PTHREAD_SPINS): Move definition to ...
9448 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9449 (__PTHREAD_SPINS): ... here.
9450 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9451 (__PTHREAD_SPIN): Likewise.
9452 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9453 (__PTHREAD_SPIN): Likewise.
9454 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9455 (__PTHREAD_SPIN): Likewise.
9456 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9457 (__PTHREAD_SPIN): Likewise.
9458 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9459 (__PTHREAD_SPIN): Likewise.
9460 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9461 (__PTHREAD_SPIN): Likewise.
9462 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9463 (__PTHREAD_SPIN): Likewise.
9464 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9465 (__PTHREAD_SPIN): Likewise.
9466 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9467 (__PTHREAD_SPIN): Likewise.
9468 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9469 (__PTHREAD_SPIN): Likewise.
9470 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9471 (__PTHREAD_SPIN): Likewise.
9472 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9473 (__PTHREAD_SPIN): Likewise.
9474
de21c33c
AZ
9475 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9476 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9477 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9478 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9479 imply folder.
9480 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9481 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9482 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9483 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9484 correct imply path.
9485 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9486 strlen symbol for non multi-arch builds.
9487 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9488 missing hidden_def and weak_alias.
9489
862c472e
CD
94902014-04-08 Carlos O'Donell <carlos@redhat.com>
9491
9492 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9493
8667f90e
WN
94942014-04-07 Will Newton <will.newton@linaro.org>
9495
9496 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9497 and contents. [!_LIBC] Remove #ifndef and contents.
9498 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9499 * string/memccpy.c (__memccpy): Use ANSI prototype.
9500 * string/memfrob.c (memfrob): Likewise.
9501 * string/strcoll.c (STRCOLL): Likewise.
9502 * string/strlen.c (strlen): Likewise.
9503 * string/strtok.c (STRTOK): Likewise.
9504 * string/strcat.c: Remove unused #include of memcopy.h.
9505 (strcat): Use ANSI prototype.
9506 * string/strchr.c: Remove unused #include of memcopy.h.
9507 (strchr): Use ANSI prototype.
9508 * string/strcmp.c: Remove unused #include of memcopy.h.
9509 (strcmp): Use ANSI prototype.
9510 * string/strcpy.c: Remove unused #include of memcopy.h.
9511 (strcpy): Use ANSI prototype.
9512
7ffa9423
AZ
95132014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9514
9515 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9516 * config.make.in (config-extra-cppflags): Set it from
9517 libc_extra_cppflags.
9518 * configure.ac (libc_extra_cflags): Make it accumulate over
9519 configure fragments.
9520 (libc_extra_cppflags): New flag.
9521 * configure. Regenerate.
9522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
9523 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9524 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
9525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9526
8bd70862
AZ
9527 [BZ #16815]
9528 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9529 result for FE_DOWNWARD rounding mode.
9530 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9531 Likewise.
9532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9533
d42f3448
CM
95342014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9535
9536 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9537 in function argument name.
9538
1c21d115
DS
95392014-04-03 David Svoboda <svoboda@cert.org>
9540
9541 [BZ #5666]
9542 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9543 explicitly.
9544
fcccd512
RM
95452014-04-03 Roland McGrath <roland@hack.frob.com>
9546
9547 * elf/dl-unmap-segments.h: New file.
9548 * sysdeps/generic/ldsodefs.h
9549 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9550 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9551 * elf/dl-fptr.c: Likewise.
9552 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9553 * sysdeps/aarch64/tlsdesc.c: Likewise.
9554 * sysdeps/arm/tlsdesc.c: Likewise.
9555 * sysdeps/i386/tlsdesc.c: Likewise.
9556 * sysdeps/tile/dl-runtime.c: Likewise.
9557 * sysdeps/x86_64/tlsdesc.c: Likewise.
9558 * elf/dl-load.h: New file.
9559 * elf/dl-load.c: Include it.
9560 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9561 Macros moved to dl-load.h.
9562 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9563 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9564 Use _dl_unmap_segments in place of __munmap.
9565 Break out segment-mapping loop into ...
9566 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9567
f6488e2b
WN
95682014-04-03 Will Newton <will.newton@linaro.org>
9569
9570 * elf/dl-lookup.c (do_lookup_x): Remove comment
9571 referring to nested function and move variable
9572 declarations down to before first use.
9573
6f05bafe
JM
95742014-04-02 Joseph Myers <joseph@codesourcery.com>
9575
a84e78c8
JM
9576 [BZ #16799]
9577 [BZ #16800]
9578 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9579 with 0 numerator.
9580 * math/s_catanf.c (__catanf): Likewise.
9581 * math/s_catanh.c (__catanh): Likewise.
9582 * math/s_catanhf.c (__catanhf): Likewise.
9583 * math/s_catanhl.c (__catanhl): Likewise.
9584 * math/s_catanl.c (__catanl): Likewise.
9585 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9586 by positive zero when computing -Inf result.
9587 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9588 (catanh_test): Likewise.
9589 * sysdeps/i386/fpu/libm-test-ulps: Update.
9590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9591
6f05bafe
JM
9592 [BZ #16789]
9593 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9594 instead of using underflowing value in computing result.
9595 * math/s_clog10.c (__clog10): Likewise.
9596 * math/s_clog10f.c (__clog10f): Likewise.
9597 * math/s_clog10l.c (__clog10l): Likewise.
9598 * math/s_clogf.c (__clogf): Likewise.
9599 * math/s_clogl.c (__clogl): Likewise.
9600 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9601 (clog10_test): Likewise.
9602 * sysdeps/i386/fpu/libm-test-ulps: Update.
9603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9604
b0abbc21
AM
96052014-04-02 Alan Modra <amodra@gmail.com>
9606
9607 [BZ #16739]
9608 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9609 output when value is near a power of two. Use int64_t for lx and
9610 remove casts. Use decimal rather than hex exponent constants.
9611 Don't use long double multiplication when double will suffice.
9612 * math/libm-test.inc (nextafter_test_data): Add tests.
9613 * NEWS: Add 16739 and 16786 to bug list.
9614
af6b1797
AM
9615 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9616
483818d7
AM
9617 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9618
f6c55796
WN
96192014-04-01 Will Newton <will.newton@linaro.org>
9620
9621 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9622 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
9623
13f7fe35
FW
96242014-04-01 Florian Weimer <fweimer@redhat.com>
9625
9626 [BZ #13347]
9627 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9628 * nptl/tst-setuid2.c: New file.
9629 * nptl/Makefile (xtests): Add tst-setuid2.
9630
c859b32e
AM
96312014-04-01 Alan Modra <amodra@gmail.com>
9632
9633 [BZ #16786]
9634 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9635
54fa2475
JM
96362014-03-31 Joseph Myers <joseph@codesourcery.com>
9637
8795b4a4
JM
9638 [BZ #6803]
9639 [BZ #6804]
9640 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9641 set errno as appropriate.
9642 * math/w_scalbf.c (__scalbf): Likewise.
9643 * math/w_scalbl.c (__scalbl): Likewise.
9644 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9645 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9646 * math/libm-test.inc (scalb_test_data): Add errno expectations.
9647 Add more NaN tests.
9648
54fa2475
JM
9649 [BZ #16349]
9650 * math/w_atan2.c: Include <errno.h>.
9651 (__atan2): Set errno for result underflowing to zero.
9652 * math/w_atan2f.c: Include <errno.h>.
9653 (__atan2f): Set errno for result underflowing to zero.
9654 * math/w_atan2l.c: Include <errno.h>.
9655 (__atan2l): Set errno for result underflowing to zero.
9656 * math/auto-libm-test-in: Don't allow missing errno for some atan2
9657 tests.
9658 * math/auto-libm-test-out: Regenerated.
9659
757d9dd5
AZ
96602014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9661
9662 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9663 Encode instruction correctly in little endian.
9664 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9665 Likewise.
9666 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9667 Likewise.
9668 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9669 Likewise.
9670 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9671 Likewise.
9672
d7a68734
JM
96732014-03-31 Joseph Myers <joseph@codesourcery.com>
9674
47c5adeb
JM
9675 [BZ #9894]
9676 * sysdeps/unix/sysv/linux/kernel-features.h
9677 [__sparc__ && !__arch64__ && !__sparc_v9__]
9678 (__ASSUME_SET_ROBUST_LIST): Do not define.
9679 [__sparc__ && !__arch64__ && !__sparc_v9__]
9680 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9681 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9682 Likewise.
9683 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9684 (__ASSUME_FUTEX_LOCK_PI): Undefine.
9685 (__ASSUME_REQUEUE_PI): Likewise.
9686 (__ASSUME_SET_ROBUST_LIST): Likewise.
9687 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9688 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9689 Undefine.
9690 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9691 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9692 Likewise.
9693 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9694 Likewise.
9695 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9696 Likewise.
9697 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9698 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9699 Undefine.
9700 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9701 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9702 Likewise.
9703
d7a68734
JM
9704 [BZ #16648]
9705 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9706 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9707 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9708
c760f5c2
WN
97092014-03-31 Will Newton <will.newton@linaro.org>
9710
9711 * benchtests/Makefile (bench): Add ffs and ffsll to list
9712 of tests.
9713 * benchtests/ffs-inputs: New file.
9714 * benchtests/ffsll-inputs: Likewise.
9715
ea6029b1
JM
97162014-03-29 Joseph Myers <joseph@codesourcery.com>
9717
9718 [BZ #16770]
9719 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9720 too large before casting to int.
9721 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9722 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9723 * math/libm-test.inc (scalb_test_data): Add more tests.
9724
cf806aff
SP
97252014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9726
56737508
SP
9727 * benchtests/Makefile (DETAILED_OPT): New make option.
9728 (bench-func): Run benchmark program with -d if DETAILED_OPT is
9729 set.
9730 * benchtests/bench-skeleton.c: Include stdbool.h.
9731 (main): Store and print timings per input.
9732 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9733 member to each argument value.
9734 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9735 (_print_arg_data): Initialize per-input timing to 0.
9736
cb5e4aad
SP
9737 * benchtests/Makefile (timing-type): New binary.
9738 (bench-clean): Also remove bench-timing-type.
9739 (bench): New target for timing-type.
9740 (bench-func): Print output in JSON format.
9741 * benchtests/bench-skeleton.c (main): Print output in JSON
9742 format.
9743 * benchtests/bench-timing-type.c: New file.
9744 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9745 (TIMING_PRINT_STATS): Remove.
9746 * benchtests/scripts/bench.py (_print_arg_data): Store variant
9747 name separately.
9748
cf806aff
SP
9749 * benchtests/bench-modf.c: Remove.
9750 * benchtests/modf-inputs: New inputs file.
9751
289e0779
JM
97522014-03-28 Joseph Myers <joseph@codesourcery.com>
9753
9754 [BZ #16362]
9755 * math/s_clog10.c (M_PI_LOG10E): New macro.
9756 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9757 imaginary parts are 0.
9758 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9759 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9760 imaginary parts are 0.
9761 * math/s_clog10l.c (M_PI_LOG10El): New macro.
9762 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9763 imaginary parts are 0.
9764 * math/libm-test.inc (clog10_test_data): Update expected results
9765 for when real and imaginary parts are 0.
9766
277ae3f1
PP
97672014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
9768
9769 * elf/dl-load.c: Finish conversion of __builtin_expect into
9770 __glibc_{un}likely.
9771
03a7091f
JM
97722014-03-27 Joseph Myers <joseph@codesourcery.com>
9773
9774 [BZ #16348]
9775 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9776 1+x for argument with exponent below -67.
9777 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9778 Likewise.
9779 * math/auto-libm-test-in: Add more tests of exp.
9780 * math/auto-libm-test-out: Regenerated.
9781
ea7d8b95
SP
97822014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9783
dd3022d7
SP
9784 [BZ #16759]
9785 * inet/getnetgrent_r.c (get_nonempty_val): New function.
9786 (nscd_getnetgrent): Use it.
9787
ea7d8b95
SP
9788 [BZ #16760]
9789 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9790 of stpcpy.
9791
df5b85da
AK
97922014-03-27 Andi Kleen <ak@linux.intel.com>
9793
57f41c40
AS
9794 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9795 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9796 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9797 (lll_robust_unlock): Remove out of line section. Use cfi
9798 intrinsics.
df5b85da 9799 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
9800 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9801 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9802 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9803 (lll_robust_unlock): Remove out of line section. Use cfi
9804 intrinsics.
df5b85da
AK
9805 (LLL_STUB_UNWIND_INFO*): Remove.
9806
fbd6b5a4
SP
98072014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9808
9809 [BZ #16758]
9810 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9811 blank values.
9812
1b26b855
PP
98132014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
9814
9815 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9816
9be36fb8
JM
98172014-03-26 Joseph Myers <joseph@codesourcery.com>
9818
9819 [BZ #16198]
9820 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9821 fnstenv.
9822 * math/test-fenv-preserve.c: New file.
9823 * math/Makefile (tests): Add test-fenv-preserve.
9824
60a2f3c1
WN
98252014-03-26 Will Newton <will.newton@linaro.org>
9826
9827 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9828
a5e5f1e2
RM
98292014-03-25 Roland McGrath <roland@hack.frob.com>
9830
9831 * scripts/versionlist.awk: Partition the version sets and emit all
9832 GLIBC_* (sorted) before all others (sorted).
9833
00f4012a
JM
98342014-03-25 Joseph Myers <joseph@codesourcery.com>
9835
9836 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9837 GLIBC_2.2.5 version.
9838
7bc5a741
AZ
98392014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9840
9841 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9842 calls.
9843
7578473b
AZ
9844 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9845 previous change.
9846
f3f1dab3
AZ
9847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9848
6da36183
AS
98492014-03-25 Andreas Schwab <schwab@suse.de>
9850
9851 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9852 label to be used after in6ailist is initialized.
9853
f3f1dab3 98542014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 9855
7578473b 9856 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
9857 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9858
046651c1
JM
98592014-03-25 Joseph Myers <joseph@codesourcery.com>
9860
9861 [BZ #16357]
9862 [BZ #16599]
9863 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9864 min_plus_half.
9865 (fp_formats): Update initializers.
9866 (init_fp_formats): Initialize new field.
9867 (output_for_one_input_case): Allow underflow for results up to
9868 min_plus_half.
9869 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9870 * math/auto-libm-test-in: Don't mark some underflows from asin and
9871 atanh as spurious.
9872 * math/auto-libm-test-out: Regenerated.
9873 * sysdeps/i386/fpu/libm-test-ulps: Update.
9874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9875
003e49ed
AS
98762014-03-25 Andreas Schwab <schwab@suse.de>
9877
9878 * libio/Makefile (tst-ftell-partial-wide-ENV)
9879 (tst-ftell-active-handler-ENV): Define.
9880
de031874
SL
98812014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9882
9883 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9884
55a81e3b
PP
98852014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9886
9887 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9888
f3426898
JM
98892014-03-24 Joseph Myers <joseph@codesourcery.com>
9890
9891 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9892 * sysdeps/x86_64/fpu/multiarch/e_exp.c
9893 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9894
a42faf59
PP
98952014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9896
9897 [BZ #16634]
a42faf59 9898 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
9899 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9900 (open_path): Change from boolean 'secure' to complete flag 'mode'
9901 (_dl_map_object): Adjust.
a42faf59
PP
9902 * elf/Makefile (tests): Add tst-dlopen-aout.
9903 * elf/tst-dlopen-aout.c: New test.
9904
50936127
SL
99052014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9906
9907 [BZ #16714]
9908 * sysdeps/unix/sysv/linux/s390/bits/stat.h
9909 (struct stat): Rename member pad0 to __glibc_reserved0.
9910
26011b5c
SL
9911 [BZ #16712]
9912 * sysdeps/s390/s390-32/bits/wordsize.h
9913 (__WORDSIZE32_SIZE_ULONG): New define.
9914 * sysdeps/s390/s390-64/bits/wordsize.h
9915 (__WORDSIZE32_SIZE_ULONG): Likewise.
9916 * sysdeps/generic/stdint.h (SIZE_MAX):
9917 Define as UL if __WORDSIZE32_SIZE_ULONG.
9918
a2d86bf1
SL
9919 [BZ #16713]
9920 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9921 (__glibc_reserved0): New variable.
9922 (sa_flags): Change type to int.
9923
78b6eebc
SL
9924 * posix/Makefile (before-compile): Use += before-compile instead
9925 of a :=.
9926
f1399b5a
SL
9927 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9928 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9929
a071766e
AS
99302014-03-20 Andreas Schwab <schwab@suse.de>
9931
9932 [BZ #16743]
9933 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9934 non-matching result from nscd.
9935
27c673b8
SP
99362014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9937
9938 * scripts/bench.py: Moved to ...
9939 * benchtests/scripts/bench.py: ... here.
9940 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9941
44152e4b
AS
99422014-03-24 Andreas Schwab <schwab@suse.de>
9943
9944 [BZ #16002]
9945 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9946 alloca_account and account alloca use for struct in6ailist.
9947
b376a11a
JM
99482014-03-24 Joseph Myers <joseph@codesourcery.com>
9949
9950 [BZ #16284]
9951 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9952 rounding mode to recompute results that overflow to infinity or
9953 underflow to zero.
9954 * math/auto-libm-test-in: Don't mark tests as expected to fail for
9955 bug 16284.
9956 * math/auto-libm-test-out: Regenerated.
9957 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9958 (ccosh_test): Likewise.
9959 (csin_test_data): Use plus_oflow.
9960 (csin_test): Use ALL_RM_TEST.
9961 (csinh_test_data): Use plus_oflow.
9962 (csinh_test): Use ALL_RM_TEST.
9963 * sysdeps/i386/fpu/libm-test-ulps: Update.
9964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9965
f7be7376
JM
99662014-03-21 Joseph Myers <joseph@codesourcery.com>
9967
1ca2d03e
JM
9968 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9969 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9970 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9971
f7be7376
JM
9972 [BZ #16731]
9973 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
9974 when x - 1 is zero.
9975 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
9976 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
9977 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9978 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
9979 argument is 1.
9980 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
9981 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
9982 zero.
9983 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
9984 * sysdeps/i386/fpu/libm-test-ulps: Update.
9985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9986
fdf4534d
SP
99872014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9988
df26ea53
SP
9989 * scripts/bench.pl: Remove file.
9990 * scripts/bench.py: New benchmark script.
9991 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9992 * benchtests/README: Mention python dependency.
9993 * scripts/pylintrc: New file.
9994 * scripts/pylint: New file.
9995
fdf4534d
SP
9996 * bits/mathdef.h: Use #ifdef instead of #if.
9997 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9998 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9999 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
10000 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10001 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
10002 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10003
6f23d093
AZ
100042014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10005 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10006
10007 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
10008 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
10009 and strpbrk-ppc64 objects.
10010 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10011 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
10012 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
10013 multiarch strpbrk for POWER7.
10014 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
10015 multiarch strpbrk for PPC64.
10016 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
10017 ifunc selector.
10018 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
10019 strpbrk for POWER7.
10020
8c92dfff
JM
100212014-03-20 Joseph Myers <joseph@codesourcery.com>
10022
10023 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
10024 (atan_test): Likewise.
10025 (atanh_test_data): Use NO_TEST_INLINE for two tests.
10026 (atanh_test): Use ALL_RM_TEST.
10027 (atan2_test_data): Likewise.
10028 (cabs_test): Likewise.
10029 (cacosh_test): Likewise.
10030 (carg_test): Likewise.
10031 (casin_test): Likewise.
10032 (casinh_test): Likewise.
10033 (cbrt_test): Likewise.
10034 (csqrt_test): Likewise.
10035 (erf_test): Likewise.
10036 (erfc_test): Likewise.
10037 (pow10_test): Likewise.
10038 (exp2_test): Likewise.
10039 (hypot_test): Likewise.
10040 (j0_test): Likewise.
10041 (j1_test): Likewise.
10042 (lgamma_test): Likewise.
10043 (gamma_test): Likewise.
10044 (sincos_test): Likewise.
10045 (tanh_test): Likewise.
10046 (y0_test): Likewise.
10047 (y1_test): Likewise.
10048 * sysdeps/i386/fpu/libm-test-ulps: Update.
10049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10050
6eaf95cb
AZ
100512014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10052
a387428c
SP
10053 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
10054 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
10055 and strcspn-ppc64 objects.
10056 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10057 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
10058 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
10059 multiarch strcspn for POWER7.
10060 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
10061 multiarch strcspn for PPC64.
10062 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
10063 ifunc selector.
10064 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
10065 strcspn for POWER7.
10066
ae3a5dff
JM
100672014-03-20 Joseph Myers <joseph@codesourcery.com>
10068
10069 * math/gen-libm-test.pl (generate_testfile): Expect only function
10070 name as argument to AUTO_TESTS_* and pass results for all rounding
10071 modes to parse_args.
10072 (parse_auto_input): Separate inputs of automatic tests from
10073 outputs before storing in %auto_tests.
10074 * math/libm-test.inc (acos_test_data): Update call to
10075 AUTO_TESTS_f_f.
10076 (acos_test): Use ALL_RM_TEST.
10077 (acos_tonearest_test_data): Remove.
10078 (acos_test_tonearest): Likewise.
10079 (acos_towardzero_test_data): Likewise.
10080 (acos_test_towardzero): Likewise.
10081 (acos_downward_test_data): Likewise.
10082 (acos_test_downward): Likewise.
10083 (acos_upward_test_data): Likewise.
10084 (acos_test_upward): Likewise.
10085 (acosh_test_data): Update call to AUTO_TESTS_f_f.
10086 (asin_test_data): Likewise.
10087 (asin_test): Use ALL_RM_TEST.
10088 (asin_tonearest_test_data): Remove.
10089 (asin_test_tonearest): Likewise.
10090 (asin_towardzero_test_data): Likewise.
10091 (asin_test_towardzero): Likewise.
10092 (asin_downward_test_data): Likewise.
10093 (asin_test_downward): Likewise.
10094 (asin_upward_test_data): Likewise.
10095 (asin_test_upward): Likewise.
10096 (asinh_test_data): Update call to AUTO_TESTS_f_f.
10097 (atan_test_data): Likewise.
10098 (atanh_test_data): Likewise.
10099 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
10100 (cabs_test_data): Update call to AUTO_TESTS_c_f.
10101 (carg_test_data): Likewise.
10102 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
10103 (ccos_test_data): Update call to AUTO_TESTS_c_c.
10104 (ccosh_test_data): Likewise.
10105 (cexp_test_data): Likewise.
10106 (clog_test_data): Likewise.
10107 (clog10_test_data): Likewise.
10108 (cos_test_data): Update call to AUTO_TESTS_f_f.
10109 (cos_test): Use ALL_RM_TEST.
10110 (cos_tonearest_test_data): Remove.
10111 (cos_test_tonearest): Likewise.
10112 (cos_towardzero_test_data): Likewise.
10113 (cos_test_towardzero): Likewise.
10114 (cos_downward_test_data): Likewise.
10115 (cos_test_downward): Likewise.
10116 (cos_upward_test_data): Likewise.
10117 (cos_test_upward): Likewise.
10118 (cosh_test_data): Update call to AUTO_TESTS_f_f.
10119 (cosh_test): Use ALL_RM_TEST.
10120 (cosh_tonearest_test_data): Remove.
10121 (cosh_test_tonearest): Likewise.
10122 (cosh_towardzero_test_data): Likewise.
10123 (cosh_test_towardzero): Likewise.
10124 (cosh_downward_test_data): Likewise.
10125 (cosh_test_downward): Likewise.
10126 (cosh_upward_test_data): Likewise.
10127 (cosh_test_upward): Likewise.
10128 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10129 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10130 (ctan_test_data): Likewise.
10131 (ctan_test): Use ALL_RM_TEST.
10132 (ctan_tonearest_test_data): Remove.
10133 (ctan_test_tonearest): Likewise.
10134 (ctan_towardzero_test_data): Likewise.
10135 (ctan_test_towardzero): Likewise.
10136 (ctan_downward_test_data): Likewise.
10137 (ctan_test_downward): Likewise.
10138 (ctan_upward_test_data): Likewise.
10139 (ctan_test_upward): Likewise.
10140 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10141 (ctanh_test): Use ALL_RM_TEST.
10142 (ctanh_tonearest_test_data): Remove.
10143 (ctanh_test_tonearest): Likewise.
10144 (ctanh_towardzero_test_data): Likewise.
10145 (ctanh_test_towardzero): Likewise.
10146 (ctanh_downward_test_data): Likewise.
10147 (ctanh_test_downward): Likewise.
10148 (ctanh_upward_test_data): Likewise.
10149 (ctanh_test_upward): Likewise.
10150 (erf_test_data): Update call to AUTO_TESTS_f_f.
10151 (erfc_test_data): Likewise.
10152 (exp_test_data): Likewise.
10153 (exp_test): Use ALL_RM_TEST.
10154 (exp_tonearest_test_data): Remove.
10155 (exp_test_tonearest): Likewise.
10156 (exp_towardzero_test_data): Likewise.
10157 (exp_test_towardzero): Likewise.
10158 (exp_downward_test_data): Likewise.
10159 (exp_test_downward): Likewise.
10160 (exp_upward_test_data): Likewise.
10161 (exp_test_upward): Likewise.
10162 (exp10_test_data): Update call to AUTO_TESTS_f_f.
10163 (exp10_test): Use ALL_RM_TEST.
10164 (exp10_tonearest_test_data): Remove.
10165 (exp10_test_tonearest): Likewise.
10166 (exp10_towardzero_test_data): Likewise.
10167 (exp10_test_towardzero): Likewise.
10168 (exp10_downward_test_data): Likewise.
10169 (exp10_test_downward): Likewise.
10170 (exp10_upward_test_data): Likewise.
10171 (exp10_test_upward): Likewise.
10172 (exp2_test_data): Update call to AUTO_TESTS_f_f.
10173 (expm1_test_data): Likewise.
10174 (expm1_test): Use ALL_RM_TEST.
10175 (expm1_tonearest_test_data): Remove.
10176 (expm1_test_tonearest): Likewise.
10177 (expm1_towardzero_test_data): Likewise.
10178 (expm1_test_towardzero): Likewise.
10179 (expm1_downward_test_data): Likewise.
10180 (expm1_test_downward): Likewise.
10181 (expm1_upward_test_data): Likewise.
10182 (expm1_test_upward): Likewise.
10183 (fma_test_data): Update call to AUTO_TESTS_fff_f.
10184 (fma_test): Use ALL_RM_TEST.
10185 (fma_towardzero_test_data): Remove.
10186 (fma_test_towardzero): Likewise.
10187 (fma_downward_test_data): Likewise.
10188 (fma_test_downward): Likewise.
10189 (fma_upward_test_data): Likewise.
10190 (fma_test_upward): Likewise.
10191 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10192 (j0_test_data): Update call to AUTO_TESTS_f_f.
10193 (j1_test_data): Likewise.
10194 (jn_test_data): Update call to AUTO_TESTS_if_f.
10195 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10196 (log_test_data): Update call to AUTO_TESTS_f_f.
10197 (log10_test_data): Likewise.
10198 (log1p_test_data): Likewise.
10199 (log2_test_data): Likewise.
10200 (pow_test_data): Update call to AUTO_TESTS_ff_f.
10201 (pow_tonearest_test_data): Likewise.
10202 (sin_test_data): Update call to AUTO_TESTS_f_f.
10203 (sin_test): Use ALL_RM_TEST.
10204 (sin_tonearest_test_data): Remove.
10205 (sin_test_tonearest): Likewise.
10206 (sin_towardzero_test_data): Likewise.
10207 (sin_test_towardzero): Likewise.
10208 (sin_downward_test_data): Likewise.
10209 (sin_test_downward): Likewise.
10210 (sin_upward_test_data): Likewise.
10211 (sin_test_upward): Likewise.
10212 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10213 (sinh_test_data): Update call to AUTO_TESTS_f_f.
10214 (sinh_test): Use ALL_RM_TEST.
10215 (sinh_tonearest_test_data): Remove.
10216 (sinh_test_tonearest): Likewise.
10217 (sinh_towardzero_test_data): Likewise.
10218 (sinh_test_towardzero): Likewise.
10219 (sinh_downward_test_data): Likewise.
10220 (sinh_test_downward): Likewise.
10221 (sinh_upward_test_data): Likewise.
10222 (sinh_test_upward): Likewise.
10223 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10224 (sqrt_test): Use ALL_RM_TEST.
10225 (sqrt_tonearest_test_data): Remove.
10226 (sqrt_test_tonearest): Likewise.
10227 (sqrt_towardzero_test_data): Likewise.
10228 (sqrt_test_towardzero): Likewise.
10229 (sqrt_downward_test_data): Likewise.
10230 (sqrt_test_downward): Likewise.
10231 (sqrt_upward_test_data): Likewise.
10232 (sqrt_test_upward): Likewise.
10233 (tan_test_data): Update call to AUTO_TESTS_f_f.
10234 (tan_test): Use ALL_RM_TEST.
10235 (tan_tonearest_test_data): Remove.
10236 (tan_test_tonearest): Likewise.
10237 (tan_towardzero_test_data): Likewise.
10238 (tan_test_towardzero): Likewise.
10239 (tan_downward_test_data): Likewise.
10240 (tan_test_downward): Likewise.
10241 (tan_upward_test_data): Likewise.
10242 (tan_test_upward): Likewise.
10243 (tanh_test_data): Update call to AUTO_TESTS_f_f.
10244 (tgamma_test_data): Likewise.
10245 (y0_test_data): Likewise.
10246 (y1_test_data): Likewise.
10247 (yn_test_data): Update call to AUTO_TESTS_if_f.
10248 (main): Do not call removed functions.
10249
d71aeee8
JM
102502014-03-19 Joseph Myers <joseph@codesourcery.com>
10251
10252 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10253 (ldexp_test_data): Remove.
10254 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
10255 scalbn_test_data.
10256 (scalb_test): Use ALL_RM_TEST.
10257
baaf1ded
AS
102582014-03-19 Andreas Schwab <schwab@suse.de>
10259
10260 * nscd/nscd.service: Also invalidate netgroup cache on reload.
10261
b1115e91
JM
102622014-03-19 Joseph Myers <joseph@codesourcery.com>
10263
10264 [BZ #16649]
10265 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10266 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10267 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10268 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10269 (__ASSUME_PREADV): Undefine.
10270 (__ASSUME_PWRITEV): Likewise.
10271
0283ecca
RM
102722014-03-18 Roland McGrath <roland@hack.frob.com>
10273
7d375303
RM
10274 * bits/mman-linux.h: Add comment about non-Linux use.
10275 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10276 bits/mman-linux.h resting place.
10277
0283ecca
RM
10278 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10279 * bits/mman-linux.h: ... here.
10280
aebe1003
AZ
102812014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10282
10283 * conform/conformtest.pl: Add standard definition when calling C
10284 preprocessor on data files.
10285 (checknamespace): Remove unused variable.
10286
b29b6bb8
JM
102872014-03-18 Joseph Myers <joseph@codesourcery.com>
10288
10289 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10290 minus_oflow, plus_uflow and minus_uflow in expected results.
10291 * math/libm-test.inc (scalbn_test_data): Add more tests of
10292 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
10293 minus_uflow.
10294 (scalbn_test): Use ALL_RM_TEST.
10295 (scalbln_test_data): Add more tests of negative arguments. Use
10296 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10297 (scalbln_test): Use ALL_RM_TEST.
10298
c8f8fa15
RM
102992014-03-18 Roland McGrath <roland@hack.frob.com>
10300
10301 * scripts/abilist.awk: Ignore symbols marked with .hidden.
10302
fede7a5f
WN
103032014-03-18 Will Newton <will.newton@linaro.org>
10304
10305 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10306 inaccurate comment.
10307
80cf0a58
JM
103082014-03-18 Joseph Myers <joseph@codesourcery.com>
10309
10310 * Makerules [!subdir] (check-abi): Exit with error status if a
10311 test failed.
10312
b3620862
JM
103132014-03-17 Joseph Myers <joseph@codesourcery.com>
10314
10315 * math/libm-test.inc (nearbyint_test_data): Include all tests used
10316 for rint. Include results for all rounding modes.
10317 (nearbyint_test): Use ALL_RM_TEST.
10318 (rint_test_data): Include all tests used for nearbyint.
10319
788bba36
WN
103202014-03-17 Will Newton <will.newton@linaro.org>
10321
04ec140a
WN
10322 * nptl/sysdeps/pthread/pthread.h: Revert previous
10323 change.
10324
7579d8d5
WN
10325 * sysdeps/generic/ldsodefs.h: Revert previous
10326 change.
10327
c15cf13a
WN
10328 * libio/genops.c: Revert previous change.
10329 * libio/libioP.h: Likewise.
10330 * stdio-common/vfprintf.c: Likewise.
10331
d0ac1324
WN
10332 * sysdeps/generic/math_private.h: Revert previous
10333 change.
10334
9290130a
WN
10335 * sysdeps/generic/math_private.h: Check whether
10336 HAVE_RM_CTX is defined with #ifdef rather
10337 than #if.
10338
afb466fc
WN
10339 * argp/argp-fmtstream.h: Check whether
10340 __STRICT_ANSI__ is defined with #ifdef rather
10341 than #if.
10342 * argp/argp.h: Likewise.
10343
f7efd7c3
WN
10344 * libio/genops.c: Check whether
10345 _IO_JUMPS_OFFSET is defined with #ifdef rather
10346 than #if.
10347 * libio/libioP.h: Likewise.
10348 * stdio-common/vfprintf.c: Likewise.
10349
53f1bed3
WN
10350 * sysdeps/generic/ldsodefs.h: Check whether
10351 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10352 than #if.
10353
788bba36
WN
10354 * nptl/sysdeps/pthread/pthread.h: Check
10355 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10356 its value.
10357
fcd89ebe
SP
103582014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10359
ae42bbc5
SP
10360 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10361 setting O_APPEND.
10362 * libio/tst-ftell-active-handler.c (do_append_test): Add a
10363 test case.
10364
ea33158c
SP
10365 [BZ #16680]
10366 * libio/fileops.c (_IO_file_open): Seek to end of file but
10367 don't cache the offset.
10368 (get_file_offset): Remove function.
10369 (do_ftell): Use cached offset when available.
10370 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10371 don't cache the offset.
10372 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10373 case.
10374 (do_one_test): Call it.
10375 (do_ftell_test): Fix up expected old offset for a+ mode.
10376 * libio/wfileops.c (do_ftell_wide): Used cached offset when
10377 available.
10378
b1dbb426
SP
10379 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10380 up test status with function return status.
10381 (do_write_test): Likewise.
10382 (do_append_test): Likewise.
10383
fcd89ebe
SP
10384 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10385 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10386 Remove.
10387
9962a2d3
JM
103882014-03-17 Joseph Myers <joseph@codesourcery.com>
10389
10390 * math/gen-libm-test.pl (parse_args): Handle results specified for
10391 each rounding mode separately.
10392 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10393 tests and results from lrint_tonearest_test_data,
10394 lrint_towardzero_test_data, lrint_downward_test_data and
10395 lrint_upward_test_data.
10396 (lrint_test): Use ALL_RM_TEST.
10397 (lrint_tonearest_test_data): Remove.
10398 (lrint_test_tonearest): Likewise.
10399 (lrint_towardzero_test_data): Likewise.
10400 (lrint_test_towardzero): Likewise.
10401 (lrint_downward_test_data): Likewise.
10402 (lrint_test_downward): Likewise.
10403 (lrint_upward_test_data): Likewise.
10404 (lrint_test_upward): Likewise.
10405 (llrint_test_data): Merge in per-rounding-mode tests and results
10406 from llrint_tonearest_test_data, llrint_towardzero_test_data,
10407 llrint_downward_test_data and llrint_upward_test_data.
10408 (llrint_test): Use ALL_RM_TEST.
10409 (llrint_tonearest_test_data): Remove.
10410 (llrint_test_tonearest): Likewise.
10411 (llrint_towardzero_test_data): Likewise.
10412 (llrint_test_towardzero): Likewise.
10413 (llrint_downward_test_data): Likewise.
10414 (llrint_test_downward): Likewise.
10415 (llrint_upward_test_data): Likewise.
10416 (llrint_test_upward): Likewise.
10417 (rint_test_data): Merge in per-rounding-mode tests and results
10418 from rint_tonearest_test_data, rint_towardzero_test_data,
10419 rint_downward_test_data and rint_upward_test_data. Add
10420 per-rounding-mode results for tests not in those arrays.
10421 (rint_test): Use ALL_RM_TEST.
10422 (rint_tonearest_test_data): Remove.
10423 (rint_test_tonearest): Likewise.
10424 (rint_towardzero_test_data): Likewise.
10425 (rint_test_towardzero): Likewise.
10426 (rint_downward_test_data): Likewise.
10427 (rint_test_downward): Likewise.
10428 (rint_upward_test_data): Likewise.
10429 (rint_test_upward): Likewise.
10430 (main): Don't call removed functions.
10431
5006148e
RM
104322014-03-14 Roland McGrath <roland@hack.frob.com>
10433
10434 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10435 "Compiled on ..." crapola. It is anti-useful.
10436
d6fe5e58
JM
104372014-03-14 Joseph Myers <joseph@codesourcery.com>
10438
10439 * scripts/evaluate-test.sh: Handle fourth argument to determine
10440 whether test run should stop on failure.
10441 * Makeconfig (stop-on-test-failure): New variable.
10442 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10443 $(stop-on-test-failure).
10444 * Makefile (tests): Give a summary of results from testing and
10445 exit with failure status if they include an ERROR or FAIL.
10446 (xtests): Likewise.
10447 * manual/install.texi (Configuring and compiling): Mention
10448 stop-on-test-failure=y.
10449 * INSTALL: Regenerated.
10450
498a2233
RM
104512014-03-14 Roland McGrath <roland@hack.frob.com>
10452
22dbc19d
RM
10453 * scripts/versionlist.awk: New file.
10454 * Makerules [$(build-shared) = yes]
10455 (postclean-generated): Add Versions.def, not Versions.def.v and
10456 Versions.def.v.i.
10457 ($(common-objpfx)Versions.def.v.i): Target removed.
10458 ($(common-objpfx)Versions.def): New target.
10459 ($(common-objpfx)Versions.all): Depend on that rather that
10460 $(common-objpfx)Versions.def.v.
10461 * Versions.def: File removed.
10462
498a2233
RM
10463 * Makeconfig (+gccwarn): Add -Wundef.
10464 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10465 a dl-sysdep.h breaking its contract.
10466 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10467 * include/stackinfo.h: New file.
10468 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10469 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10470 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10471 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10472 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10473 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10474 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10475 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10476 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10477 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10478 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10479 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10480 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10481 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10482 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10483
c7de5025
AZ
104842014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10485
10486 [BZ #16707]
10487 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10488 implementation.
10489 * math/libm-test.inc (round_test_data): Add more tests.
10490
98fb27a3
AZ
10491 [BZ #16706]
10492 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10493 implementation.
10494 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10495
374f7f61
AZ
10496 [BZ #16701]
10497 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10498 implementation.
10499 * math/libm-test.inc (ceil_test_data): Add more tests.
10500
4655c291
AZ
10501 * math/libm-test.inc (trunc_test_data): Add more tests related to
10502 BZ#16414.
10503
d7329d4b
RM
105042014-03-14 Roland McGrath <roland@hack.frob.com>
10505
10506 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10507 with #if rather than #ifdef.
10508 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10509
aa4de9ce
L
105102014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10511
10512 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10513 first. Disable AVX-512 GCC support if assembler doesn't support
10514 it.
10515 * sysdeps/x86_64/configure: Regenerated.
10516
2e03fae7
CD
105172014-03-13 Carlos O'Donell <carlos@redhat.com>
10518
10519 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10520 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10521 (__old_pthread_attr_setstack): Likewise.
10522 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10523 [!_STACK_GROWS_DOWN]: Likewise.
10524
43ca83ec
MF
105252014-03-13 Mike Frysinger <vapier@gentoo.org>
10526
10527 * config.make.in (have-bash2): Delete.
10528 * configure.ac (libc_cv_have_bash2): Delete.
10529 * configure: Regenerate.
10530 * elf/Makefile (common-ldd-rewrite): Rename to ...
10531 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10532 (sh-ldd-rewrite): Delete.
10533 (bash-ldd-rewrite): Delete.
10534 (have-bash2): Delete checks.
57f41c40
AS
10535 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10536 ldd-rewrite.
c66e48b4
MF
10537
10538 * config.make.in (have-ksh): Delete.
10539 (KSH): Delete.
10540 * configure.ac (libc_cv_have_ksh): Delete.
10541 * configure: Regenerate.
10542
b93834ef
MF
10543 * elf/Makefile: Delete $(have-ksh) check.
10544 ($(objpfx)sotruss): Change KSH to BASH.
10545 * elf/sotruss.ksh: Rename to ...
10546 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10547 function style to match POSIX. Drop ksh vim mode setting.
10548
f3a4632a
MF
10549 * manual/time.texi (Specifying the Time Zone with TZ): Change
10550 Tuesday to Thursday.
10551
5896c8bd
MF
10552 * debug/tst-longjmp_chk2.c: Update header comment.
10553 (stackoverflow_handler): Add comment. Call assert on pass value.
10554
2d63a517
IZ
105552014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10556
7e54fd04 10557 [BZ #16194]
2d63a517
IZ
10558 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10559 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10560 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10561 (La_x86_64_vector): Add zmm.
10562 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10563 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10564 ($(objpfx)tst-audit10): New target.
10565 ($(objpfx)tst-audit10.out): Likewise.
10566 (tst-audit10-ENV): New.
10567 (AVX512-CFLAGS): Likewise.
10568 (CFLAGS-tst-audit10.c): Likewise.
10569 (CFLAGS-tst-auditmod10a.c): Likewise.
10570 (CFLAGS-tst-auditmod10b.c): Likewise.
10571 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10572 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10573 * sysdeps/x86_64/configure: Regenerated.
10574 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10575 AVX-512 zmm register support.
10576 (_dl_x86_64_save_sse): Likewise.
10577 (_dl_x86_64_restore_sse): Likewise.
10578 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10579 size vector registers.
10580 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10581 (ZMM_SIZE): Likewise.
10582 * sysdeps/x86_64/tst-audit10.c: New file.
10583 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10584 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10585
44c4e5d5
RM
105862014-03-13 Roland McGrath <roland@hack.frob.com>
10587
10588 * configure.ac (HAVE_EHDR_START): New check.
10589 * configure: Regenerated.
10590 * config.h.in (HAVE_EHDR_START): New #undef.
10591 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10592 assuming the lowest-addressed segment maps the start of the file.
10593
acd6e389
JM
105942014-03-13 Joseph Myers <joseph@codesourcery.com>
10595
10596 * INSTALL: Regenerated.
10597
6f918f36
WN
105982014-03-13 Will Newton <will.newton@linaro.org>
10599
10600 * manual/setjmp.texi (System V contexts): Improve
10601 clarity and grammar of documentation.
10602
798212a0
PP
106032014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10604
10605 [BZ #16381]
798212a0 10606 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 10607 (tests-pie): Add tst-pie2.
798212a0
PP
10608 * elf/tst-pie2.c: New file.
10609 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10610 for ET_EXEC.
10611 * elf/rtld.c (map_doit): Load executable as lt_executable.
10612 (dl_main): Likewise.
10613
abe6d90c
JM
106142014-03-12 Joseph Myers <joseph@codesourcery.com>
10615
10616 [BZ #16642]
10617 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10618 (__ASSUME_PSELECT): Undefine.
10619
dd3946c6
AZ
106202014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10621
10622 [BZ #16689]
10623 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10624 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10625 static build.
10626 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10627 selector for static builds.
10628
c44496df
SP
106292014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10630
10631 [BZ #16695]
10632 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10633 key in the buffer.
10634
27c7220a
AZ
106352014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10636
57f41c40
AS
10637 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10638 IFUNC selector for static builds.
27c7220a 10639
600fa361
JM
106402014-03-11 Joseph Myers <joseph@codesourcery.com>
10641
76c96cf7
JM
10642 * sysdeps/mips/math_private.h [__mips_hard_float]
10643 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10644 libc_feresetround_mips_ctx.
10645 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10646 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10647 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10648
600fa361
JM
10649 [BZ #16677]
10650 * math/s_nextafter.c (__nextafter): Do not return value from
10651 overflowing computation.
10652 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10653 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10654 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10655 Likewise.
10656 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10657 Likewise.
10658 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10659 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10660
d7706c32
RM
106612014-03-11 Roland McGrath <roland@hack.frob.com>
10662
10663 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10664 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10665 Move sfi_sp use from the load-multiple (that no longer sets sp) to
10666 the new mov targetting sp.
10667
4facea47
AZ
106682014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10669
10670 [BZ #16683]
10671 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10672 Define it for static builds as well.
10673 (NO_BZERO_IMPL): Likewise.
10674
e65caf1f
VR
106752014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10676
10677 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10678 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10679 multiarch strspn for PPC64.
10680 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10681 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10682 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10683 (__libc_ifunc_impl_list): Likewise.
10684 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10685 multiarch optimizations
10686 * string/strspn.c (strspn): Using macro to redefine symbol name.
10687
ba9cc071
AZ
106882014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10689 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10690
10691 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10692 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10693 multiarch strncat for PPC64.
10694 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10695 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10696 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10697 (__libc_ifunc_impl_list): Likewise.
10698 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10699 multiarch optimizations
10700
8b4ff974
SP
107012014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10702
10703 [BZ #16639]
10704 * nscd/nscd.service: Make service type forking.
10705
54b46a4b
AZ
107062014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10707
10708 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10709 sign in non default rounding modes.
10710 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10711
e9996ef7
JM
107122014-03-08 Joseph Myers <joseph@codesourcery.com>
10713
10714 * math/libm-test.inc (ALL_RM_TEST): New macro.
10715 (ceil_test): Use ALL_RM_TEST.
10716 (cimag_test): Likewise.
10717 (conj_test): Likewise.
10718 (copysign_test): Likewise.
10719 (cproj_test): Likewise.
10720 (creal_test): Likewise.
10721 (fabs_test): Likewise.
10722 (floor_test): Likewise.
10723 (fmax_test): Likewise.
10724 (fmin_test): Likewise.
10725 (fmod_test): Likewise.
10726 (fpclassify_test): Likewise.
10727 (frexp_test): Likewise.
10728 (ilogb_test): Likewise.
10729 (isfinite_test): Likewise.
10730 (finite_test): Likewise.
10731 (isgreater_test): Likewise.
10732 (isgreaterequal_test): Likewise.
10733 (isinf_test): Likewise.
10734 (isless_test): Likewise.
10735 (islessequal_test): Likewise.
10736 (islessgreater_test): Likewise.
10737 (isnan_test): Likewise.
10738 (isnormal_test): Likewise.
10739 (issignaling_test): Likewise.
10740 (isunordered_test): Likewise.
10741 (logb_test): Likewise.
10742 (logb_downward_test_data): Remove.
10743 (logb_test_downward): Likewise.
10744 (lround_test): Use ALL_RM_TEST.
10745 (llround_test): Likewise.
10746 (modf_test): Likewise.
10747 (nexttoward_test): Likewise.
10748 (remainder_test): Likewise.
10749 (drem_test): Likewise.
10750 (remainder_tonearest_test_data): Likewise.
10751 (remainder_test_tonearest): Likewise.
10752 (drem_test_tonearest): Likewise.
10753 (remainder_towardzero_test_data): Likewise.
10754 (remainder_test_towardzero): Likewise.
10755 (drem_test_towardzero): Likewise.
10756 (remainder_downward_test_data): Likewise.
10757 (remainder_test_downward): Likewise.
10758 (drem_test_downward): Likewise.
10759 (remainder_upward_test_data): Likewise.
10760 (remainder_test_upward): Likewise.
10761 (drem_test_upward): Likewise.
10762 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
10763 (round_test): Use ALL_RM_TEST.
10764 (signbit_test): Likewise.
10765 (trunc_test): Likewise.
10766 (significand_test): Likewise.
10767 (main): Don't call removed functions.
10768
bc61d27c
JM
107692014-03-07 Joseph Myers <joseph@codesourcery.com>
10770
5c780849
JM
10771 [BZ #16674]
10772 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10773 || __USE_XOPEN2K8].
10774 (ILL_ILLOPN): Likewise.
10775 (ILL_ILLADR): Likewise.
10776 (ILL_ILLTRP): Likewise.
10777 (ILL_PRVOPC): Likewise.
10778 (ILL_PRVREG): Likewise.
10779 (ILL_COPROC): Likewise.
10780 (ILL_BADSTK): Likewise.
10781 (FPE_INTDIV): Likewise.
10782 (FPE_INTOVF): Likewise.
10783 (FPE_FLTDIV): Likewise.
10784 (FPE_FLTOVF): Likewise.
10785 (FPE_FLTUND): Likewise.
10786 (FPE_FLTRES): Likewise.
10787 (FPE_FLTINV): Likewise.
10788 (FPE_FLTSUB): Likewise.
10789 (SEGV_MAPERR): Likewise.
10790 (SEGV_ACCERR): Likewise.
10791 (BUS_ADRALN): Likewise.
10792 (BUS_ADRERR): Likewise.
10793 (BUS_OBJERR): Likewise.
10794 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10795 (TRAP_TRACE): Likewise.
10796 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10797 __USE_XOPEN2K8].
10798 (CLD_KILLED): Likewise.
10799 (CLD_DUMPED): Likewise.
10800 (CLD_TRAPPED): Likewise.
10801 (CLD_STOPPED): Likewise.
10802 (CLD_CONTINUED): Likewise.
10803 (POLL_IN): Likewise.
10804 (POLL_OUT): Likewise.
10805 (POLL_MSG): Likewise.
10806 (POLL_ERR): Likewise.
10807 (POLL_PRI): Likewise.
10808 (POLL_HUP): Likewise.
10809 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10810 Likewise.
10811 (ILL_ILLOPN): Likewise.
10812 (ILL_ILLADR): Likewise.
10813 (ILL_ILLTRP): Likewise.
10814 (ILL_PRVOPC): Likewise.
10815 (ILL_PRVREG): Likewise.
10816 (ILL_COPROC): Likewise.
10817 (ILL_BADSTK): Likewise.
10818 (FPE_INTDIV): Likewise.
10819 (FPE_INTOVF): Likewise.
10820 (FPE_FLTDIV): Likewise.
10821 (FPE_FLTOVF): Likewise.
10822 (FPE_FLTUND): Likewise.
10823 (FPE_FLTRES): Likewise.
10824 (FPE_FLTINV): Likewise.
10825 (FPE_FLTSUB): Likewise.
10826 (SEGV_MAPERR): Likewise.
10827 (SEGV_ACCERR): Likewise.
10828 (BUS_ADRALN): Likewise.
10829 (BUS_ADRERR): Likewise.
10830 (BUS_OBJERR): Likewise.
10831 (BUS_MCEERR_AR): Likewise.
10832 (BUS_MCEERR_AO): Likewise.
10833 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10834 (TRAP_TRACE): Likewise.
10835 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10836 __USE_XOPEN2K8].
10837 (CLD_KILLED): Likewise.
10838 (CLD_DUMPED): Likewise.
10839 (CLD_TRAPPED): Likewise.
10840 (CLD_STOPPED): Likewise.
10841 (CLD_CONTINUED): Likewise.
10842 (POLL_IN): Likewise.
10843 (POLL_OUT): Likewise.
10844 (POLL_MSG): Likewise.
10845 (POLL_ERR): Likewise.
10846 (POLL_PRI): Likewise.
10847 (POLL_HUP): Likewise.
10848 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10849 (ILL_ILLOPN): Likewise.
10850 (ILL_ILLADR): Likewise.
10851 (ILL_ILLTRP): Likewise.
10852 (ILL_PRVOPC): Likewise.
10853 (ILL_PRVREG): Likewise.
10854 (ILL_COPROC): Likewise.
10855 (ILL_BADSTK): Likewise.
10856 (FPE_INTDIV): Likewise.
10857 (FPE_INTOVF): Likewise.
10858 (FPE_FLTDIV): Likewise.
10859 (FPE_FLTOVF): Likewise.
10860 (FPE_FLTUND): Likewise.
10861 (FPE_FLTRES): Likewise.
10862 (FPE_FLTINV): Likewise.
10863 (FPE_FLTSUB): Likewise.
10864 (SEGV_MAPERR): Likewise.
10865 (SEGV_ACCERR): Likewise.
10866 (BUS_ADRALN): Likewise.
10867 (BUS_ADRERR): Likewise.
10868 (BUS_OBJERR): Likewise.
10869 (BUS_MCEERR_AR): Likewise.
10870 (BUS_MCEERR_AO): Likewise.
10871 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10872 (TRAP_TRACE): Likewise.
10873 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10874 __USE_XOPEN2K8].
10875 (CLD_KILLED): Likewise.
10876 (CLD_DUMPED): Likewise.
10877 (CLD_TRAPPED): Likewise.
10878 (CLD_STOPPED): Likewise.
10879 (CLD_CONTINUED): Likewise.
10880 (POLL_IN): Likewise.
10881 (POLL_OUT): Likewise.
10882 (POLL_MSG): Likewise.
10883 (POLL_ERR): Likewise.
10884 (POLL_PRI): Likewise.
10885 (POLL_HUP): Likewise.
10886 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10887 Likewise.
10888 (ILL_ILLOPN): Likewise.
10889 (ILL_ILLADR): Likewise.
10890 (ILL_ILLTRP): Likewise.
10891 (ILL_PRVOPC): Likewise.
10892 (ILL_PRVREG): Likewise.
10893 (ILL_COPROC): Likewise.
10894 (ILL_BADSTK): Likewise.
10895 (ILL_BADIADDR): Likewise.
10896 (ILL_BREAK): Likewise.
10897 (FPE_INTDIV): Likewise.
10898 (FPE_INTOVF): Likewise.
10899 (FPE_FLTDIV): Likewise.
10900 (FPE_FLTOVF): Likewise.
10901 (FPE_FLTUND): Likewise.
10902 (FPE_FLTRES): Likewise.
10903 (FPE_FLTINV): Likewise.
10904 (FPE_FLTSUB): Likewise.
10905 (FPE_DECOVF): Likewise.
10906 (FPE_DECDIV): Likewise.
10907 (FPE_DECERR): Likewise.
10908 (FPE_INVASC): Likewise.
10909 (FPE_INVDEC): Likewise.
10910 (SEGV_MAPERR): Likewise.
10911 (SEGV_ACCERR): Likewise.
10912 (SEGV_PSTKOVF): Likewise.
10913 (BUS_ADRALN): Likewise.
10914 (BUS_ADRERR): Likewise.
10915 (BUS_OBJERR): Likewise.
10916 (BUS_MCEERR_AR): Likewise.
10917 (BUS_MCEERR_AO): Likewise.
10918 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10919 (TRAP_TRACE): Likewise.
10920 (TRAP_BRANCH): Likewise.
10921 (TRAP_HWBKPT): Likewise.
10922 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10923 __USE_XOPEN2K8].
10924 (CLD_KILLED): Likewise.
10925 (CLD_DUMPED): Likewise.
10926 (CLD_TRAPPED): Likewise.
10927 (CLD_STOPPED): Likewise.
10928 (CLD_CONTINUED): Likewise.
10929 (POLL_IN): Likewise.
10930 (POLL_OUT): Likewise.
10931 (POLL_MSG): Likewise.
10932 (POLL_ERR): Likewise.
10933 (POLL_PRI): Likewise.
10934 (POLL_HUP): Likewise.
10935 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10936 (ILL_ILLOPN): Likewise.
10937 (ILL_ILLADR): Likewise.
10938 (ILL_ILLTRP): Likewise.
10939 (ILL_PRVOPC): Likewise.
10940 (ILL_PRVREG): Likewise.
10941 (ILL_COPROC): Likewise.
10942 (ILL_BADSTK): Likewise.
10943 (FPE_INTDIV): Likewise.
10944 (FPE_INTOVF): Likewise.
10945 (FPE_FLTDIV): Likewise.
10946 (FPE_FLTOVF): Likewise.
10947 (FPE_FLTUND): Likewise.
10948 (FPE_FLTRES): Likewise.
10949 (FPE_FLTINV): Likewise.
10950 (FPE_FLTSUB): Likewise.
10951 (SEGV_MAPERR): Likewise.
10952 (SEGV_ACCERR): Likewise.
10953 (BUS_ADRALN): Likewise.
10954 (BUS_ADRERR): Likewise.
10955 (BUS_OBJERR): Likewise.
10956 (BUS_MCEERR_AR): Likewise.
10957 (BUS_MCEERR_AO): Likewise.
10958 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10959 (TRAP_TRACE): Likewise.
10960 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10961 __USE_XOPEN2K8].
10962 (CLD_KILLED): Likewise.
10963 (CLD_DUMPED): Likewise.
10964 (CLD_TRAPPED): Likewise.
10965 (CLD_STOPPED): Likewise.
10966 (CLD_CONTINUED): Likewise.
10967 (POLL_IN): Likewise.
10968 (POLL_OUT): Likewise.
10969 (POLL_MSG): Likewise.
10970 (POLL_ERR): Likewise.
10971 (POLL_PRI): Likewise.
10972 (POLL_HUP): Likewise.
10973 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
10974 (ILL_ILLOPN): Likewise.
10975 (ILL_ILLADR): Likewise.
10976 (ILL_ILLTRP): Likewise.
10977 (ILL_PRVOPC): Likewise.
10978 (ILL_PRVREG): Likewise.
10979 (ILL_COPROC): Likewise.
10980 (ILL_BADSTK): Likewise.
10981 (FPE_INTDIV): Likewise.
10982 (FPE_INTOVF): Likewise.
10983 (FPE_FLTDIV): Likewise.
10984 (FPE_FLTOVF): Likewise.
10985 (FPE_FLTUND): Likewise.
10986 (FPE_FLTRES): Likewise.
10987 (FPE_FLTINV): Likewise.
10988 (FPE_FLTSUB): Likewise.
10989 (SEGV_MAPERR): Likewise.
10990 (SEGV_ACCERR): Likewise.
10991 (BUS_ADRALN): Likewise.
10992 (BUS_ADRERR): Likewise.
10993 (BUS_OBJERR): Likewise.
10994 (BUS_MCEERR_AR): Likewise.
10995 (BUS_MCEERR_AO): Likewise.
10996 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10997 (TRAP_TRACE): Likewise.
10998 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10999 __USE_XOPEN2K8].
11000 (CLD_KILLED): Likewise.
11001 (CLD_DUMPED): Likewise.
11002 (CLD_TRAPPED): Likewise.
11003 (CLD_STOPPED): Likewise.
11004 (CLD_CONTINUED): Likewise.
11005 (POLL_IN): Likewise.
11006 (POLL_OUT): Likewise.
11007 (POLL_MSG): Likewise.
11008 (POLL_ERR): Likewise.
11009 (POLL_PRI): Likewise.
11010 (POLL_HUP): Likewise.
11011 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
11012 (ILL_ILLOPN): Likewise.
11013 (ILL_ILLADR): Likewise.
11014 (ILL_ILLTRP): Likewise.
11015 (ILL_PRVOPC): Likewise.
11016 (ILL_PRVREG): Likewise.
11017 (ILL_COPROC): Likewise.
11018 (ILL_BADSTK): Likewise.
11019 (FPE_INTDIV): Likewise.
11020 (FPE_INTOVF): Likewise.
11021 (FPE_FLTDIV): Likewise.
11022 (FPE_FLTOVF): Likewise.
11023 (FPE_FLTUND): Likewise.
11024 (FPE_FLTRES): Likewise.
11025 (FPE_FLTINV): Likewise.
11026 (FPE_FLTSUB): Likewise.
11027 (SEGV_MAPERR): Likewise.
11028 (SEGV_ACCERR): Likewise.
11029 (BUS_ADRALN): Likewise.
11030 (BUS_ADRERR): Likewise.
11031 (BUS_OBJERR): Likewise.
11032 (BUS_MCEERR_AR): Likewise.
11033 (BUS_MCEERR_AO): Likewise.
11034 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11035 (TRAP_TRACE): Likewise.
11036 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11037 __USE_XOPEN2K8].
11038 (CLD_KILLED): Likewise.
11039 (CLD_DUMPED): Likewise.
11040 (CLD_TRAPPED): Likewise.
11041 (CLD_STOPPED): Likewise.
11042 (CLD_CONTINUED): Likewise.
11043 (POLL_IN): Likewise.
11044 (POLL_OUT): Likewise.
11045 (POLL_MSG): Likewise.
11046 (POLL_ERR): Likewise.
11047 (POLL_PRI): Likewise.
11048 (POLL_HUP): Likewise.
11049 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
11050 (ILL_ILLOPN): Likewise.
11051 (ILL_ILLADR): Likewise.
11052 (ILL_ILLTRP): Likewise.
11053 (ILL_PRVOPC): Likewise.
11054 (ILL_PRVREG): Likewise.
11055 (ILL_COPROC): Likewise.
11056 (ILL_BADSTK): Likewise.
11057 (ILL_DBLFLT): Likewise.
11058 (ILL_HARDWALL): Likewise.
11059 (FPE_INTDIV): Likewise.
11060 (FPE_INTOVF): Likewise.
11061 (FPE_FLTDIV): Likewise.
11062 (FPE_FLTOVF): Likewise.
11063 (FPE_FLTUND): Likewise.
11064 (FPE_FLTRES): Likewise.
11065 (FPE_FLTINV): Likewise.
11066 (FPE_FLTSUB): Likewise.
11067 (SEGV_MAPERR): Likewise.
11068 (SEGV_ACCERR): Likewise.
11069 (BUS_ADRALN): Likewise.
11070 (BUS_ADRERR): Likewise.
11071 (BUS_OBJERR): Likewise.
11072 (BUS_MCEERR_AR): Likewise.
11073 (BUS_MCEERR_AO): Likewise.
11074 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11075 (TRAP_TRACE): Likewise.
11076 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11077 __USE_XOPEN2K8].
11078 (CLD_KILLED): Likewise.
11079 (CLD_DUMPED): Likewise.
11080 (CLD_TRAPPED): Likewise.
11081 (CLD_STOPPED): Likewise.
11082 (CLD_CONTINUED): Likewise.
11083 (POLL_IN): Likewise.
11084 (POLL_OUT): Likewise.
11085 (POLL_MSG): Likewise.
11086 (POLL_ERR): Likewise.
11087 (POLL_PRI): Likewise.
11088 (POLL_HUP): Likewise.
11089 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
11090 (ILL_ILLOPN): Likewise.
11091 (ILL_ILLADR): Likewise.
11092 (ILL_ILLTRP): Likewise.
11093 (ILL_PRVOPC): Likewise.
11094 (ILL_PRVREG): Likewise.
11095 (ILL_COPROC): Likewise.
11096 (ILL_BADSTK): Likewise.
11097 (FPE_INTDIV): Likewise.
11098 (FPE_INTOVF): Likewise.
11099 (FPE_FLTDIV): Likewise.
11100 (FPE_FLTOVF): Likewise.
11101 (FPE_FLTUND): Likewise.
11102 (FPE_FLTRES): Likewise.
11103 (FPE_FLTINV): Likewise.
11104 (FPE_FLTSUB): Likewise.
11105 (SEGV_MAPERR): Likewise.
11106 (SEGV_ACCERR): Likewise.
11107 (BUS_ADRALN): Likewise.
11108 (BUS_ADRERR): Likewise.
11109 (BUS_OBJERR): Likewise.
11110 (BUS_MCEERR_AR): Likewise.
11111 (BUS_MCEERR_AO): Likewise.
11112 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11113 (TRAP_TRACE): Likewise.
11114 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11115 __USE_XOPEN2K8].
11116 (CLD_KILLED): Likewise.
11117 (CLD_DUMPED): Likewise.
11118 (CLD_TRAPPED): Likewise.
11119 (CLD_STOPPED): Likewise.
11120 (CLD_CONTINUED): Likewise.
11121 (POLL_IN): Likewise.
11122 (POLL_OUT): Likewise.
11123 (POLL_MSG): Likewise.
11124 (POLL_ERR): Likewise.
11125 (POLL_PRI): Likewise.
11126 (POLL_HUP): Likewise.
11127 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11128 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11129
bc61d27c
JM
11130 [BZ #16670]
11131 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11132 before #include of <time.h>.
11133 [!__USE_XOPEN2K] (__need_timespec): Likewise.
11134 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11135 (test-xfail-UNIX98/sched.h/conform): Likewise.
11136
302949e2
MS
111372014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
11138
11139 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11140 error absence of trapping exception support.
11141 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11142
a00f522a
JM
111432014-03-07 Joseph Myers <joseph@codesourcery.com>
11144
6f99f280
JM
11145 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11146 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11147 * timezone/Makefile (testdata): Move definition above include of
11148 Rules.
11149 (test-zones): New variable.
11150 (tests-special): Add zone files.
11151 (build-testdata): Use $(evaluate-test).
11152
0b20a9e8
JM
11153 * elf/Makefile (tests-special): Rename tests to end with .out.
11154 ($(objpfx)noload-mem): Likewise.
11155 ($(objpfx)tst-leaks1-mem): Likewise.
11156 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11157 * iconv/Makefile (xtests-special): Change test-iconvconfig to
11158 $(objpfx)test-iconvconfig.out.
11159 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
11160 set -e inside subshell and redirect output to file.
11161 * iconvdata/Makefile (generated): Rename tests to end with .out.
11162 Correct type.
11163 (tests-special): Rename tests to end with .out.
11164 ($(objpfx)mtrace-tst-loading): Likewise.
11165 * intl/Makefile (generated): Likewise.
11166 (tests-special): Likewise.
11167 ($(objpfx)mtrace-tst-gettext): Likewise.
11168 * misc/Makefile (generated): Likewise.
11169 (tests-special): Likewise.
11170 ($(objpfx)tst-error1-mem): Likewise.
11171 * nptl/Makefile (tests-special): Likewise.
11172 ($(objpfx)tst-stack3-mem): Likewise.
11173 (generated): Likewise.
11174 * posix/Makefile (generated): Likewise.
11175 (tests-special): Likewise.
11176 (xtests-special): Likewise.
11177 ($(objpfx)tst-fnmatch-mem): Likewise.
11178 ($(objpfx)bug-regex2-mem): Likewise.
11179 ($(objpfx)bug-regex14-mem): Likewise.
11180 ($(objpfx)bug-regex21-mem): Likewise.
11181 ($(objpfx)bug-regex31-mem): Likewise.
11182 ($(objpfx)tst-vfork3-mem): Likewise.
11183 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11184 ($(objpfx)tst-pcre-mem): Likewise.
11185 ($(objpfx)tst-boost-mem): Likewise.
11186 ($(objpfx)bug-ga2-mem): Likewise.
11187 ($(objpfx)bug-glob2-mem): Likewise.
11188 * resolv/Makefile (generate): Likewise.
11189 (tests-special): Likewise.
11190 (xtests-special): Likewise.
11191 (generated): Likewise.
11192 ($(objpfx)mtrace-tst-leaks): Likewise.
11193 ($(objpfx)mtrace-tst-leaks2): Likewise.
11194
265d52ab
JM
11195 * scripts/merge-test-results.sh: New file.
11196 * Makefile (tests-special-notdir): New variable.
11197 (tests): Run merge-test-results.sh.
11198 (xtests): Likewise.
11199 * Rules (tests-special-notdir): New variable.
11200 (xtests-special-notdir): Likewise.
11201 (tests): Run merge-test-results.sh
11202 (xtests): Likewise.
11203
54ee292d
JM
11204 * Makeconfig (test-xfail-name): New variable.
11205 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11206 compute variable name for expected failures.
11207 * conform/Makefile (conformtest-headers-data): New variable.
11208 (conformtest-standards): Likewise.
11209 (conformtest-headers-ISO): Likewise.
11210 (conformtest-headers-ISO99): Likewise.
11211 (conformtest-headers-ISO11): Likewise.
11212 (conformtest-headers-POSIX): Likewise.
11213 (conformtest-headers-XPG3): Likewise.
11214 (conformtest-headers-XPG4): Likewise.
11215 (conformtest-headers-UNIX98): Likewise.
11216 (conformtest-headers-XOPEN2K): Likewise.
11217 (conformtest-headers-POSIX2008): Likewise.
11218 (conformtest-headers-XOPEN2K8): Likewise.
11219 (conformtest-header-list-base): Likewise.
11220 (conformtest-header-list-tests): Likewise.
11221 (conformtest-header-base): Likewise.
11222 (conformtest-header-tests): Likewise.
11223 (tests-special): Add $(conformtest-header-list-tests). If
11224 [$(fast-check) && !$(cross-compiling)], add
11225 $(conformtest-header-tests) instead of
11226 $(objpfx)run-conformtest.out.
11227 (generated): Add $(conformtest-header-list-base). If
11228 [$(fast-check) && !$(cross-compiling)], add
11229 $(conformtest-header-base). Remove previous setting.
11230 ($(conformtest-header-list-tests)): New target.
11231 (test-xfail-run-conformtest): Remove variable.
11232 ($(objpfx)run-conformtest.out): Remove target.
11233 (test-xfail-ISO11/complex.h/conform): New variable.
11234 (test-xfail-ISO11/stdalign.h/conform): Likewise.
11235 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11236 (test-xfail-XPG3/varargs.h/conform): Likewise.
11237 (test-xfail-XPG4/varargs.h/conform): Likewise.
11238 (test-xfail-UNIX98/varargs.h/conform): Likewise.
11239 (test-xfail-XPG4/ndbm.h/conform): Likewise.
11240 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11241 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11242 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11243 (test-xfail-XPG3/fcntl.h/conform): Likewise.
11244 (test-xfail-XPG3/ftw.h/conform): Likewise.
11245 (test-xfail-XPG3/grp.h/conform): Likewise.
11246 (test-xfail-XPG3/langinfo.h/conform): Likewise.
11247 (test-xfail-XPG3/limits.h/conform): Likewise.
11248 (test-xfail-XPG3/pwd.h/conform): Likewise.
11249 (test-xfail-XPG3/search.h/conform): Likewise.
11250 (test-xfail-XPG3/signal.h/conform): Likewise.
11251 (test-xfail-XPG3/stdio.h/conform): Likewise.
11252 (test-xfail-XPG3/stdlib.h/conform): Likewise.
11253 (test-xfail-XPG3/string.h/conform): Likewise.
11254 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11255 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11256 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11257 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11258 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11259 (test-xfail-XPG3/sys/types.h/conform): Likewise.
11260 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11261 (test-xfail-XPG3/termios.h/conform): Likewise.
11262 (test-xfail-XPG3/time.h/conform): Likewise.
11263 (test-xfail-XPG3/unistd.h/conform): Likewise.
11264 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11265 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11266 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11267 (test-xfail-XPG4/netdb.h/conform): Likewise.
11268 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11269 (test-xfail-XPG4/signal.h/conform): Likewise.
11270 (test-xfail-XPG4/stdio.h/conform): Likewise.
11271 (test-xfail-XPG4/stdlib.h/conform): Likewise.
11272 (test-xfail-XPG4/stropts.h/conform): Likewise.
11273 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11274 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11275 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11276 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11277 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11278 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11279 (test-xfail-XPG4/sys/time.h/conform): Likewise.
11280 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11281 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11282 (test-xfail-XPG4/termios.h/conform): Likewise.
11283 (test-xfail-XPG4/ucontext.h/conform): Likewise.
11284 (test-xfail-XPG4/unistd.h/conform): Likewise.
11285 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11286 (test-xfail-POSIX/sched.h/conform): Likewise.
11287 (test-xfail-POSIX/signal.h/conform): Likewise.
11288 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11289 (test-xfail-POSIX/tar.h/conform): Likewise.
11290 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11291 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11292 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11293 (test-xfail-UNIX98/netdb.h/conform): Likewise.
11294 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11295 (test-xfail-UNIX98/sched.h/conform): Likewise.
11296 (test-xfail-UNIX98/signal.h/conform): Likewise.
11297 (test-xfail-UNIX98/stdio.h/conform): Likewise.
11298 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11299 (test-xfail-UNIX98/stropts.h/conform): Likewise.
11300 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11301 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11302 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11303 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11304 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11305 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11306 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11307 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11308 (test-xfail-UNIX98/unistd.h/conform): Likewise.
11309 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11310 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11311 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11312 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11313 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11314 (test-xfail-XOPEN2K/math.h/conform): Likewise.
11315 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11316 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11317 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11318 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11319 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11320 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11321 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11322 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11323 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11324 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11325 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11326 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11327 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11328 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11329 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11330 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11331 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11332 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11333 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11334 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11335 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11336 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11337 (test-xfail-POSIX2008/signal.h/conform): Likewise.
11338 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11339 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11340 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11341 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11342 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11343 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11344 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11345 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11346 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11347 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11348 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11349 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11350 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11351 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11352 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11353 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11354 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11355 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11356 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11357 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11358 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11359 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11360 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11361 (conformtest-cc-flags): Likewise.
11362 ($(conformtest-header-tests): New target.
11363 * conform/check-header-lists.sh: New file.
11364 * conform/run-conformtest.sh: Remove.
11365
a00f522a
JM
11366 * conform/conformtest.pl: Allow ' and \ in values given for
11367 constants.
11368 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11369 inclusion.
11370 [POSIX] (sys/types.h): Likewise.
11371 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11372 inclusion.
11373 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11374 inclusion.
11375 * conform/data/signal.h-data (SIGIO): Remove expectation.
11376 [XPG3] (SIGBUS): Do not expect.
11377 [POSIX || XPG3] (SIGPOLL): Likewise.
11378 [POSIX || XPG3] (SIGPROF): Likewise.
11379 [POSIX || XPG3] (SIGSYS): Likewise.
11380 [XPG3] (SIGTRAP): Likewise.
11381 [POSIX || XPG3] (SIGURG): Likewise.
11382 [POSIX || XPG3] (SIGVTALRM): Likewise.
11383 [POSIX || XPG3] (SIGXCPU): Likewise.
11384 [POSIX || XPG3] (SIGXFSZ): Likewise.
11385 [POSIX] (SA_SIGINFO): Expect.
11386 [XPG3] (siginfo_t): Do not expect type or contents.
11387 [POSIX] (si_pid): Do not expect element.
11388 [POSIX] (si_uid): Likewise.
11389 [POSIX] (si_addr): Likewise.
11390 [POSIX] (si_status): Likewise.
11391 [POSIX] (si_band): Likewise.
11392 [XPG4] (si_value): Likewise.
11393 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11394 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11395 [POSIX || XPG3] (ILL_ILLADR): Likewise.
11396 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11397 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11398 [POSIX || XPG3] (ILL_PRVREG): Likewise.
11399 [POSIX || XPG3] (ILL_COPROC): Likewise.
11400 [POSIX || XPG3] (ILL_BADSTK): Likewise.
11401 [POSIX || XPG3] (FPE_INTDIV): Likewise.
11402 [POSIX || XPG3] (FPE_INTOVF): Likewise.
11403 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11404 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11405 [POSIX || XPG3] (FPE_FLTUND): Likewise.
11406 [POSIX || XPG3] (FPE_FLTRES): Likewise.
11407 [POSIX || XPG3] (FPE_FLTINV): Likewise.
11408 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11409 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11410 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11411 [POSIX || XPG3] (BUS_ADRALN): Likewise.
11412 [POSIX || XPG3] (BUS_ADRERR): Likewise.
11413 [POSIX || XPG3] (BUS_OBJERR): Likewise.
11414 [POSIX || XPG3] (CLD_EXITED): Likewise.
11415 [POSIX || XPG3] (CLD_KILLED): Likewise.
11416 [POSIX || XPG3] (CLD_DUMPED): Likewise.
11417 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11418 [POSIX || XPG3] (CLD_STOPPED): Likewise.
11419 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11420 [POSIX || XPG3] (POLL_IN): Likewise.
11421 [POSIX || XPG3] (POLL_OUT): Likewise.
11422 [POSIX || XPG3] (POLL_MSG): Likewise.
11423 [POSIX || XPG3] (POLL_ERR): Likewise.
11424 [POSIX || XPG3] (POLL_PRI): Likewise.
11425 [POSIX || XPG3] (POLL_HUP): Likewise.
11426 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11427 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11428 (SIG*): Do not allow.
11429 [XPG3] (si_*): Likewise.
11430 [XPG3] (SI_*): Likewise.
11431 [XPG3 || XPG4] (sigev_*): Likewise.
11432 [XPG3 || XPG4] (SIGEV_*): Likewise.
11433 [XPG3 || XPG4] (sival_*): Likewise.
11434 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11435 [POSIX || XPG3] (BUS_*): Likewise.
11436 [POSIX || XPG3] (CLD_*): Likewise.
11437 [POSIX || XPG3] (FPE_*): Likewise.
11438 [POSIX || XPG3] (ILL_*): Likewise.
11439 [POSIX || XPG3] (POLL_*): Likewise.
11440 [POSIX || XPG3] (SEGV_*): Likewise.
11441 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11442 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11443 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11444 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11445 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11446 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11447 Specify type and value.
11448 (TVERSLEN): Likewise.
11449 (REGTYPE): Likewise.
11450 (AREGTYPE): Likewise.
11451 (LNKTYPE): Likewise.
11452 (SYMTYPE): Likewise.
11453 (CHRTYPE): Likewise.
11454 (BLKTYPE): Likewise.
11455 (DIRTYPE): Likewise.
11456 (FIFOTYPE): Likewise.
11457 (CONTTYPE): Likewise.
11458 (TSUID): Likewise.
11459 (TSGID): Likewise.
11460 (TSVTX): Likewise.
11461 (TUREAD): Likewise.
11462 (TUWRITE): Likewise.
11463 (TUEXEC): Likewise.
11464 (TGREAD): Likewise.
11465 (TGWRITE): Likewise.
11466 (TGEXEC): Likewise.
11467 (TOREAD): Likewise.
11468 (TOWRITE): Likewise.
11469 (TOEXEC): Likewise.
11470 [POSIX] (TSVTX): Expect constant.
11471
aa97dee1
JM
114722014-03-06 Joseph Myers <joseph@codesourcery.com>
11473
f214606a
JM
11474 * Makefile (tests): Change dependencies to ....
11475 (tests-special): ... additions to this variable.
11476 (tests): Depend on $(tests-special).
11477 * Makerules (check-abi-list): New variable.
11478 (check-abi): Depend on $(check-abi-list).
11479 [$(subdir) = elf] (tests-special): Add
11480 $(objpfx)check-abi-libc.out.
11481 [$(build-shared) = yes && subdir] (tests-special): Add
11482 $(check-abi-list).
11483 [$(build-shared) = yes && subdir] (tests): Do not depend on
11484 check-abi.
11485 * Rules (tests): Depend on $(tests-special).
11486 (xtests): Depend on $(xtests-special).
11487 * catgets/Makefile (tests): Change dependencies to ....
11488 (tests-special): ... additions to this variable.
11489 * conform/Makefile (tests): Change dependencies to ....
11490 (tests-special): ... additions to this variable.
11491 * elf/Makefile (tests): Change dependencies to ....
11492 (tests-special): ... additions to this variable.
11493 * grp/Makefile (tests): Change dependencies to ....
11494 (tests-special): ... additions to this variable.
11495 * iconv/Makefile (xtests): Change dependencies to ....
11496 (xtests-special): ... additions to this variable.
11497 * iconvdata/Makefile (tests): Change dependencies to ....
11498 (tests-special): ... additions to this variable.
11499 * intl/Makefile (tests): Change dependencies to ....
11500 (tests-special): ... additions to this variable. Also add
11501 $(objpfx)tst-gettext.out.
11502 * io/Makefile (tests): Change dependencies to ....
11503 (tests-special): ... additions to this variable.
11504 * libio/Makefile (tests): Change dependencies to ....
11505 (tests-special): ... additions to this variable.
11506 * malloc/Makefile (tests): Change dependencies to ....
11507 (tests-special): ... additions to this variable.
11508 * misc/Makefile (tests): Change dependencies to ....
11509 (tests-special): ... additions to this variable.
11510 * nptl/Makefile (tests): Change dependencies to ....
11511 (tests-special): ... additions to this variable.
11512 * nptl_db/Makefile (tests): Change dependencies to ....
11513 (tests-special): ... additions to this variable.
11514 * posix/Makefile (tests): Change dependencies to ....
11515 (tests-special): ... additions to this variable.
11516 (xtests): Change dependencies to ....
11517 (xtests-special): ... additions to this variable.
11518 * resolv/Makefile (tests): Change dependencies to ....
11519 (tests-special): ... additions to this variable.
11520 (xtests): Change dependencies to ....
11521 (xtests-special): ... additions to this variable.
11522 * stdio-common/Makefile (tests): Change dependencies to ....
11523 (tests-special): ... additions to this variable.
11524 (do-tst-unbputc): Remove target.
11525 (do-tst-printf): Likewise.
11526 * stdlib/Makefile (tests): Change dependencies to ....
11527 (tests-special): ... additions to this variable.
11528 * string/Makefile (tests): Change dependencies to ....
11529 (tests-special): ... additions to this variable.
11530 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11531 (tests-special): ... additions to this variable.
11532
81700b53
JM
11533 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11534 whole file.
11535 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11536 whole file.
11537 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11538 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11539
2ea18461
JM
11540 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11541 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11542 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11543 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11544 * conform/data/libgen.h-data [XPG3]: Likewise.
11545 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11546 * conform/data/ndbm.h-data [XPG3]: Likewise.
11547 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11548 * conform/data/netdb.h-data [XPG3]: Likewise.
11549 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11550 * conform/data/poll.h-data [XPG3]: Likewise.
11551 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11552 * conform/data/strings.h-data [XPG3]: Likewise.
11553 * conform/data/stropts.h-data [XPG3]: Likewise.
11554 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11555 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11556 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11557 Likewise.
11558 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11559 * conform/data/sys/time.h-data [XPG3]: Likewise.
11560 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11561 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11562 * conform/data/sys/un.h-data [XPG3]: Likewise.
11563 * conform/data/syslog.h-data [XPG3]: Likewise.
11564 * conform/data/ucontext.h-data [XPG3]: Likewise.
11565 * conform/data/utmpx.h-data [XPG3]: Likewise.
11566 * conform/data/varargs.h-data [UNIX98]: Enable file.
11567
355bc986
JM
11568 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11569
215db402
JM
11570 * math/libm-test.inc (struct test_f_f_data): Move expected results
11571 into structure for each rounding mode.
11572 (struct test_ff_f_data): Likewise.
11573 (struct test_ff_f_data_nexttoward): Likewise.
11574 (struct test_fi_f_data): Likewise.
11575 (struct test_fl_f_data): Likewise.
11576 (struct test_if_f_data): Likewise.
11577 (struct test_fff_f_data): Likewise.
11578 (struct test_c_f_data): Likewise.
11579 (struct test_f_f1_data): Likewise.
11580 (struct test_fF_f1_data): Likewise.
11581 (struct test_ffI_f1_data): Likewise.
11582 (struct test_c_c_data): Likewise.
11583 (struct test_cc_c_data): Likewise.
11584 (struct test_f_i_data): Likewise.
11585 (struct test_ff_i_data): Likewise.
11586 (struct test_f_l_data): Likewise.
11587 (struct test_f_L_data): Likewise.
11588 (struct test_fFF_11_data): Likewise.
11589 (RM_): New macro.
11590 (RM_FE_DOWNWARD): Likewise.
11591 (RM_FE_TONEAREST): Likewise.
11592 (RM_FE_TOWARDZERO): Likewise.
11593 (RM_FE_UPWARD): Likewise.
11594 (RUN_TEST_LOOP_f_f): Update references to expected results.
11595 (RUN_TEST_LOOP_2_f): Likewise.
11596 (RUN_TEST_LOOP_fff_f): Likewise.
11597 (RUN_TEST_LOOP_c_f): Likewise.
11598 (RUN_TEST_LOOP_f_f1): Likewise.
11599 (RUN_TEST_LOOP_fF_f1): Likewise.
11600 (RUN_TEST_LOOP_fI_f1): Likewise.
11601 (RUN_TEST_LOOP_ffI_f1): Likewise.
11602 (RUN_TEST_LOOP_c_c): Likewise.
11603 (RUN_TEST_LOOP_cc_c): Likewise.
11604 (RUN_TEST_LOOP_f_i): Likewise.
11605 (RUN_TEST_LOOP_f_i_tg): Likewise.
11606 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11607 (RUN_TEST_LOOP_f_b): Likewise.
11608 (RUN_TEST_LOOP_f_b_tg): Likewise.
11609 (RUN_TEST_LOOP_f_l): Likewise.
11610 (RUN_TEST_LOOP_f_L): Likewise.
11611 (RUN_TEST_LOOP_fFF_11): Likewise.
11612 * math/gen-libm-test.pl (parse_args): Output four copies of
11613 expected results for each test.
11614
67737b8f
JM
11615 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11616 (__ASSUME_UTIMES): Remove.
11617 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11618 (__ASSUME_UTIMES): Likewise.
11619
aa97dee1
JM
11620 * math/gen-auto-libm-tests.c: Update comment on output format.
11621 (output_for_one_input_case): Generate before-rounding and
11622 after-rounding information as conditions on output flags not
11623 floating-point format.
11624 * math/auto-libm-test-out: Regenerated.
11625 * math/gen-libm-test.pl (cond_value): New function.
11626 (or_cond_value): Use cond_value.
11627 (generate_testfile): Handle conditional exceptions.
11628
e6b6a857
JM
116292014-03-05 Joseph Myers <joseph@codesourcery.com>
11630
2f0a0f44
JM
11631 * math/libm-test.inc (max_valid_error): New variable.
11632 (init_max_error): Take new argument specifying whether function
11633 results are exactly determined. Set max_valid_error and bound
11634 other variables for errors based on this argument.
11635 (set_max_error): Do not record results above max_valid_error.
11636 (check_float_internal): Only accept errors of up to 0.5ulps if
11637 also at most max_valid_error.
11638 (START): Take new argument EXACT and pass it to init_max_error.
11639 (acos_test): Update call to START.
11640 (acos_test_tonearest): Likewise.
11641 (acos_test_towardzero): Likewise.
11642 (acos_test_downward): Likewise.
11643 (acos_test_upward): Likewise.
11644 (acosh_test): Likewise.
11645 (asin_test): Likewise.
11646 (asin_test_tonearest): Likewise.
11647 (asin_test_towardzero): Likewise.
11648 (asin_test_downward): Likewise.
11649 (asin_test_upward): Likewise.
11650 (asinh_test): Likewise.
11651 (atan_test): Likewise.
11652 (atanh_test): Likewise.
11653 (atan2_test): Likewise.
11654 (cabs_test): Likewise.
11655 (cacos_test): Likewise.
11656 (cacosh_test): Likewise.
11657 (carg_test): Likewise.
11658 (casin_test): Likewise.
11659 (casinh_test): Likewise.
11660 (catan_test): Likewise.
11661 (catanh_test): Likewise.
11662 (cbrt_test): Likewise.
11663 (ccos_test): Likewise.
11664 (ccosh_test): Likewise.
11665 (ceil_test): Likewise.
11666 (cexp_test): Likewise.
11667 (cimag_test): Likewise.
11668 (clog_test): Likewise.
11669 (clog10_test): Likewise.
11670 (conj_test): Likewise.
11671 (copysign_test): Likewise.
11672 (cos_test): Likewise.
11673 (cos_test_tonearest): Likewise.
11674 (cos_test_towardzero): Likewise.
11675 (cos_test_downward): Likewise.
11676 (cos_test_upward): Likewise.
11677 (cosh_test): Likewise.
11678 (cosh_test_tonearest): Likewise.
11679 (cosh_test_towardzero): Likewise.
11680 (cosh_test_downward): Likewise.
11681 (cosh_test_upward): Likewise.
11682 (cpow_test): Likewise.
11683 (cproj_test): Likewise.
11684 (creal_test): Likewise.
11685 (csin_test): Likewise.
11686 (csinh_test): Likewise.
11687 (csqrt_test): Likewise.
11688 (ctan_test): Likewise.
11689 (ctan_test_tonearest): Likewise.
11690 (ctan_test_towardzero): Likewise.
11691 (ctan_test_downward): Likewise.
11692 (ctan_test_upward): Likewise.
11693 (ctanh_test): Likewise.
11694 (ctanh_test_tonearest): Likewise.
11695 (ctanh_test_towardzero): Likewise.
11696 (ctanh_test_downward): Likewise.
11697 (ctanh_test_upward): Likewise.
11698 (erf_test): Likewise.
11699 (erfc_test): Likewise.
11700 (exp_test): Likewise.
11701 (exp_test_tonearest): Likewise.
11702 (exp_test_towardzero): Likewise.
11703 (exp_test_downward): Likewise.
11704 (exp_test_upward): Likewise.
11705 (exp10_test): Likewise.
11706 (exp10_test_tonearest): Likewise.
11707 (exp10_test_towardzero): Likewise.
11708 (exp10_test_downward): Likewise.
11709 (exp10_test_upward): Likewise.
11710 (pow10_test): Likewise.
11711 (exp2_test): Likewise.
11712 (expm1_test): Likewise.
11713 (expm1_test_tonearest): Likewise.
11714 (expm1_test_towardzero): Likewise.
11715 (expm1_test_downward): Likewise.
11716 (expm1_test_upward): Likewise.
11717 (fabs_test): Likewise.
11718 (fdim_test): Likewise.
11719 (floor_test): Likewise.
11720 (fma_test): Likewise.
11721 (fma_test_towardzero): Likewise.
11722 (fma_test_downward): Likewise.
11723 (fma_test_upward): Likewise.
11724 (fmax_test): Likewise.
11725 (fmin_test): Likewise.
11726 (fmod_test): Likewise.
11727 (fpclassify_test): Likewise.
11728 (frexp_test): Likewise.
11729 (hypot_test): Likewise.
11730 (ilogb_test): Likewise.
11731 (isfinite_test): Likewise.
11732 (finite_test): Likewise.
11733 (isgreater_test): Likewise.
11734 (isgreaterequal_test): Likewise.
11735 (isinf_test): Likewise.
11736 (isless_test): Likewise.
11737 (islessequal_test): Likewise.
11738 (islessgreater_test): Likewise.
11739 (isnan_test): Likewise.
11740 (isnormal_test): Likewise.
11741 (issignaling_test): Likewise.
11742 (isunordered_test): Likewise.
11743 (j0_test): Likewise.
11744 (j1_test): Likewise.
11745 (jn_test): Likewise.
11746 (ldexp_test): Likewise.
11747 (lgamma_test): Likewise.
11748 (gamma_test): Likewise.
11749 (lrint_test): Likewise.
11750 (lrint_test_tonearest): Likewise.
11751 (lrint_test_towardzero): Likewise.
11752 (lrint_test_downward): Likewise.
11753 (lrint_test_upward): Likewise.
11754 (llrint_test): Likewise.
11755 (llrint_test_tonearest): Likewise.
11756 (llrint_test_towardzero): Likewise.
11757 (llrint_test_downward): Likewise.
11758 (llrint_test_upward): Likewise.
11759 (log_test): Likewise.
11760 (log10_test): Likewise.
11761 (log1p_test): Likewise.
11762 (log2_test): Likewise.
11763 (logb_test): Likewise.
11764 (logb_test_downward): Likewise.
11765 (lround_test): Likewise.
11766 (llround_test): Likewise.
11767 (modf_test): Likewise.
11768 (nearbyint_test): Likewise.
11769 (nextafter_test): Likewise.
11770 (nexttoward_test): Likewise.
11771 (pow_test): Likewise.
11772 (pow_test_tonearest): Likewise.
11773 (pow_test_towardzero): Likewise.
11774 (pow_test_downward): Likewise.
11775 (pow_test_upward): Likewise.
11776 (remainder_test): Likewise.
11777 (drem_test): Likewise.
11778 (remainder_test_tonearest): Likewise.
11779 (drem_test_tonearest): Likewise.
11780 (remainder_test_towardzero): Likewise.
11781 (drem_test_towardzero): Likewise.
11782 (remainder_test_downward): Likewise.
11783 (drem_test_downward): Likewise.
11784 (remainder_test_upward): Likewise.
11785 (drem_test_upward): Likewise.
11786 (remquo_test): Likewise.
11787 (rint_test): Likewise.
11788 (rint_test_tonearest): Likewise.
11789 (rint_test_towardzero): Likewise.
11790 (rint_test_downward): Likewise.
11791 (rint_test_upward): Likewise.
11792 (round_test): Likewise.
11793 (scalb_test): Likewise.
11794 (scalbn_test): Likewise.
11795 (scalbln_test): Likewise.
11796 (signbit_test): Likewise.
11797 (sin_test): Likewise.
11798 (sin_test_tonearest): Likewise.
11799 (sin_test_towardzero): Likewise.
11800 (sin_test_downward): Likewise.
11801 (sin_test_upward): Likewise.
11802 (sincos_test): Likewise.
11803 (sinh_test): Likewise.
11804 (sinh_test_tonearest): Likewise.
11805 (sinh_test_towardzero): Likewise.
11806 (sinh_test_downward): Likewise.
11807 (sinh_test_upward): Likewise.
11808 (sqrt_test): Likewise.
11809 (sqrt_test_tonearest): Likewise.
11810 (sqrt_test_towardzero): Likewise.
11811 (sqrt_test_downward): Likewise.
11812 (sqrt_test_upward): Likewise.
11813 (tan_test): Likewise.
11814 (tan_test_tonearest): Likewise.
11815 (tan_test_towardzero): Likewise.
11816 (tan_test_downward): Likewise.
11817 (tan_test_upward): Likewise.
11818 (tanh_test): Likewise.
11819 (tgamma_test): Likewise.
11820 (trunc_test): Likewise.
11821 (y0_test): Likewise.
11822 (y1_test): Likewise.
11823 (yn_test): Likewise.
11824 (significand_test): Likewise.
11825
e6b6a857
JM
11826 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11827 individual tests in comment.
11828 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11829 (prev_max_error): New variable.
11830 (prev_real_max_error): Likewise.
11831 (prev_imag_max_error): Likewise.
11832 (compare_ulp_data): Don't refer to test names in comment.
11833 (find_test_ulps): Remove function.
11834 (find_function_ulps): Likewise.
11835 (find_complex_function_ulps): Likewise.
11836 (init_max_error): Take function name as argument. Look up ulps
11837 for that function.
11838 (print_ulps): Remove function.
11839 (print_max_error): Use prev_max_error instead of calling
11840 find_function_ulps.
11841 (print_complex_max_error): Use prev_real_max_error and
11842 prev_imag_max_error instead of calling find_complex_function_ulps.
11843 (check_float_internal): Take max_ulp parameter instead of calling
11844 find_test_ulps. Don't call print_ulps.
11845 (check_float): Update call to check_float_internal.
11846 (check_complex): Update calls to check_float_internal.
11847 (START): Pass argument to init_max_error.
11848 * math/gen-libm-test.pl (%results): Don't include "kind"
11849 information.
11850 (parse_ulps): Don't handle ulps of individual tests.
11851 (print_ulps_file): Likewise.
11852 (output_ulps): Likewise.
11853 * math/README.libm-test: Update.
11854 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11855 individual tests.
11856 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11857 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11858 * sysdeps/arm/libm-test-ulps: Likewise.
11859 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11860 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11861 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11862 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11863 * sysdeps/microblaze/libm-test-ulps: Likewise.
11864 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11865 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11866 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11867 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11868 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11869 * sysdeps/sh/libm-test-ulps: Likewise.
11870 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11871 * sysdeps/tile/libm-test-ulps: Likewise.
11872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11873
45adef3c
JM
118742014-03-04 Joseph Myers <joseph@codesourcery.com>
11875
11876 * math/libm-test.inc (print_complex_max_error): Check separately
11877 whether real and imaginary errors are within allowed range and
11878 pass 0 to print_complex_function_ulps instead of value within
11879 allowed range.
11880
000232b9
SP
118812014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11882
d4b17258
SP
11883 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11884 formatting.
11885 (get_handles_fopen): Likewise.
11886 (do_write_test): Likewise.
11887
091eff71
SP
11888 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11889
fa3cd248
SP
11890 * libio/fileops.c (do_ftell): Use cached offset when
11891 available.
11892 * libio/iofwide.c (do_ftell_wide): Likewise.
11893 * libio/iofdopen.c (_IO_new_fdopen): Don't use
11894 _IO_file_attach.
11895 * libio/wfileops.c (_IO_fwide): Don't cache offset.
11896
000232b9
SP
11897 [BZ #16532]
11898 * libio/libioP.h (get_file_offset): New function.
11899 * libio/fileops.c (get_file_offset): Likewise.
11900 (do_ftell): Likewise.
11901 (_IO_new_file_seekoff): Split out ftell logic.
11902 * libio/wfileops.c (do_ftell_wide): Likewise.
11903 (_IO_wfile_seekoff): Split out ftell logic.
11904 * libio/tst-ftell-active-handler.c: New test case.
11905 * libio/Makefile (tests): Add it.
11906
116f4d1a
RM
119072014-03-03 Roland McGrath <roland@hack.frob.com>
11908
11909 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11910 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11911
532a6035
SP
119122014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11913
11914 [BZ #16639]
11915 * nscd/connections.c (nscd_init): Call do_exit.
11916 (start_threads): Call do_exit and notify_parent.
11917 (begin_drop_privileges): Call do_exit.
11918 (finish_drop_privileges): Likewise.
11919 * nscd/selinux.c (preserve_capabilities): Likewise.
11920 (install_real_capabilities): Likewise.
11921 (nscd_selinux_enabled): Likewise.
11922 (avc_create_thread): Likewise.
11923 (avc_alloc_lock): Likewise.
11924 (nscd_avc_init): Likewise.
11925 * nscd/nscd.c (parent_fd): New static variable.
11926 (main): Create a pipe between parent and child processes.
11927 Skip closing parent_fd.
11928 (monitor_child): New function.
11929 (do_exit): Likewise.
11930 (notify_parent): Likewise.
11931 * nscd/nscd.h (notify_parent): Likewise.
11932 (do_exit): Likewise.
11933
d6285c9f
CD
119342014-03-03 Carlos O'Donell <carlos@redhat.com>
11935
11936 * malloc/malloc.c (__libc_calloc): Revert last change.
11937
2b85d2a0
AZ
119382014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11939
11940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11941
c7debbdf
RS
119422014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11943
11944 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11945 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11946 implementation.
11947 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11948 (__libc_ifunc_impl_list): Likewise.
11949 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11950 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11951 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11952 * string/strrchr.c: Define STRRCHR.
11953
235eed86
OB
119542014-02-28 Ondřej Bílka <neleai@seznam.cz>
11955
11956 * benchtest/bench-strtok.c (simple_strtok): Delete.
11957 (strtok_string): Use as benchmark.
11958 * string/strtok (STRTOK): New macro.
11959
8e25d1e7
CD
119602014-02-28 Carlos O'Donell <carlos@redhat.com>
11961
ef563f92
CD
11962 * manual/threads.texi: Add header and standard comments to all
11963 functions.
11964
8e25d1e7
CD
11965 * elf/dl-lookup.c (check_match): New function.
11966 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11967 (do_lookup_x): Remove nested function check_match. Use non-nested
11968 function check_match.
11969
ff71cc37
RM
119702014-02-28 Roland McGrath <roland@hack.frob.com>
11971
f08e9a26
RM
11972 * csu/Makefile (generated, before-compile): Use += rather than =.
11973 * catgets/Makefile (generated, generated-dirs): Likewise.
11974 * debug/Makefile (generated): Likewise.
11975 * dlfcn/Makefile (generated): Likewise.
11976 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
11977 * iconvdata/Makefile (before-compile, generated): Likewise.
11978 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
11979 * libio/Makefile (generated): Likewise.
11980 * malloc/Makefile (generated): Likewise.
11981 * manual/Makefile (generated, generated-dirs): Likewise.
11982 * misc/Makefile (generated): Likewise.
11983 * posix/Makefile (generated): Likewise.
11984 * resolv/Makefile (generated): Likewise.
11985 * sunrpc/Makefile (generated, generated-dirs): Likewise.
11986 * timezone/Makefile (generated, generated-dirs): Likewise.
11987
ff71cc37
RM
11988 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
11989
fe13a20c
AZ
119902014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11991
57f41c40
AS
11992 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11993 power8 implementation.
11994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11995 file: POWER8 llround ifunc implementation.
11996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11997 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
11998 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11999 POWER8 llround implementation.
12000
57f41c40
AS
12001 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
12002 power8 implementation.
12003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
12004 file: POWER8 llrint ifunc implementation.
12005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
12006 Add POWER8 implementation.
1ad8950a
AZ
12007 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
12008 POWER8 llrint implementation.
12009
57f41c40
AS
12010 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
12011 power8 implementation.
12012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
12013 file: POWER8 finite ifunc implementation.
12014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
12015 Add POWER8 implementation.
cac626d6
AZ
12016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
12017 Likewise.
12018 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
12019 POWER8 finite implementation.
12020 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
12021
57f41c40
AS
12022 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
12023 power8 implementation.
12024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
12025 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
12026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
12027 POWER8 implementation.
12028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
12029 Likewise.
57f41c40
AS
12030 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
12031 isinf implementation.
4393fc11
AZ
12032 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
12033
57f41c40
AS
12034 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
12035 (INIT_ARCH): Add hwcap2 initialization.
12036 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12037 power8 implementation.
12038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
12039 file: POWER8 isnan ifunc implementation.
487972ae
AZ
12040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
12041 POWER8 implementation.
12042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
12043 Likewise.
57f41c40
AS
12044 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
12045 isnan implementation.
487972ae
AZ
12046 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
12047
7d92b787
JY
120482014-02-27 Joey Ye <joey.ye@arm.com>
12049
12050 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12051 (_FP_NANFRAC_Q): Set to zero.
12052
1cadc858
SP
120532014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12054
12055 [BZ #16623]
12056 * math/auto-libm-test-in: New test inputs.
12057 * math/auto-libm-test-out: Regenerate.
12058 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
12059 and DA.
12060 (__cos): Likewise.
12061 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12062
f8c17e79
JM
120632014-02-27 Joseph Myers <joseph@codesourcery.com>
12064
12065 * scripts/evaluate-test.sh: Take new argument indicating whether
12066 failure is expected.
12067 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
12068 indicating whether failure is expected.
12069 * conform/Makefile (test-xfail-run-conformtest): New variable.
12070 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
12071 level.
12072 * posix/Makefile (test-xfail-annexc): New variable.
12073 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
12074
a5f891ac
JM
120752014-02-26 Joseph Myers <joseph@codesourcery.com>
12076
12077 * argp/Makefile: Include Makeconfig immediately after defining
12078 subdir.
12079 * assert/Makefile: Likewise.
12080 * benchtests/Makefile: Likewise.
12081 * catgets/Makefile: Likewise.
12082 * conform/Makefile: Likewise.
12083 * crypt/Makefile: Likewise.
12084 * csu/Makefile: Likewise.
12085 (all): Remove target.
12086 * ctype/Makefile: Include Makeconfig immediately after defining
12087 subdir.
12088 * debug/Makefile: Likewise.
12089 * dirent/Makefile: Likewise.
12090 * dlfcn/Makefile: Likewise.
12091 * gmon/Makefile: Likewise.
12092 * gnulib/Makefile: Likewise.
12093 * grp/Makefile: Likewise.
12094 * gshadow/Makefile: Likewise.
12095 * hesiod/Makefile: Likewise.
12096 * hurd/Makefile: Likewise.
12097 (all): Remove target.
12098 * iconvdata/Makefile: Include Makeconfig immediately after
12099 defining subdir.
12100 * inet/Makefile: Likewise.
12101 * intl/Makefile: Likewise.
12102 * io/Makefile: Likewise.
12103 * libio/Makefile: Likewise.
12104 (all): Remove target.
12105 * locale/Makefile: Include Makeconfig immediately after defining
12106 subdir.
12107 * login/Makefile: Likewise.
12108 * mach/Makefile: Likewise.
12109 (all): Remove target.
12110 * malloc/Makefile: Include Makeconfig immediately after defining
12111 subdir.
12112 (all): Remove target.
12113 * manual/Makefile: Include Makeconfig immediately after defining
12114 subdir.
12115 * math/Makefile: Likewise.
12116 * misc/Makefile: Likewise.
12117 * nis/Makefile: Likewise.
12118 * nss/Makefile: Likewise.
12119 * po/Makefile: Likewise.
12120 (all): Remove target.
12121 * posix/Makefile: Include Makeconfig immediately after defining
12122 subdir.
12123 * pwd/Makefile: Likewise.
12124 * resolv/Makefile: Likewise.
12125 * resource/Makefile: Likewise.
12126 * rt/Makefile: Likewise.
12127 * setjmp/Makefile: Likewise.
12128 * shadow/Makefile: Likewise.
12129 * signal/Makefile: Likewise.
12130 * socket/Makefile: Likewise.
12131 * soft-fp/Makefile: Likewise.
12132 * stdio-common/Makefile: Likewise.
12133 * stdlib/Makefile: Likewise.
12134 * streams/Makefile: Likewise.
12135 * string/Makefile: Likewise.
12136 * sunrpc/Makefile: Likewise.
12137 (all): Remove target.
12138 * sysvipc/Makefile: Include Makeconfig immediately after defining
12139 subdir.
12140 * termios/Makefile: Likewise.
12141 * time/Makefile: Likewise.
12142 * timezone/Makefile: Likewise.
12143 (all): Remove target.
12144 * wcsmbs/Makefile: Include Makeconfig immediately after defining
12145 subdir.
12146 * wctype/Makefile: Likewise.
12147
5b456e9d
SE
121482014-02-26 Steve Ellcey <sellcey@mips.com>
12149
12150 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12151 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12152 (libc_feholdexcept_setround_mips): Ditto.
12153 (libc_feholdsetround): New.
12154 (libc_feholdsetroundf): New.
12155 (libc_feholdsetroundl): New.
12156 (libc_feupdateenv_test_mips): New.
12157 (libc_feupdateenv_test): New.
12158 (libc_feupdateenv_testf): New.
12159 (libc_feupdateenv_testl): New.
12160 (libc_feresetround): New.
12161 (libc_feresetroundf): New.
12162 (libc_feresetroundl): New.
12163 (libc_fetestexcept_mips): New.
12164 (libc_fetestexcept): New.
12165 (libc_fetestexceptf): New.
12166 (libc_fetestexceptl): New.
12167 (HAVE_RM_CTX): New.
12168 (libc_feholdexcept_setround_mips_ctx): New.
12169 (libc_feholdexcept_setround_ctx): New.
12170 (libc_feholdexcept_setroundf_ctx): New.
12171 (libc_feholdexcept_setroundl_ctx): New.
12172 (libc_fesetenv_mips_ctx): New.
12173 (libc_fesetenv_ctx): New.
12174 (libc_fesetenv_ctxf): New.
12175 (libc_fesetenv_ctxl): New.
12176 (libc_feupdateenv_mips_ctx): New.
12177 (libc_feupdateenv_ctx): New.
12178 (libc_feupdateenvf_ctx): New.
12179 (libc_feupdateenvl_ctx): New.
12180 (libc_feholdsetround_mips_ctx): New.
12181 (libc_feholdsetround_ctx): New.
12182 (libc_feholdsetroundf_ctx): New.
12183 (libc_feholdsetroundl_ctx): New.
12184 (libc_feresetround_mips_ctx): New.
12185 (libc_feresetround_ctx): New.
12186 (libc_feresetroundf_ctx): New.
12187 (libc_feresetroundl_ctx): New.
12188
085d0e35
CD
121892014-02-26 Carlos O'Donell <carlos@redhat.com>
12190
f067bf1f
CD
12191 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12192
085d0e35
CD
12193 * manual/ipc.texi: New file.
12194 * manual/Makefile (chapters): Add ipc.
12195 * manual/job.texi: Add "Inter-Process Communication" to next.
12196 * manual/process.texi: Add "Inter-Process Communication" to prev.
12197
86e58c08
AZ
121982014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12199
12200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12201
4248f0da
OB
122022014-02-26 Ondřej Bílka <neleai@seznam.cz>
12203
12204 * malloc/malloc.c (__libc_calloc): Simplify implementation.
12205
cf822e3c
OB
12206 * manual/arith.texi: Fix spaces after sentences.
12207 * manual/charset.texi: Likewise.
12208 * manual/errno.texi: Likewise.
12209 * manual/install.texi: Likewise.
12210 * manual/llio.texi: Likewise.
12211 * manual/locale.texi: Likewise.
12212 * manual/maint.texi: Likewise.
12213 * manual/math.texi: Likewise.
12214 * manual/memory.texi: Likewise.
12215 * manual/message.texi: Likewise.
12216 * manual/probes.texi: Likewise.
12217 * manual/resource.texi: Likewise.
12218 * manual/signal.texi: Likewise.
12219 * manual/socket.texi: Likewise.
12220 * manual/stdio.texi: Likewise.
12221 * manual/string.texi: Likewise.
12222 * manual/time.texi: Likewise.
12223 * manual/users.texi: Likewise.
12224
ade40b10
CD
122252014-02-25 Carlos O'Donell <carlos@redhat.com>
12226
12227 [BZ #16632]
12228 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12229 _DEFAULT_SOURCE is defined.
12230
d0503676
CD
122312014-02-25 Ulrich Drepper <drepper@gmail.com>
12232 Carlos O'Donell <carlos@redhat.com>
12233
12234 [BZ #16613]
12235 * elf/dl-tls.c (_dl_count_modids): New function.
12236 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12237 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12238 audit library and increment generation counter.
12239 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12240 * elf/tst-audit9.c: New file.
12241 * elf/tst-auditmod9a.c: New file.
12242 * elf/tst-auditmod9b.c: New file.
12243 * elf/Makefile: Add rules to build and run tst-audit9.
12244
4cbf380c
FW
122452014-02-25 Florian Weimer <fweimer@redhat.com>
12246
12247 [BZ #15347]
12248 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12249
80a56cc3
WN
122502014-02-25 Will Newton <will.newton@linaro.org>
12251
12252 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12253 (__longjmp): Restore sp and lr before restoring callee
12254 saved registers. Add longjmp and longjmp_target
12255 SystemTap probe point.
12256 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12257 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12258 Define to zero to match jmpbuf layout.
12259 * sysdeps/arm/setjmp.S: Include stap-probe.h.
12260 (__sigsetjmp): Save sp and lr before saving callee
12261 saved registers. Add setjmp SystemTap probe point.
12262
3ea0f74e
SL
122632014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12264
12265 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12266
b04acb26
AS
122672014-02-24 Andreas Schwab <schwab@suse.de>
12268
12269 [BZ #15804]
12270 * elf/pldd.c (wait_for_ptrace_stop): New function.
12271 (main): Call it after attaching.
12272
098ad55c
RM
122732014-02-22 Roland McGrath <roland@hack.frob.com>
12274
d4ec6ae1
RM
12275 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12276 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12277 Versions files is now verboten.
12278 * hurd/Versions (libc: GLIBC_2.0):
12279 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12280 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12281 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12282 * mach/Versions: Likewise.
12283
098ad55c
RM
12284 * csu/Versions: Remove unused %include.
12285 * resolv/Versions: Likewise.
12286
acd7f096
JM
122872014-02-21 Joseph Myers <joseph@codesourcery.com>
12288
f0881698
JM
12289 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12290 ($(objpfx)check-local-headers.out): Likewise.
12291 ($(objpfx)begin-end-check.out): Likewise.
12292 * Makerules (check-abi-%.out): Likewise.
12293 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12294 ($(objpfx)test2.cat): Likewise.
12295 ($(objpfx)de/libc.cat): Likewise.
12296 ($(objpfx)test-gencat.out): Likewise.
12297 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12298 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12299 ($(objpfx)noload-mem): Likewise.
12300 ($(objpfx)tst-pathopt.out): Likewise.
12301 ($(objpfx)tst-rtld-load-self.out): Likewise.
12302 ($(objpfx)tst-array1-cmp.out): Likewise.
12303 ($(objpfx)tst-array1-static-cmp.out): Likewise.
12304 ($(objpfx)tst-array2-cmp.out): Likewise.
12305 ($(objpfx)tst-array3-cmp.out): Likewise.
12306 ($(objpfx)tst-array4-cmp.out): Likewise.
12307 ($(objpfx)tst-array5-cmp.out): Likewise.
12308 ($(objpfx)tst-array5-static-cmp.out): Likewise.
12309 ($(objpfx)check-textrel.out): Likewise.
12310 ($(objpfx)check-execstack.out): Likewise.
12311 ($(objpfx)check-localplt.out): Likewise.
12312 ($(objpfx)order2-cmp.out): Likewise.
12313 ($(objpfx)tst-leaks1-mem): Likewise.
12314 ($(objpfx)tst-leaks1-static-mem): Likewise.
12315 ($(objpfx)tst-initorder-cmp.out): Likewise.
12316 ($(objpfx)tst-initorder2-cmp.out): Likewise.
12317 ($(objpfx)tst-unused-dep.out): Likewise.
12318 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12319 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12320 * iconv/Makefile (test-iconvconfig): Likewise.
12321 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12322 ($(objpfx)iconv-test.out): Likewise.
12323 ($(objpfx)tst-tables.out): Likewise.
12324 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12325 ($(objpfx)tst-gettext.out): Likewise.
12326 ($(objpfx)tst-translit.out): Likewise.
12327 ($(objpfx)tst-gettext2.out): Likewise.
12328 ($(objpfx)tst-gettext4.out): Likewise.
12329 ($(objpfx)tst-gettext6.out): Likewise.
12330 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12331 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12332 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12333 ($(objpfx)tst-fopenloc-mem.out): Likewise.
12334 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12335 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12336 * posix/Makefile ($(objpfx)globtest.out): Likewise.
12337 ($(objpfx)wordexp-tst.out): Likewise.
12338 ($(objpfx)annexc.out): Likewise.
12339 ($(objpfx)tst-fnmatch-mem): Likewise.
12340 ($(objpfx)bug-regex2-mem): Likewise.
12341 ($(objpfx)bug-regex14-mem): Likewise.
12342 ($(objpfx)bug-regex21-mem): Likewise.
12343 ($(objpfx)bug-regex31-mem): Likewise.
12344 ($(objpfx)tst-vfork3-mem): Likewise.
12345 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12346 ($(objpfx)tst-pcre-mem): Likewise.
12347 ($(objpfx)tst-boost-mem): Likewise.
12348 ($(objpfx)tst-getconf.out): Likewise.
12349 ($(objpfx)bug-ga2-mem): Likewise.
12350 ($(objpfx)bug-glob2-mem): Likewise.
12351 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12352 ($(objpfx)mtrace-tst-leaks2): Likewise.
12353 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12354 ($(objpfx)tst-printf.out): Likewise.
12355 ($(objpfx)tst-setvbuf1.out): Likewise.
12356 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12357 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12358 ($(objpfx)tst-fmtmsg.out): Likewise.
12359 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12360 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12361
acd7f096
JM
12362 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12363 * bits/sigaction.h [__USE_MISC]: Likewise.
12364 * bits/waitstatus.h: Update #endif comments.
12365 * ctype/ctype.h: Likewise.
12366 * dirent/dirent.h: Likewise.
12367 [__USE_MISC]: Remove redundant conditionals.
12368 * grp/grp.h: Update #endif comments.
12369 [__USE_GNU]: Remove redundant conditionals.
12370 [__USE_MISC]: Likewise.
12371 * inet/netinet/in.h [__USE_GNU]: Likewise.
12372 * io/sys/stat.h [__USE_MISC]: Likewise.
12373 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12374 * libio/bits/stdio.h: Update #endif comments.
12375 [__USE_MISC]: Remove redundant conditionals.
12376 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12377 * libio/stdio.h: Update #endif comments.
12378 [__USE_MISC]: Remove redundant conditionals.
12379 * math/bits/math-finite.h [__USE_MISC]: Likewise.
12380 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12381 * math/math.h: Update #else and #endif comments.
12382 [__USE_MISC]: Remove redundant conditionals.
12383 * misc/sys/uio.h: Update #endif comments.
12384 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12385 * posix/glob.h [__USE_MISC]: Likewise.
12386 * posix/sys/types.h: Update #endif comments.
12387 [__USE_MISC]: Remove redundant conditionals.
12388 * posix/sys/wait.h: Update #endif comments.
12389 [__USE_MISC]: Remove redundant conditionals.
12390 * posix/unistd.h: Update #endif comments.
12391 [__USE_MISC]: Remove redundant conditionals.
12392 * pwd/pwd.h [__USE_GNU]: Likewise.
12393 [__USE_MISC]: Likewise.
12394 * resolv/netdb.h [__USE_GNU]: Likewise.
12395 * signal/signal.h: Update #endif comments.
12396 [__USE_MISC]: Remove redundant conditionals.
12397 * stdlib/stdlib.h: Update #else and #endif comments.
12398 [__USE_MISC]: Remove redundant conditionals.
12399 [__USE_GNU]: Likewise.
12400 * string/bits/string2.h [__USE_MISC]: Likewise.
12401 * string/string.h: Update #endif comments.
12402 [__USE_MISC]: Remove redundant conditionals.
12403 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12404 Likewise.
12405 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12406 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12407 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12408 Likewise.
12409 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12410 Likewise.
12411 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12412 comments.
12413 [__USE_MISC]: Remove redundant conditionals.
12414 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12415 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12416 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12417 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12418 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12419 Likewise.
12420 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12421 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12422 Likewise.
12423 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12424 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12425 Likewise.
12426 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12427 Likewise.
12428 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12429 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12430 Likewise.
12431 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12432 Likewise.
12433 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12434 * sysdeps/x86/bits/string.h: Update #endif comments.
12435 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12436 conditionals.
12437 * time/sys/time.h: Update #endif comments.
12438 * time/time.h: Likewise.
12439 [__USE_MISC]: Remove redundant conditionals.
12440
a5d82e4e
YG
124412014-02-21 Yury Gribov <y.gribov@samsung.com>
12442
12443 [BZ #16600]
12444 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12445
9a80491d
AS
124462014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12447
12448 * Versions.def (librt): Add GLIBC_2.17.
12449
105fa381
AC
124502014-02-21 Adam Conrad <adconrad@0c3.net>
12451
12452 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12453 synonym for _SYS_AUXV_H to allow direct inclusion.
12454 * sysdeps/sparc/bits/hwcap.h: Likewise.
12455 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12456 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12457 * sysdeps/sparc/sysdep.h: Likewise.
12458
b8cd1c4e
SP
124592014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12460
12461 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12462
bd939d23
RS
124632014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12464
12465 * benchtests/bench-strrchr.c: Print length instead of position.
12466
5d7b57ca
JM
124672014-02-20 Joseph Myers <joseph@codesourcery.com>
12468
bc688c10
JM
12469 [BZ #16611]
12470 * sysdeps/unix/sysv/linux/kernel-features.h
12471 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12472 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12473 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12474 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12475 Likewise.
12476 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12477 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12478 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12479 (__ASSUME_SENDMMSG): Define instead of using previous
12480 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12481 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12482 (__ASSUME_SENDMMSG_SYSCALL): Define.
12483 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12484 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12485 Likewise.
12486 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12487 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12488 Likewise.
12489 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12490 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12491 Likewise.
12492 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12493 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12494 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12495 [__ASSUME_SENDMMSG]: Change conditionals to
12496 [__ASSUME_SENDMMSG_SOCKETCALL].
12497 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12498 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12499 Define.
12500 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12501 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12502 Likewise.
12503 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12504 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12505 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12506 [!__ASSUME_SENDMMSG]: Change conditional to
12507 [!__ASSUME_SENDMMSG_SOCKETCALL].
12508 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12509 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12510 Define.
12511
0e31b18c
JM
12512 [BZ #16610]
12513 * sysdeps/unix/sysv/linux/kernel-features.h
12514 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12515 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12516 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12517 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12518 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12519 [__i386__ || __sparc__]
12520 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12521 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12522 (__ASSUME_RECVMMSG): Define instead of using previous
12523 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12524 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12525 (__ASSUME_RECVMMSG_SYSCALL): Define.
12526 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12527 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12528 Likewise.
12529 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12530 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12531 Likewise.
12532 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12533 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12534 Likewise.
12535 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12536 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12537 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12538 [__ASSUME_RECVMMSG]: Change condition to
12539 [__ASSUME_RECVMMSG_SOCKETCALL].
12540 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12541 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12542 Define.
12543 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12544 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12545 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12546 Likewise.
12547 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12548 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12549 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12550 [!__ASSUME_RECVMMSG]: Change condition to
12551 [!__ASSUME_RECVMMSG_SOCKETCALL].
12552 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12553 (__ASSUME_RECVMMSG_SYSCALL): Define.
12554
dd481ccf
JM
12555 [BZ #16609]
12556 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12557 __powerpc__ || __s390__ || __sh__ || __sparc__]
12558 (__ASSUME_SOCKETCALL): Define.
12559 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12560 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12561 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12562 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12563 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12564 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12565 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12566 (__ASSUME_ACCEPT4): Define instead of using previous
12567 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12568 __powerpc__ || __sparc__ || __s390__)] condition.
12569 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12570 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12571 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12572 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12573 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12574 [!__ASSUME_ACCEPT4]: Change condition to
12575 [!__ASSUME_ACCEPT4_SOCKETCALL].
12576 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12577 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12578 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12579 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12580 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12581 __ASSUME_ACCEPT4_SYSCALL.
12582 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12583 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12584 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12585 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12586 __ASSUME_ACCEPT4_SYSCALL.
12587 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12588 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12589 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12590 [__ASSUME_ACCEPT4]: Change condition to
12591 [__ASSUME_ACCEPT4_SOCKETCALL].
12592 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12593 (__ASSUME_SOCKETCALL): Define.
12594 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12595 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12596 (__ASSUME_SOCKETCALL): Define.
12597 (__ASSUME_ACCEPT4): Remove.
12598 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12599 Define.
12600 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12601 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12602 Likewise.
12603 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12604 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12605
5d7b57ca
JM
12606 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12607 macro.
12608 (HWCAP_ARM_LPAE): Likewise.
12609 (HWCAP_ARM_EVTSTRM): Likewise.
12610 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12611 Add vpfd32, lpae and evtstrm.
12612 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12613 Increase to 22.
12614
63689d61
JM
126152014-02-19 Joseph Myers <joseph@codesourcery.com>
12616
12617 * math/auto-libm-test-in: Add tests of clog10.
12618 * math/auto-libm-test-out: Regenerated.
12619 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12620 * sysdeps/i386/fpu/libm-test-ulps: Update.
12621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12622
ab09bf61
AS
126232014-02-18 Andreas Schwab <schwab@suse.de>
12624
12625 [BZ #16574]
12626 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12627 Store non-zero if the second buffer was newly allocated.
12628 (send_dg): Likewise.
12629 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12630 to send_vc and send_dg.
12631 (res_nsend): Pass NULL for ansp2_malloced.
12632 * resolv/res_query.c (__libc_res_nquery): Add parameter
12633 answerp2_malloced and pass it down to __libc_res_nsend.
12634 (res_nquery): Pass additional NULL to __libc_res_nquery.
12635 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12636 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
12637 second answer buffer if answerp2_malloced was set.
12638 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12639 (__libc_res_nquerydomain): Add parameter
12640 answerp2_malloced and pass it down to __libc_res_nquery.
12641 (res_nquerydomain): Pass additional NULL to
12642 __libc_res_nquerydomain.
12643 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12644 additional NULL to __libc_res_nsend and __libc_res_nquery.
12645 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12646 additional NULL to __libc_res_nsearch.
12647 (_nss_dns_gethostbyname4_r): Revert last change. Use new
12648 parameter of __libc_res_nsearch to check for separately allocated
12649 second buffer.
12650 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12651 __libc_res_nquery.
12652 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12653 additional NULL to __libc_res_nquery.
12654 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12655 __libc_res_nsearch.
12656 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12657 * include/resolv.h: Update prototypes of __libc_res_nquery,
12658 __libc_res_nsearch, __libc_res_nsend.
12659
a4fb7861
JM
126602014-02-18 Joseph Myers <joseph@codesourcery.com>
12661
c6af2d89
JM
12662 * math/auto-libm-test-in: Add tests of fma.
12663 * math/auto-libm-test-out: Regenerated.
12664 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12665 (fma_towardzero_test_data): Likewise.
12666 (fma_downward_test_data): Likewise.
12667 (fma_upward_test_data): Likewise.
12668 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12669 mpc_mode.
12670 (rounding_modes): Add values for new field.
12671 (func_calc_method): Add value mpfr_fff_f.
12672 (func_calc_desc): Add mpfr_fff_f union field.
12673 (test_function): Add field exact_args.
12674 (FUNC): Add macro argument EXACT_ARGS.
12675 (FUNC_mpfr_f_f): Update call to FUNC.
12676 (FUNC_mpfr_f_f): Likewise.
12677 (FUNC_mpfr_ff_f): Likewise.
12678 (FUNC_mpfr_if_f): Likewise.
12679 (FUNC_mpc_c_f): Likewise.
12680 (FUNC_mpc_c_c): Likewise.
12681 (test_functions): Add fma. Update calls to FUNC.
12682 (handle_input_arg): Add argument exact_args.
12683 (add_test): Update call to handle_input_arg.
12684 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
12685 (output_for_one_input_case): Update call to calc_generic_results.
12686 Recalculate exact zero results in each rounding mode.
12687
a4fb7861
JM
12688 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12689 non-negative before setting low bit.
12690 * math/auto-libm-test-in: Mark one asin test possibly having
12691 spurious underflow.
12692 * math/auto-libm-test-out: Regenerated.
12693 * sysdeps/i386/fpu/libm-test-ulps: Update.
12694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12695
ef114eaf
DH
126962014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
12697
2b7f4f2c
SP
12698 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12699 * sysdeps/unix/sysv/linux/microblaze: Move directory from
12700 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
12701 * README: Add missing listing for microblaze*-*-linux-gnu.
12702
8125aedc
AM
127032014-02-16 Ondřej Bílka <neleai@seznam.cz>
12704
12705 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12706 duplicate code
12707
c70a4b1d
MF
127082014-02-16 Mike Frysinger <vapier@gentoo.org>
12709
12710 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12711 * sysdeps/unix/sysv/linux/ia64: Move directory from
12712 ports/sysdeps/unix/sysv/linux/ia64.
12713 * README: Update listing for ia64-*-linux-gnu.
12714
591aeaf7
TD
127152014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
12716 Joseph Myers <joseph@codesourcery.com>
12717
12718 * Makeconfig (test-name): New variable.
12719 (evaluate-test): Likewise.
12720 * Makerules (do-test-clean): Remove .test-result files.
12721 (common-mostlyclean): Likewise.
12722 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12723 * scripts/evaluate-test.sh: New file.
12724
6e89caf1
JM
127252014-02-14 Joseph Myers <joseph@codesourcery.com>
12726
7f98f180
JM
12727 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12728 separate $(objpfx)tst-fopenloc-cmp.out and
12729 $(objpfx)tst-fopenloc-mem.out targets.
12730 (tests): Update dependencies.
12731 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12732 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12733 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12734 (tst-rxspencer-no-utf8-ARGS): New variable.
12735 (tst-rxspencer-no-utf8-ENV): Likewise.
12736 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12737 instead of $(objpfx)tst-rxspencer-mem.
12738 ($(objpfx)tst-rxspencer-mem): Change target to
12739 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
12740 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12741 * posix/tst-rxspencer-no-utf8.c: New file.
12742
6e89caf1
JM
12743 * elf/Makefile ($(objpfx)order.out): Remove rule.
12744 [$(run-built-tests) = yes] (tests): Depend on
12745 $(objpfx)order-cmp.out.
12746 ($(objpfx)order-cmp.out): New rule.
12747 [$(run-built-tests) = yes] (tests): Depend on
12748 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12749 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12750 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12751 $(objpfx)tst-array5-static-cmp.out.
12752 ($(objpfx)tst-array1.out): Remove rule.
12753 ($(objpfx)tst-array1-cmp.out): New rule.
12754 ($(objpfx)tst-array1-static.out): Remove rule.
12755 ($(objpfx)tst-array1-static-cmp.out): New rule.
12756 ($(objpfx)tst-array2.out): Remove rule.
12757 ($(objpfx)tst-array2-cmp.out): New rule.
12758 ($(objpfx)tst-array3.out): Remove rule.
12759 ($(objpfx)tst-array3-cmp.out): New rule.
12760 ($(objpfx)tst-array4.out): Remove rule.
12761 ($(objpfx)tst-array4-cmp.out): New rule.
12762 ($(objpfx)tst-array5.out): Remove rule.
12763 ($(objpfx)tst-array5-cmp.out): New rule.
12764 ($(objpfx)tst-array5-static.out): Remove rule.
12765 ($(objpfx)tst-array5-static-cmp.out): New rule.
12766 [$(run-built-tests) = yes] (tests): Depend on
12767 $(objpfx)order2-cmp.out.
12768 ($(objpfx)order2.out): Remove rule.
12769 ($(objpfx)order2-cmp.out): New rule.
12770 ($(objpfx)tst-initorder.out): Remove rule.
12771 [$(run-built-tests) = yes] (tests): Depend on
12772 $(objpfx)tst-initorder-cmp.out.
12773 ($(objpfx)tst-initorder-cmp.out): New rule.
12774 ($(objpfx)tst-initorder2.out): Remove rule.
12775 [$(run-built-tests) = yes] (tests): Depend on
12776 $(objpfx)tst-initorder2-cmp.out.
12777 ($(objpfx)tst-initorder2-cmp.out): New rule.
12778 [$(run-built-tests) = yes] (tests): Depend on
12779 $(objpfx)tst-unused-dep-cmp.out.
12780 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12781 ($(objpfx)tst-unused-dep-cmp.out): New rule.
12782 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12783 on $(objpfx)tst-setvbuf1-cmp.out.
12784 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12785 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12786 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12787 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12788 ($(objpfx)tst-svc.out): Remove rule.
12789 ($(objpfx)tst-svc-cmp.out): New rule.
12790
ed9a38e2
JM
127912014-02-13 Joseph Myers <joseph@codesourcery.com>
12792
12793 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12794 * ctype/ctype.h [__USE_MISC]: Likewise.
12795 * dirent/dirent.h [__USE_MISC]: Likewise.
12796 * grp/grp.h [__USE_MISC]: Likewise.
12797 * io/fcntl.h [__USE_MISC]: Likewise.
12798 * io/sys/stat.h [__USE_MISC]: Likewise.
12799 * libio/stdio.h [__USE_MISC]: Likewise.
12800 * posix/unistd.h [__USE_MISC]: Likewise.
12801 * pwd/pwd.h [__USE_MISC]: Likewise.
12802 * stdlib.h [__USE_MISC]: Likewise.
12803 * string/bits/string2.h [__USE_MISC]: Likewise.
12804 * string/string.h [__USE_MISC]: Likewise.
12805 * time/time.h [__USE_MISC]: Likewise.
12806
d6680619
AS
128072014-02-13 Andreas Schwab <schwab@suse.de>
12808
12809 [BZ #16574]
12810 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12811 second answer buffer if it was separately allocated.
12812
ace614b8
JM
128132014-02-12 Joseph Myers <joseph@codesourcery.com>
12814
743151ae
JM
12815 * sysdeps/mips/math-tests.h: Include <features.h>.
12816 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12817 (ROUNDING_TESTS_long_double): Do not define.
12818 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12819 (EXCEPTION_TESTS_long_double): Likewise.
12820 * sysdeps/mips/mips64/libm-test-ulps: Update.
12821
498afc54
JM
12822 * include/features.h (__USE_BSD): Remove macro definitions.
12823 (__USE_SVID): Likewise.
12824 (_BSD_SOURCE): Likewise.
12825 (_SVID_SOURCE): Likewise.
12826 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12827 from definition of _DEFAULT_SOURCE.
12828 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12829 [_DEFAULT_SOURCE].
12830 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12831 * bits/mman.h [__USE_BSD]: Likewise.
12832 * bits/termios.h [__USE_BSD]: Likewise.
12833 * bits/waitstatus.h [__USE_BSD]: Likewise.
12834 * ctype/ctype.h [__USE_SVID]: Likewise.
12835 * dirent/dirent.h [__USE_BSD]: Likewise.
12836 * grp/grp.h [__USE_SVID]: Likewise.
12837 [__USE_BSD]: Likewise.
12838 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12839 * io/fcntl.h [__USE_BSD]: Likewise.
12840 * io/ftw.h [__USE_BSD]: Likewise.
12841 * io/sys/stat.h [__USE_BSD]: Likewise.
12842 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12843 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12844 * libio/stdio.h [__USE_SVID]: Likewise.
12845 [__USE_BSD]: Likewise.
12846 * math/math.h [__USE_SVID]: Likewise.
12847 [__USE_BSD]: Likewise.
12848 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12849 * misc/bits/syslog.h [__USE_BSD]: Likewise.
12850 * misc/search.h [__USE_SVID]: Likewise.
12851 * misc/sys/mman.h [__USE_BSD]: Likewise.
12852 * misc/sys/syslog.h [__USE_BSD]: Likewise.
12853 * misc/sys/uio.h [__USE_BSD]: Likewise.
12854 * posix/bits/unistd.h [__USE_BSD]: Likewise.
12855 * posix/glob.h [__USE_BSD]: Likewise.
12856 * posix/regex.h [__USE_BSD]: Likewise.
12857 * posix/sys/types.h [__USE_BSD]: Likewise.
12858 [__USE_SVID]: Likewise.
12859 * posix/sys/utsname.h [__USE_SVID]: Likewise.
12860 * posix/sys/wait.h [__USE_BSD]: Likewise.
12861 [__USE_SVID]: Likewise.
12862 * posix/unistd.h [__USE_BSD]: Likewise.
12863 [__USE_SVID]: Likewise.
12864 * pwd/pwd.h [__USE_SVID]: Likewise.
12865 * resolv/netdb.h [__USE_BSD]: Likewise.
12866 * setjmp/setjmp.h [__USE_BSD]: Likewise.
12867 * signal/signal.h [__USE_BSD]: Likewise.
12868 [__USE_SVID]: Likewise.
12869 * socket/sys/socket.h [__USE_BSD]: Likewise.
12870 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12871 * stdlib/stdlib.h [__USE_BSD]: Likewise.
12872 [__USE_SVID]: Likewise.
12873 * string/bits/string2.h [__USE_BSD]: Likewise.
12874 [__USE_SVID]: Likewise.
12875 * string/bits/string3.h [__USE_BSD]: Likewise.
12876 * string/endian.h [__USE_BSD]: Likewise.
12877 * string/string.h [__USE_SVID]: Likewise.
12878 [__USE_BSD]: Likewise.
12879 * string/strings.h [__USE_BSD]: Likewise.
12880 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12881 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12882 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12883 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12884 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12885 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12886 Likewise.
12887 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12888 Likewise.
12889 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12890 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12891 Likewise.
12892 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12893 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12894 Likewise.
12895 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12896 Likewise.
12897 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12898 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12899 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12900 Likewise.
12901 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12902 Likewise.
12903 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12904 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12905 * termios/termios.h [__USE_BSD]: Likewise.
12906 * time/sys/time.h [__USE_BSD]: Likewise.
12907 * time/time.h [__USE_BSD]: Likewise.
12908 [__USE_SVID]: Likewise.
12909
dd7b064c
JM
12910 * Makefile (subdir_targets): Remove subdir_lint.out.
12911
a2c4c199
JM
12912 * stdio-common/Makefile (do-tst-unbputc): Remove target.
12913 (do-tst-printf): Likewise.
12914 (tests): Depend directly on $(objpfx)tst-unbputc.out and
12915 $(objpfx)tst-printf.out.
12916
8756f740
JM
12917 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12918
1b6dd3f1
JM
12919 * Makerules (check-abi-%): Change target to
12920 $(objpfx)check-abi-%.out.
12921 (check-abi target): Update dependencies.
12922 (check-abi-pattern variable): Redirect output of diff to $@.
12923 (check-abi variable): Likewise.
12924 * elf/Makefile (check-abi): Update dependencies.
12925
ace614b8
JM
12926 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12927 unused.
12928 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12929 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12930 subnormal range.
12931 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12932 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12933 value has largest subnormal exponent.
12934 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12935 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12936 * sysdeps/aarch64/soft-fp/sfp-machine.h
12937 (_FP_TININESS_AFTER_ROUNDING): New macro.
12938 * sysdeps/alpha/soft-fp/sfp-machine.h
12939 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12940 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12941 Likewise.
12942 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12943 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12944 * sysdeps/mips/soft-fp/sfp-machine.h
12945 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12946 * sysdeps/powerpc/soft-fp/sfp-machine.h
12947 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12948 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12949 Likewise.
12950 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12951 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12952 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12953 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12954 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12955 Likewise.
12956
fbfdf9cb
DAS
129572014-02-12 Dylan Alex Simon <dylan@dylex.net>
12958
12959 [BZ #16545]
12960 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12961 model 1.
12962
68b7efaa
RH
129632014-02-12 Richard Henderson <rth@redhat.com>
12964
c70a4b1d 12965 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
12966 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12967 * sysdeps/unix/sysv/linux/alpha: Move directory from
12968 ports/sysdeps/unix/sysv/linux/alpha.
12969 * README: Update listing for alpha-*-linux-gnu.
12970
cb4a2928
JM
129712014-02-11 Joseph Myers <joseph@codesourcery.com>
12972
c941736c
JM
12973 * include/features.h: Update comment documenting feature test
12974 macros.
12975 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
12976 _DEFAULT_SOURCE.
12977 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
12978 (_SVID_SOURCE): Likewise.
12979 (_DEFAULT_SOURCE): Update description of default features.
12980 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12981 with _GNU_SOURCE.
12982 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
12983 (S_ISVTX): Likewise.
12984 * manual/math.texi (Mathematical Constants): Likewise.
12985 * manual/signal.texi (Interrupted Primitives): Likewise.
12986 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
12987 * math/test-matherr.c (_SVID_SOURCE): Do not define.
12988 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
12989 Don't refer to _SVID_SOURCE in warning text.
12990
e8d8d7ec
JM
12991 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12992
cb4a2928
JM
12993 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12994 already defined.
12995 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12996 * sysdeps/mips/dl-lookup.c: Remove.
12997 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12998
7e6424e3
AK
129992014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13000
13001 [BZ #16447]
13002 * math/auto-libm-test-in: Add testcase for expl.
13003 * math/auto-libm-test-out: Regenerate.
13004 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
13005 calculation of unsafe.
13006 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
13007
75eff3fe
MS
130082014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
13009
13010 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
13011 * sysdeps/unix/sysv/linux/aarch64: Move directory from
13012 ports/sysdeps/unix/sysv/linux/aarch64.
13013 * README: Update listing for aarch64*-*-linux-gnu.
13014
d35f1e80
WN
130152014-02-11 Will Newton <will.newton@linaro.org>
13016
13017 * manual/probes.texi (Mathematical Function Probes): Use
13018 "triggered" instead of "hit".
13019
7b3436d4
WN
13020 * manual/probes.texi (Internal Probes): Add documentation
13021 of setjmp, longjmp and longjmp_target probes.
13022
b4f12ca3
WN
13023 * include/stap-probe.h: Add comment about probe argument
13024 format.
13025
c13a72b7
WN
13026 * malloc/mtrace.c (attribute_hidden): Remove unused macro
13027 definition. (tr_where, tr_freehook, tr_mallochook,
13028 tr_reallochook, tr_memalignhook): Use ANSI protoype.
13029
195b8165
DM
130302014-02-11 David S. Miller <davem@davemloft.net>
13031
13032 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
13033 processing int_tests.
13034
2ad7600b
JM
130352014-02-10 Joseph Myers <joseph@codesourcery.com>
13036
13037 * sysdeps/mips: Move directory from ports/sysdeps/mips.
13038 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
13039 * sysdeps/unix/sysv/linux/mips: Move directory from
13040 ports/sysdeps/unix/sysv/linux/mips.
13041 * README: Update listing for mips-*-linux-gnu and
13042 mips64-*-linux-gnu.
13043
73588a72
AS
130442014-02-10 Andreas Schwab <schwab@linux-m68k.org>
13045
13046 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
13047 * sysdeps/unix/sysv/linux/m68k: Move directory from
13048 ports/sysdeps/unix/sysv/linux/m68k.
13049 * README: Update listing for m68k-*-linux-gnu.
13050
4372980f
CM
130512014-02-10 Chris Metcalf <cmetcalf@tilera.com>
13052
13053 * sysdeps/tile: Move directory from ports/sysdeps/tile.
13054 * sysdeps/unix/sysv/linux/generic: Move directory from
13055 ports/sysdeps/unix/sysv/linux/generic.
13056 * sysdeps/unix/sysv/linux/tile: Move directory from
13057 ports/sysdeps/unix/sysv/linux/tile.
13058 * README: Update listing for tile*-*-linux-gnu.
13059
a1ffb40e
OB
130602014-02-10 Ondřej Bílka <neleai@seznam.cz>
13061
57f41c40
AS
13062 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
13063 __builtin_expect.
a1ffb40e
OB
13064 * benchtests/bench-memmem.c (simple_memmem): Likewise.
13065 * catgets/open_catalog.c (__open_catalog): Likewise.
13066 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
13067 * debug/confstr_chk.c: Likewise.
13068 * debug/fread_chk.c (__fread_chk): Likewise.
13069 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
13070 * debug/getgroups_chk.c: Likewise.
13071 * debug/mbsnrtowcs_chk.c: Likewise.
13072 * debug/mbsrtowcs_chk.c: Likewise.
13073 * debug/mbstowcs_chk.c: Likewise.
13074 * debug/memcpy_chk.c: Likewise.
13075 * debug/memmove_chk.c: Likewise.
13076 * debug/mempcpy_chk.c: Likewise.
13077 * debug/memset_chk.c: Likewise.
13078 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13079 * debug/strcat_chk.c (__strcat_chk): Likewise.
13080 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
13081 * debug/strncat_chk.c (__strncat_chk): Likewise.
13082 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
13083 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
13084 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
13085 * debug/wcpncpy_chk.c: Likewise.
13086 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13087 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
13088 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
13089 * debug/wcsncpy_chk.c: Likewise.
13090 * debug/wcsnrtombs_chk.c: Likewise.
13091 * debug/wcsrtombs_chk.c: Likewise.
13092 * debug/wcstombs_chk.c: Likewise.
13093 * debug/wmemcpy_chk.c: Likewise.
13094 * debug/wmemmove_chk.c: Likewise.
13095 * debug/wmempcpy_chk.c: Likewise.
13096 * debug/wmemset_chk.c: Likewise.
13097 * dirent/scandirat.c (SCANDIRAT): Likewise.
13098 * dlfcn/dladdr1.c (dladdr1): Likewise.
13099 * dlfcn/dladdr.c (dladdr): Likewise.
13100 * dlfcn/dlclose.c (dlclose_doit): Likewise.
13101 * dlfcn/dlerror.c (__dlerror): Likewise.
13102 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
13103 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13104 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13105 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
13106 * dlfcn/dlsym.c (dlsym_doit): Likewise.
13107 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
13108 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
13109 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
13110 Likewise.
13111 * elf/dl-conflict.c: Likewise.
13112 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
13113 * elf/dl-dst.h: Likewise.
13114 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
13115 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
13116 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
13117 * elf/dl-init.c (call_init, _dl_init): Likewise.
13118 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
13119 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13120 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13121 Likewise.
a1ffb40e
OB
13122 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13123 Likewise.
13124 * elf/dl-minimal.c (__libc_memalign): Likewise.
13125 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13126 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13127 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13128 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
13129 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13130 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
13131 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13132 * elf/dl-writev.h (_dl_writev): Likewise.
13133 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
13134 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13135 (dl_main): Likewise.
a1ffb40e
OB
13136 * elf/setup-vdso.h (setup_vdso): Likewise.
13137 * grp/compat-initgroups.c (compat_call): Likewise.
13138 * grp/fgetgrent.c (fgetgrent): Likewise.
13139 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13140 * grp/putgrent.c (putgrent): Likewise.
13141 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13142 Likewise.
13143 * hurd/hurdinit.c: Likewise.
13144 * iconvdata/8bit-gap.c (struct): Likewise.
13145 * iconvdata/ansi_x3.110.c : Likewise.
13146 * iconvdata/big5.c : Likewise.
13147 * iconvdata/big5hkscs.c : Likewise.
13148 * iconvdata/cp1255.c: Likewise.
13149 * iconvdata/cp1258.c : Likewise.
13150 * iconvdata/cp932.c : Likewise.
13151 * iconvdata/euc-cn.c: Likewise.
13152 * iconvdata/euc-jisx0213.c : Likewise.
13153 * iconvdata/euc-jp.c: Likewise.
13154 * iconvdata/euc-jp-ms.c : Likewise.
13155 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13156 * iconvdata/gb18030.c : Likewise.
13157 * iconvdata/gbbig5.c (const): Likewise.
13158 * iconvdata/gbgbk.c: Likewise.
13159 * iconvdata/gbk.c : Likewise.
13160 * iconvdata/ibm1364.c : Likewise.
13161 * iconvdata/ibm930.c : Likewise.
13162 * iconvdata/ibm932.c: Likewise.
13163 * iconvdata/ibm933.c : Likewise.
13164 * iconvdata/ibm935.c : Likewise.
13165 * iconvdata/ibm937.c : Likewise.
13166 * iconvdata/ibm939.c : Likewise.
13167 * iconvdata/ibm943.c: Likewise.
13168 * iconvdata/iso_11548-1.c: Likewise.
13169 * iconvdata/iso-2022-cn.c : Likewise.
13170 * iconvdata/iso-2022-cn-ext.c : Likewise.
13171 * iconvdata/iso-2022-jp-3.c: Likewise.
13172 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13173 * iconvdata/iso-2022-kr.c : Likewise.
13174 * iconvdata/iso646.c (gconv_end): Likewise.
13175 * iconvdata/iso_6937-2.c : Likewise.
13176 * iconvdata/iso_6937.c : Likewise.
13177 * iconvdata/iso8859-1.c: Likewise.
13178 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13179 * iconvdata/shift_jisx0213.c : Likewise.
13180 * iconvdata/sjis.c : Likewise.
13181 * iconvdata/t.61.c : Likewise.
13182 * iconvdata/tcvn5712-1.c : Likewise.
13183 * iconvdata/tscii.c: Likewise.
13184 * iconvdata/uhc.c : Likewise.
13185 * iconvdata/unicode.c (gconv_end): Likewise.
13186 * iconvdata/utf-16.c (gconv_end): Likewise.
13187 * iconvdata/utf-32.c (gconv_end): Likewise.
13188 * iconvdata/utf-7.c (base64): Likewise.
13189 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13190 * iconv/gconv_close.c (__gconv_close): Likewise.
13191 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
13192 * iconv/gconv_simple.c (internal_ucs4_loop_single)
13193 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13194 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13195 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13196 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
13197 * iconv/iconv.c (iconv): Likewise.
13198 * iconv/iconv_close.c: Likewise.
13199 * iconv/loop.c (SINGLE): Likewise.
13200 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13201 * include/atomic.h: Likewise.
13202 * inet/inet6_option.c (option_alloc): Likewise.
13203 * intl/bindtextdom.c (set_binding_values): Likewise.
13204 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13205 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13206 * intl/localealias.c (read_alias_file): Likewise.
13207 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
13208 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13209 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
13210 * libio/fmemopen.c (fmemopen): Likewise.
13211 * libio/iofgets.c (_IO_fgets): Likewise.
13212 * libio/iofgets_u.c (fgets_unlocked): Likewise.
13213 * libio/iofgetws.c (fgetws): Likewise.
13214 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13215 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
13216 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13217 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
13218 * locale/findlocale.c (_nl_find_locale): Likewise.
13219 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13220 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13221 Likewise.
13222 * locale/setlocale.c (setlocale): Likewise.
13223 * login/programs/pt_chown.c (main): Likewise.
13224 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13225 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
13226 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13227 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
13228 * math/e_exp2l.c: Likewise.
13229 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13230 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13231 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13232 * math/s_catan.c (__catan): Likewise.
13233 * math/s_catanf.c (__catanf): Likewise.
13234 * math/s_catanh.c (__catanh): Likewise.
13235 * math/s_catanhf.c (__catanhf): Likewise.
13236 * math/s_catanhl.c (__catanhl): Likewise.
13237 * math/s_catanl.c (__catanl): Likewise.
13238 * math/s_ccosh.c (__ccosh): Likewise.
13239 * math/s_ccoshf.c (__ccoshf): Likewise.
13240 * math/s_ccoshl.c (__ccoshl): Likewise.
13241 * math/s_cexp.c (__cexp): Likewise.
13242 * math/s_cexpf.c (__cexpf): Likewise.
13243 * math/s_cexpl.c (__cexpl): Likewise.
13244 * math/s_clog10.c (__clog10): Likewise.
13245 * math/s_clog10f.c (__clog10f): Likewise.
13246 * math/s_clog10l.c (__clog10l): Likewise.
13247 * math/s_clog.c (__clog): Likewise.
13248 * math/s_clogf.c (__clogf): Likewise.
13249 * math/s_clogl.c (__clogl): Likewise.
13250 * math/s_csin.c (__csin): Likewise.
13251 * math/s_csinf.c (__csinf): Likewise.
13252 * math/s_csinh.c (__csinh): Likewise.
13253 * math/s_csinhf.c (__csinhf): Likewise.
13254 * math/s_csinhl.c (__csinhl): Likewise.
13255 * math/s_csinl.c (__csinl): Likewise.
13256 * math/s_csqrt.c (__csqrt): Likewise.
13257 * math/s_csqrtf.c (__csqrtf): Likewise.
13258 * math/s_csqrtl.c (__csqrtl): Likewise.
13259 * math/s_ctan.c (__ctan): Likewise.
13260 * math/s_ctanf.c (__ctanf): Likewise.
13261 * math/s_ctanh.c (__ctanh): Likewise.
13262 * math/s_ctanhf.c (__ctanhf): Likewise.
13263 * math/s_ctanhl.c (__ctanhl): Likewise.
13264 * math/s_ctanl.c (__ctanl): Likewise.
13265 * math/w_pow.c: Likewise.
13266 * math/w_powf.c: Likewise.
13267 * math/w_powl.c: Likewise.
13268 * math/w_scalb.c (sysv_scalb): Likewise.
13269 * math/w_scalbf.c (sysv_scalbf): Likewise.
13270 * math/w_scalbl.c (sysv_scalbl): Likewise.
13271 * misc/error.c (error_tail): Likewise.
13272 * misc/pselect.c (__pselect): Likewise.
13273 * nis/nis_callback.c (__nis_create_callback): Likewise.
13274 * nis/nis_call.c (__nisfind_server): Likewise.
13275 * nis/nis_creategroup.c (nis_creategroup): Likewise.
13276 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13277 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13278 * nis/nis_getservlist.c (nis_getservlist): Likewise.
13279 * nis/nis_lookup.c (nis_lookup): Likewise.
13280 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
13281 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13282 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 13283 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
13284 * nis/nss_compat/compat-grp.c (getgrent_next_file)
13285 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13286 * nis/nss_compat/compat-initgroups.c (add_group)
13287 (internal_getgrent_r): Likewise.
13288 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13289 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13290 * nis/nss_compat/compat-spwd.c (getspent_next_file)
13291 (internal_getspnam_r): Likewise.
13292 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13293 (_nss_nis_getaliasbyname_r): Likewise.
13294 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13295 (_nss_nis_getntohost_r): Likewise.
13296 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13297 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13298 (_nss_nis_getgrgid_r): Likewise.
13299 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13300 (internal_nis_gethostent_r, internal_gethostbyname2_r)
13301 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13302 (_nss_nis_gethostbyname4_r): Likewise.
13303 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13304 (initgroups_netid): Likewise.
a1ffb40e 13305 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
13306 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13307 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13308 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13309 (_nss_nis_getprotobynumber_r): Likewise.
13310 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13311 (_nss_nis_getsecretkey): Likewise.
13312 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13313 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13314 (_nss_nis_getpwuid_r): Likewise.
13315 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13316 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13317 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13318 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13319 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13320 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
13321 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13322 Likewise.
57f41c40
AS
13323 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13324 (_nss_nisplus_getntohost_r): Likewise.
13325 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13326 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13327 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13328 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 13329 Likewise.
57f41c40
AS
13330 * nis/nss_nisplus/nisplus-initgroups.c
13331 (_nss_nisplus_initgroups_dyn): Likewise.
13332 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13333 (_nss_nisplus_getnetbyaddr_r): Likewise.
13334 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13335 (_nss_nisplus_getprotobynumber_r): Likewise.
13336 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13337 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
13338 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13339 Likewise.
57f41c40
AS
13340 * nis/nss_nisplus/nisplus-service.c
13341 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13342 (_nss_nisplus_getservbyport_r): Likewise.
13343 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13344 (_nss_nisplus_getspnam_r): Likewise.
13345 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13346 Likewise.
a1ffb40e
OB
13347 * nscd/aicache.c (addhstaiX): Likewise.
13348 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
13349 * nscd/connections.c (register_traced_file, send_ro_fd)
13350 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13351 (main_loop_epoll): Likewise.
a1ffb40e
OB
13352 * nscd/grpcache.c (addgrbyX): Likewise.
13353 * nscd/hstcache.c (addhstbyX): Likewise.
13354 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13355 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
13356 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13357 (addinnetgrX): Likewise.
13358 * nscd/nscd-client.h (__nscd_acquire_maplock)
13359 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
13360 * nscd/nscd_getai.c (__nscd_getai): Likewise.
13361 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13362 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13363 Likewise.
13364 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13365 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
13366 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13367 (__nscd_get_map_ref): Likewise.
a1ffb40e 13368 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
13369 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13370 Likewise.
a1ffb40e
OB
13371 * nscd/pwdcache.c (addpwbyX): Likewise.
13372 * nscd/selinux.c (preserve_capabilities): Likewise.
13373 * nscd/servicescache.c (addservbyX): Likewise.
13374 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13375 * posix/fnmatch.c (fnmatch): Likewise.
13376 * posix/getopt.c (_getopt_internal_r): Likewise.
13377 * posix/glob.c (glob, glob_in_dir): Likewise.
13378 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
13379 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13380 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
13381 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13382 * resolv/res_init.c: Likewise.
13383 * resolv/res_mkquery.c (res_nmkquery): Likewise.
13384 * resolv/res_query.c (__libc_res_nquery): Likewise.
13385 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13386 Likewise.
13387 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13388 * stdio-common/perror.c (perror): Likewise.
13389 * stdio-common/printf_fp.c (___printf_fp): Likewise.
13390 * stdio-common/tmpnam.c (tmpnam): Likewise.
13391 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13392 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
13393 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13394 Likewise.
a1ffb40e
OB
13395 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13396 * stdlib/putenv.c (putenv): Likewise.
13397 * stdlib/setenv.c (__add_to_environ): Likewise.
13398 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13399 * stdlib/strtol_l.c (INTERNAL): Likewise.
13400 * string/memmem.c (memmem): Likewise.
13401 * string/strerror.c (strerror): Likewise.
13402 * string/strnlen.c (__strnlen): Likewise.
13403 * string/test-memmem.c (simple_memmem): Likewise.
13404 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13405 * sunrpc/pm_getport.c (__get_socket): Likewise.
13406 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13407 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
13408 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13409 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
13410 Likewise.
13411 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13412 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13413 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13414 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13415 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
13416 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13417 Likewise.
13418 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13419 Likewise.
a1ffb40e
OB
13420 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13421 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13422 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13423 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13424 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13425 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13426 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13427 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13428 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13429 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13430 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13431 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13432 Likewise.
13433 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13434 Likewise.
13435 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13436 Likewise.
13437 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13438 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13439 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13440 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13441 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13442 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13443 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13444 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13445 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13446 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13447 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13448 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13449 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13450 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13451 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
13452 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13453 Likewise.
a1ffb40e
OB
13454 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13455 Likewise.
13456 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13457 Likewise.
13458 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13459 Likewise.
13460 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13461 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13462 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13463 Likewise.
13464 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13465 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13466 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13467 * sysdeps/posix/sleep.c: Likewise.
13468 * sysdeps/posix/tempname.c: Likewise.
13469 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13470 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13471 Likewise.
57f41c40
AS
13472 * sysdeps/powerpc/powerpc32/dl-machine.h
13473 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
13474 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13475 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13476 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13477 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13478 Likewise.
13479 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13480 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13481 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13482 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13483 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13484 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13485 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13486 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13487 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13488 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13489 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13490 (elf_machine_lazy_rel): Likewise.
a1ffb40e 13491 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13492 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13493 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13494 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13495 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13496 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13497 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13498 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13499 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13500 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13501 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13502 Likewise.
13503 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13504 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13505 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13506 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13507 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13508 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13509 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13510 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13511 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13512 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13513 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13514 Likewise.
13515 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13516 (__posix_fallocate64_l64): Likewise.
13517 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13518 (posix_fallocate): Likewise.
57f41c40
AS
13519 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13520 Likewise.
a1ffb40e 13521 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
13522 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13523 (getifaddrs_internal): Likewise.
a1ffb40e
OB
13524 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13525 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13526 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13527 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13528 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13529 (__posix_fallocate64_l64): Likewise.
13530 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13531 Likewise.
13532 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
13533 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13534 (__get_clockfreq): Likewise.
a1ffb40e
OB
13535 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13536 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13537 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13538 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13539 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13540 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13541 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13542 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13543 Likewise.
13544 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13545 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13546 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13547 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13548 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13549 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13550 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13551 Likewise.
13552 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13553 (posix_fallocate): Likewise.
13554 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13555 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13556 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13557 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13558 (elf_machine_rela, elf_machine_rela_relative)
13559 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13560 * time/asctime.c (asctime_internal): Likewise.
13561 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13562 * time/tzset.c (__tzset_parse_tz): Likewise.
13563 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13564 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13565 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13566 * wcsmbs/wcsmbsload.h: Likewise.
13567
f3d338c9
OB
13568 [BZ #15894]
13569 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13570
57f41c40
AS
13571 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13572 (arena_get2): Remove THREAD_STATS conditionals.
13573 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13574 (__malloc_stats, int): Likewise.
bdfe308a 13575
d674667c
MF
135762014-02-08 Mike Frysinger <vapier@gentoo.org>
13577
13578 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13579 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13580
6349768c
MF
13581 * manual/setjmp.texi: Fix typos/grammar errors.
13582
0b7c7473
MF
13583 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13584 Only return early when n is <= 0. Delete unused return statement.
13585
ac8cc9e3
MF
13586 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13587 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13588 * debug/tst-longjmp_chk3.c: New file.
13589
c5bb8e23
MF
13590 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13591 (test_main): Replace code with set_fortify_handler call.
13592 * debug/test-strcpy_chk.c: Likewise.
13593 * debug/tst-chk1.c: Likewise.
13594 * debug/tst-longjmp_chk.c: Likewise.
13595 * test-skeleton.c: Include fcntl.h & paths.h
13596 (set_fortify_handler): Define.
13597
10444e42
MF
13598 * debug/tst-longjmp_chk.c: Add header comment and include
13599 ../test-skeleton.c.
13600 (do_test): Mark static.
13601 (TEST_FUNCTION): Define.
13602
1e805e8d
MF
13603 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13604 (IP_PMTUDISC_INTERFACE): Likewise.
13605 (IP_MULTICAST_IF): Likewise.
13606 (IP_MULTICAST_TTL): Likewise.
13607 (IP_MULTICAST_LOOP): Likewise.
13608 (IP_ADD_MEMBERSHIP): Likewise.
13609 (IP_DROP_MEMBERSHIP): Likewise.
13610 (IP_UNBLOCK_SOURCE): Likewise.
13611 (IP_BLOCK_SOURCE): Likewise.
13612 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13613 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13614 (IP_MSFILTER): Likewise.
13615 (MCAST_JOIN_GROUP): Likewise.
13616 (MCAST_BLOCK_SOURCE): Likewise.
13617 (MCAST_UNBLOCK_SOURCE): Likewise.
13618 (MCAST_LEAVE_GROUP): Likewise.
13619 (MCAST_JOIN_SOURCE_GROUP): Likewise.
13620 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13621 (MCAST_MSFILTER): Likewise.
13622 (IP_MULTICAST_ALL): Likewise.
13623 (IP_UNICAST_IF): Likewise.
13624
73f79bb7
MF
13625 * timezone/Makefile: Delete $(have-ksh) check.
13626 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13627 * timezone/tzselect.ksh: Add +x mode bits.
13628
8da79b60
MF
13629 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13630 (ANON_INODE_FS_MAGIC): Likewise.
13631 (BDEVFS_MAGIC): Likewise.
13632 (BINFMTFS_MAGIC): Likewise.
13633 (BTRFS_TEST_MAGIC): Likewise.
13634 (CRAMFS_MAGIC_WEND): Likewise.
13635 (DEBUGFS_MAGIC): Likewise.
13636 (ECRYPTFS_SUPER_MAGIC): Likewise.
13637 (EXT3_SUPER_MAGIC): Likewise.
13638 (EXT4_SUPER_MAGIC): Likewise.
13639 (FUTEXFS_SUPER_MAGIC): Likewise.
13640 (HOSTFS_SUPER_MAGIC): Likewise.
13641 (HUGETLBFS_MAGIC): Likewise.
13642 (MINIX3_SUPER_MAGIC): Likewise.
13643 (MTD_INODE_FS_MAGIC): Likewise.
13644 (NILFS_SUPER_MAGIC): Likewise.
13645 (OPENPROM_SUPER_MAGIC): Likewise.
13646 (PIPEFS_MAGIC): Likewise.
13647 (PSTOREFS_MAGIC): Likewise.
13648 (QNX6_SUPER_MAGIC): Likewise.
13649 (RAMFS_MAGIC): Likewise.
13650 (REISERFS_SUPER_MAGIC_STRING): Likewise.
13651 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13652 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13653 (SECURITYFS_MAGIC): Likewise.
13654 (SELINUX_MAGIC): Likewise.
13655 (SMACK_MAGIC): Likewise.
13656 (SOCKFS_MAGIC): Likewise.
13657 (SQUASHFS_MAGIC): Likewise.
13658 (STACK_END_MAGIC): Likewise.
13659 (TMPFS_MAGIC): Likewise.
13660 (USBDEVICE_SUPER_MAGIC): Likewise.
13661 (V9FS_MAGIC): Likewise.
13662 (XENFS_SUPER_MAGIC): Likewise.
13663 (CRAMFS_MAGIC): Fix typo in comment.
13664 (EXT2_SUPER_MAGIC): Update comment.
13665 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13666
464263cc
JM
136672014-02-08 Joseph Myers <joseph@codesourcery.com>
13668
c6bfe5c4
JM
13669 * sysdeps/arm: Move directory from ports/sysdeps/arm.
13670 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13671 * sysdeps/unix/sysv/linux/arm: Move directory from
13672 ports/sysdeps/unix/sysv/linux/arm.
13673 * README: Update listing for arm-*-linux-gnueabi.
13674
464263cc
JM
13675 * README: Remove mention of am33.
13676
32749f6c
RM
136772014-02-07 Roland McGrath <roland@hack.frob.com>
13678
13679 * bits/sigset.h (__sigemptyset): Use a statement expression rather
13680 than the comma operator, to avoid "rhs of comma has no effect"
13681 compiler warnings.
13682 (__sigfillset, __sigandset, __sigorset): Likewise.
13683 * include/signal.h (__sigemptyset): Likewise.
13684 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13685
d5b396c1
AM
136862014-02-07 Allan McRae <allan@archlinux.org>
13687
13688 * version.h (RELEASE): Set to "development".
13689 (VERSION): Set to "2.19.90"
13690 * NEWS: Add 2.20 section.
13691
3bfff2ed
CD
136922014-02-06 Carlos O'Donell <carlos@redhat.com>
13693
13694 [BZ #16529]
13695 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13696
ee7cc385
SP
136972014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13698
13699 * manual/contrib.texi: Update entry for Carlos O'Donell,
13700 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13701
f877c4f2
CD
137022014-02-05 Carlos O'Donell <carlos@rehdat.com>
13703
27e839f6
CD
13704 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13705
f877c4f2
CD
13706 * sysdeps/unix/sysv/linux/kernel-features.h
13707 [__LINUX_KERNEL_VERSION >= 0x020621]
13708 (__ASSUME_PROC_PID_TASK_COMM): Define.
13709
68159946
SP
137102014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13711
ba17cdbd
SP
13712 [BZ #16398]
13713 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13714 conversion when destination buffer does not have enough space.
13715 * libio/tst-ftell-partial-wide.c: New test case.
13716 * libio/Makefile (tests): Add tst-ftell-partial-wide.
13717
68159946
SP
13718 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13719 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
13720 Leonard and Allan McRae.
13721
2b528732
DM
137222014-02-04 David S. Miller <davem@davemloft.net>
13723
13724 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13725 32-bit.
13726
0ff82463
AZ
137272014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13728
57f41c40
AS
13729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13730 New file
c01603f7
AZ
13731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13732 New file
57f41c40
AS
13733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13734 New file.
13735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13736 New file.
c01603f7
AZ
13737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13738 New file.
57f41c40
AS
13739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13740 New file.
13741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13742 New file.
c01603f7
AZ
13743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13744 New file.
13745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13746 New file.
13747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13748 New file.
13749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13750 New file.
13751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13752 New file.
13753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13754 New file.
13755
137562014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13757
0ff82463
AZ
13758 * nptl/shlib-versions: Change powerpc*le start to 2.17.
13759 * shlib-versions: Likewise.
13760
1695c773
AZ
137612014-02-04 Roland McGrath <roland@hack.frob.com>
13762 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13763
13764 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13765 (abilist-pattern): New variable, set to %-le.abilist.
13766
13767 * Makerules (abilist-pattern): New variable.
13768 (vpath): Use $(abilist-pattern) in place of %.abilist.
13769 (check-abi-% pattern rule): Likewise.
13770 (check-abi, update-abi): Likewise.
13771
6c0ce4b4
EW
137722014-02-04 Eric Wong <normalperson@yhbt.net>
13773
13774 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13775
481e3524
CD
137762014-02-03 Carlos O'Donell <carlos@redhat.com>
13777
13778 * manual/startup.texi: Add next, previous, and top entries for
13779 the `Program Arguments' and `Environment Variables' nodes.
13780
375592d3
AO
137812014-02-03 Alexandre Oliva <aoliva@redhat.com>
13782
13783 * manual/macros.texi: Add comments before MTASC-safety macros.
13784
f54838ba
AO
13785 * manual/users.texi: Document MTASC-safety properties.
13786
57f41c40
AS
13787 * manual/threads.texi (pthread_key_create, pthread_key_delete)
13788 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
13789 @deftypefun, and add @safety note.
13790 * manual/signal.texi: Move comments that analyze the above
13791 functions to their home place.
13792
fd3daba4
AM
137932014-02-03 Allan McRae <allan@archlinux.org>
13794
13795 * po/sl.po: Update Slovenian translation from translation project.
13796
597636d7
AO
137972014-02-02 Alexandre Oliva <aoliva@redhat.com>
13798
13799 * manual/time.texi (timegm): Add missing blank after @c.
13800 Reported by Joseph Myers <joseph@codesourcery.com>.
13801
ee196e3c
AO
138022014-02-01 Alexandre Oliva <aoliva@redhat.com>
13803
13804 * manual/check-safety.sh: New.
13805 * manual/Makefile ($(objpfx)stamp-summary): Run it.
13806
f8d529d5
AO
13807 * manual/terminal.texi: Document MTASC-safety properties.
13808
de55fdf4
AO
13809 * manual/filesys.texi: Document MTASC-safety properties.
13810
c3299c08
AO
13811 * manual/errno.texi: Document MTASC-safety properties.
13812
06e90b14
AO
13813 * manual/intro.texi: Document safety identifiers and
13814 conditionals.
13815
1acd4371
AO
13816 * manual/string.texi (wcstok): Fix prototype.
13817 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13818
23e5b8cb
AO
13819 * manual/time.texi: Document MTASC-safety properties.
13820
11087373
AO
13821 * manual/string.texi: Document MTASC-safety properties.
13822
5da2c93d
AO
13823 * manual/threads.texi: Document MTASC-safety properties.
13824
171e9210
AO
13825 * manual/stdio.texi: Document MTASC-safety properties.
13826
d9e02532
AO
13827 * manual/syslog.texi: Document MTASC-safety properties.
13828
6af8bab7
AO
13829 * manual/sysinfo.texi: Document MTASC-safety properties.
13830
663b02d7
AO
13831 * manual/startup.texi: Document MTASC-safety properties.
13832
973f180b
AO
13833 * manual/socket.texi: Document MTASC-safety properties.
13834
8f3c25c8
AO
13835 * manual/signal.texi: Document MTASC-safety properties.
13836
542210fb
AO
138372014-01-31 Alexandre Oliva <aoliva@redhat.com>
13838
13839 * manual/setjmp.texi: Document MTASC-safety properties.
13840
433c45a2
AO
13841 * manual/search.texi: Document MTASC-safety properties.
13842
c8ce789c
AO
13843 * manual/resource.texi: Document MTASC-safety properties.
13844
19f5d29c
AO
13845 * manual/process.texi: Document MTASC-safety properties.
13846
e2dfb7f4
AO
13847 * manual/platform.texi: Document MTASC-safety properties.
13848
8c1413f5
AO
13849 * manual/pipe.texi: Document MTASC-safety properties.
13850
03483ada
AO
13851 * manual/pattern.texi: Document MTASC-safety properties.
13852
29e7e2df
AO
13853 * manual/message.texi: Document MTASC-safety properties.
13854
9f529d7c
AO
13855 [BZ #12751]
13856 * manual/memory.texi: Document MTASC-safety properties.
13857
27aaa791
AO
13858 * manual/math.texi: Document MTASC-safety properties.
13859
f2d58726
AO
13860 * manual/locale.texi: Document MTASC-safety properties.
13861
2cc3615c
AO
13862 * manual/llio.texi: Document MTASC-safety properties.
13863
d9f0ec97
AO
13864 * manual/libdl.texi: New.
13865
e7c4409a
AO
13866 * manual/lang.texi: Document MTASC-safety properties.
13867
27bdc63c
AO
13868 * manual/job.texi: Document MTASC-safety properties.
13869
a7b90ea9
AO
13870 * manual/getopt.texi: Document MTASC-safety properties.
13871
c49130e3
AO
13872 * manual/ctype.texi: Document MTASC-safety properties.
13873
0d23a5c1
MR
138742014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
13875
13876 [BZ #16046]
13877 * csu/libc-tls.c (static_map): Remove variable.
13878 (__libc_setup_tls): Use main executable's link map for TLS data.
13879 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13880 casing for LM_ID_BASE and GL(dl_nns).
13881 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13882 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
13883 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13884 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13885 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13886 member.
13887 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13888 l_phnum members.
13889
0037bb60
AO
138902014-01-30 Alexandre Oliva <aoliva@redhat.com>
13891
13892 * manual/debug.texi: Document MTASC-safety properties.
13893
409e00bd
L
138942014-01-29 H.J. Lu <hongjiu.lu@intel.com>
13895
13896 [BZ #16510]
13897 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13898 of __x86_64__ when disabling x87 inline functions.
13899
86e60666
AO
139002014-01-29 Alexandre Oliva <aoliva@redhat.com>
13901
13902 * manual/charset.texi: Document MTASC-safety properties.
13903
76167637
AO
13904 * manual/crypt.texi: Document MTASC-safety properties.
13905
e567f2a0
AO
13906 * manual/conf.texi: Document MTASC-safety properties.
13907
b719dafd
AO
13908 * manual/arith.texi: Document MTASC-safety properties.
13909
4a16c662
AO
13910 * manual/argp.texi: Document MTASC-safety properties.
13911
0a57b83e
AO
13912 * manual/macros.texi: Introduce macros to document multi
13913 thread, asynchronous signal and asynchronous cancellation
13914 safety properties.
13915 * manual/intro.texi: Introduce the properties themselves.
13916
feab2397
KK
139172014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13918
13919 * sysdeps/sh/sh4/Makefile: New file.
13920
1c0d11bc
AS
139212014-01-27 Andreas Schwab <schwab@linux-m68k.org>
13922
13923 * math/gen-libm-test.pl ($srcdir): New variable.
13924 ($auto_input): Use it.
13925
af37a8a3
SP
139262014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13927
d7b00f98
SP
13928 [BZ #16506]
13929 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13930 access beyond array bounds when parsing netgroups file.
13931
af37a8a3
SP
13932 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13933 the old buffer before realloc.
13934
0c00f062
AM
139352014-01-27 Allan McRae <allan@archlinux.org>
13936
13937 * po/fr.po: Update French translation from translation project.
13938
7d69a1b0
KK
139392014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13940
13941 * sysdeps/sh/libm-test-ulps: Regenerate.
13942
6e697ff7
DM
139432014-01-24 David S. Miller <davem@davemloft.net>
13944
13945 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13946
9cadb35c
KK
139472014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13948
13949 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13950 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13951
5d41dadf
SP
139522013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13953
13954 [BZ #16474]
13955 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13956 string pointers after reallocation.
13957
0bad441c
KK
139582014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13959
13960 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13961 __SH4A__ instead of __SH_FPU_ANY__.
13962
7007c661
KK
139632014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13964
13965 * sysdeps/sh/fpu_control.h: New file.
13966 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13967 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13968 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13969 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13970 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13971 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13972 * sysdeps/sh/sys/ucontext.h: Remove.
13973 * sysdeps/sh/sys: Remove directory.
13974
0f0c35e4
AK
139752014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13976
13977 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
13978 s390/sys/ucontext.h.
13979 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
13980 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
13981
4959e284
L
139822014-01-20 H.J. Lu <hongjiu.lu@intel.com>
13983
13984 [BZ #15605]
13985 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
13986
d98720e0
AZ
139872014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13988
13989 [BZ#16431]
13990 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13991 Adjust the vDSO correctly for internal calls.
13992 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13993
91cbd0bc
AM
139942014-01-20 Allan McRae <allan@archlinux.org>
13995
13996 * po/ca.po: Update Catalan translation from translation project.
13997
7a02cfad
MF
139982014-01-16 Mike Frysinger <vapier@gentoo.org>
13999
14000 * sysdeps/s390/sotruss-lib.c: New file.
14001
736c304a
AZ
140022014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14003
14004 [BZ#16430]
6e077ee5 14005 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
14006 (__GI___gettimeofday): Alias for a different internal symbol to avoid
14007 local calls issues by not having a PLT stub required for IFUNC calls.
14008 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
14009
94d0cea0
JM
140102014-01-16 Joseph Myers <joseph@codesourcery.com>
14011
14012 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
14013 * math/test-fpucw-static.c: Likewise.
14014
980cb518
SP
140152013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14016
14017 [BZ #16453]
14018 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
14019
2393fc01
AZ
140202014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14021
14022 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
14023 implementation for powerpc.
14024
d359bcc2
OB
140252014-01-15 Ondřej Bílka <neleai@seznam.cz>
14026
14027 [BZ #14782]
14028 * sysdeps/posix/system.c (__libc_system): Do not enable
14029 asynchronous cancellation.
14030
7beb48cb
AK
140312014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14032
14033 [BZ #16427]
14034 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
14035 handling only for numbers special also in the IEEE case.
14036
c20d5bf5
AK
140372014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14038
14039 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14040
e83bd4ee
AM
140412014-01-11 Allan McRae <allan@archlinux.org>
14042
76d0ea69
AM
14043 * po/bg.po: Update Bulgarian translation from translation project.
14044
e83bd4ee
AM
14045 * po/de.po: Update German translation from translation project.
14046
bc2ba20a
RM
140472014-01-10 Roland McGrath <roland@hack.frob.com>
14048
14049 * sysdeps/generic/gcc-compat.h: New file.
14050
649ecea2
SP
140512014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14052
14053 * benchtests/asin-inputs: Correct slow inputs.
14054 * benchtests/acos-inputs: Likewise.
14055
1b19c006
AM
140562014-01-10 Allan McRae <allan@archlinux.org>
14057
a46dab08
AM
14058 * po:sv.po: Update Swedish translation from translation project.
14059
421df74a
AM
14060 * po/vi.po: Update Vietnamese translation from translation project.
14061
d61c51a7
AM
14062 * po/eo.po: Update Esperanto translation from translation project.
14063
0339a319
AM
14064 * po/cs.po: Update Czech translation from translation project.
14065
94ad3e99
AM
14066 * po/nl.po: Update Dutch translation from translation project.
14067
e349ca71
AM
14068 * po/pl.po: Update Polish translation from translation project.
14069
ddf930c1
AM
14070 * po/ru.po: Update Russian translation from translation project.
14071
1b19c006
AM
14072 * po/uk.po: Update Ukrainian translation from translation project.
14073
9f236c49
BM
140742014-01-08 Brooks Moses <bmoses@google.com>
14075
14076 * elf/dl-load.c: Fix comment typo.
14077
cd6701cf
CD
140782014-01-08 Carlos O'Donell <carlos@redhat.com>
14079
14080 * po/header.pot: Rename to...
14081 * po/pot.header: ... this.
14082 * po/Makefile: Use pot.header.
14083
66671c84
YK
140842014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
14085 Maxim Kuvyrkov <maxim@kugelworks.com>
14086
14087 [BZ #16394]
cd6701cf
CD
14088 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
14089 SRC and DEST against LEN.
66671c84 14090
38f34581
AZ
140912014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14092
14093 [BZ #16414]
14094 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
14095 implementation.
14096 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
14097
140982014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
14099
14100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14101
4c327f2a
JM
141022014-01-08 Joseph Myers <joseph@codesourcery.com>
14103
14104 [BZ #16408]
14105 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
14106 for large positive arguments.
14107
b821f414
JM
141082014-01-07 Joseph Myers <joseph@codesourcery.com>
14109
1f0f2067
JM
14110 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14111
a5a326f6
JM
14112 * math/auto-libm-test-in: Mark various tests with
14113 xfail-rounding:ldbl-128ibm.
14114 * math/auto-libm-test-out: Regenerated.
14115
b821f414
JM
14116 [BZ #16407]
14117 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14118 Increase overflow threshold.
14119
94c8a4bc
OB
141202014-01-07 Ondřej Bílka <neleai@seznam.cz>
14121
14122 [BZ #14286]
14123 * stdio-common/vfprintf.c: Check for integer overflow.
14124
87ded0c3
AK
141252014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14126
14127 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14128 the first argument and return value of __tls_get_addr_internal.
14129
c5eebdd0
AK
141302014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14131
14132 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14133 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14134
05d138ef
AK
141352014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14136
14137 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14138 * sysdeps/s390/rtld-global-offsets.sym: New file.
14139 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14140 GLIBC_2.19 symbol.
14141 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14142 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14143 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14144 ... this.
14145 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14146 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14147 ... this.
14148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14149 Regenerate.
14150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14151 Regenerate.
14152 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14153 halfs of GPRs for high_gprs contexts.
14154 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14155 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
14156 field.
14157 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14158 uc_flags field.
14159 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14160 64 bit versions:
14161 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14162 for high GPRs (uc_high_gprs) and for future extensions
14163 (__reserved).
14164 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14165 for future extensions (__reserved).
14166 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14167 64 bit versions:
14168 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14169 SC_HIGHGPRS offset definition.
14170 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14171 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14172
93a45ff1
AK
14173 * Versions.def: Add GLIBC_2.19 for libpthread.
14174 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14175 siglongjmp for libpthread with GLIBC_2.19 symver.
14176 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14177 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14178 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14179 * sysdeps/s390/__longjmp.c: New file.
14180 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14181 * sysdeps/s390/longjmp.c: New file.
14182 * sysdeps/s390/setjmp.S: New file.
14183 * sysdeps/s390/sigjmp.S: New file.
14184 * sysdeps/s390/v1-longjmp.c: New file.
14185 * sysdeps/s390/v1-setjmp.h: New file.
14186 * sysdeps/s390/v1-sigjmp.c: New file.
14187 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14188 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14189 GLIBC_2.19 version.
14190 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14191 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14192 versioned symbols for ____longjmp_chk.
14193 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14194 Likewise.
14195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14196 Regenerate.
14197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14198 Regenerate.
14199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14200 Regenerate.
14201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14202 Regenerate.
14203 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14204 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14205 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14206 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14207 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14208 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14209 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14210 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14211 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14212 * sysdeps/s390/rtld-__longjmp.c: New file.
14213 * sysdeps/s390/rtld-setjmp.S: New file.
14214
eb3fc44b
JM
142152014-01-06 Joseph Myers <joseph@codesourcery.com>
14216
14217 [BZ #16400]
14218 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14219 Return -__logl (x) for small positive arguments without evaluating
14220 a polynomial.
14221
9341dde4
MF
142222014-01-06 Mike Frysinger <vapier@gentoo.org>
14223
14224 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14225 Rename to ...
14226 (__ptrace_peeksiginfo_args): ... this.
14227 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14228 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14229 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14230
4cff0293
AM
142312014-01-06 Allan McRae <allan@archlinux.org>
14232
14233 * inet/netinet/in.h: Fix typo in comment.
14234
75595dcf
AJ
142352014-01-05 Andreas Jaeger <aj@suse.de>
14236
14237 * sysdeps/i386/fpu/libm-test-ulps: Update.
14238
79c1e109
AM
142392014-01-05 Allan McRae <allan@archlinux.org>
14240
dd804818
AM
14241 * po/libc.pot: Regenerated.
14242
79c1e109
AM
14243 * malloc/memusagestat.c: Fix gettext call formatting.
14244
0c813d1f
SK
142452014-01-04 Sami Kerola <kerolasa@iki.fi>
14246
14247 * nscd/nscd.c: Improve usage() output.
14248
20f4a8d9
MF
142492014-01-04 Mike Frysinger <vapier@gentoo.org>
14250
14251 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14252 * sysdeps/unix/sysv/linux/configure: Regenerated.
14253 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14254 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14255
22562bb2
JM
142562014-01-03 Joseph Myers <joseph@codesourcery.com>
14257
14258 [BZ #16390]
14259 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14260 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14261
d7ad2d9b
AZ
142622014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14263
14264 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14265 extra tokens at end of #undef directive.
14266 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14267 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14268 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14269
7dd009d8
JM
142702014-01-03 Joseph Myers <joseph@codesourcery.com>
14271
24db925a
JM
14272 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14273
7dd009d8
JM
14274 * math/auto-libm-test-in: Mark various tests with
14275 xfail-rounding:ldbl-128ibm.
14276 * math/auto-libm-test-out: Regenerated.
14277
396e3ecf
JM
142782014-01-02 Joseph Myers <joseph@codesourcery.com>
14279
819e5d50
JM
14280 [BZ #16386]
14281 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14282 numbers with subnormal high part when calculating exponent.
14283
90b6a1e5
JM
14284 [BZ #16385]
14285 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14286 fabs.
14287
396e3ecf
JM
14288 [BZ #16384]
14289 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14290 M_LN2l.
14291 (__ieee754_acoshl): Use __log1pl not __log1p.
14292
6c8dbf00
OB
142932013-01-02 Ondřej Bílka <neleai@seznam.cz>
14294
57f41c40
AS
14295 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14296 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14297 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14298 (grow_heap, heap_trim, _int_new_arena, get_free_list)
14299 (reused_arena, arena_get2): Convert to GNU style.
14300 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14301 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14302 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 14303 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
14304 * malloc/malloc.c (__malloc_assert, malloc_init_state)
14305 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14306 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14307 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14308 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14309 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 14310 * malloc/malloc.h: Likewise.
57f41c40
AS
14311 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14312 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 14313 * malloc/mcheck.h: Likewise.
57f41c40
AS
14314 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14315 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
14316 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14317 * malloc/morecore.c (__default_morecore): Likewise.
14318 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
14319 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14320 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14321 (print_and_abort): Likewise.
6c8dbf00
OB
14322 * malloc/obstack.h: Likewise.
14323 * malloc/set-freeres.c (__libc_freeres): Likewise.
14324 * malloc/tst-mallocstate.c (main): Likewise.
14325 * malloc/tst-mtrace.c (main): Likewise.
14326 * malloc/tst-realloc.c (do_test): Likewise.
14327
d4124212
SP
143282013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14329
9a3c6a6f
SP
14330 [BZ #16366]
14331 * nscd/netgroupcache.c (do_notfound): New function.
14332 (addgetnetgrentX): Use it.
14333
d4124212
SP
14334 [BZ # 16365]
14335 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14336 NSS_STATUS_NOTFOUND.
14337
97b9a009
JM
143382014-01-01 Joseph Myers <joseph@codesourcery.com>
14339
14340 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14342
d4697bc9
AM
143432014-01-01 Allan McRae <allan@archlinux.org>
14344
ddb3687f
AM
14345 * scripts/update-copyrights: Update configure input file suffix.
14346
88726d48
AM
14347 * NEWS: Update copyright year.
14348 * catgets/gencat.c: Likewise.
14349 * csu/version.c: Likewise.
14350 * debug/catchsegv.sh: Likewise.
14351 * debug/pcprofiledump.c: Likewise.
14352 * debug/xtrace.sh: Likewise.
14353 * elf/ldconfig.c: Likewise.
14354 * elf/ldd.bash.in: Likewise.
14355 * elf/pldd.c: Likewise.
14356 * elf/sotruss.ksh: Likewise.
14357 * elf/sprof.c: Likewise.
14358 * iconv/iconv_prog.c: Likewise.
14359 * iconv/iconvconfig.c: Likewise.
14360 * locale/programs/locale.c: Likewise.
14361 * locale/programs/localedef.c: Likewise.
14362 * login/programs/pt_chown.c: Likewise.
14363 * malloc/memusage.sh: Likewise.
14364 * malloc/memusagestat.c: Likewise.
14365 * malloc/mtrace.pl: Likewise.
14366 * manual/libc.texinfo: Likewise.
14367 * nscd/nscd.c: Likewise.
14368 * nss/getent.c: Likewise.
14369 * nss/makedb.c: Likewise.
14370 * posix/getconf.c: Likewise.
14371 * scripts/test-installation.pl: Likewise.
14372
d4697bc9
AM
14373 * All files with FSF copyright notices: Update copyright dates
14374 using scripts/update-copyrights.
14375 * intl/plural.c: Regenerated.
14376 * locale/programs/charmap-kw.h: Likewise.
14377 * locale/programs/locfile-kw.h: Likewise.
14378
c8590f9d
MF
143792013-12-31 Mike Frysinger <vapier@gentoo.org>
14380
14381 * sysdeps/unix/sysv/linux/configure: Regenerated.
14382 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14383 the linux/fanotify.h header.
14384 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14385 HAVE_LINUX_FANOTIFY_H is defined.
14386
b19221b9
SP
143872013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14388
dd1d85e5
SP
14389 * benchtests/cos-inputs: New inputs.
14390 * benchtests/sin-inputs: Likewise.
14391
1acbb90f
SP
14392 * benchtests/atan-inputs: New inputs. Fix name of multiple
14393 precision fallback inputs.
14394
4c012ed3
SP
14395 * benchtests/atanh-inputs: New inputs.
14396 * benchtests/tanh-inputs: Likewise.
14397
eff98324
SP
14398 * benchtests/acosh-inputs: New inputs.
14399 * benchtests/asinh-inputs: Likewise.
14400
ce641152
SP
14401 * benchtests/cosh-inputs: New inputs.
14402 * benchtests/sinh-inputs: Likewise.
14403
b19221b9
SP
14404 * benchtests/acos-inputs: Add more inputs.
14405 * benchtests/asin-inputs: Likewise.
14406
030a4976 144072013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 14408
030a4976 14409 [BZ #16375]
9dcc8f11
VS
14410 * manual/arith.texi: Fix spelling.
14411 * manual/charset.texi: Likewise.
14412 * manual/errno.texi: Likewise.
14413 * manual/filesys.texi: Likewise.
14414 * manual/lang.texi: Likewise.
14415 * manual/llio.texi: Likewise.
14416 * manual/locale.texi: Likewise.
14417 * manual/message.texi: Likewise.
14418 * manual/resource.texi: Likewise.
14419 * manual/search.texi: Likewise.
14420 * manual/setjmp.texi: Likewise.
14421 * manual/stdio.texi: Likewise.
14422 * manual/string.texi: Likewise.
14423 * manual/sysinfo.texi: Likewise.
14424 * manual/time.texi: Likewise.
14425
11520a57
CD
144262013-12-27 Carlos O'Donell <carlos@redhat.com>
14427
14428 * po/sl.po: New file.
14429
471103ae
MF
144302013-12-27 Mike Frysinger <vapier@gentoo.org>
14431
14432 * .gitignore: Add core/.gdbinit/.gdb_history.
14433
6c9642ed
AM
144342013-12-27 Allan McRae <allan@archlinux.org>
14435
14436 [BZ #16369]
14437 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14438 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14439
3f637079
BM
144402013-12-24 Brooks Moses <bmoses@google.com>
14441
14442 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14443 all compilers that claim C++98 compliance, not just GCC.
14444 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14445 Likewise.
14446
abc26e99
MK
144472013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14448
14449 * NEWS: Restore accidentally deleted bug-fix entries.
14450
362b47fe
MK
144512013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14452 Ondřej Bílka <neleai@seznam.cz>
14453
14454 [BZ #15073]
14455 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 14456 have_lock.
362b47fe 14457
b9bcbbcb
OB
144582013-12-23 Ondřej Bílka <neleai@seznam.cz>
14459
14460 [BZ #12986]
14461 * manual/stdio.texi (String Input Conversions): Clarify that character
14462 classes are not supported.
14463
fb55fcd2
AZ
144642013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14465
14466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14467
ef7344f0
JM
144682013-12-22 Joseph Myers <joseph@codesourcery.com>
14469
4f40e4b3
JM
14470 [BZ #16337]
14471 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14472 Calculate results for small negative arguments directly rather
14473 than using reflection formula with special underflow handling.
14474
ef7344f0
JM
14475 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14476 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14477 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14478 (fchflags): Likewise.
14479 (revoke): Likewise.
14480 (setlogin): Likewise.
14481 (sigaltstack): Likewise.
14482 (wait4): Likewise.
14483 (sigblock): Remove.
14484 (sigsetmask): Likewise.
14485 (wait3): Likewise.
14486 (waitpid): Likewise.
14487 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14488 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14489 file.
14490 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14491 * sysdeps/unix/bsd/Makefile: ... here.
14492 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14493 * sysdeps/unix/bsd/Versions: ... here.
14494 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14495 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14496 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14497 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14498 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14499 * sysdeps/unix/bsd/sigblock.c: ... here.
14500 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14501 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14502 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14503 * sysdeps/unix/bsd/sigvec.c: ... here.
14504 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14505 * sysdeps/unix/bsd/tcdrain.c: ... here.
14506 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14507 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14508 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14509 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14510 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14511 * sysdeps/unix/bsd/wait.c: ... here.
14512 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14513 * sysdeps/unix/bsd/wait3.c: ... here.
14514 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14515 * sysdeps/unix/bsd/waitpid.c: ... here.
14516
5b0626b9
JM
145172013-12-21 Joseph Myers <joseph@codesourcery.com>
14518
14519 [BZ #16356]
14520 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14521 round-to-nearest for [!USE_AS_EXPM1L].
14522 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14523 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14524 more tests of exp and exp10. Expect some exp10 tests to miss
14525 exceptions or fail in directed rounding modes.
14526 * math/auto-libm-test-out: Regenerated.
14527 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14528 (exp10_test_tonearest): New function.
14529 (exp10_towardzero_test_data): New array.
14530 (exp10_test_towardzero): New function.
14531 (exp10_downward_test_data): New array.
14532 (exp10_test_downward): New function.
14533 (exp10_upward_test_data): New array.
14534 (exp10_test_upward): New function.
14535 (main): Call the new functions.
14536 * sysdeps/i386/fpu/libm-test-ulps: Update.
14537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14538
7fda5682
JM
145392013-12-20 Joseph Myers <joseph@codesourcery.com>
14540
31e3a405
JM
14541 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14542 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14543 * math/auto-libm-test-out: Regenerated.
14544 * math/libm-test.inc (acosh_test_data): Add more tests.
14545 (atanh_test_data): Likewise.
14546 (ceil_test_data): Likewise.
14547 (copysign_test_data): Likewise.
14548 * sysdeps/i386/fpu/libm-test-ulps: Update.
14549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14550
85bff96a
JM
14551 * timezone/checktab.awk: Update from tzcode 2013i.
14552 * timezone/private.h: Likewise.
14553 * timezone/scheck.c: Likewise.
14554 * timezone/tzfile.h: Likewise.
14555 * timezone/tzselect.ksh: Likewise.
14556 * timezone/zdump.c: Likewise.
14557 * timezone/zic.c: Likewise.
14558
b7867a3b
JM
14559 * math/auto-libm-test-in: Add tests of cpow.
14560 * math/auto-libm-test-out: Regenerated.
14561 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 14562 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
14563 mpc_cc_c.
14564 (func_calc_desc): Add mpc_cc_c union field.
14565 (test_functions): Add cpow.
14566 (special_fill_2pi): New function.
14567 (special_real_inputs): Add 2pi.
14568 (calc_generic_results): Handle mpc_cc_c.
14569 * sysdeps/i386/fpu/libm-test-ulps: Update.
14570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14571
7fda5682
JM
14572 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14573 csqrt, ctan and ctanh.
14574 * math/auto-libm-test-out: Regenerated.
14575 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14576 (TEST_COND_x86): Likewise.
14577 (ccos_test_data): Use AUTO_TESTS_c_c.
14578 (ccosh_test_data): Likewise.
14579 (cexp_test_data): Likewise.
14580 (clog_test_data): Likewise.
14581 (csqrt_test_data): Likewise.
14582 (ctan_test_data): Likewise.
14583 (ctan_tonearest_test_data): Likewise.
14584 (ctan_towardzero_test_data): Likewise.
14585 (ctan_downward_test_data): Likewise.
14586 (ctan_upward_test_data): Likewise.
14587 (ctanh_test_data): Likewise.
14588 (ctanh_tonearest_test_data): Likewise.
14589 (ctanh_towardzero_test_data): Likewise.
14590 (ctanh_downward_test_data): Likewise.
14591 (ctanh_upward_test_data): Likewise.
14592 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14593 mpc_c_c.
14594 (func_calc_desc): Add mpc_c_c union field.
14595 (FUNC_mpc_c_c): New macro.
14596 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14597 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14598 ctanh.
14599 (special_fill_min_subnorm_p120): New function.
14600 (special_real_inputs): Add min_subnorm_p120.
14601 (calc_generic_results): Handle mpc_c_c.
14602 * sysdeps/i386/fpu/libm-test-ulps: Update.
14603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14604
5ff8d60e
SP
146052013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14606
57f41c40
AS
14607 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14608 (do_sin_slow): New functions.
14609 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14610 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 14611
84ba214c
SP
14612 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14613 Use M to change sign of result instead of X. Assume X is
14614 positive.
14615 (csloww1): Likewise.
14616 (__sin): Adjust.
14617 (__cos): Adjust.
14618
975195e4
SP
14619 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14620 arguments A and DA.
14621 (__sin): Adjust.
14622 (__cos): Likewise.
14623
5ff8d60e
SP
14624 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14625 (__cos): Likewise.
14626 (sloww1): Don't adjust sign of DX.
14627 (csloww1): Likewise.
14628 (sloww2): Use X directly and don't adjust sign of DX.
14629 (csloww2): Likewise.
14630
eb983568
JM
146312013-12-19 Joseph Myers <joseph@codesourcery.com>
14632
64a17f1a
JM
14633 * math/auto-libm-test-in: Add tests of cabs and carg.
14634 * math/auto-libm-test-out: Regenerated.
14635 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14636 (carg_test_data): Likewise.
14637 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14638 mpc_c_f.
14639 (func_calc_desc): Add mpc_c_f union field.
14640 (test_functions): Add cabs and carg.
14641 (calc_generic_results): Handle mpc_c_f.
14642
eb983568
JM
14643 * sysdeps/powerpc/powerpc32/libgcc-compat.S
14644 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14645 as a macro and a compat symbol.
14646 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14647 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14648 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14649 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14650 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14651 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14652 not use .hidden.
14653 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14654 Likewise.
14655 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14656 Likewise.
14657 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14658 Likewise.
14659 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14660 Likewise.
14661 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14662 Likewise.
14663 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14664 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14665 from GLIBC_2.3.2.
14666
6eeb678a
AZ
146672013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14668
14669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14670
6f6fc482
JM
146712013-12-19 Joseph Myers <joseph@codesourcery.com>
14672
21fea2e2
JM
14673 * manual/texinfo.tex: Update to version 2013-11-26.10 with
14674 trailing whitespace removed.
14675 * scripts/config.guess: Update to version 2013-11-29.
14676 * scripts/config.sub: Update to version 2013-10-01.
14677
6f6fc482
JM
14678 * math/auto-libm-test-in: Add tests of sincos.
14679 * math/auto-libm-test-out: Regenerated.
14680 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14681 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14682 mpfr_f_11.
14683 (func_calc_desc): Add mpfr_f_11 union field.
14684 (test_functions): Add sincos.
14685 (calc_generic_results): Handle mpfr_f_11.
14686 * sysdeps/i386/fpu/libm-test-ulps: Update.
14687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14688
83f5c32d
AS
146892013-12-19 Andreas Schwab <schwab@suse.de>
14690
14691 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14692 CALL_MCOUNT.
14693 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14694 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14695 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14696
c688b419
JM
146972013-12-19 Joseph Myers <joseph@codesourcery.com>
14698
335ee092
JM
14699 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14700 * sysdeps/i386/fpu/libm-test-ulps: Update.
14701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14702
f88acd39
JM
14703 [BZ #16293]
14704 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14705 round-to-nearest mode when using frndint.
14706 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14707 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14708 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14709 Likewise.
14710 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
14711 sinh test to fail.
14712 * math/auto-libm-test-out: Regenerated.
14713 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14714 (TEST_COND_x86): Likewise.
14715 (expm1_tonearest_test_data): New array.
14716 (expm1_test_tonearest): New function.
14717 (expm1_towardzero_test_data): New array.
14718 (expm1_test_towardzero): New function.
14719 (expm1_downward_test_data): New array.
14720 (expm1_test_downward): New function.
14721 (expm1_upward_test_data): New array.
14722 (expm1_test_upward): New function.
14723 (main): Run the new test functions.
14724 * sysdeps/i386/fpu/libm-test-ulps: Update.
14725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14726
c688b419
JM
14727 * include/features.h: Update comment documenting feature test
14728 macros. Mention _DEFAULT_SOURCE in comment.
14729 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14730 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14731 _BSD_SOURCE and _SVID_SOURCE.
14732 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14733 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14734 !_SVID_SOURCE]: Likewise.
14735 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14736 (__USE_POSIX_IMPLICITLY): Define.
14737 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14738 (_POSIX_SOURCE): Undefine and redefine.
14739 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14740 (_POSIX_C_SOURCE): Likewise.
14741 * manual/creature.texi (_DEFAULT_SOURCE): Document.
14742 (Feature Test Macros): Update documentation of default features.
14743
9f6e964c
RS
147442013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14745
14746 * benchtests/Makefile: Add bench-strtok.
14747 * benchtests/bench-strtok.c: New file: strtok benchtest.
14748
ee0a148a
AM
147492013-12-19 Allan McRae <allan@archlinux.org>
14750
14751 * manual/install.texi: Suppress menu for plain text output.
14752 * INSTALL: Regenerated.
14753
b9ab448f
BM
147542013-12-18 Brooks Moses <bmoses@google.com>
14755
14756 [BZ #15846]
14757 * misc/getauxval.c: Include errno.h.
14758 (__getauxval): Set errno to ENOENT if the requested type is not
14759 found.
14760 * misc/sys/auxv.h (getauxval): Document that it may set errno;
14761 don't declare with __attribute_const__.
14762 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14763 * manual/startup.texi: Document that getauxval sets errno.
14764
23776487
JM
147652013-12-18 Joseph Myers <joseph@codesourcery.com>
14766
f889953b
JM
14767 * math/auto-libm-test-in: Add tests of jn and yn.
14768 * math/auto-libm-test-out: Regenerated.
14769 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14770 (yn_test_data): Likewise.
14771 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14772 mpfr_if_f.
14773 (func_calc_desc): Add mpfr_if_f union field.
14774 (FUNC_mpfr_if_f): New macro.
14775 (test_functions): Add jn and yn.
14776 (calc_generic_results): Assert type of second input for
14777 mpfr_ff_f. Handle mpfr_if_f.
14778 (output_for_one_input_case): Disable all checking for arguments
14779 fitting floating-point types in case of an integer argument.
14780 * sysdeps/i386/fpu/libm-test-ulps: Update.
14781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14782
23776487
JM
14783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14784 Don't expect fegetround reference in libm.so.
14785
cb756c6d
MS
147862013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14787
14788 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14789 $(config-cflags-nofma).
14790
2dec468f
JM
147912013-12-18 Joseph Myers <joseph@codesourcery.com>
14792
5953eb3a
JM
14793 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14794 * math/auto-libm-test-out: Regenerated.
14795
2dec468f
JM
14796 [BZ #16338]
14797 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14798 to determine exponent and adjust argument to have exponent of -1.
14799 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14800 log2.
14801 * math/auto-libm-test-out: Regenerated.
14802 * sysdeps/i386/fpu/libm-test-ulps: Update.
14803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14804
4d84e6ad
OB
148052013-12-18 Ondřej Bílka <neleai@seznam.cz>
14806
14807 * manual/probes.texi: Remove cases when per-thread arenas are
14808 disabled.
14809
1818483b
AS
148102013-12-18 Andreas Schwab <schwab@suse.de>
14811
14812 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14813 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14814 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14815 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14816 * sysdeps/i386/i686/multiarch/Makefile: Update.
14817 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14818
25de95bf
JM
148192013-12-17 Joseph Myers <joseph@codesourcery.com>
14820
14821 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14822 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14823
674762d9
PE
148242013-12-17 Paul Eggert <eggert@cs.ucla.edu>
14825
ed27ed83 14826 [BZ #15968]
0748546f
PE
14827 Support TZ transition times < 00:00:00.
14828 This is needed for version-3 tz-format files; it supports time
14829 stamps past 2037 for America/Godthab (the only entry in the tz
14830 database for which this change is relevant).
14831 * manual/time.texi (TZ Variable): Document transition times
14832 from -167:59:59 through -00:00:01.
14833 * time/tzset.c (tz_rule): Time of day is now signed.
14834 (__tzset_parse_tz): Parse negative time of day.
14835
4480e934
PE
14836 Document TZ transition times >= 25:00:00.
14837 * manual/time.texi (TZ Variable): Document transition times from
14838 25:00:00 through 167:59:59. These are already supported, and this
14839 support will help with version-3 tz-format files.
14840
69947401
PE
14841 * manual/time.texi (TZ Variable): Modernize North America example
14842 to reflect current (i.e., 2007-and-later) daylight saving rules.
14843
674762d9
PE
14844 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14845
7011c262
JM
148462013-12-17 Joseph Myers <joseph@codesourcery.com>
14847
2fc6557e
JM
14848 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14849 * sysdeps/unix/bsd/bits/stat.h: Likewise.
14850 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14851 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14852 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14853 * sysdeps/unix/bsd/bsdstat.h: Likewise.
14854 * sysdeps/unix/bsd/clock.c: Likewise.
14855 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14856 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14857 * sysdeps/unix/bsd/init-posix.c: Likewise.
14858 * sysdeps/unix/bsd/poll.c: Likewise.
14859 * sysdeps/unix/bsd/ptsname.c: Likewise.
14860 * sysdeps/unix/bsd/seekdir.c: Likewise.
14861 * sysdeps/unix/bsd/setegid.c: Likewise.
14862 * sysdeps/unix/bsd/seteuid.c: Likewise.
14863 * sysdeps/unix/bsd/setgid.c: Likewise.
14864 * sysdeps/unix/bsd/setrgid.c: Likewise.
14865 * sysdeps/unix/bsd/setruid.c: Likewise.
14866 * sysdeps/unix/bsd/setsid.c: Likewise.
14867 * sysdeps/unix/bsd/setuid.c: Likewise.
14868 * sysdeps/unix/bsd/sigaction.c: Likewise.
14869 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14870 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14871 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14872 * sysdeps/unix/bsd/telldir.c: Likewise.
14873 * sysdeps/unix/bsd/times.c: Likewise.
14874 * sysdeps/unix/bsd/usleep.c: Likewise.
14875
029c7b25
JM
14876 * misc/Makefile (install-lib): Remove libbsd-compat.a.
14877 ($(objpfx)libbsd-compat.a): Remove rule.
14878
7011c262
JM
14879 * include/features.h (__FAVOR_BSD): Do not define.
14880 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14881 features conflicting with POSIX.
14882 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14883 (_BSD_SOURCE): Remove description of not being a subset of other
14884 feature test macros.
14885 * manual/job.texi (getpgrp): Do not document BSD version.
14886 (getpgid): Do not document by reference to BSD getpgrp.
14887 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14888 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14889 * signal/signal.h [__FAVOR_BSD]: Likewise.
14890 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14891 instead of making contents conditional on [__FAVOR_BSD].
14892 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14893
affb6f78
AZ
148942013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14895
14896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14897
c88769dd
JM
148982013-12-17 Joseph Myers <joseph@codesourcery.com>
14899
6432a540
JM
14900 [BZ #16314]
14901 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14902 values below 2**-450, not 2**-500.
14903 * math/auto-libm-test-in: Don't allow spurious underflow from
14904 hypot.
14905 * math/auto-libm-test-out: Regenerated.
14906
c88769dd
JM
14907 [BZ #16316]
14908 [BZ #16330]
14909 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14910 values of ha and hb and sort them after adjusting subnormal
14911 arguments.
14912 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14913 Likewise.
14914 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14915 values of ea and eb and sort them after adjusting subnormal
14916 arguments.
14917 * math/auto-libm-test-in: Do not expect some hypot tests of
14918 subnormals to fail. Add more hypot tests.
14919 * math/auto-libm-test-out: Regenerated.
14920
29618f6b
KK
149212013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14922
14923 [BZ #13304]
14924 * sysdeps/sh/s_fma.c: New file.
14925 * sysdeps/sh/s_fmaf.c: New file.
14926 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
14927 version.
14928 * sysdeps/sh/Implies: Add sh/soft-fp.
14929
eacfdfbf
RM
149302013-12-16 Roland McGrath <roland@hack.frob.com>
14931
14932 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
14933 level of indirection to members `objname', `errstring', `malloced'.
14934 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14935 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
14936 it as the __longjmp argument (just pass 1 instead).
14937 (_dl_catch_error): Initialize C with argument pointers and address of
14938 volatile local ERRCODE rather than copying values out of C at return.
14939
ff362e5b
JM
149402013-12-16 Joseph Myers <joseph@codesourcery.com>
14941
14942 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14943 * math/auto-libm-test-out: Regenerated.
14944 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14945 (hypot_test_data): Likewise.
14946 (pow_test_data): Likewise.
14947 (pow_tonearest_test_data): Likewise.
14948 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14949 mpfr_ff_f.
14950 (func_calc_desc): Add mpfr_ff_f union field.
14951 (FUNC_mpfr_ff_f): New macro.
14952 (test_functions): Add atan2, hypot and pow.
14953 (special_fill_min): New function.
14954 (special_fill_minus_min): Likewise.
14955 (special_fill_min_subnorm): Likewise.
14956 (special_fill_minus_min_subnorm): Likewise.
14957 (special_real_inputs): Add min, -min, min_subnorm and
14958 -min_subnorm.
14959 (calc_generic_results): Handle mpfr_ff_f.
14960 * sysdeps/i386/fpu/libm-test-ulps: Update.
14961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14962
5764c27f
WN
149632013-12-16 Will Newton <will.newton@linaro.org>
14964
14965 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14966 (Aligned Memory Blocks): Add documentation for aligned_alloc
14967 and suggest it as an alternative to posix_memalign.
14968 (Hooks for Malloc): Document __memalign_hook is also called
14969 for aligned_alloc. (Summary of Malloc): Add summary for
14970 aligned alloc. Document __memalign_hook is also called
14971 for aligned_alloc.
14972
0a096e44
WN
149732013-12-16 Will Newton <will.newton@linaro.org>
14974
14975 * manual/memory.texi (Malloc Examples): Clarify default
14976 alignment documentation. Suggest posix_memalign rather
14977 than memalign or valloc.
14978 (Aligned Memory Blocks): Remove suggestion to use memalign
14979 or valloc. Remove obsolete comment about BSD.
14980 Document memalign errno values and mark the function obsolete.
14981 Document posix_memalign returned error codes. Mark valloc
14982 as obsolete. (Hooks for Malloc): __memalign_hook is also
14983 called for posix_memalign and valloc.
14984 (Summary of Malloc): Add posix_memalign to function summary.
14985 __memalign_hook is also called for posix_memalign and valloc.
14986
8d561986
SP
149872013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14988
14989 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
14990 TAYLOR_SIN.
14991 (__sin): Adjust.
14992 (__cos): Likewise.
14993 (sloww): Use mynumber union. Expand ternary operator into
14994 if-else statements.
14995 (cslow): use mynumber union.
14996
73616a74
AM
149972013-12-16 Allan McRae <allan@archlinux.org>
14998
9e8ac24b
AM
14999 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
15000 * configure: Regenerated.
15001
6f8e37eb
AM
15002 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
15003
8894bad3
AM
15004 [BZ #14120]
15005 * configure.ac: Added --enable-maintainer-mode. Check for
15006 autoconf when enabled.
15007 * configure: Regenerated.
15008
73616a74
AM
15009 * nscd/nscd.service: New file.
15010 * nscd/nscd.tmpfiles: New file.
15011
584b18eb
OB
150122013-12-14 Ondřej Bílka <neleai@seznam.cz>
15013
15014 [BZ #12100]
15015 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
15016 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
15017 * sysdeps/x86_64/multiarch/strstr.c: ... here.
15018 (strstr): Add __strstr_sse2_unaligned ifunc.
15019 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
15020 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
15021 (strcasestr): Remove __strcasestr_sse42 ifunc.
15022 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
15023 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15024 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15025
8a5c7897
KK
150262013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15027
15028 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
15029 * sysdeps/sh/bits/fenv.h: ... here.
15030 * sysdeps/sh/sh4/fpu/bits: Remove directory.
15031
fd712ef3
AZ
150322013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15033
15034 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
15035
42fcb46c
AZ
15036 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
15037 hypotf multiarch implementations.
15038 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
15039 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
15040 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
15041 multiarch hypot for PPC64.
15042 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
15043 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
15044 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
15045 multiarch hypotf for PPC64.
15046
83efded4
AZ
15047 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
15048 modff multiarch implementations.
15049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
15050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
15051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
15052 multiarch modf for PPC64.
15053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
15054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
15055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
15056 multiarch modff for PPC64.
15057
43e246d2
AZ
15058 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
15059 and logl multiarch implementations.
15060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
15061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
15062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
15063 multiarch logb for PPC64.
15064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
15065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
15066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
15067 multiarch logb for PPC64.
15068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
15069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
15070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
15071 multiarch logb for PPC64.
15072
8fdad123
AZ
15073 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
15074 isinff multiarch implementation.
15075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
15076 file.
15077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
15078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
15079 multiarch isinf for PPC64.
15080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
15081 file.
15082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
15083 multiarch isinff for PPC64.
15084
1481d706
AZ
15085 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
15086 finitef multiarch implementation.
15087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
15088 file.
15089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
15090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
15091 multiarch finite for PPC64.
15092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
15093 file.
15094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
15095 multiarch finitef for PPC64.
15096
5ccd5fc8
AZ
15097 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
15098 lrint multiarch implementation.
15099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
15100 file.
15101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
15102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
15103 multiarch llrint for PPC64.
15104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
15105 multiarch lrint for PPC64.
15106
2568f3fa
AZ
15107 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
15108 copysignf multiarch implementation.
15109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
15110 file.
15111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
15112 file.
15113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
15114 multiarch copysign for PPC64.
15115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
15116 multiarch copysignf for PPC64.
15117
1cb341fd
AZ
15118 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
15119 multiarch implementation.
15120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15121 file.
15122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15123 file.
15124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15125 file.
15126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15127 file.
15128 multiarch llround for PPC64.
15129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15130 multiarch trunc for PPC64.
15131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15132 multiarch truncf for PPC64.
15133
59a3e194
AZ
15134 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15135 multiarch implementation.
15136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15137 file.
15138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15139 file.
15140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15141 file.
15142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15143 file.
15144 multiarch llround for PPC64.
15145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15146 multiarch round for PPC64.
15147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15148 multiarch roundf for PPC64.
15149
357fd3b4
AZ
15150 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15151 multiarch implementation.
15152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15153 file.
15154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15155 file.
15156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15157 file.
15158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15159 file.
15160 multiarch llround for PPC64.
15161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15162 multiarch floor for PPC64.
15163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15164 multiarch floorf for PPC64.
15165
96770f12
AZ
15166 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15167 multiarch implementation.
15168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15169 file.
15170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15171 file.
15172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15173 file.
15174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15175 file.
15176 multiarch llround for PPC64.
15177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15178 multiarch ceil for PPC64.
15179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15180 multiarch ceilf for PPC64.
15181
c3627f6e
AZ
15182 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15183 multiarch implementation.
15184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15185 file.
15186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15187 file.
15188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15189 file.
15190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15191 multiarch llround for PPC64.
15192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15193 multiarch lround for PPC64.
15194
b2284ad7
AZ
15195 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15196 multiarch implementation.
15197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15200 file.
15201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15204 multiarch isnan for PPC64.
15205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15206 multiarch isnanf for PPC64.
15207
69bbc63d
AZ
15208 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15209 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15210 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15211 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15212 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15214
c24517c9
AZ
15215 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15216 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15217 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15218 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15219
a52374e8
AZ
15220 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15221 multiarch implementations.
15222 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15223 (__libc_ifunc_impl_list): Likewise.
15224 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15225 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15226 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15227 multiarch stpcpy for PPC64.
15228
7f5ec113
AZ
15229 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15230 multiarch implementations.
15231 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15232 (__libc_ifunc_impl_list): Likewise.
15233 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15234 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15235 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15236 multiarch strcpy for PPC64.
15237
e28bcd42
AZ
15238 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15239 redefine function name.
15240 (_wordcopy_fwd_dest_aligned): Likewise.
15241 (_wordcopy_bwd_aligned): Likewise.
15242 (_wordcopy_bwd_dest_aligned): Likewise.
15243 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15244 multiarch implementations.
15245 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15246 (__libc_ifunc_impl_list): Likewise.
15247 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15248 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15249 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15250 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15251 multiarch wcscpy for PPC64.
15252
92cacfce
AZ
15253 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15254 multiarch implementations.
15255 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15256 (__libc_ifunc_impl_list): Likewise.
15257 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15258 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15259 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15260 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15261 multiarch wcscpy for PPC64.
15262
7b714620
AZ
15263 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15264 multiarch implementations.
15265 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15266 (__libc_ifunc_impl_list): Likewise.
15267 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15268 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15269 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15270 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15271 multiarch wcsrchr for PPC64.
15272
16fd2ae3
AZ
15273 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15274 multiarch implementations.
15275 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15276 (__libc_ifunc_impl_list): Likewise.
15277 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15278 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15279 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15280 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15281 multiarch wcschr for PPC64.
15282
9ee2969b
AZ
15283 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15284 multiarch implementations.
15285 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15286 (__libc_ifunc_impl_list): Likewise.
15287 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15288 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15289 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15290 multiarch strchrnul for PPC64.
15291
372dc060
AZ
15292 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15293 implementations.
15294 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15295 (__libc_ifunc_impl_list): Likewise.
15296 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15297 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15298 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15299 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15300 strchr for PPC64.
15301
24c2c3b9
AZ
15302 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15303 implementations.
15304 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15305 (__libc_ifunc_impl_list): Likewise.
15306 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15307 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15308 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15309 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15310 strncmp for PPC64.
15311
1c92d9a0
AZ
15312 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15313 multiarch implementations.
15314 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15315 (__libc_ifunc_impl_list): Likewise.
15316 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15317 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15318 strncasecmp for PPC64.
15319 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15320 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15321 multiarch strncasecmp_l for PPC64.
15322
17de3ee3
AZ
15323 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15324 multiarch implementations.
15325 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15326 (__libc_ifunc_impl_list): Likewise.
15327 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15328 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15329 multiarch strcasecmp for PPC64.
15330 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15331 file.
15332 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15333 multiarch strcasecmp_l for PPC64.
15334
62982bf9
AZ
15335 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15336 implementations.
15337 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15338 (__libc_ifunc_impl_list): Likewise.
15339 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15340 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15341 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15342 strnlen for PPC64.
15343
a65f4904
AZ
15344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15345 implementations.
15346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15347 (__libc_ifunc_impl_list): Likewise.
15348 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15349 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15350 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15351 strlen for PPC64.
15352
1fd005ad
AZ
15353 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15354 implementations.
15355 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15356 (__libc_ifunc_impl_list): Likewise.
15357 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15358 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15359 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15360 rawmemrchr for PPC64.
15361
cd05ba91
AZ
15362 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15363 implementation.
15364 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15365 (__libc_ifunc_impl_list): Likewise.
15366 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15367 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15368 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15369 memrchr for PPC64.
15370
870f8676
AZ
15371 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15372 implementation.
15373 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15374 (__libc_ifunc_impl_list): Likewise.
15375 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15376 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15377 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15378 memchr for PPC64.
15379
f00be62b
AZ
15380 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15381 implementation.
15382 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15383 (__libc_ifunc_impl_list): Likewise.
15384 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15385 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15386 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15387 mempcpy for PPC64.
15388
8a29a3d0
AZ
15389 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15390 avoid cretion of __bzero symbol.
15391 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15392 Likewise.
15393 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15394 Likewise.
15395 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15396 Likewise.
15397 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15398 multiarch implementations.
15399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15400 (__libc_ifunc_impl_list): Likewise.
15401 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15402 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15403 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15404 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15405 bzero for PPC32.
15406 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15407 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15408 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15409 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15410 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15411 memset for PPC64.
15412 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15413
07253fcf
AZ
15414 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15415 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15416 implementations.
15417 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15418 (__libc_ifunc_impl_list): Likewise.
15419 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15420 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15421 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15422 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15423 memcmp for PPC64.
15424
b5beafbc
AZ
15425 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15426 multiarch for POWER/PPC64.
15427 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15428 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15429 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15430 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15431 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15432 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15433 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15434 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15435 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15436 memcpy for PPC64.
15437
5e6a4d4b
AZ
15438 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15439 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15440 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15441 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15442 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15443 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15444 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15445 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15446 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15447 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15448 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15449 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15450 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15451 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15452 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15460
ddfab6dc
KK
154612013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15462
15463 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15464
19b5525e
SP
154652013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15466
15467 * benchtests/Makefile (bench): Add exp2 and log2.
15468 (LDLIBS-bench-exp2): Add -lm.
15469 (LDLIBS-bench-log2): Likewise.
15470 * benchtests/exp2-inputs: New inputs file.
15471 * benchtests/log2-inputs: New inputs file.
15472 * benchtests/log-inputs: Add new inputs.
15473 * benchtests/tan-inputs: Likewise.
15474
196f7f5d
SP
154752013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15476
7a74607f
SP
15477 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15478 definition...
57f41c40
AS
15479 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15480 (csloww2): ... from here.
7a74607f 15481
196f7f5d
SP
15482 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15483 instead of structures.
15484 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15485 (POLYNOMIAL): Likewise.
15486 (TAYLOR_SLOW): Likewise.
15487 (__sin): Likewise.
15488 (__cos): Likewise.
15489 (slow1): Likewise.
15490 (slow2): Likewise.
15491 (sloww): Likewise.
15492 (sloww1); Likewise.
15493 (sloww2): Likewise.
15494 (bsloww1): Likewise.
15495 (bsloww2): Likewise.
15496 (cslow2): Likewise.
15497 (csloww): Likewise.
15498 (csloww1): Likewise.
15499 (csloww2): Likewise.
15500
0dfa665c
OB
155012013-12-10 Ondřej Bílka <neleai@seznam.cz>
15502
15503 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
15504 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15505 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
15506 * malloc/hooks.c (realloc_check): Likewise.
15507
5782a80f
OB
15508 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15509 * malloc/arena.c: Remove PER_THREAD conditional.
15510 [!PER_THREAD]: Remove code.
15511 (ptmalloc_unlock_all2): Likewise.
15512 (ptmalloc_init): Likewise.
15513 (_int_new_arena): Likewise.
15514 (arena_get2): Likewise.
15515 * malloc/hooks.c (__malloc_get_state): Likewise.
15516 (__malloc_set_state): Likewise.
15517 * malloc/malloc.c: Likewise.
15518 (struct malloc_state): Likewise.
15519 (struct malloc_par): Likewise.
15520 (__libc_realloc): Likewise.
15521 (__libc_mallopt): Likewise.
15522
aeb95445
AZ
155232013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15524
15525 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15526
e8349efd
OB
155272013-12-09 Ondřej Bílka <neleai@seznam.cz>
15528
15529 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15530 macro to a function. Check for zero perturb_byte.
15531 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15532
f3eeb3fc 15533 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
15534 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15535 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
15536 force_reg by atomic_forced_read.
15537 * malloc/arena.c (ptmalloc_init): Likewise.
15538 * malloc/hooks.c (top_check): Likewise.
15539
be2f9009
AZ
155402013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15541
15542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15543
e7b914bd
MT
155442013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15545
15546 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15547
9f0be4f8
JM
155482013-12-08 Joseph Myers <joseph@codesourcery.com>
15549
15550 * math/auto-libm-test-in: Add tests of lgamma.
15551 * math/auto-libm-test-out: Regenerated.
15552 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15553 (M_LOG_2_SQRT_PIl): Likewise.
15554 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15555 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15556 mpfr_f_f1.
15557 (func_calc_desc): Add mpfr_f_f1 union field.
15558 (ARGS1): New macro.
15559 (ARGS2): Likewise.
15560 (ARGS3): Likewise.
15561 (ARGS4): Likewise.
15562 (RET1): Likewise.
15563 (RET2): Likewise.
15564 (CALC): Likewise.
15565 (FUNC): Likewise.
15566 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15567 (test_functions): Add lgamma.
15568 (calc_generic_results): Handle mpfr_f_f1.
15569 * sysdeps/i386/fpu/libm-test-ulps: Update.
15570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15571
24eeafdb
AZ
155722013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15573
15574 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15575 __mpn_add_n for PowerPC64/POWER7.
15576 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15577 __mpn_sub_n for PowerPC64/POWER7.
15578
4a2c0fd4
AZ
15579 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15580 __mpn_addmul_1 for PowerPC64.
15581 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15582 __mpn_submul_1 for PowerPC64.
15583 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15584 for PowerPC64.
15585 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15586 for PowerPC64.
15587
4b5b548c
FS
155882013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15589
15590 [BZ #15089]
15591 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15592
0a3ac0aa
AZ
155932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15594
15595 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15596
ccdc8438
AZ
15597 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15598 add multiarch folders.
15599 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15600 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15601 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15602 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15603 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15604 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15605 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15606 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15607 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15608 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15609 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15616
2e973d99
AZ
15617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15618 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15620 New file.
15621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15622 New file.
15623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15624 multiarch __ieee754_hypot for PowerPC32.
15625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15626 New file.
15627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15628 New file.
15629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15630 multiarch __ieee754_hypotf for PowerPC32.
15631
2d9470b2
AZ
15632 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15633 long_double_symbol only if __logbl is defined.
15634 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15635 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15636 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15637 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15638 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15639 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15640 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15641 path for implementation.
15642 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15643 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15645 logb, and logbl multiarch implementations for PowerPC32.
15646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15647 file.
15648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15649 file.
15650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15651 multiarch logb for PowerPC32.
15652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15653 file.
15654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15655 file.
15656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15657 multiarch logbf for PowerPC32.
15658 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15660 file.
15661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15662 multiarch logbl implementation for PowerPC32.
15663
5212ffce
AZ
15664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15665 and modff multiarch implementations.
15666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15667 New file.
15668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15669 New file.
15670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15671 multiarch modf for PowerPC32.
15672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15673 New file.
15674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15675 New file.
15676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15677 multiarch modff for PowerPC32.
15678
79dccf31
AZ
15679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15680 and lrintf multiarch implementations.
15681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15682 New file.
15683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15684 New file.
15685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15686 multiarch lrint for PowerPC32.
15687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15688 file: multiarch lrintf for PowerPC32.
15689
deb66480
AZ
15690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15691 and lroundf multiarch implementations.
15692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15693 New file.
15694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15695 New file.
15696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15697 New file.
15698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15699 multiarch lround for PowerPC32.
15700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15701 file: multiarch lroundf for PowerPC32.
15702
264b036b
AZ
15703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15704 copysign and copysignf multiarch implementations.
15705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15706 New file.
15707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15708 New file.
15709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15710 file: multiarch copysign for PowerPC32.
15711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15712 file: multiarch copysignf for PowerPC32.
15713
d47db6c9
AZ
15714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15715 and truncf multiarch implementations.
15716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15717 New file.
15718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15719 file.
15720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15721 multiarch trunc for PowerPC32.
15722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15723 New file.
15724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15725 New file.
15726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15727 multiarch truncf for PowerPC32.
15728
ddb60b5a
AZ
15729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15730 and roundf multiarch implementations.
15731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15732 New file.
15733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15734 file.
15735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15736 multiarch round for PowerPC32.
15737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15738 New file.
15739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15740 New file.
15741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15742 multiarch roundf for PowerPC32.
15743
bedcf49b
AZ
15744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15745 and floorf multiarch implementations.
15746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15747 New file.
15748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15749 file.
15750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15751 multiarch floor for PowerPC32.
15752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15753 New file.
15754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15755 New file.
15756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15757 multiarch floorf for PowerPC32.
15758
35ae5b40
AZ
15759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15760 and ceilf multiarch implementations.
15761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15762 New file.
15763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15764 file.
15765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15766 multiarch ceil for PowerPC32.
15767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15768 New file.
15769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15770 file.
15771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15772 multiarch ceilf for PowerPC32.
15773
ae1a4cd9
AZ
15774 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15775 is defined.
15776 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15777 FINITEF is defined.
15778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15779 and finitef multiarch implementations.
15780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15781 New file.
15782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15783 file.
15784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15785 multiarch finite for PowerPC32.
15786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15787 New file.
15788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15789 file: multiarch finitef for PowerPC32.
15790
64fffd65
AZ
15791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15792 and isinff multiarch implementations.
15793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15794 file.
15795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15796 file.
15797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15798 multiarch isinf for PowerPC32.
15799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15800 New file.
15801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15802 multiarch isinff for PowerPC32.
15803
8e4e7ba2
AZ
15804 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15805 alias when __isnan is defined.
15806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15807 and isnanf multiarch implementations.
15808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15809 file.
15810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15811 file.
15812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15813 file.
15814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15815 file.
15816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15817 multiarch isnan for PowerPC32.
15818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15819 New file.
15820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15821 New file.
15822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15823 multiarch isnanf for PowerPC32.
15824
ddba588e
AZ
15825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15826 and sqrtf multiarch implementations.
15827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15828 file.
15829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15830 file.
15831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15832 multiarch sqrt for PowerPC32.
15833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15834 file.
15835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15836 file.
15837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15838 multiarch sqrtf for PowerPC32.
15839
0f96a2f0
AZ
15840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15841 and llroundf multiarch implementations.
15842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15843 New file.
15844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15845 New file.
15846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15847 New file.
15848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15849 file: multiarch llround for PowerPC32.
15850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15851 file: multiarch llroundf for PowerPC32.
15852
c9b5d79e
AZ
15853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15854 multiarch PowerPC32 fpu implementations.
15855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15856 New file.
15857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15858 New file.
15859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15860 multiarch llrint for PowerPC32.
15861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15862 New file.
15863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15864 New file.
15865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15866 file.
15867
9cbb3aab
AZ
15868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15869
ea5a72f8
AZ
15870 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15871 file.
15872 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15873 file.
15874 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15875 file.
15876 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15877 multiarch wordcopy for PPC32.
15878 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15879 wordcopy objects.
15880 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15881 (__libc_ifunc_impl_list): Likewise.
15882 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15883 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15884 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15885 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15886 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15887 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15888
93be09e7
AZ
15889 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15890 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15891 file.
15892 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15893 file.
15894 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15895 file.
15896 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15897 multiarch wcscpy for PPC32.
15898 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15899 multiarch objects.
15900 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15901 (__libc_ifunc_impl_list): Likewise.
15902 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15903 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15904 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15905 sysdeps/powerpc/power6/wcscpy.c.
15906
bb04e529
AZ
15907 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15908 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15909 file.
15910 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15911 file.
15912 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15913 file.
15914 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15915 multiarch wcsrchr for PPC32.
15916 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15917 multiarch objects.
15918 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15919 (__libc_ifunc_impl_list): Likewise.
15920 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15921 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15922 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15923 sysdeps/powerpc/power6/wcsrchr.c.
15924
05b5cd1c
AZ
15925 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15926 file.
15927 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15928 file.
15929 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15930 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15931 multiarch wcschr for PPc32.
15932 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15933 multiarch objects.
15934 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15935 (__libc_ifunc_impl_list): Likewise.
15936 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15937 * sysdeps/powerpc/power6/wcschr.c: ... to here.
15938 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15939 sysdeps/powerpc/power6/wcschr.c.
15940
ba964147
AZ
15941 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15942 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15943 file.
15944 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15945 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15946 file: multiarch strchr for PPC32.
15947 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15948 multiarch objects.
15949 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15950 (__libc_ifunc_impl_list): Likewise.
15951
31c81aaa
AZ
15952 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15953 name.
15954 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15955 file.
15956 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15957 file.
15958 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15959 multiarch strchrnul for PPC32.
15960 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15961 multiarch objects.
15962 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15963 (__libc_ifunc_impl_list): Likewise.
15964
0d0607d9
AZ
15965 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15966 file.
15967 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15968 multiarch strncasecmp for PPC32.
15969 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15970 file.
15971 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15972 multiarch strncasecmp_l for PPC32.
15973 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
15974 strncasecmp multiarch objects.
15975 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15976 (__libc_ifunc_impl_list): Likewise.
15977
4dfd5c86
AZ
15978 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
15979 file.
15980 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
15981 multiarch strncasecmp for PPC32.
15982 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15983 New file.
15984 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
15985 multiarch strcasecmp_l for PPC32.
15986 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
15987 multiarch objects.
15988 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15989 (__libc_ifunc_impl_list): Likewise.
15990
a19e01a3
AZ
15991 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15992 file.
15993 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15994 file.
15995 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15996 multiarch strncmp for PPC32.
15997 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15998 multiarch objects.
15999 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16000 (__libc_ifunc_impl_list): Likewise.
16001
ae9cf7a2
AZ
16002 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
16003 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
16004 file.
16005 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
16006 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
16007 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
16008 multiarch objects.
16009 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16010 (__libc_ifunc_impl_list): Likewise.
16011
3148bb7d
AZ
16012 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
16013 file.
16014 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
16015 file.
16016 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
16017 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
16018 multiarch objects.
16019 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16020 (__libc_ifunc_impl_list): Likewise.
16021
7af8b946
AZ
16022 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
16023 file.
16024 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
16025 file.
16026 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
16027 multiarch rawmemchr for PPC32.
16028 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
16029 multiarch objects.
16030 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16031 (__libc_ifunc_impl_list): Likewise.
16032
03a6aa6a
AZ
16033 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
16034 file.
16035 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
16036 file.
16037 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
16038 file: memrchr multiarch for PPC32.
16039 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
16040 multiarch objects.
16041 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16042 (__libc_ifunc_impl_list): Likewise.
16043
1c62e6d9
AZ
16044 * string/memchr.c (__memchr): Using macro to redefine symbol name.
16045 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
16046 file.
16047 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
16048 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
16049 multiarch memchr for PPC32.
16050 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
16051 multiarch objects.
16052 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16053 (__libc_ifunc_impl_list): Likewise.
16054
87da8bdb
AZ
16055 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
16056 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
16057 file.
16058 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
16059 file.
16060 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
16061 file: multiarch mempcpy for PPC32.
16062 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
16063 multiarch objects.
16064 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16065 (__libc_ifunc_impl_list): Likewise.
16066
20ed4714
AZ
16067 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
16068 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
16069 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
16070 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
16071 multiarch bzero for PPC32.
16072 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
16073 file.
16074 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
16075 file.
16076 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
16077 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
16078 file: multiarch memset for PPC32.
16079 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
16080 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
16081 memset multiarch objects.
16082 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16083 (__libc_ifunc_impl_list): Likewise.
16084
ab3e3a46
AZ
16085 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
16086 file.
16087 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
16088 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
16089 memcmp for PPC32.
16090 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
16091 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
16092 multiarch objects.
16093 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16094 (__libc_ifunc_impl_list): Likewise.
16095
930de6f0
AZ
16096 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
16097 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
16098 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
16099 file.
16100 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
16101 file.
16102 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
16103 file.
16104 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
16105 multiarch memcpy for PPC32.
16106 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
16107 multiarch objects.
16108 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16109 (__libc_ifunc_impl_list): Likewise.
16110
4c628e00
AZ
16111 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
16112 support multiarch for POWER/PPC32.
16113 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
16114 Likewise.
16115 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
16117 Implies file to make multiarch folder appers before the fpu and
16118 default folder for power4 configuration.
16119
f4479220
SP
161202013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16121
16122 * scripts/bench.pl: Append volatile keyword to type.
16123
8517800f
KK
161242013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16125
16126 * sysdeps/sh/sotruss-lib.c: New file.
16127 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16128
180138f1
AZ
161292013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16130
16131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16132
bbf37bdc
JM
161332013-12-05 Joseph Myers <joseph@codesourcery.com>
16134
e47cc4e0
JM
16135 [BZ #6810]
16136 * math/w_tgamma.c: Include <errno.h>.
16137 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
16138 * math/w_tgammaf.c: Include <errno.h>.
16139 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
16140 * math/w_tgammal.c: Include <errno.h>.
16141 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
16142 * math/auto-libm-test-in: Do not allow missing errno on tgamma
16143 underflow. Add more tgamma tests.
16144 * math/auto-libm-test-out: Regenerated.
16145 * sysdeps/i386/fpu/libm-test-ulps: Update.
16146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16147
bbf37bdc
JM
16148 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16149 sin, sinh, tan, tanh, tgamma, y0 and y1.
16150 * math/auto-libm-test-out: Regenerated.
16151 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16152 (TEST_COND_x86): Likewise.
16153 (M_E2l): Remove macro.
16154 (M_E3l): Likewise.
16155 (M_2_SQRT_PIl): Likewise.
16156 (M_SQRT_PIl): Likewise.
16157 (M_1_DIV_El): Likewise.
16158 (log_test_data): Use AUTO_TESTS_f_f.
16159 (log10_test_data): Likewise.
16160 (log1p_test_data): Likewise.
16161 (log2_test_data): Likewise.
16162 (sin_test_data): Likewise.
16163 (sin_tonearest_test_data): Likewise.
16164 (sin_towardzero_test_data): Likewise.
16165 (sin_downward_test_data): Likewise.
16166 (sin_upward_test_data): Likewise.
16167 (sinh_test_data): Likewise.
16168 (sinh_tonearest_test_data): Likewise.
16169 (sinh_towardzero_test_data): Likewise.
16170 (sinh_downward_test_data): Likewise.
16171 (sinh_upward_test_data): Likewise.
16172 (tan_test_data): Likewise.
16173 (tan_tonearest_test_data): Likewise.
16174 (tan_towardzero_test_data): Likewise.
16175 (tan_downward_test_data): Likewise.
16176 (tan_upward_test_data): Likewise.
16177 (tanh_test_data): Likewise.
16178 (tgamma_test_data): Likewise.
16179 (y0_test_data): Likewise.
16180 (y1_test_data): Likewise.
16181 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16182 (special_real_inputs): Add pi/4.
16183 * sysdeps/i386/fpu/libm-test-ulps: Update.
16184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16185
eb5ad6b9
AZ
161862013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16187
16188 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16189 "longjmp_target" static probes.
16190 (__longjmp): Rename to __longjmp_symbol.
16191 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16192 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16193 on which longjmp to generate.
16194 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16195 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16196 probe.
16197 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16198 (__sigjmp_save): Rename to __sigjmp_save_symbol.
16199 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16200 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16201 and __sigjmp_save_symbol based on which sigsetjmp to generated.
16202 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16204 __longjmp_symbol based on which __longjmp to generate.
16205 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16206 probe.
16207 (setjmp): Rename to setjmp_symbol.
16208 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16209 (_setjmp): Rename to _setjmp_symbol.
16210 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16211 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16212 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16213 which setjmp to generate.
16214 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16215 "longjmp_target" static probes.
16216
d136c6dc
SP
162172013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16218
9298ecba
SP
16219 * benchtests/README: Add note about output arguments.
16220 * benchtests/bench-sincos.c: Remove file.
16221 * benchtests/sincos-inputs: New file.
16222 * scripts/bench.pl: Identify output arguments and define
16223 static variables for them.
16224
232983e9
SP
16225 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16226
d136c6dc
SP
16227 [BZ #15941]
16228 * Makefile (INSTALL): Add install-plain.texi as the primary
16229 dependency.
16230 * manual/install-plain.texi: New file.
16231 * manual/install.texi: Include node directive only for
16232 non-plaintext output.
16233
699ff837
JM
162342013-12-04 Joseph Myers <joseph@codesourcery.com>
16235
ab07cea8
JM
16236 * stdlib/longlong.h: Update from GCC.
16237
699ff837
JM
16238 [BZ #6807]
16239 [BZ #15901]
16240 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16241 * math/w_j0f.c (y0f): Likewise.
16242 * math/w_j0l.c (__y0l): Likewise.
16243 * math/w_j1.c (y1): Likewise.
16244 * math/w_j1f.c (y1f): Likewise.
16245 * math/w_j1l.c (__y1l): Likewise
16246 * math/w_jn.c (yn): Likewise.
16247 * math/w_jnf.c (ynf): Likewise.
16248 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16249 Bessel function pole errors in _POSIX_ mode. Use NAN as return
16250 value for Bessel function domain errors outside _SVID_ mode.
16251 Adjust sign of return value for yn (negative integer, 0).
16252 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16253 by zero in return for negative x and set sign appropriately for
16254 negative n.
16255 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16256 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16257 * math/libm-test.inc (y0_test_data): Add more tests and adjust
16258 expectations in error cases.
16259 (y1_test_data): Likewise.
16260 (yn_test_data): Likewise.
16261 * sysdeps/i386/fpu/libm-test-ulps: Update.
16262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16263
5b118558
UW
162642013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16265
16266 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16267 "64" to "64-v1". Add "64-v2".
16268 (abi-64-options): Rename to ...
16269 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
16270 (abi-64-condition): Rename to ...
16271 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
16272 (abi-64-ld-soname): Rename to ...
16273 (abi-64-v1-ld-soname): ... this.
16274 (abi-64-v2-options): Define.
16275 (abi-64-v2-condition): Likewise.
16276 (abi-64-v2-ld-soname): Likewise.
16277 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16278 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16282
61cd8fe4
UW
162832013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16284 Alan Modra <amodra@gmail.com>
16285
16286 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16287 New versions for use with the ELFv2 ABI.
16288 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16289 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16290 declaration.
16291 (struct La_ppc64v2_retval): Likewise.
16292 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16293 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16294 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16295 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16296 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16297 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16298 Do not save or restore CR.
16299 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16300 (_dl_profile_resolve): Do no save or restore CR. Support extended
16301 return values for ELFv2 ABI. Fix location of FPR return registers.
16302 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16303 updated values for _CALL_ELF == 2.
16304 (La_regs, La_retval, int_retval): Likewise.
16305
8b8a692c
UW
163062013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16307
16308 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16309 (FRAME_MIN_SIZE_PARM): Likewise.
16310 (FRAME_BACKCHAIN): Likewise.
16311 (FRAME_CR_SAVE): Likewise.
16312 (FRAME_LR_SAVE): Likewise.
16313 (FRAME_TOC_SAVE): Likewise.
16314 (FRAME_PARM_SAVE): Likewise.
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.
16318 (call_mcount_parm_offset): New macro.
16319 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16320 (PROF): Use symbolic stack frame offsets.
16321 (TAIL_CALL_SYSCALL_ERROR): Likewise.
16322 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16323 Redefine in terms of FRAME_MIN_SIZE.
16324 (_dl_runtime_resolve): Use symbolic stack frame offsets.
16325 (_dl_profile_resolve): Likewise. Update comment.
16326 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16327 symbols stack frame offsets.
16328 (__sigsetjmp): Likewise.
16329 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16330 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16331 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16332 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16333
16334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16335 (FRAME_BACKCHAIN): Remove.
16336 (FRAME_CR_SAVE): Likewise.
16337 (FRAME_LR_SAVE): Likewise.
16338 (FRAME_COMPILER_DW): Likewise.
16339 (FRAME_LINKER_DW): Likewise.
16340 (FRAME_TOC_SAVE): Likewise.
16341 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
16342 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16343 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16344 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
16345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16346 (CHECK_SP): Use symbolic stack frame offsets.
16347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16348 zone" instead of caller's parameter save area for temp storage.
16349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16350 Likewise. Also, use symbolic stack frame offsets.
16351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16352 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16353 our own stack frame instead of the caller's.
16354 (__socket): Use symbolic stack frame offsets.
16355
122b66de
UW
163562013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16357 Alan Modra <amodra@gmail.com>
16358
16359 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16360 Define.
57f41c40
AS
16361 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16362 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
16363 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16364 New function.
16365 (elf_machine_fixup_plt): Call it.
16366 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
16367 reloc arguments.
16368 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
16369 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16370 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
16371 r2 before calling target.
16372
696caf1d
UW
163732013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16374 Alan Modra <amodra@gmail.com>
16375
16376 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16377 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16378 versions of macros to support ELFv2 ABI.
16379 (LOCALENTRY): New macro.
16380 (ENTRY, EALIGN): Use it.
16381 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16382 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16383 fall through into ENTRY entry point.
16384 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16385 Only define if _CALL_ELF != 2.
16386
16387 (elf_machine_matches_host): Verify ABI version matches.
16388 (RTLD_START): Use LOCALENTRY.
16389 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16390 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16391 (PLT_ENTRY_WORDS): New macro.
16392 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16393 (elf_machine_runtime_setup): Support ELFv2 ABI.
16394 (elf_machine_fixup_plt): Likewise.
16395 (elf_machine_plt_conflict): Likewise.
16396 (resolve_ifunc): Likewise.
16397 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16398 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16399 Likewise.
16400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16401 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16403 (makecontext): Support ELFv2 ABI.
16404 * elf/elf.h (EF_PPC64_ABI): Define.
16405
d31beafa
UW
164062013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16407
57f41c40
AS
16408 * sysdeps/powerpc/powerpc64/sysdep.h
16409 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16410 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16411 (ENTRY) [ASSEMBLER]: ... but instead here ...
16412 (EALIGN) [ASSEMBLER]: ... and here.
16413 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16414 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16415 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
16416 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16417 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
16418 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16419 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
16420 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16422 Use PPC64_LOAD_FUNCPTR.
16423
b525166b
UW
16424 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16425
7ec07d9a
AM
164262013-12-04 Alan Modra <amodra@gmail.com>
16427
16428 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16429 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16430 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16431 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16432
16433 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16434 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16435 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16436 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16437 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16438 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16439
5162e7dd
UW
164402013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16441
16442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16443 (__makecontext): Fix incorrect CFI when backtracing out of
16444 context created via makecontext.
16445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16446 (__setcontext): Fix incorrect CFI during switch to new context.
16447 (__novec_setcontext): Likewise.
16448
19e3372b
OB
164492013-12-04 Ondřej Bílka <neleai@seznam.cz>
16450
16451 [BZ #4772]
16452 * time/strptime_l.c (__strptime_internal): Allow modifiers
16453 in strptime.
16454 * time/tst-strptime.c (day_tests): Add testcase.
16455
ecaf142d
SP
164562013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16457
16458 * scripts/bench.pl: Skip over blank lines.
16459
fbf964ae
PE
164602013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16461
16462 [BZ #926]
16463 * manual/time.texi (Calendar Time): Clarify what timezone functions
16464 use.
16465
fa60a674
AZ
164662013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16467
16468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16469
d674f0ef
OB
164702013-12-04 Ondřej Bílka <neleai@seznam.cz>
16471
16472 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16473 implementation.
16474 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16475 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16476 * debug/memset_chk.c (__memset_chk): Likewise.
16477 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16478 * debug/strncpy_chk.c: Likewise.
16479
17dea188
JM
164802013-12-03 Joseph Myers <joseph@codesourcery.com>
16481
749008ff
JM
16482 [BZ #15268]
16483 [BZ #15425]
16484 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16485 (__ieee754_exp): For possibly underflowing results, check size of
16486 result and force underflow exception if required.
16487 * math/auto-libm-test-in: Add more tests of exp.
16488 * math/auto-libm-test-out: Regenerated.
16489 * sysdeps/i386/fpu/libm-test-ulps: Update.
16490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16491
17dea188
JM
16492 [BZ #16283]
16493 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16494 * math/w_exp2f.c (__exp2f): Likewise.
16495 * math/w_exp2l.c (__exp2l): Likewise.
16496 * math/auto-libm-test-in: Do not allow missing errno on exp2
16497 underflow.
16498 * math/auto-libm-test-out: Regenerated.
16499
b20de2c3
OB
165002013-12-03 Ondřej Bílka <neleai@seznam.cz>
16501
16502 [BZ #16274]
16503 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16504 handle filename validation.
16505 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16506 (do_open): Delete.
16507
d8e2dbe3
JM
165082013-12-03 Joseph Myers <joseph@codesourcery.com>
16509
34e16df5
JM
16510 [BZ #6786]
16511 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16512 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16513 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16514 <float.h>.
16515 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16516 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16517 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16518 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16519 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16520 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16521 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16522 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16523 Add more erfc tests.
16524 * math/auto-libm-test-out: Regenerated.
16525 * sysdeps/i386/fpu/libm-test-ulps: Update.
16526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16527
d8e2dbe3
JM
16528 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16529 exp2, expm1, j0 and j1.
16530 * math/auto-libm-test-out: Regenerated.
16531 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16532 (erfc_test_data): Likewise.
16533 (exp_test_data): Likewise.
16534 (exp_tonearest_test_data): Likewise.
16535 (exp_towardzero_test_data): Likewise.
16536 (exp_downward_test_data): Likewise.
16537 (exp_upward_test_data): Likewise.
16538 (exp10_test_data): Likewise.
16539 (exp2_test_data): Likewise.
16540 (expm1_test_data): Likewise.
16541 (j0_test_data): Likewise.
16542 (j1_test_data): Likewise.
16543 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16544 (input_flag_type): Add flag_xfail_rounding.
16545 (input_flags): Add xfail-rounding.
16546 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16547 (output_for_one_input_case): Handle flag_xfail_rounding.
16548 * sysdeps/i386/fpu/libm-test-ulps: Update.
16549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16550
18d14251
AJ
165512013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16552
3d2e6075 16553 [BZ #16289]
18d14251
AJ
16554 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16555 division by 0.
16556
520d437b
SP
165572013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16558
16559 [BZ #16195]
16560 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16561 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16562 (STAP_PROBE0): New macro.
16563 (STAP_PROBE1): Likewise.
16564 (STAP_PROBE2): Likewise.
16565 (STAP_PROBE3): Likewise.
16566 (STAP_PROBE4): Likewise.
16567
416e0145
OB
165682013-12-02 Ondřej Bílka <neleai@seznam.cz>
16569
16570 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16571
9d17796a
SE
165722013-12-02 Steve Ellcey <sellcey@mips.com>
16573
16574 * benchtests/Makefile (bench): Add sqrt.
16575 (LDLIBS-bench-sqrt): New.
16576 * benchtests/sqrt-input: New.
16577
f524d6a8
PS
165782013-12-02 Pavel Simerda <psimerda@redhat.com>
16579
639a0ef8
PS
16580 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16581 (GAIH_EAI): Likewise.
16582 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16583 (gaih_inet): Likewise.
16584 (getaddrinfo): Don't use GAIH_EAI.
16585
f524d6a8
PS
16586 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16587 (struct gaih): Remove definition.
16588
df3aedaf
SP
165892013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16590
16591 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16592 Use HERRNOP directly.
16593
1ab19dec
AZ
165942013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16595
b42ad38d 16596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 16597
176b0c79
JM
165982013-11-30 Joseph Myers <joseph@codesourcery.com>
16599
16600 * math/gen-auto-libm-tests.c (test_functions): Add more
16601 single-argument functions.
16602 (special_fill_pi_2): New function.
16603 (special_fill_minus_pi_2): Likewise.
16604 (special_fill_pi_6): Likewise.
16605 (special_fill_minus_pi_6): Likewise.
16606 (special_fill_pi_3): Likewise.
16607 (special_fill_2pi_3): Likewise.
16608 (special_fill_e): Likewise.
16609 (special_fill_1_e): Likewise.
16610 (special_fill_e_minus_1): Likewise.
16611 (special_real_inputs): Add more special inputs.
16612 (output_for_one_input_case): Do not require ERANGE on underflow to
16613 zero if round-to-nearest result does not underflow to zero, unless
16614 exact results required.
16615 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16616 atan, atanh, cbrt, cos and cosh.
16617 * math/auto-libm-test-out: Regenerated.
16618 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16619 (acos_tonearest_test_data): Likewise.
16620 (acos_towardzero_test_data): Likewise.
16621 (acos_downward_test_data): Likewise.
16622 (acos_upward_test_data): Likewise.
16623 (acosh_test_data): Likewise.
16624 (asin_test_data): Likewise.
16625 (asin_tonearest_test_data): Likewise.
16626 (asin_towardzero_test_data): Likewise.
16627 (asin_upward_test_data): Likewise.
16628 (asinh_test_data): Likewise.
16629 (atan_test_data): Likewise.
16630 (atanh_test_data): Likewise.
16631 (cbrt_test_data): Likewise.
16632 (cos_test_data): Likewise.
16633 (cos_tonearest_test_data): Likewise.
16634 (cos_towardzero_test_data): Likewise.
16635 (cos_downward_test_data): Likewise.
16636 (cos_upward_test_data): Likewise.
16637 (cosh_test_data): Likewise.
16638 (cosh_tonearest_test_data): Likewise.
16639 (cosh_towardzero_test_data): Likewise.
16640 (cosh_downward_test_data): Likewise.
16641 (cosh_upward_test_data): Likewise.
16642 * sysdeps/i386/fpu/libm-test-ulps: Update.
16643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16644
ffb536d0
JM
166452013-11-29 Joseph Myers <joseph@codesourcery.com>
16646
2a77a467
JM
16647 [BZ #6787]
16648 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16649 * math/w_exp10f.c (__exp10f): Likewise.
16650 * math/w_exp10l.c (__exp10l): Likewise.
16651 * math/libm-test.inc (exp10_test_data): Add more tests and expect
16652 errno settings in existing tests.
16653
ea3bc4e8
JM
16654 [BZ #14032]
16655 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16656 precision control set to double precision.
16657 * sysdeps/i386/fpu/w_sqrt.c: New file.
16658 * math/auto-libm-test-in: Add more tests.
16659 * math/auto-libm-test-out: Update.
16660
0712c9d8
JM
16661 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16662 (sqrt_test_tonearest): New function.
16663 (sqrt_towardzero_test_data): New variable.
16664 (sqrt_test_towardzero): New function.
16665 (sqrt_downward_test_data): New variable.
16666 (sqrt_test_downward): New function.
16667 (sqrt_upward_test_data): New variable.
16668 (sqrt_test_upward): New function.
16669 (main): Call the new functions.
16670
ffb536d0
JM
16671 * math/gen-auto-libm-tests.c: New file.
16672 * math/auto-libm-test-in: Likewise.
16673 * math/auto-libm-test-out: New generated file.
16674 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16675 variables.
16676 (%beautify): Add generated representations of zero.
16677 (top level): Set $auto_input and call parse_auto_input.
16678 (beautify): Remove trailing "f" from hex float constants.
16679 (parse_args): Handle XFAIL_TEST.
16680 (convert_condition): New function.
16681 (or_value): Likewise.
16682 (or_cond_value): Likewise.
16683 (generate_testfile): Handle AUTO_TESTS_* lines.
16684 (parse_auto_input): New function.
16685 * math/libm-test.inc (XFAIL_TEST): New macro.
16686 (ERRNO_UNCHANGED): Update value.
16687 (ERRNO_EDOM): Likewise.
16688 (ERRNO_ERANGE): Likewise.
16689 (IGNORE_RESULT): Likewise.
16690 (TEST_COND_flt_32): New macro.
16691 (TEST_COND_dbl_64): Likewise.
16692 (TEST_COND_ldbl_96_intel): Likewise.
16693 (TEST_COND_ldbl_96_m68k): Likewise.
16694 (TEST_COND_ldbl_128): Likewise.
16695 (TEST_COND_ldbl_128ibm): Likewise.
16696 (TEST_COND_long32): Likewise.
16697 (TEST_COND_long64): Likewise.
16698 (TEST_COND_before_rounding): Likewise.
16699 (TEST_COND_after_rounding): Likewise.
16700 (enable_test): Handle XFAIL_TEST flag.
16701 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16702 with finite results.
16703 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16704 auto-libm-test-out.
16705
acd98a8e
AK
167062013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16707 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16708
16709 [BZ #16214]
16710 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16711 __tls_get_addr_internal instead of __tls_get_offset in order to
16712 avoid GOT pointer dependency. Make rtld export
16713 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16714 __tls_get_addr since we are a __tls_get_offset platform.
16715 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16716 GOT pointer being set up before.
16717 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16718
3c1c46a6
JM
167192013-11-28 Joseph Myers <joseph@codesourcery.com>
16720
7475aef5
JM
16721 * manual/math.texi (Errors in Math Functions): Document accuracy
16722 goals.
16723
8bca7cd8
JM
16724 [BZ #15004]
16725 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16726 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16727 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16728 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16729 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16730 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16731 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16732 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16733 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16734 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16735 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16736 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16737 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16738 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16739 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16740 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16741
91a1f3fe
JM
16742 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16743 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16744 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16745 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16746 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16747 Likewise.
16748 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16749 Likewise.
16750 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16751 Likewise.
16752 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16753 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16754 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16755 atomic-feupdateenv and flt-rounds.
16756 * sysdeps/powerpc/nofpu/Versions (libc): Add
16757 __atomic_feholdexcept, __atomic_feclearexcept,
16758 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16759 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16760 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16761 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16762 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16763 here.
16764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16765 Update.
16766
c5df7609
JM
16767 * manual/arith.texi (FP Exceptions): Document that exceptions may
16768 not be raised when matherr is used.
16769 (Math Error Reporting): Document overflow in directed rounding
16770 modes. Document that errno may not be set when finite values are
16771 returned on overflow. Document intent to set errno on underflow
16772 only for underflow to zero.
16773
3c1c46a6
JM
16774 [BZ #16271]
16775 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16776 round-to-nearest then adjust result for other rounding modes.
16777 * include/fenv.h (fegetround): Use libm_hidden_proto.
16778 * math/fegetround.c (fegetround): Use libm_hidden_def.
16779 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16780 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16781 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16782 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16783 Likewise.
16784 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16785 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16786 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16787 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16788
5a4c6d53
SP
167892013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16790
16791 [BZ #16077]
16792 * nss/Versions (libnss_files): Add
16793 _nss_files_gethostbyname3_r.
16794 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16795 New function.
16796 (HOST_DB_LOOKUP): Remove macro.
16797 (_nss_files_gethostbyname_r): Implement function without the
16798 HOST_DB_LOOKUP macro.
16799 (_nss_files_gethostbyname2_r): Likewise.
16800
897b98ba
OB
168012013-11-28 Ondřej Bílka <neleai@seznam.cz>
16802
16803 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16804
6f476861
UB
168052013-11-26 Uros Bizjak <ubizjak@gmail.com>
16806
16807 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16808 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16809 warning.
16810
bd12ab55
AZ
168112013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16812
16813 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16814 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16815 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16816 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16817 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16818 __fe_nomask_env_priv and attribute_hidden.
16819 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16820 (libc_feupdateenv_test_ppc): Likewise.
16821 (libc_feresetround_ppc): Likewise.
16822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16823 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16824 compat_symbol macro.
16825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16826 (__fe_nomask_env): Likewise.
16827 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16828
52bb6543
OB
168292013-11-26 Ondřej Bílka <neleai@seznam.cz>
16830
16831 * string/Makefile: Remove ifunc tests.
16832 * string/test-string.h: Define TEST_IFUNC.
16833 * string/test-bcopy-ifunc.c: Remove.
16834 * string/test-bzero-ifunc.c: Likewise.
16835 * string/test-memccpy-ifunc.c: Likewise.
16836 * string/test-memchr-ifunc.c: Likewise.
16837 * string/test-memcmp-ifunc.c: Likewise.
16838 * string/test-memcpy-ifunc.c: Likewise.
16839 * string/test-memmem-ifunc.c: Likewise.
16840 * string/test-memmove-ifunc.c: Likewise.
16841 * string/test-mempcpy-ifunc.c: Likewise.
16842 * string/test-memrchr-ifunc.c: Likewise.
16843 * string/test-memset-ifunc.c: Likewise.
16844 * string/test-rawmemchr-ifunc.c: Likewise.
16845 * string/test-stpcpy-ifunc.c: Likewise.
16846 * string/test-stpncpy-ifunc.c: Likewise.
16847 * string/test-strcasecmp-ifunc.c: Likewise.
16848 * string/test-strcasestr-ifunc.c: Likewise.
16849 * string/test-strcat-ifunc.c: Likewise.
16850 * string/test-strchr-ifunc.c: Likewise.
16851 * string/test-strchrnul-ifunc.c: Likewise.
16852 * string/test-strcmp-ifunc.c: Likewise.
16853 * string/test-strcpy-ifunc.c: Likewise.
16854 * string/test-strcspn-ifunc.c: Likewise.
16855 * string/test-strlen-ifunc.c: Likewise.
16856 * string/test-strncasecmp-ifunc.c: Likewise.
16857 * string/test-strncat-ifunc.c: Likewise.
16858 * string/test-strncmp-ifunc.c: Likewise.
16859 * string/test-strncpy-ifunc.c: Likewise.
16860 * string/test-strnlen-ifunc.c: Likewise.
16861 * string/test-strpbrk-ifunc.c: Likewise.
16862 * string/test-strrchr-ifunc.c: Likewise.
16863 * string/test-strspn-ifunc.c: Likewise.
16864 * string/test-strstr-ifunc.c: Likewise.
16865
ab260039 168662013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
16867
16868 * benchtests/Makefile: Remove ifunc tests.
16869 * benchtests/bench-string.h: Define TEST_IFUNC.
16870 * benchtests/bench-bcopy-ifunc.c: Remove.
16871 * benchtests/bench-bzero-ifunc.c: Likewise.
16872 * benchtests/bench-memccpy-ifunc.c: Likewise.
16873 * benchtests/bench-memchr-ifunc.c: Likewise.
16874 * benchtests/bench-memcmp-ifunc.c: Likewise.
16875 * benchtests/bench-memcpy-ifunc.c: Likewise.
16876 * benchtests/bench-memmem-ifunc.c: Likewise.
16877 * benchtests/bench-memmove-ifunc.c: Likewise.
16878 * benchtests/bench-mempcpy-ifunc.c: Likewise.
16879 * benchtests/bench-memrchr-ifunc.c: Likewise.
16880 * benchtests/bench-memset-ifunc.c: Likewise.
16881 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16882 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16883 * benchtests/bench-stpcpy-ifunc.c: Likewise.
16884 * benchtests/bench-stpncpy-ifunc.c: Likewise.
16885 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16886 * benchtests/bench-strcasestr-ifunc.c: Likewise.
16887 * benchtests/bench-strcat-ifunc.c: Likewise.
16888 * benchtests/bench-strchr-ifunc.c: Likewise.
16889 * benchtests/bench-strchrnul-ifunc.c: Likewise.
16890 * benchtests/bench-strcmp-ifunc.c: Likewise.
16891 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16892 * benchtests/bench-strcpy-ifunc.c: Likewise.
16893 * benchtests/bench-strcspn-ifunc.c: Likewise.
16894 * benchtests/bench-strlen-ifunc.c: Likewise.
16895 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16896 * benchtests/bench-strncat-ifunc.c: Likewise.
16897 * benchtests/bench-strncmp-ifunc.c: Likewise.
16898 * benchtests/bench-strncpy-ifunc.c: Likewise.
16899 * benchtests/bench-strnlen-ifunc.c: Likewise.
16900 * benchtests/bench-strpbrk-ifunc.c: Likewise.
16901 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 16902 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
16903 * benchtests/bench-strspn-ifunc.c: Likewise.
16904 * benchtests/bench-strstr-ifunc.c: Likewise.
16905
169062013-11-26 Ondřej Bílka <neleai@seznam.cz>
16907
ab260039
OB
16908 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16909
d1d9eaf4 169102013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 16911
d1d9eaf4
OB
16912 * resolv/netdb.h: Use __glibc_reserved instead __unused.
16913 * rt/aio.h: Likewise.
16914 * sysdeps/gnu/bits/utmp.h: Likewise.
16915 * sysdeps/gnu/bits/utmpx.h: Likewise.
16916 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16917 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16918 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16919 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16920 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16921 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16922 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16923 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16924 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16925 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16926 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16927 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16928 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16930 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16931 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16932 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16933 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16934 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16935 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16936 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16937 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16938 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16939 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16940 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16941 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16942 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16943 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16944 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16945 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16946 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16947 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16948 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16949 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16950 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16951 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16952 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16953 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16954 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16955 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16956 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16957 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16958
a7624ed9
CD
169592013-11-25 Carlos O'Donell <carlos@redhat.com>
16960
16961 [BZ #16245]
16962 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16963 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16964
63cfe52b
JM
169652013-11-25 Joseph Myers <joseph@codesourcery.com>
16966
16967 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16968 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16969 Likewise.
16970
41e8926a
AZ
169712013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16972
16973 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16974 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
16975 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
16976 (__fesetround): Remove define.
16977 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
16978 rounding and exceptions handling.
16979 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16980 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
16981 (__fe_nomask_env): Likewise.
16982 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
16983 __fegetround instead of fegetround.
16984 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16985 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16986
6851bd4d
RM
169872013-11-21 Roland McGrath <roland@hack.frob.com>
16988
070906ff
RM
16989 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
16990 it's there.
16991
6851bd4d
RM
16992 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16993
84ae135d
MI
169942013-11-21 Meador Inge <meadori@codesourcery.com>
16995
16996 [BZ #11157]
16997 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16998 (encrypt_r): Likewise.
16999 * malloc/obstack.h (obstack_free): Likewise.
17000 * posix/unistd.h (encrypt): Likewise.
17001
daf75146
GM
170022013-11-21 Guy Martin <gmsoft@tuxicoman.be>
17003
17004 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
17005 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
17006 DL_CALL_DT_FINI() that call the functions directly.
17007 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
17008 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
17009 * elf/dl-fini.c: Likewise.
17010
10ad46bc
OB
170112013-11-20 Ondřej Bílka <neleai@seznam.cz>
17012
17013 * malloc/hooks.c (memalign_check): Add alignment rounding.
17014 * malloc/malloc.c (_mid_memalign): New function.
17015 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
17016 Implement by calling _mid_memalign.
17017 * manual/probes.texi (Memory Allocation Probes): Remove
17018 memory_valloc_retry and memory_pvalloc_retry.
17019
f3fd2628
SP
170202013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17021
4712799f
SP
17022 * locale/programs/locarchive.c (open_archive): Add const
17023 qualifier to ARCHIVEFNAME and copy default fname to
17024 DEFAULT_FNAME.
17025
0417b20f
SP
17026 [BZ #15601]
17027 * libio/tst-widetext.input: Rename Oriya to Odia.
17028 * locale/iso-639.def: Likewise.
17029
f3fd2628
SP
17030 * manual/probes.texi (Mathematical Function Probes): Add
17031 documentation for sin, cos, asin and acos probes.
17032 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
17033 (__sin32): Add slowasin probe.
17034 (__cos32): Add slowacos probe.
17035 (__mpsin): Add slowsin probe.
17036 (__mpcos): Add slowcos probe.
17037
73c1ce4f
JM
170382013-11-19 Joseph Myers <joseph@codesourcery.com>
17039
17040 [BZ #15483]
17041 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
17042 thread-local __sim_exceptions_thread and global
17043 __sim_exceptions_global.
17044 (__sim_disabled_exceptions): Change to thread-local
17045 __sim_disabled_exceptions_thread and global
17046 __sim_disabled_exceptions_global.
17047 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17048 and global __sim_round_mode_global.
17049 (__simulate_exceptions): Use thread-local floating-point state and
17050 set global state from it as needed.
17051 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
17052 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
17053 __sim_round_mode_thread.
17054 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
17055 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
17056 and global __sim_exceptions_global.
17057 (__sim_disabled_exceptions): Change to thread-local
17058 __sim_disabled_exceptions_thread and global
17059 __sim_disabled_exceptions_global.
17060 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17061 and global __sim_round_mode_global.
17062 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
17063 (SIM_SET_GLOBAL): Likewise.
17064 * sysdeps/powerpc/soft-fp/sfp-machine.h
17065 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
17066 __sim_round_mode_thread.
17067 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
17068 __sim_disabled_exceptions_thread.
17069 (__sim_exceptions): Change to __sim_exceptions_thread.
17070 (__sim_disabled_exceptions): Change to
17071 __sim_disabled_exceptions_thread.
17072 (__sim_round_mode): Change to __sim_round_mode_thread.
17073 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
17074 thread-local floating-point state and set global state from it as
17075 needed.
17076 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
17077 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
17078 (__sim_disabled_exceptions): Remove extern declaration.
17079 (feenableexcept): Use thread-local floating-point state and set
17080 global state from it as needed.
17081 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
17082 extern declaration.
17083 (__sim_disabled_exceptions): Likewise.
17084 (__sim_round_mode): Likewise.
17085 (__fegetenv): Use thread-local floating-point state.
17086 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
17087 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17088 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
17089 floating-point state and set global state from it as needed.
17090 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
17091 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17092 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
17093 Likewise.
17094 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17095 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
17096 Likewise.
17097 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
17098 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
17099 Use __sim_round_mode_thread.
17100 * math/test-fenv-tls.c: New file.
17101 * math/Makefile (tests): Add test-fenv-tls.
17102 ($(objpfx)test-fenv-tls): Depend on
17103 $(common-objpfx)nptl/libpthread.so.
17104
b5449b12
AS
171052013-11-19 Andreas Schwab <schwab@suse.de>
17106
17107 * locale/programs/locale.c (show_info): Decode wordarray elements.
17108 * locale/categories.def (LC_MONETARY): Add element for
17109 _NL_MONETARY_CRNCYSTR.
17110 * locale/C-monetary.c (conversion_rate): New variable.
17111 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
17112 element.
17113
e186536b
CM
171142013-11-18 Chris Metcalf <cmetcalf@tilera.com>
17115
17116 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
17117 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
17118
5c349950
PP
171192013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17120
17121 * elf/Makefile (tst-auxv): New test.
17122 * elf/tst-auxv.c: New
17123 * elf/rtld.c (dl_main): Adjust AT_EXECFN
17124
699df45b
JM
171252013-11-18 Joseph Myers <joseph@codesourcery.com>
17126
17127 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17128 (hidden_proto): Caller changed.
17129 (hidden_tls_proto): New macro.
17130 (libc_hidden_tls_proto): Likewise.
17131 (rtld_hidden_tls_proto): Likewise.
17132 (libm_hidden_tls_proto): Likewise.
17133 (libresolv_hidden_tls_proto): Likewise.
17134 (librt_hidden_tls_proto): Likewise.
17135 (libdl_hidden_tls_proto): Likewise.
17136 (libnss_files_hidden_tls_proto): Likewise.
17137 (libnsl_hidden_tls_proto): Likewise.
17138 (libnss_nisplus_hidden_tls_proto): Likewise.
17139 (libutil_hidden_tls_proto): Likewise.
17140
b7589107
OB
171412013-11-18 Ondřej Bílka <neleai@seznam.cz>
17142
17143 [BZ #10253]
17144 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17145 (decompose_rpath): Defer expansion to fillin_rpath.
17146 (_dl_init_paths): Pass linkmap to fillin_rpath.
17147
250c23bd
RS
171482013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17149
17150 * benchtests/Makefile: Add strsep.
17151 * benchtests/bench-strsep.c: New file: strsep benchtest.
17152 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17153
a7931fcf
AS
171542013-11-18 Andreas Schwab <schwab@suse.de>
17155
17156 * locale/programs/locale.c (show_info) [case byte]: Check for
17157 '\377' instead of '\177'.
17158 * locale/C-monetary.c (not_available): Always use "\377".
17159 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17160 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
17161 detect unavailable sign_posn locale elements.
17162 * locale/localeconv.c (__localeconv): For grouping and
17163 mon_grouping handle "\177" and "\377" like no grouping.
17164 (INT_ELEM): New macro. Use it to set all numeric members.
17165 * locale/programs/ld-monetary.c (monetary_read)
17166 <tok_mon_grouping>: Normalize single -1 to the empty string.
17167 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17168 Likewise.
17169
728dab0e
OB
171702013-11-07 Ondřej Bílka <neleai@seznam.cz>
17171
17172 [BZ #16055]
17173 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17174 when we match (nil).
17175 * stdio-common/tst-sscanf.c (struct test): Add testcase.
17176
66294491
JM
171772013-11-16 Joseph Myers <joseph@codesourcery.com>
17178
ce665817
JM
17179 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17180 (NO_TEST_INLINE): Update value.
17181 (ERRNO_UNCHANGED): Likewise.
17182 (ERRNO_EDOM): Likewise.
17183 (ERRNO_ERANGE): Likewise.
17184 (IGNORE_RESULT): Likewise.
17185 (check_float_internal): Check signs of NaN results if
17186 TEST_NAN_SIGN used.
17187 (check_complex): Pass TEST_NAN_SIGN flag through to second
17188 check_float_internal call.
17189 (copysign_test_data): Add tests with quiet NaNs as second
17190 argument. Use TEST_NAN_SIGN.
17191 (fabs_test_data): Add test of negative quiet NaN argument. Use
17192 TEST_NAN_SIGN.
17193 (signbit_test_data): Add tests of quiet NaN argument.
17194 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17195
ee1466a9
JM
17196 * math/gen-libm-test.pl (show_exceptions): Take extra argument
17197 $ignore_result.
17198 (parse_args): Handle function results specified as IGNORE.
17199 * math/libm-test.inc (IGNORE_RESULT): New macro.
17200 (check_float_internal): Do not check numerical result if flag
17201 IGNORE_RESULT set.
17202 (check_complex): Pass through IGNORE_RESULT to second
17203 check_float_internal call.
17204 (check_int): Do not check numerical result if flag IGNORE_RESULT
17205 set.
17206 (check_long): Likewise.
17207 (check_bool): Likewise.
17208 (check_longlong): Likewise.
17209 (lrint_test_data): Add tests of infinite and NaN arguments.
17210 (lrint_tonearest_test_data): Likewise.
17211 (lrint_towardzero_test_data): Likewise.
17212 (lrint_downward_test_data): Likewise.
17213 (lrint_upward_test_data): Likewise.
17214 (llrint_test_data): Likewise.
17215 (llrint_tonearest_test_data): Likewise.
17216 (llrint_towardzero_test_data): Likewise.
17217 (llrint_downward_test_data): Likewise.
17218 (llrint_upward_test_data): Likewise.
17219 (lround_test_data): Likewise.
17220 (llround_test_data): Likewise.
17221
14407b7e
JM
17222 * math/libm-test.inc (NO_TEST_INLINE): New macro.
17223 (ERRNO_UNCHANGED): Update value.
17224 (ERRNO_EDOM): Likewise.
17225 (ERRNO_ERANGE): Likewise.
17226 (NO_TEST_INLINE_FLOAT): New macro.
17227 (NO_TEST_INLINE_DOUBLE): Likewise.
17228 (enable_test): New function.
17229 (RUN_TEST_f_f): Check enable_test before running test.
17230 (RUN_TEST_2_f): Likewise.
17231 (RUN_TEST_fff_f): Likewise.
17232 (RUN_TEST_c_f): Likewise.
17233 (RUN_TEST_f_f1): Likewise.
17234 (RUN_TEST_fF_f1): Likewise.
17235 (RUN_TEST_fI_f1): Likewise.
17236 (RUN_TEST_ffI_f1): Likewise.
17237 (RUN_TEST_c_c): Likewise.
17238 (RUN_TEST_cc_c): Likewise.
17239 (RUN_TEST_f_i): Likewise.
17240 (RUN_TEST_f_i_tg): Likewise.
17241 (RUN_TEST_ff_i_tg): Likewise.
17242 (RUN_TEST_f_b): Likewise.
17243 (RUN_TEST_f_b_tg): Likewise.
17244 (RUN_TEST_f_l): Likewise.
17245 (RUN_TEST_f_L): Likewise.
17246 (RUN_TEST_fFF_11): Likewise.
17247 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17248 conditionals.
17249 (cosh_test_data): Likewise.
17250 (exp_test_data): Likewise.
17251 (expm1_test_data): Likewise.
17252 (hypot_test_data): Likewise.
17253 (pow_test_data): Likewise.
17254 (sinh_test_data): Likewise.
17255 (tanh_test_data): Likewise.
17256 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17257 flags argument.
17258
ca07f197
JM
17259 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17260 tests with quiet NaN input and output.
17261 (acosh_test_data): Likewise.
17262 (asin_test_data): Likewise.
17263 (asinh_test_data): Likewise.
17264 (atan_test_data): Likewise.
17265 (atanh_test_data): Likewise.
17266 (atan2_test_data): Likewise.
17267 (cbrt_test_data): Likewise.
17268 (cos_test_data): Likewise.
17269 (cosh_test_data): Likewise.
17270 (erf_test_data): Likewise.
17271 (erfc_test_data): Likewise.
17272 (exp_test_data): Likewise.
17273 (exp10_test_data): Likewise.
17274 (exp2_test_data): Likewise.
17275 (expm1_test_data): Likewise.
17276 (hypot_test_data): Likewise.
17277 (j0_test_data): Likewise.
17278 (j1_test_data): Likewise.
17279 (jn_test_data): Likewise.
17280 (lgamma_test_data): Likewise.
17281 (log_test_data): Likewise.
17282 (log10_test_data): Likewise.
17283 (log1p_test_data): Likewise.
17284 (log2_test_data): Likewise.
17285 (pow_test_data): Likewise.
17286 (scalb_test_data): Likewise.
17287 (sin_test_data): Likewise.
17288 (sincos_test_data): Likewise.
17289 (sinh_test_data): Likewise.
17290 (tan_test_data): Likewise.
17291 (tanh_test_data): Likewise.
17292 (tgamma_test_data): Likewise.
17293 (y0_test_data): Likewise.
17294 (y1_test_data): Likewise.
17295 (yn_test_data): Likewise.
17296
66294491
JM
17297 [BZ #16167]
17298 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17299 argument being NaN and avoid computations with second argument in
17300 that case.
17301 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17302 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17303 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17304
1820b143
CL
173052013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
17306
17307 * locale/iso-639.def: Add Chitwani Tharu (the).
17308
714bd261
AS
173092013-11-14 Andreas Schwab <schwab@suse.de>
17310
17311 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17312 word instead of empty string.
17313
7ab44563
AZ
173142013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17315
17316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17317 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17319 (__fe_nomask_env): Likewise.
17320
e8470ea2
SE
173212013-11-13 Steve Ellcey <sellcey@mips.com>
17322
17323 * benchtests/bench-timing.h: Include time.h.
17324
17c1d9f0
L
173252013-11-13 H.J. Lu <hongjiu.lu@intel.com>
17326
17327 [BZ #15997]
17328 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17329 to 3.4.0 for x32.
17330 * sysdeps/unix/sysv/linux/configure: Regenerated.
17331
9310c284
JM
173322013-11-13 Joseph Myers <joseph@codesourcery.com>
17333
17334 [BZ #16151]
17335 * stdlib/strtod_l.c (round_and_return): Do not consider
17336 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17337 exponent one less than half the least subnormal exponent.
17338 * stdlib/test-strtod-round-data: Add more tests.
17339 * stdlib/tst-strtod-round.c (tests): Regenerated.
17340
7a2ad8cf
AZ
173412013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17342
17343 [BZ #14143]
17344 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17345 (__fe_mask_env): Likewise.
17346 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17347 libm_hidden_proto and add function prototype.
17348 (__fe_mask_env): Add function prototype.
17349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17350 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17352 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17354 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17355
50727aa7
MS
173562013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17357
b2f386c1 17358 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
17359 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17360
a615be46
MS
173612013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17362
17363 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17364 of htab_find_slot().
17365
7ddace62
DM
173662013-11-11 David S. Miller <davem@davemloft.net>
17367
17368 [BZ #16150]
17369 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17370 symbol in the non-vis3 case in static builds.
17371 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17372 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17373 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17374 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17375
9182aa67
JK
173762013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17377
17378 [BZ #387]
17379 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17380 it is empty.
17381
450a2e2d
AZ
173822013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17383
b2f386c1
SP
17384 * benchtests/Makefile: Add bench-strtod.
17385 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 17386
8ec3f656
AS
173872013-11-11 Andreas Schwab <schwab@suse.de>
17388
17389 [BZ #16153]
17390 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17391 terminating NUL in key length.
17392
76a9b998
AZ
173932013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17394
17395 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17396 Add artificial ODP entry for vDSO symbol for PPC64.
17397 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17398 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17399
e4368156
OB
174002013-11-07 Ondřej Bílka <neleai@seznam.cz>
17401
17402 [BZ #15374]
17403 * nss/getent.c (services_keys): Recognize services starting with digit.
17404
8d6bb57c
DM
174052013-11-06 David S. Miller <davem@davemloft.net>
17406
17407 [BZ #15985]
17408 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17409 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17410
e256c421
WN
174112013-11-06 Will Newton <will.newton@linaro.org>
17412
17413 * manual/memory.texi (Malloc Examples): Remove register
17414 keyword from examples.
17415
f6e12daa 174162013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 17417
f6e12daa 17418 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 17419
9d880655
AS
174202013-11-04 Joseph Myers <joseph@codesourcery.com>
17421
fd2f9486 17422 [BZ #6981]
9d880655
AS
17423 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17424 depending on [__GCC_IEC_559 > 0].
17425 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17426 depending on [__GCC_IEC_559_COMPLEX > 0].
17427
ae129d3c
CL
174282013-11-03 Chris Leonard <cjl@sugarlabs.org>
17429
17430 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17431 to iso-639.def.
17432
4a15c2a4 174332013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
17434
17435 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17436
8b35e35d
OB
174372013-11-01 Ondřej Bílka <neleai@seznam.cz>
17438
17439 [BZ #16112]
17440 * malloc/malloc (malloc_info): Do not handle first bin as
17441 special case.
17442
1d70fd6c
CL
174432013-11-01 Chris Leonard <cjl@sugarlabs.org>
17444
17445 * locale/iso-639.def: Add Central Nahuatl (nhn).
17446
8c5c2600
BH
174472013-11-01 Bruno Haible <bruno@clisp.org>
17448
17449 [BZ #7003]
17450 * manual/math.texi (BSD Random): Specify range upper bound as
17451 in POSIX.
17452
da5579c2
CL
174532013-10-31 Chris Leonard <cjl@sugarlabs.org>
17454
17455 * locale/iso-639.def: Add Meadow Mari (mhr).
17456
5d30d853
OB
174572013-10-31 Ondřej Bílka <neleai@seznam.cz>
17458
17459 [BZ #14752], [BZ #15763]
17460 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17461 Validate name.
17462 * rt/tst_shm.c: Add test for escaping directory.
17463
a4966c61
AS
174642013-10-31 Andreas Schwab <schwab@suse.de>
17465
8a43e768 17466 [BZ #15917]
a4966c61
AS
17467 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17468 followed by 'x' as part of digit sequence.
17469 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17470
28d708c4
MAP
174712013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17472
17473 [BZ #16037]
17474 * configure.ac: allow GNU Make 4.0 and greater.
17475 * configure: Regenerated.
17476
a56ee40b
WN
174772013-10-30 Will Newton <will.newton@linaro.org>
17478
17479 [BZ #16038]
17480 * malloc/hooks.c (memalign_check): Limit alignment to the
17481 maximum representable power of two.
17482 * malloc/malloc.c (__libc_memalign): Likewise.
17483 * malloc/tst-memalign.c (do_test): Add test for very
17484 large alignment values.
17485 * malloc/tst-posix_memalign.c (do_test): Likewise.
17486
c6e4925d
OB
174872013-10-30 Ondřej Bílka <neleai@seznam.cz>
17488
17489 [BZ #11087]
17490 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17491 (munmap_chunk): Likewise.
17492 (mremap_chunk): Likewise.
17493
174942013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 17495
8a43e768 17496 [BZ #15799]
bbea82f7
OB
17497 * stdlib/div.c (div): Remove obsolete code.
17498 * stdlib/ldiv.c (ldiv): Likewise.
17499 * stdlib/lldiv.c (lldiv): Likewise.
17500
977f4b31
SP
175012013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17502
17503 [BZ #16071]
17504 * nss/nss_files/files-XXX.c (get_contents_ret): New
17505 enumerator.
17506 (get_contents): New function.
17507 (internal_getent): Use it. Expand size of LINEBUFLEN.
17508
cb8a6dbd
MF
175092013-10-30 Mike Frysinger <vapier@gentoo.org>
17510
17511 * configure.in: Moved to ...
17512 * configure.ac: ... here. Change reference to configure.in
17513 to configure.ac.
17514 * sysdeps/arm/preconfigure.ac: ... here.
17515 configure.in to configure.ac.
17516 * sysdeps/gnu/configure.in: Moved to ...
17517 * sysdeps/gnu/configure.ac: ... here.
17518 * sysdeps/i386/configure.in: Moved to ...
17519 * sysdeps/i386/configure.ac: ... here.
17520 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17521 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17522 * sysdeps/mach/configure.in: Moved to ...
17523 * sysdeps/mach/configure.ac: ... here.
17524 * sysdeps/mach/hurd/configure.in: Moved to ...
17525 * sysdeps/mach/hurd/configure.ac: ... here.
17526 * sysdeps/powerpc/configure.in: Moved to ...
17527 * sysdeps/powerpc/configure.ac: ... here.
17528 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17529 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17530 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17531 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17532 * sysdeps/s390/s390-32/configure.in: Moved to ...
17533 * sysdeps/s390/s390-32/configure.ac: ... here.
17534 * sysdeps/s390/s390-64/configure.in: Moved to ...
17535 * sysdeps/s390/s390-64/configure.ac: ... here.
17536 * sysdeps/sh/configure.in: Moved to ...
17537 * sysdeps/sh/configure.ac: ... here.
17538 * sysdeps/sparc/configure.in: Moved to ...
17539 * sysdeps/sparc/configure.ac: ... here.
17540 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17541 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17542 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17543 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17544 * sysdeps/x86_64/configure.in: Moved to ...
17545 * sysdeps/x86_64/configure.ac: ... here.
17546 * sysdeps/x86_64/preconfigure.in: Moved to ...
17547 * sysdeps/x86_64/preconfigure.ac: ... here.
17548 * aclocal.m4: Change reference to configure.in to configure.ac.
17549 * config.h.in: Likewise.
17550 * manual/install.texi: Likewise.
17551 * manual/maint.texi: Likewise.
17552 * Makefile: Likewise.
17553 * malloc/Makefile: Likewise.
17554 * nscd/Makefile: Likewise.
17555 * Makeconfig: Change reference to configure.in and
17556 preconfigure.in to configure.ac and preconfigure.ac
17557 respectively.
17558 * INSTALL: Regenerated.
17559 * configure: Likewise.
17560 * sysdeps/gnu/configure: Likewise.
17561 * sysdeps/i386/configure: Likewise.
17562 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17563 * sysdeps/mach/configure: Likewise.
17564 * sysdeps/mach/hurd/configure: Likewise.
17565 * sysdeps/powerpc/configure: Likewise.
17566 * sysdeps/powerpc/powerpc32/configure: Likewise.
17567 * sysdeps/powerpc/powerpc64/configure: Likewise.
17568 * sysdeps/s390/s390-32/configure: Likewise.
17569 * sysdeps/s390/s390-64/configure: Likewise.
17570 * sysdeps/sh/configure: Likewise.
17571 * sysdeps/sparc/configure: Likewise.
17572 * sysdeps/unix/sysv/linux/configure: Likewise.
17573 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17574 * sysdeps/x86_64/configure: Likewise.
17575 * sysdeps/x86_64/preconfigure: Likewise.
17576
36a4953a
AS
175772013-10-29 Andreas Schwab <schwab@suse.de>
17578
17579 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17580
c79a1204
SP
175812013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17582
dfa1b402
SP
17583 * benchtests/pow-inputs: Add new inputs.
17584
54f73d9c
SP
17585 * benchtests/exp-inputs: Add new inputs.
17586
c79a1204
SP
17587 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17588 conditional check for return value.
17589 (__cos32): Likewise.
17590
67beb545 175912013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
17592
17593 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17594 to provide a boost for large inputs with word alignment.
17595 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17596 implementation based on optimized PPC64 strcpy.
17597 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17598 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17599 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17600 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17601
151659f6
OB
176022013-10-25 Ondřej Bílka <neleai@seznam.cz>
17603
482a077e 17604 [BZ #2801]
151659f6
OB
17605 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17606
10b0f26b
OB
176072013-10-25 Ondřej Bílka <neleai@seznam.cz>
17608
17609 [BZ #14876]
17610 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17611 * time/tst-strptime.c (day_tests): Add testcase.
17612
ca42d35e
OB
176132013-10-25 Ondřej Bílka <neleai@seznam.cz>
17614
482a077e 17615 [BZ #14029]
ca42d35e
OB
17616 * manual/pattern.texi: Acknowledge that fnmatch can fail.
17617
52e6d801
FB
176182013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
17619
17620 [BZ #16074]
17621 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17622 MAP_FAILED on error.
17623
7cbcdb36
SP
176242013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17625
17626 [BZ #16072]
17627 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17628 heap for large requests.
17629
894f3f10
AM
176302013-10-25 Aurelien Jarno <aurelien@aurel32.net>
17631
17632 [BZ #9954]
17633 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17634 result if the result has no associated interface.
17635 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17636 interface for all 127.X.Y.Z addresses.
17637
b85545a6
CL
176382013-10-24 Chris Leonard <cjl@sugarlabs.org>
17639
17640 * locale/iso-639.def: Add Ligurian (lij)
17641
d1f23d46
OB
176422013-10-21 Ondřej Bílka <neleai@seznam.cz>
17643
17644 [BZ #15825]
17645 * sunrpc/rpc_main.c: Document rpcgen -5.
17646
4db5b08f
MS
176472013-10-19 Michael Stahl <mstahl@redhat.com>
17648
17649 * elf/rtld.c (do_preload): Print the reason why preloading failed.
17650
a471e96a
OB
176512013-10-19 Ondřej Bílka <neleai@seznam.cz>
17652
d1f23d46 17653 [BZ #10278]
a471e96a
OB
17654 * posix/glob.c: Match only directories when trailing slash is present.
17655 * posix/tst-gnuglob.c (my_opendir): Do not open files.
17656 (main): Add testcase.
17657
45c30c61
OB
176582013-10-19 Ondřej Bílka <neleai@seznam.cz>
17659
17660 [BZ #15670]
17661 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17662
484c12fb
CD
176632013-10-18 Carlos O'Donell <carlos@redhat.com>
17664
3d7dc513
CD
17665 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17666 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17667 AUTH_DES and cindex for FIPS 140-2.
17668 (DES Encryption): Add cindex FIPS 46-3.
17669
484c12fb
CD
17670 * locale/locarchive.h (struct locarhandle): Add fname.
17671 * locale/programs/localedef.c (main): Pass ARGV[remaining]
17672 if an optional argument was specified to --list-archive,
17673 otherwise NULL.
17674 * locale/programs/locarchive.c (show_archive_content): Take new
17675 argument fname and pass it via ah.fname to open_archive.
17676 * locale/programs/localedef.h: Update decl.
17677 (open_archive): If AH->fname is non-null, open that file
17678 rather than the default file name, and don't ignore ENOENT.
17679 (create_archive): Set AH.fname to NULL.
17680 (delete_locales_from_archive): Likewise.
17681 (add_locales_to_archive): Likewise.
17682 * locale/programs/locfile.c (write_all_categories): Likewise.
17683
3c8325fb
JM
176842013-10-18 Joseph Myers <joseph@codesourcery.com>
17685 Aldy Hernandez <aldyh@redhat.com>
17686
17687 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17688 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17689 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17690 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17691 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17692 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17693 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17694 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17695 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17696 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17697 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17698 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17699 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17700 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17701 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17702 Likewise.
17703 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17704 Likewise.
17705 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17706 Likewise.
17707 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17708 Likewise.
17709 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17710 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17711 Likewise.
17712 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17713 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17714 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17715 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17716 Likewise.
17717 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17718 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17719 * sysdeps/powerpc/preconfigure: Likewise.
17720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17721 Likewise.
17722 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17723 Replace contents of file by #include of <fenv_libc.h>.
17724 * sysdeps/powerpc/soft-fp/sfp-machine.h
17725 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17726 and <sys/prctl.h>.
17727 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17728 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17729 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17730 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17731 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17732 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17733 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17734 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17735 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17736 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17737 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17738 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17740 Allow copysignl PLT reference to be missing.
17741
5abe0682
RS
177422013-10-18 Richard Sandiford <richard@codesourcery.com>
17743 Joseph Myers <joseph@codesourcery.com
17744
17745 [BZ #15948]
17746 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17747 single character.
17748 (add_to_tablewc): Assert sequence of wide characters is nonempty.
17749
c7738d08
SP
177502013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17751
17752 * elf/tst-tls-dlinfo.c: Don't include tls.h.
17753 * elf/tst-tls1.c: Likewise.
17754 * elf/tst-tls10.h: Likewise.
17755 * elf/tst-tls14.c: Likewise.
17756 * elf/tst-tls2.c: Likewise.
17757 * elf/tst-tls3.c: Likewise.
17758 * elf/tst-tls4.c: Likewise.
17759 * elf/tst-tls5.c: Likewise.
17760 * elf/tst-tls6.c: Likewise.
17761 * elf/tst-tls7.c: Likewise.
17762 * elf/tst-tls8.c: Likewise.
17763 * elf/tst-tls9.c: Likewise.
17764 * elf/tst-tlsmod1.c: Likewise.
17765 * elf/tst-tlsmod13.c: Likewise.
17766 * elf/tst-tlsmod13a.c: Likewise.
17767 * elf/tst-tlsmod14a.c: Likewise.
17768 * elf/tst-tlsmod16a.c: Likewise.
17769 * elf/tst-tlsmod16b.c: Likewise.
17770 * elf/tst-tlsmod2.c: Likewise.
17771 * elf/tst-tlsmod3.c: Likewise.
17772 * elf/tst-tlsmod4.c: Likewise.
17773 * elf/tst-tlsmod5.c: Likewise.
17774 * elf/tst-tlsmod6.c: Likewise.
17775
0bfcf2c7
OB
177762013-10-18 Ondřej Bílka <neleai@seznam.cz>
17777
17778 [BZ #12486]
17779 * malloc/malloc.c: remove checks for statistics.
17780
264aad1e
OB
177812013-10-17 Ondřej Bílka <neleai@seznam.cz>
17782
17783 [BZ #15277]
17784 * inet/inet_net.c (inet_network): Detect additional invalid strings.
17785 * inet/tst-network.c: Add testcase.
17786
b957ced8
AS
177872013-10-17 Andreas Schwab <schwab@suse.de>
17788
17789 [BZ #15218]
17790 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17791 to determine canonical name.
17792
c5d5d574
OB
177932013-10-17 Ondřej Bílka <neleai@seznam.cz>
17794
17795 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17796 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17797 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17798 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17799 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17800 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17801 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17802 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17803 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17804 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17805 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17806 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17807 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17808 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17809 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17810 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17811 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17812 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17813 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17814 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17815 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17816 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17817 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17818 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17819 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17820 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17821 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17822 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17823 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17824 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17825 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17826 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17827 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17828 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17829 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17830 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17831 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17832 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17833 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17834 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17835 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17836 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17837 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17838 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17839 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17840 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17841 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17842 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17843 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17844 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17845 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17846 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17847 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17848 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17849 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17850 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17851 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17852 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17853
e5c2c2d0
JM
178542013-10-17 Joseph Myers <joseph@codesourcery.com>
17855
17856 [BZ #16041]
17857 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17858 make result into a quiet NaN.
17859
51ca9e29
JM
178602013-10-16 Joseph Myers <joseph@codesourcery.com>
17861
17862 * soft-fp/adddf3.c: Fix horizontal whitespace.
17863 * soft-fp/addsf3.c: Likewise.
17864 * soft-fp/addtf3.c: Likewise.
17865 * soft-fp/divdf3.c: Likewise.
17866 * soft-fp/divsf3.c: Likewise.
17867 * soft-fp/divtf3.c: Likewise.
17868 * soft-fp/double.h: Likewise.
17869 * soft-fp/eqdf2.c: Likewise.
17870 * soft-fp/eqsf2.c: Likewise.
17871 * soft-fp/eqtf2.c: Likewise.
17872 * soft-fp/extenddftf2.c: Likewise.
17873 * soft-fp/extended.h: Likewise.
17874 * soft-fp/extendsfdf2.c: Likewise.
17875 * soft-fp/extendsftf2.c: Likewise.
17876 * soft-fp/extendxftf2.c: Likewise.
17877 * soft-fp/fixdfdi.c: Likewise.
17878 * soft-fp/fixdfsi.c: Likewise.
17879 * soft-fp/fixdfti.c: Likewise.
17880 * soft-fp/fixsfdi.c: Likewise.
17881 * soft-fp/fixsfsi.c: Likewise.
17882 * soft-fp/fixsfti.c: Likewise.
17883 * soft-fp/fixtfdi.c: Likewise.
17884 * soft-fp/fixtfsi.c: Likewise.
17885 * soft-fp/fixtfti.c: Likewise.
17886 * soft-fp/fixunsdfdi.c: Likewise.
17887 * soft-fp/fixunsdfsi.c: Likewise.
17888 * soft-fp/fixunsdfti.c: Likewise.
17889 * soft-fp/fixunssfdi.c: Likewise.
17890 * soft-fp/fixunssfsi.c: Likewise.
17891 * soft-fp/fixunssfti.c: Likewise.
17892 * soft-fp/fixunstfdi.c: Likewise.
17893 * soft-fp/fixunstfsi.c: Likewise.
17894 * soft-fp/fixunstfti.c: Likewise.
17895 * soft-fp/floatdidf.c: Likewise.
17896 * soft-fp/floatdisf.c: Likewise.
17897 * soft-fp/floatditf.c: Likewise.
17898 * soft-fp/floatsidf.c: Likewise.
17899 * soft-fp/floatsisf.c: Likewise.
17900 * soft-fp/floatsitf.c: Likewise.
17901 * soft-fp/floattidf.c: Likewise.
17902 * soft-fp/floattisf.c: Likewise.
17903 * soft-fp/floattitf.c: Likewise.
17904 * soft-fp/floatundidf.c: Likewise.
17905 * soft-fp/floatundisf.c: Likewise.
17906 * soft-fp/floatunditf.c: Likewise.
17907 * soft-fp/floatunsidf.c: Likewise.
17908 * soft-fp/floatunsisf.c: Likewise.
17909 * soft-fp/floatunsitf.c: Likewise.
17910 * soft-fp/floatuntidf.c: Likewise.
17911 * soft-fp/floatuntisf.c: Likewise.
17912 * soft-fp/floatuntitf.c: Likewise.
17913 * soft-fp/fmadf4.c: Likewise.
17914 * soft-fp/fmasf4.c: Likewise.
17915 * soft-fp/fmatf4.c: Likewise.
17916 * soft-fp/gedf2.c: Likewise.
17917 * soft-fp/gesf2.c: Likewise.
17918 * soft-fp/getf2.c: Likewise.
17919 * soft-fp/ledf2.c: Likewise.
17920 * soft-fp/lesf2.c: Likewise.
17921 * soft-fp/letf2.c: Likewise.
17922 * soft-fp/muldf3.c: Likewise.
17923 * soft-fp/mulsf3.c: Likewise.
17924 * soft-fp/multf3.c: Likewise.
17925 * soft-fp/negdf2.c: Likewise.
17926 * soft-fp/negsf2.c: Likewise.
17927 * soft-fp/negtf2.c: Likewise.
17928 * soft-fp/op-1.h: Likewise.
17929 * soft-fp/op-2.h: Likewise.
17930 * soft-fp/op-4.h: Likewise.
17931 * soft-fp/op-8.h: Likewise.
17932 * soft-fp/op-common.h: Likewise.
17933 * soft-fp/quad.h: Likewise.
17934 * soft-fp/single.h: Likewise.
17935 * soft-fp/soft-fp.h: Likewise.
17936 * soft-fp/sqrtdf2.c: Likewise.
17937 * soft-fp/sqrtsf2.c: Likewise.
17938 * soft-fp/sqrttf2.c: Likewise.
17939 * soft-fp/subdf3.c: Likewise.
17940 * soft-fp/subsf3.c: Likewise.
17941 * soft-fp/subtf3.c: Likewise.
17942 * soft-fp/truncdfsf2.c: Likewise.
17943 * soft-fp/trunctfdf2.c: Likewise.
17944 * soft-fp/trunctfsf2.c: Likewise.
17945 * soft-fp/trunctfxf2.c: Likewise.
17946 * soft-fp/unorddf2.c: Likewise.
17947 * soft-fp/unordsf2.c: Likewise.
17948 * soft-fp/unordtf2.c: Likewise.
17949
9ebb0332
JM
179502013-10-15 Joseph Myers <joseph@codesourcery.com>
17951
17952 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17953 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17954
4b1a6d8b
OB
179552013-10-15 Ondřej Bílka <neleai@seznam.cz>
17956
17957 * elf/dl-libc.c: Clear initfini list after freeing.
17958
1e145589
JM
179592013-10-14 Joseph Myers <joseph@codesourcery.com>
17960
17961 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17962 * soft-fp/addsf3.c: Likewise.
17963 * soft-fp/addtf3.c: Likewise.
17964 * soft-fp/divdf3.c: Likewise.
17965 * soft-fp/divsf3.c: Likewise.
17966 * soft-fp/divtf3.c: Likewise.
17967 * soft-fp/double.h: Likewise.
17968 * soft-fp/eqdf2.c: Likewise.
17969 * soft-fp/eqsf2.c: Likewise.
17970 * soft-fp/eqtf2.c: Likewise.
17971 * soft-fp/extenddftf2.c: Likewise.
17972 * soft-fp/extended.h: Likewise.
17973 * soft-fp/extendsfdf2.c: Likewise.
17974 * soft-fp/extendsftf2.c: Likewise.
17975 * soft-fp/extendxftf2.c: Likewise.
17976 * soft-fp/fixdfdi.c: Likewise.
17977 * soft-fp/fixdfsi.c: Likewise.
17978 * soft-fp/fixdfti.c: Likewise.
17979 * soft-fp/fixsfdi.c: Likewise.
17980 * soft-fp/fixsfsi.c: Likewise.
17981 * soft-fp/fixsfti.c: Likewise.
17982 * soft-fp/fixtfdi.c: Likewise.
17983 * soft-fp/fixtfsi.c: Likewise.
17984 * soft-fp/fixtfti.c: Likewise.
17985 * soft-fp/fixunsdfdi.c: Likewise.
17986 * soft-fp/fixunsdfsi.c: Likewise.
17987 * soft-fp/fixunsdfti.c: Likewise.
17988 * soft-fp/fixunssfdi.c: Likewise.
17989 * soft-fp/fixunssfsi.c: Likewise.
17990 * soft-fp/fixunssfti.c: Likewise.
17991 * soft-fp/fixunstfdi.c: Likewise.
17992 * soft-fp/fixunstfsi.c: Likewise.
17993 * soft-fp/fixunstfti.c: Likewise.
17994 * soft-fp/floatdidf.c: Likewise.
17995 * soft-fp/floatdisf.c: Likewise.
17996 * soft-fp/floatditf.c: Likewise.
17997 * soft-fp/floatsidf.c: Likewise.
17998 * soft-fp/floatsisf.c: Likewise.
17999 * soft-fp/floatsitf.c: Likewise.
18000 * soft-fp/floattidf.c: Likewise.
18001 * soft-fp/floattisf.c: Likewise.
18002 * soft-fp/floattitf.c: Likewise.
18003 * soft-fp/floatundidf.c: Likewise.
18004 * soft-fp/floatundisf.c: Likewise.
18005 * soft-fp/floatunsidf.c: Likewise.
18006 * soft-fp/floatunsisf.c: Likewise.
18007 * soft-fp/floatuntidf.c: Likewise.
18008 * soft-fp/floatuntisf.c: Likewise.
18009 * soft-fp/floatuntitf.c: Likewise.
18010 * soft-fp/fmadf4.c: Likewise.
18011 * soft-fp/fmasf4.c: Likewise.
18012 * soft-fp/fmatf4.c: Likewise.
18013 * soft-fp/gedf2.c: Likewise.
18014 * soft-fp/gesf2.c: Likewise.
18015 * soft-fp/getf2.c: Likewise.
18016 * soft-fp/ledf2.c: Likewise.
18017 * soft-fp/lesf2.c: Likewise.
18018 * soft-fp/letf2.c: Likewise.
18019 * soft-fp/muldf3.c: Likewise.
18020 * soft-fp/mulsf3.c: Likewise.
18021 * soft-fp/multf3.c: Likewise.
18022 * soft-fp/negdf2.c: Likewise.
18023 * soft-fp/negsf2.c: Likewise.
18024 * soft-fp/negtf2.c: Likewise.
18025 * soft-fp/op-1.h: Likewise.
18026 * soft-fp/op-2.h: Likewise.
18027 * soft-fp/op-4.h: Likewise.
18028 * soft-fp/op-8.h: Likewise.
18029 * soft-fp/op-common.h: Likewise.
18030 * soft-fp/quad.h: Likewise.
18031 * soft-fp/single.h: Likewise.
18032 * soft-fp/soft-fp.h: Likewise.
18033 * soft-fp/sqrtdf2.c: Likewise.
18034 * soft-fp/sqrtsf2.c: Likewise.
18035 * soft-fp/sqrttf2.c: Likewise.
18036 * soft-fp/subdf3.c: Likewise.
18037 * soft-fp/subsf3.c: Likewise.
18038 * soft-fp/subtf3.c: Likewise.
18039 * soft-fp/truncdfsf2.c: Likewise.
18040 * soft-fp/trunctfdf2.c: Likewise.
18041 * soft-fp/trunctfsf2.c: Likewise.
18042 * soft-fp/trunctfxf2.c: Likewise.
18043 * soft-fp/unorddf2.c: Likewise.
18044 * soft-fp/unordsf2.c: Likewise.
18045 * soft-fp/unordtf2.c: Likewise.
18046
17c48a60
OB
180472013-10-14 Ondřej Bílka <neleai@seznam.cz>
18048
18049 [BZ #15672]
18050 * misc/error.c (error_tail): Fix possible buffer overflow.
18051
cabba934
OB
180522013-10-14 Aurelien Jarno <aurelien@aurel32.net>
18053
18054 [BZ #13028]
18055 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
18056 address.
18057
94bf958a
PM
180582013-10-14 P. J. McDermott <pj@pehjota.net>
18059
18060 [BZ #832]
18061 * elf/ldd.bash.in (try_trace): New function. Delete previous code
18062 testing pipefail option.
18063
71b4dea7
JM
180642013-10-12 Joseph Myers <joseph@codesourcery.com>
18065
18066 * soft-fp/double.h: Indent preprocessor directives inside #if.
18067 * soft-fp/extended.h: Likewise.
18068 * soft-fp/op-2.h: Likewise.
18069 * soft-fp/op-4.h: Likewise.
18070 * soft-fp/op-common.h: Likewise.
18071 * soft-fp/quad.h: Likewise.
18072 * soft-fp/single.h: Likewise.
18073 * soft-fp/soft-fp.h: Likewise.
18074
55602758
YC
180752013-10-12 Yuri Chornoivan <yurchor@ukr.net>
18076
18077 * iconv/iconv_prog.c: Fix typos.
18078 * stdio-common/psiginfo-data.h: Likewise.
18079
9cd83302
RT
180802013-10-12 Reuben Thomas <rrt@sc3d.org>
18081
18082 [BZ #15764]
18083 * locale/setlocale.c: Fix typo.
18084
99fd9f47
JM
180852013-10-12 Joseph Myers <joseph@codesourcery.com>
18086
b7ea74f0
JM
18087 [BZ #16036]
18088 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
18089 signaling NaN arguments.
18090 * soft-fp/unordsf2.c (__unordsf2): Likewise.
18091 * soft-fp/unordtf2.c (__unordtf2): Likewise.
18092
8a509447
JM
18093 [BZ #14910]
18094 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
18095 unordered operands.
18096 * soft-fp/gesf2.c (__gesf2): Likewise.
18097 * soft-fp/getf2.c (__getf2): Likewise.
18098 * soft-fp/ledf2.c (__ledf2): Likewise.
18099 * soft-fp/lesf2.c (__lesf2): Likewise.
18100 * soft-fp/letf2.c (__letf2): Likewise.
18101
98998e9f
JM
18102 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
18103 * soft-fp/eqsf2.c (__eqsf2): Likewise.
18104 * soft-fp/eqtf2.c (__eqtf2): Likewise.
18105 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
18106 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
18107 * soft-fp/fixdfti.c (__fixdfti): Likewise.
18108 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
18109 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
18110 * soft-fp/fixsfti.c (__fixsfti): Likewise.
18111 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
18112 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
18113 * soft-fp/fixtfti.c (__fixtfti): Likewise.
18114 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
18115 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
18116 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18117 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
18118 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
18119 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18120 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18121 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18122 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18123 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18124 * soft-fp/floatdisf.c (__floatdisf): Likewise.
18125 * soft-fp/floatsisf.c (__floatsisf): Likewise.
18126 * soft-fp/floattidf.c (__floattidf): Likewise.
18127 * soft-fp/floattisf.c (__floattisf): Likewise.
18128 * soft-fp/floattitf.c (__floattitf): Likewise.
18129 * soft-fp/floatundidf.c (__floatundidf): Likewise.
18130 * soft-fp/floatundisf.c (__floatundisf): Likewise.
18131 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18132 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18133 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18134 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18135 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18136 * soft-fp/gesf2.c (__gesf2): Likewise.
18137 * soft-fp/getf2.c (__getf2): Likewise.
18138 * soft-fp/ledf2.c (__ledf2): Likewise.
18139 * soft-fp/lesf2.c (__lesf2): Likewise.
18140 * soft-fp/letf2.c (__letf2): Likewise.
18141
8edc4a11
JM
18142 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18143 Undefine and redefine.
18144 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18145 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18146 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18147 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18148 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18149 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18150 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18151 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18152 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18153 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18154 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18155 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18156 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18157 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18158 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18159
8399acaf
JM
18160 [BZ #16032]
18161 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18162 without decrementing exponent if mantissa >= that for the
18163 denominator, not >.
18164 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18165 denominator, not >. Decrement exponent in < case instead of
18166 incrementing in >= case.
18167 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18168 without decrementing exponent if mantissa >= that for the
18169 denominator, not >.
18170
99fd9f47
JM
18171 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18172 computing saturated result for unsigned overflow.
18173
10e1cf6b
SP
181742013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18175 Jeff Law <law@redhat.com>
18176
18177 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18178 (atan2Mp): Add systemtap probe marker.
18179 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18180 (__ieee754_log): Add systemtap probe marker.
18181 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18182 (atanMp): Add systemtap probe marker.
18183 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18184 (tanMp): Add systemtap probe marker.
18185 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18186 (__slowexp): Add systemtap probe marker.
18187 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18188 (__slowpow): Add systemtap probe marker.
18189 * manual/probes.texi: Document probes.
18190
3d110c7c
EB
181912013-10-11 Eric Biggers <ebiggers3@gmail.com>
18192
18193 [BZ #15362]
18194 * libio/fileops.c (_IO_new_file_write): Return count of bytes
18195 written.
18196 (_IO_new_file_xsputn): Don't return EOF if nothing has been
18197 written.
18198 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18199 written to buffer but not flushed.
18200 * libio/iofwrite_u.c: Likewise.
18201 * libio/iopadn.c: Return bytes returned even if EOF was
18202 encountered.
18203 * libio/iowpadn.c: Likewise.
18204 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18205 if _IO_padn does not write the whole buffer.
18206 [!COMPILE_WPRINTF] (PAD): Likewise.
18207
75b4202a
DM
182082013-10-10 David S. Miller <davem@davemloft.net>
18209
18210 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18211 directory block.
18212
6c6352e6
JM
182132013-10-10 Joseph Myers <joseph@codesourcery.com>
18214
33b853c3
JM
18215 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
18216 instead of FSF address.
18217 * soft-fp/fixdfti.c: Likewise.
18218 * soft-fp/fixsfti.c: Likewise.
18219 * soft-fp/fixtfti.c: Likewise.
18220 * soft-fp/fixunsdfti.c: Likewise.
18221 * soft-fp/fixunssfti.c: Likewise.
18222 * soft-fp/fixunstfti.c: Likewise.
18223 * soft-fp/floattidf.c: Likewise.
18224 * soft-fp/floattisf.c: Likewise.
18225 * soft-fp/floattitf.c: Likewise.
18226 * soft-fp/floatuntidf.c: Likewise.
18227 * soft-fp/floatuntisf.c: Likewise.
18228 * soft-fp/floatuntitf.c: Likewise.
18229 * soft-fp/trunctfxf2.c: Likewise.
18230
6c6352e6
JM
18231 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
18232 * soft-fp/fixdfti.c: Likewise.
18233 * soft-fp/fixsfti.c: Likewise.
18234 * soft-fp/fixtfti.c: Likewise.
18235 * soft-fp/fixunsdfti.c: Likewise.
18236 * soft-fp/fixunssfti.c: Likewise.
18237 * soft-fp/fixunstfti.c: Likewise.
18238 * soft-fp/floattidf.c: Likewise.
18239 * soft-fp/floattisf.c: Likewise.
18240 * soft-fp/floattitf.c: Likewise.
18241 * soft-fp/floatuntidf.c: Likewise.
18242 * soft-fp/floatuntisf.c: Likewise.
18243 * soft-fp/floatuntitf.c: Likewise.
18244 * soft-fp/trunctfxf2.c: Likewise.
18245
3bf78b71
DM
182462013-10-10 David S. Miller <davem@davemloft.net>
18247
18248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18249
6f10289e
JM
182502013-10-10 Joseph Myers <joseph@codsourcery.com>
18251
bd878fc0
JM
18252 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18253 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18254 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18255 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18256 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18257 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18258 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18259
6f10289e
JM
18260 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18261 for NaNs before doing comparisons on argument.
18262 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18263 Likewise.
18264
321e2684
WN
182652013-10-10 Will Newton <will.newton@linaro.org>
18266
18267 * malloc/hooks.c (memalign_check): Ensure the value of bytes
18268 passed to _int_memalign does not overflow.
18269
40fefba1
TR
182702013-10-10 Torvald Riegel <triegel@redhat.com>
18271
18272 * scripts/bench.pl: Add include-sources directive.
18273 * benchtests/README: Update documentation.
18274
2ae21ed2
JM
182752013-10-10 Joseph Myers <joseph@codesourcery.com>
18276
dcc2dd3f
JM
18277 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18278 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18279 instead of FP_INIT_ROUNDMODE.
18280 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18281 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18282
2ae21ed2
JM
18283 [BZ #16034]
18284 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
18285 copy class of input value.
18286 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
18287 not handle exceptions.
18288 * soft-fp/negsf2.c (__negsf2): Likewise.
18289 * soft-fp/negtf2.c (__negtf2): Likewise.
18290 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18291
cb8f9562
JM
182922013-10-09 Joseph Myers <joseph@codesourcery.com>
18293
18294 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18295 semicolon. From Linux kernel.
18296
5b60c59d
AB
182972013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
18298
18299 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18300
b86835ca
YC
183012013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
18302
18303 [BZ #156]
18304 * manual/socket.texi: Added statement about buffer
18305 for gethostbyname2_r.
18306
e7044ea7
OB
183072013-10-08 Ondřej Bílka <neleai@seznam.cz>
18308
18309 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18310 Use .p2align directive instead, throughout.
18311 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18312 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18313 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18314 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18315 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18316 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18317 * sysdeps/x86_64/strchr.S: Likewise.
18318 * sysdeps/x86_64/strrchr.S: Likewise.
18319
09544cbc
SP
183202013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18321
88576635
SP
18322 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18323
e7b2d1dd
SP
18324 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18325
09544cbc
SP
18326 * sysdeps/generic/math_private.h (__mpsin1): Remove
18327 declaration.
18328 (__mpcos1): Likewise.
18329 (__mpsin): New argument __range_reduce.
18330 (__mpcos): Likewise.
18331 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18332 (slow): Use __mpsin and __mpcos.
18333 (slow1): Likewise.
18334 (slow2): Likewise.
18335 (sloww): Likewise.
18336 (sloww1): Likewise.
18337 (sloww2): Likewise.
18338 (bsloww): Likewise.
18339 (bsloww1): Likewise.
18340 (bsloww2): Likewise.
18341 (cslow2): Likewise.
18342 (csloww): Likewise.
18343 (csloww1): Likewise.
18344 (csloww2): Likewise.
18345 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18346 range_reduce. Merge in __mpsin1.
18347 (__mpcos): Likewise.
18348 (__mpsin1): Remove.
18349 (__mpcos1): Likewise.
18350
7602d070
JM
183512013-10-07 Joseph Myers <joseph@codesourcery.com>
18352
18353 * locale/loadlocale.c (_nl_intern_locale_data): Use
18354 LOCFILE_ALIGNED_P.
18355 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18356 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18357 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18358 obstack data is appropriately aligned.
18359 (obstack_int32_grow_fast): Likewise.
18360 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18361 * locale/programs/locfile.c (add_locale_uint32): Likewise.
18362 (add_locale_uint32_array): Likewise.
18363
a357259b
SP
183642013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18365
18366 * benchtests/Makefile: Remove ARGLIST and RET variables.
18367 ($(objpfx)bench-%.c): Pass only function name to the script.
18368 * benchtests/README: Update documentation.
18369 * benchtests/acos-inputs: Add new directives.
18370 * benchtests/acosh-inputs: Likewise.
18371 * benchtests/asin-inputs: Likewise.
18372 * benchtests/asinh-inputs: Likewise.
18373 * benchtests/atan-inputs: Likewise.
18374 * benchtests/atanh-inputs: Likewise.
18375 * benchtests/cos-inputs: Likewise.
18376 * benchtests/cosh-inputs: Likewise.
18377 * benchtests/exp-inputs: Likewise.
18378 * benchtests/log-inputs: Likewise.
18379 * benchtests/pow-inputs: Likewise.
18380 * benchtests/rint-inputs: Likewise.
18381 * benchtests/sin-inputs: Likewise.
18382 * benchtests/sinh-inputs: Likewise.
18383 * benchtests/tan-inputs: Likewise.
18384 * benchtests/tanh-inputs: Likewise.
18385 * scripts/bench.pl: Add support for new directives.
18386
9ec1b13d
AM
183872013-10-07 Alan Modra <amodra@gmail.com>
18388
18389 * README: Fix careless merge.
18390
8b7d57cd
AM
183912013-10-05 Alan Modra <amodra@gmail.com>
18392
18393 * NEWS: Mention powerpc64le support and bugs fixed.
18394 * README: Both big-endian and little-endian powerpc64 supported.
18395
7b7bab13
ST
183962013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18397
57f41c40
AS
18398 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18399 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
18400 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18401 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18402
d39baad1
RA
184032013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
18404
18405 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18406 match prototype.
18407
cd78f7e7
JM
184082013-10-04 Joseph Myers <joseph@codesourcery.com>
18409
29d73d86
JM
18410 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18411 Move -mhard-float appending from
18412 ports/sysdeps/powerpc/powerpc32/Makefile.
18413 [$(with-fp) = yes] (ASFLAGS): Likewise.
18414 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18415 * sysdeps/powerpc/nofpu: Move directory from
18416 ports/sysdeps/powerpc/nofpu.
18417 * sysdeps/powerpc/soft-fp: Move directory from
18418 ports/sysdeps/powerpc/soft-fp.
18419 * sysdeps/powerpc/powerpc32/405: Move directory from
18420 ports/sysdeps/powerpc/powerpc32/405.
18421 * sysdeps/powerpc/powerpc32/440: Move directory from
18422 ports/sysdeps/powerpc/powerpc32/440.
18423 * sysdeps/powerpc/powerpc32/464: Move directory from
18424 ports/sysdeps/powerpc/powerpc32/464.
18425 * sysdeps/powerpc/powerpc32/476: Move directory from
18426 ports/sysdeps/powerpc/powerpc32/476.
18427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18428 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18430 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18432 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18434 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18436 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18437 * README: Update for powerpc-*-linux-gnu software floating point
18438 support in libc.
18439
e246b347
JM
18440 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18441 case to powerpc/powerpc32*.
18442 * sysdeps/unix/sysv/linux/configure: Regenerated.
18443
89c2003e
JM
18444 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18445 (_FPU_MASK_OM): Define as 0x04.
18446 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18447 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18448 0x00c10080.
18449 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18450 0x0000003c.
18451 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18452
cd78f7e7
JM
18453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18454 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18455 getcontext_e500.
18456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18457 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18458 setcontext_e500.
18459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18460 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18461 and setcontext_e500.
18462
c755294d
CL
184632013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18464
18465 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18466
e16d221c
SP
184672013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18468
18469 * manual/threads.texi (Default Thread Attributes): Fix typo.
18470
215c7d43
WN
184712013-10-04 Will Newton <will.newton@linaro.org>
18472
18473 * malloc/Makefile: Add tst-memalign.
18474 * malloc/tst-memalign.c: New file.
18475
27d0461b
WN
18476 * malloc/tst-posix_memalign.c: Add comments.
18477 (do_test): Add comments and call free on all potentially
18478 allocated pointers. Add space after cast.
18479
1bc92709
WN
18480 * malloc/tst-pvalloc.c: Add comments.
18481 (do_test): Add comments and call free on all potentially
18482 allocated pointers. Remove duplicate check for NULL pointer.
18483 Add space after cast.
18484
66a9be9d
WN
18485 * malloc/tst-valloc.c: Add comments.
18486 (do_test): Add comments and call free on all potentially
18487 allocated pointers. Remove duplicate check for NULL pointer.
18488 Add space after cast.
18489
4cb81307
AM
184902013-10-04 Alan Modra <amodra@gmail.com>
18491
18492 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18493 Use stdint types in rather than __attribute__((mode())).
18494 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18495
f8e3e9f3
AM
184962013-10-04 Alan Modra <amodra@gmail.com>
18497
18498 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18499 Correct handling of unaligned relocs for little-endian.
18500 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18501
8f9ebb08
AM
185022013-10-04 Alan Modra <amodra@gmail.com>
18503
18504 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18505 * configure: Regenerate.
18506 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18507 * shlib-versions: Likewise.
18508
0edf96c2
AM
185092013-10-04 Alan Modra <amodra@gmail.com>
18510
18511 * string/tester.c (test_memrchr): Increment reported test cycle.
18512
e0f7a380
AM
185132013-10-04 Alan Modra <amodra@gmail.com>
18514
18515 * string/test-memcpy.c (do_one_test): When reporting errors, print
18516 string address and don't overrun end of string.
18517
466b0393
AM
185182013-10-04 Alan Modra <amodra@gmail.com>
18519
18520 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18521 insrdi. Make better use of reg selection to speed exit slightly.
18522 Schedule entry path a little better. Remove useless "are we done"
18523 checks on entry to main loop. Handle wrapping around zero address.
18524 Correct main loop count. Handle single left-over word from main
18525 loop inline rather than by using loop_small. Remove extra word
18526 case in loop_small caused by wrong loop count. Add little-endian
18527 support.
18528 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18529 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18530 cache hint.
18531 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18532 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18533 support. Avoid rlwimi.
18534 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18535
3be87c77
AM
185362013-10-04 Alan Modra <amodra@gmail.com>
18537
18538 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 18539 insrdi. Formatting.
3be87c77
AM
18540 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18541 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18542 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18543 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18544 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18545 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18546
759cfef3
AM
185472013-10-04 Alan Modra <amodra@gmail.com>
18548
18549 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18550 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18551 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18552 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18553 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18554 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18555 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18556 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18557 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18558 use of regs. Use power7 mtocrf. Tidy function tails.
18559
fe6e95d7
AM
185602013-10-04 Alan Modra <amodra@gmail.com>
18561
18562 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18563 Formatting. Consistently use rXXX register defines or rN defines.
18564 Use early exit labels that avoid restoring unused non-volatile regs.
18565 Make cr field use more consistent with rWORDn compares. Rename
18566 regs used as shift registers for unaligned loop, using rN defines
18567 for short lifetime/multiple use regs.
18568 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18569 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18570 addi 1,1,64 to pop stack frame. Simplify return value code.
18571 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18572
664318c3
AM
185732013-10-04 Alan Modra <amodra@gmail.com>
18574
18575 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18576 support. Correct typos, formatting. Optimize tail. Use insrdi
18577 rather than rlwimi.
18578 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18579 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18580 little-endian support. Correct typos.
18581 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18582 rather than rlwimi.
18583 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18584 in loop and entry code to keep "and." results.
18585 (strchr): Add little-endian support. Comment. Move cntlzd
18586 earlier in tail.
18587 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18588
43b84013
AM
185892013-10-04 Alan Modra <amodra@gmail.com>
18590
18591 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18592 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18593 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18594 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18595
8a7413f9
AM
185962013-10-04 Alan Modra <amodra@gmail.com>
18597
18598 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18599 (rTMP): Define as r11.
18600 (strcmp): Add little-endian support. Optimise tail.
18601 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18602 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18603 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18604 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18605 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18606 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18607 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18608
33ee81de
AM
186092013-10-04 Alan Modra <amodra@gmail.com>
18610
18611 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18612 little-endian support. Remove unnecessary "are we done" tests.
18613 Handle "s" wrapping around zero and extremely large "size".
18614 Correct main loop count. Handle single left-over word from main
18615 loop inline rather than by using small_loop. Correct comments.
18616 Delete "zero" tail, use "end_max" instead.
18617 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18618
db9b4570
AM
186192013-10-04 Alan Modra <amodra@gmail.com>
18620
18621 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18622 support. Don't branch over align.
18623 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18624 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18625 support. Rearrange tmp reg use to suit. Comment.
18626 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18627
f7c399cf
AM
186282013-10-04 Alan Modra <amodra@gmail.com>
18629
18630 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18631
0b2c2ace
AM
186322013-10-04 Alan Modra <amodra@gmail.com>
18633
18634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18635 conditional form of branch and link when obtaining pc.
18636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18637
02f04a6c
AM
186382013-10-04 Alan Modra <amodra@gmail.com>
18639
18640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18641 HIWORD/LOWORD.
18642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18644
9b874b2f
AM
186452013-10-04 Alan Modra <amodra@gmail.com>
18646
18647 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18648 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18649 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18650 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18651 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18652 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18653 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18654 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18655 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18656 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18657
be1e5d31
AB
186582013-10-04 Anton Blanchard <anton@au1.ibm.com>
18659 Alistair Popple <alistair@ozlabs.au.ibm.com>
18660 Alan Modra <amodra@gmail.com>
18661
18662 [BZ #15723]
18663 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18664 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18665 _dl_hwcap access for little-endian.
18666 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
18667 destroy vmx regs when saving unaligned.
18668 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18669 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
18670 destroy vmx regs when saving unaligned.
18671
fef13a78
AM
186722013-10-04 Alan Modra <amodra@gmail.com>
18673
18674 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18675 Don't use a union to pack hi/low value.
18676
76a66d51
AB
186772013-10-04 Anton Blanchard <anton@au1.ibm.com>
18678
18679 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18680 for little-endian.
18681 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18682 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18683 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18684 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18685 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18686
6a31fe7f
AM
186872013-10-04 Alan Modra <amodra@gmail.com>
18688
18689 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18690 constants to usual value for .cst8 section, and remove redundant
18691 high address load.
18692 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18693 constant for 0x1p52. Load little-endian words of double from
18694 correct stack offsets.
18695
7b88401f
AM
186962013-10-04 Alan Modra <amodra@gmail.com>
18697
18698 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18699 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18700 words of double from correct stack offsets.
18701 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18702 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18703 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18704 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18705 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18706 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18707 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18708 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18709 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18710 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18711 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18712 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18713 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18714 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18715 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18716 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18717 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18718
9c008155
AM
187192013-10-04 Alan Modra <amodra@gmail.com>
18720
18721 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18722 64-bit int/double union.
18723 (_FPU_SETCW): Likewise.
18724 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18725 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18726
da13146d
AM
187272013-10-04 Alan Modra <amodra@gmail.com>
18728
18729 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18730 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18731
603e8410
AM
187322013-10-04 Alan Modra <amodra@gmail.com>
18733
18734 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18735 use vector int constants.
18736 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18737
4a28b3ca
AB
187382013-10-04 Anton Blanchard <anton@au1.ibm.com>
18739
18740 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18741 array with long long.
18742 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18743 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18744 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18745 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18746 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18747 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18748 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18749 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18750 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18751 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18752 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18753 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18754 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18755
2ca85d2b
AB
187562013-10-04 Anton Blanchard <anton@au1.ibm.com>
18757
18758 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18759 (__signbit): Likewise. Correct for little-endian.
18760 (__signbitl): Call __signbit.
18761 (lrint): Correct for little-endian.
18762 (lrintf): Call lrint.
18763
62a728ae
AM
187642013-10-04 Alan Modra <amodra@gmail.com>
18765
18766 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18767 union 32-bit int array member with 64-bit int array.
18768 (t515, tm256): Double rather than long double.
18769 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18770
32c301df
AM
187712013-10-04 Alan Modra <amodra@gmail.com>
18772
18773 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18774 Delete.
18775 (IEEE854_LONG_DOUBLE_BIAS): Delete.
18776 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18777 version of math_ldbl.h.
18778
650ef4bd
AM
187792013-10-04 Alan Modra <amodra@gmail.com>
18780
18781 [BZ #15734], [BZ #15735]
18782 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18783 all uses of ieee875 long double macros and unions. Simplify test
18784 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
18785 ldbl_extract_mantissa value for ix,iy exponents. Properly
18786 normalize after ldbl_extract_mantissa, and don't add hidden bit
18787 already handled. Don't treat low word of ieee854 mantissa like
18788 low word of IBM long double and mask off bit when testing for
18789 zero.
18790 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18791 all uses of ieee875 long double macros and unions. Simplify tests
18792 for 0.0L and inf. Correct double adjustment of k. Delete dead code
18793 adjusting ha,hb. Simplify code setting kld. Delete two600 and
18794 two1022, instead use their values. Recognise that tests for large
18795 "a" and small "b" are mutually exclusive. Rename vars. Comment.
18796 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18797 Rewrite all uses of ieee875 long double macros and unions. Simplify
18798 test for 0.0L and nan. Correct negation.
18799 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18800 ieee875 long double macros and unions. Correct output for large
18801 magnitude x. Correct absolute value calculation.
18802 (__erfcl): Likewise.
18803 * math/libm-test.inc: Add tests for errors discovered in IBM long
18804 double versions of fmodl, remainderl, erfl and erfcl.
18805
765714ca
AM
188062013-10-04 Alan Modra <amodra@gmail.com>
18807
18808 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18809 all uses of ieee854 long double macros and unions. Simplify tests
18810 for long doubles that are fully specified by the high double.
18811 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18812 Likewise.
18813 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18814 Remove dead code too.
18815 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18816 (__ieee754_ynl): Likewise.
18817 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18818 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18819 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18820 Remove dead code too.
18821 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18822 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18823 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18824 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18825 Simplify.
18826 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18827 Simplify.
18828 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18829 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18830 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18831 Comment on variable precision.
18832 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18833 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18834 Likewise.
18835 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18836 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18837 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18838 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18839 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18840
4ebd120c
AM
188412013-10-04 Alan Modra <amodra@gmail.com>
18842
18843 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18844 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18845 all uses of ieee854 long double macros and unions.
18846 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18847 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18848 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18849 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18850 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18851 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18852 Likewise.
18853 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18854 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18855 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18856 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18857 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18858 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18859 Simplify sign and nan test too.
18860 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18861 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18862 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18863 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18864 Likewise.
18865 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18866 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18867 Likewise.
18868 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18869 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18870 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18871 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18872 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18873 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18874
1b6adf88
AM
188752013-10-04 Alan Modra <amodra@gmail.com>
18876
18877 * stdio-common/printf_size.c (__printf_size): Don't use
18878 union ieee854_long_double in fpnum union.
18879 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
18880 signbit macro to retrieve sign from long double.
18881 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18882 retrieve sign from long double.
18883 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18884 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18885 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18886 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18887 * math/test-misc.c (main): Don't use union ieee854_long_double.
18888
4cf69995
AM
188892013-10-04 Alan Modra <amodra@gmail.com>
18890
18891 [BZ #15680]
18892 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18893 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18894 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18895 calculation. Remove unnecessary test for denormal exponent.
18896 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18897 Correct handling of denormals. Avoid undefined shift behaviour.
18898 Correct normalisation of low mantissa when low double is denormal.
18899 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18900 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
18901 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18902 Correct normalisation of low mantissa. Test for overflow of high
18903 mantissa and normalise.
18904 (ldbl_nearbyint): Use more readable constant for two52.
18905 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18906 (__mpn_construct_long_double): Fix test for overflow of high
18907 mantissa and correct normalisation. Avoid undefined shift.
18908
9605ca6c
AM
189092013-10-04 Alan Modra <amodra@gmail.com>
18910
18911 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18912 (union ibm_extended_long_double): Define as an array of ieee754_double.
18913 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18914 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18915 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18916 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18917 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18918 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18919 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18920 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18921 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18922 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18923 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18924
975569d0
JM
189252013-10-03 Joseph Myers <joseph@codesourcery.com>
18926
d3d23756
JM
18927 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18928 page size instead of calling getpagesize.
18929
975569d0
JM
18930 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18931 (LOCFILE_ALIGN_MASK): Likewise.
18932 (LOCFILE_ALIGN_UP): Likewise.
18933 (LOCFILE_ALIGNED_P): Likewise.
18934 * locale/programs/ld-collate.c (collate_output): Use the new
18935 macros instead of __alignof__ (int32_t).
18936 * locale/weight.h (findidx): Likewise.
18937
b1fe1f2b
OB
189382013-10-03 Ondřej Bílka <neleai@seznam.cz>
18939
18940 [BZ #431]
18941 * manual/string.texi: Fix strncat and wcsncat.
18942
5f855e35
BM
189432013-10-03 Brooks Moses <bmoses@google.com>
18944
18945 [BZ #15915]
18946 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18947 * Makerules: ...here, and adjust associated comments.
18948
3cef6009
WN
189492013-10-02 Will Newton <will.newton@linaro.org>
18950
18951 * malloc/Makefile: Add tst-pvalloc.
18952 * malloc/tst-pvalloc.c: New file.
18953
7815420b
WN
189542013-10-02 Will Newton <will.newton@linaro.org>
18955
18956 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18957 improve test coverage.
18958
4868b204
WN
189592013-10-02 Will Newton <will.newton@linaro.org>
18960
18961 * malloc/Makefile: Add tst-posix_memalign.
18962 * malloc/tst-posix_memalign.c: New file.
18963
29c793b3
EB
189642013-10-01 Eric Blake <eblake@redhat.com>
18965
18966 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18967 Use __THROWNL rather than __THROW on static functions.
18968
fd967522
PM
189692013-09-30 Petr Machata <pmachata@redhat.com>
18970
18971 * elf/elf.h (R_AARCH64_ABS16): New macro.
18972 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18973 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
18974 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
18975 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18976 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
18977 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
18978 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
18979 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
18980 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
18981 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
18982 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
18983 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
18984 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
18985 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18986 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
18987 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
18988 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
18989 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
18990 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
18991 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18992 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18993 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18994 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18995 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18996 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18997 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18998 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18999 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
19000 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
19001 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
19002 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
19003 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
19004 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
19005 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
19006 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
19007 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
19008 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
19009 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
19010 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
19011 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
19012 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
19013 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
19014 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
19015 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
19016 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
19017 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
19018 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
19019 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
19020 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
19021 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
19022 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
19023 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
19024 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
19025 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
19026 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
19027 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
19028 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
19029 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
19030 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
19031 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
19032 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
19033 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
19034 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
19035 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
19036 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
19037 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
19038 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
19039 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
19040 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
19041 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
19042 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
19043 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
19044 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
19045 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
19046 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
19047 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
19048 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
19049 (R_AARCH64_TLSDESC_LDR): Likewise.
19050 (R_AARCH64_TLSDESC_ADD): Likewise.
19051 (R_AARCH64_TLSDESC_CALL): Likewise.
19052
b2179107
AS
190532013-09-30 Andreas Schwab <schwab@suse.de>
19054
19055 [BZ #15048]
19056 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
19057 the nss database lookup.
19058 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19059 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19060
47f28d0a
MF
190612013-09-28 Mike Frysinger <vapier@gentoo.org>
19062
19063 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
19064
190652013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
19066
19067 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
19068 ${Bash-specific parameter/pattern/string} parameter expansion.
19069 * sysdeps/unix/make-syscalls.sh: Likewise.
19070
f4518a17
KK
190712013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19072
19073 * sysdeps/sh/stackguard-macros.h: New file.
19074
dc1a95c7
OB
190752013-09-26 Ondřej Bílka <neleai@seznam.cz>
19076
19077 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19078 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
19079 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
19080 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
19081 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19082 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
19083
5ebbff8f
AZ
190842013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19085
19086 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
19087 Fix thread ID register.
19088
4fd2cf9f
JM
190892013-09-25 Joseph Myers <joseph@codesourcery.com>
19090
19091 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
19092 [POSIX || UNIX98]: Require rather than permitting all symbols from
19093 <time.h>.
19094 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
19095 element of struct sched_param.
19096 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
19097 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
19098 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
19099 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
19100 constant.
19101
12c22bc4
OL
191022013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
19103
19104 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
19105 argument calculation.
19106
a03d8ea7
JM
191072013-09-24 Joseph Myers <joseph@codesourcery.com>
19108
19109 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
19110 Expect macro.
19111 [POSIX] (pthread_attr_t): Do not require type.
19112 [POSIX] (pthread_cond_t): Likewise.
19113 [POSIX] (pthread_condattr_t): Likewise.
19114 [POSIX] (pthread_key_t): Likewise.
19115 [POSIX] (pthread_mutex_t): Likewise.
19116 [POSIX] (pthread_mutexattr_t): Likewise.
19117 [POSIX] (pthread_once_t): Likewise.
19118 [POSIX] (pthread_t): Likewise.
19119 [POSIX-based standards] (pthread_atfork): Expect function.
19120
6055173a
JM
191212013-09-24 Joseph Myers <joseph@codesourcery.com>
19122 Richard Sandiford <richard@codesourcery.com>
19123
19124 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19125 (swap_endianness_p): New extern variable.
19126 (set_big_endian): New inline function.
19127 (maybe_swap_uint32): Likewise.
19128 (maybe_swap_uint32_array): Likewise.
19129 (maybe_swap_uint32_obstack): Likewise.
19130 * locale/programs/locfile.c: Include <stdbool.h>.
19131 (swap_endianness_p): New variable.
19132 (add_locale_uint32): Call maybe_swap_uint32.
19133 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19134 (write_locale_data): Call maybe_swap_uint32_array.
19135 * locale/programs/ld-collate.c (obstack_int32_grow): Call
19136 maybe_swap_uint32.
19137 (obstack_int32_grow_fast): Likewise.
19138 (output_weightwc): Call maybe_swap_uint32_obstack.
19139 (collate_output): Likewise.
19140 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19141 (OPT_LITTLE_ENDIAN): Likewise.
19142 (options): Add --little-endian and --big-endian options.
19143 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19144 * locale/programs/locarchive.c: Include "locfile.h".
19145 (GET): New macro.
19146 (SET): Likewise.
19147 (INC): Likewise.
19148 (create_archive): Use the new macros to access fields of
19149 structures directly mapped from or written to locale archives.
19150 (oldlocrecentcmp): Likewise.
19151 (enlarge_archive): Likewise.
19152 (insert_name): Likewise.
19153 (add_alias): Likewise.
19154 (add_locale): Likewise.
19155 (delete_locales_from_archive): Likewise.
19156 (show_archive_content): Likewise.
19157 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
19158 locale data.
19159
39bf0bb4
RM
191602013-09-24 Roland McGrath <roland@hack.frob.com>
19161
19162 * manual/freemanuals.texi: Updated from (newly) canonical copy at
19163 http://www.gnu.org/doc/freemanuals.texi.
19164 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19165
f02eed10
WN
191662013-09-24 Will Newton <will.newton@linaro.org>
19167
19168 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19169 macro.
19170
a3a6c312
JM
191712013-09-23 Joseph Myers <joseph@codesourcery.com>
19172
19173 * locale/hashval.h (compute_hashval): Interpret bytes of key as
19174 unsigned char.
19175
107375ac
MR
191762013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
19177
19178 * manual/threads.texi (POSIX Threads): Fix a typo.
19179
141f3a77
SP
191802013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19181
303e567a
SP
19182 [BZ #14547]
19183 * string/tst-strcoll-overflow.c: New test case.
19184 * string/Makefile (xtests): Add tst-strcoll-overflow.
19185 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19186 cache if string sizes may cause integer overflow.
19187
141f3a77
SP
19188 [BZ #14547]
19189 * string/strcoll_l.c (coll_seq): New members rule, idx,
19190 save_idx and back_us.
19191 (get_next_seq_nocache): New function.
19192 (do_compare_nocache): New function.
19193 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19194 when malloc fails.
19195
c61b4d41
CD
191962013-09-23 Carlos O'Donell <carlos@redhat.com>
19197
0b1f8e35
CD
19198 [BZ #15754]
19199 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19200 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19201 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19202
c61b4d41
CD
19203 [BZ #15754]
19204 * elf/Makefile (tests): Add tst-ptrguard1.
19205 (tests-static): Add tst-ptrguard1-static.
19206 (tst-ptrguard1-ARGS): Define.
19207 (tst-ptrguard1-static-ARGS): Define.
19208 * elf/tst-ptrguard1.c: New file.
19209 * elf/tst-ptrguard1-static.c: New file.
19210 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19211 * sysdeps/i386/stackguard-macros.h: Likewise.
19212 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19213 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19214 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19215 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19216 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19217 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19218
192192013-09-23 Hector Marco <hecmargi@upv.es>
19220 Ismael Ripoll <iripoll@disca.upv.es>
19221 Carlos O'Donell <carlos@redhat.com>
19222
19223 [BZ #15754]
19224 * sysdeps/generic/stackguard-macros.h: Define
19225 __pointer_chk_guard_local and POINTER_CHK_GUARD.
19226 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19227 Define __pointer_chk_guard_local.
19228 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19229 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19230
f5f4e7b4
VV
192312013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
19232
19233 [BZ #15859]
19234 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19235
5bb43a43
AS
192362013-09-20 Andreas Schwab <schwab@linux-m68k.org>
19237
19238 * include/string.h (__ffs): Declare as hidden.
19239 * string/ffs.c (__ffs): Define as hidden.
19240 * sysdeps/i386/ffs.c (__ffs): Likewise.
19241 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19242 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19243 * sysdeps/s390/ffs.c (__ffs): Likewise.
19244 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19245
3ea5be54
AO
192462013-09-20 Alexandre Oliva <aoliva@redhat.com>
19247
ffb89e53
AO
19248 * NEWS: Mention malloc probes.
19249
322dea08
AO
19250 * malloc/arena.c (new_heap): New memory_heap_new probe.
19251 (grow_heap): New memory_heap_more probe.
19252 (shrink_heap): New memory_heap_less probe.
19253 (heap_trim): New memory_heap_free probe.
19254 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19255 (systrim): New memory_sbrk_less probe.
19256 * manual/probes.texi: Document them.
19257
655673f3
AO
19258 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19259 * manual/probes.texi: Document it.
19260
35fed6f1
AO
19261 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19262 (__libc_realloc): Add memory_realloc_retry probe.
19263 (__libc_memalign): Add memory_memalign_retry probe.
19264 (__libc_valloc): Add memory_valloc_retry probe.
19265 (__libc_pvalloc): Add memory_pvalloc_retry probe.
19266 (__libc_calloc): Add memory_calloc_retry probe.
19267 * manual/probes.texi: Document them.
19268
6999d38c
AO
19269 * malloc/arena.c (get_free_list): Add probe
19270 memory_arena_reuse_free_list.
19271 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19272 and memory_arena_reuse.
19273 (arena_get2) [!PER_THREAD]: Likewise.
19274 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19275 memory_arena_reuse_realloc.
19276 * manual/probes.texi: Document them.
19277
0653427f
AO
19278 * malloc/malloc.c (__libc_free): Add
19279 memory_mallopt_free_dyn_thresholds probe.
19280 (__libc_mallopt): Add multiple memory_mallopt probes.
19281 * manual/probes.texi: Document them.
19282
3ea5be54
AO
19283 * malloc/malloc.c: Include stap-probe.h.
19284 (__libc_mallopt): Add memory_mallopt probe.
19285 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19286 * manual/probes.texi: New.
19287 * manual/Makefile (chapters): Add probes.
19288 * manual/threads.texi: Set next node.
19289
e35696c3 192902013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 19291
e35696c3
CL
19292 [BZ #15963, #13985]
19293 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19294 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19295 Add `Chinese' to `nan' entry name.
19296
4aafb73c
SP
192972013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19298
19299 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19300 (POLYNOMIAL): Likewise.
19301 (TAYLOR_SINCOS): Likewise.
19302 (TAYLOR_SLOW): Likewise.
19303 (__sin): Use TAYLOR_SINCOS.
19304 (__cos): Likewise.
19305 (slow): Use TAYLOR_SLOW.
19306 (sloww): Likewise.
19307 (bsloww): Likewise.
19308 (csloww): Likewise.
19309
d84f25c7
LD
193102013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19311
19312 * stdlib/strtod_l.c: Fix buffer overrun.
19313
5eea0404
SP
193142013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19315
7849ff93
SP
19316 * benchtests/Makefile (bench): Add sincos.
19317 * benchtests/bench-sincos.c: New file.
19318
cfa3c886
SP
19319 * math/libm-test.inc (cos_test_data): New test inputs.
19320 (sin_test_data): Likewise.
19321
b348e1e3
SP
19322 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19323 macro.
19324 (__sin): Use it.
19325 (__cos): Likewise.
19326 (slow1): Likewise.
19327 (slow2): Likewise.
19328 (sloww1): Likewise.
19329 (sloww2): Likewise.
19330 (bsloww1): Likewise.
19331 (bsloww2): Likewise.
19332 (cslow2): Likewise.
19333 (csloww1): Likewise.
19334 (csloww2): Likewise.
19335
6cce25f8
SP
19336 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19337 function.
19338 (__sin): Use it.
19339 (__cos): Likewise.
19340
5eea0404
SP
19341 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19342 gotos.
19343 (__cos): Likewise.
19344
9c21573c
MR
193452013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
19346
19347 * config.h.in (HAVE_MIPS_NAN2008): New macro.
19348 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19349 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19350 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19351 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19352 * elf/cache.c (print_entry): Handle the new cache flags.
19353
24d22e65
JM
193542013-09-18 Joseph Myers <joseph@codesourcery.com>
19355 Aldy Hernandez <aldyh@redhat.com>
19356
19357 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19358 Change condition to [_SOFT_FLOAT].
19359 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19360 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19361 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19362 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19363 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19364 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19365 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19366 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19367 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19368 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19369 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19370 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19371 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19372 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19373 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19374 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19375 declaration.
19376
d13ef066
JM
193772013-09-18 Joseph Myers <joseph@codesourcery.com>
19378
2e071de0
JM
19379 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19380 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19381 (__longjmp): Use LOAD_GP to load saved GPRs.
19382 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19383 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19384 (__sigsetjmp): Use SAVE_GP to save GPRs.
19385
d13ef066
JM
19386 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19387 Do not append -msoft-float.
19388 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19389
97a0650b
SP
193902013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19391
19392 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19393
11ca09e9
JM
193942013-09-17 Joseph Myers <joseph@codesourcery.com>
19395
19396 [BZ #15966]
19397 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19398 (_FPU_GETCW): Use initial "__" on variable and field names but not
19399 on macro parameter name.
19400 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
19401 parentheses around reference to macro parameter.
19402
08ffcf34
RS
194032013-09-13 Richard Sandiford <richard@codesourcery.com>
19404
19405 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19406 prototype.
19407 (ctype_startup): Use uint32_t in cast and sizeof for
19408 ctype->charnames.
19409
ae7080d3
JL
194102013-09-11 Jia Liu <proljc@gmail.com>
19411
19412 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19413 __daddr_t_defined.
19414 [__FreeBSD__]: Likewise.
19415
5905e7b3
OB
194162013-09-11 Ondřej Bílka <neleai@seznam.cz>
19417
19418 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19419 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19420 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19421 (strchr): Remove __strchr_sse42 ifunc selection.
19422 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19423 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19424
b987c776
WN
194252013-09-11 Will Newton <will.newton@linaro.org>
19426
19427 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19428 parameter to RES. Remove hardcoded 1000 value.
19429 * benchtests/bench-skeleton.c (main): Pass RES parameter
19430 to TIMING_INIT and multiply result by 1000.
19431
ddf985af
AZ
194322013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19433
19434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19435
ffdd3181
AS
194362013-09-11 Andreas Schwab <schwab@suse.de>
19437
19438 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19439 if not defined.
19440 (O_TMPFILE) [__USE_GNU]: Define.
19441 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19442 Define.
19443
b73ed247
WN
194442013-09-11 Will Newton <will.newton@linaro.org>
19445
19446 [BZ #15857]
19447 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19448 does not overflow.
19449
55e17aad
WN
194502013-09-11 Will Newton <will.newton@linaro.org>
19451
19452 [BZ #15856]
19453 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19454 does not overflow.
19455
1159a193
WN
194562013-09-11 Will Newton <will.newton@linaro.org>
19457
19458 [BZ #15855]
19459 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19460 does not overflow.
19461
5905e7b3 194622013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
19463
19464 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19465 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19466 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19467 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19468 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19469
cdfc721b
AM
194702013-09-10 Allan McRae <allan@archlinux.org>
19471
aa04af00
AM
19472 [BZ #15748]
19473 * manual/arith.texi (Parsing of Floats): Clarify
19474 cross-reference.
19475
cdfc721b
AM
19476 [BZ #15849]
19477 * manual/install.texi (Running make install): Mention
19478 --enable-pt-chown.
19479 * INSTALL: Regenerated.
19480
95e7cf29
MR
194812013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19482
19483 * csu/init-first.c (_init): Remove the !SHARED condition around
19484 FPU control word initialization.
19485 * elf/dl-support.c (_dl_fpu_control): New variable.
19486 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19487 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19488 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19489 * math/test-fpucw-static.c: New file.
19490 * math/test-fpucw-ieee.c: New file.
19491 * math/test-fpucw-ieee-static.c: New file.
19492 * math/Makefile (tests): Add `test-fpucw-ieee' and
19493 `$(tests-static)'.
19494 (tests-static): New variable.
19495 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19496 dependency to...
19497 [($(build-shared),yes)]
19498 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19499 ... this.
19500 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19501 New dependency.
19502
83e43bf0
AM
195032013-09-09 Allan McRae <allan@archlinux.org>
19504
a9f5ce09
AM
19505 [BZ #15939]
19506 * manual/string.texi (Collation Functions): Fix typo in
19507 strcoll example.
19508 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19509
34829bc2
AM
19510 [BZ #15893]
19511 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19512
3932737d
AM
19513 [BZ #15892]
19514 * libio/memstream.c (open_memstream): Fix memory leak.
19515 * libio/wmemstream.c (open_wmemstream): Likewise.
19516
83e43bf0
AM
19517 [BZ #15895]
19518 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19519
0c66b8e9
WN
195202013-09-09 Will Newton <will.newton@linaro.org>
19521
19522 * malloc/Makefile: Add tst-realloc to tests.
19523 * malloc/tst-realloc.c: New file.
19524
f6b00fd1
AM
195252013-09-09 Allan McRae <allan@archlinux.org>
19526
19527 [BZ #15844]
19528 * COPYING: Update from GNU website to fix FSF address.
19529 * COPYING.LIB: Likewise.
19530
eec55e16
DM
195312013-09-06 David S. Miller <davem@davemloft.net>
19532
19533 * po/zh_TW.po: Update Chinese (traditional) translation from
19534 translation project.
19535
1ecbb381
RS
195362013-09-06 Richard Sandiford <richard@codesourcery.com>
19537 Joseph Myers <joseph@codesourcery.com>
19538
19539 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19540 "localeinfo.h".
19541 (obstack_chunk_alloc): New macro.
19542 (obstack_chunk_free): Likewise.
19543 (record_offset): New function.
19544 (init_locale_data): Likewise.
19545 (align_locale_data): Likewise.
19546 (add_locale_empty): Likewise.
19547 (add_locale_raw_data): Likewise.
19548 (add_locale_raw_obstack): Likewise.
19549 (add_locale_string): Likewise.
19550 (add_locale_wstring): Likewise.
19551 (add_locale_uint32): Likewise.
19552 (add_locale_uint32_array): Likewise.
19553 (add_locale_char): Likewise.
19554 (start_locale_structure): Likewise.
19555 (end_locale_structure): Likewise.
19556 (start_locale_prelude): Likewise.
19557 (end_locale_prelude): Likewise.
19558 (write_locale_data): Take locale_file structure rather than an
19559 iovec.
19560 * locale/programs/locfile.h: Include "obstack.h".
19561 (struct locale_file): Change to store locale file contents instead
19562 of header.
19563 (init_locale_data): New prototype.
19564 (align_locale_data): Likewise.
19565 (add_locale_empty): Likewise.
19566 (add_locale_raw_data): Likewise.
19567 (add_locale_raw_obstack): Likewise.
19568 (add_locale_string): Likewise.
19569 (add_locale_wstring): Likewise.
19570 (add_locale_uint32): Likewise.
19571 (add_locale_uint32_array): Likewise.
19572 (add_locale_char): Likewise.
19573 (start_locale_structure): Likewise.
19574 (end_locale_structure): Likewise.
19575 (start_locale_prelude): Likewise.
19576 (end_locale_prelude): Likewise.
19577 (write_locale_data): Update prototype.
19578 * locale/programs/3level.h (struct TABLE): Remove result field.
19579 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19580 Use new locale_file interface.
19581 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19582 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19583 * locale/programs/ld-address.c (address_output): Use new
19584 locale_file interface.
19585 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19586 NO_ADD_LOCALE.
19587 (collate_finish): Don't call collseq_table_finalize.
19588 (collate_output): Use new locale_file interface.
19589 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19590 in file.
19591 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19592 (TABLE): Move defines earlier in file.
19593 (ELEMENT): Likewise.
19594 (DEFAULT): Likewise.
19595 (wctrans_table_add): Move macro and inline function earlier in
19596 file.
19597 (struct wctype_table): Move type earlier in file.
19598 (add_locale_wctype_table): New static prototype.
19599 (struct locale_ctype_t): Use logical types instead of struct iovec
19600 pointers for members.
19601 (ctype_output): Use new locale_file interface.
19602 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19603 new locale_file interface.
19604 (allocate_arrays): Update for use of new locale_file interface.
19605 * locale/programs/ld-identification.c (identification_output): Use
19606 new locale_file interface.
19607 * locale/programs/ld-measurement.c (measurement_output): Likewise.
19608 * locale/programs/ld-messages.c (messages_output): Likewise.
19609 * locale/programs/ld-monetary.c (monetary_output): Likewise.
19610 * locale/programs/ld-name.c (name_output): Likewise.
19611 * locale/programs/ld-numeric.c (numeric_output): Likewise.
19612 * locale/programs/ld-paper.c (paper_output): Likewise.
19613 * locale/programs/ld-telephone.c (telephone_output): Likewise.
19614 * locale/programs/ld-time.c (time_output): Likewise.
19615
e029e2e5
AZ
196162013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19617
19618 * benchtests/Makefile: Add memrchr benchmark.
19619 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19620 benchmark as memrchr.
19621 * benchtests/bench-memrchr-ifunc.c: New file.
19622 * benchtests/bench-memrchr.c: New file.
19623
bbf6e8e4
WN
196242013-09-06 Will Newton <will.newton@linaro.org>
19625
19626 * benchtests/Makefile (string-bench): Add memcpy.
19627
6c82a2f8
CD
196282013-09-05 Carlos O'Donell <carlos@redhat.com>
19629 Cong Wang <amwang@redhat.com>
19630
e732c5f0 19631 [BZ #15850]
6c82a2f8
CD
19632 * sysdeps/unix/sysv/linux/bits/in.h
19633 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19634 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19635 before __USE_KERNEL_IPV6_DEFS uses.
19636 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19637 IPPROTO_BEETPH.
19638 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19639 sockaddr_in6, or ipv6_mreq.
19640
5430fc65
AZ
196412013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19642
19643 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19644 memory access for final bytes in some large inputs.
19645 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19646
4660856c
AZ
196472013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19648
19649 * string/test-memrchr.c: New file.
19650 * string/test-memrchr-ifunc.c: New file.
19651 * string/Makefile: Add new memrchr testcase.
19652
bb8ea713
MF
196532013-09-05 Mike Frysinger <vapier@gentoo.org>
19654
19655 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19656 fanotify_init returns EPERM.
19657
b92a20b5
JM
196582013-09-04 Joseph Myers <joseph@codesourcery.com>
19659
19660 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19661 errors.
19662 (top level): Treat second token from macro or constant entries for
19663 allowed headers as allowed.
19664 * include/complex.h: Condition internal declarations on
19665 [!_ISOMAC].
19666 * include/fenv.h: Condition include of <stdbool.h> and internal
19667 declarations on [!_ISOMAC].
7447ccd9
CL
19668
196692013-09-04 Chris Leonard <cjl@sugarlabs,.org>
19670
3e181dda 19671 [BZ #15923]
7447ccd9
CL
19672 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19673
3f2e46a4
JM
196742013-09-04 Joseph Myers <joseph@codesourcery.com>
19675
19676 * configure.in (--enable-versioning): Remove configure option.
19677 (libc_cv_asm_symver_directive): Remove configure test.
19678 (libc_cv_ld_version_script_option): Likewise.
19679 (VERSIONING): Remove variable and AC_SUBST.
19680 (DO_VERSIONING): Remove AC_DEFINE.
19681 * configure: Regenerated.
19682 * config.h.in (DO_VERSIONING): Remove macro.
19683 * Makerules [$(versioning) = yes]: Change conditionals to
19684 [$(build-shared) = yes].
19685 * config.make.in (versioning): Remove variable.
19686 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19687 [$(build-shared) = yes].
19688 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19689 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19690 * elf/Makefile [$(versioning) = yes]: Change conditionals to
19691 [$(build-shared) = yes].
19692 * extra-lib.mk [$(versioning) = yes]: Likewise.
19693 * hurd/Makefile [$(versioning) = yes]: Likewise.
19694 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19695 [SHARED].
19696 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19697 [SHARED].
19698 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19699 [SHARED && !NO_HIDDEN].
19700 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19701 [SHARED].
19702 [SHARED && DO_VERSIONING]: Likewise..
19703 * libio/Makefile [$(versioning) = yes]: Change conditionals to
19704 [$(build-shared) = yes].
19705 * manual/install.texi (--disable-versioning): Remove
19706 documentation.
19707 * INSTALL: Regenerated.
19708 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19709 to [SHARED].
19710 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19711 [$(build-shared) = yes].
19712 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19713 * sysdeps/i386/i686/multiarch/strstr-c.c
19714 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19715 [SHARED && !NO_HIDDEN].
19716 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19717 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19718 * sysdeps/powerpc/powerpc32/dl-machine.c
19719 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19720 * sysdeps/powerpc/powerpc32/sysdep.h
19721 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19722 to [SHARED && PIC && !NO_HIDDEN].
19723 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19724 conditional to [SHARED].
19725
44558701
WN
197262013-09-04 Will Newton <will.newton@linaro.org>
19727
19728 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19729 * benchtests/bench-string.h: Include bench-timing.h instead
19730 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19731 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19732 call to HP_TIMING_DIFF_INIT.
19733 * benchtests/bench-memccpy.c: Use bench-timing.h macros
19734 instead of hp-timing.h macros.
19735 * benchtests/bench-memchr.c: Likewise.
19736 * benchtests/bench-memcmp.c: Likewise.
19737 * benchtests/bench-memcpy.c: Likewise.
19738 * benchtests/bench-memmem.c: Likewise.
19739 * benchtests/bench-memmove.c: Likewise.
19740 * benchtests/bench-memset.c: Likewise.
19741 * benchtests/bench-rawmemchr.c: Likewise.
19742 * benchtests/bench-strcasecmp.c: Likewise.
19743 * benchtests/bench-strcasestr.c: Likewise.
19744 * benchtests/bench-strcat.c: Likewise.
19745 * benchtests/bench-strchr.c: Likewise.
19746 * benchtests/bench-strcmp.c: Likewise.
19747 * benchtests/bench-strcpy.c: Likewise.
19748 * benchtests/bench-strcpy_chk.c: Likewise.
19749 * benchtests/bench-strlen.c: Likewise.
19750 * benchtests/bench-strncasecmp.c: Likewise.
19751 * benchtests/bench-strncat.c: Likewise.
19752 * benchtests/bench-strncmp.c: Likewise.
19753 * benchtests/bench-strncpy.c: Likewise.
19754 * benchtests/bench-strnlen.c: Likewise.
19755 * benchtests/bench-strpbrk.c: Likewise.
19756 * benchtests/bench-strrchr.c: Likewise.
19757 * benchtests/bench-strspn.c: Likewise.
19758 * benchtests/bench-strstr.c: Likewise.
19759
cae16d66
WN
197602013-09-04 Will Newton <will.newton@linaro.org>
19761
19762 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19763
ffa3cd7f
JM
197642013-09-03 Joseph Myers <joseph@codesourcery.com>
19765
19766 [BZ #15427]
19767 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19768 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19769 * math/libm-test.inc (lgamma_test_data): Add more tests.
19770 * sysdeps/i386/fpu/libm-test-ulps: Update.
19771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19772
8f02859f
OB
197732013-09-03 Ondřej Bílka <neleai@seznam.cz>
19774
19775 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19776 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19777 Add ifunc.
19778 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19779 Add strcmp-sse2-unaligned
19780 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19781
18d43716
MF
197822013-09-02 Mike Frysinger <vapier@gentoo.org>
19783
19784 * Versions.def (libc): Add GLIBC_2.19.
19785
ac444012
MF
197862013-09-02 Mike Frysinger <vapier@gentoo.org>
19787
19788 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19789 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19790
b7835e32
JM
197912013-09-02 Joseph Myers <joseph@codesourcery.com>
19792
19793 [BZ #14155]
19794 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19795 intermediate calculations in recurrence.
19796 (__ieee754_ynf): Likewise.
19797 * math/libm-test.inc (jn_test_data): Do not allow spurious
19798 underflow exception. Add more tests.
19799 (yn_test_data): Add more tests.
19800 * sysdeps/i386/fpu/libm-test-ulps: Update.
19801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19802
8220f4f0
OB
198032013-09-02 Ondřej Bílka <neleai@seznam.cz>
19804
19805 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19806
f24a6d08
OB
198072013-08-30 Ondřej Bílka <neleai@seznam.cz>
19808
19809 * csu/init-first.c: Fix then/than typos.
19810 * locale/programs/ld-collate.c: Likewise.
19811 * locale/programs/linereader.h: Likewise.
19812 * manual/charset.texi: Likewise.
19813 * manual/filesys.texi: Likewise.
19814 * manual/stdio.texi: Likewise.
19815 * manual/string.texi: Likewise.
19816 * stdlib/fmtmsg.c: Likewise.
19817 * sysdeps/i386/stpncpy.S: Likewise.
19818 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19819 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19820 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19821 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19822
382466e0
OB
198232013-08-30 Ondřej Bílka <neleai@seznam.cz>
19824
19825 * elf/dl-open.c: Fix typos.
19826 * iconvdata/gbbig5.c: Likewise.
19827 * iconvdata/iso-2022-jp.c: Likewise.
19828 * iconv/gconv_int.h: Likewise.
19829 * iconv/loop.c: Likewise.
19830 * nis/rpcsvc/nis.h: Likewise.
19831 * resolv/ns_name.c: Likewise.
19832 * stdio-common/vfscanf.c: Likewise.
19833 * streams/stropts.h: Likewise.
19834 * sunrpc/rpc_thread.c: Likewise.
19835 * sysdeps/i386/strpbrk.S: Likewise.
19836 * sysdeps/ieee754/k_standard.c: Likewise.
19837 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19838 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19839 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19840 * sysdeps/mach/hurd/profil.c: Likewise.
19841 * sysdeps/s390/dl-procinfo.h: Likewise.
19842 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19843 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19844 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19845 * sysdeps/x86_64/dl-trampoline.S: Likewise.
19846 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19847
0186c6e9
OB
198482013-08-30 Ondřej Bílka <neleai@seznam.cz>
19849
19850 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19851 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19852
d4e16af1
OB
198532013-08-29 Ondřej Bílka <neleai@seznam.cz>
19854
19855 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19856 aix specific files.
19857 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19858 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19859 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19860 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19861 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19862 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19863 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19864 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19865
88335980
TS
198662013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19867 Roland McGrath <roland@hack.frob.com>
19868
19869 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19870 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19871
ed479b02
ST
198722013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19873
19874 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19875 __executable_start symbol instead of _start.
19876
f1cc4c86
TS
198772013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19878
d821f07c
TS
19879 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19880 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19881 Move macros to...
19882 * sysdeps/gnu/ldsodefs.h: ... this new file.
19883
c54290cf
TS
19884 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19885 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19886 instead of ELFOSABI_LINUX.
19887
0007fc9b 19888 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
19889 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19890 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19891 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19892 Likewise.
19893 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19894 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19895 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19896 Likewise.
19897 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19898 (ibm_extended_long_double): Add ieee_nan member.
19899 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19900 (do_test): New function.
19901
f1cc4c86
TS
19902 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19903 TEST_TRUNC.
19904 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19905 functions, renamed from truncdfsf_test, trunctfsf_test,
19906 trunctfdf_test.
19907 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19908 functions.
19909 (do_test): Run all these.
19910
6f65e668
OB
199112013-08-29 Ondřej Bílka <neleai@seznam.cz>
19912
19913 * argp/argp-help.c: Fix typos.
19914 * argp/argp-parse.c: Likewise.
19915 * debug/backtracesyms.c: Likewise.
19916 * elf/elf.h: Likewise.
19917 * malloc/malloc.c: Likewise.
19918 * nis/nis_print.c: Likewise.
19919 * resolv/res_comp.c: Likewise.
19920 * stdlib/stdlib.h: Likewise.
19921 * sunrpc/clnt_tcp.c: Likewise.
19922 * sunrpc/clnt_udp.c: Likewise.
19923 * sunrpc/clnt_unix.c: Likewise.
19924 * sysdeps/unix/bsd/ptsname.c: Likewise.
19925 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19926 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
19927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19928 Likewise.
19929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19930 Likewise.
19931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19932 Likewise.
6f65e668
OB
19933 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19934
3a309239
SP
199352013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19936
19937 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19938 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19939
3b813b29
MF
199402013-08-27 Mike Frysinger <vapier@gentoo.org>
19941
19942 [BZ #15897]
19943 * dlfcn/Makefile (tests): Add bug-dl-leaf.
19944 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19945 ($(objpfx)bug-dl-leaf): New rule.
19946 ($(objpfx)bug-dl-leaf.so): Likewise.
19947 ($(objpfx)bug-dl-leaf.out): Likewise.
19948 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19949 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19950 * dlfcn/bug-dl-leaf.c: New test.
19951 * dlfcn/bug-dl-leaf-lib.c: Likewise.
19952 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19953 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19954 (dlclose): Likewise.
19955 (dlmopen): Likewise.
19956
8cc3269f
RM
199572013-08-27 Roland McGrath <roland@hack.frob.com>
19958
7f9d0034
RM
19959 * include/netdb.h [!_ISOMAC]:
19960 Don't include <tls.h>.
19961 (h_errno, __libc_h_errno): Move declaration and macros out of
19962 [_LIBC_REENTRANT].
19963
fb431262
RM
19964 * include/resolv.h [_RESOLV_H_]:
19965 Don't include <tls.h>.
19966 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19967 * resolv/res_libc.c: Don't include <tls.h>.
19968 (_res): Use __attribute__ ((nocommon)) in place of
19969 __attribute__ ((section (".bss"))).
19970
bd81123a
RM
19971 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19972 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19973
c4e42566
RM
19974 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
19975
f890a59b
RM
19976 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
19977 only under [SIOCGIFCONF && SIOCGIFNETMASK].
19978
19979 * resolv/res_mkquery.c: Include <sys/time.h>.
19980
5d1f0a09
RM
19981 * inet/ifreq.c: Moved to ...
19982 * sysdeps/unix/ifreq.c: ... here.
19983 * inet/ifreq.c: New file, true stub version.
19984
6fcf28b3
RM
19985 * socket/sa_len.c: New file.
19986 * socket/Makefile (aux): Add it.
19987 * sysdeps/unix/sysv/linux/Makefile
19988 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
19989 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19990 and #include <socket/sa_len.c>.
19991 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19992 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19993
e041fb8b
RM
19994 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19995 * bits/socket.h: ... here.
19996
8cc3269f
RM
19997 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19998 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19999 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
20000
5d228a43
AS
200012013-08-27 Andreas Schwab <schwab@suse.de>
20002
45b8accc
AS
20003 [BZ #15736]
20004 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
20005 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
20006 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
20007 * string/test-strcasecmp.c (test_main): Run tests in several
20008 locales.
20009 * string/test-strncasecmp.c (test_main): Likewise.
20010
5d228a43
AS
20011 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
20012 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
20013 to __strcasecmp_nonascii and __strncasecmp_nonascii.
20014 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
20015 (__strncasecmp_ssse3) [PIC]: Likewise.
20016
59d112a4
RM
200172013-08-26 Roland McGrath <roland@hack.frob.com>
20018
53234cc3
RM
20019 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
20020
59d112a4
RM
20021 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
20022 instead of explicitly declaring xdecrypt.
20023 * nis/nss_nis/nis-publickey.c: Likewise.
20024
595aba70
SP
200252013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20026
20027 [BZ #15890]
20028 * nscd/aicache.c: Include res_hconf.h.
20029 (addhstaiX): Initialize res_hconf.
20030
ffabd393
AS
200312013-08-26 Andreas Schwab <schwab@suse.de>
20032
20033 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
20034 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
20035
e0a69f5c
SP
200362013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20037
20038 * nscd/aicache.c (addhstaiX): Fix indentation.
20039
8c12f01d
MF
200402013-08-25 Mike Frysinger <vapier@gentoo.org>
20041
20042 * configure.ac: Quote $build_pt_chown test.
20043 * configure: Regenerated.
20044
8fe89494
JM
200452013-08-23 Joseph Myers <joseph@codesourcery.com>
20046
20047 [BZ #15532]
20048 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
20049 * math/s_cexpf.c (__cexpf): Likewise.
20050 * math/s_cexpl.c (__cexpl): Likewise.
20051 * math/libm-test.inc (cexp_test_data): Correct expected return
20052 value for NaN + i0. Add another test.
20053
75b181d6
DM
200542013-08-22 David S. Miller <davem@davemloft.net>
20055
20056 * po/ca.po: Update Catalan translation from translation project.
936241e4 20057 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 20058
acd06bb1
JM
200592013-08-21 Joseph Myers <joseph@codesourcery.com>
20060
20061 [BZ #15797]
20062 * math/s_fdim.c (__fdim): Check for infinite arguments if result
20063 is infinite, not alongside NaN test.
20064 * math/s_fdimf.c (__fdimf): Likewise.
20065 * math/s_fdiml.c (__fdiml): Likewise.
20066 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
20067 errno is unchanged.
20068
c0c3f78a
OB
200692013-08-21 Ondřej Bílka <neleai@seznam.cz>
20070
20071 * argp/argp-help.c: Fix typos.
20072 * crypt/speeds.c: Likewise.
20073 * csu/check_fds.c: Likewise.
20074 * elf/dl-load.c: Likewise.
20075 * elf/dl-open.c: Likewise.
20076 * elf/reldep3.c: Likewise.
20077 * elf/reldep.c: Likewise.
20078 * elf/sprof.c: Likewise.
20079 * iconv/iconv_charmap.c: Likewise.
20080 * iconv/skeleton.c: Likewise.
20081 * iconv/strtab.c: Likewise.
20082 * io/lockf64.c: Likewise.
20083 * libio/libioP.h: Likewise.
20084 * resolv/gai_notify.c: Likewise.
20085 * resolv/ns_name.c: Likewise.
20086 * resolv/ns_samedomain.c: Likewise.
20087 * resolv/res_send.c: Likewise.
20088 * stdlib/random.c: Likewise.
20089 * sunrpc/rpc/xdr.h: Likewise.
20090 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
20091 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20092 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20093 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20094 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20095 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20096 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20097 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20098 * sysdeps/mach/hurd/check_fds.c: Likewise.
20099 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20100 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20101 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20102 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20103 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20104 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20105 * sysdeps/pthread/aio_notify.c: Likewise.
20106 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
20107 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
20108 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
20109 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20110 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20111
46ed1038
LD
201122013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20113
20114 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
20115 version if bit_Slow_SSE4_2 is set.
20116 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20117 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20118
d400dcac
AZ
201192013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20120
20121 [BZ #15867]
20122 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20123 trampoline stack frame information.
20124 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20125 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20126 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20127 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20128 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20129 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20130 (_libc_vdso_platform_setup): Initialize the signal trampolines.
20131 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20132 sa_flags value.
20133 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20134 interrupting a syscall and set with option SA_SIGINFO.
20135
42c8fdd8
JM
201362013-08-20 Joseph Myers <joseph@codesourcery.com>
20137
c980f2f4
JM
20138 [BZ #15531]
20139 * math/s_cproj.c (__cproj): Only return an infinity if one part of
20140 argument is infinite.
20141 * math/s_cprojf.c (__cprojf): Likewise.
20142 * math/s_cprojl.c (__cprojl): Likewise.
20143 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20144 * math/libm-test.inc (cproj_test_data): Add more tests.
20145
0716c4fc
JM
20146 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20147
42c8fdd8
JM
20148 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20149 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20150 size. Use __ffs to determine corresponding shift.
20151
b31469d0
JM
201522013-08-20 Joseph Myers <joseph@codesourcery.com>
20153 Roland McGrath <roland@hack.frob.com>
20154
20155 * Makefile (INSTALL): Remove trailing blank lines from output of
20156 makeinfo.
20157
4e39af6e
AK
201582013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20159
20160 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20161 Align 32 bit compat elf_greg to 8 bytes.
20162
f315524e
AA
201632013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
20164
20165 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20166
1326ba1a
SP
201672013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20168
20169 * string/strcoll_l.c (coll_seq): New structure.
20170 (get_next_seq_cached): New function.
20171 (get_next_seq): New function.
20172 (do_compare): New function.
20173 (STRCOLL): Use GNU style definition. Simplify implementation
20174 by using get_next_seq, get_next_seq_cached and do_compare.
20175
91ce4085
FW
201762013-08-16 Florian Weimer <fweimer@redhat.com>
20177
20178 [BZ #14699]
20179 CVE-2013-4237
20180 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20181 member.
20182 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20183 member.
20184 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20185 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20186 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
20187 conditional.
20188 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20189 GETDENTS_64BIT_ALIGNED.
20190 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20191 * manual/filesys.texi (Reading/Closing Directory): Document
20192 ENAMETOOLONG return value of readdir_r. Recommend readdir more
20193 strongly.
20194 * manual/conf.texi (Limits for Files): Add portability note to
20195 NAME_MAX, PATH_MAX.
20196 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20197
ca0a6bc4
AS
201982013-08-13 Andreas Schwab <schwab@suse.de>
20199
20200 [BZ #15749]
20201 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20202 of fabs.
20203 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20204 LDBL_MAX_EXP >= 16384]: Add tests for it.
20205
6c1fd795
DM
202062013-08-12 David S. Miller <davem@davemloft.net>
20207
20208 * version.h (RELEASE): Set to "development".
20209 (VERSION): Set to "2.18.90".
20210 * NEWS: Add 2.19 section.
20211
31ad488d
DM
202122013-08-03 David S. Miller <davem@davemloft.net>
20213
20214 * po/ko.po: Update Korean translation from translation project.
20215
db24e684
DM
202162013-08-01 David S. Miller <davem@davemloft.net>
20217
20218 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
20219 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20220 Bilka.
20221
f723285b
DM
202222013-07-30 David S. Miller <davem@davemloft.net>
20223
20224 * po/fr.po: Update French translation from translation project.
20225
3cbc52db
DM
202262013-07-28 David S. Miller <davem@davemloft.net>
20227
30bbc0cc
DM
20228 * po/cs.po: Update Czech translation from translation project.
20229
3cbc52db
DM
20230 * po/sv.po: Update Swedish translation from translation project.
20231
d492e6d0
DM
202322013-07-27 David S. Miller <davem@davemloft.net>
20233
f1a7f492
DM
20234 * po/eo.po: Update Esperanto translation from translation project.
20235
90e62a4a
DM
20236 * po/vi.po: Update Vietnamese translation from translation project.
20237
d492e6d0
DM
20238 * po/de.po: Update German translation from translation project.
20239
d4baa62d
DM
202402013-07-26 David S. Miller <davem@davemloft.net>
20241
641aa7b4
DM
20242 * po/bg.po: Update Bulgarian translation from translation project.
20243
d4baa62d
DM
20244 * po/nl.po: Update Dutch translation from translation project.
20245 * po/pl.po: Update Polish translation from translation project.
20246 * po/ru.po: Update Russian translation from translation project.
20247
61a9dcb9
DM
202482013-07-24 David S. Miller <davem@davemloft.net>
20249
20250 * po/libc.pot: Update.
20251
7b1f8b58
AZ
202522013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20253
20254 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20255 variable page size.
20256 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20257 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20258 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20259
a8fc7a03
AK
202602013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20261
20262 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20263
e4608715
CD
202642013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20265 Andreas Schwab <schwab@suse.de>
20266 Roland McGrath <roland@hack.frob.com>
20267 Joseph Myers <joseph@codesourcery.com>
20268 Carlos O'Donell <carlos@redhat.com>
20269
20270 [BZ #15755]
20271 * config.h.in: Define HAVE_PT_CHOWN.
20272 * config.make.in (build-pt-chown): New variable.
20273 * configure.in (--enable-pt_chown): New configure option.
20274 * configure: Regenerate.
20275 * login/Makefile: Include Makeconfig. Build pt_chown only if
20276 build-pt-chown is enabled.
20277 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20278 pt_chown to fix pty ownership.
20279 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20280 CLOSE_ALL_FDS.
20281 * manual/install.texi (Configuring and compiling): Mention
20282 --enable-pt_chown. Add @findex for grantpt.
20283 * INSTALL: Regenerate.
20284
da2d62df
DM
202852013-07-20 David S. Miller <davem@davemloft.net>
20286
20287 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20288 difference between 32-bit and 64-bit.
20289
d7e06450
CD
202902013-07-15 Carlos O'Donell <carlos@redhat.com>
20291
20292 [BZ #15711]
20293 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20294 Avoid system header dependency with -ffreestanding.
20295 ($(objpfx)bits/syscall%d): Likewise.
20296
f959cfd7
DM
202972013-07-13 David S. Miller <davem@davemloft.net>
20298
20299 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20300 underflows from atanl/atan2l due to bug 15319.
20301 (casinh_test_data): Likewise.
20302
c61f8513
DM
203032013-07-07 David S. Miller <davem@davemloft.net>
20304
20305 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20306
72c90ed0
JA
203072013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
20308
20309 * sysdeps/i386/fpu/libm-test-ulps: Update.
20310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20311
52dfbe13
SP
203122013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20313
20314 * configure.in (--enable-lock-elision): Fix message text.
20315 * INSTALL: Regenerate.
20316 * configure: Regenerate.
20317
3f169543
AZ
203182013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20319
20320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20321
521c6785
AJ
203222013-07-03 Andreas Jaeger <aj@suse.de>
20323
20324 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20325 define.
20326 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20327 (ptrace_peeksiginfo_args): Add.
20328 (__ptrace_peeksiginfo_flags): Add.
20329 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20330 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20331 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20332
d2cc15cb
AM
203332013-07-03 Allan McRae <allan@archlinux.org>
20334
20335 * sysdeps/i386/fpu/libm-test-ulps: Update.
20336
3aaeeca7
DM
203372013-07-02 David S. Miller <davem@davemloft.net>
20338
20339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20340
5314ed1a
MT
203412013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
20342
20343 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20344
67338156
JM
203452013-07-02 Joseph Myers <joseph@codesourcery.com>
20346
20347 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20349
1717da59
AK
203502013-07-02 Andi Kleen <ak@linux.intel.com>
20351
20352 * config.h.in (ENABLE_LOCK_ELISION): Add.
20353 * configure.in (--enable-lock-elision): Add option.
20354 * manual/install.texi: Document --enable lock elision.
20355 * configure: Regenerate
20356 * INSTALL: Regenerate.
20357
1c81621c
L
203582013-07-02 H.J. Lu <hongjiu.lu@intel.com>
20359
20360 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20361 SSE4.2 strcasecmp for libc.a.
20362 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20363
77f01ab5
JM
203642013-07-02 Joseph Myers <joseph@codesourcery.com>
20365
20366 [BZ #13304]
20367 * soft-fp/op-common.h (_FP_FMA): New macro.
20368 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20369 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
20370 (_FP_MUL_MEAT_1_imm): ... here.
20371 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
20372 (_FP_MUL_MEAT_1_wide): ... here.
20373 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
20374 (_FP_MUL_MEAT_1_hard): ... here.
20375 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20376 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
20377 (_FP_MUL_MEAT_2_wide): ... here.
20378 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
20379 (_FP_MUL_MEAT_2_wide_3mul): ... here.
20380 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
20381 (_FP_MUL_MEAT_2_gmp): ... here.
20382 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20383 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
20384 (_FP_MUL_MEAT_4_wide): ... here.
20385 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
20386 (_FP_MUL_MEAT_4_gmp): ... here.
20387 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20388 (_FP_WFRACBITS_DW_S): Likewise.
20389 (_FP_WFRACXBITS_DW_S): Likewise.
20390 (_FP_HIGHBIT_DW_S): Likewise.
20391 (FP_FMA_S): Likewise.
20392 (_FP_FRAC_HIGH_DW_S): Likewise.
20393 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20394 (_FP_WFRACBITS_DW_D): Likewise.
20395 (_FP_WFRACXBITS_DW_D): Likewise.
20396 (_FP_HIGHBIT_DW_D): Likewise.
20397 (FP_FMA_D): Likewise.
20398 (_FP_FRAC_HIGH_DW_D): Likewise.
20399 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20400 (_FP_WFRACBITS_DW_E): Likewise.
20401 (_FP_WFRACXBITS_DW_E): Likewise.
20402 (_FP_HIGHBIT_DW_E): Likewise.
20403 (FP_FMA_E): Likewise.
20404 (_FP_FRAC_HIGH_DW_E): Likewise.
20405 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20406 (_FP_WFRACBITS_DW_Q): Likewise.
20407 (_FP_WFRACXBITS_DW_Q): Likewise.
20408 (_FP_HIGHBIT_DW_Q): Likewise.
20409 (FP_FMA_Q): Likewise.
20410 (_FP_FRAC_HIGH_DW_Q): Likewise.
20411 * soft-fp/fmasf4.c: New file.
20412 * soft-fp/fmadf4.c: Likewise.
20413 * soft-fp/fmatf4.c: Likewise.
20414
6308fd9a
LD
204152013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20416
20417 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20418 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20419 Silvermont.
20420 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20421 macro.
20422 (index_Slow_SSE4_2): Likewise.
20423 (index_Prefer_PMINUB_for_stringop): Likewise.
20424 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20425 bit_Slow_SSE4_2 is set.
20426 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20427 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20428
89cd9569
RA
204292013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20430
20431 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20432 rtld_global._dl_hwcap2.
20433 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20434 POWER8.
20435 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20436 POWER8 feature descriptions defined in _dl_hwcap2.
20437 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20438 string handling for POWER8 feature bits.
20439 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20440 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20441 _dl_powerpc_cap_flags.
20442 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20443 * sysdeps/powerpc/rtld-global-offsets.sym
20444 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20445 _dl_hwcap2 in the rtld_global_ro structure.
20446
1ae8bfe0
RA
204472013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20448
20449 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20450 hardware capabilities in support of AT_HWCAP2.
20451 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20452 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20453 GLRO(dl_hwcap2).
20454 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20455 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20456 explicitly the unknown a_type display mechanism is used.
20457 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20458 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20459 struct member.
20460 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20461 to macro prototype for AT_HWCAP2 support.
20462 * sysdeps/i386/dl-procinfo.h: Likewise.
20463 * sysdeps/s390/dl-procinfo.h: Likewise.
20464 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20465 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20466 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20467 return -1 for unknown a_type display fallback.
20468 * sysdeps/sparc/dl-procinfo.h: Likewise.
20469 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20470 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20471
8fbec010
JM
204722013-06-28 Joseph Myers <joseph@codesourcery.com>
20473
20474 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20475 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20476
0432680e
PY
204772013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20478
20479 [BZ #12492]
20480 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20481 mprotect making __stack_prot writable.
20482
ce61a2ad
NF
204832013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20484 Joseph Myers <joseph@codesourcery.com>
20485
20486 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20487 as being properly aligned.
20488
f91f1c0f
MR
204892013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20490
3d0f5d0c
MR
20491 * dlfcn/modstatic5.c: New file.
20492 * dlfcn/tststatic5.c: New file.
20493 * dlfcn/Makefile (tests): Add tststatic5.
20494 (tests-static): Likewise.
20495 (modules-names): Add modstatic5.
20496 (tststatic5-ENV): New variable.
20497 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20498
f91f1c0f
MR
20499 [BZ #15022]
20500 * elf/dl-support.c (_dl_main_map): New variable.
20501 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20502 (_dl_nns, _dl_load_adds): Set to 1.
20503 (_dl_initial_searchlist): Refer to _dl_main_map.
20504 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20505 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20506 call to _dl_get_origin.
20507 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20508 around call_map.
20509 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20510 * dlfcn/modstatic3.c: New file.
20511 * dlfcn/tststatic3.c: New file.
20512 * dlfcn/tststatic4.c: New file.
20513 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20514 (tests-static): Likewise.
20515 (modules-names): Add modstatic3.
20516 (tststatic3-ENV, tststatic4-ENV): New variables.
20517 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20518 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20519
cbe7d24b
JM
205202013-06-26 Joseph Myers <joseph@codesourcery.com>
20521
20522 * configure.in (CC): Require GCC version 4.4 or later.
20523 * configure: Regenerated.
20524 * manual/install.texi (Tools for Compilation): Update GCC version
20525 requirement.
20526 * INSTALL: Regenerated.
20527
11b8a0e1
LD
205282013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20529
20530 [BZ #15674]
bb5bb87c
L
20531 * string/test-memcmp.c (check2): New.
20532 (main): Call check2.
20533
11b8a0e1
LD
20534 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20535
b0037103
MR
205362013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20537
20538 [BZ #15022]
20539 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20540 over to...
20541 (dl_open_worker) [!SHARED]: ... here.
20542
c18c701d
RA
205432013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20544
20545 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20546
1d17fa5f
RH
205472013-06-25 Richard Henderson <rth@redhat.com>
20548
20549 * locale/programs/locarchive.c: Include <libc-internal.h>
20550
8fcb833a
JM
205512013-06-25 Joseph Myers <joseph@codesourcery.com>
20552
20553 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20554 trailing whitespace removed.
20555
17db6e8d
MF
205562013-06-24 Mike Frysinger <vapier@gentoo.org>
20557
20558 [BZ #10283]
17db6e8d
MF
20559 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20560 * locale/programs/locarchive.c: Include libc-mmap.h.
20561 (prepare_address_space): Take two new outputs (the mmap base and len).
20562 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20563 values.
20564 (create_archive): Declare new mmap base and len values for
20565 prepare_address_space, and store the result in ah.
20566 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20567 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20568 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20569 Declare new mmap base and len values for
20570 prepare_address_space, and store the result in new_ah.
20571 (open_archive): Declare new mmap base and len values for
20572 prepare_address_space, and store the result in ah.
20573 (close_archive): If ah->mmap_base is not NULL, use that and
20574 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20575 * sysdeps/generic/libc-mmap.h: New file.
20576
d605071e
MF
205772013-06-24 Mike Frysinger <vapier@gentoo.org>
20578
20579 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20580 (ALIGN_UP): Likewise.
20581 (PTR_ALIGN_DOWN): Likewise.
20582 (PTR_ALIGN_UP): Likewise.
20583
2f063a6e
RA
205842013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20585
20586 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20587 entry mapped to PPC_PLATFORM_POWER8.
20588 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20589 POWER8.
20590 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20591 (_dl_string_platform): Add case for exporting platform position for
20592 POWER8.
20593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20594 search path to sysdeps/powerpc/powerpc32/power8 directory.
20595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20596 search path to sysdeps/powerpc/powerpc64/power8 directory.
20597 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20598 power7 directories.
20599 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20600 power7 directories.
20601
a31ee4b3
SP
206022013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20603
a74ca98f
SP
20604 * INSTALL: Regenerate.
20605
a31ee4b3
SP
20606 * nscd/connections.c (nscd_init): Fix comment.
20607
695c378f
JM
206082013-06-22 Joseph Myers <joseph@codesourcery.com>
20609
d8412221
JM
20610 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20611
695c378f
JM
20612 [BZ #15667]
20613 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20614 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20615
d1d54715
MR
206162013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20617
20618 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20619 DL_DST_REQ_STATIC.
20620 (DL_DST_REQ_STATIC): Remove macro.
20621
8fdda7af
JM
206222013-06-21 Joseph Myers <joseph@codesourcery.com>
20623
20624 [BZ #7006]
20625 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20626 with a shift of 0 bits.
20627
f3bc5e5a
MR
206282013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20629
20630 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20631 $(tststatic-ENV).
20632
be09e8c9
KK
206332013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20634
20635 [BZ #15655]
20636 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20637
85c2e611
AZ
206382013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20639
20640 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20641 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20642 accepts -fno-tree-loop-distribute-patterns.
20643 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20644 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20645 recursive call.
20646 * string/memset.c (memset): Likewise.
20647 * string/test-memmove.c (simple_memmove): Disable loop transformation
20648 to library calls.
20649 * string/test-memset.c (simple_memset): Likewise.
20650 * benchtests/bench-memmove.c (simple_memmove): Likewise.
20651 * benchtests/bench-memset.c (simple_memset): Likewise.
20652 * configure: Regenerated.
20653
c91e0825
JM
206542013-06-20 Joseph Myers <joseph@codesourcery.com>
20655
b8c792af
JM
20656 * math/test-misc.c (main): Ignore fesetround failure when failures
20657 of subsequent rounding tests would be ignored.
20658
c91e0825
JM
20659 [BZ #15654]
20660 * math/fedisblxcpt.c (fedisableexcept): Return 0.
20661 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20662 * math/fegetenv.c (__fegetenv): Return 0.
20663 * math/fegetexcept.c (fegetexcept): Return 0.
20664 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20665 FE_TONEAREST.
20666 * math/feholdexcpt.c (feholdexcept): Return 0.
20667 * math/fesetenv.c (__fesetenv): Return 0.
20668 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20669 argument FE_TONEAREST.
20670 * math/feupdateenv.c (__feupdateenv): Return 0.
20671 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20672
bfcacbde
RM
206732013-06-18 Roland McGrath <roland@hack.frob.com>
20674
20675 * elf/rtld-Rules (rtld-compile-command.S): New variable.
20676 (rtld-compile-command.s, rtld-compile-command.c): New variables.
20677 ($(objpfx)rtld-%.os rules): Use them.
20678
e55a9b25
AZ
206792013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20680
20681 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20682 fields.
20683
346d65b3
RM
206842013-06-17 Roland McGrath <roland@hack.frob.com>
20685
12086fb4
RM
20686 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20687 length of target pattern, then descending length of dependency pattern.
20688 * configure.in (AWK): Require gawk 3.1.2 or newer.
20689 * manual/install.texi (Tools for Compilation): Say that we do.
20690 * configure: Regenerated.
20691
346d65b3
RM
20692 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20693 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20694 * scripts/sysd-rules.awk: ... this new script.
20695 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20696 than a glob-style pattern.
20697
1a846317
JM
206982013-06-17 Joseph Myers <joseph@codesourcery.com>
20699
20700 * math/test-misc.c (main): Do not treat incorrectly rounded
20701 conversions as failure unless ROUNDING_TESTS passes.
20702
8fc75e6f
JM
207032013-06-15 Joseph Myers <joseph@codesourcery.com>
20704
3711a167
JM
20705 [BZ #15631]
20706 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20707 restore exception state around main square root computation, then
20708 check for inexactness explicitly.
20709
8fc75e6f
JM
20710 * math/libm-test.inc (fma_test_data): Add another test.
20711
61dd6208
SP
207122013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20713
adf23d2c
SP
20714 * manual/threads.texi (Non-POSIX Extensions): New document
20715 node. Document pthread_getattr_default_np and
20716 pthread_setattr_default_np.
20717
61dd6208
SP
20718 * Versions.def (libpthread): Add GLIBC_2.18.
20719 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20721 Likewise.
20722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20723 Likewise.
20724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20725 Likewise.
20726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20727 Likewise.
20728 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20729 Likewise.
20730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20731 Likewise.
20732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20733 Likewise.
20734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20735 Likewise.
20736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20737 Likewise.
20738
d086fc7b
LD
207392013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20740
20741 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20742 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20743
747ef469
SP
207442013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20745 H.J. Lu <hjl.tools@gmail.com>
20746
20747 [BZ #15627]
20748 * sysdeps/x86_64/rtld-memset.c: Remove file.
20749 * sysdeps/x86_64/rtld-memset.S: New file.
20750
1b2feed2
JM
207512013-06-14 Joseph Myers <joseph@codesourcery.com>
20752
20753 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20754 (test_in_one_mode): Take arguments for whether the rounding mode
20755 is supported for each floating-point type.
20756 (do_test): Pass new arguments to test_in_one_mode using
20757 ROUNDING_TESTS.
20758
a58ad3f8
RM
207592013-06-13 Roland McGrath <roland@hack.frob.com>
20760
20761 * posix/tst-waitid.c (do_test): Distinguish different instances of
20762 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
20763 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20764 before entering the kernel for waitpid.
20765
c204ab28
SP
207662013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20767
20768 * NEWS: Fix note on clock function precision. Text by Roland
20769 McGrath.
20770
f4a29fba
RM
207712013-06-13 Roland McGrath <roland@hack.frob.com>
20772
20773 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20774 it into place only when and if the sanity check passes.
20775
1f24b9ad
JM
207762013-06-13 Joseph Myers <joseph@codesourcery.com>
20777
20778 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20779 output for whether conversion result is exact. Take argument
20780 indicating whether type is IBM long double.
20781 (round_for_all): Change need_exact field to ibm_ld.
20782 * stdlib/tst-strtod-round.c (struct exactness): New type.
20783 (struct test): Change bool ld_ok field to struct exactness exact.
20784 (TEST): Update all definitions for change to field.
20785 (tests): Regenerate array contents.
20786 (test_in_one_mode): Take pointer to new field instead of old ld_ok
20787 field value. Check for IBM long double here.
20788 (do_test): Update calls to test_in_one_mode.
20789
58206c68
SP
207902013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20791
20792 [BZ #12515]
20793 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20794 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20795
2d6f4c5b 207962013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
20797
20798 [BZ #15605]
20799 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20800 generated by the compiler on loop optimizations.
20801 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20802 general definitions.
20803
94f2c076
JM
208042013-06-12 Joseph Myers <joseph@codesourcery.com>
20805
20806 * math/bug-nextafter.c: Include <math-tests.h>.
20807 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20808 the relevant type.
20809 * math/bug-nexttoward.c: Include <math-tests.h>.
20810 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20811 the relevant type.
20812 * math/test-misc.c: Include <math-tests.h>.
20813 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20814 the relevant type.
20815
e0e50a0a
AJ
208162013-06-12 Andreas Jaeger <aj@suse.de>
20817
20818 * po/ia.po: Update Interlingua translation from translation
20819 project.
20820
25061094
SP
208212013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20822
20823 * include/fenv.h: Include stdbool.h.
20824 (struct rm_ctx): New structure.
20825 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20826 Define macro.
20827 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20828 (SET_RESTORE_ROUNDF): Likewise.
20829 (SET_RESTORE_ROUNDL): Likewise.
20830 (SET_RESTORE_ROUND_NOEX): Likewise.
20831 (SET_RESTORE_ROUND_NOEXF): Likewise.
20832 (SET_RESTORE_ROUND_NOEXL): Likewise.
20833 (SET_RESTORE_ROUND_53BIT): Likewise.
20834 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20835 (libc_feresetround_noexf_ctx): Likewise.
20836 (libc_feresetround_noexl_ctx): Likewise.
20837 (libc_feholdsetround_53bit_ctx): Likewise.
20838 (libc_feresetround_53bit_ctx): Likewise.
20839 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20840 (libc_feholdexcept_setround_sse_ctx): New function.
20841 (libc_fesetenv_sse_ctx): Likewise.
20842 (libc_feupdateenv_sse_ctx): Likewise.
20843 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20844 (libc_feholdexcept_setround_387_ctx): Likewise.
20845 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20846 (libc_feholdsetround_387_prec_ctx): Likewise.
20847 (libc_feholdsetround_387_ctx): Likewise.
20848 (libc_feholdsetround_387_53bit_ctx): Likewise.
20849 (libc_feholdsetround_sse_ctx): Likewise.
20850 (libc_feresetround_sse_ctx): Likewise.
20851 (libc_feresetround_387_ctx): Likewise.
20852 (libc_feupdateenv_387_ctx): Likewise.
20853 (libc_feholdexcept_setroundf_ctx): Define macro.
20854 (libc_fesetenvf_ctx): Likewise.
20855 (libc_feupdateenvf_ctx): Likewise.
20856 (libc_feholdsetroundf_ctx): Likewise.
20857 (libc_feresetroundf_ctx): Likewise.
20858 (libc_feholdexcept_setround_ctx): Likewise.
20859 (libc_fesetenv_ctx): Likewise.
20860 (libc_feupdateenv_ctx): Likewise.
20861 (libc_feholdsetround_ctx): Likewise.
20862 (libc_feresetround_ctx): Likewise.
20863 (libc_feholdexcept_setroundl_ctx): Likewise.
20864 (libc_feupdateenvl_ctx): Likewise.
20865 (libc_feholdsetroundl_ctx): Likewise.
20866 (libc_feresetroundl_ctx): Likewise.
20867 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20868 (libc_feresetround_53bit_ctx): Likewise.
20869
59b30555
SP
208702013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20871
20872 * locale/iso-639.def: Convert to UTF-8.
20873
f1d73d30
JM
208742013-06-11 Joseph Myers <joseph@codesourcery.com>
20875
20876 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20877 (EXCEPTION_TESTS_double): Likewise.
20878 (EXCEPTION_TESTS_long_double): Likewise.
20879 (EXCEPTION_TESTS): Likewise.
20880 * math/libm-test.inc (test_exceptions): Only test exceptions if
20881 EXCEPTION_TESTS (FLOAT).
20882
94aca5e7
SP
208832013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20884
20885 * benchtests/Makefile (string-bench): Add strcpy_chk and
20886 stpcpy_chk.
20887 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20888 * benchtests/bench-stpcpy_chk.c: New file.
20889 * benchtests/bench-strcpy_chk-ifunc.c: New file.
20890 * benchtests/bench-strcpy_chk.c: New file.
20891 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20892 code.
20893 (do_test): Likewise.
20894
fac0c5f2
RA
208952013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20896
20897 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20898 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20899 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20900 with tabs where appropriate.
20901 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20902 dl-procinfo.h.
20903 [PPC_PLATFORM_PPC440]: Likewise.
20904 [PPC_PLATFORM_PPC464]: Likewise.
20905 [PPC_PLATFORM_PPC476]: Likewise.
20906 (_dl_string_platform): Add support for detecting ppc405, ppc440,
20907 ppc464, and ppc476 platform strings merging from ports/
20908 dl-procinfo.h.
20909
f22bc486
AS
209102013-06-11 Andreas Schwab <schwab@suse.de>
20911
20912 [BZ #14991]
20913 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20914 (from_ucs4_idx): Regenerate.
20915 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20916 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20917 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20918 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20919 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20920 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20921 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20922 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20923 from FROM_LOOP and TO_LOOP specific macros.
20924 (BODY): Handle combining characters.
20925 * iconvdata/BIG5HKSCS.irreversible: Update.
20926 * iconvdata/BIG5HKSCS.precomposed: New file.
20927 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20928 characters.
20929 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20930
c1f75dc3
SP
209312013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20932
4eacded2
SP
20933 * include/sys/time.h: Fix indentation and add copyright header.
20934
fec799f8
SP
20935 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20936 (do_test): Likewise.
20937 * string/test-memchr.c (do_one_test): Likewise.
20938 (do_test): Likewise.
20939 * string/test-memcmp.c (do_one_test): Likewise.
20940 (do_test): Likewise.
20941 * string/test-memcpy.c (do_one_test): Likewise.
20942 (do_test): Likewise.
20943 * string/test-memmem.c (do_one_test): Likewise.
20944 (do_test): Likewise.
20945 (do_random_tests): Likewise.
20946 * string/test-memmove.c (do_one_test): Likewise.
20947 (do_test): Likewise.
20948 * string/test-memset.c (do_one_test): Likewise.
20949 (do_test): Likewise.
20950 * string/test-rawmemchr.c (do_one_test): Likewise.
20951 (do_test): Likewise.
20952 * string/test-strcasecmp.c (do_one_test): Likewise.
20953 (do_test): Likewise.
20954 * string/test-strcasestr.c (do_one_test): Likewise.
20955 (do_test): Likewise.
20956 * string/test-strcat.c (do_one_test): Likewise.
20957 (do_test): Likewise.
20958 * string/test-strchr.c (do_one_test): Likewise.
20959 (do_test): Likewise.
20960 * string/test-strcmp.c (do_one_test): Likewise.
20961 (do_test): Likewise.
20962 * string/test-strcpy.c (do_one_test): Likewise.
20963 (do_test): Likewise.
20964 * string/test-string.h: Likewise.
20965 (test_init): Likewise.
20966 * string/test-strlen.c (do_one_test): Likewise.
20967 (do_test): Likewise.
20968 * string/test-strncasecmp.c (do_one_test): Likewise.
20969 (do_test): Likewise.
20970 * string/test-strncat.c (do_one_test): Likewise.
20971 (do_test): Likewise.
20972 * string/test-strncmp.c (do_one_test): Likewise.
20973 (do_test_limit): Likewise.
20974 (do_test): Likewise.
20975 * string/test-strncpy.c (do_one_test): Likewise.
20976 (do_test): Likewise.
20977 * string/test-strnlen.c (do_one_test): Likewise.
20978 (do_test): Likewise.
20979 * string/test-strpbrk.c (do_one_test): Likewise.
20980 (do_test): Likewise.
20981 * string/test-strrchr.c (do_one_test): Likewise.
20982 (do_test): Likewise.
20983 * string/test-strspn.c (do_one_test): Likewise.
20984 (do_test): Likewise.
20985 * string/test-strstr.c (do_one_test): Likewise.
20986 (do_test): Likewise.
20987
97020474
SP
20988 * benchtests/Makefile (string-bench): Add string benchmarks.
20989 * benchtests/bench-bcopy-ifunc.c: New file.
20990 * benchtests/bench-bcopy.c: New file.
20991 * benchtests/bench-bzero-ifunc.c: New file.
20992 * benchtests/bench-bzero.c: New file.
20993 * benchtests/bench-memccpy-ifunc.c: New file.
20994 * benchtests/bench-memccpy.c: New file.
20995 * benchtests/bench-memchr-ifunc.c: New file.
20996 * benchtests/bench-memchr.c: New file.
20997 * benchtests/bench-memcmp-ifunc.c: New file.
20998 * benchtests/bench-memcmp.c: New file.
20999 * benchtests/bench-memmem-ifunc.c: New file.
21000 * benchtests/bench-memmem.c: New file.
21001 * benchtests/bench-memmove-ifunc.c: New file.
21002 * benchtests/bench-memmove.c: New file.
21003 * benchtests/bench-mempcpy-ifunc.c: New file.
21004 * benchtests/bench-mempcpy.c: New file.
21005 * benchtests/bench-memset-ifunc.c: New file.
21006 * benchtests/bench-memset.c: New file.
21007 * benchtests/bench-rawmemchr-ifunc.c: New file.
21008 * benchtests/bench-rawmemchr.c: New file.
21009 * benchtests/bench-stpcpy-ifunc.c: New file.
21010 * benchtests/bench-stpcpy.c: New file.
21011 * benchtests/bench-stpncpy-ifunc.c: New file.
21012 * benchtests/bench-stpncpy.c: New file.
21013 * benchtests/bench-strcasecmp-ifunc.c: New file.
21014 * benchtests/bench-strcasecmp.c: New file.
21015 * benchtests/bench-strcasestr-ifunc.c: New file.
21016 * benchtests/bench-strcasestr.c: New file.
21017 * benchtests/bench-strcat-ifunc.c: New file.
21018 * benchtests/bench-strcat.c: New file.
21019 * benchtests/bench-strchr-ifunc.c: New file.
21020 * benchtests/bench-strchr.c: New file.
21021 * benchtests/bench-strchrnul-ifunc.c: New file.
21022 * benchtests/bench-strchrnul.c: New file.
21023 * benchtests/bench-strcmp-ifunc.c: New file.
21024 * benchtests/bench-strcmp.c: New file.
21025 * benchtests/bench-strcpy-ifunc.c: New file.
21026 * benchtests/bench-strcpy.c: New file.
21027 * benchtests/bench-strcspn-ifunc.c: New file.
21028 * benchtests/bench-strcspn.c: New file.
21029 * benchtests/bench-strlen-ifunc.c: New file.
21030 * benchtests/bench-strlen.c: New file.
21031 * benchtests/bench-strncasecmp-ifunc.c: New file.
21032 * benchtests/bench-strncasecmp.c: New file.
21033 * benchtests/bench-strncat-ifunc.c: New file.
21034 * benchtests/bench-strncat.c: New file.
21035 * benchtests/bench-strncmp-ifunc.c: New file.
21036 * benchtests/bench-strncmp.c: New file.
21037 * benchtests/bench-strncpy-ifunc.c: New file.
21038 * benchtests/bench-strncpy.c: New file.
21039 * benchtests/bench-strnlen-ifunc.c: New file.
21040 * benchtests/bench-strnlen.c: New file.
21041 * benchtests/bench-strpbrk-ifunc.c: New file.
21042 * benchtests/bench-strpbrk.c: New file.
21043 * benchtests/bench-strrchr-ifunc.c: New file.
21044 * benchtests/bench-strrchr.c: New file.
21045 * benchtests/bench-strspn-ifunc.c: New file.
21046 * benchtests/bench-strspn.c: New file.
21047 * benchtests/bench-strstr-ifunc.c: New file.
21048 * benchtests/bench-strstr.c: New file.
21049
c1f75dc3
SP
21050 * benchtests/Makefile: Disable parallel execution of targets.
21051 (string-bench): Add memcpy.
21052 (benchset): New variable to store a list of benchmark sets.
21053 (bench-func): Renamed from bench.
21054 (bench-set): New target.
21055 (bench): Depend on bench-func and bench-set.
21056 * benchtests/README: Add section on benchmark sets.
21057 * benchtests/bench-memcpy-ifunc.c: New file.
21058 * benchtests/bench-memcpy.c: New file.
21059 * benchtests/bench-string.h: New file.
21060
50fd745b
AS
210612013-06-11 Andreas Schwab <schwab@suse.de>
21062
21063 [BZ #15577]
21064 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
21065 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
21066 values in the triple.
21067 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
21068 terminator in the group key.
21069
3ee7e9fe
AJ
210702013-06-11 Andreas Jaeger <aj@suse.de>
21071
21072 * po/zh_TW.po: Update Chinese (traditional) translation from
21073 translation project.
21074
89fb6835
SP
210752013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21076
21077 * include/time.h (__clock_gettime): Add libc_hidden_proto.
21078 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
21079 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
21080 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21081 (clock_getcpuclockid): Likewise.
21082 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
21083 Add weak_alias and libc_hidden_def.
21084 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
21085 * rt/clock_gettime.c (clock_gettime): Rename to
21086 __clock_gettime. Add weak_alias and libc_hidden_def.
21087 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
21088 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
21089 __clock_nanosleep. Add weak_alias and libc_hidden_def.
21090 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
21091 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
21092 Likewise.
21093 * rt/clock_settime.c (clock_settime): Rename to
21094 __clock_settime. Add weak_alias and libc_hidden_def.
21095 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
21096
0efa6f8b
JM
210972013-06-10 Joseph Myers <joseph@codesourcery.com>
21098
b8c61b4b
JM
21099 * mach/err_boot.sub: Remove trailing whitespace.
21100 * mach/err_ipc.sub: Likewise.
21101 * mach/err_mach.sub: Likewise.
21102
0efa6f8b
JM
21103 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
21104 (ROUNDING_TESTS_double): Likewise.
21105 (ROUNDING_TESTS_long_double): Likewise.
21106 (ROUNDING_TESTS): Likewise.
21107 * math/libm-test.inc: Include <math-tests.h>.
21108 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
21109 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21110 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21111 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21112
50b818bf
SP
211132013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21114
21115 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
21116 of assigning.
21117
60d2f8f3
JM
211182013-06-08 Joseph Myers <joseph@codesourcery.com>
21119
4902d2c3
JM
21120 * sysdeps/gnu/errlist.awk: Do not generate space at end of
21121 otherwise empty TRANS lines.
21122 * sysdeps/gnu/errlist.c: Regenerated.
21123
60d2f8f3
JM
21124 * catgets/gencat.c (error_print): Use (void) in function
21125 definition.
21126 * crypt/crypt_util.c (__init_des): Likewise.
21127 * crypt/speeds.c (Stop): Likewise.
21128 (main): Likewise.
21129 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21130 * inet/ruserpass.c (token): Likewise.
21131 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21132 * intl/localealias.c (extend_alias_table): Likewise.
21133 * intl/plural-exp.c (init_germanic_plural): Likewise.
21134 * libio/fcloseall.c (__fcloseall): Likewise.
21135 * libio/genops.c (_IO_flush_all): Likewise.
21136 (_IO_flush_all_linebuffered): Likewise.
21137 (_IO_cleanup): Likewise.
21138 (_IO_iter_begin): Likewise.
21139 (_IO_iter_end): Likewise.
21140 (_IO_list_lock): Likewise.
21141 (_IO_list_unlock): Likewise.
21142 (_IO_list_resetlock): Likewise.
21143 * libio/getchar.c (getchar): Likewise.
21144 * libio/getchar_u.c (getchar_unlocked): Likewise.
21145 * libio/getwchar.c (getwchar): Likewise.
21146 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21147 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21148 * login/getpt.c (__getpt): Likewise.
21149 * login/tst-utmp.c (main): Likewise.
21150 * malloc/hooks.c (__malloc_check_init): Likewise.
21151 * malloc/malloc.c (__malloc_stats): Likewise.
21152 * malloc/mtrace.c (tr_break): Likewise.
21153 (mtrace): Likewise.
21154 (muntrace): Likewise.
21155 * misc/fstab.c (endfsent): Likewise.
21156 * misc/getclktck.c (__getclktck): Likewise.
21157 * misc/getdtsz.c (__getdtablesize): Likewise.
21158 * misc/gethostid.c (gethostid): Likewise.
21159 * misc/getpagesize.c (__getpagesize): Likewise.
21160 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21161 (__get_nprocs): Likewise.
21162 (__get_phys_pages): Likewise.
21163 (__get_avphys_pages): Likewise.
21164 * misc/getttyent.c (getttyent): Likewise.
21165 (setttyent): Likewise.
21166 (endttyent): Likewise.
21167 * misc/getusershell.c (getusershell): Likewise.
21168 (endusershell): Likewise.
21169 (setusershell): Likewise.
21170 (initshells): Likewise.
21171 * misc/hsearch.c (__hdestroy): Likewise.
21172 * misc/sync.c (sync): Likewise.
21173 * misc/syslog.c (closelog_internal): Likewise.
21174 (closelog): Likewise.
21175 * misc/ttyslot.c (ttyslot): Likewise.
21176 * misc/vhangup.c (vhangup): Likewise.
21177 * posix/fork.c (__fork): Likewise.
21178 * posix/getegid.c (__getegid): Likewise.
21179 * posix/geteuid.c (__geteuid): Likewise.
21180 * posix/getgid.c (__getgid): Likewise.
21181 * posix/getpid.c (__getpid): Likewise.
21182 * posix/getppid.c (__getppid): Likewise.
21183 * posix/getuid.c (__getuid): Likewise.
21184 * posix/pause.c (pause): Likewise.
21185 * posix/setpgrp.c (setpgrp): Likewise.
21186 * posix/setsid.c (__setsid): Likewise.
21187 * posix/test-vfork.c (noop): Likewise.
21188 * resolv/gethnamaddr.c (_endhtent): Likewise.
21189 (_gethtent): Likewise.
21190 (ht_endhostent): Likewise.
21191 (gethostent): Likewise.
21192 (dns_service): Likewise.
21193 * stdlib/drand48.c (drand48): Likewise.
21194 * stdlib/lrand48.c (lrand48): Likewise.
21195 * stdlib/mrand48.c (mrand48): Likewise.
21196 * stdlib/rand.c (rand): Likewise.
21197 * stdlib/random.c (__random): Likewise.
21198 * stdlib/setenv.c (clearenv): Likewise.
21199 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21200 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21201 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21202 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21203 (__get_nprocs): Likewise.
21204 (__get_phys_pages): Likewise.
21205 (__get_avphys_pages): Likewise.
21206 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21207 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21208 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21209 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21210 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21211 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21212 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21213 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21214 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21215 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21216 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21217 * sysdeps/mach/hurd/sync.c (sync): Likewise.
21218 * sysdeps/posix/clock.c (clock): Likewise.
21219 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21220 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21221 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21222 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21223 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21224 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21225 (__get_nprocs_conf): Likewise.
21226 (__get_phys_pages): Likewise.
21227 (__get_avphys_pages): Likewise.
21228 * time/clock.c (clock): Likewise.
21229 * time/tzset.c (__tzname_max): Likewise.
21230
2e09a79a
JM
212312013-06-07 Joseph Myers <joseph@codesourcery.com>
21232
21233 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21234 (__bswap_32): Do not use "register".
21235 * crypt/crypt.c (_ufc_doit_r): Likewise.
21236 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21237 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21238 * gmon/gmon.c (__monstartup): Likewise.
21239 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21240 * hurd/hurdmalloc.c (more_memory): Likewise.
21241 (malloc): Likewise.
21242 (free): Likewise.
21243 (realloc): Likewise.
21244 (malloc_fork_prepare): Likewise.
21245 (malloc_fork_parent): Likewise.
21246 (malloc_fork_child): Likewise.
21247 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21248 (_svcauth_des): Likewise.
21249 * inet/inet_lnaof.c (inet_lnaof): Likewise.
21250 * inet/inet_net.c (inet_network): Likewise.
21251 * inet/inet_netof.c (inet_netof): Likewise.
21252 * inet/rcmd.c (__validuser2_sa): Likewise.
21253 * io/fts.c (fts_open): Likewise.
21254 (fts_load): Likewise.
21255 (fts_close): Likewise.
21256 (fts_read): Likewise.
21257 (fts_children): Likewise.
21258 (fts_build): Likewise.
21259 (fts_stat): Likewise.
21260 (fts_sort): Likewise.
21261 (fts_alloc): Likewise.
21262 (fts_lfree): Likewise.
21263 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21264 (_IO_file_xsgetn): Likewise.
21265 (_IO_file_xsgetn_mmap): Likewise.
21266 * libio/iofopncook.c (_IO_cookie_read): Likewise.
21267 (_IO_cookie_write): Likewise.
21268 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21269 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21270 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21271 * malloc/obstack.c (_obstack_begin): Likewise.
21272 (_obstack_begin_1): Likewise.
21273 (_obstack_newchunk): Likewise.
21274 (_obstack_allocated_p): Likewise.
21275 (obstack_free): Likewise.
21276 (_obstack_memory_used): Likewise.
21277 * misc/getttyent.c (getttynam): Likewise.
21278 (getttyent): Likewise.
21279 (skip): Likewise.
21280 (value): Likewise.
21281 * misc/getusershell.c (initshells): Likewise.
21282 * misc/syslog.c (__vsyslog_chk): Likewise.
21283 * misc/ttyslot.c (ttyslot): Likewise.
21284 * nis/nis_hash.c (__nis_hash): Likewise.
21285 * posix/fnmatch_loop.c (FCT): Likewise.
21286 * posix/getconf.c (print_all): Likewise.
21287 (main): Likewise.
21288 * posix/getopt.c (exchange): Likewise.
21289 * posix/glob.c (globfree): Likewise.
21290 (prefix_array): Likewise.
21291 (__glob_pattern_type): Likewise.
21292 * resolv/arpa/nameser.h (NS_GET16): Likewise.
21293 (NS_GET32): Likewise.
21294 (NS_PUT16): Likewise.
21295 (NS_PUT32): Likewise.
21296 * resolv/gethnamaddr.c (getanswer): Likewise.
21297 (gethostbyname2): Likewise.
21298 (gethostbyaddr): Likewise.
21299 (_gethtent): Likewise.
21300 (_gethtbyname2): Likewise.
21301 (_gethtbyaddr): Likewise.
21302 * resolv/ns_print.c (dst_s_get_int16): Likewise.
21303 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21304 * resolv/res_init.c (__res_vinit): Likewise.
21305 (net_mask): Likewise.
21306 * resolv/res_mkquery.c (outchar): Likewise.
21307 (PRINT): Likewise.
21308 * stdio-common/printf_fp.c (outchar): Likewise.
21309 (PRINT): Likewise.
21310 * stdio-common/printf_fphex.c (outchar): Likewise.
21311 (PRINT): Likewise.
21312 * stdio-common/printf_size.c (outchar): Likewise.
21313 (PRINT): Likewise.
21314 * stdio-common/test_rdwr.c (main): Likewise.
21315 * stdio-common/tfformat.c (matches): Likewise.
21316 * stdio-common/vfprintf.c (outchar): Likewise.
21317 (printf_unknown): Likewise.
21318 (buffered_vfprintf): Likewise.
21319 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21320 * stdio-common/xbug.c (AppendToBuffer): Likewise.
21321 (ReadFile): Likewise.
21322 * stdlib/qsort.c (SWAP): Likewise.
21323 (_quicksort): Likewise.
21324 * stdlib/setenv.c (__add_to_environ): Likewise.
21325 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21326 * stdlib/strtol_l.c (__strtol_l): Likewise.
21327 * stdlib/tst-strtod.c (main): Likewise.
21328 * stdlib/tst-strtol.c (main): Likewise.
21329 * stdlib/tst-strtoll.c (main): Likewise.
21330 * string/bits/string2.h (__strcmp_cc): Likewise.
21331 (__strcmp_cg): Likewise.
21332 (__strcspn_c1): Likewise.
21333 (__strcspn_c2): Likewise.
21334 (__strcspn_c3): Likewise.
21335 (__strspn_c1): Likewise.
21336 (__strspn_c2): Likewise.
21337 (__strspn_c3): Likewise.
21338 (__strsep_1c): Likewise.
21339 (__strsep_2c): Likewise.
21340 (__strsep_3c): Likewise.
21341 * string/memccpy.c (__memccpy): Likewise.
21342 * string/stpcpy.c (__stpcpy): Likewise.
21343 * string/strcmp.c (strcmp): Likewise.
21344 * string/strrchr.c (strrchr): Likewise.
21345 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21346 Likewise.
21347 * sysdeps/mach/hurd/getcwd.c
21348 (_hurd_canonicalize_directory_name_internal): Likewise.
21349 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21350 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21351 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21352 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21353 Likewise, in both definitions.
21354 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21355 definitions.
21356 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21357 64] (__bswap_64): Likewise.
21358 * time/test_time.c (main): Likewise.
21359 * time/tzfile.c (__tzfile_read): Likewise.
21360 (__tzfile_compute): Likewise.
21361 * time/tzset.c (__tzset_parse_tz): Likewise.
21362 (tzset_internal): Likewise.
21363 (compute_change): Likewise.
21364 * wcsmbs/wcscat.c (__wcscat): Likewise.
21365 * wcsmbs/wcschr.c (wcschr): Likewise.
21366 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21367 * wcsmbs/wcscspn.c (wcscspn): Likewise.
21368 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21369 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21370 * wcsmbs/wcsspn.c (wcsspn): Likewise.
21371 * wcsmbs/wcsstr.c (wcsstr): Likewise.
21372 * wcsmbs/wmemchr.c (wmemchr): Likewise.
21373 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21374 * wcsmbs/wmemset.c (wmemset): Likewise.
21375
9e54314b
JM
213762013-06-06 Joseph Myers <joseph@codesourcery.com>
21377
21378 * scripts/config.guess: Update to version 2013-05-16.
21379 * scripts/config.sub: Update to version 2013-04-24.
21380 * scripts/install-sh: Update to version 2011-11-20.07.
21381 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21382 * scripts/move-if-change: Update to version 2012-01-06 07:23.
21383
350635a5
OB
213842013-06-06 Ondřej Bílka <neleai@seznam.cz>
21385
21386 * debug/fgetws_u_chk.c: Fix leading whitespaces.
21387 * elf/sln.c: Likewise.
21388 * hurd/hurd/ioctl.h: Likewise.
21389 * hurd/hurdmalloc.c: Likewise.
21390 * hurd/xattr.c: Likewise.
21391 * include/shlib-compat.h: Likewise.
21392 * inet/ruserpass.c: Likewise.
21393 * libio/iofgets_u.c: Likewise.
21394 * libio/iofgetws_u.c: Likewise.
21395 * locale/programs/ld-identification.c: Likewise.
21396 * locale/programs/ld-time.c: Likewise.
21397 * mach/msg-destroy.c: Likewise.
21398 * nss/nss_files/files-netgrp.c: Likewise.
21399 * resolv/res_data.c: Likewise.
21400 * soft-fp/op-1.h: Likewise.
21401 * soft-fp/op-2.h: Likewise.
21402 * soft-fp/op-4.h: Likewise.
21403 * soft-fp/op-common.h: Likewise.
21404 * stdio-common/printf_fphex.c: Likewise.
21405 * stdlib/strtod_l.c: Likewise.
21406 * sunrpc/rpc/clnt.h: Likewise.
21407 * sysdeps/generic/framestate.c: Likewise.
21408 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21409 * sysdeps/i386/bsd-setjmp.S: Likewise.
21410 * sysdeps/i386/__longjmp.S: Likewise.
21411 * sysdeps/i386/setjmp.S: Likewise.
21412 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21413 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21414 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21415 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21416 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21417 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21418 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21419 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21420 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21421 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21422 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21423 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21424 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21425 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21426 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21427 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21428 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21429 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21430 * sysdeps/ieee754/support.c: Likewise.
21431 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21432 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21433 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21434 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21435 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21436 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21437 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21438 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21439 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21440 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21441 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21442 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21443 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21444 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21445 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21446 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21447 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21449
44a988af
OB
214502013-06-05 Ondřej Bílka <neleai@seznam.cz>
21451
25506f09 21452 * posix/transbug.c: Remove executable mode.
44a988af 21453
9c84384c
JM
214542013-06-05 Joseph Myers <joseph@codesourcery.com>
21455
21456 * crypt/speeds.c: Remove trailing whitespace.
21457 * dlfcn/default.c: Likewise.
21458 * elf/ifuncdep2.c: Likewise.
21459 * elf/ifuncmain1.c: Likewise.
21460 * elf/ifuncmain1vis.c: Likewise.
21461 * elf/testobj.h: Likewise.
21462 * elf/tst-stackguard1.c: Likewise.
21463 * gmon/sys/gmon.h: Likewise.
21464 * hurd/hurdmsg.c: Likewise.
21465 * hurd/new-fd.c: Likewise.
21466 * hurd/ports-get.c: Likewise.
21467 * iconvdata/ibm1008_420.c: Likewise.
21468 * inet/tst-getni1.c: Likewise.
21469 * inet/tst-getni2.c: Likewise.
21470 * libio/ioungetc.c: Likewise.
21471 * libio/wfiledoalloc.c: Likewise.
21472 * manual/libm-err-tab.pl: Likewise.
21473 * math/w_dremf.c: Likewise.
21474 * misc/ftruncate.c: Likewise.
21475 * posix/bug-glob2.c: Likewise.
21476 * posix/tst-pcre.c: Likewise.
21477 * posix/wait4.c: Likewise.
21478 * resolv/README: Likewise.
21479 * resolv/res_debug.h: Likewise.
21480 * resolv/tst-inet_ntop.c: Likewise.
21481 * setjmp/bug269-setjmp.c: Likewise.
21482 * soft-fp/extended.h: Likewise.
21483 * soft-fp/op-1.h: Likewise.
21484 * soft-fp/op-2.h: Likewise.
21485 * soft-fp/op-4.h: Likewise.
21486 * soft-fp/op-8.h: Likewise.
21487 * soft-fp/testit.c: Likewise.
21488 * stdio-common/bug16.c: Likewise.
21489 * stdlib/random.c: Likewise.
21490 * sunrpc/rpcsvc/rquota.x: Likewise.
21491 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21492 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21493 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21494 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21495 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21496 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21497 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21498 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21499 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21500 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21501 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21502 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21503 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21504 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21505 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21506 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21507 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21508 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21509 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21510 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21511 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21512 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21513 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21514 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21515 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21516 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21517 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21518 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21519 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21520 * sysdeps/ieee754/s_lib_version.c: Likewise.
21521 * sysdeps/mach/hurd/check_fds.c: Likewise.
21522 * sysdeps/mach/hurd/getsockname.c: Likewise.
21523 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21524 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21525 * sysdeps/powerpc/bits/link.h: Likewise.
21526 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21527 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21528 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21529 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21530 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21531 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21532 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21533 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21534 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21535 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21536 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21537 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21538 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21539 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21540 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21541 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21542 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21543 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21544 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21545 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21546 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21547 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21548 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21549 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21550 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21551 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21552 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21553 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21554 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21555 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21556 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21557 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21558 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21559 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21560 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21561 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21562 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21563 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21564 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21565 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21566 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21567 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21568 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21569 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21570 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21571 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21572 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21573 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21574 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21575 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21576 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21577 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21578 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21579 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21580 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21581 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21582 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21583 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21584 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21585 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21586 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21587 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21588 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21589 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21590 * sysdeps/powerpc/sysdep.h: Likewise.
21591 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21592 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21593 * sysdeps/sh/dl-trampoline.S: Likewise.
21594 * sysdeps/sh/memset.S: Likewise.
21595 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21596 * sysdeps/sh/strlen.S: Likewise.
21597 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21598 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21599 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21600 * sysdeps/sparc/sparc32/rem.S: Likewise.
21601 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21602 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21603 * sysdeps/sparc/sparc32/strchr.S: Likewise.
21604 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21605 * sysdeps/sparc/sparc32/urem.S: Likewise.
21606 * sysdeps/sparc/sparc64/add_n.S: Likewise.
21607 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21608 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21609 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21610 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21611 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21612 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21613 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21614 * sysdeps/unix/bsd/times.c: Likewise.
21615 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21616 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21620 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21621 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21622 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21623 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21624 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21625 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21626 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21627 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21628 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21629 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21630 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21631 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21632 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21633 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21634 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21635 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21636 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21637 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21638 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21639 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21640 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21641 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21642 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21643 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21644 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21645 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21646 * sysdeps/x86_64/strcspn.S: Likewise.
21647
869378a5
RA
216482013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21649
21650 * locale/C-translit.h: Revert #include <stdint.h> because this is a
21651 generated file. Regenerate properly from gen-translit.pl.
21652 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
21653 locale/C-translit.h.
21654
840e2943
AS
216552013-06-05 Andreas Schwab <schwab@suse.de>
21656
21657 [BZ #15100]
21658 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21659 week as 6 instead of -1.
21660 * time/tst-strptime.c (day_tests): Add test case.
21661
4c60cb0c
SP
216622013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21663
21664 * sysdeps/generic/math_private.h
21665 (libc_feholdexcept_setround_53bit): Replace with
21666 libc_feholdsetround_53bit.
21667 (libc_feupdateenv_53bit): Replace with
21668 libc_feresetround_53bit.
21669 (SET_RESTORE_ROUND_53BIT): Adjust.
21670
d180203e
SP
216712013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21672
96df079a
SP
21673 * string/test-strchrnul.c: Add copyright header.
21674
d180203e
SP
21675 * posix/tst-getaddrinfo4.c: Increase test timeout.
21676
8b0ccb2d
CD
216772013-06-03 Carlos O'Donell <carlos@redhat.com>
21678
21679 [BZ #15536]
21680 * math/libm-test.inc (MAX_EXP): Remove
21681 (MIN_EXP): Define.
21682 (ulp): Use MIN_EXP - MANT_DIG.
21683 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21684
3b3c4d40
CD
216852013-05-31 Carlos O'Donell <carlos@redhat.com>
21686
21687 * po/be.po: Revert last change.
21688 * po/zh_CN.po: Likewise.
21689 * po/header.pot: Likewise.
21690
fab7ce3f
JM
216912013-05-31 Joseph Myers <joseph@codesourcery.com>
21692
21693 * Makefile ($(common-objpfx)linkobj/libc.so): Define
21694 link-libc-deps to empty as target-specific variable.
21695 * Makerules (link-libc-args): New variable.
21696 (libc-for-link): Likewise.
21697 (link-libc-deps): Likewise.
21698 (lib%.so): Depend on $(link-libc-deps). Link with
21699 $(link-libc-args).
21700 (build-module): Link with $(link-libc-args).
21701 (build-module-asneeded): Likewise.
21702 (build-module-helper-objlist): Filter out $(link-libc-deps) from
21703 list of objects.
21704 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21705 target-specific variable.
21706 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21707 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21708 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21709 libc.
21710 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21711 libc and ld.so.
21712 ($(objpfx)libpcprofile.so): Likewise.
21713 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21714 libc_nonshared.a.
21715 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21716 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21717 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21718 $(link-libc-deps).
21719 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21720 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21721 * login/Makefile ($(objpfx)libutil.so): Likewise.
21722 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21723 * math/Makefile ($(objpfx)libm.so): Likewise.
21724 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21725 $(objpfx)libnsl.so): Define libc-for-link as target-specific
21726 variable instead of depending directly on libc.
21727 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21728 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21729 $(link-libc-deps).
21730 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21731 libc.
21732 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21733 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21734 ($(objpfx)libanl.so): Likewise.
21735 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21736 ld.so.
21737 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21738 $(link-libc-deps).
21739 * sysdeps/i386/fpu/Makefile: Remove file.
21740 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21741 ($(objpfx)libm.so): Remove dependency on ld.so.
21742
eca5920c
PF
217432013-05-30 Patsy Franklin <pfrankli@redhat.com>
21744
21745 [BZ # 15553]
21746 * nis/yp_xdr.c (XDRMAXNAME): Define.
21747 (XDRMAXRECORD): Define.
21748 (xdr_domainname): Use XDRMAXNAME.
21749 (xdr_mapname): Likewise.
21750 (xdr_peername): Likewise.
21751 (xdr_keydat): Use XDRMAXRECORD.
21752 (xdr_valdat): Likewise.
21753
217542013-05-30 Jeff Law <law@redhat.com>
96945714
JL
21755
21756 [BZ #14256]
21757 * manual/errno.texi (ESTALE): Update to account for more than
21758 just NFS file systems.
21759 * sysdeps/gnu/errlist.c: Regenerated.
21760
b9375348
SP
217612013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21762
21763 [BZ #15465]
21764 * elf/Makefile (tests): Add tst-null-argv.
21765 (modules-names): Add tst-null-argv-lib.
21766 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21767 (tst-null-argv-ENV): Set environment for tst-null-argv.
21768 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21769 (RTLD_PROGNAME): New macro.
21770 * elf/tst-null-argv.c: New test case.
21771 * elf/tst-null-argv-lib.c: Library for test case.
21772 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21773 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21774 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21775 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21776 * elf/dl-init.c (call_init): Likewise.
21777 (_dl_init): Likewise.
21778 * elf/dl-load.c (print_search_path): Likewise.
21779 (_dl_map_object): Likewise.
21780 * elf/dl-lookup.c (do_lookup_x): Likewise.
21781 (add_dependency): Likewise.
21782 (_dl_lookup_symbol_x): Likewise.
21783 (_dl_debug_bindings): Likewise.
21784 * elf/dl-open.c (_dl_show_scope): Likewise.
21785 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21786 * elf/dl-version.c (match_symbol): Likewise.
21787 (_dl_check_map_versions): Likewise.
21788 * elf/rtld.c (dl_main): Likewise.
21789 (print_unresolved): Use RTLD_PROGNAME.
21790 (print_missing_version): Likewise.
21791 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21792 (elf_machine_rela): Likewise.
21793 * sysdeps/powerpc/powerpc32/dl-machine.c
21794 (__process_machine_rela): Likewise.
21795 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21796 Likewise.
21797 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21798 Likewise.
21799 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21800 Likewise.
21801 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21802 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21803 Likewise.
21804 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21805 Likewise.
21806 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21807
8a9f20c8
CD
218082013-05-28 Carlos O'Donell <carlos@redhat.com>
21809
21810 * po/be.po: Add descriptive title.
21811 * po/zh_CN.po: Likewise.
21812 * po/header.pot: Likewise.
21813
0e60d68e
MF
218142013-05-28 Mike Frysinger <vapier@gentoo.org>
21815
21816 * locale/programs/locarchive.c (create_archive): Inlucde fname in
21817 error message.
21818 (enlarge_archive): Likewise.
21819
56b672e9
BN
218202013-05-28 Ben North <ben@redfrontdoor.org>
21821
21822 * manual/arith.texi (frexp): It is the magnitude of the return
21823 value which lies in [0.5, 1), not the return value itself.
21824
5e056687
AZ
218252013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21826
21827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21828
2b66ef5d
TS
218292013-05-26 Thomas Schwinge <thomas@codesourcery.com>
21830
528c2405
TS
21831 * stdio-common/bug26.c (main): Correct fscanf template.
21832
07b4c13d
TS
21833 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21834 declare _dl_skip_args.
21835
ec9dd97c
TS
21836 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21837 Don't declare.
21838
2b66ef5d
TS
21839 * manual/platform.texi: Add missing @end deftypefun.
21840
4f8dfe27
JM
218412013-05-24 Joseph Myers <joseph@codesourcery.com>
21842
0323d086
JM
21843 [BZ #15529]
21844 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21845 bit of mantissa of 2^16382.
21846 * math/libm-test.inc (hypot_test_data): Add more tests.
21847
dd4259b9
JM
21848 * math/libm-test.inc: Add drem and pow10 to list of tested
21849 functions.
21850 (pow10_test): New function.
21851 (drem_test): Likewise.
21852 (drem_test_tonearest): Likewise.
21853 (drem_test_towardzero): Likewise.
21854 (drem_test_downward): Likewise.
21855 (drem_test_upward): Likewise.
21856 (main): Call the new functions.
21857
4f8dfe27
JM
21858 * math/libm-test.inc (finite_test_data): Remove.
21859 (finite_test): Run tests from isfinite_test_data.
21860 (gamma_test_data): Remove.
21861 (gamma_test): Run tests from lgamma_test_data.
21862 * sysdeps/i386/fpu/libm-test-ulps: Update.
21863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21864
d116b7c4
AZ
218652013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21866
21867 * manual/platform.texi: Add PowerPC PPR function set documentation.
21868 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21869 implementation.
21870
e96e3767
CD
218712013-05-24 Carlos O'Donell <carlos@redhat.com>
21872
21873 * math/libm-test.inc (MAX_EXP): Define.
21874 (ULPDIFF): Define.
21875 (ulp): New function.
21876 (check_float_internal): Use ULPDIFF.
21877 (cpow_test): Disable failing test.
21878 (check_ulp): Test ulp() implemetnation.
21879 (main): Call check_ulp before starting tests.
21880
b679a606
JM
218812013-05-24 Joseph Myers <joseph@codesourcery.com>
21882
e8bdba36
JM
21883 * math/gen-libm-test.pl (generate_testfile): Do not handle
21884 START_DATA and END_DATA.
21885 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21886 END_DATA.
21887 (acos_tonearest_test_data): Likewise.
21888 (acos_towardzero_test_data): Likewise.
21889 (acos_downward_test_data): Likewise.
21890 (acos_upward_test_data): Likewise.
21891 (acosh_test_data): Likewise.
21892 (asin_test_data): Likewise.
21893 (asin_tonearest_test_data): Likewise.
21894 (asin_towardzero_test_data): Likewise.
21895 (asin_downward_test_data): Likewise.
21896 (asin_upward_test_data): Likewise.
21897 (asinh_test_data): Likewise.
21898 (atan_test_data): Likewise.
21899 (atanh_test_data): Likewise.
21900 (atan2_test_data): Likewise.
21901 (cabs_test_data): Likewise.
21902 (cacos_test_data): Likewise.
21903 (cacosh_test_data): Likewise.
21904 (carg_test_data): Likewise.
21905 (casin_test_data): Likewise.
21906 (casinh_test_data): Likewise.
21907 (catan_test_data): Likewise.
21908 (catanh_test_data): Likewise.
21909 (cbrt_test_data): Likewise.
21910 (ccos_test_data): Likewise.
21911 (ccosh_test_data): Likewise.
21912 (ceil_test_data): Likewise.
21913 (cexp_test_data): Likewise.
21914 (cimag_test_data): Likewise.
21915 (clog_test_data): Likewise.
21916 (clog10_test_data): Likewise.
21917 (conj_test_data): Likewise.
21918 (copysign_test_data): Likewise.
21919 (cos_test_data): Likewise.
21920 (cos_tonearest_test_data): Likewise.
21921 (cos_towardzero_test_data): Likewise.
21922 (cos_downward_test_data): Likewise.
21923 (cos_upward_test_data): Likewise.
21924 (cosh_test_data): Likewise.
21925 (cosh_tonearest_test_data): Likewise.
21926 (cosh_towardzero_test_data): Likewise.
21927 (cosh_downward_test_data): Likewise.
21928 (cosh_upward_test_data): Likewise.
21929 (cpow_test_data): Likewise.
21930 (cproj_test_data): Likewise.
21931 (creal_test_data): Likewise.
21932 (csin_test_data): Likewise.
21933 (csinh_test_data): Likewise.
21934 (csqrt_test_data): Likewise.
21935 (ctan_test_data): Likewise.
21936 (ctan_tonearest_test_data): Likewise.
21937 (ctan_towardzero_test_data): Likewise.
21938 (ctan_downward_test_data): Likewise.
21939 (ctan_upward_test_data): Likewise.
21940 (ctanh_test_data): Likewise.
21941 (ctanh_tonearest_test_data): Likewise.
21942 (ctanh_towardzero_test_data): Likewise.
21943 (ctanh_downward_test_data): Likewise.
21944 (ctanh_upward_test_data): Likewise.
21945 (erf_test_data): Likewise.
21946 (erfc_test_data): Likewise.
21947 (exp_test_data): Likewise.
21948 (exp_tonearest_test_data): Likewise.
21949 (exp_towardzero_test_data): Likewise.
21950 (exp_downward_test_data): Likewise.
21951 (exp_upward_test_data): Likewise.
21952 (exp10_test_data): Likewise.
21953 (exp2_test_data): Likewise.
21954 (expm1_test_data): Likewise.
21955 (fabs_test_data): Likewise.
21956 (fdim_test_data): Likewise.
21957 (finite_test_data): Likewise.
21958 (floor_test_data): Likewise.
21959 (fma_test_data): Likewise.
21960 (fma_towardzero_test_data): Likewise.
21961 (fma_downward_test_data): Likewise.
21962 (fma_upward_test_data): Likewise.
21963 (fmax_test_data): Likewise.
21964 (fmin_test_data): Likewise.
21965 (fmod_test_data): Likewise.
21966 (fpclassify_test_data): Likewise.
21967 (frexp_test_data): Likewise.
21968 (gamma_test_data): Likewise.
21969 (hypot_test_data): Likewise.
21970 (ilogb_test_data): Likewise.
21971 (isfinite_test_data): Likewise.
21972 (isgreater_test_data): Likewise.
21973 (isgreaterequal_test_data): Likewise.
21974 (isinf_test_data): Likewise.
21975 (isless_test_data): Likewise.
21976 (islessequal_test_data): Likewise.
21977 (islessgreater_test_data): Likewise.
21978 (isnan_test_data): Likewise.
21979 (isnormal_test_data): Likewise.
21980 (issignaling_test_data): Likewise.
21981 (isunordered_test_data): Likewise.
21982 (j0_test_data): Likewise.
21983 (j1_test_data): Likewise.
21984 (jn_test_data): Likewise.
21985 (ldexp_test_data): Likewise.
21986 (lgamma_test_data): Likewise.
21987 (lrint_test_data): Likewise.
21988 (lrint_tonearest_test_data): Likewise.
21989 (lrint_towardzero_test_data): Likewise.
21990 (lrint_downward_test_data): Likewise.
21991 (lrint_upward_test_data): Likewise.
21992 (llrint_test_data): Likewise.
21993 (llrint_tonearest_test_data): Likewise.
21994 (llrint_towardzero_test_data): Likewise.
21995 (llrint_downward_test_data): Likewise.
21996 (llrint_upward_test_data): Likewise.
21997 (log_test_data): Likewise.
21998 (log10_test_data): Likewise.
21999 (log1p_test_data): Likewise.
22000 (log2_test_data): Likewise.
22001 (logb_test_data): Likewise.
22002 (logb_downward_test_data): Likewise.
22003 (lround_test_data): Likewise.
22004 (llround_test_data): Likewise.
22005 (modf_test_data): Likewise.
22006 (nearbyint_test_data): Likewise.
22007 (nextafter_test_data): Likewise.
22008 (nexttoward_test_data): Likewise.
22009 (pow_test_data): Likewise.
22010 (pow_tonearest_test_data): Likewise.
22011 (pow_towardzero_test_data): Likewise.
22012 (pow_downward_test_data): Likewise.
22013 (pow_upward_test_data): Likewise.
22014 (remainder_test_data): Likewise.
22015 (remainder_tonearest_test_data): Likewise.
22016 (remainder_towardzero_test_data): Likewise.
22017 (remainder_downward_test_data): Likewise.
22018 (remainder_upward_test_data): Likewise.
22019 (remquo_test_data): Likewise.
22020 (rint_test_data): Likewise.
22021 (rint_tonearest_test_data): Likewise.
22022 (rint_towardzero_test_data): Likewise.
22023 (rint_downward_test_data): Likewise.
22024 (rint_upward_test_data): Likewise.
22025 (round_test_data): Likewise.
22026 (scalb_test_data): Likewise.
22027 (scalbn_test_data): Likewise.
22028 (scalbln_test_data): Likewise.
22029 (signbit_test_data): Likewise.
22030 (sin_test_data): Likewise.
22031 (sin_tonearest_test_data): Likewise.
22032 (sin_towardzero_test_data): Likewise.
22033 (sin_downward_test_data): Likewise.
22034 (sin_upward_test_data): Likewise.
22035 (sincos_test_data): Likewise.
22036 (sinh_test_data): Likewise.
22037 (sinh_tonearest_test_data): Likewise.
22038 (sinh_towardzero_test_data): Likewise.
22039 (sinh_downward_test_data): Likewise.
22040 (sinh_upward_test_data): Likewise.
22041 (sqrt_test_data): Likewise.
22042 (tan_test_data): Likewise.
22043 (tan_tonearest_test_data): Likewise.
22044 (tan_towardzero_test_data): Likewise.
22045 (tan_downward_test_data): Likewise.
22046 (tan_upward_test_data): Likewise.
22047 (tanh_test_data): Likewise.
22048 (tgamma_test_data): Likewise.
22049 (trunc_test_data): Likewise.
22050 (y0_test_data): Likewise.
22051 (y1_test_data): Likewise.
22052 (yn_test_data): Likewise.
22053 (significand_test_data): Likewise.
22054
b679a606
JM
22055 * math/gen-libm-test.pl (@functions): Remove variable.
22056 (generate_testfile): Don't handle START and END lines.
22057 * math/libm-test.inc (START): New macro.
22058 (END): Likewise.
22059 (END_COMPLEX): Likewise.
22060 (acos_test): Use END macro without arguments.
22061 (acos_test_tonearest): Likewise.
22062 (acos_test_towardzero): Likewise.
22063 (acos_test_downward): Likewise.
22064 (acos_test_upward): Likewise.
22065 (acosh_test): Likewise.
22066 (asin_test): Likewise.
22067 (asin_test_tonearest): Likewise.
22068 (asin_test_towardzero): Likewise.
22069 (asin_test_downward): Likewise.
22070 (asin_test_upward): Likewise.
22071 (asinh_test): Likewise.
22072 (atan_test): Likewise.
22073 (atanh_test): Likewise.
22074 (atan2_test): Likewise.
22075 (cabs_test): Likewise.
22076 (cacos_test): Use END_COMPLEX macro without arguments.
22077 (cacosh_test): Likewise.
22078 (carg_test): Use END macro without arguments.
22079 (casin_test): Use END_COMPLEX macro without arguments.
22080 (casinh_test): Likewise.
22081 (catan_test): Likewise.
22082 (catanh_test): Likewise.
22083 (cbrt_test): Use END macro without arguments.
22084 (ccos_test): Use END_COMPLEX macro without arguments.
22085 (ccosh_test): Likewise.
22086 (ceil_test): Use END macro without arguments.
22087 (cexp_test): Use END_COMPLEX macro without arguments.
22088 (cimag_test): Use END macro without arguments.
22089 (clog_test): Use END_COMPLEX macro without arguments.
22090 (clog10_test): Likewise.
22091 (conj_test): Likewise.
22092 (copysign_test): Use END macro without arguments.
22093 (cos_test): Likewise.
22094 (cos_test_tonearest): Likewise.
22095 (cos_test_towardzero): Likewise.
22096 (cos_test_downward): Likewise.
22097 (cos_test_upward): Likewise.
22098 (cosh_test): Likewise.
22099 (cosh_test_tonearest): Likewise.
22100 (cosh_test_towardzero): Likewise.
22101 (cosh_test_downward): Likewise.
22102 (cosh_test_upward): Likewise.
22103 (cpow_test): Use END_COMPLEX macro without arguments.
22104 (cproj_test): Likewise.
22105 (creal_test): Use END macro without arguments.
22106 (csin_test): Use END_COMPLEX macro without arguments.
22107 (csinh_test): Likewise.
22108 (csqrt_test): Likewise.
22109 (ctan_test): Likewise.
22110 (ctan_test_tonearest): Likewise.
22111 (ctan_test_towardzero): Likewise.
22112 (ctan_test_downward): Likewise.
22113 (ctan_test_upward): Likewise.
22114 (ctanh_test): Likewise.
22115 (ctanh_test_tonearest): Likewise.
22116 (ctanh_test_towardzero): Likewise.
22117 (ctanh_test_downward): Likewise.
22118 (ctanh_test_upward): Likewise.
22119 (erf_test): Use END macro without arguments.
22120 (erfc_test): Likewise.
22121 (exp_test): Likewise.
22122 (exp_test_tonearest): Likewise.
22123 (exp_test_towardzero): Likewise.
22124 (exp_test_downward): Likewise.
22125 (exp_test_upward): Likewise.
22126 (exp10_test): Likewise.
22127 (exp2_test): Likewise.
22128 (expm1_test): Likewise.
22129 (fabs_test): Likewise.
22130 (fdim_test): Likewise.
22131 (finite_test): Likewise.
22132 (floor_test): Likewise.
22133 (fma_test): Likewise.
22134 (fma_test_towardzero): Likewise.
22135 (fma_test_downward): Likewise.
22136 (fma_test_upward): Likewise.
22137 (fmax_test): Likewise.
22138 (fmin_test): Likewise.
22139 (fmod_test): Likewise.
22140 (fpclassify_test): Likewise.
22141 (frexp_test): Likewise.
22142 (gamma_test): Likewise.
22143 (hypot_test): Likewise.
22144 (ilogb_test): Likewise.
22145 (isfinite_test): Likewise.
22146 (isgreater_test): Likewise.
22147 (isgreaterequal_test): Likewise.
22148 (isinf_test): Likewise.
22149 (isless_test): Likewise.
22150 (islessequal_test): Likewise.
22151 (islessgreater_test): Likewise.
22152 (isnan_test): Likewise.
22153 (isnormal_test): Likewise.
22154 (issignaling_test): Likewise.
22155 (isunordered_test): Likewise.
22156 (j0_test): Likewise.
22157 (j1_test): Likewise.
22158 (jn_test): Likewise.
22159 (ldexp_test): Likewise.
22160 (lgamma_test): Likewise.
22161 (lrint_test): Likewise.
22162 (lrint_test_tonearest): Likewise.
22163 (lrint_test_towardzero): Likewise.
22164 (lrint_test_downward): Likewise.
22165 (lrint_test_upward): Likewise.
22166 (llrint_test): Likewise.
22167 (llrint_test_tonearest): Likewise.
22168 (llrint_test_towardzero): Likewise.
22169 (llrint_test_downward): Likewise.
22170 (llrint_test_upward): Likewise.
22171 (log_test): Likewise.
22172 (log10_test): Likewise.
22173 (log1p_test): Likewise.
22174 (log2_test): Likewise.
22175 (logb_test): Likewise.
22176 (logb_test_downward): Likewise.
22177 (lround_test): Likewise.
22178 (llround_test): Likewise.
22179 (modf_test): Likewise.
22180 (nearbyint_test): Likewise.
22181 (nextafter_test): Likewise.
22182 (nexttoward_test): Likewise.
22183 (pow_test): Likewise.
22184 (pow_test_tonearest): Likewise.
22185 (pow_test_towardzero): Likewise.
22186 (pow_test_downward): Likewise.
22187 (pow_test_upward): Likewise.
22188 (remainder_test): Likewise.
22189 (remainder_test_tonearest): Likewise.
22190 (remainder_test_towardzero): Likewise.
22191 (remainder_test_downward): Likewise.
22192 (remainder_test_upward): Likewise.
22193 (remquo_test): Likewise.
22194 (rint_test): Likewise.
22195 (rint_test_tonearest): Likewise.
22196 (rint_test_towardzero): Likewise.
22197 (rint_test_downward): Likewise.
22198 (rint_test_upward): Likewise.
22199 (round_test): Likewise.
22200 (scalb_test): Likewise.
22201 (scalbn_test): Likewise.
22202 (scalbln_test): Likewise.
22203 (signbit_test): Likewise.
22204 (sin_test): Likewise.
22205 (sin_test_tonearest): Likewise.
22206 (sin_test_towardzero): Likewise.
22207 (sin_test_downward): Likewise.
22208 (sin_test_upward): Likewise.
22209 (sincos_test): Likewise.
22210 (sinh_test): Likewise.
22211 (sinh_test_tonearest): Likewise.
22212 (sinh_test_towardzero): Likewise.
22213 (sinh_test_downward): Likewise.
22214 (sinh_test_upward): Likewise.
22215 (sqrt_test): Likewise.
22216 (tan_test): Likewise.
22217 (tan_test_tonearest): Likewise.
22218 (tan_test_towardzero): Likewise.
22219 (tan_test_downward): Likewise.
22220 (tan_test_upward): Likewise.
22221 (tanh_test): Likewise.
22222 (tgamma_test): Likewise.
22223 (trunc_test): Likewise.
22224 (y0_test): Likewise.
22225 (y1_test): Likewise.
22226 (yn_test): Likewise.
22227 (significand_test): Likewise.
22228
bae143d2
OB
222292013-05-24 Ondřej Bílka <neleai@seznam.cz>
22230
22231 [BZ #15381]
22232 * libio/genops.c (_IO_no_init): Initialize wide struct info.
22233
9323d39b
EM
222342013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
22235
d4ea44a0 22236 [BZ #14894]
9323d39b
EM
22237 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22238 __ppc_mdoio and __ppc_mdoom.
22239 * manual/platform.texi: Document new functions __ppc_yield,
22240 __ppc_mdoio and __ppc_mdoom.
22241
13e23af7
CD
222422013-05-22 Carlos O'Donell <carlos@redhat.com>
22243
22244 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22245 (main): Mention "tls" pseudo-hwcap is legacy.
22246 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22247
351fe550
JM
222482013-05-22 Joseph Myers <joseph@codesourcery.com>
22249
22250 * math/gen-libm-test.pl (parse_args): Output only string of
22251 arguments as text for test name, not full call or descriptions of
22252 tests for extra outputs.
22253 (generate_testfile): Do not pass function name to parse_args.
22254 Generate this_func variable from START.
22255 * math/libm-test.inc (struct test_f_f_data): Rename test_name
22256 field to arg_str.
22257 (struct test_ff_f_data): Likewise.
22258 (test_ff_f_data_nexttoward): Likewise.
22259 (struct test_fi_f_data): Likewise.
22260 (struct test_fl_f_data): Likewise.
22261 (struct test_if_f_data): Likewise.
22262 (struct test_fff_f_data): Likewise.
22263 (struct test_c_f_data): Likewise.
22264 (struct test_f_f1_data): Likewise. Remove field extra_name.
22265 (struct test_fF_f1_data): Likewise.
22266 (struct test_ffI_f1_data): Likewise.
22267 (struct test_c_c_data): Rename test_name field to arg_str.
22268 (struct test_cc_c_data): Likewise.
22269 (struct test_f_i_data): Likewise.
22270 (struct test_ff_i_data): Likewise.
22271 (struct test_f_l_data): Likewise.
22272 (struct test_f_L_data): Likewise.
22273 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
22274 and extra2_name.
22275 (COMMON_TEST_SETUP): New macro.
22276 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22277 (COMMON_TEST_CLEANUP): Likewise.
22278 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22279 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
22280 macros.
22281 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22282 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
22283 macros.
22284 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22285 (RUN_TEST_fff_f): Take argument string. Call new setup and
22286 cleanup macros.
22287 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22288 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
22289 macros.
22290 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22291 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
22292 macros.
22293 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22294 (RUN_TEST_fF_f1): Take argument string. Call new setup and
22295 cleanup macros.
22296 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22297 (RUN_TEST_fI_f1): Take argument string. Call new setup and
22298 cleanup macros.
22299 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22300 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
22301 cleanup macros.
22302 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22303 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
22304 macros.
22305 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22306 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
22307 macros.
22308 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22309 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
22310 macros.
22311 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22312 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
22313 cleanup macros.
22314 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22315 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
22316 cleanup macros.
22317 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22318 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
22319 macros.
22320 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22321 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
22322 cleanup macros.
22323 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22324 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
22325 macros.
22326 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22327 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
22328 macros.
22329 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22330 (RUN_TEST_fFF_11): Take argument string. Call new setup and
22331 cleanup macros.
22332 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22333
85118d4d
EBM
223342013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22335
22336 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22337 to _sifields.sigfault.
22338 (si_addr_lsb): Define new macro.
22339 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22340 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22341 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22342
7a44c18f
CD
223432013-05-03 Carlos O'Donell <carlos at redhat.com>
22344
22345 [BZ #15441]
22346 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22347 returns -1.
22348 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22349 null return -1.
22350 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22351 loading the domain.
22352
b50a7181
JM
223532013-05-22 Joseph Myers <joseph@codesourcery.com>
22354
22355 * math/gen-libm-test.pl (parse_args): Do not include expected
22356 result in test name.
22357 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22358 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22359 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22360 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22361 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22363
051063c8
SP
223642013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22365
3ce9e010
SP
22366 * benchtests/Makefile: Sort function entries.
22367
051063c8
SP
22368 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22369 tanh, asinh, acosh, atanh.
22370 * benchtests/acos-inputs: New file.
22371 * benchtests/acosh-inputs: New file.
22372 * benchtests/asin-inputs: New file.
22373 * benchtests/asinh-inputs: New file.
22374 * benchtests/atanh-inputs: New file.
22375 * benchtests/cosh-inputs: New file.
22376 * benchtests/log-inputs: New file.
22377 * benchtests/sinh-inputs: New file.
22378 * benchtests/tanh-inputs: New file.
22379
47c22455
DL
223802013-05-21 Dmitry V. Levin <ldv@altlinux.org>
22381
22382 [BZ #15339]
22383 * posix/tst-getaddrinfo4.c: New test.
22384 * posix/Makefile (tests): Add it.
22385
3d04f5db
SP
223862013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22387
22388 [BZ #15339]
22389 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22390 when no services were used.
22391 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22392 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22393
d5dd6189
AS
223942013-05-21 Andreas Schwab <schwab@suse.de>
22395
22396 [BZ #15014]
22397 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22398 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22399 successful.
22400 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22401 redundant variable declarations and reallocation of buffer when
22402 parsing as IPv6 address. Always set NSS status when called from
22403 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
22404 buffer too small. Correct computation of needed size.
22405 * nss/Makefile (tests): Add test-digits-dots.
22406 * nss/test-digits-dots.c: New test.
22407
fef94eab
SP
224082013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22409
22410 * benchtests/Makefile: Remove instructions for adding
22411 benchmark tests.
22412 * benchtests/README: New file to explain how to execute and
22413 enhance the benchmark tests.
22414
e39adf43
AS
224152013-05-21 Andreas Schwab <schwab@suse.de>
22416
22417 [BZ #15493]
22418 * setjmp/Makefile (tests): Add tst-sigsetjmp.
22419 * setjmp/tst-sigsetjmp.c: New test.
22420
b2b671b6
OB
224212013-05-20 Ondřej Bílka <neleai@seznam.cz>
22422
22423 * sysdeps/x86_64/memset.S (memset): New implementation.
22424 (__bzero): Likewise.
22425 (__memset_tail): New function.
22426
2d48b41c
OB
224272013-05-20 Ondřej Bílka <neleai@seznam.cz>
22428
22429 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22430 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22431 __memcpy_sse2_unaligned ifunc selection.
22432 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22433 Add memcpy-sse2-unaligned.S.
22434 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22435 Add: __memcpy_sse2_unaligned.
22436
f16cc3eb
JM
224372013-05-19 Joseph Myers <joseph@codesourcery.com>
22438
3e694268
JM
22439 [BZ #15490]
22440 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22441 math_force_eval before restoring floating-point envrionment.
22442 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22443 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22444 Likewise.
22445 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22446 <math_private.h>.
22447 (__nearbyintl): Use math_force_eval before restoring
22448 floating-point environment.
22449 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22450
db62a907
JM
22451 * math/gen-libm-test.pl (special_functions): Remove.
22452 (parse_args): Don't handle TEST_extra. Handle functions with no
22453 return value.
22454 * math/libm-test.inc (struct test_sincos_data): Replace with
22455 struct test_fFF_11_data.
22456 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22457 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22458 (sincos_test_data): Change element type to struct
22459 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22460 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22461 RUN_TEST_LOOP_sincos.
22462 * math/README.libm-test: Don't mention special handling of
22463 individual functions.
22464 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22465 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22466 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22467 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22468 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22470
f16cc3eb
JM
22471 * math/gen-libm-test.pl (get_variable): Remove function.
22472 (parse_args): Don't show pointer parameters to call in test
22473 names. Use "extra output N" in test names for extra outputs
22474 rather than naming variables.
22475
3779b5b6
JM
224762013-05-18 Joseph Myers <joseph@codesourcery.com>
22477
2ee094ff
JM
22478 [BZ #15488]
22479 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22480 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22481 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22482 double tests.
22483 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22484 disable.
22485 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22486 check_long_double.
22487
3779b5b6
JM
22488 * math/gen-libm-test.pl (@tests): Remove variable.
22489 ($count): Likewise.
22490 (new_test): Remove function.
22491 (show_exceptions): New function.
22492 (special_functions): Use show_exceptions instead of new_test.
22493 (parse_args): Likewise.
22494 (generate_testfile): Pass only function name in generated call to
22495 print_max_error or print_complex_max_error.
22496 (get_ulps): Do not handle complex tests specially.
22497 (output_test): Rename to ...
22498 (get_all_ulps_for_test): ... this. Return a string rather than
22499 printing to a file. Require ulps to be present.
22500 (output_ulps): Generate arrays rather than #defines.
22501 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22502 (struct ulp_data): New type.
22503 (BUILD_COMPLEX_ULP): Remove macro.
22504 (compare_ulp_data): New function.
22505 (find_ulps): Likewise.
22506 (find_test_ulps): Likewise.
22507 (find_function_ulps): Likewise.
22508 (find_complex_function_ulps): Likewise.
22509 (print_max_error): Determine allowed ulps using
22510 find_function_ulps.
22511 (print_complex_max_error): Determine allowed ulps using
22512 find_complex_function_ulps.
22513 (check_float_internal): Determine max ulps using find_test_ulps.
22514 (check_float): Do not take max_ulp parameter. Update call to
22515 check_float_internal.
22516 (check_complex): Likewise.
22517 (check_int): Do not take max_ulp parameter.
22518 (check_long): Likewise.
22519 (check_bool): Likewise.
22520 (check_longlong): Likewise.
22521 (struct test_f_f_data): Remove max_ulp field.
22522 (struct test_ff_f_data): Likewise.
22523 (struct test_ff_f_data_nexttoward): Likewise.
22524 (struct test_fi_f_data): Likewise.
22525 (struct test_fl_f_data): Likewise.
22526 (struct test_if_f_data): Likewise.
22527 (struct test_fff_f_data): Likewise.
22528 (struct test_c_f_data): Likewise.
22529 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22530 (struct test_fF_f1_data): Likewise.
22531 (struct test_ffI_f1_data): Likewise.
22532 (struct test_c_c_data): Remove max_ulp field.
22533 (struct test_cc_c_data): Likewise.
22534 (struct test_f_i_data): Likewise.
22535 (struct test_ff_i_data): Likewise.
22536 (struct test_f_l_data): Likewise.
22537 (struct test_f_L_data): Likewise.
22538 (struct test_sincos_data): Likewise.
22539 (RUN_TEST_f_f): Do not handle ulps.
22540 (RUN_TEST_LOOP_f_f): Likewise.
22541 (RUN_TEST_2_f): Likewise.
22542 (RUN_TEST_LOOP_2_f): Likewise.
22543 (RUN_TEST_fff_f): Likewise.
22544 (RUN_TEST_LOOP_fff_f): Likewise.
22545 (RUN_TEST_c_f): Likewise.
22546 (RUN_TEST_LOOP_c_f): Likewise.
22547 (RUN_TEST_f_f1): Likewise.
22548 (RUN_TEST_LOOP_f_f1): Likewise.
22549 (RUN_TEST_fF_f1): Likewise.
22550 (RUN_TEST_LOOP_fF_f1): Likewise.
22551 (RUN_TEST_fI_f1): Likewise.
22552 (RUN_TEST_LOOP_fI_f1): Likewise.
22553 (RUN_TEST_ffI_f1): Likewise.
22554 (RUN_TEST_LOOP_ffI_f1): Likewise.
22555 (RUN_TEST_c_c): Likewise.
22556 (RUN_TEST_LOOP_c_c): Likewise.
22557 (RUN_TEST_cc_c): Likewise.
22558 (RUN_TEST_LOOP_cc_c): Likewise.
22559 (RUN_TEST_f_i): Likewise.
22560 (RUN_TEST_LOOP_f_i): Likewise.
22561 (RUN_TEST_f_i_tg): Likewise.
22562 (RUN_TEST_LOOP_f_i_tg): Likewise.
22563 (RUN_TEST_ff_i_tg): Likewise.
22564 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22565 (RUN_TEST_f_b): Likewise.
22566 (RUN_TEST_LOOP_f_b): Likewise.
22567 (RUN_TEST_f_b_tg): Likewise.
22568 (RUN_TEST_LOOP_f_b_tg): Likewise.
22569 (RUN_TEST_f_l): Likewise.
22570 (RUN_TEST_LOOP_f_l): Likewise.
22571 (RUN_TEST_f_L): Likewise.
22572 (RUN_TEST_LOOP_f_L): Likewise.
22573 (RUN_TEST_sincos): Likewise.
22574 (RUN_TEST_LOOP_sincos): Likewise.
22575
8269107f
JM
225762013-05-17 Joseph Myers <joseph@codesourcery.com>
22577
bb38759d
JM
22578 [BZ #15480]
22579 [BZ #15485]
22580 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22581 main case of finite arguments, set rounding mode to FE_TONEAREST
22582 and discard exceptions.
22583 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22584 exceptions.
22585 (remainder_tonearest_test_data): New variable.
22586 (remainder_test_tonearest): New function.
22587 (remainder_towardzero_test_data): New variable.
22588 (remainder_test_towardzero): New function.
22589 (remainder_downward_test_data): New variable.
22590 (remainder_test_downward): New function.
22591 (remainder_upward_test_data): New variable.
22592 (remainder_test_upward): New function.
22593 (main): Call the new test functions.
22594
a00bdcf0
JM
22595 * math/libm-test.inc (struct test_f_f1_data): Remove field
22596 extra_init.
22597 (struct test_fF_f1_data): Likewise.
22598 (struct test_ffI_f1_data): Likewise.
22599 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22600 based on value of EXTRA_EXPECTED.
22601 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22602 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22603 EXTRA_VAR based on value of EXTRA_EXPECTED.
22604 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22605 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
22606 EXTRA_VAR based on value of EXTRA_EXPECTED.
22607 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22608 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
22609 EXTRA_VAR based on value of EXTRA_EXPECTED.
22610 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22611 * math/gen-libm-test.pl (parse_args): Don't output initializers
22612 for extra output values.
22613
de407f79
JM
22614 * math/libm-test.inc (check_int): Expect result to be exactly
22615 equal to expected value and do not handle ulps.
22616 (check_long): Likewise.
22617 (check_longlong): Likewise.
22618
8269107f
JM
22619 * math/libm-test.inc (ceil_test_data): Test for "inexact"
22620 exceptions.
22621 (cimag_test_data): Likewise.
22622 (conj_test_data): Likewise.
22623 (copysign_test_data): Likewise.
22624 (cproj_test_data): Likewise.
22625 (creal_test_data): Likewise.
22626 (fabs_test_data): Likewise.
22627 (fdim_test_data): Likewise.
22628 (finite_test_data): Likewise.
22629 (floor_test_data): Likewise.
22630 (fmax_test_data): Likewise.
22631 (fmin_test_data): Likewise.
22632 (fmod_test_data): Likewise.
22633 (fpclassify_test_data): Likewise.
22634 (frexp_test_data): Likewise.
22635 (ilogb_test_data): Likewise.
22636 (isfinite_test_data): Likewise.
22637 (isgreater_test_data): Likewise.
22638 (isgreaterequal_test_data): Likewise.
22639 (isinf_test_data): Likewise.
22640 (isless_test_data): Likewise.
22641 (islessequal_test_data): Likewise.
22642 (islessgreater_test_data): Likewise.
22643 (isnan_test_data): Likewise.
22644 (isnormal_test_data): Likewise.
22645 (issignaling_test_data): Likewise.
22646 (isunordered_test_data): Likewise.
22647 (ldexp_test_data): Likewise.
22648 (lrint_test_data): Likewise.
22649 (lrint_test_data) [TEST_FLOAT]: Disable one test.
22650 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22651 (lrint_tonearest_test_data): Test for "inexact" exceptions.
22652 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22653 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22654 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22655 test input.
22656 (lrint_towardzero_test_data): Test for "inexact" exceptions.
22657 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22658 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22659 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22660 that test input.
22661 (lrint_downward_test_data): Test for "inexact" exceptions.
22662 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22663 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22664 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22665 test input.
22666 (lrint_upward_test_data): Test for "inexact" exceptions.
22667 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22668 test input.
22669 (llrint_test_data): Test for "inexact" exceptions.
22670 (llrint_test_data) [TEST_FLOAT]: Disable one test.
22671 (llrint_tonearest_test_data): Test for "inexact" exceptions.
22672 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22673 (llrint_towardzero_test_data): Test for "inexact" exceptions.
22674 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22675 (llrint_downward_test_data): Test for "inexact" exceptions.
22676 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22677 (llrint_upward_test_data): Test for "inexact" exceptions.
22678 (logb_test_data): Likewise.
22679 (logb_downward_test_data): Likewise.
22680 (nextafter_test_data): Likewise.
22681 (nexttoward_test_data): Likewise.
22682 (remainder_test_data): Likewise.
22683 (remquo_test_data): Likewise.
22684 (scalbn_test_data): Likewise.
22685 (scalbln_test_data): Likewise.
22686 (signbit_test_data): Likewise.
22687 (sqrt_test_data): Likewise.
22688 (significand_test_data): Likewise.
22689
48a18de1
SP
226902013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22691
22692 [BZ #15424]
22693 * benchtests/bench-modf.c (struct args): Mark arg0 as
22694 volatile.
22695 * scripts/bench.pl: Mark members of struct args as volatile.
22696
13d3b41a
AZ
226972013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22698
68191c1d 22699 [BZ # 15497]
13d3b41a
AZ
22700 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22701 negative infinity on POWER6 or lower.
22702 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22703
2848b105
MR
227042013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
22705
22706 [BZ #15442]
22707 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22708 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22709 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22710 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22711 (_FP_SETQNAN): New macro.
22712 (_FP_SETQNAN_SEMIRAW): Likewise.
22713 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22714 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22715 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22716 (FP_EXTEND): Use _FP_FRAC_SNANP.
22717 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22718 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22719 into account.
22720 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22721 New macro.
22722 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22723 Likewise.
22724
323e5cb7
JM
227252013-05-16 Joseph Myers <joseph@codesourcery.com>
22726
c58b274f
JM
22727 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22728 with DIVIDE_BY_ZERO_EXCEPTION.
22729 (gamma_test_data): Likewise.
22730 (lgamma_test_data): Likewise.
22731 (log_test_data): Likewise.
22732 (log10_test_data): Likewise.
22733 (log2_test_data): Likewise.
22734 (tgamma_test_data): Likewise.
22735
0ab34904
JM
22736 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22737 (acos_test_tonearest): Likewise.
22738 (acos_test_towardzero): Likewise.
22739 (acos_test_downward): Likewise.
22740 (acos_test_upward): Likewise.
22741 (acosh_test): Likewise.
22742 (asin_test): Likewise.
22743 (asin_test_tonearest): Likewise.
22744 (asin_test_towardzero): Likewise.
22745 (asin_test_downward): Likewise.
22746 (asin_test_upward): Likewise.
22747 (asinh_test): Likewise.
22748 (atan_test): Likewise.
22749 (atanh_test): Likewise.
22750 (atan2_test): Likewise.
22751 (cabs_test): Likewise.
22752 (cacos_test): Likewise.
22753 (cacosh_test): Likewise.
22754 (casin_test): Likewise.
22755 (casinh_test): Likewise.
22756 (catan_test): Likewise.
22757 (catanh_test): Likewise.
22758 (cbrt_test): Likewise.
22759 (ccos_test): Likewise.
22760 (ccosh_test): Likewise.
22761 (cexp_test): Likewise.
22762 (clog_test): Likewise.
22763 (clog10_test): Likewise.
22764 (cos_test): Likewise.
22765 (cos_test_tonearest): Likewise.
22766 (cos_test_towardzero): Likewise.
22767 (cos_test_downward): Likewise.
22768 (cos_test_upward): Likewise.
22769 (cosh_test): Likewise.
22770 (cosh_test_tonearest): Likewise.
22771 (cosh_test_towardzero): Likewise.
22772 (cosh_test_downward): Likewise.
22773 (cosh_test_upward): Likewise.
22774 (cpow_test): Likewise.
22775 (csin_test): Likewise.
22776 (csinh_test): Likewise.
22777 (csqrt_test): Likewise.
22778 (ctan_test): Likewise.
22779 (ctan_test_tonearest): Likewise.
22780 (ctan_test_towardzero): Likewise.
22781 (ctan_test_downward): Likewise.
22782 (ctan_test_upward): Likewise.
22783 (ctanh_test): Likewise.
22784 (ctanh_test_tonearest): Likewise.
22785 (ctanh_test_towardzero): Likewise.
22786 (ctanh_test_downward): Likewise.
22787 (ctanh_test_upward): Likewise.
22788 (erf_test): Likewise.
22789 (erfc_test): Likewise.
22790 (exp_test): Likewise.
22791 (exp_test_tonearest): Likewise.
22792 (exp_test_towardzero): Likewise.
22793 (exp_test_downward): Likewise.
22794 (exp_test_upward): Likewise.
22795 (exp10_test): Likewise.
22796 (exp2_test): Likewise.
22797 (expm1_test): Likewise.
22798 (fmod_test): Likewise.
22799 (gamma_test): Likewise.
22800 (hypot_test): Likewise.
22801 (j0_test): Likewise.
22802 (j1_test): Likewise.
22803 (jn_test): Likewise.
22804 (lgamma_test): Likewise.
22805 (log_test): Likewise.
22806 (log10_test): Likewise.
22807 (log1p_test): Likewise.
22808 (log2_test): Likewise.
22809 (logb_test_downward): Likewise.
22810 (pow_test): Likewise.
22811 (pow_test_tonearest): Likewise.
22812 (pow_test_towardzero): Likewise.
22813 (pow_test_downward): Likewise.
22814 (pow_test_upward): Likewise.
22815 (remainder_test): Likewise.
22816 (remquo_test): Likewise.
22817 (sin_test): Likewise.
22818 (sin_test_tonearest): Likewise.
22819 (sin_test_towardzero): Likewise.
22820 (sin_test_downward): Likewise.
22821 (sin_test_upward): Likewise.
22822 (sincos_test): Likewise.
22823 (sinh_test): Likewise.
22824 (sinh_test_tonearest): Likewise.
22825 (sinh_test_towardzero): Likewise.
22826 (sinh_test_downward): Likewise.
22827 (sinh_test_upward): Likewise.
22828 (sqrt_test): Likewise.
22829 (tan_test): Likewise.
22830 (tan_test_tonearest): Likewise.
22831 (tan_test_towardzero): Likewise.
22832 (tan_test_downward): Likewise.
22833 (tan_test_upward): Likewise.
22834 (tanh_test): Likewise.
22835 (tgamma_test): Likewise.
22836 (y0_test): Likewise.
22837 (y1_test): Likewise.
22838 (yn_test): Likewise.
22839
323e5cb7
JM
22840 * math/gen-libm-test.pl (adjust_arg): Remove function.
22841 (special_function): Remove argument $in_func. Only handle
22842 generating output for tables of tests, not inside functions.
22843 (parse_args): Likewise.
22844 (generate_testfile): Remove variable $in_func. Update call to
22845 parse_args.
22846 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22847 (MINUS_ZERO_INIT): Rename macro to minus_zero.
22848 (PLUS_INFTY_INIT): Rename macro to plus_infty.
22849 (MINUS_INFTY_INIT): Rename macro to minus_infty.
22850 (QNAN_VALUE_INIT): Rename macro to qnan_value.
22851 (MAX_VALUE_INIT): Rename macro to max_value.
22852 (MIN_VALUE_INIT): Rename macro to min_value.
22853 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22854 (plus_zero): Remove variable.
22855 (minus_zero): Likewise.
22856 (plus_infty): Likewise.
22857 (minus_infty): Likewise.
22858 (qnan_value): Likewise.
22859 (max_value): Likewise.
22860 (min_value): Likewise.
22861 (min_subnorm_value): Likewise.
22862
e054f494
RA
228632013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22864
22865 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22866 uint64_t or uint32_t usage.
22867 * crypt/sha256-block.c: Likewise.
22868 * crypt/sha256-crypt.c: Likewise.
22869 * crypt/sha256.c: Likewise.
22870 * crypt/sha512-block.c: Likewise.
22871 * crypt/sha512-crypt.c: Likewise.
22872 * crypt/sha512.c: Likewise.
22873 * debug/backtrace-tst.c: Likewise.
22874 * debug/pcprofiledump.c: Likewise.
22875 * elf/cache.c: Likewise.
22876 * elf/dl-cache.c: Likewise.
22877 * elf/dl-misc.c: Likewise.
22878 * elf/dl-profile.c: Likewise.
22879 * elf/dl-support.c: Likewise.
22880 * elf/ldconfig.c: Likewise.
22881 * elf/sprof.c: Likewise.
22882 * iconv/dummy-repertoire.c: Likewise.
22883 * iconv/iconv_charmap.c: Likewise.
22884 * iconv/skeleton.c: Likewise.
22885 * iconvdata/8bit-generic.c: Likewise.
22886 * iconvdata/cp737.h: Likewise.
22887 * iconvdata/cp775.h: Likewise.
22888 * iconvdata/ibm1008.h: Likewise.
22889 * iconvdata/ibm1025.h: Likewise.
22890 * iconvdata/ibm1046.h: Likewise.
22891 * iconvdata/ibm1097.h: Likewise.
22892 * iconvdata/ibm1112.h: Likewise.
22893 * iconvdata/ibm1122.h: Likewise.
22894 * iconvdata/ibm1123.h: Likewise.
22895 * iconvdata/ibm1124.h: Likewise.
22896 * iconvdata/ibm1129.h: Likewise.
22897 * iconvdata/ibm1130.h: Likewise.
22898 * iconvdata/ibm1132.h: Likewise.
22899 * iconvdata/ibm1133.h: Likewise.
22900 * iconvdata/ibm1137.h: Likewise.
22901 * iconvdata/ibm1140.h: Likewise.
22902 * iconvdata/ibm1141.h: Likewise.
22903 * iconvdata/ibm1142.h: Likewise.
22904 * iconvdata/ibm1143.h: Likewise.
22905 * iconvdata/ibm1144.h: Likewise.
22906 * iconvdata/ibm1145.h: Likewise.
22907 * iconvdata/ibm1146.h: Likewise.
22908 * iconvdata/ibm1147.h: Likewise.
22909 * iconvdata/ibm1148.h: Likewise.
22910 * iconvdata/ibm1149.h: Likewise.
22911 * iconvdata/ibm1153.h: Likewise.
22912 * iconvdata/ibm1154.h: Likewise.
22913 * iconvdata/ibm1155.h: Likewise.
22914 * iconvdata/ibm1156.h: Likewise.
22915 * iconvdata/ibm1157.h: Likewise.
22916 * iconvdata/ibm1158.h: Likewise.
22917 * iconvdata/ibm1160.h: Likewise.
22918 * iconvdata/ibm1161.h: Likewise.
22919 * iconvdata/ibm1162.h: Likewise.
22920 * iconvdata/ibm1163.h: Likewise.
22921 * iconvdata/ibm1164.h: Likewise.
22922 * iconvdata/ibm1166.h: Likewise.
22923 * iconvdata/ibm1167.h: Likewise.
22924 * iconvdata/ibm12712.h: Likewise.
22925 * iconvdata/ibm1390.h: Likewise.
22926 * iconvdata/ibm1399.h: Likewise.
22927 * iconvdata/ibm16804.h: Likewise.
22928 * iconvdata/ibm4517.h: Likewise.
22929 * iconvdata/ibm4899.h: Likewise.
22930 * iconvdata/ibm4909.h: Likewise.
22931 * iconvdata/ibm4971.h: Likewise.
22932 * iconvdata/ibm5347.h: Likewise.
22933 * iconvdata/ibm803.h: Likewise.
22934 * iconvdata/ibm856.h: Likewise.
22935 * iconvdata/ibm901.h: Likewise.
22936 * iconvdata/ibm902.h: Likewise.
22937 * iconvdata/ibm9030.h: Likewise.
22938 * iconvdata/ibm9066.h: Likewise.
22939 * iconvdata/ibm921.h: Likewise.
22940 * iconvdata/ibm922.h: Likewise.
22941 * iconvdata/ibm9448.h: Likewise.
22942 * iconvdata/isiri-3342.h: Likewise.
22943 * iconvdata/jis0201.h: Likewise.
22944 * include/link.h: Likewise.
22945 * include/netdb.h: Likewise.
22946 * inet/check_native.c: Likewise.
22947 * inet/check_pf.c: Likewise.
22948 * inet/getipv4sourcefilter.c: Likewise.
22949 * inet/getnameinfo.c: Likewise.
22950 * inet/getsourcefilter.c: Likewise.
22951 * inet/htonl.c: Likewise.
22952 * inet/setipv4sourcefilter.c: Likewise.
22953 * inet/setsourcefilter.c: Likewise.
22954 * inet/test-inet6_opt.c: Likewise.
22955 * inet/tst-network.c: Likewise.
22956 * locale/C-collate.c: Likewise.
22957 * locale/C-ctype.c: Likewise.
22958 * locale/C-time.c: Likewise.
22959 * locale/C-translit.h: Likewise.
22960 * locale/loadarchive.c: Likewise.
22961 * locale/programs/3level.h: Likewise.
22962 * locale/programs/charmap.c: Likewise.
22963 * locale/programs/charmap.h: Likewise.
22964 * locale/programs/ld-address.c: Likewise.
22965 * locale/programs/ld-collate.c: Likewise.
22966 * locale/programs/ld-ctype.c: Likewise.
22967 * locale/programs/ld-identification.c: Likewise.
22968 * locale/programs/ld-measurement.c: Likewise.
22969 * locale/programs/ld-messages.c: Likewise.
22970 * locale/programs/ld-monetary.c: Likewise.
22971 * locale/programs/ld-name.c: Likewise.
22972 * locale/programs/ld-numeric.c: Likewise.
22973 * locale/programs/ld-paper.c: Likewise.
22974 * locale/programs/ld-telephone.c: Likewise.
22975 * locale/programs/ld-time.c: Likewise.
22976 * locale/programs/linereader.c: Likewise.
22977 * locale/programs/locale.c: Likewise.
22978 * locale/programs/locarchive.c: Likewise.
22979 * locale/programs/locfile.h: Likewise.
22980 * locale/programs/repertoire.c: Likewise.
22981 * locale/programs/simple-hash.c: Likewise.
22982 * locale/programs/simple-hash.h: Likewise.
22983 * malloc/memusage.c: Likewise.
22984 * malloc/memusagestat.c: Likewise.
22985 * nis/nis_defaults.c: Likewise.
22986 * nis/nis_hash.c: Likewise.
22987 * nis/nis_print.c: Likewise.
22988 * nis/nis_xdr.c: Likewise.
22989 * nscd/connections.c: Likewise.
22990 * nscd/hstcache.c: Likewise.
22991 * nscd/nscd_gethst_r.c: Likewise.
22992 * nscd/nscd_getserv_r.c: Likewise.
22993 * nscd/nscd_helper.c: Likewise.
22994 * nscd/servicescache.c: Likewise.
22995 * nss/makedb.c: Likewise.
22996 * nss/nss_db/db-XXX.c: Likewise.
22997 * nss/nss_db/db-initgroups.c: Likewise.
22998 * nss/nss_db/db-netgrp.c: Likewise.
22999 * nss/nss_files/files-network.c: Likewise.
23000 * nss/nss_files/files-parse.c: Likewise.
23001 * posix/bug-regex5.c: Likewise.
23002 * posix/fnmatch_loop.c: Likewise.
23003 * posix/regcomp.c: Likewise.
23004 * posix/regexec.c: Likewise.
23005 * posix/tst-rfc3484-2.c: Likewise.
23006 * posix/tst-rfc3484-3.c: Likewise.
23007 * posix/tst-rfc3484.c: Likewise.
23008 * resolv/nss_dns/dns-canon.c: Likewise.
23009 * resolv/nss_dns/dns-network.c: Likewise.
23010 * resolv/res_init.c: Likewise.
23011 * resolv/res_mkquery.c: Likewise.
23012 * resolv/tst-aton.c: Likewise.
23013 * stdlib/cxa_atexit.c: Likewise.
23014 * stdlib/cxa_finalize.c: Likewise.
23015 * stdlib/gen-fpioconst.c: Likewise.
23016 * stdlib/strtol_l.c: Likewise.
23017 * string/tst-endian.c: Likewise.
23018 * sunrpc/auth_des.c: Likewise.
23019 * sunrpc/clnt_udp.c: Likewise.
23020 * sunrpc/rtime.c: Likewise.
23021 * sunrpc/svcauth_des.c: Likewise.
23022 * sunrpc/xdr.c: Likewise.
23023 * sunrpc/xdr_intXX_t.c: Likewise.
23024 * sunrpc/xdr_rec.c: Likewise.
23025 * sysdeps/generic/ldconfig.h: Likewise.
23026 * sysdeps/generic/ldsodefs.h: Likewise.
23027 * sysdeps/generic/memusage.h: Likewise.
23028 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23029 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
23030 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
23031 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23032 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23033 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23034 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23035 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23036 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23037 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23038 * sysdeps/posix/getaddrinfo.c: Likewise.
23039 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23040 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23041 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23042 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23043 * sysdeps/powerpc/test-gettimebase.c: Likewise.
23044 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23045 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
23046 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
23047 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23048 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
23049 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23050 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23051 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
23052 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
23053 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
23054 * sysdeps/x86_64/dl-tls.h: Likewise.
23055 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
23056 * time/alt_digit.c: Likewise.
23057 * time/era.c: Likewise.
23058 * wcsmbs/tst-c16c32-1.c: Likewise.
23059
8c75f674
JM
230602013-05-16 Joseph Myers <joseph@codesourcery.com>
23061
23062 * math/libm-test.inc (struct test_sincos_data): New type.
23063 (RUN_TEST_LOOP_sincos): New macro.
23064 (sincos_test_data): New variable.
23065 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
23066
e6e49e59
RH
230672013-05-16 Richard Henderson <rth@redhat.com>
23068
23069 * math/atest-exp2.c (LIMB64): New macro.
23070 (CONSTSZ): New macro.
23071 (mp_exp1, mp_exp_m1, mp_log2): New variables.
23072 (hexdig): Move ...
23073 (print_mpn_fp): ... to function scope.
23074 (read_mpn_hex): Remove.
23075 (get_log2): Remove.
23076 (exp2_mpn): Use mp_log2.
23077 (main): Use mp_exp1.
23078
15c7c18d
JM
230792013-05-16 Joseph Myers <joseph@codesourcery.com>
23080
105a07df
JM
23081 * math/libm-test.inc: Remove comment about not testing "inexact"
23082 exceptions.
23083 (INEXACT_EXCEPTION): New macro.
23084 (NO_INEXACT_EXCEPTION): Likewise.
23085 (INVALID_EXCEPTION_OK): Update value.
23086 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23087 (OVERFLOW_EXCEPTION_OK): Likewise.
23088 (UNDERFLOW_EXCEPTION_OK): Likewise.
23089 (IGNORE_ZERO_INF_SIGN): Likewise.
23090 (ERRNO_UNCHANGED): Likewise.
23091 (ERRNO_EDOM): Likewise.
23092 (ERRNO_ERANGE): Likewise.
23093 (test_exceptions): Handle testing "inexact" exceptions.
23094 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
23095 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
23096 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
23097 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
23098 INEXACT_EXCEPTION.
23099 (rint_towardzero_test_data): Likewise.
23100 (rint_downward_test_data): Likewise.
23101 (rint_upward_test_data): Likewise.
23102
e9eee333
JM
23103 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
23104 with OVERFLOW_EXCEPTION.
23105 (exp10_test_data): Likewise.
23106 (exp2_test_data): Likewise.
23107 (expm1_test_data): Likewise.
23108 (lgamma_test_data): Likewise.
23109 (pow_test_data): Likewise.
23110 (tgamma_test_data): Likewise.
23111 (yn_test_data): Remove duplicate test of overflow.
23112
1c38ff73
JM
23113 * math/libm-test.inc (struct test_cc_c_data): New type.
23114 (RUN_TEST_LOOP_cc_c): New macro.
23115 (cpow_test_data): New variable.
23116 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
23117
15c7c18d
JM
23118 * math/libm-test.inc (struct test_f_L_data): New type.
23119 (RUN_TEST_LOOP_f_L): New macro.
23120 (llrint_test_data): New variable.
23121 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23122 (llrint_tonearest_test_data): New variable.
23123 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23124 (llrint_towardzero_test_data): New variable.
23125 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23126 (llrint_downward_test_data): New variable.
23127 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23128 (llrint_upward_test_data): New variable.
23129 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23130 (llround_test_data): New variable.
23131 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23132
f137ff13
PC
231332013-05-13 Peter Collingbourne <pcc@google.com>
23134
23135 * math/atest-exp2.c (get_log2): Remove const attribute.
23136
3608cb24
JM
231372013-05-15 Joseph Myers <joseph@codesourcery.com>
23138
23139 * math/libm-test.inc (struct test_f_l_data): New type.
23140 (RUN_TEST_LOOP_f_l): New macro.
23141 (lrint_test_data): New variable.
23142 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23143 (lrint_tonearest_test_data): New variable.
23144 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23145 (lrint_towardzero_test_data): New variable.
23146 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23147 (lrint_downward_test_data): New variable.
23148 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23149 (lrint_upward_test_data): New variable.
23150 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23151 (lround_test_data): New variable.
23152 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23153
39b1f617
PC
231542013-05-15 Peter Collingbourne <pcc@google.com>
23155
1deff3dc
PC
23156 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23157 (EXTRACT_WORDS64) Use where appropriate.
23158 (INSERT_WORDS64) Likewise.
23159
791f3ba0
PC
23160 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23161 constraints with x constraints.
23162 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23163
39b1f617
PC
23164 * malloc/obstack.c (_obstack_compat): Add initializer.
23165
12fba011
EM
231662013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
23167
23168 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23169 si_trapno and add si_addr_lsb to _sifields.sigfault.
23170 (si_trapno): Remove macro.
23171 (si_addr_lsb): Define new macro.
23172 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23173
d369f531
JM
231742013-05-15 Joseph Myers <joseph@codesourcery.com>
23175
b861c6c4
JM
23176 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23177 instead of TEST_f_l.
23178 (llrint_test_tonearest): Likewise.
23179 (llrint_test_towardzero): Likewise.
23180 (llrint_test_downward): Likewise.
23181 (llrint_test_upward): Likewise.
23182 (llround_test): Likewise.
23183
7abeee12
JM
23184 * math/libm-test.inc (struct test_f_i_data): Add comment.
23185 (RUN_TEST_LOOP_f_b): New macro.
23186 (RUN_TEST_LOOP_f_b_tg): Likewise.
23187 (finite_test_data): New variable.
23188 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23189 (isfinite_test_data): New variable.
23190 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23191 (isinf_test_data): New variable.
23192 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23193 (isnan_test_data): New variable.
23194 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23195 (isnormal_test_data): New variable.
23196 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23197 (issignaling_test_data): New variable.
23198 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23199 (signbit_test_data): New variable.
23200 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23201
cbe8c4d3
JM
23202 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23203 with INVALID_EXCEPTION.
23204 (acosh_test_data): Likewise.
23205 (asin_test_data): Likewise.
23206 (atanh_test_data): Likewise.
23207 (fmod_test_data): Likewise.
23208 (log_test_data): Likewise.
23209 (log10_test_data): Likewise.
23210 (log2_test_data): Likewise.
23211 (pow_test_data): Likewise.
23212 (sqrt_test_data): Likewise.
23213 (y0_test_data): Likewise.
23214 (y1_test_data): Likewise.
23215 (yn_test_data): Likewise.
23216
5575c0e5
JM
23217 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23218 function contents.
23219
d369f531
JM
23220 * math/libm-test.inc (struct test_ff_i_data): New type.
23221 (RUN_TEST_LOOP_ff_i_tg): New macro.
23222 (isgreater_test_data): New variable.
23223 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23224 (isgreaterequal_test_data): New variable.
23225 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23226 (isless_test_data): New variable.
23227 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23228 (islessequal_test_data): New variable.
23229 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23230 (islessgreater_test_data): New variable.
23231 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23232 (isunordered_test_data): New variable.
23233 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23234
781fd748
DM
232352013-05-14 David S. Miller <davem@davemloft.net>
23236
23237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23238
87aa21df
JM
232392013-05-14 Joseph Myers <joseph@codesourcery.com>
23240
5e908270
JM
23241 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23242
f71172e5
JM
23243 * math/libm-test.inc (struct test_fF_f1_data): Change type of
23244 extra_test to int.
23245 (struct test_f_i_data): Change type of max_ulp to int.
23246
8cfa635a
JM
23247 * math/libm-test.inc (test_ffI_f1_data): New type.
23248 (RUN_TEST_LOOP_ffI_f1): New macro.
23249 (remquo_test_data): New variable.
23250 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23251
2bcb36b2
JM
23252 * setjmp/tst-setjmp-fp.c: New file.
23253 * setjmp/Makefile (tests): Add tst-setjmp-fp.
23254 (link-libm): New variable.
23255 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23256
acbd839a
JM
23257 * math/libm-test.inc (struct test_f_i_data): New type.
23258 (RUN_TEST_LOOP_f_i): New macro.
23259 (RUN_TEST_LOOP_f_i_tg): Likewise.
23260 (fpclassify_test_data): New variable.
23261 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23262 (ilogb_test_data): New variable.
23263 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23264
e414d745
JM
23265 * math/libm-test.inc (scalbln_test): Correct function name in END
23266 call.
23267
d9c2a0fd
JM
23268 * math/libm-test.inc (struct test_f_f1_data): Add comment.
23269 (RUN_TEST_LOOP_fI_f1): New macro.
23270 (frexp_test_data): New variable.
23271 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23272
9dc9095d
JM
23273 * math/libm-test.inc (struct test_fF_f1_data): New type.
23274 (RUN_TEST_LOOP_fF_f1): New macro.
23275 (modf_test_data): New variable.
23276 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23277
87aa21df
JM
23278 * math/libm-test.inc (struct test_f_f1_data): New type.
23279 (RUN_TEST_LOOP_f_f1): New macro.
23280 (gamma_test_data): New variable.
23281 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23282 (lgamma_test_data): New variable.
23283 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23284
141af660
CD
232852013-05-13 Carlos O'Donell <carlos@redhat.com>
23286
23287 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23288 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23289 (main): Comment "tls" pseudo-hwcap.
23290
6d33265c
JM
232912013-05-13 Joseph Myers <joseph@codesourcery.com>
23292
68fc074c
JM
23293 * math/libm-test.inc (struct test_fl_f_data): New type.
23294 (RUN_TEST_LOOP_fl_f): New variable.
23295 (scalbln_test_data): New variable.
23296 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23297
243216e1
JM
23298 * math/libm-test.inc (struct test_fi_f_data): New type.
23299 (RUN_TEST_LOOP_fi_f): New macro.
23300 (ldexp_test_data): New variable.
23301 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23302 (scalbn_test_data): New variable.
23303 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23304
6a1992e2
JM
23305 * math/libm-test.inc (struct test_c_f_data): New type.
23306 (RUN_TEST_LOOP_c_f): New macro.
23307 (cabs_test_data): New variable.
23308 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23309 (carg_test_data): New variable.
23310 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23311 (cimag_test_data): New variable.
23312 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23313 (creal_test_data): New variable.
23314 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23315
0e400df5
JM
23316 * math/libm-test.inc (struct test_if_f_data): New type.
23317 (RUN_TEST_LOOP_if_f): New macro.
23318 (jn_test_data): New variable.
23319 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23320 (yn_test_data): New variable.
23321 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23322
6d33265c
JM
23323 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23324
f98ece5f
AZ
233252013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23326
23327 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23328 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23329
0f7d347b
SP
233302013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23331
43fe811b
SP
23332 * benchtests/Makefile (CPPFLAGS-nonlib): Add
23333 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23334 (bench-deps): Add bench-timing.h.
23335 * benchtests-bench-skeleton.c: Include bench-timing.h.
23336 (main): Use TIMING_* macros instead of clock_gettime.
23337 * benchtests/bench-timing.h: New file.
23338
0f7d347b
SP
23339 [BZ #14582]
23340 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23341 Renamed from _LIB_VERSION.
23342 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23343
601a3a5f
JM
233442013-05-12 Joseph Myers <joseph@codesourcery.com>
23345
4f184d30
JM
23346 * math/libm-test.inc (struct test_fff_f_data): New type.
23347 (RUN_TEST_LOOP_fff_f): New macro.
23348 (fma_test_data): New variable.
23349 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23350 (fma_towardzero_test_data): New variable.
23351 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23352 (fma_downward_test_data): New variable.
23353 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23354 (fma_upward_test_data): New variable.
23355 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23356
08198877
JM
23357 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23358 (struct test_c_c_data): New type.
23359 (RUN_TEST_LOOP_c_c): New macro.
23360 (cacos_test_data): New variable.
23361 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23362 (cacosh_test_data): New variable.
23363 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23364 (casin_test_data): New variable.
23365 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23366 (casinh_test_data): New variable.
23367 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23368 (catan_test_data): New variable.
23369 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23370 (catanh_test_data): New variable.
23371 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23372 (ccos_test_data): New variable.
23373 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23374 (ccosh_test_data): New variable.
23375 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23376 (cexp_test_data): New variable.
23377 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23378 (clog_test_data): New variable.
23379 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23380 (clog10_test_data): New variable.
23381 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23382 (conj_test_data): New variable.
23383 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23384 (cproj_test_data): New variable.
23385 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23386 (csin_test_data): New variable.
23387 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23388 (csinh_test_data): New variable.
23389 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23390 (csqrt_test_data): New variable.
23391 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23392 (ctan_test_data): New variable.
23393 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23394 (ctan_tonearest_test_data): New variable.
23395 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23396 (ctan_towardzero_test_data): New variable.
23397 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23398 (ctan_downward_test_data): New variable.
23399 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23400 (ctan_upward_test_data): New variable.
23401 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23402 (ctanh_test_data): New variable.
23403 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23404 (ctanh_tonearest_test_data): New variable.
23405 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23406 (ctanh_towardzero_test_data): New variable.
23407 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23408 (ctanh_downward_test_data): New variable.
23409 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23410 (ctanh_upward_test_data): New variable.
23411 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23412 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23413 of BUILD_COMPLEX.
23414
601a3a5f
JM
23415 * math/libm-test.inc (struct test_ff_f_data): New type.
23416 (struct test_ff_f_data_nexttoward): Likewise.
23417 (RUN_TEST_LOOP_2_f): New macro.
23418 (RUN_TEST_LOOP_ff_f): Likewise.
23419 (atan2_test_data): New variable.
23420 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23421 (copysign_test_data): New variable.
23422 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23423 (fdim_test_data): New variable.
23424 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23425 (fmax_test_data): New variable.
23426 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23427 (fmin_test_data): New variable.
23428 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23429 (fmod_test_data): New variable.
23430 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23431 (hypot_test_data): New variable.
23432 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23433 (nextafter_test_data): New variable.
23434 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23435 (nexttoward_test_data): New variable.
23436 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23437 (pow_test_data): New variable.
23438 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23439 (pow_tonearest_test_data): New variable.
23440 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23441 (pow_towardzero_test_data): New variable.
23442 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23443 (pow_downward_test_data): New variable.
23444 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23445 (pow_upward_test_data): New variable.
23446 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23447 (remainder_test_data): New variable.
23448 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23449 (scalb_test_data): New variable.
23450 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23451 * sysdeps/i386/fpu/libm-test-ulps: Update.
23452
74c57478
JM
234532013-05-11 Joseph Myers <joseph@codesourcery.com>
23454
8329e4da
JM
23455 * math/libm-test.inc (fma_test): Use max_value instead of local
23456 variable fltmax.
23457 (nextafter_test): Likewise.
23458
74c57478
JM
23459 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23460 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23461 (acos_downward_test_data): New variable.
23462 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23463 (acos_upward_test_data): New variable.
23464 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23465 (acosh_test_data): New variable.
23466 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23467 (asin_test_data): New variable.
23468 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23469 (asin_tonearest_test_data): New variable.
23470 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23471 (asin_towardzero_test_data): New variable.
23472 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23473 (asin_downward_test_data): New variable.
23474 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23475 (asin_upward_test_data): New variable.
23476 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23477 (asinh_test_data): New variable.
23478 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23479 (atan_test_data): New variable.
23480 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23481 (atanh_test_data): New variable.
23482 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23483 (cbrt_test_data): New variable.
23484 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23485 (ceil_test_data): New variable.
23486 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23487 (cos_test_data): New variable.
23488 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23489 (cos_tonearest_test_data): New variable.
23490 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23491 (cos_towardzero_test_data): New variable.
23492 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23493 (cos_downward_test_data): New variable.
23494 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23495 (cos_upward_test_data): New variable.
23496 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23497 (cosh_test_data): New variable.
23498 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23499 (cosh_tonearest_test_data): New variable.
23500 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23501 (cosh_towardzero_test_data): New variable.
23502 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23503 (cosh_downward_test_data): New variable.
23504 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23505 (cosh_upward_test_data): New variable.
23506 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23507 (erf_test_data): New variable.
23508 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23509 (erfc_test_data): New variable.
23510 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23511 (exp_test_data): New variable.
23512 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23513 (exp_tonearest_test_data): New variable.
23514 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23515 (exp_towardzero_test_data): New variable.
23516 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23517 (exp_downward_test_data): New variable.
23518 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23519 (exp_upward_test_data): New variable.
23520 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23521 (exp10_test_data): New variable.
23522 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23523 (exp2_test_data): New variable.
23524 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23525 (expm1_test_data): New variable.
23526 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23527 (fabs_test_data): New variable.
23528 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23529 (floor_test_data): New variable.
23530 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23531 (j0_test_data): New variable.
23532 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23533 (j1_test_data): New variable.
23534 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23535 (log_test_data): New variable.
23536 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23537 (log10_test_data): New variable.
23538 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23539 (log1p_test_data): New variable.
23540 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23541 (log2_test_data): New variable.
23542 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23543 (logb_test_data): New variable.
23544 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23545 (logb_downward_test_data): New variable.
23546 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23547 (nearbyint_test_data): New variable.
23548 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23549 (rint_test_data): New variable.
23550 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23551 (rint_tonearest_test_data): New variable.
23552 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23553 (rint_towardzero_test_data): New variable.
23554 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23555 (rint_downward_test_data): New variable.
23556 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23557 (rint_upward_test_data): New variable.
23558 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23559 (round_test_data): New variable.
23560 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23561 (sin_test_data): New variable.
23562 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23563 (sin_tonearest_test_data): New variable.
23564 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23565 (sin_towardzero_test_data): New variable.
23566 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23567 (sin_downward_test_data): New variable.
23568 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23569 (sin_upward_test_data): New variable.
23570 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23571 (sinh_test_data): New variable.
23572 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23573 (sinh_tonearest_test_data): New variable.
23574 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23575 (sinh_towardzero_test_data): New variable.
23576 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23577 (sinh_downward_test_data): New variable.
23578 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23579 (sinh_upward_test_data): New variable.
23580 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23581 (sqrt_test_data): New variable.
23582 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23583 (tan_test_data): New variable.
23584 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23585 (tan_tonearest_test_data): New variable.
23586 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23587 (tan_towardzero_test_data): New variable.
23588 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23589 (tan_downward_test_data): New variable.
23590 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23591 (tan_upward_test_data): New variable.
23592 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23593 (tanh_test_data): New variable.
23594 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23595 (tgamma_test_data): New variable.
23596 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23597 (trunc_test_data): New variable.
23598 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23599 (y0_test_data): New variable.
23600 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23601 (y1_test_data): New variable.
23602 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23603 (significand_test_data): New variable.
23604 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23605
7187d844
CG
236062013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
23607
23608 [BZ #12387]
23609 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23610
f63fae73
PT
236112013-05-10 Pino Toscano <toscano.pino@tiscali.it>
23612
23613 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23614
8a67a4b3
AJ
236152013-05-10 Andreas Jaeger <aj@suse.de>
23616
23617 [BZ #15448]
23618 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23619 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23620
51df539d
JM
236212013-05-10 Joseph Myers <joseph@codesourcery.com>
23622
23623 * math/gen-libm-test.pl (adjust_arg): New function.
23624 (special_functions): Handle generating output in both functions
23625 and arrays.
23626 (parse_args): Likewise.
23627 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
23628 $in_func argument to parse_args.
23629 * math/libm-test.inc (struct test_f_f_data): New type.
23630 (IF_ROUND_INIT_): New macro.
23631 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23632 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23633 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23634 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23635 (ROUND_RESTORE_): Likewise.
23636 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23637 (ROUND_RESTORE_FE_TONEAREST): Likewise.
23638 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23639 (ROUND_RESTORE_FE_UPWARD): Likewise.
23640 (RUN_TEST_LOOP_f_f): New macro.
23641 (acos_test_data): New variable.
23642 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23643 (acos_tonearest_test_data): New variable.
23644 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23645
5c637fe5
SP
236462013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23647
23648 * benchtests/bench-skeleton.c (startup): Fix coding style.
23649
ab2b9461
JM
236502013-05-10 Joseph Myers <joseph@codesourcery.com>
23651
23652 [BZ #6809]
23653 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23654 negative infinity argument.
23655 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23656 negative infinity argument.
23657 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23658 negative infinity argument.
23659 * math/libm-test.inc (tgamma_test): Expect errno to be set for
23660 domain errors.
23661
4c0fe6fe
FW
236622013-05-10 Florian Weimer <fweimer@redhat.com>
23663
23664 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23665 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23666 * iconv/iconv_prog.c (main): Likewise.
23667 * locale/programs/charmap-dir.c (charmap_readdir)
23668 (fopen_uncompressed): Likewise.
23669 * locale/programs/locfile.c (siblings_uncached)
23670 (write_locale_data): Use lstat64 instead of lstat.
23671 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23672 stat.
23673
a3375d29
AJ
236742013-05-10 Andreas Jaeger <aj@suse.de>
23675
23676 [BZ #15395]
23677 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23678 localization.
23679 Include <locale.h>.
23680
36129722
CD
236812013-05-09 Carlos O'Donell <carlos@redhat.com>
23682
23683 * elf/dl-close.c (_dl_close_worker): Add comments.
23684
faa7f811
JM
236852013-05-09 Joseph Myers <joseph@codesourcery.com>
23686
ed41ffef
JM
23687 [BZ #15359]
23688 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23689 high part of pi/2.
23690 (__ieee754_rem_pio2l): Update comments.
23691
d0213cd0
JM
23692 [BZ #15429]
23693 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23694 high part of pi/2.
23695 (__ieee754_rem_pio2l): Update comments.
23696
0d3e777a
JM
23697 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23698 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23699
24f56066
JM
23700 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23701 M_PI_4l.
23702
faa7f811
JM
23703 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23704 (M_PI_34_LOG10El): Likewise.
23705 (M_PI2_LOG10El): Likewise.
23706 (M_PI4_LOG10El): Likewise.
23707 (M_PI_LOG10El): Likewise.
23708
e9a5e0fd
AZ
237092013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23710
23711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23712
d8cd06db
JM
237132013-05-08 Joseph Myers <joseph@codesourcery.com>
23714
a0d9f9d7
JM
23715 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23716 (MINUS_ZERO_INIT): Likewise.
23717 (PLUS_INFTY_INIT): Likewise.
23718 (MINUS_INFTY_INIT): Likewise.
23719 (QNAN_VALUE_INIT): Likewise.
23720 (MAX_VALUE_INIT): Likewise.
23721 (MIN_VALUE_INIT): Likewise.
23722 (MIN_SUBNORM_VALUE_INIT): Likewise.
23723 (plus_zero): Initialize with PLUS_ZERO_INIT.
23724 (minus_zero): Initialize with MINUS_ZERO_INIT.
23725 (plus_infty): Initialize with PLUS_INFTY_INIT.
23726 (minus_infty): Initialize with MINUS_INFTY_INIT.
23727 (qnan_value): Initialize with QNAN_VALUE_INIT.
23728 (max_value): Initialize with MAX_VALUE_INIT.
23729 (min_value): Initialize with MIN_VALUE_INIT.
23730 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23731
ae08db3b
JM
23732 * math/libm-test.inc (RUN_TEST_if_f): New macro.
23733 (jn_test): Use TEST_if_f instead of TEST_ff_f.
23734 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23735 (yn_test): Use TEST_if_f instead of TEST_ff_f.
23736
f44bf14a
JM
23737 * math/libm-test.inc (RUN_TEST_f_f): New macro.
23738 (RUN_TEST_2_f): Likewise.
23739 (RUN_TEST_ff_f): Likewise.
23740 (RUN_TEST_fi_f): Likewise.
23741 (RUN_TEST_fl_f): Likewise.
23742 (RUN_TEST_fff_f): Likewise.
23743 (RUN_TEST_c_f): Likewise.
23744 (RUN_TEST_f_f1): Likewise.
23745 (RUN_TEST_fF_f1): Likewise.
23746 (RUN_TEST_fI_f1): Likewise.
23747 (RUN_TEST_ffI_f1): Likewise.
23748 (RUN_TEST_c_c): Likewise.
23749 (RUN_TEST_cc_c): Likewise.
23750 (RUN_TEST_f_i): Likewise.
23751 (RUN_TEST_f_i_tg): Likewise.
23752 (RUN_TEST_ff_i_tg): Likewise.
23753 (RUN_TEST_f_b): Likewise.
23754 (RUN_TEST_f_b_tg): Likewise.
23755 (RUN_TEST_f_l): Likewise.
23756 (RUN_TEST_f_L): Likewise.
23757 (RUN_TEST_sincos): Likewise.
23758 * math/gen-libm-test.pl (new_test): Take new argument to indicate
23759 whether to show exceptions. Do not include ");\n" in return
23760 value.
23761 (special_functions): Output call to RUN_TEST_sincos instead of
23762 check_float calls. Update calls to new_test.
23763 (parse_args): Output call to single RUN_TEST_* macro instead of
23764 check_* calls and other assignments. Update calls to new_test.
23765
d8cd06db
JM
23766 [BZ #2546]
23767 [BZ #2560]
23768 [BZ #5159]
23769 [BZ #15426]
23770 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23771 input to result for tgamma overflow.
23772 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23773 (gamma_coeff): New variable.
23774 (NCOEFF): New macro.
23775 (gamma_positive): New function.
23776 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23777 underflow here. Use gamma_positive instead of exp (lgamma) for
23778 other arguments.
23779 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23780 (gamma_coeff): New variable.
23781 (NCOEFF): New macro.
23782 (gammaf_positive): New function.
23783 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23784 underflow here. Use gamma_positive instead of exp (lgamma) for
23785 other arguments.
23786 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23787 (gamma_coeff): New variable.
23788 (NCOEFF): New macro.
23789 (gammal_positive): New function.
23790 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23791 underflow here. Use gamma_positive instead of exp (lgamma) for
23792 other arguments.
23793 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23794 (gamma_coeff): New variable.
23795 (NCOEFF): New macro.
23796 (gammal_positive): New function.
23797 (__ieee754_gammal_r): Handle positive infinity, overflow and
23798 underflow here. Handle NaN the same as positive infinity. Remove
23799 check x < 0xffffffff for negative integers. Use gamma_positive
23800 instead of exp (lgamma) for other arguments.
23801 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23802 (gamma_coeff): New variable.
23803 (NCOEFF): New macro.
23804 (gammal_positive): New function.
23805 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23806 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23807 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23808 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23809 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23810 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23811 * sysdeps/generic/math_private.h (__gamma_productf): New
23812 prototype.
23813 (__gamma_product): Likewise.
23814 (__gamma_productl): Likewise.
23815 * math/Makefile (libm-calls): Add gamma_product.
23816 * math/libm-test.inc (tgamma_test): Add more tests.
23817 * sysdeps/i386/fpu/libm-test-ulps: Update.
23818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23819
bb7cf681
OB
238202013-05-08 Ondřej Bílka <neleai@seznam.cz>
23821
23822 * benchtests/bench-skeleton.c (main): Preheat CPU.
23823
ba853947
AJ
238242013-05-07 Aurelien Jarno <aurelien@aurel32.net>
23825
23826 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23827
8347c74c
RM
238282013-05-07 Roland McGrath <roland@hack.frob.com>
23829
23830 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23831 and _dl_skip_args_internal.
23832
e8dd4791
CD
238332013-05-07 Carlos O'Donell <carlos@redhat.com>
23834
23835 * manual/message.texi (Message Translation): Talk about users.
23836 Message to key mapping impacts design.
23837
c7405830
RM
238382013-05-06 Roland McGrath <roland@hack.frob.com>
23839
a9173057
RM
23840 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23841
976e2f03
RM
23842 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23843
9723ffc5
RM
23844 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23845 * sysdeps/wordsize-64/glob64.c: ... here.
23846
962e6658
RM
23847 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23848 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23849 New macros.
23850
ee586a6d
RM
23851 * debug/getlogin_r_chk.c: Moved to ...
23852 * login/getlogin_r_chk.c: ... here.
23853 * debug/Makefile (routines): Move getlogin_r_chk to ...
23854 * login/Makefile (routines): ... here.
23855 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23856 * login/Versions (libc: GLIBC_2.4): ... here.
23857
355f9165
RM
23858 * io/poll.c (__poll): Renamed from poll.
23859 Add libc_hidden_def.
23860 (poll): Define as weak alias.
23861
bd9ffde6
RM
23862 * debug/ptsname_r_chk.c: Moved to ...
23863 * login/ptsname_r_chk.c: ... here.
23864 * debug/Makefile (routines): Move ptsname_r_chk to ...
23865 * login/Makefile (routines): ... here.
23866 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23867 * login/Versions (libc: GLIBC_2.4): ... here.
23868
8fb16a04
RM
23869 * posix/getlogin.c: Moved to ...
23870 * login/getlogin.c: ... here.
23871 * posix/getlogin_r.c: Moved to ...
23872 * login/getlogin_r.c: ... here.
23873 * posix/getlogin_r.c: Moved to ...
23874 * login/getlogin_r.c: ... here.
23875 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23876 * login/Makefile (routines): ... here.
23877 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23878 * login/Versions (libc: GLIBC_2.0): ... here.
23879
b99b892f
RM
23880 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23881 (setrlimit): Define as weak alias.
23882
c7405830
RM
23883 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23884 Call __ names for open, ftruncate, and close.
23885 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23886 (truncate): Define as weak alias.
23887
5bf96de5
JM
238882013-05-06 Joseph Myers <joseph@codesourcery.com>
23889
9ea3513c
JM
23890 * math/gen-libm-test.pl (parse_args): Initialize x before each
23891 test of frexp, modf and remquo.
23892
5bf96de5
JM
23893 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23894 test signgam value.
23895
16e616a7
AZ
238962013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23897
23898 [BZ #15418]
23899 [BZ #15419]
23900 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23901 internal tests.
23902 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23903
d5e82754
RM
239042013-05-06 Roland McGrath <roland@hack.frob.com>
23905
23906 * elf/dl-writev.h: New file.
23907 * elf/dl-misc.c: Include it.
23908 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23909 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23910
a7548d41
JM
239112013-05-04 Joseph Myers <joseph@codesourcery.com>
23912
b7dab1e4
JM
23913 * math/libm-test.inc (noXFails): Remove variable.
23914 (noXPasses): Likewise.
23915 (BUILD_COMPLEX_INT): Remove macro.
23916 (print_screen): Remove xfail argument.
23917 (print_screen_max_error): Likewise.
23918 (update_stats): Likewise.
23919 (print_max_error): Likewise. Update calls to other affected
23920 functions.
23921 (print_complex_max_error): Likewise.
23922 (test_single_exception): Update calls to print_screen.
23923 (test_single_errno): Likewise.
23924 (check_float_internal): Remove xfail argument. Update calls to
23925 other affected functions.
23926 (check_float): Likewise.
23927 (check_complex): Likewise.
23928 (check_int): Likewise.
23929 (check_long): Likewise.
23930 (check_bool): Likewise.
23931 (check_longlong): Likewise.
23932 (main): Don't print noXFails and noXPasses.
23933 * math/gen-libm-test.pl (top level): Don't mention expected
23934 failure handling in comment.
23935 (new_test): Don't handle expected failures.
23936 (parse_args): Don't mention expected failure handling in comment.
23937 (generate_testfile): Don't handle expected failures.
23938 (parse_ulps): Likewise.
23939 (print_ulps_file): Likewise.
23940 (get_failure): Remove function.
23941 (output_test): Don't handle expected failures.
23942 * make/README.libm-test: Don't mention expected failure handling.
23943
a7548d41
JM
23944 * math/libm-test.inc (plus_zero): Make const. Add initializer.
23945 (minus_zero): Likewise.
23946 (plus_infty): Likewise.
23947 (minus_infty): Likewise.
23948 (qnan_value): Likewise.
23949 (max_value): Likewise.
23950 (min_value): Likewise.
23951 (min_subnorm_value): Likewise.
23952 (initialize): Do not initialize those variables dynamically.
23953
60bfd54c
RM
239542013-05-03 Roland McGrath <roland@hack.frob.com>
23955
cc0e6ed8
RM
23956 * io/open.c (__open_2): Moved to ...
23957 * io/open_2.c: ... this new file.
23958 * io/open64.c (__open64_2): Moved to ...
23959 * io/open64_2.c: ... this new file.
23960 * io/openat.c (__openat_2): Moved to ...
23961 * io/openat_2.c: ... this new file.
23962 * io/openat64.c (__openat64_2): Moved to ...
23963 * io/openat64_2.c: ... this new file.
23964 * io/Makefile (routines): Add them.
23965 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23966 * sysdeps/unix/sysv/linux/open_2.c: File removed.
23967 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23968 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23969 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23970 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23971 (__openat64): Add hidden_ver.
23972 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23973 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
23974
60bfd54c
RM
23975 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
23976 Separately conditionalize setting of GLRO(dl_sysinfo) so
23977 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
23978 as well, but the actual setting is only under [NEED_DL_SYSINFO].
23979
83e7640f
AZ
239802013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23981
23982 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
23983 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
23984 definition.
23985 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
23986 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23987 (_libc_vdso_platform_setup): Add __vdso_time initialization.
23988 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
23989 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
23990
d5dc2af3
JM
239912013-05-03 Joseph Myers <joseph@codesourcery.com>
23992
c31a5b1e
JM
23993 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23994 test signgam value.
23995
d5dc2af3
JM
23996 * math/libm-test.inc (hypot_test): Do not use
23997 IGNORE_ZERO_INF_SIGN.
23998
164fd39d
AJ
239992013-05-03 Andreas Jaeger <aj@suse.de>
24000
24001 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
24002 Linux 3.9.
24003 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
24004 (PF_MAX): Adjust for VSOCK change.
24005
8237f48c
AZ
240062013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24007
24008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24009
9df02941
CD
240102013-05-02 Carlos O'Donell <carlos@redhat.com>
24011
24012 [BZ #15264]
24013 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
24014 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
24015 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
24016
d422395e
DM
240172013-05-02 David S. Miller <davem@davemloft.net>
24018
24019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24020
a07c5731
OB
240212013-05-01 Ondřej Bílka <neleai@seznam.cz>
24022
24023 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
24024
1324e37f
RM
240252013-05-01 Roland McGrath <roland@hack.frob.com>
24026
24027 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
24028
0695940b
RS
240292013-05-01 Richard Smith <richard@metafoo.co.uk>
24030
bb5f27ad 24031 [BZ #14952]
0695940b
RS
24032 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
24033 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24034 Use __attribute__ ((__gnu_inline__)).
24035 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24036 Don't use __attribute__ ((__gnu_inline__)).
24037
10de07f5
JM
240382013-05-01 Joseph Myers <joseph@codesourcery.com>
24039
24040 [BZ #15423]
24041 * math/s_catan.c (__catan): Handle small real or imaginary part of
24042 input specially to avoid spurious underflow.
24043 * math/s_catanf.c (__catanf): Likewise.
24044 * math/s_catanh.c (__catanh): Likewise.
24045 * math/s_catanhf.c (__catanhf): Likewise.
24046 * math/s_catanhl.c (__catanhl): Likewise.
24047 * math/s_catanl.c (__catanl): Likewise.
24048 * math/libm-test.inc (catan_test): Add more tests.
24049 (catanh_test): Likewise.
24050 * sysdeps/i386/fpu/libm-test-ulps: Update.
24051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24052
cb4d5414
AZ
240532013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24054
24055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24056
caf84319
JM
240572013-04-30 Joseph Myers <joseph@codesourcery.com>
24058
24059 [BZ #15416]
24060 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
24061 accurately for denominator in atan2.
24062 * math/s_catanf.c (__catanf): Likewise.
24063 * math/s_catanh.c (__catanh): Likewise.
24064 * math/s_catanhf.c (__catanhf): Likewise.
24065 * math/s_catanhl.c (__catanhl): Likewise.
24066 * math/s_catanl.c (__catanl): Likewise.
24067 * math/libm-test.inc (catan_test): Add more tests.
24068 (catanh_test): Likewise.
24069 * sysdeps/i386/fpu/libm-test-ulps: Update.
24070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24071
d569c6ee
SP
240722013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24073
6dbe713d
SP
24074 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
24075
f0ee064b
SP
24076 * benchtests/Makefile (bench): Remove slow benchmarks.
24077 * benchtests/atan-inputs: Add slow benchmark inputs.
24078 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
24079 (BENCH_FUNC): Accept variant offset.
24080 (VARIANT): Define.
24081 * benchtests/bench-skeleton.c (main): Run benchmark for each
24082 variant.
24083 * benchtests/cos-inputs: Add slow benchmark inputs.
24084 * benchtests/exp-inputs: Likewise.
24085 * benchtests/pow-inputs: Likewise.
24086 * benchtests/sin-inputs: Likewise.
24087 * benchtests/slowatan-inputs: Remove.
24088 * benchtests/slowatan.c: Remove.
24089 * benchtests/slowcos-inputs: Remove.
24090 * benchtests/slowcos.c: Remove.
24091 * benchtests/slowexp-inputs: Remove.
24092 * benchtests/slowexp.c: Remove.
24093 * benchtests/slowpow-inputs: Remove.
24094 * benchtests/slowpow.c: Remove.
24095 * benchtests/slowsin-inputs: Remove.
24096 * benchtests/slowsin.c: Remove.
24097 * benchtests/slowtan-inputs: Remove.
24098 * benchtests/slowtan.c: Remove.
24099 * benchtests/tan-inputs: Add slow benchmark inputs.
24100 * scripts/bench.pl: Parse comments and directives.
24101
d569c6ee
SP
24102 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
24103 in CPPFLAGS.
24104 ($(objpfx)bench-%.c): Remove *-ITER.
24105 * benchtests/bench-modf.c: Remove definition of ITER.
24106 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
24107 (main): Loop for DURATION seconds instead of fixed number of
24108 iterations.
24109 * scripts/bench.pl: Don't expect iterations in parameters.
24110
a6a242fe
RM
241112013-04-29 Roland McGrath <roland@hack.frob.com>
24112
24113 * io/fchdir.c (__fchdir): Renamed from fchdir.
24114 (fchdir): Define as weak alias.
24115
f2da7793
JM
241162013-04-29 Joseph Myers <joseph@codesourcery.com>
24117
24118 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
24119 (ERRNO_EDOM): Likewise.
24120 (ERRNO_ERANGE): Likewise.
24121 (noErrnoTests): New variable.
24122 (init_max_error): Set errno to 0.
24123 (test_single_errno): New function.
24124 (test_errno): Likewise.
24125 (check_float_internal): Call test_errno. Set errno to 0.
24126 (check_complex): Refer to errno tests in comment.
24127 (check_int): Call test_errno. Set errno to 0.
24128 (check_long): Likewise.
24129 (check_bool): Likewise.
24130 (check_longlong): Likewise.
24131 (cos_test): Use ERRNO_* flags for errno tests instead of
24132 check_int.
24133 (expm1_test): Likewise.
24134 (fmod_test): Likewise.
24135 (ilogb_test): Likewise.
24136 (lgamma_test): Likewise.
24137 (pow_test): Likewise.
24138 (remainder_test): Likewise.
24139 (sin_test): Likewise.
24140 (tan_test): Likewise.
24141 (yn_test): Likewise.
24142 (initialize): Set errno to 0.
24143 (main): Print number of errno tests.
24144 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24145
b1a36ceb
AJ
241462013-04-29 Andreas Jaeger <aj@suse.de>
24147
c3ed8088
AJ
24148 [BZ #15084]
24149 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24150 and RES_USEVC.
24151
f1a24198
AJ
24152 [BZ #15085]
24153 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24154 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24155 unimplemented.
24156
9ce3b2cb
AJ
24157 [BZ #15380]
24158 * stdlib/random.c (__initstate): Return NULL if
24159 __initstate fails.
24160
f1a24198 24161 [BZ #15086]
b1a36ceb
AJ
24162 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24163 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24164 RES_SNGLKUPREOP.
24165
7e7b6f36
AZ
241662013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24167
24168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24169
4d14f449
JM
241702013-04-29 Joseph Myers <joseph@codesourcery.com>
24171
24172 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24173 of individual tests.
24174 (casin_test): Likewise.
24175 (casinh_test): Likewise.
24176
5b4217d7
JM
241772013-04-27 Joseph Myers <joseph@codesourcery.com>
24178
24179 [BZ #15409]
24180 * math/s_catan.c (__catan): Handle arguments with large real or
24181 imaginary part separately without squaring.
24182 * math/s_catanf.c (__catanf): Likewise.
24183 * math/s_catanh.c (__catanh): Likewise.
24184 * math/s_catanhf.c (__catanhf): Likewise.
24185 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24186 and redefine.
24187 (__catanhl): Handle arguments with large real or imaginary part
24188 separately without squaring.
24189 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24190 and redefine.
24191 (__catanl): Handle arguments with large real or imaginary part
24192 separately without squaring.
24193 * math/libm-test.inc (catan_test): Add more tests.
24194 (catanh_test): Likewise.
24195 * sysdeps/i386/fpu/libm-test-ulps: Update.
24196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24197
4220c3ef
AJ
241982013-04-27 Andreas Jaeger <aj@suse.de>
24199
24200 [BZ #15007]
24201 * stdlib/stdlib.h: Update guards for qecvt.
24202 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24203 <stdlib.h>.
24204
4721b2d1
AM
242052013-04-27 Allan McRae <allan@archlinux.org>
24206
24207 * sysdeps/i386/fpu/libm-test-ulps: Update.
24208
f0302940
JM
242092013-04-26 Joseph Myers <joseph@codesourcery.com>
24210
9457fd95
JM
24211 [BZ #15406]
24212 * math/s_catan.c: Include <float.h>.
24213 (__catan): Ensure underflow exception occurs for underflowed
24214 result.
24215 * math/s_catanf.c: Include <float.h>.
24216 (__catanf): Ensure underflow exception occurs for underflowed
24217 result.
24218 * math/s_catanh.c: Include <float.h>.
24219 (__catanh): Ensure underflow exception occurs for underflowed
24220 result.
24221 * math/s_catanhf.c: Include <float.h>.
24222 (__catanhf): Ensure underflow exception occurs for underflowed
24223 result.
24224 * math/s_catanhl.c: Include <float.h>.
24225 (__catanhl): Ensure underflow exception occurs for underflowed
24226 result.
24227 * math/s_catanl.c: Include <float.h>.
24228 (__catanl): Ensure underflow exception occurs for underflowed
24229 result.
24230 * math/libm-test.inc (catan_test): Add more tests.
24231 (catanh_test): Likewise.
24232
f0302940
JM
24233 [BZ #15405]
24234 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24235 underflowed result.
24236 * math/s_ccoshf.c (__ccoshf): Likewise.
24237 * math/s_ccoshl.c (__ccoshl): Likewise.
24238 * math/s_csin.c (__csin): Likewise.
24239 * math/s_csinf.c (__csinf): Likewise.
24240 * math/s_csinh.c (__csinh): Likewise.
24241 * math/s_csinhf.c (__csinhf): Likewise.
24242 * math/s_csinhl.c (__csinhl): Likewise.
24243 * math/s_csinl.c (__csinl): Likewise.
24244 * math/libm-test.inc (ccos_test): Add more tests.
24245 (ccosh_test): Likewise.
24246 (csin_test): Likewise.
24247 (csinh_test): Likewise.
24248
aa630f59
AZ
242492013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24250
24251 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24252 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24253 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24254 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24255 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24256 powerpc/power5+/fpu folders.
24257 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24258
24259
1b835983
MT
242602013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24261
24262 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24263
73709b26
JM
242642013-04-25 Joseph Myers <joseph@codesourcery.com>
24265
24266 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24267 additions to variable.
24268 [$(config-machine) = x86_64] (modules-names): Likewise.
24269 ($(objpfx)tst-audit3): Remove dependency.
24270 ($(objpfx)tst-audit3.out): Likewise.
24271 ($(objpfx)tst-audit4): Likewise.
24272 ($(objpfx)tst-audit4.out): Likewise.
24273 ($(objpfx)tst-audit5): Likewise.
24274 ($(objpfx)tst-audit5.out): Likewise.
24275 ($(objpfx)tst-audit6): Likewise.
24276 ($(objpfx)tst-audit6.out): Likewise.
24277 ($(objpfx)tst-audit7): Likewise.
24278 ($(objpfx)tst-audit7.out): Likewise.
24279 (tst-audit3-ENV): Remove variable.
24280 (tst-audit4-ENV): Likewise.
24281 (tst-audit5-ENV): Likewise.
24282 (tst-audit6-ENV): Likewise.
24283 (tst-audit7-ENV): Likewise.
24284 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24285 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24286 addition to variable.
24287 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24288 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24289 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24290 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24291 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24292 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24293 tst-audit3, tst-audit4 and tst-audit5.
24294 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24295 tst-audit6 and tst-audit7.
24296 [$(subdir) = elf] (modules-names): Add audit modules for those
24297 tests.
24298 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24299 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24300 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24301 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24302 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24303 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24304 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24305 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24306 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24307 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24308 [$(subdir) = elf] (tst-audit3-ENV): New variable.
24309 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24310 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24311 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24312 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24313 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24314 Likewise.
24315 [$(subdir) = elf && $(config-cflags-avx) = yes]
24316 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24317 [$(subdir) = elf && $(config-cflags-avx) = yes]
24318 (CFLAGS-tst-auditmod4a.c): Likewise.
24319 [$(subdir) = elf && $(config-cflags-avx) = yes]
24320 (CFLAGS-tst-auditmod4b.c): Likewise.
24321 [$(subdir) = elf && $(config-cflags-avx) = yes]
24322 (CFLAGS-tst-auditmod6b.c): Likewise.
24323 [$(subdir) = elf && $(config-cflags-avx) = yes]
24324 (CFLAGS-tst-auditmod6c.c): Likewise.
24325 [$(subdir) = elf && $(config-cflags-avx) = yes]
24326 (CFLAGS-tst-auditmod7b.c): Likewise.
24327 * elf/tst-audit3.c: Move to ...
24328 * sysdeps/x86_64/tst-audit3.c: ... here.
24329 * elf/tst-audit4.c: Move to ...
24330 * sysdeps/x86_64/tst-audit4.c: ... here.
24331 * elf/tst-audit5.c: Move to ...
24332 * sysdeps/x86_64/tst-audit5.c: ... here.
24333 * elf/tst-audit6.c: Move to ...
24334 * sysdeps/x86_64/tst-audit6.c: ... here.
24335 * elf/tst-audit7.c: Move to ...
24336 * sysdeps/x86_64/tst-audit7.c: ... here.
24337 * elf/tst-auditmod3a.c: Move to ...
24338 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24339 * elf/tst-auditmod3b.c: Move to ...
24340 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24341 * elf/tst-auditmod4a.c: Move to ...
24342 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24343 * elf/tst-auditmod4b.c: Move to ...
24344 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24345 * elf/tst-auditmod5a.c: Move to ...
24346 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24347 * elf/tst-auditmod5b.c: Move to ...
24348 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24349 * elf/tst-auditmod6a.c: Move to ...
24350 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24351 * elf/tst-auditmod6b.c: Move to ...
24352 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24353 * elf/tst-auditmod6c.c: Move to ...
24354 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24355 * elf/tst-auditmod7a.c: Move to ...
24356 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24357 * elf/tst-auditmod7b.c: Move to ...
24358 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24359
1ef74943
PP
243602013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24361
24362 [BZ #15366]
24363 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24364 define unconditionally.
24365 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24366 define unconditionally.
24367 (INT8_C, INT16_C, etc.): Likewise.
24368
93fd48c5
MR
243692013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
24370
ae9552cf
MR
24371 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24372 __ehdr_start with hidden visibility.
24373
93fd48c5
MR
24374 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24375
418601aa
CD
243762013-04-24 Carlos O'Donell <carlos@redhat.com>
24377
24378 * math/libm-test.inc (cos_test): Use accurate hex constants.
24379 (sincost_test): Likewise.
24380
2f38fbfe
JM
243812013-04-24 Joseph Myers <joseph@codesourcery.com>
24382
5e221800
JM
24383 * math/libm-test.inc (catan_test): Add more tests.
24384 (catanh_test): Likewise.
24385
77f143fd
JM
24386 * math/s_catanf.c (__catanf): Use suffixed floating-point
24387 constants.
24388 * math/s_catanhf.c (__catanhf): Likewise.
24389 * math/s_catanhl.c (__catanhl): Likewise.
24390 * math/s_catanl.c (__catanl): Likewise.
24391
2f38fbfe
JM
24392 [BZ #15394]
24393 * math/s_catan.c (__catan): Calculate imaginary part of result
24394 with log1p not log unless computing log of number close to 0.
24395 * math/s_catanf.c (__catanf): Likewise.
24396 * math/s_catanl.c (__catanl): Likewise.
24397 * math/s_catanh.c (__catanh): Calculate real part of result with
24398 log1p not log unless computing log of number close to 0.
24399 * math/s_catanhf.c (__catanhf): Likewise.
24400 * math/s_catanhl.c (__catanhl): Likewise.
24401 * math/libm-test.inc (catan_test): Add more tests.
24402 (catanh_test): Likewise.
24403 * sysdeps/i386/fpu/libm-test-ulps: Update.
24404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24405
45d69176
SP
244062013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24407
24408 * benchtests/Makefile: Mention files in which fast and slow
24409 paths of math functions are implemented.
24410
87f51853
RM
244112013-04-23 Roland McGrath <roland@hack.frob.com>
24412
24413 * sysdeps/posix/timespec_get.c: New file.
24414
3c026539
AZ
244152013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24416
24417 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24418 POWER.
24419 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24420 for POWER.
24421 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24422 powerpc/power5/fpu folders.
24423 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24424 * benchtests/Makefile: Add modf testcase.
24425 * benchtests/bench-modf.c: New file: Benchmark test for mo
24426
ff491d14
SP
244272013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24428
24429 [BZ #14888]
24430 * time/Makefile (tests): Add tst-strptime-whitespace.
24431 * time/strptime_l.c (get_number): Use ISSPACE.
24432 (__strptime_internal): Likewise.
24433 * time/tst-strptime-whitespace.c: New test case.
24434
7ed3f4e8
AS
244352013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24436
24437 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24438 member.
24439 (_nss_files_init): Set it here.
24440
5c95f7b6
HC
244412013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24442
24443 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24444 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24445 unsigned.
24446
d34c9158
JBG
244472013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24448
24449 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24450
2169712d
SP
244512013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24452
24453 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24454 size just once.
24455
29c5de99
DM
244562013-04-21 David S. Miller <davem@davemloft.net>
24457
24458 * po/ru.po: Update Russion translation from translation project.
24459
ccdad15d
AC
244602013-04-17 Adam Conrad <adconrad@0c3.net>
24461
24462 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24463 and setfsgid.
24464
0f122b8d
CD
244652013-04-17 Carlos O'Donell <carlos@redhat.com>
24466
5c5b07da 24467 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 24468 * configure: Regenerate.
5c5b07da 24469 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
24470 Add example to error message.
24471 * sysdeps/i386/configure: Regenerate.
24472
037714dd
SP
244732013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24474
24475 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24476 slowtan.
24477 * benchtests/cos-inputs: New file.
24478 * benchtests/slowcos-inputs: New file.
24479 * benchtests/slowcos.c: New file.
24480 * benchtests/slowtan-inputs: New file.
24481 * benchtests/slowtan.c: New file.
24482 * benchtests/tan-inputs: New file.
24483
e913141d
RM
244842013-04-16 Roland McGrath <roland@hack.frob.com>
24485
24486 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24487 considered kosher.
24488
a2964074
SP
244892013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24490
4856bcd2
SP
24491 * benchtests/Makefile: Include cppflags-iterator.mk to add
24492 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24493
a2964074
SP
24494 * Makefile.in (bench-clean): New target.
24495 * benchtests/Makefile (bench-clean): Likewise.
24496
9fbf9aca
DH
244972013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24498
24499 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24500
207d1e2a
TS
245012013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24502
24503 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24504
306dfba9
AS
245052013-04-15 Andreas Schwab <schwab@suse.de>
24506
24507 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24508 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24509 * nscd/pwdcache.c (cache_addpw): Likewise.
24510 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24511 more than recsize.
24512
206a6699
SP
245132013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24514
24515 * benchtests/Makefile (bench): Write all output to
24516 bench-out.tmp together.
24517
0582f6b3
AS
245182013-04-15 Andreas Schwab <schwab@suse.de>
24519
24520 * nscd/nscd.c (main): Don't fork again after closing files.
24521
acb4325f
SP
245222013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24523
5cb26d0a
SP
24524 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24525
acb4325f
SP
24526 * benchtests/Rules (bench-deps): Collect dependencies into a
24527 single variable. Add Makefile to dependencies.
24528 ($(objpfx)bench-%.c): Depend on bench-deps.
24529
47792506
RM
245302013-04-12 Roland McGrath <roland@hack.frob.com>
24531 Xavier Roche <roche+kml2@exalead.com>
24532
24533 [BZ #15361]
24534 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24535 just that it's a file descriptor.
24536 * manual/llio.texi (Synchronizing AIO Operations): Update description
24537 for EBADF error from aio_fsync.
24538
8fc1bee5
SP
245392013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24540
24541 * Rules (bench): Move target definition...
24542 * benchtests/Makefile: ... here.
24543
aba5e333
CD
245442013-04-11 Carlos O'Donell <carlos@redhat.com>
24545
24546 * math/libm-test.inc (cos_test): Fix PI/2 test.
24547 (sincos_test): Likewise.
24548 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24549 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24550
273cdee8
AS
245512013-04-11 Andreas Schwab <schwab@suse.de>
24552
6ecec3b6
AS
24553 [BZ #13988]
24554 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24555 accept exponent character only when digits were seen.
24556 * stdio-common/Makefile (tests): Add bug26.
24557 * stdio-common/bug26.c: New file.
24558
273cdee8
AS
24559 [BZ #14293]
24560 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24561 non-freeable.
24562
8da491f5
SP
245632013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24564
01dc6df9
SP
24565 * Makeconfig (rtld-prefix): Define built linker prefix.
24566 * Rules (run-bench): Use it.
24567 * math/Makefile (run-regen-ulps): Likewise.
24568
8da491f5
SP
24569 * Rules (bench): Remove eval.
24570
abe7f530
SP
245712013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24572 Roland McGrath <roland@hack.frob.com>
24573 Ondrej Bilka <neleai@seznam.cz>
24574
24575 [BZ #15346]
24576 * time/getdate.c: Include ctype.h and alloca.h.
24577 (__getdate_r): Trim leading and trailing spaces of input.
24578 * time/tst-getdate.c (tests): Add tests with leading and
24579 trailing spaces.
24580
61c23e62
RM
245812013-04-08 Roland McGrath <roland@hack.frob.com>
24582
24583 [BZ #14280]
24584 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24585 when computing value.
24586
7208a313
CD
245872013-04-06 Carlos O'Donell <carlos@redhat.com>
24588
085b2d41
CD
24589 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24590 Use testrun.sh to run libm tests.
24591
7208a313
CD
24592 [BZ #15309]
24593 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24594
872c0acd
MM
245952013-04-06 Marko Myllynen <myllynen@redhat.com>
24596
24597 [BZ #15264]
24598 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24599
26510bdd
CD
246002013-04-06 Carlos O'Donell <carlos@redhat.com>
24601
24602 * Makefile.in (regen-ulps): New target.
24603 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24604 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24605 [ifneq (no,$(PERL)] (regen-ulps): New target.
24606 [ifeq (no,$(PERL)] (regen-ulps): New target.
24607 * math/libm-test.inc (ulps_file_name): Define.
24608 (output_dir): New variable.
24609 (options): Add "output-dir" option.
24610 (parse_opt): Handle 'o' case.
24611 (main): If output_dir is non-NULL use it as a prefix
24612 otherwise use "".
24613 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24614
a01f19c8
CD
246152013-04-06 Carlos O'Donell <carlos@redhat.com>
24616
24617 [BZ #10060, #10062]
24618 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24619 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24620 fail configure if __sync_val_compare_and_swap is not inlined.
24621 * sysdeps/i386/configure: Regenerate.
24622 * configure.in: Build for i686 when configured for i386.
24623 * configure: Regenerate.
24624 * README: Remove i386 reference.
24625
b7a329a5
CD
246262013-04-06 Carlos O'Donell <carlos@redhat.com>
24627
24628 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24629 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24630
bf0f50df
TS
246312013-04-05 Thomas Schwinge <thomas@codesourcery.com>
24632
ee091edf
TS
24633 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24634 (lmsnanval): New variables.
24635 (F): Add conversion tests.
24636 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24637 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24638
a8b792d6
TS
24639 * stdio-common/tstdiomisc.c (F): Properly collect individual
24640 tests' results.
24641
a1cbf437
TS
24642 [BZ #14686, #15336]
24643 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24644 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24645 Instead, use input NaN values or generate a qNaN by arithmetic
24646 operation. Also fix bugs to comply with the standard.
24647 * math/libm-test.inc (remainder_test): Add more tests.
24648
8b43a0c9
TS
24649 [BZ #15335, #15342]
24650 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24651 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24652 input NaN values or generate a qNaN by arithmetic operation.
24653
d91da4ce
TS
24654 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24655 unreachable code.
24656
bf0f50df
TS
24657 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24658 definitions.
24659
05e166c8
JM
246602013-04-03 Joseph Myers <joseph@codesourcery.com>
24661
24662 [BZ #14478]
24663 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24664 underflowed result.
24665 * math/s_cexpf.c (__cexpf): Likewise.
24666 * math/s_cexpl.c (__cexpl): Likewise.
24667 * math/libm-test.inc (cexp_test): Add more tests.
24668
1cef1b19
AS
246692013-04-03 Andreas Schwab <schwab@suse.de>
24670
24671 [BZ #15330]
24672 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24673 order arrays from heap if bigger than alloca cutoff.
24674
74d87055
TS
246752013-04-03 Thomas Schwinge <thomas@codesourcery.com>
24676
24677 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24678 (SNAN_TESTS_double): Refer to GCC PR56831.
24679 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24680 GCC PR56828.
24681
d755bba4
SP
246822013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24683
90d5d5bb
SP
24684 * Rules (bench): Move bench.out after the run is complete.
24685
73e0cd5d
SP
24686 * Rules (bench): Echo currently running benchmark.
24687
64aabd4b
SP
24688 * benchtests/Makefile (bench): Add atan and slowatan.
24689 * benchtests/atan-inputs: New file.
24690 * benchtests/slowatan-inputs: New file.
24691 * benchtests/slowatan.c: New file.
24692
c871eccd
SP
24693 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24694 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24695 its value.
24696
d755bba4
SP
24697 [BZ #15305]
24698 * sysdeps/unix/sysv/linux/kernel-features.h
24699 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24700 __ASSUME_XFS_RESTRICTED_CHOWN.
24701 * sysdeps/unix/sysv/linux/pathconf.c
24702 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24703 Save and restore errno.
24704
52ce4860
JM
247052013-04-02 Joseph Myers <joseph@codesourcery.com>
24706
24707 [BZ #15327]
24708 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24709 arguments using __kernel_casinh.
24710 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24711 arguments using __kernel_casinhf.
24712 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24713 arguments using __kernel_casinhl.
24714 * math/libm-test.inc (cacosh_test): Add more tests.
24715 * sysdeps/i386/fpu/libm-test-ulps: Update.
24716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24717
81f311c2
SP
247182013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24719
e7906a47
SP
24720 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24721 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24722
92e3664b
SP
24723 * bench/Makefile (bench): Add sin and slowsin.
24724 * benchtests/sin-inputs: New file.
24725 * benchtests/slowsin-inputs: New file.
24726 * benchtests/slowsin.c: New file.
24727
81f311c2
SP
24728 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24729 (bench): Add slowexp and slowpow.
24730 (exp-ITER): Increase iterations.
24731 (pow-ITER): Likewise.
24732 * benchtests/exp-inputs: Change input.
24733 * benchtests/pow-inputs: Likewise.
24734 * benchtests/slowexp-inputs: New file.
24735 * benchtests/slowexp.c: New file.
24736 * benchtests/slowpow-inputs: New file.
24737 * benchtests/slowpow.c: New file.
24738
ab0f1aa9
AZ
247392013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24740
24741 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24742 instructions.
24743 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24744 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24745 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24746 * benchtests/Makefile: Add rint benchtest.
24747 * benchtests/rint-inputs: Input for rint benchtest.
24748
57267616
TS
247492013-04-02 Thomas Schwinge <thomas@codesourcery.com>
24750
24751 * Versions.def (libm): Add GLIBC_2.18.
24752 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24753 hidden libm prototypes.
24754 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24755 * math/Makefile (libm-calls): Add s_issignaling.
24756 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24757 __issignalingf, __issignalingl. Adjust all libm.abilist files.
24758 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24759 declaration.
24760 * math/math.h [__USE_GNU] (issignaling): New macro.
24761 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24762 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24763 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24764 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24765 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24766 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24767 * manual/arith.texi (issignaling): New section.
24768 * manual/libm-err-tab.pl (@all_functions): Update comment.
24769 * math/gen-libm-test.pl (parse_args): Apply special handling for
24770 issignaling.
24771 * math/libm-test.inc (print_float, issignaling_test): New
24772 functions.
24773 (check_float_internal): Add issignaling checks.
24774 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24775 default definition.
24776 * sysdeps/powerpc/math-tests.h: New file.
24777 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24778 tests.
24779 * math/test-snan.c (TEST_FUNC): Likewise.
24780
6142896d
DM
247812013-03-30 David S. Miller <davem@davemloft.net>
24782
24783 * po/de.po: Update from translation team.
24784
ccc8cadf
JM
247852013-03-30 Joseph Myers <joseph@codesourcery.com>
24786
24787 [BZ #10357]
24788 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24789 imaginary part less than 1.0 and real part less than 0.5
24790 specially.
24791 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24792 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24793 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24794 (cacos_test): Add more tests.
24795 (casin_test): Likewise.
24796 (casinh_test): Likewise.
24797 * sysdeps/i386/fpu/libm-test-ulps: Update.
24798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24799
0f6a8d4b
SP
248002013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24801
0d1029de
SP
24802 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24803 ONE with its value.
24804
c2d94018
SP
24805 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24806 (__pow_mp): Replace ONE and MONE with their values.
24807 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24808 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24809 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24810 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24811 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24812 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24813
27ec37f1
SP
24814 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24815
a64d7e0e
SP
24816 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24817 (__pow_mp): Replace ZERO and MZERO with their values.
24818 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24819 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24820 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24821 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24822 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24823 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24824 (__sqr): Likewise.
24825
d26dd3eb
SP
24826 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24827
0f6a8d4b
SP
24828 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24829
e57b0c61
RM
248302013-03-28 Roland McGrath <roland@hack.frob.com>
24831
24832 * include/stdlib.h [!SHARED] (__call_tls_dtors):
24833 Declare with __attribute__ ((weak)).
24834 * stdlib/exit.c (__libc_atexit) [!SHARED]:
24835 Call __call_tls_dtors only if it's not NULL.
24836
356b3480
RM
248372013-03-28 Roland McGrath <roland@hack.frob.com>
24838
288f7d79
RM
24839 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24840 didn't do it already, then set _dl_phdr and _dl_phnum based on the
24841 magic __ehdr_start linker symbol if it's defined.
24842 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24843 them up here if it was already done.
24844
dc0a0263
RM
24845 * elf/dl-support.c (_dl_phdr): Make pointer to const.
24846 (_dl_aux_init): Use const in cast when setting it.
24847 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24848 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24849 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24850
3d3436ae
RM
24851 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24852 Declare them here.
24853 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24854 * csu/libc-tls.c: Nor here.
24855 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24856
356b3480
RM
24857 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24858 (__libc_message): Never call vsyslog.
24859
b0f1246a
AM
248602013-03-28 Alan Modra <amodra@gmail.com>
24861
24862 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24863 Define as empty.
24864 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24865 Likewise.
24866
fbbe2b9a
AZ
248672013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24868
24869 [BZ #15214]
24870 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24871 underflow.
24872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24873
1728ab37
SP
248742013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24875
7a86be6e
SP
24876 [BZ #15304]
24877 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24878 Don't add gid passed as argument.
24879
1728ab37
SP
24880 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24881
3a7182a1
JM
248822013-03-27 Joseph Myers <joseph@codesourcery.com>
24883
24884 [BZ #15307]
24885 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24886 imaginary part between 1.0 and 1.5 and real part less than 0.5
24887 specially.
24888 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24889 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24890 * math/libm-test.inc (cacos_test): Add more tests.
24891 (casin_test): Likewise.
24892 (casinh_test): Likewise.
24893 * sysdeps/i386/fpu/libm-test-ulps: Update.
24894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24895
6f2e90e7
SP
248962013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24897
5739f705
SP
24898 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24899 constants.
24900 (norm): Likewise.
24901 (denorm): Likewise.
24902 (__dbl_mp): Likewise.
24903 (add_magnitudes): Likewise.
24904 (sub_magnitudes): Likewise.
24905 (__add): Likewise.
24906 (__sub): Likewise.
24907 (__mul): Likewise.
24908 (__sqr): Likewise.
24909 (__inv): Likewise.
24910 (__dvd): Likewise.
24911
e375e83d
SP
24912 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24913 commented code.
24914 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24915 (__dubcos): Likewise.
24916 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24917 (__ieee754_acos): Likewise.
24918 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24919 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24920 (__exp1): Likewise.
24921 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24922 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24923 (log1): Likewise.
24924 (my_log2): Likewise.
24925 (checkint): Likewise.
24926 * sysdeps/ieee754/dbl-64/e_remainder.c
24927 (__ieee754_remainder): Likewise.
24928 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24929 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24930 (bsloww): Likewise.
24931 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24932
6f2e90e7
SP
24933 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24934 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24935 MANTISSA_STORE_T to store computations on mantissa. Use
24936 macros for rounding and division.
24937 (denorm): Likewise.
24938 (__dbl_mp): Likewise.
24939 (add_magnitudes): Likewise.
24940 (sub_magnitudes): Likewise.
24941 (__mul): Likewise.
24942 (__sqr): Likewise.
24943 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24944 powers of two in terms of TWOPOW macro.
24945 (mp_no): Make type of mantissa as MANTISSA_T.
24946 [!RADIXI]: Define RADIXI.
24947 [!TWO52]: Define TWO52.
24948 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24949
fce14d4e
AZ
249502013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24951
24952 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24953 llroundl symbol when building for PPC32.
24954
9ad027fb
MW
249552013-03-24 Mark H Weaver <mhw@netris.org>
24956
24957 * manual/arith.texi (Normalization Functions): Fix prototypes for
24958 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24959
e42a38dd
AZ
249602013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24961
24962 [BZ #13889]
24963 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24964 high value to check if expl overflow.
24965 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24966 to check for underflow and overflow.
24967 * math/libm-test.inc: Add exp test.
24968
2e0fb521
DL
249692013-03-21 Dmitry V. Levin <ldv@altlinux.org>
24970
24971 [BZ #11120]
24972 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24973 with NOT_IN_libc.
24974
b5784d95
AZ
249752013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24976
24977 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
24978 symbol.
24979
5aa4a1a1
TS
249802013-03-21 Thomas Schwinge <thomas@codesourcery.com>
24981
bdef0be7
TS
24982 * math/gen-libm-test.pl (parse_args, special_functions): Properly
24983 wrap blocks consisting of several statements.
24984
5aa4a1a1
TS
24985 * sysdeps/generic/math-tests.h: New file.
24986 * sysdeps/i386/fpu/math-tests.h: Likewise.
24987 * math/test-snan.c: Include it.
24988 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
24989
98c48fe5
JM
249902013-03-21 Joseph Myers <joseph@codesourcery.com>
24991
24992 [BZ #15285]
24993 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24994 (__ieee754_j0l): Do not improve calculations using cos of twice
24995 input for inputs above LDBL_MAX / 2.0L.
24996 (__ieee754_y0l): Likewise.
24997 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24998 (__ieee754_j1l): Do not improve calculations using cos of twice
24999 input for inputs above LDBL_MAX / 2.0L.
25000 (__ieee754_y1l): Likewise.
25001 * math/libm-test.inc (j0_test): Add another test.
25002 (j1_test): Likewise.
25003 (y0_test): Likewise.
25004 (y1_test): Likewise.
25005 * sysdeps/i386/fpu/libm-test-ulps: Update.
25006
3775a8bc
SP
250072013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25008
25009 * Rules ($(objpfx)bench-%.c): Include code from a C source
25010 file.
25011
0a1b2ae6
JM
250122013-03-21 Joseph Myers <joseph@codesourcery.com>
25013
25014 [BZ #15287]
25015 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25016 imaginary part 1.0 and real part less than 0.5 specially.
25017 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25018 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25019 * math/libm-test.inc (cacos_test): Add more tests.
25020 (casin_test): Likewise.
25021 (casinh_test): Likewise.
25022 * sysdeps/i386/fpu/libm-test-ulps: Update.
25023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25024
b33d4ce4
SP
250252013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25026
25027 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
25028 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
25029
bef0b507
JM
250302013-03-20 Joseph Myers <joseph@codesourcery.com>
25031
25032 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
25033 * config.make.in (config-cflags-sse4): Remove variable.
25034 (config-cflags-avx): Likewise.
25035 (config-cflags-sse2avx): Likewise.
25036 (config-cflags-novzeroupper): Likewise.
25037 (config-asflags-i686): Likewise.
25038 (have-mfma4): Likewise.
25039 (have-as-vis3): Likewise.
25040 (MIG): Likewise.
25041 * configure.in (MIG): Do not AC_SUBST.
25042 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
25043 (libc_cv_cc_sse4): Do not AC_SUBST.
25044 (libc_cv_cc_avx): Likewise.
25045 (libc_cv_cc_sse2avx): Likewise.
25046 (libc_cv_cc_novzeroupper): Likewise.
25047 (libc_cv_cc_fma4): Likewise.
25048 (libc_cv_as_i686): Likewise.
25049 (libc_cv_sparc_as_vis3): Likewise.
25050 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
25051 LIBC_CONFIG_VAR.
25052 (config-asflags-i686): Likewise.
25053 (config-cflags-avx): Likewise.
25054 (config-cflags-sse2avx): Likewise.
25055 (have-mfma4): Likewise.
25056 (config-cflags-novzeroupper): Likewise.
25057 * sysdeps/mach/configure.in (MIG): Likewise.
25058 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
25059 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
25060 LIBC_CONFIG_VAR.
25061 (config-cflags-avx): Likewise.
25062 (config-cflags-sse2avx): Likewise.
25063 (have-mfma4): Likewise.
25064 (config-cflags-novzeroupper): Likewise.
25065 * configure: Regenerated.
25066 * sysdeps/i386/configure: Likewise.
25067 * sysdeps/mach/configure: Likewise.
25068 * sysdeps/sparc/configure: Likewise.
25069 * sysdeps/x86_64/configure: Likewise.
25070
912cc4b3
RM
250712013-03-20 Roland McGrath <roland@hack.frob.com>
25072
25073 [BZ #14812]
25074 * locale/programs/localedef.c (options): Put N_ translation marker
25075 on argument names, not just descriptions.
25076
04eed2b0
MS
250772013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25078
25079 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
25080
a065ceff
OB
250812013-03-20 Ondřej Bílka <neleai@seznam.cz>
25082
9bb2a810 25083 [BZ #14176]
a065ceff
OB
25084 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
25085
a600e5ce
RM
250862013-03-19 Roland McGrath <roland@hack.frob.com>
25087
25088 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
25089 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
25090 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
25091 [!BEFORE_ABORT] (before_abort): New function.
25092 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
25093 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
25094 (writev_for_fatal): New function.
25095 (WRITEV_FOR_FATAL): New macro; call that.
25096 (backtrace_and_maps): New function.
25097 (BEFORE_ABORT): New macro; call that.
25098 (struct str_list): Type removed.
25099 (__libc_message, __libc_fatal): Functions removed.
25100 Include <sysdeps/posix/libc_fatal.c> instead.
25101
6b18bea6
JM
251022013-03-19 Joseph Myers <joseph@codesourcery.com>
25103
25104 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
25105 constants.
25106 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
25107 double constants.
25108
aaa8cb4b
AS
251092013-03-19 Andreas Schwab <schwab@suse.de>
25110
44673770
AS
25111 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
25112 * sysdeps/gnu/configure: Regenerate.
25113
aaa8cb4b
AS
25114 * configure.in: Substitute libc_cv_rtlddir.
25115 * configure: Regenerate.
25116 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
25117 * Makeconfig (rtlddir, inst_rtlddir): New variables.
25118 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
25119 * elf/Makefile (install-others, CFLAGS-interp.c)
25120 (ldso_install, common-ldd-rewrite): Likewise.
25121 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25122 $(inst_slibdir)/$(rtld-installed-name).
25123 * scripts/rellns-sh: Add -p option.
25124 * Makerules (make-shlib-link): Use rellns-sh to get relative name
25125 for source.
25126
d3cfc668
SP
251272013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25128
25129 * manual/nptl.texi: Renamed to ...
25130 * manual/threads.texi: ... this.
25131 * manual/Makefile (chapters): Update.
25132
0e2b9cdd
RM
251332013-03-18 Roland McGrath <roland@hack.frob.com>
25134
25135 [BZ #14812]
25136 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25137 on argument names, not just descriptions.
0e2b9cdd
RM
25138 * malloc/memusagestat.c (options): Likewise.
25139 * nss/getent.c (options): Likewise.
63270c24
RM
25140
251412013-03-18 Benno Schulenberg <bensberg@justemail.net>
25142
25143 [BZ #14812]
25144 * iconv/iconv_prog.c (options): Put N_ translation marker
25145 on argument names, not just descriptions.
25146 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 25147
b2e1393c
OB
251482013-03-18 Ondrej Bilka <neleai@seznam.cz>
25149
25150 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25151 implementation which is faster on all x86_64 architectures.
25152 Tested on AMD, Intel Nehalem, SNB, IVB.
25153 * sysdeps/x86_64/strnlen.S: Likewise.
25154
25155 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25156 Remove all multiarch strlen and strnlen versions.
25157 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25158 Remove strlen and strnlen related parts.
25159
25160 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25161 Inline strlen part.
25162 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25163
25164 * sysdeps/x86_64/multiarch/strlen.S: Remove.
25165 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25166 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25167 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25168 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25169 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25170
ec4ff04d
CD
251712013-03-17 Carlos O'Donell <carlos@redhat.com>
25172
25173 * manual/memory.texi (Malloc Tunable Parameters):
25174 Sort parameters alphabetically. Add comments for missing entries.
25175
cd18e90a
DM
251762013-03-17 David S. Miller <davem@davemloft.net>
25177
25178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25179
2a185d32
JM
251802013-03-16 Joseph Myers <joseph@codesourcery.com>
25181
d2f9799e
JM
25182 [BZ #15283]
25183 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25184 for arguments at most half maximum finite value.
25185 * math/libm-test.inc (j0_test): Add more tests.
25186 (j1_test): Likewise.
25187 (y0_test): Likewise.
25188 (y1_test): Likewise.
25189 * sysdeps/i386/fpu/libm-test-ulps: Update.
25190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25191
2a185d32
JM
25192 [BZ #14155]
25193 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25194 1 / x and functions P and Q for arguments above 0x1p256L.
25195 (__ieee754_y0l): Likewise.
25196 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25197 (__ieee754_y1l): Likewise.
25198 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25199 (j1_test): Likewise.
25200 (y0_test): Likewise.
25201 (y1_test): Likewise.
25202
6cbec759
TS
252032013-03-16 Thomas Schwinge <thomas@codesourcery.com>
25204
25205 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25206 variable.
25207
bc16e260
RM
252082013-03-15 Roland McGrath <roland@hack.frob.com>
25209
aefc9b8c
RM
25210 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25211 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25212 zero since it's initialized to EXEC_PAGESIZE.
25213
bc16e260
RM
25214 * sysdeps/unix/sysv/linux/ldsodefs.h
25215 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25216 * sysdeps/generic/ldsodefs.h: ... here.
25217
a57da955
TS
252182013-03-15 Thomas Schwinge <thomas@codesourcery.com>
25219
af00a34d
TS
25220 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25221
495ded2c
TS
25222 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25223 math/test-snan.c.
25224 * math/test-snan.c: Renamed from
25225 sysdeps/powerpc/fpu/test-powerpc-snan.c.
25226 * math/Makefile (tests): Add test-snan.
25227 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25228 test-powerpc-snan.
25229
777b0332
TS
25230 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25231 SUFFIX. Initialize qNaN_var with __builtin_nan family of
25232 functions.
25233 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
25234 __builtin_nan family of functions.
25235 * math/libm-test.inc (initialize): Initialize qnan_value with
25236 __builtin_nan family of functions.
25237 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25238 Remove variables.
25239 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25240 Remove functions.
25241 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
25242 storage class. Initialize qNaN_var and sNaN_var with
25243 __builtin_nan and __builtin_nans families of functions,
25244 respectively.
25245
64d063b8
TS
25246 * math/libm-test.inc (acosh_test): Also test with qNaN input.
25247 (sqrt_test): Remove duplicate test with qNaN input.
25248 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25249 (round_test, signbit_test, significand_test): Note missing +/-Inf
25250 as well as qNaN tests.
25251
67e971f1
TS
25252 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25253 qNaN_var. Fix a few strings, too.
25254 * math/libm-test.inc (nan_value): Rename to qnan_value.
25255 * math/gen-libm-test.pl (%beautify): Adjust to that.
25256 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25257 * math/test-misc.c (main): Likewise.
25258 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25259 to __qnan_bytes, and __qnan_union, respectively.
25260 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25261 Likewise.
25262 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25263 and lqnanval, respectively.
25264 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25265 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25266 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25267 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25268
64487e12
TS
25269 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25270 * math/test-misc.c (main) [__x86_64__]: Enable test for long
25271 doubles.
25272
e015e27b
TS
25273 * math/test-misc.c (main): Fix copy'n'pastos.
25274 * misc/tst-efgcvt.c (special): Likewise.
25275
a57da955
TS
25276 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25277 Remove declarations.
25278
1e380345
SP
252792013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25280
25281 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25282 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25283 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25284 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25285
ef26eece
AZ
252862013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25287
25288 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25289 macro to return vdso values correctly in IFUNC implementations.
25290 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25291 Optimization by using IFUNC.
25292
8cfdb7e0
SP
252932013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25294 Richard Henderson <rth@redhat.com>
25295 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25296
25297 * Makefile.in (bench): New target.
25298 * NEWS: Mention the benchmark framework.
25299 * Rules (bench): Likewise.
25300 (binaries-bench): Generate binaries for functions to
25301 benchmark.
25302 * benchtests/Makefile: New makefile for benchmark tests.
25303 * benchtests/bench-skeleton.c: New skeleton file for benchmark
25304 programs.
25305 * benchtests/exp-inputs: New input file for EXP function.
25306 * benchtests/pow-inputs: New input file for POW function.
25307 * scripts/bench.pl: New script to generate source files for
25308 benchmark programs.
25309
bcda9880
SP
253102013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25311
d22ca8cd
SP
25312 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25313 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25314 computations on mantissa. Use macros for rounding and
25315 division.
25316 (denorm): Likewise.
25317 (__dbl_mp): Likewise.
25318 (add_magnitudes): Likewise.
25319 (sub_magnitudes): Likewise.
25320 (__mul): Likewise.
25321 (__sqr): Likewise.
25322 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25323 powers of two in terms of TWOPOW macro.
25324 (mp_no): Make type of mantissa as MANTISSA_T.
25325 [!RADIXI]: Define RADIXI.
25326 [!TWO52]: Define TWO52.
25327 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25328
bcda9880
SP
25329 * manual/nptl.texi (cindex): Modify threads to pthreads.
25330
06d5adfb
JM
253312013-03-15 Joseph Myers <joseph@codesourcery.com>
25332
25333 * sysdeps/x86_64/preconfigure: Regenerated.
25334
41c7328e
JM
253352013-03-14 Joseph Myers <joseph@codesourcery.com>
25336
25337 [BZ #14155]
25338 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25339 0x1p28 and above.
25340 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25341 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25342 0x1p28 and above.
25343 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25344 * math/libm-test.inc (j0_test): Do not allow one spurious
25345 underflow exception.
25346 (y1_test): Likewise.
25347
e25cfa60
SP
253482013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25349
0409959c
SP
25350 * manual/Makefile (chapters): Add nptl.
25351 * manual/debug.texi (Debugging Support): Add link to Threads
25352 chapter.
25353 * manual/nptl.texi: New file.
25354
e25cfa60
SP
25355 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25356
58a1335e
PB
253572013-03-14 Petr Baudis <pasky@ucw.cz>
25358
25359 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25360 for non-NULL pointer before the memory validity test. Pointed
25361 out by Holger Brunck <holger.brunck@keymile.com>.
25362
9dc7c64f
AS
253632013-03-13 Andreas Schwab <schwab@suse.de>
25364
25365 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25366 instead of .os.
25367
54206aa6
JM
253682013-03-13 Joseph Myers <joseph@codesourcery.com>
25369
25370 * timezone/zic.c: Update from tzcode 2013b.
25371
e98cdb38
CD
253722013-03-12 Carlos O'Donell <carlos@redhat.com>
25373
25374 * manual/install.texi (Configuring and compiling):
25375 Mention i686 and i586.
25376 * INSTALL: Regenerate.
25377
9967e003
RM
253782013-03-12 Roland McGrath <roland@hack.frob.com>
25379
25380 * sysdeps/init_array/elf-init.c: New file.
25381 * csu/elf-init.c
25382 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25383 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25384
25385 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25386 __gmon_start__ as global, but as static with a .preinit_array pointer.
25387 * sysdeps/init_array/gmon-start.c: New file. Use that.
25388 * sysdeps/init_array/crti.S: New file, empty except for comments.
25389 * sysdeps/init_array/crtn.S: Likewise.
25390
e6b5a293 253912013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
25392
25393 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25394 definining bcopy.
80f844c9
OB
25395 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25396 Remove Prefer_SSE_for_memop.
25397 * sysdeps/x86_64/multiarch/init-arch.h: Remove
25398 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25399 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
25400 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25401 memset-x86-64.
80f844c9 25402 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 25403 Remove bzero, memset ifunc support.
80f844c9
OB
25404 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25405 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25406 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25407 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25408
fb6b0fcb
AS
254092013-03-11 Andreas Schwab <schwab@suse.de>
25410
25411 [BZ #15234]
25412 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25413 by SHLIB_COMPAT.
25414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25415 (GLIBC_2.16): Remove pthread_atfork.
25416
3e6bd4b1
PP
254172013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25418
25419 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25420 (ptestcases.h): Likewise.
25421
222d7f00
RM
254222013-03-08 Roland McGrath <roland@hack.frob.com>
25423
25424 * Makeconfig ($(common-objpfx)config.status): Depend on
25425 sysdeps/*/preconfigure{,.in} too.
25426
1ba4f030
JM
254272013-03-08 Joseph Myers <joseph@codesourcery.com>
25428
a222d91a
JM
25429 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25430 (__free_hook): Use void * instead of __malloc_ptr_t.
25431 (__malloc_hook): Likewise.
25432 (__realloc_hook): Likewise.
25433 (__memalign_hook): Likewise.
25434 (__after_morecore_hook): Likewise.
25435 * malloc/arena.c (save_malloc_hook): Likewise.
25436 (save_free_hook): Likewise.
25437 * malloc/hooks.c (malloc_hook_ini): Likewise.
25438 (realloc_hook_ini): Likewise.
25439 (memalign_hook_ini): Likewise.
25440 * malloc/malloc.c (malloc_hook_ini): Likewise.
25441 (realloc_hook_ini): Likewise.
25442 (memalign_hook_ini): Likewise.
25443 (__free_hook): Likewise.
25444 (__malloc_hook): Likewise.
25445 (__realloc_hook): Likewise.
25446 (__memalign_hook): Likewise.
25447 (__libc_malloc): Likewise.
25448 (__libc_free): Likewise.
25449 (__libc_realloc): Likewise.
25450 (__libc_memalign): Likewise.
25451 (__libc_valloc): Likewise.
25452 (__libc_pvalloc): Likewise.
25453 (__libc_calloc): Likewise.
25454 (__posix_memalign): Likewise.
25455 * malloc/morecore.c (__sbrk): Likewise.
25456 (__default_morecore): Likewise.
25457
5cc45e10
JM
25458 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25459
dd54b864
JM
25460 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25461 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25462 __malloc_ptrdiff_t.
25463
1ba4f030
JM
25464 * malloc/malloc.h (__malloc_size_t): Remove macro.
25465 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25466 __malloc_size_t.
25467 (old_memalign_hook): Likewise.
25468 (old_realloc_hook): Likewise.
25469 (struct hdr): Likewise.
25470 (flood): Likewise.
25471 (mallochook): Likewise.
25472 (memalignhook): Likewise.
25473 (reallochook): Likewise.
25474 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25475 (tr_old_realloc_hook): Likewise.
25476 (tr_old_memalign_hook): Likewise.
25477 (tr_mallochook): Likewise.
25478 (tr_reallochook): Likewise.
25479 (tr_memalignhook): Likewise.
25480
edf66e57
AZ
254812013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25482
25483 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25484 default_ldbl_pack and using as default implementation.
25485 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25486 implementation.
25487 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25488 redundant definition.
25489 (ldbl_insert_mantissa): Likewise.
25490 (ldbl_canonicalize): Likewise.
25491 (ldbl_nearbyint): Likewise.
25492 (ldbl_pack): Rename to ldbl_pack_ppc.
25493 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25494 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25495 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25496
6d9145d8
SP
254972013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25498
25499 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25500 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25501 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25502 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25504 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25505 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25506 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25507
4dd4e157
AJ
255082013-03-07 Andreas Jaeger <aj@suse.de>
25509
25510 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25511 bits/mman-linux.h.
25512
adbb8027
SP
255132013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25514
ce544b5b
SP
25515 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25516 Include mpa.h and declare __MPEXP.
25517 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25518 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25519 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25520 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25521 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25522 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25523 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25524
4cc149fd
SP
25525 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25526 (__slowpow): Use long double EXPL and LOGL functions to
25527 compute POW.
25528 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25529 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25530 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25531 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25532 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25533 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25534
e6ebd4a7
SP
25535 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25536 intermediate variable to calculate exponent.
25537 (__sqr): Likewise.
25538 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25539 Likewise.
25540 (__sqr): Likewise.
25541
82a9811d
SP
25542 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25543 [!NO__SQR]: Define __sqr.
25544 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25545 and NO__SQR. Remove all code except __mul and __sqr. Include
25546 sysdeps/ieee754/dbl-64/mpa.c.
25547 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25548
adbb8027
SP
25549 [BZ #12723]
25550 * posix/Makefile (tests): Add tst-pathconf.
25551 * posix/tst-pathconf.c: New test case.
25552 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25553 _PC_PIPE_BUF.
25554 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25555
39120df9
PF
255562013-03-06 Patsy Franklin <pfrankli@redhat.com>
25557
25558 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25559
67525cb8
AJ
255602013-03-06 Andreas Jaeger <aj@suse.de>
25561
664a9ce4
AJ
25562 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25563 definition via __MAP_ANONYMOUS.
25564
8e39047d
AJ
25565 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25566 it's not part of Linux headers.
25567
67525cb8
AJ
25568 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25569 (MAP_HUGE_MASK): Define.
25570
25571 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25572 Define.
25573 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25574 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25575 Define.
25576 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25577 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25578 Define.
25579 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25580 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25581 Define.
25582 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25583
25584 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25585 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25586 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25587 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25588 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25589 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25590
25591 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25592 Handle f2fs.
25593
25594 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25595 Handle f2fs and efivarfs.
25596
25597 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25598 f2fs.
25599
25600 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25601 (EFIVARFS_MAGIC): Add.
25602 (F2FS_LINK_MAX): Add.
25603
e1b42695
PP
256042013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25605
25606 * stdio-common/vfprintf.c: Replace __builtin_expect with
25607 __glibc_unlikely.
25608
2d67d91a
JM
256092013-03-06 Joseph Myers <joseph@codesourcery.com>
25610
25611 [BZ #13550]
25612 * sysdeps/generic/bp-sym.h: Remove file.
25613 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25614 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25615 <bp-sym.h> and <bp-asm.h>.
25616 (__longjmp): Don't use BP_SYM.
25617 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25618 and <bp-asm.h>.
25619 (memcpy): Don't use BP_SYM.
25620 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25621 <bp-sym.h> and <bp-asm.h>.
25622 (memcpy): Don't use BP_SYM.
25623 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25624 <bp-asm.h>.
25625 (memcpy): Don't use BP_SYM.
25626 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25627 <bp-asm.h>.
25628 (memset): Don't use BP_SYM.
25629 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25630 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25631 (__bzero): Don't use BP_SYM.
25632 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25633 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25634 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25635 <bp-sym.h> and <bp-asm.h>.
25636 (memcmp): Don't use BP_SYM. Remove comment about bounded
25637 pointers.
25638 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25639 <bp-sym.h> and <bp-asm.h>.
25640 (memcpy): Don't use BP_SYM.
25641 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25642 <bp-sym.h> and <bp-asm.h>.
25643 (memset): Don't use BP_SYM.
25644 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25645 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25646 (__bzero): Don't use BP_SYM.
25647 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25648 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25649 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25650 <bp-sym.h> and <bp-asm.h>.
25651 (strncmp): Don't use BP_SYM. Remove comment about bounded
25652 pointers.
25653 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25654 <bp-sym.h> and <bp-asm.h>.
25655 (memcpy): Don't use BP_SYM.
25656 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25657 <bp-sym.h> and <bp-asm.h>.
25658 (memset): Don't use BP_SYM.
25659 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25660 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25661 (__bzero): Don't use BP_SYM.
25662 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25663 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25664 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25665 <bp-sym.h> and <bp-asm.h>.
25666 (__memchr): Don't use BP_SYM.
25667 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25668 <bp-sym.h> and <bp-asm.h>.
25669 (memcmp): Don't use BP_SYM. Remove comment about bounded
25670 pointers.
25671 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25672 <bp-sym.h> and <bp-asm.h>.
25673 (memcpy): Don't use BP_SYM.
25674 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25675 <bp-sym.h> and <bp-asm.h>.
25676 (__mempcpy): Don't use BP_SYM.
25677 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25678 <bp-sym.h> and <bp-asm.h>.
25679 (__memrchr): Don't use BP_SYM.
25680 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25681 <bp-sym.h> and <bp-asm.h>.
25682 (memset): Don't use BP_SYM.
25683 (__bzero): Likewise.
25684 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25685 <bp-sym.h> and <bp-asm.h>.
25686 (__rawmemchr): Don't use BP_SYM.
25687 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25688 <bp-sym.h> and <bp-asm.h>.
25689 (__STRCMP): Don't use BP_SYM.
25690 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25691 <bp-sym.h> and <bp-asm.h>.
25692 (strchr): Don't use BP_SYM.
25693 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25694 <bp-sym.h> and <bp-asm.h>.
25695 (__strchrnul): Don't use BP_SYM.
25696 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25697 <bp-sym.h> and <bp-asm.h>.
25698 (strlen): Don't use BP_SYM.
25699 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25700 <bp-sym.h> and <bp-asm.h>.
25701 (strncmp): Don't use BP_SYM. Remove comment about bounded
25702 pointers.
25703 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25704 <bp-sym.h> and <bp-asm.h>.
25705 (__strnlen): Don't use BP_SYM.
25706 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25707 <bp-sym.h> and <bp-asm.h>.
25708 (__GI__setjmp): Don't use BP_SYM.
25709 (_setjmp): Likewise.
25710 (__sigsetjmp): Likewise.
25711 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25712 (L(start_addresses)): Don't use BP_SYM.
25713 (_start): Likewise.
25714 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25715 <bp-asm.h>.
25716 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25717 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25718 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25719 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25720 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25721 <bp-asm.h>.
25722 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25723 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
25724 about bounded pointers.
25725 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25726 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25727 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25728 <bp-asm.h>.
25729 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25730 about bounded pointers. Remove GKM FIXME comments.
25731 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25732 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25733 <bp-asm.h>.
25734 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25735 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
25736 Remove GKM FIXME comments.
25737 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25738 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25739 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25740 <bp-asm.h>.
25741 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25742 about bounded pointers. Remove GKM FIXME comment.
25743 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25744 and <bp-asm.h>.
25745 (strncmp): Don't use BP_SYM. Remove comment about bounded
25746 pointers.
25747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25748 <bp-sym.h> and <bp-asm.h>.
25749 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25751 <bp-sym.h> and <bp-asm.h>.
25752 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25753 comment.
25754
cdcf361f
PP
257552013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25756
25757 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25758 call free(NULL).
25759
3c4a2b15
DM
257602013-03-05 David S. Miller <davem@davemloft.net>
25761
25762 * po/es.po: Update from translation team.
25763
cdcf361f 257642013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
25765
25766 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25767 <bits/mman-linux.h>.
25768 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25769 is fine.
25770 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25771 <bits/mman-linux.h> to end of file.
25772 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25773 is fine.
25774 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25775 <bits/mman-linux.h> to end of file.
25776 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25777 is fine.
25778 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25779 <bits/mman-linux.h> to end of file.
25780
25781 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25782 (MCL_CURRENT, MCL_FUTURE): Define here.
25783
5f67c04f
AK
257842013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25785
8a4473cc 25786 [BZ #15232]
5f67c04f
AK
25787 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25788 attribute_hidden.
25789 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25790
c3e94a95
AK
257912013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25792
25793 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25794 fourth parameter needed for rt_sigprocmask syscall.
25795 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25796 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25797 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25798 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25799 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25800 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25801
cfb6382a
JM
258022013-03-04 Joseph Myers <joseph@codesourcery.com>
25803
25804 [BZ #13550]
25805 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25806 comment about bounded pointers.
25807 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25808 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25809
539d8e01
AJ
258102013-03-04 Andreas Jaeger <aj@suse.de>
25811
25812 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25813 common definitions.
25814
25815 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25816 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25817 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25818 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25819 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
25820 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25821
2e167a70 258222013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
25823
25824 [BZ #15055]
25825 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25826 __ieee754_sqrl instead of __sqrl.
25827
68508633
JM
258282013-03-01 Joseph Myers <joseph@codesourcery.com>
25829
25830 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25831 * sysdeps/powerpc/fpu_control.h: ... here.
25832 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25833 * sysdeps/powerpc/bits/fenvinline.h: ... here.
25834 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25835 * sysdeps/powerpc/bits/mathinline.h: ... here.
25836
7775448e
RM
258372013-03-01 Roland McGrath <roland@hack.frob.com>
25838
25839 * elf/dl-hwcaps.c (_dl_important_hwcaps):
25840 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25841 to just [NEED_DL_SYSINFO_DSO].
25842 * elf/dl-support.c: Likewise.
25843 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25844 * elf/rtld.c (dl_main): Likewise.
25845 * elf/setup-vdso.h (setup_vdso): Likewise.
25846 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25847 * sysdeps/unix/sysv/linux/dl-sysdep.c
25848 (_dl_discover_osversion): Likewise.
25849
4e9b5995
CD
258502013-03-01 Carlos O'Donell <carlos@redhat.com>
25851
25852 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25853 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25854
e23872c8
SP
258552013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25856
e5c74c63
SP
25857 * NEWS: Mention libm performance improvements and non-x86 PI
25858 futex support.
25859
e23872c8
SP
25860 * csu/libc-start.c (__pthread_initialize_minimal): Change
25861 function arguments.
25862 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25863
b5510883
JM
258642013-02-28 Joseph Myers <joseph@codesourcery.com>
25865
25866 [BZ #13550]
25867 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25868 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25869 <bp-sym.h> and <bp-asm.h>.
25870 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25871 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25872 and <bp-asm.h>.
25873 (memcpy): Don't use BP_SYM.
25874 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25875 <bp-asm.h>.
25876 (__mpn_add_n): Don't use BP_SYM.
25877 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25878 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25879 and <bp-asm.h>.
25880 (__mpn_addmul_1): Don't use BP_SYM.
25881 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25882 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25883 <bp-sym.h>.
25884 (_setjmp): Don't use BP_SYM.
25885 (__novmx_setjmp): Likewise.
25886 (__GI__setjmp): Likewise.
25887 (__vmx_setjmp): Likewise.
25888 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25889 <bp-sym.h>.
25890 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25891 (__bzero): Don't use BP_SYM.
25892 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25893 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25894 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25895 <bp-sym.h> and <bp-asm.h>.
25896 (memcpy): Don't use BP_SYM.
25897 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25898 <bp-sym.h> and <bp-asm.h>.
25899 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25900 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25901 <bp-sym.h> and <bp-asm.h>.
25902 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25903 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25904 <bp-asm.h>.
25905 (__mpn_lshift): Don't use BP_SYM.
25906 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25907 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25908 <bp-asm.h>.
25909 (memset): Don't use BP_SYM.
25910 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25911 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25912 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25913 <bp-asm.h>.
25914 (__mpn_mul_1): Don't use BP_SYM.
25915 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25916 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25917 <bp-sym.h> and <bp-asm.h>.
25918 (memcmp): Don't use BP_SYM.
25919 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25920 <bp-sym.h> and <bp-asm.h>.
25921 (memcpy): Don't use BP_SYM.
25922 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25923 <bp-sym.h> and <bp-asm.h>.
25924 (memset): Don't use BP_SYM.
25925 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25926 <bp-sym.h> and <bp-asm.h>.
25927 (strncmp): Don't use BP_SYM.
25928 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25929 <bp-sym.h> and <bp-asm.h>.
25930 (memcpy): Don't use BP_SYM.
25931 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25932 <bp-sym.h> and <bp-asm.h>.
25933 (memset): Don't use BP_SYM.
25934 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25935 <bp-sym.h> and <bp-asm.h>.
25936 (__memchr): Don't use BP_SYM.
25937 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25938 <bp-sym.h> and <bp-asm.h>.
25939 (memcmp): Don't use BP_SYM.
25940 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25941 <bp-sym.h> and <bp-asm.h>.
25942 (memcpy): Don't use BP_SYM.
25943 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25944 <bp-sym.h> and <bp-asm.h>.
25945 (__mempcpy): Don't use BP_SYM.
25946 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25947 <bp-sym.h> and <bp-asm.h>.
25948 (__memrchr): Don't use BP_SYM.
25949 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25950 <bp-sym.h> and <bp-asm.h>.
25951 (memset): Don't use BP_SYM.
25952 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25953 <bp-sym.h> and <bp-asm.h>.
25954 (__rawmemchr): Don't use BP_SYM.
25955 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25956 <bp-sym.h> and <bp-asm.h>.
25957 (__STRCMP): Don't use BP_SYM.
25958 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25959 <bp-sym.h> and <bp-asm.h>.
25960 (strchr): Don't use BP_SYM.
25961 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25962 <bp-sym.h> and <bp-asm.h>.
25963 (__strchrnul): Don't use BP_SYM.
25964 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25965 <bp-sym.h> and <bp-asm.h>.
25966 (strlen): Don't use BP_SYM.
25967 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25968 <bp-sym.h> and <bp-asm.h>.
25969 (strncmp): Don't use BP_SYM.
25970 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25971 <bp-sym.h> and <bp-asm.h>.
25972 (__strnlen): Don't use BP_SYM.
25973 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
25974 <bp-asm.h>.
25975 (__mpn_rshift): Don't use BP_SYM.
25976 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25977 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
25978 <bp-sym.h> and <bp-asm.h>.
25979 (__sigsetjmp): Don't use BP_SYM.
25980 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
25981 (L(start_addresses)): Don't use BP_SYM.
25982 (_start): Likewise.
25983 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
25984 <bp-asm.h>.
25985 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
25986 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25987 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25988 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
25989 <bp-asm.h>.
25990 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
25991 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25992 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25993 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25994 <bp-asm.h>.
25995 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25996 comments.
25997 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25998 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25999 <bp-asm.h>.
26000 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
26001 FIXME comments.
26002 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26003 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26004 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
26005 <bp-asm.h>.
26006 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26007 comment.
26008 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
26009 and <bp-asm.h>.
26010 (strncmp): Don't use BP_SYM,
26011 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
26012 <bp-asm.h>.
26013 (__mpn_sub_n): Don't use BP_SYM.
26014 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26015 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
26016 and <bp-asm.h>.
26017 (__mpn_submul_1): Don't use BP_SYM.
26018 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
26020 <bp-sym.h> and <bp-asm.h>.
26021 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
26023 <bp-sym.h> and <bp-asm.h>.
26024 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26025 comment.
26026
8d19fe64
SP
260272013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26028
26029 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
26030 Use ZK to minimize writes to Z.
26031 (sub_magnitudes): Simplify code a bit.
26032 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
26033 Use ZK to minimize writes to Z.
26034 (sub_magnitudes): Simplify code a bit.
26035
85bd816a
RM
260362013-02-27 Roland McGrath <roland@hack.frob.com>
26037
26038 * csu/gmon-start.c: Add special exception to license text.
26039
b5977bf2
RH
260402013-02-27 Richard Henderson <rth@redhat.com>
26041
26042 * scripts/config.guess: Update from config.git.
26043 * scripts/config.sub: Likewise.
26044
11d6e2f2
SP
260452013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26046
09c14ed2
SP
26047 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
26048
a688864e
SP
26049 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
26050
6295157a
SP
26051 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
26052
b8de2202
SP
26053 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
26054
11d6e2f2
SP
26055 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
26056
7e80ddb8
RM
260572013-02-26 Roland McGrath <roland@hack.frob.com>
26058
26059 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
26060 [$(build-shared = yes].
7e80ddb8 26061
7da6d9ed
SP
260622013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26063
45f05884
SP
26064 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
26065 (__mul): Reduce iterations for calculating mantissa.
26066
2236d359
SP
26067 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
26068 MPTWO.
26069 (__mpranred): Likewise.
26070
7da6d9ed
SP
26071 [BZ #15160]
26072 * malloc/memusagestat.c (main): Draw graphs for heap and stack
26073 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
26074
b7688c42
PE
260752013-02-26 Paul Eggert <eggert@cs.ucla.edu>
26076
26077 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
26078 Define __attribute__.
26079
53a5c423
SP
260802013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26081
26082 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
26083 unused.
26084 * posix/regex_internal.h (__attribute): Remove.
26085 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
26086 (re_string_context_at): Likewise.
26087 (bitset_not): Use __attribute__ and mark function as possibly
26088 unused.
26089 (bitset_merge): Likewise.
26090 (bitset_mask): Likewise.
26091 (re_string_char_size_at): Likewise.
26092 (re_string_wchar_at): Likewise.
26093 (re_string_elem_size_at): Likewise.
26094
60f5a8b5
SP
260952013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26096
2a983a2e
SP
26097 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
26098 code.
26099 (cc32): Likewise.
26100
e69804d1
SP
26101 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
26102 (__acr): Likewise.
26103 (__cpy): Likewise.
26104 (norm): Likewise.
26105 (denorm): Likewise.
26106 (__dbl_mp): Likewise.
26107 (add_magnitudes): Likewise.
26108 (sub_magnitudes): Likewise.
26109 (__mul): Likewise.
26110 (__inv): Likewise.
26111
2f22a1e8
SP
26112 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
26113 style.
26114
8930ddc7
SP
26115 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
26116 style.
26117
dc60cb11
SP
26118 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26119 code.
26120
60f5a8b5
SP
26121 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26122 up changes with default code.
26123 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26124 Likewise.
26125
b4d1fd33
AM
261262013-02-24 Allan McRae <allan@archlinux.org>
26127
faf6f8bc
AM
26128 * manual/socket.texi (The Internet Namespace): Order menu items
26129 to match that in the file.
26130
b4d1fd33
AM
26131 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26132 node listing of the info page menu.
26133
2366713d
JM
261342013-02-21 Joseph Myers <joseph@codesourcery.com>
26135
26136 [BZ #13550]
26137 * sysdeps/i386/bp-asm.h: Remove file.
26138 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26139 (PARMS): Do not use macros from bp-asm.h.
26140 (S1): Likewise.
26141 (S2): Likewise.
26142 (SIZE): Likewise.
26143 (__mpn_add_n): Do not use BP_SYM
26144 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26145 "bp-asm.h".
26146 (PARMS): Do not use macros from bp-asm.h.
26147 (S1): Likewise.
26148 (SIZE): Likewise.
26149 (__mpn_addmul_1): Do not use BP_SYM
26150 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26151 "bp-asm.h".
26152 (PARMS): Do not use macros from bp-asm.h.
26153 (SIGMSK): Likewise.
26154 (_setjmp): Likewise. Do not use BP_SYM.
26155 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
26156 "bp-asm.h".
26157 (PARMS): Do not use macros from bp-asm.h.
26158 (SIGMSK): Likewise.
26159 (setjmp): Likewise. Do not use BP_SYM.
26160 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
26161 "bp-asm.h".
26162 (PARMS): Do not use macros from bp-asm.h.
26163 (__frexp): Do not use BP_SYM.
26164 (frexp): Likewise.
26165 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26166 "bp-asm.h".
26167 (PARMS): Do not use macros from bp-asm.h.
26168 (__frexpf): Do not use BP_SYM.
26169 (frexpf): Likewise.
26170 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26171 "bp-asm.h".
26172 (PARMS): Do not use macros from bp-asm.h.
26173 (__frexpl): Do not use BP_SYM.
26174 (frexpl): Likewise.
26175 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26176 "bp-asm.h".
26177 (PARMS): Do not use macros from bp-asm.h.
26178 (__remquo): Do not use BP_SYM.
26179 (remquo): Likewise.
26180 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26181 "bp-asm.h".
26182 (PARMS): Do not use macros from bp-asm.h.
26183 (__remquof): Do not use BP_SYM.
26184 (remquof): Likewise.
26185 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26186 "bp-asm.h".
26187 (PARMS): Do not use macros from bp-asm.h.
26188 (__remquol): Do not use BP_SYM.
26189 (remquol): Likewise.
26190 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26191 "bp-asm.h".
26192 (PARMS): Do not use macros from bp-asm.h.
26193 (DEST): Likewise.
26194 (SRC): Likewise.
26195 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
26196 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26197 "bp-asm.h".
26198 (PARMS): Do not use macros from bp-asm.h.
26199 (strlen): Do not use BP_SYM.
26200 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
26201 "bp-asm.h".
26202 (PARMS): Do not use macros from bp-asm.h.
26203 (S1): Likewise.
26204 (S2): Likewise.
26205 (SIZE): Likewise.
26206 (__mpn_add_n): Do not use BP_SYM.
26207 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26208 "bp-asm.h".
26209 (PARMS): Do not use macros from bp-asm.h.
26210 (S1): Likewise.
26211 (SIZE): Likewise.
26212 (__mpn_addmul_1): Do not use BP_SYM.
26213 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26214 weak_alias.
26215 (bzero): Likewise.
26216 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26217 "bp-asm.h".
26218 (PARMS): Do not use macros from bp-asm.h.
26219 (S): Likewise.
26220 (SIZE): Likewise.
26221 (__mpn_lshift): Do not use BP_SYM.
26222 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
26223 "bp-asm.h".
26224 (PARMS): Do not use macros from bp-asm.h.
26225 (DEST): Likewise.
26226 (SRC): Likewise.
26227 (LEN): Likewise.
26228 (memcpy): Likewise. Do not use BP_SYM.
26229 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26230 libc_hidden_def and weak_alias.
26231 (mempcpy): Do not use BP_SYM in weak_alias.
26232 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26233 "bp-asm.h".
26234 (PARMS): Do not use macros from bp-asm.h.
26235 (DEST): Likewise.
26236 (LEN): Likewise.
26237 [!BZERO_P] (CHR): Likewise.
26238 (memset): Likewise. Do not use BP_SYM.
26239 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26240 "bp-asm.h".
26241 (PARMS): Do not use macros from bp-asm.h.
26242 (S1): Likewise.
26243 (SIZE): Likewise.
26244 (__mpn_mul_1): Do not use BP_SYM.
26245 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26246 "bp-asm.h".
26247 (PARMS): Do not use macros from bp-asm.h.
26248 (S): Likewise.
26249 (SIZE): Likewise.
26250 (__mpn_rshift): Do not use BP_SYM.
26251 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26252 "bp-asm.h".
26253 (PARMS): Do not use macros from bp-asm.h.
26254 (STR): Likewise.
26255 (CHR): Likewise.
26256 (strchr): Likewise. Do not use BP_SYM.
26257 (index): Do not use BP_SYM in weak_alias.
26258 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
26259 "bp-asm.h".
26260 (PARMS): Do not use macros from bp-asm.h.
26261 (DEST): Likewise.
26262 (SRC): Likewise.
26263 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
26264 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26265 "bp-asm.h".
26266 (PARMS): Do not use macros from bp-asm.h.
26267 (strlen): Do not use BP_SYM.
26268 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
26269 "bp-asm.h".
26270 (PARMS): Do not use macros from bp-asm.h.
26271 (S1): Likewise.
26272 (S2): Likewise.
26273 (SIZE): Likewise.
26274 (__mpn_sub_n): Do not use BP_SYM.
26275 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26276 "bp-asm.h".
26277 (PARMS): Do not use macros from bp-asm.h.
26278 (S1): Likewise.
26279 (SIZE): Likewise.
26280 (__mpn_submul_1): Do not use BP_SYM.
26281 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26282 "bp-asm.h".
26283 (PARMS): Do not use macros from bp-asm.h.
26284 (S1): Likewise.
26285 (S2): Likewise.
26286 (SIZE): Likewise.
26287 (__mpn_add_n): Do not use BP_SYM.
26288 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26289 weak_alias.
26290 (bzero): Likewise.
26291 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26292 "bp-asm.h".
26293 (PARMS): Do not use macros from bp-asm.h.
26294 (BLK2): Likewise.
26295 (LEN): Likewise.
26296 (memcmp): Do not use BP_SYM.
26297 (bcmp): Do not use BP_SYM in weak_alias.
26298 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26299 "bp-asm.h".
26300 (PARMS): Do not use macros from bp-asm.h.
26301 (DEST): Likewise.
26302 (SRC): Likewise.
26303 (LEN): Likewise.
26304 (memcpy): Likewise. Do not use BP_SYM.
26305 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26306 "bp-asm.h".
26307 (PARMS): Do not use macros from bp-asm.h.
26308 (DEST): Likewise.
26309 (SRC): Likewise.
26310 (LEN): Likewise.
26311 (memmove): Likewise. Do not use BP_SYM.
26312 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26313 "bp-asm.h".
26314 (PARMS): Do not use macros from bp-asm.h.
26315 (DEST): Likewise.
26316 (SRC): Likewise.
26317 (LEN): Likewise.
26318 (__mempcpy): Likewise. Do not use BP_SYM.
26319 (mempcpy): Do not use BP_SYM in weak_alias.
26320 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26321 "bp-asm.h".
26322 (PARMS): Do not use macros from bp-asm.h.
26323 (DEST): Likewise.
26324 (LEN): Likewise.
26325 [!BZERO_P] (CHR): Likewise.
26326 (memset): Likewise. Do not use BP_SYM.
26327 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26328 "bp-asm.h".
26329 (PARMS): Do not use macros from bp-asm.h.
26330 (STR2): Likewise.
26331 (strcmp): Do not use BP_SYM.
26332 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26333 "bp-asm.h".
26334 (PARMS): Do not use macros from bp-asm.h.
26335 (STR): Likewise.
26336 (DELIM): Likewise.
26337 [USE_AS_STRTOK_R] (SAVE): Likewise.
26338 (FUNCTION): Likewise. Do not use BP_SYM.
26339 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26340 aliases.
26341 (strtok_r): Likewise.
26342 (__GI___strtok_r): Likewise.
26343 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26344 (PARMS): Do not use macros from bp-asm.h.
26345 (S): Likewise.
26346 (SIZE): Likewise.
26347 (__mpn_lshift): Do not use BP_SYM.
26348 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26349 (PARMS): Do not use macros from bp-asm.h.
26350 (STR): Likewise.
26351 (CHR): Likewise.
26352 (__memchr): Do not use BP_SYM.
26353 (memchr): Do not use BP_SYM in weak_alias.
26354 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26355 (PARMS): Do not use macros from bp-asm.h.
26356 (BLK2): Likewise.
26357 (LEN): Likewise.
26358 (memcmp): Do not use BP_SYM.
26359 (bcmp): Do not use BP_SYM in weak_alias.
26360 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26361 (PARMS): Do not use macros from bp-asm.h.
26362 (S1): Likewise.
26363 (SIZE): Likewise.
26364 (__mpn_mul_1): Do not use BP_SYM.
26365 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26366 "bp-asm.h".
26367 (PARMS): Do not use macros from bp-asm.h.
26368 (STR): Likewise.
26369 (CHR): Likewise.
26370 (__rawmemchr): Do not use BP_SYM.
26371 (rawmemchr): Do not use BP_SYM in weak_alias.
26372 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26373 (PARMS): Do not use macros from bp-asm.h.
26374 (S): Likewise.
26375 (SIZE): Likewise.
26376 (__mpn_rshift): Do not use BP_SYM.
26377 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26378 (PARMS): Do not use macros from bp-asm.h.
26379 (SIGMSK): Likewise.
26380 (__sigsetjmp): Likewise. Do not use BP_SYM.
26381 * sysdeps/i386/start.S: Do not include "bp-sym.h".
26382 (_start): Do not use BP_SYM.
26383 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26384 (PARMS): Do not use macros from bp-asm.h.
26385 (DEST): Likewise.
26386 (SRC): Likewise.
26387 (__stpcpy): Likewise. Do not use BP_SYM.
26388 (stpcpy): Do not use BP_SYM in weak_alias.
26389 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26390 "bp-asm.h".
26391 (PARMS): Do not use macros from bp-asm.h.
26392 (DEST): Likewise.
26393 (SRC): Likewise.
26394 (LEN): Likewise.
26395 (__stpncpy): Likewise. Do not use BP_SYM.
26396 (stpncpy): Do not use BP_SYM in weak_alias.
26397 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26398 (PARMS): Do not use macros from bp-asm.h.
26399 (STR): Likewise.
26400 (CHR): Likewise.
26401 (strchr): Likewise. Do not use BP_SYM.
26402 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26403 "bp-asm.h".
26404 (PARMS): Do not use macros from bp-asm.h.
26405 (STR): Likewise.
26406 (CHR): Likewise.
26407 (__strchrnul): Likewise. Do not use BP_SYM.
26408 (strchrnul): Do not use BP_SYM in weak_alias.
26409 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26410 "bp-asm.h".
26411 (PARMS): Do not use macros from bp-asm.h.
26412 (STOP): Likewise.
26413 (strcspn): Do not use BP_SYM.
26414 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26415 "bp-asm.h".
26416 (PARMS): Do not use macros from bp-asm.h.
26417 (STR): Likewise.
26418 (STOP): Likewise.
26419 (strpbrk): Likewise. Do not use BP_SYM.
26420 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26421 "bp-asm.h".
26422 (PARMS): Do not use macros from bp-asm.h.
26423 (STR): Likewise.
26424 (CHR): Likewise.
26425 (strrchr): Likewise. Do not use BP_SYM.
26426 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26427 (PARMS): Do not use macros from bp-asm.h.
26428 (SKIP): Likewise.
26429 (strspn): Do not use BP_SYM.
26430 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26431 (PARMS): Do not use macros from bp-asm.h.
26432 (STR): Likewise.
26433 (DELIM): Likewise.
26434 (SAVE): Likewise.
26435 (FUNCTION): Likewise. Do not use BP_SYM.
26436 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26437 aliases.
26438 (strtok_r): Likewise.
26439 (__GI___strtok_r): Likewise.
26440 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26441 (PARMS): Do not use macros from bp-asm.h.
26442 (S1): Likewise.
26443 (S2): Likewise.
26444 (SIZE): Likewise.
26445 (__mpn_sub_n): Do not use BP_SYM.
26446 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26447 "bp-asm.h".
26448 (PARMS): Do not use macros from bp-asm.h.
26449 (S1): Likewise.
26450 (SIZE): Likewise.
26451 (__mpn_submul_1): Do not use BP_SYM.
26452 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26453 <bp-sym.h>.
26454 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26455 and <bp-asm.h>.
26456 (PARMS): Do not use macros from bp-asm.h.
26457 (FLAGS): Likewise.
26458 (PTID): Likewise.
26459 (TLS): Likewise.
26460 (CTID): Likewise.
26461 (__clone): Do not use BP_SYM.
26462 (clone): Do not use BP_SYM in weak_alias.
26463 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26464 and <bp-asm.h>.
26465 (PARMS): Do not use macros from bp-asm.h.
26466 (LEN): Likewise.
26467 (__mmap64): Do not use BP_SYM.
26468 (mmap64): Do not use BP_SYM in weak_alias.
26469 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26470 <bp-sym.h> and <bp-asm.h>.
26471 (PARMS): Do not use macros from bp-asm.h.
26472 (__posix_fadvise64_l64): Do not use BP_SYM.
26473 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26474 (PARMS): Do not use macros from bp-asm.h.
26475 (NSOPS): Likewise.
26476 (semtimedop): Do not use BP_SYM.
26477 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26478 and <bp-asm.h>.
26479
582a3cff
AM
264802013-02-21 Allan McRae <allan@archlinux.org>
26481
26482 * manual/message.texi (Charset conversion in gettext):
26483 Move @end statement to beginning of line.
26484
bab8a695
SP
264852013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26486
80945231
SP
26487 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26488 static.
26489 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26490 Likewise.
26491
bab8a695
SP
26492 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26493 (denorm): Likewise.
26494 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26495 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26496
e21d7aa7
AK
264972013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26498
26499 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26500 tail-call to the resolved function if pltexit isn't needed.
26501
4c7a4263
SP
265022013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26503
26504 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26505 or Y being zero as being unlikely.
26506 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26507 Likewise.
26508
41f49342
CD
265092013-02-20 Carlos O'Donell <carlos@redhat.com>
26510
26511 * manual/nss.texi (System Databases and Name Service Switch):
26512 Remove frobnicate @pxref.
26513
50022a93
TS
265142013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26515
26516 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26517 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26518
08cbd996
PM
265192013-02-20 Petr Machata <pmachata@redhat.com>
26520
26521 * elf/elf.h (R_ARM_TARGET1): New macro.
26522 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26523 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26524 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26525 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26526 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26527 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26528 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26529 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26530 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26531 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26532 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26533 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26534 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26535 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26536 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26537 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26538 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26539 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26540 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26541 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26542 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26543 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26544 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26545 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26546 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26547 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26548 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26549 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26550 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26551 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26552 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26553 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26554 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26555 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26556 (R_ARM_THM_GOT_BREL12): Likewise.
26557 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26558 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26559 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26560 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26561 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26562 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26563 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26564 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26565 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26566
c7b275d6
TS
265672013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26568
26569 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26570 __attribute_used__ to __attribute__ ((unused)).
26571
20cd7fb3
SP
265722013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26573
26574 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26575 powerpc mpa.c.
26576 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26577 comment formatting.
26578 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26579
92945b52
JM
265802013-02-19 Joseph Myers <joseph@codesourcery.com>
26581
26582 [BZ #13550]
26583 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26584 Remove macro.
26585 (ENTER): Remove both macro definitions.
26586 (LEAVE): Likewise.
26587 (CHECK_BOUNDS_LOW): Likewise.
26588 (CHECK_BOUNDS_HIGH): Likewise.
26589 (CHECK_BOUNDS_BOTH): Likewise.
26590 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26591 (RETURN_BOUNDED_POINTER): Likewise.
26592 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26593 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26594 (POP_ERRNO_LOCATION_RETURN): Likewise.
26595 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26596 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26597 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26598 macros.
26599 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26600 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26601 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26602 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26603 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26604 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26605 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26606 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26607 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26608 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26609 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26610 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26611 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26612 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26613 removed macros.
26614 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26615 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26616 macros.
26617 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26618 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26619 * sysdeps/i386/i586/memset.S (memset): Likewise.
26620 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26621 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26622 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26623 macros.
26624 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26625 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26626 Change uses of L(2) to L(out).
26627 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26628 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26629 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26630 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26631 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26632 removed macros.
26633 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26634 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26635 macros.
26636 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26637 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26638 (RETURN): Do not use macro LEAVE.
26639 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26640 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26641 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26642 * sysdeps/i386/i686/memset.S (memset): Likewise.
26643 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26644 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26645 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26646 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26647 Likewise.
26648 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26649 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
26650 L(1_2) and L(1_3) into L(1).
26651 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26652 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26653 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26654 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26655 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26656 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26657 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26658 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26659 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26660 macros.
26661 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26662 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26663 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26664 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26665 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26666 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26667 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26668 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26669 * sysdeps/i386/strcspn.S (strcspn): Likewise.
26670 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26671 * sysdeps/i386/strrchr.S (strrchr): Likewise.
26672 * sysdeps/i386/strspn.S (strspn): Likewise.
26673 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26674 conditional code.
26675 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26676 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26677 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26678 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
26679 L(1_3) into L(1_1).
26680 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26681 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26682 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26683 macros.
26684 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26685
2389741a
JJ
266862013-02-19 Jakub Jelinek <jakub@redhat.com>
26687
26688 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26689 macro.
26690
2016b3cd
SP
266912013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26692
e4f22324
SP
26693 * math/atest-exp.c (exp_mpn): Remove ROUND.
26694 * math/atest-exp2.c (exp_mpn): Likewise.
26695 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26696
2016b3cd
SP
26697 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26698 * stdlib/tst-tls-atexit-lib.c: Likewise.
26699 * stdlib/tst-tls-atexit.c: Likewise.
26700
4be9b544
MF
267012013-02-18 Mike Frysinger <vapier@gentoo.org>
26702
26703 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26704 and __attribute_alloc_size__.
26705
2f62b9ee
MF
267062013-02-18 Mike Frysinger <vapier@gentoo.org>
26707
26708 * include/programs/xmalloc.h: Change __attribute_alloc_size to
26709 __attribute_alloc_size__.
26710 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26711 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26712
6ff444c4
MF
267132013-02-18 Mike Frysinger <vapier@gentoo.org>
26714
26715 * include/programs/xmalloc.h: New file.
26716 * catgets/gencat.c: Include it.
26717 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26718 * elf/pldd.c: Likewise.
26719 * iconv/iconv_charmap.c: Likewise.
26720 * iconv/iconvconfig.c: Likewise.
26721 * iconv/strtab.c: Likewise.
26722 * locale/programs/locale.c: Likewise.
26723 * locale/programs/localedef.h: Likewise.
26724 * locale/programs/simple-hash.c: Likewise.
26725 * nscd/nscd.h: Likewise.
26726 * nss/makedb.c: Likewise.
26727 * sysdeps/generic/ldconfig.h: Likewise.
26728
be179c8a
SP
267292013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26730
ba384f6e
SP
26731 * Versions.def: Add GLIBC_2.18.
26732 * include/link.h (struct link_map): New member l_tls_dtor_count.
26733 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26734 (__call_tls_dtors): Likewise.
26735 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26736 __cxa_thread_atexit_impl.
26737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26738 Likewise.
26739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26740 Likewise.
26741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26742 Likewise.
26743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26744 Likewise.
26745 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26746 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26747 Likewise.
26748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26749 Likewise.
26750 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26752 Likewise.
26753 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26754 (tests): Add test case tst-tls-atexit.
26755 (modules-names): Add shared library for tst-tls-atexit.
85891aca 26756 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
26757 (GLIBC_PRIVATE): Add __call_tls_dtors.
26758 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26759 for libstdc++.
26760 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26761 * stdlib/tst-tls-atexit.c: New test case.
26762 * stdlib/tst-tls-atexit-lib.c: New test case.
26763
ffaa74cf 26764 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 26765
be179c8a
SP
26766 * elf/Versions (ld): Add _dl_find_dso_for_object.
26767 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26768 * elf/dl-open.c (_dl_find_dso_for_object): New function.
26769 (dl_open_worker): Use _dl_find_dso_for_object.
26770 * elf/dl-sym.c (do_sym): Likewise.
26771 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26772
f78b5caa
AK
267732013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26774
26775 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26776 Syntactic changes only.
26777 (_dl_runtime_profile): Do a tail-call to the resolved function.
26778
29691210
JM
267792013-02-17 Joseph Myers <joseph@codesourcery.com>
26780
26781 [BZ #13550]
26782 * sysdeps/x86_64/bp-asm.h: Remove file.
26783 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26784 <bp-sym.h> and <bp-asm.h>.
26785 (__clone): Do not use BP_SYM.
26786 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26787 <bp-sym.h> and <bp-asm.h>.
26788 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26789 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26790 "bp-asm.h".
26791 (_setjmp): Do not use BP_SYM.
26792 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26793 "bp-asm.h".
26794 (setjmp): Do not use BP_SYM.
26795 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26796 libc_hidden_def.
26797 (mempcpy): Do not use BP_SYM in weak_alias.
26798 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26799 "bp-asm.h".
26800 (strchr): Do not use BP_SYM.
26801 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26802 "bp-asm.h".
26803 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26804 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26805 (_start): Do not use BP_SYM.
26806 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26807 "bp-asm.h".
26808 (strcat): Do not use BP_SYM.
26809 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26810 "bp-asm.h".
26811 (STRCMP): Do not use BP_SYM.
26812 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26813 "bp-asm.h".
26814 (STRCPY): Do not use BP_SYM.
26815 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26816 "bp-asm.h".
26817 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26818 "bp-asm.h".
26819 (FUNCTION): Do not use BP_SYM.
26820 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26821 weak_alias.
26822 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26823
f238fd19
AJ
268242013-02-17 Andreas Jaeger <aj@suse.de>
26825
26826 * time/Versions: Sort entries.
26827 * string/Versions: Likewise.
26828 * resolv/Versions: Likewise.
26829 * posix/Versions: Likewise.
26830 * iconv/Versions: Likewise.
26831 * elf/Versions: Likewise.
26832 * wcsmbs/Versions: Likewise.
26833
bd07f23c 268342013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 26835
22af19f9
SP
26836 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26837 loop termination condition.
26838
4709fe76
SP
26839 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26840 variable to calculate EZ.
26841 (__sqr): Likewise.
2d0e0f29
SP
26842
26843 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26844 the lower precision input.
26845
daaa7713
JM
268462013-02-15 Joseph Myers <joseph@codesourcery.com>
26847
26848 [BZ #13550]
26849 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26850 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26851 (run-via-rtld-prefix): Do not handle %-bp tests.
26852 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26853 (all-object-suffixes): Remove .ob.
26854 (bppfx): Remove variable.
26855 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26856 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26857 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26858 [$(build-bounded) = yes] (libtype.ob): Likewise.
26859 * Makerules (elide-routines.ob): Remove variable.
26860 (do-tests-clean): Do not handle *-bp.out.
26861 (common-mostlyclean): Do not handle *-bp and *-bp.out.
26862 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26863 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26864 (tests): Do not include $(tests-bp.out).
26865 (xtests): Do not include $(xtests-bp.out).
26866 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26867 [$(build-bounded) = yes] ($(addprefix
26868 $(objpfx),$(binaries-bounded))): Remove rule.
26869 ($(objpfx)%-bp.out): Remove rule.
26870 * config.make.in (build-bounded): Remove variable.
26871 * crypt/Makefile [$(build-bounded) = yes]
26872 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26873 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26874 append to variable.
26875 [$(build-bounded) = yes] (install-lib): Likewise.
26876 [$(build-bounded) = yes] (generated): Likewise.
26877 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26878 Remove rule.
26879 * intl/Makefile [$(build-bounded) = yes]
26880 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26881 * math/Makefile [$(build-bounded) = yes]
26882 ($(tests:%=$(objpfx)%-bp): Likewise.
26883 * misc/Makefile [$(build-bounded) = yes]
26884 ($(objpfx)tst-tsearch-bp): Likewise.
26885 * nptl/Makeconfig (bounded-thread-library): Remove variable.
26886 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26887 Remove dependency.
26888 * string/Makefile (o-objects.ob): Remove variable.
26889 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26890 (CFLAGS-.ob): Remove variable.
26891 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26892 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26893 both definitions of variable.
26894 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26895 (ASFLAGS-.ob): Remove variable.
26896
e97ed6dd
JM
268972013-02-14 Joseph Myers <joseph@codesourcery.com>
26898
2bdd4ca6
JM
26899 [BZ #13550]
26900 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26901 Remove __BOUNDED_POINTERS__ from condition.
26902 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26903 * string/bits/string2.h [!__NO_STRING_INLINES &&
26904 !__BOUNDED_POINTERS__]: Likewise.
26905 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26906 Likewise.
26907 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26908 Remove conditional code.
26909 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26910 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26911 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26912 condition.
26913
e97ed6dd
JM
26914 [BZ #13550]
26915 * csu/libc-start.c: Do not include <bp-sym.h>.
26916 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26917 * elf/dl-open.c: Do not include <bp-sym.h>.
26918 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26919 * math/fegetenv.c: Do not include <bp-sym.h>.
26920 (fegetenv): Do not use BP_SYM in versioned symbols.
26921 * nptl/sysdeps/pthread/bits/libc-lockP.h
26922 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26923 <bp-sym.h>.
26924 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26925 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26926 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26927 (__pthread_mutex_destroy): Likewise.
26928 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26929 (__pthread_mutex_lock): Likewise.
26930 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26931 (__pthread_mutex_trylock): Likewise.
26932 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26933 (__pthread_mutex_unlock): Likewise.
26934 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26935 (__pthread_mutexattr_init): Likewise.
26936 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26937 (__pthread_mutexattr_destroy): Likewise.
26938 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26939 (__pthread_mutexattr_settype): Likewise.
26940 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26941 (__pthread_rwlock_init): Likewise.
26942 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26943 (__pthread_rwlock_destroy): Likewise.
26944 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26945 (__pthread_rwlock_rdlock): Likewise.
26946 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26947 (__pthread_rwlock_tryrdlock): Likewise.
26948 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26949 (__pthread_rwlock_wrlock): Likewise.
26950 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26951 (__pthread_rwlock_trywrlock): Likewise.
26952 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26953 (__pthread_rwlock_unlock): Likewise.
26954 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26955 (__pthread_key_create): Likewise.
26956 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26957 (__pthread_setspecific): Likewise.
26958 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26959 (__pthread_getspecific): Likewise.
26960 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26961 Likewise.
26962 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26963 (_pthread_cleanup_push_defer): Likewise.
26964 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26965 (_pthread_cleanup_pop_restore): Likewise.
26966 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26967 (pthread_setcancelstate): Likewise.
26968 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26969 <bp-sym.h>.
26970 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26971 (memchr): Do not use BP_SYM in weak_alias.
26972 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26973 (fegetenv): Do not use BP_SYM in versioned symbols.
26974 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
26975 (fesetenv): Do not use BP_SYM in versioned symbols.
26976 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26977 (feupdateenv): Do not use BP_SYM in versioned symbols.
26978 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26979 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26980 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
26981 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
26982 (open64): Do not use BP_SYM in weak_alias.
26983 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
26984 (fegetenv): Do not use BP_SYM in versioned symbols.
26985 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
26986 (fesetenv): Do not use BP_SYM in versioned symbols.
26987 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26988 (feupdateenv): Do not use BP_SYM in versioned symbols.
26989 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
26990 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
26991 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26992 (feraiseexcept): Do not use BP_SYM in versioned symbols.
26993 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26994 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26995 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26996 <bp-sym.h>.
26997 (__libc_start_main): Do not use BP_SYM.
26998
d6752ccd
SP
269992013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27000
cb57ce60
SP
27001 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
27002 redundant return line.
27003 (norm): Likewise.
27004 (denorm): Likewise.
27005 (dbl_mp): Likewise.
27006 (sub_magnitudes): Likewise.
27007 (__add): Likewise.
27008 (__sub): Likewise.
27009 (__mul): Likewise.
27010 (__inv): Likewise.
27011 (__dvd): Likewise.
27012 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
27013 (norm): Likewise.
27014 (denorm): Likewise.
27015 (dbl_mp): Likewise.
27016 (sub_magnitudes): Likewise.
27017 (__add): Likewise.
27018 (__sub): Likewise.
27019 (__mul): Likewise.
27020 (__inv): Likewise.
27021 (__dvd): Likewise.
27022
f414520d
SP
27023 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
27024 instead of __mul.
27025 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27026 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
27027 (cc32): Likewise.
27028
d6752ccd
SP
27029 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
27030 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
27031 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
27032 of __mul for squares.
27033 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
27034 function
27035 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
27036 Likewise.
27037 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
27038 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27039
70d9946a
JM
270402013-02-13 Joseph Myers <joseph@codesourcery.com>
27041
27042 [BZ #13550]
27043 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
27044 code.
27045 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
27046 prototype or function definition. Rename ubp_* variables and
27047 parameters. Remove argv definitions conditional on
27048 [__BOUNDED_POINTERS__].
27049 * debug/backtrace.c (__backtrace): Do not use __unbounded.
27050 * elf/dl-runtime.c (_dl_fixup): Likewise.
27051 * include/set-hooks.h (RUN_HOOK): Likewise.
27052 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
27053 definition.
27054 * string/strcpy.c (strcpy): Do not use __unbounded.
27055 * sysdeps/generic/frame.h (struct layout): Likewise.
27056 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
27057 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
27058 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
27059 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
27060 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
27061 (__backtrace): Likewise.
27062 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
27063 use __ptrvalue.
27064 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27065 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27066 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27067 Likewise.
27068 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
27069 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
27070 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27071 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27072 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
27073 Do not use __unbounded.
27074 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
27075 Rename __unboundedrlimits parameter to rlimits in prototype.
27076 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
27077 Do not use __unbounded.
27078 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
27079 not use __ptrvalue.
27080 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27081 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
27082 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27083 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
27084 __ptrvalue or __unbounded.
27085 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
27086 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
27087 use __unbounded.
27088 (__new_msgctl): Do not use __ptrvalue.
27089 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
27090 __unbounded.
27091 (__libc_msgrcv): Do not use __ptrvalue.
27092 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
27093 startup_info): Do not use __unbounded.
27094 (__libc_start_main): Likewise. Rename ubp_* variables and
27095 parameters. Remove argv definitions conditional on
27096 [__BOUNDED_POINTERS__].
27097 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
27098 __ptrvalue.
27099 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
27100 use __unbounded.
27101 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
27102 or __ptrvalue.
27103 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
27104 use __unbounded.
27105 (__new_shmctl): Do not use __ptrvalue.
27106 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27107 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27108 Likewise.
27109 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27110 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
27111 (__libc_sigaction): Likewise.
27112 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
27113 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
27114 Likewise.
27115 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27116
cc7834d6
OB
271172013-02-13 Ondřej Bílka <neleai@seznam.cz>
27118
ffb1ec7b 27119 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
27120
27121 * string/mempcpy.c: Implement by calling memcpy.
27122
bdf02814
SP
271232013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27124
c2af38aa
SP
27125 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27126
4e92d59e
SP
27127 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27128 evaluation.
27129
909279a5
SP
27130 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27131 values in the mantissa.
27132
bdf02814
SP
27133 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27134 minimize writes to Z.
27135 (sub_magnitudes): Simplify code a bit.
27136
cd525923
RM
271372013-02-12 Roland McGrath <roland@hack.frob.com>
27138
27139 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27140 from the message. The linker prefixes all warnings with that already.
27141
7e2f0d2d
AS
271422013-02-12 Andreas Schwab <schwab@suse.de>
27143
a445af0b
AS
27144 [BZ #15078]
27145 * posix/regexec.c (extend_buffers): Add parameter min_len.
27146 (check_matching): Pass minimum needed length.
27147 (clean_state_log_if_needed): Likewise.
27148 (get_subexp): Likewise.
27149 * posix/Makefile (tests): Add bug-regex34.
27150 (bug-regex34-ENV): Define.
27151 * posix/bug-regex34.c: New file.
27152
7e2f0d2d
AS
27153 [BZ #11561]
27154 * posix/regcomp.c (parse_bracket_exp): When looking up collating
27155 elements compare against the byte sequence of it, not its name.
27156 * posix/Makefile (tests): Add bug-regex35.
27157 (bug-regex35-ENV): Define.
27158 * posix/bug-regex35.c: New file.
27159
a175b684
TV
271602013-02-11 Tom de Vries <tom@codesourcery.com>
27161
27162 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
27163 comment.
27164 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27165 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27166 (CHECK_EOL): Add undef.
27167
310998fe 271682013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
27169
27170 * bits/stdlib-bsearch.h: New file.
27171 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 27172 * stdlib/stdlib.h: Likewise.
41eda41d 27173
8ded91fb
RM
271742013-02-11 Roland McGrath <roland@hack.frob.com>
27175
27176 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27177 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27178 declaration.
27179 * manual/search.texi (Array Search Function): Add missing const in
27180 lfind prototype.
27181 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27182 declaration to use rlim_t.
27183 (Basic Scheduling Functions): Remove erroneous const from
27184 sched_getparam prototype. Remove erroneous * from
27185 sched_get_priority_max and sched_get_priority_min prototypes.
27186 (Resource Usage): Fix summary @comment on vtimes to refer to
27187 sys/vtimes.h rather than vtimes.h.
27188 Add missing *s in vtimes prototype.
27189 (Limits on Resources): Fix ulimit prototype to return long int.
27190 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27191 prototypes to use long int rather than double.
27192 (BSD Random): Fix initstate and setstate to use char *, not void *.
27193 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27194 prototype to make second argument 'struct aiocb64 *const[]'.
27195 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27196 (Status of AIO Operations): Remove erroneous const in aio_return and
27197 aio_return64 prototypes.
27198 (Synchronizing I/O): Fix sync prototype to return void.
27199 * manual/startup.texi (Suboptions): Remove an erroneous const in
27200 getsubopt prototype.
27201 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27202 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27203 use size_t rather than int.
27204 (Scanning All Users): Likewise for getpwent_r.
27205 (Setting Groups): Add missing const to setgroups prototype.
27206 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27207 * manual/socket.texi (Host Names): Fix gethostbyaddr and
27208 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27209 'const void *' rather than 'const char *'.
27210 (Host Address Functions): Likewise for inet_ntop.
27211 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27212 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27213 ssize_t for return value.
27214 (Sending Data): Likewise for send, sendto, sendmsg.
27215 (Socket Option Functions): Add a missing const in setsockopt prototype.
27216 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27217 use wchar_t for the argument.
27218 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27219 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27220 take no arguments.
27221 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27222 double/float/long double for second argument.
27223 Fix return types of significand, significandf, significandl.
27224 * manual/filesys.texi (Setting Permissions): Use mode_t for second
27225 argument in fchmod prototype.
27226 (File Owner): Use uid_t and gid_t in fchown prototype.
27227 (File Times): Add const to utimes, futimes, and lutimes prototypes.
27228 (Making Special Files): Use mode_t and dev_t in mknod prototype.
27229 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27230 use 'const struct dirent **' as argument types to CMP function pointer
27231 argument.
27232 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27233 (File Times): Fix summary magic @comment for struct utimbuf and utime
27234 to refer to utime.h, not time.h.
27235 * manual/string.texi (Argz Functions): Add missing const in
27236 argz_extract and argz_next prototypes.
27237 (Finding Tokens in a String): Likewise for basename.
27238 (String/Array Comparison): Fix typo in wcscasecmp prototype.
27239 (Copying and Concatenation): Fix typo in wmemmove prototype.
27240 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27241 (Signal Stack): Remove erroneous const in sigstack prototype.
27242 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27243 prototype.
27244 (Simple Calendar Time): Likewise for stime.
27245 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27246 prototype.
27247 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27248 say sys/sysctl.h instead.
27249 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27250 and vsyslog prototypes.
27251
fe77fe6d
TV
272522013-02-11 Tom de Vries <tom@codesourcery.com>
27253
27254 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27255 Remove.
27256
3a09b620
RM
272572013-02-11 Roland McGrath <roland@hack.frob.com>
27258
27259 * misc/sys/mman.h: Fix typo in mremap comment.
27260
550a0b89
RM
272612013-02-08 Roland McGrath <roland@hack.frob.com>
27262
27263 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27264 the '\0' terminator.
27265
a2da1673
JM
272662013-02-08 Joseph Myers <joseph@codesourcery.com>
27267
27268 [BZ #13550]
27269 * debug/segfault.c: Don't include <bp-checks.h>.
27270 * sysdeps/generic/bp-checks.h: Remove file.
27271 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27272 (__GETDENTS): Don't use CHECK_N.
27273 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27274 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27275 (__getgroups): Don't use CHECK_N.
27276 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27277 (setgroups): Don't use CHECK_N.
27278 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27279 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27280 (__libc_msgrcv): Don't use CHECK_N.
27281 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27282 (__libc_msgsnd): Don't use CHECK_N.
27283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27284 <bp-checks.h>.
27285 (__libc_pread): Don't use CHECK_N.
27286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27287 include <bp-checks.h>.
27288 (__libc_pread64): Don't use CHECK_N.
27289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27290 include <bp-checks.h>.
27291 (__libc_pwrite): Don't use CHECK_N.
27292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27293 include <bp-checks.h>.
27294 (__libc_pwrite64): Don't use CHECK_N.
27295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27296 <bp-checks.h>.
27297 (__libc_pread): Don't use CHECK_N.
27298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27299 include <bp-checks.h>.
27300 (__libc_pread64): Don't use CHECK_N.
27301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27302 include <bp-checks.h>.
27303 (__libc_pwrite): Don't use CHECK_N.
27304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27305 include <bp-checks.h>.
27306 (__libc_pwrite64): Don't use CHECK_N.
27307 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27308 (do_pread): Don't use CHECK_N.
27309 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27310 (do_pread64): Don't use CHECK_N.
27311 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27312 (do_pwrite): Don't use CHECK_N.
27313 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27314 (do_pwrite64): Don't use CHECK_N.
27315 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27316 (__libc_readv): Don't use CHECK_N.
27317 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27318 (semop): Don't use CHECK_N.
27319 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27320 <bp-checks.h>.
27321 (semtimedop): Don't use CHECK_N.
27322 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27323 (__libc_pread): Don't use CHECK_N.
27324 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27325 <bp-checks.h>.
27326 (__libc_pread64): Don't use CHECK_N.
27327 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27328 <bp-checks.h>.
27329 (__libc_pwrite): Don't use CHECK_N.
27330 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27331 <bp-checks.h>.
27332 (__libc_pwrite64): Don't use CHECK_N.
27333 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27334 <bp-checks.h>.
27335 (__libc_msgrcv): Don't use CHECK_N.
27336 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27337 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
27338 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27339 (__libc_writev): Don't use CHECK_N.
27340
b84660a8
RM
273412013-02-08 Roland McGrath <roland@hack.frob.com>
27342
7f3e75f8
RM
27343 * string/strcpy.c: Removed unused variable.
27344
b84660a8
RM
27345 * Makeconfig (+sysdep-includes): Define with := rather than =.
27346 Use an existing include/ subdir of each sysdeps dir before it.
27347
471514d3
CD
273482013-02-08 Carlos O'Donell <carlos@redhat.com>
27349
27350 * nscd/connection.c (register_traced_file): Comment function.
27351 [HAVE_INOTIFY] (union __inev): Define.
27352 [HAVE_INOTIFY] (inotify_check_files): New function.
27353 [HAVE_INOTIFY] (clear_db_cache): Likewise.
27354 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27355 clear_db_cache.
27356 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27357
b2d3c3be
CD
273582013-02-08 Carlos O'Donell <carlos@redhat.com>
27359
27360 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27361 loaded if not already and that a failure is permanent.
27362
b39949d2
CD
273632013-02-08 Carlos O'Donell <carlos@redhat.com>
27364
ddacd1db 27365 [BZ #15006]
b39949d2
CD
27366 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27367 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27368
b2c9eff4
JM
273692013-02-08 Joseph Myers <joseph@codesourcery.com>
27370
f3aae3f3
JM
27371 [BZ #13550]
27372 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27373 (CHECK_1_NULL_OK): Likewise.
27374 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27375 (__fxstat): Do not use CHECK_1.
27376 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27377 <bp-checks.h>.
27378 (___fxstat64): Do not use CHECK_1.
27379 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27380 <bp-checks.h>.
27381 (__fxstatat): Do not use CHECK_1.
27382 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27383 <bp-checks.h>.
27384 (__fxstatat64): Do not use CHECK_1.
27385 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27386 <bp-checks.h>.
27387 (__fxstat): Do not use CHECK_1.
27388 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27389 <bp-checks.h>.
27390 (__fxstatat): Do not use CHECK_1.
27391 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27392 <bp-checks.h>.
27393 (__getresgid): Do not use CHECK_1.
27394 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27395 <bp-checks.h>.
27396 (__getresuid): Do not use CHECK_1.
27397 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27398 <bp-checks.h>.
27399 (__lxstat): Do not use CHECK_1.
27400 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27401 <bp-checks.h>.
27402 (__old_msgctl): Do not use CHECK_1.
27403 (__new_msgctl): Likewise.
27404 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27405 <bp-checks.h>.
27406 (__new_setrlimit): Do not use CHECK_1.
27407 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27408 <bp-checks.h>.
27409 (__old_shmctl): Do not use CHECK_1.
27410 (__new_shmctl): Likewise.
27411 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27412 <bp-checks.h>.
27413 (__xstat): Do not use CHECK_1.
27414 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27415 (__lxstat): Do not use CHECK_1.
27416 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27417 <bp-checks.h>.
27418 (___lxstat64): Do not use CHECK_1.
27419 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27420 (__old_msgctl): Do not use CHECK_1.
27421 (__new_msgctl): Likewise.
27422 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27423 <bp-checks.h>.
27424 (__gettimeofday): Do not use CHECK_1.
27425 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27426 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27427 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27428 <bp-checks.h>.
27429 (__gettimeofday): Do not use CHECK_1.
27430 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27431 (__old_shmctl): Do not use CHECK_1_NULL_OK.
27432 (__new_shmctl): Do not use CHECK_1.
27433 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27434 <bp-checks.h>.
27435 (do_sigtimedwait): Do not use CHECK_1.
27436 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27437 <bp-checks.h>.
27438 (do_sigwaitinfo): Do not use CHECK_1.
27439 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27440 <bp-checks.h>.
27441 (msgctl): Do not use CHECK_1.
27442 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27443 <bp-checks.h>.
27444 (shmctl): Do not use CHECK_1.
27445 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27446 (ustat): Do not use CHECK_1.
27447 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27448 <bp-checks.h>.
27449 (__fxstat): Do not use CHECK_1.
27450 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27451 <bp-checks.h>.
27452 (__fxstatat): Do not use CHECK_1.
27453 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27454 <bp-checks.h>.
27455 (__lxstat): Do not use CHECK_1.
27456 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27457 <bp-checks.h>.
27458 (__xstat): Do not use CHECK_1.
27459 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27460 (__xstat): Do not use CHECK_1.
27461 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27462 (___xstat64): Do not use CHECK_1.
27463
b2c9eff4
JM
27464 [BZ #13550]
27465 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27466 definitions.
27467 (CHECK_BOUNDS_HIGH): Likewise.
27468 * string/strcpy.c: Do not include <bp-checks.h>.
27469 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27470
f1d70dad
RM
274712013-02-07 Roland McGrath <roland@hack.frob.com>
27472
27473 * nscd/nscd-client.h (__nscd_drop_map_ref):
27474 Add __attribute__ ((unused)).
27475 * nis/nss-nisplus.h (niserr2nss): Likewise.
27476
27477 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27478 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27479
27480 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27481 Remove inline keyword.
27482 * include/rounding-mode.h (round_away): Likewise.
27483 * libio/wfileops.c (adjust_wide_data): Likewise.
27484 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27485 (__m128i_strloadu_tolower): Likewise.
27486 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27487 (__m128i_strloadu_tolower): Likewise.
27488 * time/mktime.c (ydhms_diff): Likewise.
27489 * locale/elem-hash.h (elem_hash): Likewise.
27490 * locale/setlocale.c (setdata): Likewise.
27491 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27492 (re_string_wchar_at): Likewise.
27493 (bitset_not, bitset_merge, bitset_mask): Likewise.
27494 [!(__GNUC__ > 3)] (inline): Remove macro.
27495 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27496 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27497 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27498 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27499 * string/memcmp.c (memcmp_bytes): Likewise.
27500 * locale/programs/locarchive.c (compute_hashval): Likewise.
27501 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27502 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27503 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27504 * nss/getent.c (print_rpc, print_protocols): Likewise.
27505 (print_passwd, print_group, print_aliases): Likewise.
27506 * nis/nss-nisplus.h (niserr2nss): Likewise.
27507 * nscd/connections.c (restart_p): Likewise.
27508 Change return type to bool.
27509
eab55bfb
RM
275102013-02-05 Roland McGrath <roland@hack.frob.com>
27511
7bd642f5
RM
27512 * Makeconfig (all-Depend-files): Add existing
27513 $(sorted-subdirs:=/Depend) files.
27514 (all-subdirs): Remove nss.
27515 * sysdeps/unix/inet/Subdirs: Add it here instead.
27516 * hesiod/Depend: New file.
27517
573c29b2
RM
27518 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27519 instead of calling alloca.
27520
b2e25af0
RM
27521 * io/lseek.c (__lseek): Rename to __libc_lseek.
27522 Define __lseek as an alias.
27523
eab55bfb
RM
27524 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27525
9a0d1941
CD
275262013-02-04 Carlos O'Donell <carlos@redhat.com>
27527
27528 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27529 else clause and remove check for non-standard endianness.
27530
b83bbec4
DM
275312013-02-04 David S. Miller <davem@davemloft.net>
27532
27533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27534
6277fdab
JM
275352013-02-04 Joseph Myers <joseph@codesourcery.com>
27536
27537 [BZ #13550]
27538 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27539 (__ubp_memchr): Remove prototype.
27540 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27541 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27542 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27543 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27544 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27545 Remove alias.
27546 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27547 (__ubp_memchr): Likewise.
27548 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27549 (__ubp_memchr): Likewise.
27550 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27551 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27552 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27553 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27554 CHECK_STRING.
27555 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27556 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27557 (__getcwd): Do not use CHECK_STRING.
27558 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27559 <bp-checks.h>.
27560 (__real_chown): Do not use CHECK_STRING.
27561 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27562 <bp-checks.h>.
27563 (fchownat): Do not use CHECK_STRING.
27564 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27565 CHECK_STRING.
27566 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27567 <bp-checks.h>.
27568 (__lchown): Do not use CHECK_STRING.
27569 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27570 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27571 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27572 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27574 include <bp-checks.h>.
27575 (truncate64): Do not use CHECK_STRING.
27576 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27577 <bp-checks.h>.
27578 (__real_chown): Do not use CHECK_STRING.
27579 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27580 <bp-checks.h>.
27581 (__lchown): Do not use CHECK_STRING.
27582 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27583 <bp-checks.h>.
27584 (__chown): Do not use CHECK_STRING.
27585 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27586 <bp-checks.h>.
27587 (truncate64): Do not use CHECK_STRING.
27588 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27589 Likewise.
27590 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27591 (__xmknod): Do not use CHECK_STRING.
27592 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27593 <bp-checks.h>.
27594 (__xmknodat): Do not use CHECK_STRING.
27595 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27596 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27597
903ae060
AS
275982013-02-04 Andreas Schwab <schwab@suse.de>
27599
27600 [BZ #14142]
27601 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27602 * include/netdb.h: Likewise for h_errno.
27603 * elf/tst-stackguard1.c: Include <tls.h>.
27604
542f9466
JK
276052013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
27606
27607 * elf/link.h (struct link_map): Extend the l_addr comment.
27608 * include/link.h (struct link_map): Likewise.
27609
e782a927
JM
276102013-02-01 Joseph Myers <joseph@codesourcery.com>
27611
27612 [BZ #13550]
27613 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27614 (BOUNDED_1): Remove macro.
27615 * debug/backtrace.c: Don't include <bp-checks.h>.
27616 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27617 (__backtrace): Likewise.
27618 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27619 <bp-checks.h>.
27620 (__backtrace): Don't use BOUNDED_1.
27621 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27622 <bp-checks.h>.
27623 (__backtrace): Don't use BOUNDED_1.
27624 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27625 (__backtrace): Don't use BOUNDED_1.
27626 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27627 (shmat): Don't use BOUNDED_N.
27628
8cf28c5e
JM
276292013-01-31 Joseph Myers <joseph@codesourcery.com>
27630
3a7ac8a0
JM
27631 [BZ #13550]
27632 * sysdeps/generic/bp-start.h: Remove file.
27633 * csu/libc-start.c: Don't include <bp-start.h>.
27634 (LIBC_START_MAIN): Set up __environ directly instead of using
27635 INIT_ARGV_and_ENVIRON.
27636 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27637 <bp-start.h>.
27638
f3499f95
JM
27639 [BZ #13550]
27640 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27641 definitions.
27642 (CHECK_FCNTL): Likewise.
27643 (CHECK_N_PAGES): Likewise.
27644
32a45bea
JM
27645 [BZ #13550]
27646 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27647 definitions.
27648 (CHECK_SIGSET_NULL_OK): Likewise.
27649 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27650 <bp-checks.h>.
27651 (sigpending): Don't use CHECK_SIGSET.
27652 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27653 <bp-checks.h>.
27654 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27655 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27656 <bp-checks.h>.
27657 (do_sigsuspend): Don't use CHECK_SIGSET.
27658 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27659 use CHECK_SIGSET.
27660 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27661 (do_sigwait): Don't use CHECK_SIGSET.
27662 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27663 use CHECK_SIGSET.
27664 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27665 include <bp-checks.h>.
27666 (sigpending): Don't use CHECK_SIGSET.
27667 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27668 include <bp-checks.h>.
27669 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27670 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27671 <bp-checks.h>.
27672 (sigpending): Don't use CHECK_SIGSET.
27673 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27674 <bp-checks.h>.
27675 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27676
2e8a5c8c
JM
27677 [BZ #13550]
27678 * sysdeps/generic/bp-semctl.h: Remove file.
27679 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27680 <bp-checks.h> and <bp-semctl.h>.
27681 (__old_semctl): Don't use CHECK_SEMCTL.
27682 (__new_semctl): Likewise.
27683 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27684 and <bp-semctl.h>.
27685 (__old_semctl): Don't use CHECK_SEMCTL.
27686 (__new_semctl): Likewise.
27687 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27688 <bp-checks.h> and <bp-semctl.h>.
27689 (__old_semctl): Don't use CHECK_SEMCTL.
27690 (__new_semctl): Likewise.
27691 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27692 <bp-checks.h> and <bp-semctl.h>.
27693 (semctl): Don't use CHECK_SEMCTL.
27694
c2d54929
JM
27695 [BZ #13550]
27696 * Makerules (elide-bp-thunks): Remove variable.
27697 (elide-routines.oS): Don't use $(elide-bp-thunks).
27698 (elide-routines.os): Likewise.
27699 (elide-routines.o): Likewise.
27700 (elide-routines.op): Likewise.
27701 (elide-routines.og): Likewise.
27702 (objects): Don't use $(bp-thunks).
27703 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27704 include.
27705 (common-generated): Do not add s-proto-bp.d.
27706 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27707 (int): Likewise.
27708 (typ): Likewise.
27709 Do not generate makefile rules for bounded-pointer thunks.
27710 * sysdeps/generic/bp-thunks.h: Remove file.
27711 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27712 * sysdeps/unix/s-proto-bp.S: Likewise.
27713
8cf28c5e
JM
27714 [BZ #15062]
27715 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27716 parts of result separately when argument is not close to line from
27717 -i to i and one part of argument is small.
27718 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27719 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27720 * math/libm-test.inc (cacos_test): Add more tests.
27721 (casin_test): Likewise.
27722 (casinh_test): Likewise.
27723 * sysdeps/i386/fpu/libm-test-ulps: Update.
27724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27725
c4e33b8d
DM
277262013-01-31 David S. Miller <davem@davemloft.net>
27727
27728 * po/de.po: Update from translation team.
27729
3b60b421
MK
277302013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
27731
27732 * time/tzfile.c: Include stdint.h for SIZE_MAX.
27733
bb931195
TS
277342013-01-25 Thomas Schwinge <thomas@codesourcery.com>
27735
b5a5da23
TS
27736 * configure.in (_AC_PROG_CC_C89): New definition.
27737 * configure: Regenerate.
27738
bb931195
TS
27739 * configure.in (AC_PROG_CPP): New definition.
27740 * configure: Regenerate.
27741
8c53a12c
JM
277422013-01-23 Joseph Myers <joseph@codesourcery.com>
27743
27744 * debug/tst-backtrace.h: New file.
27745 * debug/tst-backtrace2.c: Include tst-backtrace.h.
27746 (ret): Remove variable.
27747 (x): Likewise.
27748 (FAIL): Remove macro.
27749 (NO_INLINE): Likewise.
27750 (fn1): Use match function instead of strstr.
27751 * debug/tst-backtrace3.c: Include tst-backtrace.h.
27752 (ret): Remove variable.
27753 (x): Likewise.
27754 (FAIL): Remove macro.
27755 (NO_INLINE): Likewise.
27756 (fn): Use match function instead of strstr.
27757 * debug/tst-backtrace4.c: Include tst-backtrace.h.
27758 (ret): Remove variable.
27759 (x): Likewise.
27760 (FAIL): Remove macro.
27761 (NO_INLINE): Likewise.
27762 (handle_signal): Use match function instead of strstr.
27763 * debug/tst-backtrace5.c: Include tst-backtrace.h.
27764 (ret): Remove variable.
27765 (x): Likewise.
27766 (FAIL): Remove macro.
27767 (NO_INLINE): Likewise.
27768 (handle_signal): Use match function instead of strstr.
27769
4858fa2a
RM
277702013-01-23 Roland McGrath <roland@hack.frob.com>
27771
27772 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27773
bae8e7f5
DM
277742013-01-23 David S. Miller <davem@davemloft.net>
27775
27776 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27777 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27778 argument of CAS if possible.
27779 * sysdeps/sparc/sparc64/bits/atomic.h
27780 (__arch_compare_and_exchange_val_32_acq): Likewise.
27781 (__arch_compare_and_exchange_val_64_acq): Likewise.
27782
9cbbc4ae
PT
277832013-01-23 Pino Toscano <toscano.pino@tiscali.it>
27784
27785 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27786 * sysdeps/posix/ulimit.c: ... this.
92a601b8 27787 Include <limits.h>.
67b3f58c 27788 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 27789
5655a0b5
AC
277902013-01-23 Adam Conrad <adconrad@0c3.net>
27791
27792 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27793 (LDFLAGS-tst-array5): Likewise.
27794
052aff95
JM
277952013-01-23 Joseph Myers <joseph@codesourcery.com>
27796
27797 [BZ #15036]
27798 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27799 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27800 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27801 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27802
7c1e01aa
DM
278032013-01-21 David S. Miller <davem@davemloft.net>
27804
27805 * sysdeps/sparc/backtrace.c: New file.
27806 * sysdeps/sparc/sparc32/backtrace.h: New file.
27807 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27808 * sysdeps/sparc/sparc64/backtrace.h: New file.
27809 * sysdeps/sparc/sparc64/backtrace.c: Delete.
27810 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27811 -funwind-tables.
27812
ab087e0a
AS
278132013-01-21 Andreas Schwab <schwab@suse.de>
27814
27815 [BZ #15020]
27816 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27817 closed its stdout.
27818
ed689c2f
AS
278192013-01-20 Andreas Schwab <schwab@linux-m68k.org>
27820
27821 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27822 "mpa2.h".
27823 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27824
31d470ac
JM
278252013-01-18 Joseph Myers <joseph@codesourcery.com>
27826 Mark Mitchell <mark@codesourcery.com>
27827 Tom de Vries <tom@codesourcery.com>
27828 Paul Pluzhnikov <ppluzhnikov@google.com>
27829
27830 * debug/tst-backtrace2.c: New file.
27831 * debug/tst-backtrace3.c: Likewise.
27832 * debug/tst-backtrace4.c: Likewise.
27833 * debug/tst-backtrace5.c: Likewise.
27834 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27835 (CFLAGS-tst-backtrace3.c): Likewise.
27836 (CFLAGS-tst-backtrace4.c): Likewise.
27837 (CFLAGS-tst-backtrace5.c): Likewise.
27838 (LDFLAGS-tst-backtrace2): Likewise.
27839 (LDFLAGS-tst-backtrace3): Likewise.
27840 (LDFLAGS-tst-backtrace4): Likewise.
27841 (LDFLAGS-tst-backtrace5): Likewise.
27842 (tests): Add new tests tst-backtrace2, tst-backtrace3,
27843 tst-backtrace4 and tst-backtrace5.
27844
90567f30 278452013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
27846 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27847
27848 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27849 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27850 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27851 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27853 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27854 "+r" and remove output regs list as redundant. Add explicit inline
27855 asm to specify register of return val to work around compiler codegen
27856 bug. Remove (int) cast on return value. Add return type parameter to
27857 use in macro so that this macro does not truncate return value for
27858 64-bit values.
27859 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27860 pass to INTERNAL_VSYSCALL_NCS.
27861 (INLINE_VSYSCALL): Add 'long int' as return type to
27862 INTERNAL_VSYSCALL_NCS macro invocation.
27863 (INTERNAL_VSYSCALL): Add 'long int' as return type to
27864 INTERNAL_VSYSCALL_NCS macro invocation.
27865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27866
d3b9ea61
SP
278672013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27868
0b57daeb
SP
27869 [BZ #14496]
27870 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27871 Fix application of SIMD FP exception mask.
27872
caa99d06
SP
27873 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27874 mp_no from a power of two.
27875 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27876 __mpexp_twomm1. Use __pow_mp.
27877
d3b9ea61
SP
27878 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27879 multiplication.
27880
1dbaee3c
DM
278812013-01-17 David S. Miller <davem@davemloft.net>
27882
27883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27884
728d7b43
JM
278852013-01-17 Joseph Myers <joseph@codesourcery.com>
27886
27887 [BZ #15023]
27888 * include/complex.h: Condition contents on [!_COMPLEX_H].
27889 (__kernel_casinhf): New prototype.
27890 (__kernel_casinh): Likewise.
27891 (__kernel_casinhl): Likewise.
27892 * math/Makefile (libm_calls): Add k_casinh.
27893 * math/k_casinh.c: New file.
27894 * math/k_casinhf.c: Likewise.
27895 * math/k_casinhl.c: Likewise.
27896 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27897 finite nonzero arguments.
27898 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27899 finite nonzero arguments.
27900 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27901 finite nonzero arguments.
27902 * math/s_casinh.c: Do not include <float.h>.
27903 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27904 * math/s_casinhf.c: Do not include <float.h>.
27905 (__casinhf): Move code for finite nonzero arguments to
27906 k_casinhf.c.
27907 * math/s_casinhl.c: Do not include <float.h>.
27908 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27909 redefine.
27910 (__casinhl): Move code for finite nonzero arguments to
27911 k_casinhl.c.
27912 * math/libm-test.inc (cacos_test): Add more tests.
27913 * sysdeps/i386/fpu/libm-test-ulps: Update.
27914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27915
2a26ef3a
PT
279162013-01-17 Pino Toscano <toscano.pino@tiscali.it>
27917
27918 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27919 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27920 [!HAVE_MREMAP]: Remove [defined linux] case.
27921 * malloc/arena.c: Do not include <malloc-sysdep.h>.
27922
a897655d
SP
279232013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27924
27925 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27926
881ebe89 279272013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
27928
27929 * elf/elf.h (R_386_SIZE32): New relocation.
27930 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27931 R_386_SIZE32.
27932 (elf_machine_rela): Likewise.
27933 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27934 R_X86_64_SIZE64 and R_X86_64_SIZE32.
27935
59981e9b
JM
279362013-01-17 Joseph Myers <joseph@codesourcery.com>
27937
27938 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27939 (FP_FAST_FMA): Do not define.
27940 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27941 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27942 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27943 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27944 !_SOFT_FLOAT]: Likewise.
27945 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27946 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27947 value.
27948 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27949 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27950 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27951 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27952 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27953 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27954 file.
27955
cfa8054f
AS
279562013-01-16 Andreas Schwab <schwab@suse.de>
27957
27958 [BZ #14327]
27959 * include/stdlib.h (__mktemp): Add declaration.
27960 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27961 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27962
dd930cc5
SP
279632013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27964
881ebe89
SP
27965 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27966 definitions.
27967 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27968 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27969 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27970 definitions here.
27971 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27972 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27973 definitions.
27974 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
27975 and ONE.
27976 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
27977 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
27978 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
27979 definitions.
27980 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
27981 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
27982 definitions.
27983 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 27984
dd930cc5
SP
27985 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
27986
c19a9f89
DM
279872013-01-15 David S. Miller <davem@davemloft.net>
27988
1aa61767
DM
27989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27990 trunc{,f} to libm-sysdep_routes.
27991 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27993 file.
27994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27996 file.
27997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27998 file.
27999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
28000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
28001 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
28002 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
28003 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
28004 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
28005 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
28006 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
28007
c42d5e98
DM
28008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28009 nearbyint{,f} to libm-sysdep_routes.
28010 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
28012 New file.
28013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
28014 file.
28015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
28016 New file.
28017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
28018 file.
28019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
28020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
28021 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
28022 file.
28023 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
28024 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
28025 file.
28026 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
28027 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
28028 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
28029
c19a9f89
DM
28030 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28031 libc_feholdexcept and libc_fesetenv.
28032
357679d2
MF
280332013-01-15 Mike Frysinger <vapier@gentoo.org>
28034
28035 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
28036
65a82e3d
DM
280372013-01-14 David S. Miller <davem@davemloft.net>
28038
8b954ab9
DM
28039 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
28040 (SPARC_ASM_VIS2_IFUNC): Likewise.
28041 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
28042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
28043 use of 'siam' instruction.
28044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
28045 Likewise.
28046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
28047 Likewise.
28048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
28049 Likewise.
28050 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
28051 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
28052 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
28053 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
28054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
28055 file.
28056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
28057 file.
28058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
28059 file.
28060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
28061 file.
28062 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
28063 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
28064 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
28065 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
28066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
28067 new VIS2 routines.
28068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28071 Likewise.
28072 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28073 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28074 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28075 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
28077 routines to libm-sysdep_routines.
28078 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28079
65a82e3d
DM
28080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28081 fdim/fdimf to libm-sysdep_routines.
28082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
28083 file.
28084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
28085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
28086 file.
28087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
28088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
28089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
28090 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
28091 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
28092 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
28093 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
28094
e34ab705
SP
280952013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28096
2a91b573
SP
28097 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
28098 to optimize copies.
28099
1066a534
SP
28100 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
28101 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28102 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28103
e34ab705
SP
28104 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
28105 local variable MPTWO.
28106 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28107 Likewise.
28108
aba5e596
MF
281092013-01-13 Mike Frysinger <vapier@gentoo.org>
28110
28111 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
28112 GLOB_NOESCAPE.
28113
e557e9e5
MF
281142013-01-13 Mike Frysinger <vapier@gentoo.org>
28115
28116 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
28117
0428cec9
MF
281182013-01-13 Mike Frysinger <vapier@gentoo.org>
28119
28120 * manual/pattern.texi (glob_t): Document gl_flags.
28121 (glob64_t): Likewise.
28122
8794a964
DM
281232013-01-11 David S. Miller <davem@davemloft.net>
28124
66438c3f
RM
28125 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28126 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28127 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
28128 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28129 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28130 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28131 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28132 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28133 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28134 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28135 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28136 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28137 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28138
4ae4244d
DM
28139 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28140 sparc V9 rather than using V8 code.
28141 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28142 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28143
8794a964
DM
28144 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28145 Move to...
28146 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28147 Here.
28148
6270516e
RM
281492013-01-11 Roland McGrath <roland@hack.frob.com>
28150
28151 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28152 not in the main loop.
28153 * configure: Regenerated.
28154
6a57d931
JM
281552013-01-11 Joseph Myers <joseph@codesourcery.com>
28156
28157 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28158 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28159 to just #else.
28160 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
28161 [!__GLIBC_HAVE_LONG_LONG] case.
28162 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28163 condition to just #else.
28164 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28165 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28166 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28167 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28168 unconditional.
28169 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28170 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28171 #elif condition to just #else.
28172 * sysdeps/unix/sysv/linux/sys/sysmacros.h
28173 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28174 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28175 #elif condition to just #else.
28176
0e8529e9
SE
281772013-01-11 Steve Ellcey <sellcey@mips.com>
28178
28179 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28180 (EF_MIPS_ARCH_64): Fix value.
28181 (EF_MIPS_ARCH_32R2): New.
28182 (EF_MIPS_ARCH_64R2): New.
28183
740b3dbe
L
281842013-01-11 H.J. Lu <hongjiu.lu@intel.com>
28185
28186 * Makeconfig (+link-pie-before-libc): New.
28187 (+link-pie-after-libc): Likewise.
28188 (+link-pie-tests): Likewise.
28189 (+link-pie): Rewritten.
28190 (link-before-libc): Remove $(config-LDFLAGS).
28191 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28192 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28193 (config-LDFLAGS): Renamed to ...
28194 (rtld-LDFLAGS): This.
28195 (rtld-tests-LDFLAGS): New macro.
28196 (link-libc-rpath-link): Likewise.
28197 (link-libc-tests-rpath-link): Likewise.
28198 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28199 (link-libc): Prepand $(link-libc-rpath-link).
28200 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28201 (test-program-prefix): New macro.
28202 (test-via-rtld-prefix): Likewise.
28203 (test-program-cmd): Likewise.
28204 (host-test-program-cmd): Likewise.
28205 * Makefile ($(common-objpfx)testrun.sh): Replace
28206 $(run-program-prefix) with $(test-program-prefix).
28207 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28208 $(rtld-LDFLAGS).
28209 ($(common-objpfx)shlib.lds): Likewise.
28210 (build-module-helper): Likewise.
28211 ($(common-objpfx)format.lds): Likewise.
28212 * Rules (binaries-pie-tests): New.
28213 (binaries-pie-notests): Likewise.
28214 (binaries-pie): Rewritten.
28215 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28216 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28217 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28218 (make-test-out): Replace $(host-built-program-cmd) with
28219 $(host-test-program-cmd).
28220 * config.make.in (build-hardcoded-path-in-tests): New variable.
28221 * configure.in (--enable-hardcoded-path-in-tests): New configure
28222 option.
28223 (hardcoded_path_in_tests): New AC_SUBST.
28224 * configure: Regenerated.
28225 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28226 $(built-program-cmd) with $(test-program-cmd).
28227 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28228 (test_program_cmd): This.
28229 * elf/Makefile ($(objpfx)order.out): Run test with
28230 $(test-program-prefix).
28231 ($(objpfx)order2.out): Likewise.
28232 ($(objpfx)tst-initorder.out): Likewise.
28233 ($(objpfx)tst-initorder2.out): Likewise.
28234 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28235 $(test-program-cmd).
28236 ($(objpfx)tst-array1-static.out): Likewise.
28237 ($(objpfx)tst-array2.out): Likewise.
28238 ($(objpfx)tst-array3.out): Likewise.
28239 ($(objpfx)tst-array4.out): Likewise.
28240 ($(objpfx)tst-array5.out): Likewise.
28241 ($(objpfx)tst-array5-static.out): Likewise.
28242 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28243 $(test-program-cmd).
28244 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28245 $(run-program-prefix) with $(test-program-prefix).
28246 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28247 (test_program_prefix): This.
28248 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28249 $(run-program-prefix) with $(test-program-prefix).
28250 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28251 (test_program_prefix): This.
28252 * iconvdata/tst-tables.sh: Likewise.
28253 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28254 $(run-program-prefix) with $(test-program-prefix).
28255 ($(objpfx)tst-translit.out): Likewise.
28256 ($(objpfx)tst-gettext2.out): Likewise.
28257 ($(objpfx)tst-gettext4.out): Likewise.
28258 ($(objpfx)tst-gettext6.out): Likewise.
28259 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28260 (test_program_prefix): This.
28261 * intl/tst-gettext2.sh: Likewise.
28262 * intl/tst-gettext4.sh Likewise.
28263 * intl/tst-gettext6.sh: Likewise.
28264 * intl/tst-translit.sh: Likewise.
28265 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28266 with $(test-program-cmd).
28267 * libio/Makefile ($(objpfx)test-freopen.out): Replace
28268 $(run-program-prefix) with $(test-program-prefix).
28269 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28270 (test_program_prefix): This.
28271 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28272 $(run-program-prefix) with $(test-program-prefix).
28273 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28274 (test_program_prefix): This.
28275 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28276 * posix/Makefile ($(objpfx)globtest.out): Replace
28277 $(run-via-rtld-prefix) and $(test-wrapper) with
28278 $(test-program-prefix) and $(test-via-rtld-prefix).
28279 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28280 $(test-program-prefix).
28281 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28282 $(host-test-program-cmd).
28283 (tst-spawn-ARGS): Likewise.
28284 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28285 $(test-program-prefix).
28286 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28287 (test_via_rtld_prefix): This.
28288 (test_wrapper): Renamed to ...
28289 (test_program_prefix): This.
28290 (run_program_prefix): Replaced by test_program_prefix.
28291 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28292 (test_program_prefix): This.
28293 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28294 with $(host-test-program-cmd).
28295 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28296 $(run-program-prefix) with $(test-program-prefix).
28297 ($(objpfx)tst-printf.out): Likewise.
28298 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28299 $(test-program-cmd).
28300 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28301 (test_program_prefix): This.
28302 * stdio-common/tst-unbputc.sh: Likewise.
28303 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28304 $(run-program-prefix) with $(test-program-prefix).
28305 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28306 (test_program_prefix): This.
28307 * string/Makefile ($(objpfx)tst-svc.out): Replace
28308 $(built-program-cmd) with $(test-program-cmd).
28309
c6fe55cf
AJ
283102013-01-11 Andreas Jaeger <aj@suse.de>
28311
28312 [BZ #15003]
28313 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28314 value. Sync with Linux 3.7.
28315
9e6919c8
DM
283162013-01-10 David S. Miller <davem@davemloft.net>
28317
28318 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28319 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28320 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28321
1c9f1a02
RM
283222013-01-10 Roland McGrath <roland@hack.frob.com>
28323
28324 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28325 never set.
28326 * configure: Regenerated.
28327
b9de2dde
DM
283282013-01-10 David S. Miller <davem@davemloft.net>
28329
28330 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28331 sparc V9 rather than using V8 code.
28332 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28333 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28334
e7f68ef4
RM
283352013-01-10 Roland McGrath <roland@hack.frob.com>
28336
28337 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28338 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28339 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28340 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28341 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28342 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28343 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28344 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28345 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28346 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28347 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28348 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28349 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28350 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28351 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28352 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28353 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28354 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28355 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28356 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28357 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28358 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28359 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28360 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28361 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28362 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28363 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28364
5a47cc9c
DM
283652013-01-10 David S. Miller <davem@davemloft.net>
28366
28367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28368
4cf8f209
L
283692013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28370
28371 * posix/Makefile (tests-static): New variable.
28372 (tests): Add $(tests-static).
28373 (tst-exec-static-ARGS): New variable.
28374 (tst-spawn-static-ARGS): Likewise.
28375 * posix/tst-exec-static.c: New file.
28376 * posix/tst-spawn-static.c: Likewise.
28377 * posix/tst-exec.c: Support run directly.
28378 * posix/tst-spawn.c: Likewise.
28379
fed0faa1
JM
283802013-01-10 Joseph Myers <joseph@codesourcery.com>
28381
828beb13
JM
28382 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28383 long.
28384 * math/bits/mathcalls.h (llrint): Likewise.
28385 (llround): Likewise.
28386 * stdlib/stdlib.h (struct drand48_data): Likewise.
28387 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28388 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28389 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28390 Likewise.
28391 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28392 Likewise.
28393 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28394 (elf_greg_t): Likewise.
28395 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28396 (__jmp_buf): Likewise.
28397 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28398 definitions.
28399 (llrint): Likewise, for all definitions.
28400 (llrintl): Likewise.
28401
fed0faa1
JM
28402 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28403 Remove [__GNUC__] condition.
28404 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28405 condition to just [__USE_ISOC99].
28406 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28407
1a20cb20
L
284082013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28409
28410 [BZ #14200]
28411 * sysdeps/unix/sysv/linux/x86/bits/environments.h
28412 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28413 defined.
28414 (_POSIX_V6_ILP32_OFF32): Likewise.
28415 (_XBS5_ILP32_OFF32): Likewise.
28416 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28417 (__ILP32_OFFBIG_LDFLAGS): Likewise.
28418
751b85f7
SP
284192013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28420
7490eb81
SP
28421 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28422
751b85f7
SP
28423 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28424 doubles __mpexp_twomm1. Adjust usage.
28425 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28426 Remove.
28427
988197f0
AS
284282013-01-10 Andreas Schwab <schwab@suse.de>
28429
28430 [BZ #14964]
28431 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28432 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28433
e83d7298
DM
284342013-01-09 David S. Miller <davem@davemloft.net>
28435
034ed64b 28436 [BZ #15003]
57f41c40
AS
28437 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28438 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28439 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28440 (TCP_FASTOPEN): Define.
e83d7298
DM
28441 (tcp_repair_opt): New structure.
28442 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28443 enum values.
57f41c40
AS
28444 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28445 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28446 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
28447 (tcp_cookie_transactions): New structure.
28448
d5e0b9bd
AB
284492013-01-09 Anton Blanchard <anton@samba.org>
28450
28451 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28452 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28453 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28454 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28455
0c07e3ea
JM
284562013-01-09 Joseph Myers <joseph@codesourcery.com>
28457
28458 * include/features.h (__USE_ANSI): Remove.
28459
232f7002
RM
284602013-01-09 Roland McGrath <roland@hack.frob.com>
28461
ad98e30c
RM
28462 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28463
232f7002
RM
28464 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28465
950c99ca
SP
284662013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28467
b5792741
SP
28468 * sysdeps/s390/fpu/libm-test-ulps: Update.
28469
47cf2278
SP
28470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28471
950c99ca
SP
28472 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28473 (__acr): Likewise.
28474 (__cpy): Likewise.
28475 (norm): Likewise.
28476 (denorm): Likewise.
28477 (__mp_dbl): Likewise.
28478 (__dbl_mp): Likewise.
28479 (add_magnitudes): Likewise.
28480 (sub_magnitudes): Likewise.
28481 (__add): Likewise.
28482 (__sub): Likewise.
28483 (__mul): Likewise.
28484 (__inv): Likewise.
28485 (__dvd): Likewise.
28486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28487 (__acr): Likewise.
28488 (__cpy): Likewise.
28489 (norm): Likewise.
28490 (denorm): Likewise.
28491 (__mp_dbl): Likewise.
28492 (__dbl_mp): Likewise.
28493 (add_magnitudes): Likewise.
28494 (sub_magnitudes): Likewise.
28495 (__add): Likewise.
28496 (__sub): Likewise.
28497 (__mul): Likewise.
28498 (__inv): Likewise.
28499 (__dvd): Likewise.
28500 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28501 (__acr): Likewise.
28502 (__cpy): Likewise.
28503 (norm): Likewise.
28504 (denorm): Likewise.
28505 (__mp_dbl): Likewise.
28506 (__dbl_mp): Likewise.
28507 (add_magnitudes): Likewise.
28508 (sub_magnitudes): Likewise.
28509 (__add): Likewise.
28510 (__sub): Likewise.
28511 (__mul): Likewise.
28512 (__inv): Likewise.
28513 (__dvd): Likewise.
28514
eede9df9
JM
285152013-01-08 Joseph Myers <joseph@codesourcery.com>
28516
28517 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28518 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28519 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28520 2 && __USE_EXTERN_INLINES]: Likewise.
28521
c40ea3d9
AJ
285222013-01-08 Andreas Jaeger <aj@suse.de>
28523
28524 [BZ# 14985]
28525 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28526 Remove.
28527 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28528 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28529
2ccdea26
AB
285302013-01-07 Anton Blanchard <anton@samba.org>
28531
28532 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28533 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28534 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28535 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28536 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28537 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28538 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28539 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28540 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28541 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28542 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28543 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28544 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28545 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28546 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28547 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28548 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28549 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28550 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28551 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28552 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28553 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28554 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28555 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28556 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28557 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28558 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28559 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28560 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28561 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28562 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28563 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28564 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28565 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28566 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28567 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28568 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28569 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28570 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28571 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28572 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28573 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28574 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28575
a9708fed
JM
285762013-01-07 Joseph Myers <joseph@codesourcery.com>
28577
375607b9
JM
28578 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28579 (__MALLOC_PMT): Likewise.
28580 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28581 [__GNUC__], only on [_LIBC].
28582 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28583 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28584 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28585 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28586 forward declaration.
28587 (realloc_hook_ini): Likewise.
28588 (memalign_hook_ini): Likewise.
28589 (__libc_memalign): Do not use __MALLOC_PMT in variable
28590 declaration.
28591 (__libc_valloc): Likewise.
28592 (__libc_pvalloc): Likewise.
28593 (__libc_calloc): Likewise.
28594 (__posix_memalign): Likewise.
28595
a9708fed
JM
28596 [BZ #14996]
28597 * math/s_casinh.c: Include <float.h>.
28598 (__casinh): Do not do computation with squaring and square root
28599 for large arguments.
28600 * math/s_casinhf.c: Include <float.h>.
28601 (__casinhf): Do not do computation with squaring and square root
28602 for large arguments.
28603 * math/s_casinhl.c: Include <float.h>.
28604 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28605 (__casinhl): Do not do computation with squaring and square root
28606 for large arguments.
28607 * math/libm-test.inc (casin_test): Add more tests.
28608 (casinh_test): Likewise.
28609 * sysdeps/i386/fpu/libm-test-ulps: Update.
28610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28611
afec409a
L
286122013-01-04 H.J. Lu <hongjiu.lu@intel.com>
28613
28614 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28615 (__x86_64_raw_data_cache_size): Likewise.
28616 (__x86_64_data_cache_size_half): Likewise.
28617 (__x86_64_raw_data_cache_size_half): Likewise.
28618 (__x86_64_shared_cache_size): Likewise.
28619 (__x86_64_raw_shared_cache_size): Likewise.
28620 (__x86_64_shared_cache_size_half): Likewise.
28621 (__x86_64_raw_shared_cache_size_half): Likewise.
28622 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28623 to ...
28624 (__x86_data_cache_size): This.
28625 (__x86_64_raw_data_cache_size): Renamed to ...
28626 (__x86_raw_data_cache_size): This.
28627 (__x86_64_data_cache_size_half): Renamed to ...
28628 (__x86_data_cache_size_half): This.
28629 (__x86_64_raw_data_cache_size_half): Renamed to ...
28630 (__x86_raw_data_cache_size_half): This.
28631 (__x86_64_shared_cache_size): Renamed to ...
28632 (__x86_shared_cache_size): This.
28633 (__x86_64_raw_shared_cache_size): Renamed to ...
28634 (__x86_raw_shared_cache_size): This.
28635 (__x86_64_shared_cache_size_half): Renamed to ...
28636 (__x86_shared_cache_size_half): This.
28637 (__x86_64_raw_shared_cache_size_half): Renamed to ...
28638 (__x86_raw_shared_cache_size_half): This.
28639 * sysdeps/x86_64/memcpy.S: Updated.
28640 * sysdeps/x86_64/memset.S: Likewise.
28641 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28642 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28643 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28644
0b3986d0
DM
286452013-01-04 David S. Miller <davem@davemloft.net>
28646
28647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28648
e47686e9
AS
286492013-01-04 Andreas Schwab <schwab@linux-m68k.org>
28650
d643bac1
AS
28651 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28652 1 to avoid redefinition warning.
28653 (__USE_GNU): Don't define.
28654 (init_signaling_nan): Protoize.
28655
e47686e9
AS
28656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28657
b18decba
SP
286582013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28659
fffb407f
SP
28660 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28661 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28662 (__cpymn): Likewise.
28663 (norm): Remove commented code.
28664 (denorm): Likewise.
28665 (__mp_dbl): Likewise.
28666 (__inv): Likewise.
28667 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28668 (__cpymn): Likewise.
28669 (norm): Remove commented code.
28670 (denorm): Likewise.
28671 (__mp_dbl): Likewise.
28672 (__inv): Likewise.
28673
b18decba
SP
28674 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28675 mp_no value for 1.0 and 2.0.
28676 (norm): Use RADIXI instead of radixi.d.
28677 (denorm): Likewise.
28678 (__mul): Use 0.0 instead of zero.d.
28679 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28680 mp_no value for 1.0 and 2.0.
28681 (norm): Use RADIXI instead of radixi.d.
28682 (denorm): Likewise.
28683 (__mul): Use 0.0 instead of zero.d.
28684
cdc1c96f
JM
286852013-01-04 Joseph Myers <joseph@codesourcery.com>
28686
28687 [BZ #14994]
28688 * math/s_casinh.c (__casinh): Reduce finite argument to first
28689 quadrant then set signs of results at the end.
28690 * math/s_casinhf.c (__casinhf): Likewise.
28691 * math/s_casinhl.c (__casinhl): Likewise.
28692 * math/libm-test.inc (casin_test): Add more tests.
28693 (casinh_test): Likewise.
28694 * sysdeps/i386/fpu/libm-test-ulps: Update.
28695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28696
302913e1
SP
286972013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28698
6420d207
SP
28699 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28700
a9e48ab4
SP
28701 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28702
b7837264
SP
28703 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28704 declarations.
28705 (denorm): Likewise.
28706 (__mp_dbl): Likewise.
28707 (__inv): Likewise.
28708
f8af25d2
SP
28709 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28710 and adjust the header comment.
28711
302913e1
SP
28712 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28713 variable name from declaration.
28714
5d7dd1ca
L
287152013-01-03 H.J. Lu <hongjiu.lu@intel.com>
28716
28717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28718 Initialize COMMON_CPUID_INDEX_7 element.
28719 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28720 (CPUID_RTM): Likewise.
28721 (HAS_RTM): Likewise.
28722 (COMMON_CPUID_INDEX_7): New enum.
28723
2f5f40f4
AS
287242013-01-03 Andreas Schwab <schwab@linux-m68k.org>
28725
28726 [BZ #14981]
28727 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28728 size is zero, record memory as freed.
28729
4056f4a0
AJ
287302013-01-03 Andreas Jaeger <aj@suse.de>
28731
28732 * po/ia.po: Add new Interlingua translation.
28733
ab15736f 287342012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
28735
28736 * locale/programs/localedef.c: Fix description of '--posix' flag.
28737
568035b7
JM
287382013-01-02 Joseph Myers <joseph@codesourcery.com>
28739
e6898b8d
JM
28740 * NEWS: Update dates in second copyright notice.
28741 * README: Update copyright dates in example.
28742 * manual/libc.texinfo: Update copyright dates.
28743 * scripts/test-installation.pl: Update copyright date in --version
28744 output.
28745
0e2f9562
JM
28746 * hurd/ctty-input.c: Fix copyright notice formatting.
28747 * hurd/ctty-output.c: Likewise.
28748 * hurd/dtable.c: Likewise.
28749 * hurd/hurd-raise.c: Likewise.
28750 * hurd/hurdprio.c: Likewise.
28751 * hurd/msgportdemux.c: Likewise.
28752 * misc/sys/file.h: Likewise.
28753 * misc/sys/ioctl.h: Likewise.
28754 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28755 * sysdeps/mach/hurd/chdir.c: Likewise.
28756 * sysdeps/mach/hurd/fchdir.c: Likewise.
28757 * sysdeps/mach/hurd/rename.c: Likewise.
28758 * sysdeps/mach/hurd/rmdir.c: Likewise.
28759 * sysdeps/mach/hurd/seekdir.c: Likewise.
28760 * sysdeps/mach/hurd/setsid.c: Likewise.
28761 * sysdeps/posix/wait3.c: Likewise.
28762
568035b7
JM
28763 * All files with FSF copyright notices: Update copyright dates
28764 using scripts/update-copyrights.
28765 * intl/plural.c: Regenerated.
28766 * locale/programs/charmap-kw.h: Likewise.
28767 * locale/programs/locfile-kw.h: Likewise.
28768
da08f647
SP
287692013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28770
0f5477af
SP
28771 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28772 four values.
28773
44e0d4c2
SP
28774 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28775 calculation loop and add branch prediction.
28776
4d55b4e5
SP
28777 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28778 check access beyond bounds of m1np.
28779
da08f647
SP
28780 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28781 MPTWO.
28782 (__inv): Remove local variable MPTWO to use the global
28783 constant.
28784 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28785 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28786 variable MPTWO.
28787 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28788 MP3HALFS static const.
28789
8e051029
DM
287902013-01-01 David S. Miller <davem@davemloft.net>
28791
28792 * po/ca.po: Update from translation team.
28793
f4cf5f2d
JM
287942013-01-01 Joseph Myers <joseph@codesourcery.com>
28795
28796 * scripts/update-copyrights: New file.
28797 * Makeconfig: Reformat copyright notice.
28798 * ctype/ctype.h: Likewise.
28799 * debug/swprintf_chk.c: Likewise.
28800 * elf/dl-cache.c: Likewise.
28801 * elf/dl-debug.c: Likewise.
28802 * elf/dl-object.c: Likewise.
28803 * grp/initgroups.c: Likewise.
28804 * hurd/Makefile: Likewise.
28805 * hurd/hurd/signal.h: Likewise.
28806 * hurd/hurdfault.c: Likewise.
28807 * hurd/hurdioctl.c: Likewise.
28808 * hurd/hurdlookup.c: Likewise.
28809 * hurd/intr-msg.c: Likewise.
28810 * iconv/gconv_open.c: Likewise.
28811 * libio/swprintf.c: Likewise.
28812 * locale/lc-ctype.c: Likewise.
28813 * locale/nl_langinfo.c: Likewise.
28814 * mach/Machrules: Likewise.
28815 * mach/Makefile: Likewise.
28816 * malloc/obstack.h: Likewise.
28817 * manual/Makefile: Likewise.
28818 * manual/tsort.awk: Likewise.
28819 * misc/bits/stab.def: Likewise.
28820 * nis/nis_print_group_entry.c: Likewise.
28821 * nis/nis_table.c: Likewise.
28822 * nis/nss_compat/compat-pwd.c: Likewise.
28823 * nis/nss_compat/compat-spwd.c: Likewise.
28824 * po/Makefile: Likewise.
28825 * posix/fnmatch.c: Likewise.
28826 * posix/regex.h: Likewise.
28827 * resolv/Makefile: Likewise.
28828 * resolv/nss_dns/dns-network.c: Likewise.
28829 * resolv/res_hconf.c: Likewise.
28830 * scripts/gen-sorted.awk: Likewise.
28831 * soft-fp/soft-fp.h: Likewise.
28832 * stdio-common/printf.h: Likewise.
28833 * stdlib/monetary.h: Likewise.
28834 * stdlib/random.c: Likewise.
28835 * stdlib/random_r.c: Likewise.
28836 * sysdeps/generic/Makefile: Likewise.
28837 * sysdeps/gnu/Makefile: Likewise.
28838 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28839 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28840 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28841 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28842 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28843 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28844 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28845 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28846 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28847 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28848 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28849 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28850 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28851 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28852 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28853 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28854 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28855 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28856 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28857 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28858 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28859 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28860 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28861 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28862 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28863 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28864 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28865 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28866 * sysdeps/mach/hurd/errnos.awk: Likewise.
28867 * sysdeps/mach/hurd/fork.c: Likewise.
28868 * sysdeps/mach/hurd/getcwd.c: Likewise.
28869 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28870 * sysdeps/mach/hurd/mmap.c: Likewise.
28871 * sysdeps/mach/hurd/utimes.c: Likewise.
28872 * sysdeps/mach/hurd/xmknod.c: Likewise.
28873 * sysdeps/posix/profil.c: Likewise.
28874 * sysdeps/posix/readdir_r.c: Likewise.
28875 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28876 * sysdeps/powerpc/bits/setjmp.h: Likewise.
28877 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28878 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28879 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28880 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28881 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28882 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28883 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28884 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28885 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28886 * sysdeps/pthread/lio_listio.c: Likewise.
28887 * sysdeps/sparc/dl-procinfo.h: Likewise.
28888 * sysdeps/unix/i386/sysdep.S: Likewise.
28889 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28890 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28891 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28892 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28894 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28895 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28896 * sysdeps/unix/sysv/linux/speed.c: Likewise.
28897 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28898 * sysdeps/wordsize-32/divdi3.c: Likewise.
28899 * time/sys/time.h: Likewise.
28900 * wcsmbs/Makefile: Likewise.
28901
0549fbba
DM
289022013-01-01 David S. Miller <davem@davemloft.net>
28903
a141f1a7
DM
28904 * po/fr.po: Update from translation team.
28905
0549fbba
DM
28906 * catgets/gencat.c: Update copyright year.
28907 * csu/version.c: Likewise.
28908 * debug/catchsegv.sh: Likewise.
28909 * debug/pcprofiledump.c: Likewise.
28910 * debug/xtrace.sh: Likewise.
28911 * elf/ldconfig.c: Likewise.
28912 * elf/ldd.bash.in: Likewise.
28913 * elf/pldd.c: Likewise.
28914 * elf/sotruss.ksh: Likewise.
28915 * elf/sprof.c: Likewise.
28916 * iconv/iconv_prog.c: Likewise.
28917 * iconv/iconvconfig.c: Likewise.
28918 * locale/programs/locale.c: Likewise.
28919 * locale/programs/localedef.c: Likewise.
28920 * login/programs/pt_chown.c: Likewise.
28921 * malloc/memusage.sh: Likewise.
28922 * malloc/memusagestat.c: Likewise.
28923 * malloc/mtrace.pl: Likewise.
28924 * nscd/nscd.c: Likewise.
28925 * nss/getent.c: Likewise.
28926 * nss/makedb.c: Likewise.
28927 * posix/getconf.c: Likewise.
28928
18ea052c
SP
289292012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28930
28931 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28932 numbers.
28933
9c89fca6
MF
289342012-12-30 Mike Frysinger <vapier@gentoo.org>
28935
28936 * math/bits/mathcalls.h (modf): Use __nonnull.
28937
085ec079
SP
289382012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28939
28940 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28941 (split): Use macro CN instead of the bare value.
28942 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28943 could be used.
28944 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28945 instead of the bare value.
28946 (power1): Likewise.
28947
6d9f97e1
SP
289482012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28949
d63f73be
SP
28950 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28951 __ATAN_TWOM.
28952 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28953
6d9f97e1
SP
28954 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28955 their values.
28956 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28957 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28958 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28959 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28960
4c4febf5
AJ
289612012-12-28 Andreas Jaeger <aj@suse.de>
28962
af5843ef
AJ
28963 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
28964 values are from Linux 3.7.
28965
4c4febf5
AJ
28966 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28967 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
28968
99136f82
SP
289692012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28970
2f216c3c 28971 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
28972 TRUE case.
28973
99136f82
SP
28974 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
28975 (norm): Likewise.
28976 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
28977 variables with preprocessor constants.
28978 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28979 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28980 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28981
7fffbdff
BH
289822012-12-27 Bruno Haible <bruno@clisp.org>
28983
28984 [BZ #14317]
28985 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
28986 only if needed.
28987
b76eb5f0
SP
289882012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28989
31a7fe5c
SP
28990 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28991 and use variable directly.
28992 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28993
b76eb5f0
SP
28994 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28995 MPONE.
28996 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28997 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28998 variable MPONE.
28999 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29000 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29001 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
29002 include directive. Remove local variable MPONE.
29003 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
29004 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
29005 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29006
2c8bfe7d
DM
290072012-12-25 David S. Miller <davem@davemloft.net>
29008
29009 * version.h (RELEASE): Set to "development".
29010 (VERSION): Set to "2.17.90".
29011 * NEWS: Add 2.18 section.
29012
147d03b0
DM
290132012-12-21 David S. Miller <davem@davemloft.net>
29014
29015 * po/hr.po: Update from translation team.
29016
a8ebb2b9
AK
290172012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29018
29019 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
29020
95b4f1b6
SE
290212012-12-19 Steve Ellcey <sellcey@mips.com>
29022
b2d94007 29023 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 29024
cedb2a90
MS
290252012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29026
29027 * manual/contrib.texi (Contributors): Spelling correction.
29028
bbf527d6
DM
290292012-12-15 David S. Miller <davem@davemloft.net>
29030
29031 * po/ru.po: Update from translation team.
29032
bc38c906
DM
290332012-12-13 David S. Miller <davem@davemloft.net>
29034
85429b1a
DM
29035 * NEWS: Mention IFUNC testsuite enhancements.
29036
d283e353
DM
29037 * po/pl.po: Update from translation team.
29038 * po/bg.po: Likewise.
29039
bc38c906
DM
29040 * manual/contrib.texi (Contributors): Update entries for Hongjiu
29041 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
29042
a181b0d7
DM
290432012-12-11 David S. Miller <davem@davemloft.net>
29044
4641d57e
DM
29045 * po/sv.po: Update from translation team.
29046
f7bc6495
DM
29047 * po/vi.po: Update from translation team.
29048
6fc9048f
DM
29049 * po/cs.po: Update from translation team.
29050
a181b0d7
DM
29051 * po/de.po: Update from translation team.
29052 * po/eo.po: Likewise.
29053 * po/nl.po: Likewise.
29054
f70bfe80
SP
290552012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29056
3c8b4190
SP
29057 [BZ #14246]
29058 * manual/argp.texi (Argp Helper Functions): Move node to follow
29059 Argp Parsing State.
29060
f70bfe80
SP
29061 [BZ #14872]
29062 * manual/conf.texi (Limits on File System Capacity): Mention if
29063 terminating null is included in the max size.
29064
188f0adf
AJ
290652012-12-10 Andreas Jaeger <aj@suse.de>
29066
29067 * po/cs.po: Update from translation team.
29068
56e7d3ad
SP
290692012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29070
29071 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
29072 void pointer and cast to uintptr_t.
29073 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
29074 path.
29075 * sysdeps/s390/s390-64/memcpy.S: Likewise.
29076 * sysdeps/s390/s390-64/memset.S: Likewise.
29077
76f2d2ea 290782012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
29079
29080 [BZ #14833]
29081 * menual/message.texi (Message Translation): Fix typos.
29082 (Helper programs for gettext): Likewise.
29083
67cbf9a2
AS
290842012-12-07 Andreas Schwab <schwab@linux-m68k.org>
29085
29086 [BZ #14898]
29087 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
29088 Change to -1.
29089
682d0e9a
DM
290902012-12-07 David S. Miller <davem@davemloft.net>
29091
29092 * po/libc.pot: Update.
29093
573cd484
RH
290942012-12-07 Richard Henderson <rth@redhat.com>
29095
7e9da188 29096 [BZ #10114]
573cd484
RH
29097 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
29098 normal/normal case to before the switch.
29099 (_FP_DIV): Likewise.
29100
e933a943
MF
291012012-12-06 Carlos O'Donell <carlos@systemhalted.org>
29102 Mike Frysinger <vapier@gentoo.org>
29103
29104 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
29105 check for __NR_fadvise64_64.
29106
82123268
CM
291072012-12-06 Chris Metcalf <cmetcalf@tilera.com>
29108
29109 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
29110 0, not just to plain "0" as a statement.
29111 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
29112 with cw.
29113
d9814526
JM
291142012-12-06 Joseph Myers <joseph@codesourcery.com>
29115
29116 * NEWS: Use sourceware.org in Bugzilla URL.
29117
7728c574
SP
291182012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29119
f16946dd
SP
29120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29121 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29122
5704bbcb
SP
29123 * stdio-common/tst-put-error.c (do_test): Add newline to the
29124 padded test to ensure flush.
29125
17aa0516
JL
291262012-12-05 Jeff Law <law@redhat.com>
29127
29128 * sunrpc/etc.rpc (fedfs_admin): Add entry.
29129
363313b5
JM
291302012-12-05 Joseph Myers <joseph@codesourcery.com>
29131
effbd42a
JM
29132 * README: Don't refer to ports add-on as distributed separately.
29133 Mention AArch64 in list of systems supported in the ports add-on.
29134
87600365
JM
29135 * LICENSES: Add more non-FSF copyright and license notices.
29136
a0d7066a
JM
29137 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29138 ((unused)).
29139
66ca5a5b
JM
29140 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29141
363313b5
JM
29142 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29143 10000 as width of padded output.
29144
b37984ad
JM
291452012-12-04 Joseph Myers <joseph@codesourcery.com>
29146
9003570a
JM
29147 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29148
b37984ad
JM
29149 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29150 variable LX with __attribute__ ((unused)).
29151 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29152 Likewise.
29153 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29154 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29155 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29156 with __attribute__ ((unused)).
29157
c8df52ec
DM
291582012-12-04 David S. Miller <davem@abraco.davemloft.net>
29159
29160 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29161
b3b099af
JM
291622012-12-04 Joseph Myers <joseph@codesourcery.com>
29163
c33aa6e3
JM
29164 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29165 (CFLAGS-nldbl-acos.c): New variable.
29166 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29167 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29168 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29169 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29170 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29171 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29172 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29173 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29174 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29175 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29176 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29177 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29178 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29179 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29180 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29181 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29182 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29183 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29184 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29185 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29186 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29187 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29188 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29189 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29190 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29191 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29192 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29193 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29194 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29195 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29196 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29197 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29198 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29199 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29200 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29201 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29202 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29203 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29204 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29205 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29206 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29207 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29208 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29209 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29210 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29211 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29212 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29213 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29214 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29215 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29216 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29217 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29218 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29219 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29220 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29221 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29222 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29223 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29224 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29225 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29226 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29227 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29228 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29229 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29230 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29231 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29232 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29233 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29234 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29235 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29236 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29237 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29238 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29239 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29240 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29241 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29242 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29243 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29244 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29245 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29246 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29247 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29248 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29249 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29250 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29251 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29252 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29253 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29254 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29255 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29256 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29257 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29258 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29259 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29260 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29261 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29262 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29263
20f0018d
JM
29264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29265 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29266
b3b099af
JM
29267 [BZ #14914]
29268 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29269 whole low double instead of just low 47 bits when splitting values
29270 into two parts.
29271
029264d1
AM
292722012-12-03 Allan McRae <allan@archlinux.org>
29273
29274 * manual/stdio.texi (Predefined Printf Handlers): Remove
29275 @hsep and @vsep usage.
29276
c9d6789e
MF
292772012-12-03 Mike Frysinger <vapier@gentoo.org>
29278
29279 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29280 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29281
4b7634a5
JL
292822012-12-03 Jeff Law <law@redhat.com>
29283
29284 * time/sys/time.h (settimeofday): Do not mark TV argument
29285 as __nonnull.
29286
eb6cbd24
MF
292872012-12-01 Mike Frysinger <vapier@gentoo.org>
29288
29289 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29290 when currently writing and seek to current position when not.
29291 * libio/Makefile (tests): Remove bug-fclose1.
29292 * libio/bug-fclose1.c: Delete.
29293
f638872a
JM
292942012-12-01 Joseph Myers <joseph@codesourcery.com>
29295
29296 * manual/arith.texi (feenableexcept): Fix typo.
29297 (fedisableexcept): Likewise.
29298
48085d14
RM
292992012-11-30 Roland McGrath <roland@hack.frob.com>
29300
29301 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29302 second, differently-typed declaration, rather than a cast.
29303
1a538b9f
SP
293042012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29305
29306 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29307 * include/rpc/svc.h: ... here.
29308
d07f2ff1 293092012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
29310
29311 [BZ #13013]
29312 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29313 depending n and resplen2 to catch cases where answer
29314 equals answerp2.
29315
c93ec1f0
CD
293162012-11-29 Carlos O'Donell <carlos@systemhalted.org>
29317
29318 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29319 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29320
37db69de
MF
293212012-11-29 Mike Frysinger <vapier@gentoo.org>
29322
29323 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29324
e10c4e4f
RM
293252012-11-29 Roland McGrath <roland@hack.frob.com>
29326
29327 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29328
2af1b328
JL
293292012-11-28 Jeff Law <law@redhat.com>
29330
29331 [BZ #13761]
29332 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29333 dataset_temporary. Track alloca usage into alloca_used.
29334 If dataset is large allocate and release it via malloc/free.
29335
111db5b1
FW
293362012-06-04 Florian Weimer <fweimer@redhat.com>
29337
f06cc227 29338 [BZ #14197]
111db5b1
FW
29339 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29340
dd694abd
DM
293412012-11-28 David S. Miller <davem@davemloft.net>
29342
29343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29344
9984dd01
JM
293452012-11-28 Joseph Myers <joseph@codesourcery.com>
29346
29347 [BZ #14803]
29348 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29349 of pi/2 rounded to nearest to 64 bits.
29350 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29351 nearest to 64 bits.
29352 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29353 bits.
29354
14bc93a9
JL
293552012-11-28 Jeff Law <law@redhat.com>
29356 Martin Osvald <mosvald@redhat.com>
29357
29358 [BZ #14889]
29359 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29360 * sunrpc/svc.c: Include time.h.
29361 (__svc_accept_failed): New function.
29362 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29363 any reason other than EINTR, call __svc_accept_failed.
29364 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29365 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29366
e3c6aa3a
AS
293672012-11-28 Andreas Schwab <schwab@suse.de>
29368
29369 * scripts/abilist.awk: Also handle indirect functions in .opd
29370 section.
29371
1bead169
JM
293722012-11-28 Joseph Myers <joseph@codesourcery.com>
29373
29374 [BZ #13881]
29375 * sysdeps/x86/fpu/powl_helper.c: New file.
29376 * sysdeps/x86/fpu/Makefile: Likewise.
29377 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29378 (p3): New object.
29379 (__ieee754_powl): Use __powl_helper for finite arguments except
29380 integer exponents below 8.
29381 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29382 (p3): New object.
29383 (__ieee754_powl): Use __powl_helper for finite arguments except
29384 integer exponents below 8.
29385 * math/libm-test.inc (pow_test): Add more tests and enable some
29386 previously disabled tests.
29387 * sysdeps/i386/fpu/libm-test-ulps: Update.
29388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29389
0817d63d
SP
293902012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29391 Carlos O'Donell <carlos_odonell@mentor.com>
29392
29393 * nss/makedb.c (is_prime): Assert that input is odd and greater
29394 than 4. Note that fact in a comment too.
29395 (next_prime): Add 4 to input.
29396
de2fd463
SP
293972012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29398
29399 [BZ #11741]
29400 * libio/Makefile (tests): Add test case tst-fwrite-error.
29401 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29402 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29403 * libio/tst-fwrite-error.c: New test case.
29404
c515fb51
L
294052012-11-26 H.J. Lu <hongjiu.lu@intel.com>
29406
29407 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29408 before casting to void *.
29409 * include/libc-internal.h (__pointer_type): New macro.
29410 (__integer_if_pointer_type_sub): Likewise.
29411 (__integer_if_pointer_type): Likewise.
29412 (cast_to_integer): Likewise.
29413 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29414 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29415 before casting to atomic64_t.
29416 (atomic_exchange_acq): Likewise.
29417 (__arch_exchange_and_add_body): Likewise.
29418 (__arch_add_body): Likewise.
29419 (atomic_add_negative): Likewise.
29420 (atomic_add_zero): Likewise.
29421
4cf77aa9
JM
294222012-11-26 Joseph Myers <joseph@codesourcery.com>
29423
29424 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29425 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29426 (add_fdes): Likewise.
29427 (linear_search_fdes): Likewise.
29428 (binary_search_unencoded_fdes): Likewise.
29429
d260b3b4
AS
294302012-11-26 Andreas Schwab <schwab@linux-m68k.org>
29431
29432 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29433
67060746
AC
294342012-11-24 Adam Conrad <adconrad@0c3.net>
29435
29436 * configure.in: Autodetect C++ header directories.
29437 * configure: Regenerated.
29438
800938a1
MF
294392012-11-23 Mike Frysinger <vapier@gentoo.org>
29440
29441 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29442
4e6e34e6
AS
294432012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29444
29445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29446
7c7feb47
JM
294472012-11-22 Joseph Myers <joseph@codesourcery.com>
29448
7184dcdf
JM
29449 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29450 LDBL_MANT_DIG == 106]: Disable some tests.
29451 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29452 Likewise.
29453 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29454 Likewise.
29455
0a42601f
JM
29456 [BZ #14871]
29457 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29458 input for small inputs. Return +/- pi/2 for large inputs.
29459 * math/libm-test.inc (atan_test): Add more tests.
29460
79c9b9fe
JM
29461 * sysdeps/generic/unwind-dw2-fde-glibc.c
29462 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29463 __attribute__ ((unused)).
29464
c60d3bf2
JM
29465 [BZ #14645]
29466 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29467 x * y if x and y are nonzero and z is zero.
29468
ef1e0867
JM
29469 [BZ #14811]
29470 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29471 nonzero exponents with absolute value below 0x1p-117 to +/-
29472 0x1p-117.
29473
1468ded3
JM
29474 [BZ #14869]
29475 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29476 up arguments below 2**-450, not just those below 2**-500.
29477 * math/libm-test.inc (hypot_test): Add another test.
29478
8e27e3cc
JM
29479 [BZ #14868]
29480 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29481 Return a+b for ratio over 2**120, not 2**60.
29482 * math/libm-test.inc (hypot_test): Add another test.
29483
c9c0279b
JM
29484 * math/libm-test.inc (clog_test): Use
29485 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29486 (clog10_test): Likewise.
29487
7c7feb47
JM
29488 [BZ #6778]
29489 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29490
fff1530e
AS
294912012-11-22 Andreas Schwab <schwab@suse.de>
29492
29493 * sysdeps/i386/fpu/libm-test-ulps: Update.
29494
94558d30
PT
294952012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29496
29497 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29498 printf output with newline.
29499
7e1be741
L
295002012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29501
6bfea974
L
29502 [BZ #14865]
29503 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29504 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29505 -z nodlopen, -z initfirst and -z execstack support.
29506 * configure: Regenerated.
29507
7e1be741
L
29508 * elf/elf.h (DF_1_NODIRECT): New macro.
29509 (DF_1_IGNMULDEF): Likewise.
29510 (DF_1_NOKSYMS): Likewise.
29511 (DF_1_NOHDR): Likewise.
29512 (DF_1_EDITED): Likewise.
29513 (DF_1_NORELOC): Likewise.
29514 (DF_1_SYMINTPOSE): Likewise.
29515 (DF_1_GLOBAUDIT): Likewise.
29516 (DF_1_SINGLETON): Likewise.
29517 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29518 DT_1_SUPPORTED_MASK bits.
29519 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29520
105ce2ce
CD
295212012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29522
29523 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29524
123be9de
TS
295252012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29526
d072f3f7
TS
29527 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29528 macro.
29529
123be9de
TS
29530 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29531 (sendmmsg): Move declarations...
29532 * socket/sys/socket.h: ... here.
29533 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29534 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29535 include it from...
29536 * socket/recvmmsg.c: ... this new file.
29537 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29538 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29539 definition of __sendmmsg hidden.
29540 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29541 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29542 Move ENOSYS stub into and include it from...
29543 * socket/sendmmsg.c: ... this new file.
29544 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29545 (sysdep_routines): Move recvmmsg and sendmmsg...
29546 * socket/Makefile (routines): ... here.
29547 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29548 (GLIBC_PRIVATE): Add __sendmmsg.
29549 * include/sys/socket.h (__sendmmsg): Add declarations.
29550 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29551 sendmmsg.
29552
cf9a5d18
JM
295532012-11-20 Joseph Myers <joseph@codesourcery.com>
29554
29555 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29556 variable I1 with __attribute__ ((unused)).
29557 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29558
ecd4caf9
JM
295592012-11-19 Joseph Myers <joseph@codesourcery.com>
29560
be14d48f
JM
29561 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29562 DUMMY variables with __attribute__ ((unused)).
29563
ecd4caf9
JM
29564 * bits/byteswap.h: Include <bits/types.h>.
29565 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29566
986cab95
PT
295672012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29568
29569 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29570 string_t. Do not manually set errno.
29571 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29572 length with __strnlen. Make sure to both set errno and return it on
29573 failure.
29574
6d33cc9d
DM
295752012-11-19 David S. Miller <davem@davemloft.net>
29576
29577 With help from Joseph Myers.
29578 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29579 very large arguments properly.
29580 * math/libm-test.inc (atan_test): New tests.
29581 (atan2_test): New tests.
29582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29583 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29584
ee663277
JM
295852012-11-19 Joseph Myers <joseph@codesourcery.com>
29586
877f2d8e
JM
29587 [BZ #14856]
29588 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29589 Define to 3.
29590
116fc08a
JM
29591 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29592 [POSIX] (EADDRNOTAVAIL): Likewise.
29593 [POSIX] (EAFNOSUPPORT): Likewise.
29594 [POSIX] (EALREADY): Likewise.
29595 [POSIX] (ECONNABORTED): Likewise.
29596 [POSIX] (ECONNREFUSED): Likewise.
29597 [POSIX] (ECONNRESET): Likewise.
29598 [POSIX] (EDESTADDRREQ): Likewise.
29599 [POSIX] (EDQUOT): Likewise.
29600 [POSIX] (EHOSTUNREACH): Likewise.
29601 [POSIX] (EIDRM): Likewise.
29602 [POSIX] (EISCONN): Likewise.
29603 [POSIX] (ELOOP): Likewise.
29604 [POSIX] (EMULTIHOP): Likewise.
29605 [POSIX] (ENETDOWN): Likewise.
29606 [POSIX] (ENETUNREACH): Likewise.
29607 [POSIX] (ENOBUFS): Likewise.
29608 [POSIX] (ENODATA): Likewise.
29609 [POSIX] (ENOLINK): Likewise.
29610 [POSIX] (ENOMSG): Likewise.
29611 [POSIX] (ENOPROTOOPT): Likewise.
29612 [POSIX] (ENOSR): Likewise.
29613 [POSIX] (ENOSTR): Likewise.
29614 [POSIX] (ENOTCONN): Likewise.
29615 [POSIX] (ENOTSOCK): Likewise.
29616 [POSIX] (EOPNOTSUPP): Likewise.
29617 [POSIX] (EOVERFLOW): Likewise.
29618 [POSIX] (EPROTO): Likewise.
29619 [POSIX] (EPROTONOSUPPORT): Likewise.
29620 [POSIX] (EPROTOTYPE): Likewise.
29621 [POSIX] (ESTALE): Likewise.
29622 [POSIX] (ETIME): Likewise.
29623 [POSIX] (ETXTBSY): Likewise.
29624 [POSIX] (EWOULDBLOCK): Likewise.
29625 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29626 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29627 [POSIX] (SEEK_CUR): Likewise.
29628 [POSIX] (SEEK_END): Likewise.
29629 [POSIX || UNIX98] (mode_t): Do not require.
29630 [POSIX] (off_t): Likewise.
29631 [POSIX] (pid_t): Likewise.
29632 [POSIX] (sys/stat.h): Do not allow header.
29633 [POSIX] (unistd.h): Likewise.
29634 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29635 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29636 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29637 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29638 require.
29639 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29640 sigevent): Specify elements.
29641 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29642 entry.
29643 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29644 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29645
a483863f
JM
29646 * conform/data/cpio.h-data [POSIX]: Disable whole file.
29647 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29648 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29649 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29650 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29651 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29652 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29653 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29654 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29655 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29656 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29657 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29658 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29659 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29660 Likewise.
29661 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29662 Likewise.
29663 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29664 Likewise.
29665 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29666 Likewise.
29667 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29668 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29669 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29670 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29671 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29672 Specify lower bound on value.
29673 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29674 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29675 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29676 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29677 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29678 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29679 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29680 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29681 value.
29682 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29683 as optional.
29684 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29685 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29686 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29687 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29688 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29689 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29690 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29691 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29692 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29693 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29694 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29695 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29696 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29697 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29698 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29699 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29700 entry.
29701 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29702 optional.
29703 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29704 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29705 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29706 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29707 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29708 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29709 Likewise.
29710 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29711 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29712 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29713 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29714 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
29715 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29716 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29717 as optional.
29718 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29719 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29720 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29721 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29722 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29723 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29724 specify as optional.
29725 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29726 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29727 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29728 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29729 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29730 [XPG3] (NL_LANGMAX): Likewise.
29731 [POSIX || XPG3] (NL_MSGMAX): Likewise.
29732 [POSIX || XPG3] (NL_NMAX): Likewise.
29733 [POSIX || XPG3] (NL_SETMAX): Likewise.
29734 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29735 [XPG3] (NZERO): Likewise.
29736 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29737 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29738 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29739 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29740 (REG_ERANGE): Expect.
29741 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29742 optional-constant.
29743 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29744 Use (void) in prototype.
29745 [POSIX] (*_t): Allow.
29746 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29747 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29748 (WRDE_BADVAL): Expect.
29749
5ba924e3
JM
29750 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29751 expect.
29752 [XPG3 || XPG4] (O_RSYNC): Likewise.
29753 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29754 Likewise.
29755 [XPG3 || XPG4] (pthread_sigmask): Likewise.
29756 [XPG3 || XPG4] (sigqueue): Likewise.
29757 [XPG3 || XPG4] (sigtimedwait): Likewise.
29758 [XPG3 || XPG4] (sigwaitinfo): Likewise.
29759 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29760 [XPG3 || XPG4] (vsnprintf): Likewise.
29761 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29762 Likewise.
29763 [XPG3 || XPG4] (blksize_t): Likewise.
29764 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29765 Likewise.
29766 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29767 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29768 [XPG3 || XPG4] (struct itimerspec): Likewise.
29769 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29770 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29771 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29772 [XPG3 || XPG4] (clockid_t): Likewise.
29773 [XPG3 || XPG4] (timer_t): Likewise.
29774 [XPG3 || XPG4] (clock_getres): Likewise.
29775 [XPG3 || XPG4] (clock_gettime): Likewise.
29776 [XPG3 || XPG4] (clock_settime): Likewise.
29777 [XPG3 || XPG4] (nanosleep): Likewise.
29778 [XPG3 || XPG4] (timer_create): Likewise.
29779 [XPG3 || XPG4] (timer_delete): Likewise.
29780 [XPG3 || XPG4] (timer_gettime): Likewise.
29781 [XPG3 || XPG4] (timer_getoverrun): Likewise.
29782 [XPG3 || XPG4] (timer_settime): Likewise.
29783 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29784 [XPG3 || XPG4] (getlogin_r): Likewise.
29785 [XPG3 || XPG4] (pread): Likewise.
29786 [XPG3 || XPG4] (pthread_atfork): Likewise.
29787 [XPG3 || XPG4] (pwrite): Likewise.
29788
ee663277
JM
29789 [BZ #14835]
29790 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29791 <bits/siginfo.h>.
29792
942caa16
PT
297932012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29794
e19af380
PT
29795 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29796 finalizing MALLSTREAM.
29797
942caa16
PT
29798 * sysdeps/mach/hurd/syncfs.c: New file.
29799
cfde9b46
SP
298002012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29801
29802 [BZ #14719]
29803 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29804 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29805 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29806 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29807 (_nss_dns_gethostbyname4_r): Likewise.
29808 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29809 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29810
f6da27e5
PH
298112012-11-19 Peng Haitao <penght@cn.fujitsu.com>
29812
29813 [BZ #13763]
29814 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29815
6665d4a2
SM
298162012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
29817
1f51ee92
SM
29818 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29819 * elf/cache.c (print_entry): Print ",AArch64" for
29820 FLAG_AARCH64_LIB64
29821
6665d4a2
SM
29822 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29823 * elf/cache.c (print_entry): Print ",hard-float" for
29824 FLAG_ARM_LIBHF.
29825
05b227bd
DM
298262012-11-18 David S. Miller <davem@davemloft.net>
29827
29828 With help from Joseph Myers.
29829 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29830 cutoff to 2**-13.
29831 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29832 cutoff to 2**-25.
29833 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29834 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29835 small.
29836 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29837 * math/libm-test.inc (y0_test): New tests.
29838 (y1_test): New tests.
29839 * sysdeps/i386/fpu/libm-test-ulps: Update.
29840 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29842
786b0b67
AS
298432012-11-18 Andreas Schwab <schwab@linux-m68k.org>
29844
29845 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29846 64-bit targets.
29847 * configure: Regenerated.
29848
8e18b86d
DM
298492012-11-17 David S. Miller <davem@davemloft.net>
29850
29851 [BZ #14811]
29852 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29853 nonzero exponents with absolute value below 0x1p-128 to +/-
29854 0x1p-128.
29855
531f1ae0
JM
298562012-11-17 Joseph Myers <joseph@codesourcery.com>
29857
12df29e2
JM
29858 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29859
150dc1a0
JM
29860 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29861
531f1ae0
JM
29862 * posix/getconf-speclist.c: New file.
29863 * posix/posix-envs.def: Likewise.
29864 * posix/confstr.c (START_ENV_GROUP): New macro.
29865 (END_ENV_GROUP): Likewise.
29866 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29867 (KNOWN_PRESENT_ENV_STRING): Likewise.
29868 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29869 (UNKNOWN_ENVIRONMENT): Likewise.
29870 (confstr): Include posix-envs.def instead of handling
29871 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29872 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29873 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29874 (END_ENV_GROUP): Likewise.
29875 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29876 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29877 (UNKNOWN_ENVIRONMENT): Likewise.
29878 (__sysconf): Include posix-envs.def instead of handling associated
29879 cases directly here.
29880 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29881 preprocessing getconf-speclist.c rather than running getconf or
29882 generating empty file.
29883
a93f9cbc
PT
298842012-11-16 Pino Toscano <toscano.pino@tiscali.it>
29885
29886 * scripts/check-local-headers.sh: Ignore 'mach' headers.
29887
d64d9f87
AL
298882012-11-16 Andrej Lajovic <natrij@gmail.com>
29889
29890 [BZ #14672]
29891 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29892
447885eb
DM
298932012-11-16 David S. Miller <davem@davemloft.net>
29894
29895 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29896 smaller than LDBL_EPSILON/2.0L, just return xm1.
29897
bcbf9830
L
298982012-11-16 H.J. Lu <hongjiu.lu@intel.com>
29899
29900 * elf/tst-array1.c (init): Set constructor priority to 1000.
29901 (fini): Set destructor priority to 1000.
29902 * elf/tst-array2dep.c: Likewise.
29903
2b766585
SP
299042012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29905
29906 [BZ #11741]
29907 * libio/fileops.c (_IO_new_file_write): Correctly return error.
29908 (_IO_new_file_xsputn): Also return EOF if none of the input
29909 data was written when overflow failed.
29910 * libio/iopadn.c (_IO_padn): Likewise.
29911 * libio/iowpadn.c (_IO_wpadn): Likewise.
29912 * stdio-common/tst-put-error.c: Add copyright notice.
29913 (do_test): Add case for printing padded string.
29914 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29915 _IO_padn returned error.
29916 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29917 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29918 return EOF.
29919
b1848fde
SP
299202012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29921
29922 * libio/libioP.h: Add comment note that the references to C++
29923 bits are now obsolete.
29924
2fd89785
MS
299252012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29926
29927 * math/libm-test.inc (check_complex): Use asprintf.
29928
e3ea5409
JM
299292012-11-14 Joseph Myers <joseph@codesourcery.com>
29930
29931 * debug/pcprofiledump.c (print_version): Update copyright year.
29932 * malloc/memusagestat.c (print_version): Likewise.
29933
2e64d265
L
299342012-11-14 H.J. Lu <hongjiu.lu@intel.com>
29935
29936 [BZ #14831]
29937 * elf/Makefile (tests): Add tst-audit8.
29938 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29939 ($(objpfx)tst-audit8.out): New target.
29940 (tst-audit8-ENV): New variable.
29941 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29942 audit if l_reloc_result is NULL.
29943 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29944 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29945 * elf/tst-audit8.c: New file.
29946
c485e4d2
MS
299472012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29948
29949 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29950 * misc/Makefile (CFLAGS-select.c): Define.
29951 * posix/Makefile (CFLAGS-pause.c): Define.
29952
3a0d900a
DM
299532012-11-13 David S. Miller <davem@davemloft.net>
29954
29955 * crypt/Makefile: Move test targets after toplevel Rules
29956 inclusion. Grab any necessary sysdep routines when linking.
29957 * crypt/md5.c (md5_process_block): Remove define, we will always
29958 name it __md5_process_block.
29959 (md5_finish_ctx): Update md5_process_block call.
29960 (md5_stream): Likewise.
29961 (md5_process_bytes): Likewise.
29962 (md5_process_block): Rename to __md5_process_block and move to ...
29963 * crypt/md5-block.c: ... here.
29964 * crypt/sha256.c (sha256_process_block): Move to ...
29965 * crypt/sha256-block.c: ... here.
29966 * crypt/sha512.c (sha512_process_block): Move to ...
29967 * crypt/sha512-block.c: ... here.
29968 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29969 path.
29970 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29971 * sysdeps/sparc/sparc64/multiarch/Makefile
29972 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29973 crypt subdir.
29974 (localedef-aux): Add md5 crypto assembler when in locale subdir.
29975 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
29976 multiarch changes.
29977 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
29978 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
29979 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
29980 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
29981 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
29982 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
29983 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
29984 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
29985 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
29986 file.
29987 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
29988 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
29989 file.
29990 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
29991
8ca89318
JM
299922012-11-13 Joseph Myers <joseph@codesourcery.com>
29993
e27d476a
JM
29994 * timezone/tzselect.ksh: Update from tzcode git revision
29995 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29996 * timezone/zdump.c: Likewise.
29997 * timezone/zic.c: Likewise.
29998 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29999 in TZVERSION setting, not $(PKGVERSION).
30000 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
30001 REPORT_BUGS_TO settings.
30002
8ca89318
JM
30003 [BZ #14838]
30004 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
30005 macro.
30006
47594329
MS
300072012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30008
30009 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
30010 detection to immediately after _FP_ROUND().
30011 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
30012 bits are 0.
30013
640ac3f1
DM
300142012-11-11 David S. Miller <davem@davemloft.net>
30015
30016 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
30017 inttypes.h
30018 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
30019 __close rather than their public counterparts.
30020
3d2577bb
JM
300212012-11-10 Joseph Myers <joseph@codesourcery.com>
30022
30023 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
30024 file.
30025 [UNIX98] (sem_timedwait): Do not expect.
30026 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
30027 [XPG4 || UNIX98] (sockatmark): Do not expect.
30028 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
30029 (clock_getcpuclockid): Do not expect.
30030 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
30031 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
30032 Do not expect.
30033 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
30034 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
30035 [UNIX98] (vwscanf): Likewise.
30036 [UNIX98] (vswscanf): Likewise.
30037
fb1ae1ee
JM
300382012-11-09 Joseph Myers <joseph@codesourcery.com>
30039
9ec6f8bd
JM
30040 * timezone/version.h: Remove file.
30041 * timezone/README: Do not refer to version.h.
30042 * timezone/Makefile ($(objpfx)zic.o): New dependency on
30043 $(objpfx)version.h.
30044 ($(objpfx)zdump.o): Likewise.
c3f81911 30045 ($(objpfx)version.h): New target.
9ec6f8bd 30046
0aa8f8a1
JM
30047 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
30048 2012i.
30049 * timezone/README: Don't mention modification to tzselect.ksh.
30050 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
30051 work on unmodified tzselect.ksh. Substitute version numbers in
30052 tzselect.ksh.
30053
4e87147f
JM
30054 * Makefile (format-me): Remove.
30055 (INSTALL): Adjust indentation. Use commands directly instead of
30056 using $(format-me).
30057
8b748aed
JM
30058 * aclocal.m4 (ACX_PKGVERSION): New macro.
30059 (ACX_BUGURL): Likewise.
30060 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
30061 (PKGVERSION): New AC_DEFINE_UNQUOTED.
30062 (REPORT_BUGS_TO): Likewise.
30063 * configure: Regenerated.
30064 * config.h.in (PKGVERSION): New macro.
30065 (REPORT_BUGS_TO): Likewise.
30066 * config.make.in (PKGVERSION): New variable.
30067 (PKGVERSION_TEXI): Likewise.
30068 (REPORT_BUGS_TO): Likewise.
30069 (REPORT_BUGS_TEXI): Likewise.
30070 * Makefile (format-me): Use -I$(common-objpfx)manual.
30071 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
30072 ($(common-objpfx)manual/%): New target.
30073 (manual/%): Remove target.
30074 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
30075 (print_version): Use PKGVERSION.
30076 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
30077 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
30078 and REPORT_BUGS_TO.
30079 ($(objpfx)xtrace): Likewise.
30080 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
30081 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
30082 (print_version): Use PKGVERSION.
30083 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
30084 (do_version): Use PKGVERSION.
30085 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
30086 REPORT_BUGS_TO.
30087 (common-ldd-rewrite): Likewise.
30088 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
30089 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
30090 (print_version): Use PKGVERSION.
30091 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
30092 * elf/pldd.c (argp_program_bug_address): Remove variable.
30093 (more_help): New function.
30094 (argp): Use more_help.
30095 (print_version): Use PKGVERSION.
30096 * elf/sln.c (main): Use PKGVERSION.
30097 (usage): Use REPORT_BUGS_TO.
30098 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
30099 (top level): Use PKGVERSION.
30100 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
30101 (print_version): Use PKGVERSION.
30102 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
30103 (print_version): Use PKGVERSION.
30104 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
30105 (print_version): Use PKGVERSION.
30106 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
30107 (print_version): Use PKGVERSION.
30108 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
30109 (print_version): Use PKGVERSION.
30110 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
30111 (print_version): Use PKGVERSION.
30112 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
30113 and BUGURL.
30114 ($(objpfx)memusage): Likewise.
30115 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
30116 (do_version): Use PKGVERSION.
30117 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
30118 (print_version): Use PKGVERSION.
30119 * malloc/mtrace.pl ($PACKAGE): Remove variable.
30120 ($PKGVERSION): New variable.
30121 ($REPORT_BUGS_TO): Likewise.
30122 (usage): Use $REPORT_BUGS_TO.
30123 (top level): Use $PKGVERSION.
30124 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30125 ($(objpfx)pkgvers.texi): New rule.
30126 ($(objpfx)stamp-pkgvers): Likewise.
30127 * manual/install.texi: Include pkgvers.texi.
30128 (--with-pkgversion): Document new configure option.
30129 (--with-bugurl): Likewise.
30130 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30131 than necessarily for this particular distribution. Use
30132 REPORT_BUGS_TO for where to report bugs.
30133 * INSTALL: Regenerated.
30134 * manual/libc.texinfo: Include pkgvers.texi.
30135 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30136 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30137 (print_version): Use PKGVERSION.
30138 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30139 (print_version): Use PKGVERSION.
30140 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30141 (print_version): Use PKGVERSION.
30142 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30143 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30144 macro.
30145 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30146 (print_version): Use PKGVERSION.
30147 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30148 (print_version): Use PKGVERSION.
30149 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30150 and PKGVERSION.
30151
92e4b6a9
JM
30152 * timezone/checktab.awk: Update from tzcode 2012i.
30153 * timezone/ialloc.c: Likewise.
30154 * timezone/private.h: Likewise.
30155 * timezone/scheck.c: Likewise.
30156 * timezone/tzfile.h: Likewise.
30157 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30158 (TZVERSION): Hardcode tzcode version number.
30159 * timezone/zdump.c: Update from tzcode 2012i.
30160 * timezone/zic.c: Likewise.
30161 * timezone/version.h: New file.
30162 * timezone/README: Describe version.h. Update upstream location.
30163
9bde902c
JM
30164 [BZ #14824]
30165 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30166 (mktemp): Enable declaration.
30167 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30168 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30169 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30170 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30171 Likewise.
30172 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30173 Likewise.
30174 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30175 Likewise.
30176 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30177 Likewise.
30178 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30179 Likewise.
30180 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30181 Likewise.
30182
fb1ae1ee
JM
30183 [BZ #14821]
30184 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30185 offset in buffer as u_int32_t not u_long. Consistently use memcpy
30186 for copies of such integer values.
30187 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30188 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30189
2c1adbcb
AJ
301902012-11-09 Andreas Jaeger <aj@suse.de>
30191
30192 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30193 definitions and declarations that are provided by
30194 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30195
d0f8457e
AK
301962012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30197
3a235abb 30198 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
30199 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30200 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30201 definition.
30202
57241e26
MS
302032012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30204
30205 * elf/elf.h: Update comment before AArch64 relocations.
30206
60e8270d
DM
302072012-11-07 David S. Miller <davem@davemloft.net>
30208
30209 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30210 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30211 (__start_context): Declare.
30212 (__makecontext_ret): Delete.
30213 (__makecontext): Hook up __start_context instead of
30214 __makecontext_ret.
30215 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30216 (sysdep_routines): Add __start_context when in stdlib.
30217
0fbb0fbc
JM
302182012-11-07 Joseph Myers <joseph@codesourcery.com>
30219
30220 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30221 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30222 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
30223 hardcoded "nm".
30224 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
30225 (READELF): New variable. Use it instead of hardcoded "readelf".
30226
eb48db7e
L
302272012-11-07 H.J. Lu <hongjiu.lu@intel.com>
30228
30229 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30230 * sysdeps/x86/Makefile: Here.
30231 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30232 * sysdeps/x86/tst-xmmymm.sh: This.
30233
05bcf62a
JM
302342012-11-07 Joseph Myers <joseph@codesourcery.com>
30235
c4b6cf53
JM
30236 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30237 expectations.
30238 [UNIX98] (pthread_barrier_t): Do not expect.
30239 [UNIX98] (pthread_barrierattr_t): Likewise.
30240 [UNIX98] (pthread_spinlock_t): Likewise.
30241 [UNIX98] (pthread_barrier_destroy): Likewise.
30242 [UNIX98] (pthread_barrier_init): Likewise.
30243 [UNIX98] (pthread_barrier_wait): Likewise.
30244 [UNIX98] (pthread_barrierattr_destroy): Likewise.
30245 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30246 [UNIX98] (pthread_barrierattr_init): Likewise.
30247 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30248 [UNIX98] (pthread_getcpuclockid): Likewise.
30249 [UNIX98] (pthread_mutex_timedlock): Likewise.
30250 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30251 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30252 [UNIX98] (pthread_sigmask): Likewise.
30253 [UNIX98] (pthread_spin_destroy): Likewise.
30254 [UNIX98] (pthread_spin_init): Likewise.
30255 [UNIX98] (pthread_spin_lock): Likewise.
30256 [UNIX98] (pthread_spin_trylock): Likewise.
30257 [UNIX98] (pthread_spin_unlock): Likewise.
30258 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30259 Do not expect.
30260 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30261 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30262 [XPG3 || XPG4] (pthread_cond_t): Likewise.
30263 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30264 [XPG3 || XPG4] (pthread_key_t): Likewise.
30265 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30266 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30267 [XPG3 || XPG4] (pthread_once_t): Likewise.
30268 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30269 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30270 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30271 [XPG3 || XPG4] (pthread_t): Likewise.
30272
cbe6e120
JM
30273 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30274 not expect.
30275 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30276
1b126443
JM
30277 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30278 Change function return type to int.
30279
b961a573
JM
30280 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30281 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30282 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30283 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30284 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30285 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30286 [!POSIX] (posix_madvise): Likewise.
30287 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30288 && !UNIX98].
30289 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30290 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30291 (mode_t): Likewise.
30292 (posix_mem_offset): Likewise.
30293 (posix_typed_mem_get_info): Likewise.
30294 (posix_typed_mem_open): Likewise.
30295
9e188909
JM
30296 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30297 Change condition to [XOPEN2K8].
30298
05bcf62a
JM
30299 * conform/conformtest.pl: Preprocess allow-header data with -x c
30300 instead of from stdin.
30301 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30302 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30303 [C99-based standards] (cerfc): Likewise.
30304 [C99-based standards] (cexp2): Likewise.
30305 [C99-based standards] (cexpm1): Likewise.
30306 [C99-based standards] (clog10): Likewise.
30307 [C99-based standards] (clog1p): Likewise.
30308 [C99-based standards] (clog2): Likewise.
30309 [C99-based standards] (clgamma): Likewise.
30310 [C99-based standards] (ctgamma): Likewise.
30311 [C99-based standards] (cerff): Likewise.
30312 [C99-based standards] (cerfcf): Likewise.
30313 [C99-based standards] (cexp2f): Likewise.
30314 [C99-based standards] (cexpm1f): Likewise.
30315 [C99-based standards] (clog10f): Likewise.
30316 [C99-based standards] (clog1pf): Likewise.
30317 [C99-based standards] (clog2f): Likewise.
30318 [C99-based standards] (clgammaf): Likewise.
30319 [C99-based standards] (ctgammaf): Likewise.
30320 [C99-based standards] (cerfl): Likewise.
30321 [C99-based standards] (cerfcl): Likewise.
30322 [C99-based standards] (cexp2l): Likewise.
30323 [C99-based standards] (cexpm1l): Likewise.
30324 [C99-based standards] (clog10l): Likewise.
30325 [C99-based standards] (clog1pl): Likewise.
30326 [C99-based standards] (clog2l): Likewise.
30327 [C99-based standards] (clgammal): Likewise.
30328 [C99-based standards] (ctgammal): Likewise.
30329 * conform/data/inttypes.h-data [C99-based standards]: Include
30330 stdint.h-data. Remove all expectations for stdint.h contents.
30331 [C99-based standards] (PRI*): Do not allow.
30332 [C99-based standards] (SCN*): Likewise.
30333 [C99-based standards] (*_t): Likewise.
30334 [C99-based-standards] (PRId8): Expect macro.
30335 [C99-based-standards] (PRIi8): Likewise.
30336 [C99-based-standards] (PRIo8): Likewise.
30337 [C99-based-standards] (PRIu8): Likewise.
30338 [C99-based-standards] (PRIx8): Likewise.
30339 [C99-based-standards] (PRIX8): Likewise.
30340 [C99-based-standards] (SCNd8): Likewise.
30341 [C99-based-standards] (SCNi8): Likewise.
30342 [C99-based-standards] (SCNo8): Likewise.
30343 [C99-based-standards] (SCNu8): Likewise.
30344 [C99-based-standards] (SCNx8): Likewise.
30345 [C99-based-standards] (PRIdLEAST8): Likewise.
30346 [C99-based-standards] (PRIiLEAST8): Likewise.
30347 [C99-based-standards] (PRIoLEAST8): Likewise.
30348 [C99-based-standards] (PRIuLEAST8): Likewise.
30349 [C99-based-standards] (PRIxLEAST8): Likewise.
30350 [C99-based-standards] (PRIXLEAST8): Likewise.
30351 [C99-based-standards] (SCNdLEAST8): Likewise.
30352 [C99-based-standards] (SCNiLEAST8): Likewise.
30353 [C99-based-standards] (SCNoLEAST8): Likewise.
30354 [C99-based-standards] (SCNuLEAST8): Likewise.
30355 [C99-based-standards] (SCNxLEAST8): Likewise.
30356 [C99-based-standards] (PRIdFAST8): Likewise.
30357 [C99-based-standards] (PRIiFAST8): Likewise.
30358 [C99-based-standards] (PRIoFAST8): Likewise.
30359 [C99-based-standards] (PRIuFAST8): Likewise.
30360 [C99-based-standards] (PRIxFAST8): Likewise.
30361 [C99-based-standards] (PRIXFAST8): Likewise.
30362 [C99-based-standards] (SCNdFAST8): Likewise.
30363 [C99-based-standards] (SCNiFAST8): Likewise.
30364 [C99-based-standards] (SCNoFAST8): Likewise.
30365 [C99-based-standards] (SCNuFAST8): Likewise.
30366 [C99-based-standards] (SCNxFAST8): Likewise.
30367 [C99-based-standards] (PRId16): Likewise.
30368 [C99-based-standards] (PRIi16): Likewise.
30369 [C99-based-standards] (PRIo16): Likewise.
30370 [C99-based-standards] (PRIu16): Likewise.
30371 [C99-based-standards] (PRIx16): Likewise.
30372 [C99-based-standards] (PRIX16): Likewise.
30373 [C99-based-standards] (SCNd16): Likewise.
30374 [C99-based-standards] (SCNi16): Likewise.
30375 [C99-based-standards] (SCNo16): Likewise.
30376 [C99-based-standards] (SCNu16): Likewise.
30377 [C99-based-standards] (SCNx16): Likewise.
30378 [C99-based-standards] (PRIdLEAST16): Likewise.
30379 [C99-based-standards] (PRIiLEAST16): Likewise.
30380 [C99-based-standards] (PRIoLEAST16): Likewise.
30381 [C99-based-standards] (PRIuLEAST16): Likewise.
30382 [C99-based-standards] (PRIxLEAST16): Likewise.
30383 [C99-based-standards] (PRIXLEAST16): Likewise.
30384 [C99-based-standards] (SCNdLEAST16): Likewise.
30385 [C99-based-standards] (SCNiLEAST16): Likewise.
30386 [C99-based-standards] (SCNoLEAST16): Likewise.
30387 [C99-based-standards] (SCNuLEAST16): Likewise.
30388 [C99-based-standards] (SCNxLEAST16): Likewise.
30389 [C99-based-standards] (PRIdFAST16): Likewise.
30390 [C99-based-standards] (PRIiFAST16): Likewise.
30391 [C99-based-standards] (PRIoFAST16): Likewise.
30392 [C99-based-standards] (PRIuFAST16): Likewise.
30393 [C99-based-standards] (PRIxFAST16): Likewise.
30394 [C99-based-standards] (PRIXFAST16): Likewise.
30395 [C99-based-standards] (SCNdFAST16): Likewise.
30396 [C99-based-standards] (SCNiFAST16): Likewise.
30397 [C99-based-standards] (SCNoFAST16): Likewise.
30398 [C99-based-standards] (SCNuFAST16): Likewise.
30399 [C99-based-standards] (SCNxFAST16): Likewise.
30400 [C99-based-standards] (PRId32): Likewise.
30401 [C99-based-standards] (PRIi32): Likewise.
30402 [C99-based-standards] (PRIo32): Likewise.
30403 [C99-based-standards] (PRIu32): Likewise.
30404 [C99-based-standards] (PRIx32): Likewise.
30405 [C99-based-standards] (PRIX32): Likewise.
30406 [C99-based-standards] (SCNd32): Likewise.
30407 [C99-based-standards] (SCNi32): Likewise.
30408 [C99-based-standards] (SCNo32): Likewise.
30409 [C99-based-standards] (SCNu32): Likewise.
30410 [C99-based-standards] (SCNx32): Likewise.
30411 [C99-based-standards] (PRIdLEAST32): Likewise.
30412 [C99-based-standards] (PRIiLEAST32): Likewise.
30413 [C99-based-standards] (PRIoLEAST32): Likewise.
30414 [C99-based-standards] (PRIuLEAST32): Likewise.
30415 [C99-based-standards] (PRIxLEAST32): Likewise.
30416 [C99-based-standards] (PRIXLEAST32): Likewise.
30417 [C99-based-standards] (SCNdLEAST32): Likewise.
30418 [C99-based-standards] (SCNiLEAST32): Likewise.
30419 [C99-based-standards] (SCNoLEAST32): Likewise.
30420 [C99-based-standards] (SCNuLEAST32): Likewise.
30421 [C99-based-standards] (SCNxLEAST32): Likewise.
30422 [C99-based-standards] (PRIdFAST32): Likewise.
30423 [C99-based-standards] (PRIiFAST32): Likewise.
30424 [C99-based-standards] (PRIoFAST32): Likewise.
30425 [C99-based-standards] (PRIuFAST32): Likewise.
30426 [C99-based-standards] (PRIxFAST32): Likewise.
30427 [C99-based-standards] (PRIXFAST32): Likewise.
30428 [C99-based-standards] (SCNdFAST32): Likewise.
30429 [C99-based-standards] (SCNiFAST32): Likewise.
30430 [C99-based-standards] (SCNoFAST32): Likewise.
30431 [C99-based-standards] (SCNuFAST32): Likewise.
30432 [C99-based-standards] (SCNxFAST32): Likewise.
30433 [C99-based-standards] (PRId64): Likewise.
30434 [C99-based-standards] (PRIi64): Likewise.
30435 [C99-based-standards] (PRIo64): Likewise.
30436 [C99-based-standards] (PRIu64): Likewise.
30437 [C99-based-standards] (PRIx64): Likewise.
30438 [C99-based-standards] (PRIX64): Likewise.
30439 [C99-based-standards] (SCNd64): Likewise.
30440 [C99-based-standards] (SCNi64): Likewise.
30441 [C99-based-standards] (SCNo64): Likewise.
30442 [C99-based-standards] (SCNu64): Likewise.
30443 [C99-based-standards] (SCNx64): Likewise.
30444 [C99-based-standards] (PRIdLEAST64): Likewise.
30445 [C99-based-standards] (PRIiLEAST64): Likewise.
30446 [C99-based-standards] (PRIoLEAST64): Likewise.
30447 [C99-based-standards] (PRIuLEAST64): Likewise.
30448 [C99-based-standards] (PRIxLEAST64): Likewise.
30449 [C99-based-standards] (PRIXLEAST64): Likewise.
30450 [C99-based-standards] (SCNdLEAST64): Likewise.
30451 [C99-based-standards] (SCNiLEAST64): Likewise.
30452 [C99-based-standards] (SCNoLEAST64): Likewise.
30453 [C99-based-standards] (SCNuLEAST64): Likewise.
30454 [C99-based-standards] (SCNxLEAST64): Likewise.
30455 [C99-based-standards] (PRIdFAST64): Likewise.
30456 [C99-based-standards] (PRIiFAST64): Likewise.
30457 [C99-based-standards] (PRIoFAST64): Likewise.
30458 [C99-based-standards] (PRIuFAST64): Likewise.
30459 [C99-based-standards] (PRIxFAST64): Likewise.
30460 [C99-based-standards] (PRIXFAST64): Likewise.
30461 [C99-based-standards] (SCNdFAST64): Likewise.
30462 [C99-based-standards] (SCNiFAST64): Likewise.
30463 [C99-based-standards] (SCNoFAST64): Likewise.
30464 [C99-based-standards] (SCNuFAST64): Likewise.
30465 [C99-based-standards] (SCNxFAST64): Likewise.
30466 [C99-based-standards] (PRIdMAX): Likewise.
30467 [C99-based-standards] (PRIiMAX): Likewise.
30468 [C99-based-standards] (PRIoMAX): Likewise.
30469 [C99-based-standards] (PRIuMAX): Likewise.
30470 [C99-based-standards] (PRIxMAX): Likewise.
30471 [C99-based-standards] (PRIXMAX): Likewise.
30472 [C99-based-standards] (SCNdMAX): Likewise.
30473 [C99-based-standards] (SCNiMAX): Likewise.
30474 [C99-based-standards] (SCNoMAX): Likewise.
30475 [C99-based-standards] (SCNuMAX): Likewise.
30476 [C99-based-standards] (SCNxMAX): Likewise.
30477 [C99-based-standards] (PRIdPTR): Likewise.
30478 [C99-based-standards] (PRIiPTR): Likewise.
30479 [C99-based-standards] (PRIoPTR): Likewise.
30480 [C99-based-standards] (PRIuPTR): Likewise.
30481 [C99-based-standards] (PRIxPTR): Likewise.
30482 [C99-based-standards] (PRIXPTR): Likewise.
30483 [C99-based-standards] (SCNdPTR): Likewise.
30484 [C99-based-standards] (SCNiPTR): Likewise.
30485 [C99-based-standards] (SCNoPTR): Likewise.
30486 [C99-based-standards] (SCNuPTR): Likewise.
30487 [C99-based-standards] (SCNxPTR): Likewise.
30488 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30489 allow.
30490 * conform/data/stdint.h-data: Update comments to clarify
30491 requirements.
30492 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30493 type.
30494 [C99-based standards] (INT8_MAX): Likewise.
30495 [C99-based standards] (INT16_MIN): Likewise.
30496 [C99-based standards] (INT16_MAX): Likewise.
30497 [C99-based standards] (INT32_MIN): Likewise.
30498 [C99-based standards] (INT32_MAX): Likewise.
30499 [C99-based standards] (INT64_MIN): Likewise.
30500 [C99-based standards] (INT64_MAX): Likewise.
30501 [C99-based standards] (UINT8_MAX): Likewise.
30502 [C99-based standards] (UINT16_MAX): Likewise.
30503 [C99-based standards] (UINT32_MAX): Likewise.
30504 [C99-based standards] (UINT64_MAX): Likewise.
30505 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30506 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30507 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30508 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30509 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30510 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30511 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30512 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30513 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30514 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30515 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30516 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30517 [C99-based standards] (INT_FAST8_MIN): Likewise.
30518 [C99-based standards] (INT_FAST8_MAX): Likewise.
30519 [C99-based standards] (INT_FAST16_MIN): Likewise.
30520 [C99-based standards] (INT_FAST16_MAX): Likewise.
30521 [C99-based standards] (INT_FAST32_MIN): Likewise.
30522 [C99-based standards] (INT_FAST32_MAX): Likewise.
30523 [C99-based standards] (INT_FAST64_MIN): Likewise.
30524 [C99-based standards] (INT_FAST64_MAX): Likewise.
30525 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30526 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30527 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30528 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30529 [C99-based standards] (INTPTR_MIN): Likewise.
30530 [C99-based standards] (INTPTR_MAX): Likewise.
30531 [C99-based standards] (UINTPTR_MAX): Likewise.
30532 [C99-based standards] (INTMAX_MIN): Likewise.
30533 [C99-based standards] (INTMAX_MAX): Likewise.
30534 [C99-based standards] (UINTMAX_MAX): Likewise.
30535 [C99-based standards] (PTRDIFF_MIN): Likewise.
30536 [C99-based standards] (PTRDIFF_MAX): Likewise.
30537 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30538 [C99-based standards] (SIZE_MAX): Likewise.
30539 [C99-based standards] (WCHAR_MAX): Likewise.
30540 [C99-based standards] (WINT_MAX): Likewise.
30541 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30542 constraint on value.
30543 [C99-based standards] (WCHAR_MIN): Likewise.
30544 [C99-based standards] (WINT_MIN): Likewise.
30545 [C99-based standards] (*_t): Allow.
30546 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30547 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30548 Include math.h-data and complex.h-data. Remove all expectations
30549 of math.h and complex.h contents.
30550 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30551 at end of line.
30552 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30553 (struct tm): Expect tag.
30554 [C99-based-standards] (wcstof): Expect function.
30555 [C99-based-standards] (wcstold): Likewise.
30556 [C99-based-standards] (wcstoll): Likewise.
30557 [C99-based-standards] (wcstoull): Likewise.
30558 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30559 macro-int-constant. Specify type.
30560 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30561 constraint on value.
30562 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30563 Specify type.
30564 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30565 Specify value.
30566 [ISO C standards]: Do not allow headers.
30567 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30568 wcs[abcdefghijklmnopqrstuvwxyz]*.
30569 [ISO C standards] (*_t): Do not allow.
30570 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30571 Expect function.
30572 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30573 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30574 Specify type.
30575 [ISO C standards]: Do not allow headers.
30576 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30577 is[abcdefghijklmnopqrstuvwxyz]*.
30578 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30579 to[abcdefghijklmnopqrstuvwxyz]*.
30580 [ISO C standards] (*_t): Do not allow.
30581 * conform/data/stdalign.h-data: New file.
30582 * conform/data/stdbool.h-data: Likewise.
30583 * conform/data/stdnoreturn.h-data: Likewise.
30584
7514feb8
RM
305852012-11-07 Roland McGrath <roland@hack.frob.com>
30586
30587 [BZ #14815]
30588 * manual/filesys.texi (Directory Entries): Typo fix.
30589 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30590
19b2ecfc
MS
305912012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30592
30593 * elf/elf.h (EM_AARCH64): New macro.
30594 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30595 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30596 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30597 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30598 (R_AARCH64_TLSDESC): Likewise.
30599 (NT_ARM_TLS): Likewise.
30600 (NT_ARM_HW_BREAK): Likewise.
30601 (NT_ARM_HW_WATCH): Likewise.
30602
60e235ee
JM
306032012-11-07 Joseph Myers <joseph@codesourcery.com>
30604
30605 [BZ #14811]
30606 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30607 (__ieee754_powl): Saturate nonzero exponents with absolute value
30608 below 0x1p-79 to +/- 0x1p-79.
30609 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30610 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30611 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30612 nonzero exponents with absolute value below 0x1p-32 to +/-
30613 0x1p-32.
30614 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30615 (__ieee754_powl): Saturate nonzero exponents with absolute value
30616 below 0x1p-79 to +/- 0x1p-79.
30617 * math/libm-test.inc (pow_test): Add more tests.
30618
0ab234b7
AK
306192012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30620
30621 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30622 _dl_s390_cap_flags with kernel. Increase string length.
30623 (_dl_s390_platforms): Add z196 and zEC12.
30624
45832f74
JM
306252012-11-07 Joseph Myers <joseph@codesourcery.com>
30626
30627 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30628 Change XOPEN21K to XOPEN2K.
30629
19218757
MK
306302012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
30631
30632 * string/memmove.c: Use memcpy when possible.
30633
c5f45721
AJ
306342012-11-06 Andreas Jaeger <aj@suse.de>
30635
30636 * po/eo.po: Update from translation team.
30637
82477c28
JM
306382012-11-06 Joseph Myers <joseph@codesourcery.com>
30639
30640 [BZ #14793]
30641 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30642 exponent and small x and y exponents, scale x or y up. Increase
30643 by 2 the exponent used in scaling up.
30644 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30645 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30646 * math/libm-test.inc (fma_test): Add more tests.
30647 (fma_test_towardzero): Likewise.
30648 (fma_test_downward): Likewise.
30649 (fma_test_upward): Likewise.
30650
99252c8c
JM
306512012-11-05 Joseph Myers <joseph@codesourcery.com>
30652
acfa885f
JM
30653 [BZ #14805]
30654 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30655 fenv_t *.
30656
99252c8c
JM
30657 [BZ #14801]
30658 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30659 namespace for names of struct fields.
30660 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30661 fenv_t fields.
30662 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30663 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30664
d6d98dea
ST
306652012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
30666
30667 [BZ #3665]
30668 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30669
e10bb107
TS
306702012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30671
30672 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30673 PTR_DEMANGLE.
30674
30675 [BZ #5246]
30676 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30677 PTR_DEMANGLE.
30678
a0c2940d
JM
306792012-11-04 Joseph Myers <joseph@codesourcery.com>
30680
30681 [BZ #14797]
30682 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30683 definitely overflow as x * y not x * y + z.
30684 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30685 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30686 * math/libm-test.inc (fma_test): Add more tests.
30687 (fma_test_towardzero): Likewise.
30688 (fma_test_downward): Likewise.
30689 (fma_test_upward): Likewise.
30690
b830319d
TS
306912012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30692
30693 [BZ #157]
30694
30695 * include/stub-tag.h: Remove file.
30696 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30697 '#include' of it.
30698 * manual/maint.texi (Porting): Don't reference it.
30699 * Makerules ($(objpfx)stubs): Likewise.
30700 * dirent/closedir.c: Don't include <stub-tag.h>.
30701 * dirent/dirfd.c: Likewise.
30702 * dirent/fdopendir.c: Likewise.
30703 * dirent/getdents.c: Likewise.
30704 * dirent/getdents64.c: Likewise.
30705 * dirent/opendir.c: Likewise.
30706 * dirent/readdir.c: Likewise.
30707 * dirent/readdir64.c: Likewise.
30708 * dirent/readdir64_r.c: Likewise.
30709 * dirent/readdir_r.c: Likewise.
30710 * dirent/rewinddir.c: Likewise.
30711 * dirent/seekdir.c: Likewise.
30712 * dirent/telldir.c: Likewise.
30713 * gmon/profil.c: Likewise.
30714 * grp/setgroups.c: Likewise.
30715 * inet/if_index.c: Likewise.
30716 * io/access.c: Likewise.
30717 * io/chdir.c: Likewise.
30718 * io/chmod.c: Likewise.
30719 * io/chown.c: Likewise.
30720 * io/close.c: Likewise.
30721 * io/dup.c: Likewise.
30722 * io/dup2.c: Likewise.
30723 * io/dup3.c: Likewise.
30724 * io/euidaccess.c: Likewise.
30725 * io/faccessat.c: Likewise.
30726 * io/fchdir.c: Likewise.
30727 * io/fchmod.c: Likewise.
30728 * io/fchmodat.c: Likewise.
30729 * io/fchown.c: Likewise.
30730 * io/fchownat.c: Likewise.
30731 * io/fcntl.c: Likewise.
30732 * io/flock.c: Likewise.
30733 * io/fstatfs.c: Likewise.
30734 * io/fstatfs64.c: Likewise.
30735 * io/fstatvfs.c: Likewise.
30736 * io/fstatvfs64.c: Likewise.
30737 * io/futimens.c: Likewise.
30738 * io/fxstat.c: Likewise.
30739 * io/fxstat64.c: Likewise.
30740 * io/fxstatat.c: Likewise.
30741 * io/fxstatat64.c: Likewise.
30742 * io/getcwd.c: Likewise.
30743 * io/isatty.c: Likewise.
30744 * io/lchmod.c: Likewise.
30745 * io/lchown.c: Likewise.
30746 * io/link.c: Likewise.
30747 * io/linkat.c: Likewise.
30748 * io/lseek.c: Likewise.
30749 * io/lseek64.c: Likewise.
30750 * io/lxstat64.c: Likewise.
30751 * io/mkdir.c: Likewise.
30752 * io/mkdirat.c: Likewise.
30753 * io/mkfifo.c: Likewise.
30754 * io/mkfifoat.c: Likewise.
30755 * io/open.c: Likewise.
30756 * io/open64.c: Likewise.
30757 * io/openat.c: Likewise.
30758 * io/openat64.c: Likewise.
30759 * io/pipe.c: Likewise.
30760 * io/pipe2.c: Likewise.
30761 * io/poll.c: Likewise.
30762 * io/posix_fadvise.c: Likewise.
30763 * io/posix_fadvise64.c: Likewise.
30764 * io/posix_fallocate.c: Likewise.
30765 * io/posix_fallocate64.c: Likewise.
30766 * io/read.c: Likewise.
30767 * io/readlink.c: Likewise.
30768 * io/readlinkat.c: Likewise.
30769 * io/rmdir.c: Likewise.
30770 * io/sendfile.c: Likewise.
30771 * io/sendfile64.c: Likewise.
30772 * io/statfs.c: Likewise.
30773 * io/statfs64.c: Likewise.
30774 * io/statvfs.c: Likewise.
30775 * io/statvfs64.c: Likewise.
30776 * io/symlink.c: Likewise.
30777 * io/symlinkat.c: Likewise.
30778 * io/ttyname.c: Likewise.
30779 * io/ttyname_r.c: Likewise.
30780 * io/umask.c: Likewise.
30781 * io/unlink.c: Likewise.
30782 * io/unlinkat.c: Likewise.
30783 * io/utime.c: Likewise.
30784 * io/utimensat.c: Likewise.
30785 * io/write.c: Likewise.
30786 * io/xmknod.c: Likewise.
30787 * io/xmknodat.c: Likewise.
30788 * io/xstat.c: Likewise.
30789 * io/xstat64.c: Likewise.
30790 * login/getpt.c: Likewise.
30791 * login/grantpt.c: Likewise.
30792 * login/unlockpt.c: Likewise.
30793 * math/e_acoshl.c: Likewise.
30794 * math/e_acosl.c: Likewise.
30795 * math/e_asinl.c: Likewise.
30796 * math/e_atan2l.c: Likewise.
30797 * math/e_atanhl.c: Likewise.
30798 * math/e_coshl.c: Likewise.
30799 * math/e_expl.c: Likewise.
30800 * math/e_fmodl.c: Likewise.
30801 * math/e_gammal_r.c: Likewise.
30802 * math/e_hypotl.c: Likewise.
30803 * math/e_j0l.c: Likewise.
30804 * math/e_j1l.c: Likewise.
30805 * math/e_jnl.c: Likewise.
30806 * math/e_lgammal_r.c: Likewise.
30807 * math/e_log10l.c: Likewise.
30808 * math/e_log2l.c: Likewise.
30809 * math/e_logl.c: Likewise.
30810 * math/e_powl.c: Likewise.
30811 * math/e_rem_pio2l.c: Likewise.
30812 * math/e_sinhl.c: Likewise.
30813 * math/e_sqrtl.c: Likewise.
30814 * math/fclrexcpt.c: Likewise.
30815 * math/fedisblxcpt.c: Likewise.
30816 * math/feenablxcpt.c: Likewise.
30817 * math/fegetenv.c: Likewise.
30818 * math/fegetexcept.c: Likewise.
30819 * math/fegetround.c: Likewise.
30820 * math/feholdexcpt.c: Likewise.
30821 * math/fesetenv.c: Likewise.
30822 * math/fesetround.c: Likewise.
30823 * math/feupdateenv.c: Likewise.
30824 * math/fgetexcptflg.c: Likewise.
30825 * math/fraiseexcpt.c: Likewise.
30826 * math/fsetexcptflg.c: Likewise.
30827 * math/ftestexcept.c: Likewise.
30828 * math/k_cosl.c: Likewise.
30829 * math/k_rem_pio2l.c: Likewise.
30830 * math/k_sinl.c: Likewise.
30831 * math/k_tanl.c: Likewise.
30832 * math/s_asinhl.c: Likewise.
30833 * math/s_atanl.c: Likewise.
30834 * math/s_cbrtl.c: Likewise.
30835 * math/s_erfl.c: Likewise.
30836 * math/s_expm1l.c: Likewise.
30837 * math/s_log1pl.c: Likewise.
30838 * math/s_tanhl.c: Likewise.
30839 * misc/acct.c: Likewise.
30840 * misc/brk.c: Likewise.
30841 * misc/chflags.c: Likewise.
30842 * misc/chroot.c: Likewise.
30843 * misc/fchflags.c: Likewise.
30844 * misc/fgetxattr.c: Likewise.
30845 * misc/flistxattr.c: Likewise.
30846 * misc/fremovexattr.c: Likewise.
30847 * misc/fsetxattr.c: Likewise.
30848 * misc/fsync.c: Likewise.
30849 * misc/ftruncate.c: Likewise.
30850 * misc/futimes.c: Likewise.
30851 * misc/futimesat.c: Likewise.
30852 * misc/getdomain.c: Likewise.
30853 * misc/getdtsz.c: Likewise.
30854 * misc/gethostid.c: Likewise.
30855 * misc/gethostname.c: Likewise.
30856 * misc/getloadavg.c: Likewise.
30857 * misc/getpagesize.c: Likewise.
30858 * misc/getsysstats.c: Likewise.
30859 * misc/getxattr.c: Likewise.
30860 * misc/gtty.c: Likewise.
30861 * misc/ioctl.c: Likewise.
30862 * misc/lgetxattr.c: Likewise.
30863 * misc/listxattr.c: Likewise.
30864 * misc/llistxattr.c: Likewise.
30865 * misc/lremovexattr.c: Likewise.
30866 * misc/lsetxattr.c: Likewise.
30867 * misc/lutimes.c: Likewise.
30868 * misc/madvise.c: Likewise.
30869 * misc/mincore.c: Likewise.
30870 * misc/mlock.c: Likewise.
30871 * misc/mlockall.c: Likewise.
30872 * misc/mmap.c: Likewise.
30873 * misc/mprotect.c: Likewise.
30874 * misc/msync.c: Likewise.
30875 * misc/munlock.c: Likewise.
30876 * misc/munlockall.c: Likewise.
30877 * misc/munmap.c: Likewise.
30878 * misc/preadv.c: Likewise.
30879 * misc/preadv64.c: Likewise.
30880 * misc/ptrace.c: Likewise.
30881 * misc/pwritev.c: Likewise.
30882 * misc/pwritev64.c: Likewise.
30883 * misc/readv.c: Likewise.
30884 * misc/reboot.c: Likewise.
30885 * misc/remap_file_pages.c: Likewise.
30886 * misc/removexattr.c: Likewise.
30887 * misc/revoke.c: Likewise.
30888 * misc/select.c: Likewise.
30889 * misc/setdomain.c: Likewise.
30890 * misc/setegid.c: Likewise.
30891 * misc/seteuid.c: Likewise.
30892 * misc/sethostid.c: Likewise.
30893 * misc/sethostname.c: Likewise.
30894 * misc/setregid.c: Likewise.
30895 * misc/setreuid.c: Likewise.
30896 * misc/setxattr.c: Likewise.
30897 * misc/sstk.c: Likewise.
30898 * misc/stty.c: Likewise.
30899 * misc/swapoff.c: Likewise.
30900 * misc/swapon.c: Likewise.
30901 * misc/sync.c: Likewise.
30902 * misc/syncfs.c: Likewise.
30903 * misc/syscall.c: Likewise.
30904 * misc/truncate.c: Likewise.
30905 * misc/ualarm.c: Likewise.
30906 * misc/usleep.c: Likewise.
30907 * misc/ustat.c: Likewise.
30908 * misc/utimes.c: Likewise.
30909 * misc/vhangup.c: Likewise.
30910 * misc/writev.c: Likewise.
30911 * posix/_exit.c: Likewise.
30912 * posix/alarm.c: Likewise.
30913 * posix/execve.c: Likewise.
30914 * posix/fexecve.c: Likewise.
30915 * posix/fork.c: Likewise.
30916 * posix/fpathconf.c: Likewise.
30917 * posix/getaddrinfo.c: Likewise.
30918 * posix/getegid.c: Likewise.
30919 * posix/geteuid.c: Likewise.
30920 * posix/getgid.c: Likewise.
30921 * posix/getgroups.c: Likewise.
30922 * posix/getlogin.c: Likewise.
30923 * posix/getlogin_r.c: Likewise.
30924 * posix/getpgid.c: Likewise.
30925 * posix/getpid.c: Likewise.
30926 * posix/getppid.c: Likewise.
30927 * posix/getresgid.c: Likewise.
30928 * posix/getresuid.c: Likewise.
30929 * posix/getsid.c: Likewise.
30930 * posix/getuid.c: Likewise.
30931 * posix/glob64.c: Likewise.
30932 * posix/nanosleep.c: Likewise.
30933 * posix/pathconf.c: Likewise.
30934 * posix/pause.c: Likewise.
30935 * posix/posix_madvise.c: Likewise.
30936 * posix/pread.c: Likewise.
30937 * posix/pread64.c: Likewise.
30938 * posix/pwrite.c: Likewise.
30939 * posix/pwrite64.c: Likewise.
30940 * posix/sched_getaffinity.c: Likewise.
30941 * posix/sched_getp.c: Likewise.
30942 * posix/sched_gets.c: Likewise.
30943 * posix/sched_primax.c: Likewise.
30944 * posix/sched_primin.c: Likewise.
30945 * posix/sched_rr_gi.c: Likewise.
30946 * posix/sched_setaffinity.c: Likewise.
30947 * posix/sched_setp.c: Likewise.
30948 * posix/sched_sets.c: Likewise.
30949 * posix/sched_yield.c: Likewise.
30950 * posix/setgid.c: Likewise.
30951 * posix/setlogin.c: Likewise.
30952 * posix/setpgid.c: Likewise.
30953 * posix/setresgid.c: Likewise.
30954 * posix/setresuid.c: Likewise.
30955 * posix/setsid.c: Likewise.
30956 * posix/setuid.c: Likewise.
30957 * posix/sleep.c: Likewise.
30958 * posix/spawni.c: Likewise.
30959 * posix/sysconf.c: Likewise.
30960 * posix/times.c: Likewise.
30961 * posix/wait.c: Likewise.
30962 * posix/wait3.c: Likewise.
30963 * posix/wait4.c: Likewise.
30964 * posix/waitpid.c: Likewise.
30965 * resolv/gai_sigqueue.c: Likewise.
30966 * resource/getpriority.c: Likewise.
30967 * resource/getrlimit.c: Likewise.
30968 * resource/getrusage.c: Likewise.
30969 * resource/nice.c: Likewise.
30970 * resource/setpriority.c: Likewise.
30971 * resource/setrlimit.c: Likewise.
30972 * resource/ulimit.c: Likewise.
30973 * rt/aio_cancel.c: Likewise.
30974 * rt/aio_fsync.c: Likewise.
30975 * rt/aio_read.c: Likewise.
30976 * rt/aio_sigqueue.c: Likewise.
30977 * rt/aio_suspend.c: Likewise.
30978 * rt/aio_write.c: Likewise.
30979 * rt/clock_getres.c: Likewise.
30980 * rt/clock_gettime.c: Likewise.
30981 * rt/clock_nanosleep.c: Likewise.
30982 * rt/clock_settime.c: Likewise.
30983 * rt/lio_listio.c: Likewise.
30984 * rt/mq_close.c: Likewise.
30985 * rt/mq_getattr.c: Likewise.
30986 * rt/mq_notify.c: Likewise.
30987 * rt/mq_open.c: Likewise.
30988 * rt/mq_receive.c: Likewise.
30989 * rt/mq_send.c: Likewise.
30990 * rt/mq_setattr.c: Likewise.
30991 * rt/mq_timedreceive.c: Likewise.
30992 * rt/mq_timedsend.c: Likewise.
30993 * rt/mq_unlink.c: Likewise.
30994 * rt/shm_open.c: Likewise.
30995 * rt/shm_unlink.c: Likewise.
30996 * rt/timer_create.c: Likewise.
30997 * rt/timer_delete.c: Likewise.
30998 * rt/timer_getoverr.c: Likewise.
30999 * rt/timer_gettime.c: Likewise.
31000 * rt/timer_settime.c: Likewise.
31001 * setjmp/__longjmp.c: Likewise.
31002 * setjmp/setjmp.c: Likewise.
31003 * signal/kill.c: Likewise.
31004 * signal/killpg.c: Likewise.
31005 * signal/raise.c: Likewise.
31006 * signal/sigaction.c: Likewise.
31007 * signal/sigaltstack.c: Likewise.
31008 * signal/sigblock.c: Likewise.
31009 * signal/sigignore.c: Likewise.
31010 * signal/sigintr.c: Likewise.
31011 * signal/signal.c: Likewise.
31012 * signal/sigpause.c: Likewise.
31013 * signal/sigpending.c: Likewise.
31014 * signal/sigqueue.c: Likewise.
31015 * signal/sigreturn.c: Likewise.
31016 * signal/sigset.c: Likewise.
31017 * signal/sigsetmask.c: Likewise.
31018 * signal/sigstack.c: Likewise.
31019 * signal/sigsuspend.c: Likewise.
31020 * signal/sigtimedwait.c: Likewise.
31021 * signal/sigvec.c: Likewise.
31022 * signal/sigwait.c: Likewise.
31023 * signal/sigwaitinfo.c: Likewise.
31024 * signal/sysv_signal.c: Likewise.
31025 * socket/accept.c: Likewise.
31026 * socket/accept4.c: Likewise.
31027 * socket/bind.c: Likewise.
31028 * socket/connect.c: Likewise.
31029 * socket/getpeername.c: Likewise.
31030 * socket/getsockname.c: Likewise.
31031 * socket/getsockopt.c: Likewise.
31032 * socket/isfdtype.c: Likewise.
31033 * socket/listen.c: Likewise.
31034 * socket/recv.c: Likewise.
31035 * socket/recvfrom.c: Likewise.
31036 * socket/recvmsg.c: Likewise.
31037 * socket/send.c: Likewise.
31038 * socket/sendmsg.c: Likewise.
31039 * socket/sendto.c: Likewise.
31040 * socket/setsockopt.c: Likewise.
31041 * socket/shutdown.c: Likewise.
31042 * socket/sockatmark.c: Likewise.
31043 * socket/socket.c: Likewise.
31044 * socket/socketpair.c: Likewise.
31045 * stdio-common/ctermid.c: Likewise.
31046 * stdio-common/cuserid.c: Likewise.
31047 * stdio-common/remove.c: Likewise.
31048 * stdio-common/rename.c: Likewise.
31049 * stdio-common/renameat.c: Likewise.
31050 * stdio-common/tempname.c: Likewise.
31051 * stdlib/getcontext.c: Likewise.
31052 * stdlib/makecontext.c: Likewise.
31053 * stdlib/setcontext.c: Likewise.
31054 * stdlib/swapcontext.c: Likewise.
31055 * stdlib/system.c: Likewise.
31056 * streams/fattach.c: Likewise.
31057 * streams/fdetach.c: Likewise.
31058 * streams/getmsg.c: Likewise.
31059 * streams/getpmsg.c: Likewise.
31060 * streams/putmsg.c: Likewise.
31061 * streams/putpmsg.c: Likewise.
31062 * sysdeps/unix/bsd/getpt.c: Likewise.
31063 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
31064 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
31065 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31067 Likewise.
31068 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
31069 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31070 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31071 * sysvipc/msgctl.c: Likewise.
31072 * sysvipc/msgget.c: Likewise.
31073 * sysvipc/msgrcv.c: Likewise.
31074 * sysvipc/msgsnd.c: Likewise.
31075 * sysvipc/semctl.c: Likewise.
31076 * sysvipc/semget.c: Likewise.
31077 * sysvipc/semop.c: Likewise.
31078 * sysvipc/semtimedop.c: Likewise.
31079 * sysvipc/shmat.c: Likewise.
31080 * sysvipc/shmctl.c: Likewise.
31081 * sysvipc/shmdt.c: Likewise.
31082 * sysvipc/shmget.c: Likewise.
31083 * termios/tcdrain.c: Likewise.
31084 * termios/tcflow.c: Likewise.
31085 * termios/tcflush.c: Likewise.
31086 * termios/tcgetattr.c: Likewise.
31087 * termios/tcgetpgrp.c: Likewise.
31088 * termios/tcsendbrk.c: Likewise.
31089 * termios/tcsetattr.c: Likewise.
31090 * termios/tcsetpgrp.c: Likewise.
31091 * time/adjtime.c: Likewise.
31092 * time/clock.c: Likewise.
31093 * time/getitimer.c: Likewise.
31094 * time/gettimeofday.c: Likewise.
31095 * time/setitimer.c: Likewise.
31096 * time/settimeofday.c: Likewise.
31097 * time/stime.c: Likewise.
31098 * time/time.c: Likewise.
31099
311002012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 31101
a20492cf
PT
31102 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
31103 /usr/old/bin.
31104
72e182e3
PT
31105 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
31106 instead of spaces.
31107 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
31108
fbeafede
JM
311092012-11-03 Joseph Myers <joseph@codesourcery.com>
31110
5b5b04d6
JM
31111 [BZ #14796]
31112 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
31113 FE_TONEAREST before applying Dekker multiplication and Knuth
31114 addition. Clear inexact exceptions and check for exact zero
31115 results afterwards.
31116 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31117 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31118 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31119 * math/libm-test.inc (fma_test): Add more tests.
31120 (fma_test_towardzero): Likewise.
31121 (fma_test_downward): Likewise.
31122 (fma_test_upward): Likewise.
31123 * sysdeps/generic/math_private.h (default_libc_fesetround): New
31124 function.
31125 (libc_fesetround): New macro.
31126 (libc_fesetroundf): Likewise.
31127 (libc_fesetroundl): Likewise.
31128 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31129 function.
31130 (libc_fesetround_387): Likewise.
31131 (libc_fesetroundf): New macro.
31132 (libc_fesetround): Likewise.
31133 (libc_fesetroundl): Likewise.
31134 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31135 function.
31136 (libc_fesetroundf): New macro.
31137 (libc_fesetround): Likewise.
31138 (libc_fesetroundl): Likewise.
31139 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31140 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31141 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31142 libm_hidden_ver.
31143 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31144 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31145 libm_hidden_def.
31146 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31147 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31148 libm_hidden_ver.
31149 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31150 libm_hidden_def.
31151
fbeafede
JM
31152 [BZ #3439]
31153 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31154 integer constant usable in #if and use that to give value to enum
31155 constant.
31156 (FE_DIVBYZERO): Likewise.
31157 (FE_UNDERFLOW): Likewise.
31158 (FE_OVERFLOW): Likewise.
31159 (FE_INVALID): Likewise.
31160 (FE_INVALID_SNAN): Likewise.
31161 (FE_INVALID_ISI): Likewise.
31162 (FE_INVALID_IDI): Likewise.
31163 (FE_INVALID_ZDZ): Likewise.
31164 (FE_INVALID_IMZ): Likewise.
31165 (FE_INVALID_COMPARE): Likewise.
31166 (FE_INVALID_SOFTWARE): Likewise.
31167 (FE_INVALID_SQRT): Likewise.
31168 (FE_INVALID_INTEGER_CONVERSION): Likewise.
31169 (FE_TONEAREST): Likewise.
31170 (FE_TOWARDZERO): Likewise.
31171 (FE_UPWARD): Likewise.
31172 (FE_DOWNWARD): Likewise.
31173 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31174 (FE_DIVBYZERO): Likewise.
31175 (FE_OVERFLOW): Likewise.
31176 (FE_UNDERFLOW): Likewise.
31177 (FE_INEXACT): Likewise.
31178 (FE_TONEAREST): Likewise.
31179 (FE_DOWNWARD): Likewise.
31180 (FE_UPWARD): Likewise.
31181 (FE_TOWARDZERO): Likewise.
31182 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31183 (FE_UNDERFLOW): Likewise.
31184 (FE_OVERFLOW): Likewise.
31185 (FE_DIVBYZERO): Likewise.
31186 (FE_INVALID): Likewise.
31187 (FE_TONEAREST): Likewise.
31188 (FE_TOWARDZERO): Likewise.
31189 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31190 (FE_OVERFLOW): Likewise.
31191 (FE_UNDERFLOW): Likewise.
31192 (FE_DIVBYZERO): Likewise.
31193 (FE_INEXACT): Likewise.
31194 (FE_TONEAREST): Likewise.
31195 (FE_TOWARDZERO): Likewise.
31196 (FE_UPWARD): Likewise.
31197 (FE_DOWNWARD): Likewise.
31198 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31199 (FE_DIVBYZERO): Likewise.
31200 (FE_OVERFLOW): Likewise.
31201 (FE_UNDERFLOW): Likewise.
31202 (FE_INEXACT): Likewise.
31203 (FE_TONEAREST): Likewise.
31204 (FE_DOWNWARD): Likewise.
31205 (FE_UPWARD): Likewise.
31206 (FE_TOWARDZERO): Likewise.
31207
105ca950
CM
312082012-11-02 Chris Metcalf <cmetcalf@tilera.com>
31209
31210 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31211
a542b389
AS
312122012-11-03 Andreas Schwab <schwab@linux-m68k.org>
31213
31214 * scripts/cross-test-ssh.sh (command): Use newlines to separate
31215 commands. Quote $PWD.
31216 (blacklist_exports): Don't use remove_newlines. Replace "declare
31217 -x" by "export".
31218 (remove_newlines): Remove.
31219
f62c8abc
L
312202012-11-02 H.J. Lu <hongjiu.lu@intel.com>
31221
31222 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31223 * stdlib/stdlib.h (atof): Moved to ...
31224 * include/bits/stdlib-float.h: Here. New file.
31225 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31226 * stdlib/bits/stdlib-float.h: New file.
31227 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31228 -mno-sse -mno-mmx.
31229 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31230 <xmmintrin.h>.
31231
0155d5b2
JM
312322012-11-02 Joseph Myers <joseph@codesourcery.com>
31233
a68d0680
JM
31234 * conform/conformtest.pl (@headers): Add fenv.h.
31235 * conform/data/fenv.h-data: New file.
31236 * include/fenv.h [_ISOMAC]: Disable all contents of file except
31237 include of <math/fenv.h>.
31238
caf7f573
JM
31239 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31240 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31241 && !UNIX98]. Enables tests for XOPEN2K8.
31242 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31243 POSIX2008]: Likewise.
31244
6c073ad6
JM
31245 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31246 (struct rusage): Do not expect type or its members.
31247
0155d5b2
JM
31248 [BZ #3439]
31249 * math/math.h (FP_NAN): Define macro to integer constant usable in
31250 #if and use that to give value to enum constant.
31251 (FP_INFINITE): Likewise.
31252 (FP_ZERO): Likewise.
31253 (FP_SUBNORMAL): Likewise.
31254 (FP_NORMAL): Likewise.
31255
b5dcacb4
AS
312562012-11-02 Andreas Schwab <schwab@linux-m68k.org>
31257
31258 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31259 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31260 arguments.
31261
f7934be8
RM
312622012-11-02 Roland McGrath <roland@hack.frob.com>
31263
31264 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31265 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31266 autoconf-time if not.
31267 * configure.in: Remove AC_PREREQ.
31268
d7d08bde
TMQMF
312692012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31270
31271 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31272 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31273 of the internal implementation.
31274
dcdae19a
JM
312752012-11-02 Joseph Myers <joseph@codesourcery.com>
31276
31277 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31278 except include of <misc/sys/syslog.h>.
31279
d6cffd3e
AS
312802012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31281
31282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31283 function returns with a NULL context exit with zero.
31284
b3563932
TMQMF
312852012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31286
31287 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31288
b288a93d
L
312892012-11-01 H.J. Lu <hongjiu.lu@intel.com>
31290
31291 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31292 (run_program_cmd): This.
31293 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31294 (tst_langinfo): New variable. Use it.
31295
a2421a68
SAS
312962012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
31297
31298 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31299 floating point opcodes.
31300
6f796e1b
TS
313012012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31302
7402596b
TS
31303 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31304 variable.
31305
d0d4f868
TS
31306 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31307
6f796e1b
TS
31308 * sysdeps/mach/hurd/powerpc: Remove directory.
31309 * sysdeps/mach/powerpc: Likewise.
31310
4da224a2
AS
313112012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31312
31313 * scripts/check-local-headers.sh: Ignore c++ headers.
31314
341dd673
TS
313152012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31316
31317 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31318 __libc_cleanup_region_start argument.
31319
473611b2
JM
313202012-11-01 Joseph Myers <joseph@codesourcery.com>
31321
31322 [BZ #14784]
31323 [BZ #14785]
31324 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31325 x * y using scaling, not as x * y + z.
31326 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31327 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31328 * math/libm-test.inc (fma_test): Add more tests.
31329 (fma_test_towardzero): Likewise.
31330 (fma_test_downward): Likewise.
31331 (fma_test_upward): Likewise.
31332
4078da3d
TS
313332012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31334
31335 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31336
903252aa
JM
313372012-10-31 Joseph Myers <joseph@codesourcery.com>
31338
31339 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31340 New variable.
31341
cbc818d0
TS
313422012-10-31 Thomas Schwinge <thomas@codesourcery.com>
31343
31344 * rt/tst-shm.c (worker): Correct checking for mmap failure.
31345
5a03cb1e
AS
313462012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31347
31348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31349 Fix sort order.
31350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31351 Likewise.
31352
90aff2ff
TMQMF
313532012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31354
31355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31356 Fix the order of the list for glibc 2.17.
31357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31358 Likewise.
31359
1818fcb7
AS
313602012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31361
31362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31363
ef82f4da
JM
313642012-10-31 Joseph Myers <joseph@codesourcery.com>
31365
16a0e2ec
JM
31366 [BZ #14610]
31367 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31368 for low part of x being zero before using __atanl (y).
31369 * math/libm-test.inc (atan2_test): Add another test.
31370
0eb69512
JM
31371 * manual/install.texi (Configuring and compiling): Document
31372 general use of test-wrapper and test-wrapper-env.
31373 * INSTALL: Regenerated.
31374
ef82f4da
JM
31375 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31376 (__fma): Do not extract and scale down low bits on after-rounding
31377 systems when result rounded to normal precision would have normal
31378 exponent.
31379 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31380 (__fmal): Do not extract and scale down low bits on after-rounding
31381 systems when result rounded to normal precision would have normal
31382 exponent.
31383 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31384 (__fmal): Do not extract and scale down low bits on after-rounding
31385 systems when result rounded to normal precision would have normal
31386 exponent.
31387 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31388 macro.
31389 (fma_test): Add more tests.
31390 (fma_test_towardzero): Likewise.
31391 (fma_test_downward): Likewise.
31392 (fma_test_upward): Likewise.
31393
954ef0d9
L
313942012-10-30 H.J. Lu <hongjiu.lu@intel.com>
31395
31396 * sysdeps/i386/tininess.h: Renamed to ...
31397 * sysdeps/x86/tininess.h: This.
31398 * sysdeps/x86_64/tininess.h: Removed.
31399
df61ffb2
JM
314002012-10-30 Joseph Myers <joseph@codesourcery.com>
31401
31402 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31403 input. Use $(build-program-cmd).
31404 ($(objpfx)tst-array1-static.out): Likewise.
31405 ($(objpfx)tst-array2.out): Likewise.
31406 ($(objpfx)tst-array3.out): Likewise.
31407 ($(objpfx)tst-array4.out): Likewise.
31408 ($(objpfx)tst-array5.out): Likewise.
31409 ($(objpfx)tst-array5-static.out): Likewise.
31410
01767843
CM
314112012-10-30 Chris Metcalf <cmetcalf@tilera.com>
31412
47cc1490
CM
31413 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31414 if defined.
31415
01767843
CM
31416 * nss/nsswitch.h (nss_interface_function): Provide new
31417 macro for use with NSS functions.
31418 * grp/initgroups.c: Use new macro.
31419 * nss/getXXbyYY.c: Likewise.
31420 * nss/getXXbyYY_r.c: Likewise.
31421 * nss/getXXent.c: Likewise.
31422 * nss/getXXent_r.c: Likewise.
31423 * sysdeps/posix/getaddrinfo.c: Likewise.
31424
8321aa97
AJ
314252012-10-30 Andreas Jaeger <aj@suse.de>
31426
31427 * po/ru.po: Update Russion translation from translation project.
31428
2a27fd6d
JM
314292012-10-30 Joseph Myers <joseph@codesourcery.com>
31430
8627a232
JM
31431 [BZ #14152]
31432 [BZ #14783]
31433 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31434 result and shift together with sticky bit instead of replicating
31435 round-to-nearest rounding.
31436 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31437 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31438 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31439 missing underflow exceptions.
31440 (fma_test_towardzero): Add more tests.
31441 (fma_test_downward): Likewise.
31442 (fma_test_upward): Likewise.
31443
2a27fd6d
JM
31444 [BZ #14047]
31445 * sysdeps/generic/tininess.h: New file.
31446 * sysdeps/i386/tininess.h: Likewise.
31447 * sysdeps/sh/tininess.h: Likewise.
31448 * sysdeps/x86_64/tininess.h: Likewise.
31449 * stdlib/tst-strtod-underflow.c: Likewise.
31450 * stdlib/tst-tininess.c: Likewise.
31451 * stdlib/strtod_l.c: Include <tininess.h>.
31452 (round_and_return): Do not set errno for exact underflow cases.
31453 Force an underflow exception when setting errno for underflow.
31454 Determine underflow based on rounding to normal precision if
31455 TININESS_AFTER_ROUNDING.
31456 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31457 ERANGE for exact underflow cases.
31458 * stdlib/Makefile (tests): Add tst-tininess and
31459 tst-strtod-underflow.
31460 ($(objpfx)tst-tininess): Use $(link-libm).
31461 ($(objpfx)tst-strtod-underflow): Likewise.
31462
e7170363
AJ
314632012-10-30 Andreas Jaeger <aj@suse.de>
31464
e5088dc6
AJ
31465 [BZ#14767]
31466 * elf/Makefile (tests): Remove conditional for have-initfini-array
31467 since this is now always required and the variable does not exist
31468 anymore.
31469 (tests-static): Likewise.
31470 (modules-names): Likewise.
31471
e7170363 31472 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
31473
31474 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31475 merged with constructor/destructor.
31476 (init_array): Likewise.
31477 * elf/tst-array2dep.c (fini_array): Likewise.
31478 (init_array): Likewise.
31479
60457d8a
MF
314802012-10-29 Mike Frysinger <vapier@gentoo.org>
31481
31482 * manual/message.texi: Delete @cartouche tags.
31483
8bece752
PT
314842012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31485
94ce799f
PT
31486 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31487 EOPNOTSUPP.
31488 * sysdeps/mach/hurd/fsync.c: Likewise.
31489
8bece752
PT
31490 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31491 [_POSIX_REALTIME_SIGNALS]: Change condition to
31492 [_POSIX_REALTIME_SIGNALS > 0].
31493
86ebe6b1
AJ
314942012-10-27 Andreas Jaeger <aj@suse.de>
31495
31496 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31497 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31498 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31499 [__WORDSIZE != 64]: Likewise.
31500
54399c08
L
315012012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31502
31503 * iconvdata/tst-table.sh: Remove ${SHELL}.
31504 * iconvdata/tst-tables.sh: Likewise.
31505
e2211bed
DM
315062012-10-25 David S. Miller <davem@davemloft.net>
31507
31508 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31509 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31510 of strtoull.
31511
f303f97c
DM
31512 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31513 ifunc-impl-list.c
31514 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31515 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31516 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31517 file.
31518
1e9d84cd
RM
315192012-10-25 Roland McGrath <roland@hack.frob.com>
31520
31521 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31522 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31523 __getdirentries.
31524
df381762
JM
315252012-10-25 Joseph Myers <joseph@codesourcery.com>
31526 Jim Blandy <jimb@codesourcery.com>
31527
31528 * scripts/cross-test-ssh.sh: New file.
31529 * manual/install.texi (Configuring and compiling): Document use of
31530 cross-test-ssh.sh.
31531 * INSTALL: Regenerated.
31532
bff64913
PT
315332012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31534
31535 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31536 EOPNOTSUPP.
31537
25fe8932
JM
315382012-10-25 Joseph Myers <joseph@codesourcery.com>
31539
31540 * Makeconfig (run-program-prefix): Fix comment.
31541
cc1290d0
JM
315422012-10-24 Joseph Myers <joseph@codesourcery.com>
31543 Jim Blandy <jimb@codesourcery.com>
31544
31545 * Makeconfig (test-wrapper): New variable,
31546 (test-wrapper-env): Likewise.
31547 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31548 (run-built-tests): Define to yes.
31549 (run-program-prefix): Use $(test-wrapper).
31550 (built-program-cmd): Likewise.
31551 * Rules (make-test-out): Use $(test-wrapper-env) and
31552 $(host-built-program-cmd).
31553 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31554 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31555 tst-pathopt.sh.
31556 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31557 $(test-wrapper-env) to tst-rtld-load-self.sh.
31558 ($(objpfx)order2.out): Use $(test-wrapper).
31559 ($(objpfx)tst-initorder.out): Likewise.
31560 ($(objpfx)tst-initorder2.out): Likewise.
31561 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31562 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31563 (test_wrapper_env): New variable. Use it to run ld.so.
31564 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31565 Use it to run ld.so.
31566 (test_wrapper_env): Likewise.
31567 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31568 $(test-wrapper) to run-iconv-test.sh.
31569 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31570 (ICONV): Use $test_wrapper.
31571 * posix/Makefile ($(objpfx)globtest.out): Pass
31572 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31573 globtest.sh, not $(run-program-prefix).
31574 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31575 (test_wrapper): Likewise.
31576 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31577 set together with run_via_rtld_prefix.
31578 (run_program_prefix): Define in terms of test_wrapper and
31579 run_via_rtld_prefix.
31580
6e6249d0
RM
315812012-10-24 Roland McGrath <roland@hack.frob.com>
31582
31583 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31584 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31585 Targets removed.
31586
31587 [BZ #14743]
31588 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31589 Declare __clock_getres, __clock_gettime, __clock_settime,
31590 __clock_nanosleep, and __clock_getcpuclockid.
31591 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31592 Remove librt_hidden_def (clock_gettime).
31593 * sysdeps/unix/clock_gettime.c: Likewise.
31594 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31595 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31596 * rt/clock_getres.c: Define __clock_getres as an alias.
31597 * sysdeps/posix/clock_getres.c: Likewise.
31598 * rt/clock_settime.c: Define __clock_settime as an alias.
31599 * sysdeps/unix/clock_settime.c: Likewise.
31600 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31601 * sysdeps/unix/clock_nanosleep.c: Likewise.
31602 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31603 * rt/clock-compat.c: New file.
31604 * rt/Makefile (librt-routines): Add clock-compat and move
31605 $(clock-routines) to ...
31606 (routines): ... here, new variable.
31607 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31608 Don't add get_clockfreq here.
31609 * rt/Versions (libc: GLIBC_2.17): New version set.
31610 Add clock_* symbols here.
31611 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
31612 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31613 (GLIBC_2.17): Add clock_* symbols.
31614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31616 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31618 Likewise.
31619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31620 Likewise.
31621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31622 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31625 * NEWS: Mention the move.
31626
31627 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31628 Use __open, __read, __close rather than their public counterparts.
31629 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31630 (__get_clockfreq_via_cpuinfo): Likewise.
31631 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31632 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31633
31634 * config.h.in (HAVE_IFUNC): New #undef.
31635 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31636 was successful.
31637 * configure: Regenerated.
31638
0cae3f4b
MF
316392012-10-24 Mike Frysinger <vapier@gentoo.org>
31640
31641 * configure.in: Move READELF check to start of file.
31642 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31643 libc_cv_asm_gnu_indirect_function in the process.
31644 * configure: Regenerated.
31645
8175a253
MF
316462012-10-24 Mike Frysinger <vapier@gentoo.org>
31647
31648 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31649 send the output to /dev/null.
31650 (libc_cv_cc_with_libunwind): Likewise.
31651 (libc_cv_as_noexecstack): Likewise.
31652 * configure: Regenerate.
31653
0708a7d1
JM
316542012-10-24 Joseph Myers <joseph@codesourcery.com>
31655
10b40d85
JM
31656 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31657
0708a7d1
JM
31658 * posix/globtest.sh (TMPDIR): Do not set.
31659 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31660 (testout): Likewise.
31661
9fddec1a
AJ
316622012-10-24 Andreas Jaeger <aj@suse.de>
31663
3a8db22f
AJ
31664 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31665 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31666 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31667 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31668 posix_fadvise64, posix_fallocate64.
31669
9fddec1a
AJ
31670 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31671 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31672 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31673 Likewise.
31674 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31675 Likewise.
31676 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31677
31678 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31679 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31680 <bits/fcntl-linux.h>.
31681 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31682
31683 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31684 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31685 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31686 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31687 [__WORDSIZE != 64]: Likewise.
31688
ebfd1bbd
JM
316892012-10-23 Joseph Myers <joseph@codesourcery.com>
31690
03ac099f
JM
31691 * Makeconfig (run-built-tests): New variable.
31692 * Rules [$(cross-compiling) = yes]: Change condition to
31693 [$(run-built-tests) = no].
31694 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31695 to [$(run-built-tests) = yes].
31696 * elf/Makefile [$(cross-compiling) = no]: Likewise
31697 * grp/Makefile [$(cross-compiling) = no]: Likewise.
31698 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31699 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31700 * intl/Makefile [$(cross-compiling) = no]: Likewise.
31701 * io/Makefile [$(cross-compiling) = no]: Likewise.
31702 * libio/Makefile [$(cross-compiling) = no]: Likewise.
31703 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31704 * misc/Makefile [$(cross-compiling) = no]: Likewise.
31705 * posix/Makefile [$(cross-compiling) = no]: Likewise.
31706 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31707 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31708 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31709 * string/Makefile [$(cross-compiling) = no]: Likewise.
31710
ebfd1bbd
JM
31711 * posix/Makefile ($(objpfx)globtest.out): Pass
31712 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31713 $(rtld-installed-name).
31714 * posix/globtest.sh (elf_objpfx): Remove variable.
31715 (rtld_installed_name): Likewise.
31716 (library_path): Likewise.
31717 (run_program_prefix): New variable. Use for running globtest
31718 binary.
31719
166bca24
JB
317202012-10-23 Jim Blandy <jimb@codesourcery.com>
31721 Joseph Myers <joseph@codesourcery.com>
31722
31723 * Makeconfig (host-built-program-cmd): New variable.
31724 * elf/Makefile (tst-stackguard1-ARGS): Use
31725 $(host-built-program-cmd).
31726 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31727 (tst-spawn-ARGS): Likewise.
31728 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31729
88866099
JM
317302012-10-23 Joseph Myers <joseph@codesourcery.com>
31731 Jim Blandy <jimb@codesourcery.com>
31732
31733 * Makeconfig (run-via-rtld-prefix): New variable.
31734 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31735 (built-program-cmd): Likewise.
31736
b4b4c296
AJ
317372012-10-22 Andreas Jaeger <aj@suse.de>
31738
31739 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31740 __O_RSYNC if it exists, otherwise to O_SYNC.
31741
6fb54a22
JB
317422012-10-22 Jim Blandy <jimb@codesourcery.com>
31743 Joseph Myers <joseph@codesourcery.com>
31744
31745 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31746 /dev/null.
31747 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31748 from /dev/null
31749 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31750 /dev/null.
31751
481b90b9
AJ
317522012-10-22 Andreas Jaeger <aj@suse.de>
31753
2a0e2669
AJ
31754 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31755 Define always.
31756 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31757
76e38f9a
AJ
31758 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31759 bits/fcntl-linux.h.
31760
7cd37b43
AJ
31761 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31762 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31763
481b90b9
AJ
31764 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31765 to __O_LARGEFILE.
31766 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31767 to __O_LARGEFILE.
31768
aba75984
JB
317692012-10-21 Jim Blandy <jimb@codesourcery.com>
31770 Joseph Myers <joseph@codesourcery.com>
31771
31772 * config.make.in (NM): New variable.
31773
88d4247f
AJ
317742012-10-21 Andreas Jaeger <aj@suse.de>
31775
31776 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31777 definitions and declarations that are provided by
31778 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31779
f2eed205
L
317802012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31781
31782 [BZ #14683]
31783 * elf/Makefile (tests-static): Add tst-leaks1-static.
31784 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31785 ($(objpfx)tst-leaks1-static): New rule.
31786 ($(objpfx)tst-leaks1-static-mem): Likewise.
31787 (tst-leaks1-static-ENV): New macro.
31788 * elf/dl-open.c (dl_open_worker): Check the main application
31789 only if SHARED is defined.
31790 * elf/tst-leaks1-static.c: New file.
31791
335e6931
AJ
317922012-10-20 Andreas Jaeger <aj@suse.de>
31793
31794 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31795 generic values for Linux.
31796 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31797 and declarations that are provided by <bits/fcntl-linux.h> and
31798 include <bits/fcntl-linux.h>.
31799 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31800 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31801
ac5c94d3
RM
318022012-10-20 Roland McGrath <roland@hack.frob.com>
31803
31804 * io/fcntl.h: Move include of <bits/types.h> to the top and
31805 include it unconditionally.
31806
de54b33a
L
318072012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31808
228cfb01
L
31809 * wcsmbs/Makefile (tests-ifunc): New variable.
31810 (tests): Add $(tests-ifunc).
31811 * wcsmbs/test-wcschr-ifunc.c: New file.
31812 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31813 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31814 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31815 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31816 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31817
69f07e5f
L
31818 * string/Makefile (tests-ifunc): New variable.
31819 (tests): Add $(tests-ifunc).
31820 * string/test-memccpy.c (TEST_NAME): New macro.
31821 * string/test-memchr.c (TEST_NAME): Likewise.
31822 * string/test-memcmp.c (TEST_NAME): Likewise.
31823 * string/test-memcpy.c (TEST_NAME): Likewise.
31824 * string/test-memmem.c (TEST_NAME): Likewise.
31825 * string/test-memmove.c (TEST_NAME): Likewise.
31826 * string/test-memset.c (TEST_NAME): Likewise.
31827 * string/test-rawmemchr.c (TEST_NAME): Likewise.
31828 * string/test-stpcpy.c (TEST_NAME): Likewise.
31829 * string/test-stpncpy.c (TEST_NAME): Likewise.
31830 * string/test-strcasecmp.c (TEST_NAME): Likewise.
31831 * string/test-strcasestr.c (TEST_NAME): Likewise.
31832 * string/test-strcat.c (TEST_NAME): Likewise.
31833 * string/test-strchr.c (TEST_NAME): Likewise.
31834 * string/test-strcmp.c(TEST_NAME): Likewise.
31835 * string/test-strcpy.c (TEST_NAME): Likewise.
31836 * string/test-strcspn.c (TEST_NAME): Likewise.
31837 * string/test-strlen.c (TEST_NAME): Likewise.
31838 * string/test-strncasecmp.c (TEST_NAME): Likewise.
31839 * string/test-strncmp.c (TEST_NAME): Likewise.
31840 * string/test-strncpy.c (TEST_NAME): Likewise.
31841 * string/test-strnlen.c (TEST_NAME): Likewise.
31842 * string/test-strpbrk.c (TEST_NAME): Likewise.
31843 * string/test-strrchr.c (TEST_NAME): Likewise.
31844 * string/test-strspn.c (TEST_NAME): Likewise.
31845 * string/test-strstr.c (TEST_NAME): Likewise.
31846 * string/test-bcopy-ifunc.c: New file.
31847 * string/test-bzero-ifunc.c: Likewise.
31848 * string/test-memccpy-ifunc.c: Likewise.
31849 * string/test-memchr-ifunc.c: Likewise.
31850 * string/test-memcmp-ifunc.c: Likewise.
31851 * string/test-memcpy-ifunc.c: Likewise.
31852 * string/test-memmem-ifunc.c: Likewise.
31853 * string/test-memmove-ifunc.c: Likewise.
31854 * string/test-mempcpy-ifunc.c: Likewise.
31855 * string/test-memset-ifunc.c: Likewise.
31856 * string/test-rawmemchr-ifunc.c: Likewise.
31857 * string/test-stpcpy-ifunc.c: Likewise.
31858 * string/test-stpncpy-ifunc.c: Likewise.
31859 * string/test-strcasecmp-ifunc.c: Likewise.
31860 * string/test-strcasestr-ifunc.c: Likewise.
31861 * string/test-strcat-ifunc.c: Likewise.
31862 * string/test-strchr-ifunc.c: Likewise.
31863 * string/test-strchrnul-ifunc.c: Likewise.
31864 * string/test-strcmp-ifunc.c: Likewise.
31865 * string/test-strcpy-ifunc.c: Likewise.
31866 * string/test-strcspn-ifunc.c: Likewise.
31867 * string/test-strlen-ifunc.c: Likewise.
31868 * string/test-strncasecmp-ifunc.c: Likewise.
31869 * string/test-strncat-ifunc.c: Likewise.
31870 * string/test-strncmp-ifunc.c: Likewise.
31871 * string/test-strncpy-ifunc.c: Likewise.
31872 * string/test-strnlen-ifunc.c: Likewise.
31873 * string/test-strpbrk-ifunc.c: Likewise.
31874 * string/test-strrchr-ifunc.c: Likewise.
31875 * string/test-strspn-ifunc.c: Likewise.
31876 * string/test-strstr-ifunc.c: Likewise.
31877
de54b33a
L
31878 * debug/Makefile (tests-ifunc): New variable.
31879 (tests): Add $(tests-ifunc).
31880 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31881 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31882 * debug/test-stpcpy_chk-ifunc.c: New file.
31883 * debug/test-strcpy_chk-ifunc.c: Likewise.
31884
88481c16
SP
318852012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31886
31887 [BZ #13601]
31888 * elf/dl-load.c (open_verify): Retry read if the entire ELF
31889 header is not read in.
31890
135948bd
JM
318912012-10-19 Joseph Myers <joseph@codesourcery.com>
31892
89f1c388
JM
31893 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
31894 script to $(SHELL) as $<. Pass $(common-objpfx) to script
31895 directly. Pass built executable to script as
31896 $(built-program-cmd).
31897 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
31898 $testprogram without using LD_LIBRARY_PATH and $ldso.
31899
e40a0d21
JM
31900 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31901 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31902 $(rtld-installed-name).
31903 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31904 (rtld_installed_name): Likewise.
31905 (library_path): Likewise.
31906 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
31907 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31908 $(run-program-prefix) to tst-tables.sh.
31909 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
31910 it to run tst-table-from and tst-table-to.
31911 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31912 Pass it to tst-table.sh.
31913 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31914 $(run-program-prefix) to tst-gettext.sh.
31915 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31916 tst-translit.sh.
31917 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31918 tst-gettext2.sh.
31919 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
31920 to run tst-gettext.
31921 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
31922 to run tst-gettext2.
31923 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
31924 to run tst-translit.
31925 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31926 $(run-program-prefix) to tst-mtrace.sh.
31927 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
31928 to run tst-mtrace.
31929 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31930 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31931 $(rtld-installed-name).
31932 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31933 (rtld_installed_name): Likewise.
31934 (run_program_prefix): New variable. Use it to run wordexp-test.
31935
728e272a
JM
31936 * Makeconfig (ARCH): Remove all definitions.
31937 (machine): Likewise.
31938 [ARCH]: Remove conditional code.
31939 [!objdir]: Give error.
31940 [!objdir] (objpfx): Remove.
31941 [!objdir] (common-objpfx): Likewise.
31942 [!objdir] (common-objdir): Likewise.
31943 * configure.in (config_makefile): Remove. Hardcode Makefile in
31944 AC_CONFIG_FILES call.
31945 * configure: Regenerated.
31946
d528cdcf
JM
31947 [BZ #13888]
31948 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31949 or TMPDIR.
31950 (testout): Likewise.
31951
135948bd
JM
31952 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31953 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31954 $(rtld-installed-name).
31955 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31956 (rtld_installed_name): Likwise.
31957 (runit): Remove function.
31958 (run_getconf): New variable, Use it for running getconf binary.
31959
38c78296
L
319602012-10-18 H.J. Lu <hongjiu.lu@intel.com>
31961
31962 [BZ #14716]
31963 * string/test-memmem.c (check_result): New function.
31964 (do_one_test): Use it.
31965 (check1): New function.
31966 (test_main): Use it.
31967
d077f65f
MT
319682012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
31969
31970 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31971
ced52c71
JM
319722012-10-18 Joseph Myers <joseph@codesourcery.com>
31973
31974 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
31975 (_G_LSEEK64): Likewise.
31976 (_G_MMAP64): Likewise.
31977 (_G_FSTAT64): Likewise.
31978 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
31979 (_G_LSEEK64): Likewise.
31980 (_G_MMAP64): Likewise.
31981 (_G_FSTAT64): Likewise.
31982 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
31983 unconditional. Call __mmap64 directly.
31984 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
31985 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
31986 __lseek64 directly.
31987 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
31988 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
31989 __mmap64 directly.
31990 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
31991 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
31992 __lseek64 directly.
31993 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31994 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
31995 __lseek64 directly.
31996 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31997 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
31998 __lseek64 directly.
31999 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
32000 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
32001 __fxstat64 directly.
32002 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
32003 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
32004 unconditional.
32005 (freopen64) [!_G_OPEN64]: Remove conditional code.
32006 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
32007 unconditional.
32008 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
32009 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
32010 unconditional.
32011 (ftello64) [!_G_LSEEK64]: Remove conditional code.
32012 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
32013 unconditional.
32014 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32015 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
32016 unconditional.
32017 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
32018 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
32019 unconditional.
32020 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32021 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
32022 unconditional.
32023 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32024 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
32025 unconditional.
32026 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32027
b741de23
SP
320282012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32029
32030 [BZ #12140]
32031 * manual/memory.texi (Malloc Tunable Parameters): Add note
32032 about free list pointers overwriting some perturb bytes.
32033 Wording suggested by Roland McGrath.
32034
f9b9d9c9
JM
320352012-10-17 Joseph Myers <joseph@codesourcery.com>
32036
32037 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
32038 (lgamma_test): Likewise.
32039 (tgamma_test): Likewise.
32040
172a631a
FW
320412012-10-16 Florian Weimer <fweimer@redhat.com>
32042
32043 [BZ #14700]
32044 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
32045 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
32046
e9f37252
MK
320472012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
32048
32049 * NEWS: Mention BZ #14716.
32050 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
32051 when removing AVAILABLE1_USES_J macro.
32052
d394eb74
L
320532012-10-12 H.J. Lu <hongjiu.lu@intel.com>
32054
32055 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
32056 (__bswap_64): __uint64_t for unsigned 64-bit int.
32057
ca38dc17
AS
320582012-10-12 Andreas Schwab <schwab@linux-m68k.org>
32059
32060 * include/string.h (memmem): Declare libc hidden alias.
32061 * string/memmem.c (memmem): Define libc hidden alias.
32062 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
32063 __read, __close instead of open, read, close.
32064
9a387d1f
L
320652012-10-11 H.J. Lu <hongjiu.lu@intel.com>
32066
ac49ecaf
L
32067 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
32068 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
32069 global and hidden.
32070 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
32071 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
32072 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
32073 Likewise.
32074 (__rawmemchr_sse2): Likewise.
32075 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
32076 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
32077 (__strchr_sse2): Likewise.
32078 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
32079 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
32080 (__strcasecmp_sse2): Likewise.
32081 (__strncasecmp_sse2): Likewise.
32082 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
32083 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
32084 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
32085 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
32086 (__strrchr_sse2): Likewise.
32087 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
32088 ifunc-impl-list.c.
32089 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32090 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32091 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32092 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32093 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32094 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32095 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32096 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32097 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
32098 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
32099 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
32100 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
32101 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
32102 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32103 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32104 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32105 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32106 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32107 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
32108 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
32109 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
32110 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
32111 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
32112 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32113 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
32114 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32115 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32116 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32117 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32118 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32119
b090e8ea
L
32120 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32121 global and hidden.
32122 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32123 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32124 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32125 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32126 Likewise.
32127 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32128 Likewise.
32129 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32130 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32131 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32132 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32133 ifunc-impl-list.c.
32134 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32135 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32136 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32137 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32138 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32139 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32140 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32141 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32142 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32143 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32144 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32145 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32146 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32147 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32148 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32149 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32150 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32151 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32152 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32153 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32154 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32155 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32156 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32157 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32158 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32159 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32160 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32161 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32162 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32163 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32164 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32165 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32166 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32167 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32168 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32169 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32170 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32171 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32172 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32173 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32174 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32175
11dd4af6
L
32176 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32177 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32178 * include/ifunc-impl-list.h: New file.
32179 * misc/ifunc-impl-list.c: Likewise.
32180 * misc/Makefile (routines): Add ifunc-impl-list.
32181 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32182 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
32183 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32184 TEST_NAME]: New variables.
11dd4af6
L
32185 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32186 are defined.
32187 (test_init): Call __libc_ifunc_impl_list to initialize
32188 func_list if TEST_IFUNC and TEST_NAME are defined.
32189
9a387d1f
L
32190 * string/Makefile (strop-tests): Add bcopy and bzero.
32191 * string/test-bcopy.c: New file.
32192 * string/test-bzero.c: Likewise.
32193 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32194 defined.
32195 * string/test-memset.c: Support bzero test if TEST_BZERO is
32196 defined.
32197 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32198 __libc_memmove.
32199 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32200 __libc_memset.
32201 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32202 of memset.
32203
472371b9
JM
322042012-10-10 Joseph Myers <joseph@codesourcery.com>
32205
1e4a9536
JM
32206 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32207 * configure: Regenerated.
32208
d173d12e
JM
32209 * Makeconfig (+link-static-before-libc): Don't include
32210 $(link-static-libc).
32211
472371b9
JM
32212 * libio/libio.h (_IO_pos_t): Remove.
32213
89a3ad0b
AO
322142012-10-10 Alexandre Oliva <aoliva@redhat.com>
32215
32216 * NEWS: Add note about FIPS mode. Wording suggested by Roland
32217 McGrath.
32218
e7451425
AO
322192012-10-10 Alexandre Oliva <aoliva@redhat.com>
32220
32221 * crypt/crypt-entry.c: Include fips-private.h.
32222 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32223 * crypt/md5c-test.c (main): Tolerate disabled MD5.
32224 * sysdeps/unix/sysv/linux/fips-private.h: New file.
32225 * sysdeps/generic/fips-private.h: New file, dummy fallback.
32226
4ba74a35
AO
322272012-10-10 Alexandre Oliva <aoliva@redhat.com>
32228
32229 * crypt/crypt-private.h: Include stdbool.h.
32230 (_ufc_setup_salt_r): Return bool.
32231 * crypt/crypt-entry.c: Include errno.h.
32232 (__crypt_r): Return NULL with EINVAL for bad salt.
32233 * crypt/crypt_util.c (bad_for_salt): New.
32234 (_ufc_setup_salt_r): Check that salt is long enough and within
32235 the specified alphabet.
32236 * crypt/badsalttest.c: New file.
32237 * crypt/Makefile (tests): Add it.
32238 ($(objpfx)badsalttest): New.
32239
f96f1242
MK
322402012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
32241
32242 * NEWS: Add entry for BZ #14602.
32243
0e8e0c1c
JM
322442012-10-09 Joseph Myers <joseph@codesourcery.com>
32245
32246 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32247 type-generic.
32248 * math/libm-test.inc: Update comment listing what functions and
32249 macros are tested.
32250 (isgreater_test): New function.
32251 (isgreaterequal_test): Likewise.
32252 (isless_test): Likewise.
32253 (islessequal_test): Likewise.
32254 (islessgreater_test): Likewise.
32255 (isunordered_test): Likewise.
32256 (main): Call the new functions.
32257
273edc5e
RM
322582012-10-09 Roland McGrath <roland@hack.frob.com>
32259
b8493de0
RM
32260 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32261 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32262 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32263 * sysdeps/i386/configure: Regenerated.
32264 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32265 * sysdeps/mach/configure: Regenerated.
32266 * sysdeps/mach/hurd/configure: Regenerated.
32267 * sysdeps/powerpc/configure: Regenerated.
32268 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32269 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32270 * sysdeps/s390/s390-32/configure: Regenerated.
32271 * sysdeps/s390/s390-64/configure: Regenerated.
32272 * sysdeps/sh/configure: Regenerated.
32273 * sysdeps/sparc/configure: Regenerated.
32274 * sysdeps/unix/sysv/linux/configure: Regenerated.
32275 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32276 * sysdeps/x86_64/configure: Regenerated.
32277
273edc5e
RM
32278 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32279 defined. Don't check if MAP is NULL.
32280
c8450f70
JM
322812012-10-09 Joseph Myers <joseph@codesourcery.com>
32282
32283 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32284 (_G_stat64): Likewise.
32285 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32286 (_G_stat64): Likewise.
32287 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32288 instead of struct _G_stat64.
32289 * libio/fileops.c (mmap_remap_check): Likewise.
32290 (decide_maybe_mmap): Likewise.
32291 (_IO_new_file_seekoff): Likewise.
32292 (_IO_file_stat): Likewise.
32293 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32294 _G_off64_t.
32295 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32296 instead of struct _G_stat64.
32297 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32298
57e605ba
MK
322992012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
32300
32301 [BZ #14602]
32302 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32303 Replace with ...
32304 (CHECK_EOL): New macro.
32305 (two_way_short_needle): Check beginning of haystack for EOL. Use
32306 CHECK_EOL.
32307 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32308 Replace with CHECK_EOL.
32309 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32310 Replace with CHECK_EOL.
32311
ef1bb361
JM
323122012-10-08 Joseph Myers <joseph@codesourcery.com>
32313
32314 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32315 type-generic.
32316 * math/libm-test.inc: Update comment listing what functions and
32317 macros are tested.
32318 (finite_test): New function.
32319 (isinf_test): Likewise.
32320 (isnan_test): Likewise.
32321 (fpclassify_test): Test subnormal input.
32322 (isfinite_test): Likewise.
32323 (isnormal_test): Likewise.
32324 (main): Call the new functions.
32325
55f11534
JN
323262012-10-08 Jonathan Nieder <jrnieder@gmail.com>
32327
32328 [BZ #14660]
32329 * Makerules (%.dynsym): Force C locale when running
32330 $(OBJDUMP) --dynamic-syms.
32331
1ab29350
AS
323322012-10-08 Andreas Schwab <schwab@linux-m68k.org>
32333
32334 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32335 <stdint.h>.
32336
f1ecb7ef
DM
323372012-10-06 David S. Miller <davem@davemloft.net>
32338
32339 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32340 upper 32-bits of the length value in %o2 since we use branch-on-register
32341 tests which consider the entire 64-bit register.
32342
5d41d91a
L
323432012-10-06 H.J. Lu <hongjiu.lu@intel.com>
32344
32345 * string/test-strstr.c (check2): Add a test for page boundary.
32346
3baddb72
DM
323472012-10-05 David S. Miller <davem@davemloft.net>
32348
32349 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32350 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32351 file.
32352 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32353 sysdep_routines.
32354 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32355 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32356 and bzero when HWCAP_SPARC_CRYPTO is present.
32357
9cee5585
L
323582012-10-05 H.J. Lu <hongjiu.lu@intel.com>
32359
d7e0dab9
L
32360 [BZ #14602]
32361 * string/test-strstr.c (check2): New function.
32362 (test_main): Call check2.
32363
03759f47
L
32364 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32365 and bug-strchr1.
32366 * string/bug-strcasestr1.c (do_test): Moved to ...
32367 * string/test-strcasestr.c (check1): Here. New function.
32368 (do_one_test): Break out result checking code into ...
32369 (check_result): This. New function.
32370 (do_one_test): Call check_result.
32371 (test_main): Call check1.
32372 * string/bug-strchr1.c (do_test): Moved to ...
32373 * string/test-strchr.c (check1): Here. New function.
32374 (do_one_test): Break out result checking code into ...
32375 (check_result): This. New function.
32376 (do_one_test): Call check_result.
32377 (test_main): Call check1.
32378 * string/bug-strstr1.c (main): Moved to ...
046f153e 32379 * string/test-strstr.c (check1): Here. New function.
03759f47
L
32380 (do_one_test): Break out result checking code into ...
32381 (check_result): This. New function.
32382 (do_one_test): Call check_result.
32383 (test_main): Call check1.
32384 * string/bug-strcasestr1.c: Removed.
32385 * string/bug-strchr1.c: Likewise.
32386 * string/bug-strstr1.c: Likewise.
32387
53cea63e
L
32388 * elf/Makefile (dl-routines): Add hwcaps.
32389 * elf/dl-support.c (_dl_important_hwcaps): Removed.
32390 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32391 (_dl_important_hwcaps): Moved to ...
32392 * elf/dl-hwcaps.c: Here. New file.
32393 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32394
9cee5585 32395 [BZ #14557]
bb859b06
L
32396 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32397 if IS_IN_rtld isn't defined.
32398
9cee5585
L
32399 * elf/dl-support.c (_dl_sysinfo_map): New.
32400 Include "get-dynamic-info.h" and "setup-vdso.h".
32401 (_dl_non_dynamic_init): Call setup_vdso.
32402 * elf/dynamic-link.h: Don't include <assert.h>.
32403 (elf_get_dynamic_info): Moved to ...
32404 * elf/get-dynamic-info.h: Here. New file.
32405 * elf/dynamic-link.h: Include "get-dynamic-info.h".
32406 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32407 * elf/setup-vdso.h: Here. New file.
32408 * elf/rtld.c: Include "setup-vdso.h".
32409 (dl_main): Call setup_vdso.
32410
23c31b76
JM
324112012-10-05 Joseph Myers <joseph@codesourcery.com>
32412
28234b07
JM
32413 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32414 creal in comment listing functions tested. List finite, isinf,
32415 isnan, isless, islessequal, isgreater, isgreaterequal,
32416 islessgreater, isunordered, lgamma_r and pow10 as functions and
32417 macros not tested. Mention which functions not tested are aliases
32418 for other functions. Fix typo. Note that signs of NaNs are not
32419 tested.
32420
23c31b76
JM
32421 * scripts/config.guess: Update from config.git.
32422 * scripts/config.sub: Likewise.
32423
9043e228
RM
324242012-10-04 Roland McGrath <roland@hack.frob.com>
32425
32426 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32427 * misc/madvise.c (madvise): Renamed to __madvise.
32428 Make madvise a weak alias.
32429 * include/sys/mman.h: Declare __madvise.
32430 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32431 * sysdeps/unix/syscalls.list
32432 (madvise): Make __madvise the strong name, and madvise a weak alias.
32433 * sysdeps/unix/sysv/linux/syscalls.list
32434 (madvise, mmap): Remove redundant entries.
32435 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32436 * malloc/malloc.c (mtrim): Likewise.
32437 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32438
f57f8055
RM
324392012-10-03 Roland McGrath <roland@hack.frob.com>
32440
32441 * sysdeps/mach/hurd/dl-cache.c: File removed.
32442 * config.h.in (USE_LDCONFIG): New #undef.
32443 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32444 * configure: Regenerated.
32445 * elf/Makefile (dl-routines): Add dl-cache only under
32446 [$(use-ldconfig) = yes].
32447 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32448 cache on [USE_LDCONFIG].
32449 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32450 [USE_LDCONFIG].
32451 * elf/rtld.c (dl_main): Likewise.
32452
5bb0c10a
PT
324532012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32454
32455 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32456 _SC_LEVEL4_CACHE_LINESIZE.
32457
010188c6
RM
324582012-10-03 Roland McGrath <roland@hack.frob.com>
32459
32460 * sysdeps/unix/bsd/confstr.h: File removed.
32461
b6c5ec07
AO
324622012-10-02 Alexandre Oliva <aoliva@redhat.com>
32463
32464 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32465 sys/sdt-config.h.
32466
408223d4
RM
324672012-10-02 Roland McGrath <roland@hack.frob.com>
32468
32469 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32470 Make 'mapoff' field ElfW(Off) rather than off_t.
32471
bb9510dc
DL
324722012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32473
fc997c6e
DL
32474 * nscd/Makefile: Remove nscd-cflags and all its users.
32475 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32476 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32477
bb9510dc
DL
32478 [BZ #10631]
32479 * malloc.c (malloc_printerr): Clarify error message.
32480
05699367
L
324812012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32482
32483 [BZ #14648]
32484 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32485 Set bit_FMA_Usable if FMA is supported.
32486 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32487 macro.
32488 (bit_FMA4_Usable): Updated.
32489 (index_FMA_Usable): New macro.
32490 (CPUID_FMA): Likewise
32491 (HAS_FMA): Defined with bit_FMA_Usable.
32492
51367701
RM
324932012-10-01 Roland McGrath <roland@hack.frob.com>
32494
32495 * bits/types.h (__swblk_t): Type removed.
32496 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32497 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32498 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32499 (__SWBLK_T_TYPE): Likewise.
32500 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32501 (__SWBLK_T_TYPE): Likewise.
32502 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32503 (__SWBLK_T_TYPE): Likewise.
32504 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32505 (__SWBLK_T_TYPE): Likewise.
32506
4d57bf63 325072012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 32508 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
32509
32510 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32511 (xdr_mapname): Use YPMAXMAP as maxsize.
32512 (xdr_peername): Use YPMAXPEER as maxsize.
32513 (xdr_keydat): Use YPAXRECORD as maxsize.
32514 (xdr_valdat): Use YPMAXRECORD as maxsize.
32515
93c65d43
RM
325162012-10-01 Roland McGrath <roland@hack.frob.com>
32517
497a03d6
RM
32518 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32519
93c65d43
RM
32520 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32521 * csu/init-first.c: ... here.
32522 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32523 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32524 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32525 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32526 * sysdeps/i386/init-first.c: File removed.
32527 * sysdeps/sh/init-first.c: File removed.
32528
bec749fd
JM
325292012-10-01 Joseph Myers <joseph@codesourcery.com>
32530
32531 [BZ #14645]
32532 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32533 if x * y might underflow to zero and z is zero.
32534 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32535 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32536 * math/libm-test.inc (min_subnorm_value): New variable.
32537 (fma_test): Add more tests.
32538 (fma_test_towardzero): Likewise.
32539 (fma_test_downward): Likewise
32540 (fma_test_upward): Likewise.
32541 (initialize): Set min_subnorm_value.
32542
8ec5b013
JM
325432012-09-29 Joseph Myers <joseph@codesourcery.com>
32544
32545 [BZ #14638]
32546 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32547 0 + 0.
32548 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32549 mode for addition resulting in exact zero.
32550 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32551 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32552 exact 0 + 0.
32553 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32554 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32555 * math/libm-test.inc (fma_test): Add more tests.
32556 (fma_test_towardzero): New function.
32557 (fma_test_downward): Likewise.
32558 (fma_test_upward): Likewise.
32559 (main): Call the new functions.
32560
b1fa802e
DM
325612012-09-28 David S. Miller <davem@davemloft.net>
32562
32563 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32564
d3b9fd9e
RM
325652012-09-28 Roland McGrath <roland@hack.frob.com>
32566
ea4d37b3
RM
32567 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32568 instead of SIGALRM.
32569
ac51c949
RM
32570 * sysdeps/gnu/_G_config.h: Moved to ...
32571 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32572 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32573 * sysdeps/generic/_G_config.h: ... here.
32574
28c195f7
RM
32575 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32576
848917f9
RM
32577 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32578
6bacf05b
RM
32579 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32580 Conditionalize target on [libnss_test1.so-version].
32581
91363dbb
RM
32582 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32583
cc87f7d8
RM
32584 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32585 (elfobjdir): Move out of conditionals.
32586
b1c608fe
RM
32587 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32588 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32589 (__nss_lookup_function): Conditionalize label remove_from_tree on
32590 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 32591
1d9a6d96
DM
325922012-09-28 David S. Miller <davem@davemloft.net>
32593
32594 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32595 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32596 file.
32597 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32598 sysdep_routines.
32599 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32600 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32601 when HWCAP_SPARC_CRYPTO is present.
32602
72581615
PT
326032012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32604
32605 * io/tst-mknodat.c: Create a FIFO instead of a socket.
32606
715a900c
JL
326072012-09-28 Andreas Schwab <schwab@linux-m68k.org>
32608
32609 [BZ #6530]
32610 * stdio-common/vfprintf.c (process_string_arg): Revert
32611 2000-07-22 change.
32612
326132011-09-28 Jonathan Nieder <jrnieder@gmail.com>
32614
32615 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32616 for testcase.
32617 * stdio-common/tst-sprintf.c: Include <locale.h>
32618 (main): Test sprintf's handling of incomplete multibyte
32619 characters.
32620
9bac1d86
L
326212012-09-28 H.J. Lu <hongjiu.lu@intel.com>
32622
32623 * elf/dl-runtime.c (VERSYMIDX): Removed.
32624 * elf/dl-version.c (VERSYMIDX): Likewise.
32625 * elf/do-rel.h (VERSYMIDX): Likewise.
32626 (VALIDX): Likewise.
32627 * elf/dynamic-link.h (VERSYMIDX): Likewise.
32628 * elf/rtld.c (VALIDX): Likewise.
32629 (ADDRIDX): Likewise.
9bac1d86
L
32630 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32631 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32632 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
32633 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32634 (VALIDX): Likewise.
32635 (ADDRIDX): Likewise.
9bac1d86 32636
b31606c0
PT
326372012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32638
32639 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32640
11541177
JL
326412012-09-28 Dmitry V. Levin <ldv@altlinux.org>
32642
32643 [BZ #11438]
32644 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32645 to global scope.
32646 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32647 addresses are in the same scope as 192.0.2/24.
32648 * posix/gai.conf: Document new scope table defaults.
32649
adb26fae
SP
326502012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32651
32652 [BZ #5298]
32653 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32654 for ftell. Compute offsets from write pointers instead.
32655 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32656
4573c6b0
SP
326572012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32658
32659 [BZ #14543]
32660 * libio/Makefile (tests): New test case tst-fseek.
32661 * libio/tst-fseek.c: New test case to verify that fseek/ftell
32662 combination works in wide mode.
32663 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32664 state when the external buffer state changes.
32665
aa9bbfe6
DM
326662012-09-27 David S. Miller <davem@davemloft.net>
32667
32668 [BZ #14376]
32669 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32670 pass reloc->r_addend in as the 'high' argument to
32671 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32672
784421e7
DM
32673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32674
c39bc8b8
PT
326752012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32676
32677 * rt/tst-aio2.c: Include <pthread.h>.
32678 * rt/tst-aio3.c: Likewise.
32679
1ccc2399
SE
326802012-09-27 Steve Ellcey <sellcey@mips.com>
32681
32682 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32683
31ed4153
L
326842012-09-27 H.J. Lu <hongjiu.lu@intel.com>
32685
25f5f885
L
32686 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32687 contents on [SHARED].
31ed4153 32688
b7bfe116
MP
326892012-09-26 Marek Polacek <polacek@redhat.com>
32690
32691 [BZ #14530]
32692 [BZ #13741]
32693 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32694 for C++ and GCC <4.3 as well as for non GCC compilers.
32695
43c4edba
MT
326962012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32697
32698 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32699
6a1bf82f
RM
327002012-09-25 Roland McGrath <roland@hack.frob.com>
32701
32702 * Makefile.in (all, install): Declare with .PHONY.
32703 Reported by Michael Hope <michael.hope@linaro.org>.
32704
8ad11b9a
TMQMF
327052012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32706
32707 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32708 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32709 system header.
32710 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32711 Likewise.
32712 (sydep_routines): Add the new and the internal functions.
32713 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32714 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32716 (GLIBC_2.17): Add the new function.
32717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32718 (GLIBC_2.17): Likewise.
32719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32720 (GLIBC_2.17): Likewise.
32721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32722 (GLIBC_2.17): Likewise.
32723 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32724
7e2fca8d
AM
327252012-09-25 Alan Modra <amodra@gmail.com>
32726
32727 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32728 Add release barrier before setting once_control to say
32729 initialisation is done. Add hints on lwarx. Use macro in
32730 place of isync.
32731 (clear_once_control): Add release barrier.
32732
b87c4b24
JM
327332012-09-25 Joseph Myers <joseph@codesourcery.com>
32734
d032e0d2
JM
32735 [BZ #13629]
32736 * math/s_clog.c (__clog): Handle more values close to |z| = 1
32737 specially.
32738 * math/s_clog10.c (__clog10): Likewise.
32739 * math/s_clog10f.c (__clog10f): Likewise.
32740 * math/s_clog10l.c (__clog10l): Likewise.
32741 * math/s_clogf.c (__clogf): Likewise.
32742 * math/s_clogl.c (__clogl): Likewise.
32743 * math/Makefile (libm-calls): Add x2y2m1.
32744 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32745 (__x2y2m1): Likewise.
32746 (__x2y2m1l): Likewise.
32747 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32748 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32749 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32750 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32751 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32752 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32753 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32754 * sysdeps/i386/fpu/libm-test-ulps: Update.
32755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32756
b87c4b24
JM
32757 [BZ #14621]
32758 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32759 int as type of variable DEPTH.
32760 (glob): Use size_t instead of int as type of variables NEWCOUNT
32761 and OLD_PATHC.
32762
6d3bf199
LD
327632012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32764
22bf5c17
LD
32765 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32766 Add s_sincosf-sse2.
32767 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32768 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32769 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32770 macros for using routine as __sincosf_ia32.
32771 Use macro for function declaration and weak_alias.
32772 * sysdeps/i386/fpu/libm-test-ulps: Update.
32773
32774 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32775 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32776
32777 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
32778 subnormal argument.
32779 * math/s_cexpf.c (__cexpf): Likewise.
32780 * math/s_csinf.c (__csinf): Likewise.
32781 * math/s_csinhf.c (__csinhf): Likewise.
32782 * math/s_ctanf.c (__ctanf): Likewise.
32783 * math/s_ctanhf.c (__ctanhf): Likewise.
32784 * math/s_ccosh.c (__ccoshf): Likewise.
32785 * math/s_cexp.c (__cexpl): Likewise.
32786 * math/s_csin.c (__csin): Likewise.
32787 * math/s_csinh.c (__csinh): Likewise.
32788 * math/s_ctan.c (__ctan): Likewise.
32789 * math/s_ctanh.c (ctanh): Likewise.
32790 * math/s_ccoshl.c (__ccoshl): Likewise.
32791 * math/s_cexpl.c (__cexpl): Likewise.
32792 * math/s_csinl.c (__csinl): Likewise.
32793 * math/s_csinhl.c (__csinhl): Likewise.
32794 * math/s_ctanl.c (__ctanl): Likewise.
32795 * math/s_ctanhl.c (__ctanhl): Likewise.
32796
203e5603
JM
327972012-09-25 Joseph Myers <joseph@codesourcery.com>
32798
32799 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32800 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32801 (_IO_off_t): Define to __off_t, not _G_off_t.
32802 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32803 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32804 (_IO_wint_t): Define to wint_t, not _G_wint_t.
32805 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32806 type of __dummy and __dummy2 fields.
32807 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32808 (_G_ssize_t): Likewise.
32809 (_G_off_t): Likewise.
32810 (_G_pid_t): Likewise.
32811 (_G_uid_t): Likewise.
32812 (_G_wchar_t): Likewise.
32813 (_G_wint_t): Likewise.
32814 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32815 (_G_ssize_t): Likewise.
32816 (_G_off_t): Likewise.
32817 (_G_pid_t): Likewise.
32818 (_G_uid_t): Likewise.
32819 (_G_wchar_t): Likewise.
32820 (_G_wint_t): Likewise.
32821 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32822 (_G_ssize_t): Likewise.
32823 (_G_off_t): Likewise.
32824 (_G_pid_t): Likewise.
32825 (_G_uid_t): Likewise.
32826 (_G_wchar_t): Likewise.
32827 (_G_wint_t): Likewise.
32828
9fab36eb
SP
328292012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32830
32831 * malloc/arena.c: Include malloc-sysdep.h.
32832 (shrink_heap): Use check_may_shrink_heap to decide if madvise
32833 is sufficient to shrink the heap or an unmap is needed.
32834 * sysdeps/generic/malloc-sysdep.h: New file. Define
32835 new function check_may_shrink_heap.
32836 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
32837 new function check_may_shrink_heap.
32838
2b4f00d1
SP
328392012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32840
32841 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32842 comments.
32843
9a9028b1
DL
328442012-09-24 Dmitry V. Levin <ldv@altlinux.org>
32845
57c69bef
DL
32846 * catgets/test-gencat.sh: Add "set -e".
32847 * elf/tst-pathopt.sh: Likewise.
32848 * grp/tst_fgetgrent.sh: Likewise.
32849 * iconvdata/run-iconv-test.sh: Likewise.
32850 * intl/tst-gettext.sh: Likewise.
32851 * intl/tst-gettext2.sh: Likewise.
32852 * intl/tst-gettext4.sh: Likewise.
32853 * intl/tst-gettext6.sh: Likewise.
32854 * intl/tst-translit.sh: Likewise.
32855 * io/ftwtest-sh: Likewise.
32856 * libio/test-freopen.sh: Likewise.
32857 * malloc/tst-mtrace.sh: Likewise.
32858 * posix/globtest.sh: Likewise.
32859 * posix/tst-getconf.sh: Likewise.
32860 * posix/wordexp-tst.sh: Likewise.
32861 * stdio-common/tst-printf.sh: Likewise.
32862 * stdio-common/tst-unbputc.sh: Likewise.
32863 * stdlib/tst-fmtmsg.sh: Likewise.
32864 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32865 * catgets/Makefile: Do not specify -e option when running
32866 testsuite shell scripts.
32867 * elf/Makefile: Likewise.
32868 * grp/Makefile: Likewise.
32869 * iconvdata/Makefile: Likewise.
32870 * intl/Makefile: Likewise.
32871 * io/Makefile: Likewise.
32872 * libio/Makefile: Likewise.
32873 * malloc/Makefile: Likewise.
32874 * posix/Makefile: Likewise.
32875 * stdio-common/Makefile: Likewise.
32876 * stdlib/Makefile: Likewise.
32877 * sysdeps/x86_64/Makefile: Likewise.
32878
9a9028b1
DL
32879 * io/ftwtest-sh: Add copyright header.
32880 * posix/globtest.sh: Likewise.
32881 * posix/tst-getconf.sh: Likewise.
32882 * posix/wordexp-tst.sh: Likewise.
32883 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32884
ced6f16e
L
328852012-09-24 H.J. Lu <hongjiu.lu@intel.com>
32886
94b32c39
L
32887 [BZ #13679]
32888 * Makeconfig (+link): Defined as $(+link-static) if
32889 $(build-shared) isn't yes.
32890 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32891 isn't yes.
32892 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32893
189e935b
L
32894 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32895
ced6f16e
L
32896 [BZ #14562]
32897 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32898 new chunk size with MALLOC_ALIGN_MASK.
32899
a9f8e53a
JM
329002012-09-24 Joseph Myers <joseph@codesourcery.com>
32901
32902 [BZ #5044]
32903 * stdio-common/printf_fphex.c: Include <stdbool.h> and
32904 <rounding-mode.h>.
32905 (__printf_fphex): Determine rounding using get_rounding_mode and
32906 round_away.
32907 * stdio-common/tst-printf-round.c (struct hex_test): New
32908 structure.
32909 (hex_tests): New variable.
32910 (test_hex_in_one_mode): New function.
32911 (do_test): Also run tests for hex float output.
32912
43153109
JM
329132012-09-21 Joseph Myers <joseph@codesourcery.com>
32914
32915 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32916 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32917 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32918 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32919 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32920 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32921 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32922 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32923
8a26625d
JM
329242012-09-20 Joseph Myers <joseph@codesourcery.com>
32925
32926 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32927 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32928 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32929 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32930
f3fd569c
DL
329312012-09-19 Dmitry V. Levin <ldv@altlinux.org>
32932
32933 [BZ #14579]
32934 * elf/rtld.c (dl_main): Limit the check for self loading to normal
32935 mode only.
32936 * elf/tst-rtld-load-self.sh: New test.
32937 * elf/Makefile: Run it.
32938
63bbedd4
JM
329392012-09-18 Joseph Myers <joseph@codesourcery.com>
32940
32941 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32942 (tst-writev-ENV): Remove.
32943 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32944
626f8b6a
CM
329452012-09-17 Chris Metcalf <cmetcalf@tilera.com>
32946
32947 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32948
b7aaa4d6
JM
329492012-09-17 Joseph Myers <joseph@codesourcery.com>
32950
32951 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32952 unconditional.
32953 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32954 Likewise.
32955 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32956 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32957 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32958 Likewise.
32959
65513990
L
329602012-09-14 H.J. Lu <hongjiu.lu@intel.com>
32961
32962 [BZ #14587]
32963 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32964 * config.make.in (have-cpp-asm-debuginfo): Removed.
32965 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32966 * configure: Regenerated.
32967
784761be
JM
329682012-09-14 Joseph Myers <joseph@codesourcery.com>
32969
32970 [BZ #5044]
32971 * stdio-common/printf_fp.c: Include <stdbool.h> and
32972 <rounding-mode.h>.
32973 (___printf_fp): Determine rounding using get_rounding_mode and
32974 round_away.
32975 * stdio-common/tst-printf-round.c: New file.
32976 * stdio-common/Makefile (tests): Add tst-printf-round.
32977 (link-libm): New variable.
32978 ($(objpfx)tst-printf-round): Depend in $(link-libm).
32979
9503345f
L
329802012-09-13 H.J. Lu <hongjiu.lu@intel.com>
32981
32982 [BZ #14576]
32983 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
32984 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
32985 Likewise.
32986 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
32987 Likewise.
32988
ad35fc00
JM
329892012-09-13 Joseph Myers <joseph@codesourcery.com>
32990
32991 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32992 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32993 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32994 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32995
6c9b0f68
JM
329962012-09-12 Joseph Myers <joseph@codesourcery.com>
32997
32998 [BZ #14518]
32999 * include/rounding-mode.h: New file.
33000 * sysdeps/generic/get-rounding-mode.h: Likewise.
33001 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
33002 * stdlib/strtod_l.c: Include <rounding-mode.h>.
33003 (MAX_VALUE): New macro.
33004 (MIN_VALUE): Likewise.
33005 (overflow_value): New function.
33006 (underflow_value): Likewise.
33007 (round_and_return): Use overflow_value and underflow_value to
33008 determine return values in overflow and underflow cases. Use
33009 round_away to determine rounding depending on rounding mode.
33010 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
33011 determine return values in overflow and underflow cases.
33012 * stdlib/tst-strtod-round.c: Include <fenv.h>.
33013 (struct test_results): New structure.
33014 (struct test): Use struct test_results to store expected results
33015 for all rounding modes.
33016 (TEST): Include expected results for all rounding modes.
33017 (test_in_one_mode): New function.
33018 (do_test): Use test_in_one_mode to compute and check results.
33019 Check results for all rounding modes.
33020 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
33021 $(link-libm).
33022
19fcedd5
AM
330232012-12-09 Allan McRae <allan@archlinux.org>
33024
1e9d84cd 33025 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 33026
8bbfd2f1
JM
330272012-09-11 Joseph Myers <joseph@codesourcery.com>
33028
33029 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
33030 (_G_int32_t): Likewise.
33031 (_G_uint16_t): Likewise.
33032 (_G_uint32_t): Likewise.
33033 (_G_HAVE_BOOL): Likewise.
33034 (_G_HAVE_ATEXIT): Likewise.
33035 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33036 (_G_HAVE_IO_FILE_OPEN): Likewise.
33037 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
33038 (_G_int32_t): Likewise.
33039 (_G_uint16_t): Likewise.
33040 (_G_uint32_t): Likewise.
33041 (_G_HAVE_BOOL): Likewise.
33042 (_G_HAVE_ATEXIT): Likewise.
33043 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33044 (_G_HAVE_IO_FILE_OPEN): Likewise.
33045 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
33046 (_G_int32_t): Likewise.
33047 (_G_uint16_t): Likewise.
33048 (_G_uint32_t): Likewise.
33049 (_G_HAVE_BOOL): Likewise.
33050 (_G_HAVE_ATEXIT): Likewise.
33051 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33052 (_G_HAVE_IO_FILE_OPEN): Likewise.
33053
b1dc5912
L
330542012-09-11 H.J. Lu <hongjiu.lu@intel.com>
33055
33056 * csu/libc-tls.c: Update copyright years.
33057
0e886ef9
JM
330582012-09-10 Joseph Myers <joseph@codesourcery.com>
33059
28361c5e
JM
33060 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
33061 [!_G_USING_THUNKS]: Remove conditional code.
33062 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
33063 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
33064
0e886ef9
JM
33065 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
33066 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
33067 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33068 (_G_VTABLE_LABEL_PREFIX): Likewise.
33069 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33070 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33071 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33072 (_G_VTABLE_LABEL_PREFIX): Likewise.
33073 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33074 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33075 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33076 (_G_VTABLE_LABEL_PREFIX): Likewise.
33077 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33078
bcba7aa2
L
330792012-09-10 H.J. Lu <hongjiu.lu@intel.com>
33080
33081 * libio/Makefile: Include ../Makeconfig before tests.
33082 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
33083 only if $(build-shared) is yes.
33084
06585ee8
L
33085 * iconv/gconv_db.c: Update copyright years.
33086
80ccd52c
LD
330872012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33088
33089 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
33090 unwind info if defined PIC. Fix special cases description.
33091 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
33092
33093 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
33094 DP_HI_MASK entry.
33095 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
33096
691bc9c1
L
330972012-09-07 H.J. Lu <hongjiu.lu@intel.com>
33098
3d9b46b3
L
33099 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
33100
de2139a9
L
33101 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
33102 is NULL.
33103
5ca78dd0
L
33104 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
33105 (LDLIBS-tst-chk4): This.
33106 (LDFLAGS-tst-chk5): Renamed to ...
33107 (LDLIBS-tst-chk5): This.
33108 (LDFLAGS-tst-chk6): Renamed to ...
33109 (LDLIBS-tst-chk6): This.
33110 (LDFLAGS-tst-lfschk4): Renamed to ...
33111 (LDLIBS-tst-lfschk4): This.
33112 (LDFLAGS-tst-lfschk5): Renamed to ...
33113 (LDLIBS-tst-lfschk5): This.
33114 (LDFLAGS-tst-lfschk6): Renamed to ...
33115 (LDLIBS-tst-lfschk6): This.
33116
691bc9c1
L
33117 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
33118 on $(common-objpfx)soversions.mk.
33119
65cafb1c
JM
331202012-09-07 Joseph Myers <joseph@codesourcery.com>
33121
33122 [BZ #10014]
33123 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33124 example host name.
33125
c78ab094
SP
331262012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33127
33128 * malloc/arena.c (arena_get_retry): New function that gets
33129 another arena for the caller to try its request on.
33130 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33131 current arena cannot fulfill the request.
33132 (__libc_memalign): Likewise.
33133 (__libc_memalign): Likewise.
33134 (__libc_pvalloc): Likewise.
33135 (__libc_calloc): Likewise.
33136
01f49f59
JT
331372012-09-05 John Tobey <john.tobey@gmail.com>
33138
33139 [BZ #13542]
33140 * manual/arith.texi (Operations on Complex): Fix description
33141 of carg branch cut.
33142
4c23fed5
JM
331432012-09-06 Joseph Myers <joseph@codesourcery.com>
33144
1d3c8572
JM
33145 [BZ #10014]
33146 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33147 host name.
33148
4c23fed5
JM
33149 [BZ #10038]
33150 * manual/memory.texi (Memory): Make order of menu items match
33151 order of sections.
33152
04570aaa
L
331532012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33154
33155 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33156 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
33157 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33158
b80af2f4
L
331592012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33160
33161 * csu/libc-tls.c (static_dtv): Renamed to ...
33162 (_dl_static_dtv): This. Make it global.
33163 (_dl_initial_dtv): Removed.
33164 (__libc_setup_tls): Updated.
33165 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33166 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33167 DL_INITIAL_DTV.
33168
2abe9f15
PM
331692012-09-06 Petr Machata <pmachata@redhat.com>
33170
33171 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33172 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33173 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33174 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33175
0948c3af
L
331762012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33177
33178 [BZ #14545]
33179 * csu/libc-tls.c (_dl_initial_dtv): New variable.
33180 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33181 freeing dtv[-1].
33182
a5055ad1
L
331832012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33184
33185 [BZ #14544]
33186 * Makeconfig (link-static-before-libc): Replace $(+prector)
33187 with $(+prectorT).
33188 (link-static-after-libc): Replace $(+postctor) with
33189 $(+postctorT).
33190 (link-bounded): Replace $(+prector)/$(+postctor) with
33191 $(+prectorT)/$(+postctorT).
33192 (+prectorT): New macro.
33193 (+postctorT): Likewise.
33194
ed8c2ecd
JM
331952012-09-06 Joseph Myers <joseph@codesourcery.com>
33196
33197 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33198 (round_str): Handle values above the maximum for IBM long double
33199 as inexact.
33200 * stdlib/tst-strtod-round.c (tests): Regenerated.
33201
14c996c8
AK
332022012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33203
33204 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33205 assembler flag.
33206 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33207 zarch_nohighgprs around the zarch optimized routines.
33208 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33209 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33210 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33211 for zarch.
33212
430d6ce6
DM
332132012-09-05 David S. Miller <davem@davemloft.net>
33214
33215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33216
57f41c40
AS
33217 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33218 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
33219 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33220 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33221 entries.
33222
24d4e01b
AO
332232012-09-05 Alexandre Oliva <aoliva@redhat.com>
33224
33225 * malloc/arena.c: Fold copyright years.
33226 * malloc/mcheck.c, malloc/memusage.c: Likewise.
33227
61d58174
AO
332282012-09-05 Alexandre Oliva <aoliva@redhat.com>
33229
33230 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33231
20196a5e
AO
332322012-09-05 Alexandre Oliva <aoliva@redhat.com>
33233
33234 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
33235
5c447383
AO
332362012-09-05 Alexandre Oliva <aoliva@redhat.com>
33237
33238 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33239 change internal state upon failure.
33240
fad64255
AO
332412012-09-05 Alexandre Oliva <aoliva@redhat.com>
33242
33243 * malloc/mcheck.c (mcheck_check_all): Fix typo.
33244 * malloc/memusage.c (mmap): Likewise.
33245 (mmap64, mremap): Likewise. Adjust name in comment.
33246
1ffb8c90
SP
332472012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33248
33249 * libio/fileops.c: Fix typos in comments.
33250 * libio/oldfileops.c: Likewise.
33251 * libio/wfileops.c: Likewise.
33252
6ef9cc37
SP
332532012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33254
33255 [BZ #1349]
33256 * malloc/Makefile (tests): Add tst-malloc-usable test case.
33257 (tst-malloc-usable-ENV): Set environment for test case.
33258 * malloc/hooks.c (malloc_check_get_size): New function to get
33259 requested size.
33260 * malloc/malloc.c (musable): Use malloc_check_get_size.
33261 * malloc/tst-malloc-usable.c: New test case.
33262
4d038ae3
AS
332632012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33264
33265 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33266
c4e85184
AM
332672012-09-05 Allan McRae <allan@archlinux.org>
33268
b9dafc56 33269 [BZ #13966]
c4e85184
AM
33270 * configure.in (CXX_SYSINCLUDES): Use compiler output to
33271 determine header location.
33272 * configure: Regenerated.
33273
e1343020
AS
332742012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33275
33276 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33277 float format.
33278 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
33279 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33280 format.
e1343020
AS
33281 (test): Regenerate.
33282
0a9f1987
DM
332832012-09-04 David S. Miller <davem@davemloft.net>
33284
33285 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33286 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33287 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33288
29237804
FW
332892012-09-04 Florian Weimer <fweimer@redhat.com>
33290
33291 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33292 failures.
33293
edb3cb88
FW
33294 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33295
60160d83
JM
332962012-09-04 Joseph Myers <joseph@codesourcery.com>
33297
33298 [BZ #9914]
33299 * libio/iogetdelim.c: Include <limits.h>.
33300 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33301 + len + 1 would overflow.
33302
bcd6c8dc
AJ
333032012-09-03 Andreas Jaeger <aj@suse.de>
33304
33305 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33306 * sysdeps/i386/fpu/libm-test-ulps: Update.
33307
4ffffbd2
LD
333082012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33309
33310 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33311 Add s_sinf-sse2, s_conf-sse2.
33312
33313 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33314 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33315 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33316 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33317
33318 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33319 for using routine as __sinf_ia32.
33320 Use macro for function declaration and weak_alias.
33321 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33322 for using routine as __cosf_ia32.
33323 Use macro for function declaration and weak_alias.
33324
33325 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33326 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33327
33328 * sysdeps/x86_64/fpu/s_sinf.S: New file.
33329 * sysdeps/x86_64/fpu/s_cosf.S: New file.
33330 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33331
33332 * math/libm-test.inc (cos_test): Add more test cases.
33333 (sin_test): Likewise.
33334 (sincos_test): Likewise.
33335
511fa286
AK
333362012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33337
33338 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33339 (IFUNC_RESOLVE): Make pointers to the specialized implementations
33340 hidden.
33341 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33342
5f30cfec
L
333432012-09-02 H.J. Lu <hongjiu.lu@intel.com>
33344
33345 [BZ #14538]
33346 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33347 first element of the GOT.
33348 (elf_machine_load_address): Return the difference between
33349 the runtime address of _DYNAMIC and elf_machine_dynamic ().
33350
0786794f
AM
333512012-09-01 Allan McRae <allan@archlinux.org>
33352
5f30cfec
L
33353 [BZ #13412]
33354 * configure.in (AWK): Require gawk version 3.0 or later.
33355 * configure: Regenerated.
0786794f 33356
26889eac
JM
333572012-09-01 Joseph Myers <joseph@codesourcery.com>
33358
33359 * sysdeps/unix/sysv/linux/kernel-features.h
33360 (__ASSUME_POSIX_CPU_TIMERS): Remove.
33361 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33362 [__NR_clock_getres]: Make code unconditional.
33363 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33364 (clock_getcpuclockid): Remove code left unreachable by removal of
33365 conditionals.
33366 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33367 code unconditional.
33368 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33369 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33370 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33371 Make code unconditional.
33372 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33373 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33374 * sysdeps/unix/sysv/linux/clock_settime.c
33375 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33376 conditional code.
33377 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33378 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33379
d22e28b0
L
333802012-08-29 H.J. Lu <hongjiu.lu@intel.com>
33381
33382 [BZ #14476]
33383 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33384 scripts/test-installation.pl.
33385
33386 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33387 and $ld_so_version if it is set.
33388
050af9c4
SP
333892012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33390
33391 [BZ #14516]
33392 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33393 failure if reading from procfs failed.
33394 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33395
ad845c0b
JM
333962012-08-27 Joseph Myers <joseph@codesourcery.com>
33397
33398 * sysdeps/unix/sysv/linux/kernel-features.h
33399 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33400 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33401 Remove conditional code.
33402 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33403 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33404 Remove conditional code.
33405 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33406 * sysdeps/unix/sysv/linux/i386/fxstat.c
33407 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33408 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33409 * sysdeps/unix/sysv/linux/i386/fxstatat.c
33410 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33411 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33412 * sysdeps/unix/sysv/linux/i386/lxstat.c
33413 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33414 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33415 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33416 Remove conditional code.
33417 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33418 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33419 Remove conditional code.
33420 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33421 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33422 <kernel-features.h>.
33423 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33424 Remove.
33425 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33426 Remove conditional code.
33427 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33428 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33429 Remove conditional.
33430
5dbf56af
MF
334312012-08-27 Mike Frysinger <vapier@gentoo.org>
33432
33433 [BZ #5400]
33434 * NEWS: Add fixed bug number.
33435
d6e70f43
JM
334362012-08-27 Joseph Myers <joseph@codesourcery.com>
33437
7efb4737
JM
33438 [BZ #14519]
33439 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33440 underflowing exponent in case of negative sign.
33441 * stdlib/tst-strtod-round-data: Add more tests.
33442 * stdlib/tst-strtod-round.c (tests): Regenerated.
33443
af92131a
JM
33444 [BZ #3479]
33445 * stdlib/strtod_l.c (NDIG): Remove.
33446 (HEXNDIG): Likewise.
33447 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33448 smallest representable value.
33449 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33450 lie within an exact representation of 1/2 ulp of the result.
33451 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33452 unconditionally.
33453 (TENS_P9_IDX): Define unconditionally.
33454 (TENS_P9_SIZE): Likewise.
33455 (TENS_P10_IDX): Likewise.
33456 (TENS_P10_SIZE): Likewise.
33457 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33458 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33459 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33460 entries for 10^2^13 and 10^2^14.
33461 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33462 (TENS_P13_IDX): Define.
33463 (TENS_P13_SIZE): Likewise.
33464 (TENS_P14_IDX): Likewise.
33465 (TENS_P14_SIZE): Likewise.
33466 (_fpioconst_pow10): Change array size to
33467 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33468 unconditional.
33469 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33470 1024]: Add entries for 10^2^13 and 10^2^14.
33471 [LAST_POW10 > _LAST_POW10]: Remove #error.
33472 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33473 (_fpioconst_pow10): Change array size to
33474 FPIOCONST_POW10_ARRAY_SIZE.
33475 * stdlib/gen-fpioconst.c: New file.
33476 * stdlib/gen-tst-strtod-round.c: Likewise.
33477 * stdlib/tst-strtod-round-data: Likewise.
33478 * stdlib/tst-strtod-round.c: Likewise.
33479 * stdlib/Makefile (tests): Add tst-strtod-round.
33480
d6e70f43
JM
33481 [BZ #14459]
33482 * stdlib/strtod_l.c: Include <stdint.h>.
33483 (NDEBUG): Do not define.
33484 (round_and_return): Change EXPONENT parameter to type intmax_t.
33485 Rearrange calculations to avoid internal overflow possibilities.
33486 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33487 Rearrange calculations to avoid internal overflow possibilities.
33488 Assert that number fits inside MPNSIZE limbs.
33489 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33490 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33491 calculations and add assertions to avoid internal overflow
33492 possibilities. Add casts to avoid signed/unsigned operations.
33493 * stdlib/tst-strtod-overflow.c: New file.
33494 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33495
1f529f7d
MP
334962012-08-25 Marek Polacek <polacek@redhat.com>
33497
33498 * time/time.h: Fix some typos in comments.
33499
59a629f1
RM
335002012-08-23 Roland McGrath <roland@hack.frob.com>
33501
33502 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33503 * posix/tst-rfc3484-2.c: Likewise.
33504 * posix/tst-rfc3484-3.c: Likewise.
33505
d3bafbc9
SM
335062012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33507
33508 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33509 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33510
4efcc022
JM
335112012-08-23 Joseph Myers <joseph@codesourcery.com>
33512
33513 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33514 #include of fxstatat64.c.
33515
3cc3ef96
RM
335162012-08-22 Roland McGrath <roland@hack.frob.com>
33517
f04e2132
RM
33518 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33519 * shadow/getspent_r.c: Likewise.
33520 * shadow/getspnam.c: Likewise.
33521 * shadow/getspnam_r.c: Likewise.
33522 * gshadow/getsgent.c: Likewise.
33523 * gshadow/getsgent_r.c: Likewise.
33524 * gshadow/getsgnam.c: Likewise.
33525 * gshadow/getsgnam_r.c: Likewise.
33526 * inet/getnetbyad.c: Likewise.
33527 * inet/getnetbyad_r.c: Likewise.
33528 * inet/getnetbynm.c: Likewise.
33529 * inet/getnetbynm_r.c: Likewise.
33530 * inet/getnetent.c: Likewise.
33531 * inet/getnetent_r.c: Likewise.
33532 * inet/getproto.c: Likewise.
33533 * inet/getproto_r.c: Likewise.
33534 * inet/getprtent.c: Likewise.
33535 * inet/getprtent_r.c: Likewise.
33536 * inet/getprtname.c: Likewise.
33537 * inet/getprtname_r.c: Likewise.
33538 * inet/getrpcbyname.c: Likewise.
33539 * inet/getrpcbyname_r.c: Likewise.
33540 * inet/getrpcbynumber.c: Likewise.
33541 * inet/getrpcbynumber_r.c: Likewise.
33542 * inet/getrpcent.c: Likewise.
33543 * inet/getrpcent_r.c: Likewise.
33544 * inet/getaliasent.c: Likewise.
33545 * inet/getaliasent_r.c: Likewise.
33546 * inet/getaliasname.c: Likewise.
33547 * inet/getaliasname_r.c: Likewise.
33548 * nscd/getgrgid_r.c: Likewise.
33549 * nscd/getgrnam_r.c: Likewise.
33550 * nscd/gethstbyad_r.c: Likewise.
33551 * nscd/gethstbynm3_r.c: Likewise.
33552 * nscd/getpwnam_r.c: Likewise.
33553 * nscd/getpwuid_r.c: Likewise.
33554 * nscd/getsrvbynm_r.c: Likewise.
33555 * nscd/getsrvbypt_r.c: Likewise.
33556 * nscd/gai.c: Likewise.
33557
c53d909c
RM
33558 * configure.in (build_nscd): New substituted variable, set
33559 by --disable-build-nscd and defaults to $use_nscd.
33560 * configure: Regenerated.
33561 * config.make.in (build-nscd): New substituted variable.
33562 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33563 Change conditional to require [$(build-nscd) = yes] as well.
33564 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33565
3cc3ef96
RM
33566 [BZ# 13696]
33567 * configure.in (use_nscd): New substituted variable, set by
33568 --disable-nscd. If enabled, define USE_NSCD.
33569 * configure: Regenerated.
33570 * config.h.in: Add USE_NSCD.
33571 * config.make.in (use-nscd): New substituted variable.
33572 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33573 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33574 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33575 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33576 (CFLAGS-getgrnam_r.c): Likewise.
33577 (CFLAGS-initgroups.c): Likewise.
33578 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33579 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33580 Variables removed.
33581 * inet/getnetgrent_r.c
33582 (nscd_setnetgrent): New function, broken out of ...
33583 (setnetgrent): ... here. Call it.
33584 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33585 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33586 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33587 * nscd/Makefile (routines, aux): Move definitions after include of
33588 Makeconfig. Conditionalize on [$(use-nscd) != no].
33589 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33590 Conditionalize on [USE_NSCD].
33591 (is_nscd, nscd_init_cb): Likewise.
33592 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33593 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33594 * nss/nss_db/db-init.c: Likewise.
33595 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33596 [USE_NSCD].
33597 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33598 (make_request): Use it.
33599 (cache_valid_p): New function.
33600 (__check_pf): Use it.
33601 * NEWS: Add item for --disable-nscd.
33602
07e51550
DL
336032012-08-22 Dmitry V. Levin <ldv@altlinux.org>
33604
33605 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33606 to support sed >= 4.2.1-20-ga9bf076.
33607 * configure: Regenerated.
33608
35a5b08b
RM
336092012-08-22 Roland McGrath <roland@hack.frob.com>
33610
33611 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33612 Conditionalize whole body on [IREL].
33613
8479f23a
JL
336142012-08-22 Jeff Law <law@redhat.com>
33615
33616 [BZ #14505]
33617 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33618 if the family is PF_UNSPEC.
33619
48da0b21
MF
336202012-08-22 Mike Frysinger <vapier@gentoo.org>
33621
33622 * Makerules (lib-version): Rename from V.
33623 (install-lib-nosubdir): Change V to lib-version.
33624
15d0da8c
WS
336252012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
33626
33627 [BZ #14252]
33628 * powerpc32/power6/wcschr.c: New file.
33629 * powerpc32/power6/wcscpy.c: New file.
33630 * powerpc32/power6/wcsrchr.c: New file.
33631 * powerpc64/power6/wcschr.c: New file.
33632 * powerpc64/power6/wcscpy.c: New file.
33633 * powerpc64/power6/wcsrchr.c: New file.
33634
bcca0895
MK
336352012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33636
33637 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33638 (two_way_short_needle): Use it.
5a4aaa33
RM
33639 * string/strstr.c (AVAILABLE1_USES_J): Define.
33640 * string/strcasestr.c: Likewise.
99677e57
MK
33641
33642 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33643 array references.
33644 * string/strcasestr.c (TOLOWER): Make side-effect safe.
33645
400726de
MK
33646 [BZ #11607]
33647 * NEWS: Add an entry.
33648 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33649 define their defaults.
33650 (two_way_short_needle): Detect end-of-string on-the-fly.
33651 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33652 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33653 * string/bug-strcasestr1.c: New test.
33654 * string/Makefile: Run it.
33655
20a71f2c
MK
336562012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33657
33658 [BZ #11607]
33659 * string/str-two-way.h (two_way_short_needle): Optimize matching of
33660 the first character.
33661
21ad0558
RM
336622012-08-21 Roland McGrath <roland@hack.frob.com>
33663
33664 * csu/elf-init.c (__libc_csu_irel): Function removed.
33665 * csu/libc-start.c (apply_irel): New function.
33666 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33667
0e1d9911
JM
336682012-08-21 Joseph Myers <joseph@codesourcery.com>
33669
33670 * sysdeps/unix/sysv/linux/kernel-features.h
33671 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33672 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33673 <kernel-features.h>.
33674 [__NR_fadvise64_64]: Make code unconditional.
33675 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33676 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33677 !__NR_fadvise64_64)]: Likewise.
33678 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33679 !__NR_fadvise64_64))]: Likewise.
33680 [__NR_fadvise64]: Make code unconditional.
33681 [!__NR_fadvise64]: Remove conditional code.
33682 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33683 <kernel-features.h>.
33684 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33685 unconditional.
33686 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33687 conditional code.
33688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33689 not include <kernel-features.h>.
33690 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33691 unconditional.
33692 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33693 conditional code.
33694 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33695 include <kernel-features.h>.
33696 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33697 unconditional.
33698 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33699 conditional code.
33700
14a50c9d
WS
337012012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33702
33703 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33704 slight instruction rearrangements per scrollpipe analysis.
33705 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33706
c0f4faf0
RM
337072012-08-20 Roland McGrath <roland@hack.frob.com>
33708
696da859
RM
33709 * manual/syslog.texi (syslog; vsyslog, closelog):
33710 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33711 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33712
c0f4faf0
RM
33713 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33714 DSOCAPS to match condition on defining it.
33715
348363b2
JM
337162012-08-20 Joseph Myers <joseph@codesourcery.com>
33717
a35cbf28
JM
33718 * sysdeps/unix/sysv/linux/kernel-features.h
33719 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33721 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33722 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33724 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33725 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33727 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33728 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33729
445f7ecd
JM
33730 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33731 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33732
348363b2
JM
33733 * sysdeps/unix/sysv/linux/kernel-features.h
33734 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33735 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33736 unconditional.
33737 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33738 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33739 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33740 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33741 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33742 Make code unconditional.
33743 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33744 (__mmap64) [!__NR_mmap2]: Likewise.
33745 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33746 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33747 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33748 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33749 [__NR_mmap2]: Make code unconditional.
33750 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33751 (__mmap64) [!__NR_mmap2]: Likewise.
33752
bc5bc0e5
AK
337532012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33754
33755 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33756
88d506de
AJ
337572012-08-18 Andreas Jaeger <aj@suse.de>
33758
33759 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33760
493387d2
MF
337612012-08-18 Mike Frysinger <vapier@gentoo.org>
33762
33763 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33764 * include/unistd.h (__have_sock_cloexec): Likewise.
33765 (__have_pipe2): Likewise.
33766 (__have_dup3): Likewise.
33767
a277af22
MF
337682012-08-18 Mike Frysinger <vapier@gentoo.org>
33769
33770 [BZ #9685]
33771 * include/unistd.h (__have_pipe2): Change define into an extern int.
33772 (__have_dup3): Likewise.
33773 * socket/have_sock_cloexec.c: Include fcntl.h.
33774 (__have_pipe2): New variable.
33775 (__have_dup3): Likewise.
33776
fdab8fd3
MF
337772012-08-17 Mike Frysinger <vapier@gentoo.org>
33778
33779 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33780
31035e80
MP
337812012-08-17 Marek Polacek <polacek@redhat.com>
33782
33783 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33784 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33785
3bd9e993
RM
337862012-08-17 Roland McGrath <roland@hack.frob.com>
33787
c91c505f
RM
33788 * configure.in: Add AC_SUBST for sysheaders.
33789 * configure: Regenerated.
33790 * config.make.in (sysheaders): New substituted variable.
33791
7c6f9d53
RM
33792 * sysdeps/unix/mkfifo.c: Moved ...
33793 * sysdeps/posix/mkfifo.c: ... here.
33794 * sysdeps/unix/mkfifoat.c: Moved ...
33795 * sysdeps/posix/mkfifoat.c: ... here.
33796
33797 * sysdeps/unix/utime.c: Moved ...
33798 * sysdeps/posix/utime.c: ... here.
33799
33800 * sysdeps/unix/time.c: Moved ...
33801 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
33802 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33803 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
33804
33805 * sysdeps/unix/nice.c: Moved ...
33806 * sysdeps/posix/nice.c: ... here.
33807
33808 * sysdeps/unix/alarm.c: Moved ...
33809 * sysdeps/posix/alarm.c: ... here.
33810
3bd9e993
RM
33811 * intl/Makefile ($(codeset_mo)): Depend on the input file.
33812
d1f09384
JL
338132012-08-17 Jeff Law <law@redhat.com>
33814
33815 * intl/Makefile (codeset_mo): New variable.
33816 ($(codeset_mo)): New target.
33817 (tst-codeset.out): Depend on that. Remove explicit rule.
33818 (tst-gettext3.out, tst-gettext5.out): Likewise.
33819 (LOCPATH-ENV, tst-codeset-ENV): New variables.
33820 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33821 * intl/tst-codeset.sh: Remove.
33822 * intl/tst-gettext3.sh: Likewise.
33823 * intl/tst-gettext5.sh: Likewise.
33824
2ae1ae5c
RM
338252012-08-17 Roland McGrath <roland@hack.frob.com>
33826
c31fdb83
RM
33827 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
33828 * sysdeps/unix/syscalls.list: ... here.
33829
a0844057
RM
33830 * sysdeps/posix/getaddrinfo.c
33831 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33832 (gaiconf_init, gaiconf_reload): Use them.
33833 [!_STATBUF_ST_NSEC]
33834 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33835 Define using time_t rather than struct timespec.
33836
750c1f2a
RM
33837 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33838 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33839 Macros removed.
33840 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33841 [!NO_THREADS].
33842 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33843 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33844 Likewise.
33845
2ae1ae5c
RM
33846 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33847 __libc_cleanup_push argument.
33848
e66a42f5
RM
33849 * bits/param.h: New file.
33850 * misc/sys/param.h: New file.
33851 * include/sys/param.h: New file.
33852 * misc/Makefile (headers): Add bits/param.h.
33853 * sysdeps/generic/sys/param.h: File removed.
33854 * sysdeps/unix/sysv/linux/bits/param.h: New file.
33855 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33856 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 33857 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 33858
b7c08a66
RM
33859 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33860 last change.
33861
b2e1c562
RM
33862 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33863 [_IO_MTSAFE_IO].
33864 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33865 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33866 New macros.
33867
c75ccd4c
RM
33868 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33869 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33870 rather than -D_IO_MTSAFE_IO conditionally.
33871 * stdio-common/Makefile (CPPFLAGS): Likewise.
33872 * wcsmbs/Makefile (CPPFLAGS): Likewise.
33873 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33874 Use $(libio-mtsafe).
33875 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33876 of -D_IO_MTSAFE_IO.
33877 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33878 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33879 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33880 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33881 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33882 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33883 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33884 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33885 (CFLAGS-fread_u_chk.c): Likewise.
33886 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33887 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33888 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33889 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33890 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33891 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33892 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33893 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33894 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33895
33896 * libio/Makefile: Test [$(libc-reentrant) = yes]
33897 instead of [$(filter %REENTRANT, $(defines)) nonempty].
33898
33899 * Makeconfig
33900 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33901 * sysdeps/pthread/configure: File removed.
33902 * sysdeps/pthread/Makeconfig: New file.
33903 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33904 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33905
d9195db8
GB
339062012-08-16 Gary Benson <gbenson@redhat.com>
33907
33908 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33909 unmapping the first object in a namespace.
33910
86466cd9
RM
339112012-08-16 Roland McGrath <roland@hack.frob.com>
33912
33913 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33914 (__internal_setnetgrent): ... this. Add internal_function to
33915 definition. Add libc_hidden_def.
33916 (setnetgrent): Update caller.
33917 (internal_endnetgrent): Renamed to ...
33918 (__internal_endnetgrent): ... this. Add internal_function to
33919 definition. Add libc_hidden_def.
33920 (endnetgrent): Update caller.
33921 (internal_getnetgrent_r): Renamed to ...
33922 (__internal_getnetgrent_r): ... this. Add internal_function to
33923 definition. Add libc_hidden_def.
33924 (__getnetgrent_r): Update caller.
33925 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
33926
c3c8283c
JM
339272012-08-16 Joseph Myers <joseph@codesourcery.com>
33928
33929 * stdlib/longlong.h: Update from GCC.
33930
db1ee0a8
RM
339312012-08-16 Roland McGrath <roland@hack.frob.com>
33932
33933 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33934 on _QL, which is set by umul_ppmm but never used.
33935 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33936 variables, which are set by GMP macros but never used.
33937 * stdio-common/_itowa.c (_itowa): Likewise.
33938 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33939 * stdlib/mod_1.c (mpn_mod_1): Likewise.
33940
30f69637
CD
339412012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
33942
33943 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33944 struct La_sh_regs is not constant.
33945 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33946 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33947 and struct La_sparc64_regs are not constant.
33948
93a78ac4
JM
339492012-08-16 Joseph Myers <joseph@codesourcery.com>
33950
33951 * sysdeps/unix/sysv/linux/kernel-features.h
33952 (__ASSUME_POSIX_TIMERS): Remove.
33953 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33954 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33955 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33956 Make code unconditional.
33957 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33958 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33959 Make code unconditional.
33960 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33961 * sysdeps/unix/sysv/linux/clock_nanosleep.c
33962 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33963 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33964 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33965 Make code unconditional.
33966 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33967 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33968 (__libc_missing_posix_timers): Remove.
33969
dd924cd7
RM
339702012-08-15 Roland McGrath <roland@hack.frob.com>
33971
4b4f2771
RM
33972 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33973 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
33974
601c888b
RM
33975 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
33976
176790a7
RM
33977 * elf/dl-sym.c: Include <stdlib.h>.
33978
329bc018
RM
33979 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
33980 constants, which avoids warnings in 32-bit builds.
33981
e04e272d
RM
33982 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
33983 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
33984
952bf94a
RM
33985 * misc/lseek.c: File moved to ...
33986 * io/lseek.c: ... here.
33987
7c99b50a
RM
33988 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
33989
dd924cd7
RM
33990 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
33991 shifting LEN more than 31 bits at once.
33992
b3f479a8
LD
339932012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33994
33995 [BZ #14195]
8c4ae0d4
RM
33996 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33997 segmentation fault for a case of two empty input strings.
b3f479a8
LD
33998 * string/test-strncasecmp.c (check1): Renamed to...
33999 (bz12205): ...this.
34000 (bz14195): Add new testcase for two empty input strings and N > 0.
34001 (test_main): Call new testcase, adapt for renamed function.
34002
9c55864e
AJ
340032012-08-15 Andreas Jaeger <aj@suse.de>
34004
34005 [BZ #14090]
34006 * crypt/md5test2.c: New test, based on test supplied by Serge
34007 Belyshev <belyshev@depni.sinp.msu.ru>.
34008 * crypt/Makefile (xtests): Add md5test-giant..
34009 * crypt/Makefile ($(objpfx)md5test-giant): Add.
34010
02dcb6c5
PE
340112012-08-15 Paul Eggert <eggert@cs.ucla.edu>
34012
34013 [BZ #14090]
34014 * crypt/md5.c (md5_process_block): Don't assume the buffer
34015 length is less than 2**32.
34016 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
34017 length is less than 2**64.
34018
a3f95dcc
RM
340192012-08-15 Roland McGrath <roland@hack.frob.com>
34020
be75d758
RM
34021 * string/str-two-way.h: Include <sys/param.h>.
34022 (MAX): Macro removed.
34023
7312ca90
RM
34024 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
34025 Move #define and #undef of memmove to just before and after
34026 including <string.h>.
34027
9a0a5486
RM
34028 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
34029 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
34030 and after including <string.h>. Move declarations of
34031 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
34032 to before #include "string/memmove.c".
34033
67cc348d
RM
34034 * include/dirent.h: Declare __getdirentries.
34035
a3f95dcc
RM
34036 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
34037 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
34038
ca98e171
MF
340392012-08-14 Mike Frysinger <vapier@gentoo.org>
34040
34041 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
34042 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
34043 * sysdeps/i386/configure: Regenerated.
34044 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
34045 STABS_CURRENT_FILE, and STABS_FUN.
34046 (END): Remove call to STABS_FUN_END.
34047 (STABS_CURRENT_FILE1): Delete.
34048 (STABS_CURRENT_FILE): Likewise.
34049 (STABS_FUN): Likewise.
34050 (STABS_FUN_END): Likewise.
34051 (STABS_FUN2): Likewise.
34052 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
34053 * sysdeps/x86_64/configure: Regenerated.
34054
5908bf46
RM
340552012-08-14 Roland McGrath <roland@hack.frob.com>
34056
34057 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 34058 * elf/dl-lookup.c: Likewise.
5908bf46 34059
f2c05b9e
JM
340602012-08-14 Joseph Myers <joseph@codesourcery.com>
34061
34062 * sysdeps/unix/sysv/linux/kernel-features.h
34063 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
34064 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
34065 unconditionally.
34066 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
34067 unconditionally.
34068 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
34069 condition on __ASSUME_CLONE_THREAD_FLAGS.
34070
e11f5155
AJ
340712012-08-14 Andreas Jaeger <aj@suse.de>
34072
34073 * sysdeps/i386/fpu/libm-test-ulps: Update.
34074
51a9ba86
MK
340752012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
34076
2fdd4f78
AJ
34077 * include/atomic.h (atomic_exchange_and_add): Split into ...
34078 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
34079 New atomic macros.
51a9ba86 34080
ba6cba9e
MT
340812012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
34082
34083 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34084
42443a47
JL
340852012-08-13 Jeff Law <law@redhat.com>
34086
34087 * manual/stdio.texi (snprintf): Clarify handling of the trailing
34088 null byte in the output string.
34089
121dce05
JM
340902012-08-10 Joseph Myers <joseph@codesourcery.com>
34091
34092 * sysdeps/unix/sysv/linux/kernel-features.h
34093 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
34094 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
34095 (__ASSUME_ARG_MAX_STACK_BASED): Define.
34096 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34097 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
34098 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
34099 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
34100
bf51f568
JL
341012012-08-09 Jeff Law <law@redhat.com>
34102
34103 [BZ #13939]
34104 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
34105 When avoid_arena is set, don't retry in the that arena. Pick the
34106 next one, whatever it might be.
34107 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34108 (arena_lock): Pass in new parameter to arena_get2.
34109 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
34110 arena_get2.
34111 (__libc_malloc): Unify retrying after main arena failure with
34112 __libc_memalign version.
34113 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
34114
f85fa270
L
341152012-08-09 H.J. Lu <hongjiu.lu@intel.com>
34116
34117 [BZ #14166]
34118 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
34119 to __redirect_strstr.
34120 (__strstr_sse42): Use typeof __redirect_strstr.
34121 (__strstr_ia32): Likewise.
34122 (__libc_strstr): New prototype.
34123 (strstr): Renamed to ...
34124 (__libc_strstr): This.
34125 (strstr): New strong alias of __libc_strstr.
34126 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34127 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34128 __redirect_time.
34129 Include <time.h>.
34130 (__libc_time): New prototype.
34131 (time_ifunc): Replace time with __libc_time.
34132 (time): New strong alias and hidden definition of __libc_time.
34133 (__GI_time): Remove strong alias.
34134 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34135 Include <stddef.h>.
34136 (memmove): Redefined to __redirect_memmove.
34137 (__memmove_sse2): Use typeof __redirect_memmove.
34138 (__memmove_ssse3): Likewise.
34139 (__memmove_ssse3_back): Likewise.
34140 (__libc_memmove): New prototype.
34141 (memmove): Renamed to ...
34142 (__libc_memmove): This.
34143 (memmove): New strong alias of __libc_memmove.
34144
33b4a91e
MS
341452012-08-08 Mark Salter <msalter@redhat.com>
34146
34147 * elf/elf.h
34148 (R_MN10300_TLS_GD): Define.
34149 (R_MN10300_TLS_LD): Likewise.
34150 (R_MN10300_TLS_LDO): Likewise.
34151 (R_MN10300_TLS_GOTIE): Likewise.
34152 (R_MN10300_TLS_IE): Likewise.
34153 (R_MN10300_TLS_LE): Likewise.
34154 (R_MN10300_TLS_DTPMOD): Likewise.
34155 (R_MN10300_TLS_DTPOFF): Likewise.
34156 (R_MN10300_TLS_TPOFF): Likewise.
34157 (R_MN10300_SYM_DIFF): Likewise.
34158 (R_MN10300_ALIGN): Likewise.
34159 (R_MN10300_NUM): Update.
34160
b36137f1
JM
341612012-08-08 Joseph Myers <joseph@codesourcery.com>
34162
34163 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34164 Remove.
34165
cdd915fd
RM
341662012-08-08 Roland McGrath <roland@hack.frob.com>
34167
a2433aac
RM
34168 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34169
cdd915fd
RM
34170 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34171 sysdeps/unix -> sysdeps/posix move.
34172 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34173
bf9b740a
AM
341742012-08-07 Allan McRae <allan@archlinux.org>
34175
34176 [BZ #14303]
34177 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34178 (SUNOS_CPP): Likewise.
34179 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34180 not found.
34181 (open_input): Call CPP using execvp.
34182
93df14ee
JM
341832012-08-07 Joseph Myers <joseph@codesourcery.com>
34184
34185 * sysdeps/unix/sysv/linux/kernel-features.h
34186 (__ASSUME_PROT_GROWSUPDOWN): Remove.
34187 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34188 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34189 (__ASSUME_WAITID_SYSCALL): Likewise.
34190 * sysdeps/unix/sysv/linux/dl-execstack.c
34191 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34192 code unconditional.
34193 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34194 conditional code.
34195 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34196 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34197 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34198 code.
34199 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34200 unconditional.
34201 [__ASSUME_WAITID_SYSCALL]: Likewise.
34202 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34203
d34689de
RM
342042012-08-07 Roland McGrath <roland@hack.frob.com>
34205
a281decc
RM
34206 * sysdeps/unix/closedir.c: Renamed to ...
34207 * sysdeps/posix/closedir.c: ... here.
34208 * sysdeps/unix/dirfd.c: Renamed to ...
34209 * sysdeps/posix/dirfd.c: ... here.
34210 * sysdeps/unix/dirstream.h: Renamed to ...
34211 * sysdeps/posix/dirstream.h: ... here.
34212 * sysdeps/unix/fdopendir.c: Renamed to ...
34213 * sysdeps/posix/fdopendir.c: ... here.
34214 * sysdeps/unix/opendir.c: Renamed to ...
34215 * sysdeps/posix/opendir.c: ... here.
34216 * sysdeps/unix/readdir.c: Renamed to ...
34217 * sysdeps/posix/readdir.c: ... here.
34218 * sysdeps/unix/readdir_r.c: Renamed to ...
34219 * sysdeps/posix/readdir_r.c: ... here.
34220 * sysdeps/unix/rewinddir.c: Renamed to ...
34221 * sysdeps/posix/rewinddir.c: ... here.
34222 * sysdeps/unix/seekdir.c: Renamed to ...
34223 * sysdeps/posix/seekdir.c: ... here.
34224 * sysdeps/unix/telldir.c: Renamed to ...
34225 * sysdeps/posix/telldir.c: ... here.
34226 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34227 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34228 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34229 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34230
22895b47
RM
34231 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34232 * bits/fcntl.h: ... here.
34233
707a53b6
RM
34234 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34235 not 0.
34236 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34237 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34238 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34239 (struct flock): Move l_start, l_len to the beginning.
34240 Use __pid_t for l_pid.
34241 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34242 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34243 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34244 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34245 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34246 [__USE_LARGEFILE64] (struct flock64): New type.
34247 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34248
f0bd3e25
RM
34249 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34250 * bits/dirent.h: ... here.
34251
d34689de
RM
34252 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34253 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34254
6dad2c06
JM
342552012-08-07 Joseph Myers <joseph@codesourcery.com>
34256
34257 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34258 Change from 2.6.0 to 2.6.16.
34259 * sysdeps/unix/sysv/linux/configure: Regenerated.
34260 * sysdeps/unix/sysv/linux/kernel-features.h
34261 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34262 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34263 version.
34264 (__ASSUME_UTIMES): Likewise.
34265 (__ASSUME_CLONE_STOPPED): Remove.
34266 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34267 architectures, not kernel version.
34268 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34269 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34270 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34271 (__ASSUME_WAITID_SYSCALL): Likewise.
34272 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34273 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34274 * README: State 2.6.16 as minimum Linux kernel version. Do not
34275 refer to older versions.
34276
03af9520
RM
342772012-08-06 Roland McGrath <roland@hack.frob.com>
34278
8e49df1d
RM
34279 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34280 Define alphasort64 as an alias.
34281 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34282 Define versionsort64 as an alias.
34283 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34284 Define scandir64 as an alias.
34285 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34286 Define scandirat64 as an alias.
34287 * dirent/alphasort64.c (alphasort64):
34288 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34289 * dirent/versionsort64.c: Likewise.
34290 * dirent/scandir64.c: Likewise.
34291 * dirent/scandirat64.c: Likewise.
34292 * sysdeps/wordsize-64/alphasort.c: File removed.
34293 * sysdeps/wordsize-64/alphasort64.c: File removed.
34294 * sysdeps/wordsize-64/scandir.c: File removed.
34295 * sysdeps/wordsize-64/scandir64.c: File removed.
34296 * sysdeps/wordsize-64/scandirat.c: File removed.
34297 * sysdeps/wordsize-64/scandirat64.c: File removed.
34298 * sysdeps/wordsize-64/versionsort.c: File removed.
34299 * sysdeps/wordsize-64/versionsort64.c: File removed.
34300 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34301 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34302 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34303 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34304 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34305 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34306 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34307 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34308
34309 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34310 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34311 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34312 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34313 [defined __arch64__ || defined __sparcv9]
34314 (__INO_T_MATCHES_INO64_T): New macro.
34315 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34316 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34317 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34318 * sysdeps/unix/sysv/linux/bits/dirent.h
34319 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34320 (_DIRENT_MATCHES_DIRENT64): New macro.
34321
03af9520
RM
34322 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34323 Define lockf64 as an alias.
34324 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34325 Define fseeko64 as an alias.
34326 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34327 Define ftello64 as an alias.
34328 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34329 Define _IO_fgetpos64 and fgetpos64 as aliases.
34330 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34331 Define _IO_fsetpos64 and fsetpos64 as aliases.
34332 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34333 Conditionalize body on this.
34334 * libio/fseeko64.c: Likewise.
34335 * libio/ftello64.c: Likewise.
34336 * libio/iofgetpos64.c: Likewise.
34337 * libio/iofsetpos64.c: Likewise.
34338 * sysdeps/wordsize-64/lockf.c: File removed.
34339 * sysdeps/wordsize-64/lockf64.c: File removed.
34340 * sysdeps/wordsize-64/fseeko.c: File removed.
34341 * sysdeps/wordsize-64/fseeko64.c: File removed.
34342 * sysdeps/wordsize-64/ftello.c: File removed.
34343 * sysdeps/wordsize-64/ftello64.c: File removed.
34344 * sysdeps/wordsize-64/iofgetpos.c: File removed.
34345 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34346 * sysdeps/wordsize-64/iofsetpos.c: File removed.
34347 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34348 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34349 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34350 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34351 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34352 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34353 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34354 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34355 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34356 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34357 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34358
34359 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34360 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34361 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34362 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34363 [defined __arch64__ || defined __sparcv9]
34364 (__OFF_T_MATCHES_OFF64_T): New macro.
34365 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34366 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34367 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34368 (__OFF_T_MATCHES_OFF64_T): New macro.
34369
c5757acd
L
343702012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34371
34372 * stdlib/secure-getenv.c (__secure_getenv): Replace
34373 GLIBC_2_16 with GLIBC_2_17.
34374
3a31811e
L
343752012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34376
34377 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34378 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34379
faa2bccb
DM
343802012-08-03 David S. Miller <davem@davemloft.net>
34381
34382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34383
85fe1997
JM
343842012-08-03 Joseph Myers <joseph@codesourcery.com>
34385
34386 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34387 Remove.
34388 (__ASSUME_CORRECT_SI_PID): Likewise.
34389 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34390 (__ASSUME_TMPFS_NAME): Likewise.
34391 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34392 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34393 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34394 (HAVE_AUX_SECURE): Make definition unconditional.
34395 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34396 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34397
4f75b7a0
RM
343982012-08-03 Roland McGrath <roland@hack.frob.com>
34399
34400 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34401 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34402 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34403 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34404 __eloop_threshold instead of SYMLOOP_MAX.
34405
34406 * sysdeps/generic/eloop-threshold.h: New file.
34407 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34408 of MAXSYMLINKS.
34409 * elf/chroot_canon.c (chroot_canon): Likewise.
34410
7aab07e4
JM
344112012-08-03 Joseph Myers <joseph@codesourcery.com>
34412
34413 [BZ #13717]
34414 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34415 Change to 2.6.0 everywhere.
34416 * sysdeps/unix/sysv/linux/configure: Regenerated.
34417 * sysdeps/unix/sysv/linux/kernel-features.h
34418 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34419 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34420 kernel versions.
34421 (__ASSUME_POSIX_TIMERS): Define unconditionally.
34422 (__ASSUME_FUTEX_REQUEUE): Remove.
34423 (__ASSUME_STATFS64): Define unconditionally.
34424 (__ASSUME_AT_SECURE): Likewise.
34425 (__ASSUME_CORRECT_SI_PID): Likewise.
34426 (__ASSUME_TGKILL): Define without depending on kernel version for
34427 i386.
34428 (__ASSUME_UTIMES): Likewise.
34429 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34430 kernel version.
34431 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34432 (__ASSUME_TMPFS_NAME): Likewise.
34433 * README: Update reference to Linux kernel versions.
34434
b67e9372
MP
344352012-08-02 Marek Polacek <polacek@redhat.com>
34436
1f529f7d 34437 [BZ# 14150]
b67e9372
MP
34438 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34439 libc_cv_asm_type_prefix with %.
34440 * configure: Regenerated.
d2441631
RM
34441 * include/libc-symbols.h: Remove comment about
34442 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
34443 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34444 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34445 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34446 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34447 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34448 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34449 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34450 * elf/tst-unique2mod1.c: Likewise.
34451 * elf/tst-unique1mod2.c: Likewise.
34452 * elf/tst-unique1mod1.c: Likewise.
34453 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34454 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34455 Replace ASM_TYPE_DIRECTIVE with .type.
34456 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34457 * sysdeps/i386/sysdep.h: Likewise.
34458 * sysdeps/x86_64/sysdep.h: Likewise.
34459 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
34460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34461 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 34462 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
34463 * sysdeps/powerpc/powerpc32/sysdep.h:
34464 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
34465 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34466 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34467 * sysdeps/i386/fpu/e_powf.S: Likewise.
34468 * sysdeps/i386/fpu/e_expl.S: Likewise.
34469 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34470 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34471 * sysdeps/i386/fpu/e_pow.S: Likewise.
34472 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34473 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34474 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34475 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34476 * sysdeps/i386/fpu/e_log2.S: Likewise.
34477 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34478 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34479 * sysdeps/i386/fpu/e_powl.S: Likewise.
34480 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34481 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34482 * sysdeps/i386/fpu/e_logl.S: Likewise.
34483 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34484 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34485 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34486 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34487 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34488 * sysdeps/i386/fpu/e_log.S: Likewise.
34489 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34490 * sysdeps/i386/fpu/e_logf.S: Likewise.
34491 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34492 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34493 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34494 * sysdeps/i386/fpu/e_log10.S: Likewise.
34495 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34496 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34497 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34498 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34499 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34500 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34501 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34502 * sysdeps/i386/i686/strtok.S: Likewise.
34503 * sysdeps/i386/i386-mcount.S: Likewise.
34504 * sysdeps/i386/strtok.S: Likewise.
34505 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34506 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34507 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34508 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34509 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34510 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34511 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34512 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34513 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34514 * sysdeps/x86_64/_mcount.S: Likewise.
34515 * sysdeps/x86_64/strtok.S: Likewise.
34516 * sysdeps/sh/_mcount.S: Likewise.
34517
2747bf9a
RM
345182012-08-01 Roland McGrath <roland@hack.frob.com>
34519
34520 * libio/iofopen.c: Include <fcntl.h>.
34521 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34522 (_IO_fopen64, fopen64): Define as aliases.
34523 * libio/iofopen64.c: Include <fcntl.h>.
34524 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34525 Conditionalize body on this.
34526 * sysdeps/wordsize-64/iofopen.c: File removed.
34527 * sysdeps/wordsize-64/iofopen64.c: File removed.
34528
3fb791b8
MP
345292012-08-01 Marek Polacek <polacek@redhat.com>
34530
34531 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34532 Use dlfcn directly instead of a variable.
34533 (binfmt-subdir): Do not define.
34534 (dlfcn): Likewise.
34535
a9f1039f
JM
345362012-08-01 Joseph Myers <joseph@codesourcery.com>
34537
23bddc06
JM
34538 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34539 Remove all definitions.
34540 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34541 <kernel-features.h>.
34542 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34543 (miss_F_GETOWN_EX): Remove all definitions.
34544 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34545 macro definition.
34546 [!__ASSUME_FCNTL64]: Remove conditional code.
34547 [__ASSUME_FCNTL64]: Make code unconditional.
34548 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34549 <kernel-features.h>.
34550 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34551 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34552 (lockf64) [__NR_fcntl64]: Make code unconditional.
34553 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34554
a9f1039f
JM
34555 * sysdeps/unix/sysv/linux/kernel-features.h
34556 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34557 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34558 Make code unconditional.
34559 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34560 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34562 [__NR_vfork]: Make code unconditional.
34563 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34564 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34566 [__NR_vfork]: Make code unconditional.
34567 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34568 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34569
09c0ee5f
RM
345702012-08-01 Roland McGrath <roland@hack.frob.com>
34571
48aec5b9
RM
34572 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34573 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34574
cd97c966
RM
34575 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34576 Define mkstemp64 as an alias.
3f55550c
RM
34577 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34578 Define mkstemps64 as an alias.
cd97c966
RM
34579 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34580 Define mkostemp64 as an alias.
b8625cfc
RM
34581 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34582 Define mkostemps64 as an alias.
cd97c966
RM
34583 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34584 Conditionalize body on this.
34585 * misc/mkostemp64.c: Likewise.
b8625cfc 34586 * misc/mkostemps64.c: Likewise.
3f55550c 34587 * misc/mkstemps64.c: Likewise.
cd97c966
RM
34588 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34589 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34590 * sysdeps/wordsize-64/mkostemp.c: File removed.
34591 * sysdeps/wordsize-64/mkstemp.c: File removed.
34592 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34593 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34594 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34595 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34596
09c0ee5f
RM
34597 [BZ #14138]
34598 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34599 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34600 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34601 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34602
34603 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34604 compat_symbol macros from <shlib-compat.h> rather than the underlying
34605 default_symbol_version and symbol_version macros, so that DEFAULT
34606 lines in shlib-versions are respected.
34607 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34608
7e66ee51
FW
346092012-08-01 Florian Weimer <fweimer@redhat.com>
34610
34611 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34612 Declare with warn_unused_result.
34613 (setgid, setregid, setegid, setresgid): Likewise.
34614 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34615 Likewise.
34616 * WUR-REPORT: Remove set*id functions.
34617
d2a54255
PT
346182012-07-31 Pino Toscano <toscano.pino@tiscali.it>
34619
34620 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34621
7ecdb005
RM
346222012-07-31 Roland McGrath <roland@hack.frob.com>
34623
b4180a5e 34624 [BZ #10191]
789bd351
RM
34625 * include/sys/socket.h (__libc_accept, __libc_accept4):
34626 Add attribute_hidden.
34627 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34628
40ce302d
RM
34629 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34630 use of PTR_MANGLE.
34631 * inet/getnetgrent_r.c (setup): Likewise.
34632
7ecdb005
RM
34633 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34634
e2eabb2c
DM
346352012-07-31 David S. Miller <davem@davemloft.net>
34636
34637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34638
d0419dbf
JM
346392012-07-31 Joseph Myers <joseph@codesourcery.com>
34640
34641 [BZ #13629]
34642 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34643 value between 1.0 and 2.0 and smaller part has absolute value less
34644 than 1.0.
34645 * math/s_clog10.c (__clog10): Likewise.
34646 * math/s_clog10f.c (__clog10f): Likewise.
34647 * math/s_clog10l.c (__clog10l): Likewise.
34648 * math/s_clogf.c (__clogf): Likewise.
34649 * math/s_clogl.c (__clogl): Likewise.
34650 * math/libm-test.inc (clog_test): Add more tests.
34651 (clog10_test): Likewise.
34652 * sysdeps/i386/fpu/libm-test-ulps: Update.
34653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34654
2bc13872
FW
346552012-07-31 Florian Weimer <fweimer@redhat.com>
34656
34657 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34658 Exit with zero in case no suitable GID is found, and write a
34659 message to standard error.
34660
bea9b193
RM
346612012-07-30 Roland McGrath <roland@hack.frob.com>
34662
34663 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34664 rather than to 1.
34665 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34666 (MAXPATHLEN): Removed.
34667 (NOGROUP, NODEV): New macros.
34668 (setbit, clrbit, isset, isclr): New macros.
34669 (howmany, roundup, powerof2): New macros.
34670 (DEV_BSIZE): New macro.
34671
34672 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34673 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34674
34675 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34676 definition on [!__NO_LONG_DOUBLE_MATH].
34677
34678 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34679 PTR_MANGLE and PTR_DEMANGLE.
34680
34681 * socket/accept4.c (accept4): Rename to __libc_accept4.
34682 Define accept4 as a weak alias.
34683
34684 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34685 on [_DIRENT_HAVE_D_TYPE].
34686 * io/ftw.c (ftw_dir): Likewise.
34687
34688 * io/xmknod.c (__xmknod): Don't check PATH for being null.
34689
34690 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34691
34692 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34693 Use the BSD numbers rather than the arbitrary ones we had.
34694 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34695 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34696 (SIGXCPU, SIGXFSZ): New macros.
34697 (_NSIG): Now 32.
34698
34699 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34700 initializer on [_LIBC_REENTRANT].
34701
34702 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34703 definitions inside [_POSIX_MAPPED_FILES].
34704
34705 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34706
34707 * dirent/opendir.c: Include <fcntl.h>.
34708
34709 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34710 (__libc_getspecific): Likewise.
34711 (__libc_key_create): Likewise.
34712
34713 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34714 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34715 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34716 (tmpfile64): Define as alias.
34717 * sysdeps/wordsize-64/tmpfile.c: File removed.
34718 * sysdeps/wordsize-64/tmpfile64.c: File removed.
34719 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34720 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34721
34722 * stdio-common/vfscanf.c: Include <stdbool.h>.
34723 * nss/makedb.c: Likewise.
34724 * stdio-common/_i18n_number.h: Likewise.
34725 * argp/argp-help.c: Likewise.
34726 * posix/wordexp.c: Likewise.
34727 * sysdeps/posix/spawni.c: Likewise.
34728 * nss/nss_files/files-initgroups.c: Likewise.
34729 * stdio-common/reg-modifier.c: Include <stdlib.h>.
34730 * nss/nss_files/files-initgroups.c: Likewise.
34731 * nss/nss_db/db-netgrp.c: Likewise.
34732 * nss/nss_db/db-initgroups.c: Likewise.
34733 * io/fchmodat.c: Include <sys/stat.h>.
34734
34735 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34736 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34737
34738 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34739 [HAVE_MMAP].
34740
34741 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34742 Add multiple inclusion protection.
34743
e5abc686
DM
347442012-07-27 David S. Miller <davem@davemloft.net>
34745
34746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34747
815e6fa3
GB
347482012-07-27 Gary Benson <gbenson@redhat.com>
34749
34750 [BZ #14298]
34751 * elf/rtld.c: Include <stap-probe.h>.
34752 (dl_main): Added static probes "init_start" and "init_complete".
34753 * elf/dl-load.c: Include <stap-probe.h>.
34754 (lose): Take new parameter "nsid".
34755 Added static probe "map_failed".
34756 (_dl_map_object_from_fd): Pass namespace id to lose.
34757 Added static probe "map_start".
34758 (open_verify): Pass namespace id to lose.
34759 * elf/dl-open.c: Include <stap-probe.h>.
34760 (dl_open_worker) Added static probes "map_complete", "reloc_start"
34761 and "reloc_complete".
34762 * elf/dl-close.c: Include <stap-probe.h>.
34763 (_dl_close_worker): Added static probes "unmap_start" and
34764 "unmap_complete".
34765 * elf/rtld-debugger-interface.txt: New file documenting the above.
34766
9f98c16c
RM
347672012-07-26 Roland McGrath <roland@hack.frob.com>
34768
34769 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34770 rather than a string variable.
34771 * sunrpc/rpc_main.c (h_output): Likewise.
34772 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34773
f3c22df3
PT
347742012-07-26 Pino Toscano <toscano.pino@tiscali.it>
34775
34776 * inet/check_native.c: New file.
34777
3129cfc6
JM
347782012-07-26 Joseph Myers <joseph@codesourcery.com>
34779
da865e95
JM
34780 [BZ #13629]
34781 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34782 if larger part has absolute value 1.0.
34783 * math/s_clog10.c (__clog10): Likewise.
34784 * math/s_clog10f.c (__clog10f): Likewise.
34785 * math/s_clog10l.c (__clog10l): Likewise.
34786 * math/s_clogf.c (__clogf): Likewise.
34787 * math/s_clogl.c (__clogl): Likewise.
34788 * math/libm-test.inc (clog_test): Add more tests.
34789 (clog10_test): Likewise.
34790 * sysdeps/i386/fpu/libm-test-ulps: Update.
34791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34792
3129cfc6
JM
34793 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34794 (pltexit): Likewise.
34795 (La_regs): Likewise.
34796 (La_retval): Likewise.
34797 (int_retval): Likewise.
34798 Update #error for removed macros to refer only to definitions in
34799 tst-audit.h.
34800 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34801 macro.
34802 (pltexit): Likewise.
34803 (La_regs): Likewise.
34804 (La_retval): Likewise.
34805 (int_retval): Likewise.
34806 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34807 macro.
34808 (pltexit): Likewise.
34809 (La_regs): Likewise.
34810 (La_retval): Likewise.
34811 (int_retval): Likewise.
34812 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34813 macro.
34814 (pltexit): Likewise.
34815 (La_regs): Likewise.
34816 (La_retval): Likewise.
34817 (int_retval): Likewise.
34818 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34819 macro.
34820 (pltexit): Likewise.
34821 (La_regs): Likewise.
34822 (La_retval): Likewise.
34823 (int_retval): Likewise.
34824 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34825 macro.
34826 (pltexit): Likewise.
34827 (La_regs): Likewise.
34828 (La_retval): Likewise.
34829 (int_retval): Likewise.
34830 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34831 macro.
34832 (pltexit): Likewise.
34833 (La_regs): Likewise.
34834 (La_retval): Likewise.
34835 (int_retval): Likewise.
34836 * sysdeps/generic/tst-audit.h: Update comment to refer only to
34837 macro definitions in tst-audit.h.
34838 * sysdeps/i386/tst-audit.h: New file.
34839 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34840 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34841 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34842 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34843 * sysdeps/sh/tst-audit.h: Likewise.
34844 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34845 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34846 * sysdeps/x86_64/tst-audit.h: Likewise.
34847
bfc07087
AJ
348482012-07-26 Andreas Jaeger <aj@suse.de>
34849
b1b2aaf8
AJ
34850 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34851 ptrace.
34852
34853 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34854 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34855 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34856 PTRACE_O_MASK.
34857 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34858 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34859 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34860
bfc07087
AJ
34861 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34862 value.
34863
34864 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34865 _sigsys.
34866 (si_call_addr, si_syscall, si_arch): Define new macro.
34867 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34868 _sigsys.
34869 (si_call_addr, si_syscall, si_arch): Define new marcro.
34870 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34871 _sigsys.
34872 (si_call_addr, si_syscall, si_arch): Define new macro.
34873 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34874 _sigsys.
34875 (si_call_addr, si_syscall, si_arch): Define new macro.
34876
89b4b02f
JM
348772012-07-25 Joseph Myers <joseph@codesourcery.com>
34878
34879 [BZ #13717]
34880 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34881 Change to 2.4.21 where previously 2.4.1.
34882 * sysdeps/unix/sysv/linux/configure: Regenerated.
34883 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34884 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34885 Linux kernel version.
34886 (__ASSUME_STD_AUXV): Remove.
34887 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34888 kernel version.
34889 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34890 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34891 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34892 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34893 (__ASSUME_NETLINK_SUPPORT): Likewise.
34894 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34895 (__no_netlink_support): Remove conditional definition.
34896 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34897 Remove.
34898 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34899 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34900 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34901 (if_nameindex_ioctl): Remove.
34902 (if_nameindex_netlink): Do not handle __no_netlink_support.
34903 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34904 code.
34905 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34906 Remove conditional code.
34907 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34908 code.
34909 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34910 unconditional.
34911 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34912 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34913 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34914 Remove.
34915 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34916 [!__ASSUME_STD_AUXV]: Remove conditional code.
34917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34918 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34919 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34921 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34922 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34923 code.
34924 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34926 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34927 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34928 conditional code.
34929 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34931 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34932 code.
34933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34934 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34935 conditional code.
34936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34937 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34938 code unconditional.
34939 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34940 conditional code.
34941 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34942 unconditional.
34943 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34944 conditional code.
34945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34946 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34947 unconditional.
34948 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34949 conditional code.
34950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34951 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34952 code unconditional.
34953 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34954 conditional code.
34955 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34956 unconditional.
34957 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34958 conditional code.
34959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34960 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34961 code unconditional.
34962 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34963 conditional code.
34964 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34965 unconditional.
34966 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34967 conditional code.
34968
842a39cd
AS
349692012-07-25 Andreas Schwab <schwab@linux-m68k.org>
34970
34971 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34972 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34973 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34974 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
34975 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
34976 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34977 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34978 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
34979 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
34980 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34981 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
34982 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
34983 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
34984 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34985 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
34986 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
34987 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
34988 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
34989 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
34990 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
34991 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34992 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34993 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34994
84b3fd84
FW
349952012-07-25 Florian Weimer <fweimer@redhat.com>
34996
34997 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
34998 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34999 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
35000 Introduce __libc_secure_getenv.
0c7936d5
FW
35001 * stdlib/Versions (2.17): Add secure_getenv
35002 (GLIBC_PRIVATE): Add __libc_secure_getenv.
35003 * stdlib/secure-getenv.c: Rename __secure_getenv to
35004 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
35005 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
35006 * stdlib/tst-secure-getenv.c: New.
35007 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
35008 * manual/startup.texi (Environment Access): Document
35009 secure_getenv.
84b3fd84
FW
35010 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
35011 __libc_secure_getenv.
35012 * inet/ruserpass.c (ruserpass): Likewise.
35013 * malloc/mtrace.c (mtrace): Likewise.
35014 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 35015 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
35016 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
35017 * sysdeps/posix/tempname.c: Likewise. Evaluate
35018 HAVE_SECURE_GETENV.
35019 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 35020 __secure_getenv to __libc_secure_getenv.
84b3fd84 35021 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
35022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35023 Likewise.
35024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35025 Likewise.
35026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35028 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35031 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35032 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 35033
56e49b71
JM
350342012-07-25 Joseph Myers <joseph@codesourcery.com>
35035
35036 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
35037 (struct La_i86_retval): Likewise.
35038 (struct La_x86_64_regs): Likewise.
35039 (struct La_x86_64_retval): Likewise.
35040 (struct La_x32_regs): Likewise.
35041 (struct La_x32_retval): Likewise.
35042 (struct La_ppc32_regs): Likewise.
35043 (struct La_ppc32_retval): Likewise.
35044 (struct La_ppc64_regs): Likewise.
35045 (struct La_ppc64_retval): Likewise.
35046 (struct La_sh_regs): Likewise.
35047 (struct La_sh_retval): Likewise.
35048 (struct La_s390_32_regs): Likewise.
35049 (struct La_s390_32_retval): Likewise.
35050 (struct La_s390_64_regs): Likewise.
35051 (struct La_s390_64_retval): Likewise.
35052 (struct La_sparc32_regs): Likewise.
35053 (struct La_sparc32_retval): Likewise.
35054 (struct La_sparc64_regs): Likewise.
35055 (struct La_sparc64_retval): Likewise.
35056 (struct audit_ifaces): Remove architecture-specific pltenter and
35057 pltexit members.
35058 * sysdeps/i386/ldsodefs.h: New file.
35059 * sysdeps/powerpc/ldsodefs.h: Likewise.
35060 * sysdeps/s390/ldsodefs.h: Likewise.
35061 * sysdeps/sh/ldsodefs.h: Likewise.
35062 * sysdeps/sparc/ldsodefs.h: Likewise.
35063 * sysdeps/x86_64/ldsodefs.h: Likewise.
35064
354691b7
MP
350652012-07-25 Marek Polacek <polacek@redhat.com>
35066
35067 [BZ #6808]
35068 * math/libm-test.inc (yn_test): Add another test.
35069 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
35070 to ERANGE when the result is +-Inf.
35071 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35072 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35073 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
35074 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
35075
bf9e2071
JM
350762012-07-24 Joseph Myers <joseph@codesourcery.com>
35077
35078 * conform/data/time.h-data (NULL): Use macro-constant. Require
35079 equal to 0.
35080 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
35081 clock_t.
35082 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
35083
57633811
TS
350842012-07-23 Thomas Schwinge <thomas@codesourcery.com>
35085
35086 * configure.in <sysdeps resolving>: Correct printing
35087 Implies_before.
35088 * configure: Regenerate.
35089
c23c33b0
TS
350902012-07-22 Thomas Schwinge <thomas@codesourcery.com>
35091
35092 * math/w_ilogb.c: Include <limits.h>.
35093 * math/w_ilogbl.c: Likewise.
35094
b5982523
JM
350952012-07-20 Joseph Myers <joseph@codesourcery.com>
35096
35097 * manual/lang.texi (__va_copy): Document primarily as ISO C99
35098 va_copy. Document allowing for unavailable va_copy only as
35099 pre-C99 compatibility.
35100 * manual/string.texi (Copying and Concatenation): Use va_copy
35101 instead of __va_copy in concat example.
35102
ac4ea442
PT
351032012-07-20 Pino Toscano <toscano.pino@tiscali.it>
35104
35105 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
35106 (__sendto): Use create_address_port. Initialize APORT and deallocate
35107 it if not null.
35108
f98eafbd
PT
35109 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
35110 with O_NOLINK passed to __file_name_lookup.
35111
898c7aab
PT
35112 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
35113 with O_NOLINK passed to __file_name_lookup.
35114
0ced335a
PT
35115 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
35116 negative N or less than NGIDS.
35117
b3404dbd
PT
35118 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
35119 type to string_t. Set ERANGE as errno and return it if NAME is not big
35120 enough. Use memcpy instead of strncpy.
35121
0f48659e
JM
351222012-07-20 Joseph Myers <joseph@codesourcery.com>
35123
35124 * elf/Makefile (check-data): Remove.
35125 (localplt.data): New vpath directive.
35126 ($(objpfx)check-localplt.out): Use localplt.data from vpath
35127 instead of $(check-data).
35128 * scripts/data/localplt-generic.data: Move to ...
35129 * sysdeps/generic/localplt.data: ... here.
35130 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35131 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35132 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35134 ... here.
35135 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35137 ... here.
35138 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35140 ... here.
35141 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35143 ... here.
35144 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35146 ... here.
35147 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35149 ... here.
35150
d37cbdaa
AZ
351512012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35152
35153 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35154 PPC32 and PPC64 files.
35155 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35156 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35157
46f85fc2
AK
351582012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35159
35160 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35161 __makecontext_ret to ...
35162 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35163 ... here and call exit if uc_link is NULL. New file.
35164 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35165 __makecontext_ret.S.
35166 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35167 __makecontext_ret to ...
35168 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35169 ... here and call exit if uc_link is NULL. New file.
35170 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35171 __makecontext_ret.S.
35172
08f43f9b
AK
351732012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35174
35175 * elf/elf.h (R_390_IRELATIVE): New definition.
35176 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35177 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
35178 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35179 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35180 (elf_machine_lazy_rel): Likewise.
35181 * sysdeps/s390/dl-irel.h: New file.
35182 * sysdeps/s390/s390-64/memcpy.S: New asm code.
35183 * sysdeps/s390/s390-64/memset.S: New asm code.
35184 * sysdeps/s390/s390-64/memcmp.S: New asm code.
35185 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35186 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35187 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35188 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35189 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35190 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35191 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35192 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35193 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35194 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35195 * sysdeps/s390/s390-32/memcpy.S: New asm code.
35196 * sysdeps/s390/s390-32/memset.S: New asm code.
35197 * sysdeps/s390/s390-32/memcmp.S: New asm code.
35198
3b05db33
MP
351992012-07-17 Marek Polacek <polacek@redhat.com>
35200
35201 [BZ #14349]
35202 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35203 * sysdeps/s390/s390-64/configure.in: Likewise.
35204 * sysdeps/sparc/configure.in: Likewise.
35205 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35206 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35207 * sysdeps/i386/configure.in: Likewise.
35208 * sysdeps/x86_64/configure.in: Likewise.
35209 * sysdeps/sh/configure.in: Likewise.
35210 * sysdeps/s390/s390-32/configure: Regenerated.
35211 * sysdeps/s390/s390-64/configure: Likewise.
35212 * sysdeps/x86_64/configure: Likewise.
35213 * sysdeps/sh/configure: Likewise.
35214 * sysdeps/powerpc/powerpc64/configure: Likewise.
35215 * sysdeps/powerpc/powerpc32/configure: Likewise.
35216 * sysdeps/sparc/configure: Likwise.
35217 * sysdeps/i386/configure: Likewise.
35218
a66877c6
MP
35219 * elf/dl-open.c: Comment fixes.
35220
cfc82fd8
JM
352212012-07-17 Joseph Myers <joseph@codesourcery.com>
35222
bd29910a
JM
35223 * Makefile [CXX] (check-data): Remove.
35224 [CXX] (c++-types.data): New vpath directive.
35225 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35226 vpath. Do not allow for C++ type data being missing.
35227 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35228 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35229 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35230 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35231 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35232 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35233 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35235 ... here.
35236 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35238 ... here.
35239 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35241 ... here.
35242 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35244 ... here.
35245 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35247 ... here.
35248 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35250 ... here.
35251 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35253 ... here.
35254 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35256
cfc82fd8
JM
35257 * elf/tls-macros.h (TLS_LE): Move architecture-specific
35258 definitions to architecture-specific files.
35259 (TLS_IE): Likewise.
35260 (TLS_LD): Likewise.
35261 (TLS_GD): Likewise.
35262 * sysdeps/i386/tls-macros.h: New file.
35263 * sysdeps/powerpc/tls-macros.h: Likewise.
35264 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35265 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35266 * sysdeps/sh/tls-macros.h: Likewise.
35267 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35268 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35269 * sysdeps/x86_64/tls-macros.h: Likewise.
35270
f7db3170
TS
352712012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35272
07cbfc23
TS
35273 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35274 zero value for regular exit case.
35275
f7db3170
TS
35276 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35277 (__start_context): Preserve zero value for regular exit case.
35278
dc97c227
TS
352792012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35280 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35281
35282 * manual/setjmp.texi (setcontext): Clarify normal process
35283 termination when uc_link is the null pointer.
35284 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35285 exit call.
35286
d0cd7d02
AS
352872012-07-16 Andreas Schwab <schwab@linux-m68k.org>
35288
35289 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35290 preprocessor. Test for each exception mask separately.
35291
dd318934
AJ
352922012-07-16 Andreas Jaeger <aj@suse.de>
35293
35294 * po/ru.po: Update from translation team.
35295
8048311a
JM
352962012-07-15 Joseph Myers <joseph@codesourcery.com>
35297
35298 * conform/data/string.h-data (NULL): Use macro-constant. Require
35299 equal to 0.
35300 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35301 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35302 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35303 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35304 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35305
b637d46e
AJ
353062012-07-13 Andreas Jaeger <aj@suse.de>
35307
35308 * po/fr.po: Update from translation team.
35309
541428fe
MP
353102012-07-12 Marek Polacek <polacek@redhat.com>
35311
35312 [BZ #14173]
35313 * math/libm-test.inc (yn_test): Add test for BZ #14173.
35314 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35315 loop condition.
35316
ec332e94
JM
353172012-07-12 Joseph Myers <joseph@codesourcery.com>
35318
35319 [BZ #13717]
35320 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35321 Change to 2.4.1 where previously 2.4.0.
35322 * sysdeps/unix/sysv/linux/configure: Regenerated.
35323 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35324 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35325 version.
35326 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35327 (__ASSUME_AT_CLKTCK): Remove.
35328 (__ASSUME_AT_PAGESIZE): Likewise.
35329 (__ASSUME_AT_XID): Likewise.
35330 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35331 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35332 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35333 unconditionally.
35334 (HAVE_AUX_PAGESIZE): Likewise.
35335 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35336 [__ASSUME_AT_CLKTCK]: Make code unconditional.
35337 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35338
7b6e99be
JB
353392012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
35340
35341 [BZ #14307]
35342 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35343 the temporary buffer used to invoke __gethostbyname2_r,
35344 __gethostbyaddr_r and gethostbyname4_r to make room for struct
35345 host_data / struct gaih_addrtuple.
35346 * resolv/nss_dns/dns-host.c (global scope): Move definition of
35347 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35348 header file nss/nsswitch.h.
35349 * nss/nsswitch.h (global scope): Add definition of implementation
35350 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35351 resolv/nss_dns/dns-host.c).
35352
608404eb
AJ
353532012-07-11 Andreas Jaeger <aj@suse.de>
35354
35355 * po/fr.po: Update from translation team.
35356
71220aca
AJ
35357 * po/sv.po: Update from translation team
35358 * po/fr.po: Another update from translation team.
35359
28cfe843
AZ
353602012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35361
35362 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35363 for subnormals or multiply small sinh result by itself.
35364 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35366
6b90f981
DM
353672012-07-11 David S. Miller <davem@davemloft.net>
35368
35369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35370
c6825772
AS
353712012-07-10 Andreas Schwab <schwab@linux-m68k.org>
35372
35373 [BZ #14347]
35374 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35375 (INTERNAL_MARK): Shift it here.
35376
7b8e0d49
MP
353772012-07-10 Marek Polacek <polacek@redhat.com>
35378
35379 [BZ #14151]
35380 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
35381 libc_cv_asm_global_directive with .globl.
35382 * configure: Regenerated.
35383 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35384 with .globl.
35385 * sysdeps/i386/configure: Regenerated.
35386 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35387 with .globl.
35388 * sysdeps/x86_64/configure: Regenerated.
35389 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35390 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35391 * elf/tst-unique2mod2.c: Likewise.
35392 * elf/tst-unique2mod1.c: Likewise.
35393 * elf/tst-unique1mod2.c: Likewise.
35394 * elf/tst-unique1mod1.c: Likewise.
35395 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35396 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35397 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35398 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35399 * sysdeps/mach/sysdep.h: Likewise.
35400 * sysdeps/i386/sysdep.h: Likewise.
35401 * sysdeps/i386/i386-mcount.S: Likewise.
35402 * sysdeps/x86_64/_mcount.S: Likewise.
35403 * sysdeps/x86_64/sysdep.h: Likewise.
35404 * sysdeps/sh/_mcount.S: Likewise.
35405 * sysdeps/sh/sysdep.h: Likewise.
35406 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35407 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35408 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35409 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35410 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35411 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35412 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35413 * locale/localeinfo.h: Likewise.
35414 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35415 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35416
6c55cda3
RM
354172012-07-09 Roland McGrath <roland@hack.frob.com>
35418
35419 [BZ #14336]
35420 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35421 system".
35422 * manual/message.texi (The Uniforum approach): Likewise.
35423 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35424 (glibc iconv Implementation): Likewise.
35425
638a572e
JM
354262012-07-09 Joseph Myers <joseph@codesourcery.com>
35427
35428 [BZ #14337]
35429 * math/s_clog.c (__clog): Avoid scaling a value down where that
35430 could result in underflow.
35431 * math/s_clog10.c (__clog10): Likewise.
35432 * math/s_clog10f.c (__clog10f): Likewise.
35433 * math/s_clog10l.c (__clog10l): Likewise.
35434 * math/s_clogf.c (__clogf): Likewise.
35435 * math/s_clogl.c (__clogl): Likewise.
35436 * math/libm-test.inc (clog_test): Add more tests.
35437 (clog10_test): Likewise.
35438 * sysdeps/i386/fpu/libm-test-ulps: Update.
35439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35440
261f4859
AS
354412012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35442
0abaf3e4
AS
35443 [BZ #14283]
35444 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35445 by 7 not 8 to examine high bit of fractional part.
35446
261f4859
AS
35447 [BZ #14042]
35448 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35449 for call to __mcount_internal.
35450 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35451 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35452 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35453
f17ac40d
JM
354542012-07-06 Joseph Myers <joseph@codesourcery.com>
35455
9ad63c23
JM
35456 [BZ #14154]
35457 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35458 approximation for values within 0x1p-13f of an odd multiple of
35459 pi/4.
35460 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35461 exception. Add more tests.
35462 * sysdeps/i386/fpu/libm-test-ulps: Update.
35463
f17ac40d
JM
35464 [BZ #6778]
35465 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35466 inputs and return -1 for them. Do not check for +Inf in case not
35467 reachable for +Inf.
35468 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35469 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35470 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35471 and return -1 for them. Do not check for +Inf in case not
35472 reachable for +Inf.
35473 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35474 define.
35475 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35476 and return -1 for them. Do not check for +Inf in case not
35477 reachable for +Inf.
35478 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35479 spurious underflow.
35480 * sysdeps/i386/fpu/libm-test-ulps: Update.
35481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35482
fb21f89b
MF
354832012-07-06 Mike Frysinger <vapier@gentoo.org>
35484
35485 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35486
cdfe2c5e
JM
354872012-07-05 Joseph Myers <joseph@codesourcery.com>
35488
35489 [BZ #14157]
35490 [BZ #14331]
35491 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35492 could result in spurious underflow. Scale down values above
35493 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35494 * math/s_csqrtf.c (__csqrtf): Likewise.
35495 * math/s_csqrtl.c (__csqrtl): Likewise.
35496 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35497 spurious underflow.
35498 * sysdeps/i386/fpu/libm-test-ulps: Update.
35499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35500
70d35b67
AS
355012012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35502
704bc459
AS
35503 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35504 xopen-msg.sed.
35505 * catgets/xopen-msg.awk: New file.
35506 * catgets/xopen-msg.sed: Removed.
35507
70d35b67
AS
35508 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35509 po2text.sed.
35510 * intl/po2test.awk: New file.
35511 * intl/po2test.sed: Removed.
35512
ca61cf32
JM
355132012-07-04 Joseph Myers <joseph@codesourcery.com>
35514
35515 [BZ #14328]
35516 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35517 or multiply small sinh result by itself.
35518 * math/s_ctanf.c (__ctanf): Likewise.
35519 * math/s_ctanh.c (__ctanh): Likewise.
35520 * math/s_ctanhf.c (__ctanhf): Likewise.
35521 * math/s_ctanhl.c (__ctanhl): Likewise.
35522 * math/s_ctanl.c (__ctanl): Likewise.
35523 * math/libm-test.inc (ctan_test_tonearest): New function.
35524 (ctan_test_towardzero): Likewise.
35525 (ctan_test_downward): Likewise.
35526 (ctan_test_upward): Likewise.
35527 (ctanh_test_tonearest): Likewise.
35528 (ctanh_test_towardzero): Likewise.
35529 (ctanh_test_downward): Likewise.
35530 (ctanh_test_upward): Likewise.
35531 (main): Call these new functions.
35532 * sysdeps/i386/fpu/libm-test-ulps: Update.
35533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35534
ca48a46a
MF
355352012-07-03 Mike Frysinger <vapier@gentoo.org>
35536
35537 * .gitignore: Delete /ports entry.
35538
9d63d37d
AJ
355392012-07-03 Andreas Jaeger <aj@suse.de>
35540
35541 * po/bg.po: Update from translation team.
35542 * po/cs.po: Likewise.
35543 * po/de.po: Likewise.
35544 * po/hr.po: Likewise.
35545 * po/nl.pl: Likewise.
35546 * po/pl.po: Likewise.
35547 * po/vi.po: Likewise.
35548
370ca3d2
JM
355492012-07-03 Joseph Myers <joseph@codesourcery.com>
35550
95f5a9a8
JM
35551 * Makeconfig [!+link] (+link-before-libc): New variable.
35552 [!+link] (+link-after-libc): Likewise.
35553 [!+link] (+link-tests): Likewise.
35554 [!+link] (+link): Define in terms of $(+link-before-libc) and
35555 $(+link-after-libc).
35556 [!+link-static] (+link-static-before-libc): New variable.
35557 [!+link-static] (+link-static-after-libc): Likewise.
35558 [!+link-static] (+link-static-tests): Likewise.
35559 [!+link-static] (+link-static): Define in terms of
35560 $(+link-static-before-libc) and $(+link-static-after-libc).
35561 [build-shared] (link-libc-before-gnulib): New variable.
35562 [build-shared] (link-libc-tests): Likewise.
35563 [build-shared] (link-libc): Define in terms of
35564 $(link-libc-before-gnulib).
35565 [!build-shared] (link-libc-tests): New variable.
35566 (link-libc-static-tests): New variable.
35567 [!gnulib] (gnulib-arch): New variable.
35568 [!gnulib] (gnulib-tests): Likewise.
35569 [!gnulib] (static-gnulib-arch): Likewise.
35570 [!gnulib] (static-gnulib-tests): Likewise.
35571 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35572 Define with "=" instead of ":=".
35573 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35574 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35575 * Rules (binaries-all-notests): New variable.
35576 (binaries-all-tests): Likewise.
35577 (binaries-static-notests): Likewise.
35578 (binaries-static-tests): Likewise.
35579 (binaries-all): Define using $(binaries-all-notests) and
35580 $(binaries-all-tests).
35581 (binaries-static): Define using $(binaries-static-notests) and
35582 $(binaries-static-tests).
35583 (binaries-shared-tests): New variable.
35584 (binaries-shared-notests): Likewise.
35585 (binaries-shared): Remove variable.
35586 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35587 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35588 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35589 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35590 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35591 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35592 * elf/Makefile (sln-modules): New variable.
35593 (extra-objs): Add $(sln-modules:=.o).
35594 (ldconfig-modules): Add static-stubs.
35595 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35596 * elf/static-stubs.c: New file.
35597
7a845b2c
JM
35598 [BZ #14283]
35599 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35600 by 7 not 8 to examine high bit of fractional part. Use volatile
35601 variables when splitting into final array of floats if
35602 __FLT_EVAL_METHOD__ != 0.
35603 * math/libm-test.inc (cos_test): Add another test.
35604 (sin_test): Likewise.
35605 * sysdeps/i386/fpu/libm-test-ulps: Update.
35606
e2283f38
JM
35607 [BZ #14273]
35608 * math/libm-test.inc (cosh_test): Add more tests.
35609
370ca3d2
JM
35610 * version.h (RELEASE): Set to "development".
35611 (VERSION): Set to "2.16.90".
35612
ee9247c3
CD
356132012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
35614
35615 * NEWS: Update copyright. Remove last-updated date.
35616 Mention math library bug fixes and timezone data changes.
35617 * README: Mention GNU/Hurd, x32, and HPPA support status.
35618
4648c381
TS
356192012-06-28 Thomas Schwinge <thomas@codesourcery.com>
35620
35621 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35622
aac78a43
AJ
356232012-06-27 Andreas Jaeger <aj@suse.de>
35624
35625 * manual/contrib.texi (Contributors): Add Samuel Thibault.
35626
ed3dbfad
AJ
356272012-06-25 Andreas Jaeger <aj@suse.de>
35628
35629 * sysdeps/s390/fpu/libm-test-ulps: Update.
35630
4d0ee855
AS
356312012-06-23 Andreas Schwab <schwab@linux-m68k.org>
35632 Thomas Schwinge <thomas@codesourcery.com>
35633
35634 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35635 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35636 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35637 fanotify_mark.
35638
af1bce34
TS
356392012-06-23 Thomas Schwinge <thomas@codesourcery.com>
35640
a9fa33ba
TS
35641 * sysdeps/mach/start.c: Remove file.
35642 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35643 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35644 * sysdeps/sh/init-first.c: Likewise.
35645
58f902b8
TS
35646 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35647 registers for frame unwinding purposes, add CFI directives.
35648 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35649 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35650 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35651 Likewise.
35652
1518f58b
TS
35653 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35654 __fortify_fail returning.
35655 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35656
db9b5059
TS
35657 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35658 sysdeps/sh/____longjmp_chk.S.
35659 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35660 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35661 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35662 (gen-as-const-headers): Append sigaltstack-offsets.sym.
35663
967705fe
TS
35664 * sysdeps/sh/abort-instr.h: New file.
35665 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35666 process in case exit returns.
35667
a9def8c4
TS
35668 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35669 initialize the GOT register before use.
35670
2a649725
TS
35671 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35672 calculation of ARGC > 4.
35673
af1bce34
TS
35674 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35675 meaningful names to some local labels.
35676
d230f50a
KK
356772012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35678 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35679
35680 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35681 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35682 (__arch_compare_and_exchange_val_16_acq): Likewise.
35683 (__arch_compare_and_exchange_val_32_acq): Likewise.
35684 (atomic_exchange_and_add): Fix gUSA sequence.
35685 (atomic_add): Likewise.
35686 (atomic_add_negative): Likewise.
35687 (atomic_add_zero): Likewise.
35688 (atomic_bit_test_set): Likewise.
35689
0479b305
AS
356902012-06-22 Andreas Schwab <schwab@redhat.com>
35691
35692 [BZ #13579]
35693 * include/link.h (struct link_map): Add l_free_initfini.
35694 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35695 l_initfini.
35696 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35697 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35698 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35699 set.
35700
0e3933b9
CD
357012012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
35702
35703 * configure.in: Use AC_LANG_SOURCE.
35704 * configure: Regenerate.
35705
4248b1b1
RM
357062012-06-22 Roland McGrath <roland@hack.frob.com>
35707
35708 * configure.in (libc_cv_localstatedir): New substituted variable.
35709 * configure: Regenerated.
35710 * config.make.in (localstatedir): New variable, substituted from
35711 libc_cv_localstatedir.
35712 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35713 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35714 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35715 * sysdeps/gnu/configure: Regenerated.
35716
006dd861
JL
357172012-06-21 Jeff Law <law@redhat.com>
35718
35719 [BZ #14277]
35720 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35721 free. Simplify list management for _LIBC case.
35722
79662d42
JM
357232012-06-21 Joseph Myers <joseph@codesourcery.com>
35724
b7abb4bf
JM
35725 [BZ #14273]
35726 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35727 Clear sign bit of 64-bit integer value before comparing against
35728 overflow value.
35729
79662d42
JM
35730 * sysdeps/mach/configure: Regenerated.
35731
1f150908
L
357322012-06-21 H.J. Lu <hongjiu.lu@intel.com>
35733
35734 [BZ #14278]
35735 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35736
28363bbf
JL
357372012-06-21 Jeff Law <law@redhat.com>
35738
35739 [BZ #13882]
35740 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
35741 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 35742 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
35743 * elf/dl-open.c (dl_open_worker): Likewise.
35744
09615db4
CD
357452012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
35746
35747 * scripts/list-sources.sh: Scan PORTS for translations.
35748 * po/libc.pot: Regenerated.
35749
2174c6dd
AJ
357502012-06-21 Andreas Jaeger <aj@suse.de>
35751
35752 [BZ #12194]
35753 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35754 warning.
35755 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35756 * bits/byteswap-16.h (__bswap_16): Likewise.
35757 * bits/byteswap.h (__bswap_constant_16): Likewise.
35758
3ee947b1
L
357592012-06-18 H.J. Lu <hongjiu.lu@intel.com>
35760
35761 [BZ #14117]
a2f34833
L
35762 * sysdeps/i386/fpu_control.h: Removed.
35763 * sysdeps/x86_64/fpu_control.h: Moved to ...
35764 * sysdeps/x86/fpu_control.h: Here.
35765
3ee947b1
L
35766 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35767 (_FPU_SETCW): Likewise.
35768
ed1825f8
L
357692012-06-15 H.J. Lu <hongjiu.lu@intel.com>
35770
25f1282a
L
35771 [BZ #14117]
35772 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35773 * sysdeps/x86/fpu/bits/mathinline.h: This.
35774 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35775
ed1825f8
L
35776 [BZ #14050]
35777 [BZ #14117]
35778 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35779 functions if __x86_64__ is defined.
35780
36d54b74
CLT
357812012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
35782
35783 * string/endian.h: Add !__ASSEMBLER__ condition for including
35784 conversion interfaces.
35785
10285c21
JM
357862012-06-15 Joseph Myers <joseph@codesourcery.com>
35787
35788 [BZ #14241]
35789 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35790 of ABS(x) in calculating zero to negative powers other than odd
35791 integers.
35792 * math/libm-test.inc (pow_test): Add more tests.
35793
06c5abbd
AJ
357942012-06-15 Andreas Jaeger <aj@suse.de>
35795
35796 * manual/contrib.texi (Contributors): Update entry of Liubov
35797 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35798 Machado Filho.
35799
a3aeac40
CH
358002012-06-15 Cyril Hrubis <metan@ucw.cz>
35801
35802 * string/string.h: Add __wur to GNU version of strerror_r.
35803
49bdf4c1
L
358042012-06-14 H.J. Lu <hongjiu.lu@intel.com>
35805
35806 [BZ #14229]
35807 * string/Makefile (tests): Add tst-strtok_r.
35808 * string/tst-strtok_r.c: New file.
35809 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35810 RAX_LP/RDX_LP on SAVE_PTR.
35811
834f9b8d
RM
358122012-06-14 Roland McGrath <roland@hack.frob.com>
35813
35814 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35815
75fa1921
JM
358162012-06-14 Joseph Myers <joseph@codesourcery.com>
35817
35818 * libm_test.inc (csqrt_test): Allow more spurious underflow
35819 exceptions.
35820 (j0_test): Likewise.
35821 (j1_test): Likewise.
35822 (y0_test): Likewise.
35823 (y1_test): Likewise.
35824
771766df
CD
358252012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
35826
35827 * po/Makefile (libc.pot): Use UTF-8 charset.
35828
ceb9e56b
PP
358292012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
35830
35831 [BZ #14210]
35832 Suppress sign-conversion warning from FD_SET.
35833 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35834 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35835 not unsigned long int.
35836 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35837
ddb28975
L
358382012-06-12 H.J. Lu <hongjiu.lu@intel.com>
35839
35840 [BZ #14050]
35841 [BZ #14117]
35842 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35843 __extern_always_inline instead of __extern_inline.
35844 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35845 (__signbit): Likewise.
35846 (__signbitl): Support C++ namespace.
35847 (lrintf): New inline function.
35848 (lrint): Likewise.
35849 (llrintf): Likewise.
35850 (llrint): Likewise.
35851 (fmaxf): Likewise.
35852 (fmax): Likewise.
35853 (fminf): Likewise.
35854 (fmin): Likewise.
35855 (rint): Likewise.
35856 (rintf): Likewise.
35857 (ceil): Likewise.
35858 (ceilf): Likewise.
35859 (floor): Likewise.
35860 (floorf): Likewise.
35861 (nearbyint): Likewise.
35862 (nearbyintf): Likewise.
35863
d7b4fb26
TS
358642012-06-12 Thomas Schwinge <thomas@codesourcery.com>
35865
35866 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35867 non-default versions.
35868
eb55f5c2
RM
358692012-06-11 Roland McGrath <roland@hack.frob.com>
35870
35871 [BZ #14218]
35872 * manual/argp.texi (Argp): Reword argp_parse description slightly.
35873
366af02c
TS
358742012-06-09 Thomas Schwinge <thomas@codesourcery.com>
35875
99ff6e5c
TS
35876 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35877 (FE_UPWARD, FE_DOWNWARD): Don't define.
35878 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35879 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35880
366af02c
TS
35881 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35882 reading it.
35883 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35884 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35885
793ea851
KK
358862012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35887
35888 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35889 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35890 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35891 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35892
a728a38f
L
358932012-06-06 H.J. Lu <hongjiu.lu@intel.com>
35894
35895 [BZ #14117]
c08010c7
L
35896 * sysdeps/i386/fpu/bits/fenv.h: Removed.
35897 * sysdeps/i386/fpu/Implies: New file.
35898 * sysdeps/x86_64/fpu/Implies: Likewise.
35899 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35900 * sysdeps/x86/fpu/bits/fenv.h: This.
35901
a728a38f
L
35902 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35903 __SSE_MATH__.
35904
6e230d11
SP
359052012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35906
35907 [BZ #14134]
35908 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35909 character 0xffff that matches the last element of the
35910 conversion table.
35911
1b671feb
AZ
359122012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35913
35914 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35915 fmodl commit.
35916
6043738b
AZ
359172012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35918
35919 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35920 values higher than 25.6283.
35921
34ae0b32
AZ
359222012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35923
35924 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35925 subnormal exponent extraction and add some __builtin_expect.
35926 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35927 Fix for subnormal mantissa calculation.
35928
1214ec8f
MF
359292012-06-04 Mike Frysinger <vapier@gentoo.org>
35930
35931 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35932 cpu2 is -1 and errno is not ENOSYS.
35933
f3d1f93c
L
359342012-06-04 H.J. Lu <hongjiu.lu@intel.com>
35935
35936 [BZ #14117]
0e4a3cd7
L
35937 * sysdeps/i386/i486/bits/string.h: Renamed to ...
35938 * sysdeps/x86/bits/string.h: This.
35939 * sysdeps/x86_64/bits/string.h: Removed.
35940
6704c645
L
35941 * sysdeps/i386/i486/bits/string.h: Define inline functions only
35942 if not compiling for x86-64, but compiling for >= i486.
35943
48495318
L
35944 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35945 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35946
14adcbfc
L
35947 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35948 New macro from Linux kernel 3.4.0.
35949 (FP_XSTATE_MAGIC2): Likewise.
35950 (FP_XSTATE_MAGIC2_SIZE): Likewise.
35951 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35952 (struct _fpx_sw_bytes): New struct.
35953 (struct _xsave_hdr): Likewise.
35954 (struct _ymmh_state): Likewise.
35955 (struct _xstate): Likewise.
35956
68e408ab
L
35957 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35958 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35959 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35960 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35961 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35962 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35963
f3d1f93c
L
35964 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35965 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35966 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35967 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35968 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35969 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35970
d9dc34cd
TMQMF
359712012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35972
35973 [BZ #13743]
35974 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
35975 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
35976 (sysdep_headers): Include sys/platform/ppc.h.
35977 * sysdeps/powerpc/test-gettimebase.c: Test for
35978 __ppc_get_timebase() to catch future ISA opcode/insn changes.
35979 * manual/Makefile (appendices): Include platform.texi.
35980 * manual/contrib.texi (Contributors): Update @node pointers.
35981 * manual/maint.texi (Maintenance): Likewise.
35982 (Platform): New node.
35983 * manual/platform.texi: New file. Document the new features.
35984
4af3879c
SP
359852012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35986 Jakub Jelinek <jakub@redhat.com>
35987
35988 [BZ #14188]
35989 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
35990 where __builtin_expect is unavailable.
35991
2fd6ff13
DM
359922012-06-03 David S. Miller <davem@davemloft.net>
35993
35994 * stdlib/longlong.h: Updated from GCC.
35995
173f7220
AS
359962012-06-02 Andreas Schwab <schwab@linux-m68k.org>
35997
35998 [BZ #14042]
35999 * sysdeps/powerpc/powerpc32/mcount.c: New file.
36000 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
36001 __mcount_internal.
36002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36003 (GLIBC_2.16): Likewise.
36004
f34a1c6f
L
360052012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36006
36007 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
36008
88a4576f
JM
360092012-06-01 Joseph Myers <joseph@codesourcery.com>
36010
ea32bcdd
JM
36011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
36012 (default-abi): New variable.
36013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
36014 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
36015 variable.
36016 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
36017 Likewise.
36018 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
36019 Likewise.
36020 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
36021 Likewise.
36022
88a4576f
JM
36023 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
36024 definition. Document in comment.
36025
402fe938
DM
360262012-06-01 David S. Miller <davem@davemloft.net>
36027
36028 * stdlib/longlong.h: Updated from GCC.
36029
3553723f
L
360302012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36031
36032 [BZ #14117]
3bd872c4
L
36033 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
36034 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
36035 sys/debugreg.h sys/io.h here.
36036 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
36037 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
36038 sys/io.h.
36039 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
36040 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
36041 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
36042 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
36043 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
36044 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
36045
3553723f
L
36046 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
36047 Define only if __x86_64__ is defined.
36048
4842e4fe
JM
360492012-06-01 Joseph Myers <joseph@codesourcery.com>
36050
c5bfe3d5
JM
36051 [BZ #14048]
36052 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
36053 Use int64_t for variable i.
36054 * math/libm-test.inc (fmod_test): Add more tests.
36055
4842e4fe
JM
36056 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
36057 z computation is not scheduled after fetestexcept.
36058 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
36059 Use math_force_eval instead of asm to ensure calculation scheduled
36060 before exception test.
36061 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
36062 Ensure a1 + u.d computation is not scheduled after fetestexcept.
36063
efb73488
AJ
360642012-06-01 Aurelien Jarno <aurelien@aurel32.net>
36065
36066 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
36067 computation is not scheduled after fetestexcept.
36068
29bcce7c
L
360692012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36070
36071 [BZ #14117]
36072 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
36073 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
36074
73a68f94
AZ
360752012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36076
36077 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
36078 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36079
67b6df78
L
360802012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36081
edf2933a 36082 [BZ #14117]
ebc64a18
L
36083 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
36084 <bits/wordsize.h>.
36085 (__WCHAR_MIN): Support __WORDSIZE == 64.
36086 (__WCHAR_MAX): Likewise.
36087
edf2933a
L
36088 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
36089 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
36090
57c6cf40
L
36091 [BZ #14183]
36092 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
36093 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
36094
67b6df78 36095 [BZ #14117]
8eb6281e
L
36096 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
36097 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
36098
aac639f4
L
36099 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
36100 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
36101
67b6df78
L
36102 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
36103 Defined to 1 if __x86_64__ isn't defined.
36104 (_STAT_VER_LINUX_OLD): New.
36105 (st_atime): Remove duplicate.
36106 (st_mtime): Likewise.
36107 (st_ctime): Likewise.
36108
1c2cfe81
DM
361092012-05-31 David S. Miller <davem@davemloft.net>
36110
36111 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
36112 entries.
36113
5be8418c
AS
361142012-06-01 Andreas Schwab <schwab@linux-m68k.org>
36115
e7725326
AS
36116 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36117 gen-libm-test.pl.
36118
5be8418c
AS
36119 [BZ #14132]
36120 * elf/dl-reloc.c: Include <_itoa.h>.
36121 (_dl_reloc_bad_type): Remove use of INTUSE.
36122 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36123 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36124 * stdio-common/psiginfo.c (psiginfo): Likewise.
36125 * stdio-common/psignal.c (psignal): Likewise.
36126 * string/strsignal.c (strsignal): Likewise.
36127 * include/signal.h (_sys_siglist): Declare hidden proto.
36128 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
36129 INTVARDEF with libc_hidden_data_def.
36130 * stdio-common/itoa-udigits.c: Likewise.
36131 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36132 (_itoa_lower_digits_internal): Remove declaration.
36133 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36134 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36135 (_sys_sigabbrev_internal): Remove aliases.
36136 (_sys_siglist): Define hidden alias.
36137
507352f1
MT
361382012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
36139
36140 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36141 bits/sysctl.h.
36142
42bbb1c3
L
361432012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36144
36145 [BZ #14117]
6bd784b6
L
36146 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36147 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36148
8bca20f0
L
36149 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36150 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36151 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36152 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36153 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36154 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36155
f9e890a9
L
36156 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36157 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36158 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36159
471101a1
L
36160 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36161 with __addr.
36162 (insw): Likewise.
36163 (insl): Likewise.
36164 (outsb): Likewise.
36165 (outsw): Likewise.
36166 (outsl): Likewise.
36167
6451c862
L
36168 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36169 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36170 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36171
a254b8c9
L
36172 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36173 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36174 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36175 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36176 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36177 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36178
b8dfdd92
L
36179 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36180 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36181
578cd270
L
36182 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36183 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36184
de662f5f
L
36185 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36186 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36187 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36188
25653439
L
36189 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36190 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36191 to ...
36192 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36193
6bad24a0
L
36194 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36195 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36196 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36197
42bbb1c3
L
36198 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36199 for x86-64.
36200 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36201
2d10d547
JM
362022012-05-31 Joseph Myers <joseph@codesourcery.com>
36203
36204 * math/math.h (M_El): Use two more decimal places.
36205 (M_LOG2El): Likewise.
36206 (M_LOG10El): Likewise.
36207 (M_LN2l): Likewise.
36208 (M_LN10l): Likewise.
36209 (M_PIl): Likewise.
36210 (M_PI_2l): Likewise.
36211 (M_PI_4l): Likewise.
36212 (M_1_PIl): Likewise.
36213 (M_2_PIl): Likewise.
36214 (M_2_SQRTPIl): Likewise.
36215 (M_SQRT2l): Likewise.
36216 (M_SQRT1_2l): Likewise.
36217
f230c29b
DM
362182012-05-31 David S. Miller <davem@davemloft.net>
36219
36220 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36221 values between float registers.
36222 * sysdeps/sparc/sparc64/memset.S: Likewise.
36223 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36224
fed806c3
MF
362252012-05-31 Mike Frysinger <vapier@gentoo.org>
36226
36227 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36228 -D_FORTIFY_SOURCE=1.
36229 (CPPFLAGS-tst-longjmp_chk.c): Define.
36230 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36231 (CPPFLAGS-tst-longjmp_chk2.c): Define.
36232 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36233 CFLAGS-tst-wchar-h.c.
36234
30917259
MP
362352012-05-31 Marek Polacek <polacek@redhat.com>
36236
36237 [BZ #14132]
36238 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36239 __endmntent_internal): Remove declaration.
36240 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36241 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36242 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36243
1c58d5dc
DM
362442012-05-30 David S. Miller <davem@davemloft.net>
36245
36246 * sysdeps/sparc/sparc32/soft-fp/q_util.c
36247 (___Q_simulate_exceptions): Use real FP ops rather than writing
36248 into the %fsr.
36249 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36250 Likewise.
36251
7dc00e0d
L
362522012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36253
36254 [BZ #14117]
0bd53985
L
36255 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36256 * sysdeps/x86/bits/xtitypes.h: This.
36257
3a257e66
L
36258 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36259 * sysdeps/x86/bits/wordsize.h: This.
36260
62f62904
L
36261 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36262 * sysdeps/x86/bits/huge_vall.h: This.
36263
404fe9d9
L
36264 * sysdeps/i386/bits/select.h: Removed.
36265 * sysdeps/x86_64/bits/select.h: Renamed to ...
36266 * sysdeps/x86/bits/select.h: This.
36267
d48d0446
L
36268 * sysdeps/i386/bits/setjmp.h: Removed.
36269 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36270 * sysdeps/x86/bits/setjmp.h: This.
36271
7dc00e0d
L
36272 * sysdeps/i386/bits/mathdef.h: Removed.
36273 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36274 * sysdeps/x86/bits/mathdef.h: This.
36275
03277f8f
AS
362762012-05-30 Andreas Schwab <schwab@linux-m68k.org>
36277
36278 [BZ #14132]
36279 * include/sys/socket.h (__connect_internal)
36280 (__libc_sa_len_internal): Remove declaration.
36281 (__connect, __libc_sa_len): Declare hidden_proto.
36282 (SA_LEN): Remove use of INTUSE.
36283 * socket/connect.c: Add libc_hidden_def.
36284 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36285 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36286 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36287 alias.
36288 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36289 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36290 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36291 of adding _internal alias.
36292
13764867
L
362932012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36294
36295 [BZ #14117]
6bd97696
L
36296 * sysdeps/i386/bits/link.h: Removed.
36297 * sysdeps/i386/bits/linkmap.h: Likewise.
36298 * sysdeps/x86_64/bits/link.h: Renamed to ...
36299 * sysdeps/x86/bits/link.h: This.
36300 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36301 * sysdeps/x86/bits/linkmap.h: This.
36302
f726f0bb
L
36303 * sysdeps/i386/bits/endian.h: Removed.
36304 * sysdeps/x86_64/bits/endian.h: Renamed to ...
36305 * sysdeps/x86/bits/endian.h: This.
36306
13764867
L
36307 * sysdeps/i386/bits/byteswap.h: Removed.
36308 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36309 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36310 * sysdeps/x86/bits/byteswap.h: This.
36311 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36312 * sysdeps/x86/bits/byteswap-16.h: This.
36313 * sysdeps/i386/Implies: Add x86.
36314 * sysdeps/x86_64/Implies: Likewise.
36315
ae251b0b
DM
363162012-05-30 David S. Miller <davem@davemloft.net>
36317
36318 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36319 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36320 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36321 (FP_TRAPPING_EXCEPTIONS): Define.
36322 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36323 (FP_TRAPPING_EXCEPTIONS): Define.
36324 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36325 subnormals only when inexact has been signalled or underflow
36326 exceptions are enabled.
36327 (_FP_PACK_CANONICAL): Likewise.
36328
d5c90867
L
363292012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36330
36331 [BZ #14183]
36332 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36333 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36334
63f1549e
RH
363352012-05-30 Richard Henderson <rth@twiddle.net>
36336
8d8f2279
RH
36337 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36338 with #ifndef NOT_IN_libc.
36339
63f1549e
RH
36340 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
36341 marked to avoid plt entry.
36342
0ab0291b
L
363432012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36344
36345 [BZ #14112]
36346 * Makeconfig (default-abi): New macro.
36347 (abi-includes): Likewise.
36348 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
36349 $(abi-$(default-abi)-lib-soname) for soname if defined.
36350 ($(common-objpfx)gnu/lib-names.stmp): Generate from
36351 abi-variants.
36352 * Makefile (installed-stubs): Likewise.
36353 * include/stubs-biarch.h: Removed.
36354 * scripts/lib-names.awk: Only handle one library at a time.
36355 * scripts/soversions.awk: Remove WORDSIZE support.
36356 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36357 entries.
36358 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36359 Removed.
36360 (syscall-list-default-condition): Likewise.
36361 (syscall-list-default-condition): Likewise.
36362 (syscall-list-includes): Likewise.
36363 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36364 syscall-list-* with abi-*. Handle undefined abi-variants.
36365 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36366 * sysdeps/unix/sysv/linux/i386/Implies: New file.
36367 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36368 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36369 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36370 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36371 Removed.
36372 (syscall-list-32-options): Likewise.
36373 (syscall-list-32-condition): Likewise.
36374 (syscall-list-64-options): Likewise.
36375 (syscall-list-64-condition): Likewise.
36376 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36377 macro.
36378 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36379 Renamed to ...
36380 (abi-*): This.
36381 (abi-64-ld-soname): New macro.
36382 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36383 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36384 Renamed to ...
36385 (abi-*): This.
36386 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36387 * sysdeps/x86_64/x32/shlib-versions: Likewise.
36388
4da0431d
JM
363892012-05-30 Joseph Myers <joseph@codesourcery.com>
36390
3a85279c
JM
36391 * sysdeps/unix/sysv/linux/kernel-features.h
36392 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36393 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36394 include <kernel-features.h>.
36395 [!__NR_ftruncate64]: Remove conditional code.
36396 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36397 [__NR_ftruncate64]: Make code unconditional.
36398 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36399 * sysdeps/unix/sysv/linux/truncate64.c: Do not
36400 include <kernel-features.h>.
36401 [!__NR_ftruncate64]: Remove conditional code.
36402 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36403 [__NR_ftruncate64]: Make code unconditional.
36404 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36406 include <kernel-features.h>.
36407 [!__NR_ftruncate64]: Remove conditional code.
36408 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36409 [__NR_ftruncate64]: Make code unconditional.
36410 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36412 include <kernel-features.h>.
36413 [!__NR_ftruncate64]: Remove conditional code.
36414 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36415 [__NR_ftruncate64]: Make code unconditional.
36416 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36417
4da0431d
JM
36418 * configure.in (libc_cv_fpie): Weaken to a compile test using
36419 LIBC_TRY_CC_OPTION.
36420 * configure: Regenerated.
36421
11ef492c
AK
364222012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36423
36424 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36428 Refreshed.
36429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36435 Refreshed.
36436
d66ef399
DM
364372012-05-27 David S. Miller <davem@davemloft.net>
36438
36439 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36440 (___Q_zero): New.
36441 (__Q_simulate_exceptions): Return void. Change to simulate
36442 exceptions by writing into the %fsr.
36443 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36444 (__Qp_handle_exceptions): Likewise.
36445 (numbers): Delete.
36446 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36447 __Qp_handle_exceptions.
36448 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36449 __Qp_handle_exceptions.
36450 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36451 as unused and give dummy FP_RND_NEAREST initializer.
36452 (FP_INHIBIT_RESULTS): Define.
36453 (___Q_simulate_exceptions): Update declaration.
36454 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36455 formatting.
36456 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36457 as unused and give dummy FP_RND_NEAREST initializer.
36458 (__Qp_handle_exceptions): Update declaration.
36459 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36460 formatting.
36461
04fb54b5
TS
364622012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36463
36464 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36465 the temporary FPU control word.
36466 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36467 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36468 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36469 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36470 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36471 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36472 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36473 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36474 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36475 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36476 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36477
3f99608f
KK
364782012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36479
36480 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36481 fields.
36482
65a4de4e
CLT
364832012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36484
36485 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36486 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36487 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36488 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36489 Likewise.
36490 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36491 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36492 Likewise.
36493
15749d40
UD
364942012-05-27 Ulrich Drepper <drepper@gmail.com>
36495
36496 * po/h.po: Update from translation team.
36497
25dbcb27
AS
364982012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36499
3d3f8e55
AS
36500 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36501
25dbcb27
AS
36502 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36503 handling of denormals.
36504 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36505 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36506 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36507 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36508 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36509 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36510 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36511 Likewise.
36512
7ad47a80 365132012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
36514
36515 [BZ #14152]
36516 * math/libm-test.inc (fma_test): Don't always expect underflow
36517 exception.
36518
9c6ea9fa
SP
365192012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36520
36521 [BZ #12416]
36522 * elf/tst-execstack.c: Include stackinfo.h.
36523 (do_test): Adjust test case to ensure that pthread_getattr_np
36524 behaviour remains the same after marking stack executable.
36525
a8239222
JM
365262012-05-25 Joseph Myers <joseph@codesourcery.com>
36527
36528 * sysdeps/unix/sysv/linux/kernel-features.h
36529 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36530 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36531 kernel-features.h.
36532 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36533 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36534 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36535 kernel-features.h.
36536 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36537 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36538
918b5606
L
365392012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36540
36541 * configure.in: Define the default includes to being none.
36542 * configure: Regenerated.
36543
3a097cc7
RM
365442012-05-25 Roland McGrath <roland@hack.frob.com>
36545
8422c9a5
RM
36546 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36547 * sysdeps/x86_64/setjmp.S: Likewise.
36548 * sysdeps/i386/bsd-setjmp.S: Likewise.
36549 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36550 * sysdeps/i386/setjmp.S: Likewise.
36551 * sysdeps/i386/__longjmp.S: Likewise.
36552 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36553 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36554
3a097cc7
RM
36555 * include/stap-probe.h: New file.
36556 * configure.in: Handle --enable-systemtap.
36557 * configure: Regenerated.
36558 * config.h.in (USE_STAP_PROBE): New #undef.
36559 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36560 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36561 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36562
21708942
JM
365632012-05-25 Joseph Myers <joseph@codesourcery.com>
36564
36565 [BZ #13717]
36566 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36567 to 2.4.0 where earlier.
36568 * sysdeps/unix/sysv/linux/configure: Regenerated.
36569 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
36578 [__ASSUME_32BITUIDS]: Make code unconditional.
36579 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36580 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36581 <kernel-features.h>.
36582 [__ASSUME_32BITUIDS]: Make code unconditional.
36583 [!__ASSUME_32BITUIDS]: Remove conditional code.
36584 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36585 <kernel-features.h>.
36586 [__ASSUME_32BITUIDS]: Make code unconditional.
36587 [!__ASSUME_32BITUIDS]: Remove conditional code.
36588 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36589 <kernel-features.h>.
36590 [__ASSUME_32BITUIDS]: Make code unconditional.
36591 [!__ASSUME_32BITUIDS]: Remove conditional code.
36592 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36593 <kernel-features.h>.
36594 [__ASSUME_32BITUIDS]: Make code unconditional.
36595 [!__ASSUME_32BITUIDS]: Remove conditional code.
36596 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36597 <kernel-features.h>.
36598 [__ASSUME_32BITUIDS]: Make code unconditional.
36599 [!__ASSUME_32BITUIDS]: Remove conditional code.
36600 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36601 <kernel-features.h>.
36602 [__ASSUME_32BITUIDS]: Make code unconditional.
36603 [!__ASSUME_32BITUIDS]: Remove conditional code.
36604 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36605 <kernel-features.h>.
36606 [__ASSUME_32BITUIDS]: Make code unconditional.
36607 [!__ASSUME_32BITUIDS]: Remove conditional code.
36608 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36609 <kernel-features.h>.
36610 [__ASSUME_32BITUIDS]: Make code unconditional.
36611 [!__ASSUME_32BITUIDS]: Remove conditional code.
36612 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36613 <kernel-features.h>.
36614 [__ASSUME_32BITUIDS]: Make code unconditional.
36615 [!__ASSUME_32BITUIDS]: Remove conditional code.
36616 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36617 <kernel-features.h>.
36618 [__ASSUME_32BITUIDS]: Make code unconditional.
36619 [!__ASSUME_32BITUIDS]: Remove conditional code.
36620 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36621 <kernel-features.h>.
36622 [__NR_setresgid] (__setresgid): Do not declare.
36623 [__ASSUME_32BITUIDS]: Make code unconditional.
36624 [!__ASSUME_32BITUIDS]: Remove conditional code.
36625 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36626 <kernel-features.h>.
36627 [__NR_setresuid] (__setresuid): Do not declare.
36628 [__ASSUME_32BITUIDS]: Make code unconditional.
36629 [!__ASSUME_32BITUIDS]: Remove conditional code.
36630 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36631 <kernel-features.h>.
36632 [__ASSUME_32BITUIDS]: Make code unconditional.
36633 [!__ASSUME_32BITUIDS]: Remove conditional code.
36634 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36635 <kernel-features.h>.
36636 [__ASSUME_32BITUIDS]: Make code unconditional.
36637 [!__ASSUME_32BITUIDS]: Remove conditional code.
36638 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36639 <kernel-features.h>.
36640 [__ASSUME_32BITUIDS]: Make code unconditional.
36641 [!__ASSUME_32BITUIDS]: Remove conditional code.
36642 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36643 <kernel-features.h>.
36644 [__ASSUME_32BITUIDS]: Make code unconditional.
36645 [!__ASSUME_32BITUIDS]: Remove conditional code.
36646 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36647 <kernel-features.h>.
36648 [__ASSUME_32BITUIDS]: Make code unconditional.
36649 [!__ASSUME_32BITUIDS]: Remove conditional code.
36650 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36651 <kernel-features.h>.
36652 [__ASSUME_32BITUIDS]: Make code unconditional.
36653 [!__ASSUME_32BITUIDS]: Remove conditional code.
36654 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36655 <kernel-features.h>.
36656 [__ASSUME_32BITUIDS]: Make code unconditional.
36657 [!__ASSUME_32BITUIDS]: Remove conditional code.
36658 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36659 <kernel-features.h>.
36660 [__ASSUME_32BITUIDS]: Make code unconditional.
36661 [!__ASSUME_32BITUIDS]: Remove conditional code.
36662 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36663 <kernel-features.h>.
36664 [__ASSUME_32BITUIDS]: Make code unconditional.
36665 [!__ASSUME_32BITUIDS]: Remove conditional code.
36666 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36667 <kernel-features.h>.
36668 [__ASSUME_32BITUIDS]: Make code unconditional.
36669 [!__ASSUME_32BITUIDS]: Remove conditional code.
36670 * sysdeps/unix/sysv/linux/kernel-features.h
36671 (__ASSUME_SETRESUID_SYSCALL): Remove.
36672 (__ASSUME_SETRESGID_SYSCALL): Likewise.
36673 (__ASSUME_32BITUIDS): Likewise.
36674 (__ASSUME_LDT_WORKS): Likewise.
36675 (__ASSUME_O_DIRECTORY): Likewise.
36676 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36677 architecture but not kernel version.
36678 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36679 (__ASSUME_MMAP2_SYSCALL): Likewise.
36680 (__ASSUME_STAT64_SYSCALL): Likewise.
36681 (__ASSUME_IPC64): Likewise.
36682 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36683 <kernel-features.h>.
36684 [__ASSUME_32BITUIDS]: Make code unconditional.
36685 [!__ASSUME_32BITUIDS]: Remove conditional code.
36686 * sysdeps/unix/sysv/linux/opendir.c: Do not include
36687 <kernel-features.h>.
36688 [__ASSUME_O_DIRECTORY]: Make code unconditional.
36689 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36690 132096]: Remove conditional code.
36691 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36692 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36693 <kernel-features.h>.
36694 [__ASSUME_32BITUIDS]: Make code unconditional.
36695 [!__ASSUME_32BITUIDS]: Remove conditional code.
36696 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36697 <kernel-features.h>.
36698 [__ASSUME_32BITUIDS]: Make code unconditional.
36699 [!__ASSUME_32BITUIDS]: Remove conditional code.
36700 * sysdeps/unix/sysv/linux/setegid.c: Do not include
36701 <kernel-features.h>.
36702 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36703 unconditional.
36704 (__setresgid): Do not declare.
36705 [__ASSUME_32BITUIDS]: Make code unconditional.
36706 [!__ASSUME_32BITUIDS]: Remove conditional code.
36707 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36708 <kernel-features.h>.
36709 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36710 unconditional.
36711 (__setresuid): Do not declare.
36712 [__ASSUME_32BITUIDS]: Make code unconditional.
36713 [!__ASSUME_32BITUIDS]: Remove conditional code.
36714 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36715 <kernel-features.h>.
36716 [__ASSUME_32BITUIDS]: Make code unconditional.
36717 [!__ASSUME_32BITUIDS]: Remove conditional code.
36718 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36719 <kernel-features.h>.
36720 [__ASSUME_32BITUIDS]: Make code unconditional.
36721 [!__ASSUME_32BITUIDS]: Remove conditional code.
36722
a386f1cc
RH
367232012-05-25 Richard Henderson <rth@twiddle.net>
36724
36725 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36726 dl_hwcap to ifunc resolver.
36727 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36728 elf_ifunc_invoke.
36729 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36730 dl_hwcap to ifunc resolver.
36731 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36732
b6550497
JM
367332012-05-24 Joseph Myers <joseph@codesourcery.com>
36734
36735 [BZ #14153]
36736 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36737 for |x| <= 2**-26, not 2**-57.
36738 * math/libm-test.inc (acos_test): Do not allow spurious underflow
36739 exception.
36740
b0bc23a1
JL
367412012-05-24 Jeff Law <law@redhat.com>
36742
36743 * stdio-common/Makefile (tests): Add bug25.
36744 * stdio-common/bug25.c: New test.
36745
347c92e9
L
367462012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36747
36748 [BZ #13576]
36749 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36750 multiple of MALLOC_ALIGNMENT in size.
36751 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36752
6bcc8b3f
JM
367532012-05-24 Joseph Myers <joseph@codesourcery.com>
36754
36755 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36756 Require >= 256.
36757 (FILENAME_MAX): Use macro-int-constant.
36758 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
36759 (_IOFBF): Use macro-int-constant.
36760 (_IOLBF): Likewise.
36761 (_IONBF): Likewise.
36762 (SEEK_CUR): Likewise.
36763 (SEEK_END): Likewise.
36764 (SEEK_SET): Likewise.
36765 (TMP_MAX): Likewise.
36766 (EOF): Use macro-int-constant. Require < 0.
36767 (NULL): Use macro-constant. Require == 0.
36768 (stdin): Require type to be FILE *.
36769 (stdout): Likewise.
36770 (stderr): Likewise.
36771 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36772 macro-int-constant.
36773 (EXIT_SUCCESS): Likewise.
36774 (NULL): Use macro-constant. Require == 0.
36775 (RAND_MAX): Use macro-int-constant.
36776 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36777 [C99-based standards] (strtof): Require function.
36778 [C99-based standards] (strtold): Likewise.
36779 [C99-based standards] (strtoll): Likewise.
36780 [C99-based standards] (strtoull): Likewise.
36781 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36782 [ISO || ISO99 || ISO11] (limits.h): Likewise.
36783 [ISO || ISO99 || ISO11] (math.h): Likewise.
36784 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36785 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36786 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36787
d18ea0c5
AS
367882012-05-24 Andreas Schwab <schwab@linux-m68k.org>
36789
36790 [BZ #14132]
56d25bb8
AS
36791 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36792 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36793 * intl/dgettext.c (DCGETTEXT): Likewise.
36794 * intl/gettext.c (DCGETTEXT): Likewise.
36795 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36796 * posix/regex_internal.h (gettext): Likewise.
36797 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36798 Remove declaration.
36799 * include/argz.h (__argz_count_internal)
36800 (__argz_stringify_internal): Remove declaration.
36801 (__argz_count, __argz_stringify): Declare hidden proto.
36802 * intl/dcgettext.c: Remove use of INTDEF.
36803 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36804 * string/argz-stringify.c: Likewise.
36805 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36806 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36807 Declare hidden proto.
d18ea0c5
AS
36808 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36809 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36810 Declare hidden proto.
36811 * include/stdio.h (__asprintf_internal): Don't declare.
36812 (__asprintf): Don't define as macro. Declare hidden proto.
36813 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36814 (__fsetlocking): Declare hidden proto.
36815 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36816 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36817 hidden proto.
36818 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36819 (_IO_setlinebuf): Remove use of INTUSE.
36820 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36821 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36822 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36823 Remove declaration.
36824 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36825 (_IO_do_flush): Remove use of INTUSE.
36826 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36827 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36828 (_IO_adjust_column, _IO_least_wmarker)
36829 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36830 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36831 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36832 (_IO_default_doallocate, _IO_wdefault_doallocate)
36833 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36834 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36835 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36836 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36837 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36838 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36839 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36840 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36841 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36842 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36843 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36844 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36845 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36846 proto.
36847 (_IO_flush_all_internal, _IO_adjust_column_internal)
36848 (_IO_default_uflow_internal, _IO_default_finish_internal)
36849 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36850 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36851 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36852 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36853 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36854 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36855 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36856 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36857 (_IO_file_close_internal, _IO_file_close_it_internal)
36858 (_IO_file_underflow_internal, _IO_file_overflow_internal)
36859 (_IO_file_init_internal, _IO_file_attach_internal)
36860 (_IO_file_fopen_internal, _IO_file_read_internal)
36861 (_IO_file_sync_internal, _IO_file_seek_internal)
36862 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36863 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36864 (_IO_str_underflow_internal, _IO_str_overflow_internal)
36865 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36866 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36867 (_IO_list_all_internal, _IO_link_in_internal)
36868 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36869 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36870 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36871 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36872 (_IO_do_write_internal, _IO_padn_internal)
36873 (_IO_getline_info_internal, _IO_getline_internal)
36874 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36875 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36876 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36877 (_IO_vfscanf_internal, _IO_vfprintf_internal)
36878 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36879 (_IO_init_internal, _IO_un_link_internal): Don't declare.
36880 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36881 with libc_hidden_ver, remove use of INTUSE.
36882 * libio/genops.c: Likewise.
36883 * libio/freopen.c: Likewise.
36884 * libio/freopen64.c: Likewise.
36885 * libio/iofclose.c: Likewise.
36886 * libio/iofdopen.c: Likewise.
36887 * libio/iofflush.c: Likewise.
36888 * libio/iofflush_u.c: Likewise.
36889 * libio/iofgets.c: Likewise.
36890 * libio/iofgets_u.c: Likewise.
36891 * libio/iofopen.c: Likewise.
36892 * libio/iofopncook.c: Likewise.
36893 * libio/iofread.c: Likewise.
36894 * libio/iofread_u.c: Likewise.
36895 * libio/ioftell.c: Likewise.
36896 * libio/iofwrite.c: Likewise.
36897 * libio/iogetline.c: Likewise.
36898 * libio/iogets.c: Likewise.
36899 * libio/iogetwline.c: Likewise.
36900 * libio/iopadn.c: Likewise.
36901 * libio/iopopen.c: Likewise.
36902 * libio/ioseekoff.c: Likewise.
36903 * libio/ioseekpos.c: Likewise.
36904 * libio/iosetbuffer.c: Likewise.
36905 * libio/iosetvbuf.c: Likewise.
36906 * libio/ioungetc.c: Likewise.
36907 * libio/ioungetwc.c: Likewise.
36908 * libio/iovdprintf.c: Likewise.
36909 * libio/iovsprintf.c: Likewise.
36910 * libio/iovsscanf.c: Likewise.
36911 * libio/memstream.c: Likewise.
36912 * libio/obprintf.c: Likewise.
36913 * libio/oldfileops.c: Likewise.
36914 * libio/oldiofclose.c: Likewise.
36915 * libio/oldiofdopen.c: Likewise.
36916 * libio/oldiofopen.c: Likewise.
36917 * libio/oldiopopen.c: Likewise.
36918 * libio/oldstdfiles.c: Likewise.
36919 * libio/putc.c: Likewise.
36920 * libio/setbuf.c: Likewise.
36921 * libio/setlinebuf.c: Likewise.
36922 * libio/stdfiles.c: Likewise.
36923 * libio/strops.c: Likewise.
36924 * libio/vasprintf.c: Likewise.
36925 * libio/vscanf.c: Likewise.
36926 * libio/vsnprintf.c: Likewise.
36927 * libio/vswprintf.c: Likewise.
36928 * libio/wfiledoalloc.c: Likewise.
36929 * libio/wfileops.c: Likewise.
36930 * libio/wgenops.c: Likewise.
36931 * libio/wmemstream.c: Likewise.
36932 * libio/wstrops.c: Likewise.
36933 * libio/__fpurge.c: Likewise.
36934 * libio/__fsetlocking.c: Likewise.
36935 * assert/assert.c: Likewise.
36936 * debug/fgets_chk.c: Likewise.
36937 * debug/fgets_u_chk.c: Likewise.
36938 * debug/fread_chk.c: Likewise.
36939 * debug/fread_u_chk.c: Likewise.
36940 * debug/gets_chk.c: Likewise.
36941 * debug/obprintf_chk.c: Likewise.
36942 * debug/vasprintf_chk.c: Likewise.
36943 * debug/vdprintf_chk.c: Likewise.
36944 * debug/vsnprintf_chk.c: Likewise.
36945 * debug/vsprintf_chk.c: Likewise.
36946 * malloc/mtrace.c: Likewise.
36947 * misc/error.c: Likewise.
36948 * misc/syslog.c: Likewise.
36949 * stdio-common/asprintf.c: Likewise.
36950 * stdio-common/fxprintf.c: Likewise.
36951 * stdio-common/getw.c: Likewise.
36952 * stdio-common/isoc99_fscanf.c: Likewise.
36953 * stdio-common/isoc99_scanf.c: Likewise.
36954 * stdio-common/isoc99_vfscanf.c: Likewise.
36955 * stdio-common/isoc99_vscanf.c: Likewise.
36956 * stdio-common/isoc99_vsscanf.c: Likewise.
36957 * stdio-common/printf-prs.c: Likewise.
36958 * stdio-common/printf_fp.c: Likewise.
36959 * stdio-common/printf_fphex.c: Likewise.
36960 * stdio-common/printf_size.c: Likewise.
36961 * stdio-common/putw.c: Likewise.
36962 * stdio-common/scanf.c: Likewise.
36963 * stdio-common/sprintf.c: Likewise.
36964 * stdio-common/tmpfile.c: Likewise.
36965 * stdio-common/vfprintf.c: Likewise.
36966 * stdio-common/vfscanf.c: Likewise.
36967 * stdlib/strfmon_l.c: Likewise.
36968 * sunrpc/openchild.c: Likewise.
36969 * sunrpc/xdr_stdio.c: Likewise.
36970 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36971 * sysdeps/mach/hurd/tmpfile.c: Likewise.
36972
d6c33fda
RM
369732012-05-24 Roland McGrath <roland@hack.frob.com>
36974
c1487492
RM
36975 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36976
36977 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
36978 in the third column, to generate for the shared library an IFUNC
36979 that uses _dl_vdso_vsym.
36980 * Makerules (COMPILE.c, compile-stdin.c): New variables.
36981 * Makeconfig (object-suffixes-noshared): New variable.
36982
36983 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
36984 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
36985 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
36986 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
36987
d6c33fda
RM
36988 [BZ #14132]
36989 * include/sys/time.h (__gettimeofday): Remove macro.
36990 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
36991 * time/gettimeofday.c (__gettimeofday): Remove #undef.
36992 Remove INTDEF.
36993 (__gettimeofday): Add libc_hidden_def.
36994 (gettimeofday): Add libc_hidden_weak.
36995 * sysdeps/mach/gettimeofday.c: Likewise.
36996 * sysdeps/posix/gettimeofday.c: Likewise.
36997 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36998 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36999 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
37000 (__gettimeofday_internal): Remove strong_alias.
37001 (__gettimeofday): Add libc_hidden_def.
37002 (gettimeofday): Add libc_hidden_weak.
37003 * sysdeps/unix/syscalls.list (gettimeofday):
37004 Remove __gettimeofday_internal alias.
37005
b5a2bbe6
L
370062012-05-24 Daniel Jacobowitz <drow@false.org>
37007 H.J. Lu <hongjiu.lu@intel.com>
37008
37009 [BZ #12495]
37010 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
37011 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
37012 (largebin_index_32_big): New.
37013 (largebin_index): Use it for 16-byte alignment.
37014 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
37015 correction with front_misalign.
37016
cfba4fda
L
370172012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37018
7f907421
L
37019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
37020 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37021 Likewise.
37022 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
37023 Likewise.
37024 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37025 Likewise.
37026 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
37027 Likewise.
37028 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
37029 Likewise.
37030 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
37031 Likewise.
37032 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
37033 Likewise.
37034 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37035 Likewise.
37036 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
37037 Likewise.
37038 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
37039 Likewise.
37040 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37041 Likewise.
37042 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
37043 Likewise.
37044
cfba4fda
L
37045 * scripts/data/c++-types-x32-linux-gnu.data: New file.
37046 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
37047
80bad0cc
JM
370482012-05-24 Joseph Myers <joseph@codesourcery.com>
37049
7a25eb06
JM
37050 [BZ #10846]
37051 [BZ #14036]
37052 * math/libm-test.inc (exp_test): Add test from bug 14036.
37053 (pow_test): Add test from bug 10846.
37054
795405f9
JM
37055 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
37056 and other flags.
37057 (special_function): Do not include flags in test name.
37058 (parse_args): Likewise.
37059 * sysdeps/i386/fpu/libm-test-ulps: Update.
37060 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37061 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37062 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37064
80bad0cc
JM
37065 * math/gen-libm-test.pl (%beautify): Add entries for underflow
37066 exceptions.
37067 * math/libm-test.inc ("Philosophy"): Update comment about
37068 exception testing.
37069 (UNDERFLOW_EXCEPTION): New macro.
37070 (UNDERFLOW_EXCEPTION_OK): Likewise.
37071 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
37072 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
37073 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
37074 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
37075 (INVALID_EXCEPTION_OK): Update value.
37076 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37077 (OVERFLOW_EXCEPTION_OK): Likewise.
37078 (IGNORE_ZERO_INF_SIGN): Likewise.
37079 (test_exceptions): Handle underflow exceptions.
37080 (acos_test): Update for underflow exception expectations.
37081 (cexp_test): Likewise.
37082 (clog_test): Likewise.
37083 (clog10_test): Likewise.
37084 (csqrt_test): Likewise.
37085 (ctan_test): Likewise.
37086 (ctanh_test): Likewise.
37087 (exp_test): Likewise.
37088 (exp10_test): Likewise.
37089 (exp2_test): Likewise.
37090 (expm1_test): Likewise.
37091 (fma_test): Likewise.
37092 (j0_test): Likewise.
37093 (jn_test): Likewise.
37094 (nexttoward_test): Likewise.
37095 (pow_test): Likewise.
37096 (scalbn_test): Likewise.
37097 (scalbln_test): Likewise.
37098 (tan_test): Likewise.
37099 (y1_test): Likewise.
37100 * sysdeps/i386/fpu/libm-test-ulps: Update.
37101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37102
9e0e3d0b
DM
371032012-05-23 David S. Miller <davem@davemloft.net>
37104
37105 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37106 (__libc_sigaction): Remove unused local variables.
37107
ccd0a08f
L
371082012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37109
37110 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
37111
62bdf9a6
PE
371122012-05-23 Paul Eggert <eggert@cs.ucla.edu>
37113
f8591f80
PE
37114 mktime: avoid signed integer overflow
37115 * time/mktime.c (__mktime_internal): Do not mishandle the case
37116 where diff == INT_MIN.
37117
94c7d826
PE
37118 mktime: simplify computation of average
37119 * time/mktime.c (ranged_convert): Use new time_t_avg function
37120 instead of rolling our own (probably-slower) code.
37121
ce73d683
PE
37122 mktime: do not assume signed right shift propagates sign bit
37123 * time/mktime.c (isdst_differ): New static function.
37124 (__mktime_internal): No need to normalize tm_isdst now.
37125 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37126 tm_isdst values.
37127
72a22e59
PE
37128 mktime: merge another wrapv change from gnulib
37129 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37130 from some compilers.
37131
68605433
PE
37132 mktime: remove incorrect attempt at unusual arithmetics
37133 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37134 The code didn't really work on such machines anyway.
37135 (TYPE_MINIMUM): Assume two's complement.
37136 (twos_complement_arithmetic): Verify that long_int and time_t
37137 are two's complement (or unsigned, in the latter case).
37138
03cf7fe3
PE
37139 mktime: check signed shifts on long_int and time_t, too
37140 * time/mktime.c (SHR): Check that shifts work as desired
37141 on the types long_int and time_t too, as SHR is used on
37142 such types.
37143
f04dfbc2
PE
37144 mktime: do not assume 'long' is wide enough
37145 * time/mktime.c (verify): Move decl up.
37146 (long_int): New type.
37147 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37148 to remove assumption in the code that 'long' is wide enough to
37149 store year values. This assumption is not true on x32 and on
37150 some non-glibc platforms.
37151
62bdf9a6
PE
37152 mktime: merge wrapv change from gnulib
37153 * time/mktime.c (WRAPV): New macro.
37154 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37155 (guess_time_tm, __mktime_internal): Do not assume that signed
37156 integer overflow wraps around; modern compilers generate code
37157 where this assumption is no longer valid.
37158
5e292e4f
L
371592012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37160
37161 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37162 Replace "jmp L(pseudo_end)" with "ret".
37163 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37164 Likewise.
37165
8caf8c87
AJ
371662012-05-23 Andreas Jaeger <aj@suse.de>
37167
37168 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37169 * sysdeps/unix/sysv/linux/poll.c: Remove file.
37170
1a09dc56
AJ
371712012-05-23 Andreas Jaeger <aj@suse.de>
37172 Maximilian Attems <max@stro.at>
37173
37174 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37175 New macros.
37176
1c87aba0
L
371772012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37178
37179 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37180 code so that pseudo_end is just ret and the stack pointer is
37181 correct also for static library in error case.
37182
40e45bd5
JM
371832012-05-23 Joseph Myers <joseph@codesourcery.com>
37184
c2670533
JM
37185 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37186 move to syscalls.list.
37187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37191
40e45bd5
JM
37192 * manual/install.texi (Running make install): Do not mention Linux
37193 kernel version for which pt_chown is not needed.
37194 (Linux): Do not mention problems with nscd with 2.0 kernels.
37195 * INSTALL: Regenerated.
37196
be08eda5
AJ
371972012-05-23 Andreas Jaeger <aj@suse.de>
37198
37199 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37200 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37201 macro.
37202 * sysdeps/unix/sysv/linux/s390/bits/mman.h
37203 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37204 * sysdeps/unix/sysv/linux/sh/bits/mman.h
37205 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37206 * sysdeps/unix/sysv/linux/i386/bits/mman.h
37207 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37208 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37209 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37210 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37211 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37212 * sysdeps/unix/sysv/linux/bits/in.h
37213 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37214
a6a056bb
RM
372152012-05-22 Roland McGrath <roland@hack.frob.com>
37216
37217 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37218 (PREPARE_VERSION): Just use assert instead, it will be elided
37219 under [NDEBUG] anyway.
37220
c9009328
L
372212012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37222
37223 * sysdeps/unix/sysv/linux/Makefile: Include
37224 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 37225 (sysdep_routines): Remove sysctl.
c9009328
L
37226 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37227 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37228 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37229 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37230 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37231
73338355
AJ
372322012-05-22 Andreas Jaeger <aj@suse.de>
37233
37234 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37235 that pseudo_end is just ret and the stack pointer is correct also
37236 for static library in error case.
37237
d44638b0
PP
372382012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
37239
37240 [BZ #14122]
37241 * nss/nsswitch.c (defconfig_entries): New variable.
37242 (__nss_database_lookup): Don't leak defconfig entries.
37243 (nss_parse_service_list): Don't leak on error paths.
37244 (free_database_entries): New function.
37245 (free_defconfig): New function.
37246 (free_mem): Move common code to free_database_entries.
37247
31a39bd8
L
372482012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37249
da0331a8
L
37250 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37251 Add arch_prctl.
37252 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37253
31a39bd8
L
37254 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37255 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37256 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37257 New macro.
37258 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37259 (INTERNAL_SYSCALL_TYPES): Likewise.
37260 (LOAD_ARGS_TYPES_[1-6]): Likewise.
37261 (LOAD_REGS_TYPES_[1-6]): Likewise.
37262 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37263 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37264
45470df3
AZ
372652012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37266
37267 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37268 copysignl for GLIBC_2_0.
37269 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37270 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37271 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37272 logbl for GLIBC_2_0.
37273 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37274 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37275
98a61bcb
L
372762012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37277
a4f6e481
L
37278 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37279 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37280
f63d5db6
L
37281 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37282 Use "neg %eax".
37283
98a61bcb
L
37284 * time/mktime.c: Update copyright years.
37285
95770f14
PE
372862012-05-22 Paul Eggert <eggert@cs.ucla.edu>
37287
6226efbd
PE
37288 mktime: merge comment-quoting-style change from gnulib
37289 * time/mktime.c: Quote 'like this' in comments.
37290 The GNU coding standards suggest that we no longer quote `like this',
37291 as "`" and "'" are typically rendered asymmetrically nowadays.
37292 The typical gnulib style is to quote 'like this' when quoting
37293 code, and "like this" when quoting English.
37294
b99e4f78
PE
37295 * time/mktime.c (compile-command): Add "-I.".
37296
643e01e6
PE
37297 mktime: merge mktime-internal.h change from gnulib
37298 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37299
2554247d
PE
37300 mktime: merge time_r change from gnulib
37301 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37302
826dd0ab
PE
37303 mktime: merge DEBUG change from gnulib
37304 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37305 case system <time.h> has a #define.
37306
bd83aabe
PE
37307 mktime: merge <sys/types.h> change from gnulib
37308 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37309 since <time.t> is now guaranteed to define time_t.
37310
95770f14
PE
37311 mktime: merge HAVE_CONFIG_H change from gnulib
37312 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37313
5e1a27a9
L
373142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37315
0e44a77e
L
37316 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37317 Use "neg %eax".
37318
5e1a27a9
L
37319 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37320 __rlim_t cast.
37321 (struct rusage): Use anonymous union to pad each field to
37322 __syscall_slong_t.
37323
46259bec
DM
373242012-05-21 David S. Miller <davem@davemloft.net>
37325
37326 * Makefules (o-iterator): Remove .s cases.
37327 (compile-command.s): Delete.
37328 (COMPILE.s): Delete.
37329 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37330
59f0c22e
JM
373312012-05-21 Joseph Myers <joseph@codesourcery.com>
37332
37333 * configure.in (libc_cv_predef_stack_protector): Only consider
37334 "foobar" and "__stack_chk_fail" lines in libc_undefs.
37335 * configure: Regenerated.
37336
20c07380
L
373372012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37338
bbb3154b
L
37339 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37340 New macro. Use R*LP on int and pointer.
37341 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
37342 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37343 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
37344 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37345
20c07380
L
37346 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37347 [__WORDSIZE_TIME64_COMPAT32] instead of
37348 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37349 (struct utmp): Likewise.
37350 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37351 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37352 Renamed to ...
37353 (__WORDSIZE_TIME64_COMPAT32): This.
37354 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37355 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37356 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37357 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37358 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37359 (__WORDSIZE_TIME64_COMPAT32): New macro.
37360
d8d1017e
AJ
373612012-05-21 Andreas Jaeger <aj@suse.de>
37362
37363 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37364 only if [SHARED]. Add prototype for __wcschr_ia32.
37365
6c7fb145
RM
373662012-05-21 Roland McGrath <roland@hack.frob.com>
37367
37368 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37369 of %rbp unmolested in the jmp_buf while mangling the low bits.
37370 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37371 unmolested high bits of %rbp while demangling the low bits.
37372 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37373
66274218
AJ
373742012-05-21 Andreas Jaeger <aj@suse.de>
37375
07c58f8f
AJ
37376 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37377 * sunrpc/svc_simple.c: Use it for registerrpc.
37378 * sunrpc/xcrypt.c: Use it for passwd2des.
37379
66274218
AJ
37380 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37381
61f65140
L
373822012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37383
37384 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37385 Don't define if [__SYSCALL_WORDSIZE != 32].
37386 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37387 New macro.
37388
5fefb436
AJ
373892012-05-21 Bruno Haible <bruno@clisp.org>
37390 Andreas Jaeger <aj@suse.de>
37391
37392 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37393 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37394 inptr and inend for must_buffer_ch.
37395 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37396 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37397 * stdio-common/Makefile (tests): Remove bug15.
37398 (bug15-ENV): Remove macro.
37399 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37400 anymore.
37401
d8e272ab
AJ
374022012-05-19 Andreas Jaeger <aj@suse.de>
37403 Roland McGrath <roland@hack.frob.com>
37404
37405 * manual/contrib.texi: Completely rewritten. It contains now an
37406 alphabetical list of contributors and their contributions.
37407
4a56a162
RH
374082012-05-21 Richard Henderson <rth@twiddle.net>
37409
37410 * misc/getauxval.c (__getauxval): Use unsigned long int.
37411 * misc/sys/auxv.h: Include <sys/cdefs.h>.
37412 (getauxval): Use unsigned long int.
37413
d024d23c
L
374142012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37415
37416 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37417
cbc00a03
RM
374182012-05-21 Roland McGrath <roland@hack.frob.com>
37419
37420 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37421 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37422 __alignof__ (long double).
37423
478143fa
AZ
374242012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37425
37426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37427
c7683a6d
RH
374282012-05-20 Richard Henderson <rth@twiddle.net>
37429
37430 * misc/getauxval.c: New file.
37431 * misc/sys/auxv.h: New file.
37432 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37433 (routines): Add getauxval.
37434 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37435 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37436 * elf/dl-sysdep.c (_dl_auxv): Remove.
37437 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37438 * elf/dl-support.c (_dl_auxv): New variable.
37439 (_dl_aux_init): Initialize it.
37440 * manual/startup.texi (Auxiliary Vector): New node.
37441 * sysdeps/generic/bits/hwcap.h: New file.
37442 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37443 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37444 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37445 * sysdeps/sparc/sysdep.h: ... here. Include it.
37446 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37447 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
37448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37449 Update.
c7683a6d
RH
37450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37453 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37455 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37456 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37457 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37458
a6f1845d
AZ
374592012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37460
37461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37462
cbcbe830
DM
374632012-05-19 David S. Miller <davem@davemloft.net>
37464
37465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37466
e0b16cc2
JM
374672012-05-19 Joseph Myers <joseph@codesourcery.com>
37468
37469 [BZ #14123]
37470 * math/s_ccosh.c: Include <float.h>
37471 (__ccosh): Avoid internal overflow calculating sinh and cosh
37472 values before multiplying by sin and cos values.
37473 * math/s_ccoshf.c: Likewise.
37474 * math/s_ccoshl.c: Likewise.
37475 * math/s_csin.c: Likewise.
37476 * math/s_csinf.c: Likewise.
37477 * math/s_csinl.c: Likewise.
37478 * math/s_csinh.c: Likewise.
37479 * math/s_csinhf.c: Likewise.
37480 * math/s_csinhl.c: Likewise.
37481 * math/libm-test.inc (ccos_test): Add more tests.
37482 (ccosh_test): Likewise.
37483 (csin_test): Likewise.
37484 (csinh_test): Likewise.
37485 * sysdeps/i386/fpu/libm-test-ulps: Update.
37486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37487
6ad13e08
L
374882012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37489
f66f0ce8
L
37490 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37491 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37492
6ad13e08
L
37493 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37494
b1d072a7
JM
374952012-05-19 Joseph Myers <joseph@codesourcery.com>
37496
37497 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37498 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37499 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37500 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37501 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37502 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37503 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37504 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37505 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37506 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37507 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37508 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37509 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37510 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37511 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37512 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37513 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37514 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37515 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37516 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37517 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37518 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37519 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37520 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37521 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37522 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37523 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37524 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37525 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37526 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37527 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37528
9eae47cb
AJ
375292012-05-18 Andreas Jaeger <aj@suse.de>
37530
37531 * csu/.gitignore: Delete.
37532
bb07f69f
L
375332012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37534
37535 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37536 (timex): Use __syscall_slong_t.
37537
e6bdb741
AJ
375382012-05-18 Andreas Jaeger <aj@suse.de>
37539 Carlos O'Donell <carlos_odonell@mentor.com>
37540
37541 * manual/install.texi (Configuring and compiling): Update
37542 description about files modified in the source directory.
d6c33fda 37543 * INSTALL: Regenerated.
e6bdb741 37544
1b74487e
L
375452012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37546
37547 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37548 value. Use "or" to set return value to -1.
37549 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37550 negate return value.
37551
a88b64b9
TMQMF
375522012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37553
57f41c40
AS
37554 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37555 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
37556 failure if the compiler has Graphite support disabled.
37557 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37558 Likewise.
57f41c40
AS
37559 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37560 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
37561 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37562 Likewise.
37563
3707636e
L
375642012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37565
610b8622
L
37566 * sysdeps/x86_64/x32/_itoa.h: New file.
37567
7cd195df
L
37568 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37569 getdents system call only if kernel and user dirents have the
37570 same d_ino and d_off.
37571
94b07d20
L
37572 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37573 LLONG_MAX != LONG_MAX.
37574 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37575 (_fitoa_word): Likewise.
37576
18298070
L
37577 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37578 years.
37579 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37580 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37581 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37582
553c7ea4
L
37583 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37584 include <bits/wordsize.h>. Check __x86_64__ instead of
37585 __WORDSIZE.
37586 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37587 if __x86_64__ is defined. Use anonymous union on fpstate.
37588
3707636e
L
37589 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37590 anonymous union.
37591
b53ef01a
AS
375922012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37593
37fb1dc0
AS
37594 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37595 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37596 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37597 Refer to _rtld_local_ro instead of _rtld_global_ro.
37598 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37599 Likewise.
37600 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37601 Likewise.
37602 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37603 Likewise.
37604 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37605 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37606 of _rtld_global, and rtld_progname instead of _dl_argv[0].
37607
b53ef01a
AS
37608 * sysdeps/powerpc/powerpc32/dl-machine.c
37609 (__elf_machine_runtime_setup) [PROF]: Don't reference
37610 _dl_prof_resolve.
37611
7a185db2
AJ
376122012-05-18 Andreas Jaeger <aj@suse.de>
37613
37614 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37615 function only available for GCCs before 3.4 since GCC 3.4
37616 introduced a builtin.
37617 (lrint): Likewise.
37618 (llrintf): Likewise.
37619 (llrint): Likewise.
37620 (fmaxf): Likewise.
37621 (fmax): Likewise.
37622 (fminf): Likewise.
37623 (fmin): Likewise.
37624 (rint): Likewise.
37625 (rintf): Likewise.
37626 (nearbyint): Likewise.
37627 (nearbyintf): Likewise.
37628 (ceil): Likewise.
37629 (ceilf): Likewise.
37630 (floor): Likewise.
37631 (floorf): Likewise.
37632
3e5aef87
L
376332012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37634
428bd707
L
37635 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37636 on both fields and cast pointer to __syscall_ulong_t.
37637
3e5aef87
L
37638 * bits/types.h (__fsword_t): New type.
37639 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37640 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37641 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37642 (__FSWORD_T_TYPE): Likewise.
37643 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37644 (__FSWORD_T_TYPE): Likewise.
37645 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37646 (__FSWORD_T_TYPE): Likewise.
37647 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37648 (__FSWORD_T_TYPE): Likewise.
37649 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37650 __SWORD_TYPE with __fsword_t.
37651 (statfs64): Likewise.
37652
1ba7c3dc
DM
376532012-05-17 David S. Miller <davem@davemloft.net>
37654
37655 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37656
59910343
AJ
376572012-05-17 Andreas Jaeger <aj@suse.de>
37658
37659 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37660 warning.
37661
2e4c1e9e
L
376622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37663
37664 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37665
de7f5ce7
AJ
376662012-05-17 Andreas Jaeger <aj@suse.de>
37667
37668 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37669 when it is used.
37670
286abc3d
CM
376712012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37672
37673 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37674
477cc68e
L
376752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37676
37677 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37678 * sysdeps/x86_64/tst-mallocalign1.c: New file.
37679
1a0994f5
CD
376802012-05-17 Andreas Jaeger <aj@suse.de>
37681 Carlos O'Donell <carlos_odonell@mentor.com>
37682
37683 [BZ #14059]
37684 * sysdeps/x86_64/multiarch/init-arch.h
37685 (bit_YMM_Usable): Rename to...
37686 (bit_AVX_Usable): ... this.
37687 (bit_FMA4_Usable): New macro.
37688 (bit_XMM_state): New macro.
37689 (bit_YMM_state): New macro.
37690 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37691 [__ASSEMBLER__] (index_AVX_Usable): ... this.
37692 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37693 (CPUID_OSXSAVE): New macro.
37694 (CPUID_AVX): New macro.
37695 (CPUID_FMA4): New macro.
37696 (index_YMM_Usable): Rename to...
37697 (index_AVX_Usable): ... this.
37698 (HAS_AVX): Use HAS_ARCH_FEATURE.
37699 (HAS_FMA4): Likewise.
37700 (HAS_YMM_USABLE): Remove.
37701 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37702 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37703 are present.
37704 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37705 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37706 * sysdeps/x86_64/multiarch/Makefile: Likewise.
37707 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37708 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37709
0af797de
CM
377102012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37711
37712 * math/libm-test.c: Support platforms without multiple rounding modes.
37713 * math/bug-nextafter.c: Support platforms without FP exceptions.
37714 * math/bug-nexttoward.c: Likewise.
37715 * math/test-fenv.c: Likewise.
37716 * math/test-misc.c: Likewise.
37717 * stdlib/bug-getcontext.c: Likewise.
37718
e39745ff
AJ
377192012-05-17 Andreas Jaeger <aj@suse.de>
37720
37721 * manual/examples/search.c (critter_cmp): Change signature to
37722 avoid warnings.
37723 * manual/string.texi (Collation Functions): Likewise.
37724
48970aba
L
377252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37726
37727 * bits/types.h: Fold copyright years.
37728 * bits/typesizes.h: Likewise.
37729 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37730 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37731 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37732 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37733 * time/time.h: Likewise.
37734
bedee953
PP
377352012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
37736
37737 [BZ #208]
37738 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37739 in instead of returning them. Return void.
37740 (__libc_mallinfo): Accumulate over all arenas.
37741 (__malloc_stats): Adjust for change in int_mallinfo interface.
37742
61653dfb
RM
377432012-05-16 Roland McGrath <roland@hack.frob.com>
37744
30b99d79
RM
37745 [BZ #10375]
37746 * configure.in (NM): Add AC_CHECK_TOOL for it.
37747 (libc_extra_cflags): New substituted variable.
37748 Check for -fstack-protector being used implicitly.
37749 * configure: Regenerated.
37750 * config.make.in (config-extra-cflags): New variable,
37751 gets @libc_extra_cflags@.
37752 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37753
61653dfb
RM
37754 [BZ #10375]
37755 * configure.in: Check for _FORTIFY_SOURCE being predefined.
37756 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37757 * configure: Regenerated.
37758 * config.make.in (CPPUNDEFS): New substituted variable.
37759 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37760 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37761 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37762
661768bb
L
377632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37764
37765 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37766 (mq_attr): Use __syscall_slong_t.
37767
d4261567
L
377682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37769
37770 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37771 Check __x86_64__ instead of __WORDSIZE.
37772 (_STAT_VER_LINUX): Likewise.
37773 (stat): Check __x86_64__ instead of __WORDSIZE. Use
37774 __syscall_ulong_t and __syscall_slong_t.
37775 (stat64): Likewise.
37776
cf3ff365
L
377772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37778
37779 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37780
76cf3e4d
L
377812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37782
37783 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37784
a637753a
L
377852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37786
37787 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37788 __syscall_ulong_t.
37789
d5e05119
L
37790 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37791 include <bits/wordsize.h>. Check __x86_64__ instead of
37792 __WORDSIZE.
37793 (greg_t): Use "__extension__ long long int" if __x86_64__ is
37794 defined.
37795 (mcontext_t): Replace "unsigned long" with "unsigned long long".
37796
f62ee380
L
37797 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37798 include <bits/wordsize.h>. Check __x86_64__ instead of
37799 __WORDSIZE.
37800 (user_regs_struct): Use "__extension__ unsigned long long"
37801 instead of "unsigned long" if __x86_64__ is defined.
37802 (user): Likewise. Pad after pointer field if __ILP32__ is
37803 defined.
37804
4e124ced
JM
378052012-05-16 Joseph Myers <joseph@codesourcery.com>
37806
6a3951a0
JM
37807 * configure.in (makeinfo): Require version 4.5 or later. Allow
37808 versions 5 to 9.
37809 * configure: Regenerated.
37810 * manual/install.texi (texinfo): Increase version requirement to
37811 4.5 or later.
37812 * INSTALL: Regenerated.
37813
4e124ced
JM
37814 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37815
953ca31a
L
378162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37817
37818 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37819
617aca05
L
37820 * sysdeps/x86_64/x32/ffs.c: New file.
37821
5762f7ae
L
37822 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37823 __syscall_ulong_t.
37824 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37825 defined. Use __syscall_ulong_t.
37826 (shminfo): Use __syscall_ulong_t.
37827 (shm_info): Likewise.
37828
a26b6856
L
37829 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37830 __syscall_ulong_t.
37831
cb2b9ef7
L
37832 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37833 <bits/wordsize.h>.
37834 (msgqnum_t): Use __syscall_ulong_t.
37835 (msglen_t): Likewise.
37836 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
37837 __syscall_ulong_t.
37838
34683bb0
L
37839 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37840 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37841
84a68786
L
37842 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37843
48baa5f1
L
37844 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37845 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37846
180be88b
L
37847 * sysvipc/sys/msg.h (msgbuf): Replace long int with
37848 __syscall_slong_t.
37849
5e90c8ad
L
37850 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37851 include <bits/wordsize.h>. Check __x86_64__ instead of
37852 __WORDSIZE.
37853
23dfb58b
L
37854 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37855 "unsigned long long int" if __x86_64__ is defined.
37856 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37857
ce5d54b0
L
37858 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37859 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37860 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37861
13dc9eac
L
37862 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37863 <stdint.h>.
37864 (GET_PC): Cast to uintptr_t first.
37865 (GET_FRAME): Likewise.
37866 (GET_STACK): Likewise.
37867
a7895d15
L
37868 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37869 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37870 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37871 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37872 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37873 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37874 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37875 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37876 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37877 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37878 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37879 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37880 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37881 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37882 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37883 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37884 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37885 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37886 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37887 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37888 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37889 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37890 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37891 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37892 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37893 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37894 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37895 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37896 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37897
656416c9
AS
378982012-05-16 Andreas Schwab <schwab@linux-m68k.org>
37899
5bd66283
AS
37900 * Makerules (+depfiles): Also collect depfiles from .oS in
37901 $(extra-objs).
37902 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37903 .oS, $(libnldbl-routines)).
37904
656416c9
AS
37905 * Makerules (native-compile-mkdep-flags): Define.
37906 * sunrpc/Makefile (extra-objs): Add $(addprefix
37907 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37908 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37909 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
37910 calling $(make-target-directory).
37911
a46f2169
L
379122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37913
37914 * bits/types.h (__snseconds_t): Removed.
37915 * time/time.h (struct timespec): Replace __snseconds_t with
37916 __syscall_slong_t.
37917 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37918 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37919 Likewise.
37920 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37921 (__SNSECONDS_T_TYPE): Likewise.
37922 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37923 (__SNSECONDS_T_TYPE): Likewise.
37924 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37925 (__SNSECONDS_T_TYPE): Likewise.
37926
6af6528b
L
379272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37928
37929 * sysdeps/mach/hurd/bits/typesizes.h
37930 (__SYSCALL_SLONG_TYPE): New macro.
37931 (__SYSCALL_ULONG_TYPE): Likewise.
37932
de986b56
L
379332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37934
37935 * bits/types.h (__syscall_slong_t): New type.
37936 (__syscall_ulong_t): Likewise.
37937
37938 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37939 (__SYSCALL_ULONG_TYPE): Likewise.
37940 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37941 (__SYSCALL_SLONG_TYPE): Likewise.
37942 (__SYSCALL_ULONG_TYPE): Likewise.
37943 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37944 (__SYSCALL_SLONG_TYPE): Likewise.
37945 (__SYSCALL_ULONG_TYPE): Likewise.
37946 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37947 (__SYSCALL_SLONG_TYPE): Likewise.
37948 (__SYSCALL_ULONG_TYPE): Likewise.
37949
85736dc7
L
379502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37951
37952 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37953 Add sigaltstack-offsets.sym.
37954 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37955 <sigaltstack-offsets.h>.
37956 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
37957 longjmp_msg pointer.
37958 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
37959 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37960 signal stack.
37961 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37962
cc03b296
JM
379632012-05-15 Joseph Myers <joseph@codesourcery.com>
37964
a9538892
JM
37965 * elf/stackguard-macros.h: Remove file.
37966 * sysdeps/generic/stackguard-macros.h: New file.
37967 * sysdeps/i386/stackguard-macros.h: Likewise.
37968 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37969 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37970 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37971 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37972 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37973 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37974 * sysdeps/x86_64/stackguard-macros.h: Likewise.
37975 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
37976 <elf/stackguard-macros.h>.
37977
cc03b296
JM
37978 [BZ #14109]
37979 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
37980 __aligned__ in attribute.
37981 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
37982 (gregset_t): Likewise.
37983
93171016
L
379842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37985
37986 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
37987 * sysdeps/x86_64/64/Implies-after: Here. New file.
37988 * sysdeps/x86_64/x32/Implies-after: New file.
37989
d86813a0
L
379902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37991
37992 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37993 and access return value for _dl_profile_fixup. Use R10_LP to
37994 load frame size.
37995
2953ec75
L
379962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37997
37998 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37999
3b550e9e
L
380002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38001
38002 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
38003 * sysdeps/x86_64/x32/sysdep.h: New file.
38004
eda41706
L
380052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38006
38007 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
38008 * sysdeps/x86_64/setjmp.S: Likewise.
38009
9ea01d93
AZ
380102012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38011
38012 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
38013 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
38014 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
38015 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
38016 remove unused global constant.
38017
02a91938
CM
380182012-05-15 Chris Metcalf <cmetcalf@tilera.com>
38019
38020 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
38021 include of <not-cancel.h>.
38022
6540185f
RM
380232012-05-15 Roland McGrath <roland@hack.frob.com>
38024
38025 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
38026
509072a0
AJ
380272012-05-15 Jeff Law <law@redhat.com>
38028 Andreas Jaeger <aj@suse.de>
38029
38030 [BZ #13594]
38031 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
38032 out from...
38033 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
38034 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
38035 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
38036 code changing __hst_map_handle.map.
38037
ba75122d
RM
380382012-05-15 Roland McGrath <roland@hack.frob.com>
38039
38040 * configure.in (sysnames): Look for Implies-before and Implies-after
38041 files.
38042 * configure: Regenerated.
38043
890d8bd8
L
380442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38045
38046 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
38047 8-byte data alignment with LP_SIZE alignment.
38048
f6ee6623
L
380492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38050
38051 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
38052 into R10_LP.
38053
ea2626f6
L
380542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38055
38056 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
38057
085f715e
L
380582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38059
38060 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
38061 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
38062 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
38063 Likewise.
38064 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38065
be8498fc
L
380662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38067
38068 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
38069 (stackinfo_sub_sp): Likewise.
38070
70bc83b9
L
380712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38072
38073 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
38074 RAX_LP.
38075
9bc0b730
L
380762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38077
38078 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
38079 into R*_LP.
38080
6d2850e7
L
380812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38082
38083 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
38084 sizes into R*_LP.
38085
3cb84561
L
380862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38087
38088 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
38089
54e2ed81
L
380902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38091
38092 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
38093 into R11_LP and load __x86_64_shared_cache_size_half into
38094 R8_LP.
38095
8a17f349
L
380962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38097
38098 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
38099 R8_LP.
38100
777b1eea
AZ
381012012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38102
38103 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
38104 logb for POWER7.
38105 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
38106 logbf for POWER7.
38107 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
38108 logbl for POWER7.
38109 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
38110 powerpc32/power7/fpu/s_logb.c via #include.
38111 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
38112 powerpc32/power7/fpu/s_logbf.c via #include.
38113 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
38114 powerpc32/power7/fpu/s_logbl.c via #include.
38115
d20d4ac2
JM
381162012-05-15 Joseph Myers <joseph@codesourcery.com>
38117
38118 * README.libm: Remove file.
38119
6cdef1ab
L
381202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38121
38122 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38123 count for x32. Use R*_LP and omit operand-size suffix.
38124
0b254d8f
L
381252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38126
38127 * shlib-versions: Move x86_64-.*-linux.* entries to ...
38128 * sysdeps/x86_64/64/shlib-versions: Here. New file.
38129 * sysdeps/x86_64/x32/shlib-versions: New file.
38130
ceb809dc
RM
381312012-05-14 Roland McGrath <roland@hack.frob.com>
38132
38133 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38134 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38135 Use _dl_fatal_printf instead.
38136
37f1abd4
JM
381372012-05-14 Joseph Myers <joseph@codesourcery.com>
38138
38139 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38140 set if not set by the user. Do not allow for being unset.
38141 * sysdeps/unix/sysv/linux/configure: Regenerated.
38142
11de3a33
L
381432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38144
38145 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38146 the `q' suffix from lea and replace .quad with ASM_ADDR.
38147
e02f153a
L
381482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38149
38150 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38151 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
38152 instead of $17.
38153 (PTR_DEMANGLE): Likewise.
38154
520ae0fd
L
381552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38156
38157 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38158 (LP_OP): Likewise.
38159 (ASM_ADDR): Likewise.
38160 (RAX_LP): Likewise.
38161 (RBP_LP): Likewise.
38162 (RBX_LP): Likewise.
38163 (RCX_LP): Likewise.
38164 (RDI_LP): Likewise.
38165 (RSI_LP): Likewise.
38166 (RSP_LP): Likewise.
38167 (R8_LP): Likewise.
38168 (R9_LP): Likewise.
38169 (R10_LP): Likewise.
38170 (R10_LP): Likewise.
38171 (R11_LP): Likewise.
38172 (R12_LP): Likewise.
38173 (R13_LP): Likewise.
38174 (R14_LP): Likewise.
38175 (R15_LP): Likewise.
38176
b985be81
L
381772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38178
38179 * sysdeps/x86_64/x32/dl-machine.h: New file.
38180
6a4888ff
AJ
381812012-05-14 Andreas Jaeger <aj@suse.de>
38182
38183 * manual/Makefile (subdir): Remove export of subdir.
38184 (all): Remove target.
38185 (.PHONY): Remove all from list.
38186 (mkinstalldirs): Remove.
38187 (.PHONY): Remove installdirs from list.
38188 ($(inst_infodir)/libc.info): Use make-target-directory.
38189 (installdirs): Remove.
38190 (subdir_%): Remove.
38191 (glibc-targets): Remove.
38192 (lib): Remove.
38193 (stubs): Remove.
38194 ($(objpfx)stubs ../po/manual.pot): Remove.
38195 ($(objpfx)stamp%): Remove.
38196 (make-target-directory): Remove.
38197 (subdir_install): Remove.
38198 (routines): Remove.
38199 (aux): Remove.
38200 (sources): Remove.
38201 (objects): Remove.
38202 (headers): Remove.
38203
38204 [BZ #13750]
38205 * manual/.gitignore: Remove, it's not needed anymore.
38206 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38207 all files in it.
38208 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38209 directory.
38210 (texis): Renamed to $(objpfx)texis.
38211 (texis-path): New, contains path to generated files.
38212 (chapters.%): Use texis-path for complete path, add extra argument
38213 libc-texinfo.sh.
38214 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38215 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38216 (summary,texi, stamp-summary): Use complete path of
38217 files. Generate files in build dir.
38218 (dir-add.texi): Build in build dir.
38219 (libm-err.texi,stamp-libm-err): Likewise.
38220 (version.texi, stamp-version): Likewise.
38221 (.%c.texi): Likewise.
38222 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38223 (mostlyclean): Remove target.
38224 (realclean): Remove target.
38225 (generated): Add new variable with contents from mostlyclean and
38226 realclean, remove entries duplicated in common-mostlyclean, add
38227 stamp-libm-err and stamp-version.
38228 (generated-dirs): Add libc directory.
38229 ($(inst_infodir)/libc.info): Install files from build dir.
38230
38231 * manual/install.texi (Configuring and compiling): Adjust since
38232 the info files are not part of the tar ball anymore.
38233
7ac77294
AJ
382342012-05-14 Andreas Jaeger <aj@suse.de>
38235
38236 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38237 variable.
38238
ffb7875d
JM
382392012-05-14 Joseph Myers <joseph@codesourcery.com>
38240
38241 [BZ #13717]
38242 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38243 to 2.2.0 where earlier.
38244 * sysdeps/unix/sysv/linux/configure: Regenerated.
38245 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38246 Remove conditional code.
38247 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38248 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38249 Remove conditional code.
38250 [!__NR_lchown]: Likewise.
38251 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38252 [__NR_lchown]: Likewise.
38253 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38254 comment referencing __ASSUME_LCHOWN_SYSCALL.
38255 * sysdeps/unix/sysv/linux/i386/sigaction.c
38256 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38257 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38258 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38259 Remove conditional code.
38260 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38261 (__protocol_available): Remove #if 0 code.
38262 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38263 conditional code.
38264 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38265 * sysdeps/unix/sysv/linux/kernel-features.h
38266 (__ASSUME_GETCWD_SYSCALL): Don't define.
38267 (__ASSUME_REALTIME_SIGNALS): Likewise.
38268 (__ASSUME_PREAD_SYSCALL): Likewise.
38269 (__ASSUME_PWRITE_SYSCALL): Likewise.
38270 (__ASSUME_POLL_SYSCALL): Likewise.
38271 (__ASSUME_LCHOWN_SYSCALL): Likewise.
38272 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38273 non-SPARC.
38274 (__ASSUME_SIOCGIFNAME): Don't define.
38275 (__ASSUME_MSG_NOSIGNAL): Likewise.
38276 (__ASSUME_SENDFILE): Define unconditionally.
38277 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38278 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38279 conditional code.
38280 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38281 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38282 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38283 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38284 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38285 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38286 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38288 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38289 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38291 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38292 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38294 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38295 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38297 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38298 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38300 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38301 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38303 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38304 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38306 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38307 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38309 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38310 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38311 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38312 Remove conditional code.
38313 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38314 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38315 Remove conditional code.
38316 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38317 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38318 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38319 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38320 Remove conditional code.
38321 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38322 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38323 Remove conditional code.
38324 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38325 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38326 Remove conditional code.
38327 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38328 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38329 Remove conditional code.
38330 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38331 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38332 Remove conditional code.
38333 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38334 * sysdeps/unix/sysv/linux/sh/pwrite64.c
38335 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38336 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38337 * sysdeps/unix/sysv/linux/sigaction.c
38338 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38339 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38340 * sysdeps/unix/sysv/linux/sigpending.c
38341 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38342 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38343 * sysdeps/unix/sysv/linux/sigprocmask.c
38344 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38345 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38346 * sysdeps/unix/sysv/linux/sigsuspend.c
38347 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38348 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38349 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38350 (__libc_missing_rt_sigs): Remove.
38351 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38352 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38353 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38354 Remove conditional code.
38355 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38356 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38357 return 1.
38358 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38359 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38360 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38361 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38362
1bfb7291
AJ
383632012-05-14 Andreas Jaeger <aj@suse.de>
38364
caae5a81
AJ
38365 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38366 it's not used in glibc.
38367 (__coshm1): Likewise.
38368 (__acosh1p): Likewise.
38369 (__sgn): Likewise.
38370
1bfb7291
AJ
38371 * manual/string.texi (Copying and Concatenation): Add missing
38372 variable in concat example.
38373 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38374
c044d724
L
383752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38376
144c5467 38377 [BZ #14103]
c044d724
L
38378 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38379 __builtin_clzl with __builtin_clzll.
38380
2523c62b
L
383812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38382
38383 [BZ #14104]
38384 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38385 libc_freeres_ptr.
38386
d7bb4c42
LD
383872012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38388
38389 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38390 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38391 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38392 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38393
9dc4e1fb
MF
383942012-05-14 Mike Frysinger <vapier@gentoo.org>
38395
38396 * NEWS: Update ia64 info.
38397
c7df0112
AS
383982012-05-12 Andreas Schwab <schwab@linux-m68k.org>
38399
38400 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38401 used as bcopy.
38402
dc70356c
TS
384032012-05-12 Thomas Schwinge <thomas@codesourcery.com>
38404
38405 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38406 * sysdeps/unix/syscalls.list (dup3): Likewise.
38407 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38408 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38409
9fb1a21f
L
384102012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38411
38412 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38413 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38414
4822a2a5
L
384152012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38416
38417 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38418 thread pointer.
38419 (TLS_IE): Use mov/add instead of movq/addq to load thread
38420 pointer.
38421 (TLS_GD_PREFIX): New.
38422 (TLS_GD): Use it.
38423
842b81d6
DM
384242012-05-11 David S. Miller <davem@davemloft.net>
38425
38426 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38427 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38428 (_FPU_SETCW): Likewise.
38429
1cf463cd
L
384302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38431
38432 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38433 is 32-byte aligned.
38434
60cc4a18
AS
384352012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38436
38437 [BZ #11837]
38438 * iconvdata/gb18030.c: Update tables.
38439 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38440 characters specially.
38441 (BODY for TO_LOOP): Add encoding of missing ranges.
38442
febb44a4
TS
384432012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38444
38445 [BZ #13673]
38446 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38447 * sysdeps/mach/hurd/dup3.c: Likewise.
38448 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38449 * sysdeps/powerpc/memmove.c:: Likewise.
38450
0a10fb9e
L
384512012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38452
38453 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38454 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38455
df8a552f
L
384562012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38457
38458 * elf/elf.h (R_X86_64_RELATIVE64): New.
38459 (R_X86_64_NUM): Updated.
38460 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38461 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38462 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38463 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38464 tst-quad1pie tst-quad2pie
38465 (modules-names): Add tst-quadmod1 tst-quadmod2.
38466 ($(objpfx)tst-quad1): New dependency.
38467 ($(objpfx)tst-quad2): Likewise.
38468 ($(objpfx)tst-quad1pie): Likewise.
38469 ($(objpfx)tst-quad2pie): Likewise.
38470 * sysdeps/x86_64/tst-quad1.c: New file.
38471 * sysdeps/x86_64/tst-quad1pie.c: New file.
38472 * sysdeps/x86_64/tst-quad2.c: Likewise.
38473 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38474 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38475 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38476 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38477 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38478
f34d6f84
ST
384792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38480
f42d41d1
ST
38481 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38482 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38483 * streams/stropts.h (t_scalar_t): Define type.
38484
3c3571fc
ST
38485 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38486 (_PATH_PRESERVE): Set to "/var/lib".
38487 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38488
61f06bd3
ST
38489 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38490 instead of int.
38491
918d4d71
ST
38492 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38493 if __dir_mkfile succeeded.
38494
f34d6f84
ST
38495 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38496 checking for _hurd_dtablesize. Unlock it right after having
38497 finished _hurd_dtable allocation.
38498
10589b4a
TS
384992012-05-10 Thomas Schwinge <thomas@schwinge.name>
38500
674cdbc7
TS
38501 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38502 * sysdeps/mach/hurd/configure: Regenerated.
38503 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38504 special-casing to...
38505 * sysdeps/gnu/configure.in: ... this new file.
38506 * sysdeps/unix/sysv/linux/configure: Regenerated.
38507 * sysdeps/gnu/configure: New generated file.
38508
8e41b99f
TS
38509 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38510 for Linux: use nsec instead of usec, as well as:
38511 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38512 members of type struct timespec.
38513 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38514 New macros.
38515 (struct stat64): Likewise.
38516 (_STATBUF_ST_NSEC): New macro.
38517 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38518
10589b4a
TS
38519 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38520 __strtoul_internal rather than strtoul.
38521
63643c85
PT
385222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38523
38524 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38525 and reject them.
38526
3faebe6a
ST
385272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38528
38529 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38530 which preserves existing values.
38531 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38532
c6474b07
PT
385332012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38534
38535 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38536 TIMEOUT values. Return EINVAL for NFDS values either negative or
38537 greater than FD_SETSIZE.
38538
1043890b
ST
385392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38540
38541 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38542 allocated, call __vm_protect to finish enabling the existing space, and
38543 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38544 allocate the remainder.
38545
37ed8b9b
PT
385462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38547
38548 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38549 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38550
db653660
ST
385512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38552
37ed8b9b
PT
38553 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38554 sysdeps/mach/hurd/readlink.c.
b29d4053 38555
db653660
ST
38556 * posix/tst-sysconf.c (posix_options): Only use
38557 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38558 _POSIX_SYNCHRONIZED_IO when they are defined
38559 * sysdeps/mach/hurd/bits/posix_opt.h:
38560 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38561 (_XOPEN_REALTIME): Undefine macro.
38562 (_XOPEN_REALTIME_THREADS): Undefine macro.
38563 (_XOPEN_SHM): Undefine macro.
38564 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38565 macro to -1.
38566 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38567 macro to -1.
38568 (_POSIX_ASYNC_IO): Undefine macro.
38569 (_POSIX_PRIORITIZED_IO): Undefine macro.
38570 (_POSIX_SPIN_LOCKS): Define macro to -1.
38571
ee16e894
ST
38572 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38573 SA_NODEFER, SA_RESETHAND.
38574 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38575 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38576 F_DUPFD_CLOEXEC.
38577
6103ae3b
TS
385782012-05-10 Thomas Schwinge <thomas@schwinge.name>
38579
38580 * elf/Makefile (pldd-modules): Define unconditionally.
38581
80b4e5f3
TS
385822012-05-10 Thomas Schwinge <thomas@schwinge.name>
38583
38584 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38585
edadcbd6
ST
385862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38587
38588 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38589 Return ENOENT when name is empty.
38590 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38591
80694780
TS
385922012-05-10 Thomas Schwinge <thomas@schwinge.name>
38593
1792c087
TS
38594 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38595
80694780
TS
38596 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38597
6b645f0d
ST
385982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38599
80694780
TS
38600 Fix mlock in all cases except non-readable pages.
38601 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38602 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 38603
6b645f0d
ST
38604 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38605 (__mkdir): When path is `/', just fail with EEXIST.
38606 * sysdeps/mach/hurd/mkdirat.c: Likewise.
38607
e468f8a3
TS
386082012-05-10 Thomas Schwinge <thomas@schwinge.name>
38609
38610 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38611 <sys/uio.h> (for writev).
38612 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38613 and <sys/param.h> (for MIN).
38614
a4186cff
PT
386152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38616
38617 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38618 REQUESTED_TIME. Properly set the remaining time and return EINTR
38619 if interrupted.
38620
510bbf14
TS
386212012-05-10 Thomas Schwinge <thomas@schwinge.name>
38622
38623 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38624 Depend on against $(link-rpcuserlibs).
38625
5d5722e8
ST
386262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38627
a4186cff
PT
38628 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38629 (__libc_stack_end): Do not use attribute_relro.
38630 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38631 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 38632 to libthread-provided value.
a4186cff
PT
38633 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38634 attribute_relro.
5d5722e8 38635
37233df9
TS
386362012-05-10 Thomas Schwinge <thomas@schwinge.name>
38637
be971a2b
TS
38638 [BZ #3748]
38639 * bits/libc-lock.h (__libc_once_get): New macro.
38640 * sysdeps/mach/bits/libc-lock.h: Likewise.
38641 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38642 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38643 instead of using implementation details.
38644
37233df9
TS
38645 * libio/fileops.c: Unconditionally include <kernel-features.h>.
38646 * libio/freopen.c: Likewise.
38647 * libio/freopen64.c: Likewise.
38648 * misc/syslog.c: Likewise.
38649 * nscd/connections.c: Likewise.
38650 * nscd/netgroupcache.c: Likewise.
38651 * sysdeps/posix/getcwd.c: Likewise.
38652
38de94a5
RM
386532012-05-10 Roland McGrath <roland@hack.frob.com>
38654
38655 * math/w_ilogbf.c: Add #include <limits.h>.
38656
67530489
ST
386572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38658
a4186cff 38659 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
38660 path instead of returning without unlocking.
38661
67530489
ST
38662 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38663 immediate-write ioctls.
38664 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38665
5aa3a74a
TS
386662012-05-10 Thomas Schwinge <thomas@schwinge.name>
38667
18bad2ae
TS
38668 * sysdeps/mach/hurd/i386/init-first.c (init): Use
38669 __builtin_frame_address instead of making assumptions about the
38670 location of the return address relative to DATA. Force early load of
38671 the return address.
38672 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38673 __builtin_frame_address.
38674
5aa3a74a
TS
38675 dup3 for GNU Hurd.
38676 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38677 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
38678 implement dup3 and do some further code clean-ups.
38679 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38680 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38681
ecd0de9a
ST
386822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38683
cd9fa985
ST
38684 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38685
a4186cff
PT
38686 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38687 HURD_CRITICAL_END around holding _hurd_dtable_lock.
38688 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38689 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38690 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38691 d->port.lock.
802ca5a5 38692
a4186cff
PT
38693 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38694 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
38695 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 38696
bcf55240
TS
386972012-05-10 Thomas Schwinge <thomas@schwinge.name>
38698
6960eb42
TS
38699 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38700 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38701 definitions.
38702
eb43375f
TS
38703 accept4 for GNU Hurd.
38704 * include/sys/socket.h (__libc_accept4): New prototype.
38705 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
38706 to implement __libc_accept4.
38707 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38708 __libc_accept4.
38709 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38710
bcf55240
TS
38711 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38712 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38713 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38714 signal-defines.sym.
38715
6178c55b
ST
387162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38717
a4186cff 38718 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 38719
6f080c2f
TS
387202012-05-10 Thomas Schwinge <thomas@schwinge.name>
38721
38722 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38723 assertion on O_CLOEXEC flag.
38724 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38725 * hurd/intern-fd.c: Likewise.
38726 * hurd/port2fd.c: Likewise.
38727
bcfe3a54
ST
387282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38729
38730 [BZ #3906]
38731 * bits/in.h (IPV6_PKTINFO): Define new macro.
38732 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38733
89c9aa49
AZ
387342012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38735
38736 [BZ #13954]
38737 [BZ #13955]
38738 [BZ #13956]
38739 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38740 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38741 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38742 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38743 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38744 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38745 * math/libm-test.inc (logb_test) : Additional logb tests.
38746
021db4be
AJ
387472012-05-09 Andreas Schwab <schwab@linux-m68k.org>
38748 Andreas Jaeger <aj@suse.de>
38749
38750 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38751 * configure: Regenerated.
38752 * config.h.in (LINK_OBSOLETE_RPC): New macro.
38753 * config.make.in (link-obsolete-rpc): New substituted variable.
38754 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38755 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38756 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38757 (shared-only-routines): Don't set it under [link-obsolete-rpc],
38758 so that libc.a contains the symbols.
38759 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38760 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38761 * sunrpc/auth_none.c: Likewise.
38762 * sunrpc/auth_unix.c: Likewise.
38763 * sunrpc/authdes_prot.c: Likewise.
38764 * sunrpc/authuxprot.c: Likewise.
38765 * sunrpc/clnt_gen.c: Likewise.
38766 * sunrpc/clnt_perr.c: Likewise.
38767 * sunrpc/clnt_raw.c: Likewise.
38768 * sunrpc/clnt_simp.c: Likewise.
38769 * sunrpc/clnt_tcp.c: Likewise.
38770 * sunrpc/clnt_udp.c: Likewise.
38771 * sunrpc/clnt_unix.c: Likewise.
38772 * sunrpc/des_crypt.c: Likewise.
38773 * sunrpc/des_soft.c: Likewise.
38774 * sunrpc/get_myaddr.c: Likewise.
38775 * sunrpc/key_call.c: Likewise.
38776 * sunrpc/key_prot.c: Likewise.
38777 * sunrpc/netname.c: Likewise.
38778 * sunrpc/pm_getmaps.c: Likewise.
38779 * sunrpc/pm_getport.c: Likewise.
38780 * sunrpc/pmap_clnt.c: Likewise.
38781 * sunrpc/pmap_prot.c: Likewise.
38782 * sunrpc/pmap_prot2.c: Likewise.
38783 * sunrpc/pmap_rmt.c: Likewise.
38784 * sunrpc/publickey.c: Likewise.
38785 * sunrpc/rpc_cmsg.c: Likewise.
38786 * sunrpc/rpc_common.c: Likewise.
38787 * sunrpc/rpc_dtable.c: Likewise.
38788 * sunrpc/rpc_prot.c: Likewise.
38789 * sunrpc/rpc_thread.c: Likewise.
38790 * sunrpc/rtime.c: Likewise.
38791 * sunrpc/svc.c: Likewise.
38792 * sunrpc/svc_auth.c: Likewise.
38793 * sunrpc/svc_raw.c: Likewise.
38794 * sunrpc/svc_run.c: Likewise.
38795 * sunrpc/svc_tcp.c: Likewise.
38796 * sunrpc/svc_udp.c: Likewise.
38797 * sunrpc/svc_unix.c: Likewise.
38798 * sunrpc/svcauth_des.c: Likewise.
38799 * sunrpc/xcrypt.c: Likewise.
38800 * sunrpc/xdr.c: Likewise.
38801 * sunrpc/xdr_array.c: Likewise.
38802 * sunrpc/xdr_float.c: Likewise.
38803 * sunrpc/xdr_intXX_t.c: Likewise.
38804 * sunrpc/xdr_mem.c: Likewise.
38805 * sunrpc/xdr_rec.c: Likewise.
38806 * sunrpc/xdr_ref.c: Likewise.
38807 * sunrpc/xdr_sizeof.c: Likewise.
38808 * sunrpc/xdr_stdio.c: Likewise.
38809
b5c086a2
RM
388102012-05-10 Roland McGrath <roland@hack.frob.com>
38811
38812 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38813 change. Update copyright years.
38814
6d74dd09
JM
388152012-05-10 Joseph Myers <joseph@codesourcery.com>
38816
38817 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38818
28e72501
MK
388192012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
38820 Joseph Myers <joseph@codesourcery.com>
38821 Paul Pluzhnikov <ppluzhnikov@google.com>
38822
38823 [BZ #14012]
38824 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38825 requiring rpcgen.
38826 [cross-compiling] (extra-libs): Likewise.
38827 [cross-compiling] (extra-libs-others): Likewise.
38828 [cross-compiling] (librpcsvc-routines): Likewise.
38829 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38830 [cross-compiling] (omit-deps): Likewise.
38831 (sunrpc-CPPFLAGS): New variable.
38832 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38833 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38834 (cross-rpcgen-objs): New variable.
38835 (extra-objs): Append $(cross-rpcgen-objs).
38836 ($(cross-rpcgen-objs)): New rule.
38837 ($(objpfx)cross-rpcgen): Likewise.
38838 (rpcgen-cmd): Define to use $(built-program-file). Expand
38839 comment.
38840 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38841 ($(objpfx)x%.stmp): Likewise.
38842 * sunrpc/proto.h [IS_IN_build] (_): Define.
38843 [IS_IN_build] (_libc_intl_domainname): Likewise.
38844
c8c59454
L
388452012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38846
38847 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38848 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38849 and R_X86_64_TPOFF64.
38850
6f27cd16
JM
388512012-05-10 Joseph Myers <joseph@codesourcery.com>
38852
38853 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38854 sysdeps/unix/sysv/syscalls.list.
38855 (stime): Likewise.
38856 (utime): Likewise.
38857 * sysdeps/unix/sysv/syscalls.list: Remove file.
38858
02467e1c
PE
388592012-05-10 Paul Eggert <eggert@cs.ucla.edu>
38860
38861 [BZ #3440]
38862 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38863 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38864 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38865 (__LC_IDENTIFICATION): Make these macros useful in #if
38866 expressions, as required by C99.
38867
da392631
AS
388682012-05-10 Andreas Schwab <schwab@linux-m68k.org>
38869
38870 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38871 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
38872 after this.
38873
8115f29b
L
388742012-05-09 H.J. Lu <hongjiu.lu@intel.com>
38875
38876 * stdlib/longlong.h: Updated from GCC.
38877
bdd74070
AJ
388782012-05-09 Andreas Jaeger <aj@suse.de>
38879
edfe0dbe
AJ
38880 * nscd/nscd.c (run_modes): Make named enum, reorder so that
38881 default is first entry.
38882 (run_mode): Set type.
38883 (main): Remove informal message about syslog.
38884 (options): Fix typo.
38885
bcfe3a54
ST
38886 [BZ #14053]
38887 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 38888 to asm.
bcfe3a54
ST
38889 (lrint): Likewise.
38890 (llrintf): Likewise.
38891 (llrint): Likewise.
38892 (rint): Likewise.
38893 (rintf): Likewise.
38894 (nearbyint): Likewise.
38895 (nearbyintf): Likewise.
bdd74070 38896
91d8d69e
AJ
388972012-05-09 Andreas Jaeger <aj@suse.de>
38898 Pedro Alves <palves@redhat.com>
38899
38900 * nscd/nscd.c (run_mode): Use enum.
38901 (main): Cleanup coding style issue.
38902
bb90b80b
AJ
389032012-05-09 Alexandre Oliva <aoliva@redhat.com>
38904 Andreas Jaeger <aj@suse.de>
38905
bcfe3a54
ST
38906 * nscd/nscd.c (go_background): Replaced with...
38907 (run_mode): ... this.
bb90b80b 38908 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
38909 (options): Add -F --foreground.
38910 (main): Implement it.
38911 (parse_opt): Parse it.
bb90b80b 38912
1a4b75a1
AJ
389132012-05-09 Andreas Jaeger <aj@suse.de>
38914
38915 [BZ #14083]
38916 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38917 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38918 -Wconversion warning.
38919 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38920 Likewise.
38921
b1cc2472
JM
389222012-05-09 Joseph Myers <joseph@codesourcery.com>
38923
38924 * conform/data/locale.h-data (NULL): Use macro-constant. Require
38925 == 0.
38926 (LC_ALL): Use macro-int-constant.
38927 (LC_COLLATE): Likewise.
38928 (LC_CTYPE): Likewise.
38929 (LC_MESSAGES): Likewise.
38930 (LC_MONETARY): Likewise.
38931 (LC_NUMERIC): Likewise.
38932 (LC_TIME): Likewise.
38933 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38934 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38935 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38936 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38937 Specify type.
38938 [C99-based standards] (float_t): Expect type.
38939 [C99-based standards] (double_t): Expect type.
38940 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
38941 type.
38942 [C99-based standards] (HUGE_VALL): Likewise.
38943 [C99-based standards] (INFINITY): Likewise.
38944 [C99-based standards] (NAN): Likewise.
38945 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38946 [C99-based standards] (FP_NAN): Likewise.
38947 [C99-based standards] (FP_NORMAL): Likewise.
38948 [C99-based standards] (FP_SUBNORMAL): Likewise.
38949 [C99-based standards] (FP_ZERO): Likewise.
38950 [C99-based standards] (FP_FAST_FMA): Use
38951 optional-macro-int-constant. Specify type. Require == 1.
38952 [C99-based standards] (FP_FAST_FMAF): Likewise.
38953 [C99-based standards] (FP_FAST_FMAL): Likewise.
38954 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38955 [C99-based standards] (FP_ILOGBNAN): Likewise.
38956 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38957 Specify type.
38958 [C99-based standards] (MATH_ERREXCEPT): Likewise.
38959 [C99-based standards] (math_errhandling): Specify type.
38960 [ISO99 || ISO11] (signgam): Do not allow.
38961 [non-C99-based standards] (copysignf): Do not allow.
38962 [non-C99-based standards] (exp2f): Likewise.
38963 [non-C99-based standards] (log2f): Likewise.
38964 [non-C99-based standards] (modff): Allow.
38965 [non-C99-based standards] (erff): Do not allow.
38966 [non-C99-based standards] (erfcf): Likewise.
38967 [non-C99-based standards] (gammaf): Likewise.
38968 [non-C99-based standards] (hypotf): Likewise.
38969 [non-C99-based standards] (j0f): Likewise.
38970 [non-C99-based standards] (j1f): Likewise.
38971 [non-C99-based standards] (jnf): Likewise.
38972 [non-C99-based standards] (lgammaf): Likewise.
38973 [non-C99-based standards] (tgammaf): Likewise.
38974 [non-C99-based standards] (y0f): Likewise.
38975 [non-C99-based standards] (y1f): Likewise.
38976 [non-C99-based standards] (ynf): Likewise.
38977 [non-C99-based standards] (isnanf): Likewise.
38978 [non-C99-based standards] (acoshf): Likewise.
38979 [non-C99-based standards] (asinhf): Likewise.
38980 [non-C99-based standards] (atanhf): Likewise.
38981 [non-C99-based standards] (cbrtf): Likewise.
38982 [non-C99-based standards] (expm1f): Likewise.
38983 [non-C99-based standards] (ilogbf): Likewise.
38984 [non-C99-based standards] (log1pf): Likewise.
38985 [non-C99-based standards] (logbf): Likewise.
38986 [non-C99-based standards] (nextafterf): Likewise.
38987 [non-C99-based standards] (remainderf): Likewise.
38988 [non-C99-based standards] (rintf): Likewise.
38989 [non-C99-based standards] (scalbf): Likewise.
38990 [non-C99-based standards] (copysignl): Likewise.
38991 [non-C99-based standards] (exp2l): Likewise.
38992 [non-C99-based standards] (log2l): Likewise.
38993 [non-C99-based standards] (modfl): Allow.
38994 [non-C99-based standards] (erfl): Do not allow.
38995 [non-C99-based standards] (erfcl): Likewise.
38996 [non-C99-based standards] (gammal): Likewise.
38997 [non-C99-based standards] (hypotl): Likewise.
38998 [non-C99-based standards] (j0l): Likewise.
38999 [non-C99-based standards] (j1l): Likewise.
39000 [non-C99-based standards] (jnl): Likewise.
39001 [non-C99-based standards] (lgammal): Likewise.
39002 [non-C99-based standards] (tgammal): Likewise.
39003 [non-C99-based standards] (y0l): Likewise.
39004 [non-C99-based standards] (y1l): Likewise.
39005 [non-C99-based standards] (ynl): Likewise.
39006 [non-C99-based standards] (isnanl): Likewise.
39007 [non-C99-based standards] (acoshl): Likewise.
39008 [non-C99-based standards] (asinhl): Likewise.
39009 [non-C99-based standards] (atanhl): Likewise.
39010 [non-C99-based standards] (cbrtl): Likewise.
39011 [non-C99-based standards] (expm1l): Likewise.
39012 [non-C99-based standards] (ilogbl): Likewise.
39013 [non-C99-based standards] (log1pl): Likewise.
39014 [non-C99-based standards] (logbl): Likewise.
39015 [non-C99-based standards] (nextafterl): Likewise.
39016 [non-C99-based standards] (remainderl): Likewise.
39017 [non-C99-based standards] (rintl): Likewise.
39018 [non-C99-based standards] (scalbl): Likewise.
39019 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39020 [non-C99-based standards] (FP_*): Do not allow.
39021 [C99-based standards] (FP_*): Change to
39022 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39023 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39024 allow.
39025 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
39026 (SIG_ERR): Likewise.
39027 [X/Open-based standards] (SIG_HOLD): Likewise.
39028 (SIG_IGN): Likewise.
39029 (SIGABRT): Use macro-int-constant. Specify type. Require
39030 positive value.
39031 (SIGFPE): Likewise.
39032 (SIGILL): Likewise.
39033 (SIGINT): Likewise.
39034 (SIGSEGV): Likewise.
39035 (SIGTER): Likewise.
39036 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
39037 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
39038 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
39039 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
39040 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
39041 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
39042 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
39043 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
39044 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
39045 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
39046 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
39047 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
39048 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
39049 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
39050 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
39051 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
39052 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
39053 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
39054 [X/Open-based standards] (SIGTRAP): Likewise.
39055 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
39056 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
39057 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
39058 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
39059 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39060 allow.
39061
b9f1922d
IW
390622012-05-08 Ian Wienand <ianw@vmware.com>
39063
39064 [BZ #14080]
39065 * time/tzset.c (__tzset_parse_tz): Update default rules for
39066 daylight time changes in the Energy Policy Act of 2005.
39067
1db86e88
AJ
390682012-05-09 Andreas Jaeger <aj@suse.de>
39069
39070 [BZ #13983]
39071 * elf/ldconfig.c (parse_conf): Change string to make clear that
39072 ldconfig only issued a warning if ld.so.conf does not exist.
39073
dee4a4e3
DM
390742012-05-08 David S. Miller <davem@davemloft.net>
39075
ee0db190
DM
39076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
39077 movxtod instead of popping the value on the stack.
39078
dee4a4e3
DM
39079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39080
6a43ec98
CD
390812012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
39082
39083 * config.h.in: Add HAVE_ARM_PCS_VFP.
39084
05c2c961
RMG
390852012-05-08 Roland Mc Grath <roland@hack.frob.com>
39086
bcfe3a54
ST
39087 [BZ #13979]
39088 * include/features.h: Warn if user requests __FORTIFY_SOURCE
39089 checking but the checks are disabled for any reason.
05c2c961 39090
4b30f61a
L
390912012-05-08 H.J. Lu <hongjiu.lu@intel.com>
39092
39093 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
39094 and ELF64_R_TYPE with ELFW(R_TYPE).
39095
eee2bc67
JM
390962012-05-08 Joseph Myers <joseph@codesourcery.com>
39097
7ea5391a
JM
39098 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
39099 (ulimit): Likewise.
39100
eee2bc67
JM
39101 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
39102 (settimeofday): Likewise.
39103
abb66a67
MF
391042012-05-08 Mike Frysinger <vapier@gentoo.org>
39105
39106 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
39107 a struct th_u2 inside the union, and move tu_block/tu_code into
39108 a new th_u3 union of tu_block/tu_code inside of that. Move
39109 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
39110 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
39111 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39112 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
39113 (th_stuff): Change to th_u1.tu_stuff.
39114 (th_data): Define.
39115 (th_msg): Change to th_u1.th_u2.tu_data.
39116
7f18b530
DM
391172012-05-07 David S. Miller <davem@davemloft.net>
39118
05760585
DM
39119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39120
7f18b530
DM
39121 [BZ #14074]
39122 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39123 (SETUP_PIC_REG): Use it.
39124 (SETUP_PIC_REG_LEAF): Use it.
39125
495fd99f
JM
391262012-05-07 Joseph Myers <joseph@codesourcery.com>
39127
39128 [BZ #13885]
39129 [BZ #13923]
39130 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39131 USE_AS_EXPM1L.
39132 (EXPL_FINITE): Likewise.
39133 (FLDLOG): Likewise.
39134 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39135 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39136 e_expl.S.
39137 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39138 USE_AS_EXPM1L.
39139 (EXPL_FINITE): Likewise.
39140 (FLDLOG): Likewise.
39141 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39142 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39143 e_expl.S.
39144 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
39145 test of -max_value argument for long double.
39146 * sysdeps/i386/fpu/libm-test-ulps: Update.
39147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39148
6693d694
DM
391492012-05-06 David S. Miller <davem@davemloft.net>
39150
39151 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39152 quad soft-float symbols whose references which are compiler
39153 generated.
39154 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39155
6c23e11c
JM
391562012-05-06 Joseph Myers <joseph@codesourcery.com>
39157
d8b82cad
JM
39158 [BZ #13884]
39159 [BZ #13914]
39160 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39161 USE_AS_EXP10L.
39162 (EXPL_FINITE): Likewise.
39163 (FLDLOG): Likewise.
39164 (c0): Likewise.
39165 (c1): Likewise.
39166 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39167 Adjust comments for base varying.
39168 (__expl_finite): Change alias to EXPL_FINITE.
39169 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39170 e_expl.S.
39171 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39172 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39173 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39174 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39175 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39176 USE_AS_EXP10L.
39177 (EXPL_FINITE): Likewise.
39178 (FLDLOG): Likewise.
39179 (c0): Likewise.
39180 (c1): Likewise.
39181 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39182 Adjust comments for base varying.
39183 (__expl_finite): Change alias to EXPL_FINITE.
39184 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
39185 tests for bugs.
39186 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39187
6c23e11c
JM
39188 [BZ #14064]
39189 * math/libm-test.inc (check_float_internal): Correct ulp
39190 calculation for subnormal expected results.
39191
29ba805c
AJ
391922012-05-06 Andreas Jaeger <aj@suse.de>
39193
39194 * Makeconfig (+math-flags): New, set to -frounding-math.
39195 (+cflags): Add +math-flags so that all of glibc gets compiled with
39196 it.
39197
39198 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39199
7b17aeda
JM
392002012-05-05 Joseph Myers <joseph@codesourcery.com>
39201
5779f134
JM
39202 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39203 Disable one test.
39204
41498f4d
JM
39205 [BZ #13787]
39206 [BZ #13922]
39207 [BZ #14036]
39208 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39209 (__ieee754_expl): Allow for and saturate large arguments.
39210 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39211 (u_threshold): Likewise.
39212 (__exp): Call __ieee754_exp before checking for overflow and
39213 underflow.
39214 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39215 (u_threshold): Likewise.
39216 (__expf): Call __ieee754_expf before checking for overflow and
39217 underflow.
39218 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39219 (u_threshold): Likewise.
39220 (__expl): Call __ieee754_expl before checking for overflow and
39221 underflow.
39222 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39223 (__ieee754_expl): Allow for and saturate large arguments.
39224 * math/libm-test.inc (exp_test): Add another test. Do not allow
39225 missing overflow exception on overflow.
39226 (expm1_test): Do not allow missing overflow exception on overflow.
39227
6698b8bf
JM
39228 * sysdeps/i386/fpu/e_expl.c: Move to ...
39229 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
39230 rather than using inline asm.
39231 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39232 * sysdeps/x86_64/fpu/e_expl.S: Copy from
39233 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39234
7b17aeda
JM
39235 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39236 (nice): Likewise.
39237 (poll): Likewise.
39238 (signal): Likewise.
39239 (time): Likewise.
39240 (times): Likewise.
39241
f7c85819
JM
392422012-05-04 Joseph Myers <joseph@codesourcery.com>
39243
39244 * sysdeps/unix/syscalls.list (adjtime): Add entry from
39245 sysdeps/unix/common/syscalls.list.
39246 (fchmod): Likewise.
39247 (fchown): Likewise.
39248 (ftruncate): Likewise.
39249 (getrusage): Likewise.
39250 (gettimeofday): Likewise.
39251 (setpgid): Likewise.
39252 (setregid): Likewise.
39253 (setreuid): Likewise.
39254 (sigaction): Likewise.
39255 (truncate): Likewise.
39256 (vhangup): Likewise.
39257 * sysdeps/unix/common/syscalls.list: Remove file.
39258 * sysdeps/unix/bsd/Implies: Don't include unix/common.
39259 * sysdeps/unix/sysv/linux/Implies: Likewise.
39260
336270d0
L
392612012-05-04 H.J. Lu <hongjiu.lu@intel.com>
39262
39263 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39265 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39266 Moved to ...
39267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39268 Here.
39269 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39270 to ...
39271 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39272 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39273 to ...
39274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39275 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39276 to ...
39277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39278 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39279 to ...
39280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39281 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39282 to ...
39283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39284 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39285 to ...
39286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39287 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39288 to ...
39289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39290 Here.
39291 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39292 to ...
39293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39294 Here.
39295 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39296 to ...
39297 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39298 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39299 Moved to ...
39300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39301 Here.
39302 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39303 to ...
39304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39305
d128e450
JM
393062012-05-04 Joseph Myers <joseph@codesourcery.com>
39307
fa8ee516
JM
39308 * sysdeps/unix/common/bits/dirent.h: Remove file.
39309 * sysdeps/unix/common/bits/fcntl.h: Likewise.
39310
d128e450
JM
39311 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39312 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39313 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39314 * sysdeps/unix/bsd/isatty.c: Likewise.
39315 * sysdeps/unix/bsd/tcdrain.c: Likewise.
39316 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39317 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39318
ff8faaf0 393192012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 39320
62881be4 39321 [BZ #13563]
31dc8730
AZ
39322 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39323 long double comparison inaccuracies.
39324 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39326
6fef930c
AS
393272012-05-04 Andreas Schwab <schwab@linux-m68k.org>
39328
39329 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39330 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39331
8f203e6c
JM
393322012-05-04 Joseph Myers <joseph@codesourcery.com>
39333
39334 [BZ #14049]
39335 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39336 nonzero digits before rounding a hex value.
39337 * stdlib/tst-strtod.c (tests): Add another test.
39338
5197d9c2
AK
393392012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39340
39341 * sysdeps/s390/fpu/libm-test-ulps: Update.
39342
f0c1dedf
AJ
393432012-05-03 Andreas Jaeger <aj@suse.de>
39344
39345 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39346 does not get optimized out.
39347 (malloc_opt_barrier): New.
39348
a65ef2ae 393492012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 39350 Roland McGrath <roland@hack.frob.com>
a65ef2ae 39351
2b942cb7 39352 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 39353 intermediate file deletion.
2b942cb7 39354 (generated): Add .symlist files.
a65ef2ae 39355
54b71e02
JM
393562012-05-03 Joseph Myers <joseph@codesourcery.com>
39357
39358 [BZ #13775]
39359 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39360 Redirect under this condition.
39361 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39362 [__USE_GNU] (__dprintf_chk): Not under this condition.
39363 [__USE_GNU] (__vdprintf_chk): Likewise.
39364 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39365 under this condition.
39366 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39367 [__USE_XOPEN2K8] (dprintf): Define under this condition.
39368 [__USE_XOPEN2K8] (vdprintf): Likewise.
39369 [__USE_GNU] (__dprintf_chk): Not under this condition.
39370 [__USE_GNU] (__vdprintf_chk): Likewise.
39371 [__USE_GNU] (dprintf): Likewise.
39372 [__USE_GNU] (vdprintf): Likewise.
39373
d3dfcc41
RM
393742012-05-03 Roland McGrath <roland@hack.frob.com>
39375
39376 * elf/Makefile (common-generated): Set this instead of generated for
39377 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
39378 $(all-built-dso)-derived lists.
39379
7ac30cc5
AJ
393802012-05-03 Andreas Jaeger <aj@suse.de>
39381
0c51e550
AJ
39382 * sysdeps/i386/fpu/libm-test-ulps: Update.
39383
7ac30cc5
AJ
39384 * FAQ: Removed.
39385 * FAQ.in: Likewise.
39386 * scripts/gen-FAQ.pl: Likewise.
39387 * manual/install.texi (Installation): Point to online location of
39388 FAQ.
39389 * Makefile (files-for-dist): Remove FAQ.
39390 (FAQ): Remove.
39391
d4c2917f
AM
393922012-05-02 Allan McRae <allan@archlinux.org>
39393
39394 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39395 (LDFLAGS-reldepmod5.so): Likewise.
39396 (LDFLAGS-reldep6mod1.so): Likewise.
39397 (LDFLAGS-reldep6mod4.so): Likewise.
39398 (LDFLAGS-reldep8mod3.so): Likewise.
39399 (LDFLAGS-unload4mod1.so): Likewise.
39400 (LDFLAGS-unload4mod2.so): Likewise.
39401 (LDFLAGS-tst-initorder): Likewise.
39402 (LDFLAGS-tst-initordera2.so): Likewise.
39403 (LDFLAGS-tst-initordera3.so): Likewise.
39404 (LDFLAGS-tst-initordera4.so): Likewise.
39405 (LDFLAGS-tst-initorderb2.so): Likewise.
39406 (LDFLAGS-noload): Likewise.
39407 (LDFLAGS-next): Likewise.
39408 (LDFLAGS-order2mod1.so): Likewise.
39409 (LDFLAGS-order2mod2.so): Likewise.
39410 (LDFLAGS-tst-initorder2): Likewise.
39411 (LDFLAGS-tst-initorder2a.so): Likewise.
39412 (LDFLAGS-tst-initorder2b.so): Likewise.
39413 (LDFLAGS-tst-initorder2c.so): Likewise.
39414 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39415
d77f993f
DM
394162012-05-02 David S. Miller <davem@davemloft.net>
39417
39418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39419
171a70b4
PP
394202012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39421
39422 [BZ #14055]
39423 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39424
0be196ad
AJ
394252012-05-02 Andreas Jaeger <aj@suse.de>
39426
39427 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39428 since we manipulate rounding mode.
39429 (CPPFLAGS-test-idouble.c): Likewise.
39430 (CPPFLAGS-test-ifloat.c): Likewise.
39431 (CFLAGS-test-ldouble.c): Likewise.
39432 (CFLAGS-test-double.c): Likewise.
39433 (CFLAGS-test-float.c): Likewise.
39434 (CFLAGS-test-misc.c): Likewise.
39435 (CFLAGS-test-test-fenv.c): Likewise.
39436
4f9d04aa
AZ
394372012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39438
2b942cb7
RM
39439 [BZ #2550]
39440 [BZ #2570]
39441 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39442 comparisons to determine direction to adjust input.
4f9d04aa 39443
82a79e7d
RM
394442012-05-01 Roland McGrath <roland@hack.frob.com>
39445
f5a01ca9
RM
39446 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39447 output to the target.
39448
90fe4186
RM
39449 * scripts/localplt.awk: New file.
39450 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39451 (check-localplt-CFLAGS): Variable removed.
39452 ($(all-built-dso:=.jmprel)): New static pattern rule.
39453 (generated): Add those targets.
39454 (localplt-built-dso): New variable.
39455 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39456
39457 * elf/check-localplt.c: File removed.
39458
82397ed6
RM
39459 * scripts/check-execstack.awk: New file.
39460 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39461 (check-execstack-CFLAGS): Variable removed.
39462 ($(objpfx)check-execstack.h): Target removed.
39463 ($(objpfx)execstack-default): New target.
39464 (generated): Add that instead of check-execstack.h.
39465 ($(all-built-dso:=.phdr)): New static pattern rule.
39466 (generated): Add those targets.
39467 * elf/check-execstack.c: File removed.
39468
82a79e7d
RM
39469 * scripts/check-textrel.awk: New file.
39470 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39471 (check-textrel-CFLAGS): Variable removed.
39472 (all-built-dso): Use := to define.o
39473 ($(all-built-dso:=.dyn)): New static pattern rule.
39474 (generated): Add those targets.
39475 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39476 * config.make.in (READELF): New substituted variable.
39477 * elf/check-textrel.c: File removed.
39478
62fde54f 394792012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 39480
615605c9
JM
39481 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39482 allow.
39483 * conform/data/ctype.h-data [C99-based standards] (isblank):
39484 Expect function.
39485 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39486 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39487 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39488 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39489 Specify type. Require positive value.
39490 (EILSEQ): Likewise.
39491 (ERANGE): Likewise.
39492 [ISO || POSIX] (EILSEQ): Do not expect.
39493 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39494 Specify type. Require positive value.
39495 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39496 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39497 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39498 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39499 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39500 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39501 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39502 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39503 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39504 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39505 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39506 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39507 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39508 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39509 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39510 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39511 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39512 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39513 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39514 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39515 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39516 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39517 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39518 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39519 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39520 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39521 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39522 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39523 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39524 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39525 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39526 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39527 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39528 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39529 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39530 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39531 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39532 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39533 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39534 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39535 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39536 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39537 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39538 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39539 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39540 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39541 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39542 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39543 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39544 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39545 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39546 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39547 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39548 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39549 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39550 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39551 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39552 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39553 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39554 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39555 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39556 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39557 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39558 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39559 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39560 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39561 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39562 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39563 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39564 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39565 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39566 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39567 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39568 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39569 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39570 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39571 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39572 Require >= 2.
39573 (FLT_ROUNDS): Expect as macro, not constant.
39574 (FLT_MANT_DIG): Use macro-int-constant.
39575 (DBL_MANT_DIG): Likewise.
39576 (LDBL_MANT_DIG): Likewise.
39577 (FLT_DIG): Likewise.
39578 (DBL_DIG): Likewise.
39579 (LDBL_DIG): Likewise.
39580 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39581 (DBL_MIN_EXP): Likewise.
39582 (LDBL_MIN_EXP): Likewise.
39583 (FLT_MAX_EXP): Use macro-int-constant.
39584 (DBL_MAX_EXP): Likewise.
39585 (LDBL_MAX_EXP): Likewise.
39586 (FLT_MAX_10_EXP): Likewise.
39587 (DBL_MAX_10_EXP): Likewise.
39588 (LDBL_MAX_10_EXP): Likewise.
39589 (FLT_MAX): Use macro-constant.
39590 (DBL_MAX): Likewise.
39591 (LDBL_MAX): Likewise.
39592 (FLT_EPSILON): Use macro-constant. Give upper bound.
39593 (DBL_EPSILON): Likewise.
39594 (LDBL_EPSILON): Likewise.
39595 (FLT_MIN): Likewise.
39596 (DBL_MIN): Likewise.
39597 (LDBL_MIN): Likewise.
39598 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39599 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39600 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39601 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39602 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39603 [ISO11] (DBL_DECIMAL_DIG): Likewise.
39604 [ISO11] (FLT_DECIMAL_DIG): Likewise.
39605 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39606 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39607 [ISO11] (FLT_TRUE_MIN): Likewise.
39608 [ISO11] (LDBL_TRUE_MIN): Likewise.
39609 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39610 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39611 (SCHAR_MIN): Use macro-int-constant. Specify type.
39612 (SCHAR_MAX): Likewise.
39613 (UCHAR_MAX): Likewise.
39614 (CHAR_MIN): Likewise.
39615 (CHAR_MAX): Likewise.
39616 (MB_LEN_MAX): Use macro-int-constant.
39617 (SHRT_MIN): Use macro-int-constant. Specify type.
39618 (SHRT_MAX): Likewise.
39619 (USHRT_MAX): Likewise.
39620 (INT_MAX): Likewise.
39621 (INT_MIN): Use macro-int-constant. Specify type. Make upper
39622 bound negative.
39623 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
39624 bound with "U".
39625 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39626 bound with "L".
39627 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
39628 bound negative. Suffix upper bound with "L".
39629 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39630 bound with "UL".
39631 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39632 Specify type.
39633 [C99-based standards] (LLONG_MAX): Likewise.
39634 [C99-based standards] (ULLONG_MAX): Likewise.
39635 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
39636 == 0.
39637 [ISO11] (max_align_t): Require type.
39638 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39639
c9140a62
JM
39640 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39641 from $CFLAGS, without defining away __attribute__ calls.
39642 (checknamespace): Use $CFLAGS_namespace.
39643
9af0bf29
JM
39644 * conform/conformtest.pl (@keywords): Only include C99 keywords
39645 for standards based on C99 or C11.
39646
343222a2
JM
39647 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39648 Disable tests.
39649 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39650 UNIX98]: Likewise.
39651
661f8cf0
JM
39652 * conform/conformtest.pl: Handle "macro-int-constant" and test for
39653 usability of symbols in #if.
39654
ee74b9cb
JM
39655 * conform/conformtest.pl: If macro or constant types start
39656 "promoted:", expect the symbol to be of the following type
39657 promoted by the integer promotions.
62fde54f 39658
aafc49b3
JM
39659 * conform/conformtest.pl: Parse all "constant" and "macro" lines
39660 in one place. Also handle "macro-constant".
39661
fefdf574
JM
39662 * conform/conformtest.pl: Only accept expected macro values with
39663 "==". Parse all "macro" lines in one place.
39664 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39665
f2d922fe
JM
39666 * conform/conformtest.pl: Handle braced types on "constant" lines
39667 instead of handling "typed-constant".
39668 * conform/data/signal.h-data: Use "constant" instead of
39669 "typed-constant".
39670
d22956c9
JM
39671 * conform/conformtest.pl: Handle "optional-" at start of lines in
39672 one place rather than duplicating several cases. Handle each
39673 format of "macro" line with initial "optional-".
39674
028e2e38
JM
39675 * conform/conformtest.pl: Only accept expected constant or
39676 optional-constant values with "==". Parse all "constant" lines in
39677 one place. Parse all "optional-constant" lines in one place.
39678 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39679 * conform/data/fmtmsg.h-data: Likewise.
39680 * conform/data/netinet/in.h-data: Likewise.
39681 * conform/data/tar.h-data: Likewise.
39682 * conform/data/limits.h-data: Use "==" form on "constant" and
39683 "optional-constant" lines.
39684
1b8f2850
JM
39685 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39686 Use -std=c99 for XOPEN2K.
39687 (@knownproblems): Remove.
39688 (newtoken): Don't check %isknown.
39689
a05a144b
JM
39690 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39691 Do not expect macro.
39692 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39693 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39694 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39695 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39696 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39697 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39698 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39699 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39700 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39701 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39702 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39703 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39704 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39705 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39706 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39707 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39708 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39709 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39710 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39711 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39712 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39713 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39714 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39715 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39716 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39717 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39718 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39719 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39720 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39721 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39722 [XPG3] (acosh): Likewise.
39723 [XPG3] (asinh): Likewise.
39724 [XPG3] (atanh): Likewise.
39725 [XPG3] (cbrt): Likewise.
39726 [XPG3] (expm1): Likewise.
39727 [XPG3] (ilogb): Likewise.
39728 [XPG3] (log1p): Likewise.
39729 [XPG3] (logb): Likewise.
39730 [XPG3] (nextafter): Likewise.
39731 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39732 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39733 [XPG3] (remainder): Likewise.
39734 [XPG3] (rint): Likewise.
39735 [XPG3 || XPG4 || UNIX98] (round): Likewise.
39736 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39737 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39738 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39739 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39740 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39741 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39742 [UNIX98 || XOPEN2K] (scalb): Expect.
39743 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39744 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39745 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39746 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39747 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39748 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39749 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39750 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39751 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39752 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39753 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39754 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39755 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39756 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39757 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39758 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39759 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39760 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39761 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39762 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39763 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39764 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39765 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39766 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39767 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39768 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39769 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39770 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39771 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39772 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39773 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39774 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39775 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39776 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39777 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39778 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39779 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39780 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39781 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39782 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39783 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39784 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39785 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39786 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39787 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39788 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39789 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39790 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39791 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39792 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39793 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39794 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39795 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39796 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39797 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39798 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39799 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39800 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39801 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39802 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39803 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39804 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39805 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39806 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39807 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39808 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39809 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39810 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39811 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39812 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39813 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39814 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39815 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39816 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39817 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39818 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39819 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39820 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39821 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39822 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39823 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39824 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39825 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39826 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39827 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39828 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39829 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39830 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39831 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39832 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39833 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39834 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39835 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39836 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39837 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39838 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39839 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39840 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39841 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39842 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39843 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39844 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39845 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39846 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39847 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39848 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39849 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39850 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39851 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39852 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39853 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39854 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39855 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39856 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39857 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39858 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39859 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39860 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39861 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39862 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39863 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39864 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39865 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39866 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39867 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39868 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39869 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39870 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39871 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39872 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39873 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39874 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39875 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39876 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39877 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39878 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39879 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39880
73c5ebe3
JM
39881 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39882 _XOPEN_SOURCE_EXTENDED for XPG4.
39883
39c33b6c
JM
39884 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39885
62fde54f
JM
39886 * Makeconfig (localtime): Remove variable.
39887 (inst_localtime-file): Likewise.
39888
0741d64c
AS
398892012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39890
39891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39892 Update.
39893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39894 Update.
39895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39896 Update.
39897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39898 Update.
39899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39900 Update.
39901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39902 Update.
39903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39904 Update.
39905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39906 Update.
39907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39908 Update.
39909
7cb029ee
JM
399102012-05-01 Joseph Myers <joseph@codesourcery.com>
39911
39912 [BZ #2550]
39913 [BZ #2570]
39914 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39915 comparisons to determine direction to adjust input.
39916 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39917 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39918 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39919 Likewise.
39920 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39921 Likewise.
39922 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39923 Likewise.
39924 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39925 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39926 Likewise.
39927 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39928 Likewise.
39929 * math/libm-test.inc (nexttoward_test): Add more tests.
39930
412bd966
AS
399312012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39932
39933 [BZ #14040]
39934 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39935 in version GLIBC_2.1, not GLIBC_2.0.
39936 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39937 Likewise.
39938
9568c0c2
JM
399392012-04-30 Joseph Myers <joseph@codesourcery.com>
39940
adfbc8ac
JM
39941 [BZ #13942]
39942 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39943 (1 - x) * (1 + x).
39944 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39945 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39946 * math/libm-test.inc (acos_test): Add more tests.
39947 (asin_test): Likewise.
39948 * sysdeps/i386/fpu/libm-test-ulps: Update.
39949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39950
5ba3cc69
JM
39951 [BZ #14034]
39952 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39953 of square root.
39954 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39955 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39956 * math/libm-test.inc (acos_test_tonearest): New function.
39957 (acos_test_towardzero): Likewise.
39958 (acos_test_downward): Likewise.
39959 (acos_test_upward): Likewise.
39960 (asin_test_tonearest): Likewise.
39961 (asin_test_towardzero): Likewise.
39962 (asin_test_downward): Likewise.
39963 (asin_test_upward): Likewise.
39964 (main): Call the new functions.
39965 * sysdeps/i386/fpu/libm-test-ulps: Update.
39966 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39967
9568c0c2
JM
39968 [BZ #13884]
39969 [BZ #13924]
39970 * math/e_exp10.c: Include <float.h>.
39971 (__ieee754_exp10): Handle underflow here rather than multiplying
39972 large negative argument by M_LN10.
39973 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
39974 of __ieee754_expf.
39975 * math/e_exp10l.c: Include <float.h>.
39976 (__ieee754_exp10l): Handle underflow here rather than multiplying
39977 large negative argument by M_LN10l.
39978 * math/libm-test.inc (exp10_test): Add another test. Do not allow
39979 spurious overflow exception on underflow.
39980
5ac3ea17
MP
399812012-04-29 Marek Polacek <polacek@redhat.com>
39982
39983 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
39984 (__fortify_function): New macro.
39985 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
39986 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
39987 __extern_always_inline.
39988 * libio/bits/stdio2.h: Likewise.
39989 * libio/bits/stdio.h: Likewise.
39990 * string/string.h: Likewise.
39991 * string/bits/string3.h: Likewise.
39992 * include/stdio.h: Likewise.
39993 * stdlib/bits/stdlib.h: Likewise.
39994 * stdlib/stdlib.h: Likewise.
39995 * rt/bits/mqueue2.h: Likewise.
39996 * rt/mqueue.h: Likewise.
39997 * posix/bits/unistd.h: Likewise.
39998 * posix/unistd.h: Likewise.
39999 * io/bits/poll2.h: Likewise.
40000 * io/bits/fcntl2.h: Likewise.
40001 * io/fcntl.h: Likewise.
40002 * io/sys/poll.h: Likewise.
40003 * misc/bits/syslog.h: Likewise.
40004 * misc/bits/syslog-ldbl.h: Likewise.
40005 * misc/sys/syslog.h: Likewise.
40006 * socket/bits/socket2.h: Likewise.
40007 * socket/sys/socket.h: Likewise.
40008 * debug/tst-chk1.c: Likewise.
40009 * wcsmbs/bits/wchar2.h: Likewise.
40010 * wcsmbs/bits/wchar-ldbl.h: Likewise.
40011 * wcsmbs/wchar.h: Likewise.
40012
ecf0ebfb
AJ
400132012-04-29 Andreas Jaeger <aj@suse.de>
40014
40015 * Makerules (tests): Remove enable-check-abi protection.
40016 (check-abi-warn): Remove.
40017 (check-abi-%): Remove check-abi-warn usage.
40018
40019 * configure.in: Remove check-abi configure option.
40020 * configure: Regenerated.
40021 * config.make.in (enable-check-abi): Remove.
40022
6d5c57fa
AS
400232012-04-28 Andreas Schwab <schwab@linux-m68k.org>
40024
24c5d07e 40025 [BZ #14033]
ded5180a
AS
40026 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
40027 double functions to double *_finite functions.
40028
7e0d315d
AS
40029 [BZ #13941]
40030 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
40031 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
40032 LDBL_MIN_EXP.
40033 * stdio-common/Makefile (tests): Add tst-sprintf3.
40034 * stdio-common/tst-sprintf3.c: New file.
40035
6d5c57fa
AS
40036 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
40037 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
40038
0749ff8b
JM
400392012-04-28 Joseph Myers <joseph@codesourcery.com>
40040
40041 * conform/conformtest.pl: Remove duplicate typed-constant
40042 handling.
40043
8dbd5d7b
DM
400442012-04-28 David S. Miller <davem@davemloft.net>
40045
40046 * Makerules (%.abilist): Add vpath on sysdep_dirs.
40047 (check-abi-%): Remove AWK script prerequisite and explicit
40048 abilist directory.
40049 (check-abi): Rewrite to just diff the symlist with the abilist.
40050 (config-tls, config-abi-config): Delete, no longer used.
40051 (update-abi-%): Remove AWK script and explicit abilist directory.
40052 (update-abi): Rewrite to simply compare and conditionally copy the
40053 symlist and the sysdep abilist file. Remove update-abi-config
40054 checks.
40055 * abilist/ld.abilist: Remove.
40056 * abilist/libBrokenLocale.abilist: Remove.
40057 * abilist/libanl.abilist: Remove.
40058 * abilist/libcrypt.abilist: Remove.
40059 * abilist/libdl.abilist: Remove.
40060 * abilist/librt.abilist: Remove.
40061 * abilist/libthread_db.abilist: Remove.
40062 * abilist/libutil.abilist: Remove.
40063 * scripts/extract-abilist.awk: Remove.
40064 * scripts/merge-abilist.awk: Remove.
40065 * sysdeps/generic/libcidn.abilist: New file.
40066 * sysdeps/generic/libnss_compat.abilist: New file.
40067 * sysdeps/generic/libnss_db.abilist: New file.
40068 * sysdeps/generic/libnss_dns.abilist: New file.
40069 * sysdeps/generic/libnss_files.abilist: New file.
40070 * sysdeps/generic/libnss_hesiod.abilist: New file.
40071 * sysdeps/generic/libnss_nis.abilist: New file.
40072 * sysdeps/generic/libnss_nisplus.abilist: New file.
40073 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
40074 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
40075 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
40076 file.
40077 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
40078 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
40079 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
40080 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
40081 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
40082 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
40083 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
40084 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
40085 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
40086 file.
40087 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
40088 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
40089 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
40090 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
40091 file.
40092 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
40093 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
40094 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
40095 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
40096 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
40097 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
40098 file.
40099 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
40100 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
40101 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
40102 file.
40103 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
40104 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
40105 New file.
40106 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
40107 New file.
40108 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
40109 New file.
40110 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
40111 New file.
40112 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
40113 New file.
40114 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
40115 New file.
40116 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
40117 New file.
40118 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40119 New file.
40120 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40121 New file.
40122 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40123 New file.
40124 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40125 New file.
40126 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40127 New file.
40128 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40129 New file.
40130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40131 file.
40132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40133 New file.
40134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40135 New file.
40136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40137 file.
40138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40139 New file.
40140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40141 New file.
40142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40143 file.
40144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40145 New file.
40146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40147 New file.
40148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40149 New file.
40150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40151 New file.
40152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40153 New file.
40154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40155 New file.
40156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40158 file.
40159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40160 New file.
40161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40162 file.
40163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40164 file.
40165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40166 file.
40167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40168 file.
40169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40170 file.
40171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40172 New file.
40173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40174 file.
40175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40176 file.
40177 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40178 New file.
40179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40180 file.
40181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40183 file.
40184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40185 New file.
40186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40187 file.
40188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40189 file.
40190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40191 file.
40192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40193 file.
40194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40195 file.
40196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40197 New file.
40198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40199 file.
40200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40201 file.
40202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40203 New file.
40204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40205 file.
40206 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40207 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40208 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40209 file.
40210 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40211 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40212 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40213 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40214 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40215 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40216 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40217 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40218 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40219 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40222 file.
40223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40224 New file.
40225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40226 file.
40227 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40228 file.
40229 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40230 file.
40231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40232 file.
40233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40234 file.
40235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40236 New file.
40237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40238 New file.
40239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40240 file.
40241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40242 New file.
40243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40244 file.
40245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40247 file.
40248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40249 New file.
40250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40251 file.
40252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40253 file.
40254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40255 file.
40256 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40257 file.
40258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40259 file.
40260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40261 New file.
40262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40263 New file.
40264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40265 file.
40266 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40267 New file.
40268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40269 file.
40270
41d73a1b
JM
402712012-04-28 Joseph Myers <joseph@codesourcery.com>
40272
40273 * conform/conformtest.pl: Fix typo in handling typed-constant from
40274 allow-header.
40275
28aeeda4
JM
402762012-04-27 Joseph Myers <joseph@codesourcery.com>
40277
adae8f5e
JM
40278 * README: Cut down references to pre-2.6 Linux kernels and
40279 Linuxthreads. Update lists of configurations in libc and ports
40280 and sort alphabetically. Say "or newer" with Linux kernel version
40281 requirements.
40282
28aeeda4
JM
40283 * config.h.in [IS_IN_build]: Allow compiling without optimization.
40284
a462cb63
RA
402852012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40286
40287 [BZ #887]
40288 * math/libm-test.inc (logb_test_downward): New test to expose
40289 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40290 rounding mode.
40291
6ad3493e
JM
402922012-04-27 Joseph Myers <joseph@codesourcery.com>
40293
40294 [BZ #14027]
40295 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40296 to be done.
40297 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40298 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40299
2ce4f015
JM
403002012-04-26 Joseph Myers <joseph@codesourcery.com>
40301
5aeb141a
JM
40302 * sysdeps/unix/i386/brk.S: Remove file.
40303 * sysdeps/unix/i386/dl-brk.S: Likewise.
40304 * sysdeps/unix/i386/pipe.S: Likewise.
40305 * sysdeps/unix/i386/sigreturn.S: Likewise.
40306 * sysdeps/unix/i386/syscall.S: Likewise.
40307 * sysdeps/unix/i386/vfork.S: Likewise.
40308 * sysdeps/unix/i386/wait.S: Likewise.
40309
7143acae
JM
40310 * sysdeps/unix/common/tcsendbrk.c: Move to ...
40311 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40312
2ce4f015
JM
40313 * configure.in (arm*-none*): Do not allow without
40314 --enable-hacker-mode.
40315 (netbsd*): Remove case setting base_os.
40316 (386bsd*): Likewise.
40317 (freebsd*): Likewise.
40318 (bsdi*): Likewise.
40319 (osf*): Likewise.
40320 (sunos*): Likewise.
40321 (ultrix*): Likewise.
40322 (newsos*): Likewise.
40323 (dynix*): Likewise.
40324 (*bsd*): Likewise.
40325 (sysv*): Likewise.
40326 (isc*): Likewise.
40327 (esix*): Likewise.
40328 (sco*): Likewise.
40329 (minix*): Likewise.
40330 (irix4*): Likewise.
40331 (irix6*): Likewise.
40332 (solaris[2-9]*): Likewise.
40333 (none): Likewise.
40334 * configure: Regenerated.
40335
0ac229c8
AZ
403362012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40337
40338 [BZ #11521]
40339 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40340 overflow or cancellation in calculating denominator.
40341 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40342 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40343 down expression to avoid unexpected rounding in newer GCCs.
40344 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40345
33f244f4
DM
403462012-04-26 David S. Miller <davem@davemloft.net>
40347
40348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40349 long-double compat symbols.
40350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40363
cfa1f3e8
DM
403642012-04-25 David S. Miller <davem@davemloft.net>
40365
40366 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40367 HWCAP_* values only after the memory barriers have been defined.
40368 (atomic_full_barrier): Define.
40369 (atomic_read_barrier): Define.
40370 (atomic_write_barrier): Define.
40371
6e236b92
SP
403722012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40373
40374 * shlib-versions: Add libgcc_s version information.
40375 * sysdeps/generic/libgcc_s.h: Remove.
40376 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40377 libgcc_s.h.
40378 * sysdeps/gnu/unwind-resume.c: Likewise.
40379 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40380
aab39a09
DM
403812012-04-25 David S. Miller <davem@davemloft.net>
40382
40383 * sysdeps/unix/sparc/brk.S: Delete.
40384 * sysdeps/unix/sparc/dl-brk.S: Delete.
40385 * sysdeps/unix/sparc/pipe.S: Delete.
40386 * sysdeps/unix/sparc/sysdep.S: Delete.
40387 * sysdeps/unix/sparc/sysdep.h: Delete.
40388 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
40389 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40390 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40391 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40392 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
40393 (JUMPTARGET): Remove.
40394 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40395 sysdeps/unix/sparc/sysdep.h
40396 (ENTRY, END): Remove.
40397 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40398
a3cc4f48
JM
403992012-04-25 Joseph Myers <joseph@codesourcery.com>
40400
2ed8cda2
JM
40401 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40402 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40403 -DIS_IN_build.
40404
35d76d59
JM
40405 * timezone/README: Update upstream location and email address for
40406 tzcode and tzdata.
40407 * timezone/zdump.c: Update from tzcode 2012b.
40408 * timezone/zic.c: Likewise.
40409
a3cc4f48
JM
40410 * configure.in (libc_cv_as_needed): Remove test.
40411 * configure: Regenerated.
40412 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40413 conditional definition.
40414 [$(have-as-needed) != yes] (no-as-needed): Likewise.
40415 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40416 * config.make.in (have-as-needed): Remove variable.
40417
ceab42c3
SP
404182012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40419 Paul Pluzhnikov <ppluzhnikov@google.com>
40420
40421 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40422 strings correctly.
40423
3ce2865f
CLT
404242012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
40425
40426 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40427 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40428 * sysdeps/sh/strlen.S: Likewise.
40429
f37e0d68
JM
404302012-04-24 Joseph Myers <joseph@codesourcery.com>
40431
ae186e9a
JM
40432 * sysdeps/unix/fork.S: Remove file.
40433 * sysdeps/unix/i386/fork.S: Likewise.
40434 * sysdeps/unix/sparc/fork.S: Likewise.
40435
b96914af
JM
40436 * sysdeps/unix/system.c: Remove file.
40437 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40438
f37e0d68
JM
40439 * sysdeps/unix/getegid.S: Remove file.
40440 * sysdeps/unix/geteuid.S: Likewise.
40441
87ef29ca
RM
404422012-04-24 Roland McGrath <roland@hack.frob.com>
40443
83bcd236
RM
40444 * scripts/check-localplt.awk: New file.
40445 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40446 of diff.
40447 * scripts/data/localplt-generic.data: Add a comment.
40448
87ef29ca
RM
40449 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40450 NODE when __dir_mkfile failed.
40451 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40452 Reported by Ludovic Courtès <ludo@gnu.org>.
40453
e5a6e567
AJ
404542012-04-24 Andreas Jaeger <aj@suse.de>
40455
40456 * Makerules (common-clean): Also remove gen-as-const-headers
40457 files.
40458
c1820385
JM
404592012-04-24 Joseph Myers <joseph@codesourcery.com>
40460
40461 * Makerules (native-compile): Do not change working directory for
40462 build. Use $(OUTPUT_OPTION) in command.
40463 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40464
94e02fc4
AZ
404652012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40466
40467 [BZ #13886]
40468 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40469 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40470 * math/libm-test.inc (floor_test): Add more tests.
40471 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40472
3a533ca3
JM
404732012-04-24 Joseph Myers <joseph@codesourcery.com>
40474
940ab4b3
JM
40475 * sysdeps/unix/getdents.c: Remove file.
40476 * sysdeps/unix/sysv/getdents.c: Likewise.
40477 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40478
90e037bd
JM
40479 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40480 sysdeps/unix/mman/syscalls.list.
40481 (mmap): Likewise.
40482 (mprotect): Likewise.
40483 (msync): Likewise.
40484 (munmap): Likewise.
40485 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40486 * sysdeps/unix/mman/syscalls.list: Remove.
40487 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40488
3a533ca3
JM
40489 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40490 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40491 * configure: Regenerated.
40492 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40493 $(libgcc_s_suffix).
40494 * config.make.in (libgcc_s_suffix): Remove variable.
40495
1ad743de
JM
404962012-04-23 Joseph Myers <joseph@codesourcery.com>
40497
4ad451e2
JM
40498 * sysdeps/unix/sysv/gethostname.c: Move to ...
40499 * sysdeps/posix/gethostname.c: ... here.
40500
5e37ce39
JM
40501 * sysdeps/unix/execve.S: Remove file.
40502
1ad743de
JM
40503 * sysdeps/unix/_exit.S: Remove file.
40504
4e681b5b
AJ
405052012-04-23 Andreas Jaeger <aj@suse.de>
40506
40507 [BZ #13739]
40508 * manual/Makefile: Remove make dist support, there's no
40509 need for a stand-alone documentation tar ball.
40510 (TEXI2DVI): Define always, it's not in Makeconfig.
40511 (dist): Removed.
40512 (tar-it): Removed.
40513 (edition): Removed.
40514 (glibc-doc-$(edition).tar): Removed
40515 (%.Z): Removed.
40516 (%.gz): Removed.
40517 (%.uu): Removed.
40518 (ETAGS): Remove, it's in Makeconfig.
40519 (move-if-change): Remove, it's in Makeconfig.
40520
38686a03 405212012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
40522
40523 [BZ #13970]
40524 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40525 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40526 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40527 (strtod_l, strtof_l, strtold_l): Remove __wur.
40528 It is not necessarily an error to ignore strtol's return value.
40529 One can reliably look at the stored endptr to decide whether
40530 the number had valid syntax.
40531
7c0616fa
AJ
405322012-04-21 Andreas Jaeger <aj@suse.de>
40533
803cb6b7 40534 [BZ #13739]
7c0616fa
AJ
40535 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40536
b0fe253f
JM
405372012-04-21 Joseph Myers <joseph@codesourcery.com>
40538
40539 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40540 * sysdeps/unix/sysv/Versions: Remove file.
40541
8280f22d
MT
405422012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40543
40544 [BZ #13927]
40545 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40546
75ce411f 405472012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
40548
40549 [BZ #7064]
40550 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40551 version from __vm86.
40552
097d59fa
JM
405532012-04-20 Joseph Myers <joseph@codesourcery.com>
40554
a90f3bcb
JM
40555 * sysdeps/unix/common/lxstat.c: Remove file.
40556 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40557
edc7ea78
JM
40558 * sysdeps/unix/sysv/Makefile: Remove file.
40559
cb78c221
JM
40560 * sysdeps/unix/sysv/direct.h: Remove file.
40561
efa6a45f
JM
40562 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40563 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40564 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40565 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40566 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40567 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40568 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40569
9c9f2d0c
JM
40570 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40571
4541c83b
JM
40572 * sysdeps/unix/xmknod.c: Remove file.
40573 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40574
f5d153a0
JM
40575 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40576
aa746595
JM
40577 * sysdeps/unix/sysv/i386/time.S: Remove file.
40578
cce5905e
JM
40579 * sysdeps/unix/fxstat.c: Remove file.
40580 * sysdeps/unix/xstat.c: Likewise.
40581 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40582
37fa3841
JM
40583 * sysdeps/unix/sysv/sigaction.c: Remove file.
40584
ff1962a3
JM
40585 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40586 (sysdep_headers): Remove variable.
40587 [termio.h not in sysdep_headers] (generated): Likewise.
40588 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40589 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40590 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40591 * sysdeps/unix/sysv/tcflow.c: Likewise.
40592 * sysdeps/unix/sysv/tcflush.c: Likewise.
40593 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40594 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40595 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40596 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40597 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40598
e7740d31
JM
40599 * sysdeps/unix/siglist.c: Remove file.
40600
ee06f18b
JM
40601 * sysdeps/unix/getppid.S: Remove file.
40602
097d59fa
JM
40603 * sysdeps/unix/mkdir.c: Remove file.
40604 * sysdeps/unix/rmdir.c: Likewise.
40605
ff3d51ec
AS
406062012-04-19 Andreas Schwab <schwab@linux-m68k.org>
40607
40608 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40609 ERR_MAX value.
40610 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40611 errlist-compat value.
40612
50f81fd7
DM
406132012-04-18 David S. Miller <davem@davemloft.net>
40614
40615 * sysdeps/generic/memcopy.h (reg_char): Delete.
40616 * debug/strcat_chk.c: Use char, not reg_char.
40617 * debug/strcpy_chk.c: Likewise.
40618 * debug/strncat_chk.c: Likewise.
40619 * debug/strncpy_chk.c: Likewise.
40620 * string/memchr.c: Likewise.
40621 * string/memrchr.c: Likewise.
40622 * string/rawmemchr.c: Likewise.
40623 * string/strcat.c: Likewise.
40624 * string/strchr.c: Likewise.
40625 * string/strchrnul.c: Likewise.
40626 * string/strcmp.c: Likewise.
40627 * string/strcpy.c: Likewise.
40628 * string/strncat.c: Likewise.
40629 * string/strncmp.c: Likewise.
40630 * string/strncpy.c: Likewise.
40631
8ff41c46
WS
406322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40633
40634 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40635 __builtin_memcopy is called when src and dest ranges are known to not
40636 overlap.
40637
6b652f46
WS
406382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40639
40640 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40641 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40642 fwd_align_merge macro call.
40643 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40644 bwd_align_merge macro call.
40645 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40646
b282631e
WS
406472012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40648
40649 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40650 bwd_align_merge macros.
40651 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40652 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40653 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40654
95aa737c
DM
406552012-04-18 David S. Miller <davem@davemloft.net>
40656
40657 * sysdeps/sparc/sparc64/memcopy.h: Delete.
40658
7a99a614
AJ
406592012-04-18 Andreas Jaeger <aj@suse.de>
40660
40661 [BZ# 6794]
40662 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40663 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40664 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40665
40666 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40667 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40668 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40669
40670 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40671 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40672 Adjust for changed ldbl-128 files.
40673
40674 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40675 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40676 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40677
e5270c23
DM
406782012-04-17 David S. Miller <davem@davemloft.net>
40679
40680 * sysdeps/sparc/sparc32/memcopy.h: Delete.
40681
fb5e92c9
AS
406822012-04-17 Andreas Schwab <schwab@linux-m68k.org>
40683
40684 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40685 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40686 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40687 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40688 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40689 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40690
76da7265
AZ
406912012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40692
40693 [BZ #6794]
40694 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40695 * math/libm-test.inc: Add ilogb errno and exception tests.
40696 * math/w_ilogb.c: New file: ilogb wrapper.
40697 * math/w_ilogbf.c: New file: ilogbf wrapper.
40698 * math/w_ilogbl.c: New file: ilogbl wrapper.
40699 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40700 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40701 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40702 exception being thrown with 0.0 as argument.
40703 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40704 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40705 exception being thrown with 0.0 as argument.
40706 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40707 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40708 exception being thrown with 0.0 as argument.
40709 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40710 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40711 exception being thrown with 0.0 as argument.
40712 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40713 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 40714 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
40715 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40716 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40717 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40718 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40719 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40720 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40721
0396e69d
PB
407222012-04-17 Petr Baudis <pasky@ucw.cz>
40723
40724 * include/sys/uio.h: Change __vector to __iovec to avoid clash
40725 with altivec.
40726
750b5926
MP
407272012-04-16 Marek Polacek <polacek@redhat.com>
40728
40729 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40730
751728a1
MP
407312012-04-16 Marek Polacek <polacek@redhat.com>
40732
40733 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40734 operands of fdivp instruction.
40735
34a27407
L
407362012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40737
40738 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40739 * elf/tst-auditmod3b.c: Likewise.
40740 * elf/tst-auditmod4b.c: Likewise.
40741 * elf/tst-auditmod5b.c: Likewise.
40742 * elf/tst-auditmod6b.c: Likewise.
40743 * elf/tst-auditmod6c.c: Likewise.
40744 * elf/tst-auditmod7b.c: Likewise.
40745 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40746 * sysdeps/x86_64/preconfigure.in: Likewise.
40747 * sysdeps/x86_64/preconfigure: Regenerated.
40748
7e73e17d
L
407492012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40750
40751 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40752 __ILP32__.
40753
c7a6ab72
AB
407542012-04-13 Antoine Balestrat <merkil33@gmail.com>
40755
40756 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40757 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40758
a9e8e0e0
CL
407592012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
40760
40761 [BZ #13973]
40762 * locale/iso-639.def: Fix gl language name. Spotted by
40763 Yaron Shahrabani.
40764
ec98af7d
RM
407652012-04-12 Roland McGrath <roland@hack.frob.com>
40766
40767 [BZ #2074]
40768 * libio/libio.h (__io_write_fn): Update comment.
40769
247c3ede
PB
407702012-04-12 Petr Baudis <pasky@ucw.cz>
40771
40772 [BZ #2074]
40773 * stdio.texi (Hook Functions): The user provided writer function
40774 is not allowed to return -1.
40775
55939d6d
DM
407762012-04-11 David S. Miller <davem@davemloft.net>
40777
40778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40779
90020f5a
MF
407802012-04-11 Mike Frysinger <vapier@gentoo.org>
40781
40782 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40783 Add a leading slash to rtkaio.
40784
288f9098
JM
407852012-04-11 Jim Meyering <meyering@redhat.com>
40786
90020f5a
MF
40787 [BZ #11959]
40788 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40789 It is not necessarily an error to ignore fwrite's return
40790 value. One can reliably use ferror to test for errors after
40791 the fact.
288f9098 40792
4be2b570
L
407932012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40794
40795 * bits/types.h (__snseconds_t): New type.
40796 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40797
40798 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40799 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40800 (__SNSECONDS_T_TYPE): Likewise.
40801 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40802 (__SNSECONDS_T_TYPE): Likewise.
40803 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40804 (__SNSECONDS_T_TYPE): Likewise.
40805
288f9098 408062012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
40807
40808 [BZ #2636]
40809 * manual/time.texi (Processor Time): Return type of times is
40810 elapsed real time since an arbitrary point in the past.
40811 (CPU Time): Move CLK_TCK from here...
40812 (Processor Time): ...to here. Correct description.
40813 * manual/conf.texi (Constants for Sysconf): Correct description of
40814 _SC_CLK_TCK.
40815
d7dd4413
DM
408162012-04-10 David S. Miller <davem@davemloft.net>
40817
40818 [BZ #13967]
40819 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40820 where the is a gap between DT_REL(A) and DT_JMPREL.
40821
b46068fc
L
408222012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40823
40824 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40825 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40826 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40827
73d65cc3
SP
408282012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40829
40830 * elf/dl-support.c (_dl_inhibit_cache): New variable.
40831 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40832 (dl_main): Handle --inhibit-cache.
40833 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40834 _dl_inhibit_cache.
40835 * elf/dl-load.c (_dl_map_object): Use it.
40836 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40837
bcc8d661
JM
408382012-04-09 Joseph Myers <joseph@codesourcery.com>
40839
8f9a2fae
JM
40840 [BZ #13872]
40841 * sysdeps/i386/fpu/e_powl.S (p78): New object.
40842 (__ieee754_powl): Saturate large exponents rather than testing for
40843 overflow of y*log2(x).
40844 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40845 * math/libm-test.inc (pow_test): Do not permit spurious overflow
40846 exceptions.
40847
bcc8d661
JM
40848 [BZ #11521]
40849 * math/s_ctan.c: Include <float.h>.
40850 (__ctan): Avoid internal overflow or cancellation in calculating
40851 denominator.
40852 * math/s_ctanf.c: Likewise.
40853 * math/s_ctanl.c: Likewise.
40854 * math/s_ctanh.c: Likewise.
40855 * math/s_ctanhf.c: Likewise.
40856 * math/s_ctanhl.c: Likewise.
40857 * math/libm-test.inc (ctan_test): Add more tests.
40858 (ctanh_test): Likewise.
40859 * sysdeps/i386/fpu/libm-test-ulps: Update.
40860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40861
823fbbb4
AJ
408622012-04-09 Andreas Jaeger <aj@suse.de>
40863
03879793
AJ
40864 [BZ #6894]
40865 * manual/filesys.texi (Directory Entries): Mention that d_namlen
40866 is an optional BSD extension.
40867
823fbbb4
AJ
40868 [BZ #10254]
40869 * manual/stdio.texi (Opening Streams): Document additional fopen
40870 parameters.
40871
8de131cb
RM
408722012-04-09 Roland McGrath <roland@hack.frob.com>
40873
40874 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40875 %eax without telling the compiler.
40876
c0ed9d7d
CD
408772012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
40878
40879 [BZ # 13963]
40880 * manual/install.texi: Use sourceware.org.
40881
c483f6b4
JM
408822012-04-09 Joseph Myers <joseph@codesourcery.com>
40883
d7dd9453
JM
40884 [BZ #13873]
40885 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40886 (__ieee754_pow): Generate overflow and underflow using huge*huge
40887 and tiny*tiny rather than just returning constant infinity or zero
40888 for large exponents.
40889 * math/libm-test.inc (pow_test): Require overflow exceptions for
40890 applicable cases of large exponents.
40891
c483f6b4
JM
40892 [BZ #706]
40893 * sysdeps/i386/fpu/e_pow.S (p10): New object.
40894 (__ieee754_pow): Use iterative multiplication algorithm only for
40895 integer exponents with absolute value below 1024. Check for odd
40896 integer exponents when using algorithm for real exponents.
40897 * math/libm-test.inc (pow_test): Add more tests.
40898 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40899
d2de7579
JM
409002012-04-08 Joseph Myers <joseph@codesourcery.com>
40901
40902 [BZ #13705]
40903 * math/libm-test.inc (exp_test): Do not allow overflow exception
40904 on underflow test.
40905
f77f1232
AJ
409062012-04-08 Aurelien Jarno <aurelien@aurel32.net>
40907
40908 [BZ #13705]
40909 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40910 instead of __kernel_standard_f.
40911
3884932b
MF
409122012-04-08 Mike Frysinger <vapier@gentoo.org>
40913
40914 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40915 * sysdeps/x86_64/memset_chk.S: Likewise.
40916
54472e9c
AJ
409172012-04-08 Andreas Jaeger <aj@suse.de>
40918
6ab0fbfc
AJ
40919 [BZ #10153]
40920 * manual/startup.texi (Environment Access): Describe return value
40921 for putenv and setenv.
40922
61efba8c
AJ
40923 [BZ #6895]
40924 * manual/filesys.texi (Directory Entries): Add description for
40925 DT_LNK.
40926
95c3f29a
AJ
40927 [BZ #6890]
40928 * manual/filesys.texi (Directory Entries): Clarify that it's file
40929 system not operating system in the description of DT_UNKNOWN.
40930
54472e9c
AJ
40931 [BZ #6578]
40932 * manual/syslog.texi (closelog): Fix reference, it's openlog.
40933
624254b1
SC
409342012-04-08 Stephen Compall <s11@member.fsf.org>
40935
40936 [BZ #6649]
40937 * manual/llio.texi (Opening and Closing Files): Add cross
40938 reference to explain mode argument.
40939
1e4920e0
MF
409402012-04-07 Mike Frysinger <vapier@gentoo.org>
40941
40942 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40943 * sysdeps/x86_64/memset_chk.S: Likewise.
40944
5ed848f3
DM
409452012-04-07 David S. Miller <davem@davemloft.net>
40946
40947 * elf/elf.h (R_SPARC_WDISP10): Define.
40948 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40949 R_SPARC_SIZE32.
40950 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40951 R_SPARC_SIZE64 and R_SPARC_H34.
40952
96154cd8
CD
409532012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
40954
40955 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40956 conditions and remove no longer applicable assertion.
40957
9904dc47
L
409582012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40959
40960 * bits/byteswap.h: Include <features.h>.
40961 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40962 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40963
f8887d0a
L
409642012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40965
40966 * bits/byteswap.h (__bswap_16): Removed.
40967 Include <bits/byteswap-16.h> to get __bswap_16.
40968 * sysdeps/i386/bits/byteswap.h: Likewise.
40969 * sysdeps/s390/bits/byteswap.h: Likewise.
40970 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40971 * bits/byteswap-16.h: New file.
40972 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40973 * sysdeps/s390/bits/byteswap-16.h: Likewise.
40974 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
40975 * string/Makefile (headers): Add bits/byteswap-16.h.
40976
62470f60
PP
409772012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40978
40979 [BZ #13895]
40980 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
40981 extra indirection.
40982 * nss/Makefile (tests-static, tests): Add tst-nss-static.
40983 * nss/tst-nss-static.c: New.
40984
4dad7bab
RM
409852012-04-06 Robert Millan <rmh@gnu.org>
40986
40987 [BZ #6486]
40988 * manual/llio.texi (File Position Primitive): lseek
40989 refers to WHENCE when it really means OFFSET.
40990
e9142a17
AJ
409912012-04-06 Andreas Jaeger <aj@suse.de>
40992
2c040eff
AJ
40993 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40994 strncmp declarations.
40995
e9142a17
AJ
40996 * abilist/libc.abilist: Add __poll and __ppoll.
40997
ff9f1c5f
DM
409982012-04-05 David S. Miller <davem@davemloft.net>
40999
dcd2ae90
DM
41000 * scripts/check-local-headers.sh: Accept a host triplet in the
41001 path matched by the exclude regexp.
41002
993eb054
DM
41003 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
41004 definition.
41005 * sysdeps/powerpc/powerpc32/dl-machine.h
41006 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
41007 * sysdeps/s390/s390-32/dl-machine.h
41008 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41009 * sysdeps/sparc/sparc32/dl-machine.h
41010 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41011 * sysdeps/sparc/sparc64/dl-machine.h
41012 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41013
ff9f1c5f
DM
41014 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
41015 lazy binding.
48e2e132 41016 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
41017 undefined symbol errors.
41018
48e2e132 41019 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
41020 DT_NEEDED entries.
41021
e80d6f94
MM
410222012-04-05 Michael Matz <matz@suse.de>
41023
41024 [BZ #13592]
41025 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
41026
349fa79f
AJ
410272012-04-05 Andreas Jaeger <aj@suse.de>
41028
41029 [BZ #13908]
41030 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
41031 comment.
41032
f402708f
KK
410332012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41034
41035 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
41036 which ROUND is no valid rounding mode.
41037
2ecccfc9
KK
410382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41039
41040 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
41041 read again.
41042 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
41043
8a53f50f
KK
410442012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41045
41046 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
41047 an exception using FPU order intentionally.
41048
410492012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41050
41051 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
41052 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
41053 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
41054 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
41055
d653abb7
SJ
410562012-04-05 Simon Josefsson <simon@josefsson.org>
41057
41058 [BZ #12340]
41059 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
41060 EINVAL when BUFLEN is too smal.
41061
c3b1bf7d
TS
410622012-04-05 Thomas Schwinge <thomas@codesourcery.com>
41063
41064 [BZ #13553]
41065 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
41066 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
41067
b1aa60f3
AJ
410682012-04-03 Andreas Jaeger <aj@suse.de>
41069
c3b1bf7d 41070 [BZ #13938]
67f60a26
AJ
41071 * manual/setjmp.texi (System V contexts): Fix sentence.
41072
b1aa60f3
AJ
41073 [BZ #13926]
41074 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
41075 New macro for this case.
41076 [!__GNUC__] (__bswap_64): New inline function for this case.
41077 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41078 * bits/byteswap.h: Likewise.
41079 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
41080 ull, guard with __GLIBC_HAVE_LONG_LONG.
41081
41082 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
41083 __GLIBC_HAVE_LONG_LONG.
41084
41085 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
41086 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
41087
39c59c35
TMQMF
410882012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41089
41090 [BZ #13691]
41091 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
41092 inptr and inend, rather than using last_ch.
41093
135ffda8
DM
410942012-04-02 David S. Miller <davem@davemloft.net>
41095
41096 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
41097 * stdio-common/printf-parse.h (read_int): Change return type to
41098 'int', return -1 on INT_MAX overflow.
41099 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
41100 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
41101 overflows INT_MAX. Check for overflow of in-format-string precision
41102 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
41103 SIZE_MAX not INT_MAX for integer overflow test.
41104 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
41105 skip the construct in the format string but do not record anything.
41106 * stdio-common/bug22.c: Adjust to test both width/prevision
41107 INT_MAX overflow as well as total length INT_MAX overflow. Check
41108 explicitly for proper errno values.
41109
228c019e
TS
411102012-04-02 Thomas Schwinge <thomas@codesourcery.com>
41111
302cadd3
TS
41112 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
41113 CHAR_MAX.
41114 * string/test-strcmp.c [! WIDE]: Likewise.
41115 * time/tst-mktime2.c: Likewise for INT_MAX.
41116 * string/test-string.h: #include <sys/param.h> for MIN.
41117
228c019e
TS
41118 * csu/init-first.c (__libc_init_first): Call __ctype_init.
41119 * sysdeps/i386/init-first.c (init): Likewise.
41120 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41121 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41122 * sysdeps/sh/init-first.c (init): Likewise.
41123
cfa633f5
UD
411242012-04-01 Ulrich Drepper <drepper@gmail.com>
41125
41126 * po/ru.po: Update from translation team.
d1635ef8 41127 * po/vi.po: Likewise.
cfa633f5 41128
6cd0a5ea
SP
411292012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41130
41131 * resolv/nss_dns/dns-host.c: Merge copyright years.
41132
4b43400f
LD
411332012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41134
41135 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41136 Optimize memcpy with prefetch if
41137 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
41138 src, dst pointers have unequal 16 byte alignments.
41139
48c41d04
SP
411402012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41141
41142 [BZ #13928]
41143 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41144 from a CNAME entry and return the minimum ttl for the query.
41145 (gaih_getanswer_slice): Likewise.
41146
b8dc394d
JL
411472012-03-30 Jeff Law <law@redhat.com>
41148
41149 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41150 due to long keys.
41151 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41152 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41153
2f5a5ed0
JL
41154 * resolv/nss_dns/dns-host.c: Update copyright year.
41155
1d39e359
UD
411562012-03-30 Ulrich Drepper <drepper@gmail.com>
41157
c030f70c 41158 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 41159 requests to save a system call. Fix check that all bytes are sent.
c030f70c 41160
1d39e359
UD
41161 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41162 comments for sendmmsg.
41163
411642012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
41165
41166 [BZ #13691]
41167 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41168 with only 1 character between 0x0041 and 0x01b0.
41169 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41170 * wcsmbs/tst-mbsnrtowcs.c: New file.
41171
20fde227
DM
411722012-03-29 David S. Miller <davem@davemloft.net>
41173
41174 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41175 small copies by hand.
41176
984a4237
JL
411772012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41178
41179 [BZ #13761]
57f41c40
AS
41180 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41181 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41182 group memberships.
984a4237 41183
18c9d62b
DM
411842012-03-28 David S. Miller <davem@davemloft.net>
41185
88d85d4f
DM
41186 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41187 that branches into memcpy.
41188 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41189 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41190 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41191 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41192 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41193 bits.
41194 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41195 implementation too.
41196 * sysdeps/sparc/mempcpy.S: New file.
41197
e5aa83e1
DM
41198 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41199 the IFUNC routine in the libc case.
41200 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41201
88570753
DM
41202 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41203 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41204 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41205 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41206 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41207 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41208 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41209 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41210
249d7567
DM
41211 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41212 loop to 256 bytes instead of 64 bytes and fix test signedness.
41213
18c9d62b
DM
41214 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41215 * sysdeps/sparc/sparc32/Makefile: rather than here...
41216 * sysdeps/sparc/sparc64/Makefile: and here.
41217
05f3d1f6
UD
412182012-03-28 Ulrich Drepper <drepper@gmail.com>
41219
41220 * malloc/mallocbug.c: Avoid warnings about unused variables.
41221
86ae07a8
JL
412222012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41223
41224 [BZ #13760]
41225 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41226 in the right place. Discard and retry query if response is
41227 larger than input buffer size.
41228
41bf21a1
JM
412292012-03-28 Joseph Myers <joseph@codesourcery.com>
41230
d6270972
JM
41231 [BZ #369]
41232 [BZ #2678]
41233 [BZ #3866]
41234 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41235 x for large integer exponent.
41236 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41237 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
41238 sign of result as needed afterwards.
41239 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41240 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41241 result for underflowing pow the same as for overflow.
41242 (__kernel_standard_l): Handle powl overflow and underflow here
41243 rather than calling __kernel_standard.
41244 * math/libm-test.inc (pow_test): Add more tests.
41245
414fca03 41246 [BZ #3868]
41bf21a1
JM
41247 [BZ #13879]
41248 [BZ #13910]
41249 [BZ #13911]
41250 [BZ #13912]
41251 [BZ #13913]
41252 [BZ #13915]
41253 [BZ #13916]
41254 [BZ #13917]
41255 [BZ #13918]
41256 [BZ #13919]
41257 [BZ #13920]
41258 [BZ #13921]
41259 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41260 * sysdeps/ieee754/k_standard.c: Include <float.h>.
41261 (__kernel_standard_l): New function.
41262 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41263 __kernel_standard.
41264 * math/w_acosl.c (__acosl): Likewise.
41265 * math/w_asinl.c (__asinl): Likewise.
41266 * math/w_atan2l.c (__atan2l): Likewise.
41267 * math/w_atanhl.c (__atanhl): Likewise.
41268 * math/w_coshl.c (__coshl): Likewise.
41269 * math/w_exp10l.c (__exp10l): Likewise.
41270 * math/w_exp2l.c (__exp2l): Likewise.
41271 * math/w_fmodl.c (__fmodl): Likewise.
41272 * math/w_hypotl.c (__hypotl): Likewise.
41273 * math/w_j0l.c (__j0l, __y0l): Likewise.
41274 * math/w_j1l.c (__j1l, __y1l): Likewise.
41275 * math/w_jnl.c (__jnl, __ynl): Likewise.
41276 * math/w_lgammal.c (__lgammal): Likewise.
41277 * math/w_log10l.c (__log10l): Likewise.
41278 * math/w_log2l.c (__log2l): Likewise.
41279 * math/w_logl.c (__logl): Likewise.
41280 * math/w_powl.c (__powl): Likewise.
41281 * math/w_remainderl.c (__remainderl): Likewise.
41282 * math/w_scalbl.c (sysv_scalbl): Likewise.
41283 * math/w_sinhl.c (__sinhl): Likewise.
41284 * math/w_sqrtl.c (__sqrtl): Likewise.
41285 * math/w_tgammal.c (__tgammal): Likewise.
41286 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41287 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41288 * math/libm-test.inc (acos_test): Add more tests.
41289 (acosh_test): Likewise.
41290 (asin_test): Likewise.
41291 (atanh_test): Likewise.
41292 (exp_test): Likewise.
41293 (exp10_test): Likewise.
41294 (exp2_test): Likewise.
41295 (expm1_test): Likewise.
41296 (lgamma_test): Likewise.
41297 (log_test): Likewise.
41298 (log10_test): Likewise.
41299 (log1p_test): Likewise.
41300 (log2_test): Likewise.
41301 (pow_test): Do not allow some spurious overflow exceptions.
41302 (sqrt_test): Add more tests.
41303 (tgamma_test): Likewise.
41304 (y0_test): Likewise.
41305 (y1_test): Likewise.
41306 (yn_test): Likewise.
41307
dd62fda6
AB
413082012-03-27 Anton Blanchard <anton@samba.org>
41309
41310 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41311 MAP_HUGETLB.
41312 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41313 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41314 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41315
1e3cdfda
AJ
413162012-03-27 David S. Miller <davem@davemloft.net>
41317
b855ab85
DM
41318 * conform/Makefile: Run run-conformtest.sh using $(BASH).
41319
1e3cdfda
AJ
41320 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41321 have-as-vis3 check.
41322
413232012-03-27 Andreas Jaeger <aj@suse.de>
41324
41325 * sysdeps/x86_64/elf/configure.in: Moved to ...
41326 * sysdeps/x86_64/configure.in: ... here.
41327 * sysdeps/x86_64/elf/start.S: Moved to ...
41328 * sysdeps/x86_64/start.S: ... here.
41329 * sysdeps/x86_64/elf/configure: Delete.
41330
41331 * sysdeps/x86_64/configure.in: Merge contents from
41332 sysdeps/i386/configure.in (without i686 check).
41333
41334 * sysdeps/i386/elf/Versions: Merge into ...
41335 * sysdeps/i386/Versions: ... this.
41336 * sysdeps/i386/elf/Versions: Delete file.
41337 * sysdeps/i386/elf/start.S: Moved to ...
41338 * sysdeps/i386/start.S: ...here.
41339 * sysdeps/i386/elf/configure.in: Merge into...
41340 * sysdeps/i386/configure.in: ...here.
41341 * sysdeps/i386/elf/configure.in: Delete file.
41342 * sysdeps/i386/elf/configure: Delete file.
41343
41344 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41345 * debug/backtracesyms.c: ... here.
41346 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41347 * debug/backtracesymsfd.c: ... here.
41348 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41349 * sysdeps/generic/ifunc-sel.h: ... here.
41350
41351 * sysdeps/unix/i386/start.c: Delete file.
41352 * sysdeps/unix/sparc/start.c: Delete file.
41353 * sysdeps/unix/start.c: Delete file.
41354
41355 * sysdeps/sh/elf/configure.in: Moved to ...
41356 * sysdeps/sh/configure.in: ... here.
41357 * sysdeps/sh/elf/start.S: Moved to ...
41358 * sysdeps/sh/start.S: ... here.
41359 * sysdeps/sh/elf/configure: Delete file.
41360
41361 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41362 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41363 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41364 * sysdeps/powerpc/powerpc64/entry.h: ... here.
41365 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41366 * sysdeps/powerpc/powerpc64/start.S: here.
41367 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41368 * sysdeps/powerpc/powerpc64/Makefile: ... this.
41369 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41370 * sysdeps/powerpc/powerpc64/configure.in: ... this.
41371 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41372
41373 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41374 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41375 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41376 * sysdeps/powerpc/powerpc32/start.S: ... here.
41377 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41378 * sysdeps/powerpc/powerpc32/configure.in: ... this.
41379 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41380
41381 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41382 * sysdeps/powerpc/ifunc-sel.h: ... here.
41383 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41384 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41385
41386 * sysdeps/sparc/elf/configure.in: Moved to ...
41387 * sysdeps/sparc/configure.in: ... here.
41388 * sysdeps/sparc/elf/configure: Delete file.
41389 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41390 * sysdeps/sparc/sparc32/start.S: ... here.
41391 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41392 * sysdeps/sparc/sparc64/start.S: ... here.
41393 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41394 * sysdeps/sparc/sparc32/Makefile: ... this.
41395 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41396 * sysdeps/sparc/sparc64/Makefile: ... this.
41397
41398 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41399 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41400 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41401 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41402 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41403 * sysdeps/s390/s390-32/setjmp.S: ... here.
41404 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41405 * sysdeps/s390/s390-32/configure.in: ... here.
41406 * sysdeps/s390/s390-32/elf/configure: Delete file.
41407 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41408 * sysdeps/s390/s390-32/start.S: ... here.
41409
41410 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41411 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41412 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41413 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41414 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41415 * sysdeps/s390/s390-64/setjmp.S: ... here.
41416 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41417 * sysdeps/s390/s390-64/configure.in: ... here
41418 * sysdeps/s390/s390-64/elf/configure: Delete file.
41419 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41420 * sysdeps/s390/s390-64/start.S: ... here.
41421 * sysdeps/s390/s390-64/elf/configure: Delete.
41422
41423 * configure.in: Remove support for elf directories in sysdeps.
41424
41425 * configure: Regenerated.
41426 * sysdeps/i386/configure: Regenerated.
41427 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41428 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41429 * sysdeps/s390/s390-32/configure: Regenerated.
41430 * sysdeps/s390/s390-64/configure: Regenerated.
41431 * sysdeps/sh/configure: Regenerated.
41432 * sysdeps/sparc/configure: Regenerated.
41433 * sysdeps/x86_64/configure: Regenerated.
41434
a3f61311
AS
414352012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41436
c876e002
AS
41437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41438
a3f61311
AS
41439 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41440 denormal result into account.
41441
ac4c54f0
RM
414422012-03-25 Roland McGrath <roland@hack.frob.com>
41443
41444 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41445 Reported by Allan McRae <allan@archlinux.org>.
41446
6a9b9c02
JL
414472012-03-23 Jeff Law <law@redhat.com>
41448
41449 * nss/getnssent.c (__nss_getent): Fix typo.
41450
4c42a0c1
DM
414512012-03-23 David S. Miller <davem@davemloft.net>
41452
41453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41454
1532c7ac
L
414552012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41456
41457 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41458 to pad to uint64_t for each field.
41459 (dl_tls_index): Replace unsigned long with uint64_t.
41460
3ff42526
PP
414612012-03-23 Daniel Jacobowitz <dmj@google.com>
41462 Paul Pluzhnikov <ppluzhnikov@google.com>
41463
41464 [BZ #6528]
41465 * grp/Makefile (otherlibs): Don't set it.
41466 * inet/Makefile (otherlibs): Likewise.
41467 * login/Makefile (otherlibs): Likewise.
41468 * nscd/Makefile (otherlibs): Likewise.
41469 * posix/Makefile (otherlibs): Likewise.
41470 * pwd/Makefile (otherlibs): Likewise.
41471 * rt/Makefile (otherlibs): Likewise.
41472 * sunrpc/Makefile (otherlibs): Likewise.
41473 * nss/Makefile (otherlibs): Likewise.
41474 Add libnss_files to routines and static-only-routines.
41475 ($(objpfx)getent): Remove rule.
41476 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41477 static-only-routines.
41478
7c69cd14
JM
414792012-03-22 Joseph Myers <joseph@codesourcery.com>
41480
41481 [BZ #13892]
41482 * math/s_cexp.c: Include <float.h>.
41483 (__cexp): Handle exp result overflowing not necessarily
41484 overflowing both real and imaginary parts of result.
41485 * math/s_cexpf.c: Likewise.
41486 * math/s_cexpl.c: Likewise.
41487 * math/libm-test.inc (cexp_test): Add more tests.
41488 * sysdeps/i386/fpu/libm-test-ulps: Update.
41489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41490
81b035fe
L
414912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41492
41493 * include/link.h (ELFW): New macro.
41494 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41495 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41496
1da7940c
L
414972012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41498
41499 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41500 with uint64_t.
41501
b749dbb9
L
415022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41503
41504 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41505 declaration.
41506 (struct La_x32_retval): Likewise.
41507
2ff87f3f
L
415082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41509
41510 * sysdeps/x86_64/preconfigure.in: New file.
41511 * sysdeps/x86_64/preconfigure: New generated file.
41512
c0df8e69
JM
415132012-03-22 Joseph Myers <joseph@codesourcery.com>
41514
48e44791
JM
41515 [BZ #13824]
41516 * math/e_exp2l.c: Include <float.h>.
41517 (__ieee754_exp2l): Handle overflow and underflow cases
41518 separately. Only pass fractional part of argument to
41519 __ieee754_expl.
41520 * math/libm-test.inc (exp2_test): Add more tests.
41521
c0df8e69
JM
41522 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41523 negating x to take absolute value.
41524 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41525 Likewise.
41526 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41527 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41528 Likewise.
41529 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41530 computing low part if x was negated.
41531 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41532
c8e43ba7
L
415332012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41534
41535 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41536 la_x32_gnu_pltexit.
41537 (pltexit): Cast int_retval to ptrdiff_t.
41538 * elf/tst-auditmod3b.c: Likewise.
41539 * elf/tst-auditmod4b.c: Likewise.
41540 * elf/tst-auditmod5b.c: Likewise.
41541 * elf/tst-auditmod6b.c: Likewise.
41542 * elf/tst-auditmod6c.c: Likewise.
41543 * elf/tst-auditmod7b.c: Likewise.
41544
41545 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41546 and x32_gnu_pltexit.
41547
41548 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41549 __ELF_NATIVE_CLASS.
41550 (La_x32_regs): New macro.
41551 (La_x32_retval): Likewise.
41552 (la_x32_gnu_pltenter): New function prototype.
41553 (la_x32_gnu_pltexit): Likewise.
41554
7998fa78
AS
415552012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41556
dcb33988
AS
41557 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41558 exponent.
41559
233fc563
AS
41560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41561
7998fa78
AS
41562 * configure.in (libc_cv_cc_nofma): Check for option to disable
41563 generation of FMA instructions.
41564 * configure: Regenerate.
41565 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41566 * sysdeps/ieee754/dbl-64/Makefile: New file.
41567 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41568 Remove brandred-fma4.
41569 (CFLAGS-brandred-fma4.c): Remove.
41570 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41571 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41572 define.
41573 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41574 define.
41575
8e95c99a
L
415762012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41577
41578 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41579 LLONG_MAX != LONG_MAX.
41580 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41581 (_fitoa_word): Likewise.
41582 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41583 LLONG_MAX != LONG_MAX.
41584 * stdio-common/_itowa.h: Include <_itoa.h>.
41585 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41586 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41587 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41588 only if not defined.
41589 (_ITOA_WORD_TYPE): Likewise.
41590 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41591 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41592
6f4db457
DM
415932012-03-21 David S. Miller <davem@davemloft.net>
41594
41595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41596
7785fe5a
L
415972012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41598
41599 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41600 of x86_64 when setting libc_cv_slibdir, libdir and
41601 libc_cv_localedir.
41602 * sysdeps/unix/sysv/linux/configure: Regenerated.
41603
4535cd55
JM
416042012-03-21 Joseph Myers <joseph@codesourcery.com>
41605
41606 * manual/lang.texi (Old Varargs): Remove section.
41607 (How Variadic): Update menu.
41608 (va_start): Do not mention varargs.h.
41609
17228132
TS
416102012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41611 Joseph Myers <joseph@codesourcery.com>
41612
41613 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41614 link test.
41615 * configure: Regenerated.
41616
8149f976
TS
416172012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41618
05f3d1f6
UD
41619 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41620 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41621 conformtest.pl
8149f976 41622
1a4ac776
JM
416232012-03-21 Joseph Myers <joseph@codesourcery.com>
41624
be22ce65
JM
41625 * NOTES: Remove.
41626 * Makefile (files-for-dist): Remove NOTES.
41627 (NOTES): Remove rule.
41628 * README: Don't refer to NOTES.
41629 * manual/creature.texi: Don't include macros.texi.
41630 * manual/intro.texi (creature.texi): Remove comment referring to
41631 NOTES.
41632
40b601fb
JM
41633 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41634 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41635 * configure: Regenerated.
41636 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41637 LIBC_TRY_CC_OPTION.
41638 (libc_cv_as_i686): Likewise.
41639 (libc_cv_cc_avx): Likewise.
41640 (libc_cv_cc_sse2avx): Likewise.
41641 (libc_cv_cc_fma4): Likewise.
41642 (libc_cv_cc_novzeroupper): Likewise.
41643 * sysdeps/i386/configure: Regenerated.
41644
1a4ac776
JM
41645 [BZ #13883]
41646 * sysdeps/i386/fpu/s_cexp.S: Remove.
41647 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41648 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41649 * math/libm-test.inc (cexp_test): Add more tests.
41650 * sysdeps/i386/fpu/libm-test-ulps: Update.
41651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41652
a458e7fe
AM
416532012-03-21 Allan McRae <allan@archlinux.org>
41654
41655 * timezone/Makefile: Do not install iso3166.tab and zone.tab
41656
0cb7efc5
JM
416572012-03-21 Joseph Myers <joseph@codesourcery.com>
41658
41659 [BZ #13871]
41660 * math/w_exp2.c: Do not include <float.h>.
41661 (o_threshold, u_threshold): Remove.
41662 (__exp2): Calculate result before checking finiteness and calling
41663 __kernel_standard.
41664 * math/w_exp2f.c: Likewise.
41665 * math/w_exp2l.c: Likewise.
41666 * math/libm-test.inc (exp2_test): Require overflow exception for
41667 1e6 input.
2460d3aa
JM
41668
41669 [BZ #3866]
41670 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41671 range of signed 64-bit integers before using fistpll. Remove
41672 checks for whether integers fit in mantissa bits.
41673 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41674 the range of signed 32-bit integers before using fistpl. Remove
41675 checks for whether integers fit in mantissa bits.
41676 * sysdeps/i386/fpu/e_powl.S (p64): New object.
41677 (__ieee754_powl): Test for y outside the range of signed 64-bit
41678 integers before using fistpll. Reduce 64-bit values to 63-bit
41679 ones as needed.
41680 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41681 divide-by-zero is raised for zero to large negative powers.
41682 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41683 (__ieee754_powl): Test for y outside the range of signed 64-bit
41684 integers before using fistpll. Reduce 64-bit values to 63-bit
41685 ones as needed.
41686 * math/libm-test.inc (pow_test): Add more tests.
41687
eb96ffb0
L
416882012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41689
41690 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41691 <stdio-common/_itoa.h>.
41692 * debug/segfault.c: Likewise.
41693 * elf/dl-cache.c: Likewise.
41694 * elf/dl-minimal.c: Likewise.
41695 * elf/dl-misc.c: Likewise.
41696 * elf/dl-sysdep.c: Likewise.
41697 * elf/dl-version.c: Likewise.
41698 * elf/rtld.c: Likewise.
41699 * hurd/hurdsock.c: Likewise.
41700 * hurd/lookup-retry.c: Likewise.
41701 * malloc/malloc.c: Likewise.
41702 * malloc/mtrace.c: Likewise.
41703 * nscd/nscd_getgr_r.c: Likewise.
41704 * nscd/nscd_getpw_r.c: Likewise.
41705 * nscd/nscd_getserv_r.c: Likewise.
41706 * posix/getopt_init.c: Likewise.
41707 * posix/wordexp.c: Likewise.
41708 * stdio-common/_itoa.c: Likewise.
41709 * stdio-common/printf_fphex.c: Likewise.
41710 * stdio-common/vfprintf.c: Likewise.
41711 * string/_strerror.c: Likewise.
41712 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41713 * sysdeps/i386/i686/hp-timing.h: Likewise.
41714 * sysdeps/mach/_strerror.c: Likewise.
41715 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41716 * sysdeps/mach/hurd/sethostid.c: Likewise.
41717 * sysdeps/mach/hurd/xmknodat.c: Likewise.
41718 * sysdeps/mach/xpg-strerror.c: Likewise.
41719 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41720 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41721 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41722 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41723 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41724 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41725 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41726 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41727 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41728 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41729 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41730 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41731 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41732 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41733 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41734 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41735 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41736 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41737 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41738 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41739 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41740
41741 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41742
41743 * stdio-common/_itoa.h: Moved to ...
41744 * sysdeps/generic/_itoa.h: Here.
41745
41746 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41747
41748 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41749 instead of "_itoa.h" and "_itowa.h".
41750 * stdio-common/vfprintf.: Likewise.
41751
d1af992d
L
417522012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41753
41754 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41755 <bits/wordsize.h>.
41756 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41757 (__signbit): Likwise.
41758 (llrintf): Likwise.
41759 (llrint): Likwise.
41760
114883e0
L
417612012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41762
41763 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41764 __WORDSIZE != 64.
41765
c135cc1b
JM
417662012-03-20 Joseph Myers <joseph@codesourcery.com>
41767
41768 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41769 OVERFLOW_EXCEPTION_OK.
41770 * math/libm-test.inc ("Philosophy"): Update comment about
41771 exception testing.
41772 (OVERFLOW_EXCEPTION): Define.
41773 (OVERFLOW_EXCEPTION_OK): Likewise.
41774 (INVALID_EXCEPTION_OK): Renumber.
41775 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41776 (IGNORE_ZERO_INF_SIGN): Likewise.
41777 (test_exceptions): Handle FE_OVERFLOW.
41778 (exp10_test): Expect overflow exceptions.
41779 (exp2_test): Likewise.
41780 (expm1_test): Likewise.
41781 (nextafter_test): Likewise.
41782 (pow_test): Likewise.
41783 (scalbn_test): Likewise.
41784 (scalbln_test): Likewise.
41785
95443d88
L
417862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41787
41788 * sysdeps/x86_64/bits/atomic.h
41789 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41790 64bit integer.
41791 (atomic_exchange_acq): Likewise.
41792 (__arch_exchange_and_add_body): Likewise.
41793 (__arch_add_body): Likewise.
41794 (atomic_add_negative): Likewise.
41795 (atomic_add_zero): Likewise.
41796
490df6c4
L
417972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41798
c2722551 41799 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
41800 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41801
5e52b189
L
418022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41803
41804 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41805 Check __x86_64__ instead of __WORDSIZE.
41806
a9879d4c
L
418072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41808
41809 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41810
5df98260
DM
418112012-03-19 David S. Miller <davem@davemloft.net>
41812
e1497744
DM
41813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41814
5df98260
DM
41815 * sysdeps/sparc/fpu/fenv_private.h: New file.
41816 * sysdeps/sparc/fpu/math_private.h: Use it.
41817 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41818 Remove.
57f41c40 41819 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
41820 (libc_feholdexcept_setroundl): Remove.
41821 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41822 Remove.
41823 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41824 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41825
b4c35121
L
418262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41827
41828 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41829 int64_t instead of long int.
41830 (INSERT_WORDS64): Likwise.
41831
56965fd7
L
418322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41833
41834 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41835 _Unwind_GetCFA return to _Unwind_Ptr first.
41836
83d1aec8
JM
418372012-03-19 Joseph Myers <joseph@codesourcery.com>
41838
1897ad44
JM
41839 [BZ #13629]
41840 * math/s_clog.c: Include <float.h>.
41841 (__clog): Scale large or subnormal inputs.
41842 * math/s_clogf.c: Likewise.
41843 * math/s_clogl.c: Likewise.
41844 * math/s_clog10.c: Include <float.h>.
41845 (M_LOG10_2): Define.
41846 (__clog10): Scale large or subnormal inputs.
41847 * math/s_clog10f.c: Likewise.
41848 * math/s_clog10l.c: Likewise.
41849 * math/libm-test.inc (clog_test): Add more tests.
41850 (clog10_test): Likewise.
41851 * sysdeps/i386/fpu/libm-test-ulps: Update.
41852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41853
7726d6a9
JM
41854 [BZ #11451]
41855 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41856 x and y.
41857 * math/libm-test.inc (atan2_test): Add another test.
41858
83d1aec8
JM
41859 * Makerules (common-objdir-compile): Remove.
41860 * sysdeps/unix/Makefile (config-generated): Do not add
41861 $(unix-generated) to variable.
41862 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41863 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41864 Remove rule.
41865 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41866 Likewise.
41867 [generic bits/local_lim.h] (before-compile): Do not append to
41868 variable.
41869 [generic bits/local_lim.h] (common-generated): Likewise.
41870 [generic sys/param.h] (before-compile): Do not append to variable.
41871 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41872 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41873 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41874 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41875 include.
41876 [generic sys/param.h] (sys/param.h-includes): Remove variable.
41877 [generic sys/param.h] (sys/param.h-includes): Remove rule.
41878 [generic sys/param.h] ($(addprefix
41879 $(common-objpfx),$(sys/param.h-includes))): Likewise.
41880 [generic sys/param.h] (common-generated): Do not append to
41881 variable.
41882 [generic sys/param.h] (sysdep_headers): Likewise.
41883 [generic bits/errno.h] (before-compile): Do not append to
41884 variable.
41885 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41886 rule.
41887 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41888 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41889 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41890 [generic bits/errno.h] (common-generated): Do not append to
41891 variable.
41892 [generic bits/ioctls.h] (before-compile): Do not append to
41893 variable.
41894 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41895 rule.
41896 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41897 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41898 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41899 rule.
41900 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41901 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41902 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41903 [generic bits/ioctls.h] (common-generated): Do not append to
41904 variable.
41905 [generic sys/syscall.h] (syscall.h): Remove variable.
41906 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41907 rule.
41908 [generic sys/syscall.h] (before-compile): Do not append to
41909 variable.
41910 [generic sys/syscall.h] (common-generated): Likewise.
41911 * sysdeps/unix/errnos-tmpl.c: Remove file.
41912 * sysdeps/unix/errnos.awk: Likewise.
41913 * sysdeps/unix/ioctls-tmpl.c: Likewise.
41914 * sysdeps/unix/ioctls.awk: Likewise.
41915 * sysdeps/unix/mk-local_lim.c: Likewise.
41916 * sysdeps/unix/snarf-ioctls: Likewise.
41917
4851a949
RH
419182012-03-19 Richard Henderson <rth@twiddle.net>
41919
bd37f2ee
RH
41920 * sysdeps/i386/fpu/fenv_private.h: New file.
41921 * sysdeps/i386/fpu/math_private.h: Use it.
41922 (math_opt_barrier, math_force_eval): Remove.
41923 (libc_feholdexcept_setround_53bit): Remove.
41924 (libc_feupdateenv_53bit): Remove.
41925 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41926 (math_opt_barrier, math_force_eval): Remove.
41927 (libc_feholdexcept): Remove.
41928 (libc_feholdexcept_setround): Remove.
41929 (libc_fetestexcept, libc_fesetenv): Remove.
41930 (libc_feupdateenv_test): Remove.
41931 (libc_feupdateenv, libc_feholdsetround): Remove.
41932 (libc_feresetround): Remove.
41933
d0adc922
RH
41934 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41935 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41936
0fe0f1f8
RH
41937 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41938 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41939 (libc_feupdateenv_testl): New.
41940 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41941 (libc_feupdateenv_testf): New.
41942 (libc_feupdateenv): Use libc_feupdateenv_test.
41943 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41944 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41945
eb92c487
RH
41946 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41947 (libc_feholdsetroundf, libc_feholdsetroundl): New.
41948 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41949 (libc_feresetround_noex): New.
41950 (libc_feresetround_noexf): New.
41951 (libc_feresetround_noexl): New.
41952 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41953 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41954 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41955 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41956 SET_RESTORE_ROUND.
41957 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41958 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41959 (__cos): Likewise.
41960 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41961 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41962 SET_RESTORE_ROUND_NOEX.
41963 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41964 SET_RESTORE_ROUND_NOEXF.
41965 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41966 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41967 (libc_feholdsetroundf): New.
41968 (libc_feresetround, libc_feresetroundf): New.
41969
7d2e8012
RH
41970 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41971 (libc_feholdexcept_setround_53bit): Convert from macro to function.
41972 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
41973
b4dabbb4
RH
41974 * sysdeps/generic/math_private.h: Include <fenv.h>.
41975 (default_libc_feholdexcept): New.
41976 (default_libc_feholdexcept_setround): New.
41977 (default_libc_fesetenv, default_libc_feupdateenv): New.
41978 (libc_feholdexcept): Only define if undefined.
41979 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
41980 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
41981 (libc_feholdexcept_setroundl): Likewise.
41982 (libc_feholdexcept_setround_53bit): Likewise.
41983 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41984 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
41985 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
41986 (libc_feupdateenv_53bit): Likewise.
41987 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
41988 (libc_feholdexcept): Convert from macro to inline function.
41989 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
41990 (libc_fesetenv, libc_feupdateenv): Likewise.
41991
4851a949
RH
41992 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41993 not previously defined.
41994 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41995 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41996 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41997 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41998 * sysdeps/ieee754/flt-32/math_private.h: New file.
41999 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
42000 math_private.h below SET_FLOAT_WORD.
42001 (__isnan, __isinf_ns, __finite): Remove.
42002 (__isnanf, __isinf_nsf, __finitef): Remove.
42003
e79d442e
AS
420042012-03-18 Andreas Schwab <schwab@linux-m68k.org>
42005
42006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42007
90b80344
DM
420082012-03-17 David S. Miller <davem@davemloft.net>
42009
42010 [BZ #6471]
42011 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
42012 for 2.16.
42013
edc21804
DM
420142012-03-16 David S. Miller <davem@davemloft.net>
42015
77e927af
DM
42016 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
42017 warnings.
42018
374976dd
DM
42019 [BZ #6471]
42020 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
42021 properly.
42022 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
42023 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
42024 sysdep_routines when subdir is sysvipc.
42025 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
42026 __getshmlba helper.
42027
edc21804
DM
42028 * sysdeps/sparc/fpu/libm-test/ulps: Update.
42029
473c3ef3
L
420302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42031
42032 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
42033 [__LP64__].
42034
eb0f39b6
L
420352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42036
42037 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
42038 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
42039 (__lround): Renamed to ...
42040 (__llround): This. Replace long int with long long int.
42041 Define lround functions as aliases of llround functions.
42042 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
42043
6b6cd74b
L
420442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42045
42046 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
42047 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
42048 adresses to uintptr_t. Replace "long int" and "unsigned long
42049 int" with "greg_t" on va_arg.
42050
f1a77b01
L
420512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42052
42053 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
42054 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
42055
42056 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
42057 Move e_machine check before EI_CLASS check. Handle x32
42058 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
42059 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
42060 SKIP_EM_IA_64 and include
42061 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
42062
42063 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
42064 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
42065 (add_system_dir): New macro.
42066
42067 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
42068 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
42069
11b90b9f
JM
420702012-03-16 Joseph Myers <joseph@codesourcery.com>
42071
c36e1d23
JM
42072 [BZ #2551]
42073 [BZ #2552]
42074 [BZ #2553]
42075 [BZ #2554]
42076 [BZ #2562]
42077 [BZ #2563]
42078 [BZ #2565]
42079 [BZ #2566]
42080 [BZ #2576]
42081 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
42082 (y0): Likewise.
42083 * math/w_j0f.c (j0f): Likewise.
42084 (y0f): Likewise.
42085 * math/w_j0l.c (__j0l): Likewise.
42086 (__y0l): Likewise.
42087 * math/w_j1.c (j1): Likewise.
42088 (y1): Likewise.
42089 * math/w_j1f.c (j1f): Likewise.
42090 (y1f): Likewise.
42091 * math/w_j1l.c (__j1l): Likewise.
42092 (__y1l): Likewise.
42093 * math/w_jn.c (jn): Likewise.
42094 (yn): Likewise.
42095 * math/w_jnf.c (jnf): Likewise.
42096 (ynf): Likewise.
42097 * math/w_jnl.c (__jnl): Likewise.
42098 (__ynl): Likewise.
42099 * math/libm-test.inc (j0_test): Add more tests.
42100 (j1_test): Likewise.
42101 (jn_test): Likewise. Add trailing semicolon to existing test.
42102 (y0_test): Likewise.
42103 (y1_test): Likewise.
42104 * sysdeps/i386/fpu/libm-test-ulps: Update.
42105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42106
11b90b9f
JM
42107 [BZ #13851]
42108 [BZ #13854]
42109 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
42110 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
42111 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
42112 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
42113 (__tanl): Set errno for infinite argument.
42114 * sysdeps/i386/fpu/mptan.c: Remove.
42115 * sysdeps/i386/fpu/s_tan.S: Likewise.
42116 * sysdeps/i386/fpu/s_tanl.S: Likewise.
42117 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
42118 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
42119 * math/libm-test.inc (tan_test): Add more tests and enable more
42120 tests for double and long double.
42121 * sysdeps/i386/fpu/libm-test-ulps: Update.
42122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42123
6a1bd2a1
JK
421242012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
42125
42126 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42127 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42128
10a803e0
RM
421292012-03-16 Roland McGrath <roland@hack.frob.com>
42130
42131 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42132 * configure.in: Use it for both main tree and add-ons.
42133 * configure: Regenerated.
42134
f196c7f7
L
421352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42136
42137 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42138
8848d99d
JM
421392012-03-16 Joseph Myers <joseph@codesourcery.com>
42140
96cbe7f4
JM
42141 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42142 in comment.
42143
8848d99d
JM
42144 [BZ #13851]
42145 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42146 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42147 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42148 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42149 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42150 infinite argument.
42151 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42152 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42153 != 0 for prec == 2.
42154 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42155 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42156 * sysdeps/i386/fpu/s_cosl.S: Likewise.
42157 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42158 * sysdeps/i386/fpu/s_sinl.S: Likewise.
42159 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42160 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42161 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42162 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42163 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42164 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42165 * math/libm-test.inc (cos_test): Add more tests and enable more
42166 tests for long double.
42167 (sin_test): Likewise.
42168 (sincos_test): Likewise.
42169 * sysdeps/i386/fpu/libm-test-ulps: Update.
42170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42171
dd7f4703
DM
421722012-03-16 David S. Miller <davem@davemloft.net>
42173
42174 * sysdeps/sparc/fpu/math_private.h: New file.
42175
006f1daa
DM
421762012-03-15 David S. Miller <davem@davemloft.net>
42177
c0c83bc8
DM
42178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42179 file.
e6a62e18 42180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
42181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42182 file.
e6a62e18
DM
42183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42184 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42185 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42186 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42187 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42188 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42189 sysdep routines.
42190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42191
88cb87d9
DM
42192 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42193 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42194
006f1daa 42195 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
42196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42197 sparc-ifunc.h
006f1daa 42198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
42199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42200 Likewise.
42201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42202 Likewise.
006f1daa
DM
42203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
42206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42207 Likewise.
006f1daa
DM
42208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
42212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42213 Likewise.
42214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42215 Likewise.
006f1daa
DM
42216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42220 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42221 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42222 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42223 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42224 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42225 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42226 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42227 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42228 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42229 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42230 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42231 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42232 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42233 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42234 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42235 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42236 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42237 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42238 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42239 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42240
11e0098e
AS
422412012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42242
42243 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42244 scaling.
42245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42246
e85b09d0
AJ
422472012-03-15 Andreas Jaeger <aj@suse.de>
42248
42249 [BZ #13852]
42250 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42251 ieee754/flt-32 implementation for sin, cos and sincos.
42252 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42253 * sysdeps/i386/fpu/s_cosf.S: Likewise.
42254 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42255 * sysdeps/i386/fpu/s_sinf.S: Likewise.
42256 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42257 ieee754/flt-32 implementation for tan.
42258
42259 * math/libm-test.inc (cos_test): Enable some large input tests for
42260 float as well
42261 (sin_test): Likewise.
42262 (sincos_test): Likewise.
42263 (tan_test): Add tests for large input.
42264
42265 * sysdeps/i386/fpu/libm-test-ulps: Update.
42266
81c64153
AJ
422672012-03-15 Andreas Jaeger <aj@suse.de>
42268
42269 [BZ #13658]
42270 * math/libm-test.inc (cos_test): Add more test cases.
42271 (sin_test): Likewise.
42272 (sincos_test): Likewise.
42273
7bbfa5c6
AJ
422742012-03-15 Andreas Jaeger <aj@suse.de>
42275
42276 [BZ #13837]
42277 * math/libm-test.inc (cos_test): Add a test case for large input
42278 value.
42279 (sin_test): Likewise.
42280 (sincos_test): Likewise.
42281
57f41c40
AS
422822012-03-15 Andreas Jaeger <aj@suse.de>
42283 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
42284
42285 [BZ #13658]
0671f479 42286 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
42287 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42288 * sysdeps/i386/fpu/branred.c: Likewise.
42289 * sysdeps/i386/fpu/dosincos.c: Likewise.
42290 * sysdeps/i386/fpu/mpa.c: Likewise.
42291 * sysdeps/i386/fpu/s_cos.S: Likewise.
42292 * sysdeps/i386/fpu/s_sin.S: Likewise.
42293 * sysdeps/i386/fpu/s_sincos.S: Likewise.
42294 * sysdeps/i386/fpu/sincos32.c: Likewise.
42295
42296 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42297 Define.
42298 (libc_feupdateenv_53bit): Define.
42299 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42300 Define.
42301 (libc_feupdateenv_53bit): Define.
42302
42303 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42304 53 bit (without extend i386 double precision).
42305
42306 * math/libm-test.inc (sincos_test): Add tests for large input.
42307 (sin): Likewise.
42308 (cos): Likewise.
42309
42310 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42311
9cad04ea
AS
423122012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42313
42314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42315
f7062b9a
DM
423162012-03-15 David S. Miller <davem@davemloft.net>
42317
42318 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42319 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42320 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42321 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42326 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42327 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42328 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42329 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42330 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42331 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42332 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
42333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42334 file.
f7062b9a 42335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
42336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42337 file.
f7062b9a 42338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
42339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42340 file.
f7062b9a 42341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
42342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42343 file.
f7062b9a
DM
42344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42345 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42346 fmin/fmax sysdep routines.
42347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42348
7bd951ff
DM
423492012-03-14 David S. Miller <davem@davemloft.net>
42350
559398ab
DM
42351 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42352 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42353 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42354 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42355 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42356 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42357 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42358 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42359 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42360 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42361 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42362 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42363 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42364 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42365 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42366 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42367 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42368 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42369 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42370 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42371 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42372 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42373 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42374 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42375 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42376 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42377 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42378 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42379 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42380 routines.
42381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42382 file.
559398ab 42383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
42384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42385 file.
559398ab 42386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
42387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42388 file.
559398ab 42389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
42390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42391 file.
559398ab 42392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
42393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42394 file.
559398ab 42395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
42396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42397 file.
42398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42399 file.
42400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42401 file.
42402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42403 file.
42404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42405 New file.
42406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42407 file.
42408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42409 file.
559398ab 42410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
42411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42412 file.
559398ab 42413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42415 file.
559398ab 42416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
42417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42418 file.
559398ab 42419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
42420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42421 VIS3 routines.
559398ab
DM
42422
42423 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42424 New file.
42425
5a1c1e32
DM
42426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42427
eae47a36
DM
42428 * sysdeps/sparc/configure.in: New file.
42429 * sysdeps/sparc/configure: Generate.
42430 * configure.in (libc_cv_sparc_as_vis3): Substitute.
42431 * configure: Regenerate.
42432 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42433 * config.make.in (have-as-vis3): New.
42434 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42435 available use -Av9d instead of -Av9a.
42436 * sysdeps/sparc/sparc64/Makefile: Likewise.
42437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
42438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42439 New file.
42440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42441 file.
42442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42443 New file.
42444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42445 file.
eae47a36
DM
42446 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42447 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42448 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42449 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42450 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42451
c0c83bc8
DM
42452 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42453 fzeros/fnegs to load 0x80000000 into a float register instead of
42454 using the stack.
7bd951ff
DM
42455 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42456
bd951ccb
JM
424572012-03-14 Joseph Myers <joseph@codesourcery.com>
42458
42459 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42460 bits/syscall.h.
42461 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42462 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42463 ($(inst_includedir)/bits/syscall.h): Remove rule.
42464 ($(objpfx)bits/syscall.d): Include instead of
42465 $(objpfx)syscall-list.d.
42466 (generated): Change syscall-list.h and syscall-list.d to
42467 bits/syscall.h and bits/syscall.d.
42468
bb4e6db2
RM
424692012-03-14 Roland McGrath <roland@hack.frob.com>
42470
42471 [BZ #13846]
42472 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42473
aa4a2ae1
JM
424742012-03-14 Joseph Myers <joseph@codesourcery.com>
42475
e456826d
JM
42476 [BZ #13841]
42477 * math/s_csqrt.c: Include <float.h>.
42478 (__csqrt): Scale large or subnormal inputs.
42479 * math/s_csqrtf.c: Likewise.
42480 * math/s_csqrtl.c: Likewise.
42481 * math/libm-test.inc (csqrt_test): Add more tests.
42482 * sysdeps/i386/fpu/libm-test-ulps: Update.
42483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42484
aa4a2ae1
JM
42485 [BZ #13840]
42486 * math/libm-test.inc (hypot_test): Add more tests.
42487
7c10fd35
DM
424882012-03-13 David S. Miller <davem@davemloft.net>
42489
42490 [BZ #13840]
42491 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42492 double-precision for the calculation instead of scaling.
42493
f453b98b
JM
424942012-03-13 Joseph Myers <joseph@codesourcery.com>
42495
42496 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42497 manipulate bits before adding and subtracting TWO52[sx].
42498 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42499 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42500 Likewise.
42501 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42502
09a3453f
DM
425032012-03-13 David S. Miller <davem@davemloft.net>
42504
8e59da90
DM
42505 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42506 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42507 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42508 rtld-global-offsets.h
42509 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42510
2a8ab7f2
DM
42511 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42512 large parameters.
42513
10f62770
DM
42514 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42515
5f0bdb18
DM
42516 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42517 'err' in the ifdef scope in which it is actually used.
42518
09a3453f
DM
42519 * nss/nss_db/db-init.c: Include string.h
42520
b4b2eb5e
DM
425212012-03-12 David S. Miller <davem@davemloft.net>
42522
98bb2f1c
DM
42523 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42524 masking out of the most significant byte of random value used.
42525 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42526 Fix coding style in previous change.
42527
b4b2eb5e
DM
42528 * sysdeps/unix/sysv/linux/kernel-features.h
42529 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42530 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42531 expression.
42532 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42533 later.
42534
6e226b09
DM
425352012-03-11 David S. Miller <davem@davemloft.net>
42536
a1bcbd40
DM
42537 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42538 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42539 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42540 for 'resultvar' otherwise things get truncated on 64-bit.
42541
cb9d6174
DM
42542 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42543 Fix masking out of the most significant byte of random value used.
42544
6e226b09
DM
42545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42546
058c132d
AS
425472012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42548
42549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42550
2d2cd515
DM
425512012-03-09 David S. Miller <davem@davemloft.net>
42552
42553 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42554 variables with appropriate CPP guards.
57f41c40
AS
42555 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42556 from the frame pointer, not the stack pointer. Correct layout
42557 comments. Fix test on resulting framesize and the management of
42558 the outregs buffer for pltexit. Preserve floating point return
42559 values across _dl_call_pltexit call.
2d2cd515
DM
42560 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42561 framesize and the management of the outregs buffer for pltexit.
42562 Preserve floating point return values across _dl_call_pltexit
42563 call.
57f41c40
AS
42564 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42565 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42566 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
42567 (print_exit): Fix format string for return register value.
42568
9a07f9d0
JM
425692012-03-10 Joseph Myers <joseph@codesourcery.com>
42570
42571 * sunrpc/Makefile (others): Add rpcgen.
42572 ($(objpfx)rpcgen): Remove special build rule and dependency on
42573 libc.
42574 * sunrpc/rpcgen.c: New file.
42575
547b5e30
PE
425762012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42577
c524201a
PE
42578 [BZ #13673]
42579 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42580 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42581 * sysdeps/i386/crti.S: Likewise.
42582 * sysdeps/i386/crtn.S: Likewise.
42583 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42584 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42585 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42586 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42587 * sysdeps/sh/crti.S: Likewise.
42588 * sysdeps/sh/crtn.S: Likewise.
42589 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42590
7b6235f2
PE
42591 [BZ #13673]
42592 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42593 with URL.
42594 * locale/programs/locfile-kw.gperf: Likewise.
42595 * locale/programs/charmap-kw.h: Regenerated.
42596 * locale/programs/locfile-kw.h: Likewise.
42597
547b5e30
PE
42598 [BZ #13673]
42599 * intl/plural.y: Replace FSF snail mail address with URL.
42600 * intl/plural.c: Regenerated.
42601
5f0a5dae
RH
426022012-03-09 Richard Henderson <rth@twiddle.net>
42603
42604 * include/math_private.h: Remove file.
42605 * math/math_private.h: Move file ...
42606 * sysdeps/generic/math_private.h: ... here.
42607
b8c03620
RH
42608 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42609 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42610 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42611
4e234f5d 42612 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
42613 and <math_private.h>.
42614 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42615 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42616 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42617 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42618 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42619 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42620 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42621 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42622 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42623 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42624 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42625 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42626 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42627 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42628 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42629 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42630 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42631 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42632 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42633 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42634 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42635 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42636 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42637 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42638 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42639 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42640 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42641 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42642 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42643 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42644 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42645 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42646 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42647 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42648 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42649 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42650 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42651 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42652 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42653 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42654 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42655 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42656 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42657 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42658 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42659 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42660 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42661 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42662 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42663 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42664 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42665 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42666 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42667 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42668 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42669 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42670 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42671 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42672 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42673 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42674 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42675 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42676 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42677 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42678 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42679 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42680 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42681 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42682 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42683 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42684 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42685 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42686 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42687 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42688 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42689 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42690 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42691 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42692 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42693 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42694 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42695 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42696 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42697 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42698 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42699 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42700 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42701 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42702 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42703 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42704 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42705 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42706 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42707 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42708 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42709 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42710 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42711 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42712 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42713 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42714 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42715 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42716 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42717 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42718 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42719 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42720 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42721 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42722 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42723 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42724 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42725 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42726 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42727 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42728 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42729 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42730 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42731 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42732 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42733 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42734 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42735 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42736 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42737 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42738 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42739 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42740 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42741 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42742 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42743 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42744 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42745 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42746 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42747 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42748 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42749 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42750 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42751 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42752 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42753 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42754 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42755 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42756 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42757 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42758 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42759 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42760 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42761 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42762 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42763 * sysdeps/ieee754/k_standard.c: Likewise.
42764 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42765 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42766 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42767 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42768 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42769 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42770 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42771 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42772 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42773 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42774 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42775 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42776 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42777 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42778 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42779 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42780 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42781 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42782 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42783 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42784 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42785 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42786 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42787 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42788 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42789 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42790 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42791 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42792 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42793 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42794 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42795 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42796 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42797 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42798 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42799 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42800 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42801 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42802 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42803 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42804 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42805 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42806 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42807 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42808 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42809 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42810 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42811 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42812 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42813 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42814 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42815 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42816 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42817 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42818 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42819 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42820 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42821 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42822 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42823 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42824 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42825 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42826 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42827 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42828 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42829 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42830 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42831 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42832 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42833 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42834 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42835 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42836 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42837 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42838 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42839 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42840 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42841 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42842 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42843 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42844 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42845 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42846 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42847 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42848 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42849 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42850 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42851 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42852 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42853 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42854 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42855 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42856 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42857 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42858 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42859 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42860 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42861 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42862 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42863 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42864 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42865 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42866 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42867 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42868 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42869 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42870 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42871 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42872 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42873 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42874 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42875 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42876 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42877 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42878 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42879 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42880 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42881 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42882 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42883 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42884 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42885 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42886 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42887 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42888 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42889 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42890 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42891 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42892 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42893 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42894 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42895 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42896 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42897 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42898 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42899 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42900 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42901 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42902 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42903 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42904 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42905 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42906 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42907 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42908 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42909 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42910 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42911 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42912 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42913 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42914 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42915 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42916 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42917 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42918 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42919 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42920 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42921 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42922 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42923 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42924 * sysdeps/ieee754/s_lib_version.c: Likewise.
42925 * sysdeps/ieee754/s_matherr.c: Likewise.
42926 * sysdeps/ieee754/s_signgam.c: Likewise.
42927 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42928 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42929 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42930 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42931 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42932 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42933 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42934 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42935 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42936 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42937 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42938 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42939 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42940 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42941 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42942 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42943 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42944 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42945 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42946 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42947 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 42948
1991fa03
JM
429492012-03-09 Joseph Myers <joseph@codesourcery.com>
42950
42951 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42952 * sunrpc/rpc_main.c: Likewise.
42953 * sunrpc/rpc_svcout.c: Likewise.
42954
60d6f5a6
DM
429552012-03-09 David S. Miller <davem@davemloft.net>
42956
42957 * include/math_private.h: New file.
42958
4962050e
JM
429592012-03-09 Joseph Myers <joseph@codesourcery.com>
42960
02a6f887
JM
42961 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42962 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42963 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42964 from <bits/socket_type.h>.
42965 (enum __socket_type): Don't define here.
42966 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42967 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42968 bits/socket_type.h.
42969
c6e013c1
JM
42970 [BZ #13566]
42971 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42972 checking __USE_GNU.
42973
4962050e
JM
42974 * Makerules ($(inst_includedir)/%.h): New rule.
42975 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
42976 (install-others): Remove variable setting.
42977 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
42978
38842f45
RH
429792012-03-08 Richard Henderson <rth@twiddle.net>
42980
67bb6da6
RH
42981 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
42982 from macro to inline function; merge with the
42983 !__LIBC_INTERNAL_MATH_INLINES version.
42984 (__ieee754_sqrtf): Likewise.
42985
15194b4b
RH
42986 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
42987 to inline function.
42988 (__rintf, __floor, __floorf): Likewise.
42989
64e21ede
RH
42990 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
42991 macro to inline function.
42992 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42993
38842f45
RH
42994 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42995 not <math/math_private.h>.
42996
c64bf5fe
DM
429972012-03-08 David S. Miller <davem@davemloft.net>
42998
42999 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
43000 copyright year.
43001 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
43002
82d86f28
TS
430032012-03-08 Thomas Schwinge <thomas@codesourcery.com>
43004
43005 * resolv/gai_misc.c (handle_requests): Fix struct timespec
43006 normalization.
43007 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
43008 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43009
aea5d727
UD
430102012-03-08 Ulrich Drepper <drepper@gmail.com>
43011
43012 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
43013 be defined individually, they must be defined as a block. Define
43014 S for printing a string instead of hidint the different by using a
43015 macro for adding the 'l'.
43016 * stdio-common/tst-fphex-wide.c: Adjust.
43017
70bca0a3
MP
430182012-03-07 Marek Polacek <polacek@redhat.com>
43019
43020 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
43021
65b81130
MP
430222012-03-08 Marek Polacek <polacek@redhat.com>
43023
43024 [BZ #13806]
43025 * stdio-common/Makefile (tests): Add tst-fphex-wide.
43026 * stdio-common/tst-fphex.c: Define a few macros to make the
43027 test reusable. Use them.
43028 * stdio-common/tst-fphex-wide.c: New file.
43029
07037eeb
JM
430302012-03-08 Joseph Myers <joseph@codesourcery.com>
43031
a7a93d50
JM
43032 [BZ #6911]
43033 * manual/macros.texi (gnusystems): New macro.
43034 (nongnusystems): Likewise.
43035 (gnulinuxhurdsystems): Likewise.
43036 (gnuhurdsystems): Likewise..
43037 (gnulinuxsystems): Likewise.
43038 * manual/charset.texi: Use new macros or @theglibc{} to refer to
43039 variants of the GNU system, not "GNU system".
43040 * manual/conf.texi: Likewise.
43041 * manual/errno.texi: Likewise. Update example of errno macro
43042 expansion.
43043 * manual/filesys.texi: Likewise.
43044 (getumask): Document as specific to GNU/Hurd.
43045 * manual/install.texi: Likewise. Reword some references to
43046 GNU/Linux.
43047 * manual/intro.texi: Likewise.
43048 * manual/io.texi: Likewise.
43049 (File Name Portability): Detail which constraints are inapplicable
43050 to all GNU systems and which are only inapplicable to GNU/Hurd.
43051 * manual/job.texi: Likewise.
43052 * manual/llio.texi: Likewise.
43053 (O_NOCTTY): Document as present on GNU/Linux.
43054 * manual/maint.texi: Likewise.
43055 * manual/memory.texi: Likewise.
43056 * manual/pattern.texi: Likewise.
43057 * manual/pipe.texi: Likewise.
43058 * manual/process.texi: Likewise.
43059 * manual/resource.texi: Likewise.
43060 (RUSAGE_CHILDREN): Remove statement about specifying a particular
43061 child on GNU/Hurd.
43062 * manual/setjmp.texi: Likewise.
43063 * manual/signal.texi: Likewise.
43064 * manual/startup.texi: Likewise.
43065 * manual/stdio.texi: Likewise.
43066 * manual/terminal.texi: Likewise.
43067 (ONLCR): Document as POSIX.
43068 (OXTABS): Document availability on GNU/Linux as XTABS.
43069 (ONOEOT): Document availability separately from other bits.
43070 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
43071 * manual/time.texi: Likewise.
43072 * manual/users.texi: Likewise.
43073 * INSTALL: Regenerated.
43074 * sysdeps/gnu/errlist.c: Regenerated.
43075
07037eeb
JM
43076 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
43077 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
43078 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
43079 puts.
43080 * configure: Regenerated.
43081
d1d3431a
JM
430822012-03-07 Joseph Myers <joseph@codesourcery.com>
43083
af6a1e37
JM
43084 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
43085 default includes instead of AC_HEADER_CHECK.
43086 * sysdeps/i386/configure: Regenerated.
43087
d1d3431a
JM
43088 [BZ #10716]
43089 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
43090 * math/s_cacoshf.c (__cacoshf): Likewise.
43091 * math/s_cacoshl.c (__cacoshl): Likewise.
43092 * math/s_casinh.c (__casinh): Set signs of result from argument.
43093 * math/s_casinhf.c (__casinhf): Likewise.
43094 * math/s_casinhl.c (__casinhl): Likewise.
43095 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
43096 (casinh_test): Add more tests.
43097 * sysdeps/i386/fpu/libm-test-ulps: Update.
43098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43099
482ff4da
UD
431002012-03-07 Ulrich Drepper <drepper@gmail.com>
43101
872fda05
UD
43102 * po/zh_TW.po: Update from translation team.
43103
a4300c7a
UD
43104 * login/Makefile (distribute): Remove variable.
43105 * catgets/Makefile: Likewise.
43106 * mach/Makefile: Likewise.
43107 * malloc/Makefile: Likewise.
43108 * misc/Makefile: Likewise.
43109 * iconv/Makefile: Likewise.
43110 * nscd/Makefile: Likewise.
43111 * hurd/Makefile: Likewise.
43112 * manual/Makefile: Likewise.
43113 * locale/Makefile: Likewise.
43114 * intl/Makefile: Likewise.
43115 * conform/Makefile: Likewise.
43116 * nss/Makefile: Likewise.
43117 * time/Makefile: Likewise.
43118 * soft-fp/Makefile: Likewise.
43119 * dirent/Makefile: Likewise.
43120 * gmon/Makefile: Likewise.
43121 * po/Makefile: Likewise.
43122 * rt/Makefile: Likewise.
43123 * socket/Makefile: Likewise.
43124 * math/Makefile: Likewise.
43125 * signal/Makefile: Likewise.
43126 * debug/Makefile: Likewise.
43127 * elf/Makefile: Likewise.
43128 * timezone/Makefile: Likewise.
43129 * stdlib/Makefile: Likewise.
43130 * iconvdata/Makefile: Likewise.
43131 * sunrpc/Makefile: Likewise.
43132 * io/Makefile: Likewise.
43133 * argp/Makefile: Likewise.
43134 * inet/Makefile: Likewise.
43135 * hesiod/Makefile: Likewise.
43136 * grp/Makefile: Likewise.
43137 * csu/Makefile: Likewise.
43138 * wctype/Makefile: Likewise.
43139 * crypt/Makefile: Likewise.
43140 * libio/Makefile: Likewise.
43141 * string/Makefile: Likewise.
43142 * nis/Makefile: Likewise.
43143 * resolv/Makefile: Likewise.
43144 * stdio-common/Makefile: Likewise.
43145 * wcsmbs/Makefile: Likewise.
43146 * dlfcn/Makefile: Likewise.
43147 * posix/Makefile: Likewise.
43148
3b7c4e74 43149 [BZ #6959]
482ff4da
UD
43150 * timezone/Makefile: Don't install timezone files, just the programs
43151 and scripts.
43152
f72ed77d
UD
431532012-03-06 Ulrich Drepper <drepper@gmail.com>
43154
a000466f
UD
43155 * nss/databases.def: Add missing gshadow entry.
43156
f72ed77d
UD
43157 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
43158
a53b7a4e
MP
431592012-03-06 Marek Polacek <polacek@redhat.com>
43160
43161 [BZ #13726]
43162 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43163 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43164 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43165 * stdio-common/tst-long-dbl-fphex.c: New file.
43166
e9258400
DM
431672012-03-06 David S. Miller <davem@davemloft.net>
43168
43169 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43170 (set_obp_int): New function.
43171 (get_obp_int): New function.
43172 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
43173 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43174 Avoid unused variable warnings on 'val' and use builtin_expect.
43175 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43176 __builtin_expect.
e9258400
DM
43177 (INLINE_CLONE_SYSCALL): Likewise.
43178
3bd2c723
DM
431792012-03-05 David S. Miller <davem@davemloft.net>
43180
43181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43182
bbb78d03
AS
431832012-03-05 Andreas Schwab <schwab@linux-m68k.org>
43184
884c5db4
AS
43185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43186
bbb78d03
AS
43187 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43188 only for |x| >= 40.
43189 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43190
1c9f702a 431912012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
43192
43193 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43194 Replace gettimeofday with __vdso_gettimeofday.
43195
7be16f82
RM
43196 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43197 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43198 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
43199
43200 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43201 time with __vdso_time.
43202
ed58a00f
JM
432032012-03-05 Joseph Myers <joseph@codesourcery.com>
43204
43205 * manual/lang.texi (size_t): Note types to which size_t may be
43206 equivalent with the GNU C Library, but do not describe when
43207 differences between them are significant.
43208
30ee4ced
AJ
432092012-03-05 Andreas Jaeger <aj@suse.de>
43210
43211 * sysdeps/i386/fpu/libm-test-ulps: Update.
43212
b7cd39e8
JM
432132012-03-05 Joseph Myers <joseph@codesourcery.com>
43214
43215 [BZ #3976]
43216 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43217 (__ieee754_pow): Save and restore rounding mode and use
43218 round-to-nearest for main computations.
43219 * math/libm-test.inc (pow_test_tonearest): New function.
43220 (pow_test_towardzero): Likewise.
43221 (pow_test_downward): Likewise.
43222 (pow_test_upward): Likewise.
43223 (main): Call the new functions.
43224 * sysdeps/i386/fpu/libm-test-ulps: Update.
43225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
43226
43227 [BZ #3976]
43228 * math/libm-test.inc (cosh_test_tonearest): New function.
43229 (cosh_test_towardzero): Likewise.
43230 (cosh_test_downward): Likewise.
43231 (cosh_test_upward): Likewise.
43232 (sinh_test_tonearest): Likewise.
43233 (sinh_test_towardzero): Likewise.
43234 (sinh_test_downward): Likewise.
43235 (sinh_test_upward): Likewise.
43236 (main): Call the new functions.
43237 * sysdeps/i386/fpu/libm-test-ulps: Update.
43238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43239
6c6a98c9
TV
432402012-03-05 Tom de Vries <tom@codesourcery.com>
43241
43242 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43243 default stack guard is set in last bytes.
43244 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43245
21bb2d2e 432462012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 43247
21bb2d2e 43248 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 43249
21bb2d2e
AJ
43250 [BZ #13656]
43251 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43252 possibly allocate from heap instead of stack.
43253 * stdio-common/bug-vfprintf-nargs.c: New file.
43254 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 43255
c6922934
AS
432562012-03-03 Andreas Schwab <schwab@linux-m68k.org>
43257
43258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43259
bc957d53
MP
432602012-03-03 Marek Polacek <polacek@redhat.com>
43261
43262 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43263 * math/math_private.h: Likewise.
43264 * stdlib/tst-strtod.c: Likewise.
43265 * sysdeps/i386/i486/bits/atomic.h: Likewise.
43266 * sysdeps/x86_64/bits/atomic.h: Likewise.
43267
6358490d
DM
432682012-03-02 David S. Miller <davem@davemloft.net>
43269
43270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43274 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43275 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43276 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43277 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43278
01ae168d
RM
432792012-03-02 Roland McGrath <roland@hack.frob.com>
43280
d9a17c07
RM
43281 [BZ #13792]
43282 * manual/examples/README: New file, says the example source files
43283 can be used under GPL>=2.
43284 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43285 line containing just "*/".
43286 * manual/examples/add.c: Add copyright header (GPL>=2).
43287 * manual/examples/argp-ex1.c: Likewise.
43288 * manual/examples/argp-ex2.c: Likewise.
43289 * manual/examples/argp-ex3.c: Likewise.
43290 * manual/examples/argp-ex4.c: Likewise.
43291 * manual/examples/atexit.c: Likewise.
43292 * manual/examples/db.c: Likewise.
43293 * manual/examples/dir.c: Likewise.
43294 * manual/examples/dir2.c: Likewise.
43295 * manual/examples/execinfo.c: Likewise.
43296 * manual/examples/filecli.c: Likewise.
43297 * manual/examples/filesrv.c: Likewise.
43298 * manual/examples/fmtmsgexpl.c: Likewise.
43299 * manual/examples/genpass.c: Likewise.
43300 * manual/examples/inetcli.c: Likewise.
43301 * manual/examples/inetsrv.c: Likewise.
43302 * manual/examples/isockad.c: Likewise.
43303 * manual/examples/longopt.c: Likewise.
43304 * manual/examples/memopen.c: Likewise.
43305 * manual/examples/memstrm.c: Likewise.
43306 * manual/examples/mkfsock.c: Likewise.
43307 * manual/examples/mkisock.c: Likewise.
43308 * manual/examples/mygetpass.c: Likewise.
43309 * manual/examples/pipe.c: Likewise.
43310 * manual/examples/popen.c: Likewise.
43311 * manual/examples/rprintf.c: Likewise.
43312 * manual/examples/search.c: Likewise.
43313 * manual/examples/select.c: Likewise.
43314 * manual/examples/setjmp.c: Likewise.
43315 * manual/examples/sigh1.c: Likewise.
43316 * manual/examples/sigusr.c: Likewise.
43317 * manual/examples/stpcpy.c: Likewise.
43318 * manual/examples/strdupa.c: Likewise.
43319 * manual/examples/strftim.c: Likewise.
43320 * manual/examples/strncat.c: Likewise.
43321 * manual/examples/subopt.c: Likewise.
43322 * manual/examples/swapcontext.c: Likewise.
43323 * manual/examples/termios.c: Likewise.
43324 * manual/examples/testopt.c: Likewise.
43325 * manual/examples/testpass.c: Likewise.
43326 * manual/examples/timeval_subtract.c: Likewise.
43327
01ae168d
RM
43328 [BZ #13792]
43329 * manual/time.texi (Elapsed Time): Move timeval_subtract example
43330 function to ...
43331 * manual/timeval_subtract.c.texi: ... here, new file.
43332
49efa33d
DM
433332012-03-02 David S. Miller <davem@davemloft.net>
43334
43335 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43336
28afd92d
JM
433372012-03-02 Joseph Myers <joseph@codesourcery.com>
43338
804360ed
JM
43339 [BZ #3976]
43340 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43341 (__sin): Save and restore rounding mode and use round-to-nearest
43342 for all computations.
43343 (__cos): Save and restore rounding mode and use round-to-nearest
43344 for all computations.
43345 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43346 <fenv.h>.
43347 (tan): Save and restore rounding mode and use round-to-nearest for
43348 all computations.
43349 * math/libm-test.inc (cos_test_tonearest): New function.
43350 (cos_test_towardzero): Likewise.
43351 (cos_test_downward): Likewise.
43352 (cos_test_upward): Likewise.
43353 (sin_test_tonearest): Likewise.
43354 (sin_test_towardzero): Likewise.
43355 (sin_test_downward): Likewise.
43356 (sin_test_upward): Likewise.
43357 (tan_test_tonearest): Likewise.
43358 (tan_test_towardzero): Likewise.
43359 (tan_test_downward): Likewise.
43360 (tan_test_upward): Likewise.
43361 (main): Call the new functions.
43362 * sysdeps/i386/fpu/libm-test-ulps: Update.
43363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43364
a6d06d7b
JM
43365 [BZ #10135]
43366 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43367 small n, then large n, before computing and testing k+n.
43368 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43369 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43370 Likewise.
43371 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43372 Likewise.
43373 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43374 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43375 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43376 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43377 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43378 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43379 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43380 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43381 * math/libm-test.inc (scalbn_test): Add more tests.
43382 (scalbln_test): Likewise.
43383
07e12bb3
JM
43384 * manual/filesys.texi (mode_t): Describe constraints on size and
43385 signedness, not exact equivalence to a particular type.
43386 (ino_t): Likewise.
43387 (ino64_t): Likewise.
43388 (dev_t): Likewise.
43389 (nlink_t): Likewise.
43390 (blkcnt_t): Likewise.
43391 (blkcnt64_t): Likewise.
43392 * manual/llio.texi (off_t): Likewise.
43393
28afd92d
JM
43394 [BZ #3976]
43395 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43396 (__ieee754_exp): Save and restore rounding mode and use
43397 round-to-nearest for all computations.
43398 * math/libm-test.inc (exp_test_tonearest): New function.
43399 (exp_test_towardzero): Likewise.
43400 (exp_test_downward): Likewise.
43401 (exp_test_upward): Likewise.
43402 (main): Call the new functions.
43403 * sysdeps/i386/fpu/libm-test-ulps: Update.
43404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43405
b1eeb65d
CD
434062012-03-01 Chris Demetriou <cgd@google.com>
43407
43408 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43409 have predictable order.
43410
53362a4b
DM
434112012-03-01 David S. Miller <davem@davemloft.net>
43412
3c969083
DM
43413 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43414
759707de
DM
43415 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43416 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43417 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43418 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43419
dfdb8ff2
DM
43420 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43421 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43422 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43424 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43425 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43426 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43427 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43428 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43429
ead89f96
DM
43430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43431
7f66bd07
DM
43432 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43433 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43434 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43435
53362a4b
DM
43436 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43437 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43438 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43439 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43440 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43441 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43442 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43443 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43444 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43445 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43446 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43447 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43448 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43449 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43450 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43451 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43452 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43453 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43454 * sysdeps/sparc/elf/configure: Regenerated.
43455
7b1902cb
JM
434562012-03-01 Joseph Myers <joseph@codesourcery.com>
43457
bec039bc
JM
43458 * configure.in (AS, LD): Require binutils 2.20 or later.
43459 * configure: Regenerated.
43460 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43461 as required minimum version.
43462 * INSTALL: Regenerated.
43463
7b1902cb
JM
43464 [BZ #2541]
43465 [BZ #4108]
43466 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43467 before squaring exponent.
43468 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43469 bottom long double and 27 bits of top long double before squaring
43470 exponent.
43471 * math/libm-test.inc (erfc_test): Add more tests.
43472 * sysdeps/i386/fpu/libm-test-ulps: Update.
43473 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43475
f775c276
KT
434762012-03-01 Kai Tietz <ktietz@redhat.com>
43477
43478 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43479 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43480 containing bit-fields.
43481 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43482 * soft-fp/single.h (_FP_UNION_S): Likewise.
43483 * soft-fp/double.h (_FP_UNION_D): Likewise.
43484
5b8a4d4a
JM
434852012-02-29 Joseph Myers <joseph@codesourcery.com>
43486
0bab47b6
JM
43487 [BZ #13786]
43488 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43489 not include ../strcmp.S.
43490 [USE_AS_STRNCASECMP_L]: Likewise.
43491 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43492 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43493 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43494 (__strncasecmp_l_ia32): Define as alias to
43495 __strncasecmp_l_nonascii.
43496
0fcad3e2
JM
43497 [BZ #5794]
43498 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43499 * sysdeps/i386/fpu/libm-test-ulps: Update.
43500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43501
5b8a4d4a
JM
43502 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43504
8fdceb2e
JL
435052012-02-29 Jeff Law <law@redhat.com>
43506
43507 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43508 out of bounds read.
43509
1f393a11
MP
435102012-02-29 Marek Polacek <polacek@redhat.com>
43511
43512 [BZ #13706]
43513 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43514 * elf/Makefile: Add rules to run tst-unused-dep.out.
43515
8847f037
DM
435162012-02-28 David S. Miller <davem@davemloft.net>
43517
43518 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43519 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43520 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43521 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43522 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43523 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43524
169d7f11
JM
435252012-02-29 Joseph Myers <joseph@codesourcery.com>
43526
43527 * math/libm-test.inc (llround_test): Move one test from
43528 lround_test. Use TEST_f_L in moved test.
43529 (lround_test): Move misplaced test to llround_test. Add testcase
43530 from bug 2561.
43531
39adf059
UD
435322012-02-28 Ulrich Drepper <drepper@gmail.com>
43533
43534 * sysdeps/x86_64/fpu/e_expf.S: New file.
43535 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43536
71b5d1c5
SB
435372012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43538
43539 [BZ #13637]
43540 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43541 of remain_len that may cause incomplete multi-byte character and
43542 false match.
43543 * posix/bug-regex33.c: New file.
43544 * posix/Makefile (tests): Add bug-regex33.
43545
1f77f049
JM
435462012-02-28 Joseph Myers <joseph@codesourcery.com>
43547
43548 * manual/macros.texi: New file.
43549 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43550 * manual/libc.texinfo: Include macros.texi.
43551 * manual/creatute.texi: Likewise.
43552 * manual/install.texi: Likewise.
43553 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43554 @glibcadj{} in references to the GNU C Library.
43555 * manual/charset.texi: Likewise.
43556 * manual/conf.texi: Likewise.
43557 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43558 when not using those macros.
43559 * manual/creature.texi: Likewise.
43560 * manual/crypt.texi: Likewise.
43561 * manual/errno.texi: Likewise.
43562 * manual/filesys.texi: Likewise.
43563 * manual/header.texi: Likewise.
43564 * manual/install.texi: Likewise.
43565 * manual/intro.texi: Likewise.
43566 * manual/io.texi: Likewise.
43567 * manual/job.texi: Likewise.
43568 * manual/lang.texi: Likewise.
43569 * manual/libc.texiinfo: Likewise.
43570 * manual/llio.texi: Likewise.
43571 * manual/locale.texi: Likewise.
43572 * manual/maint.texi: Likewise.
43573 * manual/math.texi: Likewise.
43574 * manual/memory.texi: Likewise.
43575 * manual/message.texi: Likewise.
43576 * manual/nss.texi: Likewise.
43577 * manual/pattern.texi: Likewise.
43578 * manual/process.texi: Likewise.
43579 * manual/resource.texi: Likewise.
43580 * manual/search.texi: Likewise.
43581 * manual/setjmp.texi: Likewise.
43582 * manual/signal.texi: Likewise.
43583 * manual/socket.texi: Likewise.
43584 * manual/startup.texi: Likewise.
43585 * manual/stdio.texi: Likewise.
43586 * manual/string.texi: Likewise.
43587 * manual/sysinfo.texi: Likewise.
43588 * manual/syslog.texi: Likewise.
43589 * manual/terminal.texi: Likewise.
43590 * manual/time.texi: Likewise.
43591 * manual/users.texi: Likewise.
43592 * INSTALL: Regenerated.
43593 * NOTES: Regenerated.
d40c5d54 43594 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 43595
450bf206
AS
435962012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43597
43598 * include/dirent.h: Include <dirstream.h> before
43599 <dirent/dirent.h>.
43600
741a235b
DM
436012012-02-28 David S. Miller <davem@davemloft.net>
43602
43603 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43604 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43605 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43606 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43607
d6b5aa58
DM
436082012-02-27 David S. Miller <davem@davemloft.net>
43609
1aff59a3
DM
43610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43612 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43613 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43614
d6b5aa58
DM
43615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43616 frame pointer instead of stack pointer relative arg slot.
43617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43618 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43619 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43620
433f48bf
CD
436212012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
43622
43623 [BZ #3992]
43624 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43625
d674b76d
DM
436262012-02-27 David S. Miller <davem@davemloft.net>
43627
43628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43632 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43633 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43634 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43635 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43636
0e7727f7
JM
436372012-02-27 Joseph Myers <joseph@codesourcery.com>
43638
43639 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43640 later. Allow versions 5-9.
43be4ca2 43641 * configure: Regenerated.
0e7727f7
JM
43642 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43643 required minimum version and 4.6 as recommended version. Do not
43644 mention bugs in GCC 2.7 and 2.8.
43be4ca2 43645 * INSTALL: Regenerated.
0e7727f7 43646
a78bc654
DM
436472012-02-27 David S. Miller <davem@davemloft.net>
43648
428d5830
DM
43649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43653 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43654 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43655 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43656 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43657
a78bc654
DM
43658 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43659 manipulate bits before adding and subtracting TWO112[sx].
43660 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43661
4579f81c
RM
436622012-02-27 Roland McGrath <roland@hack.frob.com>
43663
36c8acb4
RM
43664 [BZ #13775]
43665 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43666 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43667 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43668 being in POSIX, because they are in 1003.1-2008.
43669
84ad622b
RM
43670 * rt/tst-aio.c: Include <fcntl.h>.
43671 * rt/tst-aio7.c: Likewise.
43672 * rt/tst-aio64.c: Likewise.
43673
4579f81c
RM
43674 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43675
abd923db
JM
436762012-02-27 Joseph Myers <joseph@codesourcery.com>
43677
43678 * manual/install.texi (--with-headers): Describe headers as
43679 interface headers, not private headers.
43680 (Specific advice for GNU/Linux systems): Describe use of headers
43681 from "make headers_install", not private headers from older
43682 kernels.
43be4ca2 43683 * INSTALL: Regenerated.
abd923db
JM
43684 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43685 Change to 2.6.19.
43686 * sysdeps/unix/sysv/linux/configure: Regenerated.
43687
6664049b
JM
43688 * manual/llio.texi (fclean): Remove documentation.
43689
bb8b6697
JM
43690 * manual/Makefile (libc-texi-generated): New variable. Include
43691 version.texi.
43692 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43693 $(libc-texi-generated), not duplicated list of files.
43694 (version.texi, stamp-version): New rules.
43695 (realclean): Remove $(libc-texi-generated), not individual files
43696 from that list. Do not remove dir-add.texinfo.
43697 * manual/libc.texinfo: Comment out uses of edition numbers and
43698 references to printed manual. Remove last-updated dates.
43699 (EDITION): Comment out.
43700 (ISBN): Likewise.
43701 (VERSION, UPDATED): Remove.
43702 (version.texi): Include.
43703
12e5c3b9
AS
437042012-02-27 Andreas Schwab <schwab@linux-m68k.org>
43705
43706 * sysdeps/posix/spawni.c: Include <signal.h>.
43707 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43708 * sysdeps/pthread/aio_fsync.c: Likewise.
43709
4efeffc1 437102012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 43711
ba63ba08
UD
43712 * conform/Makefile (tests): Run only when not cross-compiling and
43713 when fast-check is not defined.
43714
d94a4670
UD
43715 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43716 * conform/data/limits.h-data: Fixes for POSIX2008.
43717 * conform/run-conformtest.sh: Run all tests.
43718 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43719 headers.
43720 * include/bits/dlfcn.h: Likewise.
43721 * include/langinfo.h: Likewise.
43722 * include/monetary.h: Likewise.
43723 * include/sys/poll.h: Likewise.
43724
43725 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43726 for __USE_GNU.
43727 * posix/spawn.h: Define __need_sigset_t.
43728 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43729 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43730 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
43731 to get sigevent_t only.
43732 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43733 only for __USE_GNU.
43734 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43735 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43736 process_vm_writev only for __USE_GNU.
43737 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
43738
43739 * conform/Makefile: For now ignore errors from run-conformtest.
43740 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
43741 POSIX to avoid namespace pollution. Don't prepend headers.
43742 * conform/data/aio.h-data: Fixes for POSIX testing.
43743 * conform/data/fcntl.h-data: Likewise.
43744 * conform/data/glob.h-data: Likewise.
43745 * conform/data/grp.h-data: Likewise.
43746 * conform/data/pthread.h-data: Likewise.
43747 * conform/data/pwd.h-data: Likewise.
43748 * conform/data/signal.h-data: Likewise.
43749 * conform/data/spawn.h-data: Likewise.
43750 * conform/data/stdio.h-data: Likewise.
43751 * conform/data/stdlib.h-data: Likewise.
43752 * conform/data/stropts.h-data: Likewise.
43753 * conform/data/sys/mman.h-data: Likewise.
43754 * conform/data/sys/stat.h-data: Likewise.
43755 * conform/data/sys/types.h-data: Likewise.
43756 * conform/data/sys/wait.h-data: Likewise.
43757 * conform/data/time.h-data: Likewise.
43758 * conform/data/unistd.h-data: Likewise.
43759 * conform/data/utime.h-data: Likewise.
43760
43761 * io/sys/stat.h: fchmod was always in POSIX.
43762 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43763 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43764 * rt/aio.h: Define __need_timespec before including <time.h>.
43765 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43766 struct. Add forward declaration of pthread_attr_t and use it in
43767 sigevent.
43768 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43769 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43770 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43771 always remove CLK_TCK definition.
43772
c20105c3
AS
437732012-02-26 Andreas Schwab <schwab@linux-m68k.org>
43774
43775 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43776
7a270350
UD
437772012-02-25 Ulrich Drepper <drepper@gmail.com>
43778
31341567
UD
43779 * conform/run-conformtest.sh: New file.
43780 * conform/Makefile: Run run-conformtest for tests.
43781 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
43782 support.
43783
43784 * conform/data/uchar.h-data: New file.
43785 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43786 * conform/data/arpa/inet.h-data: Likewise.
43787 * conform/data/assert.h-data: Likewise.
43788 * conform/data/complex.h-data: Likewise.
43789 * conform/data/cpio.h-data: Likewise.
43790 * conform/data/ctype.h-data: Likewise.
43791 * conform/data/dirent.h-data: Likewise.
43792 * conform/data/dlfcn.h-data: Likewise.
43793 * conform/data/errno.h-data: Likewise.
43794 * conform/data/fcntl.h-data: Likewise.
43795 * conform/data/float.h-data: Likewise.
43796 * conform/data/fmtmsg.h-data: Likewise.
43797 * conform/data/fnmatch.h-data: Likewise.
43798 * conform/data/ftw.h-data: Likewise.
43799 * conform/data/glob.h-data: Likewise.
43800 * conform/data/grp.h-data: Likewise.
43801 * conform/data/iconv.h-data: Likewise.
43802 * conform/data/inttypes.h-data: Likewise.
43803 * conform/data/langinfo.h-data: Likewise.
43804 * conform/data/libgen.h-data: Likewise.
43805 * conform/data/limits.h-data: Likewise.
43806 * conform/data/locale.h-data: Likewise.
43807 * conform/data/math.h-data: Likewise.
43808 * conform/data/monetary.h-data: Likewise.
43809 * conform/data/mqueue.h-data: Likewise.
43810 * conform/data/ndbm.h-data: Likewise.
43811 * conform/data/net/if.h-data: Likewise.
43812 * conform/data/netdb.h-data: Likewise.
43813 * conform/data/netinet/in.h-data: Likewise.
43814 * conform/data/nl_types.h-data: Likewise.
43815 * conform/data/poll.h-data: Likewise.
43816 * conform/data/pthread.h-data: Likewise.
43817 * conform/data/pwd.h-data: Likewise.
43818 * conform/data/regex.h-data: Likewise.
43819 * conform/data/sched.h-data: Likewise.
43820 * conform/data/search.h-data: Likewise.
43821 * conform/data/semaphore.h-data: Likewise.
43822 * conform/data/setjmp.h-data: Likewise.
43823 * conform/data/signal.h-data: Likewise.
43824 * conform/data/spawn.h-data: Likewise.
43825 * conform/data/stdarg.h-data: Likewise.
43826 * conform/data/stdio.h-data: Likewise.
43827 * conform/data/stdlib.h-data: Likewise.
43828 * conform/data/string.h-data: Likewise.
43829 * conform/data/strings.h-data: Likewise.
43830 * conform/data/stropts.h-data: Likewise.
43831 * conform/data/sys/ipc.h-data: Likewise.
43832 * conform/data/sys/mman.h-data: Likewise.
43833 * conform/data/sys/msg.h-data: Likewise.
43834 * conform/data/sys/resource.h-data: Likewise.
43835 * conform/data/sys/select.h-data: Likewise.
43836 * conform/data/sys/sem.h-data: Likewise.
43837 * conform/data/sys/shm.h-data: Likewise.
43838 * conform/data/sys/socket.h-data: Likewise.
43839 * conform/data/sys/stat.h-data: Likewise.
43840 * conform/data/sys/statvfs.h-data: Likewise.
43841 * conform/data/sys/time.h-data: Likewise.
43842 * conform/data/sys/timeb.h-data: Likewise.
43843 * conform/data/sys/times.h-data: Likewise.
43844 * conform/data/sys/types.h-data: Likewise.
43845 * conform/data/sys/uio.h-data: Likewise.
43846 * conform/data/sys/un.h-data: Likewise.
43847 * conform/data/sys/utsname.h-data: Likewise.
43848 * conform/data/sys/wait.h-data: Likewise.
43849 * conform/data/syslog.h-data: Likewise.
43850 * conform/data/tar.h-data: Likewise.
43851 * conform/data/termios.h-data: Likewise.
43852 * conform/data/utime.h-data: Likewise.
43853 * conform/data/utmpx.h-data: Likewise.
43854 * conform/data/varargs.h-data: Likewise.
43855 * conform/data/wchar.h-data: Likewise.
43856 * conform/data/wctype.h-data: Likewise.
43857 * conform/data/wordexp.h-data: Likewise.
43858
43859 * include/stropts.h: New file.
43860 * include/uchar.h: New file.
43861 * include/aio.h: Changes to allow conformtest.pl to use the headers.
43862 * include/assert.h: Likewise.
43863 * include/ctype.h: Likewise.
43864 * include/dirent.h: Likewise.
43865 * include/dlfcn.h: Likewise.
43866 * include/fcntl.h: Likewise.
43867 * include/fnmatch.h: Likewise.
43868 * include/glob.h: Likewise.
43869 * include/grp.h: Likewise.
43870 * include/libio.h: Likewise.
43871 * include/locale.h: Likewise.
43872 * include/math.h: Likewise.
43873 * include/net/if.h: Likewise.
43874 * include/netdb.h: Likewise.
43875 * include/netinet/in.h: Likewise.
43876 * include/pthread.h: Likewise.
43877 * include/pwd.h: Likewise.
43878 * include/regex.h: Likewise.
43879 * include/sched.h: Likewise.
43880 * include/search.h: Likewise.
43881 * include/setjmp.h: Likewise.
43882 * include/signal.h: Likewise.
43883 * include/stdio.h: Likewise.
43884 * include/stdlib.h: Likewise.
43885 * include/string.h: Likewise.
43886 * include/sys/cdefs.h: Likewise.
43887 * include/sys/mman.h: Likewise.
43888 * include/sys/msg.h: Likewise.
43889 * include/sys/resource.h: Likewise.
43890 * include/sys/select.h: Likewise.
43891 * include/sys/socket.h: Likewise.
43892 * include/sys/stat.h: Likewise.
43893 * include/sys/statvfs.h: Likewise.
43894 * include/sys/time.h: Likewise.
43895 * include/sys/times.h: Likewise.
43896 * include/sys/uio.h: Likewise.
43897 * include/sys/utsname.h: Likewise.
43898 * include/sys/wait.h: Likewise.
43899 * include/termios.h: Likewise.
43900 * include/time.h: Likewise.
43901 * include/ulimit.h: Likewise.
43902 * include/unistd.h: Likewise.
43903 * include/utime.h: Likewise.
43904 * include/wchar.h: Likewise.
43905 * include/wctype.h: Likewise.
43906 * include/wordexp.h: Likewise.
43907
43908 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43909
7a270350
UD
43910 * time/time.h: TIME_UTC must be a macro.
43911 Make timespec_get available for ISO C11 only as well.
43912
7724defc
UD
439132012-02-24 Ulrich Drepper <drepper@gmail.com>
43914
43915 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43916 Reported by Peng Haitao <penght@cn.fujitsu.com>.
43917
6b1d1d46
JM
439182012-02-24 Joseph Myers <joseph@codesourcery.com>
43919
43920 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 43921
0f8bbd69
JM
439222012-02-24 Joseph Myers <joseph@codesourcery.com>
43923
43924 * manual/texinfo.tex: Update to version 2012-01-19.16.
43925
66ab80bc
JM
439262012-02-24 Joseph Myers <joseph@codesourcery.com>
43927
43928 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43929
74981cc5
RM
439302012-02-24 Roland McGrath <roland@hack.frob.com>
43931
ee968201
RM
43932 [BZ #13738]
43933 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43934 * manual/fdl-1.3.texi: New file.
43935 * manual/fdl-1.1.texi: File removed.
43936
74981cc5
RM
43937 [BZ #13738]
43938 * manual/libc.texinfo (FDL_VERSION): New @set.
43939 Use it for mention of FDL in cover text.
43940 (Documentation License): Use it in @include file name.
43941
7bb764bc
JM
439422012-02-22 Joseph Myers <joseph@codesourcery.com>
43943 Roland McGrath <roland@hack.frob.com>
43944
43945 [BZ #5461]
57f41c40
AS
43946 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43947 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
43948 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43949 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
43950 name.
43951 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43952
6cbeae47
JM
439532012-02-22 Joseph Myers <joseph@codesourcery.com>
43954
43955 [BZ #2547]
43956 [BZ #11365]
43957 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43958 manipulate bits before adding and subtracting TWO23[sx].
43959 * math/libm-test.inc (nearbyint_test): Add more tests.
43960
fe45ce09
JM
439612012-02-22 Joseph Myers <joseph@codesourcery.com>
43962
43963 [BZ #2548]
43964 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43965 bits before adding and subtracting TWO23[sx].
43966 * math/libm-test.inc (rint_test): Add more tests.
43967 (rint_test_tonearest): Likewise.
43968 (rint_test_towardzero): Likewise.
43969 (rint_test_downward): Likewise.
43970 (rint_test_upward: Likewise.
43971
ff3b3d82
JM
439722012-02-22 Joseph Myers <joseph@codesourcery.com>
43973
43974 [BZ #10110]
43975 * include/stdc-predef.h: New file. Extracted from features.h.
43976 * include/features.h: Include stdc-predef.h.
43977 * Makefile (headers): Add stdc-predef.h.
43978 * CONFORMANCE (Compiler limitations): Update.
43979
ef0aab35
JM
439802012-02-22 Joseph Myers <joseph@codesourcery.com>
43981
43982 * manual/libc.texinfo (VERSION, UPDATED): Revert.
43983
58639409
DM
439842012-02-21 David S. Miller <davem@davemloft.net>
43985
43986 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
43987 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43988
c0e70b25
DM
439892012-02-20 David S. Miller <davem@davemloft.net>
43990
43991 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43992 using a normal save/restore sequence, rather than allocating a
43993 dummy stack frame just to store a frame pointer and restore.
43994 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43995
fb06851d
JM
439962012-02-21 Joseph Myers <joseph@codesourcery.com>
43997
43998 * manual/install.texi: Fix stray word in line-wrapped comment.
43999
7a8b71c3
DM
440002012-02-20 David S. Miller <davem@davemloft.net>
44001
d510c123
DM
44002 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
44003 both binutils and gcc support GOTDATA.
44004
0722d7c2
DM
44005 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
44006 "rd %pc" in the PIC register setup sequences.
44007
3d2b3019
DM
44008 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
44009 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44010 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44011 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44012 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44013 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44014 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44015 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44016 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
44017 (SYSCALL_ERROR_HANDLER): Likewise.
44018 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44019 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44020 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
44021 (SYSCALL_ERROR_HANDLER): Likewise.
44022
c80098a9
DM
44023 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
44024 (HAVE_GCC_GOTDATA): New.
44025 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
44026 relocation support in both binutils and gcc.
44027 * sysdeps/sparc/elf/configure: Regenerate.
44028
3a2545a0
DM
44029 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
44030 * sysdeps/sparc/sparc32/elf/configure: Delete.
44031 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
44032 * sysdeps/sparc/sparc64/elf/configure: Delete.
44033 * sysdeps/sparc/elf/configure.in: New file.
44034 * sysdeps/sparc/elf/configure: Generate.
44035
7a8b71c3
DM
44036 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
44037 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
44038 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44039 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
44040 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
44041
f1e86fca
JM
440422012-02-21 Joseph Myers <joseph@codesourcery.com>
44043
44044 * manual/install.texi: Do not mention specific glibc version
44045 numbers.
44046 * manual/libc.texinfo (VERSION, UPDATED): Update.
44047 (@copying): Use @copyright{} and range of years.
44048
0e7dfaef
JM
440492012-02-21 Joseph Myers <joseph@codesourcery.com>
44050
44051 [BZ #13695]
44052 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
44053 [crti.S not in sysdirs] (generated): Do not append.
44054 [crti.S not in sysdirs] (omit-deps): Likewise.
44055 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
44056 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
44057 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
44058 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
44059 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
44060 Likewise.
44061 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
44062 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
44063 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
44064 * csu/defs.awk: Remove file.
44065 * sysdeps/generic/initfini.c: Likewise.
44066 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
44067 variable.
44068 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
44069 Likewise.
44070
599af3ca
JM
440712012-02-20 Joseph Myers <joseph@codesourcery.com>
44072
44073 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
44074 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
44075 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
44076 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
44077 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44078 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
44079 <bits/epoll.h>.
44080 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
44081 (__EPOLL_PACKED): Define to empty if not defined by
44082 <bits/epoll.h>.
44083 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
44084 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44085 bits/epoll.h.
44086
0e499750
JM
440872012-02-20 Joseph Myers <joseph@codesourcery.com>
44088
44089 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
44090 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
44091 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
44092 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
44093 <bits/timerfd.h>.
44094 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
44095 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44096 bits/timerfd.h.
44097
5ad91f6e
JM
440982012-02-20 Joseph Myers <joseph@codesourcery.com>
44099
44100 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
44101 in C locale.
44102 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44103 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44104 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
44105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44106
06b99b02
AJ
441072012-02-20 Aurelien Jarno <aurelien@aurel32.net>
44108
44109 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44110 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44111
7638c0fd
AS
441122012-02-19 Andreas Schwab <schwab@linux-m68k.org>
44113
44114 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
44115 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
44116 defined.
44117 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
44118 Likewise.
44119 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44120 entry for 2.16.
44121
92221550
AJ
441222012-02-19 Aurelien Jarno <aurelien@aurel32.net>
44123
44124 * math/w_acos.c: Use non-signaling floating-point comparisons.
44125 * math/w_acosf.c: Likewise.
44126 * math/w_acosh.c: Likewise.
44127 * math/w_acoshf.c: Likewise.
44128 * math/w_acoshl.c: Likewise.
44129 * math/w_acosl.c: Likewise.
44130 * math/w_asin.c: Likewise.
44131 * math/w_asinf.c: Likewise.
44132 * math/w_asinl.c: Likewise.
44133 * math/w_atanh.c: Likewise.
44134 * math/w_atanhf.c: Likewise.
44135 * math/w_atanhl.c: Likewise.
44136 * math/w_exp2.c: Likewise.
44137 * math/w_exp2f.c: Likewise.
44138 * math/w_exp2l.c: Likewise.
44139 * math/w_j0.c: Likewise.
44140 * math/w_j0f.c: Likewise.
44141 * math/w_j0l.c: Likewise.
44142 * math/w_j1.c: Likewise.
44143 * math/w_j1f.c: Likewise.
44144 * math/w_j1l.c: Likewise.
44145 * math/w_jn.c: Likewise.
44146 * math/w_jnf.c: Likewise.
44147 * math/w_log.c: Likewise.
44148 * math/w_log10.c: Likewise.
44149 * math/w_log10f.c: Likewise.
44150 * math/w_log10l.c: Likewise.
44151 * math/w_log2.c: Likewise.
44152 * math/w_log2f.c: Likewise.
44153 * math/w_log2l.c: Likewise.
44154 * math/w_logf.c: Likewise.
44155 * math/w_logl.c: Likewise.
44156 * math/w_sqrt.c: Likewise.
44157 * math/w_sqrtf.c: Likewise.
44158 * math/w_sqrtl.c: Likewise.
44159 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44160 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44161 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44162 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44163 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44164
ebaf36eb
JM
441652012-02-19 Joseph Myers <joseph@codesourcery.com>
44166
44167 [BZ #9739]
44168 * manual/string.texi (strnlen): Use correct parameter name in
44169 equivalent expression.
44170
71c254a6
JM
441712012-02-19 Joseph Myers <joseph@codesourcery.com>
44172
44173 [BZ #11174]
44174 * manual/users.texi (seteuid): Consistently use neweuid for
44175 argument name.
44176
16d2c631
JM
441772012-02-19 Joseph Myers <joseph@codesourcery.com>
44178
44179 [BZ #13704]
44180 * manual/nss.texi (Services in the NSS configuration): Correct
44181 list of services in example configuration file.
44182
cd837b09
NB
441832012-02-19 Nick Bowler <nbowler@draconx.ca>
44184
44185 [BZ #11322]
44186 * manual/arith.texi: Remove statements about negative zero
44187 behaving identically to zero.
44188
02c4bbad
JM
441892012-02-18 Joseph Myers <joseph@codesourcery.com>
44190
44191 [BZ #5993]
44192 * manual/install.texi: Do not document upgrading from libc5.
44193
366842e7
JM
441942012-02-18 Joseph Myers <joseph@codesourcery.com>
44195
44196 [BZ #4596]
44197 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44198
dd54084d
DM
441992012-02-18 David S. Miller <davem@davemloft.net>
44200
44201 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44202 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44203 %o7 across the call.
44204 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44205 instead.
44206 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44207 SETUP_PIC_REG_LEAF.
44208 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44209 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44210 * sysdeps/sparc/crtn.S: Likewise.
44211
2bcc53a3
UD
442122012-02-17 Ulrich Drepper <drepper@gmail.com>
44213
44214 * aout/Makefile: Remove.
44215
09c093b5
RK
442162012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
44217
44218 [BZ #13058]
44219 * manual/examples/argp-ex1.c (main): Format definition in GNU
44220 style.
44221 * manual/examples/argp-ex2.c (main): Likewise.
44222 * manual/examples/argp-ex3.c (main): Likewise.
44223 * manual/examples/argp-ex4.c (main): Likewise.
44224 * manual/examples/longopt.c (main): Use new-style prototype
44225 definition.
44226 * manual/examples/strncat.c (main): Specify return type and use
44227 (void) for arguments.
44228 * manual/examples/subopt.c (main): Use char **argv argument.
44229
2ee633a2
JM
442302012-02-17 Joseph Myers <joseph@codesourcery.com>
44231
44232 [BZ #5077]
44233 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44234 rounding modes.
44235
0520adde
FB
442362012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
44237
44238 [BZ #6907]
44239 * manual/string.texi (strchr): Change when strchrnul is
44240 recommended.
44241
3f4081cd
DGM
442422012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
44243
44244 [BZ #174]
44245 * manual/locale.texi (setlocale): Document LOCPATH.
44246
d1b10e78
JM
442472012-02-17 Joseph Myers <joseph@codesourcery.com>
44248
44249 [BZ #10210]
44250 * manual/process.texi (execle): Move @dots{} before last argument.
44251
79c6869c
PB
442522012-02-17 Paul Bolle <pebolle@tiscali.nl>
44253
44254 [BZ #12047]
44255 * manual/charset.texi (Generic Charset Conversion): Fix typo
44256 (LC_TYPE -> LC_CTYPE).
44257
cc6e48bc
NB
442582012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
44259
44260 [BZ #5805]
44261 * manual/arith.texi (scalbn): Use @var{} on parameter names.
44262 (scalbnf): Likewise.
44263 (scalbnl): Likewise.
44264 (scalbln): Likewise.
44265 (scalblnf): Likewise.
44266 (scalblnl): Likewise.
44267 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44268 (vwarnx): Likewise.
44269 (verr): Likewise.
44270 (verrx): Likewise.
44271 * manual/filesys.texi (telldir): Use braces around return type.
44272 * manual/llio.texi (mmap): Add space after comma.
44273 (mmap64): Likewise.
44274 * manual/math.texi (jn): Use @var{} on parameter names.
44275 (jnf): Likewise.
44276 (jnl): Likewise.
44277 (yn): Likewise.
44278 (ynf): Likewise.
44279 (ynl): Likewise.
44280 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44281 line.
44282 * manual/resource.texi (ulimit): Use @dots{} instead of literal
44283 "...".
44284 (sched_get_priority_min): Remove semicolon on @deftypefun line.
44285 (sched_get_priority_max): Likewise.
44286 * manual/signal.texi (sigvec): Add space after comma.
44287 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44288 names.
44289 (if_indextoname): Likewise.
44290 (if_freenameindex): Likewise.
44291 (sendto): Use ',' instead of '.' in prototype.
44292 * manual/startup.texi (syscall): Use @dots{} instead of literal
44293 "...".
44294 * manual/stdio.texi (__fpending): Separate initial words of
44295 paragraph from @deftypefun line.
44296 * manual/syslog.texi (syslog): Use @dots{} instead of literal
44297 "...".
44298 (vsyslog): Use @var{} on parameter names.
44299 * manual/terminal.texi (stty): Use @var{} on parameter names.
44300 * manual/users.texi (getutmp): Use @var{} on parameter names.
44301 (getutmpx): Likewise.
44302
5b23062f
JM
443032012-02-17 Joseph Myers <joseph@codesourcery.com>
44304
44305 [BZ #6884]
44306 * manual/stdio.texi (fopen): Fix typos in description of
44307 ",ccs=STRING".
44308
8dee4833
AJ
443092012-02-17 Aurelien Jarno <aurelien@aurel32.net>
44310
44311 [BZ #4026]
44312 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44313 get clock_id definition.
44314
9078ce93
TS
443152012-02-17 Thomas Schwinge <thomas@schwinge.name>
44316
44317 [BZ #4822]
44318 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44319 (madvise): Cast every argument to void on its own.
44320
3835c55f
JM
443212012-02-17 Joseph Myers <joseph@codesourcery.com>
44322
44323 [BZ #9902]
44324 * manual/startup.texi (Exit Status): Fix typo.
44325
35c47e37
JM
443262012-02-17 Joseph Myers <joseph@codesourcery.com>
44327
44328 [BZ #10140]
44329 * manual/examples/argp-ex1.c: Include <stdlib.h>.
44330 * manual/examples/argp-ex2.c: Likewise.
44331 * manual/examples/argp-ex3.c: Likewise.
44332
e3b69ca7
RH
443332012-02-16 Richard Henderson <rth@redhat.com>
44334
44335 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44336 * sysdeps/s390/s390-32/initfini.c: Remove.
44337 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44338 * sysdeps/s390/s390-64/initfini.c: Remove.
44339
df83af67
KK
443402012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44341
44342 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44343 compiler output for sysdeps/generic/initfini.c.
44344 * sysdeps/sh/elf/initfini.c: Remove file.
44345
f63f3380
DM
443462012-02-16 David S. Miller <davem@davemloft.net>
44347
fb59b3a4
DM
44348 [BZ #11494]
44349 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44350
f63f3380
DM
44351 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44352 * sysdeps/sparc/crti.S: New file.
44353 * sysdeps/sparc/crtn.S: New file.
44354 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44355 * sysdeps/sparc/sparc64/Makefile: Likewise.
44356
df6a4a4a
MF
443572012-02-15 Mike Frysinger <vapier@gentoo.org>
44358
6dd8f3dc 44359 [BZ #3335]
df6a4a4a
MF
44360 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44361
1cac7236
RM
443622012-02-15 Roland McGrath <roland@hack.frob.com>
44363
d2c736f8
RM
44364 [BZ #4822]
44365 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44366
1cac7236
RM
44367 * mach/devstream.c (cookie_io_functions_t): Macro removed.
44368 (write, read, close): Likewise.
44369 Patch by Aurelien Jarno <aurelien@aurel32.net>.
44370
8e475601
JM
443712012-02-15 Joseph Myers <joseph@codesourcery.com>
44372
44373 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44374 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44375 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44376 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44377 <bits/signalfd.h>.
44378 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44379 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44380 bits/signalfd.h.
44381
ed656b40
MP
443822012-02-14 Marek Polacek <polacek@redhat.com>
44383
44384 * sysdeps/x86_64/crti.S: New file.
44385 * sysdeps/x86_64/crtn.S: New file.
44386 * sysdeps/x86_64/elf/initfini.c: Remove file.
44387
2a979d3a
JM
443882012-02-13 Joseph Myers <joseph@codesourcery.com>
44389
44390 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44391 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44392 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44393 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44394 <bits/inotify.h>.
44395 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44396 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44397 bits/inotify.h.
44398
2a418ac3
JM
443992012-02-13 Joseph Myers <joseph@codesourcery.com>
44400
44401 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44402 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44403 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44404 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44405 <bits/eventfd.h>.
44406 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44407 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44408 bits/eventfd.h.
44409
fb779be7
TS
444102012-02-10 Thomas Schwinge <thomas@codesourcery.com>
44411
e19e83c5
RM
44412 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44413 __feraiseexcept instead of feraiseexcept.
7c35ffed 44414
fb779be7
TS
44415 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44416 nanosleep invocations.
44417 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44418 strings, and add error checking for a nanosleep invocations.
44419
59ba27a6
PE
444202012-02-09 Paul Eggert <eggert@cs.ucla.edu>
44421
44422 Replace FSF snail mail address with URLs, as per GNU coding standards.
44423 Most of the snail mail addresses were wrong anyway, and omitting
44424 them makes the source code easier to maintain. Almost all of the
44425 changes are to license notices and to locale LC_IDENTIFICATION
44426 addresses, except for this one:
44427 * manual/libc.texinfo: In "Published by", give the FSF's URL,
44428 not its snail mail address.
44429
57b957eb
RH
444302012-02-09 Richard Henderson <rth@twiddle.net>
44431
af850b1c
RH
44432 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44433 of kernel-features.h.
44434
57b957eb
RH
44435 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44436
6b73181a
MP
444372012-02-08 Marek Polacek <polacek@redhat.com>
44438
44439 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44440 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44441 * sysdeps/gnu/_G_config.h: Likewise.
44442 * sysdeps/generic/_G_config.h: Likewise.
44443
26ecc33a
AS
444442012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44445
6c6dbc63
AS
44446 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44447 tests.
44448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44449
e216c012
AS
44450 * sysdeps/powerpc/powerpc32/crti.S: New file.
44451 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44452 * sysdeps/powerpc/powerpc64/crti.S: New file.
44453 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44454
26ecc33a
AS
44455 * Makeconfig (have-initfini): Don't set.
44456 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44457 * configure.in (nopic_initfini): Don't substitute.
44458 * config.h.in (HAVE_INITFINI): Don't #undef.
44459 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44460 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44461
3add8e13
JM
444622012-02-08 Joseph Myers <joseph@codesourcery.com>
44463
44464 Support crti.S and crtn.S provided directly by architectures.
44465 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44466 [crti.S in sysdirs] (omit-deps): Likewise.
44467 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44468 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44469 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44470 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44471 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44472 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44473 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44474 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44475 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44476 compiler output for sysdeps/generic/initfini.c.
44477 * sysdeps/i386/elf/Makefile: Remove file.
44478 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44479
a22f12b4
MP
444802012-02-07 Marek Polacek <polacek@redhat.com>
44481
44482 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44483 * sysdeps/gnu/_G_config.h: Likewise.
44484 * sysdeps/mach/hurd/_G_config.h: Likewise.
44485
148cf100
MP
444862012-02-07 Marek Polacek <polacek@redhat.com>
44487
44488 * math/Makefile (tests): Add tst-CMPLX2.
44489 * math/tst-CMPLX2.c: New file.
44490
cfdc0dd7
AS
444912012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44492
84ba42c4
AS
44493 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44494
cfdc0dd7
AS
44495 * math/libm-test.inc (jn_test): Add missing L suffix.
44496
622c86f4
MP
444972012-02-06 Marek Polacek <polacek@redhat.com>
44498
44499 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44500 * sysdeps/i386/fpu/e_powf.S: Likewise.
44501 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44502 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44503 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44504 * sysdeps/i386/fpu/e_pow.S: Likewise.
44505 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44506 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44507 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44508 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44509 * sysdeps/i386/fpu/e_log2.S: Likewise.
44510 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44511 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44512 * sysdeps/i386/fpu/e_powl.S: Likewise.
44513 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44514 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44515 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44516 * sysdeps/i386/fpu/e_logl.S: Likewise.
44517 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44518 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44519 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44520 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44521 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44522 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44523 * sysdeps/i386/fpu/e_log.S: Likewise.
44524 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44525 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44526 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44527 * sysdeps/i386/fpu/e_logf.S: Likewise.
44528 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44529 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44530 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44531 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44532 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44533 * sysdeps/i386/fpu/e_log10.S: Likewise.
44534 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44535 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44536 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44537 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44538 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44539 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44540 * sysdeps/i386/asm-syntax.h: Likewise.
44541 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44542 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44543 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44544 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44545 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44546 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44547 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44548 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44549 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44550 * sysdeps/powerpc/sysdep.h: Likewise.
44551 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44552 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44553
d4a54ac6
JM
445542012-02-06 Joseph Myers <joseph@codesourcery.com>
44555
44556 [BZ #411]
44557 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44558
314054ea
JM
445592012-02-06 Joseph Myers <joseph@codesourcery.com>
44560
44561 * sysdeps/i386/sysdep.h: Include <features.h>.
44562 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44563 version.
44564
d8e0ca50
JM
445652012-02-05 Joseph Myers <joseph@codesourcery.com>
44566
44567 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44568 Define.
44569 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44570 LOAD_PIC_REG_STR.
44571
b1da7dd9
JM
445722012-02-03 Joseph Myers <joseph@codesourcery.com>
44573
44574 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44575 (SETUP_PIC_REG): Use GET_PC_THUNK.
44576 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44577 macro.
44578
9a1d9254
JM
445792012-02-03 Joseph Myers <joseph@codesourcery.com>
44580
44581 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44582 for non-PIC compilation.
44583 (SETUP_PIC_REG): Add .p2align directive.
44584 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44585 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44586 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44587 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44588 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44589 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44590 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44591 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44592 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44593 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44594 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44595 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44596 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44597 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44598 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44599 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44600 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44601 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44602 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44603 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44604 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44605 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44606 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44607 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44608 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44609 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44610 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44611 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44612 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44613 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44614 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44615 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44616 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44617 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44618 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44619 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44620 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44621 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44622 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44623 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44624 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44625
65dc3b75
JM
446262012-02-03 Joseph Myers <joseph@codesourcery.com>
44627
44628 * math/tst-CMPLX.c: Include <stdio.h>.
44629
d55bf177
JM
446302012-01-31 Joseph Myers <joseph@codesourcery.com>
44631
44632 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44633 float.
44634 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44635 * sysdeps/sparc/bits/mathdef.h: Likewise.
44636
69db4f8f
MP
446372012-01-31 Marek Polacek <polacek@redhat.com>
44638
44639 * libio/libio.h: Don't define _PARAMS.
44640 * locale/programs/config.h: Don't define PARAMS.
44641 * stdlib/strtol_l.c: Likewise.
44642 (__strtol_l): Remove PARAMS from the prototype.
44643
41b81892
UD
446442012-01-31 Ulrich Drepper <drepper@gmail.com>
44645
3b49edc0
UD
44646 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
44647 names. Just use the correct names. Remove unnecessary wrapper
44648 functions.
44649 * malloc/arena.c: Likewise.
44650 * malloc/hooks.c: Likewise.
44651
41b81892
UD
44652 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44653 ARENA_TEST says not to. Simplify test for creation of a new arena.
44654 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44655
27a25b6e
UD
446562012-01-30 Ulrich Drepper <drepper@gmail.com>
44657
44658 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44659 into tail calls.
44660 (update_get_addr): New function.
44661 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44662 GET_ADDR_MODULE parameter.
44663
c8a89e7d
JM
446642012-01-30 Joseph Myers <joseph@codesourcery.com>
44665
44666 * crypt/cert.c: Remove __STDC__ conditionals.
44667 * crypt/crypt-entry.c: Likewise.
44668 * crypt/crypt_util.c: Likewise.
44669 * libio/filedoalloc.c: Likewise.
44670 * libio/fileops.c: Likewise.
44671 * libio/genops.c: Likewise.
44672 * libio/iofclose.c: Likewise.
44673 * libio/iofdopen.c: Likewise.
44674 * libio/iofopen.c: Likewise.
44675 * libio/iofopen64.c: Likewise.
44676 * libio/iogetdelim.c: Likewise.
44677 * libio/iopopen.c: Likewise.
44678 * libio/obprintf.c: Likewise.
44679 * libio/oldfileops.c: Likewise.
44680 * libio/oldiofclose.c: Likewise.
44681 * libio/oldiofdopen.c: Likewise.
44682 * libio/oldiofopen.c: Likewise.
44683 * libio/oldiopopen.c: Likewise.
44684 * libio/wfiledoalloc.c: Likewise.
44685 * libio/wgenops.c: Likewise.
44686 * locale/programs/xmalloc.c: Likewise.
44687 * misc/syslog.c: Likewise.
44688 * stdio-common/xbug.c: Likewise.
44689 * string/memchr.c: Likewise.
44690 * string/memcmp.c: Likewise.
44691 * string/memrchr.c: Likewise.
44692 * string/rawmemchr.c: Likewise.
44693 * sysdeps/posix/getcwd.c: Likewise.
44694 * time/strftime_l.c: Likewise.
44695
3b100462
JM
446962012-01-30 Joseph Myers <joseph@codesourcery.com>
44697
44698 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
44699 * config.make.in (config-cflags-sse2avx): Define.
44700 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44701 Fix typo.
44702
607998af
CM
447032012-01-29 Chris Metcalf <cmetcalf@tilera.com>
44704
44705 * scripts/config.guess: Update from upstream config git repository.
44706 * scripts/config.sub: Likewise.
44707
3601428f
CM
447082012-01-28 Chris Metcalf <cmetcalf@tilera.com>
44709
3ac8b282
CM
44710 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44711 (EM_NUM): Update.
44712 (R_TILEPRO_*, R_TILEGX_*): New macros.
44713
e034841e
CM
44714 * scripts/firstversions.awk: Fix bug in version range handling.
44715
540d7568
CM
44716 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44717
3601428f
CM
44718 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44719
463de862
CM
44720 * include/sys/epoll.h: New file.
44721 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44722 libc_hidden_def.
44723
73139a76
UD
447242012-01-28 Ulrich Drepper <drepper@gmail.com>
44725
96bc5b45
UD
44726 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44727 Avoid unnecessary __WORDSIZE == 64 test.
44728 (fmaxf): Use VEX format if possible.
44729 (fmax): Likewise.
44730 (fminf): Likewise.
44731 (fmin): Likewise.
44732
56f6f6a2
UD
44733 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44734 * math/math_private.h: Remove libc_fegetround* and
44735 libc_fesetround*.
44736 * sysdeps/i386/configure.in: Check for -msse2avx.
44737 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44738 also if SSE2AVX is defined.
44739 Remove libc_fegetround* and libc_fesetround*.
44740 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44741 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
44742 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44743 of HAS_YMM_USABLE.
44744 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44745 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44746 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44747 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44748 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44749
73139a76
UD
44750 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44751
d73f93a4
AZ
447522012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44753
44754 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44755 size is not set.
44756 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44757
6ee65ed6
UD
447582012-01-27 Ulrich Drepper <drepper@gmail.com>
44759
44760 [BZ #13618]
44761 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44762 relocation.
44763 * Makeconfig (libm): Define.
44764 * elf/Makefile: Add rules to build and run tst-relsort1.
44765 * elf/tst-relsort1.c: New file.
44766 * elf/tst-relsort1mod1.c: New file.
44767 * elf/tst-relsort1mod2.c: New file.
44768
8db21882
JM
447692012-01-27 Joseph Myers <joseph@codesourcery.com>
44770
44771 * math/s_ldexp.c: Remove __STDC__ conditionals.
44772 * math/s_ldexpf.c: Likewise.
44773 * math/s_ldexpl.c: Likewise.
44774 * math/s_nextafter.c: Likewise.
44775 * math/s_nexttowardf.c: Likewise.
44776 * math/s_significand.c: Likewise.
44777 * math/s_significandf.c: Likewise.
44778 * math/s_significandl.c: Likewise.
44779 * math/w_jnl.c: Likewise.
44780 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44781 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44782 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44783 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44784 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44785 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44786 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44787 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44788 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44789 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44790 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44791 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44792 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44793 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44794 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44795 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44796 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44797 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44798 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44799 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44800 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44801 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44802 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44803 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44804 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44805 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44806 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44807 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44808 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44809 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44810 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44811 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44812 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44813 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44814 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44815 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44816 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44817 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44818 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44819 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44820 * sysdeps/ieee754/k_standard.c: Likewise.
44821 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44822 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44823 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44824 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44825 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44826 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44827 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44828 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44829 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44830 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44831 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44832 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44833 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44834 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44835 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44836 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44837 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44838 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44839 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44840 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44841 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44842 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44843 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44844 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44845 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44846 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44847 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44848 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44849 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44850 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44851 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44852 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44853 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44854 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44855 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44856 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44857 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44858 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44859 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44860 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44861 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44862 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44863 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44864 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44865 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44866 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44867 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44868 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44869 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44870 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44871 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44872 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44873 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44874 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44875 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44876 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44877 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44878 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44879 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44880 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44881 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44882 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44883 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44884 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44885 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44886 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44887 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44888 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44889 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44890 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44891 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44892 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44893 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44894 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44895 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44896 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44897 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44898 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44899 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44900 * sysdeps/ieee754/s_matherr.c: Likewise.
44901 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44902 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44903 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44904 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44905
965a54a4
JM
449062012-01-26 Joseph Myers <joseph@codesourcery.com>
44907
44908 * crypt/md5.h: Remove __STDC__ conditionals.
44909 * libio/libioP.h: Likewise.
44910 * locale/programs/config.h: Likewise.
44911 * sysdeps/generic/sysdep.h: Likewise.
44912 * sysdeps/i386/asm-syntax.h: Likewise.
44913 * sysdeps/s390/asm-syntax.h: Likewise.
44914 * sysdeps/unix/sysdep.h: Likewise.
44915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44917
7071ad79
JM
449182012-01-26 Joseph Myers <joseph@codesourcery.com>
44919
44920 * libio/libio.h: Remove __STDC__ conditionals.
44921 * malloc/obstack.h: Likewise.
44922 * math/complex.h: Likewise.
44923 * math/math.h: Likewise.
44924 * sysdeps/generic/_G_config.h: Likewise.
44925 * sysdeps/gnu/_G_config.h: Likewise.
44926 * sysdeps/mach/hurd/_G_config.h: Likewise.
44927 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44928 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44929 * sysdeps/sparc/bits/mathdef.h: Likewise.
44930
afc5ed09
UD
449312012-01-26 Ulrich Drepper <drepper@gmail.com>
44932
44933 [BZ #13583]
44934 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 44935 Clean up HAS_* macros.
afc5ed09 44936 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
44937 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44938 possible.
44939 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44940 HAS_AVX.
44941 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44942 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44943 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44944 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44945 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 44946
bdb6de1d
JM
449472012-01-25 Joseph Myers <joseph@codesourcery.com>
44948
44949 * elf/tst-unique3.cc (gets): Remove declaration.
44950 * elf/tst-unique3lib.cc (gets): Likewise.
44951 * elf/tst-unique3lib2.cc (gets): Likewise.
44952 * elf/tst-unique4.cc (gets): Likewise.
44953
b15549e6
UD
449542012-01-24 Ulrich Drepper <drepper@gmail.com>
44955
44956 * include/stdio.h: Add C++ protection. Add gets declarations and
44957 definitions.
44958 * debug/tst-chk1.c: Don't declare gets here.
44959 * stdio-common/tst-gets.c: Likewise.
44960
a037381f
JM
449612012-01-24 Joseph Myers <joseph@codesourcery.com>
44962
44963 * posix/glob: Remove directory.
44964
f1d4aa75
JM
449652012-01-24 Joseph Myers <joseph@codesourcery.com>
44966
44967 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44968
81c0c964
PT
449692012-01-22 Pino Toscano <toscano.pino@tiscali.it>
44970
44971 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44972 of the non-standard EPFNOSUPPORT.
44973
0ea698ae
ST
449742011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
44975
44976 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
44977 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
44978 ANYWHERE set to 1 only on KERN_NO_SPACE error.
44979
d220b117
UD
449802012-01-21 Ulrich Drepper <drepper@gmail.com>
44981
44982 * wcsmbs/uchar.h: Test __STDC_VERSION__.
44983
3e1aa84e
UD
449842012-01-20 Ulrich Drepper <drepper@gmail.com>
44985
44986 * nscd/aicache.c (addhstaiX): Do not cache negative results of
44987 transient errors.
44988 * nscd/grpcache.c (cache_addgr): Likewise.
44989 * nscd/hstcache.c (cache_addhst): Likewise.
44990 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44991 * nscd/pwdcache.c (cache_addpw): Likewise.
44992 * nscd/servicescache.c (cache_addserv): Likewise.
44993
400aa020
UD
449942012-01-16 Ulrich Drepper <drepper@gmail.com>
44995
d77e7869
UD
44996 * malloc/malloc.c: Various cleanups.
44997 * malloc/hooks.c: Likewise.
44998
400aa020
UD
44999 * stdlib/Makefile (tests): Add bug-fmtmsg1.
45000 * stdlib/bug-fmtmsg1.c: New file.
45001
45002 * stdlib/fmtmsg.c (init): Add missing unlock.
45003 Patch by Peng Haitao <penght@cn.fujitsu.com>.
45004
e0a309cf
MP
450052012-01-12 Marek Polacek <polacek@redhat.com>
45006
45007 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
45008 and _GNU_SOURCE.
45009
929d11c7
WS
450102012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45011
45012 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
45013 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
45014 macro to ensure uniqueness of label name.
45015 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45016 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45017
41d0e869
UD
450182012-01-11 Ulrich Drepper <drepper@gmail.com>
45019
0cc5ed3b
UD
45020 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
45021
41d0e869
UD
45022 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
45023 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45024 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45025 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
45026
a47a831a
UD
450272012-01-10 Ulrich Drepper <drepper@gmail.com>
45028
daa891c0
UD
45029 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
45030
45031 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
45032 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45033 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45034
e58ef0f2
UD
45035 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
45036
a47a831a 45037 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
45038 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45039 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 45040 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
45041
45042 * math/bits/math-finite.h: Add ldexp support.
45043
a0bfc9c7
MP
450442012-01-10 Marek Polacek <polacek@redhat.com>
45045
45046 * locale/programs/localedef.h (show_archive_content): Add noreturn
45047 attribute.
45048
d6e97a1d
UD
450492012-01-09 Ulrich Drepper <drepper@gmail.com>
45050
45051 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
45052
d5835c26
UD
450532012-01-08 Ulrich Drepper <drepper@gmail.com>
45054
e5f484c6
UD
45055 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
45056
d5835c26
UD
45057 * io/Makefile (headers): Add bits/poll2.h.
45058
d1f741e9
WS
450592011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
45060
45061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
45062 typo #include statement.
45063
ec09c1c4
UD
450642012-01-08 Ulrich Drepper <drepper@gmail.com>
45065
45066 * include/sys/cdefs.h: Define __attribute_alloc_size.
45067 * catgets/gencat.c: Add alloc_size attribute and apply consistently
45068 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
45069 * elf/pldd.c: Likewise.
45070 * iconv/iconv_charmap.c: Likewise.
45071 * iconv/iconvconfig.c: Likewise.
45072 * iconv/strtab.c: Likewise.
45073 * locale/programs/locale.c: Likewise.
45074 * locale/programs/localedef.h: Likewise.
45075 * locale/programs/simple-hash.c: Likewise.
45076 * nscd/nscd.h: Likewise.
45077 * nss/makedb.c: Likewise.
45078 * sysdeps/generic/ldconfig.h: Likewise.
45079 * locale/programs/localedef.c: Remove xmalloc prototype.
45080 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
45081
20b38e03
PP
450822012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45083
45084 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
45085 appropriate.
45086
a0da5fe1
UD
450872012-01-08 Ulrich Drepper <drepper@gmail.com>
45088
1d5a644a 45089 * math/Makefile (tests): Add tst-CMPLX.
669704fd 45090 * math/tst-CMPLX.c: New file.
1d5a644a 45091
8784a6db
UD
45092 * math/complex.h (CMPLXL): Fix typo.
45093
d9a216c0
UD
45094 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
45095 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
45096 GLIBC_2.16.
45097 * debug/tst-chk1.c: Add poll and ppoll tests.
45098 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
45099 * include/sys/poll.h: Add hidden proto for ppoll.
45100 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
45101 * sysdeps/mach/hurd/ppoll.c: Likewise.
45102 * io/ppoll.c: Likewise.
45103 * debug/poll_chk.c: New file.
45104 * debug/ppoll_chk.c: New file.
45105 * include/bits/poll2.h: New file.
45106 * io/bits/poll2.h: New file.
45107
ac097f5c
UD
45108 [BZ #1350]
45109 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
45110
2119dcfa
UD
45111 * configure.in: static is always set to yes. Remove.
45112 * config.make.in: Don't set build-static.
45113 * Makeconfig: Remove use of build-static.
45114 * dlfcn/Makefile: Likewise.
45115 * elf/Makefile: Likewise.
45116 * math/Makefile: Likewise.
45117 * misc/Makefile: Likewise.
45118 * nptl/Makefile: Likewise.
45119 * sysdeps/mach/hurd/Makefile: Likewise.
45120
121766a9
UD
45121 * configure.in: PWD_P is not used anymore.
45122 * config.make.in: Remove PWD_P entry.
45123
51a1d39c 45124 * configure.in: Remove last remnants of RANLIB.
8720d066 45125 No need to check for signed size_t anymore.
215f4bdc
UD
45126 Don't set libc_commonpagesize and libc_relro_required here for Alpha
45127 and IA-64.
3857022a 45128 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
45129 * aclocal.m4: Likewise.
45130
d3ed7225
UD
45131 * wcsmbs/mbrtoc16.c: Implement using towc function.
45132 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45133 * wcsmbs/wcsmbsload.c: Likewise.
45134 * iconv/gconv_simple.c: Likewise.
45135 * iconv/gconv_int.h: Likewise.
45136 * iconv/gconv_builtin.h: Likewise.
45137 * iconv/iconv_prog.c: Remove CHAR16 handling.
45138
45139 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45140
45141 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45142
a0da5fe1
UD
45143 * configure.in: Remove --with-elf and --enable-bounded options.
45144 Dont set base_machine for ia64. More non-ELF conditions removed.
45145 Remove testing and setting of leading underscore information.
45146 * config.make.in (build-bounded): Set to no.
45147 * config.h.in: Remove NO_UNDERSCORES entry.
45148 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
45149 them.
45150 * csu/start.c: Remove !NO_UNDERSCORE code.
45151 * locale/localeinfo.h: Likewise.
45152 * sysdeps/generic/machine-gmon.h: Likewise.
45153 * sysdeps/generic/sysdep.h: Likewise.
45154 * sysdeps/i386/sysdep.h: Likewise.
45155 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45156 * sysdeps/mach/sysdep.h: Likewise.
45157 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45158 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45159 * sysdeps/sh/sysdep.h: Likewise.
45160 * sysdeps/sparc/sparc32/alloca.S: Likewise.
45161 * sysdeps/unix/i386/sysdep.S: Likewise.
45162 * sysdeps/unix/sparc/start.c: Likewise.
45163 * sysdeps/unix/sparc/sysdep.S: Likewise.
45164 * sysdeps/unix/sparc/sysdep.h: Likewise.
45165 * sysdeps/unix/start.c: Likewise.
45166 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45167 * sysdeps/x86_64/sysdep.h: Likewise.
45168
df78418a
UD
451692012-01-07 Ulrich Drepper <drepper@gmail.com>
45170
a784e502
UD
45171 [BZ #13553]
45172 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45173 for non-gcc.
45174 * argp/argp-fmtstream.h: Use const instead __const.
45175 * argp/argp.h: Likewise.
45176 * assert/assert.h: Likewise.
45177 * bits/fenv.h: Likewise.
45178 * bits/sched.h: Likewise.
45179 * bits/sigset.h: Likewise.
45180 * bits/sigthread.h: Likewise.
45181 * catgets/nl_types.h: Likewise.
45182 * conform/data/pthread.h-data: Likewise.
45183 * crypt/crypt-private.h: Likewise.
45184 * crypt/crypt.h: Likewise.
45185 * crypt/crypt_util.c: Likewise.
45186 * ctype/ctype.h: Likewise.
45187 * debug/execinfo.h: Likewise.
45188 * debug/mbsnrtowcs_chk.c: Likewise.
45189 * debug/mbsrtowcs_chk.c: Likewise.
45190 * debug/wcsnrtombs_chk.c: Likewise.
45191 * debug/wcsrtombs_chk.c: Likewise.
45192 * debug/wcstombs_chk.c: Likewise.
45193 * dirent/dirent.h: Likewise.
45194 * dlfcn/dlfcn.h: Likewise.
45195 * elf/neededtest4.c: Likewise.
45196 * grp/grp.h: Likewise.
45197 * gshadow/gshadow.h: Likewise.
45198 * iconv/gconv.h: Likewise.
45199 * iconv/gconv_int.h: Likewise.
45200 * iconv/gconv_simple.c: Likewise.
45201 * iconv/iconv.h: Likewise.
45202 * iconv/loop.c: Likewise.
45203 * iconv/skeleton.c: Likewise.
45204 * include/aio.h: Likewise.
45205 * include/aliases.h: Likewise.
45206 * include/argz.h: Likewise.
45207 * include/arpa/inet.h: Likewise.
45208 * include/assert.h: Likewise.
45209 * include/dirent.h: Likewise.
45210 * include/dlfcn.h: Likewise.
45211 * include/execinfo.h: Likewise.
45212 * include/fcntl.h: Likewise.
45213 * include/fenv.h: Likewise.
45214 * include/glob.h: Likewise.
45215 * include/grp.h: Likewise.
45216 * include/libintl.h: Likewise.
45217 * include/mntent.h: Likewise.
45218 * include/netdb.h: Likewise.
45219 * include/pwd.h: Likewise.
45220 * include/rpc/netdb.h: Likewise.
45221 * include/sched.h: Likewise.
45222 * include/search.h: Likewise.
45223 * include/shadow.h: Likewise.
45224 * include/signal.h: Likewise.
45225 * include/stdio.h: Likewise.
45226 * include/stdlib.h: Likewise.
45227 * include/string.h: Likewise.
45228 * include/sys/socket.h: Likewise.
45229 * include/sys/stat.h: Likewise.
45230 * include/sys/statfs.h: Likewise.
45231 * include/sys/statvfs.h: Likewise.
45232 * include/sys/syslog.h: Likewise.
45233 * include/sys/time.h: Likewise.
45234 * include/sys/uio.h: Likewise.
45235 * include/time.h: Likewise.
45236 * include/unistd.h: Likewise.
45237 * include/utmp.h: Likewise.
45238 * include/wchar.h: Likewise.
45239 * include/wctype.h: Likewise.
45240 * inet/aliases.h: Likewise.
45241 * inet/arpa/inet.h: Likewise.
45242 * inet/netinet/ether.h: Likewise.
45243 * inet/netinet/in.h: Likewise.
45244 * intl/libintl.h: Likewise.
45245 * io/bits/fcntl2.h: Likewise.
45246 * io/fcntl.h: Likewise.
45247 * io/ftw.h: Likewise.
45248 * io/sys/poll.h: Likewise.
45249 * io/sys/stat.h: Likewise.
45250 * io/sys/statfs.h: Likewise.
45251 * io/sys/statvfs.h: Likewise.
45252 * io/utime.h: Likewise.
45253 * libio/bits/stdio.h: Likewise.
45254 * libio/bits/stdio2.h: Likewise.
45255 * libio/libio.h: Likewise.
45256 * libio/libioP.h: Likewise.
45257 * libio/stdio.h: Likewise.
45258 * locale/lc-ctype.c: Likewise.
45259 * locale/locale.h: Likewise.
45260 * login/utmp.h: Likewise.
45261 * malloc/arena.c: Likewise.
45262 * malloc/malloc.c: Likewise.
45263 * malloc/malloc.h: Likewise.
45264 * malloc/mcheck.c: Likewise.
45265 * malloc/mtrace.c: Likewise.
45266 * math/bits/mathcalls.h: Likewise.
45267 * math/fenv.h: Likewise.
45268 * math/math_private.h: Likewise.
45269 * misc/bits/error.h: Likewise.
45270 * misc/bits/syslog.h: Likewise.
45271 * misc/err.h: Likewise.
45272 * misc/error.h: Likewise.
45273 * misc/fstab.h: Likewise.
45274 * misc/mntent.h: Likewise.
45275 * misc/regexp.h: Likewise.
45276 * misc/search.h: Likewise.
45277 * misc/sgtty.h: Likewise.
45278 * misc/sys/mman.h: Likewise.
45279 * misc/sys/syslog.h: Likewise.
45280 * misc/sys/uio.h: Likewise.
45281 * misc/sys/xattr.h: Likewise.
45282 * misc/ttyent.h: Likewise.
45283 * nis/rpcsvc/ypclnt.h: Likewise.
45284 * nss/nss.h: Likewise.
45285 * posix/bits/unistd.h: Likewise.
45286 * posix/fnmatch.h: Likewise.
45287 * posix/glob.h: Likewise.
45288 * posix/sched.h: Likewise.
45289 * posix/spawn.h: Likewise.
45290 * posix/sys/wait.h: Likewise.
45291 * posix/unistd.h: Likewise.
45292 * posix/wordexp.h: Likewise.
45293 * pwd/pwd.h: Likewise.
45294 * resolv/netdb.h: Likewise.
45295 * resource/sys/resource.h: Likewise.
45296 * rt/aio.h: Likewise.
45297 * rt/bits/mqueue2.h: Likewise.
45298 * rt/mqueue.h: Likewise.
45299 * shadow/shadow.h: Likewise.
45300 * signal/signal.h: Likewise.
45301 * socket/send.c: Likewise.
45302 * socket/sendto.c: Likewise.
45303 * socket/sys/socket.h: Likewise.
45304 * stdio-common/printf.h: Likewise.
45305 * stdlib/bits/stdlib.h: Likewise.
45306 * stdlib/fmtmsg.h: Likewise.
45307 * stdlib/monetary.h: Likewise.
45308 * stdlib/stdlib.h: Likewise.
45309 * stdlib/ucontext.h: Likewise.
45310 * streams/stropts.h: Likewise.
45311 * string/argz.h: Likewise.
45312 * string/bits/string2.h: Likewise.
45313 * string/string.h: Likewise.
45314 * string/strings.h: Likewise.
45315 * sunrpc/rpc/auth.h: Likewise.
45316 * sunrpc/rpc/auth_des.h: Likewise.
45317 * sunrpc/rpc/clnt.h: Likewise.
45318 * sunrpc/rpc/netdb.h: Likewise.
45319 * sunrpc/rpc/pmap_clnt.h: Likewise.
45320 * sunrpc/rpc/xdr.h: Likewise.
45321 * sysdeps/generic/inttypes.h: Likewise.
45322 * sysdeps/generic/net/if.h: Likewise.
45323 * sysdeps/generic/sys/swap.h: Likewise.
45324 * sysdeps/gnu/net/if.h: Likewise.
45325 * sysdeps/gnu/utmpx.h: Likewise.
45326 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45327 * sysdeps/i386/i486/bits/string.h: Likewise.
45328 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45329 * sysdeps/s390/bits/string.h: Likewise.
45330 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45331 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45332 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45333 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45334 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45335 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45336 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45337 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45338 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45339 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45340 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45341 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45342 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45343 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45344 * sysdeps/unix/sysv/linux/readv.c: Likewise.
45345 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45346 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45347 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45348 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45349 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45350 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45351 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45352 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45353 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45354 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45355 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45356 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45357 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45358 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45359 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45360 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45361 * sysvipc/sys/ipc.h: Likewise.
45362 * sysvipc/sys/msg.h: Likewise.
45363 * sysvipc/sys/sem.h: Likewise.
45364 * sysvipc/sys/shm.h: Likewise.
45365 * termios/termios.h: Likewise.
45366 * time/sys/time.h: Likewise.
45367 * time/time.h: Likewise.
45368 * wcsmbs/bits/wchar2.h: Likewise.
45369 * wcsmbs/uchar.h: Likewise.
45370 * wcsmbs/wchar.h: Likewise.
45371 * wctype/wctype.h: Likewise.
45372
0269750c
UD
45373 [BZ #13551]
45374 * Makeconfig: Remove all but ELF support including AIX support.
45375 * Makerules: Likewise.
45376 * config.h.in: Likewise.
45377 * config.make.in: Likewise.
45378 * configure: Likewise.
45379 * configure.in: Likewise.
45380 * csu/Makefile: Likewise.
45381 * csu/version.c: Likewise.
45382 * debug/Makefile: Likewise.
45383 * dlfcn/Makefile: Likewise.
45384 * elf/Makefile: Likewise.
45385 * extra-lib.mk: Likewise.
45386 * iconv/Makefile: Likewise.
45387 * include/libc-symbols.h: Likewise.
45388 * include/shlib-compat.h: Likewise.
45389 * resolv/Makefile: Likewise.
45390 * resolv/res_libc.c: Likewise.
45391 * rt/Makefile: Likewise.
45392 * sysdeps/i386/asm-syntax.h: Likewise.
45393 * sysdeps/i386/sysdep.h: Likewise.
45394 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45395 * sysdeps/mach/sysdep.h: Likewise.
45396 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45397 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45398 * sysdeps/s390/asm-syntax.h: Likewise.
45399 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45400 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45401 * sysdeps/sh/sysdep.h: Likewise.
45402 * sysdeps/unix/sparc/sysdep.h: Likewise.
45403 * sysdeps/wordsize-32/divdi3.c: Likewise.
45404 * sysdeps/x86_64/sysdep.h: Likewise.
45405
00bbd29b
UD
45406 * argp/Versions: Remove _argp_unlock_xxx.
45407
45408 [BZ #13559]
45409 * abilist/ld.abilist: Update. Adjust for removal of tls option.
45410 * abilist/libBrokenLocale.abilist: Likewise.
45411 * abilist/libanl.abilist: Likewise.
45412 * abilist/libc.abilist: Likewise.
45413 * abilist/libcrypt.abilist: Likewise.
45414 * abilist/libdl.abilist: Likewise.
45415 * abilist/libm.abilist: Likewise.
45416 * abilist/libnsl.abilist: Likewise.
45417 * abilist/libpthread.abilist: Likewise.
45418 * abilist/libresolv.abilist: Likewise.
45419 * abilist/librt.abilist: Likewise.
45420 * abilist/libthread_db.abilist: Likewise.
45421 * abilist/libutil.abilist: Likewise.
45422 * abilist/libnss_db.abilist: New file.
45423
45424 * scripts/abilist.awk: Add support for indirect functions.
45425
a2693a0e
UD
45426 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45427
3f05895f
UD
45428 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45429
ecb6fb48
UD
45430 * shlib-versions: Remove entries for ports architectures.
45431
664f8cb9
UD
45432 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
45433 files in ports.
45434 * elf/stackguard-macros.h: Remove support for IA-64.
45435 * elf/tst-auditmod1.c: Likewise.
45436 * sysdeps/generic/ldsodefs.h: Likewise.
45437
7ae81d88
UD
45438 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45439 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45440 configure files.
45441
bdeba135
UD
45442 [BZ #13552]
45443 * configure.in: Remove --enable-omitfp support.
45444 * FAQ.in: Adjust.
45445 * config.make.in: Likewise.
45446 * Makeconfig: Likewise.
45447 * manual/install.texi: Likewise.
45448
d75a0a62
UD
45449 In case anyone cares, the IA-64 architecture could move to ports.
45450 * sysdeps/ia64/*: Removed.
45451 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 45452 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 45453
dcc9756b
UD
45454 [BZ #13555]
45455 * configure.in: Remove entries for unsupported architectures.
45456
d3761ebc 45457 [BZ #13533]
9954432e
UD
45458 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45459 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45460 routines.
45461 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45462 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45463 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45464 fall back to using wcrtomb.
45465 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45466 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45467 renaming.
45468 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45469 * wcsmbs/tst-c16c32-1.c: New file.
45470
45471 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45472 local variable.
45473
c3a87236
UD
45474 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45475
28926a1b
UD
45476 * elf/tst-unique3.cc: Add explicit declaration of gets.
45477 * elf/tst-unique3lib.cc: Likewise.
45478 * elf/tst-unique3lib2.cc: Likewise.
45479 * elf/tst-unique4.cc: Likewise.
45480
df78418a
UD
45481 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45482
8ecd6b2a
JM
454832012-01-06 Joseph Myers <joseph@codesourcery.com>
45484
45485 [BZ #13566]
45486 * assert/assert.h (static_assert): Don't define for C++.
45487 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45488 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45489
9f115170
UD
454902012-01-03 Ulrich Drepper <drepper@gmail.com>
45491
5e0d0300
UD
45492 * iconv/loop.c (single loop): Fix assertion in storing of
45493 remaining bytes.
45494
9f115170
UD
45495 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45496
81fb02b0
UD
454972012-01-01 Ulrich Drepper <drepper@gmail.com>
45498
45499 * posix/getconf.c: Update copyright year.
45500 * nss/getent.c: Likewise.
a316c1f6 45501 * nss/makedb.c: Likewise.
81fb02b0
UD
45502 * iconv/iconvconfig.c: Likewise.
45503 * iconv/iconv_prog.c: Likewise.
45504 * elf/ldconfig.c: Likewise.
a316c1f6
UD
45505 * elf/pldd.c: Likewise.
45506 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
45507 * catgets/gencat.c: Likewise.
45508 * csu/version.c: Likewise.
45509 * elf/ldd.bash.in: Likewise.
45510 * elf/sprof.c (print_version): Likewise.
45511 * locale/programs/locale.c: Likewise.
45512 * locale/programs/localedef.c: Likewise.
a316c1f6 45513 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
45514 * nscd/nscd.c (print_version): Likewise.
45515 * debug/xtrace.sh: Likewise.
45516 * malloc/memusage.sh: Likewise.
45517 * malloc/mtrace.pl: Likewise.
45518 * debug/catchsegv.sh: Likewise.
45519
2ba92745
JJ
455202011-12-30 Jakub Jelinek <jakub@redhat.com>
45521
45522 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45523 pure attribute.
45524
dadebdae
UD
455252011-12-24 Ulrich Drepper <drepper@gmail.com>
45526
d3761ebc 45527 [BZ #13533]
db6af3eb
UD
45528 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45529 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45530 transformations.
45531 * iconv/gconv_int.h: Likewise.
45532 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45533 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45534 from libc for GLIBC_2.16.
45535 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45536 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45537 * wcsmbs/uchar.h: Really define mbstate_t.
45538 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45539 * wcsmbs/c16rtomb.c: New file.
45540 * wcsmbs/mbrtoc16.c: New file.
45541 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45542 for C/POSIX locale.
45543 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45544 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45545
dadebdae
UD
45546 * wcsmbs/wchar.h: Add missing __restrict.
45547
67371b56
UD
455482011-12-23 Ulrich Drepper <drepper@gmail.com>
45549
74033a25
UD
45550 [BZ #13532]
45551 * time/Makefile (routines): Add timespec_get.
45552 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45553 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45554 timespec for ISO C11.
45555 * time/timespec_get.c: New file.
45556 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45557 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45558
380d7e87
UD
45559 [BZ #13531]
45560 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45561 * stdlib/stdlib.h: Declare aligned_alloc.
45562 * Versions.def: Add GLIBC_2.16 for libc.
45563 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45564
4e9e7a35
UD
45565 [BZ 13527]
45566 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45567 ISO C11.
45568
380d7e87 45569 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
45570 code.
45571
03a71829
UD
45572 [BZ #13528]
45573 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45574
839e283e
UD
45575 [BZ #13529]
45576 * assert/assert.h (static_assert): Define.
45577
ce5294e2 45578 * version.h: Update for 2.16 development version.
90fa7312 45579
8d44e150 45580 [BZ #13526]
d7809905
UD
45581 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45582 _ISOC11_SOURCE.
45583
c0da14cd
UD
45584 * version.h (RELEASE): Bump for 2.15 release.
45585 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45586
530a3249
MP
45587 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45588 Patch by Marek Polacek <mpolacek@redhat.com>.
45589
67371b56
UD
45590 * bits/byteswap.h: Protect long long constants with __extension__.
45591 * sysdeps/i386/bits/byteswap.h: Likewise.
45592 * sysdeps/ia64/bits/byteswap.h: Likewise.
45593 * sysdeps/s390/bits/byteswap.h: Likewise.
45594 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45595
15db4de1
LD
455962011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45597
45598 [BZ #13540]
bbe315ea
LD
45599 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45600 destination buffer.
15db4de1
LD
45601 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45602
2b2596b1
MP
456032011-12-23 Marek Polacek <polacek@redhat.com>
45604
45605 * elf/dl-addr.c (determine_info): Add inline keyword.
45606 * elf/tst-auditmod4b.c (check_avx): Likewise.
45607 * elf/tst-auditmod6b.c (check_avx): Likewise.
45608 * elf/tst-auditmod6c.c (check_avx): Likewise.
45609 * elf/tst-auditmod7b.c (check_avx): Likewise.
45610
70c6c246
UD
456112011-12-23 Ulrich Drepper <drepper@gmail.com>
45612
45613 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45614 !__SSE_MATH__.
45615
c044cf14
LD
456162011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45617
15db4de1 45618 [BZ #13540]
c044cf14
LD
45619 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45620 processing for last bytes.
45621
6b13d9d9
BH
456222011-08-06 Bruno Haible <bruno@clisp.org>
45623
d455f537
BH
45624 [BZ #13061]
45625 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45626 U+0385, not to U+1FEE.
45627
6b13d9d9
BH
45628 [BZ #13062]
45629 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45630 entry for U+00A5 U+0301.
45631
db910efd
UD
456322011-12-22 Ulrich Drepper <drepper@gmail.com>
45633
27deeafc
UD
45634 [BZ #13166]
45635 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45636 buffer for the output is too small.
45637
aed9d171
UD
45638 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45639 optimization.
45640
db910efd
UD
45641 [BZ #13185]
45642 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45643 SSE flags if possible.
45644
2bd779ae
LD
456452011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45646
e7f9dac3 45647 [BZ #13540]
2bd779ae
LD
45648 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45649 processing for last bytes.
45650
154bfc16
JM
456512011-12-22 Joseph Myers <joseph@codesourcery.com>
45652
45653 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45654 (syscall-list-default-options, syscall-list-default-condition)
45655 (syscall-list-includes): Define.
45656 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45657 list of ABIs and options and #if conditions for each ABI. Do not
45658 handle common syscalls between ABIs specially.
45659 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45660 Remove.
45661 (syscall-list-variants, syscall-list-32bit-options)
45662 (syscall-list-32bit-condition, syscall-list-64bit-options)
45663 (syscall-list-64bit-condition): Define.
45664 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45665 (syscall-list-variants, syscall-list-32bit-options)
45666 (syscall-list-32bit-condition, syscall-list-64bit-options)
45667 (syscall-list-64bit-condition): Define.
45668 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45669 Remove.
45670 (syscall-list-variants, syscall-list-32bit-options)
45671 (syscall-list-32bit-condition, syscall-list-64bit-options)
45672 (syscall-list-64bit-condition): Define.
45673 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45674 Remove.
45675 (syscall-list-variants, syscall-list-32bit-options)
45676 (syscall-list-32bit-condition, syscall-list-64bit-options)
45677 (syscall-list-64bit-condition): Define.
45678
21eaf3a5
UD
456792011-12-22 Ulrich Drepper <drepper@gmail.com>
45680
16c6f992
UD
45681 * locale/iso-639.def: Add brx entry.
45682
41043168
UD
45683 [BZ #13328]
45684 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45685 Proposed by Mariusz_Cukr <marcukr@op.pl>.
45686
21eaf3a5
UD
45687 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45688 __feraiseexcept_renamed.
45689
e3a851a2
UD
456902011-12-21 Ulrich Drepper <drepper@gmail.com>
45691
4920765e
UD
45692 [BZ #13538]
45693 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45694 EPOLLET with unsigned values.
45695 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45696 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45697
e3a851a2
UD
45698 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45699 to large cancellation.
45700 * math/s_cacoshf.c: Likewise.
45701 * math/s_cacoshl.c: Likewise.
45702
b27e24b8
RK
457032011-11-18 Richard B. Kreckel <kreckel@ginac.de>
45704
45705 [BZ #13305]
aebefeee 45706 [BZ #12786]
b27e24b8
RK
45707 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45708 * math/s_cacoshf.c: Likewise.
45709 * math/s_cacoshl.c: Likewise.
45710
ee190f67
UD
457112011-12-21 Ulrich Drepper <drepper@gmail.com>
45712
45713 [BZ #13439]
45714 * iconv/gconv.h: Define __GCONV_SWAP.
45715 * iconvdata/unicode.c: The swap bit must be stored in __flags.
45716 * iconvdata/utf-16.c: Likewise.
45717 * iconvdata/utf-32.c: Likewise.
45718
707f25df
AS
457192011-12-21 Andreas Schwab <schwab@linux-m68k.org>
45720
45721 [BZ #13524]
45722 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45723 numerator after shifting it by one limb.
45724
d2daaa1e
RÁE
457252011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
45726
45727 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45728 under [__USE_EXTERN_INLINES].
45729
a4647e72
UD
457302011-12-17 Ulrich Drepper <drepper@gmail.com>
45731
45732 [BZ #13446]
45733 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45734
f0b264f1
AZ
457352011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45736
45737 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45738 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45739 optimized code.
45740 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45741 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45742 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45743 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45744 for strncasecmp/strncasecmp_l compilation.
45745 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45746 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45747
8ef4f244
MP
457482011-12-08 Marek Polacek <mpolacek@redhat.com>
45749
45750 [BZ #13484]
45751 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45752 of __asm__.
45753
97ac2654
UD
457542011-12-17 Ulrich Drepper <drepper@gmail.com>
45755
45756 [BZ #13506]
45757 * time/tzfile.c (__tzfile_read): Check values from file header.
45758
91d2a845
WS
457592011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
45760
45761 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45762 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45763 * powerpc/powerpc32/dl-start.S: Likewise.
45764 * powerpc/powerpc32/elf/start.S: Likewise.
45765 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45766 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45767 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45768 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45769 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45770 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45771 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45772 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45773 * powerpc/powerpc32/fpu/s_round.S: Likewise.
45774 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45775 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45776 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45777 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45778 * powerpc/powerpc32/memset.S: Likewise.
45779 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45780 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45781 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45782 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45783 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45784 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45785 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45786 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45787 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45788 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45789 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45790 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45791 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45792
a1267ba1
AZ
457932011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45794
45795 * math/libm-test.inc: Added more nearbyint tests.
45796 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45797 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45798 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45799 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45800
ad8ac1bd
RL
458012011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
45802
45803 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45804 FD_CLOEXEC.
45805
1d3e4b61
UD
458062011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45807
45808 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45809 Add wcscpy-ssse3 wcscpy-c.
45810 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45811 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45812 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45813 * sysdeps/x86_64/wcschr.S: New file.
45814 * sysdeps/x86_64/wcsrchr.S: New file.
45815 * string/test-strcmp.c: Remove checking of wcscmp function for
45816 wrong alignments.
45817 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45818 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45819 wcsrchr-sse2 wcsrchr-c.
45820 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45821 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45822 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45823 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45824 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45825 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45826 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45827 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45828 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45829 * wcsmbc/wcschr.c (WCSCHR): New macro.
45830
5b330a2d
UD
458312011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45832
45833 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45834 * wcsmbs/test-wcsrchr.c: New file.
45835 * string/test-strrchr.c: Add wcsrchr support.
45836 (WIDE): New macro.
45837 * wcsmbs/test-wcscpy.c: New file.
45838 * string/test-strcpy.c: Add wcscpy support.
45839 (WIDE): New macro.
26428b7c 45840
f039c043
UD
458412011-12-10 Ulrich Drepper <drepper@gmail.com>
45842
45843 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45844 the inner loop.
45845
850fb039
AS
458462011-12-06 Andreas Schwab <schwab@linux-m68k.org>
45847
45848 [BZ #13472]
45849 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45850
4efbd5cb
UD
458512011-12-04 Ulrich Drepper <drepper@gmail.com>
45852
52ff5dd0 45853 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 45854 Minor optimizations.
52ff5dd0 45855
4efbd5cb
UD
45856 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45857 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45858 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45859
8a426e12
UD
458602011-12-03 Ulrich Drepper <drepper@gmail.com>
45861
aff2453d
UD
45862 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45863 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45864 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45865 for gcc to avoid warnings.
45866 * inet/Makefile (tests): Add tst-checks.
45867 * inet/tst-checks.c: New file.
45868
45869 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45870 warning.
45871
45872 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45873 __wmemcmp_sse2.
45874
45875 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45876 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45877
8a426e12
UD
45878 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45879
9bea3473
UD
458802011-12-02 Ulrich Drepper <drepper@gmail.com>
45881
3a965496
UD
45882 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45883 problem.
45884
9bea3473
UD
45885 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45886
f101631b
UD
458872011-11-29 Joseph Myers <joseph@codesourcery.com>
45888
45889 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45890 conditional on GCC version.
45891 (__arch_compare_and_exchange_val_8_acq)
45892 (__arch_compare_and_exchange_val_16_acq)
45893 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45894 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45895 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45896
a98275aa
UD
458972011-12-02 Joseph Myers <joseph@codesourcery.com>
45898
45899 * sysdeps/sh/backtrace.c: New file.
45900
d4cc29a2
AS
459012011-12-02 Andreas Schwab <schwab@redhat.com>
45902
45903 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
45904 parenthesis.
45905
6257af2d
AS
459062011-12-01 Andreas Schwab <schwab@redhat.com>
45907
45908 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45909 falling back to utime.
45910
b5f44c1a
AS
459112011-11-30 Andreas Schwab <schwab@redhat.com>
45912
45913 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45914 expectations for float.
45915
f3a6cc0a
AS
459162011-11-29 Andreas Schwab <schwab@redhat.com>
45917
45918 * locale/weight.h (findidx): Add parameter len.
45919 * locale/weightwc.h (findidx): Likewise.
45920 * posix/fnmatch_loop.c (FCT): Adjust caller.
45921 * posix/regcomp.c (build_equiv_class): Likewise.
45922 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45923 * posix/regexec.c (check_node_accept_bytes): Likewise.
45924 * string/strcoll_l.c (STRCOLL): Likewise.
45925 * string/strxfrm_l.c (STRXFRM): Likewise.
45926
9d65ea3a
UD
459272011-11-17 Ulrich Drepper <drepper@gmail.com>
45928
45929 * Makefile.in: Remove CVSOPT handling.
45930 * configure.in: Remove use of AC_REVISION.
45931 * iconvdata/Makefile (distribute): No need to filter out CVS.
45932 * scripts/list-sources.sh: Remove CVS, subversion and monotone
45933 handling.
45934
5583a086
AS
459352011-11-16 Andreas Schwab <schwab@redhat.com>
45936
45937 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45938 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45939 [USE_AS_STRNCASECMP_L]: Likewise.
45940 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45941 NO_TLS_DIRECT_SEG_REFS.
45942 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45943 Fix argument offsets for non-PIC.
45944 [USE_AS_STRNCASECMP_L]: Likewise.
45945 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45946 NO_TLS_DIRECT_SEG_REFS.
45947
d62a8200
UD
459482011-11-15 Ulrich Drepper <drepper@gmail.com>
45949
9d65ea3a 45950 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
45951 O_CLOEXEC.
45952 * locale/loadlocale.c (_nl_load_locale): Likewise.
45953
09f93bd3
AS
459542011-11-15 Andreas Schwab <schwab@redhat.com>
45955
446514f9
AS
45956 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45957 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45958 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45959 (SYSCALL_GETTIME): Set errno on error.
45960
09f93bd3
AS
45961 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45962 count references to noai6ai_cached.
45963
312be3f9
UD
459642011-11-15 Ulrich Drepper <drepper@gmail.com>
45965
45966 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45967
45968 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45969 FD_CLOEXEC for /proc/self/maps.
45970
45971 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45972 FD_CLOEXEC for /proc/meminfo.
45973
45974 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
45975 gai.conf.
45976
45977 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
45978 FD_CLOEXEC for given file.
45979
45980 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
45981
45982 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
45983 FD_CLOEXEC for /etc/hosts.
45984 (_gethtent): Likewise.
45985
45986 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
45987
45988 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
45989 cancellation and set FD_CLOEXEC for /etc/netgroup.
45990
45991 * nss/nss_files/files-key.c (search): Don't allow cancellation when
45992 reading /etc/publickey.
45993
45994 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45995 allow cancellation when reading /etc/group.
45996
45997 * nss/nss_files/files-alias.c (internal_setent): Don't allow
45998 cancellation.
45999 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
46000
46001 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
46002 when using data file.
46003
46004 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
46005
46006 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
46007 (write_nis_obj): Use "c" and "e" in fopen.
46008
46009 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
46010
46011 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
46012
46013 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
46014
46015 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
46016
46017 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
46018 locale.alias.
46019
46020 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
46021
46022 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
46023
46024 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
46025
46026 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
46027 file parsing and set FD_CLOEXEC.
46028
82af0fa8
UD
460292011-11-14 Ulrich Drepper <drepper@gmail.com>
46030
46031 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
46032
a5fb313c
AS
460332011-11-14 Andreas Schwab <schwab@redhat.com>
46034
46035 * malloc/arena.c (arena_get2): Don't call reused_arena when
46036 _int_new_arena failed.
46037
6abf3465
UD
460382011-11-14 Ulrich Drepper <drepper@gmail.com>
46039
46040 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
46041 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
46042 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
46043 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46044 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46045 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
46046 to compile strcasecmp and strncasecmp.
46047 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
46048 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
46049
46050 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
46051
76e3966e
UD
460522011-11-13 Ulrich Drepper <drepper@gmail.com>
46053
46054 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
46055 locale-defines.sym to gen-as-const-headers.
46056 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
46057 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
46058 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
46059 to compile strcasecmp and strncasecmp.
46060 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
46061 strcasecmp_l and strncasecmp_l.
46062 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
46063 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
46064 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
46065 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
46066 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
46067 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
46068 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
46069 * sysdeps/i386/i686/multiarch/strncase.S: New file.
46070 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
46071 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
46072 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
46073
ab26144e
UD
460742011-11-12 Ulrich Drepper <drepper@gmail.com>
46075
7edb22ef
UD
46076 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
46077 result of SYSDEP_GETTIME_CPU to retval.
46078 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
46079 parameter list to macro. Remove trailing semicolon. Adjust users.
46080
9694fc44
UD
46081 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
46082 variable.
46083
8ad89ef8
UD
46084 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
46085 mantissa words.
46086 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
46087
0c822ef9
UD
46088 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
46089 from unused variable.
46090
874e0564
UD
46091 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
46092 DWARF definitions.
46093 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
46094 for assembling.
46095
3a2edc79
UD
46096 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
46097 over namespaces.
46098
f3c2577f
UD
46099 * sunrpc/rpc_prot.c (rejected): Fix case value.
46100
294ce126
UD
46101 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
46102 unsigned long long int to avoid warnings in shift.
46103
5e2b63c6
UD
46104 * posix/regex_internal.c (re_string_reconstruct): Actually use result
46105 of use of trans.
46106 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
46107 variable tmp.
46108
e7f4b08e
UD
46109 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
46110 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
46111 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
46112
ab26144e
UD
46113 * nis/nis_table.c (nis_list): Use variable of correct type for
46114 result of __follow_path call.
46115
8a6d5255
AZ
461162011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46117
46118 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
46119 of math functions ceil, trunc, floor, round, and sqrt, when
46120 avaliable on the platform.
46121 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46122 name clash.
46123 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46124 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46125 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46126
aaddc98c
MP
461272011-10-30 Marek Polacek <mpolacek@redhat.com>
46128
46129 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46130 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46131
95b7042b
RM
461322011-11-11 Roland McGrath <roland@hack.frob.com>
46133
46134 * include/unistd.h: Fix __readlink return type.
46135 Reported by Chris Metcalf <cmetcalf@tilera.com>.
46136
57769839
UD
461372011-11-11 Ulrich Drepper <drepper@gmail.com>
46138
46139 * stdlib/ucontext.h: Undo last change for makecontext.
46140
edc5984d
AS
461412011-11-11 Andreas Schwab <schwab@redhat.com>
46142
98591e58
AS
46143 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46144
edc5984d
AS
46145 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46146 * setjmp/setjmp.h: Mark functions as non-leaf.
46147 * setjmp/bits/setjmp2.h: Likewise.
46148 * stdlib/ucontext.h: Likewise.
46149
77cdc054
AS
461502011-11-10 Andreas Schwab <schwab@redhat.com>
46151
46152 * malloc/arena.c (_int_new_arena): Don't increment narenas.
46153 (reused_arena): Don't check arena limit.
46154 (arena_get2): Atomically check arena limit.
46155
fe72eebd
UD
461562011-11-08 Ulrich Drepper <drepper@gmail.com>
46157
5f078c32
UD
46158 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46159 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46160
fe72eebd
UD
46161 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46162 instructions.
46163
ae1bc2fa
AS
461642011-11-07 Andreas Schwab <schwab@redhat.com>
46165
7583a88d
AS
46166 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46167 handler when locking.
46168
ae1bc2fa
AS
46169 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46170 Fix size of allocated buffer.
46171
10fb0bfa
AS
461722011-11-04 Andreas Schwab <schwab@redhat.com>
46173
998832a4
AS
46174 [BZ #10103]
46175 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46176 declarations for long double functions.
46177 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46178
10fb0bfa
AS
46179 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46180
3d7ba52b
AS
461812011-11-03 Andreas Schwab <schwab@redhat.com>
46182
a9ae54a1
AS
46183 * nscd/nscd.c (main): Don't start AVC thread until credentials are
46184 installed.
46185
3d7ba52b
AS
46186 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46187 is disabled.
46188
bc8db248
ST
461892011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
46190
46191 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46192
45b96dd6
AS
461932011-11-01 Andreas Schwab <schwab@linux-m68k.org>
46194
647776f6
AS
46195 * include/alloca.h (stackinfo_alloca_round): Define.
46196 (extend_alloca): Use it.
46197 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46198 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46199 here.
46200
d91a8b93
AS
46201 * scripts/check-local-headers.sh: Ignore libaudit.h.
46202
45b96dd6
AS
46203 * nscd/Makefile (extra-objs): Make recursively expanded.
46204
432d41ce
UD
462052011-11-01 Ulrich Drepper <drepper@gmail.com>
46206
34372fc6
UD
46207 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46208 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46209
fadb59f8
UD
46210 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46211 * posix/tst-rfc3484-2.c: Likewise.
46212 * posix/tst-rfc3484-3.c: Likewise.
46213
78239589
UD
46214 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46215 process_vm_writev.
46216 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46217 process_vm_writev.
46218 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46219 process_vm_writev from libc using GLIBC_2.15 version.
46220
432d41ce
UD
46221 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46222
02f9c6cf
PP
462232011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
46224
46225 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46226 stack usage.
46227
3a2c0242
UD
462282011-10-31 Ulrich Drepper <drepper@gmail.com>
46229
f4ec4833
UD
46230 [BZ #13367]
46231 * nss/getent.c (initgroups_keys): Show error message in case no group
46232 names are given.
46233
3a2c0242
UD
46234 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46235 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46236 __bump_nl_timestamp.
46237 * nscd/connections (nscd_init): When host database is served open
46238 netlink socket and request notification about configuration changes.
46239 (main_loop_poll): Track netlink file descriptor and bump timestamp
46240 in case data becomes available.
46241 (main_loop_epoll): Likewise.
46242 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46243 (database_pers_head): Add extra_data fileds.
46244 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46245 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46246 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46247 Adjust caller.
46248 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46249 in6ai data, call __free_in6ai.
46250 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46251 Add -DHAVE_NETLINK.
46252 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
46253 interface information. Reuse previous data if netlink timestamp
46254 is not changed.
46255 (__bump_nl_timestamp): New function.
46256 (__free_in6ai): New function.
46257
636064eb
UD
462582011-10-30 Ulrich Drepper <drepper@gmail.com>
46259
46260 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46261 close_not_cancel_no_status here.
46262 (__check_pf): Reorganize code a bit to not call close twice if OOM.
46263
9beb2334
UD
462642011-10-29 Ulrich Drepper <drepper@gmail.com>
46265
6ef76f3b
UD
46266 [BZ #13276]
46267 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46268 return value.
46269
0ffc4f3e 46270 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
46271 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46272 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46273
cb95113e
UD
462742011-07-03 Andreas Jaeger <aj@suse.de>
46275
46276 [BZ #10709]
46277 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46278 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46279 * math/libm-test.inc (sin_test): Add test case.
46280
a1b560ff
UD
462812011-10-29 Ulrich Drepper <drepper@gmail.com>
46282
c9aaface
UD
46283 [BZ #13337]
46284 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46285 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46286
d272e7f1
UD
46287 * elf/chroot_canon.c (chroot_canon): Cleanups.
46288
1bc33071
UD
46289 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46290
1760874d
TJ
46291 [BZ #13335]
46292 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46293 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46294
51d91b18
UD
46295 * string/test-strchr.c: Make usable for strchrnul testing.
46296 * string/test-strchrnul.c: New file.
46297 * string/Makefile (strop-tests): Add strchrnul.
46298
a1b560ff 46299 * po/it.po: Update from translation team.
b611fb81 46300 * po/es.po: Likewise.
a1b560ff 46301
a5b81e1f
UD
463022011-10-28 Ulrich Drepper <drepper@gmail.com>
46303
fd52bc6d
UD
46304 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46305 the three constants needed as parameters. Drop the others.
46306 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46307 __m128i_strloadu_tolower.
52e4b9eb
UD
46308 Create and initialize variable zero and use it in all the places
46309 where _mm_setzero_si128 was used.
fd52bc6d 46310
a5b81e1f
UD
46311 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46312 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46313 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46314 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46315 anymore.
46316 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46317 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46318 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46319 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46320 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46321 __mpranred, __mptan.
46322 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46323 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46324 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46325 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46326 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46327 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46328 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46329 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46330 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46331
b4343346
AS
463322011-10-28 Andreas Schwab <schwab@redhat.com>
46333
0c92d8a8
AS
46334 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46335 redefine if SHARED.
46336 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46337
b4343346
AS
46338 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46339 wide char related routines to wcsmbs subdir.
46340
3871f58f
AS
463412011-10-27 Andreas Schwab <schwab@redhat.com>
46342
46343 [BZ #13344]
46344 * misc/sys/cdefs.h (__THROWNL): Define.
46345 * posix/unistd.h: Use __THREADNL instead of __THREAD
46346 for memory synchronization functions.
46347
94d44d9f
RM
463482011-10-26 Roland McGrath <roland@hack.frob.com>
46349
21b64b15 46350 [BZ #13349]
94d44d9f
RM
46351 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46352 doesn't exist.
46353 * manual/stdio.texi (Obstack Streams): Node removed.
46354
f6ce9294
AS
463552011-10-26 Andreas Schwab <schwab@redhat.com>
46356
80479147
AS
46357 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46358 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46359 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46360
f6ce9294
AS
46361 * math/math_private.h (math_force_eval): Allow non-addressable
46362 arguments.
46363 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46364
618280a1
UD
463652011-10-25 Ulrich Drepper <drepper@gmail.com>
46366
e0016b11
UD
46367 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46368 file is not needed.
46369
46370 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46371 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46372 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46373 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46374 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46375 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46376 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46377 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46378 Add AVX variants.
46379 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46380 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46381 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46382 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46383 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46384 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46385 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46386 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46387 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46388 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46389 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46390 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46391 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46392 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46393 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46394 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46395 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46396 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46397 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46398
46399 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46400 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
46401
618280a1
UD
46402 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46403 place. Use VEX encoding when compiling for AVX.
46404
37822576
AS
464052011-10-25 Andreas Schwab <schwab@redhat.com>
46406
1f1e1947
AS
46407 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46408 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46409
37822576
AS
46410 * string/test-strchr.c (do_test): Don't generate NUL bytes.
46411
31ea014d
UD
464122011-10-25 Ulrich Drepper <drepper@gmail.com>
46413
d7826aa1 46414 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 46415 useless if() expression.
d7826aa1
UD
46416 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46417 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46418 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46419 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46420 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46421 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46422 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46423 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46424 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46425 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46426 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46427 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46428 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46429 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46430 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46431 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46432 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46433 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46434 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46435
31ea014d
UD
46436 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46437
16437fec
AS
464382011-10-25 Andreas Schwab <schwab@redhat.com>
46439
46440 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46441 condition.
46442 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46443
31d3cc00
UD
464442011-10-25 Ulrich Drepper <drepper@gmail.com>
46445
46446 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46447 .text section. Avoid duplicate constants.
46448 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46449 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46450 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46451 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46452 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46453 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46454 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46455 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46456 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46457 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46458 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46459 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46460 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46461 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46462 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46463 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46464 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46465 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46466 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46467 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46468 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46469 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46470 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46471 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46472 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46473 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46474 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46475 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46476 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46477 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46478 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46479 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46480 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46481 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46482 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46483 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46484 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46485 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46486 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46487 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46488 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46489 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46490 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46491 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46492 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46493
58985aa9
UD
464942011-10-24 Ulrich Drepper <drepper@gmail.com>
46495
202c9deb
UD
46496 * sysdeps/x86_64/dla.h: Move to ...
46497 * sysdeps/x86_64/fpu/dla.h: ...here.
46498 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46499 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 46500
af968f62
UD
46501 * config.make.in: Add have-mfma4 entry.
46502 * configure.in: Substitute libc_cv_cc_fma4.
46503 * math/Makefile (dbl-only-routines): Add sincostab.
46504 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46505 Use __sincostab not sincos.
46506 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46507 name is a macro.
46508 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46509 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46510 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46511 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46512 using __copysign.
46513 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46514 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46515 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46516 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46517 and __inv.
46518 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46519 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46520 __copysign.
46521 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46522 define aliases when function name is a macro.
46523 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46524 sysdeps/ieee754/dbl-64/sincos.tbl.
46525 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46526 fma4-enabled routines.
46527 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46528 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46529 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46530 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46531 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46532 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46533 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46534 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46535 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46536 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46537 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46538 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46539 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46540 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46541 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46542 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46543 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46544 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46545 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46546 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46547 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46548 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46549 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46550 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46551 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46552 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46553 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46554 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46555 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46556 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46557
58985aa9
UD
46558 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46559 rename.
46560 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46561 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46562 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46563 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46564 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46565 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46566 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46567 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46568
a201fbcf
AS
465692011-10-24 Andreas Schwab <schwab@redhat.com>
46570
46571 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46572
fc2ee42a
LD
465732011-10-23 Ulrich Drepper <drepper@gmail.com>
46574
bb3129bd
UD
46575 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46576
0275fff8
UD
46577 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46578 prediction.
46579 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46580
2fa2ae85
UD
46581 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46582 Remove unused variable magic_bits.
46583 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46584
fc2ee42a
LD
46585 * string/strnlen.c: Define and use STRNLEN macro.
46586 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46587 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46588 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46589 * wcsmbs/wcslen.c: Define and use WCSLEN.
46590 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46591 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46592 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46593 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46594 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46595 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46596 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46597
ce7dd29f
LD
465982011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46599
46600 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46601 strnlen-sse2-no-bsf.
46602 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46603 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46604 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46605 Add strnlen support.
46606 (USE_AS_STRNLEN): New macro.
46607 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46608 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46609 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46610 * sysdeps/x86_64/wcslen.S: New file.
46611
979c70a3
MZ
466122011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
46613
46614 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46615 XMM-moves are used for copying on small sizes.
46616
2d09f82f
LD
466172011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46618
46619 * wcsmbs/Makefile (strop-tests): Add wcschr.
46620 * wcsmbs/test-wcschr.c: New file.
46621 * string/test-strchr.c: Update.
46622 Add wcschr support.
46623 (WIDE): New macro.
46624
619fccca
LD
466252011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46626
2d09f82f 46627 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
46628 * wcsmbs/test-wcslen.c: New file.
46629 * string/test-strlen.c: Update.
46630 Add wcslen support.
46631 (WIDE): New macro.
46632
09f699ea
UD
466332011-10-23 Ulrich Drepper <drepper@gmail.com>
46634
46635 * po/it.po: Update from translation team.
46636
95584d3b
LD
466372011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46638
46639 * sysdeps/x86_64/wcscmp.S: Update.
46640 Fix wrong comparison semantics.
46641 wcscmp shall use signed comparison not unsigned.
46642 Don't use substraction to avoid overflow bug.
46643 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46644 * wcsmbc/wcscmp.c: Likewise.
46645 * string/test-strcmp.c: Likewise.
46646 Add new tests to check cases with negative values.
46647
c8b3296b
UD
466482011-10-23 Ulrich Drepper <drepper@gmail.com>
46649
46650 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46651 * sysdeps/x86_64/dla.h: ...here. New file.
46652 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46653 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46654 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46655 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46656 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46657 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46658 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46659 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46660 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46661
246ad57a
AS
466622011-10-23 Andreas Schwab <schwab@linux-m68k.org>
46663
46664 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46665 __ynl_finite aliases.
46666
a1a87169
UD
466672011-10-22 Ulrich Drepper <drepper@gmail.com>
46668
0d355eb7
UD
46669 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46670
a1a87169
UD
46671 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46672 define DLA_FMA.
46673 [DLA_FMA] (EMULV): Use DLA_FMA.
46674 [DLA_FMA] (MUL12): Use EMULV.
46675 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46676 that are not needed.
46677 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46678 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46679 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46680 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46681 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46682 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46683 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46684
ee2aafe0
AS
466852011-10-22 Andreas Schwab <schwab@linux-m68k.org>
46686
46687 * math/s_nan.c: Undef __nan.
46688 * math/s_nanf.c: Undef __nanf.
46689 * math/s_nanl.c: Undef __nanl.
46690 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46691 "math_private.h".
46692
bc62c2fb
UD
466932011-10-22 Ulrich Drepper <drepper@gmail.com>
46694
77425c63
UD
46695 * math/s_catan.c: Add branch predictions.
46696 * math/s_catanf.c: Likewise.
46697 * math/s_catanh.c: Likewise.
46698 * math/s_catanhf.c: Likewise.
46699 * math/s_catanhl.c: Likewise.
46700 * math/s_catanl.c: Likewise.
46701 * math/s_cexp.c: Likewise.
46702 * math/s_cexpf.c: Likewise.
46703 * math/s_cexpl.c: Likewise.
46704 * math/s_clog.c: Likewise.
46705 * math/s_clog10.c: Likewise.
46706 * math/s_clog10f.c: Likewise.
46707 * math/s_clog10l.c: Likewise.
46708 * math/s_clogf.c: Likewise.
46709 * math/s_clogl.c: Likewise.
46710 * math/s_csqrt.c: Likewise.
46711 * math/s_csqrtf.c: Likewise.
46712 * math/s_csqrtl.c: Likewise.
46713 * math/s_ctanf.c: Likewise.
46714 * math/s_ctanh.c: Likewise.
46715 * math/s_ctanhf.c: Likewise.
46716 * math/s_ctanhl.c: Likewise.
46717 * math/s_ctanl.c: Likewise.
46718
bc62c2fb
UD
46719 * math/math_private.h: Define __nan, __nanf, __nanl.
46720 * math/s_cacosh.c: Include <math_private.h>.
46721 * math/s_cacoshl.c: Likewise.
46722 * math/s_casinh.c: Likewise.
46723 * math/s_casinhf.c: Likewise.
46724 * math/s_casinhl.c: Likewise.
46725 * math/s_ccos.c: Rely entire on ccosh.
46726 * math/s_ccosf.c: Rely entire on ccoshf.
46727 * math/s_ccosl.c: Rely entirely on ccoshl.
46728 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
46729 Remove tests for FE_INVALID.
46730 * math/s_ccoshf.c: Likewise.
46731 * math/s_ccoshl.c: Likewise.
46732 * math/s_csin.c: Likewise.
46733 * math/s_csinf.c: Likewise.
46734 * math/s_csinh.c Likewise.
46735 * math/s_csinhf.c: Likewise.
46736 * math/s_csinhl.c: Likewise.
46737 * math/s_csinl.c: Likewise.
46738 * math/s_ctan.c: Likewise.
46739 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46740 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46741 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46742
8ec250a4
UD
467432011-10-21 Ulrich Drepper <drepper@gmail.com>
46744
c196fed8
UD
46745 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46746 compilation problems.
46747
8ec250a4
UD
46748 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46749 __builtin_expect.
46750
8d4f46c6
UD
467512011-10-20 Ulrich Drepper <drepper@gmail.com>
46752
ed72b654
UD
46753 * sysdeps/i386/configure.in: Test for -mfma4 option.
46754 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46755 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46756 COMMON_CPUID_INDEX_80000001.
46757 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46758 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46759 use it if FMA3 is not supported.
46760 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46761
8d4f46c6
UD
46762 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46763 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46764
d45c60c2
AS
467652011-10-20 Andreas Schwab <schwab@redhat.com>
46766
46767 [BZ #12892]
46768 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46769 it would create a cycle with a link time dependency.
46770
d9a4d2ab
UD
467712011-10-19 Ulrich Drepper <drepper@gmail.com>
46772
855d1560
UD
46773 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46774 instruction.
46775 * string/Makefile (strop-tests): Add rawmemchr.
46776 * string/test-rawmemchr.c: New file.
46777
d9a4d2ab
UD
46778 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46779 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
46780 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
46781 when compiling str{,n}casecmp and when AVX is available. Hook up
46782 new optimized code in initializers.
46783
8f3b1ffe
AS
467842011-10-19 Andreas Schwab <schwab@redhat.com>
46785
46786 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46787 __feraiseexcept instead of feraiseexcept.
46788
d38f1dba
UD
467892011-10-18 Ulrich Drepper <drepper@gmail.com>
46790
d9a8d0ab
UD
46791 * math/math_private.h: Define defaults for libc_fetestexcept and
46792 libc_feupdateenv.
46793 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46794 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46795 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46796 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46797 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46798 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46799 libc_fetestexcept and libc_feupdateenv.
46800
4855e3dd
UD
46801 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46802 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46803 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46804 * sysdeps/x86_64/fpu/math_private.h: Define special version of
46805 libc_feholdexcept_setround.
46806
581d30e3
UD
46807 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46808 Add s_nearbyint-c and s_nearbyintf-c.
46809 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46810 nearbyintf inlines.
46811 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46812 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46813 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46814 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46815
d38f1dba
UD
46816 * math/math_private.h: Define defaults for libc_fegetround,
46817 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46818 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46819 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46820 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46821 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46822 standard functions.
46823 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46824 Remove comments and hacks for old compiler versions.
46825 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46826 libc_fegetround, libc_fesetround, libc_feholdexcept, and
46827 libc_feholdexceptl.
46828
caa6c9d8
AS
468292011-10-18 Andreas Schwab <schwab@redhat.com>
46830
46831 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
46832 (__feraiseexcept_renamed): Add __NTH.
46833 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
46834 namespace violations.
46835
97c066e6
UD
468362011-10-17 Ulrich Drepper <drepper@gmail.com>
46837
99ce7b04
UD
46838 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46839
1004d182
UD
46840 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46841
228a984d
UD
46842 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46843 recently added interfaces.
46844 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46845
c8553a6a
UD
46846 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46847 about macro parameter expansion.
46848
ed22dcf6
UD
46849 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46850 __NO_MATH_INLINES is defined. Cleanups.
46851
46852 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46853 and __floorf is target has SSE4.1.
46854 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46855 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46856 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46857 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46858
b171c137
UD
46859 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46860 name.
46861 (floorf): Likewise.
46862
97c066e6
UD
46863 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46864
629f62ef
AS
468652011-10-17 Andreas Schwab <schwab@redhat.com>
46866
49a43d80
AS
46867 * misc/sys/cdefs.h: Fix last change.
46868
629f62ef
AS
46869 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46870 database lookup.
46871
e453f6cd
UD
468722011-10-16 Ulrich Drepper <drepper@gmail.com>
46873
aa78043a
UD
46874 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46875
ad0f5cad
UD
46876 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46877 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46878 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46879 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46880 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46881 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46882 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46883 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46884 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46885 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46886 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46887 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46888 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46889 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46890 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46891 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46892 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46893 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46894 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46895 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46896 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46897 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46898
46899 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46900 ceil, ceilf, floor, floorf.
46901
46902 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46903 Perform IRELATIVE relocations last.
46904
e453f6cd
UD
46905 * elf/do-rel.h: Add another parameter nrelative, replacing the
46906 local variable with the same name. Change name of the function
46907 to end in Rel or Rela (uppercase).
46908 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46909 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
46910 elf_dynamic_do_##reloc function.
46911
fd5bdc09
UD
469122011-10-15 Ulrich Drepper <drepper@gmail.com>
46913
79b195b5
UD
46914 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46915 is sufficient, at least on modern CPUs.
46916
d4a28569
UD
46917 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46918
b61099b5
UD
46919 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46920 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46921
bcf01e6d
UD
46922 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46923 __expl_finite.
46924 * math/bits/math-finite.h: Add entries for exp.
46925 * math/e_expl.c: Add __*_finite alias.
46926 * sysdeps/i386/fpu/e_exp.S: Likewise.
46927 * sysdeps/i386/fpu/e_expf.S: Likewise.
46928 * sysdeps/i386/fpu/e_expl.c: Likewise.
46929 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46930 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46931 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46932 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46933 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46934 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46935 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46936
ba1a0d59
UD
46937 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46938 is sufficient, at least on modern CPUs.
46939
fd5bdc09
UD
46940 * ctype/ctype-info.c (__ctype_init): Define.
46941 * include/ctype.h (__ctype_init): Declare.
46942 (__ctype_b_loc): The variable is always initialized.
46943 (__ctype_toupper_loc): Likewise.
46944 (__ctype_tolower_loc): Likewise.
46945 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46946 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46947
7872cfb0
AS
469482011-10-15 Andreas Schwab <schwab@linux-m68k.org>
46949
b468825a
AS
46950 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46951
7872cfb0
AS
46952 * configure.in: Also look in $cxxmachine/include for C++ system
46953 headers.
46954
be13f7bf
LD
469552011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46956
46957 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46958 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46959 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46960 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
46961 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46962 (USE_AS_WMEMCMP): New macro.
46963 Fixing indents.
46964 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46965 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46966 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46967 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46968 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46969 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46970 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46971 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46972 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46973 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
46974 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
46975 (USE_AS_WMEMCMP): New macro.
46976 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
46977 * sysdeps/string/test-memcmp.c: Update.
46978 Fix simple_wmemcmp.
46979 Add new tests.
46980 * wcsmbs/wmemcmp.c: Update.
46981 (WMEMCMP): New macro.
46982 Fix overflow bug.
46983
556a2007
AJ
469842011-10-12 Andreas Jaeger <aj@suse.de>
46985
46986 [BZ #13268]
46987 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
46988
538faaa7
UD
469892011-10-15 Ulrich Drepper <drepper@gmail.com>
46990
ab6737ff
UD
46991 * libio/iofwide.c (do_length): Avoid warning.
46992
538faaa7
UD
46993 * ctype/ctype.h (__isctype_f): Add missing __THROW.
46994
396a21b1
UD
469952011-10-14 Ulrich Drepper <drepper@gmail.com>
46996
cdf2901f
UD
46997 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46998
38ad40ce
UD
46999 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
47000 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
47001 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
47002 * sysdeps/i386/i686/fpu/e_log.S: New file.
47003 * sysdeps/i386/i686/fpu/e_logf.S: New file.
47004 * sysdeps/i386/i686/fpu/e_logl.S: New file.
47005
396a21b1
UD
47006 * ctype/ctype.h: Add support for inlined isXXX functions when
47007 compiling C++ code.
47008
6b1f68c9
AS
470092011-10-14 Andreas Schwab <schwab@redhat.com>
47010
349290c0
AS
47011 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47012
6b1f68c9
AS
47013 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
47014
f2282d42
RM
470152011-10-13 Roland McGrath <roland@hack.frob.com>
47016
47017 [BZ #13291]
47018 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
47019
5298ffa8
AS
470202011-10-13 Andreas Schwab <schwab@redhat.com>
47021
714fad23
AS
47022 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
47023 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
47024 feraiseexcept.
47025
81dcc7fb
AS
47026 * sysdeps/x86_64/memrchr.S: Check for zero size.
47027
5298ffa8
AS
47028 * string/stratcliff.c: Add memrchr tests.
47029
951fbcec
LD
470302011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47031
47032 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47033 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
47034 rawmemchr-sse2 rawmemchr-sse2-bsf.
47035 * sysdeps/i386/i686/multiarch/memchr.S: New file.
47036 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
47037 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
47038 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
47039 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
47040 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
47041 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
47042 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
47043 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
47044 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
47045 * string/memrchr.c (MEMRCHR): New macro.
47046
0ac5ae23
UD
470472011-10-12 Ulrich Drepper <drepper@gmail.com>
47048
47049 Add integration with gcc's -ffinite-math-only and optimize wrapper
47050 functions in libm.
47051 * Versions.def: Define GLIBC_2.15 version for libm.
47052 * math/Makefile (headers): Add bits/math-finite.h.
47053 * math/bits/math-finite.h: New file.
47054 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
47055 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
47056 * math/e_acoshl.c: Add __*_finite alias.
47057 * math/e_acosl.c: Likewise.
47058 * math/e_asinl.c: Likewise.
47059 * math/e_atan2l.c: Likewise.
47060 * math/e_atanhl.c: Likewise.
47061 * math/e_coshl.c: Likewise.
47062 * math/e_exp10.c: Likewise.
47063 * math/e_exp10f.c: Likewise.
47064 * math/e_exp10l.c: Likewise.
47065 * math/e_exp2l.c: Likewise.
47066 * math/e_fmodl.c: Likewise.
47067 * math/e_gammal_r.c: Likewise.
47068 * math/e_hypotl.c: Likewise.
47069 * math/e_j0l.c: Likewise.
47070 * math/e_j1l.c: Likewise.
47071 * math/e_jnl.c: Likewise.
47072 * math/e_lgammal_r.c: Likewise.
47073 * math/e_log10l.c: Likewise.
47074 * math/e_log2l.c: Likewise.
47075 * math/e_logl.c: Likewise.
47076 * math/e_powl.c: Likewise.
47077 * math/e_sinhl.c: Likewise.
47078 * math/e_sqrtl.c: Likewise.
47079 * math/e_scalb.c: Completely rewritten and optimized.
47080 * math/e_scalbf.c: Likewise.
47081 * math/e_scalbl.c: Likewise.
47082 * math/w_acos.c: Likewise.
47083 * math/w_acosf.c: Likewise.
47084 * math/w_acosl.c: Likewise.
47085 * math/w_acosh.c: Likewise.
47086 * math/w_acoshf.c: Likewise.
47087 * math/w_acoshl.c: Likewise.
47088 * math/w_asin.c: Likewise.
47089 * math/w_asinf.c: Likewise.
47090 * math/w_asinl.c: Likewise.
47091 * math/w_atan2.c: Likewise.
47092 * math/w_atan2f.c: Likewise.
47093 * math/w_atan2l.c: Likewise.
47094 * math/w_atanh.c: Likewise.
47095 * math/w_atanhf.c: Likewise.
47096 * math/w_atanhl.c: Likewise.
47097 * math/w_exp10.c: Likewise.
47098 * math/w_exp10f.c: Likewise.
47099 * math/w_exp10l.c: Likewise.
47100 * math/w_fmod.c: Likewise.
47101 * math/w_fmodf.c: Likewise.
47102 * math/w_fmodl.c: Likewise.
47103 * math/w_j0.c: Likewise.
47104 * math/w_j0f.c: Likewise.
47105 * math/w_j0l.c: Likewise.
47106 * math/w_j1.c: Likewise.
47107 * math/w_j1f.c: Likewise.
47108 * math/w_j1l.c: Likewise.
47109 * math/w_jn.c: Likewise.
47110 * math/w_jnf.c: Likewise.
47111 * math/w_log.c: Likewise.
47112 * math/w_logf.c: Likewise.
47113 * math/w_logl.c: Likewise.
47114 * math/w_log10.c: Likewise.
47115 * math/w_log10f.c: Likewise.
47116 * math/w_log10l.c: Likewise.
47117 * math/w_log2.c: Likewise.
47118 * math/w_log2f.c: Likewise.
47119 * math/w_log2l.c: Likewise.
47120 * math/w_pow.c: Likewise.
47121 * math/w_powf.c: Likewise.
47122 * math/w_powl.c: Likewise.
47123 * math/w_remainder.c: Likewise.
47124 * math/w_remainderf.c: Likewise.
47125 * math/w_remainderl.c: Likewise.
47126 * math/w_scalb.c: Likewise.
47127 * math/w_scalbf.c: Likewise.
47128 * math/w_scalbl.c: Likewise.
47129 * math/w_sqrt.c: Likewise.
47130 * math/w_sqrtf.c: Likewise.
47131 * math/w_sqrtl.c: Likewise.
47132 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47133 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
47134 used.
47135 * math/math_private.h: Declare __kernel_standard_f.
47136 * math/w_cosh.c: Remove cruft and optimize a bit.
47137 * math/w_coshf.c: Likewise.
47138 * math/w_coshl.c: Likewise.
47139 * math/w_exp2.c: Likewise.
47140 * math/w_exp2f.c: Likewise.
47141 * math/w_exp2l.c: Likewise.
47142 * math/w_hypot.c: Likewise.
47143 * math/w_hypotf.c: Likewise.
47144 * math/w_hypotl.c: Likewise.
47145 * math/w_lgamma.c: Likewise.
47146 * math/w_lgamma_r.c: Likewise.
47147 * math/w_lgammaf.c: Likewise.
47148 * math/w_lgammaf_r.c: Likewise.
47149 * math/w_lgammal.c: Likewise.
47150 * math/w_lgammal_r.c: Likewise.
47151 * math/w_sinh.c: Likewise.
47152 * math/w_sinhf.c: Likewise.
47153 * math/w_sinhl.c: Likewise.
47154 * math/w_tgamma.c: Likewise.
47155 * math/w_tgammaf.c: Likewise.
47156 * math/w_tgammal.c: Likewise.
47157 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47158 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47159 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47160 Minor optimizations. Pretty printing. Remove cruft.
47161 * sysdeps/i386/fpu/e_acosf.S: Likewise.
47162 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47163 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47164 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47165 * sysdeps/i386/fpu/e_acosl.c: Likewise.
47166 * sysdeps/i386/fpu/e_asin.S: Likewise.
47167 * sysdeps/i386/fpu/e_asinf.S: Likewise.
47168 * sysdeps/i386/fpu/e_atan2.S: Likewise.
47169 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47170 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47171 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47172 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47173 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47174 * sysdeps/i386/fpu/e_exp10.S: Likewise.
47175 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47176 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47177 * sysdeps/i386/fpu/e_exp2.S: Likewise.
47178 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47179 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47180 * sysdeps/i386/fpu/e_fmod.S: Likewise.
47181 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47182 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47183 * sysdeps/i386/fpu/e_hypot.S: Likewise.
47184 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47185 * sysdeps/i386/fpu/e_log.S: Likewise.
47186 * sysdeps/i386/fpu/e_log10.S: Likewise.
47187 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47188 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47189 * sysdeps/i386/fpu/e_log2.S: Likewise.
47190 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47191 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47192 * sysdeps/i386/fpu/e_logf.S: Likewise.
47193 * sysdeps/i386/fpu/e_logl.S: Likewise.
47194 * sysdeps/i386/fpu/e_pow.S: Likewise.
47195 * sysdeps/i386/fpu/e_powf.S: Likewise.
47196 * sysdeps/i386/fpu/e_powl.S: Likewise.
47197 * sysdeps/i386/fpu/e_remainder.S: Likewise.
47198 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47199 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47200 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47201 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47202 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47203 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47204 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47205 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47206 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47207 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47208 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47209 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47210 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47211 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47212 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47213 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47214 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47215 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47216 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47217 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47218 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47219 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47220 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47221 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47222 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47223 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47224 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47225 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47226 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47227 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47228 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47229 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47230 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47231 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47232 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47233 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47234 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47235 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47236 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47237 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47238 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47239 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47240 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47241 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47242 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47243 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47244 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47245 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47246 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47247 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47248 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47249 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47250 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47251 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47252 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47253 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47254 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47255 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47256 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47257 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47258 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47259 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47260 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47261 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47262 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47263 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47264 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47265 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47266 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47267 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47268 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47269 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47270 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47271 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47272 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47273 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47274 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47275 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47276 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47277 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47278 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47279 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47280 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47281 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47282 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47283 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47284 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47285 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47286 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47287 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47288 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47289 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47290 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47291 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47292 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47293 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47294 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47295 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47296 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47297 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47298 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47299 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47300 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47301 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47302 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47303 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47304 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47305 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47306 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47307 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47308 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47309 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47310 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47311 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47312 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47313 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47314 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47315 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47316 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
47317 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47318 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47319 (__isnanf): Likewise.
47320 (__isinf_ns): Likewise.
47321 (__isinf_nsf): Likewise.
47322 (__finite): Likewise.
47323 (__finitef): Likewise.
47324 (__ieee754_sqrt): Define as macro.
47325 (__ieee754_sqrtf): Define as macro.
47326 (__ieee754_sqrtl): Define as macro.
47327 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47328 inlined copy.
47329 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47330 __FINITE_MATH_ONLY__ consistent.
47331 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47332
12cc2fcd
AS
473332011-10-10 Andreas Schwab <schwab@linux-m68k.org>
47334
a843a204
AS
47335 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47336 of rawmemchr.
47337
12cc2fcd
AS
47338 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47339
c853acd5
UD
473402011-10-09 Ulrich Drepper <drepper@gmail.com>
47341
47342 * po/ja.po: Update from translation team.
47343
c658d255
RM
473442011-10-08 Roland McGrath <roland@hack.frob.com>
47345
110946e4
RM
47346 * locale/programs/locarchive.c (prepare_address_space): New function.
47347 (create_archive, enlarge_archive, open_archive): Use it.
47348
50604220
RM
47349 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47350 inside [SHARED], where it is used.
47351
c658d255
RM
47352 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47353
47354 * nss/getent.c (netgroup_keys): Remove unused variable.
47355 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47356
6a621eb7
UD
473572011-10-08 Ulrich Drepper <drepper@gmail.com>
47358
7edb55ce
UD
47359 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47360 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47361 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47362 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47363 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47364 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47365 * math/Makefile (libm-calls): Add s_isinf_ns.
47366 * math/divtc3.c: Use __isinf_nsl instead of isinf.
47367 * math/multc3.c: Likewise.
47368 * math/s_casin.c: Likewise.
47369 * math/s_casinf.c: Likewise.
47370 * math/s_casinl.c: Likewise.
47371 * math/s_ccos.c: Likewise.
47372 * math/s_ccosf.c: Likewise.
47373 * math/s_ccosl.c: Likewise.
47374 * math/s_ctan.c: Likewise.
47375 * math/s_ctanf.c: Likewise.
47376 * math/s_ctanh.c: Likewise.
47377 * math/s_ctanhf.c: Likewise.
47378 * math/s_ctanhl.c: Likewise.
47379 * math/s_ctanl.c: Likewise.
47380 * math/w_fmod.c: Likewise.
47381 * math/w_fmodf.c: Likewise.
47382 * math/w_fmodl.c: Likewise.
47383 * math/w_remainder.c: Likewise.
47384 * math/w_remainderf.c: Likewise.
47385 * math/w_remainderl.c: Likewise.
47386 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47387 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47388 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47389 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47390 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47391 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47392 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47393 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47394
187da0ae
UD
47395 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47396 of the number.
47397 * stdio-common/printf_fphex.c: Likewise.
47398 * stdio-common/printf_size.c: Likewise.
47399
9277c064
UD
47400 * math/e_exp10.c: Include math_private.h using <...> not "...".
47401 * math/e_exp10f.c: Likewise.
47402 * math/e_exp10l.c: Likewise.
47403 * math/e_exp2l.c: Likewise.
47404 * math/e_j0l.c: Likewise.
47405 * math/e_j1l.c: Likewise.
47406 * math/e_jnl.c: Likewise.
47407 * math/e_lgammal_r.c: Likewise.
47408 * math/e_rem_pio2l.c: Likewise.
47409 * math/e_scalb.c: Likewise.
47410 * math/e_scalbf.c: Likewise.
47411 * math/e_scalbl.c: Likewise.
47412 * math/k_cosl.c: Likewise.
47413 * math/k_sinl.c: Likewise.
47414 * math/k_tanl.c: Likewise.
47415 * math/s_cacoshf.c: Likewise.
47416 * math/s_catan.c: Likewise.
47417 * math/s_catanf.c: Likewise.
47418 * math/s_catanh.c: Likewise.
47419 * math/s_catanhf.c: Likewise.
47420 * math/s_catanhl.c: Likewise.
47421 * math/s_catanl.c: Likewise.
47422 * math/s_ccosh.c: Likewise.
47423 * math/s_ccoshf.c: Likewise.
47424 * math/s_ccoshl.c: Likewise.
47425 * math/s_cexp.c: Likewise.
47426 * math/s_cexpf.c: Likewise.
47427 * math/s_cexpl.c: Likewise.
47428 * math/s_clog.c: Likewise.
47429 * math/s_clog10.c: Likewise.
47430 * math/s_clog10f.c: Likewise.
47431 * math/s_clog10l.c: Likewise.
47432 * math/s_clogf.c: Likewise.
47433 * math/s_clogl.c: Likewise.
47434 * math/s_csin.c: Likewise.
47435 * math/s_csinf.c: Likewise.
47436 * math/s_csinh.c: Likewise.
47437 * math/s_csinhf.c: Likewise.
47438 * math/s_csinhl.c: Likewise.
47439 * math/s_csinl.c: Likewise.
47440 * math/s_csqrt.c: Likewise.
47441 * math/s_csqrtf.c: Likewise.
47442 * math/s_csqrtl.c: Likewise.
47443 * math/s_ctan.c: Likewise.
47444 * math/s_ctanf.c: Likewise.
47445 * math/s_ctanh.c: Likewise.
47446 * math/s_ctanhf.c: Likewise.
47447 * math/s_ctanhl.c: Likewise.
47448 * math/s_ctanl.c: Likewise.
47449 * math/s_ldexp.c: Likewise.
47450 * math/s_ldexpf.c: Likewise.
47451 * math/s_ldexpl.c: Likewise.
47452 * math/s_significand.c: Likewise.
47453 * math/s_significandf.c: Likewise.
47454 * math/s_significandl.c: Likewise.
47455 * math/w_acos.c: Likewise.
47456 * math/w_acosf.c: Likewise.
47457 * math/w_acosh.c: Likewise.
47458 * math/w_acoshf.c: Likewise.
47459 * math/w_acoshl.c: Likewise.
47460 * math/w_acosl.c: Likewise.
47461 * math/w_asin.c: Likewise.
47462 * math/w_asinf.c: Likewise.
47463 * math/w_asinl.c: Likewise.
47464 * math/w_atan2.c: Likewise.
47465 * math/w_atan2f.c: Likewise.
47466 * math/w_atan2l.c: Likewise.
47467 * math/w_atanh.c: Likewise.
47468 * math/w_atanhf.c: Likewise.
47469 * math/w_atanhl.c: Likewise.
47470 * math/w_cosh.c: Likewise.
47471 * math/w_coshf.c: Likewise.
47472 * math/w_coshl.c: Likewise.
47473 * math/w_dremf.c: Likewise.
47474 * math/w_exp10.c: Likewise.
47475 * math/w_exp10f.c: Likewise.
47476 * math/w_exp10l.c: Likewise.
47477 * math/w_exp2.c: Likewise.
47478 * math/w_exp2f.c: Likewise.
47479 * math/w_fmod.c: Likewise.
47480 * math/w_fmodf.c: Likewise.
47481 * math/w_fmodl.c: Likewise.
47482 * math/w_hypot.c: Likewise.
47483 * math/w_hypotf.c: Likewise.
47484 * math/w_hypotl.c: Likewise.
47485 * math/w_j0.c: Likewise.
47486 * math/w_j0f.c: Likewise.
47487 * math/w_j0l.c: Likewise.
47488 * math/w_j1.c: Likewise.
47489 * math/w_j1f.c: Likewise.
47490 * math/w_j1l.c: Likewise.
47491 * math/w_jn.c: Likewise.
47492 * math/w_jnf.c: Likewise.
47493 * math/w_jnl.c: Likewise.
47494 * math/w_lgamma.c: Likewise.
47495 * math/w_lgamma_r.c: Likewise.
47496 * math/w_lgammaf.c: Likewise.
47497 * math/w_lgammaf_r.c: Likewise.
47498 * math/w_lgammal.c: Likewise.
47499 * math/w_lgammal_r.c: Likewise.
47500 * math/w_log.c: Likewise.
47501 * math/w_log10.c: Likewise.
47502 * math/w_log10f.c: Likewise.
47503 * math/w_log10l.c: Likewise.
47504 * math/w_log2.c: Likewise.
47505 * math/w_log2f.c: Likewise.
47506 * math/w_log2l.c: Likewise.
47507 * math/w_logf.c: Likewise.
47508 * math/w_logl.c: Likewise.
47509 * math/w_pow.c: Likewise.
47510 * math/w_powf.c: Likewise.
47511 * math/w_powl.c: Likewise.
47512 * math/w_remainder.c: Likewise.
47513 * math/w_remainderf.c: Likewise.
47514 * math/w_remainderl.c: Likewise.
47515 * math/w_scalb.c: Likewise.
47516 * math/w_scalbf.c: Likewise.
47517 * math/w_scalbl.c: Likewise.
47518 * math/w_sinh.c: Likewise.
47519 * math/w_sinhf.c: Likewise.
47520 * math/w_sinhl.c: Likewise.
47521 * math/w_sqrt.c: Likewise.
47522 * math/w_sqrtf.c: Likewise.
47523 * math/w_sqrtl.c: Likewise.
47524 * math/w_tgamma.c: Likewise.
47525 * math/w_tgammaf.c: Likewise.
47526 * math/w_tgammal.c: Likewise.
47527
6a621eb7
UD
47528 * po/ja.po: Update from translation team.
47529
bf582445
AJ
475302011-09-29 Andreas Jaeger <aj@suse.de>
47531
f9efbf3a
AJ
47532 [BZ #13179]
47533 * sunrpc/netname.c (netname2host): Fix logic.
47534
bf582445
AJ
47535 [BZ #6779]
47536 [BZ #6783]
47537 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47538 correctly.
47539 * math/w_remainder.c (__remainder): Likewise.
47540 * math/w_remainderf.c (__remainderf): Likewise.
47541 * math/libm-test.inc (remainder_test): Add test cases.
47542
48693bea
AK
475432011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47544
47545 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47546 sdiv_qrnnd.
47547
42622229
LD
475482011-10-07 Ulrich Drepper <drepper@gmail.com>
47549
47550 * string/test-memcmp.c: Avoid unncessary #defines.
47551 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47552
093ecf92
LD
475532011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47554
47555 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47556 Use new sse2 version for core i3 - i7 as it's faster
47557 than sse42 version.
47558 (bit_Prefer_PMINUB_for_stringop): New.
47559 * sysdeps/x86_64/rawmemchr.S: Update.
47560 Replace with faster SSE2 version.
47561 * sysdeps/x86_64/memrchr.S: New file.
47562 * sysdeps/x86_64/memchr.S: Update.
47563 Replace with faster SSE2 version.
47564
fde56e5c
MP
475652011-09-12 Marek Polacek <mpolacek@redhat.com>
47566
47567 * elf/dl-load.c (lose): Add cast to avoid warning.
47568
21fd49a9
UD
475692011-10-07 Ulrich Drepper <drepper@gmail.com>
47570
5a06e643
UD
47571 * po/ca.po: Update from translation team.
47572
684ae515
UD
47573 * inet/getnetgrent_r.c: Hook up nscd.
47574 * nscd/Makefile (routines): Add nscd_netgroup.
47575 (nscd-modules): Add netgroupcache.
47576 (CFLAGS-netgroupcache.c): Define.
47577 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47578 (cache_search): Add const to second parameter.
47579 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47580 INNETGR.
47581 (dbs): Add netgrdb entry.
47582 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47583 (verify_persistent_db): Handle netgrdb.
47584 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47585 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47586 GETFDNETGR.
47587 (netgroup_response_header): Define.
47588 (innetgroup_response_header): Define.
47589 (datahead): Add netgroup_response_header and innetgroup_response_header
47590 elements.
47591 * nscd/nscd.conf: Add entries for netgroup cache.
47592 * nscd/nscd.h (dbtype): Add netgrdb.
47593 (_PATH_NSCD_NETGROUP_DB): Define.
47594 (netgroup_iov_disabled): Declare.
47595 (xmalloc, xcalloc, xrealloc): Move declarations here.
47596 (cache_search): Adjust prototype.
47597 Add netgroup-related prototypes.
47598 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47599 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47600 (__nscd_innetgr): Declare.
47601 * nscd/selinux.c (perms): Use access_vector_t as element type and
47602 add netgroup-related initializers.
47603 * nscd/netgroupcache.c: New file.
47604 * nscd/nscd_netgroup.c: New file.
47605 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47606 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47607 For four parameters use innetgr.
47608 * nss/nss_files/files-init.c: Add definition and callback for netgr.
47609 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47610 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47611 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47612
21fd49a9
UD
47613 * nscd/connections.c (register_traced_file): Don't register file
47614 for disabled databases.
47615
054c0457
UD
476162011-10-06 Ulrich Drepper <drepper@gmail.com>
47617
32b63198
UD
47618 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47619
054c0457
UD
47620 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47621 from tree and freeing node.
47622
64031225
JO
476232011-09-25 Jiri Olsa <jolsa@redhat.com>
47624
47625 * nss/nsswitch.c (__nss_database_lookup): Handle
47626 nss_parse_service_list out of memory case.
47627
0490345c
JO
476282011-09-15 Jiri Olsa <jolsa@redhat.com>
47629
47630 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47631 out of memory case.
47632
3a62d00d
AS
476332011-10-04 Andreas Schwab <schwab@redhat.com>
47634
47635 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47636 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47637 pass it down.
47638 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47639 elf_machine_rela, elf_machine_lazy_rel.
47640 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47641 (ELF_DYNAMIC_DO_REL): Likewise.
47642 (ELF_DYNAMIC_DO_RELA): Likewise.
47643 (ELF_DYNAMIC_RELOCATE): Likewise.
47644 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47645 to ELF_DYNAMIC_DO_REL.
47646 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47647 (dl_main): In trace mode always set __RTLD_NOIFUNC.
47648 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47649 elf_machine_rela.
47650 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47651 skip_ifunc, don't call ifunc function if non-zero.
47652 (elf_machine_rela): Likewise.
47653 (elf_machine_lazy_rel): Likewise.
47654 (elf_machine_lazy_rela): Likewise.
47655 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47656 (elf_machine_lazy_rel): Likewise.
47657 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47658 Likewise.
47659 (elf_machine_lazy_rel): Likewise.
47660 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47661 Likewise.
47662 (elf_machine_lazy_rel): Likewise.
47663 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47664 (elf_machine_lazy_rel): Likewise.
47665 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47666 (elf_machine_lazy_rel): Likewise.
47667 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47668 (elf_machine_lazy_rel): Likewise.
47669 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47670 (elf_machine_lazy_rel): Likewise.
47671 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47672 (elf_machine_lazy_rel): Likewise.
47673 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47674 (elf_machine_lazy_rel): Likewise.
47675
68577918
UD
476762011-09-28 Ulrich Drepper <drepper@gmail.com>
47677
47678 * nss/nss_files/files-init.c (_nss_files_init): Use static
47679 initialization for all the *_traced_file variables.
47680
68822d74
AS
476812011-09-28 Andreas Schwab <schwab@redhat.com>
47682
47683 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47684
2056100b
RM
476852011-09-27 Roland McGrath <roland@hack.frob.com>
47686
47687 [BZ #13226]
47688 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47689
32c76b63
AS
476902011-09-27 Andreas Schwab <schwab@redhat.com>
47691
47692 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47693 Reread the line before reparsing it.
47694
bf972c9d
AS
476952011-09-26 Andreas Schwab <schwab@redhat.com>
47696
47697 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47698
e057a1b5
JM
476992011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
47700 Maxim Kuvyrkov <maxim@codesourcery.com>
47701 Joseph Myers <joseph@codesourcery.com>
47702
47703 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47704 if needed for __stack_chk_guard.
47705
bc7e1c36
RM
477062011-09-19 Roland McGrath <roland@hack.frob.com>
47707
ecb1482f
RM
47708 * sysdeps/posix/spawni.c (script_execute): Always define it.
47709 It will be optimized away if unused.
47710 (maybe_script_execute): New function.
47711 (__spawni): Call it.
47712
bc7e1c36
RM
47713 * Makerules: Don't include tls.make.
47714 (config-tls): Always set to thread.
47715 * tls.make.c: File removed.
47716
1c3b002b
MF
477172011-09-19 Mike Frysinger <vapier@gentoo.org>
47718
47719 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47720 * config.make.in (CPPFLAGS-config): New substituted variable.
47721
2840865d
UD
477222011-09-15 Ulrich Drepper <drepper@gmail.com>
47723
88738eb6
UD
47724 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47725
cbf645a6 47726 [BZ #13192]
2840865d
UD
47727 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47728 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47729
b402e91a
RM
477302011-09-15 Roland McGrath <roland@hack.frob.com>
47731
47732 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47733 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47734 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47735 (CALL_FAIL): Likewise.
47736 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47737 (CALL_FAIL): Macro removed.
47738 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47739
4c1a1f71
UD
477402011-09-15 Ulrich Drepper <drepper@gmail.com>
47741
47742 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47743 for __FINITE_MATH_ONLY__ == 1.
47744
edc121be
AS
477452011-09-15 Andreas Schwab <schwab@redhat.com>
47746
47747 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47748 __ieee754_sqrt instead of sqrt.
47749 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47750 __ieee754_sqrtf instead of sqrtf.
47751 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47752 __floorf instead of floorf.
47753 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47754 __floorf, __truncf instead of floorf, truncf.
47755
cd205654
UD
477562011-09-14 Ulrich Drepper <drepper@gmail.com>
47757
ee4d0315
UD
47758 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47759
cd205654
UD
47760 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47761 __extern_always_inline.
47762 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47763 32-bit.
47764
48b67d71
AS
477652011-09-14 Andreas Schwab <schwab@redhat.com>
47766
47767 * elf/rtld.c (dl_main): Also relocate in dependency order when
47768 doing symbol dependency testing.
47769
1ae12c75
AS
477702011-09-13 Andreas Schwab <schwab@linux-m68k.org>
47771
47772 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47773 Always define `refsym'.
47774
995a80df
AS
477752011-09-13 Andreas Schwab <schwab@redhat.com>
47776
e529793b
AS
47777 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47778 (__FD_ELT): Renamed from __FDELT.
47779 * misc/bits/select2.h (__FD_ELT): Likewise.
47780 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47781 __FD_MASK instead of __FDELT, __FDMASK.
47782 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47783 Likewise.
47784 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47785 Likewise.
47786
52d4fef8
AS
47787 * elf/Makefile (gen-ldd): Fix pattern.
47788
995a80df
AS
47789 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47790 (init_tls): Likewise.
47791
8682f8b0
UD
477922011-09-12 Ulrich Drepper <drepper@gmail.com>
47793
47794 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47795
de82006d
AS
477962011-09-12 Andreas Schwab <schwab@redhat.com>
47797
a7c8e6a1
AS
47798 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47799 `struct cmsghdr *' instead of `void *'.
47800 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47801 Likewise.
47802
0f31fe77
AS
478032011-09-11 Andreas Schwab <schwab@linux-m68k.org>
47804
47805 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47806 if non-absolute.
47807 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47808 ldd_rewrite_script.
0f31fe77 47809
32b4c839
UD
478102011-09-11 Ulrich Drepper <drepper@gmail.com>
47811
83cd1420
UD
47812 * configure.in: Remove --with-tls option.
47813 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47814 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47815 out in case it is missing.
47816 * sysdeps/ia64/elf/configure.in: Likewise.
47817 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47818 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47819 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47820 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47821 * sysdeps/sh/elf/configure.in: Likewise.
47822 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47823 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47824 * sysdeps/x86_64/elf/configure.in: Likewise.
47825 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47826 * sysdeps/mach/hurd/tls.h: Likewise.
47827
633f745d
UD
47828 [BZ #13067]
47829 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47830
f318beb8
UD
47831 [BZ #13090]
47832 * configure.in: Fix use of AC_INIT.
47833
32b4c839
UD
47834 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47835
3ce1f295
UD
478362011-09-10 Ulrich Drepper <drepper@gmail.com>
47837
bb016596
UD
47838 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47839 __set_errno.
8e58439c
UD
47840 * malloc/hooks.c: Likewise.
47841
aebae053 47842 [BZ #11929]
02d46fc4
UD
47843 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
47844 variables statically.
47845 (narenas): Initialize.
47846 (list_lock): Initialize.
bb016596
UD
47847 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
47848 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
47849 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47850 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
47851 Add initializers to main_arena and mp_.
47852 (malloc_state): Remove pagesize member. Change all users to use
47853 GLRO(dl_pagesize).
47854
47855 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47856 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
47857 is always initialized.
47858
22a89187
UD
47859 * malloc/malloc.c: Removed unused configurations and dead code.
47860 * malloc/arena.c: Likewise.
47861 * malloc/hooks.c: Likewise.
02d46fc4 47862 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 47863
d063d164
UD
47864 * include/tls.h: Removed. USE___THREAD must always be defined.
47865 * bits/libc-tsd.h: Don't handle !USE___THREAD.
47866 * elf/dl-libc.c: Likewise.
47867 * elf/dl-tsd.c: Likewise.
47868 * include/errno.h: Likewise.
47869 * include/netdb.h: Likewise.
47870 * include/resolv.h: Likewise.
47871 * inet/herrno-loc.c: Likewise.
47872 * inet/herrno.c: Likewise.
47873 * malloc/arena.c: Likewise.
47874 * malloc/hooks.c: Likewise.
47875 * malloc/malloc.c: Likewise.
47876 * resolv/res-state.c: Likewise.
47877 * resolv/res_libc.c: Likewise.
47878 * sysdeps/i386/dl-machine.h: Likewise.
47879 * sysdeps/ia64/dl-machine.h: Likewise.
47880 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47881 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47882 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47883 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47884 * sysdeps/sh/dl-machine.h: Likewise.
47885 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47886 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47887 * sysdeps/unix/i386/sysdep.S: Likewise.
47888 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47889 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47890 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47891 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47892 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47893 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47894 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47895 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47896 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47897 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47898 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47899 * sysdeps/x86_64/dl-machine.h: Likewise.
47900 * tls.make.c: Likewise.
47901
3ce1f295
UD
47902 * configure.in: Remove --with-__thread option. Make tests for
47903 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47904 tls_model attribute fail if no support is available. Remove
47905 USE_IN_LIBIO.
47906 * Makeconfig: Adjust for dropped configure option. All features are
47907 now mandatory.
47908 * Makerules: Likewise.
47909 * Versions.def: Likewise.
47910 * argp/argp-fmtstream.c: Likewise.
47911 * argp/argp-fmtstream.h: Likewise.
47912 * argp/argp-help.c: Likewise.
47913 * assert/assert.c: Likewise.
47914 * config.h.in: Likewise.
47915 * config.make.in: Likewise.
47916 * configure: Likewise.
47917 * configure.in: Likewise.
47918 * csu/Versions: Likewise.
47919 * csu/init.c: Likewise.
47920 * elf/tst-audit2.c: Likewise.
47921 * elf/tst-tls10.c: Likewise.
47922 * elf/tst-tls10.h: Likewise.
47923 * elf/tst-tls11.c: Likewise.
47924 * elf/tst-tls12.c: Likewise.
47925 * elf/tst-tls14.c: Likewise.
47926 * elf/tst-tlsmod11.c: Likewise.
47927 * elf/tst-tlsmod12.c: Likewise.
47928 * elf/tst-tlsmod13.c: Likewise.
47929 * elf/tst-tlsmod13a.c: Likewise.
47930 * elf/tst-tlsmod14a.c: Likewise.
47931 * elf/tst-tlsmod15b.c: Likewise.
47932 * elf/tst-tlsmod16a.c: Likewise.
47933 * elf/tst-tlsmod16b.c: Likewise.
47934 * elf/tst-tlsmod7.c: Likewise.
47935 * elf/tst-tlsmod8.c: Likewise.
47936 * elf/tst-tlsmod9.c: Likewise.
47937 * gmon/gmon.c: Likewise.
47938 * grp/fgetgrent_r.c: Likewise.
47939 * grp/putgrent.c: Likewise.
47940 * hurd/fopenport.c: Likewise.
47941 * include/libc-symbols.h: Likewise.
47942 * include/tls.h: Likewise.
47943 * intl/gettextP.h: Likewise.
47944 * intl/loadinfo.h: Likewise.
47945 * locale/global-locale.c: Likewise.
47946 * locale/localeinfo.h: Likewise.
47947 * mach/devstream.c: Likewise.
47948 * malloc/arena.c: Likewise.
47949 * malloc/set-freeres.c: Likewise.
47950 * misc/err.c: Likewise.
47951 * misc/getttyent.c: Likewise.
47952 * misc/mntent_r.c: Likewise.
47953 * posix/getopt.c: Likewise.
47954 * posix/wordexp.c: Likewise.
47955 * pwd/fgetpwent_r.c: Likewise.
47956 * resolv/Versions: Likewise.
47957 * resolv/res_hconf.c: Likewise.
47958 * shadow/fgetspent_r.c: Likewise.
47959 * shadow/putspent.c: Likewise.
47960 * stdio-common/printf_fphex.c: Likewise.
47961 * stdio-common/tmpfile.c: Likewise.
47962 * stdlib/abort.c: Likewise.
47963 * stdlib/fmtmsg.c: Likewise.
47964 * sunrpc/auth_unix.c: Likewise.
47965 * sunrpc/clnt_perr.c: Likewise.
47966 * sunrpc/clnt_tcp.c: Likewise.
47967 * sunrpc/clnt_udp.c: Likewise.
47968 * sunrpc/clnt_unix.c: Likewise.
47969 * sunrpc/openchild.c: Likewise.
47970 * sunrpc/svc_simple.c: Likewise.
47971 * sunrpc/svc_tcp.c: Likewise.
47972 * sunrpc/svc_udp.c: Likewise.
47973 * sunrpc/svc_unix.c: Likewise.
47974 * sunrpc/xdr.c: Likewise.
47975 * sunrpc/xdr_array.c: Likewise.
47976 * sunrpc/xdr_rec.c: Likewise.
47977 * sunrpc/xdr_ref.c: Likewise.
47978 * sunrpc/xdr_stdio.c: Likewise.
47979
1248c1c4
PB
479802011-09-09 Ulrich Drepper <drepper@gmail.com>
47981
47982 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47983
479842011-07-03 Andreas Jaeger <aj@suse.de>
47985
47986 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
47987 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
47988 regenerate with gen-libm-tests.pl.
47989
479902010-05-12 Petr Baudis <pasky@suse.cz>
47991
47992 [BZ #11589]
47993 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47994 around j0() zero points by switching to j1().
47995 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47996 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47997 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47998 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47999
f22e1074
UD
480002011-09-09 Ulrich Drepper <drepper@gmail.com>
48001
f19009c1
UD
48002 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
48003 instead of 0.
48004 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 48005 instead of 0.
f19009c1
UD
48006 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48007 Patch in part by Pavel Roskin <proski@gnu.org>.
48008
3f8cc204
UD
48009 [BZ #13138]
48010 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
48011 realloc.
48012 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
48013 Free memory block if necessary.
48014
f22e1074
UD
48015 [BZ #12847]
48016 * libio/genops.c (INTDEF): For string streams the _lock pointer can
48017 be NULL. Don't lock in this case.
48018
0a2349f9
RM
480192011-09-09 Roland McGrath <roland@hack.frob.com>
48020
48021 * elf/elf.h (ELFOSABI_GNU): New macro.
48022 (ELFOSABI_LINUX): Define to that.
48023
f3cdd467
DZ
480242011-07-29 Denis Zaitceff <zaitceff@gmail.com>
48025
48026 * string/strncat.c (strncat): Undef the symbol in case it has been
48027 defined in bits/string.h.
48028
74718d13
UD
480292011-09-09 Ulrich Drepper <drepper@gmail.com>
48030
633e9e0f
UD
48031 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
48032
0a2349f9 48033 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
48034 link map.
48035
f9924780
AJ
480362011-08-17 Andreas Jaeger <aj@suse.de>
48037
48038 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
48039
7f5517aa
PP
480402011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
48041 Ian Lance Taylor <iant@google.com>
48042
48043 * math/libm-test.inc (lround_test): New testcase.
48044 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
48045
762011fe
UD
480462011-09-08 Ulrich Drepper <drepper@gmail.com>
48047
92963737
UD
48048 * Makefile: Remove support for automatic cvs check-ins.
48049 * Makerules: Likewise.
48050 * config.make.in: Likewise.
48051 * configure.in: Likewise.
48052 * intl/Makefile: Likewise.
48053 * locale/Makefile: Likewise.
48054 * po/Makefile: Likewise.
48055 * posix/Makefile: Likewise.
48056 * sysdeps/gnu/Makefile: Likewise.
48057 * sysdeps/mach/hurd/Makefile: Likewise.
48058 * sysdeps/sparc/sparc32/Makefile: Likewise.
48059
b0727fd8
JS
48060 [BZ #13118]
48061 * posix/Makefile (bug-regex32-ENV): Define.
48062 Patch by John Stanley <jpsinthemix@verizon.net>.
48063
a0f33f99
UD
48064 * misc/Makefile (headers): Add bits/select2.h.
48065 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
48066 * misc/bits/select2.h: New file.
48067 * include/bits/select2.h: New file.
48068 * debug/Makefile (routines): Add fdelt_chk.
48069 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
48070 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
48071 FD_ISSET.
48072 * debug/fdelt_chk.c: New file.
48073
762011fe
UD
48074 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
48075 * wcsmbs/test-wmemcmp.c: Likewise.
48076 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 48077 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
48078
480792011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48080
48081 * string/Makefile (strop-tests): Add memcmp.
48082 * string/test-wmemcmp.c: New file.
48083 * string/test-memcmp.c: Add wmemcmp support.
48084
7f513ec8
RM
480852011-09-08 Roland McGrath <roland@hack.frob.com>
48086
0442afb4
RM
48087 [BZ #13153]
48088 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
48089 2011-07-19 change.
48090
7f513ec8
RM
48091 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
48092 garbage value in a __mach_port_mod_refs call in the cases of the
48093 task-self and thread-self ports.
48094
a12b2239
ST
480952011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48096
48097 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
48098
610f9ab4
AS
480992011-09-08 Andreas Schwab <schwab@redhat.com>
48100
7f513ec8 48101 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 48102
48882a1a
LD
481032011-09-07 Ulrich Drepper <drepper@gmail.com>
48104
b49865be
UD
48105 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
48106
fdc86bc9
UD
48107 * elf/dl-libc.c (dlerror_run): Pass back error code from
48108 dl_catch_error.
48109
c966526a
UD
48110 [BZ #13123]
48111 * elf/dl-load.c (lose): Free l_origin if it is valid.
48112
48882a1a
LD
48113 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
48114 names.
48115 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
48116 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48117 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48118 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48119 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48120 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48121
77a2a8b4
AZ
481222011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48123
48124 * sysdeps/powerpc/fpu/e_hypot.c: New file.
48125 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48126 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48127 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48128 * sysdeps/powerpc/fpu/k_cosf.c: New file.
48129 * sysdeps/powerpc/fpu/k_sinf.c: New file.
48130 * sysdeps/powerpc/fpu/s_cosf.c: New file.
48131 * sysdeps/powerpc/fpu/s_sinf.c: New file.
48132 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48133 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48134
24f579d8
AM
481352011-08-15 Alan Modra <amodra@gmail.com>
48136
48137 [BZ #13092]
48138 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48139 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48140 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
48141 ppc_mcount to static-only-routines.
48142 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48143 __mcount_internal.
48144 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48145 __mcount_internal with usual JUMPTARGET. Remove useless nop.
48146
3d4837df
UD
481472011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
48148
48149 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48150 for finite and infinity parameters.
48151
22700377
WS
481522011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48153
48154 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48155 and add nop instructions for throughput optimization.
48156 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48157
5025581e
WS
481582011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
48159
48160 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48161 aligned copy for power7 with vector-scalar instructions.
48162 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48163
08a300c9
L
481642011-07-24 H.J. Lu <hongjiu.lu@intel.com>
48165
48166 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48167 AVX check.
48168
59178ef9
AS
481692011-09-07 Andreas Schwab <schwab@redhat.com>
48170
48171 [BZ #13144]
48172 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48173 last change.
48174
e38ba7ab
UD
481752011-09-07 Ulrich Drepper <drepper@gmail.com>
48176
48177 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48178 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48179 syscall wrapper around clock_gettime in __vdso_clock_gettime.
48180 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48181 clock_gettime.
48182
d53a73ac
UD
481832011-09-06 Ulrich Drepper <drepper@gmail.com>
48184
fc8bffcc
UD
48185 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48186 Forgot to demangle the pointer.
48187
ceaa0c5d
UD
48188 * sysdeps/i386/sysdep.h: Define atom_text_section.
48189 * sysdeps/x86_64/sysdep.h: Likewise.
48190 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48191 section with atom_text_section.
48192 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48193 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48194 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48195 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48196 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48197
a77d3c17
UD
48198 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48199 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48200 already be defined. Change to take two parameters and don't assign
48201 result to variable. Adjust all users.
48202 Define INTERNAL_GETTIME if not already defined.
48203 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48204 call.
48205 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48206 HAVE_CLOCK_GETTIME_VSYSCALL.
48207 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48208
d53a73ac
UD
48209 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48210 gettimeofday vsyscall, just use time.
48211
a8f84144
AS
482122011-09-06 Andreas Schwab <schwab@redhat.com>
48213
48214 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48215 <errno.h>.
48216
ef606249
UD
482172011-09-06 Ulrich Drepper <drepper@gmail.com>
48218
48219 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48220 syscall on x86-64.
48221 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48222 syscall.
48223 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48224 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48225 syscall if possible.
48226
6585cb60
UD
482272011-09-05 Ulrich Drepper <drepper@gmail.com>
48228
48229 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48230 e_ident. Don't pass to find_mapsXX.
48231 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48232
a5f524e4
LD
482332011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48234
48235 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48236 strchr-sse2-no-bsf strrchr-sse2-no-bsf
48237 * sysdeps/x86_64/multiarch/strchr.S: Update.
48238 Check bit_slow_BSF bit.
48239 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48240 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48241 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48242
554881ef
UD
482432011-09-05 Ulrich Drepper <drepper@gmail.com>
48244
d96de963
UD
48245 [BZ #13134]
48246 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48247 before glibc 2.15.
48248 (tryshell): Define.
48249 (__spawni): Change last parameter to be flag. Test
48250 SPAWN_XFLAGS_USE_PATH flag to use path or not.
48251 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48252 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48253 * posix/spawni.c: Likewise.
48254 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48255 * posix/spawnp.c: Likewise. Change normal version to use
48256 SPAWN_XFLAGS_USE_PATH.
48257 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48258 SPAWN_XFLAGS_TRY_SHELL.
48259
d48e5868
UD
48260 [BZ #13150]
48261 * posix/glob.h: Remove gcc 1.x support.
48262
554881ef
UD
48263 [BZ #13068]
48264 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48265
693fb948
LD
482662011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48267
48268 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48269 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48270 strrchr-sse2-bsf
48271 * sysdeps/i386/i686/multiarch/strchr.S: New file.
48272 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48273 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48274 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48275 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48276 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48277
1b48c537
UD
482782011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48279
49d42c37
UD
48280 * sysdeps/x86_64/wcscmp.S: New file.
48281
1b48c537
UD
48282 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48283 wcscmp-c wcscmp-sse2
48284 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48285 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48286 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48287 * wcsmbs/wcscmp.c: Allow renaming.
48288
15c95c5d
DM
482892011-09-05 David S. Miller <davem@davemloft.net>
48290
48291 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48292 stack slot, rather than the struct return pointer slot.
48293 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48294 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48296 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48297
2f0ad8f3
UD
482982011-09-05 Ulrich Drepper <drepper@gmail.com>
48299
d88ae418
UD
48300 * po/ja.po: Update from translation team.
48301
2f0ad8f3
UD
48302 [BZ #13144]
48303 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48304 kernel in 64-bit binaries.
48305
5f4318d1
DM
483062011-09-01 David S. Miller <davem@davemloft.net>
48307
48308 * elf/elf.h (HWCAP_SPARC_*): Move to..
48309 * sysdeps/sparc/sysdep.h: this new file and add new values.
48310 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48311 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48312 _DL_HWCAP_COUNT to 24.
48313 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48314 entries.
48315 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48316 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48317 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48318 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48319 instead of magic constants.
48320 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48321
3ba57516
DM
483222011-08-31 David S. Miller <davem@davemloft.net>
48323
48324 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48325 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48326 Reimplement to do errno handling inline.
48327 (SYSCALL_ERROR_HANDLER): New macro.
48328 (__SYSCALL_STRING): Do not do errno handling in asm.
48329 (__CLONE_SYSCALL_STRING): Delete.
48330 (__INTERNAL_SYSCALL_STRING): Delete.
48331 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48332 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48333 (PSEUDO): Reimplement to do errno handling inline.
48334 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48335 (SYSCALL_ERROR_HANDLER): New macro.
48336 (__SYSCALL_STRING): Do not do errno handling in asm.
48337 (__CLONE_SYSCALL_STRING): Delete.
48338 (__INTERNAL_SYSCALL_STRING): Delete.
48339 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48340 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48341 i386.
48342 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48343 (inline_syscall*): Add 'err' argument.
48344 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48345 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48346 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48347 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48348
48349 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48350 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48351
2bc17433
AS
483522011-08-30 Andreas Schwab <schwab@redhat.com>
48353
48354 * elf/rtld.c (dl_main): Relocate objects in dependency order.
48355
fbeb5f4d
JO
483562011-08-29 Jiri Olsa <jolsa@redhat.com>
48357
48358 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48359 directive.
48360
ad69cc26
DM
483612011-08-24 David S. Miller <davem@davemloft.net>
48362
48363 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48364
39dd69df
AS
483652011-08-24 Andreas Schwab <schwab@redhat.com>
48366
48367 * elf/Makefile: Add rules to build and run unload8 test.
48368 * elf/unload8.c: New file.
48369 * elf/unload8mod1.c: New file.
48370 * elf/unload8mod1x.c: New file.
48371 * elf/unload8mod2.c: New file.
48372 * elf/unload8mod3.c: New file.
48373
48374 * elf/dl-close.c (_dl_close_worker): Reset private search list if
48375 it wasn't used.
48376
2c0b250a
DM
483772011-08-23 David S. Miller <davem@davemloft.net>
48378
48379 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48380 subtract stack bias.
48381 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48382 %sp not %fp in calculations.
48383 (_JMPBUF_UNWINDS_ADJ): Likewise.
48384
22044b48
DM
48385 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48386 (aio_suspend): Call it to force an exception region around the
48387 AIO_MISC_WAIT() invocation.
48388
2cae4995
AS
483892011-08-23 Andreas Schwab <schwab@redhat.com>
48390
48391 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48392 backslash.
48393
873a772e
AJ
483942011-07-04 Aurelien Jarno <aurelien@aurel32.net>
48395
48396 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48397 protection macro.
48398 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48399 and <dl-machine.h>.
48400 (Elf64_FuncDesc): Remove.
48401
25ad0df1
DM
484022011-08-22 David S. Miller <davem@davemloft.net>
48403
48404 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48405 sigaltstack check, add missing cfi directives.
48406 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48407 missing cfi directives, and sigaltstack handling.
48408
e888bcbe
AS
484092011-08-16 Andreas Schwab <schwab@redhat.com>
48410
48411 [BZ #11724]
48412 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48413 object is seen twice.
48414 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48415
48416 * elf/Makefile (distribute): Add tst-initorder2.c.
48417 (tests): Add tst-initorder2.
48418 (modules-names): Add tst-initorder2a tst-initorder2b
48419 tst-initorder2c tst-initorder2d. Add rules to build them.
48420 ($(objpfx)tst-initorder2.out): New rule.
48421 * elf/tst-initorder2.c: New file.
48422 * elf/tst-initorder2.exp: New file.
48423
87162f46
AS
484242011-08-22 Andreas Schwab <schwab@redhat.com>
48425
70538b7f
AS
48426 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48427
f55ffe58
AS
48428 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48429 dependencies back to end of function.
48430
87162f46
AS
48431 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48432 $(elfobjdir)/ld.so.
48433
91b392a4
UD
484342011-08-21 Ulrich Drepper <drepper@gmail.com>
48435
48436 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48437 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48438 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48439 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48440 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48441 of __vdso_gettimeofday.
48442 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48443 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48444 attribute_hidden.
48445 (_libc_vdso_platform_setup): Remove initialization of
48446 __vdso_gettimeofday and __vdso_time.
48447
5c43483f
UD
484482011-08-20 Ulrich Drepper <drepper@gmail.com>
48449
775a77e7
UD
48450 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48451 and fgetc_unlocked.
48452 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48453 getc_unlocked.
89f447ed 48454
49c74ba9
UD
48455 * elf/dl-open.c (add_to_global): Report additions to the global scope
48456 for LD_DEBUG=scopes.
48457 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 48458 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 48459
5c43483f
UD
48460 [BZ #13114]
48461 * stdio-common/Makefile (tests): Add bug24.
48462 * stdio-common/bug24.c: New file.
48463
a101b025
AJ
484642011-08-19 Andreas Jaeger <aj@suse.de>
48465
48466 [BZ #13114]
48467 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48468 non-existant file when using close-on-exec mode.
48469
c88f1766
UD
484702011-08-20 Ulrich Drepper <drepper@gmail.com>
48471
0276a718
UD
48472 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48473 the very first instruction.
48474
c88f1766
UD
48475 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48476 the CFI state in the end.
48477 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48478 inclusion of dl-trampoline.h.
48479 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48480
51ccffa0
AS
484812011-08-19 Andreas Schwab <schwab@redhat.com>
48482
94d7165f
AS
48483 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48484 expectations for long double.
48485
51ccffa0
AS
48486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48487 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48488
fd708658 484892011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
48490
48491 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48492 artificual limit depends upon the system page size.
48493
44f0a71e
UD
484942011-08-17 Ulrich Drepper <drepper@gmail.com>
48495
48496 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48497 * resolv/Makefile: Define CFLAGS-libresolv.
48498
8de79a24
AS
484992011-08-17 Andreas Schwab <schwab@redhat.com>
48500
48501 * nss/makedb.c (compute_tables): Make variables used in nested
48502 function static.
48503
27724598
UD
485042011-08-17 Ulrich Drepper <drepper@gmail.com>
48505
c5305d88
UD
48506 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48507 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48508 if buffer was too small.
48509
27724598
UD
48510 * elf/pldd.c (main): Attach to all threads in the process.
48511 Rewrite /proc handling to use *at functions.
48512
076fe015
UD
485132011-08-16 Ulrich Drepper <drepper@gmail.com>
48514
174baab3
UD
48515 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48516 specifies first scope to show.
48517 (dl_open_worker): Update callers. Move printing scope of new
48518 object to before the relocation.
44f0a71e 48519 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
48520 * sysdeps/generic/ldsodefs.h: Update declaration.
48521
076fe015
UD
48522 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48523 string for the scope number.
48524
a60df2c3
UD
485252011-08-14 Ulrich Drepper <drepper@gmail.com>
48526
48527 * nscd/servicescache.c (cache_addserv): Make sure written is always
48528 initialized.
48529
5e4287d1
RM
485302011-08-14 Roland McGrath <roland@hack.frob.com>
48531
85ae0589
RM
48532 * sysdeps/i386/i486/bits/atomic.h
48533 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48534 statement expression, so as to suppress "set but not used" warning.
48535 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48536
69f63097
RM
48537 * string/strncat.c (STRNCAT): Use prototype definition.
48538
675456ef
RM
48539 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48540 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48541 -Iprograms here.
48542 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48543 (localedef-modules): Add localedef.
48544 (locale-modules): Add locale.
48545
5e4287d1
RM
48546 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48547 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48548 to avoid a warning.
48549
9c96ff23
DM
485502011-08-14 David S. Miller <davem@davemloft.net>
48551
48552 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48553 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48554
f9ddf089
UD
485552011-08-13 Ulrich Drepper <drepper@gmail.com>
48556
44f0a71e 48557 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
48558 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48559 * elf/rtld.c (dl_main): Set l_name of vDSO.
48560 Call _dl_show_scope when DL_DEBUG_SCOPES.
48561 (process_dl_debug): Recognize scopes flag and also set it for all.
48562 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48563 Declare _dl_show_scope.
48564
1dc27704
UD
48565 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48566 (do_dlopen): Pass caller_dlopen to dl_open.
48567 (__libc_dlopen_mode): Initialize caller_dlopen.
48568
f9ddf089
UD
48569 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48570 of libc. Make tolower call locale-independent. Optimize a bit by
48571 using isdigit instead of isalnum.
48572 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48573
9ac533d3
UD
485742011-08-12 Ulrich Drepper <drepper@gmail.com>
48575
48576 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48577 was a dependency or dynamically loaded.
48578
89edf2e9
UD
485792011-08-11 Ulrich Drepper <drepper@gmail.com>
48580
8e999d29
UD
48581 * intl/l10nflist.c: Allow architecture-specific pop function.
48582 * sysdeps/x86_64/l10nflist.c: New file.
48583
89edf2e9
UD
48584 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48585 classification.
48586
14d96785
AS
485872011-08-10 Andreas Schwab <schwab@redhat.com>
48588
48589 * include/dirent.h: Add libc_hidden_proto for scandirat and
48590 scandirat64. Don't declare __scandirat64.
48591 * dirent/scandirat.c: Add libc_hidden_def.
48592 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48593 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48594
6761ac04
DM
485952011-08-10 David S. Miller <davem@davemloft.net>
48596
48597 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48598 enum.
48599 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48600 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48601 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48602
c55fbd1e
UD
486032011-08-09 Ulrich Drepper <drepper@gmail.com>
48604
48605 * Versions.def [libc]: Add GLIBC_2.15.
48606 * dirent/Makefile (routines): Add scandirat and scandirat64.
48607 * dirent/Versions [libc]: Export scandirat and scandirat64 for
48608 GLIBC_2.15.
48609 * dirent/dirent.h: Declare scandirat and scandirat64.
48610 * dirent/scandirat.c: New file.
48611 * dirent/scandirat64.c: New file.
48612 * sysdeps/wordsize-64/scandirat.c: New file.
48613 * sysdeps/wordsize-64/scandirat64.c: New file.
48614 * dirent/opendir.c: Define opendirat.
48615 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
48616 using scandirat.
48617 * dirent/scandir64.c: Adjust for scandir.c change.
48618 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
48619 __scandirat64, and __scandir_cancel_handler.
48620 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
48621 additional parameter and use openat instead of open (outside of ld.so).
48622 Add new __opendir as wrapper around __opendirat.
48623 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48624 here without requiring old scandirat implementation.
48625
879165f2
UD
486262011-08-08 Ulrich Drepper <drepper@gmail.com>
48627
48628 * dirent/scandir.c (cancel_handler): Renamed to
48629 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
48630 defined. Adjust users.
48631 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48632 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48633
cb7e923b
UD
486342011-08-04 Ulrich Drepper <drepper@gmail.com>
48635
16292edd
UD
48636 * string/test-string.h (IMPL): Use __STRING to expand name and then
48637 stringify it.
48638
cb7e923b
UD
48639 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
48640 of cleanups.
48641
cff82933
LD
486422011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48643
48644 * string/Makefile: Update.
48645 (strop-tests): Append strncat.
48646 * string/test-wcscmp.c: New file.
48647 New comprehensive test for wcscmp.
48648 * string/test-strcmp.c: Update.
48649 (WIDE): New define.
48650
9be9bfcc
AS
486512011-07-22 Andreas Schwab <schwab@redhat.com>
48652
48653 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48654 line.
48655
2e96f1c7
AS
486562011-07-26 Andreas Schwab <schwab@redhat.com>
48657
48658 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48659 encoding to ACE if AI_IDN.
48660
85188888
JJ
486612011-08-01 Jakub Jelinek <jakub@redhat.com>
48662
48663 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48664 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48665
5fa16e9b
LD
486662011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48667
48668 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48669 Fix overflow bug in strncat.
48670 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48671
48672 * string/test-strncat.c: Update.
48673 Add new tests for checking overflow bugs.
48674
486752011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48676
48677 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48678 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48679 * sysdeps/i386/i686/multiarch/strcat.S: New file.
48680 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48681 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48682 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48683 * sysdeps/i386/i686/multiarch/strncat.S: New file.
48684 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48685 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48686
48687 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48688 (USE_AS_STRCAT): Define.
48689 Add strcat and strncat support.
48690 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48691
8c1a459f
AS
486922011-07-25 Andreas Schwab <schwab@redhat.com>
48693
48694 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48695 __n bigger than INT_MAX+1.
48696 (__strncmp_g): Likewise.
48697
bba33c28
UD
486982011-07-23 Ulrich Drepper <drepper@gmail.com>
48699
798be72d
UD
48700 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48701 * libio/stido.h: Likewise.
48702
8accd4dc
UD
48703 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48704 (AF_NFC): Define.
48705 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48706 (AF_NFC): Define.
48707
cbff0d96
UD
48708 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48709 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48710 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48711 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48712 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48713
9191c04a
UD
48714 [BZ #13021]
48715 * scripts/test-installation.pl: Don't expect libnss_test1 to be
48716 installed.
48717
bba33c28
UD
48718 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48719 typo.
48720 (_dl_x86_64_save_sse): Likewise.
48721
90f139dd
UD
487222011-07-22 Ulrich Drepper <drepper@gmail.com>
48723
1aae088a
UD
48724 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48725 OSXSAVE.
48726 (_dl_x86_64_save_sse): Likewise.
48727
8e2045f5
UD
48728 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48729
90f139dd
UD
48730 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48731
1d002f25
AS
487322011-07-21 Andreas Schwab <schwab@redhat.com>
48733
48734 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48735 change.
48736 (_dl_x86_64_save_sse): Use correct AVX check.
48737
21137f89
UD
487382011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48739
48740 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48741 bug in strncpy/strncat.
48742 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48743
a65c0b7a
UD
487442011-07-21 Ulrich Drepper <drepper@gmail.com>
48745
48746 * string/tester.c (test_strcat): Add tests for different alignments
48747 of source and destination.
48748 (test_strncat): Likewise.
48749
6986b98a
UD
487502011-07-20 Ulrich Drepper <drepper@gmail.com>
48751
90bb2039
UD
48752 [BZ #12852]
48753 * posix/glob.c (glob): Check passed in values before using them in
48754 expressions to avoid some overflows.
48755 (glob_in_dir): Likewise.
48756
5644ef54
UD
48757 [BZ #13007]
48758 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48759 check for AVX enablement so that we don't crash with old kernels and
48760 new hardware.
48761 * elf/tst-audit4.c: Add same checks here.
48762 * elf/tst-audit6.c: Likewise.
48763
48764 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 48765
bfc9dc9b
AS
487662011-07-09 Andreas Schwab <schwab@linux-m68k.org>
48767
48768 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48769
702e64bb
UD
487702011-07-20 Ulrich Drepper <drepper@gmail.com>
48771
48772 * po/cs.po: Update from translation team.
48773 * po/bg.po: Likewise.
48774
295e904f
MP
487752011-07-12 Marek Polacek <mpolacek@redhat.com>
48776
48777 * misc/sys/cdefs.h: Add support for const attribute.
48778 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48779 to gnu_dev_{major,minor,makedev} functions.
48780
3ff94596
MP
487812011-07-20 Marek Polacek <mpolacek@redhat.com>
48782
48783 * intl/dcigettext.c (get_output_charset): Add missing bracket.
48784
28b59fca
AS
487852011-07-20 Andreas Schwab <schwab@redhat.com>
48786
48787 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48788 strlen results.
48789
19df733e
AK
487902011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48791
48792 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48793 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48794 register in order to avoid conflicts with the soft frame pointer
48795 being held in r11 when necessary.
48796 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48797 (INTERNAL_VSYSCALL_NCS): Likewise.
48798
c8835729
MP
487992011-07-14 Marek Polacek <mpolacek@redhat.com>
48800
48801 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48802 * elf/dl-fini.c (_dl_fini): Adjust caller.
48803 * elf/dl-close.c (_dl_close_worker): Likewise.
48804 * sysdeps/generic/ldsodefs.h: Adjust declaration.
48805
b902330c
MP
488062011-07-15 Marek Polacek <mpolacek@redhat.com>
48807
8991e135
MP
48808 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48809 "aux_cache->nlibs < 0".
48810
b902330c
MP
48811 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48812 in the reload-count case.
48813
99710781
LD
488142011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48815
48816 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48817 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48818 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48819 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48820 * sysdeps/x86_64/multiarch/strcat.S: New file.
48821 * sysdeps/x86_64/multiarch/strncat.S: New file.
48822 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48823 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48824 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48825 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48826 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48827 (USE_AS_STRCAT): Define.
48828 Add strcat and strncat support.
48829 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48830 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48831 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48832 * string/strncat.c: Update.
48833 (USE_AS_STRNCAT): Define.
48834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48835 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48836 and i7.
48837 * sysdeps/x86_64/multiarch/init-arch.h
48838 (bit_Prefer_PMINUB_for_stringop): New.
48839 (index_Prefer_PMINUB_for_stringop): Likewise.
48840 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48841 bit_Prefer_PMINUB_for_stringop.
48842
7dc6bd90
UD
488432011-07-19 Ulrich Drepper <drepper@gmail.com>
48844
48845 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48846 buffer64.
48847 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48848 of casting of buffer.
48849 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48850 buffer32 and buffer64.
48851 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48852 writes instead of casting of buffer.
48853 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48854 buffer32.
48855 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48856 casting of buffer.
48857
e0e72284
AS
488582011-07-19 Andreas Schwab <schwab@redhat.com>
48859
48860 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48861
feb1eb0b
UD
488622011-07-19 Ulrich Drepper <drepper@gmail.com>
48863
48864 * nscd/nscd.c (termination_handler): Don't do anything for a database
48865 if it has not yet been initialized.
48866
298711ff
UD
488672011-07-18 Ulrich Drepper <drepper@gmail.com>
48868
48869 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48870
488712011-07-15 Marek Polacek <mpolacek@redhat.com>
48872
48873 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48874
f9d68389
UD
488752011-07-18 Ulrich Drepper <drepper@gmail.com>
48876
48877 * po/nl.po: Update from translation team.
48878 * po/sv.po: Likewise.
48879
db290cf5
RM
488802011-07-16 Roland McGrath <roland@hack.frob.com>
48881
48882 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48883 now disallowed by GCC.
5c550700 48884
fd5e21c7
RM
48885 * configure.in (use-default-link): Default to yes if a test -shared
48886 link meets our qualifications.
48887 * configure: Regenerated.
48888
5c550700
RM
48889 * config.make.in (output-format): New variable.
48890 * configure.in: Check for ld --print-output-format support.
48891 * configure: Regenerated.
48892 * Makerules ($(common-objpfx)format.lds)
48893 [$(output-format) != unknown]: Just use $(output-format),
48894 instead of the linker-script munging.
48895
9fa2c032
RM
488962011-07-14 Roland McGrath <roland@hack.frob.com>
48897
a6928d51
RM
48898 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48899 of $(common-objpfx)shlib.lds.
48900 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48901
661607b3
RM
48902 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48903 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48904
9fa2c032
RM
48905 * configure.in (-z relro check): Adjust test code to add a large
48906 writable data section after it.
48907 * configure: Regenerated.
48908
defe9061
RM
489092011-07-11 Roland McGrath <roland@hack.frob.com>
48910
48911 * configure.in (-z relro check): Fix test code to make the variable
48912 truly const.
48913 * configure: Regenerated.
48914
319b9ad4
UD
489152011-07-11 Ulrich Drepper <drepper@gmail.com>
48916
48917 * nscd/nscd.h (struct traced_file): Define.
48918 (struct database_dyn): Remove inotify_descr, reset_res, and filename
48919 elements. Add traced_files.
48920 (inotify_fd): Declare.
48921 (register_traced_file): Declare.
48922 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48923 (inotify_fd): Export.
48924 (resolv_conf_descr): Remove.
48925 (nscd_init): Move inotify descriptor creation to main.
48926 Don't register files for notification here.
48927 (register_traced_file): New function.
48928 (invalidate_cache): Don't use reset_res to determine whether to call
48929 res_init, go through the list of registered files.
48930 (main_loop_poll): The inotify descriptors are now stored in the
48931 structures for the traced files.
48932 (main_loop_epoll): Likewise
48933 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
48934 to __nss_disable_nscd.
48935 * nscd/cache.c (prune_cache): There is no single inotify descriptor
48936 for a database anymore. Check the records for all the registered
48937 files instead.
48938 * nss/Makefile (libnss_files-routines): Add files-init.
48939 (libnss_db-routines): Add db-init.
48940 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48941 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48942 * nss/nss_db/db-init.c: New file.
48943 * nss/nss_files/files-init.c: New file.
48944 * nss/nsswitch.c (nss_load_library): New function. Broken out of
48945 __nss_lookup_function.
48946 (__nss_lookup_function): Call nss_load_library.
48947 (nss_load_all_libraries): New function.
48948 (__nss_disable_nscd): Take parameter with callback function for files
48949 to register. Set is_nscd. Load all the DSOs for the NSS modules
48950 used for the cached services.
48951 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48952 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48953 options for features to all the files in nscd.
48954
48955 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48956
23bee3e8
RM
489572011-07-10 Roland McGrath <roland@hack.frob.com>
48958
48959 * csu/elf-init.c (__libc_csu_init): Comment typo.
48960
46a5b7f0
UD
489612011-07-09 Ulrich Drepper <drepper@gmail.com>
48962
48963 * po/pl.po: Update from translation team.
48964 * po/ja.po: Likewise.
48965 * po/ru.po: Likewise.
48966 * po/ko.po: Likewise.
48967 * po/fr.po: Likewise.
48968
d30cf5bb
RM
489692011-07-09 Roland McGrath <roland@hack.frob.com>
48970
113ddea4
RM
48971 * configure.in (.ctors/.dtors header and trailer check):
48972 Use an empirical test on a built program.
48973 * configure: Regenerated.
48974
574920b4
RM
48975 * configure.in (-z relro check): Use an empirical test on a built DSO.
48976 Detect, but do not require, on ia64.
48977 * configure: Regenerated.
48978
d30cf5bb
RM
48979 * configure.in (READELF): Find it with AC_CHECK_TOOL.
48980 Update tests that use readelf to use $READELF instead.
48981 * configure: Regenerated.
48982
8538fdb3
UD
489832011-07-08 Ulrich Drepper <drepper@gmail.com>
48984
48985 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
48986 if the result is not used.
48987
04d08991
AJ
489882011-07-05 Andreas Jaeger <aj@suse.de>
48989
48990 [BZ#9696]
48991 * stdlib/tst-strtod.c: Add testcase.
48992
de283087
AD
489932011-07-07 Ulrich Drepper <drepper@gmail.com>
48994
4e5f31c8 48995 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 48996 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
48997 The latter has a higher limit. Take additional parameter to pass to
48998 the new function.
48999 (__pathconf): Pass file to __statfs_link_max.
49000 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
49001 __statfs_link_max.
49002 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
49003 __statfs_link_max.
49004
de283087
AD
49005 [BZ #12868]
49006 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
49007 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49008 Handle Lustre.
49009 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
49010 (__statfs_filesize_max): Likewise.
49011 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
49012
c75fa153
AJ
490132011-07-05 Andreas Jaeger <aj@suse.de>
49014
49015 * resolv/res_comp.c (dn_skipname): Remove unused variable.
49016
1a544854
UD
490172011-07-06 Marek Polacek <mpolacek@redhat.com>
49018
49019 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
49020 `status' variable.
49021 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
49022 Likewise.
49023
6f0eec67
UD
490242011-07-04 H.J. Lu <hongjiu.lu@intel.com>
49025
49026 * Makefile (strop-tests): Add strncat.
49027 * string/test-strncat.c: New file.
49028
aae30307
UD
490292011-06-30 Marek Polacek <mpolacek@redhat.com>
49030
49031 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
49032
c0cfb5eb
UD
490332011-06-21 Andreas Jaeger <aj@suse.de>
49034
49035 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
49036 Copy rule from iconvdata/Makefile.
49037
01636b21
UD
490382011-07-06 Ulrich Drepper <drepper@gmail.com>
49039
49040 [BZ #12922]
49041 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
49042 but no long options are defined, just return 'W'.
49043
9895c8bc
UD
490442011-06-22 Marek Polacek <mpolacek@redhat.com>
49045
49046 [BZ #9696]
49047 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
49048
5d4cf042
UD
490492011-07-06 Ulrich Drepper <drepper@gmail.com>
49050
49051 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
49052 netgroups to read.
960e5535 49053 (innetgr): Likewise.
5d4cf042 49054
751eb97e
RM
490552011-07-05 Roland McGrath <roland@hack.frob.com>
49056
49057 * config.make.in (install_root): Default to $(DESTDIR).
49058
f15f1e45
UD
490592011-07-05 Ulrich Drepper <drepper@gmail.com>
49060
49061 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
49062
4e34ac6a
RM
490632011-07-02 Roland McGrath <roland@hack.frob.com>
49064
5e9b6af4
RM
49065 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
49066
84f9ea0f
RM
49067 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
49068 containing directory rather than embedding absolute directory names.
49069
ea5ee9f7
RM
49070 * scripts/check-local-headers.sh: Rewritten using awk.
49071 Match by word, not by line. Print error messages for matches.
49072 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
49073
1b74661a
RM
49074 * Makerules [shlib-lds-flags empty]:
49075 ($(common-objpfx)libc_pic.opts): New target.
49076 ($(common-objpfx)libc_pic.os.clean): New target.
49077 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
49078
49079 * config.make.in (OBJCOPY): New variable.
49080 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
49081 * configure: Regenerated.
49082
f781ef40
RM
49083 * config.make.in (use-default-link): New variable.
49084 * configure.in (use_default_link): Grok --with-default-link to set it.
49085 * configure: Regenerated.
49086 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
49087 (shlib-lds, shlib-lds-flags): Define to empty.
49088
2d4fa81e
RM
49089 * Makerules (shlib-lds): New variable.
49090 (shlib-lds-flags): New variable.
49091 (build-shlib, build-moduile, build-module-asneeded): Use it.
49092 ($(common-objpfx)libc.so): Use $(shlib-lds).
49093 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
49094 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
49095
31fffa6b
RM
49096 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
49097 DT_FLAGS/DT_FLAGS_1 with zero flags.
49098
4e34ac6a
RM
49099 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
49100 linker script munging.
49101
fcfc776b
UD
491022011-07-02 Ulrich Drepper <drepper@gmail.com>
49103
49104 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
49105 as 128-bit value.
49106 * crypt/sha512.c (sha512_process_block): Perform total addition using
49107 128-bit if possible.
49108 (__sha512_finish_ctx): Likewise.
49109 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
49110 as 64-bit value.
49111 * crypt/sha256.c (SWAP64): Define.
49112 (sha256_process_block): Perform total addition using 64-bit if
49113 possible.
49114 (__sha256_finish_ctx): Likewise.
49115
99231d9a
UD
491162011-07-01 Ulrich Drepper <drepper@gmail.com>
49117
49118 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
49119 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49120 * nscd/hstcache.c (cache_addhst): Likewise.
49121 * nscd/grpcache.c (cache_addgr): Likewise.
49122 * nscd/aicache.c (addhstaiX): Likewise
49123 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49124
445b4a53
TK
491252011-07-01 Thorsten Kukuk <kukuk@suse.de>
49126
49127 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49128 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49129 * nscd/hstcache.c (cache_addhst): Likewise.
49130 * nscd/grpcache.c (cache_addgr): Likewise.
49131 * nscd/aicache.c (addhstaiX): Likewise
49132
6d4d8e8e
AS
491332011-07-01 Andreas Schwab <schwab@redhat.com>
49134
49135 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49136 domain only when needed.
49137
89f654c5
AS
491382011-06-30 Andreas Schwab <schwab@redhat.com>
49139
49140 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49141 is always restored.
49142
cf3b23ff
UD
491432011-06-29 Ulrich Drepper <drepper@gmail.com>
49144
49145 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49146 are re-adding the entry.
49147 * nscd/servicescache.c (cache_addserv): Likewise.
49148
751626f9
AJ
491492011-06-30 Aurelien Jarno <aurelien@aurel32.net>
49150
49151 * sysdeps/generic/dl-irel.h: fix protection against multiple
49152 inclusions.
49153 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49154
9113ea1f
UD
491552011-06-28 Ulrich Drepper <drepper@gmail.com>
49156
5c0b8d90
UD
49157 [BZ #12935]
49158 * malloc/memusage.sh: Fix quoting in message.
49159 * debug/xtrace.sh: Likewise.
49160
9113ea1f
UD
49161 * configure.in: Remove support for --experimental-malloc option, make
49162 it the default.
49163 * config.make.in: Likewise.
49164 * malloc/Makefile: Likewise.
49165
a4172181
AS
491662011-06-27 Andreas Schwab <schwab@redhat.com>
49167
49168 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49169 two-byte characters.
49170
78a7eee7
RM
491712011-06-27 Roland McGrath <roland@hack.frob.com>
49172
62bede13
RM
49173 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49174 AC_CACHE_CHECK invocation.
49175 * configure: Regenerated.
49176
78a7eee7
RM
49177 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49178
5ce33a62
UD
491792011-06-27 Ulrich Drepper <drepper@gmail.com>
49180
034807a9
UD
49181 [BZ #12350]
49182 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
49183 bit from old_res_options.
49184
4902da17
UD
49185 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49186
5ce33a62
UD
49187 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49188 value type for setfct.
49189
c2344f56
L
491902011-06-23 H.J. Lu <hongjiu.lu@intel.com>
49191
49192 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49193 __gettimeofday instead of gettimeofday.
49194
68468076
UD
491952011-06-26 Ulrich Drepper <drepper@gmail.com>
49196
49197 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49198
acb0d739
L
491992011-06-24 H.J. Lu <hongjiu.lu@intel.com>
49200
49201 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49202
49203 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49204 info.
49205
8912479f
L
492062011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49207
49208 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49209 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49210 strcpy-sse2-unaligned strncpy-sse2-unaligned
49211 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49212 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49213 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49214 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49215 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49216 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49217 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49218 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49219 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49220 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49221 (STRCPY): Support SSE2 and SSSE3 versions.
49222
d5495a11
UD
492232011-06-24 Ulrich Drepper <drepper@gmail.com>
49224
49225 [BZ #12874]
49226 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49227 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49228 kernels which artificially limit size of requests.
49229
0b1cbaae
L
492302011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49231
49232 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49233 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49234 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49235 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49236 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49237 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49238 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49239 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49240 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49241 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49242 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49243 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49244 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49245 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49246 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49247 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49248 Enable unaligned load optimization for Intel Core i3, i5 and i7
49249 processors.
49250 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49251 Define.
49252 (index_Fast_Unaligned_Load): Define.
49253 (HAS_FAST_UNALIGNED_LOAD): Define.
49254
07f494a0
MP
492552011-06-23 Marek Polacek <mpolacek@redhat.com>
49256
49257 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49258
fa3fc0fe
UD
492592011-06-22 Ulrich Drepper <drepper@gmail.com>
49260
49261 [BZ #12907]
49262 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49263 until it is clear that the information is realy needed.
49264 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49265
e12df166
AS
492662011-06-22 Andreas Schwab <schwab@redhat.com>
49267
49268 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49269
852eb34d
UD
492702011-06-22 Ulrich Drepper <drepper@gmail.com>
49271
84e2a551
UD
49272 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49273 /sys/devices/system/cpu/online if it is usable.
49274
852eb34d
UD
49275 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49276 reading the information from the /proc filesystem to once a second.
49277
6e502e19
UD
492782011-06-21 Andreas Jaeger <aj@suse.de>
49279
49280 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49281 NULL after inclusion of kernel headers.
49282
75d39ff2
UD
492832011-06-21 Ulrich Drepper <drepper@gmail.com>
49284
51f9aa6a
UD
49285 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49286 calls to internal_setent.
49287
c0244a9d
UD
49288 [BZ #12885]
49289 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49290 addresses using gethostbyname4_r ignore IPv4 addresses.
49291
c5e3c2ae
UD
49292 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49293 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
49294
75d39ff2
UD
49295 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49296
42675c6f
DM
492972011-06-20 David S. Miller <davem@davemloft.net>
49298
49299 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49300 inclusions.
49301 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49302
49303 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49304 (elf_irel): Use it.
49305 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49306 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49307 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49308 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49309 * sysdeps/x86_64/dl-irel.h: Likewise.
49310
49311 * elf/dl-runtime.c: Use elf_ifunc_invoke.
49312 * elf/dl-sym.c: Likewise.
49313
57912a71
UD
493142011-06-15 Ulrich Drepper <drepper@gmail.com>
49315
49316 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
49317 need to dereference resplen2.
49318
ee22793d
AS
493192011-06-14 Andreas Schwab <schwab@redhat.com>
49320
49321 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49322
a9e836b0
UD
493232011-06-15 Ulrich Drepper <drepper@gmail.com>
49324
77fb9117
UD
49325 * Makeconfig: Define vardbdir and inst_vardbdir.
49326 * nss/Makefile: Add rules to install db-Makefile.
49327
40c1b22c
UD
49328 * nss/nss_db/db-XXX.c: Cleanup.
49329
9f2da732
UD
49330 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49331 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49332 GLIBC_PRIVATE.
49333 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49334 * nss/makedb.c: Implement -g option to specify that value strings
49335 are generated and should not be added to table iterated over for
49336 get*ent calls.
49337 * nss/nss_db/db-initgroups.c: New file.
49338
82e9a1f7
UD
49339 * nss/getent.c: Add support for initgroups lookups through getgrouplist
49340 interface.
49341
c41af17e
UD
49342 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49343 (internal_getgrouplist): Adjust to name change.
49344 Update use_initgroups_entry if this is not the first call.
49345 * nss/databases.def: Add initgroups entry.
49346
a9e836b0
UD
49347 * nss/makedb.c (compute_tables): Check result of multiple hash table
49348 sizes to minimize maximum chain length.
49349
2666d441
UD
493502011-06-14 Ulrich Drepper <drepper@gmail.com>
49351
49352 * Versions.def: Add entry for libnss_db.
49353 * shlib-versions: Likewise.
49354 * nss/Makefile: Add rules to build libnss_db.
49355 * nss/Versions: Add libnss_db information. Organize libnss_files
49356 entries better.
49357 * nss/db-Makefile: Add gshadow support. Change rules for the new
49358 makedb progra. Some minor improvements to generate smaller files.
49359 * nss/nss_db/nss_db.h: Move NSS database header data structures to
49360 here from...
49361 * nss/makedb.c: ...here.
49362 Improve database format to be smaller and require less memory at
49363 runtime.
49364 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
49365 db anymore.
49366 * nss/nss_db/db-netgrp.c: Likewise.
49367 * nss/nss_db/db-open.c: Likewise.
49368 * nss/nss_files/flies-XXX.x: Adjust comments.
49369 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49370 * nss/nss_files/files-grp.c: Likewise.
49371 * nss/nss_files/files-hosts.c: Likewise.
49372 * nss/nss_files/files-network.c: Likewise.
49373 * nss/nss_files/files-proto.c: Likewise.
49374 * nss/nss_files/files-pwd.c: Likewise.
49375 * nss/nss_files/files-rpc.c: Likewise.
49376 * nss/nss_files/files-service.c: Likewise.
49377 * nss/nss_files/files-sgrp.c: Likewise.
49378 * nss/nss_files/files-spwd.c: Likewise.
49379 * nss/nss_db/db-alias.c: Removed.
49380 * nss/nss_db/dummy-db.h: Removed.
49381
9ee76b5a
UD
493822011-06-02 Ulrich Drepper <drepper@gmail.com>
49383
49384 * nss/makedb.c: Rewritten to not use database library.
49385 * nss/Makefile: Update to build new makedb program.
49386
c71ca1f8
AJ
493872011-06-14 Andreas Jaeger <aj@suse.de>
49388
49389 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49390 memset declaration.
49391
3154bfb8
UD
493922011-06-10 Andreas Schwab <schwab@redhat.com>
49393
49394 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49395 tmpbuf.
49396
b350afab
RM
493972011-06-10 Roland McGrath <roland@hack.frob.com>
49398
decd4e50
RM
49399 * Makerules (shlib.lds): Fail if the linker script comes out empty.
49400 * elf/Makefile ($(objpfx)ld.so): Likewise.
49401
5615eaf2
RM
49402 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49403 Don't list ld.so twice in dependencies.
49404
49405 * posix/bug-regex31.c: Include <stdlib.h>.
49406
49407 * nscd/hstcache.c (cache_addhst): Remove unused variable.
49408
49409 * nis/nss_compat/compat-spwd.c
49410 (getspent_next_nss_netgr): Remove unused variable.
49411 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49412
49413 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49414 nonmembers" output to use the right array.
49415
49416 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49417
49418 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49419
49420 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49421 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49422 * catgets/gencat.c (read_input_file): Likewise.
49423 * locale/programs/locarchive.c (enlarge_archive): Likewise.
49424
49425 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49426 variable definition inside #if's controlling its use.
49427
49428 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49429
49430 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49431
49432 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49433
49434 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49435 unreachable code.
49436
49437 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49438
b68e08db
RM
49439 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49440 * configure: Regenerated.
49441
b350afab
RM
49442 * Makerules: Revert last change.
49443 * elf/Makefile: Likewise.
49444
28368601
RM
494452011-06-09 Roland McGrath <roland@hack.frob.com>
49446
49447 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49448 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49449 (reloc-link): Likewise.
49450
11988f8f
UD
494512011-06-09 Ulrich Drepper <drepper@gmail.com>
49452
49453 * elf/Makefile: Add rules to build pldd.
49454 * elf/pldd.c: New file.
49455 * elf/pldd-xx.c: New file.
49456
e80fab37
UD
494572011-06-07 Ulrich Drepper <drepper@gmail.com>
49458
49459 * version.h: Update for 2.15 development version.
49460
9b849836
DM
494612011-06-07 David S. Miller <davem@davemloft.net>
49462
49463 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49464 ifuncs.
49465 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49466 elf_machine_lazy_rel): Likewise.
49467 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49468 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49469 elf_machine_lazy_rel): Likewise.
49470 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49471 dl_hwcap via passed in argument.
49472 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49473 Likewise.
49474
5a31b283
AK
494752011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49476
49477 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49478
069e52f8
RM
494792011-06-06 Roland McGrath <roland@hack.frob.com>
49480
49481 [BZ #12849]
49482 * manual/fdl-1.1.texi: New file, verbatim from:
49483 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49484 * manual/lgpl-2.1.texi: New file, verbatim from:
49485 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49486 * manual/Makefile (licenses): New variable, list those new file names.
49487 (texis): Use it.
49488 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49489
49490 * manual/fdl.texi: File removed.
49491 * manual/lesser.texi: File removed.
49492 * manual/libc.texinfo (Copying, Documentation License):
49493 Use new @include file names, put @appendix directive before @include.
49494
f16846a5
JJ
494952011-06-04 Jakub Jelinek <jakub@redhat.com>
49496
49497 [BZ #12841]
49498 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49499 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49500 (mq_open): Add __NTH.
49501
3d29045b
L
495022011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49503
49504 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49505 Assume Intel Core i3/i5/i7 processor if AVX is available.
49506
8c297311
UD
495072011-05-31 Ulrich Drepper <drepper@gmail.com>
49508
49509 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49510 typo.
49511
c8fc0c91
UD
495122011-05-31 Andreas Schwab <schwab@redhat.com>
49513
49514 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49515 memory. Use alloca_account. Fix memory leak when retrying.
49516
5b27a807
UD
495172011-05-31 Ulrich Drepper <drepper@gmail.com>
49518
356f8bc6
UD
49519 * version.h (RELEASE): Bump for 2.14 release.
49520 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49521
5b27a807
UD
49522 * config.make.in (RANLIB): Remove entry.
49523
01f16ab0
UD
495242011-05-30 Ulrich Drepper <drepper@gmail.com>
49525
41fce8bd
UD
49526 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49527 (libc.pot): Work around missing support for .ksh extension in xgettext.
49528
4769ae77
UD
49529 [BZ #12684]
49530 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49531 if both request failed.
49532 (send_dg): In case of server errors clear resplen or *resplen2.
49533
6b1e7d19
UD
49534 [BZ #12454]
49535 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49536 when there are multiple maps.
49537 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49538 (_dl_fini): Remove test here.
49539
01f16ab0
UD
49540 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49541
b1ebd700
UD
495422011-05-29 Ulrich Drepper <drepper@gmail.com>
49543
7ae22829
UD
49544 [BZ #12350]
49545 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49546 bit from old_res_options.
49547 (gaih_inet): Likewise.
49548
553149f6 49549 [BZ #11099]
18a84741 49550 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
49551 as signed.
49552
652ffab1
UD
49553 * resolv/res_init.c (res_setoptions): Make the code more compact.
49554
16985fd0
UD
49555 [BZ #11558]
49556 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49557 set RES_USEVC.
49558
0464f746
UD
49559 [BZ #11634]
49560 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49561
7d17596c
UD
49562 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49563
cf6bbbd7
UD
49564 [BZ #11781]
49565 * malloc/malloc.h: Declare malloc hook variables as volatile.
49566
13f1ab36
UD
49567 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49568 in last patch.
49569
b1ebd700
UD
49570 [BZ #11799]
49571 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 49572 raise in the comment.
80e2212d
UD
49573 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49574 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49575 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 49576
ce67228d
UD
495772011-05-28 Ulrich Drepper <drepper@gmail.com>
49578
8887a920
UD
49579 [BZ #12811]
49580 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49581 grow the buffers more if it already has to be sufficient.
49582 (build_wcs_upper_buffer): Likewise.
49583 * posix/regexec.c (check_matching): Likewise.
49584 (clean_state_log_if_needed): Likewise.
49585 (extend_buffers): Don't enlarge buffers beyond size of the input
49586 buffer.
49587 Patches mostly by Emil Wojak <emil@wojak.eu>.
49588 * posix/bug-regex32.c: New file.
49589 * posix/Makefile (tests): Add bug-regex32.
49590
4f031072
UD
49591 * locale/findlocale.c (_nl_find_locale): Return right away if
49592 _nl_explode_name failed.
49593 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49594
d0478f0c
UD
49595 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49596
de81b246
UD
49597 * debug/xtrace.sh: Unify messages.
49598 * malloc/memusage.sh: Likewise.
49599
c738465a
UD
49600 [BZ #12813]
49601 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49602 time symbol from vDSO. Substitute with vsyscall if not available.
49603 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49604 __vdso_time.
49605
f1f929d7
UD
49606 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49607 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49608 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49609 Add sendmmsg and internal_sendmmsg.
49610 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49611 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49612 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49613
ce67228d
UD
49614 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49615 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49616 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49617
e57420c6
UD
496182011-05-27 Ulrich Drepper <drepper@gmail.com>
49619
a8509ca5
UD
49620 [BZ #12813]
49621 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49622 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
49623 available.
49624 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49625 __vdso_getcpu.
49626
e57420c6
UD
49627 [BZ #12814]
49628 * iconvdata/Makefile (tests): Add bug-iconv9.
49629 * iconvdata/bug-iconv9.c: New file.
49630
4d07db15
AS
496312011-05-27 Andreas Schwab <schwab@redhat.com>
49632
49633 [BZ #12814]
49634 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49635
ea486f69
JJ
496362011-05-25 Jakub Jelinek <jakub@redhat.com>
49637
49638 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49639 (struct user_regs_struct): Change intcs field back to cs.
49640
6f038433
UD
496412011-05-25 Ulrich Drepper <drepper@gmail.com>
49642
49643 * po/ja.po: Update from translation team.
49644
67f86a25
UD
496452011-05-23 Ulrich Drepper <drepper@gmail.com>
49646
49647 [BZ #12795]
49648 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49649 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49650
def7fbd6
AS
496512011-05-20 Andreas Schwab <schwab@redhat.com>
49652
49653 * stdlib/longlong.h: Update from GCC.
49654
f50ef8f1
AS
496552011-05-23 Andreas Schwab <schwab@redhat.com>
49656
49657 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49658 parameter name.
49659 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49660 Add parameter name.
49661 (__sysconf): Pass it down.
49662
de7ce8f1
UD
496632011-05-22 Ulrich Drepper <drepper@gmail.com>
49664
f2962a71
UD
49665 [BZ #12671]
49666 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49667 some situations.
49668 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49669 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49670 add in in __libc_use_alloca calls. Adjust callers.
49671 (glob): Use malloc in some situations.
49672
de7ce8f1
UD
49673 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49674 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49675 pltexit.
49676
aec84f53
UD
496772011-05-21 Ulrich Drepper <drepper@gmail.com>
49678
05bb4a68
UD
49679 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49680 and CLOCK_BOOTTIME_ALARM.
49681
7ea72f99
UD
49682 [BZ #12782]
49683 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49684 is returned.
49685
7e4afad5
UD
49686 * string/_strerror.c (__strerror_r): Print negative errors as signed
49687 numbers.
49688
8e211fec
UD
49689 [BZ #12777]
49690 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49691 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49692 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49693
f7d82dc9
UD
49694 * configure.in: Fix typo in redirection and correct removal of test
49695 files in two cases.
49696
cc9e536d
UD
49697 [BZ #12788]
49698 * locale/setlocale.c (new_composite_name): Fix test to check for
49699 identical name of all categories.
49700
aec84f53
UD
49701 [BZ #12792]
49702 * libio/filedoalloc.c (local_isatty): New function.
49703 (_IO_file_doallocate): Use local_isatty.
49704 * stdio-common/perror.c (perror): In case a new stream is used
49705 forward the stream error.
49706 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49707 error flag.
49708
78e64fdc
RT
497092011-05-20 Ulrich Drepper <drepper@gmail.com>
49710
34a9094f
UD
49711 [BZ #11869]
49712 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49713 alloca.
49714 * include/alloca.h (extend_alloca_account): Define.
49715
78e64fdc
RT
49716 [BZ #11857]
49717 * posix/regex.h: Fix comments with documentation of user-accessible
49718 fields after compilation and describe correct free'ing of pattern
49719 after re_compile_pattern.
49720 Patch by Reuben Thomas <rrt@sc3d.org>.
49721
457bddfc
RA
497222011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
49723
49724 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49725 and -mno-altivec to prevent the compiler from using Altivec and/or
49726 VSX instructions when the corresponding registers are not available.
49727
a4527b51
AS
497282011-05-19 Andreas Schwab <schwab@redhat.com>
49729
49730 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49731
ed690b2f
UD
497322011-05-19 Ulrich Drepper <drepper@gmail.com>
49733
49734 * libio/freopen.c (freopen): Use __dup2, not dup2.
49735 * libio/freopen64.c (freopen64): Likewise.
49736
8db73634
L
497372011-05-17 H.J. Lu <hongjiu.lu@intel.com>
49738
49739 [BZ #12775]
49740 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49741 * math/Makefile (tests): Add test-powl.
49742 (CFLAGS-test-powl.c): Define.
49743 * math/test-powl.c: New file.
49744
0a197a9d
L
497452011-05-16 H.J. Lu <hongjiu.lu@intel.com>
49746
49747 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49748
ee30c380
UD
497492011-05-17 Ulrich Drepper <drepper@gmail.com>
49750
49751 [BZ #11837]
49752 * iconvdata/gb18030.c: Update to GB18020-2005.
49753
6ce75379
UD
497542011-05-16 Ulrich Drepper <drepper@gmail.com>
49755
a4b89fd8
AR
49756 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49757 RE_SYNTAX_POSIX_AWK): Update to match recent development.
49758 Patch by Aharon Robbins <arnold@skeeve.com>.
49759
ea389b12
UD
49760 [BZ #11892]
49761 * stdlib/putenv.c (putenv): Don't always create copy of the variable
49762 on the stack.
49763
68a3f91f
UD
49764 [BZ #11895]
49765 * misc/pselect.c (__pselect): Handle timeout value errors hidden
49766 through underflows.
49767
15cc7dd1
UD
49768 [BZ #12766]
49769 * misc/error.c (error_at_line): Ensure file_name and old_file_name
49770 point to strings before performing equality test for error_one_per_line
49771 mode.
49772
f3799213
UD
49773 [BZ #11697]
49774 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49775
d79a9c94
UD
49776 [BZ #11820]
49777 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49778 (struct user_fpregs_struct): Avoid __uint*_t types.
49779
56e5eb46
UD
49780 [BZ #6420]
49781 * malloc/mtrace.c (tr_where): Add additional parameter to point to
49782 symbol info. Use it instead of calling _dl_addr locally.
49783 (lock_and_info): New function.
49784 (tr_freehook): Call lock_and_info and pass symbol info as additional
49785 parameter to tr_where.
49786 (tr_mallochook): Likewise.
49787 (tr_reallochook): Likewise.
49788 (tr_memalignhook): Likewise.
49789
6ce75379
UD
49790 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
49791 used and couldn't be at all thread-safe.
49792
f8a3b5bf
UD
497932011-05-15 Ulrich Drepper <drepper@gmail.com>
49794
94b7cc37
UD
49795 * libio/freopen.c (freopen): Don't close old file descriptor
49796 before the new one is opened. Instead dup the new file descriptor
49797 to the old one after the new stream is created.
49798 * libio/freopen64.c (freopen64): Likewise.
49799 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49800 * libio/fileops.c (_IO_new_file_close_it): Handle new
49801 _IO_FLAGS2_NOCLOSE flag.
49802 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49803 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49804 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49805 _IO_FLAGS2_NOCLOSE flag.
49806 * include/unistd.h: Add hidden_proto for dup3.
49807 Define __have_dup3.
49808 * io/dup3.c: Define hidden symbol.
49809 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49810
bd25564e
UD
49811 [BZ #7101]
49812 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49813 when an incomplete long option is used.
49814 * posix/tst-getopt_long1.c: New file.
49815 * posix/Makefile (tests): Add tst-getopt_long1.
49816
c84cfef4
UD
49817 [BZ #10138]
49818 * scripts/config.guess: Update from autoconf-2.68.
49819 * scripts/config.sub: Likewise.
49820
3b85df27
UD
49821 [BZ #10157]
49822 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49823 tests into ...
49824 (has_cpuclock): ...this. New function.
49825 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49826 macro here based on has_cpuclock code.
49827
15a856b1
UD
49828 [BZ #10149]
49829 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49830 First byte (not low byte) is now always NUL.
49831 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49832
05f399e6
UD
49833 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49834 Use non-cancelable interfaces.
49835
10a52685 49836 [BZ #9809]
94ecc67d
UD
49837 * locale/iso-639.def: Add entry for Sorani.
49838
f8a3b5bf
UD
49839 [BZ #11901]
49840 * include/stdlib.h: Move include protection to the right place.
49841 Define abort_msg_s. Declare __abort_msg with it.
49842 * stdlib/abort.c (__abort_msg): Adjust type.
49843 * assert/assert.c (__assert_fail_base): New function. Majority
49844 of code from __assert_fail. Allocate memory for __abort_msg with
49845 mmap.
49846 (__assert_fail): Now call __assert_fail_base.
49847 * assert/assert-perr.c: Remove bulk of implementation. Use
49848 __assert_fail_base.
49849 * include/assert.hL Declare __assert_fail_base.
49850 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49851 mmap.
49852 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49853
1af4e298
UD
498542011-05-14 Ulrich Drepper <drepper@gmail.com>
49855
f8a3b5bf 49856 [BZ #11952]
d26dfc60
MG
49857 [BZ #12453]
49858 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49859 until all modules are registered in the DTV.
49860 * elf/Makefile: Add rules to build and run tst-tls19.
49861 * elf/tst-tls19.c: New file.
49862 * elf/tst-tls19mod1.c: New file.
49863 * elf/tst-tls19mod2.c: New file.
49864 * elf/tst-tls19mod3.c: New file.
49865 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49866
2fc54d6f
UD
49867 [BZ #12083]
49868 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49869 correctly.
49870
98d76b46
UD
49871 [BZ #12601]
49872 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49873 two-byte sequence errors.
49874 * iconvdata/Makefile (tests): Add bug-iconv8.
49875 * iconvdata/bug-iconv8.c: New file.
49876
da3c19ef
UD
49877 [BZ #12626]
49878 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49879 buf2 definition.
49880
ca408c15
UD
49881 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49882
d6f67f7d
UD
49883 [BZ #12432]
49884 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49885 (dummy_getcfa): New function.
49886 (init): Get _Unwind_GetCFA address, use dummy if not found.
49887 (backtrace_helper): In recursion check, also check whether CFA changes.
49888 (__backtrace): Completely initialize arg.
49889
1af4e298 49890 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
49891 storing incomplete byte sequence in state object. Avoid testing for
49892 guaranteed too small input if we know there is enough data available.
1af4e298 49893
da62f81b
AS
498942011-05-11 Andreas Schwab <schwab@redhat.com>
49895
49896 * Makeconfig (+link-pie): Indent.
49897 * Rules (binaries-pie): Define if $(have-fpie) and
49898 $(build-shared).
49899 (binaries-shared): Also filter out $(binaries-pie).
49900 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49901 * nscd/Makefile (others-pie): Add nscd.
49902 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49903 ($(objpfx)nscd): Remove command override.
49904 * login/Makefile (others-pie): Add pt_chown.
49905 ($(objpfx)pt_chown): Remove command override.
49906 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49907 remove command overrides.
49908
fcabc0f8
UD
499092011-05-13 Ulrich Drepper <drepper@gmail.com>
49910
20030ae6
UD
49911 * libio/tst_putwc.c: Fix error messages.
49912
fcabc0f8
UD
49913 [BZ #12724]
49914 * libio/fileops.c (_IO_new_file_close_it): Always flush when
49915 currently writing and seek to current position when not.
49916 * libio/Makefile (tests): Add bug-fclose1.
49917 * libio/bug-fclose1.c: New file.
49918
320a5dc0
PB
499192011-05-12 Ulrich Drepper <drepper@gmail.com>
49920
49921 [BZ #12511]
49922 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49923 don't set DF_1_NODELETE here.
49924 (do_lookup_x): When entering new entry test for copy relocation
49925 and if necessary set DF_1_NODELETE flag.
49926 * elf/tst-unique4.cc: New file.
49927 * elf/tst-unique4.h: New file.
49928 * elf/tst-unique4lib.cc: New file.
49929 * elf/Makefile: Add rules to build and run tst-unique4.
49930 Patch by Piotr Bury <pbury@goahead.com>.
49931
22836f52
UD
499322011-05-11 Ulrich Drepper <drepper@gmail.com>
49933
f574184a
UD
49934 [BZ #12052]
49935 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49936
e1fb097f
UD
49937 [BZ #12625]
49938 * misc/mntent_r.c (addmntent): Flush the stream after the output
49939
22836f52
UD
49940 [BZ #12393]
49941 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49942 (is_trusted_path_normalize): Skip initial colon. Append slash
49943 to empty buffer. Duplicate is_trusted_path code but allow
49944 constructed patch to be prefix.
49945 (is_dst): Allow $ORIGIN followed by /.
49946 (_dl_dst_substitute): Correct clearing of check_for_trusted.
49947 Correct testing of result of is_trusted_path_normalize
49948 (decompose_rpath): Fix warning.
49949
7b3b0b2a
UD
499502011-05-10 Ulrich Drepper <drepper@gmail.com>
49951
49952 [BZ #11257]
49953 * grp/initgroups.c (internal_getgrouplist): When we found the service
49954 list through the initgroups entry in nsswitch.conf do not always
49955 continue on a successful lookup. Don't always use the
eac80ce2 49956 __nss_group_database value if it is set.
7b3b0b2a
UD
49957 * nss/nsswitch.conf (initgroups): Change action for successful db
49958 lookup to continue for compatibility.
49959
2a81eaa5
UD
499602011-05-09 Ulrich Drepper <drepper@gmail.com>
49961
be97a69e
UD
49962 [BZ #11532]
49963 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49964 and CP774 modules.
49965 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49966 and CP774 modules.
49967 * iconvdata/tst-tables.sh: Likewise.
49968 * iconvdata/cp770.c: New file.
49969 * iconvdata/cp771.c: New file.
49970 * iconvdata/cp772.c: New file.
49971 * iconvdata/cp773.c: New file.
49972 * iconvdata/cp774.c: New file.
49973 * iconvdata/testdata/CP770: New file.
49974 * iconvdata/testdata/CP770..UTF8: New file.
49975 * iconvdata/testdata/CP771: New file.
49976 * iconvdata/testdata/CP771..UTF8: New file.
49977 * iconvdata/testdata/CP772: New file.
49978 * iconvdata/testdata/CP772..UTF8: New file.
49979 * iconvdata/testdata/CP773: New file.
49980 * iconvdata/testdata/CP773..UTF8: New file.
49981 * iconvdata/testdata/CP774: New file.
49982 * iconvdata/testdata/CP774..UTF8: New file.
49983
49984 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
49985 END CHARMAP line.
49986 * iconvdata/gen-8bit-gap.sh: Likewise.
49987 * iconvdata/gen-8bit.sh: Likewise.
49988
c1e9e399
UD
49989 * locale/iso-639.def: Add ary entry.
49990
24c55fb3 49991 [BZ #11258]
96b4b1b0
UD
49992 * locale/C-translit.h.in: Add U20A1 transliteration.
49993
bdc2f971
KB
49994 [BZ #12178]
49995 * locale/iso-639.def: Add wae entry.
49996 Patch by Kevin Bortis <bortis@translate-wae.ch>.
49997
2952b117
UD
49998 [BZ #12545]
49999 * locale/programs/localedef.c (construct_output_path): Use ssize_t
50000 for n.
50001
2a81eaa5
UD
50002 [BZ #12711]
50003 * locale/C-translit.h.in: Add entry for U20B9.
50004 Patch by pravin.d.s@gmail.com.
50005
28377d1b
UD
500062011-05-08 Ulrich Drepper <drepper@gmail.com>
50007
7fb90fb8
UD
50008 [BZ #12713]
50009 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
50010 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
50011 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
50012 in rtld. Use *stat64.
7fb90fb8 50013 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 50014 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 50015 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
50016 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
50017 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
50018 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
50019 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
50020 __fstatat64 macros.
7fb90fb8
UD
50021 * include/dirent.h: Add libc_hidden_proto for rewinddir.
50022 * dirent/rewinddir.c: Add libc_hidden_def.
50023 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 50024 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 50025
28377d1b
UD
50026 * include/dirent.h (__alloc_dir): Add flags parameter.
50027 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
50028 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
50029 __alloc_dir.
50030 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
50031 from fdopendir if O_CLOEXEC is already set.
50032
66bdbaa4
AM
500332011-03-15 Alan Modra <amodra@gmail.com>
50034
50035 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
50036 l_tls_firstbyte_offset non-zero. Save padding offset in
50037 l_tls_firstbyte_offset for later use.
50038 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
50039 freeing static tls block.
50040
95721191
JN
500412011-03-05 Jonathan Nieder <jrnieder@gmail.com>
50042
50043 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
50044 where #ifdef was intended. The intent is to prevent ARG_MAX from
50045 being defined by the kernel headers.
50046
f87dfb1f
UD
500472011-05-07 Ulrich Drepper <drepper@gmail.com>
50048
50049 [BZ #12734]
50050 * resolv/resolv.h: Define RES_NOTLDQUERY.
50051 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
50052 no-tld-query and set RES_NOTLDQUERY.
50053 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
50054 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
50055 modern BIND to search name as TLD unless forbidden.
50056
47c3cd7a
UD
500572011-05-07 Petr Baudis <pasky@suse.cz>
50058 Ulrich Drepper <drepper@gmail.com>
50059
50060 [BZ #12393]
50061 * elf/dl-load.c (fillin_rpath): Move trusted path check...
50062 (is_trusted_path): ...to here.
c1e9ea35 50063 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 50064 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 50065 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 50066
8a35c912
PP
500672011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50068
50069 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
50070 __BEGIN/__END_DECLS.
50071
acd41f47
UD
500722011-05-06 Ulrich Drepper <drepper@gmail.com>
50073
50074 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
50075 NSS_STATUS_NOTFOUND if no record was found.
50076
597df647
AS
500772011-05-05 Andreas Schwab <schwab@redhat.com>
50078
50079 * sunrpc/Makefile (headers): Add rpc/netdb.h.
50080 (headers-not-in-tirpc): Remove rpc/netdb.h
50081 * resolv/netdb.h: Revert last change.
50082
b9af1301
PP
500832011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50084
50085 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
50086 circular dependency between libgcc.a and libc.a.
50087
4e34d5f5
AS
500882011-05-05 Andreas Schwab <schwab@redhat.com>
50089
50090 * resolv/netdb.h: Don't include <rpc/netdb.h>.
50091 * nis/Makefile: Don't install rpcsvc/*.
50092 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
50093 instead of <rpc/types.h>.
50094 (MAXHOSTNAMELEN): Define.
50095
00ee369c
AS
500962011-05-03 Andreas Schwab <schwab@redhat.com>
50097
50098 * elf/ldconfig.c (add_dir): Don't crash on empty path.
50099
0b592a30
MB
501002011-04-28 Maciej Babinski <mbabinski@google.com>
50101
50102 [BZ #12714]
50103 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
50104 gethostbyname4_r when IPv6 results are possible.
50105
6e04cbbe
UD
501062011-05-02 Ulrich Drepper <drepper@gmail.com>
50107
50108 [BZ #12723]
50109 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
50110 _PC_PIPE_BUF handling.
50111
e4ecafe0
BH
501122011-04-30 Bruno Haible <bruno@clisp.org>
50113
50114 [BZ #12717]
50115 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
50116 * resolv/netdb.h (getnameinfo): Change type of flags parameter
50117 to 'int'.
50118 * inet/getnameinfo.c (getnameinfo): Likewise.
50119
125ee683
UD
501202011-04-29 Ulrich Drepper <drepper@gmail.com>
50121
50122 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50123 to groups setting in database lookup.
50124 * nss/nsswitch.conf: Add initgroups entry.
50125
b722481a
EB
501262011-04-22 Ulrich Drepper <drepper@gmail.com>
50127
50128 [BZ #12685]
50129 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50130 mode string.
50131 Patch by Eric Blake <eblake@redhat.com>.
50132
4df46dbd
L
501332011-04-20 H.J. Lu <hongjiu.lu@intel.com>
50134
50135 * sunrpc/Makefile (need-export-routines): Add svc_run.
50136 (routines): Remove svc_run.
50137 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50138 * sunrpc/clnt_perr.c (clnt_perrno): Export.
50139 * sunrpc/svc_run.c (svc_run): Likewise.
50140 * sunrpc/svc_udp.c (svcudp_create): Likewise.
50141
e84142d2
UD
501422011-04-21 Ulrich Drepper <drepper@gmail.com>
50143
50144 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50145 problem in reallocation in last patch.
50146
877175d8
UD
501472011-04-20 Ulrich Drepper <drepper@gmail.com>
50148
50149 * sunrpc/Makefile: Move inclusion of Rules.
50150
ab8eed78
UD
501512011-04-19 Ulrich Drepper <drepper@gmail.com>
50152
50153 * nss/nss_files/files-initgroups.c: New file.
50154 * nss/Makefile (libnss_files-routines): Add files-initgroups.
50155 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50156 _nss_files_initgroups_dyn.
50157
e3d8f584
RS
501582011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
50159
50160 * elf/elf.h (R_ARM_IRELATIVE): Define.
50161
af190f45
UD
501622011-04-19 Ulrich Drepper <drepper@gmail.com>
50163
50164 * po/ru.po: Update from translation team.
50165
53cf59ef
UD
501662011-04-17 Ulrich Drepper <drepper@gmail.com>
50167
50168 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50169 dependencies.
50170
4c559bcd
MF
501712011-02-06 Mike Frysinger <vapier@gentoo.org>
50172
50173 [BZ #12653]
50174 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50175 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50176 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50177 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50178 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50179
4420675c
AS
501802011-03-28 Andreas Schwab <schwab@linux-m68k.org>
50181
50182 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50183 differing bytes.
50184 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50185 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50186 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50187
75ea32ab
UD
501882011-04-17 Ulrich Drepper <drepper@gmail.com>
50189
50190 [BZ #12420]
50191 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50192 storing it.
50193 * stdlib/bug-getcontext.c: New file.
50194 * stdlib/Makefile: Add rules to build and run bug-getcontext.
50195
27390476
AK
501962011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50197
50198 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50199 instructions into .machine "z9-109".
50200 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50201 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50202
10442705
AK
502032011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50204
50205 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50206 between environment variables and auxiliary vector.
50207
7b57bfe5
UD
502082011-04-16 Ulrich Drepper <drepper@gmail.com>
50209
50210 * Makefile: Add rules to build linkobj/libc.so.
50211 * include/libc-symbols.h: Define libc_hidden_nolink.
50212 * include/rpc/auth.h: Mark functions which are to be hidden.
50213 * include/rpc/auth_des.h: Likewise.
50214 * include/rpc/auth_unix.h: Likewise.
50215 * include/rpc/clnt.h: Likewise.
50216 * include/rpc/des_crypt.h: Likewise.
50217 * include/rpc/key_prot.h: Likewise.
50218 * include/rpc/pmap_clnt.h: Likewise.
50219 * include/rpc/pmap_prot.h: Likewise.
50220 * include/rpc/pmap_rmt.h: Likewise.
50221 * include/rpc/rpc_msg.h: Likewise.
50222 * include/rpc/svc.h: Likewise.
50223 * include/rpc/svc_auth.h: Likewise.
50224 * include/rpc/xdr.h: Likewise.
50225 * nis/Makefile: Link all DSOs against linkobj/libc.so.
50226 * nss/Makefile: Likewise.
50227 * sunrpc/Makefile: Don't install headers. Build library with normal
50228 entry points. Don't build rpcinfo. Link RPC tests appropriately.
50229 * sunrpc/auth_des.c: Hide exported symbols by default, export some
50230 for the compat linking library. Remove use of INTDEF/INTUSE.
50231 * sunrpc/auth_none.c: Likewise.
50232 * sunrpc/auth_unix.c: Likewise.
50233 * sunrpc/authdes_prot.c: Likewise.
50234 * sunrpc/authuxprot.c: Likewise.
50235 * sunrpc/clnt_gen.c: Likewise.
50236 * sunrpc/clnt_perr.c: Likewise.
50237 * sunrpc/clnt_raw.c: Likewise.
50238 * sunrpc/clnt_simp.c: Likewise.
50239 * sunrpc/clnt_tcp.c: Likewise.
50240 * sunrpc/clnt_udp.c: Likewise.
50241 * sunrpc/clnt_unix.c: Likewise.
50242 * sunrpc/des_crypt.c: Likewise.
50243 * sunrpc/des_soft.c: Likewise.
50244 * sunrpc/get_myaddr.c: Likewise.
50245 * sunrpc/key_call.c: Likewise.
50246 * sunrpc/key_prot.c: Likewise.
50247 * sunrpc/netname.c: Likewise.
50248 * sunrpc/pm_getmaps.c: Likewise.
50249 * sunrpc/pm_getport.c: Likewise.
50250 * sunrpc/pmap_clnt.c: Likewise.
50251 * sunrpc/pmap_prot.c: Likewise.
50252 * sunrpc/pmap_prot2.c: Likewise.
50253 * sunrpc/pmap_rmt.c: Likewise.
50254 * sunrpc/publickey.c: Likewise.
50255 * sunrpc/rpc_cmsg.c: Likewise.
50256 * sunrpc/rpc_common.c: Likewise.
50257 * sunrpc/rpc_dtable.c: Likewise.
50258 * sunrpc/rpc_prot.c: Likewise.
50259 * sunrpc/rpc_thread.c: Likewise.
50260 * sunrpc/rtime.c: Likewise.
50261 * sunrpc/svc.c: Likewise.
50262 * sunrpc/svc_auth.c: Likewise.
50263 * sunrpc/svc_authux.c: Likewise.
50264 * sunrpc/svc_raw.c: Likewise.
50265 * sunrpc/svc_run.c: Likewise.
50266 * sunrpc/svc_simple.c: Likewise.
50267 * sunrpc/svc_tcp.c: Likewise.
50268 * sunrpc/svc_udp.c: Likewise.
50269 * sunrpc/svc_unix.c: Likewise.
50270 * sunrpc/svcauth_des.c: Likewise.
50271 * sunrpc/xcrypt.c: Likewise.
50272 * sunrpc/xdr.c: Likewise.
50273 * sunrpc/xdr_array.c: Likewise.
50274 * sunrpc/xdr_float.c: Likewise.
50275 * sunrpc/xdr_intXX_t.c: Likewise.
50276 * sunrpc/xdr_mem.c: Likewise.
50277 * sunrpc/xdr_rec.c: Likewise.
50278 * sunrpc/xdr_ref.c: Likewise.
50279 * sunrpc/xdr_sizeof.c: Likewise.
50280 * sunrpc/xdr_stdio.c: Likewise.
50281
e6c61494
UD
502822011-04-10 Ulrich Drepper <drepper@gmail.com>
50283
50284 [BZ #12650]
50285 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50286 * sysdeps/ia64/dl-tls.h: Likewise.
50287 * sysdeps/powerpc/dl-tls.h: Likewise.
50288 * sysdeps/s390/dl-tls.h: Likewise.
50289 * sysdeps/sh/dl-tls.h: Likewise.
50290 * sysdeps/sparc/dl-tls.h: Likewise.
50291 * sysdeps/x86_64/dl-tls.h: Likewise.
50292 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50293
34fe483e
AS
502942011-03-14 Andreas Schwab <schwab@redhat.com>
50295
50296 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50297 rpath element also skip the following colon.
50298 (expand_dynamic_string_token): Add is_path parameter and pass
50299 down to DL_DST_REQUIRED and _dl_dst_substitute.
50300 (decompose_rpath): Call expand_dynamic_string_token with
50301 non-zero is_path. Ignore empty rpaths.
50302 (_dl_map_object_from_fd): Call expand_dynamic_string_token
50303 with zero is_path.
50304
f12a32e6
AS
503052011-04-08 Andreas Schwab <schwab@linux-m68k.org>
50306
50307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50308 Make cancelable.
50309
38a7d692
UD
503102011-04-09 Ulrich Drepper <drepper@gmail.com>
50311
50312 [BZ #12655]
50313 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50314 Patch by Filipe David Manana <fdmanana@apache.org>.
50315
e451d22b
AS
503162011-04-07 Andreas Schwab <schwab@redhat.com>
50317
50318 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50319 Maintain aligned stack.
50320 (CHECK_RSP): Remove unused macro.
50321
dedc7c7b
UD
503222011-04-03 Ulrich Drepper <drepper@gmail.com>
50323
50324 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50325 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50326
94521213
UD
503272011-04-02 Ulrich Drepper <drepper@gmail.com>
50328
50329 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50330
8cb700c0 50331 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 50332
0354e355
L
503332011-03-26 H.J. Lu <hongjiu.lu@intel.com>
50334
50335 [BZ #12518]
50336 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50337 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50338 * sysdeps/x86_64/memmove.c: New file.
50339 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50340 (memcpy): Renamed to ...
50341 (__new_memcpy): This.
50342 (memcpy): Provide GLIBC_2_14 memcpy.
50343 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50344 (memcpy): Provide GLIBC_2_2_5 memcpy.
50345
8593482f
UD
503462011-04-01 Ulrich Drepper <drepper@gmail.com>
50347
50348 [BZ #12631]
50349 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50350
81a5726b
AS
503512011-03-30 Andreas Schwab <schwab@redhat.com>
50352
50353 * misc/syncfs.c: New file.
50354 * misc/Makefile (routines): Add syncfs.
50355 * posix/unistd.h: Declare syncfs.
50356 * sysdeps/unix/syscalls.list: Add syncfs.
50357
00e5419f
AS
503582011-04-01 Andreas Schwab <schwab@redhat.com>
50359
50360 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50361 open_by_handle_at.
50362 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50363 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50364 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50365 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50366 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50367 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50368 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50369
748876bf
UD
503702011-04-01 Ulrich Drepper <drepper@gmail.com>
50371
658e451d
UD
50372 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50373 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50374 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50375 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50376 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50377 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50378 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50379
748876bf
UD
50380 * io/Makefile: Compile fallocate.c, fallocate64.c, and
50381 sync_file_range.c with -fexceptions.
50382 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50383 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50384 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50385 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50386 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50387 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50388 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
50389 sync_file_range as cancellation point
50390 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
50391 now a wrapper around __call_sync_file_range with cancellation handling.
50392 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50393 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
50394 function name to __call_sync_file_range.
50395 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50396 Add call_sync_file_range.
748876bf 50397
6e63d5e1
AS
503982011-04-01 Andreas Schwab <schwab@redhat.com>
50399
50400 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 50401 bits/timex.h.
6e63d5e1 50402
46998f74
UD
504032011-04-01 Ulrich Drepper <drepper@gmail.com>
50404
4c1423ed
UD
50405 * iconv/iconv.h: Fix typo in comment.
50406 * io/fcntl.h: Likewise.
50407 * libio/stdio.h: Likewise.
50408 * posix/spawn.h: Likewise.
50409 * posix/unistd.h: Likewise.
50410 * stdlib/stdlib.h: Likewise.
50411 * time/time.h: Likewise.
50412 * wcsmbs/wchar.h: Likewise.
50413
158648c0
UD
50414 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50415 open_by_handle): Add.
50416 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50417 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
50418 Augment a few comments.
50419 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50420 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50421 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50422 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50423 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50424 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50425 open_by_handle.
50426
46998f74
UD
50427 * io/fcntl.h (AT_EMPTY_PATH): Define.
50428
83fe108b
UD
504292011-03-30 Ulrich Drepper <drepper@gmail.com>
50430
50431 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50432 * sysdeps/unix/sysv/linux/bits/time.h: New file.
50433 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50434 to...
50435 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
50436 * Versions.def: Add GLIBC_2.14.
50437 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50438 Export.
83fe108b 50439
bb242059
UD
504402011-03-22 Ulrich Drepper <drepper@gmail.com>
50441
50442 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50443 round counter.
50444 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50445
c97a1282
L
504462011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50447
50448 [BZ #12597]
50449 * string/test-strncmp.c (do_page_test): New function.
50450 (check2): Likewise.
50451 (test_main): Call check2.
50452 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50453
2a115601
UD
504542011-03-20 Ulrich Drepper <drepper@gmail.com>
50455
50456 [BZ #12587]
50457 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50458 Handle cache information in CPU leaf 4.
50459 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50460
8126d904
UD
504612011-03-18 Ulrich Drepper <drepper@gmail.com>
50462
042c49c6 50463 [BZ #12583]
8126d904
UD
50464 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50465 character representation.
50466 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50467
ccfe366e
RA
504682011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50469
50470 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50471 END(__isnan) to END(__isnanf) to match function entry point/label
50472 EALIGN(__isnanf,...).
50473
c6e13027
JJ
504742011-03-10 Jakub Jelinek <jakub@redhat.com>
50475
50476 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50477
33f85a3f
UD
504782011-03-10 Ulrich Drepper <drepper@gmail.com>
50479
028478fa
UD
50480 [BZ #12510]
50481 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50482 copy from the symbol referenced in the relocation to initialize the
50483 used variable.
50484 Patch by Piotr Bury <pbury@goahead.com>.
50485 * elf/Makefile: Add rules to build and tst-unique3.
50486 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50487 * elf/tst-unique3.cc: New file.
50488 * elf/tst-unique3.h: New file.
50489 * elf/tst-unique3lib.cc: New file.
50490 * elf/tst-unique3lib2.cc: New file.
50491
33f85a3f
UD
50492 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50493
03592fc7
MF
504942011-03-10 Mike Frysinger <vapier@gentoo.org>
50495
50496 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50497 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50498 to _start.
03592fc7 50499
6a5ee102
UD
505002011-03-06 Ulrich Drepper <drepper@gmail.com>
50501
50502 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50503 to-be-loaded object along a path to loader is ld.so.
50504
7e4ba49c
HJ
505052011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50506 Ulrich Drepper <drepper@gmail.com>
50507
50508 * sysdeps/x86_64/memset.S: After aligning destination, code
50509 branches to different locations depending on the value of
50510 misalignment, when multiarch is enabled. Fix this.
50511
505122011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50513
50514 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50515 Set _x86_64_preferred_memory_instruction for AMD processsors.
50516 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50517 Set bit_Prefer_SSE_for_memop for AMD processors.
50518
13a804de
UD
505192011-03-04 Ulrich Drepper <drepper@gmail.com>
50520
50521 * libio/fmemopen.c (fmemopen): Optimize a bit.
50522
9d25c392
AS
505232011-03-03 Andreas Schwab <schwab@redhat.com>
50524
50525 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50526
a5543c6a
RM
505272011-03-03 Roland McGrath <roland@redhat.com>
50528
50529 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50530
012d35f7
DM
505312011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50532
7e4ba49c 50533 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
50534 __bzero_ultra1 instead of __memset_ultra1.
50535
4bff6e01
AS
505362011-02-23 Andreas Schwab <schwab@redhat.com>
50537 Ulrich Drepper <drepper@gmail.com>
50538
50539 [BZ #12509]
50540 * include/link.h (struct link_map): Add l_orig_initfini.
50541 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50542 returning unsuccessfully.
50543 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50544 close of a file loaded at startup, restore the original l_initfini
50545 list.
50546 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50547 list, store the pointer.
50548 * elf/Makefile ($(objpfx)noload-mem): New rule.
50549 (noload-ENV): Define.
50550 (tests): Add $(objpfx)noload-mem.
50551 * elf/noload.c: Include <memcheck.h>.
50552 (main): Call mtrace. Close all opened handles.
50553
f2092faf
AS
505542011-02-17 Andreas Schwab <schwab@redhat.com>
50555
50556 [BZ #12454]
50557 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50558 dependencies are missing.
50559
6c8a2e88
ST
505602011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50561
f2092faf 50562 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
50563 Hurd needs munmap.
50564 * sysdeps/mach/hurd/ifreq.h: New file.
50565
84a42118
PB
505662011-01-27 Petr Baudis <pasky@suse.cz>
50567 Ulrich Drepper <drepper@gmail.com>
50568
071f805e 50569 [BZ 12445]#
84a42118
PB
50570 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50571 to extend_alloca().
50572 * stdio-common/bug23.c: New file.
50573 * stdio-common/Makefile (tests): Add bug23.
50574
e23fe25b
AS
505752010-09-28 Andreas Schwab <schwab@redhat.com>
50576 Ulrich Drepper <drepper@gmail.com>
50577
50578 [BZ #12489]
50579 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50580 before performing relro protection. At old place add assertion
50581 to make sure nothing changed.
50582
d3f02e10
NS
505832011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50584 Glauber de Oliveira Costa <glommer@gmail.com>
50585
50586 * elf/elf.h: Add new ARM TLS relocs.
50587
d55fd7a5
RA
505882011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50589
50590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50591 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50592 cast from r3.
50593 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50594 'tests' variable.
50595 * sysdeps/wordsize-64/tst-writev.c: New file.
50596
2206397e
RA
505972011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50598
50599 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50600 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50601 insns in _dl_start to prevent a TOC reference before relocs are
50602 resolved.
50603
e9433893
UD
506042011-02-15 Ulrich Drepper <drepper@gmail.com>
50605
50606 [BZ #12469]
50607 * Makeconfig: Remove RANLIB definition.
50608 * Makerules: Don't use RANLIB.
50609 * aclocal.m4: Remove ranlib test.
50610 * configure.in: No need to check for ranlib.
50611 * elf/rtld-Rules: Don't use RANLIB.
50612
f75286c6
ST
506132011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50614
8e31c82d
ST
50615 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50616 protection macro.
50617 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50618 inclusion protection macro.
50619
f75286c6
ST
50620 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50621 SIGRTMIN and SIGRTMAX and print information in that case only when
50622 SIGRTMIN is defined.
50623
c1d0e639
JJ
506242011-02-11 Jakub Jelinek <jakub@redhat.com>
50625
50626 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50627 arginfo fn returning -1.
50628
50629 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50630 and thousands string is zero terminated.
50631
edf9294e
AS
506322011-02-03 Andreas Schwab <schwab@redhat.com>
50633
50634 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50635 sysdeps/unix/sysv/linux/bits/socket.h.
50636
2b7e92df
ST
506372011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
50638
edf9294e
AS
50639 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50640 (__CPU_COUNT): Remove old macros.
50641 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50642 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50643 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
50644 (__sched_cpualloc, __sched_cpufree): Add declarations.
50645
a4c7ea7b
UD
506462011-02-05 Ulrich Drepper <drepper@gmail.com>
50647
50648 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50649 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50650 * nscd/aicache.c (addhstaiX): Return timeout of added value.
50651 (readdhstai): Return value of addhstaiX call.
50652 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50653 (addgrbyX): Return value returned by cache_addgr.
50654 (readdgrbyname): Return value returned by addgrbyX.
50655 (readdgrbygid): Likewise.
50656 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50657 (addpwbyX): Return value returned by cache_addpw.
50658 (readdpwbyname): Return value returned by addhstbyX.
50659 (readdpwbyuid): Likewise.
50660 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50661 (addservbyX): Return value returned by cache_addserv.
50662 (readdservbyname): Return value returned by addservbyX:
50663 (readdservbyport): Likewise.
50664 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50665 (addhstbyX): Return value returned by cache_addhst.
50666 (readdhstbyname): Return value returned by addhstbyX.
50667 (readdhstbyaddr): Likewise.
50668 (readdhstbynamev6): Likewise.
50669 (readdhstbyaddrv6): Likewise.
50670 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50671 (readdinitgroups): Return value returned by addinitgroupsX.
50672 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50673 (prune_cache): Keep track of timeout value of re-added entries.
50674 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50675 * nscd/nscd.h: Adjust prototypes of readd* functions.
50676
a0bf67cc
RM
506772011-02-04 Roland McGrath <roland@redhat.com>
50678
50679 * nis/nis_server.c (nis_servstate): Use the right name for 0.
50680 (nis_stats): Likewise.
50681 * nis/nis_modify.c (nis_modify): Likewise.
50682 * nis/nis_remove.c (nis_remove): Likewise.
50683 * nis/nis_add.c (nis_add): Likewise.
50684
50685 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50686
50687 * posix/fnmatch_loop.c: Add some consts.
50688
50689 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50690
435b95eb
L
506912011-02-02 H.J. Lu <hongjiu.lu@intel.com>
50692
50693 [BZ #12460]
50694 * config.make.in (config-cflags-novzeroupper): Define.
50695 * configure.in: Substitute libc_cv_cc_novzeroupper.
50696 * elf/Makefile (AVX-CFLAGS): Define.
50697 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50698 (CFLAGS-tst-auditmod4a.c): Likewise.
50699 (CFLAGS-tst-auditmod4b.c): Likewise.
50700 (CFLAGS-tst-auditmod6b.c): Likewise.
50701 (CFLAGS-tst-auditmod6c.c): Likewise.
50702 (CFLAGS-tst-auditmod7b.c): Likewise.
50703 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50704
8517b15e
UD
507052011-02-02 Ulrich Drepper <drepper@gmail.com>
50706
50707 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50708 function to the callback.
50709 Patch partly by Jiri Olsa <jolsa@redhat.com>.
50710
10a656fe
AS
507112011-02-02 Andreas Schwab <schwab@redhat.com>
50712
50713 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50714 of errno.
50715
968dad0a
UD
507162011-01-19 Ulrich Drepper <drepper@gmail.com>
50717
9f94d2ea 50718 [BZ #11724]
968dad0a
UD
50719 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50720 of constructors.
50721 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50722 of destructors.
50723 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50724
50725 [BZ #11724]
50726 * elf/Makefile: Add rules to build and run new test.
50727 * elf/tst-initorder.c: New file.
50728 * elf/tst-initorder.exp: New file.
50729 * elf/tst-initordera1.c: New file.
50730 * elf/tst-initordera2.c: New file.
50731 * elf/tst-initordera3.c: New file.
50732 * elf/tst-initordera4.c: New file.
50733 * elf/tst-initorderb1.c: New file.
50734 * elf/tst-initorderb2.c: New file.
50735 * elf/tst-order-a1.c: New file.
50736 * elf/tst-order-a2.c: New file.
50737 * elf/tst-order-a3.c: New file.
50738 * elf/tst-order-a4.c: New file.
50739 * elf/tst-order-b1.c: New file.
50740 * elf/tst-order-b2.c: New file.
50741 * elf/tst-order-main.c: New file.
50742 New test case by George Gensure <werkt0@gmail.com>.
50743
86e92359
UD
507442010-10-01 Andreas Schwab <schwab@redhat.com>
50745
50746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50747 decoding ACE if AI_CANONIDN.
50748
5d5732b0
UD
507492011-01-18 Ulrich Drepper <drepper@gmail.com>
50750
50751 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50752
a77e8cbc
UD
507532011-01-17 Ulrich Drepper <drepper@gmail.com>
50754
6392473f
UD
50755 * version.h (RELEASE): Bump for 2.13 release.
50756 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50757
620a0529
UD
50758 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50759
18ba70a5
UD
50760 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50761 MADV_NOHUGEPAGE.
32465c3e
UD
50762 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50763 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50764 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50765 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50766 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50767 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50768
c0dafcf1
UD
50769 * posix/getconf.c: Update copyright year.
50770 * catgets/gencat.c: Likewise.
50771 * csu/version.c: Likewise.
50772 * debug/catchsegv.sh: Likewise.
50773 * debug/xtrace.sh: Likewise.
50774 * elf/ldconfig.c: Likewise.
50775 * elf/ldd.bash.in: Likewise.
50776 * elf/sprof.c (print_version): Likewise.
50777 * iconv/iconv_prog.c: Likewise.
50778 * iconv/iconvconfig.c: Likewise.
50779 * locale/programs/locale.c: Likewise.
50780 * locale/programs/localedef.c: Likewise.
50781 * malloc/memusage.sh: Likewise.
50782 * malloc/mtrace.pl: Likewise.
50783 * nscd/nscd.c (print_version): Likewise.
50784 * nss/getent.c: Likewise.
50785
a77e8cbc
UD
50786 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50787 PF_CAIF, and PF_ALG.
50788 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50789
77e8bddf
AS
507902011-01-16 Andreas Schwab <schwab@linux-m68k.org>
50791
1f20b93a
AS
50792 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50793 (modules-names): Use them.
50794 (ifunc-test-modules, ifunc-pie-tests): Define.
50795 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50796 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50797 (test-extras): Likewise.
50798 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50799 $(compile-command.c).
50800 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50801 (all-built-dso): Define.
50802 (check-textrel.out, check-execstack.out): Depend on it.
50803
77e8bddf
AS
50804 * configure.in: Don't override --enable-multi-arch.
50805
bc425b33
UD
508062011-01-15 Ulrich Drepper <drepper@gmail.com>
50807
50808 [BZ #6812]
50809 * nscd/hstcache.c (tryagain): Define.
50810 (cache_addhst): Return tryagain not notfound for temporary errors.
50811 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50812 failed.
50813
794c3ad3
UD
508142011-01-14 Ulrich Drepper <drepper@gmail.com>
50815
70181fdd
UD
50816 [BZ #10563]
50817 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50818 to make the syscall.
50819 * sysdeps/unix/sysv/linux/setgroups.c: New file.
50820
794c3ad3
UD
50821 [BZ #12378]
50822 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50823 and fall back to matching as normal character if the string ends before
50824 the matching ']' is found. This is what POSIX requires.
50825 * posix/testfnm.c: Adjust test result.
50826 * posix/globtest.sh: Adjust test result. Add new test.
50827 * posix/tst-fnmatch.input: Likewise.
50828 * posix/tst-fnmatch2.c: Add new test.
50829
68dc9497
AS
508302010-12-28 Andreas Schwab <schwab@linux-m68k.org>
50831
50832 * elf/Makefile (check-execstack): Revert last change. Depend on
50833 check-execstack.h.
50834 (check-execstack.h): New target.
50835 (generated): Add check-execstack.h.
50836 * elf/check-execstack.c: Include "check-execstack.h".
50837 (main): Revert last change.
50838 (handle_file): Return zero if GNU_STACK is absent and
50839 DEFAULT_STACK_PERMS doesn't include PF_X.
50840
451f001b
UD
508412011-01-13 Ulrich Drepper <drepper@gmail.com>
50842
cfa28e56
UD
50843 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50844 in child fails because the descriptor is already closed.
8cf8ce17
UD
50845 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50846 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50847 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 50848
1086d70d
UD
50849 [BZ #12397]
50850 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50851 syscall.
50852
451f001b
UD
50853 [BZ #10484]
50854 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50855 temporary buffer used to handle multi lookups locally.
a85b5cb4 50856 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 50857
08769175
UD
508582011-01-12 Ulrich Drepper <drepper@gmail.com>
50859
50860 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50861 loader is ld.so.
50862
5e49c52e
UD
508632011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
50864
50865 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50866 alignment for SSE2.
50867
60522a5f
UD
508682011-01-12 Ulrich Drepper <drepper@gmail.com>
50869
50870 [BZ #12394]
50871 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50872 characters. When rounding increased number of integer digits recompute
50873 number of groups.
50874 * stdio-common/tst-grouping.c: New file.
50875 * stdio-common/Makefile: Add rules to build and run tst-grouping.
50876
f257bbd7
UD
508772011-01-09 Ulrich Drepper <drepper@gmail.com>
50878
50879 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50880 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
50881
50882 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50883 void.
50884 * bits/select.h: Likewise.
50885
fa9c15cb
UD
508862011-01-08 Ulrich Drepper <drepper@gmail.com>
50887
50888 * po/ja.po: Update from translation team.
50889
16c2895f
DM
508902011-01-04 David S. Miller <davem@sunset.davemloft.net>
50891
50892 [BZ #11155]
50893 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50894 implementation just like for lxstat, fxstatat, et al.
50895
2543fef2
JM
508962010-12-27 Jim Meyering <meyering@redhat.com>
50897
50898 [BZ #12348]
50899 * posix/regexec.c (build_trtable): Return failure indication upon
50900 calloc failure. Otherwise, re_search_internal could infloop on OOM.
50901
98727dbe
UD
509022010-12-25 Ulrich Drepper <drepper@gmail.com>
50903
5bd6dc5c
UD
50904 [BZ #12201]
50905 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50906 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50907 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50908 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50909
97983464
UD
50910 [BZ #12207]
50911 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50912
98727dbe
UD
50913 [BZ #12204]
50914 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50915 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50916
4a531bb0
L
509172010-12-15 H.J. Lu <hongjiu.lu@intel.com>
50918
50919 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50920 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50921 script has SORT_BY_INIT_PRIORITY.
50922 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50923 NO_CTORS_DTORS_SECTIONS is defined.
50924 * elf/soinit.c: Likewise.
50925 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50926 NO_CTORS_DTORS_SECTIONS is defined.
50927 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50928 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50929 * sysdeps/sh/init-first.c: Likewise.
50930 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50931
07eb4b71
UD
509322010-12-24 Ulrich Drepper <drepper@gmail.com>
50933
50934 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50935 always use the slow path.
50936
30950a5f
RA
509372010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
50938
50939 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50940 similar rule which adds the sysdep directories to the header search in
50941 order to pick up the correct platform stackinfo.h.
50942 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50943 perform test if it is, otherwise return successfully without testing.
50944 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50945 DEFAULT_STACK_PERMS define in stackinfo.h.
50946 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50947 defined in stackinfo.h.
50948 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50949 DEFAULT_STACK_PERMS defined in stackinfo.h.
50950 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50951 * sysdeps/ia64/stackinfo.h: Likewise.
50952 * sysdeps/s390/stackinfo.h: Likewise.
50953 * sysdeps/sh/stackinfo.h: Likewise.
50954 * sysdeps/sparc/stackinfo.h: Likewise.
50955 * sysdeps/x86_64/stackinfo.h: Likewise.
50956 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50957 PF_X for powerpc64. Retain PF_X for powerpc32.
50958
db753e2c
UD
509592010-12-19 Ulrich Drepper <drepper@gmail.com>
50960
14b697f7
UD
50961 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50962 accurately.
db753e2c
UD
50963 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50964 GETDENTS_64BIT_ALIGNED.
50965
28300719
UD
509662010-12-14 Ulrich Drepper <dreper@gmail.com>
50967
14b697f7 50968 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 50969
4f197237
AS
509702010-12-10 Andreas Schwab <schwab@redhat.com>
50971
dbb0472f
AS
50972 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50973 _GNU_SOURCE.
50974
4f197237
AS
50975 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
50976 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
50977 Remove __restrict.
50978 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
50979 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
50980
fb88ac72
UD
509812010-12-09 Ulrich Drepper <drepper@gmail.com>
50982
50983 [BZ #11655]
50984 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
50985 are initialized.
50986
42acbb92
JJ
509872010-12-09 Jakub Jelinek <jakub@redhat.com>
50988
50989 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
50990
c038d98d
UD
509912010-12-03 Ulrich Drepper <drepper@gmail.com>
50992
50993 * po/it.po: Update from translation team.
50994
3a4a2499
L
509952010-12-01 H.J. Lu <hongjiu.lu@intel.com>
50996
50997 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50998 unused codes.
50999
1e24cf6e
UD
510002010-11-30 Ulrich Drepper <drepper@gmail.com>
51001
51002 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
51003
a7690819
AS
510042010-11-24 Andreas Schwab <schwab@redhat.com>
51005
51006 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
51007 specially.
51008 (gaih_getanswer_slice): Likewise.
51009
3bf8d1b1
JJ
510102010-10-20 Jakub Jelinek <jakub@redhat.com>
51011
51012 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
51013
6db52fbb
PB
510142010-05-31 Petr Baudis <pasky@suse.cz>
51015
51016 [BZ #11149]
51017 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
51018 silently even in the chroot mode.
51019
eaca7569
UD
510202010-11-22 Ulrich Drepper <drepper@gmail.com>
51021
51022 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
51023 last patch a bit. Pretty printing
51024
3056dcdb
UD
510252010-05-31 Petr Baudis <pasky@suse.cz>
51026
51027 [BZ #10085]
51028 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
51029 initialization of skip_initgroups_dyn.
51030
cf7c9078
UD
510312010-11-19 Ulrich Drepper <drepper@gmail.com>
51032
51033 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
51034 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51035
a1fb5e3e
UD
510362010-11-16 Ulrich Drepper <drepper@gmail.com>
51037
51038 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
51039
3540d66b
AS
510402010-11-11 Andreas Schwab <schwab@redhat.com>
51041
51042 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
51043 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
51044 (tst-fnmatch-ENV): Set MALLOC_TRACE.
51045 ($(objpfx)tst-fnmatch-mem): New rule.
51046 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
51047 * posix/tst-fnmatch.c (main): Call mtrace.
51048
13b69574
L
510492010-11-11 H.J. Lu <hongjiu.lu@intel.com>
51050
51051 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51052 Support Intel processor model 6 and model 0x2c.
51053
da93d214
LM
510542010-11-10 Luis Machado <luisgpm@br.ibm.com>
51055
51056 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
51057 signed comparison.
51058
8ca52c6e
L
510592010-11-09 H.J. Lu <hongjiu.lu@intel.com>
51060
51061 [BZ #12205]
51062 * string/test-strncasecmp.c (check_result): New function.
51063 (do_one_test): Use it.
51064 (check1): New function.
51065 (test_main): Use it.
51066 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
51067 Support strcasecmp and strncasecmp.
51068
69da074d
UD
510692010-11-08 Ulrich Drepper <drepper@gmail.com>
51070
51071 [BZ #12194]
51072 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
51073 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51074
ff02d528
L
510752010-11-07 H.J. Lu <hongjiu.lu@intel.com>
51076
51077 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
51078 IFUNC support.
51079 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51080 memset-x86-64.
51081 * sysdeps/x86_64/multiarch/bzero.S: New file.
51082 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
51083 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
51084 * sysdeps/x86_64/multiarch/memset.S: New file.
51085 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
51086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51087 Set bit_Prefer_SSE_for_memop for Intel processors.
51088 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
51089 Define.
51090 (index_Prefer_SSE_for_memop): Define.
51091 (HAS_PREFER_SSE_FOR_MEMOP): Define.
51092
344d0b54
LM
510932010-11-04 Luis Machado <luisgpm@br.ibm.com>
51094
51095 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
51096 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
51097
c0dde15b
UD
510982010-11-03 H.J. Lu <hongjiu.lu@intel.com>
51099
51100 [BZ #12191]
51101 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51102 (__x86_64_raw_data_cache_size_half): Likewise.
51103 (__x86_64_raw_shared_cache_size): Likewise.
51104 (__x86_64_raw_shared_cache_size_half): Likewise.
51105
51106 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51107 (__x86_64_raw_data_cache_size_half): Likewise.
51108 (__x86_64_raw_shared_cache_size): Likewise.
51109 (__x86_64_raw_shared_cache_size_half): Likewise.
51110 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
51111 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
51112 and __x86_64_raw_shared_cache_size_half. Round
51113 __x86_64_data_cache_size_half, __x86_64_data_cache_size
51114 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
51115 to multiple of 256 bytes.
51116
0e516e0e
MS
511172010-11-03 Ulrich Drepper <drepper@gmail.com>
51118
51119 [BZ #12167]
51120 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51121 of inacessible symlinks. Verify result of symlink before returning it.
51122 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51123 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51124
0e012e87
ER
511252010-10-28 Erich Ritz <erichritz@gmail.com>
51126
51127 * math/math.h (isinf): Fix typo in comment.
51128
de0ff7bc
UD
511292010-11-01 Ulrich Drepper <drepper@gmail.com>
51130
51131 * po/da.po: Update from translation team.
51132
fa41c84d
UD
511332010-10-26 Ulrich Drepper <drepper@gmail.com>
51134
51135 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51136 is added to the list.
51137
f0967738
AK
511382010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51139 Ulrich Drepper <drepper@gmail.com>
51140
51141 * elf/dl-object.c (_dl_new_object): Don't append the new object to
51142 the global list here. Move code to...
51143 (_dl_add_to_namespace_list): ...here. New function.
51144 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51145 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51146 * elf/dl-load.c (lose): Don't remove the element from the list.
51147 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51148 (_dl_map_object): Likewise.
51149
511502010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
51151
51152 [BZ #12159]
51153 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51154 into all bytes of SSE register.
51155 Patch by Richard Li <richardpku@gmail.com>.
51156
f0967738 511572010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
51158
51159 [BZ #12140]
51160 * malloc/malloc.c (_int_free): Fill correct number of bytes when
51161 perturbing.
51162
d0b9e94f
MB
511632010-10-20 Michael B. Brutman <brutman@us.ibm.com>
51164
51165 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51166 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51167 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51168 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51170 submachine.
51171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51172
8e9f92e9
AS
511732010-10-22 Andreas Schwab <schwab@redhat.com>
51174
51175 * include/dlfcn.h (__RTLD_SECURE): Define.
51176 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
51177 mode & __RTLD_SECURE instead.
51178 (open_path): Rename preloaded parameter to secure.
51179 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51180 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51181 * elf/dl-deps.c (openaux): Likewise.
51182 * elf/rtld.c (struct map_args): Remove is_preloaded.
51183 (map_doit): Don't use it.
51184 (dl_main): Likewise.
51185 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51186 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51187
bc96fbda
AS
511882010-09-09 Andreas Schwab <schwab@redhat.com>
51189
51190 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51191 (sysd-rules-targets): Remove duplicates.
51192 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51193 rtld-%.$o dependency.
51194
22cd1c9b
AS
511952010-10-18 Andreas Schwab <schwab@redhat.com>
51196
51197 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51198 _dl_map_object do it.
51199
18edac48
UD
512002010-10-19 Ulrich Drepper <drepper@gmail.com>
51201
51202 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51203 fast fma builtins, define the macros in the C99 standard.
51204 (FP_FAST_FMAF): Likewise.
51205 (FP_FAST_FMAL): Likewise.
51206 * sysdeps/x86_64/bits/mathdef.h: Likewise.
51207
51208 * bits/mathdef.h: Update copyright year.
51209 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51210
d2050124
MM
512112010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
51212
51213 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51214 builtins, define the macros in the C99 standard.
51215 (FP_FAST_FMAF): Likewise.
51216 (FP_FAST_FMAL): Likewise.
51217 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51218 multiply/add.
51219 (FP_FAST_FMAF): Likewise.
51220
475facd1
JJ
512212010-10-15 Jakub Jelinek <jakub@redhat.com>
51222
51223 [BZ #3268]
51224 * math/libm-test.inc (fma_test): Some new testcases.
51225 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51226 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51227 y and infinite z. Do multiplication by C already in long double.
51228 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51229 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51230 y and infinite z. Do bitwise or of inexact bit into u.d.
51231 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51232 * sysdeps/i386/fpu/s_fmaf.S: Removed.
51233 * sysdeps/i386/fpu/s_fma.S: Removed.
51234 * sysdeps/i386/fpu/s_fmal.S: Removed.
51235
7c08a05c
JJ
512362010-10-16 Jakub Jelinek <jakub@redhat.com>
51237
51238 [BZ #3268]
51239 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51240 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51241 computation is not scheduled after fetestexcept. Fix value
51242 of minimum denormal long double.
51243
f3f7372d
JJ
512442010-10-14 Jakub Jelinek <jakub@redhat.com>
51245
51246 [BZ #3268]
51247 * math/libm-test.inc (fma_test): Add some more tests.
51248 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51249 correctly.
51250
14d43591
AS
512512010-10-15 Andreas Schwab <schwab@redhat.com>
51252
51253 * scripts/data/localplt-s390-linux-gnu.data: New file.
51254 * scripts/data/localplt-s390x-linux-gnu.data: New file.
51255
5e908464
JJ
512562010-10-13 Jakub Jelinek <jakub@redhat.com>
51257
51258 [BZ #3268]
51259 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51260 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51261 instead of dbl-64.
51262 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51263 inlines.
51264 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51265 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51266 if one of x and y is very large and the other is subnormal.
51267 * sysdeps/s390/fpu/s_fmaf.c: New file.
51268 * sysdeps/s390/fpu/s_fma.c: New file.
51269 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51270 * sysdeps/powerpc/fpu/s_fma.S: New file.
51271 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51272 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51273 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51274
512752010-10-12 Jakub Jelinek <jakub@redhat.com>
51276
51277 [BZ #3268]
51278 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51279 fma tests.
51280 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51281 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51282 * sysdeps/i386/i686/multiarch/s_fma.c: Include
51283 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51284 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51285 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51286 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51287
b833d51f
UD
512882010-10-12 Ulrich Drepper <drepper@redhat.com>
51289
51290 [BZ #12078]
51291 * posix/regcomp.c (parse_branch): One more memory leak plugged.
51292 * posix/bug-regex31.input: Add test case.
51293
1751705d
UD
512942010-10-11 Ulrich Drepper <drepper@gmail.com>
51295
e9b9cbf5
UD
51296 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51297 * posix/bug-regex31.input: New file.
51298
51299 [BZ #12078]
51300 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51301 (parse_sub_exp): Fix last change, use postorder.
51302
ef06edbe
UD
51303 * posix/bug-regex31.c: New file.
51304 * posix/Makefile: Add rules to build and run bug-regex31.
51305
a129c80d
UD
51306 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51307
51308 [BZ #12078]
51309 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51310
b76b818e
UD
51311 [BZ #12108]
51312 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51313 to have entries in sys_siglist.
51314
1751705d
UD
51315 [BZ #12093]
51316 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51317 be NULL.
51318
9ff8d36f
JJ
513192010-10-07 Jakub Jelinek <jakub@redhat.com>
51320
51321 [BZ #3268]
51322 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51323 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51324 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51325 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51326 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51327 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51328 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51329 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51330 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51331 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51332 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51333 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51334 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51335 * math/ftestexcept.c (fetestexcept): Likewise.
51336 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51337 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51338 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51339 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51340 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51341 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51342 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51343
af325969
UD
513442010-10-11 Ulrich Drepper <drepper@gmail.com>
51345
c579b202 51346 [BZ #12107]
af325969
UD
51347 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51348 newline.
51349
67a67b95
UD
513502010-10-06 Ulrich Drepper <drepper@gmail.com>
51351
51352 * string/bug-strstr1.c: New file.
51353 * string/Makefile: Add rules to build and run bug-strstr1.
51354
5fb308bc
EB
513552010-10-05 Eric Blake <eblake@redhat.com>
51356
51357 [BZ #12092]
51358 * string/str-two-way.h (two_way_long_needle): Always clear memory
51359 when skipping input due to the shift table.
51360
45db99c7
UD
513612010-10-03 Ulrich Drepper <drepper@gmail.com>
51362
3b111893
UD
51363 [BZ #12005]
51364 * malloc/mcheck.c: Handle large requests.
51365
45db99c7
UD
51366 [BZ #12077]
51367 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51368 for strncmp and strncasecmp.
51369 * string/stratcliff.c: Add tests for strcmp and strncmp.
51370 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51371
cf7a1eb8
NI
513722010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51373
51374 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51375 __set_fpscr.
51376
6484ba5e
AJ
513772010-09-30 Andreas Jaeger <aj@suse.de>
51378
51379 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51380 (CGROUP_SUPER_MAGIC): Define.
51381 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51382 Handle btrfs and cgroup file systems.
51383 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51384 Likewise.
51385
91c42559
LM
513862010-09-27 Luis Machado <luisgpm@br.ibm.com>
51387
51388 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51389 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51390
87a97932
AK
513912010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51392
51393 [BZ #12067]
51394 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51395 trying to locate the ELF header.
51396
c21cc9bc
AS
513972010-09-27 Andreas Schwab <schwab@redhat.com>
51398
51399 [BZ #11611]
51400 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51401 Mask out sign-bit copies when constructing f_fsid.
51402
315970f6
PB
514032010-09-24 Petr Baudis <pasky@suse.cz>
51404
51405 * debug/stack_chk_fail_local.c: Add missing licence exception.
51406 * debug/warning-nop.c: Likewise.
51407
1ac7a2c7
JM
514082010-09-15 Joseph Myers <joseph@codesourcery.com>
51409
51410 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51411 implementing getdents64 using getdents syscall, set d_type if
51412 __ASSUME_GETDENTS32_D_TYPE.
51413
56801c50
AS
514142010-09-16 Andreas Schwab <schwab@redhat.com>
51415
51416 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51417 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51418
dda51327
UD
514192010-09-21 Ulrich Drepper <drepper@redhat.com>
51420
51421 [BZ #12037]
51422 * posix/unistd.h: Undo change of feature selection for ftruncate from
51423 2010-01-11.
51424
8ffcee4a
UD
514252010-09-20 Ulrich Drepper <drepper@redhat.com>
51426
a545ecd9 51427 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
51428 detection.
51429
e24f0a8b
AS
514302010-09-20 Andreas Schwab <schwab@redhat.com>
51431
51432 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51433 fanotify_mark.
51434 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51435
7291c56f
AS
514362010-09-14 Andreas Schwab <schwab@redhat.com>
51437
51438 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51439 variables after CHECK_SP call.
51440 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51441
bc5fb037
AS
514422010-09-13 Andreas Schwab <schwab@redhat.com>
51443 Ulrich Drepper <drepper@redhat.com>
51444
51445 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51446 re-relocationg ld.so.
51447 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51448 _dl_init_paths call.
51449 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51450 here anymore.
51451
e66e7419
UD
514522010-09-14 Ulrich Drepper <drepper@redhat.com>
51453
51454 * resolv/res_init.c (__res_vinit): Count the default server we added.
51455
c044aa75
CLT
514562010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51457 Ulrich Drepper <drepper@redhat.com>
51458
51459 [BZ #11968]
51460 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51461 (____longjmp_chk): Use %ebx for saving value across system call.
51462 Add unwind info.
51463
32cf4069
AS
514642010-09-06 Andreas Schwab <schwab@redhat.com>
51465
51466 * manual/Makefile: Don't mix pattern rules with normal rules.
51467
817328ee
AS
514682010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51469
51470 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51471 operation.
51472 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51473 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51474 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51475 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51476 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51477 Likewise.
51478
29fddf61
UD
514792010-09-04 Ulrich Drepper <drepper@redhat.com>
51480
51481 [BZ #11979]
51482 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51483 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51484
0959ffc9
UD
514852010-09-02 Ulrich Drepper <drepper@redhat.com>
51486
51487 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51488 * sysdeps/x86_64/addmul_1.S: Likewise.
51489 * sysdeps/x86_64/lshift.S: Likewise.
51490 * sysdeps/x86_64/mul_1.S: Likewise.
51491 * sysdeps/x86_64/rshift.S: Likewise.
51492 * sysdeps/x86_64/sub_n.S: Likewise.
51493 * sysdeps/x86_64/submul_1.S: Likewise.
51494
ece29840
ST
514952010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51496
0959ffc9
UD
51497 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51498 Define __sched_param instead of SCHED_* and sched_param when
ece29840 51499 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 51500 * bits/sched.h [__need_schedparam]
ece29840 51501 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
51502 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51503 (__defined_schedparam): Define to 1.
ece29840
ST
51504 (__sched_param): New structure, identical to sched_param.
51505 (__need_schedparam): Undefine.
51506
e53a31fe
MF
515072010-08-31 Mike Frysinger <vapier@gentoo.org>
51508
fdc0c10d
MF
51509 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51510 (epoll_create1): Declare.
51511
e53a31fe
MF
51512 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51513
a726d796
AS
515142010-08-31 Andreas Schwab <schwab@redhat.com>
51515
51516 [BZ #7066]
51517 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51518 shifting retval into place.
51519
2f3e3dc7
UD
515202010-09-01 Ulrich Drepper <drepper@redhat.com>
51521
f2933da9
UD
51522 * nis/rpcsvc/nis.h: Update copyright notice.
51523 * nis/rpcsvc/nis.x: Likewise.
51524 * nis/rpcsvc/nis_callback.h: Likewise.
51525 * nis/rpcsvc/nis_callback.x: Likewise.
51526 * nis/rpcsvc/nis_object.x: Likewise.
51527 * nis/rpcsvc/nis_tags.h: Likewise.
51528 * nis/rpcsvc/yp.h: Likewise.
51529 * nis/rpcsvc/yp.x: Likewise.
51530 * nis/rpcsvc/ypupd.h: Likewise.
51531 * nis/yp_xdr.c: Likewise.
51532 * nis/ypupdate_xdr.c: Likewise.
51533
2f3e3dc7
UD
51534 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51535 mainly the body of pmap_getport. Add parameters to specify timeouts.
51536 (pmap_getport): Use __libc_rpc_getport.
51537 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51538 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51539 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51540
f3dcc2f9
AS
515412010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51542
51543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51544 fanotify_mark.
51545
6d34eb5b
RM
515462010-08-27 Roland McGrath <roland@redhat.com>
51547
51548 * sysdeps/i386/i686/multiarch/Makefile
51549 (CFLAGS-varshift.c): New variable.
51550
9ea3de11
UD
515512010-08-27 Ulrich Drepper <drepper@redhat.com>
51552
c96d23fc
UD
51553 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51554 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51555
9ea3de11
UD
51556 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51557
51558 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51559
623aac7f
L
515602010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51561
51562 * sysdeps/x86_64/strlen.S: Unroll the loop.
51563 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51564 strlen-sse2 strlen-sse2-bsf.
51565 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51566 __strlen_no_bsf if bit_Slow_BSF is set.
51567 (__strlen_sse42): Removed.
51568 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51569 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51570
8b2b7715
RM
515712010-08-25 Roland McGrath <roland@redhat.com>
51572
51573 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51574 * sysdeps/x86_64/multiarch/varshift.c: New file.
51575 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51576 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51577 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51578 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51579
e73015f2
L
515802010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51581
51582 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51583 strlen-sse2 strlen-sse2-bsf.
51584 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51585 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51586 (__strlen_sse2): Removed.
51587 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51588 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51589 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51590 bit_Slow_BSF for Atom.
51591 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51592 (index_Slow_BSF): Define.
51593 (HAS_SLOW_BSF): Define.
51594
df24a73e
UD
515952010-08-25 Ulrich Drepper <drepper@redhat.com>
51596
51597 [BZ #10851]
51598 * resolv/res_init.c (__res_vinit): When no server address at all
51599 is given default to loopback.
51600
f2ac4868
RM
516012010-08-24 Roland McGrath <roland@redhat.com>
51602
09055553
RM
51603 * configure.in: Remove config-name.h generation.
51604 * configure: Regenerated.
51605 * config-name.in: File removed.
51606 * scripts/config-uname.sh: New file.
51607 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51608 ($(objdir)config-name.h): New target.
51609
f2ac4868
RM
51610 * sunrpc/rpc_parse.h: Avoid nested comment.
51611
73f27d5e
RH
516122010-08-24 Richard Henderson <rth@redhat.com>
51613 Ulrich Drepper <drepper@redhat.com>
51614 H.J. Lu <hongjiu.lu@intel.com>
51615
51616 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51617 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51618 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51619 Replace _mm_srli_si128 with __m128i_shift_right. Replace
51620 _mm_alignr_epi8 with _mm_loadu_si128.
51621 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51622 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51623 (__m128i_shift_right): Removed.
51624 * sysdeps/i386/i686/multiarch/varshift.h: New file.
51625 * sysdeps/i386/i686/multiarch/varshift.S: New file.
51626 * sysdeps/x86_64/multiarch/varshift.h: New file.
51627 * sysdeps/x86_64/multiarch/varshift.S: New file.
51628
84b9230c
MF
516292010-08-21 Mike Frysinger <vapier@gentoo.org>
51630
51631 * configure.in: Move assembler checks to before sysdep dir checking.
51632
9bbd0ddc
PB
516332010-08-20 Petr Baudis <pasky@suse.cz>
51634
51635 * LICENSES: Sync the sunrpc license.
51636
9da4bb31
UD
516372010-08-19 Ulrich Drepper <drepper@redhat.com>
51638
a7ab6ec8
UD
51639 * sunrpc/auth_des.c: Update copyright notice once again.
51640 * sunrpc/auth_none.c: Likewise.
51641 * sunrpc/auth_unix.c: Likewise.
51642 * sunrpc/authdes_prot.c: Likewise.
51643 * sunrpc/authuxprot.c: Likewise.
51644 * sunrpc/bindrsvprt.c: Likewise.
51645 * sunrpc/clnt_gen.c: Likewise.
51646 * sunrpc/clnt_perr.c: Likewise.
51647 * sunrpc/clnt_raw.c: Likewise.
51648 * sunrpc/clnt_simp.c: Likewise.
51649 * sunrpc/clnt_tcp.c: Likewise.
51650 * sunrpc/clnt_udp.c: Likewise.
51651 * sunrpc/clnt_unix.c: Likewise.
51652 * sunrpc/des_crypt.c: Likewise.
51653 * sunrpc/des_soft.c: Likewise.
51654 * sunrpc/get_myaddr.c: Likewise.
51655 * sunrpc/getrpcport.c: Likewise.
51656 * sunrpc/key_call.c: Likewise.
51657 * sunrpc/key_prot.c: Likewise.
51658 * sunrpc/openchild.c: Likewise.
51659 * sunrpc/pm_getmaps.c: Likewise.
51660 * sunrpc/pm_getport.c: Likewise.
51661 * sunrpc/pmap_clnt.c: Likewise.
51662 * sunrpc/pmap_prot.c: Likewise.
51663 * sunrpc/pmap_prot2.c: Likewise.
51664 * sunrpc/pmap_rmt.c: Likewise.
51665 * sunrpc/rpc/auth.h: Likewise.
51666 * sunrpc/rpc/auth_unix.h: Likewise.
51667 * sunrpc/rpc/clnt.h: Likewise.
51668 * sunrpc/rpc/des_crypt.h: Likewise.
51669 * sunrpc/rpc/key_prot.h: Likewise.
51670 * sunrpc/rpc/netdb.h: Likewise.
51671 * sunrpc/rpc/pmap_clnt.h: Likewise.
51672 * sunrpc/rpc/pmap_prot.h: Likewise.
51673 * sunrpc/rpc/pmap_rmt.h: Likewise.
51674 * sunrpc/rpc/rpc.h: Likewise.
51675 * sunrpc/rpc/rpc_des.h: Likewise.
51676 * sunrpc/rpc/rpc_msg.h: Likewise.
51677 * sunrpc/rpc/svc.h: Likewise.
51678 * sunrpc/rpc/svc_auth.h: Likewise.
51679 * sunrpc/rpc/types.h: Likewise.
51680 * sunrpc/rpc/xdr.h: Likewise.
51681 * sunrpc/rpc_clntout.c: Likewise.
51682 * sunrpc/rpc_cmsg.c: Likewise.
51683 * sunrpc/rpc_common.c: Likewise.
51684 * sunrpc/rpc_cout.c: Likewise.
51685 * sunrpc/rpc_dtable.c: Likewise.
51686 * sunrpc/rpc_hout.c: Likewise.
51687 * sunrpc/rpc_main.c: Likewise.
51688 * sunrpc/rpc_parse.c: Likewise.
51689 * sunrpc/rpc_parse.h: Likewise.
51690 * sunrpc/rpc_prot.c: Likewise.
51691 * sunrpc/rpc_sample.c: Likewise.
51692 * sunrpc/rpc_scan.c: Likewise.
51693 * sunrpc/rpc_scan.h: Likewise.
51694 * sunrpc/rpc_svcout.c: Likewise.
51695 * sunrpc/rpc_tblout.c: Likewise.
51696 * sunrpc/rpc_util.c: Likewise.
51697 * sunrpc/rpc_util.h: Likewise.
51698 * sunrpc/rpcinfo.c: Likewise.
51699 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51700 * sunrpc/rpcsvc/key_prot.x: Likewise.
51701 * sunrpc/rpcsvc/klm_prot.x: Likewise.
51702 * sunrpc/rpcsvc/mount.x: Likewise.
51703 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51704 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51705 * sunrpc/rpcsvc/rex.x: Likewise.
51706 * sunrpc/rpcsvc/rstat.x: Likewise.
51707 * sunrpc/rpcsvc/rusers.x: Likewise.
51708 * sunrpc/rpcsvc/sm_inter.x: Likewise.
51709 * sunrpc/rpcsvc/spray.x: Likewise.
51710 * sunrpc/rpcsvc/yppasswd.x: Likewise.
51711 * sunrpc/rtime.c: Likewise.
51712 * sunrpc/svc.c: Likewise.
51713 * sunrpc/svc_auth.c: Likewise.
51714 * sunrpc/svc_authux.c: Likewise.
51715 * sunrpc/svc_raw.c: Likewise.
51716 * sunrpc/svc_run.c: Likewise.
51717 * sunrpc/svc_simple.c: Likewise.
51718 * sunrpc/svc_tcp.c: Likewise.
51719 * sunrpc/svc_udp.c: Likewise.
51720 * sunrpc/svc_unix.c: Likewise.
51721 * sunrpc/svcauth_des.c: Likewise.
51722 * sunrpc/xcrypt.c: Likewise.
51723 * sunrpc/xdr.c: Likewise.
51724 * sunrpc/xdr_array.c: Likewise.
51725 * sunrpc/xdr_float.c: Likewise.
51726 * sunrpc/xdr_mem.c: Likewise.
51727 * sunrpc/xdr_rec.c: Likewise.
51728 * sunrpc/xdr_ref.c: Likewise.
51729 * sunrpc/xdr_sizeof.c: Likewise.
51730 * sunrpc/xdr_stdio.c: Likewise.
51731
9da4bb31
UD
51732 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51733 handling.
51734
bdaa77bc
AS
517352010-08-19 Andreas Schwab <schwab@redhat.com>
51736
51737 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51738
fe2f79db
LM
517392010-08-19 Luis Machado <luisgpm@br.ibm.com>
51740
51741 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51742 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51743 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51744 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51745 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51746 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51747 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51748 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51749 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51750 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51751 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51752 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51753 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51754 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51755
b9b42ee0
AB
517562010-07-26 Anton Blanchard <anton@samba.org>
51757
51758 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51759 * malloc/arena.c (heap_trim): Likewise.
51760
1c06ba31
UD
517612010-08-16 Ulrich Drepper <drepper@redhat.com>
51762
51763 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51764 here. Not...
51765 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51766 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51767
f8392f40
L
517682010-08-12 H.J. Lu <hongjiu.lu@intel.com>
51769
51770 * sysdeps/i386/elf/Makefile: New file.
51771
3162f12e
AS
517722010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51773
51774 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51775 from fanotify_init.
51776 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51777 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51778
28c90b2c
UD
517792010-08-15 Ulrich Drepper <drepper@redhat.com>
51780
51781 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51782 of strncasecmp_l.
1feccb6c 51783 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 51784
ca6bb004
UD
517852010-08-14 Ulrich Drepper <drepper@redhat.com>
51786
e9f82e0d
UD
51787 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51788 strncase_l-nonascii.
51789 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51790 Add strncase_l-ssse3.
51791 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51792 * sysdeps/x86_64/strcmp.S: Likewise.
51793 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51794 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51795 * sysdeps/x86_64/strncase.S: New file.
51796 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51797 * sysdeps/x86_64/strncase_l.S: New file.
51798 * string/Makefile (strop-tests): Add strncasecmp.
51799 * string/test-strncasecmp.c: New file.
51800
51801 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51802 warning.
51803
ca6bb004
UD
51804 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51805 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51806
052fa7b3
AS
518072010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51808
51809 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51810
962dba78
UD
518112010-08-12 Ulrich Drepper <drepper@redhat.com>
51812
51813 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51814 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51815 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51816
bebff237
AM
518172010-05-01 Alan Modra <amodra@gmail.com>
51818
51819 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51820 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51821 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51822 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51823 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51824 tidying. Don't tail-call __sigjmp_save for static lib.
51825 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51826 save location.
51827 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51828 (CALL_MCOUNT): Add eh info, and nop after bl.
51829 (TAIL_CALL_SYSCALL_ERROR): New macro.
51830 (PSEUDO_RET): Use it.
51831 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51832 Correct save location of integer regs and cr.
51833 (_dl_profile_resolve): Correct cr save location. Delete nops
51834 after bl when SHARED. Reduce cfi size a little by better
51835 placement of cfi directives.
51836 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51837 make a stack frame. Instead use parm save area as a temp.
51838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51839 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
51840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51841 Don't make a stack frame for parent, use parm save area.
51842 Increase child stack frame to 112 bytes. Don't save unused reg,
51843 and adjust reg usage. Set up cfi on error recovery and
51844 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51846 (__makecontext): Add dummy nop after jump to exit.
51847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51848 Use correct parm save area and cr save, reduce stack frame.
51849 Correct cfi for possible PSEUDO_RET frame setup.
51850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51851 Branch to local label emitted by PSEUDO_RET rather than
51852 __syscall_error.
51853
02637374
AS
518542010-08-12 Andreas Schwab <schwab@redhat.com>
51855
51856 [BZ #11904]
51857 * locale/programs/locale.c (print_assignment): New function.
51858 (show_locale_vars): Use it.
51859
c3e2f19b
UD
518602010-08-11 Ulrich Drepper <drepper@redhat.com>
51861
3cdaa6ad
UD
51862 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51863 field.
51864 (struct statfs64): Likewise.
51865 (_STATFS_F_FLAGS): Define.
51866 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51867 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51868 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51869 (ST_VALID): Define locally.
51870 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51871 __statvfs_getflags, use the provided value.
51872 * sysdeps/unix/sysv/linux/kernel-features.h: Define
51873 __ASSUME_STATFS_F_FLAGS.
51874
754f7da3
UD
51875 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51876
10b3bedc
UD
51877 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51878 Add sys/fanotify.h.
51879 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51880 fanotify_mask for GLIBC_2.13.
51881 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51882 fanotify_init and fanotify_mark.
51883 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51884 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51885
c08fb0d7
UD
51886 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51887 Add prlimit.
51888 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51889 prlimit64 for GLIBC_2.13.
51890 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51891 prlimit64.
51892 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51893 syscall.
51894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51895 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51896 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51897 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51898 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
51899 add prlimit alias.
51900 * sysdeps/unix/sysv/linux/prlimit.c: New file.
51901
15bac72b
UD
51902 [BZ #11903]
51903 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51904 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51905
c3e2f19b
UD
51906 * nss/Makefile: Add rules to build and run tst-nss-test1.
51907 * shlib-versions: Add entry for libnss_test1.
51908 * nss/nss_test1.c: New file.
51909 * nss/tst-nss-test1.c: New file.
51910
51911 * nss/nsswitch.c (__nss_database_custom): Define new variable.
51912 (__nss_configure_lookup): Set appropriate entry in
51913 __nss_configure_lookup to true.
51914 * nss/nsswitch.h: Define enum with indeces of databases in
51915 databases and __nss_database_custom arrays. Declare
51916 __nss_database_custom.
51917 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51918 to avoid using nscd when custom rules are installed.
51919 * nss/getXXbyYY_r.c: Likewise.
51920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51921
51922 * nss/nss_files/files-parse.c: Whitespace fixes.
51923
f15ce4d8
UD
519242010-08-09 Ulrich Drepper <drepper@redhat.com>
51925
51926 [BZ #11883]
51927 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51928 * posix/fnmatch_loop.c: Likewise.
51929
d22e4cc9
AK
519302010-07-17 Andi Kleen <ak@linux.intel.com>
51931
51932 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51933 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51934 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51935 * Versions.def [GLIBC_2.13]: Add.
51936
805bc17d
UD
519372010-08-06 Ulrich Drepper <drepper@redhat.com>
51938
51939 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51940 Also fail if tpwd after pwuid call is NULL.
51941
5a42321d
ST
519422010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
51943
51944 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51945 when converting to ms.
51946
fd3ebeda
ST
519472010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51948
51949 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51950 EOPNOTSUPP errors with ENOTTY.
51951 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51952 EOPNOTSUPP errors with ENOTTY.
51953
73507d3a
UD
519542010-07-31 Ulrich Drepper <drepper@redhat.com>
51955
51956 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51957 Add strcasecmp_l-ssse3.
51958 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51959 strcasecmp.
51960 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51961 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51962 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51963
fe36dd02
UD
519642010-07-30 Ulrich Drepper <drepper@redhat.com>
51965
66f6765a
UD
51966 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51967
42e08a54
UD
51968 * string/Makefile (strop-tests): Add strcasecmp.
51969 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51970 strcasecmp_l-nonascii.
51971 (gen-as-const-headers): Add locale-defines.sym.
51972 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51973 * sysdeps/x86_64/strcasecmp.S: New file.
51974 * sysdeps/x86_64/strcasecmp_l.S: New file.
51975 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
51976 * sysdeps/x86_64/locale-defines.sym: New file.
51977 * string/test-strcasecmp.c: New file.
51978
fe36dd02
UD
51979 * string/test-strcasestr.c: Test both ends of the range of characters.
51980 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
51981
48cbc0d6
RM
519822010-07-29 Roland McGrath <roland@redhat.com>
51983
76e6d6bc 51984 [BZ #11856]
48cbc0d6
RM
51985 * manual/locale.texi (Yes-or-No Questions): Fix example code.
51986
880113d9
UD
519872010-07-27 Ulrich Drepper <drepper@redhat.com>
51988
51989 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
51990 for ld.so.
51991
deb9cabb
AS
519922010-07-27 Andreas Schwab <schwab@redhat.com>
51993
51994 * manual/memory.texi (Malloc Tunable Parameters): Document
51995 M_PERTURB.
51996
1c7570ff
RM
519972010-07-26 Roland McGrath <roland@redhat.com>
51998
51999 [BZ #11840]
52000 * configure.in (-fgnu89-inline check): Set and substitute
52001 gnu89_inline, not libc_cv_gnu89_inline.
52002 * configure: Regenerated.
52003 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
52004
24fb0f88
UD
520052010-07-26 Ulrich Drepper <drepper@redhat.com>
52006
52007 * string/test-strnlen.c: New file.
52008 * string/Makefile (strop-tests): Add strnlen.
52009 * string/tester.c (test_strnlen): Add a few more test cases.
52010 * string/tst-strlen.c: Better error reporting.
52011
52012 * sysdeps/x86_64/strnlen.S: New file.
52013
8e96b93a
UD
520142010-07-24 Ulrich Drepper <drepper@redhat.com>
52015
52016 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
52017 lower-latency instructions.
52018
dbc676d4
UD
520192010-07-23 Ulrich Drepper <drepper@redhat.com>
52020
52021 * string/test-strcasestr.c: New file.
52022 * string/test-strstr.c: New file.
52023 * string/Makefile (strop-tests): Add strstr and strcasestr.
52024 * string/str-two-way.h: Don't undefine MAX.
52025 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
52026
f6a31e0e
AS
520272010-07-21 Andreas Schwab <schwab@redhat.com>
52028
52029 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52030 strcasestr-nonascii.
52031 (CFLAGS-strcasestr-nonascii.c): Define.
52032 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
52033 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
52034 Remove unused attribute.
52035
5dbc3b6c
RM
520362010-07-20 Roland McGrath <roland@redhat.com>
52037
52038 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
52039 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
52040 ld.so.cache was broken. With it, there is no way to disable dsocaps
52041 like LD_HWCAP_MASK can disable hwcaps.
52042
23d101d8
EPM
520432010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52044
52045 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
52046
cc9f2e47
UD
520472010-07-16 Ulrich Drepper <drepper@redhat.com>
52048
52049 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
52050 call in strcasestr.
52051 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
52052 __strcasestr_sse42_nonascii.
52053 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
52054 strcasestr-nonascii.c.
52055 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
52056
77c1b069
LM
520572010-06-15 Luis Machado <luisgpm@br.ibm.com>
52058
52059 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
52060 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
52061 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
52062 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
52063
440566c3
UD
520642010-07-09 Ulrich Drepper <drepper@redhat.com>
52065
52066 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
52067 fcntl.
52068
5be9d05d
AS
520692010-07-06 Andreas Schwab <schwab@redhat.com>
52070
c30b7ee2 52071 [BZ #11577]
5be9d05d
AS
52072 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
52073 dl_signal_cerror.
52074
8a492a67
UD
520752010-07-06 Ulrich Drepper <drepper@redhat.com>
52076
52077 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
52078 _PC_PIPE_BUF using F_GETPIPE_SZ.
52079
713df3d5
RM
520802010-07-05 Roland McGrath <roland@redhat.com>
52081
52082 * manual/arith.texi (Rounding Functions): Fix rint description
52083 implicit in round description.
52084
702e8f14
UD
520852010-07-02 Ulrich Drepper <drepper@redhat.com>
52086
52087 * elf/Makefile: Fix linking for a few tests to make recent linker
52088 happy.
52089
52ed8be9
AS
520902010-06-30 Andreas Schwab <schwab@redhat.com>
52091
52092 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52093 $(common-objpfx)libc_nonshared.a.
52094
f47c9a11
LM
520952010-06-21 Luis Machado <luisgpm@br.ibm.com>
52096
52097 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
52098 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
52099 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52100 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52101 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
52102 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
52103 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52104 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
52106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
52107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
52108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
52110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
52112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
52113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
52114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
52115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
52117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
52119 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52120 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52121 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52122 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52123 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52124 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52125 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52126 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52127 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52128 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52129 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52130 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52145
6fb8cbcb
L
521462010-06-25 H.J. Lu <hongjiu.lu@intel.com>
52147
52148 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52149 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
52150 * string/memmove.c (memmove): Renamed to ...
52151 (MEMMOVE): ...this. Default to memmove.
52152 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52153 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52154 (END_CHK): Define.
52155 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52156 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52157 mempcpy-ssse3-back memmove-ssse3-back.
52158 * sysdeps/x86_64/multiarch/bcopy.S: New file .
52159 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52160 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52161 * sysdeps/x86_64/multiarch/memcpy.S: New file.
52162 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52163 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52164 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52165 * sysdeps/x86_64/multiarch/memmove.c: New file.
52166 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52167 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52168 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52169 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52170 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52171 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52172 Define.
52173 (index_Fast_Copy_Backward): Define.
52174 (HAS_ARCH_FEATURE): Define.
52175 (HAS_FAST_REP_STRING): Define.
52176 (HAS_FAST_COPY_BACKWARD): Define.
52177
4e733bac 521782010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
52179
52180 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52181 Restore proper fallback handling.
52182
63c4ed22
UD
521832010-06-19 Ulrich Drepper <drepper@redhat.com>
52184
ac2b484c
UD
52185 [BZ #11701]
52186 * posix/group_member.c (__group_member): Correct checking loop.
52187
63c4ed22
UD
52188 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52189 OOM in getpwuid_r correctly. Return error number when the caller
52190 should return, otherwise -1.
52191 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52192 call returning > 0 value.
52193 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52194
765ade4b
AS
521952010-06-07 Andreas Schwab <schwab@redhat.com>
52196
52197 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52198 libc_nonshared.a from targets in modules-names.
52199
80da2e09
KS
522002010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
52201
52202 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52203 requires it.
52204
158db122
LM
522052010-06-10 Luis Machado <luisgpm@br.ibm.com>
52206
52207 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52208 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52209 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52210 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52211
caa78cf8
AS
522122010-06-02 Andreas Schwab <schwab@redhat.com>
52213
52214 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52215
b2ef2c01
UD
522162010-06-14 Ulrich Drepper <drepper@redhat.com>
52217
52218 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52219 and F_GETPIPE_SZ.
52220 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52221 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52222 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52223 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52224 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52225 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52226
fbd643b6
RM
522272010-06-14 Roland McGrath <roland@redhat.com>
52228
52229 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52230
f32f2869
JJ
522312010-06-07 Jakub Jelinek <jakub@redhat.com>
52232
52233 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52234 __REDIRECT followed by __THROW.
52235 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52236 * posix/getopt.h (getopt): Likewise.
52237
2a50c078
EPM
522382010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52239
52240 * hurd/lookup-at.c (__file_name_lookup_at): Accept
52241 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
52242 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52243 in AT_FLAGS.
52244 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52245 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52246
eb5ad2eb
LM
522472010-05-28 Luis Machado <luisgpm@br.ibm.com>
52248
52249 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52250
3c88fe1e
L
522512010-05-26 H.J. Lu <hongjiu.lu@intel.com>
52252
52253 [BZ #11640]
52254 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52255 Properly check family and model.
52256
d2f73151
TY
522572010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
52258
52259 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52260
ebd2e13d
LM
522612010-05-24 Luis Machado <luisgpm@br.ibm.com>
52262
52263 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52264
b32b8b45
UD
522652010-05-21 Ulrich Drepper <drepper@redhat.com>
52266
52267 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52268 symbol reference.
52269
9acbe24d
AS
522702010-05-19 Andreas Schwab <schwab@redhat.com>
52271
52272 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52273 symbol reference.
52274
f0ccf6ea
AS
522752010-05-21 Andreas Schwab <schwab@redhat.com>
52276
3d04ff3a
AS
52277 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52278 and internal_recvmmsg.
52279 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52280 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52281 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52282 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52283
f0ccf6ea
AS
52284 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52285 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52286 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52287
5b08ac57
AS
522882010-05-20 Andreas Schwab <schwab@redhat.com>
52289
52290 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52291
4828935d
LM
522922010-05-17 Luis Machado <luisgpm@br.ibm.com>
52293
52294 POWER7 optimizations.
52295 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52296 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52297
373d545e
UD
522982010-05-19 Ulrich Drepper <drepper@redhat.com>
52299
52300 * version.h: Update for 2.13 development version.
52301
21a2b1ae
AS
523022010-05-12 Andrew Stubbs <ams@codesourcery.com>
52303
52304 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52305 exceptions. Return 0.
52306
3f7dcb2b
RM
523072010-05-07 Roland McGrath <roland@redhat.com>
52308
52309 * elf/ldconfig.c (main): Add a const.
52310
5f24d53a 523112010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 52312
a160f8d8
UD
52313 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52314 (args_options): Add no-idn option.
52315 (ahosts_keys_int): Add idn_flags to ai_flags.
52316 (parse_option): Handle 'i' option to clear idn_flags.
52317
5f24d53a
UD
52318 * malloc/malloc.c (_int_free): Possible race in the most recently
52319 added check. Only act on the data if no current modification
52320 happened.
265bb1ce
UD
52321
52322See ChangeLog.17 for earlier changes.
This page took 7.483757 seconds and 5 git commands to generate.