1 2014-11-26 Joseph Myers <joseph@codesourcery.com>
3 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4 * libio/bug-rewind2.c (do_test): Likewise.
6 * debug/test-stpcpy_chk-ifunc.c: Remove file.
7 * debug/test-strcpy_chk-ifunc.c: Likewise.
8 * wcsmbs/test-wcschr-ifunc.c: Likewise.
9 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14 * Rules [$(multi-arch) = no] (tests): Do not filter out
16 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
17 * debug/Makefile (tests-ifunc): Remove variable.
18 (tests): Do not add $(tests-ifunc).
19 * wcsmbs/Makefile (tests-ifunc): Remove variable.
20 (tests): Do not add $(tests-ifunc).
21 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
22 [TEST_IFUNC]: Remove conditionals.
23 * string/test-string.h (TEST_IFUNC): Remove macro.
24 [TEST_IFUNC]: Remove conditionals.
26 * string/test-strchr.c [!WIDE] (L): New macro.
28 (check1): Use CHAR instead of char. Use L on string and character
31 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
33 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
35 * sysdeps/powerpc/bits/atomic.h
36 (__arch_atomic_exchange_and_add_32_acq): Add definition.
37 (__arch_atomic_exchange_and_add_32_rel): Likewise.
38 (atomic_exchange_and_add_acq): Likewise.
39 (atomic_exchange_and_add_rel): Likewise.
40 * sysdeps/powerpc/powerpc32/bits/atomic.h
41 (__arch_atomic_exchange_and_add_64_acq): Add definition.
42 (__arch_atomic_exchange_and_add_64_rel): Likewise.
43 * sysdeps/powerpc/powerpc64/bits/atomic.h
44 (__arch_atomic_exchange_and_add_64_acq): Add definition.
45 (__arch_atomic_exchange_and_add_64_rel): Likewise.
47 2014-11-26 Torvald Riegel <triegel@redhat.com>
49 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
50 Change synchronization of __sched_fifo_min_prio and
51 __sched_fifo_max_prio.
52 * nptl/pthread_mutexattr_getprioceiling.c
53 (pthread_mutexattr_getprioceiling): Likewise.
54 * nptl/pthread_mutexattr_setprioceiling.c
55 (pthread_mutexattr_setprioceiling): Likewise.
56 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
57 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
60 2014-11-26 Joseph Myers <joseph@codesourcery.com>
62 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
65 2014-11-25 Joseph Myers <joseph@codesourcery.com>
67 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
70 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
72 fnmatch: work around GCC compiler warning bug with uninit var
73 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
74 This works around a bug with x86-64 GCC 4.9.2 and earlier
75 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
76 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
77 used uninitialized in this function [-Wmaybe-uninitialized]".
79 2014-11-25 Joseph Myers <joseph@codesourcery.com>
81 * posix/bug-regex31.c (main): Return RES not 0.
83 2014-11-25 Anton Blanchard <anton@samba.org>
85 * sysdeps/powerpc/bits/atomic.h
86 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
88 2014-11-24 Sterling Augustine <saugustine@google.com>
90 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
92 2014-11-24 Ryan Cumming <etaoins@gmail.com>
95 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
97 2014-11-24 Joseph Myers <joseph@codesourcery.com>
100 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
101 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
103 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
104 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
106 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
108 * string/strncpy.c (strncpy): Improve performance by using memset.
110 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
112 * string/strcpy.c (strcpy):
113 Improve performance by using strlen and memcpy.
115 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
117 * string/strcoll_l.c (get_next_seq): __always_inline.
118 * string/strcoll_l.c (do_compare): __always_inline.
120 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
122 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
124 * include/mqueue.h: Likewise.
125 * include/stdlib.h: Likewise.
127 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
128 (get_null_defines): Adjust.
129 * sunrpc/Makefile: Adjust comment.
130 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
131 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
132 (CFLAGS-interp.c): Likewise.
133 (CFLAGS-ldconfig.c): Likewise.
134 (CPPFLAGS-.os): Likewise.
135 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
136 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
137 * extra-modules.mk (extra-modules.mk): Likewise.
138 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
139 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
140 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
141 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
142 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
143 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
144 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
145 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
146 * iconvdata/Makefile (CPPFLAGS): Likewise.
147 (cpp-srcs-left): Add libof for all iconvdata routines.
148 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
149 * include/assert.h: Likewise.
150 * include/ctype.h: Likewise.
151 * include/errno.h: Likewise.
152 * include/libc-symbols.h: Likewise.
153 * include/math.h: Likewise.
154 * include/netdb.h: Likewise.
155 * include/resolv.h: Likewise.
156 * include/stdio.h: Likewise.
157 * include/stdlib.h: Likewise.
158 * include/string.h: Likewise.
159 * include/sys/stat.h: Likewise.
160 * include/wctype.h: Likewise.
161 * intl/l10nflist.c: Likewise.
162 * libidn/idn-stub.c: Likewise.
163 * libio/libioP.h: Likewise.
164 * nptl/libc_multiple_threads.c: Likewise.
165 * nptl/pthreadP.h: Likewise.
166 * posix/regex_internal.h: Likewise.
167 * resolv/res_hconf.c: Likewise.
168 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
169 * sysdeps/arm/memmove.S: Likewise.
170 * sysdeps/arm/sysdep.h: Likewise.
171 * sysdeps/generic/_itoa.h: Likewise.
172 * sysdeps/generic/symbol-hacks.h: Likewise.
173 * sysdeps/gnu/errlist.awk: Likewise.
174 * sysdeps/gnu/errlist.c: Likewise.
175 * sysdeps/i386/i586/memcpy.S: Likewise.
176 * sysdeps/i386/i586/memset.S: Likewise.
177 * sysdeps/i386/i686/memcpy.S: Likewise.
178 * sysdeps/i386/i686/memmove.S: Likewise.
179 * sysdeps/i386/i686/mempcpy.S: Likewise.
180 * sysdeps/i386/i686/memset.S: Likewise.
181 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
182 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
183 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
184 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
185 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
186 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
187 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
188 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
189 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
190 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
191 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
192 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
193 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
194 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
195 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
196 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
197 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
198 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
199 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
200 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
201 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
202 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
203 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
204 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
205 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
206 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
207 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
208 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
209 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
210 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
211 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
212 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
213 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
214 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
215 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
216 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
217 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
218 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
219 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
220 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
221 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
222 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
223 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
224 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
225 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
226 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
227 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
228 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
229 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
230 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
231 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
232 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
233 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
234 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
235 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
236 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
237 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
238 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
239 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
240 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
241 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
242 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
243 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
244 * sysdeps/nptl/bits/libc-lock.h: Likewise.
245 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
246 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
247 * sysdeps/posix/closedir.c: Likewise.
248 * sysdeps/posix/opendir.c: Likewise.
249 * sysdeps/posix/readdir.c: Likewise.
250 * sysdeps/posix/rewinddir.c: Likewise.
251 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
252 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
253 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
254 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
255 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
256 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
257 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
258 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
259 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
260 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
261 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
262 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
263 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
264 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
265 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
266 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
267 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
268 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
269 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
270 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
271 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
272 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
273 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
274 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
275 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
276 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
277 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
278 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
279 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
280 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
281 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
282 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
283 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
284 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
285 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
286 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
287 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
288 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
289 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
290 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
291 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
292 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
293 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
294 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
295 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
296 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
297 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
298 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
299 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
300 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
301 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
302 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
303 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
304 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
305 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
306 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
307 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
308 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
309 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
310 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
311 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
312 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
313 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
314 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
315 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
316 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
317 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
318 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
319 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
320 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
321 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
322 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
323 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
324 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
325 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
326 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
327 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
328 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
329 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
330 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
331 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
332 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
333 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
334 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
335 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
336 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
337 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
338 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
339 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
340 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
341 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
342 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
343 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
344 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
345 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
346 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
347 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
348 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
349 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
350 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
351 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
352 * sysdeps/unix/alpha/sysdep.S: Likewise.
353 * sysdeps/unix/alpha/sysdep.h: Likewise.
354 * sysdeps/unix/make-syscalls.sh: Likewise.
355 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
356 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
357 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
358 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
359 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
360 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
361 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
362 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
363 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
364 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
365 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
366 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
367 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
368 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
369 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
370 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
371 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
372 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
373 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
374 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
375 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
376 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
377 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
378 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
379 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
380 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
381 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
384 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
385 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
386 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
387 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
388 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
389 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
390 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
391 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
392 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
393 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
394 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
395 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
396 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
397 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
398 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
399 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
400 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
401 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
402 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
403 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
404 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
405 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
406 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
407 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
408 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
409 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
410 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
411 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
412 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
413 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
414 * sysdeps/x86_64/memcpy.S: Likewise.
415 * sysdeps/x86_64/memmove.c: Likewise.
416 * sysdeps/x86_64/memset.S: Likewise.
417 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
418 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
419 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
420 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
421 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
422 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
423 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
424 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
425 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
426 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
427 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
428 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
429 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
430 * sysdeps/x86_64/multiarch/memset.S: Likewise.
431 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
432 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
433 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
434 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
435 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
436 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
437 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
438 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
439 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
440 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
441 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
442 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
443 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
444 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
445 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
446 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
447 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
448 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
449 * sysdeps/x86_64/strcmp.S: Likewise.
451 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
453 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
454 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
455 * elf/rtld-Rules: Likewise.
456 * elf/setup-vdso.h: Likewise.
457 * include/assert.h: Likewise.
458 * include/bits/stdlib-float.h: Likewise.
459 * include/errno.h: Likewise.
460 * include/sys/stat.h: Likewise.
461 * include/unistd.h: Likewise.
462 * sysdeps/aarch64/setjmp.S: Likewise.
463 * sysdeps/alpha/setjmp.S: Likewise.
464 * sysdeps/arm/__longjmp.S: Likewise.
465 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
466 * sysdeps/arm/setjmp.S: Likewise.
467 * sysdeps/arm/sysdep.h: Likewise.
468 * sysdeps/generic/_itoa.h: Likewise.
469 * sysdeps/generic/dl-sysdep.h: Likewise.
470 * sysdeps/generic/ldsodefs.h: Likewise.
471 * sysdeps/i386/dl-tls.h: Likewise.
472 * sysdeps/i386/setjmp.S: Likewise.
473 * sysdeps/m68k/setjmp.c: Likewise.
474 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
475 * sysdeps/mach/hurd/opendir.c: Likewise.
476 * sysdeps/posix/getcwd.c: Likewise.
477 * sysdeps/posix/opendir.c: Likewise.
478 * sysdeps/posix/profil.c: Likewise.
479 * sysdeps/powerpc/dl-procinfo.h: Likewise.
480 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
481 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
482 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
483 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
484 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
485 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
486 * sysdeps/s390/dl-tls.h: Likewise.
487 * sysdeps/s390/s390-32/setjmp.S: Likewise.
488 * sysdeps/s390/s390-64/setjmp.S: Likewise.
489 * sysdeps/sh/sh3/setjmp.S: Likewise.
490 * sysdeps/sh/sh4/setjmp.S: Likewise.
491 * sysdeps/unix/alpha/sysdep.h: Likewise.
492 * sysdeps/unix/arm/sysdep.S: Likewise.
493 * sysdeps/unix/i386/sysdep.S: Likewise.
494 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
495 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
496 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
497 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
498 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
499 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
500 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
501 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
502 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
503 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
504 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
505 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
506 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
509 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
510 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
511 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
512 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
513 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
514 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
515 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
516 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
517 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
518 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
519 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
520 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
521 * sysdeps/unix/x86_64/sysdep.S: Likewise.
522 * sysdeps/x86_64/setjmp.S: Likewise.
524 * include/math.h: Use IS_IN instead of IS_IN_libm.
525 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
526 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
527 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
528 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
529 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
530 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
531 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
532 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
533 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
534 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
535 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
536 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
537 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
538 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
539 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
540 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
541 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
542 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
543 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
544 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
545 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
546 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
547 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
548 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
549 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
550 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
551 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
552 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
553 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
554 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
555 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
556 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
557 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
568 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
569 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
570 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
571 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
572 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
573 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
579 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
580 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
581 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
582 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
583 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
584 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
585 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
586 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
587 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
588 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
589 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
590 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
591 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
592 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
594 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
596 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
597 * nptl/pthreadP.h: Likewise.
598 * nptl_db/structs.def: Likewise.
599 * sysdeps/arm/sysdep.h: Likewise.
600 * sysdeps/nptl/bits/libc-lock.h: Likewise.
601 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
602 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
603 * sysdeps/unix/alpha/sysdep.h: Likewise.
604 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
605 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
606 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
607 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
608 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
609 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
610 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
611 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
612 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
613 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
614 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
615 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
616 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
617 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
620 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
621 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
622 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
623 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
624 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
625 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
626 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
627 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
628 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
629 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
631 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
632 * nptl/pthreadP.h: Likewise.
633 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
634 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
635 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
636 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
637 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
638 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
639 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
640 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
641 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
642 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
643 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
644 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
649 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
650 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
651 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
652 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
653 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
654 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
655 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
656 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
658 * dlfcn/dladdr.c: Use IS_IN.
659 * dlfcn/dladdr1.c: Likewise.
660 * dlfcn/dlclose.c: Likewise.
661 * dlfcn/dlerror.c: Likewise.
662 * dlfcn/dlinfo.c: Likewise.
663 * dlfcn/dlmopen.c: Likewise.
664 * dlfcn/dlopen.c: Likewise.
665 * dlfcn/dlsym.c: Likewise.
666 * dlfcn/dlvsym.c: Likewise.
668 * include/ifaddrs.h: Use IS_IN.
669 * inet/check_pf.c: Likewise.
670 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
671 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
673 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
675 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
676 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
678 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
679 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
682 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
684 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
685 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
686 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
687 * include/libc-symbols.h (IS_IN_LIB): New macro.
688 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
689 * include/netdb.h: Likewise.
690 * include/stap-probe.h: Remove all uses of IN_LIB.
692 * Makeconfig (module-cppflags-real): Define MODULE_NAME
693 instead of IN_MODULE.
694 * include/libc-symbols.h (IN_MODULE): Define using
696 (PASTE_NAME, PASTE_NAME1): New macros.
697 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
699 (STAP_PROBE_ASM): Likewise.
701 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
703 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
704 __mach_init in dlopened libc.
706 2014-11-22 Mike Frysinger <vapier@gentoo.org>
708 * sysdeps/arm/preconfigure.ac: Delete EABI check.
709 * sysdeps/arm/preconfigure: Regenerate.
711 2014-11-21 Roland McGrath <roland@hack.frob.com>
713 * nptl/pthread_create.c (__pthread_create_2_1): Set
714 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
715 when copying values from IATTR into PD.
717 2014-11-21 Will Newton <will.newton@linaro.org>
718 Andrew Pinski <andrew.pinski@caviumnetworks.com>
720 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
721 Refactor inline-asm. Also add comment.
723 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
724 ElfW macro instead of hardcoded Elf64 types.
725 (la_aarch64_gnu_pltenter): Likewise.
726 * sysdeps/aarch64/dl-machine.h
727 (elf_machine_runtime_setup): Use ElfW(Addr).
729 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
730 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
731 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
732 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
733 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
734 (R_AARCH64_TLS_DTPMOD64): Rename to ..
735 (R_AARCH64_TLS_DTPMOD): This.
736 (R_AARCH64_TLS_DTPREL64): Rename to ...
737 (R_AARCH64_TLS_DTPREL): This.
738 (R_AARCH64_TLS_TPREL64): Rename to ...
739 (R_AARCH64_TLS_TPREL): This.
740 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
741 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
742 R_AARCH64_TLS_TPREL64.
743 (elf_machine_rela): Likewise.
745 2014-11-21 Torvald Riegel <triegel@redhat.com>
747 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
748 by setting it to 0. 64b atomics are not supported currently.
750 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
753 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
756 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
760 * resolv/res_query.c (__libc_res_nquerydomain): Retain
762 * posix/tst-getaddrinfo5.c: New.
763 * posix/Makefile (tests): Add it.
765 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
769 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
770 after parsing line but before break_if_match.
771 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
772 if there is a protocol mismatch.
774 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
776 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
777 because the potential race is on the user-supplied stream.
779 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
781 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
782 string literal if not passed a buffer.
783 * manual/job.texi (ctermid): Update reasoning, note deviation
784 from posix, suggest mtasurace when not passed a buffer, for
785 future non-preliminary safety notes.
787 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
789 * manual/users.texi (cuserid): Fix MT-Safety note for the case
790 of not passing it a buffer.
791 Reported by Peng Haitao.
793 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
795 * manual/Makefile ($(objpfx)stamp-summary): Require
796 check-safety.sh to pass.
797 * manual/check-safety.sh: Wish for verification that every
798 @deftypefn and @deftypefun is followed by a @safety remark.
800 2014-11-20 Roland McGrath <roland@hack.frob.com>
802 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
804 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
805 PTHREAD_CANCEL_ASYNCHRONOUS.
806 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
809 * nptl/default-sched.h: New file.
810 * sysdeps/unix/sysv/linux/default-sched.h: New file.
811 * nptl/pthread_create.c: Include it.
812 (__pthread_create_2_1): Use collect_default_sched instead of making
813 Linux syscalls here directly.
815 2014-11-20 Torvald Riegel <triegel@redhat.com>
817 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
818 __pthread_once): Use C11 atomics.
820 2014-11-20 Torvald Riegel <triegel@redhat.com>
822 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
824 2014-11-20 Torvald Riegel <triegel@redhat.com>
826 * include/atomic.h (__atomic_link_error, __atomic_check_size,
827 atomic_thread_fence_acquire, atomic_thread_fence_release,
828 atomic_thread_fence_seq_cst, atomic_load_relaxed,
829 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
830 atomic_compare_exchange_weak_relaxed,
831 atomic_compare_exchange_weak_acquire,
832 atomic_compare_exchange_weak_release,
833 atomic_exchange_acquire, atomic_exchange_release,
834 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
835 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
836 atomic_fetch_and_acquire,
837 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
839 2014-11-20 Torvald Riegel <triegel@redhat.com>
841 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
842 USE_ATOMIC_COMPILER_BUILTINS): Define.
843 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
844 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
845 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
846 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
847 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
848 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
849 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
850 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
851 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
852 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
853 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
854 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
855 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
856 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
857 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
858 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
859 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
860 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
861 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
862 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
863 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
864 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
865 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
866 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
867 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
868 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
869 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
870 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
871 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
872 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
873 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
874 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
875 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
876 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
877 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
878 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
879 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
880 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
881 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
882 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
884 2014-11-19 Roland McGrath <roland@hack.frob.com>
886 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
887 the sched_priority value here. It was already checked when the user
888 called pthread_attr_setschedparam.
890 * nptl/tst-bad-schedattr.c: New file.
891 * nptl/Makefile (tests): Add it.
893 2014-11-19 Carlos O'Donell <carlos@redhat.com>
894 Florian Weimer <fweimer@redhat.com>
895 Joseph Myers <joseph@codesourcery.com>
896 Adam Conrad <adconrad@0c3.net>
897 Andreas Schwab <schwab@suse.de>
898 Brooks <bmoses@google.com>
901 * wordexp-test.c (__dso_handle): Add prototype.
902 (__register_atfork): Likewise.
903 (__app_register_atfork): New function.
904 (registered_forks): New global.
905 (register_fork): New function.
906 (test_case): Add 3 new tests for WRDE_CMDSUB.
907 (main): Call __app_register_atfork.
908 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
909 fork count is non-zero fail the test.
910 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
912 (parse_dollars): Remove check for WRDE_NOCMD.
913 (parse_dquote): Likewise.
915 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
917 * Makeconfig (built-modules): List non-library modules to be
919 (module-cppflags): Include libc-modules.h for
920 everything except shlib-versions.v.i.
922 (before-compile): Add libc-modules.h.
923 ($(common-objpfx)libc-modules.h,
924 $(common-objpfx)libc-modules.stmp): New targets.
925 (common-generated): Add libc-modules.h and libc-modules.stmp.
926 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
927 * include/libc-symbols.h: Don't include libc-modules.h.
928 * include/libc-modules.h: Remove file.
929 * scripts/gen-libc-modules.awk: New script to generate
931 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
932 Depend on libc-modules.stmp.
934 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
936 * Makeconfig (in-module): Get value of libof set for the
938 (CPPFLAGS): Use $(in-module).
939 * Makerules: Don't suffix routine names for nonlib.
940 * include/libc-modules.h: New file.
941 * include/libc-symbols.h: Include libc-modules.h
942 (IS_IN): New macro to replace IS_IN_* macros.
943 * elf/Makefile: Set libof-* for each routine.
944 * elf/rtld-Rules: Likewise.
945 * extra-modules.mk: Likewise.
946 * iconv/Makefile: Likewise.
947 * iconvdata/Makefile: Likewise.
948 * locale/Makefile: Likewise.
949 * malloc/Makefile: Likewise.
950 * nss/Makefile: Likewise.
951 * sysdeps/gnu/Makefile: Likewise.
952 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
953 * sysdeps/unix/sysv/linux/Makefile: Likewise.
954 * sysdeps/s390/s390-64/Makefile: Likewise.
955 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
956 CPPFLAGS for nscd instead of nonlib.
958 2014-11-18 Roland McGrath <roland@hack.frob.com>
960 * nptl/createthread.c: New file.
962 * nptl/createthread.c: Moved ...
963 * sysdeps/unix/sysv/linux/createthread.c: ... here.
965 * nptl/createthread.c: Add proper top-line comment.
966 (do_clone): Folded into ...
967 (create_thread): ... here. Take new arguments STOPPED_START and
968 THREAD_RAN. Always set PD->stopped_start to something here. Don't
969 increment __nptl_threads, do event-reporting logic, do
970 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
971 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
972 resource cleanup if sched_setaffinity or sched_setscheduler fails,
974 * nptl/pthread_create.c: Forward-declare create_thread before
975 including createthread.c.
976 (start_thread): Use new macro START_THREAD_DEFN to replace defining
977 declaration, and new macro START_THREAD_SELF to replace argument.
978 Remove return statement.
979 (report_thread_creation): New function.
980 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
981 synchronization logic, and __nptl_nthreads increment here, around
982 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
983 PD->parent_cancelhandling here, before create_thread. When
984 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
985 __deallocate_stack, and ENOMEM translation here.
987 2014-11-18 Joseph Myers <joseph@codesourcery.com>
990 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
991 (mptwo): Rename to __mptwo.
992 (__inv): Use __mptwo instead of mptwo.
993 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
994 (mptwo): Rename to __mptwo.
995 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
996 of mpone and __mptwo instead of mptwo.
997 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
999 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1000 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
1001 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
1002 of mpone and __mptwo instead of mptwo.
1003 (__mpranred): Use __mpone instead of mpone.
1004 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
1006 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1007 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1008 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1009 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1010 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1011 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1012 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1013 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1014 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1015 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1016 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1017 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1018 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1019 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1020 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1021 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1022 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1023 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1024 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1026 2014-11-18 Tom de Vries <tom@codesoucery.com>
1028 * manual/signal.texi (Primitives Interrupted by Signals): In section,
1029 replace BSD Handler xref with BSD Signal Handling.
1031 2014-11-17 Richard Henderson <rth@redhat.com>
1033 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
1034 (_FP_PACK_RAW_2): Remove.
1035 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
1036 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
1037 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
1038 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
1039 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
1040 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
1041 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
1042 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
1043 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
1044 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
1045 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
1046 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
1047 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
1048 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
1049 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
1050 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
1052 2014-11-14 Roland McGrath <roland@hack.frob.com>
1054 * signal/signal.h [__USE_MISC]
1055 (struct sigvec): Remove type.
1056 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
1057 (sigvec): Remove declaration.
1058 * sysdeps/posix/sigvec.c: Moved ...
1059 * signal/sigvec.c: ... here, replacing old file.
1060 (struct sigvec): New type, copied from old signal.h definition.
1061 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
1062 (__sigvec): Convert definition to prototype.
1063 (sigvec): Replace weak_alias with compat_symbol.
1064 * signal/Versions (libc: GLIBC_2.21): New version set.
1065 * include/signal.h: Remove __sigvec declaration.
1066 * sysdeps/unix/bsd/sigvec.c: Remove file.
1067 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1068 * manual/signal.texi (BSD Handler): Remove subsection.
1069 Move siginterrupt up to ...
1070 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
1071 (Blocking in BSD): Fold subsection into its parent.
1072 * NEWS: Mention sigvec removal.
1074 2014-11-14 Joseph Myers <joseph@codesourcery.com>
1076 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1077 (DLA_FMS): Make definition conditional only on [__FMA4__].
1078 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1081 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1082 Make definition conditional only on [PROF].
1083 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1085 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1086 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1088 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1090 * include/signal.h (__sigpause): Move declaration above call to
1092 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1094 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1095 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1097 2014-11-14 David S. Miller <davem@davemloft.net>
1099 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1100 Define before including <string/memcpy.c> and <string/mempcpy.c>.
1102 2014-11-14 Joseph Myers <joseph@codesourcery.com>
1104 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1105 * configure: Regenerated.
1106 * manual/install.texi (Tools for Compilation): Document a
1107 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1108 compiler verified to work.
1109 * INSTALL: Regenerated.
1111 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1112 redeclare with asm name.
1113 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1114 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1115 including <string.h>.
1116 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1117 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1118 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1119 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1120 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1121 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1122 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1124 2014-11-13 Joseph Myers <joseph@codesourcery.com>
1126 * stdlib/strtol.c (__strtol): Use prototype definition.
1129 * stdlib/strtol.c (SYM__): New macro.
1131 (__strtol): Likewise.
1132 (strtol): Rename to __strtol and define as weak alias of
1133 __strtol. Use libc_hidden_weak.
1135 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1137 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
1138 Use numbered labels in inline assembly.
1140 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1142 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
1143 Add setjmp LIBC_PROBE.
1144 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
1146 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
1147 Add longjmp, longjmp_target LIBC_PROBE.
1148 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
1151 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1153 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1154 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
1155 to get rid of unused variable warning.
1157 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1159 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
1160 Check for unwind_backtrace == NULL only in SHARED case.
1161 (__backchain_backtrace): Compile only in SHARED case.
1162 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
1164 (__backchain_backtrace): Declare as static.
1166 2014-11-12 Roland McGrath <roland@hack.frob.com>
1168 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
1169 (__libc_multiple_threads_ptr): Variable moved ...
1170 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
1172 2014-11-12 Joseph Myers <joseph@codesourcery.com>
1174 * conform/GlibcConform.pm: New file.
1175 * conform/conformtest.pl: Use GlibcConform module.
1176 * conform/linknamespace.pl: New file.
1177 * conform/list-header-symbols.pl: Likewise.
1178 * conform/Makefile (linknamespace-symlists-base): New variable.
1179 (linknamespace-symlists-tests): Likewise.
1180 (linknamespace-header-base): Likewise.
1181 (linknamespace-header-tests): Likewise.
1182 (tests-special): Add new tests.
1183 ($(linknamespace-symlists-tests)): New rule.
1184 (linknamespace-libs): New variable.
1185 ($(objpfx)symlist-stdlibs): New rule.
1186 ($(linknamespace-header-tests)): Likewise.
1187 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
1188 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
1189 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
1190 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
1191 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
1192 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
1193 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
1194 (test-xfail-ISO/math.h/linknamespace): Likewise.
1195 (test-xfail-ISO/signal.h/linknamespace): Likewise.
1196 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
1197 (test-xfail-ISO/time.h/linknamespace): Likewise.
1198 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1199 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
1200 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1201 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1202 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1203 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1204 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1205 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1206 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1207 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1208 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1209 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1210 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1211 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
1212 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
1213 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1214 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
1215 (test-xfail-XPG3/search.h/linknamespace): Likewise.
1216 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
1217 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1218 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
1219 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1220 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1221 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
1222 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1223 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1224 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
1225 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
1226 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1227 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
1228 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1229 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1230 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1231 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1232 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
1233 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
1234 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
1235 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
1236 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1237 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
1238 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1239 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
1240 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1241 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1242 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1243 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
1244 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
1245 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1246 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1247 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
1248 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1249 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1250 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
1251 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1252 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1253 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1254 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1255 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1256 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1257 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1258 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1259 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1260 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
1261 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1262 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1263 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1264 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
1265 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1266 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1267 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
1268 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1269 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1270 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1271 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1272 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1273 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1274 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
1275 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
1276 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1277 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
1278 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1279 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
1280 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1281 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1282 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1283 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
1284 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1285 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1286 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1287 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
1288 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
1289 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
1290 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1291 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1292 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1293 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1294 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
1295 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
1296 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1297 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1298 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1299 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1300 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1301 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1302 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1303 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1304 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1305 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1306 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
1307 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1308 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1309 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
1310 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1311 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1312 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1313 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1314 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1315 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1316 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1317 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1318 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1319 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1320 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1321 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1322 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1323 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1324 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
1325 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1326 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1327 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1328 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1329 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1330 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
1331 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1332 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1333 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1334 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1335 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1336 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1337 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1338 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1339 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1340 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1341 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1342 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1343 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1344 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
1345 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1346 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1347 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1350 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
1354 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
1355 (memmem): Rename to __memmem and define as weak alias of
1356 __memmem. Use libc_hidden_weak.
1357 (__memmem): Use libc_hidden_def.
1358 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
1359 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
1363 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
1364 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
1365 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
1366 and define as weak alias of __fgets_unlocked. Use
1368 (__fgets_unlocked): Use libc_hidden_def.
1369 * include/stdio.h (__fgets_unlocked): Declare. Use
1371 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
1372 __fgets_unlocked instead of fgets_unlocked.
1373 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
1374 (GET_NPROCS_CONF_PARSER): Likewise.
1375 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
1376 (GET_NPROCS_CONF_PARSER): Likewise.
1379 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
1380 weak alias of __wmemset. Use libc_hidden_weak.
1381 (__wmemset): Use libc_hidden_def.
1382 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
1383 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
1387 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
1388 with asm name __mempcpy.
1389 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
1392 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
1393 and define as weak alias of __rawmemchr.
1394 (__rawmemchr): Do not define as strong alias of rawmemchr.
1397 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
1399 (qsort): Call __qsort_r instead of qsort_r.
1400 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
1401 (__qsort_r): Declare. Call libc_hidden_proto.
1402 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
1404 * nscd/gai.c (__qsort_r): Define to qsort_r.
1405 * posix/tst-rfc3484.c (__qsort_r): Likewise.
1406 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
1407 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
1410 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
1411 define as weak alias of __malloc_info.
1414 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
1415 as weak alias of __rewinddir. Don't use libc_hidden_def.
1416 (__rewinddir): Use libc_hidden_def.
1417 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
1418 as weak alias of __rewinddir. Don't use libc_hidden_def.
1419 (__rewinddir): Use libc_hidden_def.
1420 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
1421 weak alias of __rewinddir. Don't use libc_hidden_def.
1422 (__rewinddir): Use libc_hidden_def.
1423 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
1424 (__rewinddir): Use libc_hidden_proto.
1425 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
1427 (__getcwd): Use __rewinddir instead of rewinddir.
1430 * libio/fileno.c (fileno): Rename to __fileno and define as weak
1431 alias of __fileno. Use libc_hidden_weak.
1432 (__fileno): Use libc_hidden_def.
1433 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
1434 * libio/ftello.c (ftello): Rename to __ftello and define as weak
1436 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
1438 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
1439 (__fread_unlocked): Define as strong alias of _IO_fread. Use
1441 (fread_unlocked): Don't use libc_hidden_ver.
1442 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
1443 and define as weak alias of __fread_unlocked. Don't use
1445 (__fread_unlocked): Use libc_hidden_def.
1446 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
1447 (ftello): Don't use libc_hidden_proto.
1448 (__ftello): Declare. Use libc_hidden_proto.
1449 (fread_unlocked): Don't use libc_hidden_proto.
1450 (__fread_unlocked): Declare. Use libc_hidden_proto.
1451 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
1452 and __ftello instead of fileno, fread_unlocked and ftello.
1454 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1456 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
1458 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1460 (_dl_start_user): Likewise.
1461 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
1463 2014-11-12 Carlos O'Donell <carlos@redhat.com>
1464 Siddhesh Poyarekar <siddhesh@redhat.com>
1466 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
1467 Move argv and envp down instead of moving argc up.
1468 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
1470 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
1473 * test-skeleton.c (main): Return successful if one of
1474 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
1475 * string/tst-strcoll-overflow.c: Define expected status.
1477 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
1480 * locale/iso-639.def: Define Bhili and Tulu language codes.
1482 2014-11-11 Alan Hayward <alan.hayward@arm.com>
1484 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
1486 2014-11-10 Renlin Li <Renlin.Li@arm.com>
1489 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
1491 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1493 * configure.ac: Updated check of minimal required version to
1495 * manual/install.texi (Tools for Compilation): Updated version
1497 * configure: Regenerated.
1498 * INSTALL: Likewise.
1500 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
1502 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
1505 2014-11-07 Joseph Myers <joseph@codesourcery.com>
1507 * include/sys/wait.h (__libc_waitpid): Remove declaration.
1508 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
1509 (__waitpid): Don't define as alias. Use libc_hidden_def not
1511 (waitpid): Define as alias of __waitpid.
1512 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
1514 (__waitpid): Don't define as alias. Use libc_hidden_def not
1516 (waitpid): Define as alias of __waitpid.
1517 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
1518 __libc_waitpid alias.
1519 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
1520 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
1522 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
1523 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
1524 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
1526 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
1528 (__waitpid): Don't define as alias. Use libc_hidden_def not
1530 (waitpid): Define as alias of __waitpid.
1532 2014-11-06 Carlos O'Donell <carlos@redhat.com>
1534 * manual/llio.texi: Add comment that write safety has been
1537 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
1538 (localplt-build-dso): Add elf/ld.so.
1539 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
1540 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
1542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
1543 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
1544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
1546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1548 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
1549 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
1550 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
1551 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
1552 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1553 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
1554 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
1555 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
1556 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1557 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
1558 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1560 2014-11-05 Joseph Myers <joseph@codesourcery.com>
1563 * include/libc-symbols.h (INTUSE): Remove macro.
1565 (INTVARDEF): Likewise.
1566 (_INTVARDEF): Likewise.
1567 (INTDEF2): Likewise.
1568 (INTVARDEF2): Likewise.
1569 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
1570 rtld_hidden_def instead of INTVARDEF.
1571 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
1572 (_dl_starting_up_internal): Remove declaration.
1573 (_dl_starting_up): Use rtld_hidden_proto.
1574 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
1576 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
1577 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
1579 * elf/dl-writev.h (_dl_writev): Likewise.
1580 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
1581 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
1582 _dl_starting_up_internal.
1584 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1586 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1589 2014-11-05 Will Newton <will.newton@linaro.org>
1591 * benchtests/Makefile: (bench-malloc): Add malloc thread
1592 scalability benchmark.
1593 * benchtests/bench-malloc-threads.c: New file.
1595 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
1597 * sysdeps/aarch64/strchrnul.S: New file.
1599 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1601 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
1603 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1605 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1607 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1609 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1611 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1614 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
1616 * catgets/test-gencat.c: Use test-skeleton.c.
1617 * catgets/tst-catgets.c: Likewise.
1618 * csu/tst-empty.c: Likewise.
1619 * elf/tst-audit2.c: Likewise.
1620 * elf/tst-global1.c: Likewise.
1621 * elf/tst-pathopt.c: Likewise.
1622 * elf/tst-piemod1.c: Likewise.
1623 * elf/tst-tls10.c: Likewise.
1624 * elf/tst-tls11.c: Likewise.
1625 * elf/tst-tls12.c: Likewise.
1626 * gnulib/tst-gcc.c: Likewise.
1627 * iconvdata/tst-e2big.c: Likewise.
1628 * iconvdata/tst-loading.c: Likewise.
1629 * iconv/tst-iconv1.c: Likewise.
1630 * iconv/tst-iconv2.c: Likewise.
1631 * inet/test-inet6_opt.c: Likewise.
1632 * inet/tst-gethnm.c: Likewise.
1633 * inet/tst-network.c: Likewise.
1634 * inet/tst-ntoa.c: Likewise.
1635 * intl/tst-codeset.c: Likewise.
1636 * intl/tst-gettext2.c: Likewise.
1637 * intl/tst-gettext3.c: Likewise.
1638 * intl/tst-ngettext.c: Likewise.
1639 * intl/tst-translit.c: Likewise.
1640 * io/test-stat.c: Likewise.
1641 * libio/test-fmemopen.c: Likewise.
1642 * libio/tst-freopen.c: Likewise.
1643 * libio/tst-sscanf.c: Likewise.
1644 * libio/tst-ungetwc1.c: Likewise.
1645 * libio/tst-ungetwc2.c: Likewise.
1646 * libio/tst-widetext.c: Likewise.
1647 * localedata/tst-ctype.c: Likewise.
1648 * localedata/tst-digits.c: Likewise.
1649 * localedata/tst-leaks.c: Likewise.
1650 * localedata/tst-mbswcs1.c: Likewise.
1651 * localedata/tst-mbswcs2.c: Likewise.
1652 * localedata/tst-mbswcs3.c: Likewise.
1653 * localedata/tst-mbswcs4.c: Likewise.
1654 * localedata/tst-mbswcs5.c: Likewise.
1655 * localedata/tst-setlocale.c: Likewise.
1656 * localedata/tst-trans.c: Likewise.
1657 * localedata/tst-wctype.c: Likewise.
1658 * localedata/tst-xlocale1.c: Likewise.
1659 * login/tst-grantpt.c: Likewise.
1660 * malloc/tst-calloc.c: Likewise.
1661 * malloc/tst-malloc.c: Likewise.
1662 * malloc/tst-mallocstate.c: Likewise.
1663 * malloc/tst-mcheck.c: Likewise.
1664 * malloc/tst-mtrace.c: Likewise.
1665 * malloc/tst-obstack.c: Likewise.
1666 * math/atest-exp2.c: Likewise.
1667 * math/atest-exp.c: Likewise.
1668 * math/atest-sincos.c: Likewise.
1669 * math/test-matherr.c: Likewise.
1670 * math/test-misc.c: Likewise.
1671 * math/test-powl.c: Likewise.
1672 * math/tst-definitions.c: Likewise.
1673 * misc/tst-dirname.c: Likewise.
1674 * misc/tst-efgcvt.c: Likewise.
1675 * misc/tst-fdset.c: Likewise.
1676 * misc/tst-hsearch.c: Likewise.
1677 * misc/tst-mntent2.c: Likewise.
1678 * nptl/tst-sem7.c: Likewise.
1679 * nptl/tst-sem8.c: Likewise.
1680 * nptl/tst-sem9.c: Likewise.
1681 * nss/test-netdb.c: Likewise.
1682 * posix/tst-fnmatch.c: Likewise.
1683 * posix/tst-getlogin.c: Likewise.
1684 * posix/tst-gnuglob.c: Likewise.
1685 * posix/tst-mmap.c: Likewise.
1686 * pwd/tst-getpw.c: Likewise.
1687 * resolv/tst-inet_ntop.c: Likewise.
1688 * rt/tst-timer.c: Likewise.
1689 * stdio-common/test-fseek.c: Likewise.
1690 * stdio-common/test-popen.c: Likewise.
1691 * stdio-common/test-vfprintf.c: Likewise.
1692 * stdio-common/tst-cookie.c: Likewise.
1693 * stdio-common/tst-fileno.c: Likewise.
1694 * stdio-common/tst-gets.c: Likewise.
1695 * stdio-common/tst-obprintf.c: Likewise.
1696 * stdio-common/tst-perror.c: Likewise.
1697 * stdio-common/tst-sprintf2.c: Likewise.
1698 * stdio-common/tst-sprintf3.c: Likewise.
1699 * stdio-common/tst-sprintf.c: Likewise.
1700 * stdio-common/tst-swprintf.c: Likewise.
1701 * stdio-common/tst-tmpnam.c: Likewise.
1702 * stdio-common/tst-unbputc.c: Likewise.
1703 * stdio-common/tst-wc-printf.c: Likewise.
1704 * stdlib/tst-environ.c: Likewise.
1705 * stdlib/tst-fmtmsg.c: Likewise.
1706 * stdlib/tst-limits.c: Likewise.
1707 * stdlib/tst-rand48-2.c: Likewise.
1708 * stdlib/tst-rand48.c: Likewise.
1709 * stdlib/tst-random2.c: Likewise.
1710 * stdlib/tst-random.c: Likewise.
1711 * stdlib/tst-strtol.c: Likewise.
1712 * stdlib/tst-strtoll.c: Likewise.
1713 * stdlib/tst-tls-atexit.c: Likewise.
1714 * stdlib/tst-xpg-basename.c: Likewise.
1715 * string/test-ffs.c: Likewise.
1716 * string/tst-bswap.c: Likewise.
1717 * string/tst-inlcall.c: Likewise.
1718 * string/tst-strtok.c: Likewise.
1719 * string/tst-strxfrm.c: Likewise.
1720 * sysdeps/x86_64/tst-audit10.c: Likewise.
1721 * sysdeps/x86_64/tst-audit3.c: Likewise.
1722 * sysdeps/x86_64/tst-audit4.c: Likewise.
1723 * sysdeps/x86_64/tst-audit5.c: Likewise.
1724 * time/tst-ftime_l.c: Likewise.
1725 * time/tst-getdate.c: Likewise.
1726 * time/tst-mktime3.c: Likewise.
1727 * time/tst-mktime.c: Likewise.
1728 * time/tst-posixtz.c: Likewise.
1729 * time/tst-strptime2.c: Likewise.
1730 * time/tst-strptime3.c: Likewise.
1731 * wcsmbs/tst-btowc.c: Likewise.
1732 * wcsmbs/tst-mbrtowc.c: Likewise.
1733 * wcsmbs/tst-mbsrtowcs.c: Likewise.
1734 * wcsmbs/tst-wchar-h.c: Likewise.
1735 * wcsmbs/tst-wcpncpy.c: Likewise.
1736 * wcsmbs/tst-wcrtomb.c: Likewise.
1737 * wcsmbs/tst-wcsnlen.c: Likewise.
1738 * wcsmbs/tst-wcstof.c: Likewise.
1740 2014-11-04 Joseph Myers <joseph@codesourcery.com>
1743 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
1745 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
1747 (_dl_mcount): Use rtld_hidden_proto.
1748 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
1750 * elf/rtld.c (_rtld_global_ro): Likewise.
1753 * elf/dl-init.c (_dl_init): Don't use INTDEF.
1754 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
1755 of _dl_init_internal.
1756 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
1757 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
1758 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
1759 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
1760 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
1761 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
1762 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
1763 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
1764 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
1765 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
1766 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
1767 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
1768 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1769 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1770 * sysdeps/tile/dl-start.S (_start): Likewise.
1771 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1772 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
1775 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
1776 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
1777 (rtld_progname): Make macro definition unconditional.
1778 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
1780 (dlmopen_doit): Do not use INTUSE with _dl_argv.
1781 (dl_main): Likewise.
1782 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1783 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
1784 instead of _dl_argv_internal.
1785 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1786 __GI__dl_argv instead of INTUSE(_dl_argv).
1787 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
1788 __GI__dl_argv instead of _dl_argv_internal.
1790 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
1791 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
1793 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
1794 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
1796 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
1797 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
1799 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
1800 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
1802 2014-11-04 Andreas Schwab <schwab@suse.de>
1804 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
1806 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1808 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
1809 mtvsrd instruction in binary form.
1811 2014-11-03 Andreas Schwab <schwab@suse.de>
1814 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
1815 for less than MB_LEN_MAX use a local buffer of that size.
1816 * libio/tst-fputws.c: New file.
1817 * libio/Makefile (tests): Add tst-fputws.
1819 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
1821 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
1822 the size of the fpu_fr.fpu_dregs[] array.
1824 2014-11-01 Joseph Myers <joseph@codesourcery.com>
1826 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
1827 (__nanosleep): Do not define as alias.
1828 (nanosleep): Define as alias of __nanosleep.
1829 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
1830 __libc_nanosleep name.
1832 2014-10-31 Joseph Myers <joseph@codesourcery.com>
1834 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
1835 install.texi in comment.
1837 2014-10-31 Torvald Riegel <triegel@redhat.com>
1839 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
1840 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
1841 ... add here and use lwsync or sync ...
1842 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
1843 ... and add here using lwsync.
1845 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
1847 * elf/dl-machine-reject-phdr.h: New file.
1848 * elf/dl-load.c: #include that.
1849 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
1850 if that returned true.
1852 2014-10-31 Roland McGrath <roland@hack.frob.com>
1855 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
1856 gen-as-const-headers chunk. Add a big scare comment after the last
1857 safe place to touch before-compile.
1859 2014-10-31 Joseph Myers <joseph@codesourcery.com>
1861 * manual/install.texi (Tools for Compilation): Update autoconf
1862 version requirements.
1863 * INSTALL: Regenerated.
1865 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
1866 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
1867 (__libc_pselect): Likewise.
1870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
1871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1875 2014-10-31 Torvald Riegel <triegel@redhat.com>
1877 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
1878 correct barrier instruction.
1879 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
1881 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
1884 2014-10-30 Roland McGrath <roland@hack.frob.com>
1886 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
1887 after defining inlines. Instead, just use parens to defeat macro
1888 expansion of __isctype in its declaration.
1890 2014-10-30 Joseph Myers <joseph@codesourcery.com>
1892 * include/sys/uio.h (__libc_readv): Remove declaration.
1893 (__libc_writev): Likewise.
1894 * misc/readv.c (__libc_readv): Rename to __readv.
1895 (__readv): Do not define as alias.
1896 (readv): Define as alias of __readv.
1897 * misc/writev.c (__libc_writev): Rename to __writev.
1898 (__writev): Do not define as alias.
1899 (writev): Define as alias of __writev.
1900 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
1901 (__readv): Do not define as alias.
1902 (readv): Define unconditionally as alias of __readv.
1903 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
1904 (__writev): Do not define as alias.
1905 (writev): Define unconditionally as alias of __writev.
1906 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
1908 (writev): Do not define __libc_writev name.
1910 2014-10-30 Roland McGrath <roland@hack.frob.com>
1912 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
1913 (convert_charseq): New function, broken out of ...
1914 (use_from_charmap): ... here. Call it.
1915 (use_to_charmap): Use convert_charseq and free instead of duplicating
1916 its code with a variable-length stack struct.
1918 2014-10-30 Joseph Myers <joseph@codesourcery.com>
1920 * include/fcntl.h (__libc_creat): Remove declaration.
1921 * io/creat.c (__libc_creat): Rename to creat.
1922 (creat): Do not define as alias.
1923 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
1924 of creat instead of __libc_creat.
1925 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
1927 (creat): Do not define as alias.
1928 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
1930 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
1932 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
1935 2014-10-29 Carlos O'Donell <carlos@redhat.com>
1937 * manual/llio.texi: Add comments discussing why write() may be
1938 considered MT-unsafe on Linux.
1940 2014-10-28 Carlos O'Donell <carlos@redhat.com>
1942 * dl-load.c (local_strdup): Remove.
1943 (expand_dynamic_string_token): Use __strdup.
1944 (decompose_rpath): Likewise.
1945 (_dl_map_object): Likewise.
1947 2014-10-28 Joseph Myers <joseph@codesourcery.com>
1950 * sysdeps/generic/unwind-dw2-fde.c
1951 (__register_frame_info_bases_internal): Do not declare.
1952 (__register_frame_info_table_bases_internal): Likewise.
1953 (__deregister_frame_info_bases_internal): Likewise.
1954 (__register_frame_info_bases): Declare and use hidden_proto before
1955 definition. Use hidden_def instead of INTDEF.
1956 (__register_frame_info_table_bases): Likewise.
1957 (__deregister_frame_info_bases): Likewise.
1958 (__register_frame_info): Do not use INTUSE.
1959 (__register_frame): Likewise.
1960 (__register_frame_info_table): Likewise.
1961 (__register_frame_table): Likewise.
1962 (__deregister_frame_info): Likewise.
1963 (__deregister_frame): Likewise.
1965 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
1967 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1968 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1970 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1972 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1975 2014-10-27 Joseph Myers <joseph@codesourcery.com>
1978 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
1979 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
1980 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1981 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1982 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
1983 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
1984 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
1985 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
1986 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
1987 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
1988 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
1989 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
1990 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
1992 (setfsuid): Likewise.
1993 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
1994 (setfsuid): Likewise.
1995 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
1996 (setfsuid): Likewise.
1997 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
1999 (setfsuid): Likewise.
2000 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
2001 (setfsuid): Likewise.
2002 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
2004 (setfsuid): Likewise.
2006 2014-10-27 Andreas Schwab <schwab@suse.de>
2009 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
2010 check for Slow_SSE4_2 feature bit.
2011 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
2012 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2013 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
2014 Likewise. Fix check for Fast_Unaligned_Load feature bit.
2016 2014-10-24 Roland McGrath <roland@hack.frob.com>
2018 * configure.ac: Validate compiler version with a empirical test of
2019 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
2021 * configure: Regenerated.
2023 * inet/htons.c (htons): Prototypify.
2024 * inet/htonl.c (htonl): Likewise.
2026 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2028 * string/strncat.c (strncat): Improve performance by using strlen.
2030 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2032 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
2034 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2036 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
2037 Call libc_fetestexcept_aarch64.
2039 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2041 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
2042 Call libc_feholdexcept_aarch64.
2044 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2046 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
2047 Call get_rounding_mode.
2049 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2051 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2054 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2056 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
2059 2014-10-24 Joseph Myers <joseph@codesourcery.com>
2062 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
2063 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2064 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2065 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2066 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2067 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2068 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2069 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2070 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2071 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2072 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2073 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2074 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2075 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2076 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2077 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2078 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2079 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2080 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2081 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2082 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2083 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2084 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2085 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2086 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2087 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2088 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2089 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2090 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2091 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2092 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2093 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2094 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2095 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2096 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2097 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2098 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2099 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2100 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2101 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2102 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2104 (geteuid): Likewise.
2107 (getresgid): Likewise.
2108 (getresuid): Likewise.
2109 (getgroups): Likewise.
2110 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2111 (geteuid): Likewise.
2114 (getresgid): Likewise.
2115 (getresuid): Likewise.
2116 (getgroups): Likewise.
2117 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2118 (geteuid): Likewise.
2121 (getresgid): Likewise.
2122 (getresuid): Likewise.
2123 (getgroups): Likewise.
2124 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2126 (geteuid): Likewise.
2129 (getresgid): Likewise.
2130 (getresuid): Likewise.
2131 (getgroups): Likewise.
2132 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
2133 (geteuid): Likewise.
2136 (getresgid): Likewise.
2137 (getresuid): Likewise.
2138 (getgroups): Likewise.
2139 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
2141 (geteuid): Likewise.
2144 (getgroups): Likewise.
2147 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
2148 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2149 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2150 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2151 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
2152 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2153 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
2154 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
2155 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
2156 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
2157 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
2158 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
2159 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
2161 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
2164 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
2168 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
2171 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
2176 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2178 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
2181 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2183 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2186 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2188 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2189 Remove unused include.
2191 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2193 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
2194 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
2195 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
2196 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
2198 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
2199 Helge Deller <deller@gmx.de>
2202 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
2203 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
2204 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
2206 2014-10-23 Joseph Myers <joseph@codesourcery.com>
2209 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
2210 Remove macro definition.
2211 (__ashrdi3_v_glibc20): Likewise.
2212 (__lshrdi3_v_glibc20): Likewise.
2213 (__cmpdi2_v_glibc20): Likewise.
2214 (__ucmpdi2_v_glibc20): Likewise.
2215 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
2216 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2217 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2218 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2219 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2220 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
2222 2014-10-22 Roland McGrath <roland@hack.frob.com>
2224 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
2225 old GNU extension [0] syntax.
2226 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
2227 alloca rather than an array member with variable length.
2228 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2229 * nscd/nscd.c (invalidate_db): New function, broken out of ...
2230 (parse_opt): ... here. Likewise use alloca there.
2231 Validate the -i argument before checking for rootness.
2232 (send_shutdown): New function, broken out of ...
2233 (parse_opt): ... here.
2235 2014-10-22 Roland McGrath <roland@hack.frob.com>
2237 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
2238 macro to get at the _rt_local_ro field.
2239 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
2240 ([PIC] case) or _dl_hwcap ([!PIC] case).
2241 * sysdeps/arm/setjmp.S: Likewise.
2243 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
2244 * sysdeps/arm/configure.ac: New check to define it.
2245 * sysdeps/arm/configure: Regenerated.
2246 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
2247 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
2248 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
2249 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
2250 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
2251 Use move/movt pair instead of a load.
2252 (LDST_GLOBAL): Macro removed.
2253 (LDR_GLOBAL): New macro replaces it.
2254 (LDR_HIDDEN): New macro.
2255 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
2256 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
2258 * setjmp/tst-setjmp-static.c: New file.
2259 * setjmp/Makefile (tests): Add it.
2260 (tests-static): New variable.
2262 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
2265 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
2267 2014-10-21 Joseph Myers <joseph@codesourcery.com>
2270 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
2272 2014-10-21 Roland McGrath <roland@hack.frob.com>
2274 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
2276 2014-10-20 Roland McGrath <roland@hack.frob.com>
2278 * io/fts.c (dirent_not_directory): New function.
2279 (fts_build): Call it.
2281 2014-10-20 Roland McGrath <roland@hack.frob.com>
2283 * nptl/version.c (__nptl_main): Use normal __write rather than
2285 (banner): Update copyright years.
2287 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
2289 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2290 * nptl/pthread_cond_timedwait.c: Likewise.
2291 * nptl/pthread_mutex_timedlock.c: Likewise.
2292 * nptl/sem_timedwait.c: Likewise.
2294 * sysdeps/nptl/bits/libc-lock.h
2295 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2296 (__libc_lock_init_recursive): Return void, not 0.
2297 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
2298 (__libc_rwlock_init): Likewise.
2299 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
2301 2014-10-20 Torvald Riegel <triegel@redhat.com>
2304 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
2305 (__pthread_once_slow): ... here.
2306 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
2307 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
2309 2014-10-20 Torvald Riegel <triegel@redhat.com>
2312 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
2313 __PTHREAD_ONCE_FORK_GEN_INCR): New.
2314 * sysdeps/nptl/fork.c (__libc_fork): Use them.
2315 * nptl/pthread_once.c (__pthread_once): Likewise.
2318 2014-10-20 Joseph Myers <joseph@codesourcery.com>
2321 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
2323 (writev): Use __libc_writev as strong name.
2324 * sysdeps/unix/sysv/linux/readv.c: Remove file.
2325 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2327 2014-10-17 Roland McGrath <roland@hack.frob.com>
2329 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
2331 * sysdeps/i386/nptl/tls.h
2332 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
2333 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
2335 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
2336 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
2337 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
2338 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
2339 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
2340 Call CHECK_THREAD_SYSINFO instead of doing an assert.
2342 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2343 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
2345 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
2347 (__pthread_mutex_init): ... here. Call it.
2348 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
2349 Conditionalize PI cases on [__NR_futex].
2350 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2351 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
2352 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2354 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
2355 conditional on [SIGSETXID].
2356 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
2357 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
2358 is defined. Likewise for SIGSETXID.
2359 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
2360 Conditionalize definitions on [SIGSETXID].
2361 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
2362 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
2363 unblocking on [SIGCANCEL].
2365 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
2366 [__NR_set_robust_list].
2368 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2370 * string/strcoll_l.c (get_next_seq): Fix up formatting.
2371 (do_compare): Likewise.
2373 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
2376 * string/strcoll_l.c: Don't include stdio.h.
2377 (coll_seq): Remove members idxarr and rulearr.
2378 (get_next_seq_cached): Remove function.
2379 (get_next_seq): Likewise.
2380 (get_next_seq_nocache): Rename to get_next_seq.
2381 (do_compare): Remove function.
2382 (do_compare_nocache): Rename to do_compare.
2383 (STRCOLL): Remove weight and rules cache.
2385 2014-10-16 Roland McGrath <roland@hack.frob.com>
2387 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
2388 * sysdeps/arm/sfp-machine.h: ... to here.
2389 * sysdeps/arm/Implies: Remove arm/soft-fp.
2391 2014-10-14 Joseph Myers <joseph@codesourcery.com>
2393 * conform/data/sys/utsname.h-data (*_t): Allow.
2394 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
2395 [POSIX] (WEXITED): Do not expect constant.
2396 [POSIX] (WSTOPPED): Likewise.
2397 [POSIX] (WNOHANG): Likewise.
2398 [POSIX] (WNOWAIT): Likewise.
2399 [POSIX] (siginfo_t): Do not expect type or elements.
2400 [POSIX] (pid_t): Do not expect type.
2401 [POSIX] (signal.h): Do not allow header.
2402 [POSIX] (sys/resource.h): Likewise.
2403 [POSIX] (si_*): Do not allow pattern.
2404 [POSIX] (W*): Likewise.
2405 [POSIX] (P_*): Likewise.
2406 [POSIX] (BUS_*): Likewise.
2407 [POSIX] (CLD_*): Likewise.
2408 [POSIX] (FPE_*): Likewise.
2409 [POSIX] (ILL_*): Likewise.
2410 [POSIX] (POLL_*): Likewise.
2411 [POSIX] (SEGV_*): Likewise.
2412 [POSIX] (SI_*): Likewise.
2413 [POSIX] (TRAP_*): Likewise.
2414 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
2417 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2420 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
2421 infinite loop when __recvmsg returns 0.
2423 2014-10-10 Joseph Myers <joseph@codesourcery.com>
2425 * CANCEL-FCT-WAIVE: Remove file.
2426 * CANCEL-FILE-WAIVE: Likewise.
2429 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
2430 instead of INTVARDEF.
2431 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2432 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
2433 rtld_hidden_data_def instead of INTVARDEF.
2434 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2435 * elf/dl-deps.c (expand_dst): Likewise.
2436 * elf/dl-load.c (_dl_dst_count): Likewise.
2437 (_dl_dst_substitute): Likewise.
2438 (decompose_rpath): Likewise.
2439 (_dl_init_paths): Likewise.
2440 (open_path): Likewise.
2441 (_dl_map_object): Likewise.
2442 * elf/rtld.c (dl_main): Likewise.
2443 (process_dl_audit): Likewise.
2444 (process_envvars): Likewise.
2445 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
2447 (__libc_enable_secure): Use rtld_hidden_proto.
2449 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2452 (add_path): New function broken out of _dl_rtld_di_serinfo.
2453 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
2455 2014-10-09 Joseph Myers <joseph@codesourcery.com>
2457 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
2458 parentheses around macro arguments.
2459 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
2460 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
2461 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
2462 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
2463 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
2464 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2465 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2466 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
2467 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
2468 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
2469 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
2470 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
2471 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
2472 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
2473 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
2474 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
2475 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
2476 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
2477 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
2478 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
2479 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
2480 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
2481 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
2482 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2483 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2484 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
2485 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
2486 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
2487 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
2488 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
2489 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
2490 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
2491 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
2492 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
2493 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
2494 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
2496 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
2497 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2498 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2499 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
2500 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
2501 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
2502 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
2503 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
2504 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
2505 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
2506 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
2507 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
2508 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
2509 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
2510 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
2511 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2512 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2513 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
2514 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
2515 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
2516 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
2517 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
2518 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
2519 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
2520 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
2521 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
2522 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
2523 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
2524 (_FP_FRAC_SRS_1): Likewise.
2525 (_FP_FRAC_CLZ_1): Likewise.
2526 (_FP_MUL_MEAT_1_imm): Likewise.
2527 (_FP_MUL_MEAT_1_wide): Likewise.
2528 (_FP_MUL_MEAT_1_hard): Likewise.
2529 (_FP_SQRT_MEAT_1): Likewise.
2530 (_FP_FRAC_ASSEMBLE_1): Likewise.
2531 (_FP_FRAC_DISASSEMBLE_1): Likewise.
2532 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
2533 (__FP_CLZ_2): Likewise.
2534 (_FP_MUL_MEAT_2_wide): Likewise.
2535 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2536 (_FP_MUL_MEAT_2_gmp): Likewise.
2537 (_FP_MUL_MEAT_2_120_240_double): Likewise.
2538 (_FP_SQRT_MEAT_2): Likewise.
2539 (_FP_FRAC_ASSEMBLE_2): Likewise.
2540 (_FP_FRAC_DISASSEMBLE_2): Likewise.
2541 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
2542 (_FP_FRAC_CLZ_4): Likewise.
2543 (_FP_MUL_MEAT_4_wide): Likewise.
2544 (_FP_MUL_MEAT_4_gmp): Likewise.
2545 (_FP_SQRT_MEAT_4): Likewise.
2546 (_FP_FRAC_ASSEMBLE_4): Likewise.
2547 (_FP_FRAC_DISASSEMBLE_4): Likewise.
2548 * soft-fp/op-common.h (_FP_CMP): Likewise.
2549 (_FP_CMP_EQ): Likewise.
2550 (_FP_CMP_UNORD): Likewise.
2551 (_FP_TO_INT): Likewise.
2552 (_FP_FROM_INT): Likewise.
2553 [!__FP_CLZ] (__FP_CLZ): Likewise.
2554 (_FP_DIV_HELP_imm): Likewise.
2555 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
2557 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
2558 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
2559 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
2560 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
2561 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
2562 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2563 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2564 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
2565 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
2566 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
2567 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
2568 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
2569 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
2570 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
2571 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
2572 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
2573 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
2574 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
2575 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
2576 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
2577 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
2578 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
2579 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
2580 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2581 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2582 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
2583 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
2584 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
2585 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
2586 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
2587 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
2588 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
2589 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
2590 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
2591 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
2592 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
2593 (FP_UNPACK_RAW_SP): Likewise.
2594 (FP_PACK_RAW_S): Likewise.
2595 (FP_PACK_RAW_SP): Likewise.
2596 (FP_UNPACK_S): Likewise.
2597 (FP_UNPACK_SP): Likewise.
2598 (FP_UNPACK_SEMIRAW_S): Likewise.
2599 (FP_UNPACK_SEMIRAW_SP): Likewise.
2600 (FP_PACK_S): Likewise.
2601 (FP_PACK_SP): Likewise.
2602 (FP_PACK_SEMIRAW_S): Likewise.
2603 (FP_PACK_SEMIRAW_SP): Likewise.
2604 (_FP_SQRT_MEAT_S): Likewise.
2605 (FP_CMP_S): Likewise.
2606 (FP_CMP_EQ_S): Likewise.
2607 (FP_CMP_UNORD_S): Likewise.
2608 (FP_TO_INT_S): Likewise.
2609 (FP_FROM_INT_S): Likewise.
2611 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
2613 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
2614 (FP_EX_INVALID_IMZ): Likewise.
2615 (FP_EX_INVALID_IMZ_FMA): Likewise.
2616 (FP_EX_INVALID_ISI): Likewise.
2617 (FP_EX_INVALID_ZDZ): Likewise.
2618 (FP_EX_INVALID_IDI): Likewise.
2619 (FP_EX_INVALID_SQRT): Likewise.
2620 (FP_EX_INVALID_CVI): Likewise.
2621 (FP_EX_INVALID_VC): Likewise.
2622 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
2623 "invalid" exceptions.
2624 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
2625 (_FP_ADD_INTERNAL): Likewise.
2626 (_FP_MUL): Likewise.
2627 (_FP_FMA): Likewise.
2628 (_FP_DIV): Likewise.
2629 (_FP_CMP_CHECK_NAN): Likewise.
2630 (_FP_SQRT): Likewise.
2631 (_FP_TO_INT): Likewise.
2632 (FP_EXTEND): Likewise.
2634 2014-10-09 Allan McRae <allan@archlinux.org>
2636 * po/fr.po: Update French translation from translation project.
2638 2014-10-09 Joseph Myers <joseph@codesourcery.com>
2641 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
2643 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
2644 (__cxa_atexit): Use libc_hidden_proto.
2645 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
2648 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
2650 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
2651 [!_ISOMAC] (__iswspace_l_internal): Likewise.
2652 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
2653 [!_ISOMAC] (__iswctype_internal): Likewise.
2654 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
2655 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
2657 (fcntl): Remove __fcntl_internal alias.
2658 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
2659 __connect_internal alias.
2660 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
2663 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
2664 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
2666 (_FP_CHECK_FLUSH_ZERO): New macro.
2667 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
2668 (_FP_CMP): Likewise.
2669 (_FP_CMP_EQ): Likewise.
2670 (_FP_TO_INT): Do not set inexact for subnormal arguments if
2672 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
2673 (FP_TRUNC): Likewise.
2675 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
2676 treated as invalid conversion, not as normal exponent.
2678 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
2679 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
2680 (_FP_CMP_EQ): Likewise.
2681 (_FP_CMP_UNORD): Likewise.
2682 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
2683 (FP_CMP_EQ_D): Likewise.
2684 (FP_CMP_UNORD_D): Likewise.
2685 * soft-fp/extended.h (FP_CMP_E): Likewise.
2686 (FP_CMP_EQ_E): Likewise.
2687 (FP_CMP_UNORD_E): Likewise.
2688 * soft-fp/quad.h (FP_CMP_Q): Likewise.
2689 (FP_CMP_EQ_Q): Likewise.
2690 (FP_CMP_UNORD_Q): Likewise.
2691 * soft-fp/single.h (FP_CMP_S): Likewise.
2692 (FP_CMP_EQ_S): Likewise.
2693 (FP_CMP_UNORD_S): Likewise.
2694 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
2695 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
2696 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
2697 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
2698 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
2699 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
2700 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
2701 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
2702 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
2703 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
2704 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
2705 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
2706 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
2708 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
2710 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
2711 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
2713 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
2715 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
2716 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
2717 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
2718 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
2720 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
2722 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
2723 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
2725 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
2727 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
2728 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
2729 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
2730 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
2733 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
2734 a subnormal result, set the underflow exception if trapping on
2735 underflow is enabled.
2736 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
2737 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
2738 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
2740 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
2741 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2742 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2743 * soft-fp/extendxftf2.c (__extendxftf2): Use
2744 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
2746 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
2747 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
2748 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2749 FP_HANDLE_EXCEPTIONS.
2750 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
2751 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2752 FP_HANDLE_EXCEPTIONS.
2753 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
2754 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2755 FP_HANDLE_EXCEPTIONS.
2756 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
2757 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2758 FP_HANDLE_EXCEPTIONS.
2760 2014-10-08 Joseph Myers <joseph@codesourcery.com>
2763 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
2764 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
2766 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
2767 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
2769 (__adjtimex): Define using libc_hidden_ver.
2770 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
2772 (ntp_gettime): Call __adjtimex directly.
2773 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
2775 (ntp_gettimex): Call __adjtimex directly.
2776 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
2777 __adjtimex_internal alias.
2779 2014-10-08 Roland McGrath <roland@hack.frob.com>
2782 * nscd/nscd.c (more_help): Rewrite list of tables collection
2783 using xstrdup and asprintf.
2785 * nscd/nscd_conf.c: Remove local xstrdup declaration.
2787 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2788 Roland McGrath <roland@hack.frob.com>
2790 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
2791 (do_lookup_unique): ... local function 'enter' here; update callers.
2793 2014-10-06 Joseph Myers <joseph@codesourcery.com>
2795 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
2796 compat_symbol calls on [SHARED].
2797 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
2798 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
2800 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2801 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
2802 (oldsetrlimit): Remove.
2803 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2805 (lchown): New syscall entry.
2806 (oldsetrlimit): Remove.
2807 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2808 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
2809 (oldsetrlimit): Remove.
2810 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2813 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
2814 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
2815 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
2816 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
2817 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2818 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
2820 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
2822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
2825 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2827 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
2828 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
2829 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
2830 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
2831 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
2833 (__old_sem_post): Likewise.
2835 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
2837 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
2838 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
2839 HAVE_CLOCK_GETTIME_VSYSCALL macros.
2840 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
2841 Use INLINE_VSYSCALL macro.
2842 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
2843 __vdso_clock_gettime.
2844 * sysdeps/unix/sysv/linux/tile/init-first.c
2845 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
2846 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
2847 __vdso_clock_gettime.
2849 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
2850 to set up frame more cleanly.
2852 * sysdeps/tile/memcmp.c: New file.
2854 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
2856 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
2857 * sysdeps/tile/tilegx/strcasestr.c: New file.
2858 * sysdeps/tile/tilegx/strnlen.c: New file.
2859 * sysdeps/tile/tilegx/strstr.c: New file.
2861 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
2863 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
2865 * nptl/tst-setuid3.c: Write errors to stdout.
2867 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2870 (preload): New functions broken out of _dl_map_object_deps.
2871 (_dl_map_object_deps): Remove a nested function. Update call sites.
2873 2014-10-01 Joseph Myers <joseph@codesourcery.com>
2876 * sysdeps/unix/sysv/linux/execve.c: Remove file.
2877 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
2879 2014-10-01 Steve Ellcey <sellcey@mips.com>
2881 * sysdeps/mips/strcmp.S: New.
2883 2014-09-30 Joseph Myers <joseph@codesourcery.com>
2886 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
2888 (mkdirat): Likewise.
2889 (readlinkat): Likewise.
2890 (renameat): Likewise.
2891 (symlinkat): Likewise.
2892 (unlinkat): Likewise.
2893 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
2894 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2895 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2896 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2897 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2898 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2899 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2901 2014-09-30 Will Newton <will.newton@linaro.org>
2903 * math/math.h: Define long double math functions if
2904 _LIBC_TEST is defined.
2905 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
2907 * localedata/Makefile: Move assignment to tests-special
2908 into an ifdef testing run-built-tests.
2909 * timezone/Makefile: Likewise.
2911 2014-09-29 Joseph Myers <joseph@codesourcery.com>
2913 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
2914 with $(BASH) not $(SHELL).
2916 2014-09-29 Carlos O'Donell <carlos@redhat.com>
2917 Matthew LeGendre <legendre1@llnl.gov>
2920 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
2923 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2925 * stdio-common/printf_fp.c
2926 (hack_digit): New function, broken out of ...
2927 (__printf_fp): ... local function here. Update call sites.
2928 hack_digit now takes an additional parameter that is a pointer
2929 to a struct of the referenced locals. Those locals moved inside
2930 the struct and references updated.
2932 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
2934 * aclocal.m4: Require autoconf 2.69.
2935 * configure: Regenerated.
2936 * sysdeps/aarch64/configure: Likewise.
2937 * sysdeps/alpha/configure: Likewise.
2938 * sysdeps/arm/armv7/configure: Likewise.
2939 * sysdeps/arm/configure: Likewise.
2940 * sysdeps/ia64/configure: Likewise.
2941 * sysdeps/mach/configure: Likewise.
2942 * sysdeps/mips/configure: Likewise.
2943 * sysdeps/s390/configure: Likewise.
2944 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
2947 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
2949 * sysdeps/ia64/configure.ac: Likewise.
2951 2014-09-26 Joseph Myers <joseph@codesourcery.com>
2953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
2954 specify symbol version for ld.so. Do not include entry for
2956 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2957 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2958 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2961 * Makeconfig [$(build-shared) = yes]
2962 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2964 [$(build-shared) = yes && $(soversions.mk-done) = t]
2965 ($(common-objpfx)gnu/lib-names.h): Remove rule.
2966 [$(build-shared) = yes && $(soversions.mk-done) = t]
2967 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
2969 [$(build-shared) = yes && $(soversions.mk-done) = t]
2970 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2972 [$(build-shared) = yes && $(soversions.mk-done) = t]
2973 (common-generated): Don't append gnu/lib-names.h and
2974 gnu/lib-names.stmp here.
2975 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2976 (lib-names-h-abi): New variable.
2977 [$(build-shared) = yes && $(soversions.mk-done) = t]
2978 (lib-names-stmp-abi): Likewise.
2979 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2980 abi-variants] (before-compile): Append
2981 $(common-objpfx)$(lib-names-h-abi).
2982 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2983 abi-variants] (common-generated): Append gnu/lib-names.h.
2984 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2985 abi-variants] (install-others-nosubdir): Depend on
2986 $(inst_includedir)/$(lib-names-h-abi).
2987 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2988 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
2989 [$(build-shared) = yes && $(soversions.mk-done) = t]
2990 ($(common-objpfx)$(lib-names-h-abi)): New rule.
2991 [$(build-shared) = yes && $(soversions.mk-done) = t]
2992 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
2993 [$(build-shared) = yes && $(soversions.mk-done) = t]
2994 (common-generated): Append $(lib-names-h-abi) and
2995 $(lib-names-stmp-abi).
2996 * scripts/lib-names.awk: Do not handle multi being set.
2997 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
2999 (abi-lp64_be-ld-soname): Likewise.
3000 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
3002 (abi-hard-ld-soname): Likewise.
3003 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
3004 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
3006 (abi-o32_hard-ld-soname): Likewise.
3007 (abi-o32_soft_2008-ld-soname): Likewise.
3008 (abi-o32_hard_2008-ld-soname): Likewise.
3009 (abi-n32_soft-ld-soname): Likewise.
3010 (abi-n32_hard-ld-soname): Likewise.
3011 (abi-n32_soft_2008-ld-soname): Likewise.
3012 (abi-n32_hard_2008-ld-soname): Likewise.
3013 (abi-n64_soft-ld-soname): Likewise.
3014 (abi-n64_hard-ld-soname): Likewise.
3015 (abi-n64_soft_2008-ld-soname): Likewise.
3016 (abi-n64_hard_2008-ld-soname): Likewise.
3017 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
3019 (abi-64-v2-ld-soname): Likewise.
3020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
3022 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3024 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3026 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
3028 (abi-64-ld-soname): Likewise.
3029 (abi-x32-ld-soname): Likewise.
3030 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
3032 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3034 2014-09-23 Joseph Myers <joseph@codesourcery.com>
3037 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
3038 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3039 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
3040 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
3041 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
3042 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
3043 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
3044 syscall entry for GLIBC_2.2 symbol version.
3045 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
3047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3048 (setrlimit): Likewise.
3049 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
3052 2014-09-23 Will Newton <will.newton@linaro.org>
3054 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
3055 _LINUX_ARM_SYSDEP_H include guard too.
3056 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
3059 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3061 * sysdeps/unix/sysv/linux/eventfd.c:
3062 Make first argument unsigned.
3063 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3064 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3066 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
3068 * socket/recvmmsg.c (recvmmsg): Drop const argument.
3069 * socket/sys/socket.h: Likewise
3070 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3072 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3074 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3076 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
3078 * time/tst-ftime.c: New test.
3079 * time/Makefile (tests): Add tst-ftime.
3081 2014-09-17 Joseph Myers <joseph@codesourcery.com>
3083 * soft-fp/extended.h: Fix comment formatting.
3084 * soft-fp/op-1.h: Likewise.
3085 * soft-fp/op-2.h: Likewise.
3086 * soft-fp/op-4.h: Likewise.
3087 * soft-fp/op-8.h: Likewise.
3088 * soft-fp/op-common.h: Likewise.
3089 * soft-fp/soft-fp.h: Likewise.
3091 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3093 2014-09-16 Joseph Myers <joseph@codesourcery.com>
3096 * Makeconfig (soversions-default-setname): Remove variable.
3097 ($(common-objpfx)soversions.i): Don't pass default_setname to
3099 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3100 oldest_abi to abi-versions.awk.
3101 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3102 * config.make.in (oldest-abi): Remove variable.
3103 * configure.ac (--enable-oldest-abi): Remove configure option.
3104 * configure: Regenerated.
3105 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3107 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3108 * scripts/soversions.awk: Do not handle default_setname variable.
3109 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3111 * sysdeps/mach/hurd/configure: Regenerated.
3112 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3114 * sysdeps/unix/sysv/linux/configure: Regenerated.
3116 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3118 * elf/Makefile (CFLAGS-interp.c): Remove.
3119 ($(elf-objpfx)runtime-linker.h): Generate header with linker
3121 * elf/interp.c: Include generated runtime-linker.h
3123 * Makerules (lib%.so): Don't include $(+interp) in
3125 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3126 * dlfcn/eval.c: Remove file.
3128 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3132 * misc/sys/cdefs.h: Define __extern_always_inline for clang
3136 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
3138 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3139 Jakub Jelinek <jakub@redhat.com>
3142 * libio/stdio.h: Check definition of __fortify_function
3143 instead of __extern_always_inline to include bits/stdio2.h.
3144 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
3145 check if __extern_always_inline is defined.
3146 [__USE_MISC || __USE_XOPEN]: Likewise.
3147 [__USE_ISOC99] Likewise.
3148 * misc/sys/cdefs.h (__fortify_function): Define only if
3149 __extern_always_inline is defined.
3150 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
3151 __extern_always_inline and __extern_inline only for g++-4.3
3152 and newer or a compatible gcc.
3154 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
3157 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3158 last change to handle zero prefix length.
3160 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3162 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
3165 * posix/getconf.c (vars): Add _POSIX_IPV6 and
3168 2014-09-13 Allan McRae <allan@archlinux.org>
3170 * po/ru.po: Update Russian translation from translation project.
3172 2014-09-12 Roland McGrath <roland@hack.frob.com>
3174 * locale/programs/locale.c (show_locale_vars): Inline local function
3175 into its sole call site. Clean up some style nits.
3176 (print_item): New function, broken out of ...
3177 (show_info): ... local function here. Clean up style nits.
3179 * locale/programs/ld-ctype.c (set_one_default): New function, broken
3181 (set_class_defaults): ... local function set_default here.
3182 Define set_default as a macro locally to pass constant parameters.
3183 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
3184 rather than a shared local.
3186 * stdlib/rpmatch.c (try): New function, broken out of ...
3187 (rpmatch): ... local function here. Also, prototypify definition.
3189 2014-09-12 Joseph Myers <joseph@codesourcery.com>
3191 * scripts/soversions.awk: Do not handle configuration names.
3192 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
3193 vendor and os variables to soversions.awk.
3194 * configure.ac: Do not modify gnu-* host_os.
3195 * configure: Regenerated
3196 * shlib-versions: Remove first column with configuration names.
3197 * nptl/shlib-versions: Likewise.
3198 * nptl_db/shlib-versions: Likewise.
3199 * sysdeps/hppa/shlib-versions: Likewise.
3200 * sysdeps/m68k/shlib-versions: Likewise.
3201 * sysdeps/mach/hurd/shlib-versions: Likewise.
3202 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
3203 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
3204 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
3205 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
3206 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
3207 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
3208 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
3209 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
3210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3212 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3213 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3214 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3215 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3216 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3217 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
3218 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3219 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3222 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
3223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3225 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
3226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3227 Condition symbol version definitions on [HAVE_ELFV2_ABI].
3229 * shlib-versions: Remove OS-specific entries. Moved to files in
3231 * sysdeps/mach/hurd/shlib-versions: New file.
3232 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3234 * nptl/shlib-versions: Remove architecture-specific entries.
3235 Moved to files in sysdeps.
3236 * shlib-versions: Likewise.
3237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
3239 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3240 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3241 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3242 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3244 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
3245 (UDP_NO_CHECK6_RX): Likewise.
3247 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3249 * sysdeps/posix/sysconf.c (__sysconf): Spell
3250 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
3252 2014-08-12 Florian Weimer <fweimer@redhat.com>
3254 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
3256 * iconv/Versions (__gconv_transliterate): Export for use from
3258 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
3259 (struct __gconv_trans_data, __gconv_trans_fct,
3260 __gconv_trans_context_fct, __gconv_trans_query_fct,
3261 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
3263 (struct __gconv_step_data): Remove __trans member.
3264 (__gconv_transliterate): Declaration moved from gconv_int.h. No
3265 longer hidden. Remove unused trans_data argument.
3266 * iconv/gconv_int.h (struct trans_struct): Remove definition.
3267 (__gconv_translit_find): Remove declaration.
3268 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
3270 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
3271 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
3272 trans_data argument. Add hidden definition.
3273 (__gconv_translit_find): Remove.
3274 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
3275 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
3276 * iconv/skeleton.c: Remove transliteration initialization.
3277 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
3278 __gconv_step_data initialization.
3279 * libio/iofwide.c (__libio_translit_): Remove.
3280 (_IO_fwide): Adjust struct __gconv_step_data initialization.
3281 * wcsmbs/btowc.c (__btowc): Likewise.
3282 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3283 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3284 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3285 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3286 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
3287 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3288 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3289 * wcsmbs/wctob.c (wctob): Likewise.
3291 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3294 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
3295 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
3297 * sysdeps/x86/Makefile: Adjust.
3299 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3300 Roland McGrath <roland@hack.frob.com>
3302 * locale/weight.h: Add include guard.
3303 (findidx): Make static rather than auto; take new parameters
3304 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
3305 * locale/weightwc.h: Likewise.
3306 * posix/fnmatch_loop.c
3307 (FCT): Change type of EXTRA from int32_t to wint_t.
3308 Don't include either header inside the function.
3309 Call FINDIDX rather than findidx, and pass new arguments.
3310 #undef FINDIDX at the end of the file.
3311 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
3312 FINDIDX before including fnmatch_loop.c for the non-wide version.
3313 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
3314 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
3315 for the wide version.
3316 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
3317 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
3318 Pass new arguments to findidx.
3319 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
3320 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
3321 Don't #include it inside the function. Pass new arguments to findidx.
3322 * posix/regex_internal.h
3323 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
3324 (re_string_elem_size_at): Don't #include it inside the function.
3325 Pass new arguments to findidx.
3326 * string/strcoll_l.c: #include WEIGHT_H at top level.
3327 (get_next_seq): Don't #include it inside the function.
3328 Pass new arguments to findidx.
3329 (get_next_seq_nocache): Likewise.
3330 * string/strxfrm_l.c: #include WEIGHT_H at top level.
3331 (STRXFRM): Don't #include it inside the function.
3332 Pass new arguments to findidx.
3334 2014-09-11 Florian Weimer <fweimer@redhat.com>
3337 * malloc/malloc.c (unlink): Turn asserts into a call to
3340 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
3343 * libio/wfileops (do_ftell_wide): Free OUT.
3345 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
3347 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
3349 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3352 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
3353 group if the current group is empty.
3355 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3357 * benchtests/bench-memset.c (test_main): Add more test from size
3358 from 32 to 512 bytes.
3359 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3360 Add POWER8 memset object.
3361 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3362 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
3363 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
3365 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
3367 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
3368 multiarch POWER8 memset optimization.
3369 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
3370 POWER8 memset optimization.
3372 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3373 Remove bzero multiarch objects.
3374 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
3375 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
3376 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
3377 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
3379 [__bzero]: Redefine to specific name.
3380 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3381 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3382 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
3384 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3385 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3387 2014-09-10 Florian Weimer <fweimer@redhat.com>
3389 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
3390 warnings into errors.
3392 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
3393 __cxa_thread_atexit_impl prototype.
3395 2014-09-09 Steve Ellcey <sellcey@mips.com>
3397 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
3398 Fix capitalization of error message.
3400 2014-09-09 Steve Ellcey <sellcey@mips.com>
3402 * sysdeps/mips/preconfigure: Modify ABI tests.
3404 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
3406 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
3408 2014-09-07 Roland McGrath <roland@hack.frob.com>
3409 Carlos O'Donell <carlos@systemhalted.org>
3411 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
3412 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
3413 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
3414 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
3415 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
3416 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
3417 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
3418 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
3419 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
3420 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
3421 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
3422 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
3423 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
3424 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
3425 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
3426 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
3427 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
3428 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
3429 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
3430 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
3431 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
3432 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
3433 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
3434 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
3435 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
3436 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
3437 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
3438 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
3439 Deconditionalize the code that was previously under [RESET_PID].
3440 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
3441 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
3442 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
3443 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
3446 2014-09-08 Allan McRae <allan@archlinux.org>
3448 * version.h (RELEASE): Set to "development".
3449 (VERSION): Set to "2.20.90"
3451 2014-09-07 Allan McRae <allan@archlinux.org
3453 * version.h (RELEASE): Set to "stable".
3454 (VERSION): Set to "2.20"
3455 * include/features.h (__GLIBC_MINOR__): Set to 20.
3457 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
3460 * po/ko.po: Update Korean translation from translation project.
3462 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
3465 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
3466 macro for handling signed relocations.
3468 2014-09-03 Florian Weimer <fweimer@redhat.com>
3471 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
3472 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
3474 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
3475 * iconvdata/ibm935.c (BODY): Likewise.
3476 * iconvdata/ibm937.c (BODY): Likewise.
3477 * iconvdata/ibm939.c (BODY): Likewise.
3478 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
3480 * iconvdata/Makefile (iconv-test.out): Pass module list to test
3482 * iconvdata/run-iconv-test.sh: New test loop for checking for
3485 2014-09-02 Khem Raj <raj.khem@gmail.com>
3487 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
3490 2014-09-01 Allan McRae <allan@archlinux.org>
3492 * po/eo.po: Update Esperanto translation from translation project.
3494 * po/ca.po: Update Catalan translation from translation project.
3496 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
3498 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
3501 2014-08-27 Mark Wielaard <mjw@redhat.com>
3504 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
3505 to call set_thread_area instead of hand written asm.
3506 (__NR_set_thread_area): Removed define.
3507 (TLS_FLAG_WRITABLE): Likewise.
3508 (__ASSUME_SET_THREAD_AREA): Remove check.
3509 (TLS_EBX_ARG): Remove define.
3510 (TLS_LOAD_EBX): Likewise.
3512 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3514 Simplify atomicity of socket creation in bind.
3516 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
3517 looking up the name after linking the file.
3519 2014-08-27 Allan McRae <allan@archlinux.org>
3521 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3523 2014-08-26 Florian Weimer <fweimer@redhat.com>
3526 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
3527 trans_compare, open_translit, __gconv_translit_find):
3528 Remove module loading code.
3530 2014-08-26 Allan McRae <allan@archlinux.org>
3532 * po/vi.po: Update Vietnamese translation from translation project.
3534 * po/uk.po: Update Ukrainian translation from translation project.
3536 * po/fr.po: Update French translation from translation project.
3538 * po/ru.po: Update Russian translation from translation project.
3540 * po/pl.po: Update Polish translation from translation project.
3542 * po/cs.po: Update Czech translation from translation project.
3544 * po/de.po: Update German translation from translation project.
3546 * po/bg.po: Update Bulgarian translation from translation project.
3548 * po/sv.po: Update Sweedish translation from translation project.
3550 * po/nl.po: Update Dutch translation from translation project.
3552 * po/es.po: Update Spanish translation from translation project.
3554 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3556 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
3558 * catgets/Makefile (CPPFLAGS-gencat): Remove.
3559 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
3560 (CPPFLAGS-iconvconfig): Likewise.
3561 * timezone/Makefile (CPPFLAGS-zic): Likewise.
3563 * include/libc-symbols.h: Remove unnecessary check for
3565 * nptl/pthreadP.h: Likewise.
3566 * sysdeps/aarch64/setjmp.S: Likewise.
3567 * sysdeps/alpha/setjmp.S: Likewise.
3568 * sysdeps/arm/sysdep.h: Likewise.
3569 * sysdeps/i386/setjmp.S: Likewise.
3570 * sysdeps/m68k/setjmp.c: Likewise.
3571 * sysdeps/posix/getcwd.c: Likewise.
3572 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3573 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3574 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3575 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3576 * sysdeps/sh/sh3/setjmp.S: Likewise.
3577 * sysdeps/sh/sh4/setjmp.S: Likewise.
3578 * sysdeps/unix/alpha/sysdep.h: Likewise.
3579 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3580 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3581 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3582 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3585 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3586 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3587 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3588 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3589 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3590 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3591 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3592 * sysdeps/x86_64/setjmp.S: Likewise.
3594 2014-08-13 Joseph Myers <joseph@codesourcery.com>
3597 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
3599 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
3600 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
3602 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3604 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
3607 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
3608 and __x86_64__ when disabling x87 inline functions.
3610 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
3613 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
3614 asm statement with __cpuid_count.
3616 2014-08-12 Mike Frysinger <vapier@gentoo.org>
3618 * configure.ac: Change __ehdr_start code to dereference the struct.
3619 Run readelf on the output to look for relocations.
3620 * configure: Regenerated.
3622 2014-08-12 Joseph Myers <joseph@codesourcery.com>
3625 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
3627 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
3629 2014-08-12 Roland McGrath <roland@hack.frob.com>
3631 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
3633 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
3636 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
3637 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
3639 2014-08-12 Sean Anderson <seanga2@gmail.com>
3641 * malloc/malloc.c: Fix typo in comment.
3643 2014-08-09 Allan McRae <allan@archlinux.org>
3645 * Regenerate libc.po.
3647 2014-08-08 Mike Frysinger <vapier@gentoo.org>
3649 * intl/tst-gettext2.sh: Check every lang file for creation.
3651 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
3653 * sysdeps/aarch64/fpu/math_private.h
3654 (libc_feholdsetround_noex_aarch64_ctx): New function.
3656 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
3658 * sysdeps/arm/armv6/strcpy.S (strcpy):
3659 Fix performance issue in misaligned cases.
3661 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3663 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
3664 Move definition from termios.h.
3665 (struct termio): Likewise.
3666 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3667 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3668 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3669 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3671 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
3672 Move definition to ioctl-types.h
3673 (struct termio): Likewise.
3674 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3675 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3676 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3677 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3680 2014-08-05 Richard Henderson <rth@redhat.com>
3682 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
3684 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
3686 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3687 Use __feraiseexcept.
3688 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
3689 Protect libm symbols with IS_IN_libm.
3691 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
3693 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
3695 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
3697 2014-08-04 Will Newton <will.newton@linaro.org>
3699 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
3702 2014-08-04 Mike Frysinger <vapier@gentoo.org>
3704 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
3705 variants for each function.
3707 2014-08-04 Roland McGrath <roland@hack.frob.com>
3709 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
3711 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
3712 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
3714 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
3715 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
3716 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
3717 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
3718 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
3719 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
3720 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
3721 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
3722 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
3723 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
3724 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
3725 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
3726 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
3727 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
3728 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
3729 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
3730 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
3731 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
3732 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
3733 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
3734 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
3735 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
3736 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
3737 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
3738 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
3739 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
3740 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
3741 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
3742 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
3743 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
3744 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
3745 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
3746 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
3747 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
3748 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
3749 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
3750 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
3751 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
3752 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
3753 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
3754 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
3755 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
3756 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
3757 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
3758 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
3759 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
3760 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
3761 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
3762 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
3763 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
3764 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
3765 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
3766 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
3768 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
3769 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
3771 2014-08-04 Roland McGrath <roland@hack.frob.com>
3773 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
3774 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
3775 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
3776 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
3777 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
3778 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
3780 2014-08-04 Roland McGrath <roland@hack.frob.com>
3782 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
3783 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
3784 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3785 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
3787 2014-08-04 Roland McGrath <roland@hack.frob.com>
3789 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
3790 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
3791 (__libc_vfork): Define function under this name.
3792 (__vfork): Define as an alias.
3793 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
3794 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
3796 2014-08-04 Roland McGrath <roland@hack.frob.com>
3798 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
3799 that was previously under [RESET_PID].
3800 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
3802 2014-08-04 Andreas Schwab <schwab@suse.de>
3804 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
3806 2014-08-03 Mike Frysinger <vapier@gentoo.org>
3808 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
3811 2014-08-01 Roland McGrath <roland@hack.frob.com>
3813 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
3815 2014-08-01 Richard Henderon <rth@redhat.com>
3817 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
3818 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
3819 typo in exact zero test.
3820 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3821 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3822 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3824 2014-08-01 Roland McGrath <roland@hack.frob.com>
3826 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
3827 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
3828 * sysdeps/arm/sysdep.h: ... here.
3829 [!__ASSEMBLER__]: Include <stdint.h>.
3831 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3833 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
3834 (HAVE_WCTYPE_H): Likewise.
3835 (HAVE_ISWCTYPE): Likewise.
3836 (ENABLE_NLS): Likewise.
3837 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
3838 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
3840 * posix/regex_internal.c: Check if DEBUG is defined and is
3843 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
3844 (HAVE_MBSRTOWCS): Likewise.
3845 * posix/fnmatch.c: Include string.h unconditionally.
3847 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3849 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
3852 2014-07-31 Roland McGrath <roland@hack.frob.com>
3854 * sysdeps/generic/safe-fatal.h: New file.
3855 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
3856 * nptl/forward.c: Include it.
3857 (__pthread_unwind): Use __safe_fatal as default action, rather
3858 than a bogus use of INTERNAL_SYSCALL that could never work.
3860 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
3861 * configure.ac (libc_cv_builtin_trap): New test.
3862 * configure: Regenerated.
3863 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
3864 (ABORT_INSTRUCTION): Define using __builtin_trap.
3866 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
3867 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
3868 * sysdeps/nptl/nptl-signals.h: New file.
3869 * nptl/pthreadP.h: Include <nptl-signals.h>.
3871 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3873 * sysdeps/s390/s390-64/utf16-utf32-z9.c
3874 (ONE_DIRECTION): Define.
3875 * sysdeps/s390/s390-64/utf8-utf16-z9.c
3876 (ONE_DIRECTION): Define.
3877 * sysdeps/s390/s390-64/utf8-utf32-z9.c
3878 (ONE_DIRECTION): Define.
3880 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3882 * sysdeps/s390/Makefile: Delete file.
3883 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
3884 * sysdeps/s390/__longjmp.c: Delete file.
3885 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
3886 Remove fields __flags and __reserved.
3887 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
3889 * sysdeps/s390/rtld-__longjmp.c: Delete file.
3890 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
3891 * sysdeps/s390/rtld-setjmp.S: Likewise.
3892 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
3893 * sysdeps/s390/s390-32/__longjmp.c: ... here.
3894 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
3895 * sysdeps/s390/s390-32/setjmp.S: ... here.
3897 (__sigsetjmp): Remove setting __flags field.
3898 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
3899 * sysdeps/s390/s390-64/__longjmp.c: ... here.
3900 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
3901 * sysdeps/s390/s390-64/setjmp.S: ... here.
3903 (__sigsetjmp): Remove setting __flags field.
3904 * sysdeps/s390/setjmp.S: Delete file.
3905 * sysdeps/s390/sigjmp.c: Likewise.
3906 * sysdeps/s390/v1-longjmp.c: Likewise.
3907 * sysdeps/s390/v1-setjmp.h: Likewise.
3908 * sysdeps/s390/v1-sigjmp.c: Likewise.
3909 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
3910 Remove v1-longjmp_chk.
3911 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
3912 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
3913 Include debug/longjmp_chk.c and add versioning.
3914 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
3915 Include nptl/pt-longjmp.c and add versioning.
3916 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
3917 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
3918 Include __longjmp.c.
3919 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3921 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
3922 (__getcontext): Remove setting __flags field.
3924 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3925 Don't restore upper high grps.
3926 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
3928 (__swapcontext): Remove setting uc_flags field.
3929 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
3931 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3932 Include __longjmp.c.
3933 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3935 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
3936 (__getcontext): Remove setting __flags field.
3938 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
3939 (__swapcontext): Remove setting uc_flags field.
3940 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
3941 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
3942 Remove fields uc_high_gprs and __reserved.
3943 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
3944 New file with reverted content.
3945 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
3946 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
3948 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
3951 2014-07-31 Andreas Schwab <schwab@suse.de>
3953 * config.h.in (HAVE_IFUNC): Define to 0.
3954 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
3957 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
3959 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3960 memmove-avx-unaligned, memcpy-avx-unaligned and
3961 mempcpy-avx-unaligned.
3962 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3963 Add tests for AVX memcpy functions.
3964 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3965 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3967 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3968 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3970 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3971 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3973 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3974 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3975 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3977 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3980 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
3983 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
3986 * manual/llio.texi: Add section about open file description locks.
3987 * manual/examples/ofdlocks.c: Example of open file description
3989 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
3990 F_OFD_SETLK, and F_OFD_SETLKW.
3992 2014-07-23 Allan McRae <allan@archlinux.org>
3994 * po/es.po: Update Spanish translation from translation project.
3996 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
3998 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
4000 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
4003 * sysdeps/arm/dl-machine.h (elf_machine_rela)
4004 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
4005 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
4007 2014-07-17 Joseph Myers <joseph@codesourcery.com>
4010 * math/fesetenv.c (__fesetenv)
4011 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
4012 * math/feupdateenv.c (__feupdateenv)
4013 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
4015 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
4016 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4017 (__ASSUME_SOCKETCALL): Do not define.
4019 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
4020 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
4021 (__ASSUME_SOCKETCALL): Do not define.
4022 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4023 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4024 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4025 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4026 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4027 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
4028 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4029 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4031 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
4032 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
4033 (__ASSUME_SOCKETCALL): Do not define.
4034 (__ASSUME_IPC64): Define unconditionally.
4035 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4036 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4037 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4038 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4039 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
4040 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4041 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
4044 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
4045 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
4046 (__ASSUME_SOCKETCALL): Do not define.
4047 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
4048 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4049 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4050 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4051 (__ASSUME_REQUEUE_PI): Define unconditionally.
4052 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
4053 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4054 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4055 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
4056 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4057 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4059 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4060 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
4061 (__ASSUME_SOCKETCALL): Do not define.
4062 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
4063 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4064 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4065 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4066 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4067 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4069 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4070 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4071 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4072 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4073 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4074 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4075 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4076 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4077 (__ASSUME_GETCPU_SYSCALL): Likewise.
4079 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4080 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
4081 cases for individual architectures.
4082 * sysdeps/gnu/configure: Regenerated.
4083 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4084 LIBC_SLIBDIR_RTLDDIR.
4085 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4086 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4087 LIBC_SLIBDIR_RTLDDIR.
4088 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4090 LIBC_SLIBDIR_RTLDDIR.
4091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4093 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4094 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4096 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4097 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4099 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4100 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4101 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4102 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4104 * sysdeps/aarch64/shlib-versions: Move to ...
4105 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4106 * sysdeps/alpha/shlib-versions: Move to ...
4107 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4108 * sysdeps/arm/shlib-versions: Move to ...
4109 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4110 * sysdeps/hppa/shlib-versions: Move all contents except for
4111 libgcc_s entry to ...
4112 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
4114 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
4115 * sysdeps/ia64/shlib-versions: Move to ...
4116 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
4118 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
4119 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4120 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4121 * sysdeps/microblaze/shlib-versions: Move to ...
4122 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4123 * sysdeps/mips/shlib-versions: Move to ...
4124 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
4126 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
4127 * sysdeps/tile/shlib-versions: Move to ...
4128 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4129 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
4131 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
4132 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
4134 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
4136 2014-07-17 Will Newton <will.newton@linaro.org>
4138 * sysdeps/arm/bits/atomic.h
4139 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
4140 (__arch_compare_and_exchange_bool_16_int): Likewise.
4141 (__arch_compare_and_exchange_bool_64_int): Likewise.
4143 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4144 into an #else block.
4146 2014-07-16 Roland McGrath <roland@hack.frob.com>
4148 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4149 just Linux configurations. Test empirically that the compiler sets
4150 __ARM_EABI__, rather than using the tuple to decide.
4151 * sysdeps/arm/preconfigure: Regenerated.
4152 * sysdeps/unix/sysv/linux/arm/configure: File removed.
4153 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
4154 contents appended ...
4155 * sysdeps/arm/configure.ac: ... here.
4156 * sysdeps/arm/configure: Regenerated.
4158 2014-07-15 Roland McGrath <roland@hack.frob.com>
4160 * nptl/pthread_kill.c: New file.
4161 * nptl/pthread_sigmask.c: New file.
4162 * nptl/pthread_sigqueue.c: New file.
4164 * sysdeps/nptl/lowlevellock.h: New file.
4165 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
4166 * sysdeps/nptl/lowlevellock-futex.h: New file.
4168 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4169 Remove dead declarations.
4171 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
4173 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4174 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
4176 * sysdeps/x86_64/configure.ac: Likewise.
4177 * sysdeps/i386/configure: Regenerated.
4178 * sysdeps/x86_64/configure: Likewise.
4179 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4180 memset-avx2 only if config-cflags-avx2 is yes.
4181 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4182 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
4184 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
4185 only if HAVE_AVX2_SUPPORT is defined.
4186 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4188 2014-07-14 Alan Modra <amodra@gmail.com>
4191 * elf/elf.h (DT_PPC64_NUM): Correct value.
4192 * NEWS: Add to fixed bug list.
4194 2014-07-13 Jim Meyering <meyering@fb.com>
4197 regex: don't deref NULL upon heap allocation failure
4198 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
4199 failure in one more place.
4200 To trigger the segfault, configure grep -with-included-regex,
4201 build it, and run these commands:
4202 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
4204 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
4206 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4208 2014-07-11 Richard Henderson <rth@redhat.com>
4210 * sysdeps/aarch64/libm-test-ulps: Update.
4212 2014-07-10 Florian Weimer <fweimer@redhat.com>
4215 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
4216 * nptl/allocatestack.c (__nptl_setxid_error): New function.
4217 (__nptl_setxid): Initialize error member. Call
4218 __nptl_setxid_error.
4219 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
4220 * nptl/descr.h (struct xid_command): Add error member.
4221 * nptl/tst-setuid3.c: New file.
4222 * nptl/Makefile (tests): Add it.
4224 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4226 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
4228 (__lll_trylock): Use __lll_base_trylock.
4229 (__lll_cond_trylock): Likewise.
4231 2014-07-10 Roland McGrath <roland@hack.frob.com>
4233 * nptl/pthread_create.c (start_thread): Use atomic_or and
4234 lll_futex_wake directly rather than lll_robust_dead.
4235 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4236 (lll_robust_dead): Macro removed.
4237 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
4238 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4239 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4240 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4241 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4242 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4243 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4244 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4245 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4246 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4247 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4248 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4249 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4250 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4251 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4253 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4254 Use atomic_compare_and_exchange_val_acq directly rather than
4256 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4257 (__lll_robust_trylock, lll_robust_trylock): Removed.
4258 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4259 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4260 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4261 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4262 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4263 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4264 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4265 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4266 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4267 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4268 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4269 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4270 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4271 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4273 2014-07-02 Florian Weimer <fweimer@redhat.com>
4275 * manual/locale.texi (Locale Names): New section documenting
4276 locale name syntax. Adjust menu and node chaining accordingly.
4277 (Choosing Locale): Reference Locale Names, Locale Categories.
4278 Mention setting LC_ALL=C. Reflect that name syntax is now
4280 (Locale Categories): New section title. Reference Locale Names.
4281 LC_ALL is an environment variable, but not a category.
4282 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
4283 description, now in Locale Name. Reference that section. Locale
4284 name syntax is now documented.
4286 2014-07-02 Florian Weimer <fweimer@redhat.com>
4289 * locale/findlocale.c (name_present, valid_locale_name): New
4291 (_nl_find_locale): Use the loc_name variable to store name
4292 candidates. Call name_present and valid_locale_name to check and
4293 validate locale names. Return an error if the locale is invalid.
4295 2014-07-02 Florian Weimer <fweimer@redhat.com>
4297 * locale/setlocale.c (setlocale): Use strdup for allocating
4298 composite name copy.
4300 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4302 Sync up with gnulib.
4303 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
4304 [!_LIBC && ENABLE_NLS]: Include gettext.h.
4305 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
4306 and _GL_ARG_NONNULL.
4307 [USE_UNLOCKED_IO]: Include unlocked-io.h.
4308 [!_LIBC]: Include code for Windows and Cygwin.
4309 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
4310 Include prototype for int strerror_r.
4311 [!_LIBC] (is_open): New function.
4312 (flush_stdout): New function.
4313 (print_errno_message): Use it.
4315 (error_at_line): Likewise.
4316 (error_tail) Add function attribute macros. Use
4319 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
4321 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
4323 * io/ftw.c: Include sys/param.h unconditionally.
4325 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
4328 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
4330 (freecache): New function to free CACHE on exit.
4332 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
4335 2014-07-09 David S. Miller <davem@davemloft.net>
4337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4339 * sysdeps/sparc/nptl/internaltypes.h: Delete.
4340 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
4341 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
4342 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
4343 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
4344 * sysdeps/sparc/nptl/sem_init.c: Likewise.
4345 * sysdeps/sparc/nptl/sem_post.c: Likewise.
4346 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
4347 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
4348 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
4349 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
4350 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
4351 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
4353 2014-07-09 Andreas Schwab <schwab@suse.de>
4355 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
4357 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
4358 (do_test): Likewise.
4360 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4362 2014-07-09 Will Newton <will.newton@linaro.org>
4364 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
4365 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
4366 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4367 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4368 * sysdeps/hppa/start.S (_start): Likewise.
4370 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4372 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
4374 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
4377 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4379 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
4380 after checking that it is non-NULL.
4382 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
4384 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4386 * sysdeps/powerpc/memmove.c: Remove file.
4387 * sysdeps/powerpc/powerpc32/power4/memcopy.h
4388 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
4389 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4390 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
4391 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
4392 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
4393 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
4394 string memmove instead of removed powerpc one.
4396 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4397 [weak_alias]: Fix compiler warning due trailing data.
4398 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
4399 [weak_alias]: Likewise.
4400 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
4401 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
4403 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4404 (__libc_ifunc_impl_list): Add memmove functions.
4406 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4408 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
4410 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
4412 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
4414 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
4416 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
4418 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
4420 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
4422 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
4424 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
4426 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
4428 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
4430 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
4432 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
4434 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
4436 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
4438 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
4440 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
4443 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4445 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
4446 to avoid alignment traps in non-cacheable memory.
4447 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4449 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
4451 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
4452 file: multiarch power7 memmove.
4453 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
4454 multiarch default memmove.
4455 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
4456 multiarch memove for powerpc32/power4.
4458 * string/bcopy.c: Use full path to include memmove.c.
4459 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
4461 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
4462 bcopy for powerpc64.
4463 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
4464 bcopy for powerpc64.
4465 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
4466 and memmove implementations.
4467 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
4468 optimized multiarch memmove for POWER7/powerpc64.
4469 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
4470 default multiarch memmove for powerpc64.
4471 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
4472 multiarch for powerpc64.
4473 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
4474 for POWER7/powerpc64.
4475 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
4476 memmove for POWER7/powerpc64.
4478 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
4481 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
4482 __ELF_NATIVE_CLASS equal to 64.
4484 2014-07-07 Roland McGrath <roland@hack.frob.com>
4486 * sysdeps/nptl/lowlevellock.h: File removed.
4488 * NEWS: NPTL is no longer an add-on!
4489 * nptl/internaltypes.h: Moved ...
4490 * sysdeps/nptl/internaltypes.h: ... here.
4491 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
4492 * sysdeps/nptl/fork.c: Likewise.
4493 * sysdeps/nptl/gai_misc.h: Likewise.
4494 * sysdeps/nptl/librt-cancellation.c: Likewise.
4495 * sysdeps/nptl/jmp-unwind.c: Likewise.
4496 * sysdeps/nptl/setxid.h: Likewise.
4497 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
4498 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
4499 * sysdeps/unix/sysv/linux/arm/Implies: New file.
4500 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
4501 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
4502 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
4503 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
4504 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
4505 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
4506 * sysdeps/unix/sysv/linux/mips/Implies: New file.
4507 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
4508 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
4509 * sysdeps/unix/sysv/linux/sh/Implies: New file.
4510 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
4511 * sysdeps/unix/sysv/linux/tile/Implies: New file.
4512 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
4513 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
4514 * nptl/Makeconfig: Moved ...
4515 * sysdeps/nptl/Makeconfig: ... here.
4516 * nptl/configure: File removed.
4517 * nptl/ANNOUNCE: File removed.
4518 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
4519 * sysdeps/unix/sysv/linux/configure: Regenerated.
4521 * nptl/Makefile (routines): Add libc_pthread_init,
4522 libc_multiple_threads, register-atfork and unregister-atfork.
4523 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
4524 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
4525 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
4526 pthread-pi-defines.sym, structsem.sym.
4527 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
4528 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
4529 [$(subdir) = nptl] (tests): Add tst-setgetname.
4530 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
4531 * sysdeps/unix/sysv/linux/sigaction.c: Just include
4532 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
4533 [!LIBC_SIGACTION]: Remove aliases.
4534 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4535 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4536 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4537 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4538 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4539 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
4540 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4541 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4542 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4543 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
4544 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
4545 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
4546 __libc_allocate_rtsig_private.
4547 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
4548 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
4549 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
4550 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4551 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
4552 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
4553 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
4554 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
4555 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
4556 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
4557 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
4558 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
4559 * nptl/internaltypes.h: ... here.
4560 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
4561 * sysdeps/nptl/jmp-unwind.c: ... here.
4562 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
4563 * nptl/libc-lowlevellock.c: ... here.
4564 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
4565 * nptl/libc_multiple_threads.c: ... here.
4566 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
4567 * nptl/libc_pthread_init.c: ... here.
4568 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
4569 * nptl/lowlevelbarrier.sym: ... here.
4570 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
4571 * nptl/lowlevelcond.sym: ... here.
4572 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
4573 * nptl/lowlevellock.c: ... here.
4574 * nptl/lowlevellock.h: Moved ...
4575 * sysdeps/nptl/lowlevellock.h: ... here.
4576 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
4577 * nptl/lowlevelrobustlock.c: ... here.
4578 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
4579 * nptl/lowlevelrobustlock.sym: ... here.
4580 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
4581 * nptl/lowlevelrwlock.sym: ... here.
4582 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
4583 * nptl/pt-fork.c: ... here.
4584 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
4585 * nptl/pthread-pi-defines.sym: ... here.
4586 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
4587 * nptl/pthread_attr_getaffinity.c: ... here.
4588 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
4589 * nptl/pthread_attr_setaffinity.c: ... here.
4590 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
4591 * nptl/pthread_mutex_cond_lock.c: ... here.
4592 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4594 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
4595 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
4596 * nptl/pthread_once.c: ... here, replacing old file.
4597 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
4598 * nptl/pthread_yield.c: ... here.
4599 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
4600 * nptl/register-atfork.c: ... here.
4601 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
4602 * nptl/sem_post.c: ... here.
4603 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
4604 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
4605 * nptl/sem_timedwait.c: ... here.
4606 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
4607 * nptl/sem_trywait.c: ... here.
4608 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
4609 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
4610 * nptl/sem_wait.c: ... here.
4611 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
4612 * nptl/structsem.sym: ... here.
4613 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
4614 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
4615 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
4616 * nptl/unregister-atfork.c: ... here.
4617 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
4618 * nptl/unwindbuf.sym: ... here.
4619 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
4620 * sysdeps/nptl/fork.c: ... here.
4621 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
4622 * sysdeps/nptl/fork.h: ... here.
4623 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
4624 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
4625 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
4626 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
4627 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
4628 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
4629 * sysdeps/unix/sysv/linux/getpid.c: ... here.
4630 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
4631 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
4632 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
4633 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
4634 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
4635 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
4636 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
4637 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
4638 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
4639 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
4640 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
4641 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
4642 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
4643 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
4644 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
4645 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
4646 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
4647 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
4648 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
4649 * sysdeps/unix/sysv/linux/raise.c: ... here.
4650 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
4651 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
4652 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
4653 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
4654 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
4655 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
4656 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
4657 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
4658 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
4659 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
4660 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
4661 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
4662 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
4663 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
4664 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
4666 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4668 * sysdeps/generic/memcopy.h: Add comment for
4669 MEMCPY_OK_FOR_FWD_MEMMOVE.
4671 2014-07-04 Will Newton <will.newton@linaro.org>
4673 * string/memchr.c: Merge from gnulib.
4674 [_LIBC]: Remove conditionals.
4675 (__ptr_t): Remove define.
4676 (LONG_MAX_32_BITS): Likewise.
4677 (LONG_MAX): Likewise.
4678 (MEMCHR): Use ANSI prototype and optimize algorithm.
4680 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
4682 2014-07-03 Roland McGrath <roland@hack.frob.com>
4684 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
4685 (lll_futex_timed_wait_bitset): Fix syscall argument count.
4687 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
4688 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
4689 in a bare environment with no <stdlib.h> installed.
4690 * sysdeps/nptl/configure: Regenerated.
4692 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
4694 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
4695 AC_EGREP_CPP for kernel header checks, so they only succeed if
4696 including <linux/version.h> actually works right.
4697 * sysdeps/unix/sysv/linux/configure: Regenerated.
4699 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
4700 value so it's not diagnosed as unused.
4702 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
4703 thing) with "ifeq ($(subdir),rt)".
4705 2014-07-03 Richard Henderson <rth@redhat.com>
4707 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
4708 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
4709 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
4711 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
4712 (math_force_eval): New.
4714 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
4715 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
4717 * sysdeps/alpha/fpu/s_round.c: Remove file.
4718 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
4720 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
4721 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
4722 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
4723 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
4724 (_dl_start, print_statistics): Likewise.
4725 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
4726 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
4728 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4729 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4730 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4731 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4732 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4733 (HP_SMALL_TIMING_AVAIL): Define.
4734 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4735 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4736 (HP_SMALL_TIMING_AVAIL): Define.
4737 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4738 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4740 * sysdeps/aarch64/hp-timing.h: New file.
4742 * sysdeps/generic/hp-timing.h: Remove dead comment.
4743 * sysdeps/generic/hp-timing-common.h: New file.
4744 * sysdeps/alpha/hp-timing.h: Include it.
4745 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
4746 * sysdeps/i386/i686/hp-timing.h: Likewise.
4747 * sysdeps/ia64/hp-timing.h: Likewise.
4748 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4749 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4750 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4751 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4752 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
4753 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
4756 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
4757 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
4758 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
4759 * elf/rtld.c (_dl_start_final): Likewise.
4760 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
4761 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4762 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4763 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4764 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4765 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4766 (HP_TIMING_DIFF_INIT): Remove.
4767 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4768 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4769 (HP_TIMING_DIFF_INIT): Remove.
4770 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4771 * sysdeps/i386/i686/hp-timing.c: Remove file.
4772 * sysdeps/x86_64/hp-timing.c: Remove file.
4773 * sysdeps/ia64/hp-timing.c: Remove file.
4774 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
4775 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
4776 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
4777 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
4779 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
4780 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
4781 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
4782 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4783 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4784 (HP_TIMING_ACCUM): Remove.
4785 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4786 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
4787 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4789 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
4790 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
4791 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
4792 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
4793 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
4794 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4795 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
4796 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4798 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
4800 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
4802 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
4804 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4806 Sync up with gettext.
4807 * intl/loadmsgcat.c: Define O_BINARY if not defined.
4808 [_MSC_VER]: Include malloc.h
4809 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
4810 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
4811 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
4812 TEMP_FAILURE_RETRY. Cast return of alloca.
4813 [!_LIBC] Call gl_rwlock_init.
4814 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
4816 2014-07-02 Roland McGrath <roland@hack.frob.com>
4818 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
4819 before checking its value.
4821 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4823 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
4825 * debug/memcpy_chk.c: Don't include pagecopy.h.
4826 * debug/mempcpy_chk.c: Likewise.
4827 * string/memcpy.c: Likewise.
4828 * string/memmove.c: Likewise.
4829 * sysdeps/powerpc/memmove.c: Likewise.
4830 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
4831 definition of PAGE_COPY_FWD_MAYBE here...
4832 * sysdeps/generic/pagecopy.h: ... from here.
4833 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
4835 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4836 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4838 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
4839 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
4841 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4842 (__libc_ifunc_impl_list): Likewise.
4843 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
4844 multiarch strcat for PPC64.
4845 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
4846 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
4848 2014-07-02 Roland McGrath <roland@hack.frob.com>
4850 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
4852 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4854 * intl/loadmsgcat.c: Remove declaration of
4855 get_sysdep_segment_value.
4856 (get_sysdep_segment_value): Use ISO C style.
4857 (_nl_load_domain): Use ISO C style. Get rid of redundant
4858 semicolon. Fix typo and formatting in comment.
4859 (_nl_unload_domain): Use ISO C style.
4861 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
4863 2014-07-02 Will Newton <will.newton@linaro.org>
4865 * malloc/obstack.c: Merge from gnulib master.
4866 [HAVE_CONFIG_H]: Remove conditional code.
4867 [!_LIBC]: Include config.h.
4868 [!ELIDE_CODE]: Don't include inttypes.h, include
4869 stdint.h unconditionally.
4870 (print_and_abort): Mark as _Noreturn.
4871 (_obstack_allocated_p): Mark as __attribute_pure__.
4872 (obstack_free): Rename to __obstack_free.
4873 [!__attribute__]: Remove conditional code.
4874 * malloc/obstack.h: Merge from gnulib master.
4875 [__cplusplus]: Move conditional down.
4876 [!__attribute_pure__]: Define __attribute_pure__ here
4877 if it is not already defined.
4878 (_obstack_memory_used): Mark as __attribute_pure__.
4879 [!__obstack_free]: Define as obstack_free.
4880 [__GNUC__]: Remove check for ancient NeXT gcc.
4882 2014-07-02 Will Newton <will.newton@linaro.org>
4883 Paul Eggert <eggert@cs.ucla.edu>
4885 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
4887 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4889 * resolv/gethnamaddr.c: Add comment warning that the file is
4892 2014-07-01 Carlos O'Donell <carlos@redhat.com>
4894 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4897 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4898 entry for aio_cancel and aio_cancel64.
4899 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
4900 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
4901 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
4902 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
4903 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
4904 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
4905 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
4906 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
4907 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
4908 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
4909 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
4910 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
4911 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
4913 2014-07-01 Roland McGrath <roland@hack.frob.com>
4915 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
4916 * nptl/pthread_mutex_lock.c: Likewise.
4917 * nptl/pthread_mutex_timedlock.c: Likewise.
4918 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
4920 2014-07-01 Richard henderson <rth@redhat.com>
4922 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
4923 (__isnan, __isnanl): Remove.
4924 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
4926 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4928 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4930 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4932 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4934 * resolv/nss_dns/dns-host.c (getanswer_r)
4935 [MULTI_PTRS_ARE_ALIASES]: Remove code.
4937 2014-07-01 Joseph Myers <joseph@codesourcery.com>
4939 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4940 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
4942 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
4943 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
4945 2014-07-01 Roland McGrath <roland@hack.frob.com>
4947 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4948 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
4950 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
4951 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
4953 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
4954 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
4956 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
4957 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4959 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4960 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4961 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4962 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4964 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4965 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4966 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4967 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4968 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4970 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4972 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4973 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4974 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4975 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4976 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
4977 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
4978 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
4979 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
4980 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
4981 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
4982 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
4983 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
4984 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
4985 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
4986 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
4987 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
4988 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
4989 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
4990 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
4991 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
4993 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
4994 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
4995 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
4996 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
4997 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
4998 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
4999 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
5000 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
5002 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
5004 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
5005 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5006 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
5009 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5013 2014-06-30 Joseph Myers <joseph@codesourcery.com>
5015 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5016 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5018 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5020 * sysdeps/arm/libm-test-ulps: Regenerated.
5022 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5023 Roland McGrath <roland@hack.frob.com>
5025 * test-skeleton.c (signal_handler): Kill the whole process group
5026 before killing the child individually.
5027 (main): Report any failure on `setpgid'.
5029 2014-06-30 Roland McGrath <roland@hack.frob.com>
5031 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
5032 from _TLS_H to _ARM_NPTL_TLS_H.
5033 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
5034 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
5036 2014-06-30 Joseph Myers <joseph@codesourcery.com>
5039 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
5040 (__expm1l): Return argument unchanged when small but not
5043 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
5045 (_FP_UNPACK_RAW_1_P): Likewise.
5046 (_FP_PACK_RAW_1): Likewise.
5047 (_FP_PACK_RAW_1_P): Likewise.
5048 (_FP_MUL_MEAT_1_wide): Likewise.
5049 (_FP_MUL_MEAT_DW_1_hard): Likewise.
5050 (_FP_MUL_MEAT_1_hard): Likewise.
5051 (_FP_DIV_MEAT_1_imm): Likewise.
5052 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
5053 (_FP_DIV_MEAT_1_udiv): Likewise.
5054 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
5055 (_FP_UNPACK_RAW_2): Likewise.
5056 (_FP_UNPACK_RAW_2_P): Likewise.
5057 (_FP_PACK_RAW_2): Likewise.
5058 (_FP_PACK_RAW_2_P): Likewise.
5059 (_FP_MUL_MEAT_DW_2_wide): Likewise.
5060 (_FP_MUL_MEAT_2_wide): Likewise.
5061 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
5062 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5063 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5064 (_FP_MUL_MEAT_2_gmp): Likewise.
5065 (_FP_DIV_MEAT_2_udiv): Likewise.
5066 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5067 (_FP_FRAC_SRL_4): Likewise.
5068 (_FP_FRAC_SRST_4): Likewise.
5069 (_FP_FRAC_SRS_4): Likewise.
5070 (_FP_UNPACK_RAW_4): Likewise.
5071 (_FP_UNPACK_RAW_4_P): Likewise.
5072 (_FP_PACK_RAW_4): Likewise.
5073 (_FP_PACK_RAW_4_P): Likewise.
5074 (_FP_MUL_MEAT_DW_4_wide): Likewise.
5075 (_FP_MUL_MEAT_4_wide): Likewise.
5076 (_FP_MUL_MEAT_4_gmp): Likewise.
5077 (umul_ppppmnnn): Likewise.
5078 (_FP_DIV_MEAT_4_udiv): Likewise.
5079 (__FP_FRAC_ADD_4): Likewise.
5080 (__FP_FRAC_SUB_3): Likewise.
5081 (__FP_FRAC_SUB_4): Likewise.
5082 (__FP_FRAC_DEC_3): Likewise.
5083 (__FP_FRAC_DEC_4): Likewise.
5084 (__FP_FRAC_ADDI_4): Likewise.
5085 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5086 (_FP_FRAC_SRL_8): Likewise.
5087 (_FP_FRAC_SRS_8): Likewise.
5089 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5091 (FP_UNPACK_RAW_EP): Likewise.
5092 (FP_PACK_RAW_E): Likewise.
5093 (FP_PACK_RAW_EP): Likewise.
5094 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5095 (_FP_ISSIGNAN): Likewise.
5096 (_FP_ADD_INTERNAL): Likewise.
5097 (_FP_FMA): Likewise.
5098 (_FP_CMP): Likewise.
5099 (_FP_SQRT): Likewise.
5100 (_FP_TO_INT): Likewise.
5101 (_FP_FROM_INT): Likewise.
5102 (FP_EXTEND): Likewise.
5103 (_FP_DIV_MEAT_N_loop): Likewise.
5105 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5107 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5110 2014-06-29 Joseph Myers <joseph@codesourcery.com>
5113 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5114 result with correct sign in case of exponents that produce
5115 overflow except for X very close to 1.
5117 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
5119 mktime: merge #if/#ifdef usage from glibc
5120 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5121 as that works with both Glibc's and Gnulib's style.
5122 See thread starting at Siddhesh Poyarekar's bug report at:
5123 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5125 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5127 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5128 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5129 * sysdeps/tile/tilegx/memmove.c: Remove file.
5131 2014-06-27 Joseph Myers <joseph@codesourcery.com>
5133 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
5134 abi-name definition.
5135 * scripts/soversions.awk: Do not handle or generate ABI lines.
5136 * shlib-versions: Remove ABI entries.
5137 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
5138 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
5140 2014-06-27 Roland McGrath <roland@hack.frob.com>
5142 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
5143 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5144 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
5145 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
5146 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
5147 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
5148 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5150 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
5152 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
5153 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
5154 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
5155 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
5156 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
5157 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
5158 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
5159 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
5160 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
5161 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
5162 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
5163 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
5164 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
5166 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
5167 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
5168 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
5169 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
5170 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
5171 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
5173 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
5174 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
5176 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
5177 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
5178 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
5179 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
5181 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
5182 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
5183 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
5184 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
5185 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
5186 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
5187 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
5188 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
5190 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
5191 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
5192 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
5193 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
5195 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
5196 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
5198 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
5199 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
5200 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
5201 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
5203 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
5205 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
5206 Identical file removed.
5207 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
5209 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
5210 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
5211 Identical file removed.
5212 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
5213 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
5214 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
5216 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
5217 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
5218 Identical file removed.
5219 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
5220 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
5221 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
5222 Identical file removed.
5223 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
5224 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
5225 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
5226 Identical file removed.
5227 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
5228 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
5229 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
5230 Identical file removed.
5231 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
5233 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
5234 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
5235 Identical file removed.
5236 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
5238 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
5239 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
5240 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
5241 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
5242 Identical file removed.
5243 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
5245 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
5247 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
5248 Identical file removed.
5249 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
5251 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
5252 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
5253 Identical file removed.
5254 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
5256 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
5257 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
5258 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
5259 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
5260 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
5261 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
5263 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
5264 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
5265 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
5267 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
5268 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
5269 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
5270 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
5271 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
5273 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
5276 * nscd/nscd.c (monitor_child): Return exit status of child
5277 instead of return value from wait syscall.
5279 2014-06-27 Joseph Myers <joseph@codesourcery.com>
5281 * configure.ac (libc_commonpagesize): Remove variable.
5282 (libc_relro_required): Likewise.
5283 (libc_cv_z_relro): Remove configure test.
5284 * configure: Regenerated.
5285 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
5287 (libc_relro_required): Likewise.
5288 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
5289 (libc_relro_required): Likewise.
5290 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
5291 (libc_relro_required): Likewise.
5292 * sysdeps/arm/preconfigure: Regenerated.
5293 * sysdeps/ia64/preconfigure: Remove file.
5294 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
5296 (libc_relro_required): Likewise.
5300 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
5301 (__ieee754_yn): Set FE_TONEAREST mode internally and then
5302 recompute overflowing results in original rounding mode.
5303 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
5304 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
5305 recompute overflowing results in original rounding mode.
5306 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
5307 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5308 recompute overflowing results in original rounding mode.
5309 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
5310 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5311 recompute overflowing results in original rounding mode.
5312 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
5313 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5314 recompute overflowing results in original rounding mode.
5315 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
5316 (libc_feholdsetround_ctx): New macro.
5317 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
5318 * sysdeps/i386/fpu/libm-test-ulps: Update.
5319 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
5321 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5323 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
5324 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
5325 corresponding .cpsetup call.
5327 2014-06-26 Roland McGrath <roland@hack.frob.com>
5329 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
5330 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
5331 * sysdeps/arm/Makefile [$(subdir) = csu]
5332 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
5333 (static-only-routines): Add aeabi_read_tp here.
5334 (shared-only-routines): Add libc-aeabi_read_tp here.
5335 (CFLAGS-libc-start.c): Add -fexceptions here.
5336 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
5337 (sysdep_routines, static-only-routines, shared-only-routines):
5338 Don't add to these here.
5339 (CFLAGS-libc-start.c): Likewise.
5341 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
5342 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5343 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
5344 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5345 * sysdeps/arm/Makefile [$(subdir) = rt]
5346 (librt-sysdep_routines, librt-shared-only-routines):
5347 Append rt-aeabi_unwind_cpp_pr1 here.
5348 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
5349 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
5350 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
5351 (libpthread-sysdep_routines, libpthread-shared-only-routines):
5352 Append nptl-aeabi_unwind_cpp_pr1 here.
5353 (tests): Filter out tst-cleanupx4 here.
5354 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
5355 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
5356 Don't do those here.
5358 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5360 * scripts/list-sources.sh: Do not handle ports specially.
5362 2014-06-26 Roland McGrath <roland@hack.frob.com>
5364 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
5365 * sysdeps/arm/feupdateenv.c: Likewise.
5367 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
5369 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5371 * manual/texinfo.tex: Update to version 2014-05-05.10 with
5372 trailing whitespace removed.
5373 * scripts/config.guess: Update to version 2014-03-23.
5374 * scripts/config.sub: Update to version 2014-05-01
5375 * scripts/install-sh: Update to version 2013-12-25.23.
5376 * scripts/move-if-change: Update from gnulib.
5378 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5380 * debug/memmove_chk.c: Remove pagecopy.h include.
5382 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
5384 * time/mktime.c (leapyear): Remove inline keyword. The code is now
5385 identical to gnulib mktime.
5387 2014-06-26 Joseph Myers <joseph@codesourcery.com>
5389 * configure.ac: Do not test for machine being rs6000. Do not test
5391 * configure: Regenerated.
5393 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
5395 * configure: Regenerated.
5396 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
5397 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
5398 Remove configure test.
5399 * sysdeps/arm/configure: Regenerated.
5400 * sysdeps/nptl/configure.ac: Do not check
5401 libc_cv_asm_cfi_directives.
5402 * sysdeps/nptl/configure: Regenerated.
5403 * sysdeps/x86_64/nptl/configure.ac: Remove file.
5404 * sysdeps/x86_64/nptl/configure: Remove generated file.
5405 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
5407 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
5409 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5411 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
5412 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
5413 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
5416 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
5417 instead of whether it is defined.
5418 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
5419 * sysdeps/hppa/dl-machine.h: Likewise.
5420 * sysdeps/ia64/dl-machine.h: Likewise.
5421 * sysdeps/m68k/dl-machine.h: Likewise.
5422 * sysdeps/microblaze/dl-machine.h: Likewise.
5423 * sysdeps/mips/dl-machine.: Likewise.
5424 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5425 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5426 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5427 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5428 * sysdeps/sh/dl-machine.h: Likewise.
5429 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5430 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5431 * sysdeps/tile/dl-machine.h: Likewise.
5432 * sysdeps/x86_64/dl-machine.h: Likewise.
5434 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
5436 (verify_persistent_db): Likewise.
5438 2014-06-26 Roland McGrath <roland@hack.frob.com>
5440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
5441 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
5442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
5443 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
5444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5446 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
5448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
5449 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
5450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
5451 Identical file removed.
5452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
5453 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
5454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
5455 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
5456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
5457 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
5458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
5459 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
5460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
5461 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
5462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5464 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
5465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
5466 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
5467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
5468 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
5469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5471 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
5472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
5473 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
5474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
5475 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
5476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5477 Identical file removed.
5478 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
5479 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
5480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
5481 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
5482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5484 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
5486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
5487 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
5488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
5489 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
5490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
5491 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
5492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
5493 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
5494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
5495 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
5496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5498 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
5499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
5501 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
5502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
5503 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
5504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5506 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
5507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
5508 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
5510 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
5512 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
5513 * sysdeps/unix/sysv/linux/s390/Versions
5514 (libpthread: GLIBC_2.19): New version set.
5515 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
5516 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
5517 (librt: GLIBC_2.3.3): New version set.
5518 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
5519 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
5520 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
5521 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
5522 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
5523 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
5524 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
5525 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
5526 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
5527 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
5528 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
5529 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
5530 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
5531 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
5532 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
5533 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
5534 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
5535 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
5536 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
5537 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
5538 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
5539 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
5540 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
5541 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
5542 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
5543 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
5544 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
5545 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
5546 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
5547 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
5548 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
5549 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
5550 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
5551 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
5552 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
5553 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
5554 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
5555 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
5556 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
5557 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
5558 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
5559 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
5560 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
5561 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
5562 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
5564 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
5565 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
5566 (__libc_vfork): Define the function under this name.
5567 [!NOT_IN_libc] (__vfork): Make this an alias.
5568 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5569 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
5570 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
5571 (__libc_vfork): Define the function under this name.
5572 [!NOT_IN_libc] (__vfork): Make this an alias.
5573 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5574 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
5575 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
5576 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
5577 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
5578 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5580 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
5581 code that was previously under [RESET_PID].
5582 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
5583 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
5584 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
5586 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
5587 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
5588 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
5589 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
5590 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
5591 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
5592 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
5593 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
5594 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
5595 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
5596 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
5598 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
5599 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
5600 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
5601 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
5602 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
5603 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
5604 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
5605 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
5606 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
5607 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
5608 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
5609 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
5610 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
5611 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
5612 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
5613 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
5614 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
5615 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
5616 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
5617 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
5618 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
5619 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
5620 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
5621 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
5622 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
5623 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
5624 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
5625 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
5626 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
5628 2014-06-25 Roland McGrath <roland@hack.frob.com>
5630 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
5631 that was previously under [RESET_PID].
5632 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
5634 2014-06-25 Joseph Myers <joseph@codesourcery.com>
5636 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
5637 not undefine and redefine.
5638 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
5639 [O_CLOEXEC]: Make code unconditional.
5640 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
5641 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
5642 <kernel-features.h>.
5643 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
5644 conditional variable definition.
5645 (shm_open) [O_CLOEXEC]: Make code unconditional.
5646 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
5649 * configure.ac (USE_REGPARMS): Don't define here.
5650 * configure: Regenerated.
5651 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
5652 * sysdeps/i386/configure: Regenerated.
5654 * nptl/createthread.c: Don't include kernel-features.h.
5655 * nptl/pthread_cancel.c: Likewise.
5656 * nptl/pthread_condattr_setclock.c: Likewise.
5657 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
5658 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
5659 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
5660 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
5661 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
5662 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
5663 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5664 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
5665 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5666 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
5667 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
5668 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
5669 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
5670 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
5671 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
5672 * nscd/gai.c: Likewise.
5673 * nss/nss_db/db-open.c: Likewise.
5674 * sysdeps/generic/ldsodefs.h: Likewise.
5675 * sysdeps/sh/nptl/tls.h: Likewise.
5676 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5677 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
5678 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
5679 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
5680 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
5681 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5682 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5683 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5684 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5685 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5686 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5687 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5688 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
5689 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
5690 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5691 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
5692 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
5693 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
5694 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
5695 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5696 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5697 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5698 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
5699 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5700 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5701 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5702 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
5703 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5704 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5705 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
5706 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
5707 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5708 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5709 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5710 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5711 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5712 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5713 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5714 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
5715 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5716 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5717 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
5718 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
5719 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5720 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
5721 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
5722 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
5723 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5724 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5725 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5726 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5727 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5728 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5729 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5730 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
5731 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5732 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5733 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
5734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
5736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
5737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
5738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
5739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
5745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
5746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
5747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
5748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
5754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5756 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5757 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5758 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
5759 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5760 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5761 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
5762 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
5763 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5764 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
5765 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5766 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
5767 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5768 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5769 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5770 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5771 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5772 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5773 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5774 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
5775 * sysdeps/unix/sysv/linux/system.c: Likewise.
5776 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
5777 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5778 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5779 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5780 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5781 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5782 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5784 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
5785 * configure: Regenerated.
5786 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
5788 * configure.ac (base_machine): Do not set specially for particular
5790 * configure: Regenerated.
5791 * sysdeps/powerpc/preconfigure: Move machine and base_machine
5792 settings from configure.ac.
5793 * sysdeps/i386/preconfigure: New file.
5794 * sysdeps/s390/preconfigure: Likewise.
5795 * sysdeps/sh/preconfigure: Likewise.
5796 * sysdeps/sparc/preconfigure: Likewise.
5798 2014-06-25 Roland McGrath <roland@hack.frob.com>
5800 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
5801 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
5802 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
5803 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
5804 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
5805 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
5806 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
5807 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
5808 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
5809 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
5810 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
5811 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
5812 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
5813 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
5814 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
5815 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
5816 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
5817 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
5818 * sysdeps/sparc/sparc64/Makefile: ... appended here.
5820 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
5821 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
5822 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
5823 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
5824 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
5825 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
5826 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
5827 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
5828 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
5829 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
5830 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
5831 * sysdeps/sparc/sparc32/sem_post.c: ... here.
5832 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
5833 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
5834 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
5835 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
5836 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
5837 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
5838 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
5839 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
5840 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
5841 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
5842 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
5843 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
5844 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
5845 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
5846 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
5847 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
5848 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
5849 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
5850 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
5851 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
5852 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
5853 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
5854 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
5855 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
5856 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
5857 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
5859 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
5860 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
5861 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
5862 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
5863 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5865 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
5867 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
5868 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
5869 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
5870 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
5871 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
5873 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
5874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
5875 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
5876 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
5877 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
5878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
5879 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
5880 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5882 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
5883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5885 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
5886 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
5887 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
5888 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5890 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
5891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
5892 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
5893 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
5894 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
5895 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
5896 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
5897 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
5898 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
5899 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5901 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
5903 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
5904 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
5905 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
5906 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
5907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
5909 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
5910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
5911 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
5912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
5913 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
5914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
5915 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
5916 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5918 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
5919 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5921 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
5922 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
5923 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
5924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5926 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
5927 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
5928 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
5929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
5930 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
5932 2014-06-25 Joseph Myers <joseph@codesourcery.com>
5934 * timezone/checktab.awk: Update from tzcode 2014e.
5935 * timezone/private.h: Likewise.
5936 * timezone/tzfile.h: Likewise.
5937 * timezone/zdump.c: Likewise.
5938 * timezone/zic.c: Likewise.
5940 * sysdeps/unix/sysv/linux/kernel-features.h
5941 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5942 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
5943 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
5944 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5945 Remove conditional code.
5947 2014-06-25 Will Newton <will.newton@linaro.org>
5949 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
5950 (_dl_arm_cap_flags): Add HWCAP2 values.
5951 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
5952 (_DL_HWCAP_COUNT): Increase to 37.
5953 (_DL_HWCAP_LAST): New define.
5954 (_DL_HWCAP2_LAST): New define.
5955 (_dl_procinfo): Add support for printing
5957 (_dl_string_hwcap): Use _dl_hwcap_string.
5959 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5963 2014-06-25 Joseph Myers <joseph@codesourcery.com>
5965 * README: Do not mention ports directory.
5967 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5969 * sysdeps/unix/sysv/linux/futimes.c: Do not include
5970 <kernel-features.h>.
5971 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5972 conditional variable definition.
5973 (__futimes): Update comment.
5974 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5975 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5978 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
5979 arguments close to 0.
5980 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
5982 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
5984 * math/auto-libm-test-in: Add more tests of exp10.
5985 * math/auto-libm-test-out: Regenerated.
5986 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5988 * sysdeps/unix/sysv/linux/kernel-features.h
5989 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5990 * sysdeps/unix/sysv/linux/readv.c: Do not include
5991 <kernel-features.h>.
5992 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5993 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5994 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5996 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5998 * sysdeps/unix/sysv/linux/writev.c: Do not include
5999 <kernel-features.h>.
6000 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6001 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6002 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6004 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6007 2014-06-25 Will Newton <will.newton@linaro.org>
6009 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
6010 comment changes throughout the file. Remove checks
6011 for HAVE_*_H definitions that are not required.
6012 (__gen_tempname): Call abort if an unknown kind value is
6015 2014-06-25 Andreas Schwab <schwab@suse.de>
6018 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
6019 scalbln, scalblnf, scalblnl in libc.
6021 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6024 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6025 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6026 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6028 2014-06-24 Roland McGrath <roland@hack.frob.com>
6030 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
6031 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
6032 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
6033 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
6035 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
6036 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
6038 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
6039 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
6040 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
6041 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
6042 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
6043 * sysdeps/x86/bits/pthreadtypes.h: ... here.
6044 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
6045 * sysdeps/x86/bits/semaphore.h: ... here.
6046 * sysdeps/x86/nptl/elide.h: Moved ...
6047 * sysdeps/x86/elide.h: ... here.
6048 * sysdeps/x86_64/nptl/Implies: File removed.
6049 * sysdeps/i386/nptl/Implies: File removed.
6051 2014-06-24 Joseph Myers <joseph@codesourcery.com>
6054 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
6055 return the argument for normal arguments with exponent below -64.
6056 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6058 * math/auto-libm-test-in: Add another test of expm1.
6059 * math/auto-libm-test-out: Regenerated.
6062 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
6063 calling __erfcl for arguments at least 16.
6064 * math/auto-libm-test-in: Add more tests of erf.
6065 * math/auto-libm-test-out: Regenerated.
6067 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6068 individual architectures.
6069 * sysdeps/unix/sysv/linux/configure: Regenerated.
6070 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6071 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6072 * sysdeps/unix/sysv/linux/powerpc/configure.ac
6073 (ldd_rewrite_script): Define variable.
6074 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6079 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6080 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6081 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6082 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6083 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6084 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6085 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6086 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6088 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6091 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6092 Rename member __data.d to __data.__elision_data.
6094 2014-06-24 Wilco <wdijkstr@arm.com>
6096 * NEWS: Add 16918 to fixed bug list.
6098 2014-06-24 Wilco <wdijkstr@arm.com>
6100 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6102 2014-06-24 Wilco <wdijkstr@arm.com>
6104 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6105 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6106 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6107 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6108 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6109 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6110 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6113 2014-06-24 Wilco <wdijkstr@arm.com>
6115 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6117 2014-06-24 Wilco <wdijkstr@arm.com>
6119 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6120 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6121 * sysdeps/arm/fesetround.c (fesetround): Remove space.
6122 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6124 2014-06-24 Wilco <wdijkstr@arm.com>
6127 * sysdeps/arm/feupdateenv.c (feupdateenv):
6128 Rewrite to reduce FPSCR accesses and fix return value.
6130 2014-06-24 Wilco <wdijkstr@arm.com>
6132 * sysdeps/arm/fclrexcpt.c (feclearexcept):
6133 Optimize to avoid unnecessary FPSCR writes.
6134 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
6135 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
6136 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
6137 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
6139 2014-06-24 Wilco <wdijkstr@arm.com>
6141 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
6142 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
6143 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6144 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
6145 Call libc_fetestexcept_vfp.
6146 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
6147 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
6148 __SOFTFP__ ifdef so that they can be built for softfp.
6150 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6152 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
6153 argument type signed char.
6155 * Makerules (check-abi): Dump diff of symlist if the test
6158 2014-06-23 Roland McGrath <roland@hack.frob.com>
6160 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
6163 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6164 Remove unused variable ST.
6166 2014-06-23 Joseph Myers <joseph@codesourcery.com>
6170 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
6171 small arguments before calling __expm1.
6172 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
6173 small arguments before calling __expm1f.
6174 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
6175 small arguments before calling __expm1l.
6176 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6178 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6179 * math/auto-libm-test-in: Add more cosh tests. Do not allow
6180 spurious underflow for some cosh tests.
6181 * math/auto-libm-test-out: Regenerated.
6182 * sysdeps/i386/fpu/libm-test-ulps: Update.
6185 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
6186 (__ieee754_y1): Set errno if return value overflows.
6187 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
6188 (__ieee754_y1f): Set errno if return value overflows.
6189 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
6190 (__ieee754_y1l): Set errno if return value overflows.
6191 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
6192 (__ieee754_y1l): Set errno if return value overflows.
6193 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
6194 * math/auto-libm-test-out: Regenerated.
6196 * math/gen-auto-libm-tests.c: Document use of
6197 ignore-zero-inf-sign.
6198 (input_flag_type): Add value flag_ignore_zero_inf_sign.
6199 (input_flags): Add ignore-zero-inf-sign.
6200 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
6201 * math/gen-libm-test.pl (generate_testfile): Handle
6202 ignore-zero-inf-sign.
6203 * math/auto-libm-test-in: Mark some cpow tests with
6204 ignore-zero-inf-sign and some with xfail-rounding.
6205 * math/auto-libm-test-out: Regenerated.
6206 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
6207 * sysdeps/i386/fpu/libm-test-ulps: Update.
6208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6211 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
6212 overflowing or underflowing operations take place with sign of
6214 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6215 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6216 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
6217 (__ieee754_pow): Recompute overflowing and underflowing results in
6218 original rounding mode.
6219 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
6220 (__powl_helper): Allow negative argument X and scale negated value
6221 as needed. Avoid passing value outside [-1, 1] to f2xm1.
6222 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
6223 overflowing or underflowing operations take place with sign of
6225 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
6227 * math/auto-libm-test-in: Add more tests of pow.
6228 * math/auto-libm-test-out: Regenerated.
6229 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
6230 (pow_tonearest_test_data): Remove.
6231 (pow_test_tonearest): Likewise.
6232 (pow_towardzero_test_data): Likewise.
6233 (pow_test_towardzero): Likewise.
6234 (pow_downward_test_data): Likewise.
6235 (pow_test_downward): Likewise.
6236 (pow_upward_test_data): Likewise.
6237 (pow_test_upward): Likewise.
6238 (main): Don't call removed functions.
6239 * sysdeps/i386/fpu/libm-test-ulps: Update.
6240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6242 2014-06-23 Roland McGrath <roland@hack.frob.com>
6244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
6246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
6247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
6250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
6253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
6256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
6262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
6264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
6266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
6268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
6270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
6274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
6278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
6280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
6282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
6283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
6285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
6287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
6289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
6290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
6292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
6293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
6295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
6296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
6298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
6299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
6301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
6302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
6304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
6305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
6307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
6308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
6309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
6311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
6313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
6314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
6320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
6329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
6332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
6333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
6334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
6338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
6342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
6345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
6348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
6351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
6354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
6358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
6361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
6364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
6367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
6370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
6371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
6372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
6375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
6378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
6382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
6386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
6390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
6393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
6396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
6399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
6403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
6407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
6411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
6414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
6418 2014-06-23 Will Newton <will.newton@linaro.org>
6419 Wilco <wdijkstr@arm.com>
6421 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
6422 implementation. Include get-rounding-mode.h.
6423 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
6424 [!libc_feholdsetround_noex_ctx]: Define
6425 libc_feholdsetround_noex_ctx.
6426 [!libc_feholdsetround_noexf_ctx]: Define
6427 libc_feholdsetround_noexf_ctx.
6428 [!libc_feholdsetround_noexl_ctx]: Define
6429 libc_feholdsetround_noexl_ctx.
6430 (libc_feholdsetround_ctx): New function.
6431 (libc_feresetround_ctx): New function.
6432 (libc_feholdsetround_noex_ctx): New function.
6433 (libc_feresetround_noex_ctx): New function.
6435 2014-06-23 Roland McGrath <roland@hack.frob.com>
6437 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
6438 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
6439 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
6440 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
6441 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
6442 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
6444 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
6445 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
6446 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
6447 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
6448 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
6449 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
6450 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
6451 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
6452 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
6453 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
6454 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
6456 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
6458 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
6459 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
6460 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
6461 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
6462 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
6464 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
6465 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
6466 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
6467 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
6468 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
6469 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
6470 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
6471 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
6473 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
6474 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
6476 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
6477 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
6478 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
6479 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
6481 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
6482 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
6483 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
6484 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
6485 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
6486 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
6487 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
6488 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
6489 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
6490 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
6492 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
6494 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
6495 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
6496 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
6497 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
6498 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
6499 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
6500 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
6501 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
6502 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
6503 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
6504 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
6505 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
6506 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
6508 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
6509 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
6510 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
6511 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
6512 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
6513 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
6515 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
6516 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
6517 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
6518 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
6519 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
6521 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
6522 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
6523 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
6524 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
6525 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
6526 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
6527 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
6528 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
6529 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
6530 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
6531 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
6532 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
6533 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
6534 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
6535 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
6536 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
6537 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
6538 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
6539 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
6540 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
6541 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
6542 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
6543 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
6544 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
6545 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
6546 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
6547 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
6548 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
6550 2014-06-23 Joseph Myers <joseph@codesourcery.com>
6552 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6553 (FALLOC_FL_COLLAPSE_RANGE): New macro.
6554 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
6555 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
6556 (IPV6_PMTUDISC_INTERFACE): Likewise.
6557 (IPV6_PMTUDISC_OMIT): Likewise.
6559 2014-06-23 Andreas Schwab <schwab@suse.de>
6561 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
6562 Remove unused errout label.
6564 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6566 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
6567 macro: hardware supports Vector Crypto instructions.
6569 2014-06-23 Will Newton <will.newton@linaro.org>
6571 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
6572 rather than __builtin_expect.
6574 * elf/dl-lookup.c (undefined_msg): Remove variable.
6575 (_dl_lookup_symbol_x): Replace undefined_msg with string
6578 * elf/dl-lookup.c (do_lookup_unique): New function.
6579 (do_lookup_x): Move STB_GNU_UNIQUE handling code
6580 to a separate function.
6582 2014-06-23 Andreas Schwab <schwab@suse.de>
6585 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
6586 before reading the next line.
6588 2014-06-23 Will Newton <will.newton@linaro.org>
6590 * test-skeleton.c (signal_handler): Use printf and %m
6591 rather than perror. Use printf rather than fprintf to
6592 stderr. Use puts rather than fputs to stderr.
6595 2014-06-22 Ludovic Courtès <ludo@gnu.org>
6597 * nscd/nscd.c (thread_info_t): Remove typedef.
6598 (thread_info): Remove variable.
6600 2014-06-21 Allan McRae <allan@archlinux.org>
6602 * NEWS: Mention CVE-2014-4043.
6604 2014-06-20 Roland McGrath <roland@hack.frob.com>
6606 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
6607 * nptl/smp.h: ... here.
6609 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
6611 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
6612 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
6613 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
6614 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
6616 * nptl/allocatestack.c: Include <stack-aliasing.h>.
6617 * nptl/stack-aliasing.h: New file.
6618 * sysdeps/i386/i686/stack-aliasing.h: New file.
6619 * sysdeps/i386/i686/nptl/Makefile: File removed.
6620 * sysdeps/x86_64/stack-aliasing.h: New file.
6621 * sysdeps/x86_64/nptl/Makefile
6622 (CFLAGS-pthread_create.c): Variable removed.
6624 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
6625 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
6627 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
6628 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
6631 2014-06-21 Joseph Myers <joseph@codesourcery.com>
6633 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6634 (__ASSUME_SIGFRAME_V2): Remove macro.
6635 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
6636 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
6637 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
6638 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
6639 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
6640 Declare as function. Remove conditional macro definitions.
6641 (__default_rt_sa_restorer): Likewise.
6642 (__default_sa_restorer_v1): Remove declaration.
6643 (__default_sa_restorer_v2): Likewise.
6644 (__default_rt_sa_restorer_v1): Likewise.
6645 (__default_rt_sa_restorer_v2): Likewise.
6646 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
6647 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
6648 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
6650 2014-06-20 Roland McGrath <roland@hack.frob.com>
6652 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
6653 (libpthread-routines): Add sysdep.
6654 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
6655 * sysdeps/unix/sysv/linux/sparc/Versions
6656 (libpthread: GLIBC_2.3.3): New version set.
6657 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
6658 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
6659 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
6660 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
6661 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
6662 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
6664 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
6665 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
6666 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
6667 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
6668 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
6669 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
6670 * sysdeps/sparc/nptl/sem_init.c: ... here.
6671 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
6672 * sysdeps/sparc/nptl/sem_post.c: ... here.
6673 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
6674 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
6675 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
6676 * sysdeps/sparc/nptl/sem_wait.c: ... here.
6677 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
6678 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
6679 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
6680 (libpthread-routines): Add cpu_relax.
6681 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
6683 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
6684 (librt: GLIBC_2.3.3): New version set.
6685 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
6686 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
6687 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
6688 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
6689 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
6690 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
6691 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
6692 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
6694 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
6695 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
6696 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
6697 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
6698 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
6699 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
6700 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
6701 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
6702 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
6703 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
6705 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
6707 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
6709 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
6711 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
6713 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
6715 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
6717 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
6719 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
6721 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
6723 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
6725 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
6727 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
6728 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
6729 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
6730 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
6731 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
6732 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
6733 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
6734 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
6735 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
6736 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
6737 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6739 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
6740 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
6741 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
6742 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
6743 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
6745 2014-06-20 Joseph Myers <joseph@codesourcery.com>
6747 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
6748 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
6749 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6750 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
6751 * nscd/nscd.c: Likewise.
6752 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6753 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6754 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6755 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6757 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
6758 <kernel-features.h>.
6759 (init_mq_netlink): Remove conditional have_sock_cloexec
6760 definitions. Remove code conditional on have_sock_cloexec < 0.
6761 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
6762 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
6763 * sysdeps/unix/sysv/linux/opensock.c: Do not include
6764 <kernel-features.h>.
6765 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
6766 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
6768 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6770 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6771 Add tests for memset_chk and memset.
6773 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
6776 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6779 * elf/tst-dl-iter-static.c: New file.
6780 * elf/Makefile (tests-static): Add tst-dl-iter-static.
6782 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
6785 2014-06-20 Joseph Myers <joseph@codesourcery.com>
6787 * sysdeps/unix/sysv/linux/kernel-features.h
6788 (__ASSUME_F_GETOWN_EX): Remove macro.
6789 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
6790 <kernel-features.h>.
6791 (miss_F_GETOWN_EX): Remove variable or macro.
6792 (do_fcntl): Do not check miss_F_GETOWN_EX.
6793 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
6795 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
6797 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
6798 [!__ASSUME_AT_RANDOM]: Remove conditional code.
6799 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
6801 * sysdeps/unix/sysv/linux/kernel-features.h
6802 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
6803 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
6804 [ADJ_OFFSET_SS_READ]: Make code unconditional.
6805 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
6807 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6810 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
6811 Fix calculation of the symbol's value.
6812 * sysdeps/arm/tst-armtlsdescloc.c: New file.
6813 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
6814 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
6815 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
6816 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
6817 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
6818 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
6819 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
6820 (modules-names): Add `tst-armtlsdescmod',
6821 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
6822 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
6823 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6824 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
6825 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
6826 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6827 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
6828 ($(objpfx)tst-armtlsdescloc): New dependency.
6829 ($(objpfx)tst-armtlsdescextnow): Likewise.
6830 ($(objpfx)tst-armtlsdescextlazy): Likewise.
6831 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
6833 * sysdeps/arm/configure: Regenerate.
6835 2014-06-20 Joseph Myers <joseph@codesourcery.com>
6837 * include/fcntl.h (__atfct_seterrno): Remove prototype.
6838 (__atfct_seterrno_2): Likewise.
6839 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
6840 <kernel-features.h>.
6841 (__ASSUME_ATFCTS): Do not undefine and redefine.
6842 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
6843 (__have_atfcts): Remove conditional definition.
6844 (__fxstatat([__NR_fstatat64]: Make code unconditional.
6845 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
6846 unreachable if [__ASSUME_ATFCTS].
6847 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
6848 not undefine and redefine.
6849 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
6850 <kernel-features.h>.
6851 (faccessat) [__NR_faccessat]: Make code unconditional.
6852 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
6853 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
6854 <kernel-features.h>.
6855 (fchmodat) [__NR_fchmodat]: Make code unconditional.
6856 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6857 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
6858 <kernel-features.h>.
6859 (fchownat) [__NR_fchownat]: Make code unconditional.
6860 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
6861 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
6862 <kernel-features.h>.
6863 (futimesat) [__NR_futimesat]: Make code unconditional.
6864 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
6865 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6866 <kernel-features.h>.
6867 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6868 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6869 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6870 <kernel-features.h>.
6871 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
6872 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6873 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
6874 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6875 <kernel-features.h>.
6876 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
6877 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6878 * sysdeps/unix/sysv/linux/linkat.c: Do not include
6879 <kernel-features.h>.
6880 (linkat) [__NR_linkat]: Make code unconditional.
6881 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6882 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
6883 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
6884 <kernel-features.h>.
6885 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
6886 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6887 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
6888 <kernel-features.h>.
6889 (mkdirat) [__NR_mkdirat]: Make code unconditional.
6890 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
6891 * sysdeps/unix/sysv/linux/openat.c: Do not include
6892 <kernel-features.h>.
6893 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
6894 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
6895 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
6896 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
6897 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
6898 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
6899 <kernel-features.h>.
6900 (readlinkat) [__NR_readlinkat]: Make code unconditional.
6901 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
6902 result of INLINE_SYSCALL directly, not via int variable.
6903 * sysdeps/unix/sysv/linux/renameat.c: Do not include
6904 <kernel-features.h>.
6905 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
6906 (renameat) [__NR_renameat]: Make code unconditional.
6907 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
6908 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
6909 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
6910 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
6911 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
6912 (__ASSUME_ATFCTS): Do not undefine and redefine.
6913 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
6914 <kernel-features.h>.
6915 (symlinkat) [__NR_symlinkat]: Make code unconditional.
6916 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6917 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
6918 <kernel-features.h>.
6919 (unlinkat) [__NR_unlinkat]: Make code unconditional.
6920 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6921 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
6922 (__ASSUME_ATFCTS): Do not undefine and redefine.
6923 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6924 <kernel-features.h>.
6925 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6926 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6927 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6928 <kernel-features.h>.
6929 (__xmknodat) [__NR_mknodat]: Make code unconditional.
6930 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6932 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6934 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
6936 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
6939 * posix/regcomp.c (parse_reg_exp): Deallocate partially
6940 constructed tree before returning error.
6941 * posix/bug-regexp36.c: Expand test case.
6943 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
6946 * math/libm-test.inc (scalbln_test_date):
6947 Add errno expectations.
6948 * math/w_scalblnf.c: New File.
6949 Add wrapper which checks for setting errno to ERANGE.
6950 Add weak_alias for corresponding scalbln function.
6951 * math/w_scalbln.c: Likewise.
6952 * math/w_scalblnl.c: Likewise.
6953 * math/Makefile (libm-calls): Add w_scalbln.
6954 * sysdeps/ieee754/flt-32/s_scalblnf.c:
6955 Remove weak_alias for corresponding scalbln function.
6956 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6957 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6958 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6959 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6960 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6961 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6962 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6963 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6964 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6965 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6966 Remove long_double_symbol for scalblnl function in libm, libc.
6967 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6968 Add wrapper which checks for setting errno to ERANGE.
6969 Add long_double_symbol for scalblnl function in libm, libc.
6970 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6971 Remove long_double_symbol for scalblnl in libm.
6972 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
6973 Add wrapper which checks for setting errno to ERANGE.
6974 Add long_double_symbol for scalblnl function in libm.
6975 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6976 Do not use wrapper because of own implementation.
6978 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
6980 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
6981 3 bytes for __pad1 for x32.
6982 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
6984 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
6985 H.J. Lu <hongjiu.lu@intel.com>
6987 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
6988 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
6989 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6990 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6991 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6993 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
6996 * posix/regcomp.c (parse_expression): Deallocate partially
6997 constructed tree before returning error.
6998 * posix/Makefile.c (tests): Add bug-regex36.
6999 (generated): Add bug-regex36.mtrace.
7000 (tests-special): Add $(objpfx)bug-regex36-mem.out
7001 (bug-regex36-ENV): New variable.
7002 ($(objpfx)bug-regex36-mem.out): New rule.
7003 * posix/bug-regex36.c: New file.
7005 2014-06-19 Will Newton <will.newton@linaro.org>
7007 * malloc/malloc.c (systrim): If extra is zero then return
7010 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7012 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
7014 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
7016 * sysdeps/aarch64/strchr.S: New file.
7018 2014-06-18 Joseph Myers <joseph@codesourcery.com>
7021 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
7022 from arguments -2 or below.
7023 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7024 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7026 2014-06-18 Andreas Schwab <schwab@suse.de>
7029 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
7030 of a bracket expr not to run off the end of the string.
7031 * posix/Makefile (tests): Add tst-fnmatch3.
7032 * posix/tst-fnmatch3.c: New file.
7034 2014-06-18 Joseph Myers <joseph@codesourcery.com>
7036 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
7037 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7038 [$(cross-compiling) = no]: Likewise.
7039 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7040 [$(cross-compiling) = no]: Likewise.
7042 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7045 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
7046 double, adjusted for any remainder from the high double.
7047 * math/libm-test.inc (nearbyint): Add tests.
7050 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7052 * nptl/sysdeps/powerpc/Makefile: Moved ...
7053 * sysdeps/powerpc/nptl/Makefile: ... here.
7054 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
7055 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
7056 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
7057 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
7058 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
7059 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
7060 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
7061 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
7062 * nptl/sysdeps/powerpc/tls.h: Moved ...
7063 * sysdeps/powerpc/nptl/tls.h: ... here.
7065 2014-06-16 Joseph Myers <joseph@codesourcery.com>
7068 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7069 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7070 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7071 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7072 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7073 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7074 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7075 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7076 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7078 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
7080 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7082 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
7084 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7087 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7090 2014-06-16 Florian Weimer <fweimer@redhat.com>
7093 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7094 non-executed part of the test.
7096 2014-06-16 Andreas Schwab <schwab@suse.de>
7098 * string/bits/string2.h (strdup, strndup): Update feature guard.
7100 2014-06-14 David S. Miller <davem@davemloft.net>
7102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7104 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
7106 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7107 that was previously under [RESET_PID].
7108 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7110 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7111 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7112 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7113 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7114 (__libc_vfork): New strong alias.
7115 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7117 2014-06-14 Andi Kleen <ak@linux.intel.com>
7119 * sysdeps/generic/elide.h: New file.
7121 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7123 * Makefile (installed-headers): Adjust path of pthread.h header.
7125 2014-06-13 Roland McGrath <roland@hack.frob.com>
7127 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7128 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7129 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
7130 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7132 * nptl/sysdeps/s390/Makefile: Moved ...
7133 * sysdeps/s390/nptl/Makefile: ... here.
7134 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
7135 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
7136 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
7137 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
7138 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
7139 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
7140 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
7141 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
7142 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
7143 * sysdeps/s390/nptl/pthreaddef.h: ... here.
7144 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
7145 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
7146 * nptl/sysdeps/s390/tls.h: Moved ...
7147 * sysdeps/s390/nptl/tls.h: ... here.
7149 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
7150 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
7152 2014-06-13 David S. Miller <davem@davemloft.net>
7154 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
7155 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
7156 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
7157 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
7158 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
7159 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
7160 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
7161 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
7162 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
7163 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
7164 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
7165 Remove RESET_PID cpp guards.
7166 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
7167 Remove RESET_PID cpp guards.
7168 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
7170 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
7172 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
7175 2014-06-13 Andi Kleen <ak@linux.intel.com>
7177 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
7178 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
7179 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
7180 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7181 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
7182 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
7183 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
7184 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
7185 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
7186 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
7187 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
7188 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
7189 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
7190 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
7191 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
7192 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
7193 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
7194 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
7195 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
7196 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
7198 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
7199 (pthread_rwlock_rdlock): Add elision.
7200 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
7201 (pthread_rwlock_wrlock): Add elision.
7202 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
7203 (pthread_rwlock_trywrlock): Add elision.
7204 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
7205 (pthread_rwlock_tryrdlock): Add elision.
7206 * nptl/pthread_rwlock_unlock.c: Include elide.h.
7207 (pthread_rwlock_tryrdlock): Add elision unlock.
7208 * nptl/sysdeps/pthread/pthread.h:
7209 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
7210 (PTHREAD_RWLOCK_INITIALIZER,
7211 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
7212 Handle new elision field.
7213 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
7214 * sysdeps/arm/nptl/bits/pthreadtypes.h
7215 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7216 * sysdeps/sh/nptl/bits/pthreadtypes.h
7217 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7218 * sysdeps/tile/nptl/bits/pthreadtypes.h
7219 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7220 * sysdeps/a/nptl/bits/pthreadtypes.h
7221 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7222 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7223 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7224 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7225 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7226 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
7227 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7228 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7229 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7230 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7231 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7232 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7233 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7234 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7235 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7236 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
7237 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7238 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
7239 (elision_init): Set try_xbegin to zero when no RTM.
7240 * sysdeps/x86/nptl/bits/pthreadtypes.h
7241 (pthread_rwlock_t): Change __pad1 to __rwelision.
7242 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7244 2014-06-13 Andi Kleen <ak@linux.intel.com>
7246 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
7247 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
7248 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
7249 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
7251 2014-06-13 Meador Inge <meadori@codesourcery.com>
7254 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
7255 that the cached result has been set before returning it.
7257 2014-06-12 Roland McGrath <roland@hack.frob.com>
7259 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
7260 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
7261 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
7262 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
7263 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
7264 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
7266 * nptl/sysdeps/sparc/Makefile: Moved ...
7267 * sysdeps/sparc/nptl/Makefile: ... here.
7268 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
7269 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
7270 * nptl/sysdeps/sparc/tls.h: Moved ...
7271 * sysdeps/sparc/nptl/tls.h: ... here.
7272 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
7273 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
7274 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
7275 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
7276 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
7277 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
7278 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
7279 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
7280 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
7281 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
7282 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
7283 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
7284 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
7285 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
7286 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
7287 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
7288 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
7289 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
7291 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
7292 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
7294 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
7295 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
7297 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
7298 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
7301 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7303 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
7304 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
7306 * sysdeps/pthread/posix-timer.h: Include <list.h>.
7307 (struct list_links): Type removed.
7308 (struct thread_node, struct timer_node): Replace struct list_links
7309 with struct list_head.
7310 (list_unlink_ip): Likewise.
7311 * sysdeps/pthread/timer_routines.c
7312 (timer_free_list, thread_free_list, thread_active_list): Likewise.
7313 (list_append, list_insbefore): Likewise.
7314 (list_init): Function removed.
7315 (thread_init, init_module): Use INIT_LIST_HEAD instead.
7316 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
7317 * sysdeps/pthread/Makefile: ... here, new file.
7319 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
7320 * sysdeps/nptl/Implies: ... here.
7321 * sysdeps/unix/sysv/linux/Implies: Add nptl.
7322 * nptl/sysdeps/pthread/list.h: Moved ...
7323 * include/list.h: ... here.
7324 * nptl/sysdeps/pthread/createthread.c: Moved ...
7325 * nptl/createthread.c: ... here.
7326 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
7327 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
7328 * nptl/pt-longjmp.c: ... here.
7329 * nptl/sysdeps/pthread/Makefile: Moved ...
7330 * sysdeps/nptl/Makefile: ... here.
7331 * nptl/sysdeps/pthread/Subdirs: Moved ...
7332 * sysdeps/nptl/Subdirs: ... here.
7333 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
7334 * sysdeps/nptl/aio_misc.h: ... here.
7335 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
7336 * sysdeps/nptl/bits/libc-lock.h: ... here.
7337 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
7338 * sysdeps/nptl/bits/libc-lockP.h: ... here.
7339 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
7340 * sysdeps/nptl/bits/stdio-lock.h: ... here.
7341 * nptl/sysdeps/pthread/configure: Moved ...
7342 * sysdeps/nptl/configure: ... here.
7343 * nptl/sysdeps/pthread/configure.ac: Moved ...
7344 * sysdeps/nptl/configure.ac: ... here.
7345 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
7346 * sysdeps/nptl/gai_misc.h: ... here.
7347 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
7348 * sysdeps/nptl/librt-cancellation.c: ... here.
7349 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
7350 * sysdeps/nptl/malloc-machine.h: ... here.
7351 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
7352 * sysdeps/nptl/pthread-functions.h: ... here.
7353 * nptl/sysdeps/pthread/pthread.h: Moved ...
7354 * sysdeps/nptl/pthread.h: ... here.
7355 * nptl/sysdeps/pthread/setxid.h: Moved ...
7356 * sysdeps/nptl/setxid.h: ... here.
7357 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
7358 * sysdeps/nptl/sigfillset.c: ... here.
7359 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
7360 * sysdeps/nptl/tcb-offsets.h: ... here.
7361 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
7362 * sysdeps/nptl/tst-mqueue8x.c: ... here.
7363 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
7364 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
7365 * nptl/sysdeps/pthread/allocalim.h: Moved ...
7366 * sysdeps/pthread/allocalim.h: ... here.
7367 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
7368 * sysdeps/pthread/bits/sigthread.h: ... here.
7369 * nptl/sysdeps/pthread/flockfile.c: Moved ...
7370 * sysdeps/pthread/flockfile.c: ... here.
7371 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
7372 * sysdeps/pthread/ftrylockfile.c: ... here.
7373 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
7374 * sysdeps/pthread/funlockfile.c: ... here.
7375 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
7376 * sysdeps/pthread/posix-timer.h: ... here.
7377 * nptl/sysdeps/pthread/timer_create.c: Moved ...
7378 * sysdeps/pthread/timer_create.c: ... here.
7379 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
7380 * sysdeps/pthread/timer_delete.c: ... here.
7381 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
7382 * sysdeps/pthread/timer_getoverr.c: ... here.
7383 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
7384 * sysdeps/pthread/timer_gettime.c: ... here.
7385 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
7386 * sysdeps/pthread/timer_routines.c: ... here.
7387 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
7388 * sysdeps/pthread/timer_settime.c: ... here.
7389 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
7390 * sysdeps/pthread/tst-timer.c: ... here.
7391 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
7392 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
7394 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
7395 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
7397 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
7398 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
7399 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
7400 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
7401 Update #include target.
7402 * nptl/sysdeps/i386/i686/Makefile: Moved ...
7403 * sysdeps/i386/i686/nptl/Makefile: ... here.
7404 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
7405 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
7406 Update #include target.
7407 * nptl/sysdeps/i386/i686/tls.h: Moved ...
7408 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
7409 * nptl/sysdeps/i386/Makefile: Moved ...
7410 * sysdeps/i386/nptl/Makefile: ... here.
7411 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
7412 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
7413 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
7414 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
7415 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
7416 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
7417 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
7418 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
7419 * sysdeps/i386/nptl/pthreaddef.h: ... here.
7420 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
7421 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
7422 * nptl/sysdeps/i386/tls.h: Moved ...
7423 * sysdeps/i386/nptl/tls.h: ... here.
7425 * sysdeps/sh/Makefile [$(subdir) = csu]
7426 (gen-as-const-headers): Add tcb-offsets.sym.
7427 * nptl/sysdeps/sh/Makefile: File removed.
7428 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
7429 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
7430 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
7431 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
7432 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
7433 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
7434 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
7435 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
7436 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
7437 * sysdeps/sh/nptl/pthreaddef.h: ... here.
7438 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
7439 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
7440 * nptl/sysdeps/sh/tls.h: Moved ...
7441 * sysdeps/sh/nptl/tls.h: ... here.
7442 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
7443 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
7444 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
7445 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
7446 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
7447 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
7448 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
7449 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
7450 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
7451 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
7452 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
7453 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
7454 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
7455 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
7456 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
7457 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
7458 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
7459 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
7460 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
7461 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
7462 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
7463 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
7464 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
7465 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
7466 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
7468 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
7469 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
7471 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
7472 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
7473 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
7474 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
7475 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
7476 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
7477 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
7478 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
7479 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
7480 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
7481 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
7482 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
7483 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
7484 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
7485 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
7486 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
7487 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
7488 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
7489 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
7491 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7493 * posix/spawn_faction_addopen.c: Include string.h.
7495 2014-06-11 Roland McGrath <roland@hack.frob.com>
7497 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
7498 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
7499 * nptl/sysdeps/x86_64/Makefile: Moved ...
7500 * sysdeps/x86_64/nptl/Makefile: ... here.
7501 * nptl/sysdeps/x86_64/configure: Moved ...
7502 * sysdeps/x86_64/nptl/configure: ... here.
7503 * nptl/sysdeps/x86_64/configure.ac: Moved ...
7504 * sysdeps/x86_64/nptl/configure.ac: ... here.
7505 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
7506 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
7507 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
7508 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
7509 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
7510 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
7511 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
7512 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
7513 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
7514 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
7515 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
7516 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
7517 * nptl/sysdeps/x86_64/tls.h: Moved ...
7518 * sysdeps/x86_64/nptl/tls.h: ... here.
7519 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
7520 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
7521 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
7522 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
7524 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
7526 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7530 2014-06-11 Joseph Myers <joseph@codesourcery.com>
7532 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
7534 [POSIX] (off_t): Likewise.
7535 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
7536 [POSIX] (S_ISBLK): Require macro.
7537 [POSIX] (S_ISCHR): Likewise.
7538 [POSIX] (S_ISDIR): Likewise.
7539 [POSIX] (S_ISFIFO): Likewise.
7540 [POSIX] (S_ISREG): Likewise.
7541 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
7543 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
7545 [POSIX] (time_t): Likewise.
7546 [POSIX] (timer_t): Likewise.
7548 2014-06-11 Florian Weimer <fweimer@redhat.com>
7551 * posix/spawn_int.h (struct __spawn_action): Make the path string
7552 non-const to support deallocation.
7553 * posix/spawn_faction_addopen.c
7554 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
7555 * posix/spawn_faction_destroy.c
7556 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
7557 path in all spawn_do_open actions.
7558 * posix/tst-spawn.c (do_test): Exercise the copy operation in
7559 posix_spawn_file_actions_addopen.
7561 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
7563 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
7564 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
7565 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
7566 conditional code always true.
7567 (__libc_vfork): New alias.
7569 2014-06-11 Roland McGrath <roland@hack.frob.com>
7571 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7572 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
7574 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
7576 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7577 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
7579 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7580 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
7582 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7583 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
7585 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7587 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
7588 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
7589 multiarch strcmp for PPC64.
7590 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
7591 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
7592 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
7593 multiarch optimizations.
7594 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7595 (__libc_ifunc_impl_list): Likewise.
7597 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7599 * benchtests/scripts/validate_benchout.py: New script.
7600 * benchtests/Makefile (bench-func): Call it.
7601 * benchtests/scripts/benchout.schema.json: New file.
7603 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
7605 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
7606 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
7607 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
7608 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
7609 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
7610 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
7611 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
7612 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
7613 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
7614 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
7615 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
7616 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
7617 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
7618 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
7619 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
7620 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
7621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
7623 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
7625 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
7627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
7628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
7630 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
7632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
7634 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
7636 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
7638 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
7639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
7641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
7643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
7645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
7647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
7649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
7650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
7652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
7654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
7656 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
7658 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
7660 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
7662 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
7664 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
7665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
7667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
7669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
7671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
7673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
7675 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
7677 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
7679 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
7680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
7682 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
7684 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
7686 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
7688 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
7690 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
7691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
7693 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
7695 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
7697 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
7698 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
7700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
7701 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
7703 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
7705 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
7707 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
7709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
7711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
7713 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
7715 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
7716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
7718 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
7720 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
7722 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
7724 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
7725 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
7726 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
7727 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
7728 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
7730 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
7732 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
7733 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
7734 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
7735 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
7736 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
7737 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
7738 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
7739 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
7740 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
7741 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
7742 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
7743 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
7744 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
7746 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
7747 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
7749 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
7750 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
7751 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
7752 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
7754 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
7755 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
7756 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
7757 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
7758 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
7759 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
7760 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
7762 2014-06-10 Wilco <wdijkstr@arm.com>
7764 * math/test-fenv-return.c: New file.
7765 * math/Makefile: Add new test test-fenv-return.
7767 2014-06-10 Joseph Myers <joseph@codesourcery.com>
7770 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
7772 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
7773 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7774 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
7775 0.0L for an argument of 1.0L.
7776 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7778 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
7779 value when x - 1 is zero.
7780 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
7781 * sysdeps/i386/fpu/libm-test-ulps: Update.
7782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7784 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
7787 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
7789 2014-06-09 Roland McGrath <roland@hack.frob.com>
7791 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
7792 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
7794 2014-06-09 Roland McGrath <roland@hack.frob.com>
7796 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7797 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
7799 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7800 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
7802 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7803 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
7805 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7806 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
7808 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
7809 if not already defined.
7810 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
7811 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
7812 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
7813 (TLS_INIT_TP): Use it.
7814 (TLS_DEFINE_INIT_TP): New macro.
7815 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
7817 2014-06-09 Joseph Myers <joseph@codesourcery.com>
7819 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
7821 [POSIX] (IXANY): Likewise.
7822 [POSIX] (OLCUC): Likewise.
7823 [POSIX || POSIX2008] (CBAUD): Do not allow.
7824 [POSIX || POSIX2008] (DEFECHO): Likewise.
7825 [POSIX || POSIX2008] (ECHOCTL): Likewise.
7826 [POSIX || POSIX2008] (ECHOKE): Likewise.
7827 [POSIX || POSIX2008] (ECHOPRT): Likewise.
7828 [POSIX || POSIX2008] (EXTA): Likewise.
7829 [POSIX || POSIX2008] (EXTB): Likewise.
7830 [POSIX || POSIX2008] (FLUSHO): Likewise.
7831 [POSIX || POSIX2008] (LOBLK): Likewise.
7832 [POSIX || POSIX2008] (PENDIN): Likewise.
7833 [POSIX || POSIX2008] (SWTCH): Likewise.
7834 [POSIX || POSIX2008] (VDISCARD): Likewise.
7835 [POSIX || POSIX2008] (VDSUSP): Likewise.
7836 [POSIX || POSIX2008] (VLNEXT): Likewise.
7837 [POSIX || POSIX2008] (VREPRINT): Likewise.
7838 [POSIX || POSIX2008] (VSTATUS): Likewise.
7839 [POSIX || POSIX2008] (VWERASE): Likewise.
7840 (B*): Change to B[0123456789]*.
7841 * conform/data/time.h-data [POSIX || UNIX98]
7842 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
7843 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7844 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
7845 [POSIX] (tm_*): Do not allow.
7847 2014-06-07 Joseph Myers <joseph@codesourcery.com>
7849 * Makefile (install): Don't set LANGUAGE.
7850 * Makefile.in (install): Likewise.
7851 * assert/Makefile (test-assert-ENV): Remove variable.
7852 (test-assert-perr-ENV): Likewise.
7853 * elf/Makefile (neededtest4-ENV): Likewise.
7854 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7855 [$(cross-compiling) = no]: Don't set LANGUAGE.
7856 * io/ftwtest-sh (LANG): Remove variable.
7857 * libio/Makefile (tst-widetext-ENV): Likewise.
7858 * manual/install.texi (Running make install): Don't refer to
7859 environment settings for make install.
7860 * INSTALL: Regenerated.
7861 * nptl/tst-tls6.sh: Don't set LANG.
7862 * posix/globtest.sh (LANG): Remove variable.
7863 * string/Makefile (tester-ENV): Likewise.
7864 (inl-tester-ENV): Likewise.
7865 (noinl-tester-ENV): Likewise.
7866 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7867 [$(cross-compiling) = no]: Don't set LANGUAGE.
7868 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
7869 without explicit environment settings.
7871 2014-06-06 Roland McGrath <roland@hack.frob.com>
7873 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
7874 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
7875 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
7876 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
7878 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
7880 * crypt/crypt-private.h [DOS]: Add some includes taken from the
7881 other files in the crypt directory.
7882 * crypt/crypt.c: Remove duplicate includes.
7883 * crypt/crypt-entry.c: Likewise.
7884 * crypt/crypt_util.c: Likewise.
7886 2014-06-06 Joseph Myers <joseph@codesourcery.com>
7888 * Makeconfig (run-program-env): New variable.
7889 (run-program-prefix-before-env): Likewise.
7890 (run-program-prefix-after-env): Likewise.
7891 (run-program-prefix): Define in terms of new variables.
7892 (built-program-cmd-before-env): New variable.
7893 (built-program-cmd-after-env): Likewise.
7894 (built-program-cmd): Define in terms of new variables.
7895 (test-program-prefix-before-env): New variable.
7896 (test-program-prefix-after-env): Likewise.
7897 (test-program-prefix): Define in terms of new variables.
7898 (test-program-cmd-before-env): New variable.
7899 (test-program-cmd-after-env): Likewise.
7900 (test-program-cmd): Define in terms of new variables.
7901 * Rules (make-test-out): Use $(run-program-env).
7902 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
7903 (help): Do not mention environment variables. Mention
7904 --timeoutfactor option.
7905 (timeoutfactor): New variable.
7906 (blacklist_exports): Remove function.
7907 (exports): Remove variable.
7908 (command): Do not include ${exports}.
7909 * manual/install.texi (Configuring and compiling): Do not mention
7910 test wrappers preserving environment variables. Mention that last
7911 assignment to a variable must take precedence.
7912 * INSTALL: Regenerated.
7913 * benchtests/Makefile (run-bench): Use $(run-program-env).
7914 * catgets/Makefile ($(objpfx)test1.cat): Use
7915 $(built-program-cmd-before-env), $(run-program-env) and
7916 $(built-program-cmd-after-env).
7917 ($(objpfx)test2.cat): Do not specify environment variables
7919 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
7920 $(run-program-env) and $(built-program-cmd-after-env).
7921 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
7922 $(run-program-env) and $(test-program-cmd-after-env).
7923 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
7925 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
7926 run_program_env and test_program_cmd_after_env arguments.
7927 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
7928 * elf/tst-pathopt.sh: Use run_program_env argument.
7929 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
7930 $(test-wrapper-env) and $(run-program-env).
7931 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
7932 run_program_env arguments.
7933 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
7934 * intl/Makefile ($(objpfx)tst-gettext.out): Use
7935 $(test-program-prefix-before-env), $(run-program-env) and
7936 $(test-program-prefix-after-env).
7937 ($(objpfx)tst-gettext2.out): Likewise.
7938 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
7939 run_program_env and test_program_prefix_after_env arguments.
7940 * intl/tst-gettext2.sh: Likewise.
7941 * intl/tst-gettext4.sh: Do not set environment variables
7943 * intl/tst-gettext6.sh: Likewise.
7944 * intl/tst-translit.sh: Likewise.
7945 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
7946 $(test-program-prefix-before-env), $(run-program-env) and
7947 $(test-program-prefix-after-env).
7948 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
7949 run_program_env and test_program_prefix_after_env arguments.
7950 * math/Makefile (run-regen-ulps): Use $(run-program-env).
7951 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
7952 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
7953 explicitly with each use of ${test_wrapper_env}.
7954 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
7955 $(test-program-prefix-before-env), $(run-program-env) and
7956 $(test-program-prefix-after-env).
7957 * posix/tst-getconf.sh: Do not set environment variables
7959 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7960 run_program_env and test_program_prefix_after_env arguments.
7961 * stdio-common/tst-printf.sh: Do not set environment variables
7963 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7964 $(test-program-prefix-before-env), $(run-program-env) and
7965 $(test-program-prefix-after-env).
7966 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7967 run_program_env and test_program_prefix_after_env arguments.
7968 Split $test calls into $test_pre and $test.
7969 * timezone/Makefile (build-testdata): Use
7970 $(built-program-cmd-before-env), $(run-program-env) and
7971 $(built-program-cmd-after-env).
7973 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7975 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7976 strlen for non SHARED builds.
7978 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7980 * nptl/allocatestack.c (check_list): Inlined function...
7981 (__reclaim_stacks): ... here.
7983 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
7986 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7989 2014-06-05 Joseph Myers <joseph@codesourcery.com>
7991 * Rules (make-test-out): Include
7992 LOCPATH=$(common-objpfx)localedata in default environment.
7993 * debug/Makefile (tst-chk1-ENV): Remove variable.
7994 (tst-chk2-ENV): Likewise.
7995 (tst-chk3-ENV): Likewise.
7996 (tst-chk4-ENV): Likewise.
7997 (tst-chk5-ENV): Likewise.
7998 (tst-chk6-ENV): Likewise.
7999 (tst-lfschk1-ENV): Likewise.
8000 (tst-lfschk2-ENV): Likewise.
8001 (tst-lfschk3-ENV): Likewise.
8002 (tst-lfschk4-ENV): Likewise.
8003 (tst-lfschk5-ENV): Likewise.
8004 (tst-lfschk6-ENV): Likewise.
8005 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
8006 (tst-iconv7-ENV): Likewise.
8007 * intl/Makefile (LOCPATH-ENV): Likewise.
8008 (tst-codeset-ENV): Likewise.
8009 (tst-gettext3-ENV): Likewise.
8010 (tst-gettext5-ENV): Likewise.
8011 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
8012 (tst-fopenloc-ENV): Likewise.
8013 (tst-fgetws-ENV): Remove variable.
8014 (tst-ungetwc1-ENV): Likewise.
8015 (tst-ungetwc2-ENV): Likewise.
8016 (bug-ungetwc2-ENV): Likewise.
8017 (tst-swscanf-ENV): Likewise.
8018 (bug-ftell-ENV): Likewise.
8019 (tst-fgetwc-ENV): Likewise.
8020 (tst-fseek-ENV): Likewise.
8021 (tst-ftell-partial-wide-ENV): Likewise.
8022 (tst-ftell-active-handler-ENV): Likewise.
8023 (tst-ftell-append-ENV): Likewise.
8024 * posix/Makefile (tst-fnmatch-ENV): Likewise.
8025 (tst-regexloc-ENV): Likewise.
8026 (bug-regex1-ENV): Likewise.
8027 (tst-regex-ENV): Likewise.
8028 (tst-regex2-ENV): Likewise.
8029 (bug-regex5-ENV): Likewise.
8030 (bug-regex6-ENV): Likewise.
8031 (bug-regex17-ENV): Likewise.
8032 (bug-regex18-ENV): Likewise.
8033 (bug-regex19-ENV): Likewise.
8034 (bug-regex20-ENV): Likewise.
8035 (bug-regex22-ENV): Likewise.
8036 (bug-regex23-ENV): Likewise.
8037 (bug-regex25-ENV): Likewise.
8038 (bug-regex26-ENV): Likewise.
8039 (bug-regex30-ENV): Likewise.
8040 (bug-regex32-ENV): Likewise.
8041 (bug-regex33-ENV): Likewise.
8042 (bug-regex34-ENV): Likewise.
8043 (bug-regex35-ENV): Likewise.
8044 (tst-rxspencer-ENV): Likewise.
8045 (tst-rxspencer-no-utf8-ENV): Likewise.
8046 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
8047 (tst-sscanf-ENV): Likewise.
8048 (tst-swprintf-ENV): Likewise.
8049 (tst-swscanf-ENV): Likewise.
8050 (test-vfprintf-ENV): Likewise.
8051 (scanf13-ENV): Likewise.
8052 (bug14-ENV): Likewise.
8053 (tst-grouping-ENV): Likewise.
8054 * stdlib/Makefile (tst-strtod-ENV): Likewise.
8055 (tst-strtod3-ENV): Likewise.
8056 (tst-strtod4-ENV): Likewise.
8057 (tst-strtod5-ENV): Likewise.
8058 (testmb2-ENV): Likewise./
8059 * string/Makefile (tst-strxfrm-ENV): Likewise.
8060 (tst-strxfrm2-ENV): Likewise.
8061 (bug-strcoll1-ENV): Likewise.
8062 (test-strcasecmp-ENV): Likewise.
8063 (test-strncasecmp-ENV): Likewise.
8064 * time/Makefile (tst-strptime-ENV): Likewise.
8065 (tst-ftime_l-ENV): Likewise.
8066 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8067 (tst-mbrtowc-ENV): Likewise.
8068 (tst-wcrtomb-ENV): Likewise.
8069 (tst-mbrtowc2-ENV): Likewise.
8070 (tst-c16c32-1-ENV): Likewise.
8071 (tst-mbsnrtowcs-ENV): Likewise.
8073 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
8075 * manual/resource.texi (How to get information about the memory
8076 subsystem?): Fix typo.
8077 Reported by Peon de la Parra Ivan <peon@keba.com>
8079 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
8082 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8083 (pthread_spin_lock): Branch out of spin loop to proper location.
8084 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8085 (pthread_spin_lock): Likewise.
8087 * nptl/tst-spin4.c: New test.
8088 * nptl/Makefile (tests): Add tst-spin4.
8090 2014-06-03 Andreas Schwab <schwab@suse.de>
8093 * resolv/res_send.c (send_dg): Reload file descriptor after
8096 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
8098 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8100 2014-06-03 Richard Henderson <rth@redhat.com>
8102 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8103 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8104 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8105 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
8106 in the SAVE_PID block.
8107 (__libc_vfork): New alias.
8108 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
8110 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8111 child in registers, not on the stack. Remove RESET_PID conditionals.
8112 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8114 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
8116 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8118 2014-06-03 Wilco <wdijkstr@arm.com>
8120 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8121 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8122 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8123 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8124 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8127 2014-06-03 Wilco <wdijkstr@arm.com>
8129 * sysdeps/aarch64/fpu/math_private.h
8130 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
8131 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
8132 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
8133 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8136 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8138 * crypt/crypt-private.h: Include ufc-crypt.h.
8139 (__b64_from_24bit): Declare extern.
8140 * crypt/crypt_util.c(__b64_from_24bit): New function.
8141 (b64t): New static const variable.
8142 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8143 (b64t): Remove variable.
8144 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
8145 * crypt/sha256-crypt.c: Include crypt-private.h.
8146 (b64t): Remove variable.
8147 (__sha256_crypt_r): Remove b64_from_24bit and replace
8148 with __b64_from_24bit.
8149 * crypt/sha512-crypt.c: Likewise.
8151 2014-06-02 Roland McGrath <roland@hack.frob.com>
8153 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
8154 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
8155 Label the code __libc_vfork rather than __vfork.
8156 [!NOT_IN_libc] (vfork): Define as weak alias.
8157 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8158 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
8159 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
8161 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8163 * malloc/malloc.c (malloc_info): Fix format specifier for
8166 2014-06-02 Wilco <wdijkstr@arm.com>
8168 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
8171 2014-06-02 Wilco <wdijkstr@arm.com>
8174 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
8175 Rewrite to reduce FPCR/FPSR accesses.
8177 2014-06-01 David S. Miller <davem@davemloft.net>
8179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8181 2014-05-31 David S. Miller <davem@davemloft.net>
8183 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8184 to occur in round to nearest mode when |x| >= 2.0
8186 2014-05-30 Richard Henderson <rth@twiddle.net>
8188 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
8189 (PSEUDO_RET_NOERRNO): Remove.
8190 (ret): Don't redefine.
8191 (ret_NOERRNO): Define in terms of ret.
8192 (ret_ERRVAL): Likewise.
8194 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
8195 use of PSEUDO_RET; perform the error check directly.
8197 2014-05-30 Marko Myllynen <myllynen@redhat.com>
8199 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
8202 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8204 * malloc/malloc (malloc_info): Fix formatting.
8206 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8207 Roland McGrath <roland@hack.frob.com>
8209 * malloc/malloc (malloc_info): Also print mmapped statistics.
8211 2014-05-30 Roland McGrath <roland@hack.frob.com>
8213 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
8214 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
8216 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
8218 * malloc/malloc.c (malloc_info): Inline mi_arena.
8220 2014-05-29 Richard Henderson <rth@twiddle.net>
8222 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8223 Remove comma before expanding ASM_ARGS_##nr.
8224 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
8225 Make _x0 a strict output; make _x8 a strict input; adjust expansion
8227 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
8228 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
8229 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
8230 (ASM_ARGS_1): Add leading comma.
8232 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
8233 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
8234 to __errno_location.
8235 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
8236 Remove the expected plt for __errno_location.
8238 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8239 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
8242 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8243 Always allocate 64 bytes of stack frame. Use ldp/stp to create
8244 it and break it down.
8245 (DOCARGS_0, DOCARGS_1): Do nothing.
8246 (DOCARGS_2): Update to store into the new stack frame.
8247 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
8248 (UNDOCARGS_1): Update to restore from the new stack frame.
8249 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
8250 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
8252 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8253 (SINGLE_THREAD_P): New parameter for result regno.
8254 (PSEUDO): Update to match; use cbz instead of beq.
8256 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8257 Use ENTRY to define the _nocancel entry point. Share the syscall
8258 and syscall error check paths with the cancel path.
8261 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
8262 whitespace; tabs before and after asm mnemonics.
8264 2014-05-29 Eric Wong <normalperson@yhbt.net>
8267 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8268 Call fstat64 or stat64 internally, depending on arguments passed.
8269 Replace stat buffer argument with file descriptor argument.
8270 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
8271 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8272 Pass fd to __internal_statvfs instead of calling fstat64.
8273 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
8274 Pass fd to __internal_statvfs64 instead of calling fstat64.
8275 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
8276 Pass -1 to __internal_statvfs instead of calling stat64.
8277 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
8278 Pass -1 to __internal_statvfs64 instead of calling stat64.
8280 2014-05-28 Roland McGrath <roland@hack.frob.com>
8282 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
8283 that was previously under [RESET_PID].
8284 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
8286 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
8287 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
8289 2014-05-27 Roland McGrath <roland@hack.frob.com>
8291 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
8293 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
8294 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
8296 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
8298 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
8300 2014-05-27 Andreas Schwab <schwab@suse.de>
8302 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
8304 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8305 * elf/rtld.c (init_tls, dl_main): Likewise.
8306 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
8307 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
8308 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
8309 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
8310 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
8311 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
8312 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
8313 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
8314 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
8315 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
8316 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
8317 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
8318 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
8319 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
8320 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
8321 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
8322 * sysdeps/generic/tls.h: Update description.
8324 2014-05-27 Will Newton <will.newton@linaro.org>
8327 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
8328 and restore r2 rather than just restoring.
8330 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8333 * libio/tst-ftell-append.c: New test case.
8334 * libio/Makefile (tests): Add test case.
8335 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
8337 * libio/wfileops.c (do_ftell_wide): Likewise.
8339 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8343 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
8345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
8346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8347 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
8348 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
8349 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
8350 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
8351 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
8352 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
8353 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
8356 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
8359 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
8360 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
8361 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
8362 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
8363 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
8365 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
8366 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
8368 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
8370 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
8372 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
8373 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
8374 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
8376 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
8377 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
8378 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
8379 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
8381 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
8383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
8384 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
8386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
8387 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
8389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
8390 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
8394 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
8397 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
8401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
8402 conditional [RESET_PID].
8403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8404 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
8406 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
8409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
8411 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8412 (__libc_vfork): New strong alias.
8413 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
8415 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
8418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
8420 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
8421 (__libc_vfork): New strong alias.
8422 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
8424 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
8427 2014-05-26 Carlos O'Donell <carlos@redhat.com>
8429 * malloc/malloc.c (mi_arena): New function.
8430 (malloc_info): Remove nested function mi_arena. Call non-nosted
8433 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8435 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
8437 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
8438 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
8439 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
8440 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
8441 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
8442 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
8443 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
8445 2014-05-26 Andreas Schwab <schwab@suse.de>
8448 * locale/programs/repertoire.c (repertoire_read): Add slash
8449 between I18NPATH element and file name.
8450 * locale/programs/locfile.c (locfile_read): Likewise.
8452 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8454 * nptl/pthread_mutexattr_settype.c
8455 (__pthread_mutexattr_settype):
8456 Disable lock elision for PTHREAD_MUTEX_NORMAL.
8458 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8460 * nptl/tst-mutex5 (do_test):
8461 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
8463 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8465 * benchtests/README: Document 'init' directive.
8466 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
8468 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
8469 (parse_file): Recognize 'init' directive.
8471 2014-05-26 Kyle McMartin <kyle@redhat.com>
8474 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
8475 alignment of struct pthread.
8477 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8480 * nscd/netgroupcache.c (addgetnetgrentX): Look for
8481 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8482 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
8483 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8485 2014-05-25 Richard Henderson <rth@twiddle.net>
8487 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8488 (SINGLE_THREAD_P_PIC): Remove.
8489 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
8490 (SINGLE_THREAD_P_PIC): Remove.
8492 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
8493 branch to syscall error ...
8495 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
8496 from __local_syscall_error to .Lsyscall_error.
8497 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
8498 (SYSCALL_ERROR): Update label name.
8500 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8501 Do not use DOARGS/UNDOARGS.
8502 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
8503 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
8504 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
8505 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
8506 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
8508 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
8511 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
8512 define if !NOT_IN_libc.
8513 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
8514 define with non-default symbol versions.
8516 2014-05-23 Richard Henderson <rth@twiddle.net>
8518 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
8519 (vfork, __vfork): Define via compat_symbol.
8521 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
8522 [!HAVE_IFUNC] (vfork_compat): Remove.
8523 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
8525 2014-05-23 Joseph Myers <joseph@codesourcery.com>
8528 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
8529 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
8532 2014-05-23 Richard Henderson <rth@twiddle.net>
8534 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
8535 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
8536 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
8537 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
8539 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
8540 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
8541 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
8542 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
8543 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
8544 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
8545 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
8546 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
8547 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
8548 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
8549 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
8550 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
8551 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
8552 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
8553 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
8554 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
8555 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
8556 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
8557 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
8558 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
8559 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
8560 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
8561 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
8562 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
8563 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
8564 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
8565 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
8566 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
8567 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
8568 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
8569 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
8570 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
8571 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
8572 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
8573 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
8574 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
8575 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
8576 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
8577 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
8578 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
8579 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
8580 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
8581 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
8582 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
8583 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
8584 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
8585 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
8586 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
8587 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
8588 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
8589 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
8590 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
8591 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
8592 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
8593 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
8594 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
8596 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
8597 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
8598 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
8599 before exiting on error.
8600 (__libc_vfork): New strong alias.
8601 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
8602 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
8604 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
8605 that was previously under [RESET_PID].
8606 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
8608 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
8610 2014-05-23 Joseph Myers <joseph@codesourcery.com>
8613 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
8614 value when x - 1 is zero.
8615 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
8616 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
8617 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
8618 0.0L for an argument of 1.0L.
8619 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
8621 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
8622 value when x - 1 is zero.
8623 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
8624 * sysdeps/i386/fpu/libm-test-ulps: Update.
8625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8627 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
8629 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
8630 alphasort and versionsort.
8632 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8634 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
8636 [copysignf]: Likewise.
8638 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8640 * crypt/md5-crypt.c: Fix formatting.
8642 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8644 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
8645 (b64_from_24bit): New function.
8647 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8649 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
8650 libc_hidden_builtin_def to ifunc.
8651 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8652 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
8654 2014-05-21 Roland McGrath <roland@hack.frob.com>
8656 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
8657 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
8659 2014-05-21 Joseph Myers <joseph@codesourcery.com>
8661 * nscd/Depend (linuxthreads): Remove.
8663 * resolv/Depend (linuxthreads): Remove.
8664 * rt/Depend (linuxthreads): Remove.
8666 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
8667 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
8668 $(common-objpfx)elf/.
8669 (link-libc-before-gnulib): Likewise.
8670 (elfobjdir): Remove variable.
8671 * Makefile (install): Use $(elf-objpfx) instead of
8672 $(common-objpfx)elf/.
8673 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
8675 (link-libc-deps): Likewise.
8676 ($(common-objpfx)libc.so): Likewise.
8677 ($(common-objpfx)linkobj/libc.so): Likewise.
8678 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
8679 instead of $(common-objpfx)elf/.
8680 (symbolic-link-list): Likewise.
8681 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8682 [$(cross-compiling) = no]: Likewise.
8683 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
8685 (static-gnulib-arch): Likewise.
8686 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8687 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
8688 $(common-objpfx)elf/.
8690 2014-05-21 Richard Henderson <rth@redhat.com>
8692 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8693 (SINGLE_THREAD_P): Use the correct width load. Fold
8694 into the ldr offset.
8696 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
8697 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
8699 2014-05-20 Joseph Myers <joseph@codesourcery.com>
8701 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
8702 (libgcc_s_resume): Use __attribute_used__.
8703 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
8706 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8708 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
8709 optimization when used with float constants.
8711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8713 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
8716 * locale/nl_langinfo_l.c: Make direct reference to every
8717 _nl_current_CATEGORY symbol.
8718 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
8719 (tests-static): Add tst-langinfo-static.
8720 (tests-special): Add tst-langinfo-static.out.
8721 ($(objpfx)tst-langinfo.out): Redirect output.
8722 ($(objpfx)tst-langinfo-static.out): New.
8723 * localedata/tst-langinfo.sh: Send output to stdout.
8724 * localedata/tst-langinfo-static.c: New file.
8727 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
8728 when the shift amount is modulo the limb size.
8730 2014-05-20 Richard Henderson <rth@redhat.com>
8733 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
8734 Change type of sa_flags from unsigned int to int.
8737 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
8739 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
8741 2014-05-20 Will Newton <will.newton@linaro.org>
8743 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8744 Test the return value of the system call in the nocancel case.
8746 2014-05-20 Will Newton <will.newton@linaro.org>
8747 Yvan Roux <yvan.roux@linaro.org>
8749 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
8750 #include of asm/ptrace.h.
8751 (PTRACE_GET_THREAD_AREA): Remove #undef.
8752 (PTRACE_GETHBPREGS): Likewise.
8753 (PTRACE_SETHBPREGS): Likewise.
8754 (struct user_regs_struct): New structure.
8755 (struct user_fpsimd_struct): New structure.
8756 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
8757 #include of asm/ptrace.h and second #include of sys/user.h.
8758 (PTRACE_GET_THREAD_AREA): Remove #undef.
8759 (PTRACE_GETHBPREGS): Likewise.
8760 (PTRACE_SETHBPREGS): Likewise.
8761 (ELF_NGREG): Use new struct user_regs_struct.
8762 (elf_fpregset_t): Use new struct user_fpsimd_struct.
8764 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8766 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
8767 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
8769 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
8772 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
8773 membar to avoid block loads/stores to overlap previous stores.
8775 2014-05-17 Richard Henderson <rth@redhat.com>
8777 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
8778 Create the __##syscall_name##_nocancel entry point.
8779 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
8780 Remove; let the sysdep-cancel.h code create it.
8782 2014-05-17 David S. Miller <davem@davemloft.net>
8784 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
8785 Protect with __USE_GNU.
8786 (TIOCSET_TEMPT): Likewise.
8787 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8788 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
8789 these are already provided in bits/ioctl-types.h
8791 2014-05-16 Roland McGrath <roland@hack.frob.com>
8793 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
8794 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
8796 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
8797 Use wait4 regardless of [__NR_waitpid].
8799 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8802 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8803 (_FP_NANSIGN_Q): Set the quiet bit.
8805 2014-05-16 Joseph Myers <joseph@codesourcery.com>
8807 * benchtests/Makefile
8808 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
8809 not $(common-objpfx)math/libm.so.
8810 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
8811 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
8812 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
8813 $(common-objpfx)dlfcn/libdl.so.
8814 ($(objpfx)tst-audit8): Depend on $(libm), not
8815 $(common-objpfx)math/libm.so.
8816 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
8817 not $(common-objpfx)dlfcn/libdl.so.
8819 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8820 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
8821 [$(build-shared) = yes].
8822 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
8823 $(common-objpfx)nptl/libpthread.so.
8824 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
8825 $(common-objpfx)math/libm.so$(libm.so-version) or
8826 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
8827 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
8828 $(common-objpfx)dlfcn/libdl.so.
8829 * setjmp/Makefile (link-libm): Remove variable.
8830 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
8831 * stdio-common/Makefile (link-libm): Remove variable.
8832 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
8833 * stdlib/Makefile (link-libm): Remove variable.
8834 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
8835 ($(objpfx)tst-strtod-round): Likewise.
8836 ($(objpfx)tst-tininess): Likewise.
8837 ($(objpfx)tst-strtod-underflow): Likewise.
8838 ($(objpfx)tst-strtod6): Likewise.
8839 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
8840 $(libdl), not $(common-objpfx)nptl/libpthread.so and
8841 $(common-objpfx)dlfcn/libdl.so.
8843 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8845 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
8846 BSD terminal modes definitions.
8848 2014-05-16 Roland McGrath <roland@hack.frob.com>
8850 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
8851 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
8853 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
8854 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
8855 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
8856 Don't do #include_next.
8857 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
8858 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
8859 Don't do #include_next.
8860 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
8861 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
8862 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
8863 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
8865 2014-05-16 Allan McRae <allan@archlinux.org>
8867 * po/sv.po: Update Swedish translation from translation project.
8869 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
8872 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
8875 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
8876 errno if the TIOCGPTN ioctl fails with an error different than
8878 * login/tst-ptsname.c: New file.
8879 * login/Makefile (tests): Add tst-ptsname.
8882 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
8885 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8888 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
8889 herrno to return EAI_AGAIN.
8891 2014-05-14 Roland McGrath <roland@hack.frob.com>
8893 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
8894 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
8895 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
8896 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
8897 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
8898 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
8899 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
8900 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
8901 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
8902 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
8903 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
8904 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
8905 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
8906 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
8907 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
8908 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
8909 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
8910 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
8911 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
8912 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
8913 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
8914 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
8915 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
8916 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
8917 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
8918 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
8919 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
8920 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
8921 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
8922 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
8923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
8924 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
8925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
8926 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
8927 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8929 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
8930 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
8931 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
8932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
8933 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
8934 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
8935 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
8936 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
8937 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
8938 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
8939 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
8940 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
8941 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
8942 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
8943 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
8944 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
8945 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
8946 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
8947 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
8948 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
8949 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
8950 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
8951 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
8952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
8953 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
8954 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
8955 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
8956 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8958 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8960 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8962 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8964 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8966 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8968 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8970 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8972 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8974 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8976 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
8977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8979 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
8980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
8981 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
8983 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
8984 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
8985 (libpthread-sysdep_routines): Add elision-related stuff here instead.
8986 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
8987 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
8988 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
8989 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
8990 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
8991 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
8992 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
8993 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
8994 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
8995 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
8996 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
8997 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
8998 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
8999 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
9000 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
9001 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
9002 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
9003 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
9004 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
9005 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
9006 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
9007 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
9008 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
9009 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
9010 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
9011 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
9012 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
9013 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
9015 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
9016 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
9018 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
9019 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
9020 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
9021 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
9022 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9023 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9025 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9026 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9028 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
9029 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9031 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
9032 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
9034 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
9035 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
9036 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
9037 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9039 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
9040 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
9041 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
9042 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
9043 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
9044 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
9045 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
9046 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9048 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
9049 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9051 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9053 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
9054 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
9055 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
9056 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
9057 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9059 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9061 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
9063 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9064 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9065 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9066 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9067 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9068 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9070 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9071 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9073 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9074 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9076 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9077 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9079 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9080 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9081 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9082 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9084 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9085 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9086 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9087 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9088 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9089 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9090 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9091 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9093 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9094 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9096 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9098 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9099 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9100 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9101 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9102 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9104 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9106 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9108 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9109 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9110 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9111 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9112 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9113 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9114 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9115 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9116 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9117 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9119 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9120 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9122 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9123 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9125 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9126 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9128 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9129 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
9130 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
9131 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
9132 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
9133 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9135 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
9136 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
9137 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
9138 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
9139 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
9140 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
9141 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
9142 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9144 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
9145 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9147 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9149 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
9150 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
9151 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
9152 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
9153 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9155 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9157 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
9159 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
9160 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
9161 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
9162 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
9163 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
9164 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
9165 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
9166 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
9167 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
9168 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
9169 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
9171 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
9172 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
9174 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
9175 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
9177 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
9178 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
9179 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9180 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
9181 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
9182 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
9183 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
9184 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
9185 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
9186 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
9187 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
9188 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
9189 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
9190 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
9191 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
9192 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
9193 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
9194 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
9196 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
9197 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
9198 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
9199 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
9201 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
9202 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
9203 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
9204 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
9205 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
9206 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
9207 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
9208 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
9210 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
9211 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
9213 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
9214 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
9215 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
9216 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
9217 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
9218 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
9219 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
9220 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
9221 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
9222 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
9223 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
9224 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
9225 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
9226 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
9227 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
9228 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
9229 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
9231 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
9232 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
9233 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
9234 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
9235 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
9237 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
9238 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
9239 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
9240 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
9241 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
9242 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
9243 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
9244 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
9245 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
9246 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
9248 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
9249 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
9251 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
9252 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
9253 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
9254 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
9255 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
9256 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
9257 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
9258 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
9259 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
9260 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
9261 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
9262 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
9263 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
9264 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
9265 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
9267 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
9269 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9271 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9273 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9275 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
9277 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
9279 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9281 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
9283 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
9285 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
9286 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
9287 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
9288 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
9289 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
9290 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
9291 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
9292 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
9293 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
9294 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
9295 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
9296 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
9297 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
9298 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
9299 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
9301 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
9302 that was previously under [RESET_PID].
9303 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9304 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
9305 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
9307 * sysdeps/i386/nptl/Implies: New file.
9308 * sysdeps/x86_64/nptl/Implies: New file.
9309 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
9310 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
9311 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
9312 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
9314 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
9315 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9316 (__libc_vfork): New strong alias.
9317 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
9318 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
9320 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
9321 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9322 (__libc_vfork): New strong alias.
9323 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
9324 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
9326 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
9327 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9328 (__libc_vfork): New strong alias.
9329 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
9330 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
9331 * nptl/pt-vfork.c: New file.
9332 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
9333 (libpthread: GLIBC_2.20): New version set (empty).
9335 2014-05-14 Will Newton <will.newton@linaro.org>
9337 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
9340 2014-05-14 Joseph Myers <joseph@codesourcery.com>
9343 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
9344 arguments with exponent 65 or above.
9345 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
9346 arguments 0x1p113L or above.
9347 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
9348 to arguments 0x1p107L or above.
9349 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
9350 positive arguments with exponent 65 or above.
9351 * math/auto-libm-test-in: Add more tests of log1p.
9352 * math/auto-libm-test-out: Regenerated.
9355 * math/s_cacos.c (__cacos): Ensure zero real part of result from
9356 non-finite arguments is +0.
9357 * math/s_cacosf.c (__cacosf): Likewise.
9358 * math/s_cacosl.c (__cacosl): Likewise.
9359 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
9360 * sysdeps/i386/fpu/libm-test-ulps: Update.
9361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9364 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
9366 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9367 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
9368 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
9369 for explicit high bit of mantissa when testing for argument equal
9371 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
9372 * sysdeps/i386/fpu/libm-test-ulps: Update.
9373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9376 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
9377 (__erf): Scale by 16 instead of 8 in potentially underflowing
9378 case. Ensure exception if result actually underflows.
9379 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
9380 (__erff): Scale by 16 instead of 8 in potentially underflowing
9381 case. Ensure exception if result actually underflows.
9382 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
9383 (efx8): Remove variable.
9384 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9385 case. Ensure exception if result actually underflows.
9386 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
9387 (efx8): Remove variable.
9388 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9389 case. Ensure exception if result actually underflows.
9390 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
9391 (efx8): Remove variable.
9392 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9393 case. Ensure exception if result actually underflows.
9394 * math/auto-libm-test-in: Add more tests of erf.
9395 * math/auto-libm-test-out: Regenerated.
9397 2014-05-14 Andreas Schwab <schwab@suse.de>
9399 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
9400 Remove code conditionalized on USE___THREAD.
9402 * config.h.in (HAVE_PT_CHOWN): Define as 0.
9403 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
9406 2014-05-14 Joseph Myers <joseph@codesourcery.com>
9408 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
9409 Define unconditionally.
9410 (__ASSUME_O_CLOEXEC): Likewise.
9411 (__ASSUME_SOCK_CLOEXEC): Likewise.
9412 (__ASSUME_IN_NONBLOCK): Likewise.
9413 (__ASSUME_PIPE2): Likewise.
9414 (__ASSUME_EVENTFD2): Likewise.
9415 (__ASSUME_SIGNALFD4): Likewise.
9416 (__ASSUME_DUP3): Likewise.
9417 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9418 (__ASSUME_DUP3): Do not define.
9419 (__ASSUME_EVENTFD2): Likewise.
9420 (__ASSUME_IN_NONBLOCK): Likewise.
9421 (__ASSUME_O_CLOEXEC): Likewise.
9422 (__ASSUME_PIPE2): Likewise.
9423 (__ASSUME_SIGNALFD4): Likewise.
9424 (__ASSUME_SOCK_CLOEXEC): Likewise.
9425 (__ASSUME_UTIMES): Undefine.
9426 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9427 (__ASSUME_UTIMES): Do not define.
9428 (__ASSUME_O_CLOEXEC): Likewise.
9429 (__ASSUME_SOCK_CLOEXEC): Likewise.
9430 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
9431 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
9433 (__ASSUME_PIPE2): Likewise.
9434 (__ASSUME_EVENTFD2): Likewise.
9435 (__ASSUME_SIGNALFD4): Likewise.
9436 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
9437 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
9439 (__ASSUME_EVENTFD2): Likewise.
9440 (__ASSUME_SIGNALFD4): Likewise.
9441 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9442 (__ASSUME_32BITUIDS): Likewise.
9443 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9444 (__ASSUME_IPC64): Likewise.
9445 (__ASSUME_ST_INO_64_BIT): Likewise.
9446 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
9447 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
9448 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9449 (__ASSUME_UTIMES): Do not define.
9450 (__ASSUME_PSELECT): Likewise.
9451 (__ASSUME_PPOLL): Likewise.
9452 (__ASSUME_O_CLOEXEC): Likewise.
9453 (__ASSUME_SOCK_CLOEXEC): Likewise.
9454 (__ASSUME_IN_NONBLOCK): Likewise.
9455 (__ASSUME_PIPE2): Likewise.
9456 (__ASSUME_EVENTFD2): Likewise.
9457 (__ASSUME_SIGNALFD4): Likewise.
9458 (__ASSUME_DUP3): Likewise.
9459 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9460 (__ASSUME_UTIMES): Likewise.
9461 (__ASSUME_O_CLOEXEC): Likewise.
9462 (__ASSUME_SOCK_CLOEXEC): Likewise.
9463 (__ASSUME_IN_NONBLOCK): Likewise.
9464 (__ASSUME_PIPE2): Likewise.
9465 (__ASSUME_EVENTFD2): Likewise.
9466 (__ASSUME_SIGNALFD4): Likewise.
9467 (__ASSUME_DUP3): Likewise.
9468 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9469 (__ASSUME_UTIMES): Likewise.
9470 (__ASSUME_O_CLOEXEC): Likewise.
9471 (__ASSUME_SOCK_CLOEXEC): Likewise.
9472 (__ASSUME_IN_NONBLOCK): Likewise.
9473 (__ASSUME_PIPE2): Likewise.
9474 (__ASSUME_EVENTFD2): Likewise.
9475 (__ASSUME_SIGNALFD4): Likewise.
9476 (__ASSUME_DUP3): Likewise.
9477 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
9479 (__ASSUME_UTIMES): Likewise.
9480 (__ASSUME_EVENTFD2): Likewise.
9481 (__ASSUME_SIGNALFD4): Likewise.
9482 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9483 (__ASSUME_O_CLOEXEC): Likewise.
9484 (__ASSUME_SOCK_CLOEXEC): Likewise.
9485 (__ASSUME_IN_NONBLOCK): Likewise.
9486 (__ASSUME_PIPE2): Likewise.
9487 (__ASSUME_EVENTFD2): Likewise.
9488 (__ASSUME_SIGNALFD4): Likewise.
9489 (__ASSUME_DUP3): Likewise.
9490 (__ASSUME_UTIMES): Undefine.
9492 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
9493 feclearexcept. Remove symbol versioning code.
9494 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
9495 symbol versioning code.
9496 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
9497 symbol versioning code.
9498 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
9499 feupdateenv. Remove symbol versioning code.
9500 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
9501 fegetexceptflag. Remove symbol versioning code.
9502 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
9503 fesetexceptflag. Remove symbol versioning code.
9504 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
9505 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
9506 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
9507 (__posix_fadvise64_l32): Remove prototype.
9508 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
9511 2014-05-13 Roland McGrath <roland@hack.frob.com>
9513 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
9514 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
9515 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
9516 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
9518 2014-05-13 Sami Kerola <kerolasa@iki.fi>
9520 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
9521 current working directory
9523 2014-05-13 Roland McGrath <roland@hack.frob.com>
9525 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
9526 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
9527 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
9528 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
9529 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
9530 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
9531 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
9532 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
9533 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
9534 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
9535 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
9536 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
9537 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
9538 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
9539 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
9540 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
9541 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
9542 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
9543 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
9544 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
9545 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
9546 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
9547 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
9548 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
9549 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
9550 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
9551 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
9552 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
9553 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
9554 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
9555 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
9556 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
9557 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
9558 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
9559 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
9560 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
9561 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
9562 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
9563 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
9564 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
9565 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
9566 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
9568 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
9569 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
9571 * sysdeps/unix/sysv/linux/arm/Makefile
9572 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9573 Add rt-aeabi_unwind_cpp_pr1.
9574 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
9575 Add nptl-aeabi_unwind_cpp_pr1.
9576 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
9577 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
9578 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
9579 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9580 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
9581 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9583 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
9584 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
9585 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
9586 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
9588 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
9589 Deconditionalize the code that was previously under [RESET_PID].
9590 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
9592 * sysdeps/generic/exit-thread.h: New file.
9593 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
9594 * include/unistd.h (__exit_thread): Remove declaration.
9595 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
9596 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
9597 * csu/libc-start.c: Include <exit-thread.h>.
9598 (LIBC_START_MAIN): Pass no argument to __exit_thread.
9599 * nptl/pthread_create.c: Include <exit-thread.h>.
9600 (start_thread): Call __exit_thread in place of __exit_thread_inline.
9601 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
9602 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
9603 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
9604 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
9605 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
9606 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
9607 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
9608 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
9609 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
9610 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
9611 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
9612 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
9613 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
9614 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
9615 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
9616 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
9618 2014-05-13 Andreas Schwab <schwab@suse.de>
9620 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
9622 2014-05-12 Joseph Myers <joseph@codesourcery.com>
9624 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9625 (__ASSUME_UTIMES): Do not condition on kernel version.
9626 (__ASSUME_PSELECT): Define unconditionally.
9627 (__ASSUME_PPOLL): Likewise.
9628 (__ASSUME_ATFCTS): Likewise.
9629 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
9630 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
9631 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
9632 (__ASSUME_UTIMENSAT): Define unconditionally.
9633 (__ASSUME_PRIVATE_FUTEX): Likewise.
9634 (__ASSUME_FALLOCATE): Likewise.
9635 (__ASSUME_O_CLOEXEC): Likewise.
9636 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
9637 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
9638 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
9639 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
9640 (__ASSUME_IN_NONBLOCK): Likewise.
9641 (__ASSUME_PIPE2): Likewise.
9642 (__ASSUME_EVENTFD2): Likewise.
9643 (__ASSUME_SIGNALFD4): Likewise.
9644 (__ASSUME_DUP3): Likewise.
9645 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9646 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
9647 (__ASSUME_AT_RANDOM): Likewise.
9648 (__ASSUME_PREADV): Likewise.
9649 (__ASSUME_PWRITEV): Likewise.
9650 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
9651 (__ASSUME_F_GETOWN_EX): Define unconditionally.
9652 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
9653 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9654 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
9655 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9656 (__ASSUME_O_CLOEXEC): Define unconditionally.
9657 (__ASSUME_PSELECT): Do not undefine conditionally.
9658 (__ASSUME_PPOLL): Likewise.
9659 (__ASSUME_ATFCTS): Likewise.
9660 (__ASSUME_SET_ROBUST_LIST): Likewise.
9661 (__ASSUME_UTIMENSAT): Likewise.
9662 (__ASSUME_FDATASYNC): Define unconditionally.
9663 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9664 (__ASSUME_SIGFRAME_V2): Likewise.
9665 )__ASSUME_EVENTFD2): Likewise.
9666 (__ASSUME_SIGNALFD4): Likewise.
9667 (__ASSUME_PSELECT): Do not undefine conditionally.
9668 (__ASSUME_PPOLL): Likewise.
9669 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9670 (__ASSUME_PSELECT): Define unconditionally.
9671 (__ASSUME_PPOLL): Likewise.
9672 (__ASSUME_O_CLOEXEC): Likewise.
9673 (__ASSUME_SOCK_CLOEXEC): Likewise.
9674 (__ASSUME_IN_NONBLOCK): Likewise.
9675 (__ASSUME_PIPE2): Likewise.
9676 (__ASSUME_EVENTFD2): Likewise.
9677 (__ASSUME_SIGNALFD4): Likewise.
9678 (__ASSUME_DUP3): Likewise.
9679 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9680 (__ASSUME_O_CLOEXEC): Likewise.
9681 (__ASSUME_SOCK_CLOEXEC): Likewise.
9682 (__ASSUME_IN_NONBLOCK): Likewise.
9683 (__ASSUME_PIPE2): Likewise.
9684 (__ASSUME_EVENTFD2): Likewise.
9685 (__ASSUME_SIGNALFD4): Likewise.
9686 (__ASSUME_DUP3): Likewise.
9687 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9688 (__ASSUME_EVENTFD2): Likewise.
9689 (__ASSUME_SIGNALFD4): Likewise.
9690 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9692 2014-05-12 Andreas Schwab <schwab@suse.de>
9695 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
9696 (_nss_nis_gethostbyname4_r): Return error if item length is larger
9697 than maximum RPC packet size.
9698 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
9699 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
9700 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
9701 (_nss_nis_getservbyport_r): Likewise.
9703 2014-05-12 Will Newton <will.newton@linaro.org>
9705 * malloc/Makefile (tests): Add tst-mallopt.
9706 * malloc/tst-mallopt.c: New file.
9708 2014-05-09 Roland McGrath <roland@hack.frob.com>
9710 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
9711 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
9713 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9715 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
9716 (tst-tlsmod6.so): Likewise.
9718 2014-05-09 Roland McGrath <roland@hack.frob.com>
9720 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
9722 2014-05-09 Joseph Myers <joseph@codesourcery.com>
9725 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
9726 and <dl-procinfo.h>.
9727 (__fegetenv): Save SSE state in envp->__eip if supported.
9728 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
9729 envp->__eip if supported.
9730 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
9731 and <dl-procinfo.h>.
9732 (__fesetenv): Always set __eip, __cs_selector, __opcode,
9733 __data_offset and __data_selector in environment to 0. Set SSE
9735 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9737 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
9739 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
9741 2014-05-09 Will Newton <will.newton@linaro.org>
9743 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
9744 and libc_relro_required for ARM.
9745 * sysdeps/arm/preconfigure: Regenerate.
9747 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
9748 Stefan Liebler <stli@linux.vnet.ibm.com>
9750 * config.make.in (enable-lock-elision): New Makefile variable.
9751 * configure.ac: Likewise.
9752 * configure: Regenerate.
9753 * sysdeps/s390/configure.ac:
9754 Add check for gcc transactions support.
9755 * sysdeps/s390/configure: Regenerate.
9756 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
9757 Build elision files if enabled.
9758 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
9759 Add lock elision support for s390.
9760 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
9761 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
9762 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
9763 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9764 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9765 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
9766 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9768 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
9770 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
9772 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
9774 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
9775 (__lll_timedlock_elision, __lll_lock_elision)
9776 (__lll_unlock_elision, __lll_trylock_elision)
9777 (lll_timedlock_elision, lll_lock_elision)
9778 (lll_unlock_elision, lll_trylock_elision): Add.
9779 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9780 (pthread_mutex_t): Add lock elision support for s390.
9782 2014-05-14 Wilco <wdijkstr@arm.com>
9784 * sysdeps/arm/fclrexcpt.c: Cleanup.
9785 * sysdeps/arm/fedisblxcpt.c: Cleanup.
9786 * sysdeps/arm/feenablxcpt.c: Cleanup.
9787 * sysdeps/arm/fegetenv.c: Cleanup.
9788 * sysdeps/arm/fegetexcept.c: Cleanup.
9789 * sysdeps/arm/fegetround.c: Cleanup.
9790 * sysdeps/arm/feholdexcpt.c: Cleanup.
9791 * sysdeps/arm/fesetenv.c: Cleanup.
9792 * sysdeps/arm/fesetround.c: Cleanup.
9793 * sysdeps/arm/feupdateenv.c: Cleanup.
9794 * sysdeps/arm/fgetexcptflg.c: Cleanup.
9795 * sysdeps/arm/fraiseexcpt.c: Cleanup.
9796 * sysdeps/arm/fsetexcptflg.c: Cleanup.
9797 * sysdeps/arm/ftestexcept.c: Cleanup.
9798 * sysdeps/arm/get-rounding-mode.h: Cleanup.
9799 * sysdeps/arm/setfpucw.c: Cleanup.
9801 2014-05-09 Will Newton <will.newton@linaro.org>
9803 * sysdeps/arm/armv7/strcmp.S: New file.
9804 * NEWS: Mention addition of ARMv7 optimized strcmp.
9806 2014-05-08 Roland McGrath <roland@hack.frob.com>
9808 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
9809 look for %.ac rather than %.in.
9811 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
9812 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
9813 * sysdeps/mach/hurd/configure: Regenerated.
9814 * sysdeps/unix/sysv/linux/configure: Regenerated.
9816 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
9818 2014-05-07 Steve Ellcey <sellcey@mips.com>
9821 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
9825 2014-05-07 Andreas Schwab <schwab@suse.de>
9827 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
9828 when skipping over non-matching result from nscd.
9830 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
9833 * nptl/sockperf.c (client): Check socket return value.
9836 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
9837 nscd security class.
9839 2014-05-06 Roland McGrath <roland@hack.frob.com>
9841 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
9842 * sysdeps/arm/unwind.h: ... here.
9844 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
9847 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
9850 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9852 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
9853 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
9854 multiarch strncpy for PPC64.
9855 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
9856 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
9857 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
9858 multiarch optimizations.
9859 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9860 (__libc_ifunc_impl_list): Likewise.
9861 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
9862 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
9863 multiarch stpncpy for PPC64.
9864 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
9865 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
9867 2014-05-06 Andreas Schwab <schwab@suse.de>
9870 * gmon/mcount.c (_MCOUNT_DECL): Use
9871 atomic_compare_and_exchange_bool_acq instead of
9872 catomic_compare_and_exchange_bool_acq.
9874 2014-05-05 Roland McGrath <roland@hack.frob.com>
9876 * elf/Makefile (others, install-bin): Remove pldd.
9877 (pldd-modules): Variable removed.
9878 ($(objpfx)pldd): Target removed.
9879 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
9880 (others, install-bin): Append pldd here.
9881 ($(objpfx)pldd): New target.
9883 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
9884 to 0, so the first #if test emitted later doesn't see it undefined.
9885 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
9886 * sysdeps/gnu/errlist.c: Regenerated.
9888 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9890 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9891 [libc_hidden_builtin_def]: Define to empty value.
9892 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
9893 [libc_hidden_builtin_def]: Likewise.
9894 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
9895 [libc_hidden_builtin_def]: Likewise.
9896 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
9897 [libc_hidden_builtin_def]: Likewise.
9898 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
9899 __redirect_memcpy and define ifunc as default hidden symbol.
9900 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
9901 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
9903 2014-05-04 Adam Conrad <adconrad@0c3.net>
9905 * locale/iso-4217.def: Reintroduce XDR currency.
9907 2014-05-04 Allan McRae <allan@archlinux.org>
9909 * po/eo.po: Update Esperanto translation from translation project.
9911 2014-05-02 Carlos O'Donell <carlos@redhat.com>
9913 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
9914 and FEATURE_INDEX_MAX to 1.
9915 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
9917 2014-05-01 Steve Ellcey <sellcey@mips.com>
9919 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
9920 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
9921 * iconvdata/big5.c (ONE_DIRECTION): Define.
9922 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
9923 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
9924 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
9925 * iconvdata/cp932.c (ONE_DIRECTION): Define.
9926 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
9927 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
9928 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
9929 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
9930 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
9931 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
9932 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
9933 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
9934 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
9935 * iconvdata/gbk.c (ONE_DIRECTION): Define.
9936 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
9937 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
9938 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
9939 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
9940 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
9941 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
9942 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
9943 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
9944 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
9945 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
9946 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
9947 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
9948 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
9949 * iconvdata/iso646.c (ONE_DIRECTION): Define.
9950 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
9951 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
9952 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
9953 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
9954 * iconvdata/johab.c (ONE_DIRECTION): Define.
9955 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
9956 * iconvdata/sjis.c (ONE_DIRECTION): Define.
9957 * iconvdata/t.61.c (ONE_DIRECTION): Define.
9958 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9959 * iconvdata/tscii.c (ONE_DIRECTION): Define.
9960 * iconvdata/uhc.c (ONE_DIRECTION): Define.
9961 * iconvdata/unicode.c (ONE_DIRECTION): Define.
9962 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9963 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9964 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9966 2014-05-01 Roland McGrath <roland@hack.frob.com>
9968 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9969 (_IO_JUMPS_OFFSET): Define to 0.
9971 * nptl/sysdeps/pthread/bits/libc-lock.h
9972 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9973 (__libc_lock_define_initialized_recursive): Always define using
9974 initializer. Modern compilers treat uninitialized (implicit zero) and
9975 explicit zero initializers the same (i.e. put the datum in bss).
9977 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9979 * nscd/nscd-client.h: Include <string.h>.
9981 2014-05-01 David S. Miller <davem@davemloft.net>
9984 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9985 multiple zero bytes exist at the end of a string.
9986 Reported by Aurelien Jarno <aurelien@aurel32.net>
9988 * string/test-strcmp.c (check): Add explicit test for situations where
9989 there are multiple zero bytes after the first.
9991 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9994 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
9995 when compiling wprintf.
9996 * stdio-common/tstdiomisc.c (t3): New function.
9999 2014-05-01 Steve Ellcey <sellcey@mips.com>
10001 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
10002 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
10003 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
10004 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
10006 2014-05-01 Steve Ellcey <sellcey@mips.com>
10008 * stdlib/longlong.h: Updated from GCC.
10010 2014-05-01 Will Newton <will.newton@linaro.org>
10011 Bernard Ogden <bernie.ogden@linaro.org>
10013 * NEWS: Update fixed bug list.
10016 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
10018 2014-04-30 David S. Miller <davem@davemloft.net>
10020 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
10021 (libc_feholdexcept_setround_sparc_ctx): New function.
10022 (libc_fesetenv_sparc_ctx): Likewise.
10023 (libc_feupdateenv_sparc_ctx): Likewise.
10024 (libc_feholdsetround_sparc_ctx): Likewise.
10025 (libc_feholdexcept_setround_ctx): Define.
10026 (libc_feholdexcept_setroundf_ctx): Likewise.
10027 (libc_feholdexcept_setroundl_ctx): Likewise.
10028 (libc_fesetenv_ctx): Likewise.
10029 (libc_fesetenvf_ctx): Likewise.
10030 (libc_fesetenvl_ctx): Likewise.
10031 (libc_feupdateenv_ctx): Likewise.
10032 (libc_feupdateenvf_ctx): Likewise.
10033 (libc_feupdateenvl_ctx): Likewise.
10034 (libc_feresetround_ctx): Likewise.
10035 (libc_feresetroundf_ctx): Likewise.
10036 (libc_feresetroundl_ctx): Likewise.
10037 (libc_feholdsetround_ctx): Likewise.
10038 (libc_feholdsetroundf_ctx): Likewise.
10039 (libc_feholdsetroundl_ctx): Likewise.
10041 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10042 with __USE_GNU instead of XOPEN cpp guards.
10044 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
10047 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10048 with XOPEN cpp guards.
10050 2014-04-30 Julian Brown <julian@codesourcery.com>
10053 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10056 2014-04-30 Joseph Myers <joseph@codesourcery.com>
10059 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10061 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
10062 * sysdeps/unix/sysv/linux/configure: Regenerated.
10063 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10064 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10065 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10066 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10067 * README: Update reference to required Linux kernel version.
10068 * manual/install.texi (Linux): Update reference to required Linux
10069 kernel headers version.
10070 * INSTALL: Regenerated.
10072 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10074 [POSIX] (limits.h): Likewise.
10075 [POSIX] (math.h): Likewise.
10076 [POSIX] (sys/wait.h): Likewise.
10077 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10079 [POSIX] (stddef.h): Do not allow header inclusion.
10081 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10083 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
10085 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
10087 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10088 Return immediately after lll_futex_wake.
10090 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10093 * nscd/nscd-client.h (datahead_init_common): Initialize entire
10095 (datahead_init_pos): Call datahead_init_common early.
10096 (datahead_init_neg): Likewise.
10098 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10099 datahead_init_neg): New functions.
10100 * nscd/aicache.c (addhstaiX): Use them.
10101 * nscd/grpcache.c (cache_addgr): Likewise.
10102 * nscd/hstcache.c (cache_addhst): Likewise.
10103 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10104 * nscd/netgroupcache.c (do_notfound): Likewise.
10105 (addgetnetgrentX): Likewise.
10106 (addinnetgrX): Likewise.
10107 * nscd/pwdcache.c (cache_addpw): Likewise.
10108 * nscd/servicescache.c (cache_addserv): Likewise.
10110 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10111 Atsushi Onoe <atsushi@onoe.org>
10116 * resolv/res_query.c (__libc_res_nsearch): Return if at least
10117 one response is valid.
10118 * resolv/res_send.c (send_dg): Check for validity of other
10119 response if the current response is a referral.
10121 2014-04-29 Steve Ellcey <sellcey@mips.com>
10123 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10125 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
10128 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10129 Always divide by positive zero when computing -Inf result.
10130 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10131 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10133 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10135 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
10136 FPSCR if value do not change.
10137 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10138 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
10139 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10140 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10141 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
10142 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
10145 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
10147 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
10148 * sysdeps/unix/sysv/linux/hppa: Move directory from
10149 ports/systeps/unix/sysv/linux/hppa.
10150 * README: Update listing for hppa-*-linux-gnu.
10152 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
10155 * manual/stdio.texi (Hook functions): Fix types of stream hook
10158 * socket/sys/socket.h: Fix typo in comment.
10160 2014-04-28 Wilco <wdijkstr@arm.com>
10162 * sysdeps/arm/fenv_private.h: New file.
10163 * sysdeps/arm/math_private.h: New file.
10164 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
10166 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
10168 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
10170 (La_x86_64_retval): Likewise.
10172 2014-04-24 Ian Bolton <ian.bolton@arm.com>
10174 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10175 fpsr if value didn't change.
10176 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
10177 to fpcr if value didn't change.
10178 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
10179 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
10180 fpsr or fpcr if value didn't change.
10181 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10182 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
10183 fpcr if value didn't change.
10184 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
10185 to fpsr if value didn't change.
10187 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10189 * nptl/tst-sem3.c: Use test-skeleton.c
10190 (main): Rename to do_test. Use return instead of
10192 * nptl/tst-sem4.c: Use test-skeleton.c
10193 (main): Rename to do_test.
10195 2014-04-22 David S. Miller <davem@davemloft.net>
10197 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10198 (struct sigaction): New struct member __glibc_reserved0, change
10199 type of sa_flags to int.
10201 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
10203 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
10204 (COUNT_LEADING_ZEROS_0): Define for AArch64.
10206 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10208 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
10209 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
10211 2014-04-22 Will Newton <will.newton@linaro.org>
10212 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
10214 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10215 (__longjmp): Add longjmp and longjmp_target SystemTap
10217 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
10218 (__sigsetjmp): Add setjmp SystemTap probe.
10220 2014-04-17 Carlos O'Donell <carlos@redhat.com>
10222 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
10223 match manual order.
10225 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10227 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
10229 * sysdeps/powerpc/fpu/fenv_private.h
10230 (libc_feholdexcept_setroundl_ctx): Define to
10231 libc_feholdexcept_setround_ppc_ctx.
10232 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
10233 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
10234 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
10235 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
10237 2014-04-17 Ian Bolton <ian.bolton@arm.com>
10239 * sysdeps/aarch64/math-tests.h: New file.
10241 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
10243 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
10245 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10246 Check and set bit_AVX2_Usable.
10247 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
10249 (bit_AVX2): Likewise.
10250 (index_AVX2_Usable): Likewise.
10251 (CPUID_AVX2): Likewise.
10252 (HAS_AVX2): Likewise.
10254 2014-04-17 Will Newton <will.newton@linaro.org>
10256 * manual/setjmp.texi (System V contexts): Add note that
10257 calling setcontext on a context created by a call to a
10258 signal handler is undefined. Update text to note that
10259 setcontext from a signal handler is possible but not
10263 * stdlib/tst-setcontext.c: Include signal.h.
10264 (main): Check that the signal stack before and
10265 after swapcontext is the same.
10267 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
10268 Re-implement to restore registers in user code and avoid
10269 rt_sigreturn system call.
10271 2014-04-17 Wilco <wdijkstr@arm.com>
10273 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
10274 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
10275 * math/test-fenv.c: Skip exception trap tests on targets which only
10276 support non-stop mode.
10278 2014-04-17 Ian Bolton <ian.bolton@arm.com>
10279 Wilco Dijkstra <wilco.dijkstra@arm.com>
10281 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
10282 (libc_feholdsetround_aarch64_ctx)
10283 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
10284 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
10285 (libc_feresetround_ctx, libc_feresetroundf_ctx)
10286 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
10287 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
10288 (libc_feresetround_noexl_ctx): Define.
10290 2014-04-16 Richard Henderson <rth@redhat.com>
10292 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
10294 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
10297 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
10298 const from the non-libc, non-ldso copy.
10300 * sysdeps/alpha/libm-test-ulps: Regenerate.
10302 2014-04-16 Ian Bolton <ian.bolton@arm.com>
10303 Wilco Dijkstra <wilco.dijkstra@arm.com>
10305 * sysdeps/aarch64/fpu/math_private.h: New file.
10307 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
10309 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10311 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
10314 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
10315 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
10316 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
10317 Intel MPX bound registers before _dl_profile_fixup.
10318 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
10319 registers after _dl_profile_fixup. Save and restore bound
10320 registers bnd0/bnd1 when calling _dl_call_pltexit.
10321 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
10322 (LR_BND_OFFSET): Likewise.
10323 (LRV_BND0_OFFSET): Likewise.
10324 (LRV_BND1_OFFSET): Likewise.
10326 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10328 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
10330 * sysdeps/mach/hurd/i386/tls.h: ... here.
10331 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
10332 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
10335 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10337 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
10339 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10341 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10343 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10346 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
10347 * sysdeps/s390/configure: Regenerate.
10350 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
10351 Set round-to-nearest internally to reduce error accumulation.
10353 2014-04-16 Alan Modra <amodra@gmail.com>
10357 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
10358 * math/libm-test.inc (frexp_test_data): Add tests.
10359 * NEWS: Update fixed bug list.
10361 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10363 * benchtests/Makefile: Depend on libraries in build directory.
10364 (bench-math): Separate out math tests.
10365 (bench-pthread): Separate out pthread tests.
10366 (bench): Include math and pthread tests.
10368 2014-04-14 Carlos O'Donell <carlos@redhat.com>
10371 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
10372 _dl_debug_initialize.
10374 * configure.ac: Remove SELinux header check.
10375 * configure: Regenerate.
10376 * nscd/selinux.c (perms): Array of const char* to permission names.
10377 (nscd_request_avc_has_perm): Call security_deny_unknown to find
10378 default policy. Call string_to_security_class and string_to_av_perm to
10379 translate strings. Enforce default policy and call avs_has_perm with
10380 results of translated strings.
10382 2014-04-13 David S. Miller <davem@davemloft.net>
10384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10386 2014-04-12 Allan McRae <allan@archlinux.org>
10389 * manual/string.texi (Collation Functions): Fix qsort argument
10391 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10393 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
10395 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
10396 Make the test a no-op if there are no exceptions defined.
10398 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
10400 * elf/Makefile (tests): make tst-dlopen-aout conditional on
10401 enable-hardcoded-path-in-tests
10403 2014-04-11 Will Newton <will.newton@linaro.org>
10405 * benchtests/Makefile (extra-objs): Add json-lib.o.
10406 (bench-func): Tidy up JSON output.
10407 * benchtests/bench-skeleton.c: Include json-lib.h.
10408 (main): Use JSON library functions to do output of
10410 * benchtests/bench-timing-type.c (main): Output the
10411 timing type simply, leaving formatting to the user.
10412 * benchtests/json-lib.c: New file.
10413 * benchtests/json-lib.h: Likewise.
10415 2014-04-11 Torvald Riegel <triegel@redhat.com>
10418 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
10419 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
10420 memory barriers. Add comments.
10421 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
10422 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
10423 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
10424 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
10425 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
10426 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
10428 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10430 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
10431 * sysdeps/s390/s390-64/configure.ac: ... this ...
10432 * sysdeps/s390/configure.ac: ... to here.
10433 * sysdeps/s390/s390-32/configure: Delete file.
10434 * sysdeps/s390/s390-64/configure: Delete file.
10435 * sysdeps/s390/configure: Regenerate.
10437 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
10439 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
10441 2014-04-11 Will Newton <will.newton@linaro.org>
10443 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
10444 to zero if it is not defined elsewhere. (mtrim): Test
10445 the value of MALLOC_DEBUG with #if rather than #ifdef.
10447 2014-04-10 Torvald Riegel <triegel@redhat.com>
10449 * benchtests/pthread_once-inputs: New file.
10450 * benchtests/pthread_once-source.c: New file.
10451 * benchtests/README: Update documentation.
10453 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
10454 H.J. Lu <hongjiu.lu@intel.com>
10457 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
10458 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
10459 * sysdeps/x86_64/configure: Regenerated.
10460 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
10462 (REGISTER_SAVE_RAX): Likewise.
10463 (REGISTER_SAVE_RCX): Likewise.
10464 (REGISTER_SAVE_RDX): Likewise.
10465 (REGISTER_SAVE_RSI): Likewise.
10466 (REGISTER_SAVE_RDI): Likewise.
10467 (REGISTER_SAVE_R8): Likewise.
10468 (REGISTER_SAVE_R9): Likewise.
10469 (REGISTER_SAVE_BND0): Likewise.
10470 (REGISTER_SAVE_BND1): Likewise.
10471 (REGISTER_SAVE_BND2): Likewise.
10472 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
10473 bound registers when calling _dl_fixup.
10475 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10477 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
10478 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
10480 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
10481 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
10482 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
10483 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
10484 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
10485 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
10486 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
10488 2014-04-09 Peter Brett <peter@peter-b.co.uk>
10491 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
10492 pathconf(_PC_NAME_MAX).
10494 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10496 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
10497 Remove macro usage.
10498 (__PTHREAD_SPINS): Move definition to ...
10499 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10500 (__PTHREAD_SPINS): ... here.
10501 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10502 (__PTHREAD_SPIN): Likewise.
10503 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
10504 (__PTHREAD_SPIN): Likewise.
10505 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
10506 (__PTHREAD_SPIN): Likewise.
10507 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
10508 (__PTHREAD_SPIN): Likewise.
10509 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10510 (__PTHREAD_SPIN): Likewise.
10511 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10512 (__PTHREAD_SPIN): Likewise.
10513 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
10514 (__PTHREAD_SPIN): Likewise.
10515 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10516 (__PTHREAD_SPIN): Likewise.
10517 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10518 (__PTHREAD_SPIN): Likewise.
10519 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10520 (__PTHREAD_SPIN): Likewise.
10521 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10522 (__PTHREAD_SPIN): Likewise.
10523 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
10524 (__PTHREAD_SPIN): Likewise.
10526 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
10527 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
10528 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
10529 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
10531 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
10532 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
10533 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
10534 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
10535 correct imply path.
10536 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
10537 strlen symbol for non multi-arch builds.
10538 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
10539 missing hidden_def and weak_alias.
10541 2014-04-08 Carlos O'Donell <carlos@redhat.com>
10543 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
10545 2014-04-07 Will Newton <will.newton@linaro.org>
10547 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
10548 and contents. [!_LIBC] Remove #ifndef and contents.
10549 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
10550 * string/memccpy.c (__memccpy): Use ANSI prototype.
10551 * string/memfrob.c (memfrob): Likewise.
10552 * string/strcoll.c (STRCOLL): Likewise.
10553 * string/strlen.c (strlen): Likewise.
10554 * string/strtok.c (STRTOK): Likewise.
10555 * string/strcat.c: Remove unused #include of memcopy.h.
10556 (strcat): Use ANSI prototype.
10557 * string/strchr.c: Remove unused #include of memcopy.h.
10558 (strchr): Use ANSI prototype.
10559 * string/strcmp.c: Remove unused #include of memcopy.h.
10560 (strcmp): Use ANSI prototype.
10561 * string/strcpy.c: Remove unused #include of memcopy.h.
10562 (strcpy): Use ANSI prototype.
10564 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10566 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
10567 * config.make.in (config-extra-cppflags): Set it from
10568 libc_extra_cppflags.
10569 * configure.ac (libc_extra_cflags): Make it accumulate over
10570 configure fragments.
10571 (libc_extra_cppflags): New flag.
10572 * configure. Regenerate.
10573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10574 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
10575 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
10576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10579 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
10580 result for FE_DOWNWARD rounding mode.
10581 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10585 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
10587 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
10588 in function argument name.
10590 2014-04-03 David Svoboda <svoboda@cert.org>
10593 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
10596 2014-04-03 Roland McGrath <roland@hack.frob.com>
10598 * elf/dl-unmap-segments.h: New file.
10599 * sysdeps/generic/ldsodefs.h
10600 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
10601 * elf/dl-close.c: Include <dl-unmap-segments.h>.
10602 * elf/dl-fptr.c: Likewise.
10603 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
10604 * sysdeps/aarch64/tlsdesc.c: Likewise.
10605 * sysdeps/arm/tlsdesc.c: Likewise.
10606 * sysdeps/i386/tlsdesc.c: Likewise.
10607 * sysdeps/tile/dl-runtime.c: Likewise.
10608 * sysdeps/x86_64/tlsdesc.c: Likewise.
10609 * elf/dl-load.h: New file.
10610 * elf/dl-load.c: Include it.
10611 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
10612 Macros moved to dl-load.h.
10613 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
10614 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
10615 Use _dl_unmap_segments in place of __munmap.
10616 Break out segment-mapping loop into ...
10617 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
10619 2014-04-03 Will Newton <will.newton@linaro.org>
10621 * elf/dl-lookup.c (do_lookup_x): Remove comment
10622 referring to nested function and move variable
10623 declarations down to before first use.
10625 2014-04-02 Joseph Myers <joseph@codesourcery.com>
10629 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
10631 * math/s_catanf.c (__catanf): Likewise.
10632 * math/s_catanh.c (__catanh): Likewise.
10633 * math/s_catanhf.c (__catanhf): Likewise.
10634 * math/s_catanhl.c (__catanhl): Likewise.
10635 * math/s_catanl.c (__catanl): Likewise.
10636 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
10637 by positive zero when computing -Inf result.
10638 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
10639 (catanh_test): Likewise.
10640 * sysdeps/i386/fpu/libm-test-ulps: Update.
10641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10644 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
10645 instead of using underflowing value in computing result.
10646 * math/s_clog10.c (__clog10): Likewise.
10647 * math/s_clog10f.c (__clog10f): Likewise.
10648 * math/s_clog10l.c (__clog10l): Likewise.
10649 * math/s_clogf.c (__clogf): Likewise.
10650 * math/s_clogl.c (__clogl): Likewise.
10651 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
10652 (clog10_test): Likewise.
10653 * sysdeps/i386/fpu/libm-test-ulps: Update.
10654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10656 2014-04-02 Alan Modra <amodra@gmail.com>
10659 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
10660 output when value is near a power of two. Use int64_t for lx and
10661 remove casts. Use decimal rather than hex exponent constants.
10662 Don't use long double multiplication when double will suffice.
10663 * math/libm-test.inc (nextafter_test_data): Add tests.
10664 * NEWS: Add 16739 and 16786 to bug list.
10666 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
10668 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
10670 2014-04-01 Will Newton <will.newton@linaro.org>
10672 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
10673 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
10675 2014-04-01 Florian Weimer <fweimer@redhat.com>
10678 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
10679 * nptl/tst-setuid2.c: New file.
10680 * nptl/Makefile (xtests): Add tst-setuid2.
10682 2014-04-01 Alan Modra <amodra@gmail.com>
10685 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
10687 2014-03-31 Joseph Myers <joseph@codesourcery.com>
10691 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
10692 set errno as appropriate.
10693 * math/w_scalbf.c (__scalbf): Likewise.
10694 * math/w_scalbl.c (__scalbl): Likewise.
10695 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
10696 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
10697 * math/libm-test.inc (scalb_test_data): Add errno expectations.
10698 Add more NaN tests.
10701 * math/w_atan2.c: Include <errno.h>.
10702 (__atan2): Set errno for result underflowing to zero.
10703 * math/w_atan2f.c: Include <errno.h>.
10704 (__atan2f): Set errno for result underflowing to zero.
10705 * math/w_atan2l.c: Include <errno.h>.
10706 (__atan2l): Set errno for result underflowing to zero.
10707 * math/auto-libm-test-in: Don't allow missing errno for some atan2
10709 * math/auto-libm-test-out: Regenerated.
10711 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10713 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10714 Encode instruction correctly in little endian.
10715 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10717 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10719 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10721 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10724 2014-03-31 Joseph Myers <joseph@codesourcery.com>
10727 * sysdeps/unix/sysv/linux/kernel-features.h
10728 [__sparc__ && !__arch64__ && !__sparc_v9__]
10729 (__ASSUME_SET_ROBUST_LIST): Do not define.
10730 [__sparc__ && !__arch64__ && !__sparc_v9__]
10731 (__ASSUME_FUTEX_LOCK_PI): Likewise.
10732 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
10734 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10735 (__ASSUME_FUTEX_LOCK_PI): Undefine.
10736 (__ASSUME_REQUEUE_PI): Likewise.
10737 (__ASSUME_SET_ROBUST_LIST): Likewise.
10738 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10739 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
10741 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10742 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
10744 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
10746 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
10748 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10749 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
10751 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
10752 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
10756 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10757 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
10758 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
10760 2014-03-31 Will Newton <will.newton@linaro.org>
10762 * benchtests/Makefile (bench): Add ffs and ffsll to list
10764 * benchtests/ffs-inputs: New file.
10765 * benchtests/ffsll-inputs: Likewise.
10767 2014-03-29 Joseph Myers <joseph@codesourcery.com>
10770 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
10771 too large before casting to int.
10772 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
10773 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
10774 * math/libm-test.inc (scalb_test_data): Add more tests.
10776 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10778 * benchtests/Makefile (DETAILED_OPT): New make option.
10779 (bench-func): Run benchmark program with -d if DETAILED_OPT is
10781 * benchtests/bench-skeleton.c: Include stdbool.h.
10782 (main): Store and print timings per input.
10783 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
10784 member to each argument value.
10785 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
10786 (_print_arg_data): Initialize per-input timing to 0.
10788 * benchtests/Makefile (timing-type): New binary.
10789 (bench-clean): Also remove bench-timing-type.
10790 (bench): New target for timing-type.
10791 (bench-func): Print output in JSON format.
10792 * benchtests/bench-skeleton.c (main): Print output in JSON
10794 * benchtests/bench-timing-type.c: New file.
10795 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
10796 (TIMING_PRINT_STATS): Remove.
10797 * benchtests/scripts/bench.py (_print_arg_data): Store variant
10800 * benchtests/bench-modf.c: Remove.
10801 * benchtests/modf-inputs: New inputs file.
10803 2014-03-28 Joseph Myers <joseph@codesourcery.com>
10806 * math/s_clog10.c (M_PI_LOG10E): New macro.
10807 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
10808 imaginary parts are 0.
10809 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
10810 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
10811 imaginary parts are 0.
10812 * math/s_clog10l.c (M_PI_LOG10El): New macro.
10813 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
10814 imaginary parts are 0.
10815 * math/libm-test.inc (clog10_test_data): Update expected results
10816 for when real and imaginary parts are 0.
10818 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
10820 * elf/dl-load.c: Finish conversion of __builtin_expect into
10821 __glibc_{un}likely.
10823 2014-03-27 Joseph Myers <joseph@codesourcery.com>
10826 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
10827 1+x for argument with exponent below -67.
10828 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
10830 * math/auto-libm-test-in: Add more tests of exp.
10831 * math/auto-libm-test-out: Regenerated.
10833 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10836 * inet/getnetgrent_r.c (get_nonempty_val): New function.
10837 (nscd_getnetgrent): Use it.
10840 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
10843 2014-03-27 Andi Kleen <ak@linux.intel.com>
10845 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
10846 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10847 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10848 (lll_robust_unlock): Remove out of line section. Use cfi
10850 (LLL_STUB_UNWIND_INFO*): Remove.
10851 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
10852 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10853 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10854 (lll_robust_unlock): Remove out of line section. Use cfi
10856 (LLL_STUB_UNWIND_INFO*): Remove.
10858 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10861 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
10864 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
10866 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
10868 2014-03-26 Joseph Myers <joseph@codesourcery.com>
10871 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
10873 * math/test-fenv-preserve.c: New file.
10874 * math/Makefile (tests): Add test-fenv-preserve.
10876 2014-03-26 Will Newton <will.newton@linaro.org>
10878 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
10880 2014-03-25 Roland McGrath <roland@hack.frob.com>
10882 * scripts/versionlist.awk: Partition the version sets and emit all
10883 GLIBC_* (sorted) before all others (sorted).
10885 2014-03-25 Joseph Myers <joseph@codesourcery.com>
10887 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
10888 GLIBC_2.2.5 version.
10890 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10892 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
10895 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
10898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10900 2014-03-25 Andreas Schwab <schwab@suse.de>
10902 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
10903 label to be used after in6ailist is initialized.
10905 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10907 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10908 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10910 2014-03-25 Joseph Myers <joseph@codesourcery.com>
10914 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
10916 (fp_formats): Update initializers.
10917 (init_fp_formats): Initialize new field.
10918 (output_for_one_input_case): Allow underflow for results up to
10920 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
10921 * math/auto-libm-test-in: Don't mark some underflows from asin and
10923 * math/auto-libm-test-out: Regenerated.
10924 * sysdeps/i386/fpu/libm-test-ulps: Update.
10925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10927 2014-03-25 Andreas Schwab <schwab@suse.de>
10929 * libio/Makefile (tst-ftell-partial-wide-ENV)
10930 (tst-ftell-active-handler-ENV): Define.
10932 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10934 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
10936 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10938 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
10940 2014-03-24 Joseph Myers <joseph@codesourcery.com>
10942 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
10943 * sysdeps/x86_64/fpu/multiarch/e_exp.c
10944 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10946 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10949 * elf/dl-load.c (open_verify): Add mode parameter.
10950 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
10951 (open_path): Change from boolean 'secure' to complete flag 'mode'
10952 (_dl_map_object): Adjust.
10953 * elf/Makefile (tests): Add tst-dlopen-aout.
10954 * elf/tst-dlopen-aout.c: New test.
10956 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10959 * sysdeps/unix/sysv/linux/s390/bits/stat.h
10960 (struct stat): Rename member pad0 to __glibc_reserved0.
10963 * sysdeps/s390/s390-32/bits/wordsize.h
10964 (__WORDSIZE32_SIZE_ULONG): New define.
10965 * sysdeps/s390/s390-64/bits/wordsize.h
10966 (__WORDSIZE32_SIZE_ULONG): Likewise.
10967 * sysdeps/generic/stdint.h (SIZE_MAX):
10968 Define as UL if __WORDSIZE32_SIZE_ULONG.
10971 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10972 (__glibc_reserved0): New variable.
10973 (sa_flags): Change type to int.
10975 * posix/Makefile (before-compile): Use += before-compile instead
10978 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10979 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10981 2014-03-20 Andreas Schwab <schwab@suse.de>
10984 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
10985 non-matching result from nscd.
10987 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10989 * scripts/bench.py: Moved to ...
10990 * benchtests/scripts/bench.py: ... here.
10991 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
10993 2014-03-24 Andreas Schwab <schwab@suse.de>
10996 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
10997 alloca_account and account alloca use for struct in6ailist.
10999 2014-03-24 Joseph Myers <joseph@codesourcery.com>
11002 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11003 rounding mode to recompute results that overflow to infinity or
11005 * math/auto-libm-test-in: Don't mark tests as expected to fail for
11007 * math/auto-libm-test-out: Regenerated.
11008 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
11009 (ccosh_test): Likewise.
11010 (csin_test_data): Use plus_oflow.
11011 (csin_test): Use ALL_RM_TEST.
11012 (csinh_test_data): Use plus_oflow.
11013 (csinh_test): Use ALL_RM_TEST.
11014 * sysdeps/i386/fpu/libm-test-ulps: Update.
11015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11017 2014-03-21 Joseph Myers <joseph@codesourcery.com>
11019 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
11020 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
11021 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11024 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11025 when x - 1 is zero.
11026 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
11027 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
11028 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11029 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
11031 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
11032 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
11034 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
11035 * sysdeps/i386/fpu/libm-test-ulps: Update.
11036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11038 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11040 * scripts/bench.pl: Remove file.
11041 * scripts/bench.py: New benchmark script.
11042 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
11043 * benchtests/README: Mention python dependency.
11044 * scripts/pylintrc: New file.
11045 * scripts/pylint: New file.
11047 * bits/mathdef.h: Use #ifdef instead of #if.
11048 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
11049 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11050 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
11051 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11052 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
11053 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11055 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11056 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11058 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
11059 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
11060 and strpbrk-ppc64 objects.
11061 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11062 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
11063 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11064 multiarch strpbrk for POWER7.
11065 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11066 multiarch strpbrk for PPC64.
11067 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11069 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11070 strpbrk for POWER7.
11072 2014-03-20 Joseph Myers <joseph@codesourcery.com>
11074 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11075 (atan_test): Likewise.
11076 (atanh_test_data): Use NO_TEST_INLINE for two tests.
11077 (atanh_test): Use ALL_RM_TEST.
11078 (atan2_test_data): Likewise.
11079 (cabs_test): Likewise.
11080 (cacosh_test): Likewise.
11081 (carg_test): Likewise.
11082 (casin_test): Likewise.
11083 (casinh_test): Likewise.
11084 (cbrt_test): Likewise.
11085 (csqrt_test): Likewise.
11086 (erf_test): Likewise.
11087 (erfc_test): Likewise.
11088 (pow10_test): Likewise.
11089 (exp2_test): Likewise.
11090 (hypot_test): Likewise.
11091 (j0_test): Likewise.
11092 (j1_test): Likewise.
11093 (lgamma_test): Likewise.
11094 (gamma_test): Likewise.
11095 (sincos_test): Likewise.
11096 (tanh_test): Likewise.
11097 (y0_test): Likewise.
11098 (y1_test): Likewise.
11099 * sysdeps/i386/fpu/libm-test-ulps: Update.
11100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11102 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11104 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11105 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
11106 and strcspn-ppc64 objects.
11107 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11108 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11109 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11110 multiarch strcspn for POWER7.
11111 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11112 multiarch strcspn for PPC64.
11113 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11115 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11116 strcspn for POWER7.
11118 2014-03-20 Joseph Myers <joseph@codesourcery.com>
11120 * math/gen-libm-test.pl (generate_testfile): Expect only function
11121 name as argument to AUTO_TESTS_* and pass results for all rounding
11122 modes to parse_args.
11123 (parse_auto_input): Separate inputs of automatic tests from
11124 outputs before storing in %auto_tests.
11125 * math/libm-test.inc (acos_test_data): Update call to
11127 (acos_test): Use ALL_RM_TEST.
11128 (acos_tonearest_test_data): Remove.
11129 (acos_test_tonearest): Likewise.
11130 (acos_towardzero_test_data): Likewise.
11131 (acos_test_towardzero): Likewise.
11132 (acos_downward_test_data): Likewise.
11133 (acos_test_downward): Likewise.
11134 (acos_upward_test_data): Likewise.
11135 (acos_test_upward): Likewise.
11136 (acosh_test_data): Update call to AUTO_TESTS_f_f.
11137 (asin_test_data): Likewise.
11138 (asin_test): Use ALL_RM_TEST.
11139 (asin_tonearest_test_data): Remove.
11140 (asin_test_tonearest): Likewise.
11141 (asin_towardzero_test_data): Likewise.
11142 (asin_test_towardzero): Likewise.
11143 (asin_downward_test_data): Likewise.
11144 (asin_test_downward): Likewise.
11145 (asin_upward_test_data): Likewise.
11146 (asin_test_upward): Likewise.
11147 (asinh_test_data): Update call to AUTO_TESTS_f_f.
11148 (atan_test_data): Likewise.
11149 (atanh_test_data): Likewise.
11150 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
11151 (cabs_test_data): Update call to AUTO_TESTS_c_f.
11152 (carg_test_data): Likewise.
11153 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
11154 (ccos_test_data): Update call to AUTO_TESTS_c_c.
11155 (ccosh_test_data): Likewise.
11156 (cexp_test_data): Likewise.
11157 (clog_test_data): Likewise.
11158 (clog10_test_data): Likewise.
11159 (cos_test_data): Update call to AUTO_TESTS_f_f.
11160 (cos_test): Use ALL_RM_TEST.
11161 (cos_tonearest_test_data): Remove.
11162 (cos_test_tonearest): Likewise.
11163 (cos_towardzero_test_data): Likewise.
11164 (cos_test_towardzero): Likewise.
11165 (cos_downward_test_data): Likewise.
11166 (cos_test_downward): Likewise.
11167 (cos_upward_test_data): Likewise.
11168 (cos_test_upward): Likewise.
11169 (cosh_test_data): Update call to AUTO_TESTS_f_f.
11170 (cosh_test): Use ALL_RM_TEST.
11171 (cosh_tonearest_test_data): Remove.
11172 (cosh_test_tonearest): Likewise.
11173 (cosh_towardzero_test_data): Likewise.
11174 (cosh_test_towardzero): Likewise.
11175 (cosh_downward_test_data): Likewise.
11176 (cosh_test_downward): Likewise.
11177 (cosh_upward_test_data): Likewise.
11178 (cosh_test_upward): Likewise.
11179 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
11180 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
11181 (ctan_test_data): Likewise.
11182 (ctan_test): Use ALL_RM_TEST.
11183 (ctan_tonearest_test_data): Remove.
11184 (ctan_test_tonearest): Likewise.
11185 (ctan_towardzero_test_data): Likewise.
11186 (ctan_test_towardzero): Likewise.
11187 (ctan_downward_test_data): Likewise.
11188 (ctan_test_downward): Likewise.
11189 (ctan_upward_test_data): Likewise.
11190 (ctan_test_upward): Likewise.
11191 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
11192 (ctanh_test): Use ALL_RM_TEST.
11193 (ctanh_tonearest_test_data): Remove.
11194 (ctanh_test_tonearest): Likewise.
11195 (ctanh_towardzero_test_data): Likewise.
11196 (ctanh_test_towardzero): Likewise.
11197 (ctanh_downward_test_data): Likewise.
11198 (ctanh_test_downward): Likewise.
11199 (ctanh_upward_test_data): Likewise.
11200 (ctanh_test_upward): Likewise.
11201 (erf_test_data): Update call to AUTO_TESTS_f_f.
11202 (erfc_test_data): Likewise.
11203 (exp_test_data): Likewise.
11204 (exp_test): Use ALL_RM_TEST.
11205 (exp_tonearest_test_data): Remove.
11206 (exp_test_tonearest): Likewise.
11207 (exp_towardzero_test_data): Likewise.
11208 (exp_test_towardzero): Likewise.
11209 (exp_downward_test_data): Likewise.
11210 (exp_test_downward): Likewise.
11211 (exp_upward_test_data): Likewise.
11212 (exp_test_upward): Likewise.
11213 (exp10_test_data): Update call to AUTO_TESTS_f_f.
11214 (exp10_test): Use ALL_RM_TEST.
11215 (exp10_tonearest_test_data): Remove.
11216 (exp10_test_tonearest): Likewise.
11217 (exp10_towardzero_test_data): Likewise.
11218 (exp10_test_towardzero): Likewise.
11219 (exp10_downward_test_data): Likewise.
11220 (exp10_test_downward): Likewise.
11221 (exp10_upward_test_data): Likewise.
11222 (exp10_test_upward): Likewise.
11223 (exp2_test_data): Update call to AUTO_TESTS_f_f.
11224 (expm1_test_data): Likewise.
11225 (expm1_test): Use ALL_RM_TEST.
11226 (expm1_tonearest_test_data): Remove.
11227 (expm1_test_tonearest): Likewise.
11228 (expm1_towardzero_test_data): Likewise.
11229 (expm1_test_towardzero): Likewise.
11230 (expm1_downward_test_data): Likewise.
11231 (expm1_test_downward): Likewise.
11232 (expm1_upward_test_data): Likewise.
11233 (expm1_test_upward): Likewise.
11234 (fma_test_data): Update call to AUTO_TESTS_fff_f.
11235 (fma_test): Use ALL_RM_TEST.
11236 (fma_towardzero_test_data): Remove.
11237 (fma_test_towardzero): Likewise.
11238 (fma_downward_test_data): Likewise.
11239 (fma_test_downward): Likewise.
11240 (fma_upward_test_data): Likewise.
11241 (fma_test_upward): Likewise.
11242 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
11243 (j0_test_data): Update call to AUTO_TESTS_f_f.
11244 (j1_test_data): Likewise.
11245 (jn_test_data): Update call to AUTO_TESTS_if_f.
11246 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
11247 (log_test_data): Update call to AUTO_TESTS_f_f.
11248 (log10_test_data): Likewise.
11249 (log1p_test_data): Likewise.
11250 (log2_test_data): Likewise.
11251 (pow_test_data): Update call to AUTO_TESTS_ff_f.
11252 (pow_tonearest_test_data): Likewise.
11253 (sin_test_data): Update call to AUTO_TESTS_f_f.
11254 (sin_test): Use ALL_RM_TEST.
11255 (sin_tonearest_test_data): Remove.
11256 (sin_test_tonearest): Likewise.
11257 (sin_towardzero_test_data): Likewise.
11258 (sin_test_towardzero): Likewise.
11259 (sin_downward_test_data): Likewise.
11260 (sin_test_downward): Likewise.
11261 (sin_upward_test_data): Likewise.
11262 (sin_test_upward): Likewise.
11263 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
11264 (sinh_test_data): Update call to AUTO_TESTS_f_f.
11265 (sinh_test): Use ALL_RM_TEST.
11266 (sinh_tonearest_test_data): Remove.
11267 (sinh_test_tonearest): Likewise.
11268 (sinh_towardzero_test_data): Likewise.
11269 (sinh_test_towardzero): Likewise.
11270 (sinh_downward_test_data): Likewise.
11271 (sinh_test_downward): Likewise.
11272 (sinh_upward_test_data): Likewise.
11273 (sinh_test_upward): Likewise.
11274 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
11275 (sqrt_test): Use ALL_RM_TEST.
11276 (sqrt_tonearest_test_data): Remove.
11277 (sqrt_test_tonearest): Likewise.
11278 (sqrt_towardzero_test_data): Likewise.
11279 (sqrt_test_towardzero): Likewise.
11280 (sqrt_downward_test_data): Likewise.
11281 (sqrt_test_downward): Likewise.
11282 (sqrt_upward_test_data): Likewise.
11283 (sqrt_test_upward): Likewise.
11284 (tan_test_data): Update call to AUTO_TESTS_f_f.
11285 (tan_test): Use ALL_RM_TEST.
11286 (tan_tonearest_test_data): Remove.
11287 (tan_test_tonearest): Likewise.
11288 (tan_towardzero_test_data): Likewise.
11289 (tan_test_towardzero): Likewise.
11290 (tan_downward_test_data): Likewise.
11291 (tan_test_downward): Likewise.
11292 (tan_upward_test_data): Likewise.
11293 (tan_test_upward): Likewise.
11294 (tanh_test_data): Update call to AUTO_TESTS_f_f.
11295 (tgamma_test_data): Likewise.
11296 (y0_test_data): Likewise.
11297 (y1_test_data): Likewise.
11298 (yn_test_data): Update call to AUTO_TESTS_if_f.
11299 (main): Do not call removed functions.
11301 2014-03-19 Joseph Myers <joseph@codesourcery.com>
11303 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
11304 (ldexp_test_data): Remove.
11305 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
11307 (scalb_test): Use ALL_RM_TEST.
11309 2014-03-19 Andreas Schwab <schwab@suse.de>
11311 * nscd/nscd.service: Also invalidate netgroup cache on reload.
11313 2014-03-19 Joseph Myers <joseph@codesourcery.com>
11316 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11317 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
11318 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
11319 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11320 (__ASSUME_PREADV): Undefine.
11321 (__ASSUME_PWRITEV): Likewise.
11323 2014-03-18 Roland McGrath <roland@hack.frob.com>
11325 * bits/mman-linux.h: Add comment about non-Linux use.
11326 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
11327 bits/mman-linux.h resting place.
11329 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
11330 * bits/mman-linux.h: ... here.
11332 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11334 * conform/conformtest.pl: Add standard definition when calling C
11335 preprocessor on data files.
11336 (checknamespace): Remove unused variable.
11338 2014-03-18 Joseph Myers <joseph@codesourcery.com>
11340 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
11341 minus_oflow, plus_uflow and minus_uflow in expected results.
11342 * math/libm-test.inc (scalbn_test_data): Add more tests of
11343 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
11345 (scalbn_test): Use ALL_RM_TEST.
11346 (scalbln_test_data): Add more tests of negative arguments. Use
11347 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
11348 (scalbln_test): Use ALL_RM_TEST.
11350 2014-03-18 Roland McGrath <roland@hack.frob.com>
11352 * scripts/abilist.awk: Ignore symbols marked with .hidden.
11354 2014-03-18 Will Newton <will.newton@linaro.org>
11356 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
11357 inaccurate comment.
11359 2014-03-18 Joseph Myers <joseph@codesourcery.com>
11361 * Makerules [!subdir] (check-abi): Exit with error status if a
11364 2014-03-17 Joseph Myers <joseph@codesourcery.com>
11366 * math/libm-test.inc (nearbyint_test_data): Include all tests used
11367 for rint. Include results for all rounding modes.
11368 (nearbyint_test): Use ALL_RM_TEST.
11369 (rint_test_data): Include all tests used for nearbyint.
11371 2014-03-17 Will Newton <will.newton@linaro.org>
11373 * nptl/sysdeps/pthread/pthread.h: Revert previous
11376 * sysdeps/generic/ldsodefs.h: Revert previous
11379 * libio/genops.c: Revert previous change.
11380 * libio/libioP.h: Likewise.
11381 * stdio-common/vfprintf.c: Likewise.
11383 * sysdeps/generic/math_private.h: Revert previous
11386 * sysdeps/generic/math_private.h: Check whether
11387 HAVE_RM_CTX is defined with #ifdef rather
11390 * argp/argp-fmtstream.h: Check whether
11391 __STRICT_ANSI__ is defined with #ifdef rather
11393 * argp/argp.h: Likewise.
11395 * libio/genops.c: Check whether
11396 _IO_JUMPS_OFFSET is defined with #ifdef rather
11398 * libio/libioP.h: Likewise.
11399 * stdio-common/vfprintf.c: Likewise.
11401 * sysdeps/generic/ldsodefs.h: Check whether
11402 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
11405 * nptl/sysdeps/pthread/pthread.h: Check
11406 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
11409 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11411 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
11413 * libio/tst-ftell-active-handler.c (do_append_test): Add a
11417 * libio/fileops.c (_IO_file_open): Seek to end of file but
11418 don't cache the offset.
11419 (get_file_offset): Remove function.
11420 (do_ftell): Use cached offset when available.
11421 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
11422 don't cache the offset.
11423 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
11425 (do_one_test): Call it.
11426 (do_ftell_test): Fix up expected old offset for a+ mode.
11427 * libio/wfileops.c (do_ftell_wide): Used cached offset when
11430 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
11431 up test status with function return status.
11432 (do_write_test): Likewise.
11433 (do_append_test): Likewise.
11435 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
11436 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
11439 2014-03-17 Joseph Myers <joseph@codesourcery.com>
11441 * math/gen-libm-test.pl (parse_args): Handle results specified for
11442 each rounding mode separately.
11443 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
11444 tests and results from lrint_tonearest_test_data,
11445 lrint_towardzero_test_data, lrint_downward_test_data and
11446 lrint_upward_test_data.
11447 (lrint_test): Use ALL_RM_TEST.
11448 (lrint_tonearest_test_data): Remove.
11449 (lrint_test_tonearest): Likewise.
11450 (lrint_towardzero_test_data): Likewise.
11451 (lrint_test_towardzero): Likewise.
11452 (lrint_downward_test_data): Likewise.
11453 (lrint_test_downward): Likewise.
11454 (lrint_upward_test_data): Likewise.
11455 (lrint_test_upward): Likewise.
11456 (llrint_test_data): Merge in per-rounding-mode tests and results
11457 from llrint_tonearest_test_data, llrint_towardzero_test_data,
11458 llrint_downward_test_data and llrint_upward_test_data.
11459 (llrint_test): Use ALL_RM_TEST.
11460 (llrint_tonearest_test_data): Remove.
11461 (llrint_test_tonearest): Likewise.
11462 (llrint_towardzero_test_data): Likewise.
11463 (llrint_test_towardzero): Likewise.
11464 (llrint_downward_test_data): Likewise.
11465 (llrint_test_downward): Likewise.
11466 (llrint_upward_test_data): Likewise.
11467 (llrint_test_upward): Likewise.
11468 (rint_test_data): Merge in per-rounding-mode tests and results
11469 from rint_tonearest_test_data, rint_towardzero_test_data,
11470 rint_downward_test_data and rint_upward_test_data. Add
11471 per-rounding-mode results for tests not in those arrays.
11472 (rint_test): Use ALL_RM_TEST.
11473 (rint_tonearest_test_data): Remove.
11474 (rint_test_tonearest): Likewise.
11475 (rint_towardzero_test_data): Likewise.
11476 (rint_test_towardzero): Likewise.
11477 (rint_downward_test_data): Likewise.
11478 (rint_test_downward): Likewise.
11479 (rint_upward_test_data): Likewise.
11480 (rint_test_upward): Likewise.
11481 (main): Don't call removed functions.
11483 2014-03-14 Roland McGrath <roland@hack.frob.com>
11485 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
11486 "Compiled on ..." crapola. It is anti-useful.
11488 2014-03-14 Joseph Myers <joseph@codesourcery.com>
11490 * scripts/evaluate-test.sh: Handle fourth argument to determine
11491 whether test run should stop on failure.
11492 * Makeconfig (stop-on-test-failure): New variable.
11493 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
11494 $(stop-on-test-failure).
11495 * Makefile (tests): Give a summary of results from testing and
11496 exit with failure status if they include an ERROR or FAIL.
11497 (xtests): Likewise.
11498 * manual/install.texi (Configuring and compiling): Mention
11499 stop-on-test-failure=y.
11500 * INSTALL: Regenerated.
11502 2014-03-14 Roland McGrath <roland@hack.frob.com>
11504 * scripts/versionlist.awk: New file.
11505 * Makerules [$(build-shared) = yes]
11506 (postclean-generated): Add Versions.def, not Versions.def.v and
11508 ($(common-objpfx)Versions.def.v.i): Target removed.
11509 ($(common-objpfx)Versions.def): New target.
11510 ($(common-objpfx)Versions.all): Depend on that rather that
11511 $(common-objpfx)Versions.def.v.
11512 * Versions.def: File removed.
11514 * Makeconfig (+gccwarn): Add -Wundef.
11515 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
11516 a dl-sysdep.h breaking its contract.
11517 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
11518 * include/stackinfo.h: New file.
11519 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
11520 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
11521 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
11522 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
11523 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
11524 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
11525 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11526 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11527 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11528 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11529 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11530 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
11531 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11532 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11533 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11535 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11538 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
11540 * math/libm-test.inc (round_test_data): Add more tests.
11543 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
11545 * math/libm-test.inc (nearbyint_test_data): Add more tests.
11548 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
11550 * math/libm-test.inc (ceil_test_data): Add more tests.
11552 * math/libm-test.inc (trunc_test_data): Add more tests related to
11555 2014-03-14 Roland McGrath <roland@hack.frob.com>
11557 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
11558 with #if rather than #ifdef.
11559 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
11561 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
11563 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
11564 first. Disable AVX-512 GCC support if assembler doesn't support
11566 * sysdeps/x86_64/configure: Regenerated.
11568 2014-03-13 Carlos O'Donell <carlos@redhat.com>
11570 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
11571 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
11572 (__old_pthread_attr_setstack): Likewise.
11573 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
11574 [!_STACK_GROWS_DOWN]: Likewise.
11576 2014-03-13 Mike Frysinger <vapier@gentoo.org>
11578 * config.make.in (have-bash2): Delete.
11579 * configure.ac (libc_cv_have_bash2): Delete.
11580 * configure: Regenerate.
11581 * elf/Makefile (common-ldd-rewrite): Rename to ...
11582 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
11583 (sh-ldd-rewrite): Delete.
11584 (bash-ldd-rewrite): Delete.
11585 (have-bash2): Delete checks.
11586 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
11589 * config.make.in (have-ksh): Delete.
11591 * configure.ac (libc_cv_have_ksh): Delete.
11592 * configure: Regenerate.
11594 * elf/Makefile: Delete $(have-ksh) check.
11595 ($(objpfx)sotruss): Change KSH to BASH.
11596 * elf/sotruss.ksh: Rename to ...
11597 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
11598 function style to match POSIX. Drop ksh vim mode setting.
11600 * manual/time.texi (Specifying the Time Zone with TZ): Change
11601 Tuesday to Thursday.
11603 * debug/tst-longjmp_chk2.c: Update header comment.
11604 (stackoverflow_handler): Add comment. Call assert on pass value.
11606 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
11609 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
11610 (HAVE_AVX512_ASM_SUPPORT): Likewise.
11611 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
11612 (La_x86_64_vector): Add zmm.
11613 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
11614 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
11615 ($(objpfx)tst-audit10): New target.
11616 ($(objpfx)tst-audit10.out): Likewise.
11617 (tst-audit10-ENV): New.
11618 (AVX512-CFLAGS): Likewise.
11619 (CFLAGS-tst-audit10.c): Likewise.
11620 (CFLAGS-tst-auditmod10a.c): Likewise.
11621 (CFLAGS-tst-auditmod10b.c): Likewise.
11622 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
11623 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
11624 * sysdeps/x86_64/configure: Regenerated.
11625 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
11626 AVX-512 zmm register support.
11627 (_dl_x86_64_save_sse): Likewise.
11628 (_dl_x86_64_restore_sse): Likewise.
11629 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
11630 size vector registers.
11631 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
11632 (ZMM_SIZE): Likewise.
11633 * sysdeps/x86_64/tst-audit10.c: New file.
11634 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
11635 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
11637 2014-03-13 Roland McGrath <roland@hack.frob.com>
11639 * configure.ac (HAVE_EHDR_START): New check.
11640 * configure: Regenerated.
11641 * config.h.in (HAVE_EHDR_START): New #undef.
11642 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
11643 assuming the lowest-addressed segment maps the start of the file.
11645 2014-03-13 Joseph Myers <joseph@codesourcery.com>
11647 * INSTALL: Regenerated.
11649 2014-03-13 Will Newton <will.newton@linaro.org>
11651 * manual/setjmp.texi (System V contexts): Improve
11652 clarity and grammar of documentation.
11654 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
11657 * elf/Makefile (tests): Add tst-pie2.
11658 (tests-pie): Add tst-pie2.
11659 * elf/tst-pie2.c: New file.
11660 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
11662 * elf/rtld.c (map_doit): Load executable as lt_executable.
11663 (dl_main): Likewise.
11665 2014-03-12 Joseph Myers <joseph@codesourcery.com>
11668 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11669 (__ASSUME_PSELECT): Undefine.
11671 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11674 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
11675 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
11677 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
11678 selector for static builds.
11680 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11683 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
11686 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11688 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
11689 IFUNC selector for static builds.
11691 2014-03-11 Joseph Myers <joseph@codesourcery.com>
11693 * sysdeps/mips/math_private.h [__mips_hard_float]
11694 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
11695 libc_feresetround_mips_ctx.
11696 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
11697 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
11698 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
11701 * math/s_nextafter.c (__nextafter): Do not return value from
11702 overflowing computation.
11703 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
11704 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
11705 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
11707 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11709 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
11710 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
11712 2014-03-11 Roland McGrath <roland@hack.frob.com>
11714 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
11715 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
11716 Move sfi_sp use from the load-multiple (that no longer sets sp) to
11717 the new mov targetting sp.
11719 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11722 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
11723 Define it for static builds as well.
11724 (NO_BZERO_IMPL): Likewise.
11726 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11728 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
11729 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
11730 multiarch strspn for PPC64.
11731 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
11732 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
11733 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11734 (__libc_ifunc_impl_list): Likewise.
11735 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
11736 multiarch optimizations
11737 * string/strspn.c (strspn): Using macro to redefine symbol name.
11739 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11740 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11742 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
11743 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
11744 multiarch strncat for PPC64.
11745 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
11746 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
11747 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11748 (__libc_ifunc_impl_list): Likewise.
11749 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
11750 multiarch optimizations
11752 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11755 * nscd/nscd.service: Make service type forking.
11757 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11759 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
11760 sign in non default rounding modes.
11761 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11763 2014-03-08 Joseph Myers <joseph@codesourcery.com>
11765 * math/libm-test.inc (ALL_RM_TEST): New macro.
11766 (ceil_test): Use ALL_RM_TEST.
11767 (cimag_test): Likewise.
11768 (conj_test): Likewise.
11769 (copysign_test): Likewise.
11770 (cproj_test): Likewise.
11771 (creal_test): Likewise.
11772 (fabs_test): Likewise.
11773 (floor_test): Likewise.
11774 (fmax_test): Likewise.
11775 (fmin_test): Likewise.
11776 (fmod_test): Likewise.
11777 (fpclassify_test): Likewise.
11778 (frexp_test): Likewise.
11779 (ilogb_test): Likewise.
11780 (isfinite_test): Likewise.
11781 (finite_test): Likewise.
11782 (isgreater_test): Likewise.
11783 (isgreaterequal_test): Likewise.
11784 (isinf_test): Likewise.
11785 (isless_test): Likewise.
11786 (islessequal_test): Likewise.
11787 (islessgreater_test): Likewise.
11788 (isnan_test): Likewise.
11789 (isnormal_test): Likewise.
11790 (issignaling_test): Likewise.
11791 (isunordered_test): Likewise.
11792 (logb_test): Likewise.
11793 (logb_downward_test_data): Remove.
11794 (logb_test_downward): Likewise.
11795 (lround_test): Use ALL_RM_TEST.
11796 (llround_test): Likewise.
11797 (modf_test): Likewise.
11798 (nexttoward_test): Likewise.
11799 (remainder_test): Likewise.
11800 (drem_test): Likewise.
11801 (remainder_tonearest_test_data): Likewise.
11802 (remainder_test_tonearest): Likewise.
11803 (drem_test_tonearest): Likewise.
11804 (remainder_towardzero_test_data): Likewise.
11805 (remainder_test_towardzero): Likewise.
11806 (drem_test_towardzero): Likewise.
11807 (remainder_downward_test_data): Likewise.
11808 (remainder_test_downward): Likewise.
11809 (drem_test_downward): Likewise.
11810 (remainder_upward_test_data): Likewise.
11811 (remainder_test_upward): Likewise.
11812 (drem_test_upward): Likewise.
11813 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
11814 (round_test): Use ALL_RM_TEST.
11815 (signbit_test): Likewise.
11816 (trunc_test): Likewise.
11817 (significand_test): Likewise.
11818 (main): Don't call removed functions.
11820 2014-03-07 Joseph Myers <joseph@codesourcery.com>
11823 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
11824 || __USE_XOPEN2K8].
11825 (ILL_ILLOPN): Likewise.
11826 (ILL_ILLADR): Likewise.
11827 (ILL_ILLTRP): Likewise.
11828 (ILL_PRVOPC): Likewise.
11829 (ILL_PRVREG): Likewise.
11830 (ILL_COPROC): Likewise.
11831 (ILL_BADSTK): Likewise.
11832 (FPE_INTDIV): Likewise.
11833 (FPE_INTOVF): Likewise.
11834 (FPE_FLTDIV): Likewise.
11835 (FPE_FLTOVF): Likewise.
11836 (FPE_FLTUND): Likewise.
11837 (FPE_FLTRES): Likewise.
11838 (FPE_FLTINV): Likewise.
11839 (FPE_FLTSUB): Likewise.
11840 (SEGV_MAPERR): Likewise.
11841 (SEGV_ACCERR): Likewise.
11842 (BUS_ADRALN): Likewise.
11843 (BUS_ADRERR): Likewise.
11844 (BUS_OBJERR): Likewise.
11845 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11846 (TRAP_TRACE): Likewise.
11847 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11849 (CLD_KILLED): Likewise.
11850 (CLD_DUMPED): Likewise.
11851 (CLD_TRAPPED): Likewise.
11852 (CLD_STOPPED): Likewise.
11853 (CLD_CONTINUED): Likewise.
11854 (POLL_IN): Likewise.
11855 (POLL_OUT): Likewise.
11856 (POLL_MSG): Likewise.
11857 (POLL_ERR): Likewise.
11858 (POLL_PRI): Likewise.
11859 (POLL_HUP): Likewise.
11860 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
11862 (ILL_ILLOPN): Likewise.
11863 (ILL_ILLADR): Likewise.
11864 (ILL_ILLTRP): Likewise.
11865 (ILL_PRVOPC): Likewise.
11866 (ILL_PRVREG): Likewise.
11867 (ILL_COPROC): Likewise.
11868 (ILL_BADSTK): Likewise.
11869 (FPE_INTDIV): Likewise.
11870 (FPE_INTOVF): Likewise.
11871 (FPE_FLTDIV): Likewise.
11872 (FPE_FLTOVF): Likewise.
11873 (FPE_FLTUND): Likewise.
11874 (FPE_FLTRES): Likewise.
11875 (FPE_FLTINV): Likewise.
11876 (FPE_FLTSUB): Likewise.
11877 (SEGV_MAPERR): Likewise.
11878 (SEGV_ACCERR): Likewise.
11879 (BUS_ADRALN): Likewise.
11880 (BUS_ADRERR): Likewise.
11881 (BUS_OBJERR): Likewise.
11882 (BUS_MCEERR_AR): Likewise.
11883 (BUS_MCEERR_AO): Likewise.
11884 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11885 (TRAP_TRACE): Likewise.
11886 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11888 (CLD_KILLED): Likewise.
11889 (CLD_DUMPED): Likewise.
11890 (CLD_TRAPPED): Likewise.
11891 (CLD_STOPPED): Likewise.
11892 (CLD_CONTINUED): Likewise.
11893 (POLL_IN): Likewise.
11894 (POLL_OUT): Likewise.
11895 (POLL_MSG): Likewise.
11896 (POLL_ERR): Likewise.
11897 (POLL_PRI): Likewise.
11898 (POLL_HUP): Likewise.
11899 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
11900 (ILL_ILLOPN): Likewise.
11901 (ILL_ILLADR): Likewise.
11902 (ILL_ILLTRP): Likewise.
11903 (ILL_PRVOPC): Likewise.
11904 (ILL_PRVREG): Likewise.
11905 (ILL_COPROC): Likewise.
11906 (ILL_BADSTK): Likewise.
11907 (FPE_INTDIV): Likewise.
11908 (FPE_INTOVF): Likewise.
11909 (FPE_FLTDIV): Likewise.
11910 (FPE_FLTOVF): Likewise.
11911 (FPE_FLTUND): Likewise.
11912 (FPE_FLTRES): Likewise.
11913 (FPE_FLTINV): Likewise.
11914 (FPE_FLTSUB): Likewise.
11915 (SEGV_MAPERR): Likewise.
11916 (SEGV_ACCERR): Likewise.
11917 (BUS_ADRALN): Likewise.
11918 (BUS_ADRERR): Likewise.
11919 (BUS_OBJERR): Likewise.
11920 (BUS_MCEERR_AR): Likewise.
11921 (BUS_MCEERR_AO): Likewise.
11922 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11923 (TRAP_TRACE): Likewise.
11924 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11926 (CLD_KILLED): Likewise.
11927 (CLD_DUMPED): Likewise.
11928 (CLD_TRAPPED): Likewise.
11929 (CLD_STOPPED): Likewise.
11930 (CLD_CONTINUED): Likewise.
11931 (POLL_IN): Likewise.
11932 (POLL_OUT): Likewise.
11933 (POLL_MSG): Likewise.
11934 (POLL_ERR): Likewise.
11935 (POLL_PRI): Likewise.
11936 (POLL_HUP): Likewise.
11937 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
11939 (ILL_ILLOPN): Likewise.
11940 (ILL_ILLADR): Likewise.
11941 (ILL_ILLTRP): Likewise.
11942 (ILL_PRVOPC): Likewise.
11943 (ILL_PRVREG): Likewise.
11944 (ILL_COPROC): Likewise.
11945 (ILL_BADSTK): Likewise.
11946 (ILL_BADIADDR): Likewise.
11947 (ILL_BREAK): Likewise.
11948 (FPE_INTDIV): Likewise.
11949 (FPE_INTOVF): Likewise.
11950 (FPE_FLTDIV): Likewise.
11951 (FPE_FLTOVF): Likewise.
11952 (FPE_FLTUND): Likewise.
11953 (FPE_FLTRES): Likewise.
11954 (FPE_FLTINV): Likewise.
11955 (FPE_FLTSUB): Likewise.
11956 (FPE_DECOVF): Likewise.
11957 (FPE_DECDIV): Likewise.
11958 (FPE_DECERR): Likewise.
11959 (FPE_INVASC): Likewise.
11960 (FPE_INVDEC): Likewise.
11961 (SEGV_MAPERR): Likewise.
11962 (SEGV_ACCERR): Likewise.
11963 (SEGV_PSTKOVF): Likewise.
11964 (BUS_ADRALN): Likewise.
11965 (BUS_ADRERR): Likewise.
11966 (BUS_OBJERR): Likewise.
11967 (BUS_MCEERR_AR): Likewise.
11968 (BUS_MCEERR_AO): Likewise.
11969 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11970 (TRAP_TRACE): Likewise.
11971 (TRAP_BRANCH): Likewise.
11972 (TRAP_HWBKPT): Likewise.
11973 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11975 (CLD_KILLED): Likewise.
11976 (CLD_DUMPED): Likewise.
11977 (CLD_TRAPPED): Likewise.
11978 (CLD_STOPPED): Likewise.
11979 (CLD_CONTINUED): Likewise.
11980 (POLL_IN): Likewise.
11981 (POLL_OUT): Likewise.
11982 (POLL_MSG): Likewise.
11983 (POLL_ERR): Likewise.
11984 (POLL_PRI): Likewise.
11985 (POLL_HUP): Likewise.
11986 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
11987 (ILL_ILLOPN): Likewise.
11988 (ILL_ILLADR): Likewise.
11989 (ILL_ILLTRP): Likewise.
11990 (ILL_PRVOPC): Likewise.
11991 (ILL_PRVREG): Likewise.
11992 (ILL_COPROC): Likewise.
11993 (ILL_BADSTK): Likewise.
11994 (FPE_INTDIV): Likewise.
11995 (FPE_INTOVF): Likewise.
11996 (FPE_FLTDIV): Likewise.
11997 (FPE_FLTOVF): Likewise.
11998 (FPE_FLTUND): Likewise.
11999 (FPE_FLTRES): Likewise.
12000 (FPE_FLTINV): Likewise.
12001 (FPE_FLTSUB): Likewise.
12002 (SEGV_MAPERR): Likewise.
12003 (SEGV_ACCERR): Likewise.
12004 (BUS_ADRALN): Likewise.
12005 (BUS_ADRERR): Likewise.
12006 (BUS_OBJERR): Likewise.
12007 (BUS_MCEERR_AR): Likewise.
12008 (BUS_MCEERR_AO): Likewise.
12009 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12010 (TRAP_TRACE): Likewise.
12011 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12013 (CLD_KILLED): Likewise.
12014 (CLD_DUMPED): Likewise.
12015 (CLD_TRAPPED): Likewise.
12016 (CLD_STOPPED): Likewise.
12017 (CLD_CONTINUED): Likewise.
12018 (POLL_IN): Likewise.
12019 (POLL_OUT): Likewise.
12020 (POLL_MSG): Likewise.
12021 (POLL_ERR): Likewise.
12022 (POLL_PRI): Likewise.
12023 (POLL_HUP): Likewise.
12024 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
12025 (ILL_ILLOPN): Likewise.
12026 (ILL_ILLADR): Likewise.
12027 (ILL_ILLTRP): Likewise.
12028 (ILL_PRVOPC): Likewise.
12029 (ILL_PRVREG): Likewise.
12030 (ILL_COPROC): Likewise.
12031 (ILL_BADSTK): Likewise.
12032 (FPE_INTDIV): Likewise.
12033 (FPE_INTOVF): Likewise.
12034 (FPE_FLTDIV): Likewise.
12035 (FPE_FLTOVF): Likewise.
12036 (FPE_FLTUND): Likewise.
12037 (FPE_FLTRES): Likewise.
12038 (FPE_FLTINV): Likewise.
12039 (FPE_FLTSUB): Likewise.
12040 (SEGV_MAPERR): Likewise.
12041 (SEGV_ACCERR): Likewise.
12042 (BUS_ADRALN): Likewise.
12043 (BUS_ADRERR): Likewise.
12044 (BUS_OBJERR): Likewise.
12045 (BUS_MCEERR_AR): Likewise.
12046 (BUS_MCEERR_AO): Likewise.
12047 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12048 (TRAP_TRACE): Likewise.
12049 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12051 (CLD_KILLED): Likewise.
12052 (CLD_DUMPED): Likewise.
12053 (CLD_TRAPPED): Likewise.
12054 (CLD_STOPPED): Likewise.
12055 (CLD_CONTINUED): Likewise.
12056 (POLL_IN): Likewise.
12057 (POLL_OUT): Likewise.
12058 (POLL_MSG): Likewise.
12059 (POLL_ERR): Likewise.
12060 (POLL_PRI): Likewise.
12061 (POLL_HUP): Likewise.
12062 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
12063 (ILL_ILLOPN): Likewise.
12064 (ILL_ILLADR): Likewise.
12065 (ILL_ILLTRP): Likewise.
12066 (ILL_PRVOPC): Likewise.
12067 (ILL_PRVREG): Likewise.
12068 (ILL_COPROC): Likewise.
12069 (ILL_BADSTK): Likewise.
12070 (FPE_INTDIV): Likewise.
12071 (FPE_INTOVF): Likewise.
12072 (FPE_FLTDIV): Likewise.
12073 (FPE_FLTOVF): Likewise.
12074 (FPE_FLTUND): Likewise.
12075 (FPE_FLTRES): Likewise.
12076 (FPE_FLTINV): Likewise.
12077 (FPE_FLTSUB): Likewise.
12078 (SEGV_MAPERR): Likewise.
12079 (SEGV_ACCERR): Likewise.
12080 (BUS_ADRALN): Likewise.
12081 (BUS_ADRERR): Likewise.
12082 (BUS_OBJERR): Likewise.
12083 (BUS_MCEERR_AR): Likewise.
12084 (BUS_MCEERR_AO): Likewise.
12085 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12086 (TRAP_TRACE): Likewise.
12087 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12089 (CLD_KILLED): Likewise.
12090 (CLD_DUMPED): Likewise.
12091 (CLD_TRAPPED): Likewise.
12092 (CLD_STOPPED): Likewise.
12093 (CLD_CONTINUED): Likewise.
12094 (POLL_IN): Likewise.
12095 (POLL_OUT): Likewise.
12096 (POLL_MSG): Likewise.
12097 (POLL_ERR): Likewise.
12098 (POLL_PRI): Likewise.
12099 (POLL_HUP): Likewise.
12100 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12101 (ILL_ILLOPN): Likewise.
12102 (ILL_ILLADR): Likewise.
12103 (ILL_ILLTRP): Likewise.
12104 (ILL_PRVOPC): Likewise.
12105 (ILL_PRVREG): Likewise.
12106 (ILL_COPROC): Likewise.
12107 (ILL_BADSTK): Likewise.
12108 (ILL_DBLFLT): Likewise.
12109 (ILL_HARDWALL): Likewise.
12110 (FPE_INTDIV): Likewise.
12111 (FPE_INTOVF): Likewise.
12112 (FPE_FLTDIV): Likewise.
12113 (FPE_FLTOVF): Likewise.
12114 (FPE_FLTUND): Likewise.
12115 (FPE_FLTRES): Likewise.
12116 (FPE_FLTINV): Likewise.
12117 (FPE_FLTSUB): Likewise.
12118 (SEGV_MAPERR): Likewise.
12119 (SEGV_ACCERR): Likewise.
12120 (BUS_ADRALN): Likewise.
12121 (BUS_ADRERR): Likewise.
12122 (BUS_OBJERR): Likewise.
12123 (BUS_MCEERR_AR): Likewise.
12124 (BUS_MCEERR_AO): Likewise.
12125 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12126 (TRAP_TRACE): Likewise.
12127 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12129 (CLD_KILLED): Likewise.
12130 (CLD_DUMPED): Likewise.
12131 (CLD_TRAPPED): Likewise.
12132 (CLD_STOPPED): Likewise.
12133 (CLD_CONTINUED): Likewise.
12134 (POLL_IN): Likewise.
12135 (POLL_OUT): Likewise.
12136 (POLL_MSG): Likewise.
12137 (POLL_ERR): Likewise.
12138 (POLL_PRI): Likewise.
12139 (POLL_HUP): Likewise.
12140 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
12141 (ILL_ILLOPN): Likewise.
12142 (ILL_ILLADR): Likewise.
12143 (ILL_ILLTRP): Likewise.
12144 (ILL_PRVOPC): Likewise.
12145 (ILL_PRVREG): Likewise.
12146 (ILL_COPROC): Likewise.
12147 (ILL_BADSTK): Likewise.
12148 (FPE_INTDIV): Likewise.
12149 (FPE_INTOVF): Likewise.
12150 (FPE_FLTDIV): Likewise.
12151 (FPE_FLTOVF): Likewise.
12152 (FPE_FLTUND): Likewise.
12153 (FPE_FLTRES): Likewise.
12154 (FPE_FLTINV): Likewise.
12155 (FPE_FLTSUB): Likewise.
12156 (SEGV_MAPERR): Likewise.
12157 (SEGV_ACCERR): Likewise.
12158 (BUS_ADRALN): Likewise.
12159 (BUS_ADRERR): Likewise.
12160 (BUS_OBJERR): Likewise.
12161 (BUS_MCEERR_AR): Likewise.
12162 (BUS_MCEERR_AO): Likewise.
12163 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12164 (TRAP_TRACE): Likewise.
12165 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12167 (CLD_KILLED): Likewise.
12168 (CLD_DUMPED): Likewise.
12169 (CLD_TRAPPED): Likewise.
12170 (CLD_STOPPED): Likewise.
12171 (CLD_CONTINUED): Likewise.
12172 (POLL_IN): Likewise.
12173 (POLL_OUT): Likewise.
12174 (POLL_MSG): Likewise.
12175 (POLL_ERR): Likewise.
12176 (POLL_PRI): Likewise.
12177 (POLL_HUP): Likewise.
12178 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
12179 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12182 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
12183 before #include of <time.h>.
12184 [!__USE_XOPEN2K] (__need_timespec): Likewise.
12185 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
12186 (test-xfail-UNIX98/sched.h/conform): Likewise.
12188 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
12190 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
12191 error absence of trapping exception support.
12192 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12194 2014-03-07 Joseph Myers <joseph@codesourcery.com>
12196 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
12197 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
12198 * timezone/Makefile (testdata): Move definition above include of
12200 (test-zones): New variable.
12201 (tests-special): Add zone files.
12202 (build-testdata): Use $(evaluate-test).
12204 * elf/Makefile (tests-special): Rename tests to end with .out.
12205 ($(objpfx)noload-mem): Likewise.
12206 ($(objpfx)tst-leaks1-mem): Likewise.
12207 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
12208 * iconv/Makefile (xtests-special): Change test-iconvconfig to
12209 $(objpfx)test-iconvconfig.out.
12210 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
12211 set -e inside subshell and redirect output to file.
12212 * iconvdata/Makefile (generated): Rename tests to end with .out.
12214 (tests-special): Rename tests to end with .out.
12215 ($(objpfx)mtrace-tst-loading): Likewise.
12216 * intl/Makefile (generated): Likewise.
12217 (tests-special): Likewise.
12218 ($(objpfx)mtrace-tst-gettext): Likewise.
12219 * misc/Makefile (generated): Likewise.
12220 (tests-special): Likewise.
12221 ($(objpfx)tst-error1-mem): Likewise.
12222 * nptl/Makefile (tests-special): Likewise.
12223 ($(objpfx)tst-stack3-mem): Likewise.
12224 (generated): Likewise.
12225 * posix/Makefile (generated): Likewise.
12226 (tests-special): Likewise.
12227 (xtests-special): Likewise.
12228 ($(objpfx)tst-fnmatch-mem): Likewise.
12229 ($(objpfx)bug-regex2-mem): Likewise.
12230 ($(objpfx)bug-regex14-mem): Likewise.
12231 ($(objpfx)bug-regex21-mem): Likewise.
12232 ($(objpfx)bug-regex31-mem): Likewise.
12233 ($(objpfx)tst-vfork3-mem): Likewise.
12234 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12235 ($(objpfx)tst-pcre-mem): Likewise.
12236 ($(objpfx)tst-boost-mem): Likewise.
12237 ($(objpfx)bug-ga2-mem): Likewise.
12238 ($(objpfx)bug-glob2-mem): Likewise.
12239 * resolv/Makefile (generate): Likewise.
12240 (tests-special): Likewise.
12241 (xtests-special): Likewise.
12242 (generated): Likewise.
12243 ($(objpfx)mtrace-tst-leaks): Likewise.
12244 ($(objpfx)mtrace-tst-leaks2): Likewise.
12246 * scripts/merge-test-results.sh: New file.
12247 * Makefile (tests-special-notdir): New variable.
12248 (tests): Run merge-test-results.sh.
12249 (xtests): Likewise.
12250 * Rules (tests-special-notdir): New variable.
12251 (xtests-special-notdir): Likewise.
12252 (tests): Run merge-test-results.sh
12253 (xtests): Likewise.
12255 * Makeconfig (test-xfail-name): New variable.
12256 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
12257 compute variable name for expected failures.
12258 * conform/Makefile (conformtest-headers-data): New variable.
12259 (conformtest-standards): Likewise.
12260 (conformtest-headers-ISO): Likewise.
12261 (conformtest-headers-ISO99): Likewise.
12262 (conformtest-headers-ISO11): Likewise.
12263 (conformtest-headers-POSIX): Likewise.
12264 (conformtest-headers-XPG3): Likewise.
12265 (conformtest-headers-XPG4): Likewise.
12266 (conformtest-headers-UNIX98): Likewise.
12267 (conformtest-headers-XOPEN2K): Likewise.
12268 (conformtest-headers-POSIX2008): Likewise.
12269 (conformtest-headers-XOPEN2K8): Likewise.
12270 (conformtest-header-list-base): Likewise.
12271 (conformtest-header-list-tests): Likewise.
12272 (conformtest-header-base): Likewise.
12273 (conformtest-header-tests): Likewise.
12274 (tests-special): Add $(conformtest-header-list-tests). If
12275 [$(fast-check) && !$(cross-compiling)], add
12276 $(conformtest-header-tests) instead of
12277 $(objpfx)run-conformtest.out.
12278 (generated): Add $(conformtest-header-list-base). If
12279 [$(fast-check) && !$(cross-compiling)], add
12280 $(conformtest-header-base). Remove previous setting.
12281 ($(conformtest-header-list-tests)): New target.
12282 (test-xfail-run-conformtest): Remove variable.
12283 ($(objpfx)run-conformtest.out): Remove target.
12284 (test-xfail-ISO11/complex.h/conform): New variable.
12285 (test-xfail-ISO11/stdalign.h/conform): Likewise.
12286 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12287 (test-xfail-XPG3/varargs.h/conform): Likewise.
12288 (test-xfail-XPG4/varargs.h/conform): Likewise.
12289 (test-xfail-UNIX98/varargs.h/conform): Likewise.
12290 (test-xfail-XPG4/ndbm.h/conform): Likewise.
12291 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
12292 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
12293 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
12294 (test-xfail-XPG3/fcntl.h/conform): Likewise.
12295 (test-xfail-XPG3/ftw.h/conform): Likewise.
12296 (test-xfail-XPG3/grp.h/conform): Likewise.
12297 (test-xfail-XPG3/langinfo.h/conform): Likewise.
12298 (test-xfail-XPG3/limits.h/conform): Likewise.
12299 (test-xfail-XPG3/pwd.h/conform): Likewise.
12300 (test-xfail-XPG3/search.h/conform): Likewise.
12301 (test-xfail-XPG3/signal.h/conform): Likewise.
12302 (test-xfail-XPG3/stdio.h/conform): Likewise.
12303 (test-xfail-XPG3/stdlib.h/conform): Likewise.
12304 (test-xfail-XPG3/string.h/conform): Likewise.
12305 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
12306 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
12307 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12308 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12309 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
12310 (test-xfail-XPG3/sys/types.h/conform): Likewise.
12311 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
12312 (test-xfail-XPG3/termios.h/conform): Likewise.
12313 (test-xfail-XPG3/time.h/conform): Likewise.
12314 (test-xfail-XPG3/unistd.h/conform): Likewise.
12315 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
12316 (test-xfail-XPG4/fcntl.h/conform): Likewise.
12317 (test-xfail-XPG4/langinfo.h/conform): Likewise.
12318 (test-xfail-XPG4/netdb.h/conform): Likewise.
12319 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
12320 (test-xfail-XPG4/signal.h/conform): Likewise.
12321 (test-xfail-XPG4/stdio.h/conform): Likewise.
12322 (test-xfail-XPG4/stdlib.h/conform): Likewise.
12323 (test-xfail-XPG4/stropts.h/conform): Likewise.
12324 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12325 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12326 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12327 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12328 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12329 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
12330 (test-xfail-XPG4/sys/time.h/conform): Likewise.
12331 (test-xfail-XPG4/sys/types.h/conform): Likewise.
12332 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
12333 (test-xfail-XPG4/termios.h/conform): Likewise.
12334 (test-xfail-XPG4/ucontext.h/conform): Likewise.
12335 (test-xfail-XPG4/unistd.h/conform): Likewise.
12336 (test-xfail-XPG4/utmpx.h/conform): Likewise.
12337 (test-xfail-POSIX/sched.h/conform): Likewise.
12338 (test-xfail-POSIX/signal.h/conform): Likewise.
12339 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12340 (test-xfail-POSIX/tar.h/conform): Likewise.
12341 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
12342 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
12343 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
12344 (test-xfail-UNIX98/netdb.h/conform): Likewise.
12345 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
12346 (test-xfail-UNIX98/sched.h/conform): Likewise.
12347 (test-xfail-UNIX98/signal.h/conform): Likewise.
12348 (test-xfail-UNIX98/stdio.h/conform): Likewise.
12349 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
12350 (test-xfail-UNIX98/stropts.h/conform): Likewise.
12351 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12352 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12353 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12354 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12355 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12356 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
12357 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
12358 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
12359 (test-xfail-UNIX98/unistd.h/conform): Likewise.
12360 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
12361 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
12362 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
12363 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
12364 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
12365 (test-xfail-XOPEN2K/math.h/conform): Likewise.
12366 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12367 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12368 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12369 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
12370 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
12371 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
12372 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
12373 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12374 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12375 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12376 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12377 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12378 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12379 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
12380 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
12381 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12382 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
12383 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12384 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
12385 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12386 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
12387 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
12388 (test-xfail-POSIX2008/signal.h/conform): Likewise.
12389 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12390 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
12391 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
12392 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12393 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12394 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
12395 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12396 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12397 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12398 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
12399 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
12400 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12401 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12402 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12403 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
12404 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12405 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12406 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12407 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12408 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
12409 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12410 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12411 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
12412 (conformtest-cc-flags): Likewise.
12413 ($(conformtest-header-tests): New target.
12414 * conform/check-header-lists.sh: New file.
12415 * conform/run-conformtest.sh: Remove.
12417 * conform/conformtest.pl: Allow ' and \ in values given for
12419 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
12421 [POSIX] (sys/types.h): Likewise.
12422 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
12424 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
12426 * conform/data/signal.h-data (SIGIO): Remove expectation.
12427 [XPG3] (SIGBUS): Do not expect.
12428 [POSIX || XPG3] (SIGPOLL): Likewise.
12429 [POSIX || XPG3] (SIGPROF): Likewise.
12430 [POSIX || XPG3] (SIGSYS): Likewise.
12431 [XPG3] (SIGTRAP): Likewise.
12432 [POSIX || XPG3] (SIGURG): Likewise.
12433 [POSIX || XPG3] (SIGVTALRM): Likewise.
12434 [POSIX || XPG3] (SIGXCPU): Likewise.
12435 [POSIX || XPG3] (SIGXFSZ): Likewise.
12436 [POSIX] (SA_SIGINFO): Expect.
12437 [XPG3] (siginfo_t): Do not expect type or contents.
12438 [POSIX] (si_pid): Do not expect element.
12439 [POSIX] (si_uid): Likewise.
12440 [POSIX] (si_addr): Likewise.
12441 [POSIX] (si_status): Likewise.
12442 [POSIX] (si_band): Likewise.
12443 [XPG4] (si_value): Likewise.
12444 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
12445 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
12446 [POSIX || XPG3] (ILL_ILLADR): Likewise.
12447 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
12448 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
12449 [POSIX || XPG3] (ILL_PRVREG): Likewise.
12450 [POSIX || XPG3] (ILL_COPROC): Likewise.
12451 [POSIX || XPG3] (ILL_BADSTK): Likewise.
12452 [POSIX || XPG3] (FPE_INTDIV): Likewise.
12453 [POSIX || XPG3] (FPE_INTOVF): Likewise.
12454 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
12455 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
12456 [POSIX || XPG3] (FPE_FLTUND): Likewise.
12457 [POSIX || XPG3] (FPE_FLTRES): Likewise.
12458 [POSIX || XPG3] (FPE_FLTINV): Likewise.
12459 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
12460 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
12461 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
12462 [POSIX || XPG3] (BUS_ADRALN): Likewise.
12463 [POSIX || XPG3] (BUS_ADRERR): Likewise.
12464 [POSIX || XPG3] (BUS_OBJERR): Likewise.
12465 [POSIX || XPG3] (CLD_EXITED): Likewise.
12466 [POSIX || XPG3] (CLD_KILLED): Likewise.
12467 [POSIX || XPG3] (CLD_DUMPED): Likewise.
12468 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
12469 [POSIX || XPG3] (CLD_STOPPED): Likewise.
12470 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
12471 [POSIX || XPG3] (POLL_IN): Likewise.
12472 [POSIX || XPG3] (POLL_OUT): Likewise.
12473 [POSIX || XPG3] (POLL_MSG): Likewise.
12474 [POSIX || XPG3] (POLL_ERR): Likewise.
12475 [POSIX || XPG3] (POLL_PRI): Likewise.
12476 [POSIX || XPG3] (POLL_HUP): Likewise.
12477 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
12478 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
12479 (SIG*): Do not allow.
12480 [XPG3] (si_*): Likewise.
12481 [XPG3] (SI_*): Likewise.
12482 [XPG3 || XPG4] (sigev_*): Likewise.
12483 [XPG3 || XPG4] (SIGEV_*): Likewise.
12484 [XPG3 || XPG4] (sival_*): Likewise.
12485 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
12486 [POSIX || XPG3] (BUS_*): Likewise.
12487 [POSIX || XPG3] (CLD_*): Likewise.
12488 [POSIX || XPG3] (FPE_*): Likewise.
12489 [POSIX || XPG3] (ILL_*): Likewise.
12490 [POSIX || XPG3] (POLL_*): Likewise.
12491 [POSIX || XPG3] (SEGV_*): Likewise.
12492 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
12493 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
12494 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
12495 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
12496 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
12497 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
12498 Specify type and value.
12499 (TVERSLEN): Likewise.
12500 (REGTYPE): Likewise.
12501 (AREGTYPE): Likewise.
12502 (LNKTYPE): Likewise.
12503 (SYMTYPE): Likewise.
12504 (CHRTYPE): Likewise.
12505 (BLKTYPE): Likewise.
12506 (DIRTYPE): Likewise.
12507 (FIFOTYPE): Likewise.
12508 (CONTTYPE): Likewise.
12512 (TUREAD): Likewise.
12513 (TUWRITE): Likewise.
12514 (TUEXEC): Likewise.
12515 (TGREAD): Likewise.
12516 (TGWRITE): Likewise.
12517 (TGEXEC): Likewise.
12518 (TOREAD): Likewise.
12519 (TOWRITE): Likewise.
12520 (TOEXEC): Likewise.
12521 [POSIX] (TSVTX): Expect constant.
12523 2014-03-06 Joseph Myers <joseph@codesourcery.com>
12525 * Makefile (tests): Change dependencies to ....
12526 (tests-special): ... additions to this variable.
12527 (tests): Depend on $(tests-special).
12528 * Makerules (check-abi-list): New variable.
12529 (check-abi): Depend on $(check-abi-list).
12530 [$(subdir) = elf] (tests-special): Add
12531 $(objpfx)check-abi-libc.out.
12532 [$(build-shared) = yes && subdir] (tests-special): Add
12534 [$(build-shared) = yes && subdir] (tests): Do not depend on
12536 * Rules (tests): Depend on $(tests-special).
12537 (xtests): Depend on $(xtests-special).
12538 * catgets/Makefile (tests): Change dependencies to ....
12539 (tests-special): ... additions to this variable.
12540 * conform/Makefile (tests): Change dependencies to ....
12541 (tests-special): ... additions to this variable.
12542 * elf/Makefile (tests): Change dependencies to ....
12543 (tests-special): ... additions to this variable.
12544 * grp/Makefile (tests): Change dependencies to ....
12545 (tests-special): ... additions to this variable.
12546 * iconv/Makefile (xtests): Change dependencies to ....
12547 (xtests-special): ... additions to this variable.
12548 * iconvdata/Makefile (tests): Change dependencies to ....
12549 (tests-special): ... additions to this variable.
12550 * intl/Makefile (tests): Change dependencies to ....
12551 (tests-special): ... additions to this variable. Also add
12552 $(objpfx)tst-gettext.out.
12553 * io/Makefile (tests): Change dependencies to ....
12554 (tests-special): ... additions to this variable.
12555 * libio/Makefile (tests): Change dependencies to ....
12556 (tests-special): ... additions to this variable.
12557 * malloc/Makefile (tests): Change dependencies to ....
12558 (tests-special): ... additions to this variable.
12559 * misc/Makefile (tests): Change dependencies to ....
12560 (tests-special): ... additions to this variable.
12561 * nptl/Makefile (tests): Change dependencies to ....
12562 (tests-special): ... additions to this variable.
12563 * nptl_db/Makefile (tests): Change dependencies to ....
12564 (tests-special): ... additions to this variable.
12565 * posix/Makefile (tests): Change dependencies to ....
12566 (tests-special): ... additions to this variable.
12567 (xtests): Change dependencies to ....
12568 (xtests-special): ... additions to this variable.
12569 * resolv/Makefile (tests): Change dependencies to ....
12570 (tests-special): ... additions to this variable.
12571 (xtests): Change dependencies to ....
12572 (xtests-special): ... additions to this variable.
12573 * stdio-common/Makefile (tests): Change dependencies to ....
12574 (tests-special): ... additions to this variable.
12575 (do-tst-unbputc): Remove target.
12576 (do-tst-printf): Likewise.
12577 * stdlib/Makefile (tests): Change dependencies to ....
12578 (tests-special): ... additions to this variable.
12579 * string/Makefile (tests): Change dependencies to ....
12580 (tests-special): ... additions to this variable.
12581 * sysdeps/x86/Makefile (tests): Change dependencies to ....
12582 (tests-special): ... additions to this variable.
12584 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
12586 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
12588 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
12589 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
12591 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
12592 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
12593 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
12594 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
12595 * conform/data/libgen.h-data [XPG3]: Likewise.
12596 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
12597 * conform/data/ndbm.h-data [XPG3]: Likewise.
12598 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12599 * conform/data/netdb.h-data [XPG3]: Likewise.
12600 * conform/data/netinet/in.h-data [XPG3]: Likewise.
12601 * conform/data/poll.h-data [XPG3]: Likewise.
12602 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12603 * conform/data/strings.h-data [XPG3]: Likewise.
12604 * conform/data/stropts.h-data [XPG3]: Likewise.
12605 * conform/data/sys/mman.h-data [XPG3]: Likewise.
12606 * conform/data/sys/resource.h-data [XPG3]: Likewise.
12607 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
12609 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
12610 * conform/data/sys/time.h-data [XPG3]: Likewise.
12611 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
12612 * conform/data/sys/uio.h-data [XPG3]: Likewise.
12613 * conform/data/sys/un.h-data [XPG3]: Likewise.
12614 * conform/data/syslog.h-data [XPG3]: Likewise.
12615 * conform/data/ucontext.h-data [XPG3]: Likewise.
12616 * conform/data/utmpx.h-data [XPG3]: Likewise.
12617 * conform/data/varargs.h-data [UNIX98]: Enable file.
12619 * manual/Makefile (INSTALL_INFO): Remove variable setting.
12621 * math/libm-test.inc (struct test_f_f_data): Move expected results
12622 into structure for each rounding mode.
12623 (struct test_ff_f_data): Likewise.
12624 (struct test_ff_f_data_nexttoward): Likewise.
12625 (struct test_fi_f_data): Likewise.
12626 (struct test_fl_f_data): Likewise.
12627 (struct test_if_f_data): Likewise.
12628 (struct test_fff_f_data): Likewise.
12629 (struct test_c_f_data): Likewise.
12630 (struct test_f_f1_data): Likewise.
12631 (struct test_fF_f1_data): Likewise.
12632 (struct test_ffI_f1_data): Likewise.
12633 (struct test_c_c_data): Likewise.
12634 (struct test_cc_c_data): Likewise.
12635 (struct test_f_i_data): Likewise.
12636 (struct test_ff_i_data): Likewise.
12637 (struct test_f_l_data): Likewise.
12638 (struct test_f_L_data): Likewise.
12639 (struct test_fFF_11_data): Likewise.
12641 (RM_FE_DOWNWARD): Likewise.
12642 (RM_FE_TONEAREST): Likewise.
12643 (RM_FE_TOWARDZERO): Likewise.
12644 (RM_FE_UPWARD): Likewise.
12645 (RUN_TEST_LOOP_f_f): Update references to expected results.
12646 (RUN_TEST_LOOP_2_f): Likewise.
12647 (RUN_TEST_LOOP_fff_f): Likewise.
12648 (RUN_TEST_LOOP_c_f): Likewise.
12649 (RUN_TEST_LOOP_f_f1): Likewise.
12650 (RUN_TEST_LOOP_fF_f1): Likewise.
12651 (RUN_TEST_LOOP_fI_f1): Likewise.
12652 (RUN_TEST_LOOP_ffI_f1): Likewise.
12653 (RUN_TEST_LOOP_c_c): Likewise.
12654 (RUN_TEST_LOOP_cc_c): Likewise.
12655 (RUN_TEST_LOOP_f_i): Likewise.
12656 (RUN_TEST_LOOP_f_i_tg): Likewise.
12657 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12658 (RUN_TEST_LOOP_f_b): Likewise.
12659 (RUN_TEST_LOOP_f_b_tg): Likewise.
12660 (RUN_TEST_LOOP_f_l): Likewise.
12661 (RUN_TEST_LOOP_f_L): Likewise.
12662 (RUN_TEST_LOOP_fFF_11): Likewise.
12663 * math/gen-libm-test.pl (parse_args): Output four copies of
12664 expected results for each test.
12666 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12667 (__ASSUME_UTIMES): Remove.
12668 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12669 (__ASSUME_UTIMES): Likewise.
12671 * math/gen-auto-libm-tests.c: Update comment on output format.
12672 (output_for_one_input_case): Generate before-rounding and
12673 after-rounding information as conditions on output flags not
12674 floating-point format.
12675 * math/auto-libm-test-out: Regenerated.
12676 * math/gen-libm-test.pl (cond_value): New function.
12677 (or_cond_value): Use cond_value.
12678 (generate_testfile): Handle conditional exceptions.
12680 2014-03-05 Joseph Myers <joseph@codesourcery.com>
12682 * math/libm-test.inc (max_valid_error): New variable.
12683 (init_max_error): Take new argument specifying whether function
12684 results are exactly determined. Set max_valid_error and bound
12685 other variables for errors based on this argument.
12686 (set_max_error): Do not record results above max_valid_error.
12687 (check_float_internal): Only accept errors of up to 0.5ulps if
12688 also at most max_valid_error.
12689 (START): Take new argument EXACT and pass it to init_max_error.
12690 (acos_test): Update call to START.
12691 (acos_test_tonearest): Likewise.
12692 (acos_test_towardzero): Likewise.
12693 (acos_test_downward): Likewise.
12694 (acos_test_upward): Likewise.
12695 (acosh_test): Likewise.
12696 (asin_test): Likewise.
12697 (asin_test_tonearest): Likewise.
12698 (asin_test_towardzero): Likewise.
12699 (asin_test_downward): Likewise.
12700 (asin_test_upward): Likewise.
12701 (asinh_test): Likewise.
12702 (atan_test): Likewise.
12703 (atanh_test): Likewise.
12704 (atan2_test): Likewise.
12705 (cabs_test): Likewise.
12706 (cacos_test): Likewise.
12707 (cacosh_test): Likewise.
12708 (carg_test): Likewise.
12709 (casin_test): Likewise.
12710 (casinh_test): Likewise.
12711 (catan_test): Likewise.
12712 (catanh_test): Likewise.
12713 (cbrt_test): Likewise.
12714 (ccos_test): Likewise.
12715 (ccosh_test): Likewise.
12716 (ceil_test): Likewise.
12717 (cexp_test): Likewise.
12718 (cimag_test): Likewise.
12719 (clog_test): Likewise.
12720 (clog10_test): Likewise.
12721 (conj_test): Likewise.
12722 (copysign_test): Likewise.
12723 (cos_test): Likewise.
12724 (cos_test_tonearest): Likewise.
12725 (cos_test_towardzero): Likewise.
12726 (cos_test_downward): Likewise.
12727 (cos_test_upward): Likewise.
12728 (cosh_test): Likewise.
12729 (cosh_test_tonearest): Likewise.
12730 (cosh_test_towardzero): Likewise.
12731 (cosh_test_downward): Likewise.
12732 (cosh_test_upward): Likewise.
12733 (cpow_test): Likewise.
12734 (cproj_test): Likewise.
12735 (creal_test): Likewise.
12736 (csin_test): Likewise.
12737 (csinh_test): Likewise.
12738 (csqrt_test): Likewise.
12739 (ctan_test): Likewise.
12740 (ctan_test_tonearest): Likewise.
12741 (ctan_test_towardzero): Likewise.
12742 (ctan_test_downward): Likewise.
12743 (ctan_test_upward): Likewise.
12744 (ctanh_test): Likewise.
12745 (ctanh_test_tonearest): Likewise.
12746 (ctanh_test_towardzero): Likewise.
12747 (ctanh_test_downward): Likewise.
12748 (ctanh_test_upward): Likewise.
12749 (erf_test): Likewise.
12750 (erfc_test): Likewise.
12751 (exp_test): Likewise.
12752 (exp_test_tonearest): Likewise.
12753 (exp_test_towardzero): Likewise.
12754 (exp_test_downward): Likewise.
12755 (exp_test_upward): Likewise.
12756 (exp10_test): Likewise.
12757 (exp10_test_tonearest): Likewise.
12758 (exp10_test_towardzero): Likewise.
12759 (exp10_test_downward): Likewise.
12760 (exp10_test_upward): Likewise.
12761 (pow10_test): Likewise.
12762 (exp2_test): Likewise.
12763 (expm1_test): Likewise.
12764 (expm1_test_tonearest): Likewise.
12765 (expm1_test_towardzero): Likewise.
12766 (expm1_test_downward): Likewise.
12767 (expm1_test_upward): Likewise.
12768 (fabs_test): Likewise.
12769 (fdim_test): Likewise.
12770 (floor_test): Likewise.
12771 (fma_test): Likewise.
12772 (fma_test_towardzero): Likewise.
12773 (fma_test_downward): Likewise.
12774 (fma_test_upward): Likewise.
12775 (fmax_test): Likewise.
12776 (fmin_test): Likewise.
12777 (fmod_test): Likewise.
12778 (fpclassify_test): Likewise.
12779 (frexp_test): Likewise.
12780 (hypot_test): Likewise.
12781 (ilogb_test): Likewise.
12782 (isfinite_test): Likewise.
12783 (finite_test): Likewise.
12784 (isgreater_test): Likewise.
12785 (isgreaterequal_test): Likewise.
12786 (isinf_test): Likewise.
12787 (isless_test): Likewise.
12788 (islessequal_test): Likewise.
12789 (islessgreater_test): Likewise.
12790 (isnan_test): Likewise.
12791 (isnormal_test): Likewise.
12792 (issignaling_test): Likewise.
12793 (isunordered_test): Likewise.
12794 (j0_test): Likewise.
12795 (j1_test): Likewise.
12796 (jn_test): Likewise.
12797 (ldexp_test): Likewise.
12798 (lgamma_test): Likewise.
12799 (gamma_test): Likewise.
12800 (lrint_test): Likewise.
12801 (lrint_test_tonearest): Likewise.
12802 (lrint_test_towardzero): Likewise.
12803 (lrint_test_downward): Likewise.
12804 (lrint_test_upward): Likewise.
12805 (llrint_test): Likewise.
12806 (llrint_test_tonearest): Likewise.
12807 (llrint_test_towardzero): Likewise.
12808 (llrint_test_downward): Likewise.
12809 (llrint_test_upward): Likewise.
12810 (log_test): Likewise.
12811 (log10_test): Likewise.
12812 (log1p_test): Likewise.
12813 (log2_test): Likewise.
12814 (logb_test): Likewise.
12815 (logb_test_downward): Likewise.
12816 (lround_test): Likewise.
12817 (llround_test): Likewise.
12818 (modf_test): Likewise.
12819 (nearbyint_test): Likewise.
12820 (nextafter_test): Likewise.
12821 (nexttoward_test): Likewise.
12822 (pow_test): Likewise.
12823 (pow_test_tonearest): Likewise.
12824 (pow_test_towardzero): Likewise.
12825 (pow_test_downward): Likewise.
12826 (pow_test_upward): Likewise.
12827 (remainder_test): Likewise.
12828 (drem_test): Likewise.
12829 (remainder_test_tonearest): Likewise.
12830 (drem_test_tonearest): Likewise.
12831 (remainder_test_towardzero): Likewise.
12832 (drem_test_towardzero): Likewise.
12833 (remainder_test_downward): Likewise.
12834 (drem_test_downward): Likewise.
12835 (remainder_test_upward): Likewise.
12836 (drem_test_upward): Likewise.
12837 (remquo_test): Likewise.
12838 (rint_test): Likewise.
12839 (rint_test_tonearest): Likewise.
12840 (rint_test_towardzero): Likewise.
12841 (rint_test_downward): Likewise.
12842 (rint_test_upward): Likewise.
12843 (round_test): Likewise.
12844 (scalb_test): Likewise.
12845 (scalbn_test): Likewise.
12846 (scalbln_test): Likewise.
12847 (signbit_test): Likewise.
12848 (sin_test): Likewise.
12849 (sin_test_tonearest): Likewise.
12850 (sin_test_towardzero): Likewise.
12851 (sin_test_downward): Likewise.
12852 (sin_test_upward): Likewise.
12853 (sincos_test): Likewise.
12854 (sinh_test): Likewise.
12855 (sinh_test_tonearest): Likewise.
12856 (sinh_test_towardzero): Likewise.
12857 (sinh_test_downward): Likewise.
12858 (sinh_test_upward): Likewise.
12859 (sqrt_test): Likewise.
12860 (sqrt_test_tonearest): Likewise.
12861 (sqrt_test_towardzero): Likewise.
12862 (sqrt_test_downward): Likewise.
12863 (sqrt_test_upward): Likewise.
12864 (tan_test): Likewise.
12865 (tan_test_tonearest): Likewise.
12866 (tan_test_towardzero): Likewise.
12867 (tan_test_downward): Likewise.
12868 (tan_test_upward): Likewise.
12869 (tanh_test): Likewise.
12870 (tgamma_test): Likewise.
12871 (trunc_test): Likewise.
12872 (y0_test): Likewise.
12873 (y1_test): Likewise.
12874 (yn_test): Likewise.
12875 (significand_test): Likewise.
12877 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
12878 individual tests in comment.
12879 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
12880 (prev_max_error): New variable.
12881 (prev_real_max_error): Likewise.
12882 (prev_imag_max_error): Likewise.
12883 (compare_ulp_data): Don't refer to test names in comment.
12884 (find_test_ulps): Remove function.
12885 (find_function_ulps): Likewise.
12886 (find_complex_function_ulps): Likewise.
12887 (init_max_error): Take function name as argument. Look up ulps
12889 (print_ulps): Remove function.
12890 (print_max_error): Use prev_max_error instead of calling
12891 find_function_ulps.
12892 (print_complex_max_error): Use prev_real_max_error and
12893 prev_imag_max_error instead of calling find_complex_function_ulps.
12894 (check_float_internal): Take max_ulp parameter instead of calling
12895 find_test_ulps. Don't call print_ulps.
12896 (check_float): Update call to check_float_internal.
12897 (check_complex): Update calls to check_float_internal.
12898 (START): Pass argument to init_max_error.
12899 * math/gen-libm-test.pl (%results): Don't include "kind"
12901 (parse_ulps): Don't handle ulps of individual tests.
12902 (print_ulps_file): Likewise.
12903 (output_ulps): Likewise.
12904 * math/README.libm-test: Update.
12905 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
12907 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
12908 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12909 * sysdeps/arm/libm-test-ulps: Likewise.
12910 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12911 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
12912 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
12913 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
12914 * sysdeps/microblaze/libm-test-ulps: Likewise.
12915 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12916 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12917 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12918 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12919 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12920 * sysdeps/sh/libm-test-ulps: Likewise.
12921 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12922 * sysdeps/tile/libm-test-ulps: Likewise.
12923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12925 2014-03-04 Joseph Myers <joseph@codesourcery.com>
12927 * math/libm-test.inc (print_complex_max_error): Check separately
12928 whether real and imaginary errors are within allowed range and
12929 pass 0 to print_complex_function_ulps instead of value within
12932 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12934 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
12936 (get_handles_fopen): Likewise.
12937 (do_write_test): Likewise.
12939 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
12941 * libio/fileops.c (do_ftell): Use cached offset when
12943 * libio/iofwide.c (do_ftell_wide): Likewise.
12944 * libio/iofdopen.c (_IO_new_fdopen): Don't use
12946 * libio/wfileops.c (_IO_fwide): Don't cache offset.
12949 * libio/libioP.h (get_file_offset): New function.
12950 * libio/fileops.c (get_file_offset): Likewise.
12951 (do_ftell): Likewise.
12952 (_IO_new_file_seekoff): Split out ftell logic.
12953 * libio/wfileops.c (do_ftell_wide): Likewise.
12954 (_IO_wfile_seekoff): Split out ftell logic.
12955 * libio/tst-ftell-active-handler.c: New test case.
12956 * libio/Makefile (tests): Add it.
12958 2014-03-03 Roland McGrath <roland@hack.frob.com>
12960 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12961 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12963 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12966 * nscd/connections.c (nscd_init): Call do_exit.
12967 (start_threads): Call do_exit and notify_parent.
12968 (begin_drop_privileges): Call do_exit.
12969 (finish_drop_privileges): Likewise.
12970 * nscd/selinux.c (preserve_capabilities): Likewise.
12971 (install_real_capabilities): Likewise.
12972 (nscd_selinux_enabled): Likewise.
12973 (avc_create_thread): Likewise.
12974 (avc_alloc_lock): Likewise.
12975 (nscd_avc_init): Likewise.
12976 * nscd/nscd.c (parent_fd): New static variable.
12977 (main): Create a pipe between parent and child processes.
12978 Skip closing parent_fd.
12979 (monitor_child): New function.
12980 (do_exit): Likewise.
12981 (notify_parent): Likewise.
12982 * nscd/nscd.h (notify_parent): Likewise.
12983 (do_exit): Likewise.
12985 2014-03-03 Carlos O'Donell <carlos@redhat.com>
12987 * malloc/malloc.c (__libc_calloc): Revert last change.
12989 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12993 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12995 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
12996 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
12998 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12999 (__libc_ifunc_impl_list): Likewise.
13000 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
13001 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
13002 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
13003 * string/strrchr.c: Define STRRCHR.
13005 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
13007 * benchtest/bench-strtok.c (simple_strtok): Delete.
13008 (strtok_string): Use as benchmark.
13009 * string/strtok (STRTOK): New macro.
13011 2014-02-28 Carlos O'Donell <carlos@redhat.com>
13013 * manual/threads.texi: Add header and standard comments to all
13016 * elf/dl-lookup.c (check_match): New function.
13017 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
13018 (do_lookup_x): Remove nested function check_match. Use non-nested
13019 function check_match.
13021 2014-02-28 Roland McGrath <roland@hack.frob.com>
13023 * csu/Makefile (generated, before-compile): Use += rather than =.
13024 * catgets/Makefile (generated, generated-dirs): Likewise.
13025 * debug/Makefile (generated): Likewise.
13026 * dlfcn/Makefile (generated): Likewise.
13027 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
13028 * iconvdata/Makefile (before-compile, generated): Likewise.
13029 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
13030 * libio/Makefile (generated): Likewise.
13031 * malloc/Makefile (generated): Likewise.
13032 * manual/Makefile (generated, generated-dirs): Likewise.
13033 * misc/Makefile (generated): Likewise.
13034 * posix/Makefile (generated): Likewise.
13035 * resolv/Makefile (generated): Likewise.
13036 * sunrpc/Makefile (generated, generated-dirs): Likewise.
13037 * timezone/Makefile (generated, generated-dirs): Likewise.
13039 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
13041 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13043 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13044 power8 implementation.
13045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
13046 file: POWER8 llround ifunc implementation.
13047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
13048 (__lllround): Add POWER8 implementation.
13049 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
13050 POWER8 llround implementation.
13052 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
13053 power8 implementation.
13054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
13055 file: POWER8 llrint ifunc implementation.
13056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
13057 Add POWER8 implementation.
13058 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
13059 POWER8 llrint implementation.
13061 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
13062 power8 implementation.
13063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13064 file: POWER8 finite ifunc implementation.
13065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13066 Add POWER8 implementation.
13067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13069 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13070 POWER8 finite implementation.
13071 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13073 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13074 power8 implementation.
13075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13076 file: POWER8 isinf ifunc implementation.
13077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13078 POWER8 implementation.
13079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13081 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13082 isinf implementation.
13083 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13085 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13086 (INIT_ARCH): Add hwcap2 initialization.
13087 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13088 power8 implementation.
13089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13090 file: POWER8 isnan ifunc implementation.
13091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13092 POWER8 implementation.
13093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13095 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13096 isnan implementation.
13097 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13099 2014-02-27 Joey Ye <joey.ye@arm.com>
13101 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13102 (_FP_NANFRAC_Q): Set to zero.
13104 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13107 * math/auto-libm-test-in: New test inputs.
13108 * math/auto-libm-test-out: Regenerate.
13109 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13112 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13114 2014-02-27 Joseph Myers <joseph@codesourcery.com>
13116 * scripts/evaluate-test.sh: Take new argument indicating whether
13117 failure is expected.
13118 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13119 indicating whether failure is expected.
13120 * conform/Makefile (test-xfail-run-conformtest): New variable.
13121 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13123 * posix/Makefile (test-xfail-annexc): New variable.
13124 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13126 2014-02-26 Joseph Myers <joseph@codesourcery.com>
13128 * argp/Makefile: Include Makeconfig immediately after defining
13130 * assert/Makefile: Likewise.
13131 * benchtests/Makefile: Likewise.
13132 * catgets/Makefile: Likewise.
13133 * conform/Makefile: Likewise.
13134 * crypt/Makefile: Likewise.
13135 * csu/Makefile: Likewise.
13136 (all): Remove target.
13137 * ctype/Makefile: Include Makeconfig immediately after defining
13139 * debug/Makefile: Likewise.
13140 * dirent/Makefile: Likewise.
13141 * dlfcn/Makefile: Likewise.
13142 * gmon/Makefile: Likewise.
13143 * gnulib/Makefile: Likewise.
13144 * grp/Makefile: Likewise.
13145 * gshadow/Makefile: Likewise.
13146 * hesiod/Makefile: Likewise.
13147 * hurd/Makefile: Likewise.
13148 (all): Remove target.
13149 * iconvdata/Makefile: Include Makeconfig immediately after
13151 * inet/Makefile: Likewise.
13152 * intl/Makefile: Likewise.
13153 * io/Makefile: Likewise.
13154 * libio/Makefile: Likewise.
13155 (all): Remove target.
13156 * locale/Makefile: Include Makeconfig immediately after defining
13158 * login/Makefile: Likewise.
13159 * mach/Makefile: Likewise.
13160 (all): Remove target.
13161 * malloc/Makefile: Include Makeconfig immediately after defining
13163 (all): Remove target.
13164 * manual/Makefile: Include Makeconfig immediately after defining
13166 * math/Makefile: Likewise.
13167 * misc/Makefile: Likewise.
13168 * nis/Makefile: Likewise.
13169 * nss/Makefile: Likewise.
13170 * po/Makefile: Likewise.
13171 (all): Remove target.
13172 * posix/Makefile: Include Makeconfig immediately after defining
13174 * pwd/Makefile: Likewise.
13175 * resolv/Makefile: Likewise.
13176 * resource/Makefile: Likewise.
13177 * rt/Makefile: Likewise.
13178 * setjmp/Makefile: Likewise.
13179 * shadow/Makefile: Likewise.
13180 * signal/Makefile: Likewise.
13181 * socket/Makefile: Likewise.
13182 * soft-fp/Makefile: Likewise.
13183 * stdio-common/Makefile: Likewise.
13184 * stdlib/Makefile: Likewise.
13185 * streams/Makefile: Likewise.
13186 * string/Makefile: Likewise.
13187 * sunrpc/Makefile: Likewise.
13188 (all): Remove target.
13189 * sysvipc/Makefile: Include Makeconfig immediately after defining
13191 * termios/Makefile: Likewise.
13192 * time/Makefile: Likewise.
13193 * timezone/Makefile: Likewise.
13194 (all): Remove target.
13195 * wcsmbs/Makefile: Include Makeconfig immediately after defining
13197 * wctype/Makefile: Likewise.
13199 2014-02-26 Steve Ellcey <sellcey@mips.com>
13201 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
13202 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
13203 (libc_feholdexcept_setround_mips): Ditto.
13204 (libc_feholdsetround): New.
13205 (libc_feholdsetroundf): New.
13206 (libc_feholdsetroundl): New.
13207 (libc_feupdateenv_test_mips): New.
13208 (libc_feupdateenv_test): New.
13209 (libc_feupdateenv_testf): New.
13210 (libc_feupdateenv_testl): New.
13211 (libc_feresetround): New.
13212 (libc_feresetroundf): New.
13213 (libc_feresetroundl): New.
13214 (libc_fetestexcept_mips): New.
13215 (libc_fetestexcept): New.
13216 (libc_fetestexceptf): New.
13217 (libc_fetestexceptl): New.
13218 (HAVE_RM_CTX): New.
13219 (libc_feholdexcept_setround_mips_ctx): New.
13220 (libc_feholdexcept_setround_ctx): New.
13221 (libc_feholdexcept_setroundf_ctx): New.
13222 (libc_feholdexcept_setroundl_ctx): New.
13223 (libc_fesetenv_mips_ctx): New.
13224 (libc_fesetenv_ctx): New.
13225 (libc_fesetenv_ctxf): New.
13226 (libc_fesetenv_ctxl): New.
13227 (libc_feupdateenv_mips_ctx): New.
13228 (libc_feupdateenv_ctx): New.
13229 (libc_feupdateenvf_ctx): New.
13230 (libc_feupdateenvl_ctx): New.
13231 (libc_feholdsetround_mips_ctx): New.
13232 (libc_feholdsetround_ctx): New.
13233 (libc_feholdsetroundf_ctx): New.
13234 (libc_feholdsetroundl_ctx): New.
13235 (libc_feresetround_mips_ctx): New.
13236 (libc_feresetround_ctx): New.
13237 (libc_feresetroundf_ctx): New.
13238 (libc_feresetroundl_ctx): New.
13240 2014-02-26 Carlos O'Donell <carlos@redhat.com>
13242 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
13244 * manual/ipc.texi: New file.
13245 * manual/Makefile (chapters): Add ipc.
13246 * manual/job.texi: Add "Inter-Process Communication" to next.
13247 * manual/process.texi: Add "Inter-Process Communication" to prev.
13249 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13253 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
13255 * malloc/malloc.c (__libc_calloc): Simplify implementation.
13257 * manual/arith.texi: Fix spaces after sentences.
13258 * manual/charset.texi: Likewise.
13259 * manual/errno.texi: Likewise.
13260 * manual/install.texi: Likewise.
13261 * manual/llio.texi: Likewise.
13262 * manual/locale.texi: Likewise.
13263 * manual/maint.texi: Likewise.
13264 * manual/math.texi: Likewise.
13265 * manual/memory.texi: Likewise.
13266 * manual/message.texi: Likewise.
13267 * manual/probes.texi: Likewise.
13268 * manual/resource.texi: Likewise.
13269 * manual/signal.texi: Likewise.
13270 * manual/socket.texi: Likewise.
13271 * manual/stdio.texi: Likewise.
13272 * manual/string.texi: Likewise.
13273 * manual/time.texi: Likewise.
13274 * manual/users.texi: Likewise.
13276 2014-02-25 Carlos O'Donell <carlos@redhat.com>
13279 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
13280 _DEFAULT_SOURCE is defined.
13282 2014-02-25 Ulrich Drepper <drepper@gmail.com>
13283 Carlos O'Donell <carlos@redhat.com>
13286 * elf/dl-tls.c (_dl_count_modids): New function.
13287 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
13288 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
13289 audit library and increment generation counter.
13290 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
13291 * elf/tst-audit9.c: New file.
13292 * elf/tst-auditmod9a.c: New file.
13293 * elf/tst-auditmod9b.c: New file.
13294 * elf/Makefile: Add rules to build and run tst-audit9.
13296 2014-02-25 Florian Weimer <fweimer@redhat.com>
13299 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
13301 2014-02-25 Will Newton <will.newton@linaro.org>
13303 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
13304 (__longjmp): Restore sp and lr before restoring callee
13305 saved registers. Add longjmp and longjmp_target
13306 SystemTap probe point.
13307 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
13308 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
13309 Define to zero to match jmpbuf layout.
13310 * sysdeps/arm/setjmp.S: Include stap-probe.h.
13311 (__sigsetjmp): Save sp and lr before saving callee
13312 saved registers. Add setjmp SystemTap probe point.
13314 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13316 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13318 2014-02-24 Andreas Schwab <schwab@suse.de>
13321 * elf/pldd.c (wait_for_ptrace_stop): New function.
13322 (main): Call it after attaching.
13324 2014-02-22 Roland McGrath <roland@hack.frob.com>
13326 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
13327 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
13328 Versions files is now verboten.
13329 * hurd/Versions (libc: GLIBC_2.0):
13330 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
13331 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
13332 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
13333 * mach/Versions: Likewise.
13335 * csu/Versions: Remove unused %include.
13336 * resolv/Versions: Likewise.
13338 2014-02-21 Joseph Myers <joseph@codesourcery.com>
13340 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
13341 ($(objpfx)check-local-headers.out): Likewise.
13342 ($(objpfx)begin-end-check.out): Likewise.
13343 * Makerules (check-abi-%.out): Likewise.
13344 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
13345 ($(objpfx)test2.cat): Likewise.
13346 ($(objpfx)de/libc.cat): Likewise.
13347 ($(objpfx)test-gencat.out): Likewise.
13348 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
13349 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
13350 ($(objpfx)noload-mem): Likewise.
13351 ($(objpfx)tst-pathopt.out): Likewise.
13352 ($(objpfx)tst-rtld-load-self.out): Likewise.
13353 ($(objpfx)tst-array1-cmp.out): Likewise.
13354 ($(objpfx)tst-array1-static-cmp.out): Likewise.
13355 ($(objpfx)tst-array2-cmp.out): Likewise.
13356 ($(objpfx)tst-array3-cmp.out): Likewise.
13357 ($(objpfx)tst-array4-cmp.out): Likewise.
13358 ($(objpfx)tst-array5-cmp.out): Likewise.
13359 ($(objpfx)tst-array5-static-cmp.out): Likewise.
13360 ($(objpfx)check-textrel.out): Likewise.
13361 ($(objpfx)check-execstack.out): Likewise.
13362 ($(objpfx)check-localplt.out): Likewise.
13363 ($(objpfx)order2-cmp.out): Likewise.
13364 ($(objpfx)tst-leaks1-mem): Likewise.
13365 ($(objpfx)tst-leaks1-static-mem): Likewise.
13366 ($(objpfx)tst-initorder-cmp.out): Likewise.
13367 ($(objpfx)tst-initorder2-cmp.out): Likewise.
13368 ($(objpfx)tst-unused-dep.out): Likewise.
13369 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
13370 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
13371 * iconv/Makefile (test-iconvconfig): Likewise.
13372 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
13373 ($(objpfx)iconv-test.out): Likewise.
13374 ($(objpfx)tst-tables.out): Likewise.
13375 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
13376 ($(objpfx)tst-gettext.out): Likewise.
13377 ($(objpfx)tst-translit.out): Likewise.
13378 ($(objpfx)tst-gettext2.out): Likewise.
13379 ($(objpfx)tst-gettext4.out): Likewise.
13380 ($(objpfx)tst-gettext6.out): Likewise.
13381 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
13382 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
13383 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
13384 ($(objpfx)tst-fopenloc-mem.out): Likewise.
13385 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
13386 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
13387 * posix/Makefile ($(objpfx)globtest.out): Likewise.
13388 ($(objpfx)wordexp-tst.out): Likewise.
13389 ($(objpfx)annexc.out): Likewise.
13390 ($(objpfx)tst-fnmatch-mem): Likewise.
13391 ($(objpfx)bug-regex2-mem): Likewise.
13392 ($(objpfx)bug-regex14-mem): Likewise.
13393 ($(objpfx)bug-regex21-mem): Likewise.
13394 ($(objpfx)bug-regex31-mem): Likewise.
13395 ($(objpfx)tst-vfork3-mem): Likewise.
13396 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13397 ($(objpfx)tst-pcre-mem): Likewise.
13398 ($(objpfx)tst-boost-mem): Likewise.
13399 ($(objpfx)tst-getconf.out): Likewise.
13400 ($(objpfx)bug-ga2-mem): Likewise.
13401 ($(objpfx)bug-glob2-mem): Likewise.
13402 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
13403 ($(objpfx)mtrace-tst-leaks2): Likewise.
13404 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
13405 ($(objpfx)tst-printf.out): Likewise.
13406 ($(objpfx)tst-setvbuf1.out): Likewise.
13407 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
13408 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
13409 ($(objpfx)tst-fmtmsg.out): Likewise.
13410 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
13411 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
13413 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
13414 * bits/sigaction.h [__USE_MISC]: Likewise.
13415 * bits/waitstatus.h: Update #endif comments.
13416 * ctype/ctype.h: Likewise.
13417 * dirent/dirent.h: Likewise.
13418 [__USE_MISC]: Remove redundant conditionals.
13419 * grp/grp.h: Update #endif comments.
13420 [__USE_GNU]: Remove redundant conditionals.
13421 [__USE_MISC]: Likewise.
13422 * inet/netinet/in.h [__USE_GNU]: Likewise.
13423 * io/sys/stat.h [__USE_MISC]: Likewise.
13424 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
13425 * libio/bits/stdio.h: Update #endif comments.
13426 [__USE_MISC]: Remove redundant conditionals.
13427 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
13428 * libio/stdio.h: Update #endif comments.
13429 [__USE_MISC]: Remove redundant conditionals.
13430 * math/bits/math-finite.h [__USE_MISC]: Likewise.
13431 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
13432 * math/math.h: Update #else and #endif comments.
13433 [__USE_MISC]: Remove redundant conditionals.
13434 * misc/sys/uio.h: Update #endif comments.
13435 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
13436 * posix/glob.h [__USE_MISC]: Likewise.
13437 * posix/sys/types.h: Update #endif comments.
13438 [__USE_MISC]: Remove redundant conditionals.
13439 * posix/sys/wait.h: Update #endif comments.
13440 [__USE_MISC]: Remove redundant conditionals.
13441 * posix/unistd.h: Update #endif comments.
13442 [__USE_MISC]: Remove redundant conditionals.
13443 * pwd/pwd.h [__USE_GNU]: Likewise.
13444 [__USE_MISC]: Likewise.
13445 * resolv/netdb.h [__USE_GNU]: Likewise.
13446 * signal/signal.h: Update #endif comments.
13447 [__USE_MISC]: Remove redundant conditionals.
13448 * stdlib/stdlib.h: Update #else and #endif comments.
13449 [__USE_MISC]: Remove redundant conditionals.
13450 [__USE_GNU]: Likewise.
13451 * string/bits/string2.h [__USE_MISC]: Likewise.
13452 * string/string.h: Update #endif comments.
13453 [__USE_MISC]: Remove redundant conditionals.
13454 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
13456 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
13457 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
13458 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
13460 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
13462 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
13464 [__USE_MISC]: Remove redundant conditionals.
13465 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
13466 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
13467 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
13468 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
13469 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
13471 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
13472 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
13474 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
13475 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
13477 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
13479 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
13480 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
13482 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
13484 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
13485 * sysdeps/x86/bits/string.h: Update #endif comments.
13486 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
13488 * time/sys/time.h: Update #endif comments.
13489 * time/time.h: Likewise.
13490 [__USE_MISC]: Remove redundant conditionals.
13492 2014-02-21 Yury Gribov <y.gribov@samsung.com>
13495 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
13497 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
13499 * Versions.def (librt): Add GLIBC_2.17.
13501 2014-02-21 Adam Conrad <adconrad@0c3.net>
13503 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
13504 synonym for _SYS_AUXV_H to allow direct inclusion.
13505 * sysdeps/sparc/bits/hwcap.h: Likewise.
13506 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
13507 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
13508 * sysdeps/sparc/sysdep.h: Likewise.
13510 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13512 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
13514 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13516 * benchtests/bench-strrchr.c: Print length instead of position.
13518 2014-02-20 Joseph Myers <joseph@codesourcery.com>
13521 * sysdeps/unix/sysv/linux/kernel-features.h
13522 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
13523 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
13524 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
13525 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
13527 [__i386__ || __powerpc__ || __sh__ || __sparc__]
13528 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13529 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
13530 (__ASSUME_SENDMMSG): Define instead of using previous
13531 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
13532 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13533 (__ASSUME_SENDMMSG_SYSCALL): Define.
13534 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13535 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
13537 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13538 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13540 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13541 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13543 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
13544 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13545 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13546 [__ASSUME_SENDMMSG]: Change conditionals to
13547 [__ASSUME_SENDMMSG_SOCKETCALL].
13548 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13549 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
13551 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13552 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
13554 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
13555 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13556 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13557 [!__ASSUME_SENDMMSG]: Change conditional to
13558 [!__ASSUME_SENDMMSG_SOCKETCALL].
13559 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13560 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13564 * sysdeps/unix/sysv/linux/kernel-features.h
13565 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
13566 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
13567 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
13568 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
13569 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13570 [__i386__ || __sparc__]
13571 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13572 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
13573 (__ASSUME_RECVMMSG): Define instead of using previous
13574 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
13575 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13576 (__ASSUME_RECVMMSG_SYSCALL): Define.
13577 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13578 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13580 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13581 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13583 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13584 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13586 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
13587 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13588 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13589 [__ASSUME_RECVMMSG]: Change condition to
13590 [__ASSUME_RECVMMSG_SOCKETCALL].
13591 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13592 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13594 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13595 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13596 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13598 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
13599 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13600 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13601 [!__ASSUME_RECVMMSG]: Change condition to
13602 [!__ASSUME_RECVMMSG_SOCKETCALL].
13603 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13604 (__ASSUME_RECVMMSG_SYSCALL): Define.
13607 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
13608 __powerpc__ || __s390__ || __sh__ || __sparc__]
13609 (__ASSUME_SOCKETCALL): Define.
13610 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
13611 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
13612 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
13613 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
13614 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13615 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13616 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
13617 (__ASSUME_ACCEPT4): Define instead of using previous
13618 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
13619 __powerpc__ || __sparc__ || __s390__)] condition.
13620 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13621 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13622 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
13623 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13624 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13625 [!__ASSUME_ACCEPT4]: Change condition to
13626 [!__ASSUME_ACCEPT4_SOCKETCALL].
13627 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13628 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
13629 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
13630 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13631 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
13632 __ASSUME_ACCEPT4_SYSCALL.
13633 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
13634 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
13635 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13636 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
13637 __ASSUME_ACCEPT4_SYSCALL.
13638 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
13639 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13640 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13641 [__ASSUME_ACCEPT4]: Change condition to
13642 [__ASSUME_ACCEPT4_SOCKETCALL].
13643 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13644 (__ASSUME_SOCKETCALL): Define.
13645 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
13646 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13647 (__ASSUME_SOCKETCALL): Define.
13648 (__ASSUME_ACCEPT4): Remove.
13649 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
13651 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13652 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
13654 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13655 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13657 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
13659 (HWCAP_ARM_LPAE): Likewise.
13660 (HWCAP_ARM_EVTSTRM): Likewise.
13661 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
13662 Add vpfd32, lpae and evtstrm.
13663 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
13666 2014-02-19 Joseph Myers <joseph@codesourcery.com>
13668 * math/auto-libm-test-in: Add tests of clog10.
13669 * math/auto-libm-test-out: Regenerated.
13670 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
13671 * sysdeps/i386/fpu/libm-test-ulps: Update.
13672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13674 2014-02-18 Andreas Schwab <schwab@suse.de>
13677 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
13678 Store non-zero if the second buffer was newly allocated.
13679 (send_dg): Likewise.
13680 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
13681 to send_vc and send_dg.
13682 (res_nsend): Pass NULL for ansp2_malloced.
13683 * resolv/res_query.c (__libc_res_nquery): Add parameter
13684 answerp2_malloced and pass it down to __libc_res_nsend.
13685 (res_nquery): Pass additional NULL to __libc_res_nquery.
13686 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
13687 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
13688 second answer buffer if answerp2_malloced was set.
13689 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
13690 (__libc_res_nquerydomain): Add parameter
13691 answerp2_malloced and pass it down to __libc_res_nquery.
13692 (res_nquerydomain): Pass additional NULL to
13693 __libc_res_nquerydomain.
13694 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
13695 additional NULL to __libc_res_nsend and __libc_res_nquery.
13696 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
13697 additional NULL to __libc_res_nsearch.
13698 (_nss_dns_gethostbyname4_r): Revert last change. Use new
13699 parameter of __libc_res_nsearch to check for separately allocated
13701 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
13703 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
13704 additional NULL to __libc_res_nquery.
13705 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
13706 __libc_res_nsearch.
13707 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
13708 * include/resolv.h: Update prototypes of __libc_res_nquery,
13709 __libc_res_nsearch, __libc_res_nsend.
13711 2014-02-18 Joseph Myers <joseph@codesourcery.com>
13713 * math/auto-libm-test-in: Add tests of fma.
13714 * math/auto-libm-test-out: Regenerated.
13715 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
13716 (fma_towardzero_test_data): Likewise.
13717 (fma_downward_test_data): Likewise.
13718 (fma_upward_test_data): Likewise.
13719 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
13721 (rounding_modes): Add values for new field.
13722 (func_calc_method): Add value mpfr_fff_f.
13723 (func_calc_desc): Add mpfr_fff_f union field.
13724 (test_function): Add field exact_args.
13725 (FUNC): Add macro argument EXACT_ARGS.
13726 (FUNC_mpfr_f_f): Update call to FUNC.
13727 (FUNC_mpfr_f_f): Likewise.
13728 (FUNC_mpfr_ff_f): Likewise.
13729 (FUNC_mpfr_if_f): Likewise.
13730 (FUNC_mpc_c_f): Likewise.
13731 (FUNC_mpc_c_c): Likewise.
13732 (test_functions): Add fma. Update calls to FUNC.
13733 (handle_input_arg): Add argument exact_args.
13734 (add_test): Update call to handle_input_arg.
13735 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
13736 (output_for_one_input_case): Update call to calc_generic_results.
13737 Recalculate exact zero results in each rounding mode.
13739 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
13740 non-negative before setting low bit.
13741 * math/auto-libm-test-in: Mark one asin test possibly having
13742 spurious underflow.
13743 * math/auto-libm-test-out: Regenerated.
13744 * sysdeps/i386/fpu/libm-test-ulps: Update.
13745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13747 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
13749 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
13750 * sysdeps/unix/sysv/linux/microblaze: Move directory from
13751 ports/sysdeps/unix/sysv/linux/microblaze.
13752 * README: Add missing listing for microblaze*-*-linux-gnu.
13754 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
13756 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
13759 2014-02-16 Mike Frysinger <vapier@gentoo.org>
13761 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
13762 * sysdeps/unix/sysv/linux/ia64: Move directory from
13763 ports/sysdeps/unix/sysv/linux/ia64.
13764 * README: Update listing for ia64-*-linux-gnu.
13766 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
13767 Joseph Myers <joseph@codesourcery.com>
13769 * Makeconfig (test-name): New variable.
13770 (evaluate-test): Likewise.
13771 * Makerules (do-test-clean): Remove .test-result files.
13772 (common-mostlyclean): Likewise.
13773 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
13774 * scripts/evaluate-test.sh: New file.
13776 2014-02-14 Joseph Myers <joseph@codesourcery.com>
13778 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
13779 separate $(objpfx)tst-fopenloc-cmp.out and
13780 $(objpfx)tst-fopenloc-mem.out targets.
13781 (tests): Update dependencies.
13782 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
13783 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
13784 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
13785 (tst-rxspencer-no-utf8-ARGS): New variable.
13786 (tst-rxspencer-no-utf8-ENV): Likewise.
13787 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
13788 instead of $(objpfx)tst-rxspencer-mem.
13789 ($(objpfx)tst-rxspencer-mem): Change target to
13790 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
13791 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
13792 * posix/tst-rxspencer-no-utf8.c: New file.
13794 * elf/Makefile ($(objpfx)order.out): Remove rule.
13795 [$(run-built-tests) = yes] (tests): Depend on
13796 $(objpfx)order-cmp.out.
13797 ($(objpfx)order-cmp.out): New rule.
13798 [$(run-built-tests) = yes] (tests): Depend on
13799 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
13800 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
13801 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
13802 $(objpfx)tst-array5-static-cmp.out.
13803 ($(objpfx)tst-array1.out): Remove rule.
13804 ($(objpfx)tst-array1-cmp.out): New rule.
13805 ($(objpfx)tst-array1-static.out): Remove rule.
13806 ($(objpfx)tst-array1-static-cmp.out): New rule.
13807 ($(objpfx)tst-array2.out): Remove rule.
13808 ($(objpfx)tst-array2-cmp.out): New rule.
13809 ($(objpfx)tst-array3.out): Remove rule.
13810 ($(objpfx)tst-array3-cmp.out): New rule.
13811 ($(objpfx)tst-array4.out): Remove rule.
13812 ($(objpfx)tst-array4-cmp.out): New rule.
13813 ($(objpfx)tst-array5.out): Remove rule.
13814 ($(objpfx)tst-array5-cmp.out): New rule.
13815 ($(objpfx)tst-array5-static.out): Remove rule.
13816 ($(objpfx)tst-array5-static-cmp.out): New rule.
13817 [$(run-built-tests) = yes] (tests): Depend on
13818 $(objpfx)order2-cmp.out.
13819 ($(objpfx)order2.out): Remove rule.
13820 ($(objpfx)order2-cmp.out): New rule.
13821 ($(objpfx)tst-initorder.out): Remove rule.
13822 [$(run-built-tests) = yes] (tests): Depend on
13823 $(objpfx)tst-initorder-cmp.out.
13824 ($(objpfx)tst-initorder-cmp.out): New rule.
13825 ($(objpfx)tst-initorder2.out): Remove rule.
13826 [$(run-built-tests) = yes] (tests): Depend on
13827 $(objpfx)tst-initorder2-cmp.out.
13828 ($(objpfx)tst-initorder2-cmp.out): New rule.
13829 [$(run-built-tests) = yes] (tests): Depend on
13830 $(objpfx)tst-unused-dep-cmp.out.
13831 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
13832 ($(objpfx)tst-unused-dep-cmp.out): New rule.
13833 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
13834 on $(objpfx)tst-setvbuf1-cmp.out.
13835 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
13836 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
13837 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
13838 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
13839 ($(objpfx)tst-svc.out): Remove rule.
13840 ($(objpfx)tst-svc-cmp.out): New rule.
13842 2014-02-13 Joseph Myers <joseph@codesourcery.com>
13844 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
13845 * ctype/ctype.h [__USE_MISC]: Likewise.
13846 * dirent/dirent.h [__USE_MISC]: Likewise.
13847 * grp/grp.h [__USE_MISC]: Likewise.
13848 * io/fcntl.h [__USE_MISC]: Likewise.
13849 * io/sys/stat.h [__USE_MISC]: Likewise.
13850 * libio/stdio.h [__USE_MISC]: Likewise.
13851 * posix/unistd.h [__USE_MISC]: Likewise.
13852 * pwd/pwd.h [__USE_MISC]: Likewise.
13853 * stdlib.h [__USE_MISC]: Likewise.
13854 * string/bits/string2.h [__USE_MISC]: Likewise.
13855 * string/string.h [__USE_MISC]: Likewise.
13856 * time/time.h [__USE_MISC]: Likewise.
13858 2014-02-13 Andreas Schwab <schwab@suse.de>
13861 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
13862 second answer buffer if it was separately allocated.
13864 2014-02-12 Joseph Myers <joseph@codesourcery.com>
13866 * sysdeps/mips/math-tests.h: Include <features.h>.
13867 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13868 (ROUNDING_TESTS_long_double): Do not define.
13869 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13870 (EXCEPTION_TESTS_long_double): Likewise.
13871 * sysdeps/mips/mips64/libm-test-ulps: Update.
13873 * include/features.h (__USE_BSD): Remove macro definitions.
13874 (__USE_SVID): Likewise.
13875 (_BSD_SOURCE): Likewise.
13876 (_SVID_SOURCE): Likewise.
13877 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
13878 from definition of _DEFAULT_SOURCE.
13879 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
13881 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
13882 * bits/mman.h [__USE_BSD]: Likewise.
13883 * bits/termios.h [__USE_BSD]: Likewise.
13884 * bits/waitstatus.h [__USE_BSD]: Likewise.
13885 * ctype/ctype.h [__USE_SVID]: Likewise.
13886 * dirent/dirent.h [__USE_BSD]: Likewise.
13887 * grp/grp.h [__USE_SVID]: Likewise.
13888 [__USE_BSD]: Likewise.
13889 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
13890 * io/fcntl.h [__USE_BSD]: Likewise.
13891 * io/ftw.h [__USE_BSD]: Likewise.
13892 * io/sys/stat.h [__USE_BSD]: Likewise.
13893 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
13894 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
13895 * libio/stdio.h [__USE_SVID]: Likewise.
13896 [__USE_BSD]: Likewise.
13897 * math/math.h [__USE_SVID]: Likewise.
13898 [__USE_BSD]: Likewise.
13899 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
13900 * misc/bits/syslog.h [__USE_BSD]: Likewise.
13901 * misc/search.h [__USE_SVID]: Likewise.
13902 * misc/sys/mman.h [__USE_BSD]: Likewise.
13903 * misc/sys/syslog.h [__USE_BSD]: Likewise.
13904 * misc/sys/uio.h [__USE_BSD]: Likewise.
13905 * posix/bits/unistd.h [__USE_BSD]: Likewise.
13906 * posix/glob.h [__USE_BSD]: Likewise.
13907 * posix/regex.h [__USE_BSD]: Likewise.
13908 * posix/sys/types.h [__USE_BSD]: Likewise.
13909 [__USE_SVID]: Likewise.
13910 * posix/sys/utsname.h [__USE_SVID]: Likewise.
13911 * posix/sys/wait.h [__USE_BSD]: Likewise.
13912 [__USE_SVID]: Likewise.
13913 * posix/unistd.h [__USE_BSD]: Likewise.
13914 [__USE_SVID]: Likewise.
13915 * pwd/pwd.h [__USE_SVID]: Likewise.
13916 * resolv/netdb.h [__USE_BSD]: Likewise.
13917 * setjmp/setjmp.h [__USE_BSD]: Likewise.
13918 * signal/signal.h [__USE_BSD]: Likewise.
13919 [__USE_SVID]: Likewise.
13920 * socket/sys/socket.h [__USE_BSD]: Likewise.
13921 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
13922 * stdlib/stdlib.h [__USE_BSD]: Likewise.
13923 [__USE_SVID]: Likewise.
13924 * string/bits/string2.h [__USE_BSD]: Likewise.
13925 [__USE_SVID]: Likewise.
13926 * string/bits/string3.h [__USE_BSD]: Likewise.
13927 * string/endian.h [__USE_BSD]: Likewise.
13928 * string/string.h [__USE_SVID]: Likewise.
13929 [__USE_BSD]: Likewise.
13930 * string/strings.h [__USE_BSD]: Likewise.
13931 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
13932 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
13933 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
13934 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
13935 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
13936 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
13938 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
13940 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
13941 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
13943 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
13944 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
13946 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
13948 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
13949 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
13950 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
13952 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
13954 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
13955 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
13956 * termios/termios.h [__USE_BSD]: Likewise.
13957 * time/sys/time.h [__USE_BSD]: Likewise.
13958 * time/time.h [__USE_BSD]: Likewise.
13959 [__USE_SVID]: Likewise.
13961 * Makefile (subdir_targets): Remove subdir_lint.out.
13963 * stdio-common/Makefile (do-tst-unbputc): Remove target.
13964 (do-tst-printf): Likewise.
13965 (tests): Depend directly on $(objpfx)tst-unbputc.out and
13966 $(objpfx)tst-printf.out.
13968 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13970 * Makerules (check-abi-%): Change target to
13971 $(objpfx)check-abi-%.out.
13972 (check-abi target): Update dependencies.
13973 (check-abi-pattern variable): Redirect output of diff to $@.
13974 (check-abi variable): Likewise.
13975 * elf/Makefile (check-abi): Update dependencies.
13977 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13979 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
13980 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
13982 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
13983 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
13984 value has largest subnormal exponent.
13985 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
13986 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13987 * sysdeps/aarch64/soft-fp/sfp-machine.h
13988 (_FP_TININESS_AFTER_ROUNDING): New macro.
13989 * sysdeps/alpha/soft-fp/sfp-machine.h
13990 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13991 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13993 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
13994 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13995 * sysdeps/mips/soft-fp/sfp-machine.h
13996 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13997 * sysdeps/powerpc/soft-fp/sfp-machine.h
13998 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13999 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14001 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14002 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14003 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14004 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14005 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14008 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
14011 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
14014 2014-02-12 Richard Henderson <rth@redhat.com>
14016 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
14017 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
14018 * sysdeps/unix/sysv/linux/alpha: Move directory from
14019 ports/sysdeps/unix/sysv/linux/alpha.
14020 * README: Update listing for alpha-*-linux-gnu.
14022 2014-02-11 Joseph Myers <joseph@codesourcery.com>
14024 * include/features.h: Update comment documenting feature test
14026 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
14028 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
14029 (_SVID_SOURCE): Likewise.
14030 (_DEFAULT_SOURCE): Update description of default features.
14031 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
14033 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
14034 (S_ISVTX): Likewise.
14035 * manual/math.texi (Mathematical Constants): Likewise.
14036 * manual/signal.texi (Interrupted Primitives): Likewise.
14037 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
14038 * math/test-matherr.c (_SVID_SOURCE): Do not define.
14039 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
14040 Don't refer to _SVID_SOURCE in warning text.
14042 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14044 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
14046 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
14047 * sysdeps/mips/dl-lookup.c: Remove.
14048 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
14050 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14053 * math/auto-libm-test-in: Add testcase for expl.
14054 * math/auto-libm-test-out: Regenerate.
14055 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
14056 calculation of unsafe.
14057 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
14059 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
14061 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
14062 * sysdeps/unix/sysv/linux/aarch64: Move directory from
14063 ports/sysdeps/unix/sysv/linux/aarch64.
14064 * README: Update listing for aarch64*-*-linux-gnu.
14066 2014-02-11 Will Newton <will.newton@linaro.org>
14068 * manual/probes.texi (Mathematical Function Probes): Use
14069 "triggered" instead of "hit".
14071 * manual/probes.texi (Internal Probes): Add documentation
14072 of setjmp, longjmp and longjmp_target probes.
14074 * include/stap-probe.h: Add comment about probe argument
14077 * malloc/mtrace.c (attribute_hidden): Remove unused macro
14078 definition. (tr_where, tr_freehook, tr_mallochook,
14079 tr_reallochook, tr_memalignhook): Use ANSI protoype.
14081 2014-02-11 David S. Miller <davem@davemloft.net>
14083 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14084 processing int_tests.
14086 2014-02-10 Joseph Myers <joseph@codesourcery.com>
14088 * sysdeps/mips: Move directory from ports/sysdeps/mips.
14089 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14090 * sysdeps/unix/sysv/linux/mips: Move directory from
14091 ports/sysdeps/unix/sysv/linux/mips.
14092 * README: Update listing for mips-*-linux-gnu and
14093 mips64-*-linux-gnu.
14095 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
14097 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14098 * sysdeps/unix/sysv/linux/m68k: Move directory from
14099 ports/sysdeps/unix/sysv/linux/m68k.
14100 * README: Update listing for m68k-*-linux-gnu.
14102 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
14104 * sysdeps/tile: Move directory from ports/sysdeps/tile.
14105 * sysdeps/unix/sysv/linux/generic: Move directory from
14106 ports/sysdeps/unix/sysv/linux/generic.
14107 * sysdeps/unix/sysv/linux/tile: Move directory from
14108 ports/sysdeps/unix/sysv/linux/tile.
14109 * README: Update listing for tile*-*-linux-gnu.
14111 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
14113 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14115 * benchtests/bench-memmem.c (simple_memmem): Likewise.
14116 * catgets/open_catalog.c (__open_catalog): Likewise.
14117 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14118 * debug/confstr_chk.c: Likewise.
14119 * debug/fread_chk.c (__fread_chk): Likewise.
14120 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14121 * debug/getgroups_chk.c: Likewise.
14122 * debug/mbsnrtowcs_chk.c: Likewise.
14123 * debug/mbsrtowcs_chk.c: Likewise.
14124 * debug/mbstowcs_chk.c: Likewise.
14125 * debug/memcpy_chk.c: Likewise.
14126 * debug/memmove_chk.c: Likewise.
14127 * debug/mempcpy_chk.c: Likewise.
14128 * debug/memset_chk.c: Likewise.
14129 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14130 * debug/strcat_chk.c (__strcat_chk): Likewise.
14131 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
14132 * debug/strncat_chk.c (__strncat_chk): Likewise.
14133 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
14134 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
14135 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
14136 * debug/wcpncpy_chk.c: Likewise.
14137 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14138 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
14139 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
14140 * debug/wcsncpy_chk.c: Likewise.
14141 * debug/wcsnrtombs_chk.c: Likewise.
14142 * debug/wcsrtombs_chk.c: Likewise.
14143 * debug/wcstombs_chk.c: Likewise.
14144 * debug/wmemcpy_chk.c: Likewise.
14145 * debug/wmemmove_chk.c: Likewise.
14146 * debug/wmempcpy_chk.c: Likewise.
14147 * debug/wmemset_chk.c: Likewise.
14148 * dirent/scandirat.c (SCANDIRAT): Likewise.
14149 * dlfcn/dladdr1.c (dladdr1): Likewise.
14150 * dlfcn/dladdr.c (dladdr): Likewise.
14151 * dlfcn/dlclose.c (dlclose_doit): Likewise.
14152 * dlfcn/dlerror.c (__dlerror): Likewise.
14153 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
14154 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
14155 * dlfcn/dlopen.c (dlopen_doit): Likewise.
14156 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14157 * dlfcn/dlsym.c (dlsym_doit): Likewise.
14158 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
14159 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
14160 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
14162 * elf/dl-conflict.c: Likewise.
14163 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14164 * elf/dl-dst.h: Likewise.
14165 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
14166 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
14167 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14168 * elf/dl-init.c (call_init, _dl_init): Likewise.
14169 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
14170 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
14171 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
14173 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
14175 * elf/dl-minimal.c (__libc_memalign): Likewise.
14176 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
14177 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14178 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
14179 * elf/dl-sym.c (do_sym): Likewise.
14180 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
14181 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
14182 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
14183 * elf/dl-writev.h (_dl_writev): Likewise.
14184 * elf/ldconfig.c (search_dir): Likewise.
14185 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
14186 (dl_main): Likewise.
14187 * elf/setup-vdso.h (setup_vdso): Likewise.
14188 * grp/compat-initgroups.c (compat_call): Likewise.
14189 * grp/fgetgrent.c (fgetgrent): Likewise.
14190 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
14191 * grp/putgrent.c (putgrent): Likewise.
14192 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14194 * hurd/hurdinit.c: Likewise.
14195 * iconvdata/8bit-gap.c (struct): Likewise.
14196 * iconvdata/ansi_x3.110.c : Likewise.
14197 * iconvdata/big5.c : Likewise.
14198 * iconvdata/big5hkscs.c : Likewise.
14199 * iconvdata/cp1255.c: Likewise.
14200 * iconvdata/cp1258.c : Likewise.
14201 * iconvdata/cp932.c : Likewise.
14202 * iconvdata/euc-cn.c: Likewise.
14203 * iconvdata/euc-jisx0213.c : Likewise.
14204 * iconvdata/euc-jp.c: Likewise.
14205 * iconvdata/euc-jp-ms.c : Likewise.
14206 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
14207 * iconvdata/gb18030.c : Likewise.
14208 * iconvdata/gbbig5.c (const): Likewise.
14209 * iconvdata/gbgbk.c: Likewise.
14210 * iconvdata/gbk.c : Likewise.
14211 * iconvdata/ibm1364.c : Likewise.
14212 * iconvdata/ibm930.c : Likewise.
14213 * iconvdata/ibm932.c: Likewise.
14214 * iconvdata/ibm933.c : Likewise.
14215 * iconvdata/ibm935.c : Likewise.
14216 * iconvdata/ibm937.c : Likewise.
14217 * iconvdata/ibm939.c : Likewise.
14218 * iconvdata/ibm943.c: Likewise.
14219 * iconvdata/iso_11548-1.c: Likewise.
14220 * iconvdata/iso-2022-cn.c : Likewise.
14221 * iconvdata/iso-2022-cn-ext.c : Likewise.
14222 * iconvdata/iso-2022-jp-3.c: Likewise.
14223 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
14224 * iconvdata/iso-2022-kr.c : Likewise.
14225 * iconvdata/iso646.c (gconv_end): Likewise.
14226 * iconvdata/iso_6937-2.c : Likewise.
14227 * iconvdata/iso_6937.c : Likewise.
14228 * iconvdata/iso8859-1.c: Likewise.
14229 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
14230 * iconvdata/shift_jisx0213.c : Likewise.
14231 * iconvdata/sjis.c : Likewise.
14232 * iconvdata/t.61.c : Likewise.
14233 * iconvdata/tcvn5712-1.c : Likewise.
14234 * iconvdata/tscii.c: Likewise.
14235 * iconvdata/uhc.c : Likewise.
14236 * iconvdata/unicode.c (gconv_end): Likewise.
14237 * iconvdata/utf-16.c (gconv_end): Likewise.
14238 * iconvdata/utf-32.c (gconv_end): Likewise.
14239 * iconvdata/utf-7.c (base64): Likewise.
14240 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14241 * iconv/gconv_close.c (__gconv_close): Likewise.
14242 * iconv/gconv_open.c (__gconv_open): Likewise.
14243 * iconv/gconv_simple.c (internal_ucs4_loop_single)
14244 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
14245 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
14246 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
14247 (ucs4le_internal_loop_single): Likewise.
14248 * iconv/iconv.c (iconv): Likewise.
14249 * iconv/iconv_close.c: Likewise.
14250 * iconv/loop.c (SINGLE): Likewise.
14251 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
14252 * include/atomic.h: Likewise.
14253 * inet/inet6_option.c (option_alloc): Likewise.
14254 * intl/bindtextdom.c (set_binding_values): Likewise.
14255 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
14256 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
14257 * intl/localealias.c (read_alias_file): Likewise.
14258 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14259 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
14260 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
14261 * libio/fmemopen.c (fmemopen): Likewise.
14262 * libio/iofgets.c (_IO_fgets): Likewise.
14263 * libio/iofgets_u.c (fgets_unlocked): Likewise.
14264 * libio/iofgetws.c (fgetws): Likewise.
14265 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14266 * libio/iogetdelim.c (_IO_getdelim): Likewise.
14267 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
14268 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
14269 * locale/findlocale.c (_nl_find_locale): Likewise.
14270 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14271 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
14273 * locale/setlocale.c (setlocale): Likewise.
14274 * login/programs/pt_chown.c (main): Likewise.
14275 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
14276 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
14277 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
14278 (mmap, mmap64, mremap, munmap): Likewise.
14279 * math/e_exp2l.c: Likewise.
14280 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
14281 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
14282 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
14283 * math/s_catan.c (__catan): Likewise.
14284 * math/s_catanf.c (__catanf): Likewise.
14285 * math/s_catanh.c (__catanh): Likewise.
14286 * math/s_catanhf.c (__catanhf): Likewise.
14287 * math/s_catanhl.c (__catanhl): Likewise.
14288 * math/s_catanl.c (__catanl): Likewise.
14289 * math/s_ccosh.c (__ccosh): Likewise.
14290 * math/s_ccoshf.c (__ccoshf): Likewise.
14291 * math/s_ccoshl.c (__ccoshl): Likewise.
14292 * math/s_cexp.c (__cexp): Likewise.
14293 * math/s_cexpf.c (__cexpf): Likewise.
14294 * math/s_cexpl.c (__cexpl): Likewise.
14295 * math/s_clog10.c (__clog10): Likewise.
14296 * math/s_clog10f.c (__clog10f): Likewise.
14297 * math/s_clog10l.c (__clog10l): Likewise.
14298 * math/s_clog.c (__clog): Likewise.
14299 * math/s_clogf.c (__clogf): Likewise.
14300 * math/s_clogl.c (__clogl): Likewise.
14301 * math/s_csin.c (__csin): Likewise.
14302 * math/s_csinf.c (__csinf): Likewise.
14303 * math/s_csinh.c (__csinh): Likewise.
14304 * math/s_csinhf.c (__csinhf): Likewise.
14305 * math/s_csinhl.c (__csinhl): Likewise.
14306 * math/s_csinl.c (__csinl): Likewise.
14307 * math/s_csqrt.c (__csqrt): Likewise.
14308 * math/s_csqrtf.c (__csqrtf): Likewise.
14309 * math/s_csqrtl.c (__csqrtl): Likewise.
14310 * math/s_ctan.c (__ctan): Likewise.
14311 * math/s_ctanf.c (__ctanf): Likewise.
14312 * math/s_ctanh.c (__ctanh): Likewise.
14313 * math/s_ctanhf.c (__ctanhf): Likewise.
14314 * math/s_ctanhl.c (__ctanhl): Likewise.
14315 * math/s_ctanl.c (__ctanl): Likewise.
14316 * math/w_pow.c: Likewise.
14317 * math/w_powf.c: Likewise.
14318 * math/w_powl.c: Likewise.
14319 * math/w_scalb.c (sysv_scalb): Likewise.
14320 * math/w_scalbf.c (sysv_scalbf): Likewise.
14321 * math/w_scalbl.c (sysv_scalbl): Likewise.
14322 * misc/error.c (error_tail): Likewise.
14323 * misc/pselect.c (__pselect): Likewise.
14324 * nis/nis_callback.c (__nis_create_callback): Likewise.
14325 * nis/nis_call.c (__nisfind_server): Likewise.
14326 * nis/nis_creategroup.c (nis_creategroup): Likewise.
14327 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
14328 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
14329 * nis/nis_getservlist.c (nis_getservlist): Likewise.
14330 * nis/nis_lookup.c (nis_lookup): Likewise.
14331 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
14332 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
14333 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
14334 * nis/nis_xdr.c (xdr_endpoint): Likewise.
14335 * nis/nss_compat/compat-grp.c (getgrent_next_file)
14336 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
14337 * nis/nss_compat/compat-initgroups.c (add_group)
14338 (internal_getgrent_r): Likewise.
14339 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
14340 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
14341 * nis/nss_compat/compat-spwd.c (getspent_next_file)
14342 (internal_getspnam_r): Likewise.
14343 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
14344 (_nss_nis_getaliasbyname_r): Likewise.
14345 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
14346 (_nss_nis_getntohost_r): Likewise.
14347 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
14348 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
14349 (_nss_nis_getgrgid_r): Likewise.
14350 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
14351 (internal_nis_gethostent_r, internal_gethostbyname2_r)
14352 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
14353 (_nss_nis_gethostbyname4_r): Likewise.
14354 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
14355 (initgroups_netid): Likewise.
14356 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
14357 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
14358 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
14359 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
14360 (_nss_nis_getprotobynumber_r): Likewise.
14361 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
14362 (_nss_nis_getsecretkey): Likewise.
14363 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
14364 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
14365 (_nss_nis_getpwuid_r): Likewise.
14366 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
14367 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
14368 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
14369 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
14370 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
14371 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
14372 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
14374 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
14375 (_nss_nisplus_getntohost_r): Likewise.
14376 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
14377 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
14378 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
14379 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
14381 * nis/nss_nisplus/nisplus-initgroups.c
14382 (_nss_nisplus_initgroups_dyn): Likewise.
14383 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
14384 (_nss_nisplus_getnetbyaddr_r): Likewise.
14385 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
14386 (_nss_nisplus_getprotobynumber_r): Likewise.
14387 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
14388 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
14389 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
14391 * nis/nss_nisplus/nisplus-service.c
14392 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
14393 (_nss_nisplus_getservbyport_r): Likewise.
14394 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
14395 (_nss_nisplus_getspnam_r): Likewise.
14396 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
14398 * nscd/aicache.c (addhstaiX): Likewise.
14399 * nscd/cache.c (cache_search, prune_cache): Likewise.
14400 * nscd/connections.c (register_traced_file, send_ro_fd)
14401 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
14402 (main_loop_epoll): Likewise.
14403 * nscd/grpcache.c (addgrbyX): Likewise.
14404 * nscd/hstcache.c (addhstbyX): Likewise.
14405 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14406 * nscd/mem.c (gc, mempool_alloc): Likewise.
14407 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
14408 (addinnetgrX): Likewise.
14409 * nscd/nscd-client.h (__nscd_acquire_maplock)
14410 (__nscd_drop_map_ref): Likewise.
14411 * nscd/nscd_getai.c (__nscd_getai): Likewise.
14412 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14413 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
14415 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
14416 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14417 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
14418 (__nscd_get_map_ref): Likewise.
14419 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
14420 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
14422 * nscd/pwdcache.c (addpwbyX): Likewise.
14423 * nscd/selinux.c (preserve_capabilities): Likewise.
14424 * nscd/servicescache.c (addservbyX): Likewise.
14425 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
14426 * posix/fnmatch.c (fnmatch): Likewise.
14427 * posix/getopt.c (_getopt_internal_r): Likewise.
14428 * posix/glob.c (glob, glob_in_dir): Likewise.
14429 * posix/wordexp.c (exec_comm_child): Likewise.
14430 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
14431 (getanswer_r, gaih_getanswer_slice): Likewise.
14432 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
14433 * resolv/res_init.c: Likewise.
14434 * resolv/res_mkquery.c (res_nmkquery): Likewise.
14435 * resolv/res_query.c (__libc_res_nquery): Likewise.
14436 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
14438 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
14439 * stdio-common/perror.c (perror): Likewise.
14440 * stdio-common/printf_fp.c (___printf_fp): Likewise.
14441 * stdio-common/tmpnam.c (tmpnam): Likewise.
14442 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14443 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
14444 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14446 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14447 * stdlib/putenv.c (putenv): Likewise.
14448 * stdlib/setenv.c (__add_to_environ): Likewise.
14449 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14450 * stdlib/strtol_l.c (INTERNAL): Likewise.
14451 * string/memmem.c (memmem): Likewise.
14452 * string/strerror.c (strerror): Likewise.
14453 * string/strnlen.c (__strnlen): Likewise.
14454 * string/test-memmem.c (simple_memmem): Likewise.
14455 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
14456 * sunrpc/pm_getport.c (__get_socket): Likewise.
14457 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
14458 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
14459 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
14460 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
14462 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14463 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14464 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
14465 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
14466 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14467 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
14469 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
14471 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
14472 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
14473 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14474 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14475 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14476 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
14477 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14478 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
14479 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
14480 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
14481 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14482 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14484 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
14486 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
14488 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
14489 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14490 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
14491 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
14492 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14493 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
14494 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14495 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
14496 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
14497 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
14498 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
14499 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14500 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14501 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
14502 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14503 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14505 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
14507 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
14509 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
14511 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14512 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14513 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
14515 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
14516 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
14517 * sysdeps/posix/opendir.c (__opendirat): Likewise.
14518 * sysdeps/posix/sleep.c: Likewise.
14519 * sysdeps/posix/tempname.c: Likewise.
14520 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
14521 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14523 * sysdeps/powerpc/powerpc32/dl-machine.h
14524 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
14525 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14526 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14527 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
14528 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
14530 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
14531 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
14532 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14533 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
14534 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14535 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
14536 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
14537 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
14538 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14539 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
14540 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
14541 (elf_machine_lazy_rel): Likewise.
14542 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14543 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
14544 (elf_machine_lazy_rel): Likewise.
14545 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
14546 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
14547 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
14548 * sysdeps/unix/grantpt.c (grantpt): Likewise.
14549 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
14550 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
14551 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
14552 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14554 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14555 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14556 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
14557 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
14558 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14559 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14560 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
14561 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
14562 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
14563 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14564 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14566 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
14567 (__posix_fallocate64_l64): Likewise.
14568 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
14569 (posix_fallocate): Likewise.
14570 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14572 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14573 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
14574 (getifaddrs_internal): Likewise.
14575 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
14576 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
14577 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14578 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
14579 * sysdeps/unix/sysv/linux/posix_fallocate64.c
14580 (__posix_fallocate64_l64): Likewise.
14581 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14583 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
14584 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
14585 (__get_clockfreq): Likewise.
14586 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
14587 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
14588 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
14589 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14590 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14591 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
14592 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
14593 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
14595 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
14596 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
14597 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14598 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
14599 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14600 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
14601 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
14603 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14604 (posix_fallocate): Likewise.
14605 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14606 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14607 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
14608 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
14609 (elf_machine_rela, elf_machine_rela_relative)
14610 (elf_machine_lazy_rel): Likewise.
14611 * time/asctime.c (asctime_internal): Likewise.
14612 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
14613 * time/tzset.c (__tzset_parse_tz): Likewise.
14614 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14615 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14616 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
14617 * wcsmbs/wcsmbsload.h: Likewise.
14620 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
14622 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
14623 (arena_get2): Remove THREAD_STATS conditionals.
14624 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
14625 (__malloc_stats, int): Likewise.
14627 2014-02-08 Mike Frysinger <vapier@gentoo.org>
14629 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
14630 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
14632 * manual/setjmp.texi: Fix typos/grammar errors.
14634 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
14635 Only return early when n is <= 0. Delete unused return statement.
14637 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
14638 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
14639 * debug/tst-longjmp_chk3.c: New file.
14641 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
14642 (test_main): Replace code with set_fortify_handler call.
14643 * debug/test-strcpy_chk.c: Likewise.
14644 * debug/tst-chk1.c: Likewise.
14645 * debug/tst-longjmp_chk.c: Likewise.
14646 * test-skeleton.c: Include fcntl.h & paths.h
14647 (set_fortify_handler): Define.
14649 * debug/tst-longjmp_chk.c: Add header comment and include
14650 ../test-skeleton.c.
14651 (do_test): Mark static.
14652 (TEST_FUNCTION): Define.
14654 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
14655 (IP_PMTUDISC_INTERFACE): Likewise.
14656 (IP_MULTICAST_IF): Likewise.
14657 (IP_MULTICAST_TTL): Likewise.
14658 (IP_MULTICAST_LOOP): Likewise.
14659 (IP_ADD_MEMBERSHIP): Likewise.
14660 (IP_DROP_MEMBERSHIP): Likewise.
14661 (IP_UNBLOCK_SOURCE): Likewise.
14662 (IP_BLOCK_SOURCE): Likewise.
14663 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
14664 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
14665 (IP_MSFILTER): Likewise.
14666 (MCAST_JOIN_GROUP): Likewise.
14667 (MCAST_BLOCK_SOURCE): Likewise.
14668 (MCAST_UNBLOCK_SOURCE): Likewise.
14669 (MCAST_LEAVE_GROUP): Likewise.
14670 (MCAST_JOIN_SOURCE_GROUP): Likewise.
14671 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14672 (MCAST_MSFILTER): Likewise.
14673 (IP_MULTICAST_ALL): Likewise.
14674 (IP_UNICAST_IF): Likewise.
14676 * timezone/Makefile: Delete $(have-ksh) check.
14677 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
14678 * timezone/tzselect.ksh: Add +x mode bits.
14680 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
14681 (ANON_INODE_FS_MAGIC): Likewise.
14682 (BDEVFS_MAGIC): Likewise.
14683 (BINFMTFS_MAGIC): Likewise.
14684 (BTRFS_TEST_MAGIC): Likewise.
14685 (CRAMFS_MAGIC_WEND): Likewise.
14686 (DEBUGFS_MAGIC): Likewise.
14687 (ECRYPTFS_SUPER_MAGIC): Likewise.
14688 (EXT3_SUPER_MAGIC): Likewise.
14689 (EXT4_SUPER_MAGIC): Likewise.
14690 (FUTEXFS_SUPER_MAGIC): Likewise.
14691 (HOSTFS_SUPER_MAGIC): Likewise.
14692 (HUGETLBFS_MAGIC): Likewise.
14693 (MINIX3_SUPER_MAGIC): Likewise.
14694 (MTD_INODE_FS_MAGIC): Likewise.
14695 (NILFS_SUPER_MAGIC): Likewise.
14696 (OPENPROM_SUPER_MAGIC): Likewise.
14697 (PIPEFS_MAGIC): Likewise.
14698 (PSTOREFS_MAGIC): Likewise.
14699 (QNX6_SUPER_MAGIC): Likewise.
14700 (RAMFS_MAGIC): Likewise.
14701 (REISERFS_SUPER_MAGIC_STRING): Likewise.
14702 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
14703 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
14704 (SECURITYFS_MAGIC): Likewise.
14705 (SELINUX_MAGIC): Likewise.
14706 (SMACK_MAGIC): Likewise.
14707 (SOCKFS_MAGIC): Likewise.
14708 (SQUASHFS_MAGIC): Likewise.
14709 (STACK_END_MAGIC): Likewise.
14710 (TMPFS_MAGIC): Likewise.
14711 (USBDEVICE_SUPER_MAGIC): Likewise.
14712 (V9FS_MAGIC): Likewise.
14713 (XENFS_SUPER_MAGIC): Likewise.
14714 (CRAMFS_MAGIC): Fix typo in comment.
14715 (EXT2_SUPER_MAGIC): Update comment.
14716 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
14718 2014-02-08 Joseph Myers <joseph@codesourcery.com>
14720 * sysdeps/arm: Move directory from ports/sysdeps/arm.
14721 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
14722 * sysdeps/unix/sysv/linux/arm: Move directory from
14723 ports/sysdeps/unix/sysv/linux/arm.
14724 * README: Update listing for arm-*-linux-gnueabi.
14726 * README: Remove mention of am33.
14728 2014-02-07 Roland McGrath <roland@hack.frob.com>
14730 * bits/sigset.h (__sigemptyset): Use a statement expression rather
14731 than the comma operator, to avoid "rhs of comma has no effect"
14733 (__sigfillset, __sigandset, __sigorset): Likewise.
14734 * include/signal.h (__sigemptyset): Likewise.
14735 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
14737 2014-02-07 Allan McRae <allan@archlinux.org>
14739 * version.h (RELEASE): Set to "development".
14740 (VERSION): Set to "2.19.90"
14741 * NEWS: Add 2.20 section.
14743 2014-02-06 Carlos O'Donell <carlos@redhat.com>
14746 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
14748 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14750 * manual/contrib.texi: Update entry for Carlos O'Donell,
14751 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
14753 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
14755 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
14757 * sysdeps/unix/sysv/linux/kernel-features.h
14758 [__LINUX_KERNEL_VERSION >= 0x020621]
14759 (__ASSUME_PROC_PID_TASK_COMM): Define.
14761 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14764 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
14765 conversion when destination buffer does not have enough space.
14766 * libio/tst-ftell-partial-wide.c: New test case.
14767 * libio/Makefile (tests): Add tst-ftell-partial-wide.
14769 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
14770 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
14771 Leonard and Allan McRae.
14773 2014-02-04 David S. Miller <davem@davemloft.net>
14775 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
14778 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14807 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14809 * nptl/shlib-versions: Change powerpc*le start to 2.17.
14810 * shlib-versions: Likewise.
14812 2014-02-04 Roland McGrath <roland@hack.frob.com>
14813 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14815 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
14816 (abilist-pattern): New variable, set to %-le.abilist.
14818 * Makerules (abilist-pattern): New variable.
14819 (vpath): Use $(abilist-pattern) in place of %.abilist.
14820 (check-abi-% pattern rule): Likewise.
14821 (check-abi, update-abi): Likewise.
14823 2014-02-04 Eric Wong <normalperson@yhbt.net>
14825 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14827 2014-02-03 Carlos O'Donell <carlos@redhat.com>
14829 * manual/startup.texi: Add next, previous, and top entries for
14830 the `Program Arguments' and `Environment Variables' nodes.
14832 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
14834 * manual/macros.texi: Add comments before MTASC-safety macros.
14836 * manual/users.texi: Document MTASC-safety properties.
14838 * manual/threads.texi (pthread_key_create, pthread_key_delete)
14839 (pthread_getspecific, pthread_setspecific): Format with
14840 @deftypefun, and add @safety note.
14841 * manual/signal.texi: Move comments that analyze the above
14842 functions to their home place.
14844 2014-02-03 Allan McRae <allan@archlinux.org>
14846 * po/sl.po: Update Slovenian translation from translation project.
14848 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
14850 * manual/time.texi (timegm): Add missing blank after @c.
14851 Reported by Joseph Myers <joseph@codesourcery.com>.
14853 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
14855 * manual/check-safety.sh: New.
14856 * manual/Makefile ($(objpfx)stamp-summary): Run it.
14858 * manual/terminal.texi: Document MTASC-safety properties.
14860 * manual/filesys.texi: Document MTASC-safety properties.
14862 * manual/errno.texi: Document MTASC-safety properties.
14864 * manual/intro.texi: Document safety identifiers and
14867 * manual/string.texi (wcstok): Fix prototype.
14868 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
14870 * manual/time.texi: Document MTASC-safety properties.
14872 * manual/string.texi: Document MTASC-safety properties.
14874 * manual/threads.texi: Document MTASC-safety properties.
14876 * manual/stdio.texi: Document MTASC-safety properties.
14878 * manual/syslog.texi: Document MTASC-safety properties.
14880 * manual/sysinfo.texi: Document MTASC-safety properties.
14882 * manual/startup.texi: Document MTASC-safety properties.
14884 * manual/socket.texi: Document MTASC-safety properties.
14886 * manual/signal.texi: Document MTASC-safety properties.
14888 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
14890 * manual/setjmp.texi: Document MTASC-safety properties.
14892 * manual/search.texi: Document MTASC-safety properties.
14894 * manual/resource.texi: Document MTASC-safety properties.
14896 * manual/process.texi: Document MTASC-safety properties.
14898 * manual/platform.texi: Document MTASC-safety properties.
14900 * manual/pipe.texi: Document MTASC-safety properties.
14902 * manual/pattern.texi: Document MTASC-safety properties.
14904 * manual/message.texi: Document MTASC-safety properties.
14907 * manual/memory.texi: Document MTASC-safety properties.
14909 * manual/math.texi: Document MTASC-safety properties.
14911 * manual/locale.texi: Document MTASC-safety properties.
14913 * manual/llio.texi: Document MTASC-safety properties.
14915 * manual/libdl.texi: New.
14917 * manual/lang.texi: Document MTASC-safety properties.
14919 * manual/job.texi: Document MTASC-safety properties.
14921 * manual/getopt.texi: Document MTASC-safety properties.
14923 * manual/ctype.texi: Document MTASC-safety properties.
14925 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
14928 * csu/libc-tls.c (static_map): Remove variable.
14929 (__libc_setup_tls): Use main executable's link map for TLS data.
14930 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
14931 casing for LM_ID_BASE and GL(dl_nns).
14932 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
14933 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
14934 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
14935 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
14936 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
14938 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
14941 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
14943 * manual/debug.texi: Document MTASC-safety properties.
14945 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
14948 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
14949 of __x86_64__ when disabling x87 inline functions.
14951 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
14953 * manual/charset.texi: Document MTASC-safety properties.
14955 * manual/crypt.texi: Document MTASC-safety properties.
14957 * manual/conf.texi: Document MTASC-safety properties.
14959 * manual/arith.texi: Document MTASC-safety properties.
14961 * manual/argp.texi: Document MTASC-safety properties.
14963 * manual/macros.texi: Introduce macros to document multi
14964 thread, asynchronous signal and asynchronous cancellation
14966 * manual/intro.texi: Introduce the properties themselves.
14968 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14970 * sysdeps/sh/sh4/Makefile: New file.
14972 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
14974 * math/gen-libm-test.pl ($srcdir): New variable.
14975 ($auto_input): Use it.
14977 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14980 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
14981 access beyond array bounds when parsing netgroups file.
14983 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
14984 the old buffer before realloc.
14986 2014-01-27 Allan McRae <allan@archlinux.org>
14988 * po/fr.po: Update French translation from translation project.
14990 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14992 * sysdeps/sh/libm-test-ulps: Regenerate.
14994 2014-01-24 David S. Miller <davem@davemloft.net>
14996 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
14998 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15000 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
15001 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
15003 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15006 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
15007 string pointers after reallocation.
15009 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15011 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
15012 __SH4A__ instead of __SH_FPU_ANY__.
15014 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15016 * sysdeps/sh/fpu_control.h: New file.
15017 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
15018 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
15019 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
15020 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
15021 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
15022 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15023 * sysdeps/sh/sys/ucontext.h: Remove.
15024 * sysdeps/sh/sys: Remove directory.
15026 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15028 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
15029 s390/sys/ucontext.h.
15030 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
15031 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
15033 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
15036 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
15038 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15041 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15042 Adjust the vDSO correctly for internal calls.
15043 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15045 2014-01-20 Allan McRae <allan@archlinux.org>
15047 * po/ca.po: Update Catalan translation from translation project.
15049 2014-01-16 Mike Frysinger <vapier@gentoo.org>
15051 * sysdeps/s390/sotruss-lib.c: New file.
15053 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15056 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
15057 (__GI___gettimeofday): Alias for a different internal symbol to avoid
15058 local calls issues by not having a PLT stub required for IFUNC calls.
15059 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
15061 2014-01-16 Joseph Myers <joseph@codesourcery.com>
15063 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15064 * math/test-fpucw-static.c: Likewise.
15066 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15069 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15071 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15073 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15074 implementation for powerpc.
15076 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
15079 * sysdeps/posix/system.c (__libc_system): Do not enable
15080 asynchronous cancellation.
15082 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15085 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15086 handling only for numbers special also in the IEEE case.
15088 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15090 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15092 2014-01-11 Allan McRae <allan@archlinux.org>
15094 * po/bg.po: Update Bulgarian translation from translation project.
15096 * po/de.po: Update German translation from translation project.
15098 2014-01-10 Roland McGrath <roland@hack.frob.com>
15100 * sysdeps/generic/gcc-compat.h: New file.
15102 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15104 * benchtests/asin-inputs: Correct slow inputs.
15105 * benchtests/acos-inputs: Likewise.
15107 2014-01-10 Allan McRae <allan@archlinux.org>
15109 * po:sv.po: Update Swedish translation from translation project.
15111 * po/vi.po: Update Vietnamese translation from translation project.
15113 * po/eo.po: Update Esperanto translation from translation project.
15115 * po/cs.po: Update Czech translation from translation project.
15117 * po/nl.po: Update Dutch translation from translation project.
15119 * po/pl.po: Update Polish translation from translation project.
15121 * po/ru.po: Update Russian translation from translation project.
15123 * po/uk.po: Update Ukrainian translation from translation project.
15125 2014-01-08 Brooks Moses <bmoses@google.com>
15127 * elf/dl-load.c: Fix comment typo.
15129 2014-01-08 Carlos O'Donell <carlos@redhat.com>
15131 * po/header.pot: Rename to...
15132 * po/pot.header: ... this.
15133 * po/Makefile: Use pot.header.
15135 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
15136 Maxim Kuvyrkov <maxim@kugelworks.com>
15139 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
15140 SRC and DEST against LEN.
15142 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15145 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
15147 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
15149 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15153 2014-01-08 Joseph Myers <joseph@codesourcery.com>
15156 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
15157 for large positive arguments.
15159 2014-01-07 Joseph Myers <joseph@codesourcery.com>
15161 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15163 * math/auto-libm-test-in: Mark various tests with
15164 xfail-rounding:ldbl-128ibm.
15165 * math/auto-libm-test-out: Regenerated.
15168 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15169 Increase overflow threshold.
15171 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
15174 * stdio-common/vfprintf.c: Check for integer overflow.
15176 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15178 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15179 the first argument and return value of __tls_get_addr_internal.
15181 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15183 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
15184 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
15186 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15188 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
15189 * sysdeps/s390/rtld-global-offsets.sym: New file.
15190 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
15192 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
15193 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
15194 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15196 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
15197 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15203 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
15204 halfs of GPRs for high_gprs contexts.
15205 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
15206 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
15208 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
15210 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
15212 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
15213 for high GPRs (uc_high_gprs) and for future extensions
15215 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
15216 for future extensions (__reserved).
15217 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
15219 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
15220 SC_HIGHGPRS offset definition.
15221 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
15222 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
15224 * Versions.def: Add GLIBC_2.19 for libpthread.
15225 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
15226 siglongjmp for libpthread with GLIBC_2.19 symver.
15227 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
15228 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
15229 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
15230 * sysdeps/s390/__longjmp.c: New file.
15231 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
15232 * sysdeps/s390/longjmp.c: New file.
15233 * sysdeps/s390/setjmp.S: New file.
15234 * sysdeps/s390/sigjmp.S: New file.
15235 * sysdeps/s390/v1-longjmp.c: New file.
15236 * sysdeps/s390/v1-setjmp.h: New file.
15237 * sysdeps/s390/v1-sigjmp.c: New file.
15238 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
15239 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
15240 GLIBC_2.19 version.
15241 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
15242 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
15243 versioned symbols for ____longjmp_chk.
15244 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15254 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
15255 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
15256 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
15257 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
15258 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
15259 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
15260 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
15261 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
15262 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
15263 * sysdeps/s390/rtld-__longjmp.c: New file.
15264 * sysdeps/s390/rtld-setjmp.S: New file.
15266 2014-01-06 Joseph Myers <joseph@codesourcery.com>
15269 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15270 Return -__logl (x) for small positive arguments without evaluating
15273 2014-01-06 Mike Frysinger <vapier@gentoo.org>
15275 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
15277 (__ptrace_peeksiginfo_args): ... this.
15278 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15279 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15280 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15282 2014-01-06 Allan McRae <allan@archlinux.org>
15284 * inet/netinet/in.h: Fix typo in comment.
15286 2014-01-05 Andreas Jaeger <aj@suse.de>
15288 * sysdeps/i386/fpu/libm-test-ulps: Update.
15290 2014-01-05 Allan McRae <allan@archlinux.org>
15292 * po/libc.pot: Regenerated.
15294 * malloc/memusagestat.c: Fix gettext call formatting.
15296 2014-01-04 Sami Kerola <kerolasa@iki.fi>
15298 * nscd/nscd.c: Improve usage() output.
15300 2014-01-04 Mike Frysinger <vapier@gentoo.org>
15302 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
15303 * sysdeps/unix/sysv/linux/configure: Regenerated.
15304 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
15305 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
15307 2014-01-03 Joseph Myers <joseph@codesourcery.com>
15310 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15311 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
15313 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15315 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
15316 extra tokens at end of #undef directive.
15317 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
15318 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
15319 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15321 2014-01-03 Joseph Myers <joseph@codesourcery.com>
15323 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15325 * math/auto-libm-test-in: Mark various tests with
15326 xfail-rounding:ldbl-128ibm.
15327 * math/auto-libm-test-out: Regenerated.
15329 2014-01-02 Joseph Myers <joseph@codesourcery.com>
15332 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
15333 numbers with subnormal high part when calculating exponent.
15336 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
15340 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
15342 (__ieee754_acoshl): Use __log1pl not __log1p.
15344 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
15346 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
15347 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
15348 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
15349 (grow_heap, heap_trim, _int_new_arena, get_free_list)
15350 (reused_arena, arena_get2): Convert to GNU style.
15351 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
15352 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
15353 (memalign_check, __malloc_set_state): Likewise.
15354 * malloc/mallocbug.c (main): Likewise.
15355 * malloc/malloc.c (__malloc_assert, malloc_init_state)
15356 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
15357 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
15358 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
15359 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
15360 (__posix_memalign, malloc_info): Likewise.
15361 * malloc/malloc.h: Likewise.
15362 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
15363 (mallochook, memalignhook, reallochook, mabort): Likewise.
15364 * malloc/mcheck.h: Likewise.
15365 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
15366 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
15367 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
15368 * malloc/morecore.c (__default_morecore): Likewise.
15369 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
15370 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
15371 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
15372 (print_and_abort): Likewise.
15373 * malloc/obstack.h: Likewise.
15374 * malloc/set-freeres.c (__libc_freeres): Likewise.
15375 * malloc/tst-mallocstate.c (main): Likewise.
15376 * malloc/tst-mtrace.c (main): Likewise.
15377 * malloc/tst-realloc.c (do_test): Likewise.
15379 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15382 * nscd/netgroupcache.c (do_notfound): New function.
15383 (addgetnetgrentX): Use it.
15386 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
15387 NSS_STATUS_NOTFOUND.
15389 2014-01-01 Joseph Myers <joseph@codesourcery.com>
15391 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15394 2014-01-01 Allan McRae <allan@archlinux.org>
15396 * scripts/update-copyrights: Update configure input file suffix.
15398 * NEWS: Update copyright year.
15399 * catgets/gencat.c: Likewise.
15400 * csu/version.c: Likewise.
15401 * debug/catchsegv.sh: Likewise.
15402 * debug/pcprofiledump.c: Likewise.
15403 * debug/xtrace.sh: Likewise.
15404 * elf/ldconfig.c: Likewise.
15405 * elf/ldd.bash.in: Likewise.
15406 * elf/pldd.c: Likewise.
15407 * elf/sotruss.ksh: Likewise.
15408 * elf/sprof.c: Likewise.
15409 * iconv/iconv_prog.c: Likewise.
15410 * iconv/iconvconfig.c: Likewise.
15411 * locale/programs/locale.c: Likewise.
15412 * locale/programs/localedef.c: Likewise.
15413 * login/programs/pt_chown.c: Likewise.
15414 * malloc/memusage.sh: Likewise.
15415 * malloc/memusagestat.c: Likewise.
15416 * malloc/mtrace.pl: Likewise.
15417 * manual/libc.texinfo: Likewise.
15418 * nscd/nscd.c: Likewise.
15419 * nss/getent.c: Likewise.
15420 * nss/makedb.c: Likewise.
15421 * posix/getconf.c: Likewise.
15422 * scripts/test-installation.pl: Likewise.
15424 * All files with FSF copyright notices: Update copyright dates
15425 using scripts/update-copyrights.
15426 * intl/plural.c: Regenerated.
15427 * locale/programs/charmap-kw.h: Likewise.
15428 * locale/programs/locfile-kw.h: Likewise.
15430 2013-12-31 Mike Frysinger <vapier@gentoo.org>
15432 * sysdeps/unix/sysv/linux/configure: Regenerated.
15433 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
15434 the linux/fanotify.h header.
15435 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
15436 HAVE_LINUX_FANOTIFY_H is defined.
15438 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15440 * benchtests/cos-inputs: New inputs.
15441 * benchtests/sin-inputs: Likewise.
15443 * benchtests/atan-inputs: New inputs. Fix name of multiple
15444 precision fallback inputs.
15446 * benchtests/atanh-inputs: New inputs.
15447 * benchtests/tanh-inputs: Likewise.
15449 * benchtests/acosh-inputs: New inputs.
15450 * benchtests/asinh-inputs: Likewise.
15452 * benchtests/cosh-inputs: New inputs.
15453 * benchtests/sinh-inputs: Likewise.
15455 * benchtests/acos-inputs: Add more inputs.
15456 * benchtests/asin-inputs: Likewise.
15458 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
15461 * manual/arith.texi: Fix spelling.
15462 * manual/charset.texi: Likewise.
15463 * manual/errno.texi: Likewise.
15464 * manual/filesys.texi: Likewise.
15465 * manual/lang.texi: Likewise.
15466 * manual/llio.texi: Likewise.
15467 * manual/locale.texi: Likewise.
15468 * manual/message.texi: Likewise.
15469 * manual/resource.texi: Likewise.
15470 * manual/search.texi: Likewise.
15471 * manual/setjmp.texi: Likewise.
15472 * manual/stdio.texi: Likewise.
15473 * manual/string.texi: Likewise.
15474 * manual/sysinfo.texi: Likewise.
15475 * manual/time.texi: Likewise.
15477 2013-12-27 Carlos O'Donell <carlos@redhat.com>
15479 * po/sl.po: New file.
15481 2013-12-27 Mike Frysinger <vapier@gentoo.org>
15483 * .gitignore: Add core/.gdbinit/.gdb_history.
15485 2013-12-27 Allan McRae <allan@archlinux.org>
15488 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
15489 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
15491 2013-12-24 Brooks Moses <bmoses@google.com>
15493 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
15494 all compilers that claim C++98 compliance, not just GCC.
15495 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15498 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
15500 * NEWS: Restore accidentally deleted bug-fix entries.
15502 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
15503 Ondřej Bílka <neleai@seznam.cz>
15506 * malloc/malloc.c (_int_free): Perform sanity check only if we
15509 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
15512 * manual/stdio.texi (String Input Conversions): Clarify that character
15513 classes are not supported.
15515 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15519 2013-12-22 Joseph Myers <joseph@codesourcery.com>
15522 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15523 Calculate results for small negative arguments directly rather
15524 than using reflection formula with special underflow handling.
15526 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
15527 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
15528 sysdeps/unix/bsd/bsd4.4/syscalls.list.
15529 (fchflags): Likewise.
15530 (revoke): Likewise.
15531 (setlogin): Likewise.
15532 (sigaltstack): Likewise.
15534 (sigblock): Remove.
15535 (sigsetmask): Likewise.
15537 (waitpid): Likewise.
15538 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
15539 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
15541 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
15542 * sysdeps/unix/bsd/Makefile: ... here.
15543 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
15544 * sysdeps/unix/bsd/Versions: ... here.
15545 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
15546 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
15547 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
15548 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
15549 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
15550 * sysdeps/unix/bsd/sigblock.c: ... here.
15551 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
15552 * sysdeps/unix/bsd/sigsetmask.c: ... here.
15553 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
15554 * sysdeps/unix/bsd/sigvec.c: ... here.
15555 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
15556 * sysdeps/unix/bsd/tcdrain.c: ... here.
15557 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
15558 * sysdeps/unix/bsd/tcgetattr.c: ... here.
15559 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
15560 * sysdeps/unix/bsd/tcsetattr.c: ... here.
15561 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
15562 * sysdeps/unix/bsd/wait.c: ... here.
15563 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
15564 * sysdeps/unix/bsd/wait3.c: ... here.
15565 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
15566 * sysdeps/unix/bsd/waitpid.c: ... here.
15568 2013-12-21 Joseph Myers <joseph@codesourcery.com>
15571 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
15572 round-to-nearest for [!USE_AS_EXPM1L].
15573 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
15574 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
15575 more tests of exp and exp10. Expect some exp10 tests to miss
15576 exceptions or fail in directed rounding modes.
15577 * math/auto-libm-test-out: Regenerated.
15578 * math/libm-test.inc (exp10_tonearest_test_data): New array.
15579 (exp10_test_tonearest): New function.
15580 (exp10_towardzero_test_data): New array.
15581 (exp10_test_towardzero): New function.
15582 (exp10_downward_test_data): New array.
15583 (exp10_test_downward): New function.
15584 (exp10_upward_test_data): New array.
15585 (exp10_test_upward): New function.
15586 (main): Call the new functions.
15587 * sysdeps/i386/fpu/libm-test-ulps: Update.
15588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15590 2013-12-20 Joseph Myers <joseph@codesourcery.com>
15592 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15593 asinh, atan, atan2, atanh, cbrt, cos and cosh.
15594 * math/auto-libm-test-out: Regenerated.
15595 * math/libm-test.inc (acosh_test_data): Add more tests.
15596 (atanh_test_data): Likewise.
15597 (ceil_test_data): Likewise.
15598 (copysign_test_data): Likewise.
15599 * sysdeps/i386/fpu/libm-test-ulps: Update.
15600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15602 * timezone/checktab.awk: Update from tzcode 2013i.
15603 * timezone/private.h: Likewise.
15604 * timezone/scheck.c: Likewise.
15605 * timezone/tzfile.h: Likewise.
15606 * timezone/tzselect.ksh: Likewise.
15607 * timezone/zdump.c: Likewise.
15608 * timezone/zic.c: Likewise.
15610 * math/auto-libm-test-in: Add tests of cpow.
15611 * math/auto-libm-test-out: Regenerated.
15612 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
15613 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15615 (func_calc_desc): Add mpc_cc_c union field.
15616 (test_functions): Add cpow.
15617 (special_fill_2pi): New function.
15618 (special_real_inputs): Add 2pi.
15619 (calc_generic_results): Handle mpc_cc_c.
15620 * sysdeps/i386/fpu/libm-test-ulps: Update.
15621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15623 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
15624 csqrt, ctan and ctanh.
15625 * math/auto-libm-test-out: Regenerated.
15626 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15627 (TEST_COND_x86): Likewise.
15628 (ccos_test_data): Use AUTO_TESTS_c_c.
15629 (ccosh_test_data): Likewise.
15630 (cexp_test_data): Likewise.
15631 (clog_test_data): Likewise.
15632 (csqrt_test_data): Likewise.
15633 (ctan_test_data): Likewise.
15634 (ctan_tonearest_test_data): Likewise.
15635 (ctan_towardzero_test_data): Likewise.
15636 (ctan_downward_test_data): Likewise.
15637 (ctan_upward_test_data): Likewise.
15638 (ctanh_test_data): Likewise.
15639 (ctanh_tonearest_test_data): Likewise.
15640 (ctanh_towardzero_test_data): Likewise.
15641 (ctanh_downward_test_data): Likewise.
15642 (ctanh_upward_test_data): Likewise.
15643 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15645 (func_calc_desc): Add mpc_c_c union field.
15646 (FUNC_mpc_c_c): New macro.
15647 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
15648 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
15650 (special_fill_min_subnorm_p120): New function.
15651 (special_real_inputs): Add min_subnorm_p120.
15652 (calc_generic_results): Handle mpc_c_c.
15653 * sysdeps/i386/fpu/libm-test-ulps: Update.
15654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15656 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15658 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
15659 (do_sin_slow): New functions.
15660 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
15661 (cslow2, csloww1, csloww2): Use the new functions.
15663 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
15664 Use M to change sign of result instead of X. Assume X is
15666 (csloww1): Likewise.
15670 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
15671 arguments A and DA.
15675 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
15677 (sloww1): Don't adjust sign of DX.
15678 (csloww1): Likewise.
15679 (sloww2): Use X directly and don't adjust sign of DX.
15680 (csloww2): Likewise.
15682 2013-12-19 Joseph Myers <joseph@codesourcery.com>
15684 * math/auto-libm-test-in: Add tests of cabs and carg.
15685 * math/auto-libm-test-out: Regenerated.
15686 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
15687 (carg_test_data): Likewise.
15688 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15690 (func_calc_desc): Add mpc_c_f union field.
15691 (test_functions): Add cabs and carg.
15692 (calc_generic_results): Handle mpc_c_f.
15694 * sysdeps/powerpc/powerpc32/libgcc-compat.S
15695 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
15696 as a macro and a compat symbol.
15697 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15698 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15699 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15700 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15701 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
15702 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
15704 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
15706 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
15708 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
15710 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
15712 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
15714 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
15715 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
15718 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15722 2013-12-19 Joseph Myers <joseph@codesourcery.com>
15724 * manual/texinfo.tex: Update to version 2013-11-26.10 with
15725 trailing whitespace removed.
15726 * scripts/config.guess: Update to version 2013-11-29.
15727 * scripts/config.sub: Update to version 2013-10-01.
15729 * math/auto-libm-test-in: Add tests of sincos.
15730 * math/auto-libm-test-out: Regenerated.
15731 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
15732 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15734 (func_calc_desc): Add mpfr_f_11 union field.
15735 (test_functions): Add sincos.
15736 (calc_generic_results): Handle mpfr_f_11.
15737 * sysdeps/i386/fpu/libm-test-ulps: Update.
15738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15740 2013-12-19 Andreas Schwab <schwab@suse.de>
15742 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
15744 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15745 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
15746 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
15748 2013-12-19 Joseph Myers <joseph@codesourcery.com>
15750 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
15751 * sysdeps/i386/fpu/libm-test-ulps: Update.
15752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15755 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
15756 round-to-nearest mode when using frndint.
15757 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
15758 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15759 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15761 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
15763 * math/auto-libm-test-out: Regenerated.
15764 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
15765 (TEST_COND_x86): Likewise.
15766 (expm1_tonearest_test_data): New array.
15767 (expm1_test_tonearest): New function.
15768 (expm1_towardzero_test_data): New array.
15769 (expm1_test_towardzero): New function.
15770 (expm1_downward_test_data): New array.
15771 (expm1_test_downward): New function.
15772 (expm1_upward_test_data): New array.
15773 (expm1_test_upward): New function.
15774 (main): Run the new test functions.
15775 * sysdeps/i386/fpu/libm-test-ulps: Update.
15776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15778 * include/features.h: Update comment documenting feature test
15779 macros. Mention _DEFAULT_SOURCE in comment.
15780 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
15781 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
15782 _BSD_SOURCE and _SVID_SOURCE.
15783 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
15784 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
15785 !_SVID_SOURCE]: Likewise.
15786 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15787 (__USE_POSIX_IMPLICITLY): Define.
15788 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15789 (_POSIX_SOURCE): Undefine and redefine.
15790 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15791 (_POSIX_C_SOURCE): Likewise.
15792 * manual/creature.texi (_DEFAULT_SOURCE): Document.
15793 (Feature Test Macros): Update documentation of default features.
15795 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15797 * benchtests/Makefile: Add bench-strtok.
15798 * benchtests/bench-strtok.c: New file: strtok benchtest.
15800 2013-12-19 Allan McRae <allan@archlinux.org>
15802 * manual/install.texi: Suppress menu for plain text output.
15803 * INSTALL: Regenerated.
15805 2013-12-18 Brooks Moses <bmoses@google.com>
15808 * misc/getauxval.c: Include errno.h.
15809 (__getauxval): Set errno to ENOENT if the requested type is not
15811 * misc/sys/auxv.h (getauxval): Document that it may set errno;
15812 don't declare with __attribute_const__.
15813 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
15814 * manual/startup.texi: Document that getauxval sets errno.
15816 2013-12-18 Joseph Myers <joseph@codesourcery.com>
15818 * math/auto-libm-test-in: Add tests of jn and yn.
15819 * math/auto-libm-test-out: Regenerated.
15820 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
15821 (yn_test_data): Likewise.
15822 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15824 (func_calc_desc): Add mpfr_if_f union field.
15825 (FUNC_mpfr_if_f): New macro.
15826 (test_functions): Add jn and yn.
15827 (calc_generic_results): Assert type of second input for
15828 mpfr_ff_f. Handle mpfr_if_f.
15829 (output_for_one_input_case): Disable all checking for arguments
15830 fitting floating-point types in case of an integer argument.
15831 * sysdeps/i386/fpu/libm-test-ulps: Update.
15832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15835 Don't expect fegetround reference in libm.so.
15837 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15839 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
15840 $(config-cflags-nofma).
15842 2013-12-18 Joseph Myers <joseph@codesourcery.com>
15844 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
15845 * math/auto-libm-test-out: Regenerated.
15848 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
15849 to determine exponent and adjust argument to have exponent of -1.
15850 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15852 * math/auto-libm-test-out: Regenerated.
15853 * sysdeps/i386/fpu/libm-test-ulps: Update.
15854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15856 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
15858 * manual/probes.texi: Remove cases when per-thread arenas are
15861 2013-12-18 Andreas Schwab <schwab@suse.de>
15863 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
15864 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
15865 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
15866 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
15867 * sysdeps/i386/i686/multiarch/Makefile: Update.
15868 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
15870 2013-12-17 Joseph Myers <joseph@codesourcery.com>
15872 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
15873 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
15875 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
15878 Support TZ transition times < 00:00:00.
15879 This is needed for version-3 tz-format files; it supports time
15880 stamps past 2037 for America/Godthab (the only entry in the tz
15881 database for which this change is relevant).
15882 * manual/time.texi (TZ Variable): Document transition times
15883 from -167:59:59 through -00:00:01.
15884 * time/tzset.c (tz_rule): Time of day is now signed.
15885 (__tzset_parse_tz): Parse negative time of day.
15887 Document TZ transition times >= 25:00:00.
15888 * manual/time.texi (TZ Variable): Document transition times from
15889 25:00:00 through 167:59:59. These are already supported, and this
15890 support will help with version-3 tz-format files.
15892 * manual/time.texi (TZ Variable): Modernize North America example
15893 to reflect current (i.e., 2007-and-later) daylight saving rules.
15895 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
15897 2013-12-17 Joseph Myers <joseph@codesourcery.com>
15899 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
15900 * sysdeps/unix/bsd/bits/stat.h: Likewise.
15901 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
15902 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15903 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
15904 * sysdeps/unix/bsd/bsdstat.h: Likewise.
15905 * sysdeps/unix/bsd/clock.c: Likewise.
15906 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
15907 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
15908 * sysdeps/unix/bsd/init-posix.c: Likewise.
15909 * sysdeps/unix/bsd/poll.c: Likewise.
15910 * sysdeps/unix/bsd/ptsname.c: Likewise.
15911 * sysdeps/unix/bsd/seekdir.c: Likewise.
15912 * sysdeps/unix/bsd/setegid.c: Likewise.
15913 * sysdeps/unix/bsd/seteuid.c: Likewise.
15914 * sysdeps/unix/bsd/setgid.c: Likewise.
15915 * sysdeps/unix/bsd/setrgid.c: Likewise.
15916 * sysdeps/unix/bsd/setruid.c: Likewise.
15917 * sysdeps/unix/bsd/setsid.c: Likewise.
15918 * sysdeps/unix/bsd/setuid.c: Likewise.
15919 * sysdeps/unix/bsd/sigaction.c: Likewise.
15920 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
15921 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
15922 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
15923 * sysdeps/unix/bsd/telldir.c: Likewise.
15924 * sysdeps/unix/bsd/times.c: Likewise.
15925 * sysdeps/unix/bsd/usleep.c: Likewise.
15927 * misc/Makefile (install-lib): Remove libbsd-compat.a.
15928 ($(objpfx)libbsd-compat.a): Remove rule.
15930 * include/features.h (__FAVOR_BSD): Do not define.
15931 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
15932 features conflicting with POSIX.
15933 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
15934 (_BSD_SOURCE): Remove description of not being a subset of other
15935 feature test macros.
15936 * manual/job.texi (getpgrp): Do not document BSD version.
15937 (getpgid): Do not document by reference to BSD getpgrp.
15938 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
15939 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
15940 * signal/signal.h [__FAVOR_BSD]: Likewise.
15941 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15942 instead of making contents conditional on [__FAVOR_BSD].
15943 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
15945 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15949 2013-12-17 Joseph Myers <joseph@codesourcery.com>
15952 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
15953 values below 2**-450, not 2**-500.
15954 * math/auto-libm-test-in: Don't allow spurious underflow from
15956 * math/auto-libm-test-out: Regenerated.
15960 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15961 values of ha and hb and sort them after adjusting subnormal
15963 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15965 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15966 values of ea and eb and sort them after adjusting subnormal
15968 * math/auto-libm-test-in: Do not expect some hypot tests of
15969 subnormals to fail. Add more hypot tests.
15970 * math/auto-libm-test-out: Regenerated.
15972 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15975 * sysdeps/sh/s_fma.c: New file.
15976 * sysdeps/sh/s_fmaf.c: New file.
15977 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
15979 * sysdeps/sh/Implies: Add sh/soft-fp.
15981 2013-12-16 Roland McGrath <roland@hack.frob.com>
15983 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
15984 level of indirection to members `objname', `errstring', `malloced'.
15985 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
15986 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
15987 it as the __longjmp argument (just pass 1 instead).
15988 (_dl_catch_error): Initialize C with argument pointers and address of
15989 volatile local ERRCODE rather than copying values out of C at return.
15991 2013-12-16 Joseph Myers <joseph@codesourcery.com>
15993 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
15994 * math/auto-libm-test-out: Regenerated.
15995 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
15996 (hypot_test_data): Likewise.
15997 (pow_test_data): Likewise.
15998 (pow_tonearest_test_data): Likewise.
15999 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16001 (func_calc_desc): Add mpfr_ff_f union field.
16002 (FUNC_mpfr_ff_f): New macro.
16003 (test_functions): Add atan2, hypot and pow.
16004 (special_fill_min): New function.
16005 (special_fill_minus_min): Likewise.
16006 (special_fill_min_subnorm): Likewise.
16007 (special_fill_minus_min_subnorm): Likewise.
16008 (special_real_inputs): Add min, -min, min_subnorm and
16010 (calc_generic_results): Handle mpfr_ff_f.
16011 * sysdeps/i386/fpu/libm-test-ulps: Update.
16012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16014 2013-12-16 Will Newton <will.newton@linaro.org>
16016 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
16017 (Aligned Memory Blocks): Add documentation for aligned_alloc
16018 and suggest it as an alternative to posix_memalign.
16019 (Hooks for Malloc): Document __memalign_hook is also called
16020 for aligned_alloc. (Summary of Malloc): Add summary for
16021 aligned alloc. Document __memalign_hook is also called
16024 2013-12-16 Will Newton <will.newton@linaro.org>
16026 * manual/memory.texi (Malloc Examples): Clarify default
16027 alignment documentation. Suggest posix_memalign rather
16028 than memalign or valloc.
16029 (Aligned Memory Blocks): Remove suggestion to use memalign
16030 or valloc. Remove obsolete comment about BSD.
16031 Document memalign errno values and mark the function obsolete.
16032 Document posix_memalign returned error codes. Mark valloc
16033 as obsolete. (Hooks for Malloc): __memalign_hook is also
16034 called for posix_memalign and valloc.
16035 (Summary of Malloc): Add posix_memalign to function summary.
16036 __memalign_hook is also called for posix_memalign and valloc.
16038 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16040 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
16044 (sloww): Use mynumber union. Expand ternary operator into
16045 if-else statements.
16046 (cslow): use mynumber union.
16048 2013-12-16 Allan McRae <allan@archlinux.org>
16050 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
16051 * configure: Regenerated.
16053 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
16056 * configure.ac: Added --enable-maintainer-mode. Check for
16057 autoconf when enabled.
16058 * configure: Regenerated.
16060 * nscd/nscd.service: New file.
16061 * nscd/nscd.tmpfiles: New file.
16063 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
16066 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16067 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16068 * sysdeps/x86_64/multiarch/strstr.c: ... here.
16069 (strstr): Add __strstr_sse2_unaligned ifunc.
16070 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16071 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16072 (strcasestr): Remove __strcasestr_sse42 ifunc.
16073 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16074 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16075 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16077 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16079 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16080 * sysdeps/sh/bits/fenv.h: ... here.
16081 * sysdeps/sh/sh4/fpu/bits: Remove directory.
16083 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16085 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16087 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16088 hypotf multiarch implementations.
16089 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16090 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16091 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16092 multiarch hypot for PPC64.
16093 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16094 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16095 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16096 multiarch hypotf for PPC64.
16098 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16099 modff multiarch implementations.
16100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16103 multiarch modf for PPC64.
16104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16107 multiarch modff for PPC64.
16109 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16110 and logl multiarch implementations.
16111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16114 multiarch logb for PPC64.
16115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16118 multiarch logb for PPC64.
16119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16122 multiarch logb for PPC64.
16124 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16125 isinff multiarch implementation.
16126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
16130 multiarch isinf for PPC64.
16131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
16133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
16134 multiarch isinff for PPC64.
16136 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
16137 finitef multiarch implementation.
16138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
16140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
16141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
16142 multiarch finite for PPC64.
16143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
16145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
16146 multiarch finitef for PPC64.
16148 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
16149 lrint multiarch implementation.
16150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
16152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
16153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
16154 multiarch llrint for PPC64.
16155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
16156 multiarch lrint for PPC64.
16158 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
16159 copysignf multiarch implementation.
16160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
16162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
16164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
16165 multiarch copysign for PPC64.
16166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
16167 multiarch copysignf for PPC64.
16169 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
16170 multiarch implementation.
16171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
16173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
16175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
16177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
16179 multiarch llround for PPC64.
16180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
16181 multiarch trunc for PPC64.
16182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
16183 multiarch truncf for PPC64.
16185 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
16186 multiarch implementation.
16187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
16189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
16191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
16193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
16195 multiarch llround for PPC64.
16196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
16197 multiarch round for PPC64.
16198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
16199 multiarch roundf for PPC64.
16201 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
16202 multiarch implementation.
16203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
16205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
16207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
16209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
16211 multiarch llround for PPC64.
16212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
16213 multiarch floor for PPC64.
16214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
16215 multiarch floorf for PPC64.
16217 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
16218 multiarch implementation.
16219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
16221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
16223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
16225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
16227 multiarch llround for PPC64.
16228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
16229 multiarch ceil for PPC64.
16230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
16231 multiarch ceilf for PPC64.
16233 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16234 multiarch implementation.
16235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
16237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
16239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
16241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
16242 multiarch llround for PPC64.
16243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
16244 multiarch lround for PPC64.
16246 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16247 multiarch implementation.
16248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
16249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
16250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
16252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
16253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
16254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
16255 multiarch isnan for PPC64.
16256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
16257 multiarch isnanf for PPC64.
16259 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
16260 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
16261 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
16262 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
16263 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
16264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
16266 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
16267 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16268 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16269 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16271 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
16272 multiarch implementations.
16273 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16274 (__libc_ifunc_impl_list): Likewise.
16275 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16276 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
16277 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
16278 multiarch stpcpy for PPC64.
16280 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
16281 multiarch implementations.
16282 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16283 (__libc_ifunc_impl_list): Likewise.
16284 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
16285 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
16286 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
16287 multiarch strcpy for PPC64.
16289 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
16290 redefine function name.
16291 (_wordcopy_fwd_dest_aligned): Likewise.
16292 (_wordcopy_bwd_aligned): Likewise.
16293 (_wordcopy_bwd_dest_aligned): Likewise.
16294 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
16295 multiarch implementations.
16296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16297 (__libc_ifunc_impl_list): Likewise.
16298 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
16299 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
16300 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
16301 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
16302 multiarch wcscpy for PPC64.
16304 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
16305 multiarch implementations.
16306 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16307 (__libc_ifunc_impl_list): Likewise.
16308 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
16309 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
16310 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
16311 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
16312 multiarch wcscpy for PPC64.
16314 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
16315 multiarch implementations.
16316 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16317 (__libc_ifunc_impl_list): Likewise.
16318 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
16319 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
16320 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
16321 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
16322 multiarch wcsrchr for PPC64.
16324 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
16325 multiarch implementations.
16326 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16327 (__libc_ifunc_impl_list): Likewise.
16328 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
16329 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
16330 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
16331 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
16332 multiarch wcschr for PPC64.
16334 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
16335 multiarch implementations.
16336 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16337 (__libc_ifunc_impl_list): Likewise.
16338 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
16339 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
16340 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
16341 multiarch strchrnul for PPC64.
16343 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
16345 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16346 (__libc_ifunc_impl_list): Likewise.
16347 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
16348 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
16349 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
16350 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
16353 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
16355 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16356 (__libc_ifunc_impl_list): Likewise.
16357 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
16358 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
16359 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
16360 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
16363 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
16364 multiarch implementations.
16365 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16366 (__libc_ifunc_impl_list): Likewise.
16367 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
16368 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
16369 strncasecmp for PPC64.
16370 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
16371 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
16372 multiarch strncasecmp_l for PPC64.
16374 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
16375 multiarch implementations.
16376 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16377 (__libc_ifunc_impl_list): Likewise.
16378 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
16379 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
16380 multiarch strcasecmp for PPC64.
16381 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
16383 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
16384 multiarch strcasecmp_l for PPC64.
16386 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
16388 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16389 (__libc_ifunc_impl_list): Likewise.
16390 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
16391 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
16392 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
16395 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
16397 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16398 (__libc_ifunc_impl_list): Likewise.
16399 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
16400 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
16401 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
16404 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
16406 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16407 (__libc_ifunc_impl_list): Likewise.
16408 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
16409 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
16410 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
16411 rawmemrchr for PPC64.
16413 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
16415 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16416 (__libc_ifunc_impl_list): Likewise.
16417 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
16418 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
16419 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
16422 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
16424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16425 (__libc_ifunc_impl_list): Likewise.
16426 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
16427 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
16428 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
16431 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
16433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16434 (__libc_ifunc_impl_list): Likewise.
16435 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
16436 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
16437 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
16440 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
16441 avoid cretion of __bzero symbol.
16442 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
16444 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
16446 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
16448 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
16449 multiarch implementations.
16450 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16451 (__libc_ifunc_impl_list): Likewise.
16452 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
16453 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
16454 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
16455 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
16457 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
16458 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
16459 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
16460 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
16461 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
16463 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
16465 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
16466 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
16468 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16469 (__libc_ifunc_impl_list): Likewise.
16470 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
16471 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
16472 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
16473 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
16476 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
16477 multiarch for POWER/PPC64.
16478 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16479 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
16480 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
16481 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
16482 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
16483 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
16484 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
16485 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
16486 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
16489 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
16490 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
16491 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
16492 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
16493 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
16494 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
16495 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
16496 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
16497 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
16498 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
16499 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
16500 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
16501 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
16502 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
16503 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
16504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
16505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
16506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
16507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
16508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
16509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
16510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
16512 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16514 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
16516 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16518 * benchtests/Makefile (bench): Add exp2 and log2.
16519 (LDLIBS-bench-exp2): Add -lm.
16520 (LDLIBS-bench-log2): Likewise.
16521 * benchtests/exp2-inputs: New inputs file.
16522 * benchtests/log2-inputs: New inputs file.
16523 * benchtests/log-inputs: Add new inputs.
16524 * benchtests/tan-inputs: Likewise.
16526 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16528 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
16530 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
16531 (csloww2): ... from here.
16533 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
16534 instead of structures.
16535 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
16536 (POLYNOMIAL): Likewise.
16537 (TAYLOR_SLOW): Likewise.
16543 (sloww1); Likewise.
16544 (sloww2): Likewise.
16545 (bsloww1): Likewise.
16546 (bsloww2): Likewise.
16547 (cslow2): Likewise.
16548 (csloww): Likewise.
16549 (csloww1): Likewise.
16550 (csloww2): Likewise.
16552 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
16554 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
16555 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
16556 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
16557 * malloc/hooks.c (realloc_check): Likewise.
16559 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
16560 * malloc/arena.c: Remove PER_THREAD conditional.
16561 [!PER_THREAD]: Remove code.
16562 (ptmalloc_unlock_all2): Likewise.
16563 (ptmalloc_init): Likewise.
16564 (_int_new_arena): Likewise.
16565 (arena_get2): Likewise.
16566 * malloc/hooks.c (__malloc_get_state): Likewise.
16567 (__malloc_set_state): Likewise.
16568 * malloc/malloc.c: Likewise.
16569 (struct malloc_state): Likewise.
16570 (struct malloc_par): Likewise.
16571 (__libc_realloc): Likewise.
16572 (__libc_mallopt): Likewise.
16574 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16576 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
16578 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
16580 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
16581 macro to a function. Check for zero perturb_byte.
16582 (_int_malloc, _int_free): Remove zero perturb_byte checks.
16584 * malloc/malloc.c: (force_reg): Remove.
16585 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
16586 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
16587 force_reg by atomic_forced_read.
16588 * malloc/arena.c (ptmalloc_init): Likewise.
16589 * malloc/hooks.c (top_check): Likewise.
16591 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16595 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
16597 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16599 2013-12-08 Joseph Myers <joseph@codesourcery.com>
16601 * math/auto-libm-test-in: Add tests of lgamma.
16602 * math/auto-libm-test-out: Regenerated.
16603 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
16604 (M_LOG_2_SQRT_PIl): Likewise.
16605 (lgamma_test_data): Use AUTO_TESTS_f_f1.
16606 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16608 (func_calc_desc): Add mpfr_f_f1 union field.
16609 (ARGS1): New macro.
16617 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
16618 (test_functions): Add lgamma.
16619 (calc_generic_results): Handle mpfr_f_f1.
16620 * sysdeps/i386/fpu/libm-test-ulps: Update.
16621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16623 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16625 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
16626 __mpn_add_n for PowerPC64/POWER7.
16627 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
16628 __mpn_sub_n for PowerPC64/POWER7.
16630 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
16631 __mpn_addmul_1 for PowerPC64.
16632 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
16633 __mpn_submul_1 for PowerPC64.
16634 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
16636 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
16639 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
16642 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
16644 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16646 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
16648 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
16649 add multiarch folders.
16650 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
16651 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
16652 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
16653 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
16654 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
16655 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
16656 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
16657 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
16658 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
16659 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
16660 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
16661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
16662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
16663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
16664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
16665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
16666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
16668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16669 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
16670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
16672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
16674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
16675 multiarch __ieee754_hypot for PowerPC32.
16676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
16678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
16680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
16681 multiarch __ieee754_hypotf for PowerPC32.
16683 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
16684 long_double_symbol only if __logbl is defined.
16685 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
16686 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
16687 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
16688 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
16689 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
16690 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
16691 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
16692 path for implementation.
16693 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
16694 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
16695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
16696 logb, and logbl multiarch implementations for PowerPC32.
16697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
16699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
16701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
16702 multiarch logb for PowerPC32.
16703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
16705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
16707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
16708 multiarch logbf for PowerPC32.
16709 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
16710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
16712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
16713 multiarch logbl implementation for PowerPC32.
16715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
16716 and modff multiarch implementations.
16717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
16719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
16721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
16722 multiarch modf for PowerPC32.
16723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
16725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
16727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
16728 multiarch modff for PowerPC32.
16730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
16731 and lrintf multiarch implementations.
16732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
16734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
16736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
16737 multiarch lrint for PowerPC32.
16738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
16739 file: multiarch lrintf for PowerPC32.
16741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
16742 and lroundf multiarch implementations.
16743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
16745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
16747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
16749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
16750 multiarch lround for PowerPC32.
16751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
16752 file: multiarch lroundf for PowerPC32.
16754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16755 copysign and copysignf multiarch implementations.
16756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
16758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
16760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
16761 file: multiarch copysign for PowerPC32.
16762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
16763 file: multiarch copysignf for PowerPC32.
16765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
16766 and truncf multiarch implementations.
16767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
16769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
16771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
16772 multiarch trunc for PowerPC32.
16773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
16775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
16777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
16778 multiarch truncf for PowerPC32.
16780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
16781 and roundf multiarch implementations.
16782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
16784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
16786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
16787 multiarch round for PowerPC32.
16788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
16790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
16792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
16793 multiarch roundf for PowerPC32.
16795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
16796 and floorf multiarch implementations.
16797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
16799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
16801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
16802 multiarch floor for PowerPC32.
16803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
16805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
16807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
16808 multiarch floorf for PowerPC32.
16810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
16811 and ceilf multiarch implementations.
16812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
16814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
16816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
16817 multiarch ceil for PowerPC32.
16818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
16820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
16822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
16823 multiarch ceilf for PowerPC32.
16825 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
16827 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
16828 FINITEF is defined.
16829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
16830 and finitef multiarch implementations.
16831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
16833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
16835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
16836 multiarch finite for PowerPC32.
16837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
16839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
16840 file: multiarch finitef for PowerPC32.
16842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
16843 and isinff multiarch implementations.
16844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
16846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
16848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
16849 multiarch isinf for PowerPC32.
16850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
16852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
16853 multiarch isinff for PowerPC32.
16855 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
16856 alias when __isnan is defined.
16857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
16858 and isnanf multiarch implementations.
16859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
16861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
16863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
16865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
16867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
16868 multiarch isnan for PowerPC32.
16869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
16871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
16873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
16874 multiarch isnanf for PowerPC32.
16876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
16877 and sqrtf multiarch implementations.
16878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
16880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
16882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
16883 multiarch sqrt for PowerPC32.
16884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
16886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
16888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
16889 multiarch sqrtf for PowerPC32.
16891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
16892 and llroundf multiarch implementations.
16893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
16895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
16897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
16899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
16900 file: multiarch llround for PowerPC32.
16901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
16902 file: multiarch llroundf for PowerPC32.
16904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
16905 multiarch PowerPC32 fpu implementations.
16906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
16908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
16910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
16911 multiarch llrint for PowerPC32.
16912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
16914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
16916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
16919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
16921 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
16923 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
16925 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
16927 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
16928 multiarch wordcopy for PPC32.
16929 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16931 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16932 (__libc_ifunc_impl_list): Likewise.
16933 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
16934 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
16935 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
16936 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
16937 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
16938 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
16940 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
16941 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
16943 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
16945 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
16947 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
16948 multiarch wcscpy for PPC32.
16949 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16951 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16952 (__libc_ifunc_impl_list): Likewise.
16953 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16954 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16955 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
16956 sysdeps/powerpc/power6/wcscpy.c.
16958 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16959 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16961 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16963 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16965 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16966 multiarch wcsrchr for PPC32.
16967 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16969 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16970 (__libc_ifunc_impl_list): Likewise.
16971 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16972 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16973 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16974 sysdeps/powerpc/power6/wcsrchr.c.
16976 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
16978 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
16980 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
16981 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
16982 multiarch wcschr for PPc32.
16983 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16985 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16986 (__libc_ifunc_impl_list): Likewise.
16987 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
16988 * sysdeps/powerpc/power6/wcschr.c: ... to here.
16989 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
16990 sysdeps/powerpc/power6/wcschr.c.
16992 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
16993 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
16995 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
16996 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
16997 file: multiarch strchr for PPC32.
16998 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
17000 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17001 (__libc_ifunc_impl_list): Likewise.
17003 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17005 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
17007 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
17009 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
17010 multiarch strchrnul for PPC32.
17011 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
17013 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17014 (__libc_ifunc_impl_list): Likewise.
17016 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
17018 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
17019 multiarch strncasecmp for PPC32.
17020 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
17022 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17023 multiarch strncasecmp_l for PPC32.
17024 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17025 strncasecmp multiarch objects.
17026 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17027 (__libc_ifunc_impl_list): Likewise.
17029 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
17031 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
17032 multiarch strncasecmp for PPC32.
17033 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17035 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
17036 multiarch strcasecmp_l for PPC32.
17037 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
17039 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17040 (__libc_ifunc_impl_list): Likewise.
17042 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
17044 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
17046 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
17047 multiarch strncmp for PPC32.
17048 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
17050 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17051 (__libc_ifunc_impl_list): Likewise.
17053 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17054 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
17056 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
17057 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
17058 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
17060 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17061 (__libc_ifunc_impl_list): Likewise.
17063 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17065 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17067 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17068 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17070 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17071 (__libc_ifunc_impl_list): Likewise.
17073 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17075 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17077 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17078 multiarch rawmemchr for PPC32.
17079 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17081 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17082 (__libc_ifunc_impl_list): Likewise.
17084 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17086 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17088 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17089 file: memrchr multiarch for PPC32.
17090 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17092 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17093 (__libc_ifunc_impl_list): Likewise.
17095 * string/memchr.c (__memchr): Using macro to redefine symbol name.
17096 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17098 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17099 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17100 multiarch memchr for PPC32.
17101 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17103 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17104 (__libc_ifunc_impl_list): Likewise.
17106 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17107 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17109 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17111 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17112 file: multiarch mempcpy for PPC32.
17113 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17115 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17116 (__libc_ifunc_impl_list): Likewise.
17118 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17119 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17120 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17121 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17122 multiarch bzero for PPC32.
17123 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17125 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17127 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17128 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17129 file: multiarch memset for PPC32.
17130 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
17131 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
17132 memset multiarch objects.
17133 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17134 (__libc_ifunc_impl_list): Likewise.
17136 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
17138 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
17139 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
17141 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
17142 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
17144 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17145 (__libc_ifunc_impl_list): Likewise.
17147 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
17148 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
17149 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
17151 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
17153 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
17155 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
17156 multiarch memcpy for PPC32.
17157 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
17159 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17160 (__libc_ifunc_impl_list): Likewise.
17162 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
17163 support multiarch for POWER/PPC32.
17164 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
17166 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
17168 Implies file to make multiarch folder appers before the fpu and
17169 default folder for power4 configuration.
17171 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17173 * scripts/bench.pl: Append volatile keyword to type.
17175 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17177 * sysdeps/sh/sotruss-lib.c: New file.
17178 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
17180 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17184 2013-12-05 Joseph Myers <joseph@codesourcery.com>
17187 * math/w_tgamma.c: Include <errno.h>.
17188 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
17189 * math/w_tgammaf.c: Include <errno.h>.
17190 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
17191 * math/w_tgammal.c: Include <errno.h>.
17192 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
17193 * math/auto-libm-test-in: Do not allow missing errno on tgamma
17194 underflow. Add more tgamma tests.
17195 * math/auto-libm-test-out: Regenerated.
17196 * sysdeps/i386/fpu/libm-test-ulps: Update.
17197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17199 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
17200 sin, sinh, tan, tanh, tgamma, y0 and y1.
17201 * math/auto-libm-test-out: Regenerated.
17202 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17203 (TEST_COND_x86): Likewise.
17204 (M_E2l): Remove macro.
17206 (M_2_SQRT_PIl): Likewise.
17207 (M_SQRT_PIl): Likewise.
17208 (M_1_DIV_El): Likewise.
17209 (log_test_data): Use AUTO_TESTS_f_f.
17210 (log10_test_data): Likewise.
17211 (log1p_test_data): Likewise.
17212 (log2_test_data): Likewise.
17213 (sin_test_data): Likewise.
17214 (sin_tonearest_test_data): Likewise.
17215 (sin_towardzero_test_data): Likewise.
17216 (sin_downward_test_data): Likewise.
17217 (sin_upward_test_data): Likewise.
17218 (sinh_test_data): Likewise.
17219 (sinh_tonearest_test_data): Likewise.
17220 (sinh_towardzero_test_data): Likewise.
17221 (sinh_downward_test_data): Likewise.
17222 (sinh_upward_test_data): Likewise.
17223 (tan_test_data): Likewise.
17224 (tan_tonearest_test_data): Likewise.
17225 (tan_towardzero_test_data): Likewise.
17226 (tan_downward_test_data): Likewise.
17227 (tan_upward_test_data): Likewise.
17228 (tanh_test_data): Likewise.
17229 (tgamma_test_data): Likewise.
17230 (y0_test_data): Likewise.
17231 (y1_test_data): Likewise.
17232 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
17233 (special_real_inputs): Add pi/4.
17234 * sysdeps/i386/fpu/libm-test-ulps: Update.
17235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17237 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17239 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
17240 "longjmp_target" static probes.
17241 (__longjmp): Rename to __longjmp_symbol.
17242 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17243 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
17244 on which longjmp to generate.
17245 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17246 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
17248 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17249 (__sigjmp_save): Rename to __sigjmp_save_symbol.
17250 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17251 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
17252 and __sigjmp_save_symbol based on which sigsetjmp to generated.
17253 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
17254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
17255 __longjmp_symbol based on which __longjmp to generate.
17256 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
17258 (setjmp): Rename to setjmp_symbol.
17259 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17260 (_setjmp): Rename to _setjmp_symbol.
17261 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17262 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
17263 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
17264 which setjmp to generate.
17265 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
17266 "longjmp_target" static probes.
17268 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17270 * benchtests/README: Add note about output arguments.
17271 * benchtests/bench-sincos.c: Remove file.
17272 * benchtests/sincos-inputs: New file.
17273 * scripts/bench.pl: Identify output arguments and define
17274 static variables for them.
17276 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
17279 * Makefile (INSTALL): Add install-plain.texi as the primary
17281 * manual/install-plain.texi: New file.
17282 * manual/install.texi: Include node directive only for
17283 non-plaintext output.
17285 2013-12-04 Joseph Myers <joseph@codesourcery.com>
17287 * stdlib/longlong.h: Update from GCC.
17291 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
17292 * math/w_j0f.c (y0f): Likewise.
17293 * math/w_j0l.c (__y0l): Likewise.
17294 * math/w_j1.c (y1): Likewise.
17295 * math/w_j1f.c (y1f): Likewise.
17296 * math/w_j1l.c (__y1l): Likewise
17297 * math/w_jn.c (yn): Likewise.
17298 * math/w_jnf.c (ynf): Likewise.
17299 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
17300 Bessel function pole errors in _POSIX_ mode. Use NAN as return
17301 value for Bessel function domain errors outside _SVID_ mode.
17302 Adjust sign of return value for yn (negative integer, 0).
17303 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
17304 by zero in return for negative x and set sign appropriately for
17306 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
17307 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17308 * math/libm-test.inc (y0_test_data): Add more tests and adjust
17309 expectations in error cases.
17310 (y1_test_data): Likewise.
17311 (yn_test_data): Likewise.
17312 * sysdeps/i386/fpu/libm-test-ulps: Update.
17313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17315 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17317 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
17318 "64" to "64-v1". Add "64-v2".
17319 (abi-64-options): Rename to ...
17320 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
17321 (abi-64-condition): Rename to ...
17322 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
17323 (abi-64-ld-soname): Rename to ...
17324 (abi-64-v1-ld-soname): ... this.
17325 (abi-64-v2-options): Define.
17326 (abi-64-v2-condition): Likewise.
17327 (abi-64-v2-ld-soname): Likewise.
17328 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
17329 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
17330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
17331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
17332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
17334 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17335 Alan Modra <amodra@gmail.com>
17337 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
17338 New versions for use with the ELFv2 ABI.
17339 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
17340 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
17342 (struct La_ppc64v2_retval): Likewise.
17343 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
17344 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
17345 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
17346 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
17347 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
17348 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17349 Do not save or restore CR.
17350 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
17351 (_dl_profile_resolve): Do no save or restore CR. Support extended
17352 return values for ELFv2 ABI. Fix location of FPR return registers.
17353 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
17354 updated values for _CALL_ELF == 2.
17355 (La_regs, La_retval, int_retval): Likewise.
17357 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17359 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
17360 (FRAME_MIN_SIZE_PARM): Likewise.
17361 (FRAME_BACKCHAIN): Likewise.
17362 (FRAME_CR_SAVE): Likewise.
17363 (FRAME_LR_SAVE): Likewise.
17364 (FRAME_TOC_SAVE): Likewise.
17365 (FRAME_PARM_SAVE): Likewise.
17366 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
17367 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
17368 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17369 (call_mcount_parm_offset): New macro.
17370 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
17371 (PROF): Use symbolic stack frame offsets.
17372 (TAIL_CALL_SYSCALL_ERROR): Likewise.
17373 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
17374 Redefine in terms of FRAME_MIN_SIZE.
17375 (_dl_runtime_resolve): Use symbolic stack frame offsets.
17376 (_dl_profile_resolve): Likewise. Update comment.
17377 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
17378 symbols stack frame offsets.
17379 (__sigsetjmp): Likewise.
17380 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
17381 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
17382 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
17383 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
17385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
17386 (FRAME_BACKCHAIN): Remove.
17387 (FRAME_CR_SAVE): Likewise.
17388 (FRAME_LR_SAVE): Likewise.
17389 (FRAME_COMPILER_DW): Likewise.
17390 (FRAME_LINKER_DW): Likewise.
17391 (FRAME_TOC_SAVE): Likewise.
17392 (FRAME_PARM_SAVE): Likewise.
17393 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
17394 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
17395 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
17397 (CHECK_SP): Use symbolic stack frame offsets.
17398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
17399 zone" instead of caller's parameter save area for temp storage.
17400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17401 Likewise. Also, use symbolic stack frame offsets.
17402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
17403 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
17404 our own stack frame instead of the caller's.
17405 (__socket): Use symbolic stack frame offsets.
17407 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17408 Alan Modra <amodra@gmail.com>
17410 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
17412 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
17413 (PPC64_LOCAL_ENTRY_OFFSET): Define.
17414 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
17416 (elf_machine_fixup_plt): Call it.
17417 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
17419 (elf_machine_rela): Update call to elf_machine_plt_conflict.
17420 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17421 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
17422 r2 before calling target.
17424 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17425 Alan Modra <amodra@gmail.com>
17427 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
17428 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
17429 versions of macros to support ELFv2 ABI.
17430 (LOCALENTRY): New macro.
17431 (ENTRY, EALIGN): Use it.
17432 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
17433 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
17434 fall through into ENTRY entry point.
17435 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
17436 Only define if _CALL_ELF != 2.
17438 (elf_machine_matches_host): Verify ABI version matches.
17439 (RTLD_START): Use LOCALENTRY.
17440 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
17441 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
17442 (PLT_ENTRY_WORDS): New macro.
17443 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
17444 (elf_machine_runtime_setup): Support ELFv2 ABI.
17445 (elf_machine_fixup_plt): Likewise.
17446 (elf_machine_plt_conflict): Likewise.
17447 (resolve_ifunc): Likewise.
17448 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17449 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
17452 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
17453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17454 (makecontext): Support ELFv2 ABI.
17455 * elf/elf.h (EF_PPC64_ABI): Define.
17457 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17459 * sysdeps/powerpc/powerpc64/sysdep.h
17460 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
17461 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
17462 (ENTRY) [ASSEMBLER]: ... but instead here ...
17463 (EALIGN) [ASSEMBLER]: ... and here.
17464 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
17465 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
17466 (ENTRY_2) [!ASSEMBLER]: Use it.
17467 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
17468 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
17469 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17470 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
17471 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
17472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
17473 Use PPC64_LOAD_FUNCPTR.
17475 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
17477 2013-12-04 Alan Modra <amodra@gmail.com>
17479 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
17480 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
17481 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
17482 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
17484 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
17485 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
17486 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
17487 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
17488 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
17489 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
17491 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17494 (__makecontext): Fix incorrect CFI when backtracing out of
17495 context created via makecontext.
17496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
17497 (__setcontext): Fix incorrect CFI during switch to new context.
17498 (__novec_setcontext): Likewise.
17500 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
17503 * time/strptime_l.c (__strptime_internal): Allow modifiers
17505 * time/tst-strptime.c (day_tests): Add testcase.
17507 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17509 * scripts/bench.pl: Skip over blank lines.
17511 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
17514 * manual/time.texi (Calendar Time): Clarify what timezone functions
17517 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17521 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
17523 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
17525 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17526 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17527 * debug/memset_chk.c (__memset_chk): Likewise.
17528 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
17529 * debug/strncpy_chk.c: Likewise.
17531 2013-12-03 Joseph Myers <joseph@codesourcery.com>
17535 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
17536 (__ieee754_exp): For possibly underflowing results, check size of
17537 result and force underflow exception if required.
17538 * math/auto-libm-test-in: Add more tests of exp.
17539 * math/auto-libm-test-out: Regenerated.
17540 * sysdeps/i386/fpu/libm-test-ulps: Update.
17541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17544 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
17545 * math/w_exp2f.c (__exp2f): Likewise.
17546 * math/w_exp2l.c (__exp2l): Likewise.
17547 * math/auto-libm-test-in: Do not allow missing errno on exp2
17549 * math/auto-libm-test-out: Regenerated.
17551 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
17554 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
17555 handle filename validation.
17556 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
17559 2013-12-03 Joseph Myers <joseph@codesourcery.com>
17562 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
17563 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
17564 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
17566 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
17567 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
17568 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17569 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
17570 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17571 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
17572 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17573 * math/auto-libm-test-in: Don't allow missing errno from erfc.
17574 Add more erfc tests.
17575 * math/auto-libm-test-out: Regenerated.
17576 * sysdeps/i386/fpu/libm-test-ulps: Update.
17577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17579 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
17580 exp2, expm1, j0 and j1.
17581 * math/auto-libm-test-out: Regenerated.
17582 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
17583 (erfc_test_data): Likewise.
17584 (exp_test_data): Likewise.
17585 (exp_tonearest_test_data): Likewise.
17586 (exp_towardzero_test_data): Likewise.
17587 (exp_downward_test_data): Likewise.
17588 (exp_upward_test_data): Likewise.
17589 (exp10_test_data): Likewise.
17590 (exp2_test_data): Likewise.
17591 (expm1_test_data): Likewise.
17592 (j0_test_data): Likewise.
17593 (j1_test_data): Likewise.
17594 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
17595 (input_flag_type): Add flag_xfail_rounding.
17596 (input_flags): Add xfail-rounding.
17597 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
17598 (output_for_one_input_case): Handle flag_xfail_rounding.
17599 * sysdeps/i386/fpu/libm-test-ulps: Update.
17600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17602 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
17605 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
17608 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17611 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
17612 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
17613 (STAP_PROBE0): New macro.
17614 (STAP_PROBE1): Likewise.
17615 (STAP_PROBE2): Likewise.
17616 (STAP_PROBE3): Likewise.
17617 (STAP_PROBE4): Likewise.
17619 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
17621 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
17623 2013-12-02 Steve Ellcey <sellcey@mips.com>
17625 * benchtests/Makefile (bench): Add sqrt.
17626 (LDLIBS-bench-sqrt): New.
17627 * benchtests/sqrt-input: New.
17629 2013-12-02 Pavel Simerda <psimerda@redhat.com>
17631 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
17632 (GAIH_EAI): Likewise.
17633 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
17634 (gaih_inet): Likewise.
17635 (getaddrinfo): Don't use GAIH_EAI.
17637 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
17638 (struct gaih): Remove definition.
17640 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17642 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
17643 Use HERRNOP directly.
17645 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17649 2013-11-30 Joseph Myers <joseph@codesourcery.com>
17651 * math/gen-auto-libm-tests.c (test_functions): Add more
17652 single-argument functions.
17653 (special_fill_pi_2): New function.
17654 (special_fill_minus_pi_2): Likewise.
17655 (special_fill_pi_6): Likewise.
17656 (special_fill_minus_pi_6): Likewise.
17657 (special_fill_pi_3): Likewise.
17658 (special_fill_2pi_3): Likewise.
17659 (special_fill_e): Likewise.
17660 (special_fill_1_e): Likewise.
17661 (special_fill_e_minus_1): Likewise.
17662 (special_real_inputs): Add more special inputs.
17663 (output_for_one_input_case): Do not require ERANGE on underflow to
17664 zero if round-to-nearest result does not underflow to zero, unless
17665 exact results required.
17666 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
17667 atan, atanh, cbrt, cos and cosh.
17668 * math/auto-libm-test-out: Regenerated.
17669 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
17670 (acos_tonearest_test_data): Likewise.
17671 (acos_towardzero_test_data): Likewise.
17672 (acos_downward_test_data): Likewise.
17673 (acos_upward_test_data): Likewise.
17674 (acosh_test_data): Likewise.
17675 (asin_test_data): Likewise.
17676 (asin_tonearest_test_data): Likewise.
17677 (asin_towardzero_test_data): Likewise.
17678 (asin_upward_test_data): Likewise.
17679 (asinh_test_data): Likewise.
17680 (atan_test_data): Likewise.
17681 (atanh_test_data): Likewise.
17682 (cbrt_test_data): Likewise.
17683 (cos_test_data): Likewise.
17684 (cos_tonearest_test_data): Likewise.
17685 (cos_towardzero_test_data): Likewise.
17686 (cos_downward_test_data): Likewise.
17687 (cos_upward_test_data): Likewise.
17688 (cosh_test_data): Likewise.
17689 (cosh_tonearest_test_data): Likewise.
17690 (cosh_towardzero_test_data): Likewise.
17691 (cosh_downward_test_data): Likewise.
17692 (cosh_upward_test_data): Likewise.
17693 * sysdeps/i386/fpu/libm-test-ulps: Update.
17694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17696 2013-11-29 Joseph Myers <joseph@codesourcery.com>
17699 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
17700 * math/w_exp10f.c (__exp10f): Likewise.
17701 * math/w_exp10l.c (__exp10l): Likewise.
17702 * math/libm-test.inc (exp10_test_data): Add more tests and expect
17703 errno settings in existing tests.
17706 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
17707 precision control set to double precision.
17708 * sysdeps/i386/fpu/w_sqrt.c: New file.
17709 * math/auto-libm-test-in: Add more tests.
17710 * math/auto-libm-test-out: Update.
17712 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
17713 (sqrt_test_tonearest): New function.
17714 (sqrt_towardzero_test_data): New variable.
17715 (sqrt_test_towardzero): New function.
17716 (sqrt_downward_test_data): New variable.
17717 (sqrt_test_downward): New function.
17718 (sqrt_upward_test_data): New variable.
17719 (sqrt_test_upward): New function.
17720 (main): Call the new functions.
17722 * math/gen-auto-libm-tests.c: New file.
17723 * math/auto-libm-test-in: Likewise.
17724 * math/auto-libm-test-out: New generated file.
17725 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
17727 (%beautify): Add generated representations of zero.
17728 (top level): Set $auto_input and call parse_auto_input.
17729 (beautify): Remove trailing "f" from hex float constants.
17730 (parse_args): Handle XFAIL_TEST.
17731 (convert_condition): New function.
17732 (or_value): Likewise.
17733 (or_cond_value): Likewise.
17734 (generate_testfile): Handle AUTO_TESTS_* lines.
17735 (parse_auto_input): New function.
17736 * math/libm-test.inc (XFAIL_TEST): New macro.
17737 (ERRNO_UNCHANGED): Update value.
17738 (ERRNO_EDOM): Likewise.
17739 (ERRNO_ERANGE): Likewise.
17740 (IGNORE_RESULT): Likewise.
17741 (TEST_COND_flt_32): New macro.
17742 (TEST_COND_dbl_64): Likewise.
17743 (TEST_COND_ldbl_96_intel): Likewise.
17744 (TEST_COND_ldbl_96_m68k): Likewise.
17745 (TEST_COND_ldbl_128): Likewise.
17746 (TEST_COND_ldbl_128ibm): Likewise.
17747 (TEST_COND_long32): Likewise.
17748 (TEST_COND_long64): Likewise.
17749 (TEST_COND_before_rounding): Likewise.
17750 (TEST_COND_after_rounding): Likewise.
17751 (enable_test): Handle XFAIL_TEST flag.
17752 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
17753 with finite results.
17754 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
17755 auto-libm-test-out.
17757 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17758 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17761 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
17762 __tls_get_addr_internal instead of __tls_get_offset in order to
17763 avoid GOT pointer dependency. Make rtld export
17764 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
17765 __tls_get_addr since we are a __tls_get_offset platform.
17766 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
17767 GOT pointer being set up before.
17768 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
17770 2013-11-28 Joseph Myers <joseph@codesourcery.com>
17772 * manual/math.texi (Errors in Math Functions): Document accuracy
17776 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
17777 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
17778 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17779 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17780 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17781 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17782 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17783 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17784 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17785 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17786 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17787 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17788 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17789 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17790 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17791 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17793 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
17794 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
17795 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
17796 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
17797 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
17799 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
17801 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
17803 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
17804 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17805 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
17806 atomic-feupdateenv and flt-rounds.
17807 * sysdeps/powerpc/nofpu/Versions (libc): Add
17808 __atomic_feholdexcept, __atomic_feclearexcept,
17809 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
17810 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
17811 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
17812 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
17813 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
17815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17818 * manual/arith.texi (FP Exceptions): Document that exceptions may
17819 not be raised when matherr is used.
17820 (Math Error Reporting): Document overflow in directed rounding
17821 modes. Document that errno may not be set when finite values are
17822 returned on overflow. Document intent to set errno on underflow
17823 only for underflow to zero.
17826 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
17827 round-to-nearest then adjust result for other rounding modes.
17828 * include/fenv.h (fegetround): Use libm_hidden_proto.
17829 * math/fegetround.c (fegetround): Use libm_hidden_def.
17830 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17831 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17832 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17833 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17835 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
17836 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17837 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17838 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
17840 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17843 * nss/Versions (libnss_files): Add
17844 _nss_files_gethostbyname3_r.
17845 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
17847 (HOST_DB_LOOKUP): Remove macro.
17848 (_nss_files_gethostbyname_r): Implement function without the
17849 HOST_DB_LOOKUP macro.
17850 (_nss_files_gethostbyname2_r): Likewise.
17852 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
17854 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
17856 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
17858 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
17859 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
17862 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17864 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
17865 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
17866 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17867 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17868 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
17869 __fe_nomask_env_priv and attribute_hidden.
17870 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
17871 (libc_feupdateenv_test_ppc): Likewise.
17872 (libc_feresetround_ppc): Likewise.
17873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17874 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
17875 compat_symbol macro.
17876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17877 (__fe_nomask_env): Likewise.
17878 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
17880 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
17882 * string/Makefile: Remove ifunc tests.
17883 * string/test-string.h: Define TEST_IFUNC.
17884 * string/test-bcopy-ifunc.c: Remove.
17885 * string/test-bzero-ifunc.c: Likewise.
17886 * string/test-memccpy-ifunc.c: Likewise.
17887 * string/test-memchr-ifunc.c: Likewise.
17888 * string/test-memcmp-ifunc.c: Likewise.
17889 * string/test-memcpy-ifunc.c: Likewise.
17890 * string/test-memmem-ifunc.c: Likewise.
17891 * string/test-memmove-ifunc.c: Likewise.
17892 * string/test-mempcpy-ifunc.c: Likewise.
17893 * string/test-memrchr-ifunc.c: Likewise.
17894 * string/test-memset-ifunc.c: Likewise.
17895 * string/test-rawmemchr-ifunc.c: Likewise.
17896 * string/test-stpcpy-ifunc.c: Likewise.
17897 * string/test-stpncpy-ifunc.c: Likewise.
17898 * string/test-strcasecmp-ifunc.c: Likewise.
17899 * string/test-strcasestr-ifunc.c: Likewise.
17900 * string/test-strcat-ifunc.c: Likewise.
17901 * string/test-strchr-ifunc.c: Likewise.
17902 * string/test-strchrnul-ifunc.c: Likewise.
17903 * string/test-strcmp-ifunc.c: Likewise.
17904 * string/test-strcpy-ifunc.c: Likewise.
17905 * string/test-strcspn-ifunc.c: Likewise.
17906 * string/test-strlen-ifunc.c: Likewise.
17907 * string/test-strncasecmp-ifunc.c: Likewise.
17908 * string/test-strncat-ifunc.c: Likewise.
17909 * string/test-strncmp-ifunc.c: Likewise.
17910 * string/test-strncpy-ifunc.c: Likewise.
17911 * string/test-strnlen-ifunc.c: Likewise.
17912 * string/test-strpbrk-ifunc.c: Likewise.
17913 * string/test-strrchr-ifunc.c: Likewise.
17914 * string/test-strspn-ifunc.c: Likewise.
17915 * string/test-strstr-ifunc.c: Likewise.
17917 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
17919 * benchtests/Makefile: Remove ifunc tests.
17920 * benchtests/bench-string.h: Define TEST_IFUNC.
17921 * benchtests/bench-bcopy-ifunc.c: Remove.
17922 * benchtests/bench-bzero-ifunc.c: Likewise.
17923 * benchtests/bench-memccpy-ifunc.c: Likewise.
17924 * benchtests/bench-memchr-ifunc.c: Likewise.
17925 * benchtests/bench-memcmp-ifunc.c: Likewise.
17926 * benchtests/bench-memcpy-ifunc.c: Likewise.
17927 * benchtests/bench-memmem-ifunc.c: Likewise.
17928 * benchtests/bench-memmove-ifunc.c: Likewise.
17929 * benchtests/bench-mempcpy-ifunc.c: Likewise.
17930 * benchtests/bench-memrchr-ifunc.c: Likewise.
17931 * benchtests/bench-memset-ifunc.c: Likewise.
17932 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
17933 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
17934 * benchtests/bench-stpcpy-ifunc.c: Likewise.
17935 * benchtests/bench-stpncpy-ifunc.c: Likewise.
17936 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
17937 * benchtests/bench-strcasestr-ifunc.c: Likewise.
17938 * benchtests/bench-strcat-ifunc.c: Likewise.
17939 * benchtests/bench-strchr-ifunc.c: Likewise.
17940 * benchtests/bench-strchrnul-ifunc.c: Likewise.
17941 * benchtests/bench-strcmp-ifunc.c: Likewise.
17942 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
17943 * benchtests/bench-strcpy-ifunc.c: Likewise.
17944 * benchtests/bench-strcspn-ifunc.c: Likewise.
17945 * benchtests/bench-strlen-ifunc.c: Likewise.
17946 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
17947 * benchtests/bench-strncat-ifunc.c: Likewise.
17948 * benchtests/bench-strncmp-ifunc.c: Likewise.
17949 * benchtests/bench-strncpy-ifunc.c: Likewise.
17950 * benchtests/bench-strnlen-ifunc.c: Likewise.
17951 * benchtests/bench-strpbrk-ifunc.c: Likewise.
17952 * benchtests/bench-strrchr-ifunc.c: Likewise.
17953 * benchtests/bench-strsep-ifunc.c: Likewise.
17954 * benchtests/bench-strspn-ifunc.c: Likewise.
17955 * benchtests/bench-strstr-ifunc.c: Likewise.
17957 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
17959 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17961 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
17963 * resolv/netdb.h: Use __glibc_reserved instead __unused.
17964 * rt/aio.h: Likewise.
17965 * sysdeps/gnu/bits/utmp.h: Likewise.
17966 * sysdeps/gnu/bits/utmpx.h: Likewise.
17967 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17968 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17969 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17970 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17971 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17972 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17973 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17974 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17975 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17976 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
17977 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17978 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
17979 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
17980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
17981 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17982 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
17983 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
17984 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
17985 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
17986 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17987 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
17988 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
17989 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
17990 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17991 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
17992 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17993 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
17994 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
17995 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
17996 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
17997 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
17998 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
17999 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
18000 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18001 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
18002 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
18003 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
18004 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
18005 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
18006 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
18007 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
18008 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18010 2013-11-25 Carlos O'Donell <carlos@redhat.com>
18013 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
18014 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
18016 2013-11-25 Joseph Myers <joseph@codesourcery.com>
18018 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
18019 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18022 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18024 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18025 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18026 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18027 (__fesetround): Remove define.
18028 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
18029 rounding and exceptions handling.
18030 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
18031 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
18032 (__fe_nomask_env): Likewise.
18033 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
18034 __fegetround instead of fegetround.
18035 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18036 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18038 2013-11-21 Roland McGrath <roland@hack.frob.com>
18040 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
18043 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
18045 2013-11-21 Meador Inge <meadori@codesourcery.com>
18048 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
18049 (encrypt_r): Likewise.
18050 * malloc/obstack.h (obstack_free): Likewise.
18051 * posix/unistd.h (encrypt): Likewise.
18053 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
18055 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
18056 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
18057 DL_CALL_DT_FINI() that call the functions directly.
18058 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
18059 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
18060 * elf/dl-fini.c: Likewise.
18062 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
18064 * malloc/hooks.c (memalign_check): Add alignment rounding.
18065 * malloc/malloc.c (_mid_memalign): New function.
18066 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18067 Implement by calling _mid_memalign.
18068 * manual/probes.texi (Memory Allocation Probes): Remove
18069 memory_valloc_retry and memory_pvalloc_retry.
18071 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18073 * locale/programs/locarchive.c (open_archive): Add const
18074 qualifier to ARCHIVEFNAME and copy default fname to
18078 * libio/tst-widetext.input: Rename Oriya to Odia.
18079 * locale/iso-639.def: Likewise.
18081 * manual/probes.texi (Mathematical Function Probes): Add
18082 documentation for sin, cos, asin and acos probes.
18083 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18084 (__sin32): Add slowasin probe.
18085 (__cos32): Add slowacos probe.
18086 (__mpsin): Add slowsin probe.
18087 (__mpcos): Add slowcos probe.
18089 2013-11-19 Joseph Myers <joseph@codesourcery.com>
18092 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18093 thread-local __sim_exceptions_thread and global
18094 __sim_exceptions_global.
18095 (__sim_disabled_exceptions): Change to thread-local
18096 __sim_disabled_exceptions_thread and global
18097 __sim_disabled_exceptions_global.
18098 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18099 and global __sim_round_mode_global.
18100 (__simulate_exceptions): Use thread-local floating-point state and
18101 set global state from it as needed.
18102 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18103 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18104 __sim_round_mode_thread.
18105 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18106 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18107 and global __sim_exceptions_global.
18108 (__sim_disabled_exceptions): Change to thread-local
18109 __sim_disabled_exceptions_thread and global
18110 __sim_disabled_exceptions_global.
18111 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18112 and global __sim_round_mode_global.
18113 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18114 (SIM_SET_GLOBAL): Likewise.
18115 * sysdeps/powerpc/soft-fp/sfp-machine.h
18116 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18117 __sim_round_mode_thread.
18118 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18119 __sim_disabled_exceptions_thread.
18120 (__sim_exceptions): Change to __sim_exceptions_thread.
18121 (__sim_disabled_exceptions): Change to
18122 __sim_disabled_exceptions_thread.
18123 (__sim_round_mode): Change to __sim_round_mode_thread.
18124 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18125 thread-local floating-point state and set global state from it as
18127 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18128 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18129 (__sim_disabled_exceptions): Remove extern declaration.
18130 (feenableexcept): Use thread-local floating-point state and set
18131 global state from it as needed.
18132 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
18133 extern declaration.
18134 (__sim_disabled_exceptions): Likewise.
18135 (__sim_round_mode): Likewise.
18136 (__fegetenv): Use thread-local floating-point state.
18137 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
18138 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18139 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
18140 floating-point state and set global state from it as needed.
18141 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
18142 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18143 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
18145 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18146 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
18148 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
18149 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
18150 Use __sim_round_mode_thread.
18151 * math/test-fenv-tls.c: New file.
18152 * math/Makefile (tests): Add test-fenv-tls.
18153 ($(objpfx)test-fenv-tls): Depend on
18154 $(common-objpfx)nptl/libpthread.so.
18156 2013-11-19 Andreas Schwab <schwab@suse.de>
18158 * locale/programs/locale.c (show_info): Decode wordarray elements.
18159 * locale/categories.def (LC_MONETARY): Add element for
18160 _NL_MONETARY_CRNCYSTR.
18161 * locale/C-monetary.c (conversion_rate): New variable.
18162 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
18165 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
18167 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
18168 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
18170 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18172 * elf/Makefile (tst-auxv): New test.
18173 * elf/tst-auxv.c: New
18174 * elf/rtld.c (dl_main): Adjust AT_EXECFN
18176 2013-11-18 Joseph Myers <joseph@codesourcery.com>
18178 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
18179 (hidden_proto): Caller changed.
18180 (hidden_tls_proto): New macro.
18181 (libc_hidden_tls_proto): Likewise.
18182 (rtld_hidden_tls_proto): Likewise.
18183 (libm_hidden_tls_proto): Likewise.
18184 (libresolv_hidden_tls_proto): Likewise.
18185 (librt_hidden_tls_proto): Likewise.
18186 (libdl_hidden_tls_proto): Likewise.
18187 (libnss_files_hidden_tls_proto): Likewise.
18188 (libnsl_hidden_tls_proto): Likewise.
18189 (libnss_nisplus_hidden_tls_proto): Likewise.
18190 (libutil_hidden_tls_proto): Likewise.
18192 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
18195 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
18196 (decompose_rpath): Defer expansion to fillin_rpath.
18197 (_dl_init_paths): Pass linkmap to fillin_rpath.
18199 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18201 * benchtests/Makefile: Add strsep.
18202 * benchtests/bench-strsep.c: New file: strsep benchtest.
18203 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
18205 2013-11-18 Andreas Schwab <schwab@suse.de>
18207 * locale/programs/locale.c (show_info) [case byte]: Check for
18208 '\377' instead of '\177'.
18209 * locale/C-monetary.c (not_available): Always use "\377".
18210 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
18211 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
18212 detect unavailable sign_posn locale elements.
18213 * locale/localeconv.c (__localeconv): For grouping and
18214 mon_grouping handle "\177" and "\377" like no grouping.
18215 (INT_ELEM): New macro. Use it to set all numeric members.
18216 * locale/programs/ld-monetary.c (monetary_read)
18217 <tok_mon_grouping>: Normalize single -1 to the empty string.
18218 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
18221 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
18224 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
18225 when we match (nil).
18226 * stdio-common/tst-sscanf.c (struct test): Add testcase.
18228 2013-11-16 Joseph Myers <joseph@codesourcery.com>
18230 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
18231 (NO_TEST_INLINE): Update value.
18232 (ERRNO_UNCHANGED): Likewise.
18233 (ERRNO_EDOM): Likewise.
18234 (ERRNO_ERANGE): Likewise.
18235 (IGNORE_RESULT): Likewise.
18236 (check_float_internal): Check signs of NaN results if
18237 TEST_NAN_SIGN used.
18238 (check_complex): Pass TEST_NAN_SIGN flag through to second
18239 check_float_internal call.
18240 (copysign_test_data): Add tests with quiet NaNs as second
18241 argument. Use TEST_NAN_SIGN.
18242 (fabs_test_data): Add test of negative quiet NaN argument. Use
18244 (signbit_test_data): Add tests of quiet NaN argument.
18245 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
18247 * math/gen-libm-test.pl (show_exceptions): Take extra argument
18249 (parse_args): Handle function results specified as IGNORE.
18250 * math/libm-test.inc (IGNORE_RESULT): New macro.
18251 (check_float_internal): Do not check numerical result if flag
18253 (check_complex): Pass through IGNORE_RESULT to second
18254 check_float_internal call.
18255 (check_int): Do not check numerical result if flag IGNORE_RESULT
18257 (check_long): Likewise.
18258 (check_bool): Likewise.
18259 (check_longlong): Likewise.
18260 (lrint_test_data): Add tests of infinite and NaN arguments.
18261 (lrint_tonearest_test_data): Likewise.
18262 (lrint_towardzero_test_data): Likewise.
18263 (lrint_downward_test_data): Likewise.
18264 (lrint_upward_test_data): Likewise.
18265 (llrint_test_data): Likewise.
18266 (llrint_tonearest_test_data): Likewise.
18267 (llrint_towardzero_test_data): Likewise.
18268 (llrint_downward_test_data): Likewise.
18269 (llrint_upward_test_data): Likewise.
18270 (lround_test_data): Likewise.
18271 (llround_test_data): Likewise.
18273 * math/libm-test.inc (NO_TEST_INLINE): New macro.
18274 (ERRNO_UNCHANGED): Update value.
18275 (ERRNO_EDOM): Likewise.
18276 (ERRNO_ERANGE): Likewise.
18277 (NO_TEST_INLINE_FLOAT): New macro.
18278 (NO_TEST_INLINE_DOUBLE): Likewise.
18279 (enable_test): New function.
18280 (RUN_TEST_f_f): Check enable_test before running test.
18281 (RUN_TEST_2_f): Likewise.
18282 (RUN_TEST_fff_f): Likewise.
18283 (RUN_TEST_c_f): Likewise.
18284 (RUN_TEST_f_f1): Likewise.
18285 (RUN_TEST_fF_f1): Likewise.
18286 (RUN_TEST_fI_f1): Likewise.
18287 (RUN_TEST_ffI_f1): Likewise.
18288 (RUN_TEST_c_c): Likewise.
18289 (RUN_TEST_cc_c): Likewise.
18290 (RUN_TEST_f_i): Likewise.
18291 (RUN_TEST_f_i_tg): Likewise.
18292 (RUN_TEST_ff_i_tg): Likewise.
18293 (RUN_TEST_f_b): Likewise.
18294 (RUN_TEST_f_b_tg): Likewise.
18295 (RUN_TEST_f_l): Likewise.
18296 (RUN_TEST_f_L): Likewise.
18297 (RUN_TEST_fFF_11): Likewise.
18298 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
18300 (cosh_test_data): Likewise.
18301 (exp_test_data): Likewise.
18302 (expm1_test_data): Likewise.
18303 (hypot_test_data): Likewise.
18304 (pow_test_data): Likewise.
18305 (sinh_test_data): Likewise.
18306 (tanh_test_data): Likewise.
18307 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
18310 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
18311 tests with quiet NaN input and output.
18312 (acosh_test_data): Likewise.
18313 (asin_test_data): Likewise.
18314 (asinh_test_data): Likewise.
18315 (atan_test_data): Likewise.
18316 (atanh_test_data): Likewise.
18317 (atan2_test_data): Likewise.
18318 (cbrt_test_data): Likewise.
18319 (cos_test_data): Likewise.
18320 (cosh_test_data): Likewise.
18321 (erf_test_data): Likewise.
18322 (erfc_test_data): Likewise.
18323 (exp_test_data): Likewise.
18324 (exp10_test_data): Likewise.
18325 (exp2_test_data): Likewise.
18326 (expm1_test_data): Likewise.
18327 (hypot_test_data): Likewise.
18328 (j0_test_data): Likewise.
18329 (j1_test_data): Likewise.
18330 (jn_test_data): Likewise.
18331 (lgamma_test_data): Likewise.
18332 (log_test_data): Likewise.
18333 (log10_test_data): Likewise.
18334 (log1p_test_data): Likewise.
18335 (log2_test_data): Likewise.
18336 (pow_test_data): Likewise.
18337 (scalb_test_data): Likewise.
18338 (sin_test_data): Likewise.
18339 (sincos_test_data): Likewise.
18340 (sinh_test_data): Likewise.
18341 (tan_test_data): Likewise.
18342 (tanh_test_data): Likewise.
18343 (tgamma_test_data): Likewise.
18344 (y0_test_data): Likewise.
18345 (y1_test_data): Likewise.
18346 (yn_test_data): Likewise.
18349 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
18350 argument being NaN and avoid computations with second argument in
18352 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18353 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18354 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18356 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
18358 * locale/iso-639.def: Add Chitwani Tharu (the).
18360 2013-11-14 Andreas Schwab <schwab@suse.de>
18362 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
18363 word instead of empty string.
18365 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18368 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
18369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18370 (__fe_nomask_env): Likewise.
18372 2013-11-13 Steve Ellcey <sellcey@mips.com>
18374 * benchtests/bench-timing.h: Include time.h.
18376 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
18379 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
18381 * sysdeps/unix/sysv/linux/configure: Regenerated.
18383 2013-11-13 Joseph Myers <joseph@codesourcery.com>
18386 * stdlib/strtod_l.c (round_and_return): Do not consider
18387 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
18388 exponent one less than half the least subnormal exponent.
18389 * stdlib/test-strtod-round-data: Add more tests.
18390 * stdlib/tst-strtod-round.c (tests): Regenerated.
18392 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18395 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
18396 (__fe_mask_env): Likewise.
18397 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
18398 libm_hidden_proto and add function prototype.
18399 (__fe_mask_env): Add function prototype.
18400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18401 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
18402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18403 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
18404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18405 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
18407 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18409 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
18410 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
18412 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18414 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
18415 of htab_find_slot().
18417 2013-11-11 David S. Miller <davem@davemloft.net>
18420 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
18421 symbol in the non-vis3 case in static builds.
18422 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
18423 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
18424 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
18425 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
18427 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18430 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
18433 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18435 * benchtests/Makefile: Add bench-strtod.
18436 * benchtests/bench-strtod.c: New file: strtod benchtest
18438 2013-11-11 Andreas Schwab <schwab@suse.de>
18441 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
18442 terminating NUL in key length.
18444 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18446 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18447 Add artificial ODP entry for vDSO symbol for PPC64.
18448 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
18449 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18451 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
18454 * nss/getent.c (services_keys): Recognize services starting with digit.
18456 2013-11-06 David S. Miller <davem@davemloft.net>
18459 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
18460 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
18462 2013-11-06 Will Newton <will.newton@linaro.org>
18464 * manual/memory.texi (Malloc Examples): Remove register
18465 keyword from examples.
18467 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
18469 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
18471 2013-11-04 Joseph Myers <joseph@codesourcery.com>
18474 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
18475 depending on [__GCC_IEC_559 > 0].
18476 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
18477 depending on [__GCC_IEC_559_COMPLEX > 0].
18479 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
18481 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
18484 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
18486 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
18488 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
18491 * malloc/malloc (malloc_info): Do not handle first bin as
18494 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
18496 * locale/iso-639.def: Add Central Nahuatl (nhn).
18498 2013-11-01 Bruno Haible <bruno@clisp.org>
18501 * manual/math.texi (BSD Random): Specify range upper bound as
18504 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
18506 * locale/iso-639.def: Add Meadow Mari (mhr).
18508 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
18510 [BZ #14752], [BZ #15763]
18511 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
18513 * rt/tst_shm.c: Add test for escaping directory.
18515 2013-10-31 Andreas Schwab <schwab@suse.de>
18518 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
18519 followed by 'x' as part of digit sequence.
18520 * stdio-common/tst-sscanf.c (double_tests2): New tests.
18522 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
18525 * configure.ac: allow GNU Make 4.0 and greater.
18526 * configure: Regenerated.
18528 2013-10-30 Will Newton <will.newton@linaro.org>
18531 * malloc/hooks.c (memalign_check): Limit alignment to the
18532 maximum representable power of two.
18533 * malloc/malloc.c (__libc_memalign): Likewise.
18534 * malloc/tst-memalign.c (do_test): Add test for very
18535 large alignment values.
18536 * malloc/tst-posix_memalign.c (do_test): Likewise.
18538 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
18541 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
18542 (munmap_chunk): Likewise.
18543 (mremap_chunk): Likewise.
18545 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
18548 * stdlib/div.c (div): Remove obsolete code.
18549 * stdlib/ldiv.c (ldiv): Likewise.
18550 * stdlib/lldiv.c (lldiv): Likewise.
18552 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18555 * nss/nss_files/files-XXX.c (get_contents_ret): New
18557 (get_contents): New function.
18558 (internal_getent): Use it. Expand size of LINEBUFLEN.
18560 2013-10-30 Mike Frysinger <vapier@gentoo.org>
18562 * configure.in: Moved to ...
18563 * configure.ac: ... here. Change reference to configure.in
18565 * sysdeps/arm/preconfigure.ac: ... here.
18566 configure.in to configure.ac.
18567 * sysdeps/gnu/configure.in: Moved to ...
18568 * sysdeps/gnu/configure.ac: ... here.
18569 * sysdeps/i386/configure.in: Moved to ...
18570 * sysdeps/i386/configure.ac: ... here.
18571 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
18572 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
18573 * sysdeps/mach/configure.in: Moved to ...
18574 * sysdeps/mach/configure.ac: ... here.
18575 * sysdeps/mach/hurd/configure.in: Moved to ...
18576 * sysdeps/mach/hurd/configure.ac: ... here.
18577 * sysdeps/powerpc/configure.in: Moved to ...
18578 * sysdeps/powerpc/configure.ac: ... here.
18579 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
18580 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
18581 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
18582 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
18583 * sysdeps/s390/s390-32/configure.in: Moved to ...
18584 * sysdeps/s390/s390-32/configure.ac: ... here.
18585 * sysdeps/s390/s390-64/configure.in: Moved to ...
18586 * sysdeps/s390/s390-64/configure.ac: ... here.
18587 * sysdeps/sh/configure.in: Moved to ...
18588 * sysdeps/sh/configure.ac: ... here.
18589 * sysdeps/sparc/configure.in: Moved to ...
18590 * sysdeps/sparc/configure.ac: ... here.
18591 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
18592 * sysdeps/unix/sysv/linux/configure.ac: ... here.
18593 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
18594 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
18595 * sysdeps/x86_64/configure.in: Moved to ...
18596 * sysdeps/x86_64/configure.ac: ... here.
18597 * sysdeps/x86_64/preconfigure.in: Moved to ...
18598 * sysdeps/x86_64/preconfigure.ac: ... here.
18599 * aclocal.m4: Change reference to configure.in to configure.ac.
18600 * config.h.in: Likewise.
18601 * manual/install.texi: Likewise.
18602 * manual/maint.texi: Likewise.
18603 * Makefile: Likewise.
18604 * malloc/Makefile: Likewise.
18605 * nscd/Makefile: Likewise.
18606 * Makeconfig: Change reference to configure.in and
18607 preconfigure.in to configure.ac and preconfigure.ac
18609 * INSTALL: Regenerated.
18610 * configure: Likewise.
18611 * sysdeps/gnu/configure: Likewise.
18612 * sysdeps/i386/configure: Likewise.
18613 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
18614 * sysdeps/mach/configure: Likewise.
18615 * sysdeps/mach/hurd/configure: Likewise.
18616 * sysdeps/powerpc/configure: Likewise.
18617 * sysdeps/powerpc/powerpc32/configure: Likewise.
18618 * sysdeps/powerpc/powerpc64/configure: Likewise.
18619 * sysdeps/s390/s390-32/configure: Likewise.
18620 * sysdeps/s390/s390-64/configure: Likewise.
18621 * sysdeps/sh/configure: Likewise.
18622 * sysdeps/sparc/configure: Likewise.
18623 * sysdeps/unix/sysv/linux/configure: Likewise.
18624 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
18625 * sysdeps/x86_64/configure: Likewise.
18626 * sysdeps/x86_64/preconfigure: Likewise.
18628 2013-10-29 Andreas Schwab <schwab@suse.de>
18630 * stdio-common/Makefile (tst-swscanf-ENV): Define.
18632 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18634 * benchtests/pow-inputs: Add new inputs.
18636 * benchtests/exp-inputs: Add new inputs.
18638 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
18639 conditional check for return value.
18640 (__cos32): Likewise.
18642 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18644 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
18645 to provide a boost for large inputs with word alignment.
18646 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
18647 implementation based on optimized PPC64 strcpy.
18648 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
18649 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
18650 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
18651 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
18653 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
18656 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
18658 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
18661 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
18662 * time/tst-strptime.c (day_tests): Add testcase.
18664 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
18667 * manual/pattern.texi: Acknowledge that fnmatch can fail.
18669 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
18672 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
18673 MAP_FAILED on error.
18675 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18678 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
18679 heap for large requests.
18681 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
18684 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
18685 result if the result has no associated interface.
18686 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
18687 interface for all 127.X.Y.Z addresses.
18689 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
18691 * locale/iso-639.def: Add Ligurian (lij)
18693 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
18696 * sunrpc/rpc_main.c: Document rpcgen -5.
18698 2013-10-19 Michael Stahl <mstahl@redhat.com>
18700 * elf/rtld.c (do_preload): Print the reason why preloading failed.
18702 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
18705 * posix/glob.c: Match only directories when trailing slash is present.
18706 * posix/tst-gnuglob.c (my_opendir): Do not open files.
18707 (main): Add testcase.
18709 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
18712 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
18714 2013-10-18 Carlos O'Donell <carlos@redhat.com>
18716 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
18717 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
18718 AUTH_DES and cindex for FIPS 140-2.
18719 (DES Encryption): Add cindex FIPS 46-3.
18721 * locale/locarchive.h (struct locarhandle): Add fname.
18722 * locale/programs/localedef.c (main): Pass ARGV[remaining]
18723 if an optional argument was specified to --list-archive,
18725 * locale/programs/locarchive.c (show_archive_content): Take new
18726 argument fname and pass it via ah.fname to open_archive.
18727 * locale/programs/localedef.h: Update decl.
18728 (open_archive): If AH->fname is non-null, open that file
18729 rather than the default file name, and don't ignore ENOENT.
18730 (create_archive): Set AH.fname to NULL.
18731 (delete_locales_from_archive): Likewise.
18732 (add_locales_to_archive): Likewise.
18733 * locale/programs/locfile.c (write_all_categories): Likewise.
18735 2013-10-18 Joseph Myers <joseph@codesourcery.com>
18736 Aldy Hernandez <aldyh@redhat.com>
18738 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
18739 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
18740 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
18741 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
18742 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
18743 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
18744 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
18745 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
18746 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
18747 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
18748 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
18749 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
18750 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
18751 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
18752 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
18754 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
18756 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
18758 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
18760 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
18761 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
18763 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
18764 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
18765 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
18766 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
18768 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
18769 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
18770 * sysdeps/powerpc/preconfigure: Likewise.
18771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
18773 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
18774 Replace contents of file by #include of <fenv_libc.h>.
18775 * sysdeps/powerpc/soft-fp/sfp-machine.h
18776 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
18778 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
18779 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
18780 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
18781 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
18782 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
18783 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
18784 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
18785 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
18786 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
18787 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
18788 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
18789 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
18790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18791 Allow copysignl PLT reference to be missing.
18793 2013-10-18 Richard Sandiford <richard@codesourcery.com>
18794 Joseph Myers <joseph@codesourcery.com
18797 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
18799 (add_to_tablewc): Assert sequence of wide characters is nonempty.
18801 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18803 * elf/tst-tls-dlinfo.c: Don't include tls.h.
18804 * elf/tst-tls1.c: Likewise.
18805 * elf/tst-tls10.h: Likewise.
18806 * elf/tst-tls14.c: Likewise.
18807 * elf/tst-tls2.c: Likewise.
18808 * elf/tst-tls3.c: Likewise.
18809 * elf/tst-tls4.c: Likewise.
18810 * elf/tst-tls5.c: Likewise.
18811 * elf/tst-tls6.c: Likewise.
18812 * elf/tst-tls7.c: Likewise.
18813 * elf/tst-tls8.c: Likewise.
18814 * elf/tst-tls9.c: Likewise.
18815 * elf/tst-tlsmod1.c: Likewise.
18816 * elf/tst-tlsmod13.c: Likewise.
18817 * elf/tst-tlsmod13a.c: Likewise.
18818 * elf/tst-tlsmod14a.c: Likewise.
18819 * elf/tst-tlsmod16a.c: Likewise.
18820 * elf/tst-tlsmod16b.c: Likewise.
18821 * elf/tst-tlsmod2.c: Likewise.
18822 * elf/tst-tlsmod3.c: Likewise.
18823 * elf/tst-tlsmod4.c: Likewise.
18824 * elf/tst-tlsmod5.c: Likewise.
18825 * elf/tst-tlsmod6.c: Likewise.
18827 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
18830 * malloc/malloc.c: remove checks for statistics.
18832 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
18835 * inet/inet_net.c (inet_network): Detect additional invalid strings.
18836 * inet/tst-network.c: Add testcase.
18838 2013-10-17 Andreas Schwab <schwab@suse.de>
18841 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
18842 to determine canonical name.
18844 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
18846 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
18847 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
18848 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18849 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18850 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18851 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18852 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18853 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18854 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18855 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18856 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18857 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18858 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18859 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18860 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18861 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18862 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18863 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18864 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18865 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18866 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18867 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18868 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18869 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
18870 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
18871 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18872 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18873 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
18874 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18875 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
18876 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18877 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18878 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18879 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18880 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18881 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18882 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18883 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18884 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18885 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18886 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18887 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18888 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18889 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18890 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18891 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18892 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18893 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18894 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18895 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18896 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18897 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18898 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18899 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18900 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18901 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18902 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18903 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18905 2013-10-17 Joseph Myers <joseph@codesourcery.com>
18908 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
18909 make result into a quiet NaN.
18911 2013-10-16 Joseph Myers <joseph@codesourcery.com>
18913 * soft-fp/adddf3.c: Fix horizontal whitespace.
18914 * soft-fp/addsf3.c: Likewise.
18915 * soft-fp/addtf3.c: Likewise.
18916 * soft-fp/divdf3.c: Likewise.
18917 * soft-fp/divsf3.c: Likewise.
18918 * soft-fp/divtf3.c: Likewise.
18919 * soft-fp/double.h: Likewise.
18920 * soft-fp/eqdf2.c: Likewise.
18921 * soft-fp/eqsf2.c: Likewise.
18922 * soft-fp/eqtf2.c: Likewise.
18923 * soft-fp/extenddftf2.c: Likewise.
18924 * soft-fp/extended.h: Likewise.
18925 * soft-fp/extendsfdf2.c: Likewise.
18926 * soft-fp/extendsftf2.c: Likewise.
18927 * soft-fp/extendxftf2.c: Likewise.
18928 * soft-fp/fixdfdi.c: Likewise.
18929 * soft-fp/fixdfsi.c: Likewise.
18930 * soft-fp/fixdfti.c: Likewise.
18931 * soft-fp/fixsfdi.c: Likewise.
18932 * soft-fp/fixsfsi.c: Likewise.
18933 * soft-fp/fixsfti.c: Likewise.
18934 * soft-fp/fixtfdi.c: Likewise.
18935 * soft-fp/fixtfsi.c: Likewise.
18936 * soft-fp/fixtfti.c: Likewise.
18937 * soft-fp/fixunsdfdi.c: Likewise.
18938 * soft-fp/fixunsdfsi.c: Likewise.
18939 * soft-fp/fixunsdfti.c: Likewise.
18940 * soft-fp/fixunssfdi.c: Likewise.
18941 * soft-fp/fixunssfsi.c: Likewise.
18942 * soft-fp/fixunssfti.c: Likewise.
18943 * soft-fp/fixunstfdi.c: Likewise.
18944 * soft-fp/fixunstfsi.c: Likewise.
18945 * soft-fp/fixunstfti.c: Likewise.
18946 * soft-fp/floatdidf.c: Likewise.
18947 * soft-fp/floatdisf.c: Likewise.
18948 * soft-fp/floatditf.c: Likewise.
18949 * soft-fp/floatsidf.c: Likewise.
18950 * soft-fp/floatsisf.c: Likewise.
18951 * soft-fp/floatsitf.c: Likewise.
18952 * soft-fp/floattidf.c: Likewise.
18953 * soft-fp/floattisf.c: Likewise.
18954 * soft-fp/floattitf.c: Likewise.
18955 * soft-fp/floatundidf.c: Likewise.
18956 * soft-fp/floatundisf.c: Likewise.
18957 * soft-fp/floatunditf.c: Likewise.
18958 * soft-fp/floatunsidf.c: Likewise.
18959 * soft-fp/floatunsisf.c: Likewise.
18960 * soft-fp/floatunsitf.c: Likewise.
18961 * soft-fp/floatuntidf.c: Likewise.
18962 * soft-fp/floatuntisf.c: Likewise.
18963 * soft-fp/floatuntitf.c: Likewise.
18964 * soft-fp/fmadf4.c: Likewise.
18965 * soft-fp/fmasf4.c: Likewise.
18966 * soft-fp/fmatf4.c: Likewise.
18967 * soft-fp/gedf2.c: Likewise.
18968 * soft-fp/gesf2.c: Likewise.
18969 * soft-fp/getf2.c: Likewise.
18970 * soft-fp/ledf2.c: Likewise.
18971 * soft-fp/lesf2.c: Likewise.
18972 * soft-fp/letf2.c: Likewise.
18973 * soft-fp/muldf3.c: Likewise.
18974 * soft-fp/mulsf3.c: Likewise.
18975 * soft-fp/multf3.c: Likewise.
18976 * soft-fp/negdf2.c: Likewise.
18977 * soft-fp/negsf2.c: Likewise.
18978 * soft-fp/negtf2.c: Likewise.
18979 * soft-fp/op-1.h: Likewise.
18980 * soft-fp/op-2.h: Likewise.
18981 * soft-fp/op-4.h: Likewise.
18982 * soft-fp/op-8.h: Likewise.
18983 * soft-fp/op-common.h: Likewise.
18984 * soft-fp/quad.h: Likewise.
18985 * soft-fp/single.h: Likewise.
18986 * soft-fp/soft-fp.h: Likewise.
18987 * soft-fp/sqrtdf2.c: Likewise.
18988 * soft-fp/sqrtsf2.c: Likewise.
18989 * soft-fp/sqrttf2.c: Likewise.
18990 * soft-fp/subdf3.c: Likewise.
18991 * soft-fp/subsf3.c: Likewise.
18992 * soft-fp/subtf3.c: Likewise.
18993 * soft-fp/truncdfsf2.c: Likewise.
18994 * soft-fp/trunctfdf2.c: Likewise.
18995 * soft-fp/trunctfsf2.c: Likewise.
18996 * soft-fp/trunctfxf2.c: Likewise.
18997 * soft-fp/unorddf2.c: Likewise.
18998 * soft-fp/unordsf2.c: Likewise.
18999 * soft-fp/unordtf2.c: Likewise.
19001 2013-10-15 Joseph Myers <joseph@codesourcery.com>
19003 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
19004 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
19006 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
19008 * elf/dl-libc.c: Clear initfini list after freeing.
19010 2013-10-14 Joseph Myers <joseph@codesourcery.com>
19012 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
19013 * soft-fp/addsf3.c: Likewise.
19014 * soft-fp/addtf3.c: Likewise.
19015 * soft-fp/divdf3.c: Likewise.
19016 * soft-fp/divsf3.c: Likewise.
19017 * soft-fp/divtf3.c: Likewise.
19018 * soft-fp/double.h: Likewise.
19019 * soft-fp/eqdf2.c: Likewise.
19020 * soft-fp/eqsf2.c: Likewise.
19021 * soft-fp/eqtf2.c: Likewise.
19022 * soft-fp/extenddftf2.c: Likewise.
19023 * soft-fp/extended.h: Likewise.
19024 * soft-fp/extendsfdf2.c: Likewise.
19025 * soft-fp/extendsftf2.c: Likewise.
19026 * soft-fp/extendxftf2.c: Likewise.
19027 * soft-fp/fixdfdi.c: Likewise.
19028 * soft-fp/fixdfsi.c: Likewise.
19029 * soft-fp/fixdfti.c: Likewise.
19030 * soft-fp/fixsfdi.c: Likewise.
19031 * soft-fp/fixsfsi.c: Likewise.
19032 * soft-fp/fixsfti.c: Likewise.
19033 * soft-fp/fixtfdi.c: Likewise.
19034 * soft-fp/fixtfsi.c: Likewise.
19035 * soft-fp/fixtfti.c: Likewise.
19036 * soft-fp/fixunsdfdi.c: Likewise.
19037 * soft-fp/fixunsdfsi.c: Likewise.
19038 * soft-fp/fixunsdfti.c: Likewise.
19039 * soft-fp/fixunssfdi.c: Likewise.
19040 * soft-fp/fixunssfsi.c: Likewise.
19041 * soft-fp/fixunssfti.c: Likewise.
19042 * soft-fp/fixunstfdi.c: Likewise.
19043 * soft-fp/fixunstfsi.c: Likewise.
19044 * soft-fp/fixunstfti.c: Likewise.
19045 * soft-fp/floatdidf.c: Likewise.
19046 * soft-fp/floatdisf.c: Likewise.
19047 * soft-fp/floatditf.c: Likewise.
19048 * soft-fp/floatsidf.c: Likewise.
19049 * soft-fp/floatsisf.c: Likewise.
19050 * soft-fp/floatsitf.c: Likewise.
19051 * soft-fp/floattidf.c: Likewise.
19052 * soft-fp/floattisf.c: Likewise.
19053 * soft-fp/floattitf.c: Likewise.
19054 * soft-fp/floatundidf.c: Likewise.
19055 * soft-fp/floatundisf.c: Likewise.
19056 * soft-fp/floatunsidf.c: Likewise.
19057 * soft-fp/floatunsisf.c: Likewise.
19058 * soft-fp/floatuntidf.c: Likewise.
19059 * soft-fp/floatuntisf.c: Likewise.
19060 * soft-fp/floatuntitf.c: Likewise.
19061 * soft-fp/fmadf4.c: Likewise.
19062 * soft-fp/fmasf4.c: Likewise.
19063 * soft-fp/fmatf4.c: Likewise.
19064 * soft-fp/gedf2.c: Likewise.
19065 * soft-fp/gesf2.c: Likewise.
19066 * soft-fp/getf2.c: Likewise.
19067 * soft-fp/ledf2.c: Likewise.
19068 * soft-fp/lesf2.c: Likewise.
19069 * soft-fp/letf2.c: Likewise.
19070 * soft-fp/muldf3.c: Likewise.
19071 * soft-fp/mulsf3.c: Likewise.
19072 * soft-fp/multf3.c: Likewise.
19073 * soft-fp/negdf2.c: Likewise.
19074 * soft-fp/negsf2.c: Likewise.
19075 * soft-fp/negtf2.c: Likewise.
19076 * soft-fp/op-1.h: Likewise.
19077 * soft-fp/op-2.h: Likewise.
19078 * soft-fp/op-4.h: Likewise.
19079 * soft-fp/op-8.h: Likewise.
19080 * soft-fp/op-common.h: Likewise.
19081 * soft-fp/quad.h: Likewise.
19082 * soft-fp/single.h: Likewise.
19083 * soft-fp/soft-fp.h: Likewise.
19084 * soft-fp/sqrtdf2.c: Likewise.
19085 * soft-fp/sqrtsf2.c: Likewise.
19086 * soft-fp/sqrttf2.c: Likewise.
19087 * soft-fp/subdf3.c: Likewise.
19088 * soft-fp/subsf3.c: Likewise.
19089 * soft-fp/subtf3.c: Likewise.
19090 * soft-fp/truncdfsf2.c: Likewise.
19091 * soft-fp/trunctfdf2.c: Likewise.
19092 * soft-fp/trunctfsf2.c: Likewise.
19093 * soft-fp/trunctfxf2.c: Likewise.
19094 * soft-fp/unorddf2.c: Likewise.
19095 * soft-fp/unordsf2.c: Likewise.
19096 * soft-fp/unordtf2.c: Likewise.
19098 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
19101 * misc/error.c (error_tail): Fix possible buffer overflow.
19103 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
19106 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19109 2013-10-14 P. J. McDermott <pj@pehjota.net>
19112 * elf/ldd.bash.in (try_trace): New function. Delete previous code
19113 testing pipefail option.
19115 2013-10-12 Joseph Myers <joseph@codesourcery.com>
19117 * soft-fp/double.h: Indent preprocessor directives inside #if.
19118 * soft-fp/extended.h: Likewise.
19119 * soft-fp/op-2.h: Likewise.
19120 * soft-fp/op-4.h: Likewise.
19121 * soft-fp/op-common.h: Likewise.
19122 * soft-fp/quad.h: Likewise.
19123 * soft-fp/single.h: Likewise.
19124 * soft-fp/soft-fp.h: Likewise.
19126 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
19128 * iconv/iconv_prog.c: Fix typos.
19129 * stdio-common/psiginfo-data.h: Likewise.
19131 2013-10-12 Reuben Thomas <rrt@sc3d.org>
19134 * locale/setlocale.c: Fix typo.
19136 2013-10-12 Joseph Myers <joseph@codesourcery.com>
19139 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
19140 signaling NaN arguments.
19141 * soft-fp/unordsf2.c (__unordsf2): Likewise.
19142 * soft-fp/unordtf2.c (__unordtf2): Likewise.
19145 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
19146 unordered operands.
19147 * soft-fp/gesf2.c (__gesf2): Likewise.
19148 * soft-fp/getf2.c (__getf2): Likewise.
19149 * soft-fp/ledf2.c (__ledf2): Likewise.
19150 * soft-fp/lesf2.c (__lesf2): Likewise.
19151 * soft-fp/letf2.c (__letf2): Likewise.
19153 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
19154 * soft-fp/eqsf2.c (__eqsf2): Likewise.
19155 * soft-fp/eqtf2.c (__eqtf2): Likewise.
19156 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
19157 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
19158 * soft-fp/fixdfti.c (__fixdfti): Likewise.
19159 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
19160 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
19161 * soft-fp/fixsfti.c (__fixsfti): Likewise.
19162 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
19163 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
19164 * soft-fp/fixtfti.c (__fixtfti): Likewise.
19165 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
19166 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
19167 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
19168 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19169 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
19170 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
19171 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
19172 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
19173 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
19174 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
19175 * soft-fp/floatdisf.c (__floatdisf): Likewise.
19176 * soft-fp/floatsisf.c (__floatsisf): Likewise.
19177 * soft-fp/floattidf.c (__floattidf): Likewise.
19178 * soft-fp/floattisf.c (__floattisf): Likewise.
19179 * soft-fp/floattitf.c (__floattitf): Likewise.
19180 * soft-fp/floatundidf.c (__floatundidf): Likewise.
19181 * soft-fp/floatundisf.c (__floatundisf): Likewise.
19182 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
19183 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
19184 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
19185 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
19186 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
19187 * soft-fp/gesf2.c (__gesf2): Likewise.
19188 * soft-fp/getf2.c (__getf2): Likewise.
19189 * soft-fp/ledf2.c (__ledf2): Likewise.
19190 * soft-fp/lesf2.c (__lesf2): Likewise.
19191 * soft-fp/letf2.c (__letf2): Likewise.
19193 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
19194 Undefine and redefine.
19195 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
19196 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
19197 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
19198 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
19199 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19200 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
19201 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19202 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
19203 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19204 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
19205 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19206 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
19207 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19208 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
19209 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19212 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
19213 without decrementing exponent if mantissa >= that for the
19214 denominator, not >.
19215 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
19216 denominator, not >. Decrement exponent in < case instead of
19217 incrementing in >= case.
19218 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
19219 without decrementing exponent if mantissa >= that for the
19220 denominator, not >.
19222 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
19223 computing saturated result for unsigned overflow.
19225 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19226 Jeff Law <law@redhat.com>
19228 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
19229 (atan2Mp): Add systemtap probe marker.
19230 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
19231 (__ieee754_log): Add systemtap probe marker.
19232 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
19233 (atanMp): Add systemtap probe marker.
19234 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
19235 (tanMp): Add systemtap probe marker.
19236 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
19237 (__slowexp): Add systemtap probe marker.
19238 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
19239 (__slowpow): Add systemtap probe marker.
19240 * manual/probes.texi: Document probes.
19242 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
19245 * libio/fileops.c (_IO_new_file_write): Return count of bytes
19247 (_IO_new_file_xsputn): Don't return EOF if nothing has been
19249 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
19250 written to buffer but not flushed.
19251 * libio/iofwrite_u.c: Likewise.
19252 * libio/iopadn.c: Return bytes returned even if EOF was
19254 * libio/iowpadn.c: Likewise.
19255 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
19256 if _IO_padn does not write the whole buffer.
19257 [!COMPILE_WPRINTF] (PAD): Likewise.
19259 2013-10-10 David S. Miller <davem@davemloft.net>
19261 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
19264 2013-10-10 Joseph Myers <joseph@codesourcery.com>
19266 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
19267 instead of FSF address.
19268 * soft-fp/fixdfti.c: Likewise.
19269 * soft-fp/fixsfti.c: Likewise.
19270 * soft-fp/fixtfti.c: Likewise.
19271 * soft-fp/fixunsdfti.c: Likewise.
19272 * soft-fp/fixunssfti.c: Likewise.
19273 * soft-fp/fixunstfti.c: Likewise.
19274 * soft-fp/floattidf.c: Likewise.
19275 * soft-fp/floattisf.c: Likewise.
19276 * soft-fp/floattitf.c: Likewise.
19277 * soft-fp/floatuntidf.c: Likewise.
19278 * soft-fp/floatuntisf.c: Likewise.
19279 * soft-fp/floatuntitf.c: Likewise.
19280 * soft-fp/trunctfxf2.c: Likewise.
19282 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
19283 * soft-fp/fixdfti.c: Likewise.
19284 * soft-fp/fixsfti.c: Likewise.
19285 * soft-fp/fixtfti.c: Likewise.
19286 * soft-fp/fixunsdfti.c: Likewise.
19287 * soft-fp/fixunssfti.c: Likewise.
19288 * soft-fp/fixunstfti.c: Likewise.
19289 * soft-fp/floattidf.c: Likewise.
19290 * soft-fp/floattisf.c: Likewise.
19291 * soft-fp/floattitf.c: Likewise.
19292 * soft-fp/floatuntidf.c: Likewise.
19293 * soft-fp/floatuntisf.c: Likewise.
19294 * soft-fp/floatuntitf.c: Likewise.
19295 * soft-fp/trunctfxf2.c: Likewise.
19297 2013-10-10 David S. Miller <davem@davemloft.net>
19299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19301 2013-10-10 Joseph Myers <joseph@codsourcery.com>
19303 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19304 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
19305 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
19306 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
19307 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
19308 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
19309 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
19311 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
19312 for NaNs before doing comparisons on argument.
19313 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19316 2013-10-10 Will Newton <will.newton@linaro.org>
19318 * malloc/hooks.c (memalign_check): Ensure the value of bytes
19319 passed to _int_memalign does not overflow.
19321 2013-10-10 Torvald Riegel <triegel@redhat.com>
19323 * scripts/bench.pl: Add include-sources directive.
19324 * benchtests/README: Update documentation.
19326 2013-10-10 Joseph Myers <joseph@codesourcery.com>
19328 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
19329 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
19330 instead of FP_INIT_ROUNDMODE.
19331 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
19332 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
19335 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
19336 copy class of input value.
19337 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
19338 not handle exceptions.
19339 * soft-fp/negsf2.c (__negsf2): Likewise.
19340 * soft-fp/negtf2.c (__negtf2): Likewise.
19341 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
19343 2013-10-09 Joseph Myers <joseph@codesourcery.com>
19345 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
19346 semicolon. From Linux kernel.
19348 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
19350 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
19352 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
19355 * manual/socket.texi: Added statement about buffer
19356 for gethostbyname2_r.
19358 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
19360 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
19361 Use .p2align directive instead, throughout.
19362 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19363 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19364 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19365 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19366 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19367 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19368 * sysdeps/x86_64/strchr.S: Likewise.
19369 * sysdeps/x86_64/strrchr.S: Likewise.
19371 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19373 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
19375 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
19377 * sysdeps/generic/math_private.h (__mpsin1): Remove
19379 (__mpcos1): Likewise.
19380 (__mpsin): New argument __range_reduce.
19381 (__mpcos): Likewise.
19382 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19383 (slow): Use __mpsin and __mpcos.
19387 (sloww1): Likewise.
19388 (sloww2): Likewise.
19389 (bsloww): Likewise.
19390 (bsloww1): Likewise.
19391 (bsloww2): Likewise.
19392 (cslow2): Likewise.
19393 (csloww): Likewise.
19394 (csloww1): Likewise.
19395 (csloww2): Likewise.
19396 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
19397 range_reduce. Merge in __mpsin1.
19398 (__mpcos): Likewise.
19399 (__mpsin1): Remove.
19400 (__mpcos1): Likewise.
19402 2013-10-07 Joseph Myers <joseph@codesourcery.com>
19404 * locale/loadlocale.c (_nl_intern_locale_data): Use
19406 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
19407 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
19408 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
19409 obstack data is appropriately aligned.
19410 (obstack_int32_grow_fast): Likewise.
19411 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
19412 * locale/programs/locfile.c (add_locale_uint32): Likewise.
19413 (add_locale_uint32_array): Likewise.
19415 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19417 * benchtests/Makefile: Remove ARGLIST and RET variables.
19418 ($(objpfx)bench-%.c): Pass only function name to the script.
19419 * benchtests/README: Update documentation.
19420 * benchtests/acos-inputs: Add new directives.
19421 * benchtests/acosh-inputs: Likewise.
19422 * benchtests/asin-inputs: Likewise.
19423 * benchtests/asinh-inputs: Likewise.
19424 * benchtests/atan-inputs: Likewise.
19425 * benchtests/atanh-inputs: Likewise.
19426 * benchtests/cos-inputs: Likewise.
19427 * benchtests/cosh-inputs: Likewise.
19428 * benchtests/exp-inputs: Likewise.
19429 * benchtests/log-inputs: Likewise.
19430 * benchtests/pow-inputs: Likewise.
19431 * benchtests/rint-inputs: Likewise.
19432 * benchtests/sin-inputs: Likewise.
19433 * benchtests/sinh-inputs: Likewise.
19434 * benchtests/tan-inputs: Likewise.
19435 * benchtests/tanh-inputs: Likewise.
19436 * scripts/bench.pl: Add support for new directives.
19438 2013-10-07 Alan Modra <amodra@gmail.com>
19440 * README: Fix careless merge.
19442 2013-10-05 Alan Modra <amodra@gmail.com>
19444 * NEWS: Mention powerpc64le support and bugs fixed.
19445 * README: Both big-endian and little-endian powerpc64 supported.
19447 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19449 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
19450 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
19451 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
19452 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
19454 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
19456 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
19459 2013-10-04 Joseph Myers <joseph@codesourcery.com>
19461 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
19462 Move -mhard-float appending from
19463 ports/sysdeps/powerpc/powerpc32/Makefile.
19464 [$(with-fp) = yes] (ASFLAGS): Likewise.
19465 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
19466 * sysdeps/powerpc/nofpu: Move directory from
19467 ports/sysdeps/powerpc/nofpu.
19468 * sysdeps/powerpc/soft-fp: Move directory from
19469 ports/sysdeps/powerpc/soft-fp.
19470 * sysdeps/powerpc/powerpc32/405: Move directory from
19471 ports/sysdeps/powerpc/powerpc32/405.
19472 * sysdeps/powerpc/powerpc32/440: Move directory from
19473 ports/sysdeps/powerpc/powerpc32/440.
19474 * sysdeps/powerpc/powerpc32/464: Move directory from
19475 ports/sysdeps/powerpc/powerpc32/464.
19476 * sysdeps/powerpc/powerpc32/476: Move directory from
19477 ports/sysdeps/powerpc/powerpc32/476.
19478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
19479 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
19480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
19481 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
19482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
19483 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
19484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
19485 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
19486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
19487 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
19488 * README: Update for powerpc-*-linux-gnu software floating point
19491 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
19492 case to powerpc/powerpc32*.
19493 * sysdeps/unix/sysv/linux/configure: Regenerated.
19495 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
19496 (_FPU_MASK_OM): Define as 0x04.
19497 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
19498 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
19500 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
19502 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
19504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
19505 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
19508 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
19511 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
19512 and setcontext_e500.
19514 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
19516 * locale/iso-3166.def: Update iso-1366.def and related occurrences
19518 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19520 * manual/threads.texi (Default Thread Attributes): Fix typo.
19522 2013-10-04 Will Newton <will.newton@linaro.org>
19524 * malloc/Makefile: Add tst-memalign.
19525 * malloc/tst-memalign.c: New file.
19527 * malloc/tst-posix_memalign.c: Add comments.
19528 (do_test): Add comments and call free on all potentially
19529 allocated pointers. Add space after cast.
19531 * malloc/tst-pvalloc.c: Add comments.
19532 (do_test): Add comments and call free on all potentially
19533 allocated pointers. Remove duplicate check for NULL pointer.
19534 Add space after cast.
19536 * malloc/tst-valloc.c: Add comments.
19537 (do_test): Add comments and call free on all potentially
19538 allocated pointers. Remove duplicate check for NULL pointer.
19539 Add space after cast.
19541 2013-10-04 Alan Modra <amodra@gmail.com>
19543 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19544 Use stdint types in rather than __attribute__((mode())).
19545 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19547 2013-10-04 Alan Modra <amodra@gmail.com>
19549 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19550 Correct handling of unaligned relocs for little-endian.
19551 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19553 2013-10-04 Alan Modra <amodra@gmail.com>
19555 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
19556 * configure: Regenerate.
19557 * nptl/shlib-versions: Powerpc*le starts at 2.18.
19558 * shlib-versions: Likewise.
19560 2013-10-04 Alan Modra <amodra@gmail.com>
19562 * string/tester.c (test_memrchr): Increment reported test cycle.
19564 2013-10-04 Alan Modra <amodra@gmail.com>
19566 * string/test-memcpy.c (do_one_test): When reporting errors, print
19567 string address and don't overrun end of string.
19569 2013-10-04 Alan Modra <amodra@gmail.com>
19571 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
19572 insrdi. Make better use of reg selection to speed exit slightly.
19573 Schedule entry path a little better. Remove useless "are we done"
19574 checks on entry to main loop. Handle wrapping around zero address.
19575 Correct main loop count. Handle single left-over word from main
19576 loop inline rather than by using loop_small. Remove extra word
19577 case in loop_small caused by wrong loop count. Add little-endian
19579 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19580 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
19582 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19583 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
19584 support. Avoid rlwimi.
19585 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
19587 2013-10-04 Alan Modra <amodra@gmail.com>
19589 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
19590 insrdi. Formatting.
19591 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
19592 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19593 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
19594 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19595 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19596 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
19598 2013-10-04 Alan Modra <amodra@gmail.com>
19600 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
19601 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19602 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
19603 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
19604 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19605 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19606 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19607 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19608 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
19609 use of regs. Use power7 mtocrf. Tidy function tails.
19611 2013-10-04 Alan Modra <amodra@gmail.com>
19613 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
19614 Formatting. Consistently use rXXX register defines or rN defines.
19615 Use early exit labels that avoid restoring unused non-volatile regs.
19616 Make cr field use more consistent with rWORDn compares. Rename
19617 regs used as shift registers for unaligned loop, using rN defines
19618 for short lifetime/multiple use regs.
19619 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19620 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
19621 addi 1,1,64 to pop stack frame. Simplify return value code.
19622 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19624 2013-10-04 Alan Modra <amodra@gmail.com>
19626 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
19627 support. Correct typos, formatting. Optimize tail. Use insrdi
19628 rather than rlwimi.
19629 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
19630 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
19631 little-endian support. Correct typos.
19632 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
19633 rather than rlwimi.
19634 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
19635 in loop and entry code to keep "and." results.
19636 (strchr): Add little-endian support. Comment. Move cntlzd
19638 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
19640 2013-10-04 Alan Modra <amodra@gmail.com>
19642 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
19643 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
19644 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19645 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
19647 2013-10-04 Alan Modra <amodra@gmail.com>
19649 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
19650 (rTMP): Define as r11.
19651 (strcmp): Add little-endian support. Optimise tail.
19652 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
19653 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19654 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19655 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19656 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19657 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19658 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19660 2013-10-04 Alan Modra <amodra@gmail.com>
19662 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
19663 little-endian support. Remove unnecessary "are we done" tests.
19664 Handle "s" wrapping around zero and extremely large "size".
19665 Correct main loop count. Handle single left-over word from main
19666 loop inline rather than by using small_loop. Correct comments.
19667 Delete "zero" tail, use "end_max" instead.
19668 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
19670 2013-10-04 Alan Modra <amodra@gmail.com>
19672 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
19673 support. Don't branch over align.
19674 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
19675 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
19676 support. Rearrange tmp reg use to suit. Comment.
19677 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
19679 2013-10-04 Alan Modra <amodra@gmail.com>
19681 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
19683 2013-10-04 Alan Modra <amodra@gmail.com>
19685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
19686 conditional form of branch and link when obtaining pc.
19687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
19689 2013-10-04 Alan Modra <amodra@gmail.com>
19691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
19693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
19694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
19696 2013-10-04 Alan Modra <amodra@gmail.com>
19698 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
19699 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
19700 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19701 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
19702 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19703 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19704 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
19705 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19706 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19707 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
19709 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
19710 Alistair Popple <alistair@ozlabs.au.ibm.com>
19711 Alan Modra <amodra@gmail.com>
19714 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
19715 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
19716 _dl_hwcap access for little-endian.
19717 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
19718 destroy vmx regs when saving unaligned.
19719 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
19720 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
19721 destroy vmx regs when saving unaligned.
19723 2013-10-04 Alan Modra <amodra@gmail.com>
19725 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
19726 Don't use a union to pack hi/low value.
19728 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
19730 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
19732 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19733 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
19734 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19735 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19736 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19738 2013-10-04 Alan Modra <amodra@gmail.com>
19740 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
19741 constants to usual value for .cst8 section, and remove redundant
19743 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
19744 constant for 0x1p52. Load little-endian words of double from
19745 correct stack offsets.
19747 2013-10-04 Alan Modra <amodra@gmail.com>
19749 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
19750 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
19751 words of double from correct stack offsets.
19752 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19753 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
19754 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19755 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19756 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19757 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19758 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19759 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19760 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19761 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19762 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19763 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19764 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19765 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19766 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19767 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
19768 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19770 2013-10-04 Alan Modra <amodra@gmail.com>
19772 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
19773 64-bit int/double union.
19774 (_FPU_SETCW): Likewise.
19775 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
19776 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
19778 2013-10-04 Alan Modra <amodra@gmail.com>
19780 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
19781 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
19783 2013-10-04 Alan Modra <amodra@gmail.com>
19785 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
19786 use vector int constants.
19787 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
19789 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
19791 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
19792 array with long long.
19793 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
19794 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
19795 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
19796 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
19797 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
19798 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
19799 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
19800 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
19801 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
19802 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
19803 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
19804 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
19805 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
19807 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
19809 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
19810 (__signbit): Likewise. Correct for little-endian.
19811 (__signbitl): Call __signbit.
19812 (lrint): Correct for little-endian.
19813 (lrintf): Call lrint.
19815 2013-10-04 Alan Modra <amodra@gmail.com>
19817 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
19818 union 32-bit int array member with 64-bit int array.
19819 (t515, tm256): Double rather than long double.
19820 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
19822 2013-10-04 Alan Modra <amodra@gmail.com>
19824 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
19826 (IEEE854_LONG_DOUBLE_BIAS): Delete.
19827 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
19828 version of math_ldbl.h.
19830 2013-10-04 Alan Modra <amodra@gmail.com>
19832 [BZ #15734], [BZ #15735]
19833 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
19834 all uses of ieee875 long double macros and unions. Simplify test
19835 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
19836 ldbl_extract_mantissa value for ix,iy exponents. Properly
19837 normalize after ldbl_extract_mantissa, and don't add hidden bit
19838 already handled. Don't treat low word of ieee854 mantissa like
19839 low word of IBM long double and mask off bit when testing for
19841 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
19842 all uses of ieee875 long double macros and unions. Simplify tests
19843 for 0.0L and inf. Correct double adjustment of k. Delete dead code
19844 adjusting ha,hb. Simplify code setting kld. Delete two600 and
19845 two1022, instead use their values. Recognise that tests for large
19846 "a" and small "b" are mutually exclusive. Rename vars. Comment.
19847 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
19848 Rewrite all uses of ieee875 long double macros and unions. Simplify
19849 test for 0.0L and nan. Correct negation.
19850 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
19851 ieee875 long double macros and unions. Correct output for large
19852 magnitude x. Correct absolute value calculation.
19853 (__erfcl): Likewise.
19854 * math/libm-test.inc: Add tests for errors discovered in IBM long
19855 double versions of fmodl, remainderl, erfl and erfcl.
19857 2013-10-04 Alan Modra <amodra@gmail.com>
19859 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
19860 all uses of ieee854 long double macros and unions. Simplify tests
19861 for long doubles that are fully specified by the high double.
19862 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19864 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
19865 Remove dead code too.
19866 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19867 (__ieee754_ynl): Likewise.
19868 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
19869 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
19870 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19871 Remove dead code too.
19872 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19873 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
19874 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19875 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
19877 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
19879 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
19880 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
19881 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
19882 Comment on variable precision.
19883 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
19884 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19886 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19887 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19888 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19889 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19890 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
19892 2013-10-04 Alan Modra <amodra@gmail.com>
19894 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
19895 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
19896 all uses of ieee854 long double macros and unions.
19897 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19898 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19899 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
19900 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
19901 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
19902 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19904 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
19905 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19906 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
19907 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19908 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19909 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19910 Simplify sign and nan test too.
19911 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
19912 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19913 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
19914 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19916 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19917 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
19919 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19920 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19921 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
19922 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
19923 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
19924 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
19926 2013-10-04 Alan Modra <amodra@gmail.com>
19928 * stdio-common/printf_size.c (__printf_size): Don't use
19929 union ieee854_long_double in fpnum union.
19930 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
19931 signbit macro to retrieve sign from long double.
19932 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
19933 retrieve sign from long double.
19934 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
19935 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
19936 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
19937 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19938 * math/test-misc.c (main): Don't use union ieee854_long_double.
19940 2013-10-04 Alan Modra <amodra@gmail.com>
19943 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
19944 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
19945 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
19946 calculation. Remove unnecessary test for denormal exponent.
19947 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
19948 Correct handling of denormals. Avoid undefined shift behaviour.
19949 Correct normalisation of low mantissa when low double is denormal.
19950 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
19951 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
19952 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
19953 Correct normalisation of low mantissa. Test for overflow of high
19954 mantissa and normalise.
19955 (ldbl_nearbyint): Use more readable constant for two52.
19956 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
19957 (__mpn_construct_long_double): Fix test for overflow of high
19958 mantissa and correct normalisation. Avoid undefined shift.
19960 2013-10-04 Alan Modra <amodra@gmail.com>
19962 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19963 (union ibm_extended_long_double): Define as an array of ieee754_double.
19964 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19965 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19966 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19967 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19968 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19969 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19970 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19971 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19972 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19973 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19974 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19976 2013-10-03 Joseph Myers <joseph@codesourcery.com>
19978 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
19979 page size instead of calling getpagesize.
19981 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
19982 (LOCFILE_ALIGN_MASK): Likewise.
19983 (LOCFILE_ALIGN_UP): Likewise.
19984 (LOCFILE_ALIGNED_P): Likewise.
19985 * locale/programs/ld-collate.c (collate_output): Use the new
19986 macros instead of __alignof__ (int32_t).
19987 * locale/weight.h (findidx): Likewise.
19989 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
19992 * manual/string.texi: Fix strncat and wcsncat.
19994 2013-10-03 Brooks Moses <bmoses@google.com>
19997 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
19998 * Makerules: ...here, and adjust associated comments.
20000 2013-10-02 Will Newton <will.newton@linaro.org>
20002 * malloc/Makefile: Add tst-pvalloc.
20003 * malloc/tst-pvalloc.c: New file.
20005 2013-10-02 Will Newton <will.newton@linaro.org>
20007 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
20008 improve test coverage.
20010 2013-10-02 Will Newton <will.newton@linaro.org>
20012 * malloc/Makefile: Add tst-posix_memalign.
20013 * malloc/tst-posix_memalign.c: New file.
20015 2013-10-01 Eric Blake <eblake@redhat.com>
20017 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
20018 Use __THROWNL rather than __THROW on static functions.
20020 2013-09-30 Petr Machata <pmachata@redhat.com>
20022 * elf/elf.h (R_AARCH64_ABS16): New macro.
20023 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20024 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20025 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20026 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
20027 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
20028 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20029 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
20030 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
20031 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
20032 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
20033 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
20034 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
20035 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
20036 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
20037 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
20038 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
20039 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
20040 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
20041 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
20042 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
20043 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
20044 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
20045 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
20046 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
20047 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
20048 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
20049 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
20050 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
20051 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
20052 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
20053 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
20054 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
20055 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
20056 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
20057 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
20058 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
20059 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
20060 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
20061 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
20062 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
20063 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20064 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20065 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20066 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20067 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20068 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20069 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20070 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20071 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20072 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20073 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20074 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20075 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20076 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20077 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20078 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20079 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20080 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20081 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20082 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20083 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20084 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20085 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20086 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20087 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20088 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20089 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20090 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20091 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20092 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20093 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20094 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20095 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20096 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20097 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20098 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20099 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20100 (R_AARCH64_TLSDESC_LDR): Likewise.
20101 (R_AARCH64_TLSDESC_ADD): Likewise.
20102 (R_AARCH64_TLSDESC_CALL): Likewise.
20104 2013-09-30 Andreas Schwab <schwab@suse.de>
20107 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20108 the nss database lookup.
20109 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20110 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20112 2013-09-28 Mike Frysinger <vapier@gentoo.org>
20114 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20116 2013-09-28 P. J. McDermott <pj@pehjota.net>
20118 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20119 ${Bash-specific parameter/pattern/string} parameter expansion.
20120 * sysdeps/unix/make-syscalls.sh: Likewise.
20122 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20124 * sysdeps/sh/stackguard-macros.h: New file.
20126 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
20128 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20129 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
20130 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20131 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
20132 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20133 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
20135 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20137 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
20138 Fix thread ID register.
20140 2013-09-25 Joseph Myers <joseph@codesourcery.com>
20142 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
20143 [POSIX || UNIX98]: Require rather than permitting all symbols from
20145 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
20146 element of struct sched_param.
20147 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
20148 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
20149 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
20150 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
20153 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
20155 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
20156 argument calculation.
20158 2013-09-24 Joseph Myers <joseph@codesourcery.com>
20160 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
20162 [POSIX] (pthread_attr_t): Do not require type.
20163 [POSIX] (pthread_cond_t): Likewise.
20164 [POSIX] (pthread_condattr_t): Likewise.
20165 [POSIX] (pthread_key_t): Likewise.
20166 [POSIX] (pthread_mutex_t): Likewise.
20167 [POSIX] (pthread_mutexattr_t): Likewise.
20168 [POSIX] (pthread_once_t): Likewise.
20169 [POSIX] (pthread_t): Likewise.
20170 [POSIX-based standards] (pthread_atfork): Expect function.
20172 2013-09-24 Joseph Myers <joseph@codesourcery.com>
20173 Richard Sandiford <richard@codesourcery.com>
20175 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
20176 (swap_endianness_p): New extern variable.
20177 (set_big_endian): New inline function.
20178 (maybe_swap_uint32): Likewise.
20179 (maybe_swap_uint32_array): Likewise.
20180 (maybe_swap_uint32_obstack): Likewise.
20181 * locale/programs/locfile.c: Include <stdbool.h>.
20182 (swap_endianness_p): New variable.
20183 (add_locale_uint32): Call maybe_swap_uint32.
20184 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
20185 (write_locale_data): Call maybe_swap_uint32_array.
20186 * locale/programs/ld-collate.c (obstack_int32_grow): Call
20188 (obstack_int32_grow_fast): Likewise.
20189 (output_weightwc): Call maybe_swap_uint32_obstack.
20190 (collate_output): Likewise.
20191 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
20192 (OPT_LITTLE_ENDIAN): Likewise.
20193 (options): Add --little-endian and --big-endian options.
20194 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
20195 * locale/programs/locarchive.c: Include "locfile.h".
20199 (create_archive): Use the new macros to access fields of
20200 structures directly mapped from or written to locale archives.
20201 (oldlocrecentcmp): Likewise.
20202 (enlarge_archive): Likewise.
20203 (insert_name): Likewise.
20204 (add_alias): Likewise.
20205 (add_locale): Likewise.
20206 (delete_locales_from_archive): Likewise.
20207 (show_archive_content): Likewise.
20208 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
20211 2013-09-24 Roland McGrath <roland@hack.frob.com>
20213 * manual/freemanuals.texi: Updated from (newly) canonical copy at
20214 http://www.gnu.org/doc/freemanuals.texi.
20215 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
20217 2013-09-24 Will Newton <will.newton@linaro.org>
20219 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
20222 2013-09-23 Joseph Myers <joseph@codesourcery.com>
20224 * locale/hashval.h (compute_hashval): Interpret bytes of key as
20227 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
20229 * manual/threads.texi (POSIX Threads): Fix a typo.
20231 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20234 * string/tst-strcoll-overflow.c: New test case.
20235 * string/Makefile (xtests): Add tst-strcoll-overflow.
20236 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
20237 cache if string sizes may cause integer overflow.
20240 * string/strcoll_l.c (coll_seq): New members rule, idx,
20241 save_idx and back_us.
20242 (get_next_seq_nocache): New function.
20243 (do_compare_nocache): New function.
20244 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
20247 2013-09-23 Carlos O'Donell <carlos@redhat.com>
20250 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
20251 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
20252 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
20255 * elf/Makefile (tests): Add tst-ptrguard1.
20256 (tests-static): Add tst-ptrguard1-static.
20257 (tst-ptrguard1-ARGS): Define.
20258 (tst-ptrguard1-static-ARGS): Define.
20259 * elf/tst-ptrguard1.c: New file.
20260 * elf/tst-ptrguard1-static.c: New file.
20261 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
20262 * sysdeps/i386/stackguard-macros.h: Likewise.
20263 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20264 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20265 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20266 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20267 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20268 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20270 2013-09-23 Hector Marco <hecmargi@upv.es>
20271 Ismael Ripoll <iripoll@disca.upv.es>
20272 Carlos O'Donell <carlos@redhat.com>
20275 * sysdeps/generic/stackguard-macros.h: Define
20276 __pointer_chk_guard_local and POINTER_CHK_GUARD.
20277 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
20278 Define __pointer_chk_guard_local.
20279 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
20280 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
20282 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
20285 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
20287 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
20289 * include/string.h (__ffs): Declare as hidden.
20290 * string/ffs.c (__ffs): Define as hidden.
20291 * sysdeps/i386/ffs.c (__ffs): Likewise.
20292 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20293 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
20294 * sysdeps/s390/ffs.c (__ffs): Likewise.
20295 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
20297 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
20299 * NEWS: Mention malloc probes.
20301 * malloc/arena.c (new_heap): New memory_heap_new probe.
20302 (grow_heap): New memory_heap_more probe.
20303 (shrink_heap): New memory_heap_less probe.
20304 (heap_trim): New memory_heap_free probe.
20305 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
20306 (systrim): New memory_sbrk_less probe.
20307 * manual/probes.texi: Document them.
20309 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
20310 * manual/probes.texi: Document it.
20312 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
20313 (__libc_realloc): Add memory_realloc_retry probe.
20314 (__libc_memalign): Add memory_memalign_retry probe.
20315 (__libc_valloc): Add memory_valloc_retry probe.
20316 (__libc_pvalloc): Add memory_pvalloc_retry probe.
20317 (__libc_calloc): Add memory_calloc_retry probe.
20318 * manual/probes.texi: Document them.
20320 * malloc/arena.c (get_free_list): Add probe
20321 memory_arena_reuse_free_list.
20322 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
20323 and memory_arena_reuse.
20324 (arena_get2) [!PER_THREAD]: Likewise.
20325 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
20326 memory_arena_reuse_realloc.
20327 * manual/probes.texi: Document them.
20329 * malloc/malloc.c (__libc_free): Add
20330 memory_mallopt_free_dyn_thresholds probe.
20331 (__libc_mallopt): Add multiple memory_mallopt probes.
20332 * manual/probes.texi: Document them.
20334 * malloc/malloc.c: Include stap-probe.h.
20335 (__libc_mallopt): Add memory_mallopt probe.
20336 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
20337 * manual/probes.texi: New.
20338 * manual/Makefile (chapters): Add probes.
20339 * manual/threads.texi: Set next node.
20341 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
20343 [BZ #15963, #13985]
20344 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
20345 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
20346 Add `Chinese' to `nan' entry name.
20348 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20350 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
20351 (POLYNOMIAL): Likewise.
20352 (TAYLOR_SINCOS): Likewise.
20353 (TAYLOR_SLOW): Likewise.
20354 (__sin): Use TAYLOR_SINCOS.
20356 (slow): Use TAYLOR_SLOW.
20358 (bsloww): Likewise.
20359 (csloww): Likewise.
20361 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20363 * stdlib/strtod_l.c: Fix buffer overrun.
20365 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20367 * benchtests/Makefile (bench): Add sincos.
20368 * benchtests/bench-sincos.c: New file.
20370 * math/libm-test.inc (cos_test_data): New test inputs.
20371 (sin_test_data): Likewise.
20373 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
20379 (sloww1): Likewise.
20380 (sloww2): Likewise.
20381 (bsloww1): Likewise.
20382 (bsloww2): Likewise.
20383 (cslow2): Likewise.
20384 (csloww1): Likewise.
20385 (csloww2): Likewise.
20387 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
20392 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
20396 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
20398 * config.h.in (HAVE_MIPS_NAN2008): New macro.
20399 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
20400 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
20401 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
20402 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
20403 * elf/cache.c (print_entry): Handle the new cache flags.
20405 2013-09-18 Joseph Myers <joseph@codesourcery.com>
20406 Aldy Hernandez <aldyh@redhat.com>
20408 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
20409 Change condition to [_SOFT_FLOAT].
20410 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
20411 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
20412 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
20413 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
20414 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
20415 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
20416 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
20417 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
20418 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
20419 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
20420 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
20421 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
20422 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
20423 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
20424 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
20425 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
20428 2013-09-18 Joseph Myers <joseph@codesourcery.com>
20430 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
20431 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20432 (__longjmp): Use LOAD_GP to load saved GPRs.
20433 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
20434 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20435 (__sigsetjmp): Use SAVE_GP to save GPRs.
20437 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
20438 Do not append -msoft-float.
20439 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
20441 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20443 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
20445 2013-09-17 Joseph Myers <joseph@codesourcery.com>
20448 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
20449 (_FPU_GETCW): Use initial "__" on variable and field names but not
20450 on macro parameter name.
20451 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
20452 parentheses around reference to macro parameter.
20454 2013-09-13 Richard Sandiford <richard@codesourcery.com>
20456 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
20458 (ctype_startup): Use uint32_t in cast and sizeof for
20461 2013-09-11 Jia Liu <proljc@gmail.com>
20463 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
20465 [__FreeBSD__]: Likewise.
20467 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
20469 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20470 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
20471 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
20472 (strchr): Remove __strchr_sse42 ifunc selection.
20473 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
20474 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
20476 2013-09-11 Will Newton <will.newton@linaro.org>
20478 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
20479 parameter to RES. Remove hardcoded 1000 value.
20480 * benchtests/bench-skeleton.c (main): Pass RES parameter
20481 to TIMING_INIT and multiply result by 1000.
20483 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20487 2013-09-11 Andreas Schwab <schwab@suse.de>
20489 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20491 (O_TMPFILE) [__USE_GNU]: Define.
20492 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
20495 2013-09-11 Will Newton <will.newton@linaro.org>
20498 * malloc/malloc.c (__libc_memalign): Check the value of bytes
20501 2013-09-11 Will Newton <will.newton@linaro.org>
20504 * malloc/malloc.c (__libc_valloc): Check the value of bytes
20507 2013-09-11 Will Newton <will.newton@linaro.org>
20510 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
20513 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
20515 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
20516 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20517 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20518 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20519 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20521 2013-09-10 Allan McRae <allan@archlinux.org>
20524 * manual/arith.texi (Parsing of Floats): Clarify
20528 * manual/install.texi (Running make install): Mention
20530 * INSTALL: Regenerated.
20532 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20534 * csu/init-first.c (_init): Remove the !SHARED condition around
20535 FPU control word initialization.
20536 * elf/dl-support.c (_dl_fpu_control): New variable.
20537 (_dl_aux_init) <AT_FPUCW>: Initialize it.
20538 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
20539 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
20540 * math/test-fpucw-static.c: New file.
20541 * math/test-fpucw-ieee.c: New file.
20542 * math/test-fpucw-ieee-static.c: New file.
20543 * math/Makefile (tests): Add `test-fpucw-ieee' and
20545 (tests-static): New variable.
20546 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
20548 [($(build-shared),yes)]
20549 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20551 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
20554 2013-09-09 Allan McRae <allan@archlinux.org>
20557 * manual/string.texi (Collation Functions): Fix typo in
20559 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
20562 * stdlib/isomac.c (get_null_defines): Fix memory leak.
20565 * libio/memstream.c (open_memstream): Fix memory leak.
20566 * libio/wmemstream.c (open_wmemstream): Likewise.
20569 * nscd/netgroupcache.c: Fix nesting of ifdefs.
20571 2013-09-09 Will Newton <will.newton@linaro.org>
20573 * malloc/Makefile: Add tst-realloc to tests.
20574 * malloc/tst-realloc.c: New file.
20576 2013-09-09 Allan McRae <allan@archlinux.org>
20579 * COPYING: Update from GNU website to fix FSF address.
20580 * COPYING.LIB: Likewise.
20582 2013-09-06 David S. Miller <davem@davemloft.net>
20584 * po/zh_TW.po: Update Chinese (traditional) translation from
20585 translation project.
20587 2013-09-06 Richard Sandiford <richard@codesourcery.com>
20588 Joseph Myers <joseph@codesourcery.com>
20590 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
20592 (obstack_chunk_alloc): New macro.
20593 (obstack_chunk_free): Likewise.
20594 (record_offset): New function.
20595 (init_locale_data): Likewise.
20596 (align_locale_data): Likewise.
20597 (add_locale_empty): Likewise.
20598 (add_locale_raw_data): Likewise.
20599 (add_locale_raw_obstack): Likewise.
20600 (add_locale_string): Likewise.
20601 (add_locale_wstring): Likewise.
20602 (add_locale_uint32): Likewise.
20603 (add_locale_uint32_array): Likewise.
20604 (add_locale_char): Likewise.
20605 (start_locale_structure): Likewise.
20606 (end_locale_structure): Likewise.
20607 (start_locale_prelude): Likewise.
20608 (end_locale_prelude): Likewise.
20609 (write_locale_data): Take locale_file structure rather than an
20611 * locale/programs/locfile.h: Include "obstack.h".
20612 (struct locale_file): Change to store locale file contents instead
20614 (init_locale_data): New prototype.
20615 (align_locale_data): Likewise.
20616 (add_locale_empty): Likewise.
20617 (add_locale_raw_data): Likewise.
20618 (add_locale_raw_obstack): Likewise.
20619 (add_locale_string): Likewise.
20620 (add_locale_wstring): Likewise.
20621 (add_locale_uint32): Likewise.
20622 (add_locale_uint32_array): Likewise.
20623 (add_locale_char): Likewise.
20624 (start_locale_structure): Likewise.
20625 (end_locale_structure): Likewise.
20626 (start_locale_prelude): Likewise.
20627 (end_locale_prelude): Likewise.
20628 (write_locale_data): Update prototype.
20629 * locale/programs/3level.h (struct TABLE): Remove result field.
20630 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
20631 Use new locale_file interface.
20632 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
20633 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
20634 * locale/programs/ld-address.c (address_output): Use new
20635 locale_file interface.
20636 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
20638 (collate_finish): Don't call collseq_table_finalize.
20639 (collate_output): Use new locale_file interface.
20640 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
20642 (NO_FINALIZE): Change to NO_ADD_LOCALE.
20643 (TABLE): Move defines earlier in file.
20644 (ELEMENT): Likewise.
20645 (DEFAULT): Likewise.
20646 (wctrans_table_add): Move macro and inline function earlier in
20648 (struct wctype_table): Move type earlier in file.
20649 (add_locale_wctype_table): New static prototype.
20650 (struct locale_ctype_t): Use logical types instead of struct iovec
20651 pointers for members.
20652 (ctype_output): Use new locale_file interface.
20653 (wctype_table_finalize): Change to add_locale_wctype_table. Use
20654 new locale_file interface.
20655 (allocate_arrays): Update for use of new locale_file interface.
20656 * locale/programs/ld-identification.c (identification_output): Use
20657 new locale_file interface.
20658 * locale/programs/ld-measurement.c (measurement_output): Likewise.
20659 * locale/programs/ld-messages.c (messages_output): Likewise.
20660 * locale/programs/ld-monetary.c (monetary_output): Likewise.
20661 * locale/programs/ld-name.c (name_output): Likewise.
20662 * locale/programs/ld-numeric.c (numeric_output): Likewise.
20663 * locale/programs/ld-paper.c (paper_output): Likewise.
20664 * locale/programs/ld-telephone.c (telephone_output): Likewise.
20665 * locale/programs/ld-time.c (time_output): Likewise.
20667 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20669 * benchtests/Makefile: Add memrchr benchmark.
20670 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
20671 benchmark as memrchr.
20672 * benchtests/bench-memrchr-ifunc.c: New file.
20673 * benchtests/bench-memrchr.c: New file.
20675 2013-09-06 Will Newton <will.newton@linaro.org>
20677 * benchtests/Makefile (string-bench): Add memcpy.
20679 2013-09-05 Carlos O'Donell <carlos@redhat.com>
20680 Cong Wang <amwang@redhat.com>
20683 * sysdeps/unix/sysv/linux/bits/in.h
20684 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
20685 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
20686 before __USE_KERNEL_IPV6_DEFS uses.
20687 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
20689 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
20690 sockaddr_in6, or ipv6_mreq.
20692 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20694 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
20695 memory access for final bytes in some large inputs.
20696 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
20698 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20700 * string/test-memrchr.c: New file.
20701 * string/test-memrchr-ifunc.c: New file.
20702 * string/Makefile: Add new memrchr testcase.
20704 2013-09-05 Mike Frysinger <vapier@gentoo.org>
20706 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
20707 fanotify_init returns EPERM.
20709 2013-09-04 Joseph Myers <joseph@codesourcery.com>
20711 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
20713 (top level): Treat second token from macro or constant entries for
20714 allowed headers as allowed.
20715 * include/complex.h: Condition internal declarations on
20717 * include/fenv.h: Condition include of <stdbool.h> and internal
20718 declarations on [!_ISOMAC].
20720 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
20723 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
20725 2013-09-04 Joseph Myers <joseph@codesourcery.com>
20727 * configure.in (--enable-versioning): Remove configure option.
20728 (libc_cv_asm_symver_directive): Remove configure test.
20729 (libc_cv_ld_version_script_option): Likewise.
20730 (VERSIONING): Remove variable and AC_SUBST.
20731 (DO_VERSIONING): Remove AC_DEFINE.
20732 * configure: Regenerated.
20733 * config.h.in (DO_VERSIONING): Remove macro.
20734 * Makerules [$(versioning) = yes]: Change conditionals to
20735 [$(build-shared) = yes].
20736 * config.make.in (versioning): Remove variable.
20737 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
20738 [$(build-shared) = yes].
20739 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
20740 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
20741 * elf/Makefile [$(versioning) = yes]: Change conditionals to
20742 [$(build-shared) = yes].
20743 * extra-lib.mk [$(versioning) = yes]: Likewise.
20744 * hurd/Makefile [$(versioning) = yes]: Likewise.
20745 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
20747 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
20749 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20750 [SHARED && !NO_HIDDEN].
20751 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
20753 [SHARED && DO_VERSIONING]: Likewise..
20754 * libio/Makefile [$(versioning) = yes]: Change conditionals to
20755 [$(build-shared) = yes].
20756 * manual/install.texi (--disable-versioning): Remove
20758 * INSTALL: Regenerated.
20759 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
20761 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
20762 [$(build-shared) = yes].
20763 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
20764 * sysdeps/i386/i686/multiarch/strstr-c.c
20765 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20766 [SHARED && !NO_HIDDEN].
20767 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
20768 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
20769 * sysdeps/powerpc/powerpc32/dl-machine.c
20770 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
20771 * sysdeps/powerpc/powerpc32/sysdep.h
20772 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
20773 to [SHARED && PIC && !NO_HIDDEN].
20774 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
20775 conditional to [SHARED].
20777 2013-09-04 Will Newton <will.newton@linaro.org>
20779 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
20780 * benchtests/bench-string.h: Include bench-timing.h instead
20781 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
20782 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
20783 call to HP_TIMING_DIFF_INIT.
20784 * benchtests/bench-memccpy.c: Use bench-timing.h macros
20785 instead of hp-timing.h macros.
20786 * benchtests/bench-memchr.c: Likewise.
20787 * benchtests/bench-memcmp.c: Likewise.
20788 * benchtests/bench-memcpy.c: Likewise.
20789 * benchtests/bench-memmem.c: Likewise.
20790 * benchtests/bench-memmove.c: Likewise.
20791 * benchtests/bench-memset.c: Likewise.
20792 * benchtests/bench-rawmemchr.c: Likewise.
20793 * benchtests/bench-strcasecmp.c: Likewise.
20794 * benchtests/bench-strcasestr.c: Likewise.
20795 * benchtests/bench-strcat.c: Likewise.
20796 * benchtests/bench-strchr.c: Likewise.
20797 * benchtests/bench-strcmp.c: Likewise.
20798 * benchtests/bench-strcpy.c: Likewise.
20799 * benchtests/bench-strcpy_chk.c: Likewise.
20800 * benchtests/bench-strlen.c: Likewise.
20801 * benchtests/bench-strncasecmp.c: Likewise.
20802 * benchtests/bench-strncat.c: Likewise.
20803 * benchtests/bench-strncmp.c: Likewise.
20804 * benchtests/bench-strncpy.c: Likewise.
20805 * benchtests/bench-strnlen.c: Likewise.
20806 * benchtests/bench-strpbrk.c: Likewise.
20807 * benchtests/bench-strrchr.c: Likewise.
20808 * benchtests/bench-strspn.c: Likewise.
20809 * benchtests/bench-strstr.c: Likewise.
20811 2013-09-04 Will Newton <will.newton@linaro.org>
20813 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
20815 2013-09-03 Joseph Myers <joseph@codesourcery.com>
20818 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20819 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
20820 * math/libm-test.inc (lgamma_test_data): Add more tests.
20821 * sysdeps/i386/fpu/libm-test-ulps: Update.
20822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20824 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
20826 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
20827 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20829 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20830 Add strcmp-sse2-unaligned
20831 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
20833 2013-09-02 Mike Frysinger <vapier@gentoo.org>
20835 * Versions.def (libc): Add GLIBC_2.19.
20837 2013-09-02 Mike Frysinger <vapier@gentoo.org>
20839 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
20840 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
20842 2013-09-02 Joseph Myers <joseph@codesourcery.com>
20845 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
20846 intermediate calculations in recurrence.
20847 (__ieee754_ynf): Likewise.
20848 * math/libm-test.inc (jn_test_data): Do not allow spurious
20849 underflow exception. Add more tests.
20850 (yn_test_data): Add more tests.
20851 * sysdeps/i386/fpu/libm-test-ulps: Update.
20852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20854 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
20856 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
20858 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
20860 * csu/init-first.c: Fix then/than typos.
20861 * locale/programs/ld-collate.c: Likewise.
20862 * locale/programs/linereader.h: Likewise.
20863 * manual/charset.texi: Likewise.
20864 * manual/filesys.texi: Likewise.
20865 * manual/stdio.texi: Likewise.
20866 * manual/string.texi: Likewise.
20867 * stdlib/fmtmsg.c: Likewise.
20868 * sysdeps/i386/stpncpy.S: Likewise.
20869 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20870 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20871 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20872 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20874 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
20876 * elf/dl-open.c: Fix typos.
20877 * iconvdata/gbbig5.c: Likewise.
20878 * iconvdata/iso-2022-jp.c: Likewise.
20879 * iconv/gconv_int.h: Likewise.
20880 * iconv/loop.c: Likewise.
20881 * nis/rpcsvc/nis.h: Likewise.
20882 * resolv/ns_name.c: Likewise.
20883 * stdio-common/vfscanf.c: Likewise.
20884 * streams/stropts.h: Likewise.
20885 * sunrpc/rpc_thread.c: Likewise.
20886 * sysdeps/i386/strpbrk.S: Likewise.
20887 * sysdeps/ieee754/k_standard.c: Likewise.
20888 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20889 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20890 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
20891 * sysdeps/mach/hurd/profil.c: Likewise.
20892 * sysdeps/s390/dl-procinfo.h: Likewise.
20893 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
20894 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20895 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
20896 * sysdeps/x86_64/dl-trampoline.S: Likewise.
20897 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20899 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
20901 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
20902 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
20904 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
20906 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
20907 aix specific files.
20908 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
20909 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
20910 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
20911 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
20912 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
20913 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
20914 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
20915 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
20917 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20918 Roland McGrath <roland@hack.frob.com>
20920 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
20921 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20923 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20925 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
20926 __executable_start symbol instead of _start.
20928 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20930 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
20931 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
20933 * sysdeps/gnu/ldsodefs.h: ... this new file.
20935 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
20936 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
20937 instead of ELFOSABI_LINUX.
20939 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
20940 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
20941 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
20942 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
20944 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
20945 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
20946 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
20948 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20949 (ibm_extended_long_double): Add ieee_nan member.
20950 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
20951 (do_test): New function.
20953 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20955 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
20956 functions, renamed from truncdfsf_test, trunctfsf_test,
20958 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20960 (do_test): Run all these.
20962 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
20964 * argp/argp-help.c: Fix typos.
20965 * argp/argp-parse.c: Likewise.
20966 * debug/backtracesyms.c: Likewise.
20967 * elf/elf.h: Likewise.
20968 * malloc/malloc.c: Likewise.
20969 * nis/nis_print.c: Likewise.
20970 * resolv/res_comp.c: Likewise.
20971 * stdlib/stdlib.h: Likewise.
20972 * sunrpc/clnt_tcp.c: Likewise.
20973 * sunrpc/clnt_udp.c: Likewise.
20974 * sunrpc/clnt_unix.c: Likewise.
20975 * sysdeps/unix/bsd/ptsname.c: Likewise.
20976 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20977 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
20978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
20980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
20982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20984 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20986 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20988 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
20989 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20991 2013-08-27 Mike Frysinger <vapier@gentoo.org>
20994 * dlfcn/Makefile (tests): Add bug-dl-leaf.
20995 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
20996 ($(objpfx)bug-dl-leaf): New rule.
20997 ($(objpfx)bug-dl-leaf.so): Likewise.
20998 ($(objpfx)bug-dl-leaf.out): Likewise.
20999 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
21000 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
21001 * dlfcn/bug-dl-leaf.c: New test.
21002 * dlfcn/bug-dl-leaf-lib.c: Likewise.
21003 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
21004 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
21005 (dlclose): Likewise.
21006 (dlmopen): Likewise.
21008 2013-08-27 Roland McGrath <roland@hack.frob.com>
21010 * include/netdb.h [!_ISOMAC]:
21011 Don't include <tls.h>.
21012 (h_errno, __libc_h_errno): Move declaration and macros out of
21015 * include/resolv.h [_RESOLV_H_]:
21016 Don't include <tls.h>.
21017 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
21018 * resolv/res_libc.c: Don't include <tls.h>.
21019 (_res): Use __attribute__ ((nocommon)) in place of
21020 __attribute__ ((section (".bss"))).
21022 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21023 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21025 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
21027 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
21028 only under [SIOCGIFCONF && SIOCGIFNETMASK].
21030 * resolv/res_mkquery.c: Include <sys/time.h>.
21032 * inet/ifreq.c: Moved to ...
21033 * sysdeps/unix/ifreq.c: ... here.
21034 * inet/ifreq.c: New file, true stub version.
21036 * socket/sa_len.c: New file.
21037 * socket/Makefile (aux): Add it.
21038 * sysdeps/unix/sysv/linux/Makefile
21039 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
21040 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
21041 and #include <socket/sa_len.c>.
21042 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
21043 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
21045 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
21046 * bits/socket.h: ... here.
21048 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
21049 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21050 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
21052 2013-08-27 Andreas Schwab <schwab@suse.de>
21055 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
21056 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
21057 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
21058 * string/test-strcasecmp.c (test_main): Run tests in several
21060 * string/test-strncasecmp.c (test_main): Likewise.
21062 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
21063 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21064 to __strcasecmp_nonascii and __strncasecmp_nonascii.
21065 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21066 (__strncasecmp_ssse3) [PIC]: Likewise.
21068 2013-08-26 Roland McGrath <roland@hack.frob.com>
21070 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21072 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21073 instead of explicitly declaring xdecrypt.
21074 * nis/nss_nis/nis-publickey.c: Likewise.
21076 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21079 * nscd/aicache.c: Include res_hconf.h.
21080 (addhstaiX): Initialize res_hconf.
21082 2013-08-26 Andreas Schwab <schwab@suse.de>
21084 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21085 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21087 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21089 * nscd/aicache.c (addhstaiX): Fix indentation.
21091 2013-08-25 Mike Frysinger <vapier@gentoo.org>
21093 * configure.ac: Quote $build_pt_chown test.
21094 * configure: Regenerated.
21096 2013-08-23 Joseph Myers <joseph@codesourcery.com>
21099 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21100 * math/s_cexpf.c (__cexpf): Likewise.
21101 * math/s_cexpl.c (__cexpl): Likewise.
21102 * math/libm-test.inc (cexp_test_data): Correct expected return
21103 value for NaN + i0. Add another test.
21105 2013-08-22 David S. Miller <davem@davemloft.net>
21107 * po/ca.po: Update Catalan translation from translation project.
21108 * po/uk.po: Add Ukrainian translations from translation project.
21110 2013-08-21 Joseph Myers <joseph@codesourcery.com>
21113 * math/s_fdim.c (__fdim): Check for infinite arguments if result
21114 is infinite, not alongside NaN test.
21115 * math/s_fdimf.c (__fdimf): Likewise.
21116 * math/s_fdiml.c (__fdiml): Likewise.
21117 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
21118 errno is unchanged.
21120 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
21122 * argp/argp-help.c: Fix typos.
21123 * crypt/speeds.c: Likewise.
21124 * csu/check_fds.c: Likewise.
21125 * elf/dl-load.c: Likewise.
21126 * elf/dl-open.c: Likewise.
21127 * elf/reldep3.c: Likewise.
21128 * elf/reldep.c: Likewise.
21129 * elf/sprof.c: Likewise.
21130 * iconv/iconv_charmap.c: Likewise.
21131 * iconv/skeleton.c: Likewise.
21132 * iconv/strtab.c: Likewise.
21133 * io/lockf64.c: Likewise.
21134 * libio/libioP.h: Likewise.
21135 * resolv/gai_notify.c: Likewise.
21136 * resolv/ns_name.c: Likewise.
21137 * resolv/ns_samedomain.c: Likewise.
21138 * resolv/res_send.c: Likewise.
21139 * stdlib/random.c: Likewise.
21140 * sunrpc/rpc/xdr.h: Likewise.
21141 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
21142 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21143 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21144 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21145 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21146 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21147 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21148 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21149 * sysdeps/mach/hurd/check_fds.c: Likewise.
21150 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21151 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21152 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21153 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21154 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21155 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21156 * sysdeps/pthread/aio_notify.c: Likewise.
21157 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
21158 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
21159 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
21160 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21161 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21163 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21165 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
21166 version if bit_Slow_SSE4_2 is set.
21167 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21168 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21170 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21173 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
21174 trampoline stack frame information.
21175 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
21176 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
21177 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
21178 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
21179 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
21180 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21181 (_libc_vdso_platform_setup): Initialize the signal trampolines.
21182 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21184 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
21185 interrupting a syscall and set with option SA_SIGINFO.
21187 2013-08-20 Joseph Myers <joseph@codesourcery.com>
21190 * math/s_cproj.c (__cproj): Only return an infinity if one part of
21191 argument is infinite.
21192 * math/s_cprojf.c (__cprojf): Likewise.
21193 * math/s_cprojl.c (__cprojl): Likewise.
21194 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
21195 * math/libm-test.inc (cproj_test_data): Add more tests.
21197 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
21199 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
21200 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
21201 size. Use __ffs to determine corresponding shift.
21203 2013-08-20 Joseph Myers <joseph@codesourcery.com>
21204 Roland McGrath <roland@hack.frob.com>
21206 * Makefile (INSTALL): Remove trailing blank lines from output of
21209 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21211 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
21212 Align 32 bit compat elf_greg to 8 bytes.
21214 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
21216 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
21218 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21220 * string/strcoll_l.c (coll_seq): New structure.
21221 (get_next_seq_cached): New function.
21222 (get_next_seq): New function.
21223 (do_compare): New function.
21224 (STRCOLL): Use GNU style definition. Simplify implementation
21225 by using get_next_seq, get_next_seq_cached and do_compare.
21227 2013-08-16 Florian Weimer <fweimer@redhat.com>
21231 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
21233 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
21235 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
21236 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
21237 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
21239 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
21240 GETDENTS_64BIT_ALIGNED.
21241 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21242 * manual/filesys.texi (Reading/Closing Directory): Document
21243 ENAMETOOLONG return value of readdir_r. Recommend readdir more
21245 * manual/conf.texi (Limits for Files): Add portability note to
21246 NAME_MAX, PATH_MAX.
21247 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
21249 2013-08-13 Andreas Schwab <schwab@suse.de>
21252 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
21254 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
21255 LDBL_MAX_EXP >= 16384]: Add tests for it.
21257 2013-08-12 David S. Miller <davem@davemloft.net>
21259 * version.h (RELEASE): Set to "development".
21260 (VERSION): Set to "2.18.90".
21261 * NEWS: Add 2.19 section.
21263 2013-08-03 David S. Miller <davem@davemloft.net>
21265 * po/ko.po: Update Korean translation from translation project.
21267 2013-08-01 David S. Miller <davem@davemloft.net>
21269 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
21270 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
21273 2013-07-30 David S. Miller <davem@davemloft.net>
21275 * po/fr.po: Update French translation from translation project.
21277 2013-07-28 David S. Miller <davem@davemloft.net>
21279 * po/cs.po: Update Czech translation from translation project.
21281 * po/sv.po: Update Swedish translation from translation project.
21283 2013-07-27 David S. Miller <davem@davemloft.net>
21285 * po/eo.po: Update Esperanto translation from translation project.
21287 * po/vi.po: Update Vietnamese translation from translation project.
21289 * po/de.po: Update German translation from translation project.
21291 2013-07-26 David S. Miller <davem@davemloft.net>
21293 * po/bg.po: Update Bulgarian translation from translation project.
21295 * po/nl.po: Update Dutch translation from translation project.
21296 * po/pl.po: Update Polish translation from translation project.
21297 * po/ru.po: Update Russian translation from translation project.
21299 2013-07-24 David S. Miller <davem@davemloft.net>
21301 * po/libc.pot: Update.
21303 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21305 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
21306 variable page size.
21307 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
21308 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
21309 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
21311 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21313 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
21315 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21316 Andreas Schwab <schwab@suse.de>
21317 Roland McGrath <roland@hack.frob.com>
21318 Joseph Myers <joseph@codesourcery.com>
21319 Carlos O'Donell <carlos@redhat.com>
21322 * config.h.in: Define HAVE_PT_CHOWN.
21323 * config.make.in (build-pt-chown): New variable.
21324 * configure.in (--enable-pt_chown): New configure option.
21325 * configure: Regenerate.
21326 * login/Makefile: Include Makeconfig. Build pt_chown only if
21327 build-pt-chown is enabled.
21328 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
21329 pt_chown to fix pty ownership.
21330 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
21332 * manual/install.texi (Configuring and compiling): Mention
21333 --enable-pt_chown. Add @findex for grantpt.
21334 * INSTALL: Regenerate.
21336 2013-07-20 David S. Miller <davem@davemloft.net>
21338 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
21339 difference between 32-bit and 64-bit.
21341 2013-07-15 Carlos O'Donell <carlos@redhat.com>
21344 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
21345 Avoid system header dependency with -ffreestanding.
21346 ($(objpfx)bits/syscall%d): Likewise.
21348 2013-07-13 David S. Miller <davem@davemloft.net>
21350 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
21351 underflows from atanl/atan2l due to bug 15319.
21352 (casinh_test_data): Likewise.
21354 2013-07-07 David S. Miller <davem@davemloft.net>
21356 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21358 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
21360 * sysdeps/i386/fpu/libm-test-ulps: Update.
21361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21363 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21365 * configure.in (--enable-lock-elision): Fix message text.
21366 * INSTALL: Regenerate.
21367 * configure: Regenerate.
21369 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21373 2013-07-03 Andreas Jaeger <aj@suse.de>
21375 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
21377 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
21378 (ptrace_peeksiginfo_args): Add.
21379 (__ptrace_peeksiginfo_flags): Add.
21380 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21381 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21382 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21384 2013-07-03 Allan McRae <allan@archlinux.org>
21386 * sysdeps/i386/fpu/libm-test-ulps: Update.
21388 2013-07-02 David S. Miller <davem@davemloft.net>
21390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21392 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
21394 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21396 2013-07-02 Joseph Myers <joseph@codesourcery.com>
21398 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21401 2013-07-02 Andi Kleen <ak@linux.intel.com>
21403 * config.h.in (ENABLE_LOCK_ELISION): Add.
21404 * configure.in (--enable-lock-elision): Add option.
21405 * manual/install.texi: Document --enable lock elision.
21406 * configure: Regenerate
21407 * INSTALL: Regenerate.
21409 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
21411 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
21412 SSE4.2 strcasecmp for libc.a.
21413 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21415 2013-07-02 Joseph Myers <joseph@codesourcery.com>
21418 * soft-fp/op-common.h (_FP_FMA): New macro.
21419 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
21420 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
21421 (_FP_MUL_MEAT_1_imm): ... here.
21422 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
21423 (_FP_MUL_MEAT_1_wide): ... here.
21424 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
21425 (_FP_MUL_MEAT_1_hard): ... here.
21426 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
21427 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
21428 (_FP_MUL_MEAT_2_wide): ... here.
21429 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
21430 (_FP_MUL_MEAT_2_wide_3mul): ... here.
21431 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
21432 (_FP_MUL_MEAT_2_gmp): ... here.
21433 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
21434 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
21435 (_FP_MUL_MEAT_4_wide): ... here.
21436 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
21437 (_FP_MUL_MEAT_4_gmp): ... here.
21438 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
21439 (_FP_WFRACBITS_DW_S): Likewise.
21440 (_FP_WFRACXBITS_DW_S): Likewise.
21441 (_FP_HIGHBIT_DW_S): Likewise.
21442 (FP_FMA_S): Likewise.
21443 (_FP_FRAC_HIGH_DW_S): Likewise.
21444 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
21445 (_FP_WFRACBITS_DW_D): Likewise.
21446 (_FP_WFRACXBITS_DW_D): Likewise.
21447 (_FP_HIGHBIT_DW_D): Likewise.
21448 (FP_FMA_D): Likewise.
21449 (_FP_FRAC_HIGH_DW_D): Likewise.
21450 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
21451 (_FP_WFRACBITS_DW_E): Likewise.
21452 (_FP_WFRACXBITS_DW_E): Likewise.
21453 (_FP_HIGHBIT_DW_E): Likewise.
21454 (FP_FMA_E): Likewise.
21455 (_FP_FRAC_HIGH_DW_E): Likewise.
21456 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
21457 (_FP_WFRACBITS_DW_Q): Likewise.
21458 (_FP_WFRACXBITS_DW_Q): Likewise.
21459 (_FP_HIGHBIT_DW_Q): Likewise.
21460 (FP_FMA_Q): Likewise.
21461 (_FP_FRAC_HIGH_DW_Q): Likewise.
21462 * soft-fp/fmasf4.c: New file.
21463 * soft-fp/fmadf4.c: Likewise.
21464 * soft-fp/fmatf4.c: Likewise.
21466 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21468 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21469 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
21471 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
21473 (index_Slow_SSE4_2): Likewise.
21474 (index_Prefer_PMINUB_for_stringop): Likewise.
21475 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
21476 bit_Slow_SSE4_2 is set.
21477 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21478 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21480 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21482 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
21483 rtld_global._dl_hwcap2.
21484 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
21486 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
21487 POWER8 feature descriptions defined in _dl_hwcap2.
21488 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
21489 string handling for POWER8 feature bits.
21490 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
21491 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
21492 _dl_powerpc_cap_flags.
21493 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
21494 * sysdeps/powerpc/rtld-global-offsets.sym
21495 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
21496 _dl_hwcap2 in the rtld_global_ro structure.
21498 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21500 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
21501 hardware capabilities in support of AT_HWCAP2.
21502 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
21503 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
21505 (_dl_show_auxv): Add support for calling _dl_procinfo to display
21506 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
21507 explicitly the unknown a_type display mechanism is used.
21508 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
21509 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
21511 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
21512 to macro prototype for AT_HWCAP2 support.
21513 * sysdeps/i386/dl-procinfo.h: Likewise.
21514 * sysdeps/s390/dl-procinfo.h: Likewise.
21515 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
21516 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
21517 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
21518 return -1 for unknown a_type display fallback.
21519 * sysdeps/sparc/dl-procinfo.h: Likewise.
21520 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
21521 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
21523 2013-06-28 Joseph Myers <joseph@codesourcery.com>
21525 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
21526 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
21528 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
21531 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
21532 mprotect making __stack_prot writable.
21534 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
21535 Joseph Myers <joseph@codesourcery.com>
21537 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
21538 as being properly aligned.
21540 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
21542 * dlfcn/modstatic5.c: New file.
21543 * dlfcn/tststatic5.c: New file.
21544 * dlfcn/Makefile (tests): Add tststatic5.
21545 (tests-static): Likewise.
21546 (modules-names): Add modstatic5.
21547 (tststatic5-ENV): New variable.
21548 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
21551 * elf/dl-support.c (_dl_main_map): New variable.
21552 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
21553 (_dl_nns, _dl_load_adds): Set to 1.
21554 (_dl_initial_searchlist): Refer to _dl_main_map.
21555 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
21556 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
21557 call to _dl_get_origin.
21558 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
21560 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
21561 * dlfcn/modstatic3.c: New file.
21562 * dlfcn/tststatic3.c: New file.
21563 * dlfcn/tststatic4.c: New file.
21564 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
21565 (tests-static): Likewise.
21566 (modules-names): Add modstatic3.
21567 (tststatic3-ENV, tststatic4-ENV): New variables.
21568 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
21569 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
21571 2013-06-26 Joseph Myers <joseph@codesourcery.com>
21573 * configure.in (CC): Require GCC version 4.4 or later.
21574 * configure: Regenerated.
21575 * manual/install.texi (Tools for Compilation): Update GCC version
21577 * INSTALL: Regenerated.
21579 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21582 * string/test-memcmp.c (check2): New.
21583 (main): Call check2.
21585 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
21587 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
21590 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
21592 (dl_open_worker) [!SHARED]: ... here.
21594 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21596 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
21598 2013-06-25 Richard Henderson <rth@redhat.com>
21600 * locale/programs/locarchive.c: Include <libc-internal.h>
21602 2013-06-25 Joseph Myers <joseph@codesourcery.com>
21604 * manual/texinfo.tex: Update to version 2013-06-21.17, with
21605 trailing whitespace removed.
21607 2013-06-24 Mike Frysinger <vapier@gentoo.org>
21610 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
21611 * locale/programs/locarchive.c: Include libc-mmap.h.
21612 (prepare_address_space): Take two new outputs (the mmap base and len).
21613 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
21615 (create_archive): Declare new mmap base and len values for
21616 prepare_address_space, and store the result in ah.
21617 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
21618 (enlarge_archive): If ah->mmap_base is not NULL, use that and
21619 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21620 Declare new mmap base and len values for
21621 prepare_address_space, and store the result in new_ah.
21622 (open_archive): Declare new mmap base and len values for
21623 prepare_address_space, and store the result in ah.
21624 (close_archive): If ah->mmap_base is not NULL, use that and
21625 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21626 * sysdeps/generic/libc-mmap.h: New file.
21628 2013-06-24 Mike Frysinger <vapier@gentoo.org>
21630 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
21631 (ALIGN_UP): Likewise.
21632 (PTR_ALIGN_DOWN): Likewise.
21633 (PTR_ALIGN_UP): Likewise.
21635 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21637 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
21638 entry mapped to PPC_PLATFORM_POWER8.
21639 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
21641 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
21642 (_dl_string_platform): Add case for exporting platform position for
21644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
21645 search path to sysdeps/powerpc/powerpc32/power8 directory.
21646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
21647 search path to sysdeps/powerpc/powerpc64/power8 directory.
21648 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
21649 power7 directories.
21650 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
21651 power7 directories.
21653 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21655 * INSTALL: Regenerate.
21657 * nscd/connections.c (nscd_init): Fix comment.
21659 2013-06-22 Joseph Myers <joseph@codesourcery.com>
21661 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
21664 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
21665 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
21667 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
21669 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
21671 (DL_DST_REQ_STATIC): Remove macro.
21673 2013-06-21 Joseph Myers <joseph@codesourcery.com>
21676 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
21677 with a shift of 0 bits.
21679 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
21681 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
21684 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21687 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
21689 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21691 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
21692 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
21693 accepts -fno-tree-loop-distribute-patterns.
21694 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
21695 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
21697 * string/memset.c (memset): Likewise.
21698 * string/test-memmove.c (simple_memmove): Disable loop transformation
21700 * string/test-memset.c (simple_memset): Likewise.
21701 * benchtests/bench-memmove.c (simple_memmove): Likewise.
21702 * benchtests/bench-memset.c (simple_memset): Likewise.
21703 * configure: Regenerated.
21705 2013-06-20 Joseph Myers <joseph@codesourcery.com>
21707 * math/test-misc.c (main): Ignore fesetround failure when failures
21708 of subsequent rounding tests would be ignored.
21711 * math/fedisblxcpt.c (fedisableexcept): Return 0.
21712 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
21713 * math/fegetenv.c (__fegetenv): Return 0.
21714 * math/fegetexcept.c (fegetexcept): Return 0.
21715 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
21717 * math/feholdexcpt.c (feholdexcept): Return 0.
21718 * math/fesetenv.c (__fesetenv): Return 0.
21719 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
21720 argument FE_TONEAREST.
21721 * math/feupdateenv.c (__feupdateenv): Return 0.
21722 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
21724 2013-06-18 Roland McGrath <roland@hack.frob.com>
21726 * elf/rtld-Rules (rtld-compile-command.S): New variable.
21727 (rtld-compile-command.s, rtld-compile-command.c): New variables.
21728 ($(objpfx)rtld-%.os rules): Use them.
21730 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21732 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
21735 2013-06-17 Roland McGrath <roland@hack.frob.com>
21737 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
21738 length of target pattern, then descending length of dependency pattern.
21739 * configure.in (AWK): Require gawk 3.1.2 or newer.
21740 * manual/install.texi (Tools for Compilation): Say that we do.
21741 * configure: Regenerated.
21743 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
21744 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
21745 * scripts/sysd-rules.awk: ... this new script.
21746 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
21747 than a glob-style pattern.
21749 2013-06-17 Joseph Myers <joseph@codesourcery.com>
21751 * math/test-misc.c (main): Do not treat incorrectly rounded
21752 conversions as failure unless ROUNDING_TESTS passes.
21754 2013-06-15 Joseph Myers <joseph@codesourcery.com>
21757 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
21758 restore exception state around main square root computation, then
21759 check for inexactness explicitly.
21761 * math/libm-test.inc (fma_test_data): Add another test.
21763 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21765 * manual/threads.texi (Non-POSIX Extensions): New document
21766 node. Document pthread_getattr_default_np and
21767 pthread_setattr_default_np.
21769 * Versions.def (libpthread): Add GLIBC_2.18.
21770 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
21771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21779 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
21781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21783 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21787 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21790 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21792 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21793 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
21795 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21796 H.J. Lu <hjl.tools@gmail.com>
21799 * sysdeps/x86_64/rtld-memset.c: Remove file.
21800 * sysdeps/x86_64/rtld-memset.S: New file.
21802 2013-06-14 Joseph Myers <joseph@codesourcery.com>
21804 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
21805 (test_in_one_mode): Take arguments for whether the rounding mode
21806 is supported for each floating-point type.
21807 (do_test): Pass new arguments to test_in_one_mode using
21810 2013-06-13 Roland McGrath <roland@hack.frob.com>
21812 * posix/tst-waitid.c (do_test): Distinguish different instances of
21813 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
21814 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
21815 before entering the kernel for waitpid.
21817 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21819 * NEWS: Fix note on clock function precision. Text by Roland
21822 2013-06-13 Roland McGrath <roland@hack.frob.com>
21824 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
21825 it into place only when and if the sanity check passes.
21827 2013-06-13 Joseph Myers <joseph@codesourcery.com>
21829 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
21830 output for whether conversion result is exact. Take argument
21831 indicating whether type is IBM long double.
21832 (round_for_all): Change need_exact field to ibm_ld.
21833 * stdlib/tst-strtod-round.c (struct exactness): New type.
21834 (struct test): Change bool ld_ok field to struct exactness exact.
21835 (TEST): Update all definitions for change to field.
21836 (tests): Regenerate array contents.
21837 (test_in_one_mode): Take pointer to new field instead of old ld_ok
21838 field value. Check for IBM long double here.
21839 (do_test): Update calls to test_in_one_mode.
21841 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21844 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
21845 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
21847 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21850 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
21851 generated by the compiler on loop optimizations.
21852 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
21853 general definitions.
21855 2013-06-12 Joseph Myers <joseph@codesourcery.com>
21857 * math/bug-nextafter.c: Include <math-tests.h>.
21858 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21860 * math/bug-nexttoward.c: Include <math-tests.h>.
21861 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21863 * math/test-misc.c: Include <math-tests.h>.
21864 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21867 2013-06-12 Andreas Jaeger <aj@suse.de>
21869 * po/ia.po: Update Interlingua translation from translation
21872 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21874 * include/fenv.h: Include stdbool.h.
21875 (struct rm_ctx): New structure.
21876 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
21878 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
21879 (SET_RESTORE_ROUNDF): Likewise.
21880 (SET_RESTORE_ROUNDL): Likewise.
21881 (SET_RESTORE_ROUND_NOEX): Likewise.
21882 (SET_RESTORE_ROUND_NOEXF): Likewise.
21883 (SET_RESTORE_ROUND_NOEXL): Likewise.
21884 (SET_RESTORE_ROUND_53BIT): Likewise.
21885 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
21886 (libc_feresetround_noexf_ctx): Likewise.
21887 (libc_feresetround_noexl_ctx): Likewise.
21888 (libc_feholdsetround_53bit_ctx): Likewise.
21889 (libc_feresetround_53bit_ctx): Likewise.
21890 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
21891 (libc_feholdexcept_setround_sse_ctx): New function.
21892 (libc_fesetenv_sse_ctx): Likewise.
21893 (libc_feupdateenv_sse_ctx): Likewise.
21894 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
21895 (libc_feholdexcept_setround_387_ctx): Likewise.
21896 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
21897 (libc_feholdsetround_387_prec_ctx): Likewise.
21898 (libc_feholdsetround_387_ctx): Likewise.
21899 (libc_feholdsetround_387_53bit_ctx): Likewise.
21900 (libc_feholdsetround_sse_ctx): Likewise.
21901 (libc_feresetround_sse_ctx): Likewise.
21902 (libc_feresetround_387_ctx): Likewise.
21903 (libc_feupdateenv_387_ctx): Likewise.
21904 (libc_feholdexcept_setroundf_ctx): Define macro.
21905 (libc_fesetenvf_ctx): Likewise.
21906 (libc_feupdateenvf_ctx): Likewise.
21907 (libc_feholdsetroundf_ctx): Likewise.
21908 (libc_feresetroundf_ctx): Likewise.
21909 (libc_feholdexcept_setround_ctx): Likewise.
21910 (libc_fesetenv_ctx): Likewise.
21911 (libc_feupdateenv_ctx): Likewise.
21912 (libc_feholdsetround_ctx): Likewise.
21913 (libc_feresetround_ctx): Likewise.
21914 (libc_feholdexcept_setroundl_ctx): Likewise.
21915 (libc_feupdateenvl_ctx): Likewise.
21916 (libc_feholdsetroundl_ctx): Likewise.
21917 (libc_feresetroundl_ctx): Likewise.
21918 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
21919 (libc_feresetround_53bit_ctx): Likewise.
21921 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21923 * locale/iso-639.def: Convert to UTF-8.
21925 2013-06-11 Joseph Myers <joseph@codesourcery.com>
21927 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
21928 (EXCEPTION_TESTS_double): Likewise.
21929 (EXCEPTION_TESTS_long_double): Likewise.
21930 (EXCEPTION_TESTS): Likewise.
21931 * math/libm-test.inc (test_exceptions): Only test exceptions if
21932 EXCEPTION_TESTS (FLOAT).
21934 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21936 * benchtests/Makefile (string-bench): Add strcpy_chk and
21938 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
21939 * benchtests/bench-stpcpy_chk.c: New file.
21940 * benchtests/bench-strcpy_chk-ifunc.c: New file.
21941 * benchtests/bench-strcpy_chk.c: New file.
21942 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
21944 (do_test): Likewise.
21946 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21948 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
21949 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
21950 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
21951 with tabs where appropriate.
21952 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21954 [PPC_PLATFORM_PPC440]: Likewise.
21955 [PPC_PLATFORM_PPC464]: Likewise.
21956 [PPC_PLATFORM_PPC476]: Likewise.
21957 (_dl_string_platform): Add support for detecting ppc405, ppc440,
21958 ppc464, and ppc476 platform strings merging from ports/
21961 2013-06-11 Andreas Schwab <schwab@suse.de>
21964 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21965 (from_ucs4_idx): Regenerate.
21966 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21967 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21968 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21969 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21970 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21971 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21972 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21973 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21974 from FROM_LOOP and TO_LOOP specific macros.
21975 (BODY): Handle combining characters.
21976 * iconvdata/BIG5HKSCS.irreversible: Update.
21977 * iconvdata/BIG5HKSCS.precomposed: New file.
21978 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
21980 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
21982 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21984 * include/sys/time.h: Fix indentation and add copyright header.
21986 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
21987 (do_test): Likewise.
21988 * string/test-memchr.c (do_one_test): Likewise.
21989 (do_test): Likewise.
21990 * string/test-memcmp.c (do_one_test): Likewise.
21991 (do_test): Likewise.
21992 * string/test-memcpy.c (do_one_test): Likewise.
21993 (do_test): Likewise.
21994 * string/test-memmem.c (do_one_test): Likewise.
21995 (do_test): Likewise.
21996 (do_random_tests): Likewise.
21997 * string/test-memmove.c (do_one_test): Likewise.
21998 (do_test): Likewise.
21999 * string/test-memset.c (do_one_test): Likewise.
22000 (do_test): Likewise.
22001 * string/test-rawmemchr.c (do_one_test): Likewise.
22002 (do_test): Likewise.
22003 * string/test-strcasecmp.c (do_one_test): Likewise.
22004 (do_test): Likewise.
22005 * string/test-strcasestr.c (do_one_test): Likewise.
22006 (do_test): Likewise.
22007 * string/test-strcat.c (do_one_test): Likewise.
22008 (do_test): Likewise.
22009 * string/test-strchr.c (do_one_test): Likewise.
22010 (do_test): Likewise.
22011 * string/test-strcmp.c (do_one_test): Likewise.
22012 (do_test): Likewise.
22013 * string/test-strcpy.c (do_one_test): Likewise.
22014 (do_test): Likewise.
22015 * string/test-string.h: Likewise.
22016 (test_init): Likewise.
22017 * string/test-strlen.c (do_one_test): Likewise.
22018 (do_test): Likewise.
22019 * string/test-strncasecmp.c (do_one_test): Likewise.
22020 (do_test): Likewise.
22021 * string/test-strncat.c (do_one_test): Likewise.
22022 (do_test): Likewise.
22023 * string/test-strncmp.c (do_one_test): Likewise.
22024 (do_test_limit): Likewise.
22025 (do_test): Likewise.
22026 * string/test-strncpy.c (do_one_test): Likewise.
22027 (do_test): Likewise.
22028 * string/test-strnlen.c (do_one_test): Likewise.
22029 (do_test): Likewise.
22030 * string/test-strpbrk.c (do_one_test): Likewise.
22031 (do_test): Likewise.
22032 * string/test-strrchr.c (do_one_test): Likewise.
22033 (do_test): Likewise.
22034 * string/test-strspn.c (do_one_test): Likewise.
22035 (do_test): Likewise.
22036 * string/test-strstr.c (do_one_test): Likewise.
22037 (do_test): Likewise.
22039 * benchtests/Makefile (string-bench): Add string benchmarks.
22040 * benchtests/bench-bcopy-ifunc.c: New file.
22041 * benchtests/bench-bcopy.c: New file.
22042 * benchtests/bench-bzero-ifunc.c: New file.
22043 * benchtests/bench-bzero.c: New file.
22044 * benchtests/bench-memccpy-ifunc.c: New file.
22045 * benchtests/bench-memccpy.c: New file.
22046 * benchtests/bench-memchr-ifunc.c: New file.
22047 * benchtests/bench-memchr.c: New file.
22048 * benchtests/bench-memcmp-ifunc.c: New file.
22049 * benchtests/bench-memcmp.c: New file.
22050 * benchtests/bench-memmem-ifunc.c: New file.
22051 * benchtests/bench-memmem.c: New file.
22052 * benchtests/bench-memmove-ifunc.c: New file.
22053 * benchtests/bench-memmove.c: New file.
22054 * benchtests/bench-mempcpy-ifunc.c: New file.
22055 * benchtests/bench-mempcpy.c: New file.
22056 * benchtests/bench-memset-ifunc.c: New file.
22057 * benchtests/bench-memset.c: New file.
22058 * benchtests/bench-rawmemchr-ifunc.c: New file.
22059 * benchtests/bench-rawmemchr.c: New file.
22060 * benchtests/bench-stpcpy-ifunc.c: New file.
22061 * benchtests/bench-stpcpy.c: New file.
22062 * benchtests/bench-stpncpy-ifunc.c: New file.
22063 * benchtests/bench-stpncpy.c: New file.
22064 * benchtests/bench-strcasecmp-ifunc.c: New file.
22065 * benchtests/bench-strcasecmp.c: New file.
22066 * benchtests/bench-strcasestr-ifunc.c: New file.
22067 * benchtests/bench-strcasestr.c: New file.
22068 * benchtests/bench-strcat-ifunc.c: New file.
22069 * benchtests/bench-strcat.c: New file.
22070 * benchtests/bench-strchr-ifunc.c: New file.
22071 * benchtests/bench-strchr.c: New file.
22072 * benchtests/bench-strchrnul-ifunc.c: New file.
22073 * benchtests/bench-strchrnul.c: New file.
22074 * benchtests/bench-strcmp-ifunc.c: New file.
22075 * benchtests/bench-strcmp.c: New file.
22076 * benchtests/bench-strcpy-ifunc.c: New file.
22077 * benchtests/bench-strcpy.c: New file.
22078 * benchtests/bench-strcspn-ifunc.c: New file.
22079 * benchtests/bench-strcspn.c: New file.
22080 * benchtests/bench-strlen-ifunc.c: New file.
22081 * benchtests/bench-strlen.c: New file.
22082 * benchtests/bench-strncasecmp-ifunc.c: New file.
22083 * benchtests/bench-strncasecmp.c: New file.
22084 * benchtests/bench-strncat-ifunc.c: New file.
22085 * benchtests/bench-strncat.c: New file.
22086 * benchtests/bench-strncmp-ifunc.c: New file.
22087 * benchtests/bench-strncmp.c: New file.
22088 * benchtests/bench-strncpy-ifunc.c: New file.
22089 * benchtests/bench-strncpy.c: New file.
22090 * benchtests/bench-strnlen-ifunc.c: New file.
22091 * benchtests/bench-strnlen.c: New file.
22092 * benchtests/bench-strpbrk-ifunc.c: New file.
22093 * benchtests/bench-strpbrk.c: New file.
22094 * benchtests/bench-strrchr-ifunc.c: New file.
22095 * benchtests/bench-strrchr.c: New file.
22096 * benchtests/bench-strspn-ifunc.c: New file.
22097 * benchtests/bench-strspn.c: New file.
22098 * benchtests/bench-strstr-ifunc.c: New file.
22099 * benchtests/bench-strstr.c: New file.
22101 * benchtests/Makefile: Disable parallel execution of targets.
22102 (string-bench): Add memcpy.
22103 (benchset): New variable to store a list of benchmark sets.
22104 (bench-func): Renamed from bench.
22105 (bench-set): New target.
22106 (bench): Depend on bench-func and bench-set.
22107 * benchtests/README: Add section on benchmark sets.
22108 * benchtests/bench-memcpy-ifunc.c: New file.
22109 * benchtests/bench-memcpy.c: New file.
22110 * benchtests/bench-string.h: New file.
22112 2013-06-11 Andreas Schwab <schwab@suse.de>
22115 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22116 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22117 values in the triple.
22118 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22119 terminator in the group key.
22121 2013-06-11 Andreas Jaeger <aj@suse.de>
22123 * po/zh_TW.po: Update Chinese (traditional) translation from
22124 translation project.
22126 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22128 * include/time.h (__clock_gettime): Add libc_hidden_proto.
22129 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
22130 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
22131 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22132 (clock_getcpuclockid): Likewise.
22133 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
22134 Add weak_alias and libc_hidden_def.
22135 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
22136 * rt/clock_gettime.c (clock_gettime): Rename to
22137 __clock_gettime. Add weak_alias and libc_hidden_def.
22138 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
22139 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
22140 __clock_nanosleep. Add weak_alias and libc_hidden_def.
22141 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22142 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
22144 * rt/clock_settime.c (clock_settime): Rename to
22145 __clock_settime. Add weak_alias and libc_hidden_def.
22146 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
22148 2013-06-10 Joseph Myers <joseph@codesourcery.com>
22150 * mach/err_boot.sub: Remove trailing whitespace.
22151 * mach/err_ipc.sub: Likewise.
22152 * mach/err_mach.sub: Likewise.
22154 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
22155 (ROUNDING_TESTS_double): Likewise.
22156 (ROUNDING_TESTS_long_double): Likewise.
22157 (ROUNDING_TESTS): Likewise.
22158 * math/libm-test.inc: Include <math-tests.h>.
22159 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
22160 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22161 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22162 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22164 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22166 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22169 2013-06-08 Joseph Myers <joseph@codesourcery.com>
22171 * sysdeps/gnu/errlist.awk: Do not generate space at end of
22172 otherwise empty TRANS lines.
22173 * sysdeps/gnu/errlist.c: Regenerated.
22175 * catgets/gencat.c (error_print): Use (void) in function
22177 * crypt/crypt_util.c (__init_des): Likewise.
22178 * crypt/speeds.c (Stop): Likewise.
22180 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
22181 * inet/ruserpass.c (token): Likewise.
22182 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
22183 * intl/localealias.c (extend_alias_table): Likewise.
22184 * intl/plural-exp.c (init_germanic_plural): Likewise.
22185 * libio/fcloseall.c (__fcloseall): Likewise.
22186 * libio/genops.c (_IO_flush_all): Likewise.
22187 (_IO_flush_all_linebuffered): Likewise.
22188 (_IO_cleanup): Likewise.
22189 (_IO_iter_begin): Likewise.
22190 (_IO_iter_end): Likewise.
22191 (_IO_list_lock): Likewise.
22192 (_IO_list_unlock): Likewise.
22193 (_IO_list_resetlock): Likewise.
22194 * libio/getchar.c (getchar): Likewise.
22195 * libio/getchar_u.c (getchar_unlocked): Likewise.
22196 * libio/getwchar.c (getwchar): Likewise.
22197 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
22198 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
22199 * login/getpt.c (__getpt): Likewise.
22200 * login/tst-utmp.c (main): Likewise.
22201 * malloc/hooks.c (__malloc_check_init): Likewise.
22202 * malloc/malloc.c (__malloc_stats): Likewise.
22203 * malloc/mtrace.c (tr_break): Likewise.
22204 (mtrace): Likewise.
22205 (muntrace): Likewise.
22206 * misc/fstab.c (endfsent): Likewise.
22207 * misc/getclktck.c (__getclktck): Likewise.
22208 * misc/getdtsz.c (__getdtablesize): Likewise.
22209 * misc/gethostid.c (gethostid): Likewise.
22210 * misc/getpagesize.c (__getpagesize): Likewise.
22211 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
22212 (__get_nprocs): Likewise.
22213 (__get_phys_pages): Likewise.
22214 (__get_avphys_pages): Likewise.
22215 * misc/getttyent.c (getttyent): Likewise.
22216 (setttyent): Likewise.
22217 (endttyent): Likewise.
22218 * misc/getusershell.c (getusershell): Likewise.
22219 (endusershell): Likewise.
22220 (setusershell): Likewise.
22221 (initshells): Likewise.
22222 * misc/hsearch.c (__hdestroy): Likewise.
22223 * misc/sync.c (sync): Likewise.
22224 * misc/syslog.c (closelog_internal): Likewise.
22225 (closelog): Likewise.
22226 * misc/ttyslot.c (ttyslot): Likewise.
22227 * misc/vhangup.c (vhangup): Likewise.
22228 * posix/fork.c (__fork): Likewise.
22229 * posix/getegid.c (__getegid): Likewise.
22230 * posix/geteuid.c (__geteuid): Likewise.
22231 * posix/getgid.c (__getgid): Likewise.
22232 * posix/getpid.c (__getpid): Likewise.
22233 * posix/getppid.c (__getppid): Likewise.
22234 * posix/getuid.c (__getuid): Likewise.
22235 * posix/pause.c (pause): Likewise.
22236 * posix/setpgrp.c (setpgrp): Likewise.
22237 * posix/setsid.c (__setsid): Likewise.
22238 * posix/test-vfork.c (noop): Likewise.
22239 * resolv/gethnamaddr.c (_endhtent): Likewise.
22240 (_gethtent): Likewise.
22241 (ht_endhostent): Likewise.
22242 (gethostent): Likewise.
22243 (dns_service): Likewise.
22244 * stdlib/drand48.c (drand48): Likewise.
22245 * stdlib/lrand48.c (lrand48): Likewise.
22246 * stdlib/mrand48.c (mrand48): Likewise.
22247 * stdlib/rand.c (rand): Likewise.
22248 * stdlib/random.c (__random): Likewise.
22249 * stdlib/setenv.c (clearenv): Likewise.
22250 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
22251 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
22252 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
22253 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
22254 (__get_nprocs): Likewise.
22255 (__get_phys_pages): Likewise.
22256 (__get_avphys_pages): Likewise.
22257 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
22258 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
22259 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
22260 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
22261 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
22262 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
22263 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
22264 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
22265 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
22266 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
22267 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
22268 * sysdeps/mach/hurd/sync.c (sync): Likewise.
22269 * sysdeps/posix/clock.c (clock): Likewise.
22270 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
22271 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
22272 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
22273 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
22274 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
22275 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
22276 (__get_nprocs_conf): Likewise.
22277 (__get_phys_pages): Likewise.
22278 (__get_avphys_pages): Likewise.
22279 * time/clock.c (clock): Likewise.
22280 * time/tzset.c (__tzname_max): Likewise.
22282 2013-06-07 Joseph Myers <joseph@codesourcery.com>
22284 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
22285 (__bswap_32): Do not use "register".
22286 * crypt/crypt.c (_ufc_doit_r): Likewise.
22287 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22288 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22289 * gmon/gmon.c (__monstartup): Likewise.
22290 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
22291 * hurd/hurdmalloc.c (more_memory): Likewise.
22292 (malloc): Likewise.
22294 (realloc): Likewise.
22295 (malloc_fork_prepare): Likewise.
22296 (malloc_fork_parent): Likewise.
22297 (malloc_fork_child): Likewise.
22298 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
22299 (_svcauth_des): Likewise.
22300 * inet/inet_lnaof.c (inet_lnaof): Likewise.
22301 * inet/inet_net.c (inet_network): Likewise.
22302 * inet/inet_netof.c (inet_netof): Likewise.
22303 * inet/rcmd.c (__validuser2_sa): Likewise.
22304 * io/fts.c (fts_open): Likewise.
22305 (fts_load): Likewise.
22306 (fts_close): Likewise.
22307 (fts_read): Likewise.
22308 (fts_children): Likewise.
22309 (fts_build): Likewise.
22310 (fts_stat): Likewise.
22311 (fts_sort): Likewise.
22312 (fts_alloc): Likewise.
22313 (fts_lfree): Likewise.
22314 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
22315 (_IO_file_xsgetn): Likewise.
22316 (_IO_file_xsgetn_mmap): Likewise.
22317 * libio/iofopncook.c (_IO_cookie_read): Likewise.
22318 (_IO_cookie_write): Likewise.
22319 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
22320 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
22321 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
22322 * malloc/obstack.c (_obstack_begin): Likewise.
22323 (_obstack_begin_1): Likewise.
22324 (_obstack_newchunk): Likewise.
22325 (_obstack_allocated_p): Likewise.
22326 (obstack_free): Likewise.
22327 (_obstack_memory_used): Likewise.
22328 * misc/getttyent.c (getttynam): Likewise.
22329 (getttyent): Likewise.
22332 * misc/getusershell.c (initshells): Likewise.
22333 * misc/syslog.c (__vsyslog_chk): Likewise.
22334 * misc/ttyslot.c (ttyslot): Likewise.
22335 * nis/nis_hash.c (__nis_hash): Likewise.
22336 * posix/fnmatch_loop.c (FCT): Likewise.
22337 * posix/getconf.c (print_all): Likewise.
22339 * posix/getopt.c (exchange): Likewise.
22340 * posix/glob.c (globfree): Likewise.
22341 (prefix_array): Likewise.
22342 (__glob_pattern_type): Likewise.
22343 * resolv/arpa/nameser.h (NS_GET16): Likewise.
22344 (NS_GET32): Likewise.
22345 (NS_PUT16): Likewise.
22346 (NS_PUT32): Likewise.
22347 * resolv/gethnamaddr.c (getanswer): Likewise.
22348 (gethostbyname2): Likewise.
22349 (gethostbyaddr): Likewise.
22350 (_gethtent): Likewise.
22351 (_gethtbyname2): Likewise.
22352 (_gethtbyaddr): Likewise.
22353 * resolv/ns_print.c (dst_s_get_int16): Likewise.
22354 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22355 * resolv/res_init.c (__res_vinit): Likewise.
22356 (net_mask): Likewise.
22357 * resolv/res_mkquery.c (outchar): Likewise.
22359 * stdio-common/printf_fp.c (outchar): Likewise.
22361 * stdio-common/printf_fphex.c (outchar): Likewise.
22363 * stdio-common/printf_size.c (outchar): Likewise.
22365 * stdio-common/test_rdwr.c (main): Likewise.
22366 * stdio-common/tfformat.c (matches): Likewise.
22367 * stdio-common/vfprintf.c (outchar): Likewise.
22368 (printf_unknown): Likewise.
22369 (buffered_vfprintf): Likewise.
22370 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22371 * stdio-common/xbug.c (AppendToBuffer): Likewise.
22372 (ReadFile): Likewise.
22373 * stdlib/qsort.c (SWAP): Likewise.
22374 (_quicksort): Likewise.
22375 * stdlib/setenv.c (__add_to_environ): Likewise.
22376 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22377 * stdlib/strtol_l.c (__strtol_l): Likewise.
22378 * stdlib/tst-strtod.c (main): Likewise.
22379 * stdlib/tst-strtol.c (main): Likewise.
22380 * stdlib/tst-strtoll.c (main): Likewise.
22381 * string/bits/string2.h (__strcmp_cc): Likewise.
22382 (__strcmp_cg): Likewise.
22383 (__strcspn_c1): Likewise.
22384 (__strcspn_c2): Likewise.
22385 (__strcspn_c3): Likewise.
22386 (__strspn_c1): Likewise.
22387 (__strspn_c2): Likewise.
22388 (__strspn_c3): Likewise.
22389 (__strsep_1c): Likewise.
22390 (__strsep_2c): Likewise.
22391 (__strsep_3c): Likewise.
22392 * string/memccpy.c (__memccpy): Likewise.
22393 * string/stpcpy.c (__stpcpy): Likewise.
22394 * string/strcmp.c (strcmp): Likewise.
22395 * string/strrchr.c (strrchr): Likewise.
22396 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
22398 * sysdeps/mach/hurd/getcwd.c
22399 (_hurd_canonicalize_directory_name_internal): Likewise.
22400 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
22401 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
22402 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
22403 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
22404 Likewise, in both definitions.
22405 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
22407 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
22408 64] (__bswap_64): Likewise.
22409 * time/test_time.c (main): Likewise.
22410 * time/tzfile.c (__tzfile_read): Likewise.
22411 (__tzfile_compute): Likewise.
22412 * time/tzset.c (__tzset_parse_tz): Likewise.
22413 (tzset_internal): Likewise.
22414 (compute_change): Likewise.
22415 * wcsmbs/wcscat.c (__wcscat): Likewise.
22416 * wcsmbs/wcschr.c (wcschr): Likewise.
22417 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22418 * wcsmbs/wcscspn.c (wcscspn): Likewise.
22419 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22420 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
22421 * wcsmbs/wcsspn.c (wcsspn): Likewise.
22422 * wcsmbs/wcsstr.c (wcsstr): Likewise.
22423 * wcsmbs/wmemchr.c (wmemchr): Likewise.
22424 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22425 * wcsmbs/wmemset.c (wmemset): Likewise.
22427 2013-06-06 Joseph Myers <joseph@codesourcery.com>
22429 * scripts/config.guess: Update to version 2013-05-16.
22430 * scripts/config.sub: Update to version 2013-04-24.
22431 * scripts/install-sh: Update to version 2011-11-20.07.
22432 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
22433 * scripts/move-if-change: Update to version 2012-01-06 07:23.
22435 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
22437 * debug/fgetws_u_chk.c: Fix leading whitespaces.
22438 * elf/sln.c: Likewise.
22439 * hurd/hurd/ioctl.h: Likewise.
22440 * hurd/hurdmalloc.c: Likewise.
22441 * hurd/xattr.c: Likewise.
22442 * include/shlib-compat.h: Likewise.
22443 * inet/ruserpass.c: Likewise.
22444 * libio/iofgets_u.c: Likewise.
22445 * libio/iofgetws_u.c: Likewise.
22446 * locale/programs/ld-identification.c: Likewise.
22447 * locale/programs/ld-time.c: Likewise.
22448 * mach/msg-destroy.c: Likewise.
22449 * nss/nss_files/files-netgrp.c: Likewise.
22450 * resolv/res_data.c: Likewise.
22451 * soft-fp/op-1.h: Likewise.
22452 * soft-fp/op-2.h: Likewise.
22453 * soft-fp/op-4.h: Likewise.
22454 * soft-fp/op-common.h: Likewise.
22455 * stdio-common/printf_fphex.c: Likewise.
22456 * stdlib/strtod_l.c: Likewise.
22457 * sunrpc/rpc/clnt.h: Likewise.
22458 * sysdeps/generic/framestate.c: Likewise.
22459 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22460 * sysdeps/i386/bsd-setjmp.S: Likewise.
22461 * sysdeps/i386/__longjmp.S: Likewise.
22462 * sysdeps/i386/setjmp.S: Likewise.
22463 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22464 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22465 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22466 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22467 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22468 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22469 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22470 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22471 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22472 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22473 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22474 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22475 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22476 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22477 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22478 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22479 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22480 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
22481 * sysdeps/ieee754/support.c: Likewise.
22482 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22483 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
22484 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
22485 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
22486 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
22487 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
22488 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
22489 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
22490 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
22491 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
22492 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
22493 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
22494 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
22495 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
22496 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
22497 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
22498 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22501 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
22503 * posix/transbug.c: Remove executable mode.
22505 2013-06-05 Joseph Myers <joseph@codesourcery.com>
22507 * crypt/speeds.c: Remove trailing whitespace.
22508 * dlfcn/default.c: Likewise.
22509 * elf/ifuncdep2.c: Likewise.
22510 * elf/ifuncmain1.c: Likewise.
22511 * elf/ifuncmain1vis.c: Likewise.
22512 * elf/testobj.h: Likewise.
22513 * elf/tst-stackguard1.c: Likewise.
22514 * gmon/sys/gmon.h: Likewise.
22515 * hurd/hurdmsg.c: Likewise.
22516 * hurd/new-fd.c: Likewise.
22517 * hurd/ports-get.c: Likewise.
22518 * iconvdata/ibm1008_420.c: Likewise.
22519 * inet/tst-getni1.c: Likewise.
22520 * inet/tst-getni2.c: Likewise.
22521 * libio/ioungetc.c: Likewise.
22522 * libio/wfiledoalloc.c: Likewise.
22523 * manual/libm-err-tab.pl: Likewise.
22524 * math/w_dremf.c: Likewise.
22525 * misc/ftruncate.c: Likewise.
22526 * posix/bug-glob2.c: Likewise.
22527 * posix/tst-pcre.c: Likewise.
22528 * posix/wait4.c: Likewise.
22529 * resolv/README: Likewise.
22530 * resolv/res_debug.h: Likewise.
22531 * resolv/tst-inet_ntop.c: Likewise.
22532 * setjmp/bug269-setjmp.c: Likewise.
22533 * soft-fp/extended.h: Likewise.
22534 * soft-fp/op-1.h: Likewise.
22535 * soft-fp/op-2.h: Likewise.
22536 * soft-fp/op-4.h: Likewise.
22537 * soft-fp/op-8.h: Likewise.
22538 * soft-fp/testit.c: Likewise.
22539 * stdio-common/bug16.c: Likewise.
22540 * stdlib/random.c: Likewise.
22541 * sunrpc/rpcsvc/rquota.x: Likewise.
22542 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
22543 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22544 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22545 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22546 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22547 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22548 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22549 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22550 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22551 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22552 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22553 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22554 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22555 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22556 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22557 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22558 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22559 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22560 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22561 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22562 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22563 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22564 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
22565 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22566 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22567 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22568 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22569 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
22570 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22571 * sysdeps/ieee754/s_lib_version.c: Likewise.
22572 * sysdeps/mach/hurd/check_fds.c: Likewise.
22573 * sysdeps/mach/hurd/getsockname.c: Likewise.
22574 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
22575 * sysdeps/mach/hurd/recvfrom.c: Likewise.
22576 * sysdeps/powerpc/bits/link.h: Likewise.
22577 * sysdeps/powerpc/dl-procinfo.c: Likewise.
22578 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
22579 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
22580 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
22581 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22582 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22583 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
22584 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22585 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
22586 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22587 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22588 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22589 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
22590 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22591 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22592 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22593 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22594 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22595 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22596 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22597 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22598 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
22599 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22600 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22601 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
22602 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22603 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22604 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22605 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22606 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22607 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22608 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22609 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22610 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22611 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
22612 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22613 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
22614 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22615 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22616 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
22617 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
22618 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
22619 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
22620 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
22621 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22622 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
22623 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
22624 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22625 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
22626 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
22627 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22628 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22629 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22630 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22631 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
22632 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22633 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22634 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22635 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
22636 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22637 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
22638 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
22639 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
22640 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22641 * sysdeps/powerpc/sysdep.h: Likewise.
22642 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22643 * sysdeps/s390/s390-64/sub_n.S: Likewise.
22644 * sysdeps/sh/dl-trampoline.S: Likewise.
22645 * sysdeps/sh/memset.S: Likewise.
22646 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
22647 * sysdeps/sh/strlen.S: Likewise.
22648 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
22649 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
22650 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
22651 * sysdeps/sparc/sparc32/rem.S: Likewise.
22652 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22653 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
22654 * sysdeps/sparc/sparc32/strchr.S: Likewise.
22655 * sysdeps/sparc/sparc32/udiv.S: Likewise.
22656 * sysdeps/sparc/sparc32/urem.S: Likewise.
22657 * sysdeps/sparc/sparc64/add_n.S: Likewise.
22658 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22659 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
22660 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
22661 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
22662 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
22663 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22664 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
22665 * sysdeps/unix/bsd/times.c: Likewise.
22666 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
22667 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
22668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
22671 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
22672 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22673 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
22674 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
22675 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
22676 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
22677 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22678 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
22679 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22680 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22681 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22682 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22683 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
22684 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
22685 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
22686 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
22687 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
22688 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22689 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
22690 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
22691 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22692 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
22693 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22694 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
22695 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
22696 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
22697 * sysdeps/x86_64/strcspn.S: Likewise.
22699 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22701 * locale/C-translit.h: Revert #include <stdint.h> because this is a
22702 generated file. Regenerate properly from gen-translit.pl.
22703 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
22704 locale/C-translit.h.
22706 2013-06-05 Andreas Schwab <schwab@suse.de>
22709 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
22710 week as 6 instead of -1.
22711 * time/tst-strptime.c (day_tests): Add test case.
22713 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22715 * sysdeps/generic/math_private.h
22716 (libc_feholdexcept_setround_53bit): Replace with
22717 libc_feholdsetround_53bit.
22718 (libc_feupdateenv_53bit): Replace with
22719 libc_feresetround_53bit.
22720 (SET_RESTORE_ROUND_53BIT): Adjust.
22722 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22724 * string/test-strchrnul.c: Add copyright header.
22726 * posix/tst-getaddrinfo4.c: Increase test timeout.
22728 2013-06-03 Carlos O'Donell <carlos@redhat.com>
22731 * math/libm-test.inc (MAX_EXP): Remove
22733 (ulp): Use MIN_EXP - MANT_DIG.
22734 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
22736 2013-05-31 Carlos O'Donell <carlos@redhat.com>
22738 * po/be.po: Revert last change.
22739 * po/zh_CN.po: Likewise.
22740 * po/header.pot: Likewise.
22742 2013-05-31 Joseph Myers <joseph@codesourcery.com>
22744 * Makefile ($(common-objpfx)linkobj/libc.so): Define
22745 link-libc-deps to empty as target-specific variable.
22746 * Makerules (link-libc-args): New variable.
22747 (libc-for-link): Likewise.
22748 (link-libc-deps): Likewise.
22749 (lib%.so): Depend on $(link-libc-deps). Link with
22751 (build-module): Link with $(link-libc-args).
22752 (build-module-asneeded): Likewise.
22753 (build-module-helper-objlist): Filter out $(link-libc-deps) from
22755 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
22756 target-specific variable.
22757 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
22758 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
22759 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
22761 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
22763 ($(objpfx)libpcprofile.so): Likewise.
22764 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
22766 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
22767 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
22768 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
22770 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
22771 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
22772 * login/Makefile ($(objpfx)libutil.so): Likewise.
22773 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
22774 * math/Makefile ($(objpfx)libm.so): Likewise.
22775 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
22776 $(objpfx)libnsl.so): Define libc-for-link as target-specific
22777 variable instead of depending directly on libc.
22778 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
22779 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
22781 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
22783 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
22784 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
22785 ($(objpfx)libanl.so): Likewise.
22786 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
22788 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
22790 * sysdeps/i386/fpu/Makefile: Remove file.
22791 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
22792 ($(objpfx)libm.so): Remove dependency on ld.so.
22794 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
22797 * nis/yp_xdr.c (XDRMAXNAME): Define.
22798 (XDRMAXRECORD): Define.
22799 (xdr_domainname): Use XDRMAXNAME.
22800 (xdr_mapname): Likewise.
22801 (xdr_peername): Likewise.
22802 (xdr_keydat): Use XDRMAXRECORD.
22803 (xdr_valdat): Likewise.
22805 2013-05-30 Jeff Law <law@redhat.com>
22808 * manual/errno.texi (ESTALE): Update to account for more than
22809 just NFS file systems.
22810 * sysdeps/gnu/errlist.c: Regenerated.
22812 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22815 * elf/Makefile (tests): Add tst-null-argv.
22816 (modules-names): Add tst-null-argv-lib.
22817 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
22818 (tst-null-argv-ENV): Set environment for tst-null-argv.
22819 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
22820 (RTLD_PROGNAME): New macro.
22821 * elf/tst-null-argv.c: New test case.
22822 * elf/tst-null-argv-lib.c: Library for test case.
22823 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
22824 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
22825 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
22826 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
22827 * elf/dl-init.c (call_init): Likewise.
22828 (_dl_init): Likewise.
22829 * elf/dl-load.c (print_search_path): Likewise.
22830 (_dl_map_object): Likewise.
22831 * elf/dl-lookup.c (do_lookup_x): Likewise.
22832 (add_dependency): Likewise.
22833 (_dl_lookup_symbol_x): Likewise.
22834 (_dl_debug_bindings): Likewise.
22835 * elf/dl-open.c (_dl_show_scope): Likewise.
22836 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22837 * elf/dl-version.c (match_symbol): Likewise.
22838 (_dl_check_map_versions): Likewise.
22839 * elf/rtld.c (dl_main): Likewise.
22840 (print_unresolved): Use RTLD_PROGNAME.
22841 (print_missing_version): Likewise.
22842 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
22843 (elf_machine_rela): Likewise.
22844 * sysdeps/powerpc/powerpc32/dl-machine.c
22845 (__process_machine_rela): Likewise.
22846 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22848 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22850 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22852 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22853 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
22855 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
22857 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22859 2013-05-28 Carlos O'Donell <carlos@redhat.com>
22861 * po/be.po: Add descriptive title.
22862 * po/zh_CN.po: Likewise.
22863 * po/header.pot: Likewise.
22865 2013-05-28 Mike Frysinger <vapier@gentoo.org>
22867 * locale/programs/locarchive.c (create_archive): Inlucde fname in
22869 (enlarge_archive): Likewise.
22871 2013-05-28 Ben North <ben@redfrontdoor.org>
22873 * manual/arith.texi (frexp): It is the magnitude of the return
22874 value which lies in [0.5, 1), not the return value itself.
22876 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22880 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
22882 * stdio-common/bug26.c (main): Correct fscanf template.
22884 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
22885 declare _dl_skip_args.
22887 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
22890 * manual/platform.texi: Add missing @end deftypefun.
22892 2013-05-24 Joseph Myers <joseph@codesourcery.com>
22895 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
22896 bit of mantissa of 2^16382.
22897 * math/libm-test.inc (hypot_test_data): Add more tests.
22899 * math/libm-test.inc: Add drem and pow10 to list of tested
22901 (pow10_test): New function.
22902 (drem_test): Likewise.
22903 (drem_test_tonearest): Likewise.
22904 (drem_test_towardzero): Likewise.
22905 (drem_test_downward): Likewise.
22906 (drem_test_upward): Likewise.
22907 (main): Call the new functions.
22909 * math/libm-test.inc (finite_test_data): Remove.
22910 (finite_test): Run tests from isfinite_test_data.
22911 (gamma_test_data): Remove.
22912 (gamma_test): Run tests from lgamma_test_data.
22913 * sysdeps/i386/fpu/libm-test-ulps: Update.
22914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22916 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22918 * manual/platform.texi: Add PowerPC PPR function set documentation.
22919 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
22922 2013-05-24 Carlos O'Donell <carlos@redhat.com>
22924 * math/libm-test.inc (MAX_EXP): Define.
22926 (ulp): New function.
22927 (check_float_internal): Use ULPDIFF.
22928 (cpow_test): Disable failing test.
22929 (check_ulp): Test ulp() implemetnation.
22930 (main): Call check_ulp before starting tests.
22932 2013-05-24 Joseph Myers <joseph@codesourcery.com>
22934 * math/gen-libm-test.pl (generate_testfile): Do not handle
22935 START_DATA and END_DATA.
22936 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
22938 (acos_tonearest_test_data): Likewise.
22939 (acos_towardzero_test_data): Likewise.
22940 (acos_downward_test_data): Likewise.
22941 (acos_upward_test_data): Likewise.
22942 (acosh_test_data): Likewise.
22943 (asin_test_data): Likewise.
22944 (asin_tonearest_test_data): Likewise.
22945 (asin_towardzero_test_data): Likewise.
22946 (asin_downward_test_data): Likewise.
22947 (asin_upward_test_data): Likewise.
22948 (asinh_test_data): Likewise.
22949 (atan_test_data): Likewise.
22950 (atanh_test_data): Likewise.
22951 (atan2_test_data): Likewise.
22952 (cabs_test_data): Likewise.
22953 (cacos_test_data): Likewise.
22954 (cacosh_test_data): Likewise.
22955 (carg_test_data): Likewise.
22956 (casin_test_data): Likewise.
22957 (casinh_test_data): Likewise.
22958 (catan_test_data): Likewise.
22959 (catanh_test_data): Likewise.
22960 (cbrt_test_data): Likewise.
22961 (ccos_test_data): Likewise.
22962 (ccosh_test_data): Likewise.
22963 (ceil_test_data): Likewise.
22964 (cexp_test_data): Likewise.
22965 (cimag_test_data): Likewise.
22966 (clog_test_data): Likewise.
22967 (clog10_test_data): Likewise.
22968 (conj_test_data): Likewise.
22969 (copysign_test_data): Likewise.
22970 (cos_test_data): Likewise.
22971 (cos_tonearest_test_data): Likewise.
22972 (cos_towardzero_test_data): Likewise.
22973 (cos_downward_test_data): Likewise.
22974 (cos_upward_test_data): Likewise.
22975 (cosh_test_data): Likewise.
22976 (cosh_tonearest_test_data): Likewise.
22977 (cosh_towardzero_test_data): Likewise.
22978 (cosh_downward_test_data): Likewise.
22979 (cosh_upward_test_data): Likewise.
22980 (cpow_test_data): Likewise.
22981 (cproj_test_data): Likewise.
22982 (creal_test_data): Likewise.
22983 (csin_test_data): Likewise.
22984 (csinh_test_data): Likewise.
22985 (csqrt_test_data): Likewise.
22986 (ctan_test_data): Likewise.
22987 (ctan_tonearest_test_data): Likewise.
22988 (ctan_towardzero_test_data): Likewise.
22989 (ctan_downward_test_data): Likewise.
22990 (ctan_upward_test_data): Likewise.
22991 (ctanh_test_data): Likewise.
22992 (ctanh_tonearest_test_data): Likewise.
22993 (ctanh_towardzero_test_data): Likewise.
22994 (ctanh_downward_test_data): Likewise.
22995 (ctanh_upward_test_data): Likewise.
22996 (erf_test_data): Likewise.
22997 (erfc_test_data): Likewise.
22998 (exp_test_data): Likewise.
22999 (exp_tonearest_test_data): Likewise.
23000 (exp_towardzero_test_data): Likewise.
23001 (exp_downward_test_data): Likewise.
23002 (exp_upward_test_data): Likewise.
23003 (exp10_test_data): Likewise.
23004 (exp2_test_data): Likewise.
23005 (expm1_test_data): Likewise.
23006 (fabs_test_data): Likewise.
23007 (fdim_test_data): Likewise.
23008 (finite_test_data): Likewise.
23009 (floor_test_data): Likewise.
23010 (fma_test_data): Likewise.
23011 (fma_towardzero_test_data): Likewise.
23012 (fma_downward_test_data): Likewise.
23013 (fma_upward_test_data): Likewise.
23014 (fmax_test_data): Likewise.
23015 (fmin_test_data): Likewise.
23016 (fmod_test_data): Likewise.
23017 (fpclassify_test_data): Likewise.
23018 (frexp_test_data): Likewise.
23019 (gamma_test_data): Likewise.
23020 (hypot_test_data): Likewise.
23021 (ilogb_test_data): Likewise.
23022 (isfinite_test_data): Likewise.
23023 (isgreater_test_data): Likewise.
23024 (isgreaterequal_test_data): Likewise.
23025 (isinf_test_data): Likewise.
23026 (isless_test_data): Likewise.
23027 (islessequal_test_data): Likewise.
23028 (islessgreater_test_data): Likewise.
23029 (isnan_test_data): Likewise.
23030 (isnormal_test_data): Likewise.
23031 (issignaling_test_data): Likewise.
23032 (isunordered_test_data): Likewise.
23033 (j0_test_data): Likewise.
23034 (j1_test_data): Likewise.
23035 (jn_test_data): Likewise.
23036 (ldexp_test_data): Likewise.
23037 (lgamma_test_data): Likewise.
23038 (lrint_test_data): Likewise.
23039 (lrint_tonearest_test_data): Likewise.
23040 (lrint_towardzero_test_data): Likewise.
23041 (lrint_downward_test_data): Likewise.
23042 (lrint_upward_test_data): Likewise.
23043 (llrint_test_data): Likewise.
23044 (llrint_tonearest_test_data): Likewise.
23045 (llrint_towardzero_test_data): Likewise.
23046 (llrint_downward_test_data): Likewise.
23047 (llrint_upward_test_data): Likewise.
23048 (log_test_data): Likewise.
23049 (log10_test_data): Likewise.
23050 (log1p_test_data): Likewise.
23051 (log2_test_data): Likewise.
23052 (logb_test_data): Likewise.
23053 (logb_downward_test_data): Likewise.
23054 (lround_test_data): Likewise.
23055 (llround_test_data): Likewise.
23056 (modf_test_data): Likewise.
23057 (nearbyint_test_data): Likewise.
23058 (nextafter_test_data): Likewise.
23059 (nexttoward_test_data): Likewise.
23060 (pow_test_data): Likewise.
23061 (pow_tonearest_test_data): Likewise.
23062 (pow_towardzero_test_data): Likewise.
23063 (pow_downward_test_data): Likewise.
23064 (pow_upward_test_data): Likewise.
23065 (remainder_test_data): Likewise.
23066 (remainder_tonearest_test_data): Likewise.
23067 (remainder_towardzero_test_data): Likewise.
23068 (remainder_downward_test_data): Likewise.
23069 (remainder_upward_test_data): Likewise.
23070 (remquo_test_data): Likewise.
23071 (rint_test_data): Likewise.
23072 (rint_tonearest_test_data): Likewise.
23073 (rint_towardzero_test_data): Likewise.
23074 (rint_downward_test_data): Likewise.
23075 (rint_upward_test_data): Likewise.
23076 (round_test_data): Likewise.
23077 (scalb_test_data): Likewise.
23078 (scalbn_test_data): Likewise.
23079 (scalbln_test_data): Likewise.
23080 (signbit_test_data): Likewise.
23081 (sin_test_data): Likewise.
23082 (sin_tonearest_test_data): Likewise.
23083 (sin_towardzero_test_data): Likewise.
23084 (sin_downward_test_data): Likewise.
23085 (sin_upward_test_data): Likewise.
23086 (sincos_test_data): Likewise.
23087 (sinh_test_data): Likewise.
23088 (sinh_tonearest_test_data): Likewise.
23089 (sinh_towardzero_test_data): Likewise.
23090 (sinh_downward_test_data): Likewise.
23091 (sinh_upward_test_data): Likewise.
23092 (sqrt_test_data): Likewise.
23093 (tan_test_data): Likewise.
23094 (tan_tonearest_test_data): Likewise.
23095 (tan_towardzero_test_data): Likewise.
23096 (tan_downward_test_data): Likewise.
23097 (tan_upward_test_data): Likewise.
23098 (tanh_test_data): Likewise.
23099 (tgamma_test_data): Likewise.
23100 (trunc_test_data): Likewise.
23101 (y0_test_data): Likewise.
23102 (y1_test_data): Likewise.
23103 (yn_test_data): Likewise.
23104 (significand_test_data): Likewise.
23106 * math/gen-libm-test.pl (@functions): Remove variable.
23107 (generate_testfile): Don't handle START and END lines.
23108 * math/libm-test.inc (START): New macro.
23110 (END_COMPLEX): Likewise.
23111 (acos_test): Use END macro without arguments.
23112 (acos_test_tonearest): Likewise.
23113 (acos_test_towardzero): Likewise.
23114 (acos_test_downward): Likewise.
23115 (acos_test_upward): Likewise.
23116 (acosh_test): Likewise.
23117 (asin_test): Likewise.
23118 (asin_test_tonearest): Likewise.
23119 (asin_test_towardzero): Likewise.
23120 (asin_test_downward): Likewise.
23121 (asin_test_upward): Likewise.
23122 (asinh_test): Likewise.
23123 (atan_test): Likewise.
23124 (atanh_test): Likewise.
23125 (atan2_test): Likewise.
23126 (cabs_test): Likewise.
23127 (cacos_test): Use END_COMPLEX macro without arguments.
23128 (cacosh_test): Likewise.
23129 (carg_test): Use END macro without arguments.
23130 (casin_test): Use END_COMPLEX macro without arguments.
23131 (casinh_test): Likewise.
23132 (catan_test): Likewise.
23133 (catanh_test): Likewise.
23134 (cbrt_test): Use END macro without arguments.
23135 (ccos_test): Use END_COMPLEX macro without arguments.
23136 (ccosh_test): Likewise.
23137 (ceil_test): Use END macro without arguments.
23138 (cexp_test): Use END_COMPLEX macro without arguments.
23139 (cimag_test): Use END macro without arguments.
23140 (clog_test): Use END_COMPLEX macro without arguments.
23141 (clog10_test): Likewise.
23142 (conj_test): Likewise.
23143 (copysign_test): Use END macro without arguments.
23144 (cos_test): Likewise.
23145 (cos_test_tonearest): Likewise.
23146 (cos_test_towardzero): Likewise.
23147 (cos_test_downward): Likewise.
23148 (cos_test_upward): Likewise.
23149 (cosh_test): Likewise.
23150 (cosh_test_tonearest): Likewise.
23151 (cosh_test_towardzero): Likewise.
23152 (cosh_test_downward): Likewise.
23153 (cosh_test_upward): Likewise.
23154 (cpow_test): Use END_COMPLEX macro without arguments.
23155 (cproj_test): Likewise.
23156 (creal_test): Use END macro without arguments.
23157 (csin_test): Use END_COMPLEX macro without arguments.
23158 (csinh_test): Likewise.
23159 (csqrt_test): Likewise.
23160 (ctan_test): Likewise.
23161 (ctan_test_tonearest): Likewise.
23162 (ctan_test_towardzero): Likewise.
23163 (ctan_test_downward): Likewise.
23164 (ctan_test_upward): Likewise.
23165 (ctanh_test): Likewise.
23166 (ctanh_test_tonearest): Likewise.
23167 (ctanh_test_towardzero): Likewise.
23168 (ctanh_test_downward): Likewise.
23169 (ctanh_test_upward): Likewise.
23170 (erf_test): Use END macro without arguments.
23171 (erfc_test): Likewise.
23172 (exp_test): Likewise.
23173 (exp_test_tonearest): Likewise.
23174 (exp_test_towardzero): Likewise.
23175 (exp_test_downward): Likewise.
23176 (exp_test_upward): Likewise.
23177 (exp10_test): Likewise.
23178 (exp2_test): Likewise.
23179 (expm1_test): Likewise.
23180 (fabs_test): Likewise.
23181 (fdim_test): Likewise.
23182 (finite_test): Likewise.
23183 (floor_test): Likewise.
23184 (fma_test): Likewise.
23185 (fma_test_towardzero): Likewise.
23186 (fma_test_downward): Likewise.
23187 (fma_test_upward): Likewise.
23188 (fmax_test): Likewise.
23189 (fmin_test): Likewise.
23190 (fmod_test): Likewise.
23191 (fpclassify_test): Likewise.
23192 (frexp_test): Likewise.
23193 (gamma_test): Likewise.
23194 (hypot_test): Likewise.
23195 (ilogb_test): Likewise.
23196 (isfinite_test): Likewise.
23197 (isgreater_test): Likewise.
23198 (isgreaterequal_test): Likewise.
23199 (isinf_test): Likewise.
23200 (isless_test): Likewise.
23201 (islessequal_test): Likewise.
23202 (islessgreater_test): Likewise.
23203 (isnan_test): Likewise.
23204 (isnormal_test): Likewise.
23205 (issignaling_test): Likewise.
23206 (isunordered_test): Likewise.
23207 (j0_test): Likewise.
23208 (j1_test): Likewise.
23209 (jn_test): Likewise.
23210 (ldexp_test): Likewise.
23211 (lgamma_test): Likewise.
23212 (lrint_test): Likewise.
23213 (lrint_test_tonearest): Likewise.
23214 (lrint_test_towardzero): Likewise.
23215 (lrint_test_downward): Likewise.
23216 (lrint_test_upward): Likewise.
23217 (llrint_test): Likewise.
23218 (llrint_test_tonearest): Likewise.
23219 (llrint_test_towardzero): Likewise.
23220 (llrint_test_downward): Likewise.
23221 (llrint_test_upward): Likewise.
23222 (log_test): Likewise.
23223 (log10_test): Likewise.
23224 (log1p_test): Likewise.
23225 (log2_test): Likewise.
23226 (logb_test): Likewise.
23227 (logb_test_downward): Likewise.
23228 (lround_test): Likewise.
23229 (llround_test): Likewise.
23230 (modf_test): Likewise.
23231 (nearbyint_test): Likewise.
23232 (nextafter_test): Likewise.
23233 (nexttoward_test): Likewise.
23234 (pow_test): Likewise.
23235 (pow_test_tonearest): Likewise.
23236 (pow_test_towardzero): Likewise.
23237 (pow_test_downward): Likewise.
23238 (pow_test_upward): Likewise.
23239 (remainder_test): Likewise.
23240 (remainder_test_tonearest): Likewise.
23241 (remainder_test_towardzero): Likewise.
23242 (remainder_test_downward): Likewise.
23243 (remainder_test_upward): Likewise.
23244 (remquo_test): Likewise.
23245 (rint_test): Likewise.
23246 (rint_test_tonearest): Likewise.
23247 (rint_test_towardzero): Likewise.
23248 (rint_test_downward): Likewise.
23249 (rint_test_upward): Likewise.
23250 (round_test): Likewise.
23251 (scalb_test): Likewise.
23252 (scalbn_test): Likewise.
23253 (scalbln_test): Likewise.
23254 (signbit_test): Likewise.
23255 (sin_test): Likewise.
23256 (sin_test_tonearest): Likewise.
23257 (sin_test_towardzero): Likewise.
23258 (sin_test_downward): Likewise.
23259 (sin_test_upward): Likewise.
23260 (sincos_test): Likewise.
23261 (sinh_test): Likewise.
23262 (sinh_test_tonearest): Likewise.
23263 (sinh_test_towardzero): Likewise.
23264 (sinh_test_downward): Likewise.
23265 (sinh_test_upward): Likewise.
23266 (sqrt_test): Likewise.
23267 (tan_test): Likewise.
23268 (tan_test_tonearest): Likewise.
23269 (tan_test_towardzero): Likewise.
23270 (tan_test_downward): Likewise.
23271 (tan_test_upward): Likewise.
23272 (tanh_test): Likewise.
23273 (tgamma_test): Likewise.
23274 (trunc_test): Likewise.
23275 (y0_test): Likewise.
23276 (y1_test): Likewise.
23277 (yn_test): Likewise.
23278 (significand_test): Likewise.
23280 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
23283 * libio/genops.c (_IO_no_init): Initialize wide struct info.
23285 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
23288 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
23289 __ppc_mdoio and __ppc_mdoom.
23290 * manual/platform.texi: Document new functions __ppc_yield,
23291 __ppc_mdoio and __ppc_mdoom.
23293 2013-05-22 Carlos O'Donell <carlos@redhat.com>
23295 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
23296 (main): Mention "tls" pseudo-hwcap is legacy.
23297 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
23299 2013-05-22 Joseph Myers <joseph@codesourcery.com>
23301 * math/gen-libm-test.pl (parse_args): Output only string of
23302 arguments as text for test name, not full call or descriptions of
23303 tests for extra outputs.
23304 (generate_testfile): Do not pass function name to parse_args.
23305 Generate this_func variable from START.
23306 * math/libm-test.inc (struct test_f_f_data): Rename test_name
23308 (struct test_ff_f_data): Likewise.
23309 (test_ff_f_data_nexttoward): Likewise.
23310 (struct test_fi_f_data): Likewise.
23311 (struct test_fl_f_data): Likewise.
23312 (struct test_if_f_data): Likewise.
23313 (struct test_fff_f_data): Likewise.
23314 (struct test_c_f_data): Likewise.
23315 (struct test_f_f1_data): Likewise. Remove field extra_name.
23316 (struct test_fF_f1_data): Likewise.
23317 (struct test_ffI_f1_data): Likewise.
23318 (struct test_c_c_data): Rename test_name field to arg_str.
23319 (struct test_cc_c_data): Likewise.
23320 (struct test_f_i_data): Likewise.
23321 (struct test_ff_i_data): Likewise.
23322 (struct test_f_l_data): Likewise.
23323 (struct test_f_L_data): Likewise.
23324 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
23326 (COMMON_TEST_SETUP): New macro.
23327 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
23328 (COMMON_TEST_CLEANUP): Likewise.
23329 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
23330 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
23332 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
23333 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
23335 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
23336 (RUN_TEST_fff_f): Take argument string. Call new setup and
23338 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
23339 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
23341 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
23342 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
23344 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23345 (RUN_TEST_fF_f1): Take argument string. Call new setup and
23347 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23348 (RUN_TEST_fI_f1): Take argument string. Call new setup and
23350 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23351 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
23353 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23354 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
23356 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
23357 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
23359 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
23360 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
23362 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
23363 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
23365 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
23366 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
23368 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
23369 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
23371 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
23372 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
23374 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
23375 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
23377 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
23378 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
23380 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
23381 (RUN_TEST_fFF_11): Take argument string. Call new setup and
23383 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
23385 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23387 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
23388 to _sifields.sigfault.
23389 (si_addr_lsb): Define new macro.
23390 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23391 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23392 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
23394 2013-05-03 Carlos O'Donell <carlos at redhat.com>
23397 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
23399 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
23401 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
23402 loading the domain.
23404 2013-05-22 Joseph Myers <joseph@codesourcery.com>
23406 * math/gen-libm-test.pl (parse_args): Do not include expected
23407 result in test name.
23408 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
23409 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23410 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23411 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23412 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23415 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23417 * benchtests/Makefile: Sort function entries.
23419 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
23420 tanh, asinh, acosh, atanh.
23421 * benchtests/acos-inputs: New file.
23422 * benchtests/acosh-inputs: New file.
23423 * benchtests/asin-inputs: New file.
23424 * benchtests/asinh-inputs: New file.
23425 * benchtests/atanh-inputs: New file.
23426 * benchtests/cosh-inputs: New file.
23427 * benchtests/log-inputs: New file.
23428 * benchtests/sinh-inputs: New file.
23429 * benchtests/tanh-inputs: New file.
23431 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
23434 * posix/tst-getaddrinfo4.c: New test.
23435 * posix/Makefile (tests): Add it.
23437 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23440 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
23441 when no services were used.
23442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
23443 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
23445 2013-05-21 Andreas Schwab <schwab@suse.de>
23448 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
23449 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
23451 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
23452 redundant variable declarations and reallocation of buffer when
23453 parsing as IPv6 address. Always set NSS status when called from
23454 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
23455 buffer too small. Correct computation of needed size.
23456 * nss/Makefile (tests): Add test-digits-dots.
23457 * nss/test-digits-dots.c: New test.
23459 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23461 * benchtests/Makefile: Remove instructions for adding
23463 * benchtests/README: New file to explain how to execute and
23464 enhance the benchmark tests.
23466 2013-05-21 Andreas Schwab <schwab@suse.de>
23469 * setjmp/Makefile (tests): Add tst-sigsetjmp.
23470 * setjmp/tst-sigsetjmp.c: New test.
23472 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
23474 * sysdeps/x86_64/memset.S (memset): New implementation.
23475 (__bzero): Likewise.
23476 (__memset_tail): New function.
23478 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
23480 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
23481 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
23482 __memcpy_sse2_unaligned ifunc selection.
23483 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23484 Add memcpy-sse2-unaligned.S.
23485 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23486 Add: __memcpy_sse2_unaligned.
23488 2013-05-19 Joseph Myers <joseph@codesourcery.com>
23491 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23492 math_force_eval before restoring floating-point envrionment.
23493 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
23494 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
23496 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
23498 (__nearbyintl): Use math_force_eval before restoring
23499 floating-point environment.
23500 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
23502 * math/gen-libm-test.pl (special_functions): Remove.
23503 (parse_args): Don't handle TEST_extra. Handle functions with no
23505 * math/libm-test.inc (struct test_sincos_data): Replace with
23506 struct test_fFF_11_data.
23507 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
23508 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
23509 (sincos_test_data): Change element type to struct
23510 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
23511 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
23512 RUN_TEST_LOOP_sincos.
23513 * math/README.libm-test: Don't mention special handling of
23514 individual functions.
23515 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
23516 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23517 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23518 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23519 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23522 * math/gen-libm-test.pl (get_variable): Remove function.
23523 (parse_args): Don't show pointer parameters to call in test
23524 names. Use "extra output N" in test names for extra outputs
23525 rather than naming variables.
23527 2013-05-18 Joseph Myers <joseph@codesourcery.com>
23530 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
23531 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
23532 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
23534 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
23536 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
23539 * math/gen-libm-test.pl (@tests): Remove variable.
23540 ($count): Likewise.
23541 (new_test): Remove function.
23542 (show_exceptions): New function.
23543 (special_functions): Use show_exceptions instead of new_test.
23544 (parse_args): Likewise.
23545 (generate_testfile): Pass only function name in generated call to
23546 print_max_error or print_complex_max_error.
23547 (get_ulps): Do not handle complex tests specially.
23548 (output_test): Rename to ...
23549 (get_all_ulps_for_test): ... this. Return a string rather than
23550 printing to a file. Require ulps to be present.
23551 (output_ulps): Generate arrays rather than #defines.
23552 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
23553 (struct ulp_data): New type.
23554 (BUILD_COMPLEX_ULP): Remove macro.
23555 (compare_ulp_data): New function.
23556 (find_ulps): Likewise.
23557 (find_test_ulps): Likewise.
23558 (find_function_ulps): Likewise.
23559 (find_complex_function_ulps): Likewise.
23560 (print_max_error): Determine allowed ulps using
23561 find_function_ulps.
23562 (print_complex_max_error): Determine allowed ulps using
23563 find_complex_function_ulps.
23564 (check_float_internal): Determine max ulps using find_test_ulps.
23565 (check_float): Do not take max_ulp parameter. Update call to
23566 check_float_internal.
23567 (check_complex): Likewise.
23568 (check_int): Do not take max_ulp parameter.
23569 (check_long): Likewise.
23570 (check_bool): Likewise.
23571 (check_longlong): Likewise.
23572 (struct test_f_f_data): Remove max_ulp field.
23573 (struct test_ff_f_data): Likewise.
23574 (struct test_ff_f_data_nexttoward): Likewise.
23575 (struct test_fi_f_data): Likewise.
23576 (struct test_fl_f_data): Likewise.
23577 (struct test_if_f_data): Likewise.
23578 (struct test_fff_f_data): Likewise.
23579 (struct test_c_f_data): Likewise.
23580 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
23581 (struct test_fF_f1_data): Likewise.
23582 (struct test_ffI_f1_data): Likewise.
23583 (struct test_c_c_data): Remove max_ulp field.
23584 (struct test_cc_c_data): Likewise.
23585 (struct test_f_i_data): Likewise.
23586 (struct test_ff_i_data): Likewise.
23587 (struct test_f_l_data): Likewise.
23588 (struct test_f_L_data): Likewise.
23589 (struct test_sincos_data): Likewise.
23590 (RUN_TEST_f_f): Do not handle ulps.
23591 (RUN_TEST_LOOP_f_f): Likewise.
23592 (RUN_TEST_2_f): Likewise.
23593 (RUN_TEST_LOOP_2_f): Likewise.
23594 (RUN_TEST_fff_f): Likewise.
23595 (RUN_TEST_LOOP_fff_f): Likewise.
23596 (RUN_TEST_c_f): Likewise.
23597 (RUN_TEST_LOOP_c_f): Likewise.
23598 (RUN_TEST_f_f1): Likewise.
23599 (RUN_TEST_LOOP_f_f1): Likewise.
23600 (RUN_TEST_fF_f1): Likewise.
23601 (RUN_TEST_LOOP_fF_f1): Likewise.
23602 (RUN_TEST_fI_f1): Likewise.
23603 (RUN_TEST_LOOP_fI_f1): Likewise.
23604 (RUN_TEST_ffI_f1): Likewise.
23605 (RUN_TEST_LOOP_ffI_f1): Likewise.
23606 (RUN_TEST_c_c): Likewise.
23607 (RUN_TEST_LOOP_c_c): Likewise.
23608 (RUN_TEST_cc_c): Likewise.
23609 (RUN_TEST_LOOP_cc_c): Likewise.
23610 (RUN_TEST_f_i): Likewise.
23611 (RUN_TEST_LOOP_f_i): Likewise.
23612 (RUN_TEST_f_i_tg): Likewise.
23613 (RUN_TEST_LOOP_f_i_tg): Likewise.
23614 (RUN_TEST_ff_i_tg): Likewise.
23615 (RUN_TEST_LOOP_ff_i_tg): Likewise.
23616 (RUN_TEST_f_b): Likewise.
23617 (RUN_TEST_LOOP_f_b): Likewise.
23618 (RUN_TEST_f_b_tg): Likewise.
23619 (RUN_TEST_LOOP_f_b_tg): Likewise.
23620 (RUN_TEST_f_l): Likewise.
23621 (RUN_TEST_LOOP_f_l): Likewise.
23622 (RUN_TEST_f_L): Likewise.
23623 (RUN_TEST_LOOP_f_L): Likewise.
23624 (RUN_TEST_sincos): Likewise.
23625 (RUN_TEST_LOOP_sincos): Likewise.
23627 2013-05-17 Joseph Myers <joseph@codesourcery.com>
23631 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
23632 main case of finite arguments, set rounding mode to FE_TONEAREST
23633 and discard exceptions.
23634 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
23636 (remainder_tonearest_test_data): New variable.
23637 (remainder_test_tonearest): New function.
23638 (remainder_towardzero_test_data): New variable.
23639 (remainder_test_towardzero): New function.
23640 (remainder_downward_test_data): New variable.
23641 (remainder_test_downward): New function.
23642 (remainder_upward_test_data): New variable.
23643 (remainder_test_upward): New function.
23644 (main): Call the new test functions.
23646 * math/libm-test.inc (struct test_f_f1_data): Remove field
23648 (struct test_fF_f1_data): Likewise.
23649 (struct test_ffI_f1_data): Likewise.
23650 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
23651 based on value of EXTRA_EXPECTED.
23652 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23653 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
23654 EXTRA_VAR based on value of EXTRA_EXPECTED.
23655 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23656 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
23657 EXTRA_VAR based on value of EXTRA_EXPECTED.
23658 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23659 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
23660 EXTRA_VAR based on value of EXTRA_EXPECTED.
23661 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23662 * math/gen-libm-test.pl (parse_args): Don't output initializers
23663 for extra output values.
23665 * math/libm-test.inc (check_int): Expect result to be exactly
23666 equal to expected value and do not handle ulps.
23667 (check_long): Likewise.
23668 (check_longlong): Likewise.
23670 * math/libm-test.inc (ceil_test_data): Test for "inexact"
23672 (cimag_test_data): Likewise.
23673 (conj_test_data): Likewise.
23674 (copysign_test_data): Likewise.
23675 (cproj_test_data): Likewise.
23676 (creal_test_data): Likewise.
23677 (fabs_test_data): Likewise.
23678 (fdim_test_data): Likewise.
23679 (finite_test_data): Likewise.
23680 (floor_test_data): Likewise.
23681 (fmax_test_data): Likewise.
23682 (fmin_test_data): Likewise.
23683 (fmod_test_data): Likewise.
23684 (fpclassify_test_data): Likewise.
23685 (frexp_test_data): Likewise.
23686 (ilogb_test_data): Likewise.
23687 (isfinite_test_data): Likewise.
23688 (isgreater_test_data): Likewise.
23689 (isgreaterequal_test_data): Likewise.
23690 (isinf_test_data): Likewise.
23691 (isless_test_data): Likewise.
23692 (islessequal_test_data): Likewise.
23693 (islessgreater_test_data): Likewise.
23694 (isnan_test_data): Likewise.
23695 (isnormal_test_data): Likewise.
23696 (issignaling_test_data): Likewise.
23697 (isunordered_test_data): Likewise.
23698 (ldexp_test_data): Likewise.
23699 (lrint_test_data): Likewise.
23700 (lrint_test_data) [TEST_FLOAT]: Disable one test.
23701 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
23702 (lrint_tonearest_test_data): Test for "inexact" exceptions.
23703 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23704 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
23705 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23707 (lrint_towardzero_test_data): Test for "inexact" exceptions.
23708 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23709 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
23710 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
23712 (lrint_downward_test_data): Test for "inexact" exceptions.
23713 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23714 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
23715 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23717 (lrint_upward_test_data): Test for "inexact" exceptions.
23718 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
23720 (llrint_test_data): Test for "inexact" exceptions.
23721 (llrint_test_data) [TEST_FLOAT]: Disable one test.
23722 (llrint_tonearest_test_data): Test for "inexact" exceptions.
23723 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23724 (llrint_towardzero_test_data): Test for "inexact" exceptions.
23725 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23726 (llrint_downward_test_data): Test for "inexact" exceptions.
23727 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23728 (llrint_upward_test_data): Test for "inexact" exceptions.
23729 (logb_test_data): Likewise.
23730 (logb_downward_test_data): Likewise.
23731 (nextafter_test_data): Likewise.
23732 (nexttoward_test_data): Likewise.
23733 (remainder_test_data): Likewise.
23734 (remquo_test_data): Likewise.
23735 (scalbn_test_data): Likewise.
23736 (scalbln_test_data): Likewise.
23737 (signbit_test_data): Likewise.
23738 (sqrt_test_data): Likewise.
23739 (significand_test_data): Likewise.
23741 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23744 * benchtests/bench-modf.c (struct args): Mark arg0 as
23746 * scripts/bench.pl: Mark members of struct args as volatile.
23748 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23751 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
23752 negative infinity on POWER6 or lower.
23753 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
23755 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
23758 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
23759 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
23760 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
23761 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
23762 (_FP_SETQNAN): New macro.
23763 (_FP_SETQNAN_SEMIRAW): Likewise.
23764 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
23765 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
23766 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
23767 (FP_EXTEND): Use _FP_FRAC_SNANP.
23768 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
23769 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
23771 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23773 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23776 2013-05-16 Joseph Myers <joseph@codesourcery.com>
23778 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
23779 with DIVIDE_BY_ZERO_EXCEPTION.
23780 (gamma_test_data): Likewise.
23781 (lgamma_test_data): Likewise.
23782 (log_test_data): Likewise.
23783 (log10_test_data): Likewise.
23784 (log2_test_data): Likewise.
23785 (tgamma_test_data): Likewise.
23787 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
23788 (acos_test_tonearest): Likewise.
23789 (acos_test_towardzero): Likewise.
23790 (acos_test_downward): Likewise.
23791 (acos_test_upward): Likewise.
23792 (acosh_test): Likewise.
23793 (asin_test): Likewise.
23794 (asin_test_tonearest): Likewise.
23795 (asin_test_towardzero): Likewise.
23796 (asin_test_downward): Likewise.
23797 (asin_test_upward): Likewise.
23798 (asinh_test): Likewise.
23799 (atan_test): Likewise.
23800 (atanh_test): Likewise.
23801 (atan2_test): Likewise.
23802 (cabs_test): Likewise.
23803 (cacos_test): Likewise.
23804 (cacosh_test): Likewise.
23805 (casin_test): Likewise.
23806 (casinh_test): Likewise.
23807 (catan_test): Likewise.
23808 (catanh_test): Likewise.
23809 (cbrt_test): Likewise.
23810 (ccos_test): Likewise.
23811 (ccosh_test): Likewise.
23812 (cexp_test): Likewise.
23813 (clog_test): Likewise.
23814 (clog10_test): Likewise.
23815 (cos_test): Likewise.
23816 (cos_test_tonearest): Likewise.
23817 (cos_test_towardzero): Likewise.
23818 (cos_test_downward): Likewise.
23819 (cos_test_upward): Likewise.
23820 (cosh_test): Likewise.
23821 (cosh_test_tonearest): Likewise.
23822 (cosh_test_towardzero): Likewise.
23823 (cosh_test_downward): Likewise.
23824 (cosh_test_upward): Likewise.
23825 (cpow_test): Likewise.
23826 (csin_test): Likewise.
23827 (csinh_test): Likewise.
23828 (csqrt_test): Likewise.
23829 (ctan_test): Likewise.
23830 (ctan_test_tonearest): Likewise.
23831 (ctan_test_towardzero): Likewise.
23832 (ctan_test_downward): Likewise.
23833 (ctan_test_upward): Likewise.
23834 (ctanh_test): Likewise.
23835 (ctanh_test_tonearest): Likewise.
23836 (ctanh_test_towardzero): Likewise.
23837 (ctanh_test_downward): Likewise.
23838 (ctanh_test_upward): Likewise.
23839 (erf_test): Likewise.
23840 (erfc_test): Likewise.
23841 (exp_test): Likewise.
23842 (exp_test_tonearest): Likewise.
23843 (exp_test_towardzero): Likewise.
23844 (exp_test_downward): Likewise.
23845 (exp_test_upward): Likewise.
23846 (exp10_test): Likewise.
23847 (exp2_test): Likewise.
23848 (expm1_test): Likewise.
23849 (fmod_test): Likewise.
23850 (gamma_test): Likewise.
23851 (hypot_test): Likewise.
23852 (j0_test): Likewise.
23853 (j1_test): Likewise.
23854 (jn_test): Likewise.
23855 (lgamma_test): Likewise.
23856 (log_test): Likewise.
23857 (log10_test): Likewise.
23858 (log1p_test): Likewise.
23859 (log2_test): Likewise.
23860 (logb_test_downward): Likewise.
23861 (pow_test): Likewise.
23862 (pow_test_tonearest): Likewise.
23863 (pow_test_towardzero): Likewise.
23864 (pow_test_downward): Likewise.
23865 (pow_test_upward): Likewise.
23866 (remainder_test): Likewise.
23867 (remquo_test): Likewise.
23868 (sin_test): Likewise.
23869 (sin_test_tonearest): Likewise.
23870 (sin_test_towardzero): Likewise.
23871 (sin_test_downward): Likewise.
23872 (sin_test_upward): Likewise.
23873 (sincos_test): Likewise.
23874 (sinh_test): Likewise.
23875 (sinh_test_tonearest): Likewise.
23876 (sinh_test_towardzero): Likewise.
23877 (sinh_test_downward): Likewise.
23878 (sinh_test_upward): Likewise.
23879 (sqrt_test): Likewise.
23880 (tan_test): Likewise.
23881 (tan_test_tonearest): Likewise.
23882 (tan_test_towardzero): Likewise.
23883 (tan_test_downward): Likewise.
23884 (tan_test_upward): Likewise.
23885 (tanh_test): Likewise.
23886 (tgamma_test): Likewise.
23887 (y0_test): Likewise.
23888 (y1_test): Likewise.
23889 (yn_test): Likewise.
23891 * math/gen-libm-test.pl (adjust_arg): Remove function.
23892 (special_function): Remove argument $in_func. Only handle
23893 generating output for tables of tests, not inside functions.
23894 (parse_args): Likewise.
23895 (generate_testfile): Remove variable $in_func. Update call to
23897 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
23898 (MINUS_ZERO_INIT): Rename macro to minus_zero.
23899 (PLUS_INFTY_INIT): Rename macro to plus_infty.
23900 (MINUS_INFTY_INIT): Rename macro to minus_infty.
23901 (QNAN_VALUE_INIT): Rename macro to qnan_value.
23902 (MAX_VALUE_INIT): Rename macro to max_value.
23903 (MIN_VALUE_INIT): Rename macro to min_value.
23904 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
23905 (plus_zero): Remove variable.
23906 (minus_zero): Likewise.
23907 (plus_infty): Likewise.
23908 (minus_infty): Likewise.
23909 (qnan_value): Likewise.
23910 (max_value): Likewise.
23911 (min_value): Likewise.
23912 (min_subnorm_value): Likewise.
23914 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23916 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
23917 uint64_t or uint32_t usage.
23918 * crypt/sha256-block.c: Likewise.
23919 * crypt/sha256-crypt.c: Likewise.
23920 * crypt/sha256.c: Likewise.
23921 * crypt/sha512-block.c: Likewise.
23922 * crypt/sha512-crypt.c: Likewise.
23923 * crypt/sha512.c: Likewise.
23924 * debug/backtrace-tst.c: Likewise.
23925 * debug/pcprofiledump.c: Likewise.
23926 * elf/cache.c: Likewise.
23927 * elf/dl-cache.c: Likewise.
23928 * elf/dl-misc.c: Likewise.
23929 * elf/dl-profile.c: Likewise.
23930 * elf/dl-support.c: Likewise.
23931 * elf/ldconfig.c: Likewise.
23932 * elf/sprof.c: Likewise.
23933 * iconv/dummy-repertoire.c: Likewise.
23934 * iconv/iconv_charmap.c: Likewise.
23935 * iconv/skeleton.c: Likewise.
23936 * iconvdata/8bit-generic.c: Likewise.
23937 * iconvdata/cp737.h: Likewise.
23938 * iconvdata/cp775.h: Likewise.
23939 * iconvdata/ibm1008.h: Likewise.
23940 * iconvdata/ibm1025.h: Likewise.
23941 * iconvdata/ibm1046.h: Likewise.
23942 * iconvdata/ibm1097.h: Likewise.
23943 * iconvdata/ibm1112.h: Likewise.
23944 * iconvdata/ibm1122.h: Likewise.
23945 * iconvdata/ibm1123.h: Likewise.
23946 * iconvdata/ibm1124.h: Likewise.
23947 * iconvdata/ibm1129.h: Likewise.
23948 * iconvdata/ibm1130.h: Likewise.
23949 * iconvdata/ibm1132.h: Likewise.
23950 * iconvdata/ibm1133.h: Likewise.
23951 * iconvdata/ibm1137.h: Likewise.
23952 * iconvdata/ibm1140.h: Likewise.
23953 * iconvdata/ibm1141.h: Likewise.
23954 * iconvdata/ibm1142.h: Likewise.
23955 * iconvdata/ibm1143.h: Likewise.
23956 * iconvdata/ibm1144.h: Likewise.
23957 * iconvdata/ibm1145.h: Likewise.
23958 * iconvdata/ibm1146.h: Likewise.
23959 * iconvdata/ibm1147.h: Likewise.
23960 * iconvdata/ibm1148.h: Likewise.
23961 * iconvdata/ibm1149.h: Likewise.
23962 * iconvdata/ibm1153.h: Likewise.
23963 * iconvdata/ibm1154.h: Likewise.
23964 * iconvdata/ibm1155.h: Likewise.
23965 * iconvdata/ibm1156.h: Likewise.
23966 * iconvdata/ibm1157.h: Likewise.
23967 * iconvdata/ibm1158.h: Likewise.
23968 * iconvdata/ibm1160.h: Likewise.
23969 * iconvdata/ibm1161.h: Likewise.
23970 * iconvdata/ibm1162.h: Likewise.
23971 * iconvdata/ibm1163.h: Likewise.
23972 * iconvdata/ibm1164.h: Likewise.
23973 * iconvdata/ibm1166.h: Likewise.
23974 * iconvdata/ibm1167.h: Likewise.
23975 * iconvdata/ibm12712.h: Likewise.
23976 * iconvdata/ibm1390.h: Likewise.
23977 * iconvdata/ibm1399.h: Likewise.
23978 * iconvdata/ibm16804.h: Likewise.
23979 * iconvdata/ibm4517.h: Likewise.
23980 * iconvdata/ibm4899.h: Likewise.
23981 * iconvdata/ibm4909.h: Likewise.
23982 * iconvdata/ibm4971.h: Likewise.
23983 * iconvdata/ibm5347.h: Likewise.
23984 * iconvdata/ibm803.h: Likewise.
23985 * iconvdata/ibm856.h: Likewise.
23986 * iconvdata/ibm901.h: Likewise.
23987 * iconvdata/ibm902.h: Likewise.
23988 * iconvdata/ibm9030.h: Likewise.
23989 * iconvdata/ibm9066.h: Likewise.
23990 * iconvdata/ibm921.h: Likewise.
23991 * iconvdata/ibm922.h: Likewise.
23992 * iconvdata/ibm9448.h: Likewise.
23993 * iconvdata/isiri-3342.h: Likewise.
23994 * iconvdata/jis0201.h: Likewise.
23995 * include/link.h: Likewise.
23996 * include/netdb.h: Likewise.
23997 * inet/check_native.c: Likewise.
23998 * inet/check_pf.c: Likewise.
23999 * inet/getipv4sourcefilter.c: Likewise.
24000 * inet/getnameinfo.c: Likewise.
24001 * inet/getsourcefilter.c: Likewise.
24002 * inet/htonl.c: Likewise.
24003 * inet/setipv4sourcefilter.c: Likewise.
24004 * inet/setsourcefilter.c: Likewise.
24005 * inet/test-inet6_opt.c: Likewise.
24006 * inet/tst-network.c: Likewise.
24007 * locale/C-collate.c: Likewise.
24008 * locale/C-ctype.c: Likewise.
24009 * locale/C-time.c: Likewise.
24010 * locale/C-translit.h: Likewise.
24011 * locale/loadarchive.c: Likewise.
24012 * locale/programs/3level.h: Likewise.
24013 * locale/programs/charmap.c: Likewise.
24014 * locale/programs/charmap.h: Likewise.
24015 * locale/programs/ld-address.c: Likewise.
24016 * locale/programs/ld-collate.c: Likewise.
24017 * locale/programs/ld-ctype.c: Likewise.
24018 * locale/programs/ld-identification.c: Likewise.
24019 * locale/programs/ld-measurement.c: Likewise.
24020 * locale/programs/ld-messages.c: Likewise.
24021 * locale/programs/ld-monetary.c: Likewise.
24022 * locale/programs/ld-name.c: Likewise.
24023 * locale/programs/ld-numeric.c: Likewise.
24024 * locale/programs/ld-paper.c: Likewise.
24025 * locale/programs/ld-telephone.c: Likewise.
24026 * locale/programs/ld-time.c: Likewise.
24027 * locale/programs/linereader.c: Likewise.
24028 * locale/programs/locale.c: Likewise.
24029 * locale/programs/locarchive.c: Likewise.
24030 * locale/programs/locfile.h: Likewise.
24031 * locale/programs/repertoire.c: Likewise.
24032 * locale/programs/simple-hash.c: Likewise.
24033 * locale/programs/simple-hash.h: Likewise.
24034 * malloc/memusage.c: Likewise.
24035 * malloc/memusagestat.c: Likewise.
24036 * nis/nis_defaults.c: Likewise.
24037 * nis/nis_hash.c: Likewise.
24038 * nis/nis_print.c: Likewise.
24039 * nis/nis_xdr.c: Likewise.
24040 * nscd/connections.c: Likewise.
24041 * nscd/hstcache.c: Likewise.
24042 * nscd/nscd_gethst_r.c: Likewise.
24043 * nscd/nscd_getserv_r.c: Likewise.
24044 * nscd/nscd_helper.c: Likewise.
24045 * nscd/servicescache.c: Likewise.
24046 * nss/makedb.c: Likewise.
24047 * nss/nss_db/db-XXX.c: Likewise.
24048 * nss/nss_db/db-initgroups.c: Likewise.
24049 * nss/nss_db/db-netgrp.c: Likewise.
24050 * nss/nss_files/files-network.c: Likewise.
24051 * nss/nss_files/files-parse.c: Likewise.
24052 * posix/bug-regex5.c: Likewise.
24053 * posix/fnmatch_loop.c: Likewise.
24054 * posix/regcomp.c: Likewise.
24055 * posix/regexec.c: Likewise.
24056 * posix/tst-rfc3484-2.c: Likewise.
24057 * posix/tst-rfc3484-3.c: Likewise.
24058 * posix/tst-rfc3484.c: Likewise.
24059 * resolv/nss_dns/dns-canon.c: Likewise.
24060 * resolv/nss_dns/dns-network.c: Likewise.
24061 * resolv/res_init.c: Likewise.
24062 * resolv/res_mkquery.c: Likewise.
24063 * resolv/tst-aton.c: Likewise.
24064 * stdlib/cxa_atexit.c: Likewise.
24065 * stdlib/cxa_finalize.c: Likewise.
24066 * stdlib/gen-fpioconst.c: Likewise.
24067 * stdlib/strtol_l.c: Likewise.
24068 * string/tst-endian.c: Likewise.
24069 * sunrpc/auth_des.c: Likewise.
24070 * sunrpc/clnt_udp.c: Likewise.
24071 * sunrpc/rtime.c: Likewise.
24072 * sunrpc/svcauth_des.c: Likewise.
24073 * sunrpc/xdr.c: Likewise.
24074 * sunrpc/xdr_intXX_t.c: Likewise.
24075 * sunrpc/xdr_rec.c: Likewise.
24076 * sysdeps/generic/ldconfig.h: Likewise.
24077 * sysdeps/generic/ldsodefs.h: Likewise.
24078 * sysdeps/generic/memusage.h: Likewise.
24079 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24080 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24081 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24082 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24083 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24084 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24085 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24086 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24087 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24088 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24089 * sysdeps/posix/getaddrinfo.c: Likewise.
24090 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24091 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24092 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24093 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24094 * sysdeps/powerpc/test-gettimebase.c: Likewise.
24095 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24096 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24097 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24098 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24099 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24100 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24101 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24102 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24103 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24104 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24105 * sysdeps/x86_64/dl-tls.h: Likewise.
24106 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24107 * time/alt_digit.c: Likewise.
24108 * time/era.c: Likewise.
24109 * wcsmbs/tst-c16c32-1.c: Likewise.
24111 2013-05-16 Joseph Myers <joseph@codesourcery.com>
24113 * math/libm-test.inc (struct test_sincos_data): New type.
24114 (RUN_TEST_LOOP_sincos): New macro.
24115 (sincos_test_data): New variable.
24116 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24118 2013-05-16 Richard Henderson <rth@redhat.com>
24120 * math/atest-exp2.c (LIMB64): New macro.
24121 (CONSTSZ): New macro.
24122 (mp_exp1, mp_exp_m1, mp_log2): New variables.
24124 (print_mpn_fp): ... to function scope.
24125 (read_mpn_hex): Remove.
24126 (get_log2): Remove.
24127 (exp2_mpn): Use mp_log2.
24128 (main): Use mp_exp1.
24130 2013-05-16 Joseph Myers <joseph@codesourcery.com>
24132 * math/libm-test.inc: Remove comment about not testing "inexact"
24134 (INEXACT_EXCEPTION): New macro.
24135 (NO_INEXACT_EXCEPTION): Likewise.
24136 (INVALID_EXCEPTION_OK): Update value.
24137 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24138 (OVERFLOW_EXCEPTION_OK): Likewise.
24139 (UNDERFLOW_EXCEPTION_OK): Likewise.
24140 (IGNORE_ZERO_INF_SIGN): Likewise.
24141 (ERRNO_UNCHANGED): Likewise.
24142 (ERRNO_EDOM): Likewise.
24143 (ERRNO_ERANGE): Likewise.
24144 (test_exceptions): Handle testing "inexact" exceptions.
24145 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
24146 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
24147 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
24148 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
24150 (rint_towardzero_test_data): Likewise.
24151 (rint_downward_test_data): Likewise.
24152 (rint_upward_test_data): Likewise.
24154 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
24155 with OVERFLOW_EXCEPTION.
24156 (exp10_test_data): Likewise.
24157 (exp2_test_data): Likewise.
24158 (expm1_test_data): Likewise.
24159 (lgamma_test_data): Likewise.
24160 (pow_test_data): Likewise.
24161 (tgamma_test_data): Likewise.
24162 (yn_test_data): Remove duplicate test of overflow.
24164 * math/libm-test.inc (struct test_cc_c_data): New type.
24165 (RUN_TEST_LOOP_cc_c): New macro.
24166 (cpow_test_data): New variable.
24167 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
24169 * math/libm-test.inc (struct test_f_L_data): New type.
24170 (RUN_TEST_LOOP_f_L): New macro.
24171 (llrint_test_data): New variable.
24172 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
24173 (llrint_tonearest_test_data): New variable.
24174 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24175 (llrint_towardzero_test_data): New variable.
24176 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
24177 (llrint_downward_test_data): New variable.
24178 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
24179 (llrint_upward_test_data): New variable.
24180 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
24181 (llround_test_data): New variable.
24182 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
24184 2013-05-13 Peter Collingbourne <pcc@google.com>
24186 * math/atest-exp2.c (get_log2): Remove const attribute.
24188 2013-05-15 Joseph Myers <joseph@codesourcery.com>
24190 * math/libm-test.inc (struct test_f_l_data): New type.
24191 (RUN_TEST_LOOP_f_l): New macro.
24192 (lrint_test_data): New variable.
24193 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
24194 (lrint_tonearest_test_data): New variable.
24195 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
24196 (lrint_towardzero_test_data): New variable.
24197 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
24198 (lrint_downward_test_data): New variable.
24199 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
24200 (lrint_upward_test_data): New variable.
24201 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
24202 (lround_test_data): New variable.
24203 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
24205 2013-05-15 Peter Collingbourne <pcc@google.com>
24207 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
24208 (EXTRACT_WORDS64) Use where appropriate.
24209 (INSERT_WORDS64) Likewise.
24211 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
24212 constraints with x constraints.
24213 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
24215 * malloc/obstack.c (_obstack_compat): Add initializer.
24217 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
24219 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
24220 si_trapno and add si_addr_lsb to _sifields.sigfault.
24221 (si_trapno): Remove macro.
24222 (si_addr_lsb): Define new macro.
24223 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24225 2013-05-15 Joseph Myers <joseph@codesourcery.com>
24227 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
24228 instead of TEST_f_l.
24229 (llrint_test_tonearest): Likewise.
24230 (llrint_test_towardzero): Likewise.
24231 (llrint_test_downward): Likewise.
24232 (llrint_test_upward): Likewise.
24233 (llround_test): Likewise.
24235 * math/libm-test.inc (struct test_f_i_data): Add comment.
24236 (RUN_TEST_LOOP_f_b): New macro.
24237 (RUN_TEST_LOOP_f_b_tg): Likewise.
24238 (finite_test_data): New variable.
24239 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
24240 (isfinite_test_data): New variable.
24241 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24242 (isinf_test_data): New variable.
24243 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24244 (isnan_test_data): New variable.
24245 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24246 (isnormal_test_data): New variable.
24247 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24248 (issignaling_test_data): New variable.
24249 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24250 (signbit_test_data): New variable.
24251 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24253 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
24254 with INVALID_EXCEPTION.
24255 (acosh_test_data): Likewise.
24256 (asin_test_data): Likewise.
24257 (atanh_test_data): Likewise.
24258 (fmod_test_data): Likewise.
24259 (log_test_data): Likewise.
24260 (log10_test_data): Likewise.
24261 (log2_test_data): Likewise.
24262 (pow_test_data): Likewise.
24263 (sqrt_test_data): Likewise.
24264 (y0_test_data): Likewise.
24265 (y1_test_data): Likewise.
24266 (yn_test_data): Likewise.
24268 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
24271 * math/libm-test.inc (struct test_ff_i_data): New type.
24272 (RUN_TEST_LOOP_ff_i_tg): New macro.
24273 (isgreater_test_data): New variable.
24274 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24275 (isgreaterequal_test_data): New variable.
24276 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24277 (isless_test_data): New variable.
24278 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24279 (islessequal_test_data): New variable.
24280 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24281 (islessgreater_test_data): New variable.
24282 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24283 (isunordered_test_data): New variable.
24284 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24286 2013-05-14 David S. Miller <davem@davemloft.net>
24288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24290 2013-05-14 Joseph Myers <joseph@codesourcery.com>
24292 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
24294 * math/libm-test.inc (struct test_fF_f1_data): Change type of
24296 (struct test_f_i_data): Change type of max_ulp to int.
24298 * math/libm-test.inc (test_ffI_f1_data): New type.
24299 (RUN_TEST_LOOP_ffI_f1): New macro.
24300 (remquo_test_data): New variable.
24301 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
24303 * setjmp/tst-setjmp-fp.c: New file.
24304 * setjmp/Makefile (tests): Add tst-setjmp-fp.
24305 (link-libm): New variable.
24306 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
24308 * math/libm-test.inc (struct test_f_i_data): New type.
24309 (RUN_TEST_LOOP_f_i): New macro.
24310 (RUN_TEST_LOOP_f_i_tg): Likewise.
24311 (fpclassify_test_data): New variable.
24312 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
24313 (ilogb_test_data): New variable.
24314 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
24316 * math/libm-test.inc (scalbln_test): Correct function name in END
24319 * math/libm-test.inc (struct test_f_f1_data): Add comment.
24320 (RUN_TEST_LOOP_fI_f1): New macro.
24321 (frexp_test_data): New variable.
24322 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
24324 * math/libm-test.inc (struct test_fF_f1_data): New type.
24325 (RUN_TEST_LOOP_fF_f1): New macro.
24326 (modf_test_data): New variable.
24327 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
24329 * math/libm-test.inc (struct test_f_f1_data): New type.
24330 (RUN_TEST_LOOP_f_f1): New macro.
24331 (gamma_test_data): New variable.
24332 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24333 (lgamma_test_data): New variable.
24334 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24336 2013-05-13 Carlos O'Donell <carlos@redhat.com>
24338 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
24339 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
24340 (main): Comment "tls" pseudo-hwcap.
24342 2013-05-13 Joseph Myers <joseph@codesourcery.com>
24344 * math/libm-test.inc (struct test_fl_f_data): New type.
24345 (RUN_TEST_LOOP_fl_f): New variable.
24346 (scalbln_test_data): New variable.
24347 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
24349 * math/libm-test.inc (struct test_fi_f_data): New type.
24350 (RUN_TEST_LOOP_fi_f): New macro.
24351 (ldexp_test_data): New variable.
24352 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
24353 (scalbn_test_data): New variable.
24354 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
24356 * math/libm-test.inc (struct test_c_f_data): New type.
24357 (RUN_TEST_LOOP_c_f): New macro.
24358 (cabs_test_data): New variable.
24359 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
24360 (carg_test_data): New variable.
24361 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
24362 (cimag_test_data): New variable.
24363 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
24364 (creal_test_data): New variable.
24365 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
24367 * math/libm-test.inc (struct test_if_f_data): New type.
24368 (RUN_TEST_LOOP_if_f): New macro.
24369 (jn_test_data): New variable.
24370 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
24371 (yn_test_data): New variable.
24372 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
24374 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
24376 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24378 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
24379 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
24381 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24383 * benchtests/Makefile (CPPFLAGS-nonlib): Add
24384 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
24385 (bench-deps): Add bench-timing.h.
24386 * benchtests-bench-skeleton.c: Include bench-timing.h.
24387 (main): Use TIMING_* macros instead of clock_gettime.
24388 * benchtests/bench-timing.h: New file.
24391 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
24392 Renamed from _LIB_VERSION.
24393 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
24395 2013-05-12 Joseph Myers <joseph@codesourcery.com>
24397 * math/libm-test.inc (struct test_fff_f_data): New type.
24398 (RUN_TEST_LOOP_fff_f): New macro.
24399 (fma_test_data): New variable.
24400 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
24401 (fma_towardzero_test_data): New variable.
24402 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
24403 (fma_downward_test_data): New variable.
24404 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
24405 (fma_upward_test_data): New variable.
24406 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
24408 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
24409 (struct test_c_c_data): New type.
24410 (RUN_TEST_LOOP_c_c): New macro.
24411 (cacos_test_data): New variable.
24412 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
24413 (cacosh_test_data): New variable.
24414 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
24415 (casin_test_data): New variable.
24416 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
24417 (casinh_test_data): New variable.
24418 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
24419 (catan_test_data): New variable.
24420 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
24421 (catanh_test_data): New variable.
24422 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
24423 (ccos_test_data): New variable.
24424 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
24425 (ccosh_test_data): New variable.
24426 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
24427 (cexp_test_data): New variable.
24428 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
24429 (clog_test_data): New variable.
24430 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
24431 (clog10_test_data): New variable.
24432 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
24433 (conj_test_data): New variable.
24434 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
24435 (cproj_test_data): New variable.
24436 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
24437 (csin_test_data): New variable.
24438 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
24439 (csinh_test_data): New variable.
24440 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
24441 (csqrt_test_data): New variable.
24442 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
24443 (ctan_test_data): New variable.
24444 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
24445 (ctan_tonearest_test_data): New variable.
24446 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24447 (ctan_towardzero_test_data): New variable.
24448 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24449 (ctan_downward_test_data): New variable.
24450 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24451 (ctan_upward_test_data): New variable.
24452 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24453 (ctanh_test_data): New variable.
24454 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
24455 (ctanh_tonearest_test_data): New variable.
24456 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24457 (ctanh_towardzero_test_data): New variable.
24458 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24459 (ctanh_downward_test_data): New variable.
24460 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24461 (ctanh_upward_test_data): New variable.
24462 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24463 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
24466 * math/libm-test.inc (struct test_ff_f_data): New type.
24467 (struct test_ff_f_data_nexttoward): Likewise.
24468 (RUN_TEST_LOOP_2_f): New macro.
24469 (RUN_TEST_LOOP_ff_f): Likewise.
24470 (atan2_test_data): New variable.
24471 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
24472 (copysign_test_data): New variable.
24473 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
24474 (fdim_test_data): New variable.
24475 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
24476 (fmax_test_data): New variable.
24477 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
24478 (fmin_test_data): New variable.
24479 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
24480 (fmod_test_data): New variable.
24481 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
24482 (hypot_test_data): New variable.
24483 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
24484 (nextafter_test_data): New variable.
24485 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
24486 (nexttoward_test_data): New variable.
24487 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
24488 (pow_test_data): New variable.
24489 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
24490 (pow_tonearest_test_data): New variable.
24491 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
24492 (pow_towardzero_test_data): New variable.
24493 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
24494 (pow_downward_test_data): New variable.
24495 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
24496 (pow_upward_test_data): New variable.
24497 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
24498 (remainder_test_data): New variable.
24499 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
24500 (scalb_test_data): New variable.
24501 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
24502 * sysdeps/i386/fpu/libm-test-ulps: Update.
24504 2013-05-11 Joseph Myers <joseph@codesourcery.com>
24506 * math/libm-test.inc (fma_test): Use max_value instead of local
24508 (nextafter_test): Likewise.
24510 * math/libm-test.inc (acos_towardzero_test_data): New variable.
24511 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24512 (acos_downward_test_data): New variable.
24513 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24514 (acos_upward_test_data): New variable.
24515 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24516 (acosh_test_data): New variable.
24517 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
24518 (asin_test_data): New variable.
24519 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
24520 (asin_tonearest_test_data): New variable.
24521 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24522 (asin_towardzero_test_data): New variable.
24523 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24524 (asin_downward_test_data): New variable.
24525 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24526 (asin_upward_test_data): New variable.
24527 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24528 (asinh_test_data): New variable.
24529 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
24530 (atan_test_data): New variable.
24531 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
24532 (atanh_test_data): New variable.
24533 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
24534 (cbrt_test_data): New variable.
24535 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
24536 (ceil_test_data): New variable.
24537 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
24538 (cos_test_data): New variable.
24539 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
24540 (cos_tonearest_test_data): New variable.
24541 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24542 (cos_towardzero_test_data): New variable.
24543 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24544 (cos_downward_test_data): New variable.
24545 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24546 (cos_upward_test_data): New variable.
24547 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24548 (cosh_test_data): New variable.
24549 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
24550 (cosh_tonearest_test_data): New variable.
24551 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24552 (cosh_towardzero_test_data): New variable.
24553 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24554 (cosh_downward_test_data): New variable.
24555 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24556 (cosh_upward_test_data): New variable.
24557 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24558 (erf_test_data): New variable.
24559 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
24560 (erfc_test_data): New variable.
24561 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
24562 (exp_test_data): New variable.
24563 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
24564 (exp_tonearest_test_data): New variable.
24565 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24566 (exp_towardzero_test_data): New variable.
24567 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24568 (exp_downward_test_data): New variable.
24569 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24570 (exp_upward_test_data): New variable.
24571 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24572 (exp10_test_data): New variable.
24573 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
24574 (exp2_test_data): New variable.
24575 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
24576 (expm1_test_data): New variable.
24577 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
24578 (fabs_test_data): New variable.
24579 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
24580 (floor_test_data): New variable.
24581 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
24582 (j0_test_data): New variable.
24583 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
24584 (j1_test_data): New variable.
24585 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
24586 (log_test_data): New variable.
24587 (log_test): Run tests with RUN_TEST_LOOP_f_f.
24588 (log10_test_data): New variable.
24589 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
24590 (log1p_test_data): New variable.
24591 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
24592 (log2_test_data): New variable.
24593 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
24594 (logb_test_data): New variable.
24595 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
24596 (logb_downward_test_data): New variable.
24597 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24598 (nearbyint_test_data): New variable.
24599 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
24600 (rint_test_data): New variable.
24601 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
24602 (rint_tonearest_test_data): New variable.
24603 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24604 (rint_towardzero_test_data): New variable.
24605 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24606 (rint_downward_test_data): New variable.
24607 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24608 (rint_upward_test_data): New variable.
24609 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24610 (round_test_data): New variable.
24611 (round_test): Run tests with RUN_TEST_LOOP_f_f.
24612 (sin_test_data): New variable.
24613 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
24614 (sin_tonearest_test_data): New variable.
24615 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24616 (sin_towardzero_test_data): New variable.
24617 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24618 (sin_downward_test_data): New variable.
24619 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24620 (sin_upward_test_data): New variable.
24621 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24622 (sinh_test_data): New variable.
24623 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
24624 (sinh_tonearest_test_data): New variable.
24625 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24626 (sinh_towardzero_test_data): New variable.
24627 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24628 (sinh_downward_test_data): New variable.
24629 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24630 (sinh_upward_test_data): New variable.
24631 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24632 (sqrt_test_data): New variable.
24633 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
24634 (tan_test_data): New variable.
24635 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
24636 (tan_tonearest_test_data): New variable.
24637 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24638 (tan_towardzero_test_data): New variable.
24639 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24640 (tan_downward_test_data): New variable.
24641 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24642 (tan_upward_test_data): New variable.
24643 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24644 (tanh_test_data): New variable.
24645 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
24646 (tgamma_test_data): New variable.
24647 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
24648 (trunc_test_data): New variable.
24649 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
24650 (y0_test_data): New variable.
24651 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
24652 (y1_test_data): New variable.
24653 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
24654 (significand_test_data): New variable.
24655 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
24657 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
24660 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
24662 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
24664 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
24666 2013-05-10 Andreas Jaeger <aj@suse.de>
24669 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
24670 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
24672 2013-05-10 Joseph Myers <joseph@codesourcery.com>
24674 * math/gen-libm-test.pl (adjust_arg): New function.
24675 (special_functions): Handle generating output in both functions
24677 (parse_args): Likewise.
24678 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
24679 $in_func argument to parse_args.
24680 * math/libm-test.inc (struct test_f_f_data): New type.
24681 (IF_ROUND_INIT_): New macro.
24682 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
24683 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24684 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24685 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24686 (ROUND_RESTORE_): Likewise.
24687 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
24688 (ROUND_RESTORE_FE_TONEAREST): Likewise.
24689 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
24690 (ROUND_RESTORE_FE_UPWARD): Likewise.
24691 (RUN_TEST_LOOP_f_f): New macro.
24692 (acos_test_data): New variable.
24693 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
24694 (acos_tonearest_test_data): New variable.
24695 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24697 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24699 * benchtests/bench-skeleton.c (startup): Fix coding style.
24701 2013-05-10 Joseph Myers <joseph@codesourcery.com>
24704 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
24705 negative infinity argument.
24706 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
24707 negative infinity argument.
24708 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
24709 negative infinity argument.
24710 * math/libm-test.inc (tgamma_test): Expect errno to be set for
24713 2013-05-10 Florian Weimer <fweimer@redhat.com>
24715 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
24716 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
24717 * iconv/iconv_prog.c (main): Likewise.
24718 * locale/programs/charmap-dir.c (charmap_readdir)
24719 (fopen_uncompressed): Likewise.
24720 * locale/programs/locfile.c (siblings_uncached)
24721 (write_locale_data): Use lstat64 instead of lstat.
24722 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
24725 2013-05-10 Andreas Jaeger <aj@suse.de>
24728 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
24730 Include <locale.h>.
24732 2013-05-09 Carlos O'Donell <carlos@redhat.com>
24734 * elf/dl-close.c (_dl_close_worker): Add comments.
24736 2013-05-09 Joseph Myers <joseph@codesourcery.com>
24739 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
24741 (__ieee754_rem_pio2l): Update comments.
24744 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
24746 (__ieee754_rem_pio2l): Update comments.
24748 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
24749 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
24751 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
24754 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
24755 (M_PI_34_LOG10El): Likewise.
24756 (M_PI2_LOG10El): Likewise.
24757 (M_PI4_LOG10El): Likewise.
24758 (M_PI_LOG10El): Likewise.
24760 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24764 2013-05-08 Joseph Myers <joseph@codesourcery.com>
24766 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
24767 (MINUS_ZERO_INIT): Likewise.
24768 (PLUS_INFTY_INIT): Likewise.
24769 (MINUS_INFTY_INIT): Likewise.
24770 (QNAN_VALUE_INIT): Likewise.
24771 (MAX_VALUE_INIT): Likewise.
24772 (MIN_VALUE_INIT): Likewise.
24773 (MIN_SUBNORM_VALUE_INIT): Likewise.
24774 (plus_zero): Initialize with PLUS_ZERO_INIT.
24775 (minus_zero): Initialize with MINUS_ZERO_INIT.
24776 (plus_infty): Initialize with PLUS_INFTY_INIT.
24777 (minus_infty): Initialize with MINUS_INFTY_INIT.
24778 (qnan_value): Initialize with QNAN_VALUE_INIT.
24779 (max_value): Initialize with MAX_VALUE_INIT.
24780 (min_value): Initialize with MIN_VALUE_INIT.
24781 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
24783 * math/libm-test.inc (RUN_TEST_if_f): New macro.
24784 (jn_test): Use TEST_if_f instead of TEST_ff_f.
24785 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
24786 (yn_test): Use TEST_if_f instead of TEST_ff_f.
24788 * math/libm-test.inc (RUN_TEST_f_f): New macro.
24789 (RUN_TEST_2_f): Likewise.
24790 (RUN_TEST_ff_f): Likewise.
24791 (RUN_TEST_fi_f): Likewise.
24792 (RUN_TEST_fl_f): Likewise.
24793 (RUN_TEST_fff_f): Likewise.
24794 (RUN_TEST_c_f): Likewise.
24795 (RUN_TEST_f_f1): Likewise.
24796 (RUN_TEST_fF_f1): Likewise.
24797 (RUN_TEST_fI_f1): Likewise.
24798 (RUN_TEST_ffI_f1): Likewise.
24799 (RUN_TEST_c_c): Likewise.
24800 (RUN_TEST_cc_c): Likewise.
24801 (RUN_TEST_f_i): Likewise.
24802 (RUN_TEST_f_i_tg): Likewise.
24803 (RUN_TEST_ff_i_tg): Likewise.
24804 (RUN_TEST_f_b): Likewise.
24805 (RUN_TEST_f_b_tg): Likewise.
24806 (RUN_TEST_f_l): Likewise.
24807 (RUN_TEST_f_L): Likewise.
24808 (RUN_TEST_sincos): Likewise.
24809 * math/gen-libm-test.pl (new_test): Take new argument to indicate
24810 whether to show exceptions. Do not include ");\n" in return
24812 (special_functions): Output call to RUN_TEST_sincos instead of
24813 check_float calls. Update calls to new_test.
24814 (parse_args): Output call to single RUN_TEST_* macro instead of
24815 check_* calls and other assignments. Update calls to new_test.
24821 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
24822 input to result for tgamma overflow.
24823 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
24824 (gamma_coeff): New variable.
24825 (NCOEFF): New macro.
24826 (gamma_positive): New function.
24827 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
24828 underflow here. Use gamma_positive instead of exp (lgamma) for
24830 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
24831 (gamma_coeff): New variable.
24832 (NCOEFF): New macro.
24833 (gammaf_positive): New function.
24834 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
24835 underflow here. Use gamma_positive instead of exp (lgamma) for
24837 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
24838 (gamma_coeff): New variable.
24839 (NCOEFF): New macro.
24840 (gammal_positive): New function.
24841 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
24842 underflow here. Use gamma_positive instead of exp (lgamma) for
24844 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
24845 (gamma_coeff): New variable.
24846 (NCOEFF): New macro.
24847 (gammal_positive): New function.
24848 (__ieee754_gammal_r): Handle positive infinity, overflow and
24849 underflow here. Handle NaN the same as positive infinity. Remove
24850 check x < 0xffffffff for negative integers. Use gamma_positive
24851 instead of exp (lgamma) for other arguments.
24852 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
24853 (gamma_coeff): New variable.
24854 (NCOEFF): New macro.
24855 (gammal_positive): New function.
24856 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
24857 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
24858 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
24859 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
24860 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
24861 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
24862 * sysdeps/generic/math_private.h (__gamma_productf): New
24864 (__gamma_product): Likewise.
24865 (__gamma_productl): Likewise.
24866 * math/Makefile (libm-calls): Add gamma_product.
24867 * math/libm-test.inc (tgamma_test): Add more tests.
24868 * sysdeps/i386/fpu/libm-test-ulps: Update.
24869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24871 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
24873 * benchtests/bench-skeleton.c (main): Preheat CPU.
24875 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
24877 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
24879 2013-05-07 Roland McGrath <roland@hack.frob.com>
24881 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
24882 and _dl_skip_args_internal.
24884 2013-05-07 Carlos O'Donell <carlos@redhat.com>
24886 * manual/message.texi (Message Translation): Talk about users.
24887 Message to key mapping impacts design.
24889 2013-05-06 Roland McGrath <roland@hack.frob.com>
24891 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
24893 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
24895 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
24896 * sysdeps/wordsize-64/glob64.c: ... here.
24898 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
24899 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
24902 * debug/getlogin_r_chk.c: Moved to ...
24903 * login/getlogin_r_chk.c: ... here.
24904 * debug/Makefile (routines): Move getlogin_r_chk to ...
24905 * login/Makefile (routines): ... here.
24906 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
24907 * login/Versions (libc: GLIBC_2.4): ... here.
24909 * io/poll.c (__poll): Renamed from poll.
24910 Add libc_hidden_def.
24911 (poll): Define as weak alias.
24913 * debug/ptsname_r_chk.c: Moved to ...
24914 * login/ptsname_r_chk.c: ... here.
24915 * debug/Makefile (routines): Move ptsname_r_chk to ...
24916 * login/Makefile (routines): ... here.
24917 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
24918 * login/Versions (libc: GLIBC_2.4): ... here.
24920 * posix/getlogin.c: Moved to ...
24921 * login/getlogin.c: ... here.
24922 * posix/getlogin_r.c: Moved to ...
24923 * login/getlogin_r.c: ... here.
24924 * posix/getlogin_r.c: Moved to ...
24925 * login/getlogin_r.c: ... here.
24926 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
24927 * login/Makefile (routines): ... here.
24928 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
24929 * login/Versions (libc: GLIBC_2.0): ... here.
24931 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
24932 (setrlimit): Define as weak alias.
24934 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
24935 Call __ names for open, ftruncate, and close.
24936 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
24937 (truncate): Define as weak alias.
24939 2013-05-06 Joseph Myers <joseph@codesourcery.com>
24941 * math/gen-libm-test.pl (parse_args): Initialize x before each
24942 test of frexp, modf and remquo.
24944 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
24945 test signgam value.
24947 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24951 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24953 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24955 2013-05-06 Roland McGrath <roland@hack.frob.com>
24957 * elf/dl-writev.h: New file.
24958 * elf/dl-misc.c: Include it.
24959 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24960 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24962 2013-05-04 Joseph Myers <joseph@codesourcery.com>
24964 * math/libm-test.inc (noXFails): Remove variable.
24965 (noXPasses): Likewise.
24966 (BUILD_COMPLEX_INT): Remove macro.
24967 (print_screen): Remove xfail argument.
24968 (print_screen_max_error): Likewise.
24969 (update_stats): Likewise.
24970 (print_max_error): Likewise. Update calls to other affected
24972 (print_complex_max_error): Likewise.
24973 (test_single_exception): Update calls to print_screen.
24974 (test_single_errno): Likewise.
24975 (check_float_internal): Remove xfail argument. Update calls to
24976 other affected functions.
24977 (check_float): Likewise.
24978 (check_complex): Likewise.
24979 (check_int): Likewise.
24980 (check_long): Likewise.
24981 (check_bool): Likewise.
24982 (check_longlong): Likewise.
24983 (main): Don't print noXFails and noXPasses.
24984 * math/gen-libm-test.pl (top level): Don't mention expected
24985 failure handling in comment.
24986 (new_test): Don't handle expected failures.
24987 (parse_args): Don't mention expected failure handling in comment.
24988 (generate_testfile): Don't handle expected failures.
24989 (parse_ulps): Likewise.
24990 (print_ulps_file): Likewise.
24991 (get_failure): Remove function.
24992 (output_test): Don't handle expected failures.
24993 * make/README.libm-test: Don't mention expected failure handling.
24995 * math/libm-test.inc (plus_zero): Make const. Add initializer.
24996 (minus_zero): Likewise.
24997 (plus_infty): Likewise.
24998 (minus_infty): Likewise.
24999 (qnan_value): Likewise.
25000 (max_value): Likewise.
25001 (min_value): Likewise.
25002 (min_subnorm_value): Likewise.
25003 (initialize): Do not initialize those variables dynamically.
25005 2013-05-03 Roland McGrath <roland@hack.frob.com>
25007 * io/open.c (__open_2): Moved to ...
25008 * io/open_2.c: ... this new file.
25009 * io/open64.c (__open64_2): Moved to ...
25010 * io/open64_2.c: ... this new file.
25011 * io/openat.c (__openat_2): Moved to ...
25012 * io/openat_2.c: ... this new file.
25013 * io/openat64.c (__openat64_2): Moved to ...
25014 * io/openat64_2.c: ... this new file.
25015 * io/Makefile (routines): Add them.
25016 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25017 * sysdeps/unix/sysv/linux/open_2.c: File removed.
25018 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
25019 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
25020 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
25021 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
25022 (__openat64): Add hidden_ver.
25023 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25024 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25026 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
25027 Separately conditionalize setting of GLRO(dl_sysinfo) so
25028 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
25029 as well, but the actual setting is only under [NEED_DL_SYSINFO].
25031 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25033 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
25034 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
25036 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
25037 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25038 (_libc_vdso_platform_setup): Add __vdso_time initialization.
25039 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
25040 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
25042 2013-05-03 Joseph Myers <joseph@codesourcery.com>
25044 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
25045 test signgam value.
25047 * math/libm-test.inc (hypot_test): Do not use
25048 IGNORE_ZERO_INF_SIGN.
25050 2013-05-03 Andreas Jaeger <aj@suse.de>
25052 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
25054 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25055 (PF_MAX): Adjust for VSOCK change.
25057 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25061 2013-05-02 Carlos O'Donell <carlos@redhat.com>
25064 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25065 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25066 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25068 2013-05-02 David S. Miller <davem@davemloft.net>
25070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25072 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
25074 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25076 2013-05-01 Roland McGrath <roland@hack.frob.com>
25078 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25080 2013-05-01 Richard Smith <richard@metafoo.co.uk>
25083 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25084 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25085 Use __attribute__ ((__gnu_inline__)).
25086 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25087 Don't use __attribute__ ((__gnu_inline__)).
25089 2013-05-01 Joseph Myers <joseph@codesourcery.com>
25092 * math/s_catan.c (__catan): Handle small real or imaginary part of
25093 input specially to avoid spurious underflow.
25094 * math/s_catanf.c (__catanf): Likewise.
25095 * math/s_catanh.c (__catanh): Likewise.
25096 * math/s_catanhf.c (__catanhf): Likewise.
25097 * math/s_catanhl.c (__catanhl): Likewise.
25098 * math/s_catanl.c (__catanl): Likewise.
25099 * math/libm-test.inc (catan_test): Add more tests.
25100 (catanh_test): Likewise.
25101 * sysdeps/i386/fpu/libm-test-ulps: Update.
25102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25104 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25108 2013-04-30 Joseph Myers <joseph@codesourcery.com>
25111 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25112 accurately for denominator in atan2.
25113 * math/s_catanf.c (__catanf): Likewise.
25114 * math/s_catanh.c (__catanh): Likewise.
25115 * math/s_catanhf.c (__catanhf): Likewise.
25116 * math/s_catanhl.c (__catanhl): Likewise.
25117 * math/s_catanl.c (__catanl): Likewise.
25118 * math/libm-test.inc (catan_test): Add more tests.
25119 (catanh_test): Likewise.
25120 * sysdeps/i386/fpu/libm-test-ulps: Update.
25121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25123 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25125 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25127 * benchtests/Makefile (bench): Remove slow benchmarks.
25128 * benchtests/atan-inputs: Add slow benchmark inputs.
25129 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
25130 (BENCH_FUNC): Accept variant offset.
25132 * benchtests/bench-skeleton.c (main): Run benchmark for each
25134 * benchtests/cos-inputs: Add slow benchmark inputs.
25135 * benchtests/exp-inputs: Likewise.
25136 * benchtests/pow-inputs: Likewise.
25137 * benchtests/sin-inputs: Likewise.
25138 * benchtests/slowatan-inputs: Remove.
25139 * benchtests/slowatan.c: Remove.
25140 * benchtests/slowcos-inputs: Remove.
25141 * benchtests/slowcos.c: Remove.
25142 * benchtests/slowexp-inputs: Remove.
25143 * benchtests/slowexp.c: Remove.
25144 * benchtests/slowpow-inputs: Remove.
25145 * benchtests/slowpow.c: Remove.
25146 * benchtests/slowsin-inputs: Remove.
25147 * benchtests/slowsin.c: Remove.
25148 * benchtests/slowtan-inputs: Remove.
25149 * benchtests/slowtan.c: Remove.
25150 * benchtests/tan-inputs: Add slow benchmark inputs.
25151 * scripts/bench.pl: Parse comments and directives.
25153 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
25155 ($(objpfx)bench-%.c): Remove *-ITER.
25156 * benchtests/bench-modf.c: Remove definition of ITER.
25157 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
25158 (main): Loop for DURATION seconds instead of fixed number of
25160 * scripts/bench.pl: Don't expect iterations in parameters.
25162 2013-04-29 Roland McGrath <roland@hack.frob.com>
25164 * io/fchdir.c (__fchdir): Renamed from fchdir.
25165 (fchdir): Define as weak alias.
25167 2013-04-29 Joseph Myers <joseph@codesourcery.com>
25169 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
25170 (ERRNO_EDOM): Likewise.
25171 (ERRNO_ERANGE): Likewise.
25172 (noErrnoTests): New variable.
25173 (init_max_error): Set errno to 0.
25174 (test_single_errno): New function.
25175 (test_errno): Likewise.
25176 (check_float_internal): Call test_errno. Set errno to 0.
25177 (check_complex): Refer to errno tests in comment.
25178 (check_int): Call test_errno. Set errno to 0.
25179 (check_long): Likewise.
25180 (check_bool): Likewise.
25181 (check_longlong): Likewise.
25182 (cos_test): Use ERRNO_* flags for errno tests instead of
25184 (expm1_test): Likewise.
25185 (fmod_test): Likewise.
25186 (ilogb_test): Likewise.
25187 (lgamma_test): Likewise.
25188 (pow_test): Likewise.
25189 (remainder_test): Likewise.
25190 (sin_test): Likewise.
25191 (tan_test): Likewise.
25192 (yn_test): Likewise.
25193 (initialize): Set errno to 0.
25194 (main): Print number of errno tests.
25195 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
25197 2013-04-29 Andreas Jaeger <aj@suse.de>
25200 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
25204 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
25205 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
25209 * stdlib/random.c (__initstate): Return NULL if
25213 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
25214 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
25217 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25221 2013-04-29 Joseph Myers <joseph@codesourcery.com>
25223 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
25224 of individual tests.
25225 (casin_test): Likewise.
25226 (casinh_test): Likewise.
25228 2013-04-27 Joseph Myers <joseph@codesourcery.com>
25231 * math/s_catan.c (__catan): Handle arguments with large real or
25232 imaginary part separately without squaring.
25233 * math/s_catanf.c (__catanf): Likewise.
25234 * math/s_catanh.c (__catanh): Likewise.
25235 * math/s_catanhf.c (__catanhf): Likewise.
25236 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25238 (__catanhl): Handle arguments with large real or imaginary part
25239 separately without squaring.
25240 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25242 (__catanl): Handle arguments with large real or imaginary part
25243 separately without squaring.
25244 * math/libm-test.inc (catan_test): Add more tests.
25245 (catanh_test): Likewise.
25246 * sysdeps/i386/fpu/libm-test-ulps: Update.
25247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25249 2013-04-27 Andreas Jaeger <aj@suse.de>
25252 * stdlib/stdlib.h: Update guards for qecvt.
25253 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
25256 2013-04-27 Allan McRae <allan@archlinux.org>
25258 * sysdeps/i386/fpu/libm-test-ulps: Update.
25260 2013-04-26 Joseph Myers <joseph@codesourcery.com>
25263 * math/s_catan.c: Include <float.h>.
25264 (__catan): Ensure underflow exception occurs for underflowed
25266 * math/s_catanf.c: Include <float.h>.
25267 (__catanf): Ensure underflow exception occurs for underflowed
25269 * math/s_catanh.c: Include <float.h>.
25270 (__catanh): Ensure underflow exception occurs for underflowed
25272 * math/s_catanhf.c: Include <float.h>.
25273 (__catanhf): Ensure underflow exception occurs for underflowed
25275 * math/s_catanhl.c: Include <float.h>.
25276 (__catanhl): Ensure underflow exception occurs for underflowed
25278 * math/s_catanl.c: Include <float.h>.
25279 (__catanl): Ensure underflow exception occurs for underflowed
25281 * math/libm-test.inc (catan_test): Add more tests.
25282 (catanh_test): Likewise.
25285 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
25286 underflowed result.
25287 * math/s_ccoshf.c (__ccoshf): Likewise.
25288 * math/s_ccoshl.c (__ccoshl): Likewise.
25289 * math/s_csin.c (__csin): Likewise.
25290 * math/s_csinf.c (__csinf): Likewise.
25291 * math/s_csinh.c (__csinh): Likewise.
25292 * math/s_csinhf.c (__csinhf): Likewise.
25293 * math/s_csinhl.c (__csinhl): Likewise.
25294 * math/s_csinl.c (__csinl): Likewise.
25295 * math/libm-test.inc (ccos_test): Add more tests.
25296 (ccosh_test): Likewise.
25297 (csin_test): Likewise.
25298 (csinh_test): Likewise.
25300 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25302 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
25303 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
25304 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
25305 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
25306 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
25307 powerpc/power5+/fpu folders.
25308 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
25311 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25313 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25315 2013-04-25 Joseph Myers <joseph@codesourcery.com>
25317 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
25318 additions to variable.
25319 [$(config-machine) = x86_64] (modules-names): Likewise.
25320 ($(objpfx)tst-audit3): Remove dependency.
25321 ($(objpfx)tst-audit3.out): Likewise.
25322 ($(objpfx)tst-audit4): Likewise.
25323 ($(objpfx)tst-audit4.out): Likewise.
25324 ($(objpfx)tst-audit5): Likewise.
25325 ($(objpfx)tst-audit5.out): Likewise.
25326 ($(objpfx)tst-audit6): Likewise.
25327 ($(objpfx)tst-audit6.out): Likewise.
25328 ($(objpfx)tst-audit7): Likewise.
25329 ($(objpfx)tst-audit7.out): Likewise.
25330 (tst-audit3-ENV): Remove variable.
25331 (tst-audit4-ENV): Likewise.
25332 (tst-audit5-ENV): Likewise.
25333 (tst-audit6-ENV): Likewise.
25334 (tst-audit7-ENV): Likewise.
25335 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
25336 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
25337 addition to variable.
25338 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
25339 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
25340 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
25341 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
25342 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
25343 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
25344 tst-audit3, tst-audit4 and tst-audit5.
25345 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
25346 tst-audit6 and tst-audit7.
25347 [$(subdir) = elf] (modules-names): Add audit modules for those
25349 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
25350 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
25351 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
25352 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
25353 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
25354 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
25355 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
25356 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
25357 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
25358 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
25359 [$(subdir) = elf] (tst-audit3-ENV): New variable.
25360 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
25361 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
25362 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
25363 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
25364 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
25366 [$(subdir) = elf && $(config-cflags-avx) = yes]
25367 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
25368 [$(subdir) = elf && $(config-cflags-avx) = yes]
25369 (CFLAGS-tst-auditmod4a.c): Likewise.
25370 [$(subdir) = elf && $(config-cflags-avx) = yes]
25371 (CFLAGS-tst-auditmod4b.c): Likewise.
25372 [$(subdir) = elf && $(config-cflags-avx) = yes]
25373 (CFLAGS-tst-auditmod6b.c): Likewise.
25374 [$(subdir) = elf && $(config-cflags-avx) = yes]
25375 (CFLAGS-tst-auditmod6c.c): Likewise.
25376 [$(subdir) = elf && $(config-cflags-avx) = yes]
25377 (CFLAGS-tst-auditmod7b.c): Likewise.
25378 * elf/tst-audit3.c: Move to ...
25379 * sysdeps/x86_64/tst-audit3.c: ... here.
25380 * elf/tst-audit4.c: Move to ...
25381 * sysdeps/x86_64/tst-audit4.c: ... here.
25382 * elf/tst-audit5.c: Move to ...
25383 * sysdeps/x86_64/tst-audit5.c: ... here.
25384 * elf/tst-audit6.c: Move to ...
25385 * sysdeps/x86_64/tst-audit6.c: ... here.
25386 * elf/tst-audit7.c: Move to ...
25387 * sysdeps/x86_64/tst-audit7.c: ... here.
25388 * elf/tst-auditmod3a.c: Move to ...
25389 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
25390 * elf/tst-auditmod3b.c: Move to ...
25391 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
25392 * elf/tst-auditmod4a.c: Move to ...
25393 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
25394 * elf/tst-auditmod4b.c: Move to ...
25395 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
25396 * elf/tst-auditmod5a.c: Move to ...
25397 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
25398 * elf/tst-auditmod5b.c: Move to ...
25399 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
25400 * elf/tst-auditmod6a.c: Move to ...
25401 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
25402 * elf/tst-auditmod6b.c: Move to ...
25403 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
25404 * elf/tst-auditmod6c.c: Move to ...
25405 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
25406 * elf/tst-auditmod7a.c: Move to ...
25407 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
25408 * elf/tst-auditmod7b.c: Move to ...
25409 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
25411 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
25414 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
25415 define unconditionally.
25416 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
25417 define unconditionally.
25418 (INT8_C, INT16_C, etc.): Likewise.
25420 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
25422 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
25423 __ehdr_start with hidden visibility.
25425 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
25427 2013-04-24 Carlos O'Donell <carlos@redhat.com>
25429 * math/libm-test.inc (cos_test): Use accurate hex constants.
25430 (sincost_test): Likewise.
25432 2013-04-24 Joseph Myers <joseph@codesourcery.com>
25434 * math/libm-test.inc (catan_test): Add more tests.
25435 (catanh_test): Likewise.
25437 * math/s_catanf.c (__catanf): Use suffixed floating-point
25439 * math/s_catanhf.c (__catanhf): Likewise.
25440 * math/s_catanhl.c (__catanhl): Likewise.
25441 * math/s_catanl.c (__catanl): Likewise.
25444 * math/s_catan.c (__catan): Calculate imaginary part of result
25445 with log1p not log unless computing log of number close to 0.
25446 * math/s_catanf.c (__catanf): Likewise.
25447 * math/s_catanl.c (__catanl): Likewise.
25448 * math/s_catanh.c (__catanh): Calculate real part of result with
25449 log1p not log unless computing log of number close to 0.
25450 * math/s_catanhf.c (__catanhf): Likewise.
25451 * math/s_catanhl.c (__catanhl): Likewise.
25452 * math/libm-test.inc (catan_test): Add more tests.
25453 (catanh_test): Likewise.
25454 * sysdeps/i386/fpu/libm-test-ulps: Update.
25455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25457 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25459 * benchtests/Makefile: Mention files in which fast and slow
25460 paths of math functions are implemented.
25462 2013-04-23 Roland McGrath <roland@hack.frob.com>
25464 * sysdeps/posix/timespec_get.c: New file.
25466 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25468 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
25470 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
25472 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
25473 powerpc/power5/fpu folders.
25474 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
25475 * benchtests/Makefile: Add modf testcase.
25476 * benchtests/bench-modf.c: New file: Benchmark test for mo
25478 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
25481 * time/Makefile (tests): Add tst-strptime-whitespace.
25482 * time/strptime_l.c (get_number): Use ISSPACE.
25483 (__strptime_internal): Likewise.
25484 * time/tst-strptime-whitespace.c: New test case.
25486 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
25488 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
25490 (_nss_files_init): Set it here.
25492 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
25494 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
25495 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
25498 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
25500 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
25502 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25504 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
25507 2013-04-21 David S. Miller <davem@davemloft.net>
25509 * po/ru.po: Update Russion translation from translation project.
25511 2013-04-17 Adam Conrad <adconrad@0c3.net>
25513 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
25516 2013-04-17 Carlos O'Donell <carlos@redhat.com>
25518 * configure.in: Remove i386 configure warning. Remove i386 case.
25519 * configure: Regenerate.
25520 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
25521 Add example to error message.
25522 * sysdeps/i386/configure: Regenerate.
25524 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25526 * benchtests/Makefile (bench): Add cos, tan, slowcos and
25528 * benchtests/cos-inputs: New file.
25529 * benchtests/slowcos-inputs: New file.
25530 * benchtests/slowcos.c: New file.
25531 * benchtests/slowtan-inputs: New file.
25532 * benchtests/slowtan.c: New file.
25533 * benchtests/tan-inputs: New file.
25535 2013-04-16 Roland McGrath <roland@hack.frob.com>
25537 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
25540 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25542 * benchtests/Makefile: Include cppflags-iterator.mk to add
25543 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
25545 * Makefile.in (bench-clean): New target.
25546 * benchtests/Makefile (bench-clean): Likewise.
25548 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
25550 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
25552 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
25554 * stdio-common/tstdiomisc.c: Fix coding-style violation.
25556 2013-04-15 Andreas Schwab <schwab@suse.de>
25558 * nscd/grpcache.c (cache_addgr): Properly check for short write.
25559 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25560 * nscd/pwdcache.c (cache_addpw): Likewise.
25561 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
25564 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25566 * benchtests/Makefile (bench): Write all output to
25567 bench-out.tmp together.
25569 2013-04-15 Andreas Schwab <schwab@suse.de>
25571 * nscd/nscd.c (main): Don't fork again after closing files.
25573 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25575 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
25577 * benchtests/Rules (bench-deps): Collect dependencies into a
25578 single variable. Add Makefile to dependencies.
25579 ($(objpfx)bench-%.c): Depend on bench-deps.
25581 2013-04-12 Roland McGrath <roland@hack.frob.com>
25582 Xavier Roche <roche+kml2@exalead.com>
25585 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
25586 just that it's a file descriptor.
25587 * manual/llio.texi (Synchronizing AIO Operations): Update description
25588 for EBADF error from aio_fsync.
25590 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25592 * Rules (bench): Move target definition...
25593 * benchtests/Makefile: ... here.
25595 2013-04-11 Carlos O'Donell <carlos@redhat.com>
25597 * math/libm-test.inc (cos_test): Fix PI/2 test.
25598 (sincos_test): Likewise.
25599 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25600 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25602 2013-04-11 Andreas Schwab <schwab@suse.de>
25605 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
25606 accept exponent character only when digits were seen.
25607 * stdio-common/Makefile (tests): Add bug26.
25608 * stdio-common/bug26.c: New file.
25611 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
25614 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25616 * Makeconfig (rtld-prefix): Define built linker prefix.
25617 * Rules (run-bench): Use it.
25618 * math/Makefile (run-regen-ulps): Likewise.
25620 * Rules (bench): Remove eval.
25622 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25623 Roland McGrath <roland@hack.frob.com>
25624 Ondrej Bilka <neleai@seznam.cz>
25627 * time/getdate.c: Include ctype.h and alloca.h.
25628 (__getdate_r): Trim leading and trailing spaces of input.
25629 * time/tst-getdate.c (tests): Add tests with leading and
25632 2013-04-08 Roland McGrath <roland@hack.frob.com>
25635 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
25636 when computing value.
25638 2013-04-06 Carlos O'Donell <carlos@redhat.com>
25640 * math/README.libm-test (How can I generate "libm-test-ulps"?):
25641 Use testrun.sh to run libm tests.
25644 * elf/dl-open.c (dl_open_worker): memset all of seen array.
25646 2013-04-06 Marko Myllynen <myllynen@redhat.com>
25649 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
25651 2013-04-06 Carlos O'Donell <carlos@redhat.com>
25653 * Makefile.in (regen-ulps): New target.
25654 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
25655 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
25656 [ifneq (no,$(PERL)] (regen-ulps): New target.
25657 [ifeq (no,$(PERL)] (regen-ulps): New target.
25658 * math/libm-test.inc (ulps_file_name): Define.
25659 (output_dir): New variable.
25660 (options): Add "output-dir" option.
25661 (parse_opt): Handle 'o' case.
25662 (main): If output_dir is non-NULL use it as a prefix
25664 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
25666 2013-04-06 Carlos O'Donell <carlos@redhat.com>
25668 [BZ #10060, #10062]
25669 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
25670 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
25671 fail configure if __sync_val_compare_and_swap is not inlined.
25672 * sysdeps/i386/configure: Regenerate.
25673 * configure.in: Build for i686 when configured for i386.
25674 * configure: Regenerate.
25675 * README: Remove i386 reference.
25677 2013-04-06 Carlos O'Donell <carlos@redhat.com>
25679 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
25680 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25682 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
25684 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
25685 (lmsnanval): New variables.
25686 (F): Add conversion tests.
25687 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
25688 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
25690 * stdio-common/tstdiomisc.c (F): Properly collect individual
25693 [BZ #14686, #15336]
25694 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
25695 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
25696 Instead, use input NaN values or generate a qNaN by arithmetic
25697 operation. Also fix bugs to comply with the standard.
25698 * math/libm-test.inc (remainder_test): Add more tests.
25700 [BZ #15335, #15342]
25701 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
25702 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
25703 input NaN values or generate a qNaN by arithmetic operation.
25705 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
25708 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
25711 2013-04-03 Joseph Myers <joseph@codesourcery.com>
25714 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
25715 underflowed result.
25716 * math/s_cexpf.c (__cexpf): Likewise.
25717 * math/s_cexpl.c (__cexpl): Likewise.
25718 * math/libm-test.inc (cexp_test): Add more tests.
25720 2013-04-03 Andreas Schwab <schwab@suse.de>
25723 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
25724 order arrays from heap if bigger than alloca cutoff.
25726 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
25728 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
25729 (SNAN_TESTS_double): Refer to GCC PR56831.
25730 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
25733 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25735 * Rules (bench): Move bench.out after the run is complete.
25737 * Rules (bench): Echo currently running benchmark.
25739 * benchtests/Makefile (bench): Add atan and slowatan.
25740 * benchtests/atan-inputs: New file.
25741 * benchtests/slowatan-inputs: New file.
25742 * benchtests/slowatan.c: New file.
25744 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
25745 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
25749 * sysdeps/unix/sysv/linux/kernel-features.h
25750 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
25751 __ASSUME_XFS_RESTRICTED_CHOWN.
25752 * sysdeps/unix/sysv/linux/pathconf.c
25753 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25754 Save and restore errno.
25756 2013-04-02 Joseph Myers <joseph@codesourcery.com>
25759 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
25760 arguments using __kernel_casinh.
25761 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
25762 arguments using __kernel_casinhf.
25763 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
25764 arguments using __kernel_casinhl.
25765 * math/libm-test.inc (cacosh_test): Add more tests.
25766 * sysdeps/i386/fpu/libm-test-ulps: Update.
25767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25769 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25771 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
25772 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
25774 * bench/Makefile (bench): Add sin and slowsin.
25775 * benchtests/sin-inputs: New file.
25776 * benchtests/slowsin-inputs: New file.
25777 * benchtests/slowsin.c: New file.
25779 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
25780 (bench): Add slowexp and slowpow.
25781 (exp-ITER): Increase iterations.
25782 (pow-ITER): Likewise.
25783 * benchtests/exp-inputs: Change input.
25784 * benchtests/pow-inputs: Likewise.
25785 * benchtests/slowexp-inputs: New file.
25786 * benchtests/slowexp.c: New file.
25787 * benchtests/slowpow-inputs: New file.
25788 * benchtests/slowpow.c: New file.
25790 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25792 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
25794 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25795 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
25796 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25797 * benchtests/Makefile: Add rint benchtest.
25798 * benchtests/rint-inputs: Input for rint benchtest.
25800 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
25802 * Versions.def (libm): Add GLIBC_2.18.
25803 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
25804 hidden libm prototypes.
25805 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
25806 * math/Makefile (libm-calls): Add s_issignaling.
25807 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
25808 __issignalingf, __issignalingl. Adjust all libm.abilist files.
25809 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
25811 * math/math.h [__USE_GNU] (issignaling): New macro.
25812 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
25813 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
25814 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
25815 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
25816 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
25817 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
25818 * manual/arith.texi (issignaling): New section.
25819 * manual/libm-err-tab.pl (@all_functions): Update comment.
25820 * math/gen-libm-test.pl (parse_args): Apply special handling for
25822 * math/libm-test.inc (print_float, issignaling_test): New
25824 (check_float_internal): Add issignaling checks.
25825 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
25826 default definition.
25827 * sysdeps/powerpc/math-tests.h: New file.
25828 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
25830 * math/test-snan.c (TEST_FUNC): Likewise.
25832 2013-03-30 David S. Miller <davem@davemloft.net>
25834 * po/de.po: Update from translation team.
25836 2013-03-30 Joseph Myers <joseph@codesourcery.com>
25839 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25840 imaginary part less than 1.0 and real part less than 0.5
25842 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25843 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25844 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
25845 (cacos_test): Add more tests.
25846 (casin_test): Likewise.
25847 (casinh_test): Likewise.
25848 * sysdeps/i386/fpu/libm-test-ulps: Update.
25849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25851 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25853 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
25854 ONE with its value.
25856 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
25857 (__pow_mp): Replace ONE and MONE with their values.
25858 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25859 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
25860 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25861 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
25862 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25863 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25865 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
25867 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
25868 (__pow_mp): Replace ZERO and MZERO with their values.
25869 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25870 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25871 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25872 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25873 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25874 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
25877 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
25879 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
25881 2013-03-28 Roland McGrath <roland@hack.frob.com>
25883 * include/stdlib.h [!SHARED] (__call_tls_dtors):
25884 Declare with __attribute__ ((weak)).
25885 * stdlib/exit.c (__libc_atexit) [!SHARED]:
25886 Call __call_tls_dtors only if it's not NULL.
25888 2013-03-28 Roland McGrath <roland@hack.frob.com>
25890 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
25891 didn't do it already, then set _dl_phdr and _dl_phnum based on the
25892 magic __ehdr_start linker symbol if it's defined.
25893 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
25894 them up here if it was already done.
25896 * elf/dl-support.c (_dl_phdr): Make pointer to const.
25897 (_dl_aux_init): Use const in cast when setting it.
25898 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
25899 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
25900 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
25902 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
25904 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
25905 * csu/libc-tls.c: Nor here.
25906 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
25908 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
25909 (__libc_message): Never call vsyslog.
25911 2013-03-28 Alan Modra <amodra@gmail.com>
25913 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
25915 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
25918 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25921 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
25923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25925 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25928 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25929 Don't add gid passed as argument.
25931 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
25933 2013-03-27 Joseph Myers <joseph@codesourcery.com>
25936 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25937 imaginary part between 1.0 and 1.5 and real part less than 0.5
25939 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25940 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25941 * math/libm-test.inc (cacos_test): Add more tests.
25942 (casin_test): Likewise.
25943 (casinh_test): Likewise.
25944 * sysdeps/i386/fpu/libm-test-ulps: Update.
25945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25947 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25949 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
25952 (denorm): Likewise.
25953 (__dbl_mp): Likewise.
25954 (add_magnitudes): Likewise.
25955 (sub_magnitudes): Likewise.
25963 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25965 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25966 (__dubcos): Likewise.
25967 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25968 (__ieee754_acos): Likewise.
25969 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25970 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25971 (__exp1): Likewise.
25972 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25973 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25975 (my_log2): Likewise.
25976 (checkint): Likewise.
25977 * sysdeps/ieee754/dbl-64/e_remainder.c
25978 (__ieee754_remainder): Likewise.
25979 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25980 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25981 (bsloww): Likewise.
25982 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25984 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25985 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
25986 MANTISSA_STORE_T to store computations on mantissa. Use
25987 macros for rounding and division.
25988 (denorm): Likewise.
25989 (__dbl_mp): Likewise.
25990 (add_magnitudes): Likewise.
25991 (sub_magnitudes): Likewise.
25994 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25995 powers of two in terms of TWOPOW macro.
25996 (mp_no): Make type of mantissa as MANTISSA_T.
25997 [!RADIXI]: Define RADIXI.
25998 [!TWO52]: Define TWO52.
25999 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26001 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26003 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
26004 llroundl symbol when building for PPC32.
26006 2013-03-24 Mark H Weaver <mhw@netris.org>
26008 * manual/arith.texi (Normalization Functions): Fix prototypes for
26009 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
26011 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26014 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
26015 high value to check if expl overflow.
26016 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
26017 to check for underflow and overflow.
26018 * math/libm-test.inc: Add exp test.
26020 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
26023 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26026 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26028 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
26031 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
26033 * math/gen-libm-test.pl (parse_args, special_functions): Properly
26034 wrap blocks consisting of several statements.
26036 * sysdeps/generic/math-tests.h: New file.
26037 * sysdeps/i386/fpu/math-tests.h: Likewise.
26038 * math/test-snan.c: Include it.
26039 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
26041 2013-03-21 Joseph Myers <joseph@codesourcery.com>
26044 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
26045 (__ieee754_j0l): Do not improve calculations using cos of twice
26046 input for inputs above LDBL_MAX / 2.0L.
26047 (__ieee754_y0l): Likewise.
26048 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
26049 (__ieee754_j1l): Do not improve calculations using cos of twice
26050 input for inputs above LDBL_MAX / 2.0L.
26051 (__ieee754_y1l): Likewise.
26052 * math/libm-test.inc (j0_test): Add another test.
26053 (j1_test): Likewise.
26054 (y0_test): Likewise.
26055 (y1_test): Likewise.
26056 * sysdeps/i386/fpu/libm-test-ulps: Update.
26058 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26060 * Rules ($(objpfx)bench-%.c): Include code from a C source
26063 2013-03-21 Joseph Myers <joseph@codesourcery.com>
26066 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26067 imaginary part 1.0 and real part less than 0.5 specially.
26068 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26069 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26070 * math/libm-test.inc (cacos_test): Add more tests.
26071 (casin_test): Likewise.
26072 (casinh_test): Likewise.
26073 * sysdeps/i386/fpu/libm-test-ulps: Update.
26074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26076 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26078 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26079 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26081 2013-03-20 Joseph Myers <joseph@codesourcery.com>
26083 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26084 * config.make.in (config-cflags-sse4): Remove variable.
26085 (config-cflags-avx): Likewise.
26086 (config-cflags-sse2avx): Likewise.
26087 (config-cflags-novzeroupper): Likewise.
26088 (config-asflags-i686): Likewise.
26089 (have-mfma4): Likewise.
26090 (have-as-vis3): Likewise.
26092 * configure.in (MIG): Do not AC_SUBST.
26093 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26094 (libc_cv_cc_sse4): Do not AC_SUBST.
26095 (libc_cv_cc_avx): Likewise.
26096 (libc_cv_cc_sse2avx): Likewise.
26097 (libc_cv_cc_novzeroupper): Likewise.
26098 (libc_cv_cc_fma4): Likewise.
26099 (libc_cv_as_i686): Likewise.
26100 (libc_cv_sparc_as_vis3): Likewise.
26101 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26103 (config-asflags-i686): Likewise.
26104 (config-cflags-avx): Likewise.
26105 (config-cflags-sse2avx): Likewise.
26106 (have-mfma4): Likewise.
26107 (config-cflags-novzeroupper): Likewise.
26108 * sysdeps/mach/configure.in (MIG): Likewise.
26109 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26110 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26112 (config-cflags-avx): Likewise.
26113 (config-cflags-sse2avx): Likewise.
26114 (have-mfma4): Likewise.
26115 (config-cflags-novzeroupper): Likewise.
26116 * configure: Regenerated.
26117 * sysdeps/i386/configure: Likewise.
26118 * sysdeps/mach/configure: Likewise.
26119 * sysdeps/sparc/configure: Likewise.
26120 * sysdeps/x86_64/configure: Likewise.
26122 2013-03-20 Roland McGrath <roland@hack.frob.com>
26125 * locale/programs/localedef.c (options): Put N_ translation marker
26126 on argument names, not just descriptions.
26128 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26130 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
26132 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
26135 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
26137 2013-03-19 Roland McGrath <roland@hack.frob.com>
26139 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
26140 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
26141 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
26142 [!BEFORE_ABORT] (before_abort): New function.
26143 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
26144 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
26145 (writev_for_fatal): New function.
26146 (WRITEV_FOR_FATAL): New macro; call that.
26147 (backtrace_and_maps): New function.
26148 (BEFORE_ABORT): New macro; call that.
26149 (struct str_list): Type removed.
26150 (__libc_message, __libc_fatal): Functions removed.
26151 Include <sysdeps/posix/libc_fatal.c> instead.
26153 2013-03-19 Joseph Myers <joseph@codesourcery.com>
26155 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
26157 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
26160 2013-03-19 Andreas Schwab <schwab@suse.de>
26162 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
26163 * sysdeps/gnu/configure: Regenerate.
26165 * configure.in: Substitute libc_cv_rtlddir.
26166 * configure: Regenerate.
26167 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
26168 * Makeconfig (rtlddir, inst_rtlddir): New variables.
26169 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
26170 * elf/Makefile (install-others, CFLAGS-interp.c)
26171 (ldso_install, common-ldd-rewrite): Likewise.
26172 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
26173 $(inst_slibdir)/$(rtld-installed-name).
26174 * scripts/rellns-sh: Add -p option.
26175 * Makerules (make-shlib-link): Use rellns-sh to get relative name
26178 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26180 * manual/nptl.texi: Renamed to ...
26181 * manual/threads.texi: ... this.
26182 * manual/Makefile (chapters): Update.
26184 2013-03-18 Roland McGrath <roland@hack.frob.com>
26187 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
26188 on argument names, not just descriptions.
26189 * malloc/memusagestat.c (options): Likewise.
26190 * nss/getent.c (options): Likewise.
26192 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
26195 * iconv/iconv_prog.c (options): Put N_ translation marker
26196 on argument names, not just descriptions.
26197 * iconv/iconvconfig.c (options): Likewise.
26199 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
26201 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
26202 implementation which is faster on all x86_64 architectures.
26203 Tested on AMD, Intel Nehalem, SNB, IVB.
26204 * sysdeps/x86_64/strnlen.S: Likewise.
26206 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26207 Remove all multiarch strlen and strnlen versions.
26208 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26209 Remove strlen and strnlen related parts.
26211 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
26212 Inline strlen part.
26213 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26215 * sysdeps/x86_64/multiarch/strlen.S: Remove.
26216 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
26217 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
26218 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
26219 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26220 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
26222 2013-03-17 Carlos O'Donell <carlos@redhat.com>
26224 * manual/memory.texi (Malloc Tunable Parameters):
26225 Sort parameters alphabetically. Add comments for missing entries.
26227 2013-03-17 David S. Miller <davem@davemloft.net>
26229 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26231 2013-03-16 Joseph Myers <joseph@codesourcery.com>
26234 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
26235 for arguments at most half maximum finite value.
26236 * math/libm-test.inc (j0_test): Add more tests.
26237 (j1_test): Likewise.
26238 (y0_test): Likewise.
26239 (y1_test): Likewise.
26240 * sysdeps/i386/fpu/libm-test-ulps: Update.
26241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26244 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
26245 1 / x and functions P and Q for arguments above 0x1p256L.
26246 (__ieee754_y0l): Likewise.
26247 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
26248 (__ieee754_y1l): Likewise.
26249 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
26250 (j1_test): Likewise.
26251 (y0_test): Likewise.
26252 (y1_test): Likewise.
26254 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
26256 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
26259 2013-03-15 Roland McGrath <roland@hack.frob.com>
26261 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
26262 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
26263 zero since it's initialized to EXEC_PAGESIZE.
26265 * sysdeps/unix/sysv/linux/ldsodefs.h
26266 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
26267 * sysdeps/generic/ldsodefs.h: ... here.
26269 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
26271 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
26273 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
26275 * math/test-snan.c: Renamed from
26276 sysdeps/powerpc/fpu/test-powerpc-snan.c.
26277 * math/Makefile (tests): Add test-snan.
26278 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
26281 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
26282 SUFFIX. Initialize qNaN_var with __builtin_nan family of
26284 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
26285 __builtin_nan family of functions.
26286 * math/libm-test.inc (initialize): Initialize qnan_value with
26287 __builtin_nan family of functions.
26288 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
26290 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
26292 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
26293 storage class. Initialize qNaN_var and sNaN_var with
26294 __builtin_nan and __builtin_nans families of functions,
26297 * math/libm-test.inc (acosh_test): Also test with qNaN input.
26298 (sqrt_test): Remove duplicate test with qNaN input.
26299 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
26300 (round_test, signbit_test, significand_test): Note missing +/-Inf
26301 as well as qNaN tests.
26303 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
26304 qNaN_var. Fix a few strings, too.
26305 * math/libm-test.inc (nan_value): Rename to qnan_value.
26306 * math/gen-libm-test.pl (%beautify): Adjust to that.
26307 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
26308 * math/test-misc.c (main): Likewise.
26309 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
26310 to __qnan_bytes, and __qnan_union, respectively.
26311 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
26313 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
26314 and lqnanval, respectively.
26315 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
26316 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
26317 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
26318 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
26320 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
26321 * math/test-misc.c (main) [__x86_64__]: Enable test for long
26324 * math/test-misc.c (main): Fix copy'n'pastos.
26325 * misc/tst-efgcvt.c (special): Likewise.
26327 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
26328 Remove declarations.
26330 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26332 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
26333 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
26334 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
26335 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
26337 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26339 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
26340 macro to return vdso values correctly in IFUNC implementations.
26341 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26342 Optimization by using IFUNC.
26344 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26345 Richard Henderson <rth@redhat.com>
26346 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26348 * Makefile.in (bench): New target.
26349 * NEWS: Mention the benchmark framework.
26350 * Rules (bench): Likewise.
26351 (binaries-bench): Generate binaries for functions to
26353 * benchtests/Makefile: New makefile for benchmark tests.
26354 * benchtests/bench-skeleton.c: New skeleton file for benchmark
26356 * benchtests/exp-inputs: New input file for EXP function.
26357 * benchtests/pow-inputs: New input file for POW function.
26358 * scripts/bench.pl: New script to generate source files for
26359 benchmark programs.
26361 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26363 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26364 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
26365 computations on mantissa. Use macros for rounding and
26367 (denorm): Likewise.
26368 (__dbl_mp): Likewise.
26369 (add_magnitudes): Likewise.
26370 (sub_magnitudes): Likewise.
26373 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26374 powers of two in terms of TWOPOW macro.
26375 (mp_no): Make type of mantissa as MANTISSA_T.
26376 [!RADIXI]: Define RADIXI.
26377 [!TWO52]: Define TWO52.
26378 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26380 * manual/nptl.texi (cindex): Modify threads to pthreads.
26382 2013-03-15 Joseph Myers <joseph@codesourcery.com>
26384 * sysdeps/x86_64/preconfigure: Regenerated.
26386 2013-03-14 Joseph Myers <joseph@codesourcery.com>
26389 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
26391 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
26392 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
26394 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
26395 * math/libm-test.inc (j0_test): Do not allow one spurious
26396 underflow exception.
26397 (y1_test): Likewise.
26399 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26401 * manual/Makefile (chapters): Add nptl.
26402 * manual/debug.texi (Debugging Support): Add link to Threads
26404 * manual/nptl.texi: New file.
26406 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
26408 2013-03-14 Petr Baudis <pasky@ucw.cz>
26410 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
26411 for non-NULL pointer before the memory validity test. Pointed
26412 out by Holger Brunck <holger.brunck@keymile.com>.
26414 2013-03-13 Andreas Schwab <schwab@suse.de>
26416 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
26419 2013-03-13 Joseph Myers <joseph@codesourcery.com>
26421 * timezone/zic.c: Update from tzcode 2013b.
26423 2013-03-12 Carlos O'Donell <carlos@redhat.com>
26425 * manual/install.texi (Configuring and compiling):
26426 Mention i686 and i586.
26427 * INSTALL: Regenerate.
26429 2013-03-12 Roland McGrath <roland@hack.frob.com>
26431 * sysdeps/init_array/elf-init.c: New file.
26433 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
26434 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
26436 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
26437 __gmon_start__ as global, but as static with a .preinit_array pointer.
26438 * sysdeps/init_array/gmon-start.c: New file. Use that.
26439 * sysdeps/init_array/crti.S: New file, empty except for comments.
26440 * sysdeps/init_array/crtn.S: Likewise.
26442 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
26444 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
26446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26447 Remove Prefer_SSE_for_memop.
26448 * sysdeps/x86_64/multiarch/init-arch.h: Remove
26449 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
26450 HAS_PREFER_SSE_FOR_MEMOP.
26451 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
26453 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26454 Remove bzero, memset ifunc support.
26455 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
26456 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
26457 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26458 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26460 2013-03-11 Andreas Schwab <schwab@suse.de>
26463 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
26465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
26466 (GLIBC_2.16): Remove pthread_atfork.
26468 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
26470 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
26471 (ptestcases.h): Likewise.
26473 2013-03-08 Roland McGrath <roland@hack.frob.com>
26475 * Makeconfig ($(common-objpfx)config.status): Depend on
26476 sysdeps/*/preconfigure{,.in} too.
26478 2013-03-08 Joseph Myers <joseph@codesourcery.com>
26480 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
26481 (__free_hook): Use void * instead of __malloc_ptr_t.
26482 (__malloc_hook): Likewise.
26483 (__realloc_hook): Likewise.
26484 (__memalign_hook): Likewise.
26485 (__after_morecore_hook): Likewise.
26486 * malloc/arena.c (save_malloc_hook): Likewise.
26487 (save_free_hook): Likewise.
26488 * malloc/hooks.c (malloc_hook_ini): Likewise.
26489 (realloc_hook_ini): Likewise.
26490 (memalign_hook_ini): Likewise.
26491 * malloc/malloc.c (malloc_hook_ini): Likewise.
26492 (realloc_hook_ini): Likewise.
26493 (memalign_hook_ini): Likewise.
26494 (__free_hook): Likewise.
26495 (__malloc_hook): Likewise.
26496 (__realloc_hook): Likewise.
26497 (__memalign_hook): Likewise.
26498 (__libc_malloc): Likewise.
26499 (__libc_free): Likewise.
26500 (__libc_realloc): Likewise.
26501 (__libc_memalign): Likewise.
26502 (__libc_valloc): Likewise.
26503 (__libc_pvalloc): Likewise.
26504 (__libc_calloc): Likewise.
26505 (__posix_memalign): Likewise.
26506 * malloc/morecore.c (__sbrk): Likewise.
26507 (__default_morecore): Likewise.
26509 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
26511 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
26512 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
26513 __malloc_ptrdiff_t.
26515 * malloc/malloc.h (__malloc_size_t): Remove macro.
26516 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
26518 (old_memalign_hook): Likewise.
26519 (old_realloc_hook): Likewise.
26520 (struct hdr): Likewise.
26522 (mallochook): Likewise.
26523 (memalignhook): Likewise.
26524 (reallochook): Likewise.
26525 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
26526 (tr_old_realloc_hook): Likewise.
26527 (tr_old_memalign_hook): Likewise.
26528 (tr_mallochook): Likewise.
26529 (tr_reallochook): Likewise.
26530 (tr_memalignhook): Likewise.
26532 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26534 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
26535 default_ldbl_pack and using as default implementation.
26536 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
26538 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
26539 redundant definition.
26540 (ldbl_insert_mantissa): Likewise.
26541 (ldbl_canonicalize): Likewise.
26542 (ldbl_nearbyint): Likewise.
26543 (ldbl_pack): Rename to ldbl_pack_ppc.
26544 (ldbl_unpack): Rename to ldbl_unpack_ppc.
26545 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
26546 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
26548 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26550 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
26551 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
26552 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
26553 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
26554 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
26555 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
26556 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
26557 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
26559 2013-03-07 Andreas Jaeger <aj@suse.de>
26561 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26564 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26566 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
26567 Include mpa.h and declare __MPEXP.
26568 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
26569 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26570 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26571 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
26572 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26573 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26574 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
26576 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
26577 (__slowpow): Use long double EXPL and LOGL functions to
26579 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26580 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26581 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
26582 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26583 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26584 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
26586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
26587 intermediate variable to calculate exponent.
26589 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26593 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
26594 [!NO__SQR]: Define __sqr.
26595 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
26596 and NO__SQR. Remove all code except __mul and __sqr. Include
26597 sysdeps/ieee754/dbl-64/mpa.c.
26598 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26601 * posix/Makefile (tests): Add tst-pathconf.
26602 * posix/tst-pathconf.c: New test case.
26603 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
26605 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
26607 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
26609 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
26611 2013-03-06 Andreas Jaeger <aj@suse.de>
26613 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
26614 definition via __MAP_ANONYMOUS.
26616 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
26617 it's not part of Linux headers.
26619 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
26620 (MAP_HUGE_MASK): Define.
26622 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26624 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26625 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26627 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26628 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26630 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26631 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
26633 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26635 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
26636 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
26637 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
26638 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
26639 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
26640 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
26642 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26645 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26646 Handle f2fs and efivarfs.
26648 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
26651 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
26652 (EFIVARFS_MAGIC): Add.
26653 (F2FS_LINK_MAX): Add.
26655 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26657 * stdio-common/vfprintf.c: Replace __builtin_expect with
26660 2013-03-06 Joseph Myers <joseph@codesourcery.com>
26663 * sysdeps/generic/bp-sym.h: Remove file.
26664 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
26665 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
26666 <bp-sym.h> and <bp-asm.h>.
26667 (__longjmp): Don't use BP_SYM.
26668 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
26670 (memcpy): Don't use BP_SYM.
26671 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
26672 <bp-sym.h> and <bp-asm.h>.
26673 (memcpy): Don't use BP_SYM.
26674 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
26676 (memcpy): Don't use BP_SYM.
26677 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
26679 (memset): Don't use BP_SYM.
26680 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26681 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26682 (__bzero): Don't use BP_SYM.
26683 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26684 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26685 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
26686 <bp-sym.h> and <bp-asm.h>.
26687 (memcmp): Don't use BP_SYM. Remove comment about bounded
26689 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
26690 <bp-sym.h> and <bp-asm.h>.
26691 (memcpy): Don't use BP_SYM.
26692 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
26693 <bp-sym.h> and <bp-asm.h>.
26694 (memset): Don't use BP_SYM.
26695 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26696 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26697 (__bzero): Don't use BP_SYM.
26698 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26699 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26700 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
26701 <bp-sym.h> and <bp-asm.h>.
26702 (strncmp): Don't use BP_SYM. Remove comment about bounded
26704 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
26705 <bp-sym.h> and <bp-asm.h>.
26706 (memcpy): Don't use BP_SYM.
26707 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
26708 <bp-sym.h> and <bp-asm.h>.
26709 (memset): Don't use BP_SYM.
26710 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26711 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26712 (__bzero): Don't use BP_SYM.
26713 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26714 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26715 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
26716 <bp-sym.h> and <bp-asm.h>.
26717 (__memchr): Don't use BP_SYM.
26718 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
26719 <bp-sym.h> and <bp-asm.h>.
26720 (memcmp): Don't use BP_SYM. Remove comment about bounded
26722 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
26723 <bp-sym.h> and <bp-asm.h>.
26724 (memcpy): Don't use BP_SYM.
26725 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
26726 <bp-sym.h> and <bp-asm.h>.
26727 (__mempcpy): Don't use BP_SYM.
26728 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
26729 <bp-sym.h> and <bp-asm.h>.
26730 (__memrchr): Don't use BP_SYM.
26731 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
26732 <bp-sym.h> and <bp-asm.h>.
26733 (memset): Don't use BP_SYM.
26734 (__bzero): Likewise.
26735 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
26736 <bp-sym.h> and <bp-asm.h>.
26737 (__rawmemchr): Don't use BP_SYM.
26738 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
26739 <bp-sym.h> and <bp-asm.h>.
26740 (__STRCMP): Don't use BP_SYM.
26741 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
26742 <bp-sym.h> and <bp-asm.h>.
26743 (strchr): Don't use BP_SYM.
26744 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
26745 <bp-sym.h> and <bp-asm.h>.
26746 (__strchrnul): Don't use BP_SYM.
26747 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
26748 <bp-sym.h> and <bp-asm.h>.
26749 (strlen): Don't use BP_SYM.
26750 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
26751 <bp-sym.h> and <bp-asm.h>.
26752 (strncmp): Don't use BP_SYM. Remove comment about bounded
26754 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
26755 <bp-sym.h> and <bp-asm.h>.
26756 (__strnlen): Don't use BP_SYM.
26757 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
26758 <bp-sym.h> and <bp-asm.h>.
26759 (__GI__setjmp): Don't use BP_SYM.
26760 (_setjmp): Likewise.
26761 (__sigsetjmp): Likewise.
26762 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
26763 (L(start_addresses)): Don't use BP_SYM.
26764 (_start): Likewise.
26765 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
26767 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
26768 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
26769 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26770 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26771 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
26773 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
26774 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
26775 about bounded pointers.
26776 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26777 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26778 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
26780 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26781 about bounded pointers. Remove GKM FIXME comments.
26782 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26783 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
26785 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
26786 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
26787 Remove GKM FIXME comments.
26788 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26789 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26790 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
26792 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26793 about bounded pointers. Remove GKM FIXME comment.
26794 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
26796 (strncmp): Don't use BP_SYM. Remove comment about bounded
26798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
26799 <bp-sym.h> and <bp-asm.h>.
26800 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
26802 <bp-sym.h> and <bp-asm.h>.
26803 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26806 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26808 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
26811 2013-03-05 David S. Miller <davem@davemloft.net>
26813 * po/es.po: Update from translation team.
26815 2013-03-05 Andreas Jaeger <aj@suse.de>
26817 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
26818 <bits/mman-linux.h>.
26819 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26821 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
26822 <bits/mman-linux.h> to end of file.
26823 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26825 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
26826 <bits/mman-linux.h> to end of file.
26827 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26829 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
26830 <bits/mman-linux.h> to end of file.
26832 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
26833 (MCL_CURRENT, MCL_FUTURE): Define here.
26835 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26838 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
26840 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26842 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26844 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
26845 fourth parameter needed for rt_sigprocmask syscall.
26846 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26847 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26848 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26849 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26850 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26851 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
26853 2013-03-04 Joseph Myers <joseph@codesourcery.com>
26856 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
26857 comment about bounded pointers.
26858 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
26859 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
26861 2013-03-04 Andreas Jaeger <aj@suse.de>
26863 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
26864 common definitions.
26866 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
26867 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
26868 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
26869 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26870 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26871 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26873 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26876 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26877 __ieee754_sqrl instead of __sqrl.
26879 2013-03-01 Joseph Myers <joseph@codesourcery.com>
26881 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
26882 * sysdeps/powerpc/fpu_control.h: ... here.
26883 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
26884 * sysdeps/powerpc/bits/fenvinline.h: ... here.
26885 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
26886 * sysdeps/powerpc/bits/mathinline.h: ... here.
26888 2013-03-01 Roland McGrath <roland@hack.frob.com>
26890 * elf/dl-hwcaps.c (_dl_important_hwcaps):
26891 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
26892 to just [NEED_DL_SYSINFO_DSO].
26893 * elf/dl-support.c: Likewise.
26894 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26895 * elf/rtld.c (dl_main): Likewise.
26896 * elf/setup-vdso.h (setup_vdso): Likewise.
26897 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
26898 * sysdeps/unix/sysv/linux/dl-sysdep.c
26899 (_dl_discover_osversion): Likewise.
26901 2013-03-01 Carlos O'Donell <carlos@redhat.com>
26903 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
26904 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26906 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
26908 * NEWS: Mention libm performance improvements and non-x86 PI
26911 * csu/libc-start.c (__pthread_initialize_minimal): Change
26912 function arguments.
26913 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26915 2013-02-28 Joseph Myers <joseph@codesourcery.com>
26918 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
26919 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
26920 <bp-sym.h> and <bp-asm.h>.
26921 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26922 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
26924 (memcpy): Don't use BP_SYM.
26925 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
26927 (__mpn_add_n): Don't use BP_SYM.
26928 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
26929 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
26931 (__mpn_addmul_1): Don't use BP_SYM.
26932 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26933 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
26935 (_setjmp): Don't use BP_SYM.
26936 (__novmx_setjmp): Likewise.
26937 (__GI__setjmp): Likewise.
26938 (__vmx_setjmp): Likewise.
26939 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
26941 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
26942 (__bzero): Don't use BP_SYM.
26943 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26944 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26945 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
26946 <bp-sym.h> and <bp-asm.h>.
26947 (memcpy): Don't use BP_SYM.
26948 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
26949 <bp-sym.h> and <bp-asm.h>.
26950 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26951 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
26952 <bp-sym.h> and <bp-asm.h>.
26953 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26954 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
26956 (__mpn_lshift): Don't use BP_SYM.
26957 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26958 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26960 (memset): Don't use BP_SYM.
26961 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26962 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26963 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26965 (__mpn_mul_1): Don't use BP_SYM.
26966 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26967 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26968 <bp-sym.h> and <bp-asm.h>.
26969 (memcmp): Don't use BP_SYM.
26970 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26971 <bp-sym.h> and <bp-asm.h>.
26972 (memcpy): Don't use BP_SYM.
26973 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26974 <bp-sym.h> and <bp-asm.h>.
26975 (memset): Don't use BP_SYM.
26976 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
26977 <bp-sym.h> and <bp-asm.h>.
26978 (strncmp): Don't use BP_SYM.
26979 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
26980 <bp-sym.h> and <bp-asm.h>.
26981 (memcpy): Don't use BP_SYM.
26982 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
26983 <bp-sym.h> and <bp-asm.h>.
26984 (memset): Don't use BP_SYM.
26985 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
26986 <bp-sym.h> and <bp-asm.h>.
26987 (__memchr): Don't use BP_SYM.
26988 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
26989 <bp-sym.h> and <bp-asm.h>.
26990 (memcmp): Don't use BP_SYM.
26991 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
26992 <bp-sym.h> and <bp-asm.h>.
26993 (memcpy): Don't use BP_SYM.
26994 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
26995 <bp-sym.h> and <bp-asm.h>.
26996 (__mempcpy): Don't use BP_SYM.
26997 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
26998 <bp-sym.h> and <bp-asm.h>.
26999 (__memrchr): Don't use BP_SYM.
27000 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
27001 <bp-sym.h> and <bp-asm.h>.
27002 (memset): Don't use BP_SYM.
27003 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
27004 <bp-sym.h> and <bp-asm.h>.
27005 (__rawmemchr): Don't use BP_SYM.
27006 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
27007 <bp-sym.h> and <bp-asm.h>.
27008 (__STRCMP): Don't use BP_SYM.
27009 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
27010 <bp-sym.h> and <bp-asm.h>.
27011 (strchr): Don't use BP_SYM.
27012 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
27013 <bp-sym.h> and <bp-asm.h>.
27014 (__strchrnul): Don't use BP_SYM.
27015 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
27016 <bp-sym.h> and <bp-asm.h>.
27017 (strlen): Don't use BP_SYM.
27018 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
27019 <bp-sym.h> and <bp-asm.h>.
27020 (strncmp): Don't use BP_SYM.
27021 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
27022 <bp-sym.h> and <bp-asm.h>.
27023 (__strnlen): Don't use BP_SYM.
27024 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27026 (__mpn_rshift): Don't use BP_SYM.
27027 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27028 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
27029 <bp-sym.h> and <bp-asm.h>.
27030 (__sigsetjmp): Don't use BP_SYM.
27031 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
27032 (L(start_addresses)): Don't use BP_SYM.
27033 (_start): Likewise.
27034 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
27036 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
27037 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27038 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27039 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
27041 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
27042 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27043 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27044 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
27046 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27048 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27049 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
27051 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
27053 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27054 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27055 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
27057 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27059 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
27061 (strncmp): Don't use BP_SYM,
27062 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
27064 (__mpn_sub_n): Don't use BP_SYM.
27065 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27066 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27068 (__mpn_submul_1): Don't use BP_SYM.
27069 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27071 <bp-sym.h> and <bp-asm.h>.
27072 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27074 <bp-sym.h> and <bp-asm.h>.
27075 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27078 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27080 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27081 Use ZK to minimize writes to Z.
27082 (sub_magnitudes): Simplify code a bit.
27083 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27084 Use ZK to minimize writes to Z.
27085 (sub_magnitudes): Simplify code a bit.
27087 2013-02-27 Roland McGrath <roland@hack.frob.com>
27089 * csu/gmon-start.c: Add special exception to license text.
27091 2013-02-27 Richard Henderson <rth@redhat.com>
27093 * scripts/config.guess: Update from config.git.
27094 * scripts/config.sub: Likewise.
27096 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27098 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27100 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27102 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27104 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27106 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27108 2013-02-26 Roland McGrath <roland@hack.frob.com>
27110 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27111 [$(build-shared = yes].
27113 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27115 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27116 (__mul): Reduce iterations for calculating mantissa.
27118 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27120 (__mpranred): Likewise.
27123 * malloc/memusagestat.c (main): Draw graphs for heap and stack
27124 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27126 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
27128 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27129 Define __attribute__.
27131 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27133 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
27135 * posix/regex_internal.h (__attribute): Remove.
27136 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
27137 (re_string_context_at): Likewise.
27138 (bitset_not): Use __attribute__ and mark function as possibly
27140 (bitset_merge): Likewise.
27141 (bitset_mask): Likewise.
27142 (re_string_char_size_at): Likewise.
27143 (re_string_wchar_at): Likewise.
27144 (re_string_elem_size_at): Likewise.
27146 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27148 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
27152 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
27156 (denorm): Likewise.
27157 (__dbl_mp): Likewise.
27158 (add_magnitudes): Likewise.
27159 (sub_magnitudes): Likewise.
27163 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
27166 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
27169 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
27172 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
27173 up changes with default code.
27174 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
27177 2013-02-24 Allan McRae <allan@archlinux.org>
27179 * manual/socket.texi (The Internet Namespace): Order menu items
27180 to match that in the file.
27182 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
27183 node listing of the info page menu.
27185 2013-02-21 Joseph Myers <joseph@codesourcery.com>
27188 * sysdeps/i386/bp-asm.h: Remove file.
27189 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27190 (PARMS): Do not use macros from bp-asm.h.
27194 (__mpn_add_n): Do not use BP_SYM
27195 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
27197 (PARMS): Do not use macros from bp-asm.h.
27200 (__mpn_addmul_1): Do not use BP_SYM
27201 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
27203 (PARMS): Do not use macros from bp-asm.h.
27204 (SIGMSK): Likewise.
27205 (_setjmp): Likewise. Do not use BP_SYM.
27206 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
27208 (PARMS): Do not use macros from bp-asm.h.
27209 (SIGMSK): Likewise.
27210 (setjmp): Likewise. Do not use BP_SYM.
27211 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
27213 (PARMS): Do not use macros from bp-asm.h.
27214 (__frexp): Do not use BP_SYM.
27216 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
27218 (PARMS): Do not use macros from bp-asm.h.
27219 (__frexpf): Do not use BP_SYM.
27220 (frexpf): Likewise.
27221 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
27223 (PARMS): Do not use macros from bp-asm.h.
27224 (__frexpl): Do not use BP_SYM.
27225 (frexpl): Likewise.
27226 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
27228 (PARMS): Do not use macros from bp-asm.h.
27229 (__remquo): Do not use BP_SYM.
27230 (remquo): Likewise.
27231 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
27233 (PARMS): Do not use macros from bp-asm.h.
27234 (__remquof): Do not use BP_SYM.
27235 (remquof): Likewise.
27236 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
27238 (PARMS): Do not use macros from bp-asm.h.
27239 (__remquol): Do not use BP_SYM.
27240 (remquol): Likewise.
27241 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
27243 (PARMS): Do not use macros from bp-asm.h.
27246 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
27247 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
27249 (PARMS): Do not use macros from bp-asm.h.
27250 (strlen): Do not use BP_SYM.
27251 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
27253 (PARMS): Do not use macros from bp-asm.h.
27257 (__mpn_add_n): Do not use BP_SYM.
27258 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
27260 (PARMS): Do not use macros from bp-asm.h.
27263 (__mpn_addmul_1): Do not use BP_SYM.
27264 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
27267 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
27269 (PARMS): Do not use macros from bp-asm.h.
27272 (__mpn_lshift): Do not use BP_SYM.
27273 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
27275 (PARMS): Do not use macros from bp-asm.h.
27279 (memcpy): Likewise. Do not use BP_SYM.
27280 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
27281 libc_hidden_def and weak_alias.
27282 (mempcpy): Do not use BP_SYM in weak_alias.
27283 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
27285 (PARMS): Do not use macros from bp-asm.h.
27288 [!BZERO_P] (CHR): Likewise.
27289 (memset): Likewise. Do not use BP_SYM.
27290 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
27292 (PARMS): Do not use macros from bp-asm.h.
27295 (__mpn_mul_1): Do not use BP_SYM.
27296 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
27298 (PARMS): Do not use macros from bp-asm.h.
27301 (__mpn_rshift): Do not use BP_SYM.
27302 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
27304 (PARMS): Do not use macros from bp-asm.h.
27307 (strchr): Likewise. Do not use BP_SYM.
27308 (index): Do not use BP_SYM in weak_alias.
27309 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
27311 (PARMS): Do not use macros from bp-asm.h.
27314 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
27315 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
27317 (PARMS): Do not use macros from bp-asm.h.
27318 (strlen): Do not use BP_SYM.
27319 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
27321 (PARMS): Do not use macros from bp-asm.h.
27325 (__mpn_sub_n): Do not use BP_SYM.
27326 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
27328 (PARMS): Do not use macros from bp-asm.h.
27331 (__mpn_submul_1): Do not use BP_SYM.
27332 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
27334 (PARMS): Do not use macros from bp-asm.h.
27338 (__mpn_add_n): Do not use BP_SYM.
27339 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
27342 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
27344 (PARMS): Do not use macros from bp-asm.h.
27347 (memcmp): Do not use BP_SYM.
27348 (bcmp): Do not use BP_SYM in weak_alias.
27349 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
27351 (PARMS): Do not use macros from bp-asm.h.
27355 (memcpy): Likewise. Do not use BP_SYM.
27356 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
27358 (PARMS): Do not use macros from bp-asm.h.
27362 (memmove): Likewise. Do not use BP_SYM.
27363 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
27365 (PARMS): Do not use macros from bp-asm.h.
27369 (__mempcpy): Likewise. Do not use BP_SYM.
27370 (mempcpy): Do not use BP_SYM in weak_alias.
27371 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
27373 (PARMS): Do not use macros from bp-asm.h.
27376 [!BZERO_P] (CHR): Likewise.
27377 (memset): Likewise. Do not use BP_SYM.
27378 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
27380 (PARMS): Do not use macros from bp-asm.h.
27382 (strcmp): Do not use BP_SYM.
27383 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
27385 (PARMS): Do not use macros from bp-asm.h.
27388 [USE_AS_STRTOK_R] (SAVE): Likewise.
27389 (FUNCTION): Likewise. Do not use BP_SYM.
27390 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
27392 (strtok_r): Likewise.
27393 (__GI___strtok_r): Likewise.
27394 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27395 (PARMS): Do not use macros from bp-asm.h.
27398 (__mpn_lshift): Do not use BP_SYM.
27399 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27400 (PARMS): Do not use macros from bp-asm.h.
27403 (__memchr): Do not use BP_SYM.
27404 (memchr): Do not use BP_SYM in weak_alias.
27405 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27406 (PARMS): Do not use macros from bp-asm.h.
27409 (memcmp): Do not use BP_SYM.
27410 (bcmp): Do not use BP_SYM in weak_alias.
27411 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
27412 (PARMS): Do not use macros from bp-asm.h.
27415 (__mpn_mul_1): Do not use BP_SYM.
27416 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
27418 (PARMS): Do not use macros from bp-asm.h.
27421 (__rawmemchr): Do not use BP_SYM.
27422 (rawmemchr): Do not use BP_SYM in weak_alias.
27423 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27424 (PARMS): Do not use macros from bp-asm.h.
27427 (__mpn_rshift): Do not use BP_SYM.
27428 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27429 (PARMS): Do not use macros from bp-asm.h.
27430 (SIGMSK): Likewise.
27431 (__sigsetjmp): Likewise. Do not use BP_SYM.
27432 * sysdeps/i386/start.S: Do not include "bp-sym.h".
27433 (_start): Do not use BP_SYM.
27434 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
27435 (PARMS): Do not use macros from bp-asm.h.
27438 (__stpcpy): Likewise. Do not use BP_SYM.
27439 (stpcpy): Do not use BP_SYM in weak_alias.
27440 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
27442 (PARMS): Do not use macros from bp-asm.h.
27446 (__stpncpy): Likewise. Do not use BP_SYM.
27447 (stpncpy): Do not use BP_SYM in weak_alias.
27448 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27449 (PARMS): Do not use macros from bp-asm.h.
27452 (strchr): Likewise. Do not use BP_SYM.
27453 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
27455 (PARMS): Do not use macros from bp-asm.h.
27458 (__strchrnul): Likewise. Do not use BP_SYM.
27459 (strchrnul): Do not use BP_SYM in weak_alias.
27460 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
27462 (PARMS): Do not use macros from bp-asm.h.
27464 (strcspn): Do not use BP_SYM.
27465 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
27467 (PARMS): Do not use macros from bp-asm.h.
27470 (strpbrk): Likewise. Do not use BP_SYM.
27471 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
27473 (PARMS): Do not use macros from bp-asm.h.
27476 (strrchr): Likewise. Do not use BP_SYM.
27477 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
27478 (PARMS): Do not use macros from bp-asm.h.
27480 (strspn): Do not use BP_SYM.
27481 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
27482 (PARMS): Do not use macros from bp-asm.h.
27486 (FUNCTION): Likewise. Do not use BP_SYM.
27487 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
27489 (strtok_r): Likewise.
27490 (__GI___strtok_r): Likewise.
27491 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27492 (PARMS): Do not use macros from bp-asm.h.
27496 (__mpn_sub_n): Do not use BP_SYM.
27497 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
27499 (PARMS): Do not use macros from bp-asm.h.
27502 (__mpn_submul_1): Do not use BP_SYM.
27503 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
27505 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
27507 (PARMS): Do not use macros from bp-asm.h.
27512 (__clone): Do not use BP_SYM.
27513 (clone): Do not use BP_SYM in weak_alias.
27514 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
27516 (PARMS): Do not use macros from bp-asm.h.
27518 (__mmap64): Do not use BP_SYM.
27519 (mmap64): Do not use BP_SYM in weak_alias.
27520 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27521 <bp-sym.h> and <bp-asm.h>.
27522 (PARMS): Do not use macros from bp-asm.h.
27523 (__posix_fadvise64_l64): Do not use BP_SYM.
27524 * sysdeps/unix/sysv/linux/i386/semtimedop.S
27525 (PARMS): Do not use macros from bp-asm.h.
27527 (semtimedop): Do not use BP_SYM.
27528 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
27531 2013-02-21 Allan McRae <allan@archlinux.org>
27533 * manual/message.texi (Charset conversion in gettext):
27534 Move @end statement to beginning of line.
27536 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27538 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
27540 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27543 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
27544 (denorm): Likewise.
27545 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
27546 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
27548 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27550 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
27551 tail-call to the resolved function if pltexit isn't needed.
27553 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27555 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
27556 or Y being zero as being unlikely.
27557 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27560 2013-02-20 Carlos O'Donell <carlos@redhat.com>
27562 * manual/nss.texi (System Databases and Name Service Switch):
27563 Remove frobnicate @pxref.
27565 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
27567 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27568 __attribute__ ((unused)) to __attribute__ ((__unused__)).
27570 2013-02-20 Petr Machata <pmachata@redhat.com>
27572 * elf/elf.h (R_ARM_TARGET1): New macro.
27573 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
27574 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
27575 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
27576 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
27577 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
27578 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
27579 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
27580 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
27581 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
27582 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
27583 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
27584 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
27585 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
27586 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
27587 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
27588 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
27589 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
27590 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
27591 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
27592 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
27593 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
27594 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
27595 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
27596 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
27597 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
27598 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
27599 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
27600 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
27601 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
27602 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
27603 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
27604 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
27605 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
27606 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
27607 (R_ARM_THM_GOT_BREL12): Likewise.
27608 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
27609 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
27610 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
27611 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
27612 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
27613 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
27614 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
27615 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
27616 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
27618 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
27620 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27621 __attribute_used__ to __attribute__ ((unused)).
27623 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27625 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
27627 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
27628 comment formatting.
27629 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
27631 2013-02-19 Joseph Myers <joseph@codesourcery.com>
27634 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
27636 (ENTER): Remove both macro definitions.
27638 (CHECK_BOUNDS_LOW): Likewise.
27639 (CHECK_BOUNDS_HIGH): Likewise.
27640 (CHECK_BOUNDS_BOTH): Likewise.
27641 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
27642 (RETURN_BOUNDED_POINTER): Likewise.
27643 (RETURN_NULL_BOUNDED_POINTER): Likewise.
27644 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
27645 (POP_ERRNO_LOCATION_RETURN): Likewise.
27646 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
27647 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27648 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
27650 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27651 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
27652 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
27653 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
27654 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
27655 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
27656 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
27657 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
27658 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
27659 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
27660 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
27661 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
27662 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27663 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
27665 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27666 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
27668 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27669 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
27670 * sysdeps/i386/i586/memset.S (memset): Likewise.
27671 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
27672 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27673 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
27675 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27676 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
27677 Change uses of L(2) to L(out).
27678 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
27679 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
27680 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
27681 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27682 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
27684 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27685 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
27687 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27688 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
27689 (RETURN): Do not use macro LEAVE.
27690 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
27691 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
27692 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
27693 * sysdeps/i386/i686/memset.S (memset): Likewise.
27694 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
27695 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
27696 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27697 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
27699 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27700 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
27701 L(1_2) and L(1_3) into L(1).
27702 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27703 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
27704 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27705 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
27706 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27707 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
27708 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
27709 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27710 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
27712 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
27713 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27714 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
27715 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
27716 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
27717 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27718 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
27719 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
27720 * sysdeps/i386/strcspn.S (strcspn): Likewise.
27721 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
27722 * sysdeps/i386/strrchr.S (strrchr): Likewise.
27723 * sysdeps/i386/strspn.S (strspn): Likewise.
27724 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
27726 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27727 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
27728 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27729 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
27730 L(1_3) into L(1_1).
27731 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
27732 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27733 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
27735 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27737 2013-02-19 Jakub Jelinek <jakub@redhat.com>
27739 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
27742 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27744 * math/atest-exp.c (exp_mpn): Remove ROUND.
27745 * math/atest-exp2.c (exp_mpn): Likewise.
27746 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
27748 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
27749 * stdlib/tst-tls-atexit-lib.c: Likewise.
27750 * stdlib/tst-tls-atexit.c: Likewise.
27752 2013-02-18 Mike Frysinger <vapier@gentoo.org>
27754 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
27755 and __attribute_alloc_size__.
27757 2013-02-18 Mike Frysinger <vapier@gentoo.org>
27759 * include/programs/xmalloc.h: Change __attribute_alloc_size to
27760 __attribute_alloc_size__.
27761 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
27762 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
27764 2013-02-18 Mike Frysinger <vapier@gentoo.org>
27766 * include/programs/xmalloc.h: New file.
27767 * catgets/gencat.c: Include it.
27768 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
27769 * elf/pldd.c: Likewise.
27770 * iconv/iconv_charmap.c: Likewise.
27771 * iconv/iconvconfig.c: Likewise.
27772 * iconv/strtab.c: Likewise.
27773 * locale/programs/locale.c: Likewise.
27774 * locale/programs/localedef.h: Likewise.
27775 * locale/programs/simple-hash.c: Likewise.
27776 * nscd/nscd.h: Likewise.
27777 * nss/makedb.c: Likewise.
27778 * sysdeps/generic/ldconfig.h: Likewise.
27780 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27782 * Versions.def: Add GLIBC_2.18.
27783 * include/link.h (struct link_map): New member l_tls_dtor_count.
27784 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
27785 (__call_tls_dtors): Likewise.
27786 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
27787 __cxa_thread_atexit_impl.
27788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27796 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
27799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
27801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27804 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
27805 (tests): Add test case tst-tls-atexit.
27806 (modules-names): Add shared library for tst-tls-atexit.
27807 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
27808 (GLIBC_PRIVATE): Add __call_tls_dtors.
27809 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
27811 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
27812 * stdlib/tst-tls-atexit.c: New test case.
27813 * stdlib/tst-tls-atexit-lib.c: New test case.
27815 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
27817 * elf/Versions (ld): Add _dl_find_dso_for_object.
27818 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
27819 * elf/dl-open.c (_dl_find_dso_for_object): New function.
27820 (dl_open_worker): Use _dl_find_dso_for_object.
27821 * elf/dl-sym.c (do_sym): Likewise.
27822 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
27824 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27826 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
27827 Syntactic changes only.
27828 (_dl_runtime_profile): Do a tail-call to the resolved function.
27830 2013-02-17 Joseph Myers <joseph@codesourcery.com>
27833 * sysdeps/x86_64/bp-asm.h: Remove file.
27834 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
27835 <bp-sym.h> and <bp-asm.h>.
27836 (__clone): Do not use BP_SYM.
27837 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
27838 <bp-sym.h> and <bp-asm.h>.
27839 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27840 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
27842 (_setjmp): Do not use BP_SYM.
27843 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
27845 (setjmp): Do not use BP_SYM.
27846 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
27848 (mempcpy): Do not use BP_SYM in weak_alias.
27849 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
27851 (strchr): Do not use BP_SYM.
27852 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
27854 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
27855 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
27856 (_start): Do not use BP_SYM.
27857 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
27859 (strcat): Do not use BP_SYM.
27860 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
27862 (STRCMP): Do not use BP_SYM.
27863 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
27865 (STRCPY): Do not use BP_SYM.
27866 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
27868 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
27870 (FUNCTION): Do not use BP_SYM.
27871 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
27873 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
27875 2013-02-17 Andreas Jaeger <aj@suse.de>
27877 * time/Versions: Sort entries.
27878 * string/Versions: Likewise.
27879 * resolv/Versions: Likewise.
27880 * posix/Versions: Likewise.
27881 * iconv/Versions: Likewise.
27882 * elf/Versions: Likewise.
27883 * wcsmbs/Versions: Likewise.
27885 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27887 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
27888 loop termination condition.
27890 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
27891 variable to calculate EZ.
27894 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
27895 the lower precision input.
27897 2013-02-15 Joseph Myers <joseph@codesourcery.com>
27900 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27901 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
27902 (run-via-rtld-prefix): Do not handle %-bp tests.
27903 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
27904 (all-object-suffixes): Remove .ob.
27905 (bppfx): Remove variable.
27906 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
27907 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
27908 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
27909 [$(build-bounded) = yes] (libtype.ob): Likewise.
27910 * Makerules (elide-routines.ob): Remove variable.
27911 (do-tests-clean): Do not handle *-bp.out.
27912 (common-mostlyclean): Do not handle *-bp and *-bp.out.
27913 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
27914 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
27915 (tests): Do not include $(tests-bp.out).
27916 (xtests): Do not include $(xtests-bp.out).
27917 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
27918 [$(build-bounded) = yes] ($(addprefix
27919 $(objpfx),$(binaries-bounded))): Remove rule.
27920 ($(objpfx)%-bp.out): Remove rule.
27921 * config.make.in (build-bounded): Remove variable.
27922 * crypt/Makefile [$(build-bounded) = yes]
27923 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
27924 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
27925 append to variable.
27926 [$(build-bounded) = yes] (install-lib): Likewise.
27927 [$(build-bounded) = yes] (generated): Likewise.
27928 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
27930 * intl/Makefile [$(build-bounded) = yes]
27931 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
27932 * math/Makefile [$(build-bounded) = yes]
27933 ($(tests:%=$(objpfx)%-bp): Likewise.
27934 * misc/Makefile [$(build-bounded) = yes]
27935 ($(objpfx)tst-tsearch-bp): Likewise.
27936 * nptl/Makeconfig (bounded-thread-library): Remove variable.
27937 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
27939 * string/Makefile (o-objects.ob): Remove variable.
27940 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
27941 (CFLAGS-.ob): Remove variable.
27942 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
27943 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
27944 both definitions of variable.
27945 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
27946 (ASFLAGS-.ob): Remove variable.
27948 2013-02-14 Joseph Myers <joseph@codesourcery.com>
27951 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
27952 Remove __BOUNDED_POINTERS__ from condition.
27953 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
27954 * string/bits/string2.h [!__NO_STRING_INLINES &&
27955 !__BOUNDED_POINTERS__]: Likewise.
27956 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
27958 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27959 Remove conditional code.
27960 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27961 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27962 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27966 * csu/libc-start.c: Do not include <bp-sym.h>.
27967 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27968 * elf/dl-open.c: Do not include <bp-sym.h>.
27969 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27970 * math/fegetenv.c: Do not include <bp-sym.h>.
27971 (fegetenv): Do not use BP_SYM in versioned symbols.
27972 * nptl/sysdeps/pthread/bits/libc-lockP.h
27973 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27975 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27976 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
27977 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27978 (__pthread_mutex_destroy): Likewise.
27979 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27980 (__pthread_mutex_lock): Likewise.
27981 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27982 (__pthread_mutex_trylock): Likewise.
27983 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27984 (__pthread_mutex_unlock): Likewise.
27985 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27986 (__pthread_mutexattr_init): Likewise.
27987 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27988 (__pthread_mutexattr_destroy): Likewise.
27989 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27990 (__pthread_mutexattr_settype): Likewise.
27991 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27992 (__pthread_rwlock_init): Likewise.
27993 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27994 (__pthread_rwlock_destroy): Likewise.
27995 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27996 (__pthread_rwlock_rdlock): Likewise.
27997 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27998 (__pthread_rwlock_tryrdlock): Likewise.
27999 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28000 (__pthread_rwlock_wrlock): Likewise.
28001 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28002 (__pthread_rwlock_trywrlock): Likewise.
28003 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28004 (__pthread_rwlock_unlock): Likewise.
28005 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28006 (__pthread_key_create): Likewise.
28007 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28008 (__pthread_setspecific): Likewise.
28009 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28010 (__pthread_getspecific): Likewise.
28011 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
28013 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28014 (_pthread_cleanup_push_defer): Likewise.
28015 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28016 (_pthread_cleanup_pop_restore): Likewise.
28017 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28018 (pthread_setcancelstate): Likewise.
28019 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
28021 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
28022 (memchr): Do not use BP_SYM in weak_alias.
28023 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28024 (fegetenv): Do not use BP_SYM in versioned symbols.
28025 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28026 (fesetenv): Do not use BP_SYM in versioned symbols.
28027 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28028 (feupdateenv): Do not use BP_SYM in versioned symbols.
28029 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28030 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28031 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
28032 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
28033 (open64): Do not use BP_SYM in weak_alias.
28034 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
28035 (fegetenv): Do not use BP_SYM in versioned symbols.
28036 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
28037 (fesetenv): Do not use BP_SYM in versioned symbols.
28038 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28039 (feupdateenv): Do not use BP_SYM in versioned symbols.
28040 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
28041 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
28042 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
28043 (feraiseexcept): Do not use BP_SYM in versioned symbols.
28044 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28045 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28046 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
28048 (__libc_start_main): Do not use BP_SYM.
28050 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28052 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
28053 redundant return line.
28055 (denorm): Likewise.
28056 (dbl_mp): Likewise.
28057 (sub_magnitudes): Likewise.
28063 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28065 (denorm): Likewise.
28066 (dbl_mp): Likewise.
28067 (sub_magnitudes): Likewise.
28074 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28076 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28077 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28080 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28081 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28082 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28083 of __mul for squares.
28084 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28086 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28088 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28089 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28091 2013-02-13 Joseph Myers <joseph@codesourcery.com>
28094 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28096 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28097 prototype or function definition. Rename ubp_* variables and
28098 parameters. Remove argv definitions conditional on
28099 [__BOUNDED_POINTERS__].
28100 * debug/backtrace.c (__backtrace): Do not use __unbounded.
28101 * elf/dl-runtime.c (_dl_fixup): Likewise.
28102 * include/set-hooks.h (RUN_HOOK): Likewise.
28103 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28105 * string/strcpy.c (strcpy): Do not use __unbounded.
28106 * sysdeps/generic/frame.h (struct layout): Likewise.
28107 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28108 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28109 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28110 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28111 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28112 (__backtrace): Likewise.
28113 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28115 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28116 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28117 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28119 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28120 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28121 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28122 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28123 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28124 Do not use __unbounded.
28125 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28126 Rename __unboundedrlimits parameter to rlimits in prototype.
28127 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28128 Do not use __unbounded.
28129 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
28130 not use __ptrvalue.
28131 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28132 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28133 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28134 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
28135 __ptrvalue or __unbounded.
28136 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
28137 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
28139 (__new_msgctl): Do not use __ptrvalue.
28140 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
28142 (__libc_msgrcv): Do not use __ptrvalue.
28143 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
28144 startup_info): Do not use __unbounded.
28145 (__libc_start_main): Likewise. Rename ubp_* variables and
28146 parameters. Remove argv definitions conditional on
28147 [__BOUNDED_POINTERS__].
28148 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
28150 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
28152 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
28154 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
28156 (__new_shmctl): Do not use __ptrvalue.
28157 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28158 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28160 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28161 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
28162 (__libc_sigaction): Likewise.
28163 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
28164 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
28166 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28168 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
28170 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
28172 * string/mempcpy.c: Implement by calling memcpy.
28174 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28176 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
28178 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
28181 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
28182 values in the mantissa.
28184 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
28185 minimize writes to Z.
28186 (sub_magnitudes): Simplify code a bit.
28188 2013-02-12 Roland McGrath <roland@hack.frob.com>
28190 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
28191 from the message. The linker prefixes all warnings with that already.
28193 2013-02-12 Andreas Schwab <schwab@suse.de>
28196 * posix/regexec.c (extend_buffers): Add parameter min_len.
28197 (check_matching): Pass minimum needed length.
28198 (clean_state_log_if_needed): Likewise.
28199 (get_subexp): Likewise.
28200 * posix/Makefile (tests): Add bug-regex34.
28201 (bug-regex34-ENV): Define.
28202 * posix/bug-regex34.c: New file.
28205 * posix/regcomp.c (parse_bracket_exp): When looking up collating
28206 elements compare against the byte sequence of it, not its name.
28207 * posix/Makefile (tests): Add bug-regex35.
28208 (bug-regex35-ENV): Define.
28209 * posix/bug-regex35.c: New file.
28211 2013-02-11 Tom de Vries <tom@codesourcery.com>
28213 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
28215 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
28216 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
28217 (CHECK_EOL): Add undef.
28219 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
28221 * bits/stdlib-bsearch.h: New file.
28222 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
28223 * stdlib/stdlib.h: Likewise.
28225 2013-02-11 Roland McGrath <roland@hack.frob.com>
28227 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
28228 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
28230 * manual/search.texi (Array Search Function): Add missing const in
28232 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
28233 declaration to use rlim_t.
28234 (Basic Scheduling Functions): Remove erroneous const from
28235 sched_getparam prototype. Remove erroneous * from
28236 sched_get_priority_max and sched_get_priority_min prototypes.
28237 (Resource Usage): Fix summary @comment on vtimes to refer to
28238 sys/vtimes.h rather than vtimes.h.
28239 Add missing *s in vtimes prototype.
28240 (Limits on Resources): Fix ulimit prototype to return long int.
28241 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
28242 prototypes to use long int rather than double.
28243 (BSD Random): Fix initstate and setstate to use char *, not void *.
28244 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
28245 prototype to make second argument 'struct aiocb64 *const[]'.
28246 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
28247 (Status of AIO Operations): Remove erroneous const in aio_return and
28248 aio_return64 prototypes.
28249 (Synchronizing I/O): Fix sync prototype to return void.
28250 * manual/startup.texi (Suboptions): Remove an erroneous const in
28251 getsubopt prototype.
28252 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
28253 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
28254 use size_t rather than int.
28255 (Scanning All Users): Likewise for getpwent_r.
28256 (Setting Groups): Add missing const to setgroups prototype.
28257 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
28258 * manual/socket.texi (Host Names): Fix gethostbyaddr and
28259 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
28260 'const void *' rather than 'const char *'.
28261 (Host Address Functions): Likewise for inet_ntop.
28262 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
28263 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
28264 ssize_t for return value.
28265 (Sending Data): Likewise for send, sendto, sendmsg.
28266 (Socket Option Functions): Add a missing const in setsockopt prototype.
28267 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
28268 use wchar_t for the argument.
28269 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
28270 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
28272 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
28273 double/float/long double for second argument.
28274 Fix return types of significand, significandf, significandl.
28275 * manual/filesys.texi (Setting Permissions): Use mode_t for second
28276 argument in fchmod prototype.
28277 (File Owner): Use uid_t and gid_t in fchown prototype.
28278 (File Times): Add const to utimes, futimes, and lutimes prototypes.
28279 (Making Special Files): Use mode_t and dev_t in mknod prototype.
28280 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
28281 use 'const struct dirent **' as argument types to CMP function pointer
28283 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
28284 (File Times): Fix summary magic @comment for struct utimbuf and utime
28285 to refer to utime.h, not time.h.
28286 * manual/string.texi (Argz Functions): Add missing const in
28287 argz_extract and argz_next prototypes.
28288 (Finding Tokens in a String): Likewise for basename.
28289 (String/Array Comparison): Fix typo in wcscasecmp prototype.
28290 (Copying and Concatenation): Fix typo in wmemmove prototype.
28291 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
28292 (Signal Stack): Remove erroneous const in sigstack prototype.
28293 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
28295 (Simple Calendar Time): Likewise for stime.
28296 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
28298 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
28299 say sys/sysctl.h instead.
28300 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
28301 and vsyslog prototypes.
28303 2013-02-11 Tom de Vries <tom@codesourcery.com>
28305 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
28308 2013-02-11 Roland McGrath <roland@hack.frob.com>
28310 * misc/sys/mman.h: Fix typo in mremap comment.
28312 2013-02-08 Roland McGrath <roland@hack.frob.com>
28314 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
28315 the '\0' terminator.
28317 2013-02-08 Joseph Myers <joseph@codesourcery.com>
28320 * debug/segfault.c: Don't include <bp-checks.h>.
28321 * sysdeps/generic/bp-checks.h: Remove file.
28322 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
28323 (__GETDENTS): Don't use CHECK_N.
28324 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
28325 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28326 (__getgroups): Don't use CHECK_N.
28327 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
28328 (setgroups): Don't use CHECK_N.
28329 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
28330 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
28331 (__libc_msgrcv): Don't use CHECK_N.
28332 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
28333 (__libc_msgsnd): Don't use CHECK_N.
28334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
28336 (__libc_pread): Don't use CHECK_N.
28337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
28338 include <bp-checks.h>.
28339 (__libc_pread64): Don't use CHECK_N.
28340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
28341 include <bp-checks.h>.
28342 (__libc_pwrite): Don't use CHECK_N.
28343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
28344 include <bp-checks.h>.
28345 (__libc_pwrite64): Don't use CHECK_N.
28346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
28348 (__libc_pread): Don't use CHECK_N.
28349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
28350 include <bp-checks.h>.
28351 (__libc_pread64): Don't use CHECK_N.
28352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
28353 include <bp-checks.h>.
28354 (__libc_pwrite): Don't use CHECK_N.
28355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
28356 include <bp-checks.h>.
28357 (__libc_pwrite64): Don't use CHECK_N.
28358 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
28359 (do_pread): Don't use CHECK_N.
28360 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
28361 (do_pread64): Don't use CHECK_N.
28362 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
28363 (do_pwrite): Don't use CHECK_N.
28364 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
28365 (do_pwrite64): Don't use CHECK_N.
28366 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
28367 (__libc_readv): Don't use CHECK_N.
28368 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
28369 (semop): Don't use CHECK_N.
28370 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
28372 (semtimedop): Don't use CHECK_N.
28373 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
28374 (__libc_pread): Don't use CHECK_N.
28375 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
28377 (__libc_pread64): Don't use CHECK_N.
28378 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
28380 (__libc_pwrite): Don't use CHECK_N.
28381 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
28383 (__libc_pwrite64): Don't use CHECK_N.
28384 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
28386 (__libc_msgrcv): Don't use CHECK_N.
28387 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
28388 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
28389 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
28390 (__libc_writev): Don't use CHECK_N.
28392 2013-02-08 Roland McGrath <roland@hack.frob.com>
28394 * string/strcpy.c: Removed unused variable.
28396 * Makeconfig (+sysdep-includes): Define with := rather than =.
28397 Use an existing include/ subdir of each sysdeps dir before it.
28399 2013-02-08 Carlos O'Donell <carlos@redhat.com>
28401 * nscd/connection.c (register_traced_file): Comment function.
28402 [HAVE_INOTIFY] (union __inev): Define.
28403 [HAVE_INOTIFY] (inotify_check_files): New function.
28404 [HAVE_INOTIFY] (clear_db_cache): Likewise.
28405 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
28407 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
28409 2013-02-08 Carlos O'Donell <carlos@redhat.com>
28411 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
28412 loaded if not already and that a failure is permanent.
28414 2013-02-08 Carlos O'Donell <carlos@redhat.com>
28417 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
28418 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
28420 2013-02-08 Joseph Myers <joseph@codesourcery.com>
28423 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
28424 (CHECK_1_NULL_OK): Likewise.
28425 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
28426 (__fxstat): Do not use CHECK_1.
28427 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
28429 (___fxstat64): Do not use CHECK_1.
28430 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28432 (__fxstatat): Do not use CHECK_1.
28433 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28435 (__fxstatat64): Do not use CHECK_1.
28436 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
28438 (__fxstat): Do not use CHECK_1.
28439 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28441 (__fxstatat): Do not use CHECK_1.
28442 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28444 (__getresgid): Do not use CHECK_1.
28445 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28447 (__getresuid): Do not use CHECK_1.
28448 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
28450 (__lxstat): Do not use CHECK_1.
28451 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28453 (__old_msgctl): Do not use CHECK_1.
28454 (__new_msgctl): Likewise.
28455 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
28457 (__new_setrlimit): Do not use CHECK_1.
28458 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28460 (__old_shmctl): Do not use CHECK_1.
28461 (__new_shmctl): Likewise.
28462 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
28464 (__xstat): Do not use CHECK_1.
28465 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
28466 (__lxstat): Do not use CHECK_1.
28467 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
28469 (___lxstat64): Do not use CHECK_1.
28470 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
28471 (__old_msgctl): Do not use CHECK_1.
28472 (__new_msgctl): Likewise.
28473 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
28475 (__gettimeofday): Do not use CHECK_1.
28476 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
28477 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
28478 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
28480 (__gettimeofday): Do not use CHECK_1.
28481 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
28482 (__old_shmctl): Do not use CHECK_1_NULL_OK.
28483 (__new_shmctl): Do not use CHECK_1.
28484 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
28486 (do_sigtimedwait): Do not use CHECK_1.
28487 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
28489 (do_sigwaitinfo): Do not use CHECK_1.
28490 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
28492 (msgctl): Do not use CHECK_1.
28493 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
28495 (shmctl): Do not use CHECK_1.
28496 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
28497 (ustat): Do not use CHECK_1.
28498 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
28500 (__fxstat): Do not use CHECK_1.
28501 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
28503 (__fxstatat): Do not use CHECK_1.
28504 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
28506 (__lxstat): Do not use CHECK_1.
28507 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
28509 (__xstat): Do not use CHECK_1.
28510 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
28511 (__xstat): Do not use CHECK_1.
28512 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
28513 (___xstat64): Do not use CHECK_1.
28516 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
28518 (CHECK_BOUNDS_HIGH): Likewise.
28519 * string/strcpy.c: Do not include <bp-checks.h>.
28520 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
28522 2013-02-07 Roland McGrath <roland@hack.frob.com>
28524 * nscd/nscd-client.h (__nscd_drop_map_ref):
28525 Add __attribute__ ((unused)).
28526 * nis/nss-nisplus.h (niserr2nss): Likewise.
28528 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
28529 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
28531 * csu/libc-tls.c (init_static_tls, init_slotinfo):
28532 Remove inline keyword.
28533 * include/rounding-mode.h (round_away): Likewise.
28534 * libio/wfileops.c (adjust_wide_data): Likewise.
28535 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
28536 (__m128i_strloadu_tolower): Likewise.
28537 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
28538 (__m128i_strloadu_tolower): Likewise.
28539 * time/mktime.c (ydhms_diff): Likewise.
28540 * locale/elem-hash.h (elem_hash): Likewise.
28541 * locale/setlocale.c (setdata): Likewise.
28542 * posix/regex_internal.h (re_string_char_size_at): Likewise.
28543 (re_string_wchar_at): Likewise.
28544 (bitset_not, bitset_merge, bitset_mask): Likewise.
28545 [!(__GNUC__ > 3)] (inline): Remove macro.
28546 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
28547 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
28548 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28549 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28550 * string/memcmp.c (memcmp_bytes): Likewise.
28551 * locale/programs/locarchive.c (compute_hashval): Likewise.
28552 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
28553 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
28554 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
28555 * nss/getent.c (print_rpc, print_protocols): Likewise.
28556 (print_passwd, print_group, print_aliases): Likewise.
28557 * nis/nss-nisplus.h (niserr2nss): Likewise.
28558 * nscd/connections.c (restart_p): Likewise.
28559 Change return type to bool.
28561 2013-02-05 Roland McGrath <roland@hack.frob.com>
28563 * Makeconfig (all-Depend-files): Add existing
28564 $(sorted-subdirs:=/Depend) files.
28565 (all-subdirs): Remove nss.
28566 * sysdeps/unix/inet/Subdirs: Add it here instead.
28567 * hesiod/Depend: New file.
28569 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
28570 instead of calling alloca.
28572 * io/lseek.c (__lseek): Rename to __libc_lseek.
28573 Define __lseek as an alias.
28575 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
28577 2013-02-04 Carlos O'Donell <carlos@redhat.com>
28579 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
28580 else clause and remove check for non-standard endianness.
28582 2013-02-04 David S. Miller <davem@davemloft.net>
28584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28586 2013-02-04 Joseph Myers <joseph@codesourcery.com>
28589 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
28590 (__ubp_memchr): Remove prototype.
28591 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
28592 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28593 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
28594 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28595 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
28597 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
28598 (__ubp_memchr): Likewise.
28599 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
28600 (__ubp_memchr): Likewise.
28601 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
28602 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
28603 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
28604 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
28606 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
28607 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
28608 (__getcwd): Do not use CHECK_STRING.
28609 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28611 (__real_chown): Do not use CHECK_STRING.
28612 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
28614 (fchownat): Do not use CHECK_STRING.
28615 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
28617 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28619 (__lchown): Do not use CHECK_STRING.
28620 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28621 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28622 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28623 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
28624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28625 include <bp-checks.h>.
28626 (truncate64): Do not use CHECK_STRING.
28627 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28629 (__real_chown): Do not use CHECK_STRING.
28630 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28632 (__lchown): Do not use CHECK_STRING.
28633 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28635 (__chown): Do not use CHECK_STRING.
28636 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
28638 (truncate64): Do not use CHECK_STRING.
28639 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
28641 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
28642 (__xmknod): Do not use CHECK_STRING.
28643 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
28645 (__xmknodat): Do not use CHECK_STRING.
28646 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28647 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
28649 2013-02-04 Andreas Schwab <schwab@suse.de>
28652 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
28653 * include/netdb.h: Likewise for h_errno.
28654 * elf/tst-stackguard1.c: Include <tls.h>.
28656 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
28658 * elf/link.h (struct link_map): Extend the l_addr comment.
28659 * include/link.h (struct link_map): Likewise.
28661 2013-02-01 Joseph Myers <joseph@codesourcery.com>
28664 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
28665 (BOUNDED_1): Remove macro.
28666 * debug/backtrace.c: Don't include <bp-checks.h>.
28667 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
28668 (__backtrace): Likewise.
28669 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
28671 (__backtrace): Don't use BOUNDED_1.
28672 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
28674 (__backtrace): Don't use BOUNDED_1.
28675 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
28676 (__backtrace): Don't use BOUNDED_1.
28677 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
28678 (shmat): Don't use BOUNDED_N.
28680 2013-01-31 Joseph Myers <joseph@codesourcery.com>
28683 * sysdeps/generic/bp-start.h: Remove file.
28684 * csu/libc-start.c: Don't include <bp-start.h>.
28685 (LIBC_START_MAIN): Set up __environ directly instead of using
28686 INIT_ARGV_and_ENVIRON.
28687 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
28691 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
28693 (CHECK_FCNTL): Likewise.
28694 (CHECK_N_PAGES): Likewise.
28697 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
28699 (CHECK_SIGSET_NULL_OK): Likewise.
28700 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
28702 (sigpending): Don't use CHECK_SIGSET.
28703 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
28705 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28706 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
28708 (do_sigsuspend): Don't use CHECK_SIGSET.
28709 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
28711 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
28712 (do_sigwait): Don't use CHECK_SIGSET.
28713 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
28715 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
28716 include <bp-checks.h>.
28717 (sigpending): Don't use CHECK_SIGSET.
28718 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
28719 include <bp-checks.h>.
28720 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28721 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
28723 (sigpending): Don't use CHECK_SIGSET.
28724 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
28726 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28729 * sysdeps/generic/bp-semctl.h: Remove file.
28730 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
28731 <bp-checks.h> and <bp-semctl.h>.
28732 (__old_semctl): Don't use CHECK_SEMCTL.
28733 (__new_semctl): Likewise.
28734 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
28736 (__old_semctl): Don't use CHECK_SEMCTL.
28737 (__new_semctl): Likewise.
28738 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
28739 <bp-checks.h> and <bp-semctl.h>.
28740 (__old_semctl): Don't use CHECK_SEMCTL.
28741 (__new_semctl): Likewise.
28742 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
28743 <bp-checks.h> and <bp-semctl.h>.
28744 (semctl): Don't use CHECK_SEMCTL.
28747 * Makerules (elide-bp-thunks): Remove variable.
28748 (elide-routines.oS): Don't use $(elide-bp-thunks).
28749 (elide-routines.os): Likewise.
28750 (elide-routines.o): Likewise.
28751 (elide-routines.op): Likewise.
28752 (elide-routines.og): Likewise.
28753 (objects): Don't use $(bp-thunks).
28754 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
28756 (common-generated): Do not add s-proto-bp.d.
28757 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
28760 Do not generate makefile rules for bounded-pointer thunks.
28761 * sysdeps/generic/bp-thunks.h: Remove file.
28762 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
28763 * sysdeps/unix/s-proto-bp.S: Likewise.
28766 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
28767 parts of result separately when argument is not close to line from
28768 -i to i and one part of argument is small.
28769 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28770 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28771 * math/libm-test.inc (cacos_test): Add more tests.
28772 (casin_test): Likewise.
28773 (casinh_test): Likewise.
28774 * sysdeps/i386/fpu/libm-test-ulps: Update.
28775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28777 2013-01-31 David S. Miller <davem@davemloft.net>
28779 * po/de.po: Update from translation team.
28781 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
28783 * time/tzfile.c: Include stdint.h for SIZE_MAX.
28785 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
28787 * configure.in (_AC_PROG_CC_C89): New definition.
28788 * configure: Regenerate.
28790 * configure.in (AC_PROG_CPP): New definition.
28791 * configure: Regenerate.
28793 2013-01-23 Joseph Myers <joseph@codesourcery.com>
28795 * debug/tst-backtrace.h: New file.
28796 * debug/tst-backtrace2.c: Include tst-backtrace.h.
28797 (ret): Remove variable.
28799 (FAIL): Remove macro.
28800 (NO_INLINE): Likewise.
28801 (fn1): Use match function instead of strstr.
28802 * debug/tst-backtrace3.c: Include tst-backtrace.h.
28803 (ret): Remove variable.
28805 (FAIL): Remove macro.
28806 (NO_INLINE): Likewise.
28807 (fn): Use match function instead of strstr.
28808 * debug/tst-backtrace4.c: Include tst-backtrace.h.
28809 (ret): Remove variable.
28811 (FAIL): Remove macro.
28812 (NO_INLINE): Likewise.
28813 (handle_signal): Use match function instead of strstr.
28814 * debug/tst-backtrace5.c: Include tst-backtrace.h.
28815 (ret): Remove variable.
28817 (FAIL): Remove macro.
28818 (NO_INLINE): Likewise.
28819 (handle_signal): Use match function instead of strstr.
28821 2013-01-23 Roland McGrath <roland@hack.frob.com>
28823 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
28825 2013-01-23 David S. Miller <davem@davemloft.net>
28827 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
28828 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
28829 argument of CAS if possible.
28830 * sysdeps/sparc/sparc64/bits/atomic.h
28831 (__arch_compare_and_exchange_val_32_acq): Likewise.
28832 (__arch_compare_and_exchange_val_64_acq): Likewise.
28834 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
28836 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
28837 * sysdeps/posix/ulimit.c: ... this.
28838 Include <limits.h>.
28839 * sysdeps/unix/bsd/ulimit.c: Remove file.
28841 2013-01-23 Adam Conrad <adconrad@0c3.net>
28843 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
28844 (LDFLAGS-tst-array5): Likewise.
28846 2013-01-23 Joseph Myers <joseph@codesourcery.com>
28849 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
28850 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
28851 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
28852 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
28854 2013-01-21 David S. Miller <davem@davemloft.net>
28856 * sysdeps/sparc/backtrace.c: New file.
28857 * sysdeps/sparc/sparc32/backtrace.h: New file.
28858 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
28859 * sysdeps/sparc/sparc64/backtrace.h: New file.
28860 * sysdeps/sparc/sparc64/backtrace.c: Delete.
28861 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
28864 2013-01-21 Andreas Schwab <schwab@suse.de>
28867 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
28870 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
28872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
28874 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28876 2013-01-18 Joseph Myers <joseph@codesourcery.com>
28877 Mark Mitchell <mark@codesourcery.com>
28878 Tom de Vries <tom@codesourcery.com>
28879 Paul Pluzhnikov <ppluzhnikov@google.com>
28881 * debug/tst-backtrace2.c: New file.
28882 * debug/tst-backtrace3.c: Likewise.
28883 * debug/tst-backtrace4.c: Likewise.
28884 * debug/tst-backtrace5.c: Likewise.
28885 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
28886 (CFLAGS-tst-backtrace3.c): Likewise.
28887 (CFLAGS-tst-backtrace4.c): Likewise.
28888 (CFLAGS-tst-backtrace5.c): Likewise.
28889 (LDFLAGS-tst-backtrace2): Likewise.
28890 (LDFLAGS-tst-backtrace3): Likewise.
28891 (LDFLAGS-tst-backtrace4): Likewise.
28892 (LDFLAGS-tst-backtrace5): Likewise.
28893 (tests): Add new tests tst-backtrace2, tst-backtrace3,
28894 tst-backtrace4 and tst-backtrace5.
28896 2013-01-18 Anton Blanchard <anton@samba.org>
28897 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28899 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
28900 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
28901 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
28902 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
28903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28904 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
28905 "+r" and remove output regs list as redundant. Add explicit inline
28906 asm to specify register of return val to work around compiler codegen
28907 bug. Remove (int) cast on return value. Add return type parameter to
28908 use in macro so that this macro does not truncate return value for
28910 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
28911 pass to INTERNAL_VSYSCALL_NCS.
28912 (INLINE_VSYSCALL): Add 'long int' as return type to
28913 INTERNAL_VSYSCALL_NCS macro invocation.
28914 (INTERNAL_VSYSCALL): Add 'long int' as return type to
28915 INTERNAL_VSYSCALL_NCS macro invocation.
28916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28918 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28921 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
28922 Fix application of SIMD FP exception mask.
28924 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
28925 mp_no from a power of two.
28926 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
28927 __mpexp_twomm1. Use __pow_mp.
28929 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
28932 2013-01-17 David S. Miller <davem@davemloft.net>
28934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28936 2013-01-17 Joseph Myers <joseph@codesourcery.com>
28939 * include/complex.h: Condition contents on [!_COMPLEX_H].
28940 (__kernel_casinhf): New prototype.
28941 (__kernel_casinh): Likewise.
28942 (__kernel_casinhl): Likewise.
28943 * math/Makefile (libm_calls): Add k_casinh.
28944 * math/k_casinh.c: New file.
28945 * math/k_casinhf.c: Likewise.
28946 * math/k_casinhl.c: Likewise.
28947 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
28948 finite nonzero arguments.
28949 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
28950 finite nonzero arguments.
28951 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
28952 finite nonzero arguments.
28953 * math/s_casinh.c: Do not include <float.h>.
28954 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
28955 * math/s_casinhf.c: Do not include <float.h>.
28956 (__casinhf): Move code for finite nonzero arguments to
28958 * math/s_casinhl.c: Do not include <float.h>.
28959 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28961 (__casinhl): Move code for finite nonzero arguments to
28963 * math/libm-test.inc (cacos_test): Add more tests.
28964 * sysdeps/i386/fpu/libm-test-ulps: Update.
28965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28967 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
28969 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28970 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28971 [!HAVE_MREMAP]: Remove [defined linux] case.
28972 * malloc/arena.c: Do not include <malloc-sysdep.h>.
28974 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28976 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
28978 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
28980 * elf/elf.h (R_386_SIZE32): New relocation.
28981 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
28983 (elf_machine_rela): Likewise.
28984 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28985 R_X86_64_SIZE64 and R_X86_64_SIZE32.
28987 2013-01-17 Joseph Myers <joseph@codesourcery.com>
28989 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
28990 (FP_FAST_FMA): Do not define.
28991 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
28992 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
28993 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
28994 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
28995 !_SOFT_FLOAT]: Likewise.
28996 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
28997 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
28999 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
29000 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
29001 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29002 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
29003 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
29004 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
29007 2013-01-16 Andreas Schwab <schwab@suse.de>
29010 * include/stdlib.h (__mktemp): Add declaration.
29011 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
29012 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
29014 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29016 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
29018 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29019 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
29020 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
29022 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29023 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29025 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
29027 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
29028 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
29029 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
29031 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
29032 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
29034 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29036 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
29038 2013-01-15 David S. Miller <davem@davemloft.net>
29040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29041 trunc{,f} to libm-sysdep_routes.
29042 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
29045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
29046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
29048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
29050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
29051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
29052 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
29053 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
29054 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
29055 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
29056 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
29057 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
29059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29060 nearbyint{,f} to libm-sysdep_routes.
29061 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
29064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29072 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29074 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29075 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29077 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29078 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29079 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29081 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29082 libc_feholdexcept and libc_fesetenv.
29084 2013-01-15 Mike Frysinger <vapier@gentoo.org>
29086 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29088 2013-01-14 David S. Miller <davem@davemloft.net>
29090 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29091 (SPARC_ASM_VIS2_IFUNC): Likewise.
29092 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29094 use of 'siam' instruction.
29095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29101 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29102 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29103 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29104 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29113 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29114 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29115 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29116 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29123 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29124 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29125 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29126 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29128 routines to libm-sysdep_routines.
29129 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29132 fdim/fdimf to libm-sysdep_routines.
29133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
29135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
29136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
29138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
29139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
29140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
29141 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
29142 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
29143 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
29144 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
29146 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29148 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
29149 to optimize copies.
29151 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
29152 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29153 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29155 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
29156 local variable MPTWO.
29157 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29160 2013-01-13 Mike Frysinger <vapier@gentoo.org>
29162 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
29165 2013-01-13 Mike Frysinger <vapier@gentoo.org>
29167 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
29169 2013-01-13 Mike Frysinger <vapier@gentoo.org>
29171 * manual/pattern.texi (glob_t): Document gl_flags.
29172 (glob64_t): Likewise.
29174 2013-01-11 David S. Miller <davem@davemloft.net>
29176 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
29177 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
29178 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
29179 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
29180 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
29181 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
29182 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
29183 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
29184 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
29185 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
29186 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
29187 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29188 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
29190 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29191 sparc V9 rather than using V8 code.
29192 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29193 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29195 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29197 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
29200 2013-01-11 Roland McGrath <roland@hack.frob.com>
29202 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
29203 not in the main loop.
29204 * configure: Regenerated.
29206 2013-01-11 Joseph Myers <joseph@codesourcery.com>
29208 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
29209 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
29211 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
29212 [!__GLIBC_HAVE_LONG_LONG] case.
29213 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
29214 condition to just #else.
29215 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29216 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
29217 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
29218 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
29220 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
29221 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29222 #elif condition to just #else.
29223 * sysdeps/unix/sysv/linux/sys/sysmacros.h
29224 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
29225 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29226 #elif condition to just #else.
29228 2013-01-11 Steve Ellcey <sellcey@mips.com>
29230 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
29231 (EF_MIPS_ARCH_64): Fix value.
29232 (EF_MIPS_ARCH_32R2): New.
29233 (EF_MIPS_ARCH_64R2): New.
29235 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
29237 * Makeconfig (+link-pie-before-libc): New.
29238 (+link-pie-after-libc): Likewise.
29239 (+link-pie-tests): Likewise.
29240 (+link-pie): Rewritten.
29241 (link-before-libc): Remove $(config-LDFLAGS).
29242 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
29243 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
29244 (config-LDFLAGS): Renamed to ...
29245 (rtld-LDFLAGS): This.
29246 (rtld-tests-LDFLAGS): New macro.
29247 (link-libc-rpath-link): Likewise.
29248 (link-libc-tests-rpath-link): Likewise.
29249 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
29250 (link-libc): Prepand $(link-libc-rpath-link).
29251 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
29252 (test-program-prefix): New macro.
29253 (test-via-rtld-prefix): Likewise.
29254 (test-program-cmd): Likewise.
29255 (host-test-program-cmd): Likewise.
29256 * Makefile ($(common-objpfx)testrun.sh): Replace
29257 $(run-program-prefix) with $(test-program-prefix).
29258 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
29260 ($(common-objpfx)shlib.lds): Likewise.
29261 (build-module-helper): Likewise.
29262 ($(common-objpfx)format.lds): Likewise.
29263 * Rules (binaries-pie-tests): New.
29264 (binaries-pie-notests): Likewise.
29265 (binaries-pie): Rewritten.
29266 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
29267 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
29268 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
29269 (make-test-out): Replace $(host-built-program-cmd) with
29270 $(host-test-program-cmd).
29271 * config.make.in (build-hardcoded-path-in-tests): New variable.
29272 * configure.in (--enable-hardcoded-path-in-tests): New configure
29274 (hardcoded_path_in_tests): New AC_SUBST.
29275 * configure: Regenerated.
29276 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
29277 $(built-program-cmd) with $(test-program-cmd).
29278 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
29279 (test_program_cmd): This.
29280 * elf/Makefile ($(objpfx)order.out): Run test with
29281 $(test-program-prefix).
29282 ($(objpfx)order2.out): Likewise.
29283 ($(objpfx)tst-initorder.out): Likewise.
29284 ($(objpfx)tst-initorder2.out): Likewise.
29285 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
29286 $(test-program-cmd).
29287 ($(objpfx)tst-array1-static.out): Likewise.
29288 ($(objpfx)tst-array2.out): Likewise.
29289 ($(objpfx)tst-array3.out): Likewise.
29290 ($(objpfx)tst-array4.out): Likewise.
29291 ($(objpfx)tst-array5.out): Likewise.
29292 ($(objpfx)tst-array5-static.out): Likewise.
29293 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
29294 $(test-program-cmd).
29295 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
29296 $(run-program-prefix) with $(test-program-prefix).
29297 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
29298 (test_program_prefix): This.
29299 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
29300 $(run-program-prefix) with $(test-program-prefix).
29301 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
29302 (test_program_prefix): This.
29303 * iconvdata/tst-tables.sh: Likewise.
29304 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
29305 $(run-program-prefix) with $(test-program-prefix).
29306 ($(objpfx)tst-translit.out): Likewise.
29307 ($(objpfx)tst-gettext2.out): Likewise.
29308 ($(objpfx)tst-gettext4.out): Likewise.
29309 ($(objpfx)tst-gettext6.out): Likewise.
29310 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
29311 (test_program_prefix): This.
29312 * intl/tst-gettext2.sh: Likewise.
29313 * intl/tst-gettext4.sh Likewise.
29314 * intl/tst-gettext6.sh: Likewise.
29315 * intl/tst-translit.sh: Likewise.
29316 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
29317 with $(test-program-cmd).
29318 * libio/Makefile ($(objpfx)test-freopen.out): Replace
29319 $(run-program-prefix) with $(test-program-prefix).
29320 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
29321 (test_program_prefix): This.
29322 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
29323 $(run-program-prefix) with $(test-program-prefix).
29324 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
29325 (test_program_prefix): This.
29326 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
29327 * posix/Makefile ($(objpfx)globtest.out): Replace
29328 $(run-via-rtld-prefix) and $(test-wrapper) with
29329 $(test-program-prefix) and $(test-via-rtld-prefix).
29330 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
29331 $(test-program-prefix).
29332 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
29333 $(host-test-program-cmd).
29334 (tst-spawn-ARGS): Likewise.
29335 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
29336 $(test-program-prefix).
29337 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
29338 (test_via_rtld_prefix): This.
29339 (test_wrapper): Renamed to ...
29340 (test_program_prefix): This.
29341 (run_program_prefix): Replaced by test_program_prefix.
29342 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
29343 (test_program_prefix): This.
29344 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
29345 with $(host-test-program-cmd).
29346 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
29347 $(run-program-prefix) with $(test-program-prefix).
29348 ($(objpfx)tst-printf.out): Likewise.
29349 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
29350 $(test-program-cmd).
29351 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
29352 (test_program_prefix): This.
29353 * stdio-common/tst-unbputc.sh: Likewise.
29354 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
29355 $(run-program-prefix) with $(test-program-prefix).
29356 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
29357 (test_program_prefix): This.
29358 * string/Makefile ($(objpfx)tst-svc.out): Replace
29359 $(built-program-cmd) with $(test-program-cmd).
29361 2013-01-11 Andreas Jaeger <aj@suse.de>
29364 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
29365 value. Sync with Linux 3.7.
29367 2013-01-10 David S. Miller <davem@davemloft.net>
29369 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
29370 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29371 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29373 2013-01-10 Roland McGrath <roland@hack.frob.com>
29375 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
29377 * configure: Regenerated.
29379 2013-01-10 David S. Miller <davem@davemloft.net>
29381 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29382 sparc V9 rather than using V8 code.
29383 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29384 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29386 2013-01-10 Roland McGrath <roland@hack.frob.com>
29388 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
29389 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
29390 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
29391 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
29392 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
29393 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
29394 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
29395 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
29396 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
29397 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
29398 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
29399 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
29400 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
29401 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
29402 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
29403 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
29404 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
29405 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
29406 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
29407 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
29408 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
29409 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
29410 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
29411 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
29412 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
29413 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
29414 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
29416 2013-01-10 David S. Miller <davem@davemloft.net>
29418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29420 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29422 * posix/Makefile (tests-static): New variable.
29423 (tests): Add $(tests-static).
29424 (tst-exec-static-ARGS): New variable.
29425 (tst-spawn-static-ARGS): Likewise.
29426 * posix/tst-exec-static.c: New file.
29427 * posix/tst-spawn-static.c: Likewise.
29428 * posix/tst-exec.c: Support run directly.
29429 * posix/tst-spawn.c: Likewise.
29431 2013-01-10 Joseph Myers <joseph@codesourcery.com>
29433 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
29435 * math/bits/mathcalls.h (llrint): Likewise.
29436 (llround): Likewise.
29437 * stdlib/stdlib.h (struct drand48_data): Likewise.
29438 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
29439 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
29440 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
29442 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
29444 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
29445 (elf_greg_t): Likewise.
29446 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
29447 (__jmp_buf): Likewise.
29448 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
29450 (llrint): Likewise, for all definitions.
29451 (llrintl): Likewise.
29453 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
29454 Remove [__GNUC__] condition.
29455 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
29456 condition to just [__USE_ISOC99].
29457 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
29459 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29462 * sysdeps/unix/sysv/linux/x86/bits/environments.h
29463 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
29465 (_POSIX_V6_ILP32_OFF32): Likewise.
29466 (_XBS5_ILP32_OFF32): Likewise.
29467 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
29468 (__ILP32_OFFBIG_LDFLAGS): Likewise.
29470 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29472 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
29474 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
29475 doubles __mpexp_twomm1. Adjust usage.
29476 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
29479 2013-01-10 Andreas Schwab <schwab@suse.de>
29482 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
29483 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
29485 2013-01-09 David S. Miller <davem@davemloft.net>
29488 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
29489 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
29490 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
29491 (TCP_FASTOPEN): Define.
29492 (tcp_repair_opt): New structure.
29493 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
29495 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
29496 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
29497 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
29498 (tcp_cookie_transactions): New structure.
29500 2013-01-09 Anton Blanchard <anton@samba.org>
29502 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
29503 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
29504 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
29505 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
29507 2013-01-09 Joseph Myers <joseph@codesourcery.com>
29509 * include/features.h (__USE_ANSI): Remove.
29511 2013-01-09 Roland McGrath <roland@hack.frob.com>
29513 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
29515 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
29517 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
29519 * sysdeps/s390/fpu/libm-test-ulps: Update.
29521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29523 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
29527 (denorm): Likewise.
29528 (__mp_dbl): Likewise.
29529 (__dbl_mp): Likewise.
29530 (add_magnitudes): Likewise.
29531 (sub_magnitudes): Likewise.
29537 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
29541 (denorm): Likewise.
29542 (__mp_dbl): Likewise.
29543 (__dbl_mp): Likewise.
29544 (add_magnitudes): Likewise.
29545 (sub_magnitudes): Likewise.
29551 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
29555 (denorm): Likewise.
29556 (__mp_dbl): Likewise.
29557 (__dbl_mp): Likewise.
29558 (add_magnitudes): Likewise.
29559 (sub_magnitudes): Likewise.
29566 2013-01-08 Joseph Myers <joseph@codesourcery.com>
29568 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
29569 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
29570 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
29571 2 && __USE_EXTERN_INLINES]: Likewise.
29573 2013-01-08 Andreas Jaeger <aj@suse.de>
29576 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
29578 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29579 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29581 2013-01-07 Anton Blanchard <anton@samba.org>
29583 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
29584 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29585 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
29586 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29587 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29588 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29589 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
29590 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29591 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29592 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29593 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29594 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29595 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29596 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29597 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29598 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29599 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29600 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29601 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29602 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29603 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29604 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
29605 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29606 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29607 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
29608 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29609 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29610 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29611 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
29612 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29613 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29614 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29615 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29616 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29617 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29618 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29619 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29620 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29621 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
29622 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
29623 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
29624 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29625 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29627 2013-01-07 Joseph Myers <joseph@codesourcery.com>
29629 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
29630 (__MALLOC_PMT): Likewise.
29631 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
29632 [__GNUC__], only on [_LIBC].
29633 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29634 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
29635 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29636 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
29637 forward declaration.
29638 (realloc_hook_ini): Likewise.
29639 (memalign_hook_ini): Likewise.
29640 (__libc_memalign): Do not use __MALLOC_PMT in variable
29642 (__libc_valloc): Likewise.
29643 (__libc_pvalloc): Likewise.
29644 (__libc_calloc): Likewise.
29645 (__posix_memalign): Likewise.
29648 * math/s_casinh.c: Include <float.h>.
29649 (__casinh): Do not do computation with squaring and square root
29650 for large arguments.
29651 * math/s_casinhf.c: Include <float.h>.
29652 (__casinhf): Do not do computation with squaring and square root
29653 for large arguments.
29654 * math/s_casinhl.c: Include <float.h>.
29655 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
29656 (__casinhl): Do not do computation with squaring and square root
29657 for large arguments.
29658 * math/libm-test.inc (casin_test): Add more tests.
29659 (casinh_test): Likewise.
29660 * sysdeps/i386/fpu/libm-test-ulps: Update.
29661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29663 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
29665 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
29666 (__x86_64_raw_data_cache_size): Likewise.
29667 (__x86_64_data_cache_size_half): Likewise.
29668 (__x86_64_raw_data_cache_size_half): Likewise.
29669 (__x86_64_shared_cache_size): Likewise.
29670 (__x86_64_raw_shared_cache_size): Likewise.
29671 (__x86_64_shared_cache_size_half): Likewise.
29672 (__x86_64_raw_shared_cache_size_half): Likewise.
29673 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
29675 (__x86_data_cache_size): This.
29676 (__x86_64_raw_data_cache_size): Renamed to ...
29677 (__x86_raw_data_cache_size): This.
29678 (__x86_64_data_cache_size_half): Renamed to ...
29679 (__x86_data_cache_size_half): This.
29680 (__x86_64_raw_data_cache_size_half): Renamed to ...
29681 (__x86_raw_data_cache_size_half): This.
29682 (__x86_64_shared_cache_size): Renamed to ...
29683 (__x86_shared_cache_size): This.
29684 (__x86_64_raw_shared_cache_size): Renamed to ...
29685 (__x86_raw_shared_cache_size): This.
29686 (__x86_64_shared_cache_size_half): Renamed to ...
29687 (__x86_shared_cache_size_half): This.
29688 (__x86_64_raw_shared_cache_size_half): Renamed to ...
29689 (__x86_raw_shared_cache_size_half): This.
29690 * sysdeps/x86_64/memcpy.S: Updated.
29691 * sysdeps/x86_64/memset.S: Likewise.
29692 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29693 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29694 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29696 2013-01-04 David S. Miller <davem@davemloft.net>
29698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29700 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
29702 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
29703 1 to avoid redefinition warning.
29704 (__USE_GNU): Don't define.
29705 (init_signaling_nan): Protoize.
29707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29709 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29711 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
29712 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
29713 (__cpymn): Likewise.
29714 (norm): Remove commented code.
29715 (denorm): Likewise.
29716 (__mp_dbl): Likewise.
29718 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
29719 (__cpymn): Likewise.
29720 (norm): Remove commented code.
29721 (denorm): Likewise.
29722 (__mp_dbl): Likewise.
29725 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
29726 mp_no value for 1.0 and 2.0.
29727 (norm): Use RADIXI instead of radixi.d.
29728 (denorm): Likewise.
29729 (__mul): Use 0.0 instead of zero.d.
29730 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
29731 mp_no value for 1.0 and 2.0.
29732 (norm): Use RADIXI instead of radixi.d.
29733 (denorm): Likewise.
29734 (__mul): Use 0.0 instead of zero.d.
29736 2013-01-04 Joseph Myers <joseph@codesourcery.com>
29739 * math/s_casinh.c (__casinh): Reduce finite argument to first
29740 quadrant then set signs of results at the end.
29741 * math/s_casinhf.c (__casinhf): Likewise.
29742 * math/s_casinhl.c (__casinhl): Likewise.
29743 * math/libm-test.inc (casin_test): Add more tests.
29744 (casinh_test): Likewise.
29745 * sysdeps/i386/fpu/libm-test-ulps: Update.
29746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29748 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29750 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
29752 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
29754 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
29756 (denorm): Likewise.
29757 (__mp_dbl): Likewise.
29760 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
29761 and adjust the header comment.
29763 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
29764 variable name from declaration.
29766 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
29768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29769 Initialize COMMON_CPUID_INDEX_7 element.
29770 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
29771 (CPUID_RTM): Likewise.
29772 (HAS_RTM): Likewise.
29773 (COMMON_CPUID_INDEX_7): New enum.
29775 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
29778 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
29779 size is zero, record memory as freed.
29781 2013-01-03 Andreas Jaeger <aj@suse.de>
29783 * po/ia.po: Add new Interlingua translation.
29785 2012-01-03 Allan McRae <allan@archlinux.org>
29787 * locale/programs/localedef.c: Fix description of '--posix' flag.
29789 2013-01-02 Joseph Myers <joseph@codesourcery.com>
29791 * NEWS: Update dates in second copyright notice.
29792 * README: Update copyright dates in example.
29793 * manual/libc.texinfo: Update copyright dates.
29794 * scripts/test-installation.pl: Update copyright date in --version
29797 * hurd/ctty-input.c: Fix copyright notice formatting.
29798 * hurd/ctty-output.c: Likewise.
29799 * hurd/dtable.c: Likewise.
29800 * hurd/hurd-raise.c: Likewise.
29801 * hurd/hurdprio.c: Likewise.
29802 * hurd/msgportdemux.c: Likewise.
29803 * misc/sys/file.h: Likewise.
29804 * misc/sys/ioctl.h: Likewise.
29805 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29806 * sysdeps/mach/hurd/chdir.c: Likewise.
29807 * sysdeps/mach/hurd/fchdir.c: Likewise.
29808 * sysdeps/mach/hurd/rename.c: Likewise.
29809 * sysdeps/mach/hurd/rmdir.c: Likewise.
29810 * sysdeps/mach/hurd/seekdir.c: Likewise.
29811 * sysdeps/mach/hurd/setsid.c: Likewise.
29812 * sysdeps/posix/wait3.c: Likewise.
29814 * All files with FSF copyright notices: Update copyright dates
29815 using scripts/update-copyrights.
29816 * intl/plural.c: Regenerated.
29817 * locale/programs/charmap-kw.h: Likewise.
29818 * locale/programs/locfile-kw.h: Likewise.
29820 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29822 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
29825 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
29826 calculation loop and add branch prediction.
29828 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
29829 check access beyond bounds of m1np.
29831 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29833 (__inv): Remove local variable MPTWO to use the global
29835 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
29836 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29838 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
29839 MP3HALFS static const.
29841 2013-01-01 David S. Miller <davem@davemloft.net>
29843 * po/ca.po: Update from translation team.
29845 2013-01-01 Joseph Myers <joseph@codesourcery.com>
29847 * scripts/update-copyrights: New file.
29848 * Makeconfig: Reformat copyright notice.
29849 * ctype/ctype.h: Likewise.
29850 * debug/swprintf_chk.c: Likewise.
29851 * elf/dl-cache.c: Likewise.
29852 * elf/dl-debug.c: Likewise.
29853 * elf/dl-object.c: Likewise.
29854 * grp/initgroups.c: Likewise.
29855 * hurd/Makefile: Likewise.
29856 * hurd/hurd/signal.h: Likewise.
29857 * hurd/hurdfault.c: Likewise.
29858 * hurd/hurdioctl.c: Likewise.
29859 * hurd/hurdlookup.c: Likewise.
29860 * hurd/intr-msg.c: Likewise.
29861 * iconv/gconv_open.c: Likewise.
29862 * libio/swprintf.c: Likewise.
29863 * locale/lc-ctype.c: Likewise.
29864 * locale/nl_langinfo.c: Likewise.
29865 * mach/Machrules: Likewise.
29866 * mach/Makefile: Likewise.
29867 * malloc/obstack.h: Likewise.
29868 * manual/Makefile: Likewise.
29869 * manual/tsort.awk: Likewise.
29870 * misc/bits/stab.def: Likewise.
29871 * nis/nis_print_group_entry.c: Likewise.
29872 * nis/nis_table.c: Likewise.
29873 * nis/nss_compat/compat-pwd.c: Likewise.
29874 * nis/nss_compat/compat-spwd.c: Likewise.
29875 * po/Makefile: Likewise.
29876 * posix/fnmatch.c: Likewise.
29877 * posix/regex.h: Likewise.
29878 * resolv/Makefile: Likewise.
29879 * resolv/nss_dns/dns-network.c: Likewise.
29880 * resolv/res_hconf.c: Likewise.
29881 * scripts/gen-sorted.awk: Likewise.
29882 * soft-fp/soft-fp.h: Likewise.
29883 * stdio-common/printf.h: Likewise.
29884 * stdlib/monetary.h: Likewise.
29885 * stdlib/random.c: Likewise.
29886 * stdlib/random_r.c: Likewise.
29887 * sysdeps/generic/Makefile: Likewise.
29888 * sysdeps/gnu/Makefile: Likewise.
29889 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29890 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29891 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29892 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29893 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29894 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29895 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29896 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29897 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29898 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29899 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29900 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29901 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29902 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29903 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
29904 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29905 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29906 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29907 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29908 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29909 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29910 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29911 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29912 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29913 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
29914 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29915 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29916 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
29917 * sysdeps/mach/hurd/errnos.awk: Likewise.
29918 * sysdeps/mach/hurd/fork.c: Likewise.
29919 * sysdeps/mach/hurd/getcwd.c: Likewise.
29920 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
29921 * sysdeps/mach/hurd/mmap.c: Likewise.
29922 * sysdeps/mach/hurd/utimes.c: Likewise.
29923 * sysdeps/mach/hurd/xmknod.c: Likewise.
29924 * sysdeps/posix/profil.c: Likewise.
29925 * sysdeps/posix/readdir_r.c: Likewise.
29926 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29927 * sysdeps/powerpc/bits/setjmp.h: Likewise.
29928 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
29929 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29930 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29931 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29932 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29933 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29934 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29935 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29936 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29937 * sysdeps/pthread/lio_listio.c: Likewise.
29938 * sysdeps/sparc/dl-procinfo.h: Likewise.
29939 * sysdeps/unix/i386/sysdep.S: Likewise.
29940 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
29941 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
29942 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
29943 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
29944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29945 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29946 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29947 * sysdeps/unix/sysv/linux/speed.c: Likewise.
29948 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29949 * sysdeps/wordsize-32/divdi3.c: Likewise.
29950 * time/sys/time.h: Likewise.
29951 * wcsmbs/Makefile: Likewise.
29953 2013-01-01 David S. Miller <davem@davemloft.net>
29955 * po/fr.po: Update from translation team.
29957 * catgets/gencat.c: Update copyright year.
29958 * csu/version.c: Likewise.
29959 * debug/catchsegv.sh: Likewise.
29960 * debug/pcprofiledump.c: Likewise.
29961 * debug/xtrace.sh: Likewise.
29962 * elf/ldconfig.c: Likewise.
29963 * elf/ldd.bash.in: Likewise.
29964 * elf/pldd.c: Likewise.
29965 * elf/sotruss.ksh: Likewise.
29966 * elf/sprof.c: Likewise.
29967 * iconv/iconv_prog.c: Likewise.
29968 * iconv/iconvconfig.c: Likewise.
29969 * locale/programs/locale.c: Likewise.
29970 * locale/programs/localedef.c: Likewise.
29971 * login/programs/pt_chown.c: Likewise.
29972 * malloc/memusage.sh: Likewise.
29973 * malloc/memusagestat.c: Likewise.
29974 * malloc/mtrace.pl: Likewise.
29975 * nscd/nscd.c: Likewise.
29976 * nss/getent.c: Likewise.
29977 * nss/makedb.c: Likewise.
29978 * posix/getconf.c: Likewise.
29980 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29982 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29985 2012-12-30 Mike Frysinger <vapier@gentoo.org>
29987 * math/bits/mathcalls.h (modf): Use __nonnull.
29989 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29991 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
29992 (split): Use macro CN instead of the bare value.
29993 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
29995 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
29996 instead of the bare value.
29997 (power1): Likewise.
29999 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30001 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
30003 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30005 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
30007 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30008 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30009 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
30010 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30012 2012-12-28 Andreas Jaeger <aj@suse.de>
30014 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
30015 values are from Linux 3.7.
30017 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30018 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
30020 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30022 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
30025 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
30027 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
30028 variables with preprocessor constants.
30029 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30030 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30031 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30033 2012-12-27 Bruno Haible <bruno@clisp.org>
30036 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
30039 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30041 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
30042 and use variable directly.
30043 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
30045 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30047 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
30048 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30050 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30051 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30052 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
30053 include directive. Remove local variable MPONE.
30054 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
30055 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
30056 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30058 2012-12-25 David S. Miller <davem@davemloft.net>
30060 * version.h (RELEASE): Set to "development".
30061 (VERSION): Set to "2.17.90".
30062 * NEWS: Add 2.18 section.
30064 2012-12-21 David S. Miller <davem@davemloft.net>
30066 * po/hr.po: Update from translation team.
30068 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30070 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30072 2012-12-19 Steve Ellcey <sellcey@mips.com>
30074 * NEWS: Mention new memcpy for MIPS.
30076 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30078 * manual/contrib.texi (Contributors): Spelling correction.
30080 2012-12-15 David S. Miller <davem@davemloft.net>
30082 * po/ru.po: Update from translation team.
30084 2012-12-13 David S. Miller <davem@davemloft.net>
30086 * NEWS: Mention IFUNC testsuite enhancements.
30088 * po/pl.po: Update from translation team.
30089 * po/bg.po: Likewise.
30091 * manual/contrib.texi (Contributors): Update entries for Hongjiu
30092 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
30094 2012-12-11 David S. Miller <davem@davemloft.net>
30096 * po/sv.po: Update from translation team.
30098 * po/vi.po: Update from translation team.
30100 * po/cs.po: Update from translation team.
30102 * po/de.po: Update from translation team.
30103 * po/eo.po: Likewise.
30104 * po/nl.po: Likewise.
30106 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30109 * manual/argp.texi (Argp Helper Functions): Move node to follow
30110 Argp Parsing State.
30113 * manual/conf.texi (Limits on File System Capacity): Mention if
30114 terminating null is included in the max size.
30116 2012-12-10 Andreas Jaeger <aj@suse.de>
30118 * po/cs.po: Update from translation team.
30120 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30122 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30123 void pointer and cast to uintptr_t.
30124 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30126 * sysdeps/s390/s390-64/memcpy.S: Likewise.
30127 * sysdeps/s390/s390-64/memset.S: Likewise.
30129 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
30132 * menual/message.texi (Message Translation): Fix typos.
30133 (Helper programs for gettext): Likewise.
30135 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
30138 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
30141 2012-12-07 David S. Miller <davem@davemloft.net>
30143 * po/libc.pot: Update.
30145 2012-12-07 Richard Henderson <rth@redhat.com>
30148 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
30149 normal/normal case to before the switch.
30150 (_FP_DIV): Likewise.
30152 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
30153 Mike Frysinger <vapier@gentoo.org>
30155 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
30156 check for __NR_fadvise64_64.
30158 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
30160 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
30161 0, not just to plain "0" as a statement.
30162 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
30165 2012-12-06 Joseph Myers <joseph@codesourcery.com>
30167 * NEWS: Use sourceware.org in Bugzilla URL.
30169 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30172 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30174 * stdio-common/tst-put-error.c (do_test): Add newline to the
30175 padded test to ensure flush.
30177 2012-12-05 Jeff Law <law@redhat.com>
30179 * sunrpc/etc.rpc (fedfs_admin): Add entry.
30181 2012-12-05 Joseph Myers <joseph@codesourcery.com>
30183 * README: Don't refer to ports add-on as distributed separately.
30184 Mention AArch64 in list of systems supported in the ports add-on.
30186 * LICENSES: Add more non-FSF copyright and license notices.
30188 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
30191 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
30193 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
30194 10000 as width of padded output.
30196 2012-12-04 Joseph Myers <joseph@codesourcery.com>
30198 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
30200 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
30201 variable LX with __attribute__ ((unused)).
30202 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30204 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30205 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30206 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
30207 with __attribute__ ((unused)).
30209 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
30211 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
30213 2012-12-04 Joseph Myers <joseph@codesourcery.com>
30215 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
30216 (CFLAGS-nldbl-acos.c): New variable.
30217 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
30218 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
30219 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
30220 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
30221 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
30222 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
30223 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
30224 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
30225 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
30226 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30227 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
30228 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
30229 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
30230 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
30231 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
30232 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
30233 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
30234 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
30235 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
30236 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
30237 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
30238 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
30239 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
30240 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
30241 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
30242 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
30243 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
30244 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
30245 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
30246 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
30247 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
30248 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
30249 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
30250 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
30251 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
30252 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
30253 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
30254 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
30255 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
30256 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
30257 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
30258 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
30259 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
30260 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
30261 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
30262 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
30263 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
30264 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
30265 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
30266 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
30267 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
30268 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
30269 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
30270 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
30271 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
30272 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
30273 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
30274 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
30275 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
30276 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
30277 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
30278 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
30279 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
30280 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
30281 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
30282 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
30283 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
30284 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
30285 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
30286 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
30287 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
30288 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
30289 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
30290 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
30291 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
30292 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
30293 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
30294 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
30295 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
30296 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
30297 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
30298 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
30299 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
30300 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
30301 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
30302 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
30303 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
30304 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
30305 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
30306 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
30307 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
30308 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
30309 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
30310 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
30311 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
30312 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
30313 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
30315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30316 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30319 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
30320 whole low double instead of just low 47 bits when splitting values
30323 2012-12-03 Allan McRae <allan@archlinux.org>
30325 * manual/stdio.texi (Predefined Printf Handlers): Remove
30326 @hsep and @vsep usage.
30328 2012-12-03 Mike Frysinger <vapier@gentoo.org>
30330 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
30331 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
30333 2012-12-03 Jeff Law <law@redhat.com>
30335 * time/sys/time.h (settimeofday): Do not mark TV argument
30338 2012-12-01 Mike Frysinger <vapier@gentoo.org>
30340 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
30341 when currently writing and seek to current position when not.
30342 * libio/Makefile (tests): Remove bug-fclose1.
30343 * libio/bug-fclose1.c: Delete.
30345 2012-12-01 Joseph Myers <joseph@codesourcery.com>
30347 * manual/arith.texi (feenableexcept): Fix typo.
30348 (fedisableexcept): Likewise.
30350 2012-11-30 Roland McGrath <roland@hack.frob.com>
30352 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
30353 second, differently-typed declaration, rather than a cast.
30355 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30357 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
30358 * include/rpc/svc.h: ... here.
30360 2012-11-30 Aurelien Jarno <aurel32@debian.org>
30363 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
30364 depending n and resplen2 to catch cases where answer
30367 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
30369 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
30370 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
30372 2012-11-29 Mike Frysinger <vapier@gentoo.org>
30374 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
30376 2012-11-29 Roland McGrath <roland@hack.frob.com>
30378 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
30380 2012-11-28 Jeff Law <law@redhat.com>
30383 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
30384 dataset_temporary. Track alloca usage into alloca_used.
30385 If dataset is large allocate and release it via malloc/free.
30387 2012-06-04 Florian Weimer <fweimer@redhat.com>
30390 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
30392 2012-11-28 David S. Miller <davem@davemloft.net>
30394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30396 2012-11-28 Joseph Myers <joseph@codesourcery.com>
30399 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
30400 of pi/2 rounded to nearest to 64 bits.
30401 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
30402 nearest to 64 bits.
30403 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
30406 2012-11-28 Jeff Law <law@redhat.com>
30407 Martin Osvald <mosvald@redhat.com>
30410 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
30411 * sunrpc/svc.c: Include time.h.
30412 (__svc_accept_failed): New function.
30413 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
30414 any reason other than EINTR, call __svc_accept_failed.
30415 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
30416 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
30418 2012-11-28 Andreas Schwab <schwab@suse.de>
30420 * scripts/abilist.awk: Also handle indirect functions in .opd
30423 2012-11-28 Joseph Myers <joseph@codesourcery.com>
30426 * sysdeps/x86/fpu/powl_helper.c: New file.
30427 * sysdeps/x86/fpu/Makefile: Likewise.
30428 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
30430 (__ieee754_powl): Use __powl_helper for finite arguments except
30431 integer exponents below 8.
30432 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
30434 (__ieee754_powl): Use __powl_helper for finite arguments except
30435 integer exponents below 8.
30436 * math/libm-test.inc (pow_test): Add more tests and enable some
30437 previously disabled tests.
30438 * sysdeps/i386/fpu/libm-test-ulps: Update.
30439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30441 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30442 Carlos O'Donell <carlos_odonell@mentor.com>
30444 * nss/makedb.c (is_prime): Assert that input is odd and greater
30445 than 4. Note that fact in a comment too.
30446 (next_prime): Add 4 to input.
30448 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30451 * libio/Makefile (tests): Add test case tst-fwrite-error.
30452 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
30453 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
30454 * libio/tst-fwrite-error.c: New test case.
30456 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
30458 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
30459 before casting to void *.
30460 * include/libc-internal.h (__pointer_type): New macro.
30461 (__integer_if_pointer_type_sub): Likewise.
30462 (__integer_if_pointer_type): Likewise.
30463 (cast_to_integer): Likewise.
30464 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
30465 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
30466 before casting to atomic64_t.
30467 (atomic_exchange_acq): Likewise.
30468 (__arch_exchange_and_add_body): Likewise.
30469 (__arch_add_body): Likewise.
30470 (atomic_add_negative): Likewise.
30471 (atomic_add_zero): Likewise.
30473 2012-11-26 Joseph Myers <joseph@codesourcery.com>
30475 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
30476 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
30477 (add_fdes): Likewise.
30478 (linear_search_fdes): Likewise.
30479 (binary_search_unencoded_fdes): Likewise.
30481 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
30483 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
30485 2012-11-24 Adam Conrad <adconrad@0c3.net>
30487 * configure.in: Autodetect C++ header directories.
30488 * configure: Regenerated.
30490 2012-11-23 Mike Frysinger <vapier@gentoo.org>
30492 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
30494 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
30496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30498 2012-11-22 Joseph Myers <joseph@codesourcery.com>
30500 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
30501 LDBL_MANT_DIG == 106]: Disable some tests.
30502 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30504 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30508 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
30509 input for small inputs. Return +/- pi/2 for large inputs.
30510 * math/libm-test.inc (atan_test): Add more tests.
30512 * sysdeps/generic/unwind-dw2-fde-glibc.c
30513 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
30514 __attribute__ ((unused)).
30517 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
30518 x * y if x and y are nonzero and z is zero.
30521 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
30522 nonzero exponents with absolute value below 0x1p-117 to +/-
30526 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
30527 up arguments below 2**-450, not just those below 2**-500.
30528 * math/libm-test.inc (hypot_test): Add another test.
30531 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30532 Return a+b for ratio over 2**120, not 2**60.
30533 * math/libm-test.inc (hypot_test): Add another test.
30535 * math/libm-test.inc (clog_test): Use
30536 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
30537 (clog10_test): Likewise.
30540 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
30542 2012-11-22 Andreas Schwab <schwab@suse.de>
30544 * sysdeps/i386/fpu/libm-test-ulps: Update.
30546 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
30548 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
30549 printf output with newline.
30551 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
30554 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
30555 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
30556 -z nodlopen, -z initfirst and -z execstack support.
30557 * configure: Regenerated.
30559 * elf/elf.h (DF_1_NODIRECT): New macro.
30560 (DF_1_IGNMULDEF): Likewise.
30561 (DF_1_NOKSYMS): Likewise.
30562 (DF_1_NOHDR): Likewise.
30563 (DF_1_EDITED): Likewise.
30564 (DF_1_NORELOC): Likewise.
30565 (DF_1_SYMINTPOSE): Likewise.
30566 (DF_1_GLOBAUDIT): Likewise.
30567 (DF_1_SINGLETON): Likewise.
30568 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
30569 DT_1_SUPPORTED_MASK bits.
30570 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
30572 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
30574 * sysdeps/unix/make-syscalls.sh: Document prefixes.
30576 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
30578 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
30581 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
30582 (sendmmsg): Move declarations...
30583 * socket/sys/socket.h: ... here.
30584 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
30585 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
30587 * socket/recvmmsg.c: ... this new file.
30588 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
30589 (sendmmsg): Rename to __sendmmsg, create weak alias and make
30590 definition of __sendmmsg hidden.
30591 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
30592 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
30593 Move ENOSYS stub into and include it from...
30594 * socket/sendmmsg.c: ... this new file.
30595 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
30596 (sysdep_routines): Move recvmmsg and sendmmsg...
30597 * socket/Makefile (routines): ... here.
30598 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
30599 (GLIBC_PRIVATE): Add __sendmmsg.
30600 * include/sys/socket.h (__sendmmsg): Add declarations.
30601 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
30604 2012-11-20 Joseph Myers <joseph@codesourcery.com>
30606 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
30607 variable I1 with __attribute__ ((unused)).
30608 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30610 2012-11-19 Joseph Myers <joseph@codesourcery.com>
30612 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
30613 DUMMY variables with __attribute__ ((unused)).
30615 * bits/byteswap.h: Include <bits/types.h>.
30616 (__bswap_64): Use __uint64_t instead of unsigned long long int.
30618 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30620 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
30621 string_t. Do not manually set errno.
30622 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
30623 length with __strnlen. Make sure to both set errno and return it on
30626 2012-11-19 David S. Miller <davem@davemloft.net>
30628 With help from Joseph Myers.
30629 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
30630 very large arguments properly.
30631 * math/libm-test.inc (atan_test): New tests.
30632 (atan2_test): New tests.
30633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30634 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30636 2012-11-19 Joseph Myers <joseph@codesourcery.com>
30639 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
30642 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
30643 [POSIX] (EADDRNOTAVAIL): Likewise.
30644 [POSIX] (EAFNOSUPPORT): Likewise.
30645 [POSIX] (EALREADY): Likewise.
30646 [POSIX] (ECONNABORTED): Likewise.
30647 [POSIX] (ECONNREFUSED): Likewise.
30648 [POSIX] (ECONNRESET): Likewise.
30649 [POSIX] (EDESTADDRREQ): Likewise.
30650 [POSIX] (EDQUOT): Likewise.
30651 [POSIX] (EHOSTUNREACH): Likewise.
30652 [POSIX] (EIDRM): Likewise.
30653 [POSIX] (EISCONN): Likewise.
30654 [POSIX] (ELOOP): Likewise.
30655 [POSIX] (EMULTIHOP): Likewise.
30656 [POSIX] (ENETDOWN): Likewise.
30657 [POSIX] (ENETUNREACH): Likewise.
30658 [POSIX] (ENOBUFS): Likewise.
30659 [POSIX] (ENODATA): Likewise.
30660 [POSIX] (ENOLINK): Likewise.
30661 [POSIX] (ENOMSG): Likewise.
30662 [POSIX] (ENOPROTOOPT): Likewise.
30663 [POSIX] (ENOSR): Likewise.
30664 [POSIX] (ENOSTR): Likewise.
30665 [POSIX] (ENOTCONN): Likewise.
30666 [POSIX] (ENOTSOCK): Likewise.
30667 [POSIX] (EOPNOTSUPP): Likewise.
30668 [POSIX] (EOVERFLOW): Likewise.
30669 [POSIX] (EPROTO): Likewise.
30670 [POSIX] (EPROTONOSUPPORT): Likewise.
30671 [POSIX] (EPROTOTYPE): Likewise.
30672 [POSIX] (ESTALE): Likewise.
30673 [POSIX] (ETIME): Likewise.
30674 [POSIX] (ETXTBSY): Likewise.
30675 [POSIX] (EWOULDBLOCK): Likewise.
30676 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
30677 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
30678 [POSIX] (SEEK_CUR): Likewise.
30679 [POSIX] (SEEK_END): Likewise.
30680 [POSIX || UNIX98] (mode_t): Do not require.
30681 [POSIX] (off_t): Likewise.
30682 [POSIX] (pid_t): Likewise.
30683 [POSIX] (sys/stat.h): Do not allow header.
30684 [POSIX] (unistd.h): Likewise.
30685 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
30686 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
30687 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
30688 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
30690 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
30691 sigevent): Specify elements.
30692 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
30694 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
30695 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
30697 * conform/data/cpio.h-data [POSIX]: Disable whole file.
30698 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
30699 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
30700 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
30701 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
30702 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
30703 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
30704 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
30705 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
30706 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
30707 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
30708 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
30709 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
30710 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
30712 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
30714 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
30716 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
30718 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
30719 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
30720 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
30721 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
30722 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
30723 Specify lower bound on value.
30724 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
30725 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
30726 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
30727 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
30728 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
30729 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
30730 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
30731 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
30733 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
30735 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
30736 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
30737 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
30738 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
30739 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
30740 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
30741 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
30742 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
30743 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
30744 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
30745 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
30746 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
30747 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
30748 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
30749 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
30750 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
30752 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
30754 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
30755 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
30756 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
30757 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
30758 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
30759 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
30761 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
30762 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
30763 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
30764 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
30765 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
30766 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
30767 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
30769 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
30770 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
30771 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
30772 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
30773 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
30774 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
30775 specify as optional.
30776 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
30777 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
30778 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
30779 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
30780 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
30781 [XPG3] (NL_LANGMAX): Likewise.
30782 [POSIX || XPG3] (NL_MSGMAX): Likewise.
30783 [POSIX || XPG3] (NL_NMAX): Likewise.
30784 [POSIX || XPG3] (NL_SETMAX): Likewise.
30785 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
30786 [XPG3] (NZERO): Likewise.
30787 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
30788 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
30789 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
30790 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
30791 (REG_ERANGE): Expect.
30792 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
30794 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
30795 Use (void) in prototype.
30796 [POSIX] (*_t): Allow.
30797 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
30798 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
30799 (WRDE_BADVAL): Expect.
30801 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
30803 [XPG3 || XPG4] (O_RSYNC): Likewise.
30804 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
30806 [XPG3 || XPG4] (pthread_sigmask): Likewise.
30807 [XPG3 || XPG4] (sigqueue): Likewise.
30808 [XPG3 || XPG4] (sigtimedwait): Likewise.
30809 [XPG3 || XPG4] (sigwaitinfo): Likewise.
30810 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
30811 [XPG3 || XPG4] (vsnprintf): Likewise.
30812 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
30814 [XPG3 || XPG4] (blksize_t): Likewise.
30815 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
30817 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
30818 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30819 [XPG3 || XPG4] (struct itimerspec): Likewise.
30820 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
30821 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
30822 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
30823 [XPG3 || XPG4] (clockid_t): Likewise.
30824 [XPG3 || XPG4] (timer_t): Likewise.
30825 [XPG3 || XPG4] (clock_getres): Likewise.
30826 [XPG3 || XPG4] (clock_gettime): Likewise.
30827 [XPG3 || XPG4] (clock_settime): Likewise.
30828 [XPG3 || XPG4] (nanosleep): Likewise.
30829 [XPG3 || XPG4] (timer_create): Likewise.
30830 [XPG3 || XPG4] (timer_delete): Likewise.
30831 [XPG3 || XPG4] (timer_gettime): Likewise.
30832 [XPG3 || XPG4] (timer_getoverrun): Likewise.
30833 [XPG3 || XPG4] (timer_settime): Likewise.
30834 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
30835 [XPG3 || XPG4] (getlogin_r): Likewise.
30836 [XPG3 || XPG4] (pread): Likewise.
30837 [XPG3 || XPG4] (pthread_atfork): Likewise.
30838 [XPG3 || XPG4] (pwrite): Likewise.
30841 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
30844 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30846 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
30847 finalizing MALLSTREAM.
30849 * sysdeps/mach/hurd/syncfs.c: New file.
30851 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30854 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
30855 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
30856 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
30857 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
30858 (_nss_dns_gethostbyname4_r): Likewise.
30859 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
30860 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
30862 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
30865 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
30867 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
30869 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
30870 * elf/cache.c (print_entry): Print ",AArch64" for
30873 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
30874 * elf/cache.c (print_entry): Print ",hard-float" for
30877 2012-11-18 David S. Miller <davem@davemloft.net>
30879 With help from Joseph Myers.
30880 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
30882 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
30884 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
30885 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
30887 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
30888 * math/libm-test.inc (y0_test): New tests.
30889 (y1_test): New tests.
30890 * sysdeps/i386/fpu/libm-test-ulps: Update.
30891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30894 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
30896 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
30898 * configure: Regenerated.
30900 2012-11-17 David S. Miller <davem@davemloft.net>
30903 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
30904 nonzero exponents with absolute value below 0x1p-128 to +/-
30907 2012-11-17 Joseph Myers <joseph@codesourcery.com>
30909 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
30911 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
30913 * posix/getconf-speclist.c: New file.
30914 * posix/posix-envs.def: Likewise.
30915 * posix/confstr.c (START_ENV_GROUP): New macro.
30916 (END_ENV_GROUP): Likewise.
30917 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30918 (KNOWN_PRESENT_ENV_STRING): Likewise.
30919 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30920 (UNKNOWN_ENVIRONMENT): Likewise.
30921 (confstr): Include posix-envs.def instead of handling
30922 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
30923 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
30924 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
30925 (END_ENV_GROUP): Likewise.
30926 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30927 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30928 (UNKNOWN_ENVIRONMENT): Likewise.
30929 (__sysconf): Include posix-envs.def instead of handling associated
30930 cases directly here.
30931 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
30932 preprocessing getconf-speclist.c rather than running getconf or
30933 generating empty file.
30935 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
30937 * scripts/check-local-headers.sh: Ignore 'mach' headers.
30939 2012-11-16 Andrej Lajovic <natrij@gmail.com>
30942 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
30944 2012-11-16 David S. Miller <davem@davemloft.net>
30946 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
30947 smaller than LDBL_EPSILON/2.0L, just return xm1.
30949 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
30951 * elf/tst-array1.c (init): Set constructor priority to 1000.
30952 (fini): Set destructor priority to 1000.
30953 * elf/tst-array2dep.c: Likewise.
30955 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30958 * libio/fileops.c (_IO_new_file_write): Correctly return error.
30959 (_IO_new_file_xsputn): Also return EOF if none of the input
30960 data was written when overflow failed.
30961 * libio/iopadn.c (_IO_padn): Likewise.
30962 * libio/iowpadn.c (_IO_wpadn): Likewise.
30963 * stdio-common/tst-put-error.c: Add copyright notice.
30964 (do_test): Add case for printing padded string.
30965 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30966 _IO_padn returned error.
30967 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30968 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30971 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30973 * libio/libioP.h: Add comment note that the references to C++
30974 bits are now obsolete.
30976 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30978 * math/libm-test.inc (check_complex): Use asprintf.
30980 2012-11-14 Joseph Myers <joseph@codesourcery.com>
30982 * debug/pcprofiledump.c (print_version): Update copyright year.
30983 * malloc/memusagestat.c (print_version): Likewise.
30985 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
30988 * elf/Makefile (tests): Add tst-audit8.
30989 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
30990 ($(objpfx)tst-audit8.out): New target.
30991 (tst-audit8-ENV): New variable.
30992 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
30993 audit if l_reloc_result is NULL.
30994 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
30995 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
30996 * elf/tst-audit8.c: New file.
30998 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31000 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
31001 * misc/Makefile (CFLAGS-select.c): Define.
31002 * posix/Makefile (CFLAGS-pause.c): Define.
31004 2012-11-13 David S. Miller <davem@davemloft.net>
31006 * crypt/Makefile: Move test targets after toplevel Rules
31007 inclusion. Grab any necessary sysdep routines when linking.
31008 * crypt/md5.c (md5_process_block): Remove define, we will always
31009 name it __md5_process_block.
31010 (md5_finish_ctx): Update md5_process_block call.
31011 (md5_stream): Likewise.
31012 (md5_process_bytes): Likewise.
31013 (md5_process_block): Rename to __md5_process_block and move to ...
31014 * crypt/md5-block.c: ... here.
31015 * crypt/sha256.c (sha256_process_block): Move to ...
31016 * crypt/sha256-block.c: ... here.
31017 * crypt/sha512.c (sha512_process_block): Move to ...
31018 * crypt/sha512-block.c: ... here.
31019 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
31021 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
31022 * sysdeps/sparc/sparc64/multiarch/Makefile
31023 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31025 (localedef-aux): Add md5 crypto assembler when in locale subdir.
31026 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
31028 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
31029 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
31030 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
31031 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
31032 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
31033 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
31034 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
31035 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
31036 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
31038 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
31039 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
31041 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
31043 2012-11-13 Joseph Myers <joseph@codesourcery.com>
31045 * timezone/tzselect.ksh: Update from tzcode git revision
31046 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
31047 * timezone/zdump.c: Likewise.
31048 * timezone/zic.c: Likewise.
31049 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
31050 in TZVERSION setting, not $(PKGVERSION).
31051 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
31052 REPORT_BUGS_TO settings.
31055 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
31058 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31060 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
31061 detection to immediately after _FP_ROUND().
31062 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
31065 2012-11-11 David S. Miller <davem@davemloft.net>
31067 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31069 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31070 __close rather than their public counterparts.
31072 2012-11-10 Joseph Myers <joseph@codesourcery.com>
31074 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31076 [UNIX98] (sem_timedwait): Do not expect.
31077 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31078 [XPG4 || UNIX98] (sockatmark): Do not expect.
31079 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31080 (clock_getcpuclockid): Do not expect.
31081 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31082 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31084 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31085 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31086 [UNIX98] (vwscanf): Likewise.
31087 [UNIX98] (vswscanf): Likewise.
31089 2012-11-09 Joseph Myers <joseph@codesourcery.com>
31091 * timezone/version.h: Remove file.
31092 * timezone/README: Do not refer to version.h.
31093 * timezone/Makefile ($(objpfx)zic.o): New dependency on
31094 $(objpfx)version.h.
31095 ($(objpfx)zdump.o): Likewise.
31096 ($(objpfx)version.h): New target.
31098 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31100 * timezone/README: Don't mention modification to tzselect.ksh.
31101 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31102 work on unmodified tzselect.ksh. Substitute version numbers in
31105 * Makefile (format-me): Remove.
31106 (INSTALL): Adjust indentation. Use commands directly instead of
31107 using $(format-me).
31109 * aclocal.m4 (ACX_PKGVERSION): New macro.
31110 (ACX_BUGURL): Likewise.
31111 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31112 (PKGVERSION): New AC_DEFINE_UNQUOTED.
31113 (REPORT_BUGS_TO): Likewise.
31114 * configure: Regenerated.
31115 * config.h.in (PKGVERSION): New macro.
31116 (REPORT_BUGS_TO): Likewise.
31117 * config.make.in (PKGVERSION): New variable.
31118 (PKGVERSION_TEXI): Likewise.
31119 (REPORT_BUGS_TO): Likewise.
31120 (REPORT_BUGS_TEXI): Likewise.
31121 * Makefile (format-me): Use -I$(common-objpfx)manual.
31122 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31123 ($(common-objpfx)manual/%): New target.
31124 (manual/%): Remove target.
31125 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31126 (print_version): Use PKGVERSION.
31127 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31128 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31129 and REPORT_BUGS_TO.
31130 ($(objpfx)xtrace): Likewise.
31131 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
31132 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
31133 (print_version): Use PKGVERSION.
31134 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
31135 (do_version): Use PKGVERSION.
31136 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
31138 (common-ldd-rewrite): Likewise.
31139 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
31140 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
31141 (print_version): Use PKGVERSION.
31142 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
31143 * elf/pldd.c (argp_program_bug_address): Remove variable.
31144 (more_help): New function.
31145 (argp): Use more_help.
31146 (print_version): Use PKGVERSION.
31147 * elf/sln.c (main): Use PKGVERSION.
31148 (usage): Use REPORT_BUGS_TO.
31149 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
31150 (top level): Use PKGVERSION.
31151 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
31152 (print_version): Use PKGVERSION.
31153 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
31154 (print_version): Use PKGVERSION.
31155 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
31156 (print_version): Use PKGVERSION.
31157 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
31158 (print_version): Use PKGVERSION.
31159 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
31160 (print_version): Use PKGVERSION.
31161 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
31162 (print_version): Use PKGVERSION.
31163 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
31165 ($(objpfx)memusage): Likewise.
31166 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
31167 (do_version): Use PKGVERSION.
31168 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
31169 (print_version): Use PKGVERSION.
31170 * malloc/mtrace.pl ($PACKAGE): Remove variable.
31171 ($PKGVERSION): New variable.
31172 ($REPORT_BUGS_TO): Likewise.
31173 (usage): Use $REPORT_BUGS_TO.
31174 (top level): Use $PKGVERSION.
31175 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
31176 ($(objpfx)pkgvers.texi): New rule.
31177 ($(objpfx)stamp-pkgvers): Likewise.
31178 * manual/install.texi: Include pkgvers.texi.
31179 (--with-pkgversion): Document new configure option.
31180 (--with-bugurl): Likewise.
31181 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
31182 than necessarily for this particular distribution. Use
31183 REPORT_BUGS_TO for where to report bugs.
31184 * INSTALL: Regenerated.
31185 * manual/libc.texinfo: Include pkgvers.texi.
31186 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
31187 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
31188 (print_version): Use PKGVERSION.
31189 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
31190 (print_version): Use PKGVERSION.
31191 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
31192 (print_version): Use PKGVERSION.
31193 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
31194 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
31196 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
31197 (print_version): Use PKGVERSION.
31198 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
31199 (print_version): Use PKGVERSION.
31200 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
31203 * timezone/checktab.awk: Update from tzcode 2012i.
31204 * timezone/ialloc.c: Likewise.
31205 * timezone/private.h: Likewise.
31206 * timezone/scheck.c: Likewise.
31207 * timezone/tzfile.h: Likewise.
31208 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
31209 (TZVERSION): Hardcode tzcode version number.
31210 * timezone/zdump.c: Update from tzcode 2012i.
31211 * timezone/zic.c: Likewise.
31212 * timezone/version.h: New file.
31213 * timezone/README: Describe version.h. Update upstream location.
31216 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
31217 (mktemp): Enable declaration.
31218 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
31219 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
31220 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
31221 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
31223 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
31225 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
31227 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
31229 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
31231 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
31235 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
31236 offset in buffer as u_int32_t not u_long. Consistently use memcpy
31237 for copies of such integer values.
31238 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31239 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31241 2012-11-09 Andreas Jaeger <aj@suse.de>
31243 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
31244 definitions and declarations that are provided by
31245 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31247 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31249 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
31250 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
31251 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
31254 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31256 * elf/elf.h: Update comment before AArch64 relocations.
31258 2012-11-07 David S. Miller <davem@davemloft.net>
31260 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
31261 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31262 (__start_context): Declare.
31263 (__makecontext_ret): Delete.
31264 (__makecontext): Hook up __start_context instead of
31266 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
31267 (sysdep_routines): Add __start_context when in stdlib.
31269 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31271 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
31272 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
31273 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
31275 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
31276 (READELF): New variable. Use it instead of hardcoded "readelf".
31278 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
31280 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
31281 * sysdeps/x86/Makefile: Here.
31282 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
31283 * sysdeps/x86/tst-xmmymm.sh: This.
31285 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31287 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
31289 [UNIX98] (pthread_barrier_t): Do not expect.
31290 [UNIX98] (pthread_barrierattr_t): Likewise.
31291 [UNIX98] (pthread_spinlock_t): Likewise.
31292 [UNIX98] (pthread_barrier_destroy): Likewise.
31293 [UNIX98] (pthread_barrier_init): Likewise.
31294 [UNIX98] (pthread_barrier_wait): Likewise.
31295 [UNIX98] (pthread_barrierattr_destroy): Likewise.
31296 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
31297 [UNIX98] (pthread_barrierattr_init): Likewise.
31298 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
31299 [UNIX98] (pthread_getcpuclockid): Likewise.
31300 [UNIX98] (pthread_mutex_timedlock): Likewise.
31301 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
31302 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
31303 [UNIX98] (pthread_sigmask): Likewise.
31304 [UNIX98] (pthread_spin_destroy): Likewise.
31305 [UNIX98] (pthread_spin_init): Likewise.
31306 [UNIX98] (pthread_spin_lock): Likewise.
31307 [UNIX98] (pthread_spin_trylock): Likewise.
31308 [UNIX98] (pthread_spin_unlock): Likewise.
31309 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
31311 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
31312 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
31313 [XPG3 || XPG4] (pthread_cond_t): Likewise.
31314 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
31315 [XPG3 || XPG4] (pthread_key_t): Likewise.
31316 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
31317 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
31318 [XPG3 || XPG4] (pthread_once_t): Likewise.
31319 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
31320 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
31321 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
31322 [XPG3 || XPG4] (pthread_t): Likewise.
31324 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
31326 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
31328 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
31329 Change function return type to int.
31331 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
31332 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
31333 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
31334 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
31335 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
31336 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
31337 [!POSIX] (posix_madvise): Likewise.
31338 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
31340 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
31341 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
31342 (mode_t): Likewise.
31343 (posix_mem_offset): Likewise.
31344 (posix_typed_mem_get_info): Likewise.
31345 (posix_typed_mem_open): Likewise.
31347 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
31348 Change condition to [XOPEN2K8].
31350 * conform/conformtest.pl: Preprocess allow-header data with -x c
31351 instead of from stdin.
31352 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
31353 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
31354 [C99-based standards] (cerfc): Likewise.
31355 [C99-based standards] (cexp2): Likewise.
31356 [C99-based standards] (cexpm1): Likewise.
31357 [C99-based standards] (clog10): Likewise.
31358 [C99-based standards] (clog1p): Likewise.
31359 [C99-based standards] (clog2): Likewise.
31360 [C99-based standards] (clgamma): Likewise.
31361 [C99-based standards] (ctgamma): Likewise.
31362 [C99-based standards] (cerff): Likewise.
31363 [C99-based standards] (cerfcf): Likewise.
31364 [C99-based standards] (cexp2f): Likewise.
31365 [C99-based standards] (cexpm1f): Likewise.
31366 [C99-based standards] (clog10f): Likewise.
31367 [C99-based standards] (clog1pf): Likewise.
31368 [C99-based standards] (clog2f): Likewise.
31369 [C99-based standards] (clgammaf): Likewise.
31370 [C99-based standards] (ctgammaf): Likewise.
31371 [C99-based standards] (cerfl): Likewise.
31372 [C99-based standards] (cerfcl): Likewise.
31373 [C99-based standards] (cexp2l): Likewise.
31374 [C99-based standards] (cexpm1l): Likewise.
31375 [C99-based standards] (clog10l): Likewise.
31376 [C99-based standards] (clog1pl): Likewise.
31377 [C99-based standards] (clog2l): Likewise.
31378 [C99-based standards] (clgammal): Likewise.
31379 [C99-based standards] (ctgammal): Likewise.
31380 * conform/data/inttypes.h-data [C99-based standards]: Include
31381 stdint.h-data. Remove all expectations for stdint.h contents.
31382 [C99-based standards] (PRI*): Do not allow.
31383 [C99-based standards] (SCN*): Likewise.
31384 [C99-based standards] (*_t): Likewise.
31385 [C99-based-standards] (PRId8): Expect macro.
31386 [C99-based-standards] (PRIi8): Likewise.
31387 [C99-based-standards] (PRIo8): Likewise.
31388 [C99-based-standards] (PRIu8): Likewise.
31389 [C99-based-standards] (PRIx8): Likewise.
31390 [C99-based-standards] (PRIX8): Likewise.
31391 [C99-based-standards] (SCNd8): Likewise.
31392 [C99-based-standards] (SCNi8): Likewise.
31393 [C99-based-standards] (SCNo8): Likewise.
31394 [C99-based-standards] (SCNu8): Likewise.
31395 [C99-based-standards] (SCNx8): Likewise.
31396 [C99-based-standards] (PRIdLEAST8): Likewise.
31397 [C99-based-standards] (PRIiLEAST8): Likewise.
31398 [C99-based-standards] (PRIoLEAST8): Likewise.
31399 [C99-based-standards] (PRIuLEAST8): Likewise.
31400 [C99-based-standards] (PRIxLEAST8): Likewise.
31401 [C99-based-standards] (PRIXLEAST8): Likewise.
31402 [C99-based-standards] (SCNdLEAST8): Likewise.
31403 [C99-based-standards] (SCNiLEAST8): Likewise.
31404 [C99-based-standards] (SCNoLEAST8): Likewise.
31405 [C99-based-standards] (SCNuLEAST8): Likewise.
31406 [C99-based-standards] (SCNxLEAST8): Likewise.
31407 [C99-based-standards] (PRIdFAST8): Likewise.
31408 [C99-based-standards] (PRIiFAST8): Likewise.
31409 [C99-based-standards] (PRIoFAST8): Likewise.
31410 [C99-based-standards] (PRIuFAST8): Likewise.
31411 [C99-based-standards] (PRIxFAST8): Likewise.
31412 [C99-based-standards] (PRIXFAST8): Likewise.
31413 [C99-based-standards] (SCNdFAST8): Likewise.
31414 [C99-based-standards] (SCNiFAST8): Likewise.
31415 [C99-based-standards] (SCNoFAST8): Likewise.
31416 [C99-based-standards] (SCNuFAST8): Likewise.
31417 [C99-based-standards] (SCNxFAST8): Likewise.
31418 [C99-based-standards] (PRId16): Likewise.
31419 [C99-based-standards] (PRIi16): Likewise.
31420 [C99-based-standards] (PRIo16): Likewise.
31421 [C99-based-standards] (PRIu16): Likewise.
31422 [C99-based-standards] (PRIx16): Likewise.
31423 [C99-based-standards] (PRIX16): Likewise.
31424 [C99-based-standards] (SCNd16): Likewise.
31425 [C99-based-standards] (SCNi16): Likewise.
31426 [C99-based-standards] (SCNo16): Likewise.
31427 [C99-based-standards] (SCNu16): Likewise.
31428 [C99-based-standards] (SCNx16): Likewise.
31429 [C99-based-standards] (PRIdLEAST16): Likewise.
31430 [C99-based-standards] (PRIiLEAST16): Likewise.
31431 [C99-based-standards] (PRIoLEAST16): Likewise.
31432 [C99-based-standards] (PRIuLEAST16): Likewise.
31433 [C99-based-standards] (PRIxLEAST16): Likewise.
31434 [C99-based-standards] (PRIXLEAST16): Likewise.
31435 [C99-based-standards] (SCNdLEAST16): Likewise.
31436 [C99-based-standards] (SCNiLEAST16): Likewise.
31437 [C99-based-standards] (SCNoLEAST16): Likewise.
31438 [C99-based-standards] (SCNuLEAST16): Likewise.
31439 [C99-based-standards] (SCNxLEAST16): Likewise.
31440 [C99-based-standards] (PRIdFAST16): Likewise.
31441 [C99-based-standards] (PRIiFAST16): Likewise.
31442 [C99-based-standards] (PRIoFAST16): Likewise.
31443 [C99-based-standards] (PRIuFAST16): Likewise.
31444 [C99-based-standards] (PRIxFAST16): Likewise.
31445 [C99-based-standards] (PRIXFAST16): Likewise.
31446 [C99-based-standards] (SCNdFAST16): Likewise.
31447 [C99-based-standards] (SCNiFAST16): Likewise.
31448 [C99-based-standards] (SCNoFAST16): Likewise.
31449 [C99-based-standards] (SCNuFAST16): Likewise.
31450 [C99-based-standards] (SCNxFAST16): Likewise.
31451 [C99-based-standards] (PRId32): Likewise.
31452 [C99-based-standards] (PRIi32): Likewise.
31453 [C99-based-standards] (PRIo32): Likewise.
31454 [C99-based-standards] (PRIu32): Likewise.
31455 [C99-based-standards] (PRIx32): Likewise.
31456 [C99-based-standards] (PRIX32): Likewise.
31457 [C99-based-standards] (SCNd32): Likewise.
31458 [C99-based-standards] (SCNi32): Likewise.
31459 [C99-based-standards] (SCNo32): Likewise.
31460 [C99-based-standards] (SCNu32): Likewise.
31461 [C99-based-standards] (SCNx32): Likewise.
31462 [C99-based-standards] (PRIdLEAST32): Likewise.
31463 [C99-based-standards] (PRIiLEAST32): Likewise.
31464 [C99-based-standards] (PRIoLEAST32): Likewise.
31465 [C99-based-standards] (PRIuLEAST32): Likewise.
31466 [C99-based-standards] (PRIxLEAST32): Likewise.
31467 [C99-based-standards] (PRIXLEAST32): Likewise.
31468 [C99-based-standards] (SCNdLEAST32): Likewise.
31469 [C99-based-standards] (SCNiLEAST32): Likewise.
31470 [C99-based-standards] (SCNoLEAST32): Likewise.
31471 [C99-based-standards] (SCNuLEAST32): Likewise.
31472 [C99-based-standards] (SCNxLEAST32): Likewise.
31473 [C99-based-standards] (PRIdFAST32): Likewise.
31474 [C99-based-standards] (PRIiFAST32): Likewise.
31475 [C99-based-standards] (PRIoFAST32): Likewise.
31476 [C99-based-standards] (PRIuFAST32): Likewise.
31477 [C99-based-standards] (PRIxFAST32): Likewise.
31478 [C99-based-standards] (PRIXFAST32): Likewise.
31479 [C99-based-standards] (SCNdFAST32): Likewise.
31480 [C99-based-standards] (SCNiFAST32): Likewise.
31481 [C99-based-standards] (SCNoFAST32): Likewise.
31482 [C99-based-standards] (SCNuFAST32): Likewise.
31483 [C99-based-standards] (SCNxFAST32): Likewise.
31484 [C99-based-standards] (PRId64): Likewise.
31485 [C99-based-standards] (PRIi64): Likewise.
31486 [C99-based-standards] (PRIo64): Likewise.
31487 [C99-based-standards] (PRIu64): Likewise.
31488 [C99-based-standards] (PRIx64): Likewise.
31489 [C99-based-standards] (PRIX64): Likewise.
31490 [C99-based-standards] (SCNd64): Likewise.
31491 [C99-based-standards] (SCNi64): Likewise.
31492 [C99-based-standards] (SCNo64): Likewise.
31493 [C99-based-standards] (SCNu64): Likewise.
31494 [C99-based-standards] (SCNx64): Likewise.
31495 [C99-based-standards] (PRIdLEAST64): Likewise.
31496 [C99-based-standards] (PRIiLEAST64): Likewise.
31497 [C99-based-standards] (PRIoLEAST64): Likewise.
31498 [C99-based-standards] (PRIuLEAST64): Likewise.
31499 [C99-based-standards] (PRIxLEAST64): Likewise.
31500 [C99-based-standards] (PRIXLEAST64): Likewise.
31501 [C99-based-standards] (SCNdLEAST64): Likewise.
31502 [C99-based-standards] (SCNiLEAST64): Likewise.
31503 [C99-based-standards] (SCNoLEAST64): Likewise.
31504 [C99-based-standards] (SCNuLEAST64): Likewise.
31505 [C99-based-standards] (SCNxLEAST64): Likewise.
31506 [C99-based-standards] (PRIdFAST64): Likewise.
31507 [C99-based-standards] (PRIiFAST64): Likewise.
31508 [C99-based-standards] (PRIoFAST64): Likewise.
31509 [C99-based-standards] (PRIuFAST64): Likewise.
31510 [C99-based-standards] (PRIxFAST64): Likewise.
31511 [C99-based-standards] (PRIXFAST64): Likewise.
31512 [C99-based-standards] (SCNdFAST64): Likewise.
31513 [C99-based-standards] (SCNiFAST64): Likewise.
31514 [C99-based-standards] (SCNoFAST64): Likewise.
31515 [C99-based-standards] (SCNuFAST64): Likewise.
31516 [C99-based-standards] (SCNxFAST64): Likewise.
31517 [C99-based-standards] (PRIdMAX): Likewise.
31518 [C99-based-standards] (PRIiMAX): Likewise.
31519 [C99-based-standards] (PRIoMAX): Likewise.
31520 [C99-based-standards] (PRIuMAX): Likewise.
31521 [C99-based-standards] (PRIxMAX): Likewise.
31522 [C99-based-standards] (PRIXMAX): Likewise.
31523 [C99-based-standards] (SCNdMAX): Likewise.
31524 [C99-based-standards] (SCNiMAX): Likewise.
31525 [C99-based-standards] (SCNoMAX): Likewise.
31526 [C99-based-standards] (SCNuMAX): Likewise.
31527 [C99-based-standards] (SCNxMAX): Likewise.
31528 [C99-based-standards] (PRIdPTR): Likewise.
31529 [C99-based-standards] (PRIiPTR): Likewise.
31530 [C99-based-standards] (PRIoPTR): Likewise.
31531 [C99-based-standards] (PRIuPTR): Likewise.
31532 [C99-based-standards] (PRIxPTR): Likewise.
31533 [C99-based-standards] (PRIXPTR): Likewise.
31534 [C99-based-standards] (SCNdPTR): Likewise.
31535 [C99-based-standards] (SCNiPTR): Likewise.
31536 [C99-based-standards] (SCNoPTR): Likewise.
31537 [C99-based-standards] (SCNuPTR): Likewise.
31538 [C99-based-standards] (SCNxPTR): Likewise.
31539 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
31541 * conform/data/stdint.h-data: Update comments to clarify
31543 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
31545 [C99-based standards] (INT8_MAX): Likewise.
31546 [C99-based standards] (INT16_MIN): Likewise.
31547 [C99-based standards] (INT16_MAX): Likewise.
31548 [C99-based standards] (INT32_MIN): Likewise.
31549 [C99-based standards] (INT32_MAX): Likewise.
31550 [C99-based standards] (INT64_MIN): Likewise.
31551 [C99-based standards] (INT64_MAX): Likewise.
31552 [C99-based standards] (UINT8_MAX): Likewise.
31553 [C99-based standards] (UINT16_MAX): Likewise.
31554 [C99-based standards] (UINT32_MAX): Likewise.
31555 [C99-based standards] (UINT64_MAX): Likewise.
31556 [C99-based standards] (INT_LEAST8_MIN): Likewise.
31557 [C99-based standards] (INT_LEAST8_MAX): Likewise.
31558 [C99-based standards] (INT_LEAST16_MIN): Likewise.
31559 [C99-based standards] (INT_LEAST16_MAX): Likewise.
31560 [C99-based standards] (INT_LEAST32_MIN): Likewise.
31561 [C99-based standards] (INT_LEAST32_MAX): Likewise.
31562 [C99-based standards] (INT_LEAST64_MIN): Likewise.
31563 [C99-based standards] (INT_LEAST64_MAX): Likewise.
31564 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
31565 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
31566 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
31567 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
31568 [C99-based standards] (INT_FAST8_MIN): Likewise.
31569 [C99-based standards] (INT_FAST8_MAX): Likewise.
31570 [C99-based standards] (INT_FAST16_MIN): Likewise.
31571 [C99-based standards] (INT_FAST16_MAX): Likewise.
31572 [C99-based standards] (INT_FAST32_MIN): Likewise.
31573 [C99-based standards] (INT_FAST32_MAX): Likewise.
31574 [C99-based standards] (INT_FAST64_MIN): Likewise.
31575 [C99-based standards] (INT_FAST64_MAX): Likewise.
31576 [C99-based standards] (UINT_FAST8_MAX): Likewise.
31577 [C99-based standards] (UINT_FAST16_MAX): Likewise.
31578 [C99-based standards] (UINT_FAST32_MAX): Likewise.
31579 [C99-based standards] (UINT_FAST64_MAX): Likewise.
31580 [C99-based standards] (INTPTR_MIN): Likewise.
31581 [C99-based standards] (INTPTR_MAX): Likewise.
31582 [C99-based standards] (UINTPTR_MAX): Likewise.
31583 [C99-based standards] (INTMAX_MIN): Likewise.
31584 [C99-based standards] (INTMAX_MAX): Likewise.
31585 [C99-based standards] (UINTMAX_MAX): Likewise.
31586 [C99-based standards] (PTRDIFF_MIN): Likewise.
31587 [C99-based standards] (PTRDIFF_MAX): Likewise.
31588 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
31589 [C99-based standards] (SIZE_MAX): Likewise.
31590 [C99-based standards] (WCHAR_MAX): Likewise.
31591 [C99-based standards] (WINT_MAX): Likewise.
31592 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
31593 constraint on value.
31594 [C99-based standards] (WCHAR_MIN): Likewise.
31595 [C99-based standards] (WINT_MIN): Likewise.
31596 [C99-based standards] (*_t): Allow.
31597 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
31598 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
31599 Include math.h-data and complex.h-data. Remove all expectations
31600 of math.h and complex.h contents.
31601 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
31603 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
31604 (struct tm): Expect tag.
31605 [C99-based-standards] (wcstof): Expect function.
31606 [C99-based-standards] (wcstold): Likewise.
31607 [C99-based-standards] (wcstoll): Likewise.
31608 [C99-based-standards] (wcstoull): Likewise.
31609 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
31610 macro-int-constant. Specify type.
31611 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
31612 constraint on value.
31613 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31615 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
31617 [ISO C standards]: Do not allow headers.
31618 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
31619 wcs[abcdefghijklmnopqrstuvwxyz]*.
31620 [ISO C standards] (*_t): Do not allow.
31621 * conform/data/wctype.h-data [C99-based standards] (iswblank):
31623 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
31624 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31626 [ISO C standards]: Do not allow headers.
31627 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
31628 is[abcdefghijklmnopqrstuvwxyz]*.
31629 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
31630 to[abcdefghijklmnopqrstuvwxyz]*.
31631 [ISO C standards] (*_t): Do not allow.
31632 * conform/data/stdalign.h-data: New file.
31633 * conform/data/stdbool.h-data: Likewise.
31634 * conform/data/stdnoreturn.h-data: Likewise.
31636 2012-11-07 Roland McGrath <roland@hack.frob.com>
31639 * manual/filesys.texi (Directory Entries): Typo fix.
31640 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
31642 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31644 * elf/elf.h (EM_AARCH64): New macro.
31645 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
31646 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
31647 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
31648 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
31649 (R_AARCH64_TLSDESC): Likewise.
31650 (NT_ARM_TLS): Likewise.
31651 (NT_ARM_HW_BREAK): Likewise.
31652 (NT_ARM_HW_WATCH): Likewise.
31654 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31657 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
31658 (__ieee754_powl): Saturate nonzero exponents with absolute value
31659 below 0x1p-79 to +/- 0x1p-79.
31660 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
31661 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
31662 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
31663 nonzero exponents with absolute value below 0x1p-32 to +/-
31665 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
31666 (__ieee754_powl): Saturate nonzero exponents with absolute value
31667 below 0x1p-79 to +/- 0x1p-79.
31668 * math/libm-test.inc (pow_test): Add more tests.
31670 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31672 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
31673 _dl_s390_cap_flags with kernel. Increase string length.
31674 (_dl_s390_platforms): Add z196 and zEC12.
31676 2012-11-07 Joseph Myers <joseph@codesourcery.com>
31678 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
31679 Change XOPEN21K to XOPEN2K.
31681 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
31683 * string/memmove.c: Use memcpy when possible.
31685 2012-11-06 Andreas Jaeger <aj@suse.de>
31687 * po/eo.po: Update from translation team.
31689 2012-11-06 Joseph Myers <joseph@codesourcery.com>
31692 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
31693 exponent and small x and y exponents, scale x or y up. Increase
31694 by 2 the exponent used in scaling up.
31695 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31696 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31697 * math/libm-test.inc (fma_test): Add more tests.
31698 (fma_test_towardzero): Likewise.
31699 (fma_test_downward): Likewise.
31700 (fma_test_upward): Likewise.
31702 2012-11-05 Joseph Myers <joseph@codesourcery.com>
31705 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
31709 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
31710 namespace for names of struct fields.
31711 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
31713 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
31714 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
31716 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31719 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
31721 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
31723 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
31727 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
31730 2012-11-04 Joseph Myers <joseph@codesourcery.com>
31733 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
31734 definitely overflow as x * y not x * y + z.
31735 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31736 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31737 * math/libm-test.inc (fma_test): Add more tests.
31738 (fma_test_towardzero): Likewise.
31739 (fma_test_downward): Likewise.
31740 (fma_test_upward): Likewise.
31742 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
31746 * include/stub-tag.h: Remove file.
31747 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
31749 * manual/maint.texi (Porting): Don't reference it.
31750 * Makerules ($(objpfx)stubs): Likewise.
31751 * dirent/closedir.c: Don't include <stub-tag.h>.
31752 * dirent/dirfd.c: Likewise.
31753 * dirent/fdopendir.c: Likewise.
31754 * dirent/getdents.c: Likewise.
31755 * dirent/getdents64.c: Likewise.
31756 * dirent/opendir.c: Likewise.
31757 * dirent/readdir.c: Likewise.
31758 * dirent/readdir64.c: Likewise.
31759 * dirent/readdir64_r.c: Likewise.
31760 * dirent/readdir_r.c: Likewise.
31761 * dirent/rewinddir.c: Likewise.
31762 * dirent/seekdir.c: Likewise.
31763 * dirent/telldir.c: Likewise.
31764 * gmon/profil.c: Likewise.
31765 * grp/setgroups.c: Likewise.
31766 * inet/if_index.c: Likewise.
31767 * io/access.c: Likewise.
31768 * io/chdir.c: Likewise.
31769 * io/chmod.c: Likewise.
31770 * io/chown.c: Likewise.
31771 * io/close.c: Likewise.
31772 * io/dup.c: Likewise.
31773 * io/dup2.c: Likewise.
31774 * io/dup3.c: Likewise.
31775 * io/euidaccess.c: Likewise.
31776 * io/faccessat.c: Likewise.
31777 * io/fchdir.c: Likewise.
31778 * io/fchmod.c: Likewise.
31779 * io/fchmodat.c: Likewise.
31780 * io/fchown.c: Likewise.
31781 * io/fchownat.c: Likewise.
31782 * io/fcntl.c: Likewise.
31783 * io/flock.c: Likewise.
31784 * io/fstatfs.c: Likewise.
31785 * io/fstatfs64.c: Likewise.
31786 * io/fstatvfs.c: Likewise.
31787 * io/fstatvfs64.c: Likewise.
31788 * io/futimens.c: Likewise.
31789 * io/fxstat.c: Likewise.
31790 * io/fxstat64.c: Likewise.
31791 * io/fxstatat.c: Likewise.
31792 * io/fxstatat64.c: Likewise.
31793 * io/getcwd.c: Likewise.
31794 * io/isatty.c: Likewise.
31795 * io/lchmod.c: Likewise.
31796 * io/lchown.c: Likewise.
31797 * io/link.c: Likewise.
31798 * io/linkat.c: Likewise.
31799 * io/lseek.c: Likewise.
31800 * io/lseek64.c: Likewise.
31801 * io/lxstat64.c: Likewise.
31802 * io/mkdir.c: Likewise.
31803 * io/mkdirat.c: Likewise.
31804 * io/mkfifo.c: Likewise.
31805 * io/mkfifoat.c: Likewise.
31806 * io/open.c: Likewise.
31807 * io/open64.c: Likewise.
31808 * io/openat.c: Likewise.
31809 * io/openat64.c: Likewise.
31810 * io/pipe.c: Likewise.
31811 * io/pipe2.c: Likewise.
31812 * io/poll.c: Likewise.
31813 * io/posix_fadvise.c: Likewise.
31814 * io/posix_fadvise64.c: Likewise.
31815 * io/posix_fallocate.c: Likewise.
31816 * io/posix_fallocate64.c: Likewise.
31817 * io/read.c: Likewise.
31818 * io/readlink.c: Likewise.
31819 * io/readlinkat.c: Likewise.
31820 * io/rmdir.c: Likewise.
31821 * io/sendfile.c: Likewise.
31822 * io/sendfile64.c: Likewise.
31823 * io/statfs.c: Likewise.
31824 * io/statfs64.c: Likewise.
31825 * io/statvfs.c: Likewise.
31826 * io/statvfs64.c: Likewise.
31827 * io/symlink.c: Likewise.
31828 * io/symlinkat.c: Likewise.
31829 * io/ttyname.c: Likewise.
31830 * io/ttyname_r.c: Likewise.
31831 * io/umask.c: Likewise.
31832 * io/unlink.c: Likewise.
31833 * io/unlinkat.c: Likewise.
31834 * io/utime.c: Likewise.
31835 * io/utimensat.c: Likewise.
31836 * io/write.c: Likewise.
31837 * io/xmknod.c: Likewise.
31838 * io/xmknodat.c: Likewise.
31839 * io/xstat.c: Likewise.
31840 * io/xstat64.c: Likewise.
31841 * login/getpt.c: Likewise.
31842 * login/grantpt.c: Likewise.
31843 * login/unlockpt.c: Likewise.
31844 * math/e_acoshl.c: Likewise.
31845 * math/e_acosl.c: Likewise.
31846 * math/e_asinl.c: Likewise.
31847 * math/e_atan2l.c: Likewise.
31848 * math/e_atanhl.c: Likewise.
31849 * math/e_coshl.c: Likewise.
31850 * math/e_expl.c: Likewise.
31851 * math/e_fmodl.c: Likewise.
31852 * math/e_gammal_r.c: Likewise.
31853 * math/e_hypotl.c: Likewise.
31854 * math/e_j0l.c: Likewise.
31855 * math/e_j1l.c: Likewise.
31856 * math/e_jnl.c: Likewise.
31857 * math/e_lgammal_r.c: Likewise.
31858 * math/e_log10l.c: Likewise.
31859 * math/e_log2l.c: Likewise.
31860 * math/e_logl.c: Likewise.
31861 * math/e_powl.c: Likewise.
31862 * math/e_rem_pio2l.c: Likewise.
31863 * math/e_sinhl.c: Likewise.
31864 * math/e_sqrtl.c: Likewise.
31865 * math/fclrexcpt.c: Likewise.
31866 * math/fedisblxcpt.c: Likewise.
31867 * math/feenablxcpt.c: Likewise.
31868 * math/fegetenv.c: Likewise.
31869 * math/fegetexcept.c: Likewise.
31870 * math/fegetround.c: Likewise.
31871 * math/feholdexcpt.c: Likewise.
31872 * math/fesetenv.c: Likewise.
31873 * math/fesetround.c: Likewise.
31874 * math/feupdateenv.c: Likewise.
31875 * math/fgetexcptflg.c: Likewise.
31876 * math/fraiseexcpt.c: Likewise.
31877 * math/fsetexcptflg.c: Likewise.
31878 * math/ftestexcept.c: Likewise.
31879 * math/k_cosl.c: Likewise.
31880 * math/k_rem_pio2l.c: Likewise.
31881 * math/k_sinl.c: Likewise.
31882 * math/k_tanl.c: Likewise.
31883 * math/s_asinhl.c: Likewise.
31884 * math/s_atanl.c: Likewise.
31885 * math/s_cbrtl.c: Likewise.
31886 * math/s_erfl.c: Likewise.
31887 * math/s_expm1l.c: Likewise.
31888 * math/s_log1pl.c: Likewise.
31889 * math/s_tanhl.c: Likewise.
31890 * misc/acct.c: Likewise.
31891 * misc/brk.c: Likewise.
31892 * misc/chflags.c: Likewise.
31893 * misc/chroot.c: Likewise.
31894 * misc/fchflags.c: Likewise.
31895 * misc/fgetxattr.c: Likewise.
31896 * misc/flistxattr.c: Likewise.
31897 * misc/fremovexattr.c: Likewise.
31898 * misc/fsetxattr.c: Likewise.
31899 * misc/fsync.c: Likewise.
31900 * misc/ftruncate.c: Likewise.
31901 * misc/futimes.c: Likewise.
31902 * misc/futimesat.c: Likewise.
31903 * misc/getdomain.c: Likewise.
31904 * misc/getdtsz.c: Likewise.
31905 * misc/gethostid.c: Likewise.
31906 * misc/gethostname.c: Likewise.
31907 * misc/getloadavg.c: Likewise.
31908 * misc/getpagesize.c: Likewise.
31909 * misc/getsysstats.c: Likewise.
31910 * misc/getxattr.c: Likewise.
31911 * misc/gtty.c: Likewise.
31912 * misc/ioctl.c: Likewise.
31913 * misc/lgetxattr.c: Likewise.
31914 * misc/listxattr.c: Likewise.
31915 * misc/llistxattr.c: Likewise.
31916 * misc/lremovexattr.c: Likewise.
31917 * misc/lsetxattr.c: Likewise.
31918 * misc/lutimes.c: Likewise.
31919 * misc/madvise.c: Likewise.
31920 * misc/mincore.c: Likewise.
31921 * misc/mlock.c: Likewise.
31922 * misc/mlockall.c: Likewise.
31923 * misc/mmap.c: Likewise.
31924 * misc/mprotect.c: Likewise.
31925 * misc/msync.c: Likewise.
31926 * misc/munlock.c: Likewise.
31927 * misc/munlockall.c: Likewise.
31928 * misc/munmap.c: Likewise.
31929 * misc/preadv.c: Likewise.
31930 * misc/preadv64.c: Likewise.
31931 * misc/ptrace.c: Likewise.
31932 * misc/pwritev.c: Likewise.
31933 * misc/pwritev64.c: Likewise.
31934 * misc/readv.c: Likewise.
31935 * misc/reboot.c: Likewise.
31936 * misc/remap_file_pages.c: Likewise.
31937 * misc/removexattr.c: Likewise.
31938 * misc/revoke.c: Likewise.
31939 * misc/select.c: Likewise.
31940 * misc/setdomain.c: Likewise.
31941 * misc/setegid.c: Likewise.
31942 * misc/seteuid.c: Likewise.
31943 * misc/sethostid.c: Likewise.
31944 * misc/sethostname.c: Likewise.
31945 * misc/setregid.c: Likewise.
31946 * misc/setreuid.c: Likewise.
31947 * misc/setxattr.c: Likewise.
31948 * misc/sstk.c: Likewise.
31949 * misc/stty.c: Likewise.
31950 * misc/swapoff.c: Likewise.
31951 * misc/swapon.c: Likewise.
31952 * misc/sync.c: Likewise.
31953 * misc/syncfs.c: Likewise.
31954 * misc/syscall.c: Likewise.
31955 * misc/truncate.c: Likewise.
31956 * misc/ualarm.c: Likewise.
31957 * misc/usleep.c: Likewise.
31958 * misc/ustat.c: Likewise.
31959 * misc/utimes.c: Likewise.
31960 * misc/vhangup.c: Likewise.
31961 * misc/writev.c: Likewise.
31962 * posix/_exit.c: Likewise.
31963 * posix/alarm.c: Likewise.
31964 * posix/execve.c: Likewise.
31965 * posix/fexecve.c: Likewise.
31966 * posix/fork.c: Likewise.
31967 * posix/fpathconf.c: Likewise.
31968 * posix/getaddrinfo.c: Likewise.
31969 * posix/getegid.c: Likewise.
31970 * posix/geteuid.c: Likewise.
31971 * posix/getgid.c: Likewise.
31972 * posix/getgroups.c: Likewise.
31973 * posix/getlogin.c: Likewise.
31974 * posix/getlogin_r.c: Likewise.
31975 * posix/getpgid.c: Likewise.
31976 * posix/getpid.c: Likewise.
31977 * posix/getppid.c: Likewise.
31978 * posix/getresgid.c: Likewise.
31979 * posix/getresuid.c: Likewise.
31980 * posix/getsid.c: Likewise.
31981 * posix/getuid.c: Likewise.
31982 * posix/glob64.c: Likewise.
31983 * posix/nanosleep.c: Likewise.
31984 * posix/pathconf.c: Likewise.
31985 * posix/pause.c: Likewise.
31986 * posix/posix_madvise.c: Likewise.
31987 * posix/pread.c: Likewise.
31988 * posix/pread64.c: Likewise.
31989 * posix/pwrite.c: Likewise.
31990 * posix/pwrite64.c: Likewise.
31991 * posix/sched_getaffinity.c: Likewise.
31992 * posix/sched_getp.c: Likewise.
31993 * posix/sched_gets.c: Likewise.
31994 * posix/sched_primax.c: Likewise.
31995 * posix/sched_primin.c: Likewise.
31996 * posix/sched_rr_gi.c: Likewise.
31997 * posix/sched_setaffinity.c: Likewise.
31998 * posix/sched_setp.c: Likewise.
31999 * posix/sched_sets.c: Likewise.
32000 * posix/sched_yield.c: Likewise.
32001 * posix/setgid.c: Likewise.
32002 * posix/setlogin.c: Likewise.
32003 * posix/setpgid.c: Likewise.
32004 * posix/setresgid.c: Likewise.
32005 * posix/setresuid.c: Likewise.
32006 * posix/setsid.c: Likewise.
32007 * posix/setuid.c: Likewise.
32008 * posix/sleep.c: Likewise.
32009 * posix/spawni.c: Likewise.
32010 * posix/sysconf.c: Likewise.
32011 * posix/times.c: Likewise.
32012 * posix/wait.c: Likewise.
32013 * posix/wait3.c: Likewise.
32014 * posix/wait4.c: Likewise.
32015 * posix/waitpid.c: Likewise.
32016 * resolv/gai_sigqueue.c: Likewise.
32017 * resource/getpriority.c: Likewise.
32018 * resource/getrlimit.c: Likewise.
32019 * resource/getrusage.c: Likewise.
32020 * resource/nice.c: Likewise.
32021 * resource/setpriority.c: Likewise.
32022 * resource/setrlimit.c: Likewise.
32023 * resource/ulimit.c: Likewise.
32024 * rt/aio_cancel.c: Likewise.
32025 * rt/aio_fsync.c: Likewise.
32026 * rt/aio_read.c: Likewise.
32027 * rt/aio_sigqueue.c: Likewise.
32028 * rt/aio_suspend.c: Likewise.
32029 * rt/aio_write.c: Likewise.
32030 * rt/clock_getres.c: Likewise.
32031 * rt/clock_gettime.c: Likewise.
32032 * rt/clock_nanosleep.c: Likewise.
32033 * rt/clock_settime.c: Likewise.
32034 * rt/lio_listio.c: Likewise.
32035 * rt/mq_close.c: Likewise.
32036 * rt/mq_getattr.c: Likewise.
32037 * rt/mq_notify.c: Likewise.
32038 * rt/mq_open.c: Likewise.
32039 * rt/mq_receive.c: Likewise.
32040 * rt/mq_send.c: Likewise.
32041 * rt/mq_setattr.c: Likewise.
32042 * rt/mq_timedreceive.c: Likewise.
32043 * rt/mq_timedsend.c: Likewise.
32044 * rt/mq_unlink.c: Likewise.
32045 * rt/shm_open.c: Likewise.
32046 * rt/shm_unlink.c: Likewise.
32047 * rt/timer_create.c: Likewise.
32048 * rt/timer_delete.c: Likewise.
32049 * rt/timer_getoverr.c: Likewise.
32050 * rt/timer_gettime.c: Likewise.
32051 * rt/timer_settime.c: Likewise.
32052 * setjmp/__longjmp.c: Likewise.
32053 * setjmp/setjmp.c: Likewise.
32054 * signal/kill.c: Likewise.
32055 * signal/killpg.c: Likewise.
32056 * signal/raise.c: Likewise.
32057 * signal/sigaction.c: Likewise.
32058 * signal/sigaltstack.c: Likewise.
32059 * signal/sigblock.c: Likewise.
32060 * signal/sigignore.c: Likewise.
32061 * signal/sigintr.c: Likewise.
32062 * signal/signal.c: Likewise.
32063 * signal/sigpause.c: Likewise.
32064 * signal/sigpending.c: Likewise.
32065 * signal/sigqueue.c: Likewise.
32066 * signal/sigreturn.c: Likewise.
32067 * signal/sigset.c: Likewise.
32068 * signal/sigsetmask.c: Likewise.
32069 * signal/sigstack.c: Likewise.
32070 * signal/sigsuspend.c: Likewise.
32071 * signal/sigtimedwait.c: Likewise.
32072 * signal/sigvec.c: Likewise.
32073 * signal/sigwait.c: Likewise.
32074 * signal/sigwaitinfo.c: Likewise.
32075 * signal/sysv_signal.c: Likewise.
32076 * socket/accept.c: Likewise.
32077 * socket/accept4.c: Likewise.
32078 * socket/bind.c: Likewise.
32079 * socket/connect.c: Likewise.
32080 * socket/getpeername.c: Likewise.
32081 * socket/getsockname.c: Likewise.
32082 * socket/getsockopt.c: Likewise.
32083 * socket/isfdtype.c: Likewise.
32084 * socket/listen.c: Likewise.
32085 * socket/recv.c: Likewise.
32086 * socket/recvfrom.c: Likewise.
32087 * socket/recvmsg.c: Likewise.
32088 * socket/send.c: Likewise.
32089 * socket/sendmsg.c: Likewise.
32090 * socket/sendto.c: Likewise.
32091 * socket/setsockopt.c: Likewise.
32092 * socket/shutdown.c: Likewise.
32093 * socket/sockatmark.c: Likewise.
32094 * socket/socket.c: Likewise.
32095 * socket/socketpair.c: Likewise.
32096 * stdio-common/ctermid.c: Likewise.
32097 * stdio-common/cuserid.c: Likewise.
32098 * stdio-common/remove.c: Likewise.
32099 * stdio-common/rename.c: Likewise.
32100 * stdio-common/renameat.c: Likewise.
32101 * stdio-common/tempname.c: Likewise.
32102 * stdlib/getcontext.c: Likewise.
32103 * stdlib/makecontext.c: Likewise.
32104 * stdlib/setcontext.c: Likewise.
32105 * stdlib/swapcontext.c: Likewise.
32106 * stdlib/system.c: Likewise.
32107 * streams/fattach.c: Likewise.
32108 * streams/fdetach.c: Likewise.
32109 * streams/getmsg.c: Likewise.
32110 * streams/getpmsg.c: Likewise.
32111 * streams/putmsg.c: Likewise.
32112 * streams/putpmsg.c: Likewise.
32113 * sysdeps/unix/bsd/getpt.c: Likewise.
32114 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32115 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32116 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32119 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32120 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32121 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32122 * sysvipc/msgctl.c: Likewise.
32123 * sysvipc/msgget.c: Likewise.
32124 * sysvipc/msgrcv.c: Likewise.
32125 * sysvipc/msgsnd.c: Likewise.
32126 * sysvipc/semctl.c: Likewise.
32127 * sysvipc/semget.c: Likewise.
32128 * sysvipc/semop.c: Likewise.
32129 * sysvipc/semtimedop.c: Likewise.
32130 * sysvipc/shmat.c: Likewise.
32131 * sysvipc/shmctl.c: Likewise.
32132 * sysvipc/shmdt.c: Likewise.
32133 * sysvipc/shmget.c: Likewise.
32134 * termios/tcdrain.c: Likewise.
32135 * termios/tcflow.c: Likewise.
32136 * termios/tcflush.c: Likewise.
32137 * termios/tcgetattr.c: Likewise.
32138 * termios/tcgetpgrp.c: Likewise.
32139 * termios/tcsendbrk.c: Likewise.
32140 * termios/tcsetattr.c: Likewise.
32141 * termios/tcsetpgrp.c: Likewise.
32142 * time/adjtime.c: Likewise.
32143 * time/clock.c: Likewise.
32144 * time/getitimer.c: Likewise.
32145 * time/gettimeofday.c: Likewise.
32146 * time/setitimer.c: Likewise.
32147 * time/settimeofday.c: Likewise.
32148 * time/stime.c: Likewise.
32149 * time/time.c: Likewise.
32151 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
32153 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
32156 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
32158 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
32160 2012-11-03 Joseph Myers <joseph@codesourcery.com>
32163 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
32164 FE_TONEAREST before applying Dekker multiplication and Knuth
32165 addition. Clear inexact exceptions and check for exact zero
32166 results afterwards.
32167 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32168 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32169 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32170 * math/libm-test.inc (fma_test): Add more tests.
32171 (fma_test_towardzero): Likewise.
32172 (fma_test_downward): Likewise.
32173 (fma_test_upward): Likewise.
32174 * sysdeps/generic/math_private.h (default_libc_fesetround): New
32176 (libc_fesetround): New macro.
32177 (libc_fesetroundf): Likewise.
32178 (libc_fesetroundl): Likewise.
32179 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
32181 (libc_fesetround_387): Likewise.
32182 (libc_fesetroundf): New macro.
32183 (libc_fesetround): Likewise.
32184 (libc_fesetroundl): Likewise.
32185 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
32187 (libc_fesetroundf): New macro.
32188 (libc_fesetround): Likewise.
32189 (libc_fesetroundl): Likewise.
32190 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32191 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
32192 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
32194 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
32195 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
32197 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
32198 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
32200 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
32204 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
32205 integer constant usable in #if and use that to give value to enum
32207 (FE_DIVBYZERO): Likewise.
32208 (FE_UNDERFLOW): Likewise.
32209 (FE_OVERFLOW): Likewise.
32210 (FE_INVALID): Likewise.
32211 (FE_INVALID_SNAN): Likewise.
32212 (FE_INVALID_ISI): Likewise.
32213 (FE_INVALID_IDI): Likewise.
32214 (FE_INVALID_ZDZ): Likewise.
32215 (FE_INVALID_IMZ): Likewise.
32216 (FE_INVALID_COMPARE): Likewise.
32217 (FE_INVALID_SOFTWARE): Likewise.
32218 (FE_INVALID_SQRT): Likewise.
32219 (FE_INVALID_INTEGER_CONVERSION): Likewise.
32220 (FE_TONEAREST): Likewise.
32221 (FE_TOWARDZERO): Likewise.
32222 (FE_UPWARD): Likewise.
32223 (FE_DOWNWARD): Likewise.
32224 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
32225 (FE_DIVBYZERO): Likewise.
32226 (FE_OVERFLOW): Likewise.
32227 (FE_UNDERFLOW): Likewise.
32228 (FE_INEXACT): Likewise.
32229 (FE_TONEAREST): Likewise.
32230 (FE_DOWNWARD): Likewise.
32231 (FE_UPWARD): Likewise.
32232 (FE_TOWARDZERO): Likewise.
32233 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
32234 (FE_UNDERFLOW): Likewise.
32235 (FE_OVERFLOW): Likewise.
32236 (FE_DIVBYZERO): Likewise.
32237 (FE_INVALID): Likewise.
32238 (FE_TONEAREST): Likewise.
32239 (FE_TOWARDZERO): Likewise.
32240 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
32241 (FE_OVERFLOW): Likewise.
32242 (FE_UNDERFLOW): Likewise.
32243 (FE_DIVBYZERO): Likewise.
32244 (FE_INEXACT): Likewise.
32245 (FE_TONEAREST): Likewise.
32246 (FE_TOWARDZERO): Likewise.
32247 (FE_UPWARD): Likewise.
32248 (FE_DOWNWARD): Likewise.
32249 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
32250 (FE_DIVBYZERO): Likewise.
32251 (FE_OVERFLOW): Likewise.
32252 (FE_UNDERFLOW): Likewise.
32253 (FE_INEXACT): Likewise.
32254 (FE_TONEAREST): Likewise.
32255 (FE_DOWNWARD): Likewise.
32256 (FE_UPWARD): Likewise.
32257 (FE_TOWARDZERO): Likewise.
32259 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
32261 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
32263 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
32265 * scripts/cross-test-ssh.sh (command): Use newlines to separate
32266 commands. Quote $PWD.
32267 (blacklist_exports): Don't use remove_newlines. Replace "declare
32269 (remove_newlines): Remove.
32271 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
32273 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
32274 * stdlib/stdlib.h (atof): Moved to ...
32275 * include/bits/stdlib-float.h: Here. New file.
32276 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
32277 * stdlib/bits/stdlib-float.h: New file.
32278 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
32280 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
32283 2012-11-02 Joseph Myers <joseph@codesourcery.com>
32285 * conform/conformtest.pl (@headers): Add fenv.h.
32286 * conform/data/fenv.h-data: New file.
32287 * include/fenv.h [_ISOMAC]: Disable all contents of file except
32288 include of <math/fenv.h>.
32290 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
32291 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
32292 && !UNIX98]. Enables tests for XOPEN2K8.
32293 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
32294 POSIX2008]: Likewise.
32296 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
32297 (struct rusage): Do not expect type or its members.
32300 * math/math.h (FP_NAN): Define macro to integer constant usable in
32301 #if and use that to give value to enum constant.
32302 (FP_INFINITE): Likewise.
32303 (FP_ZERO): Likewise.
32304 (FP_SUBNORMAL): Likewise.
32305 (FP_NORMAL): Likewise.
32307 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
32309 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
32310 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
32313 2012-11-02 Roland McGrath <roland@hack.frob.com>
32315 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
32316 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
32317 autoconf-time if not.
32318 * configure.in: Remove AC_PREREQ.
32320 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32322 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
32323 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
32324 of the internal implementation.
32326 2012-11-02 Joseph Myers <joseph@codesourcery.com>
32328 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
32329 except include of <misc/sys/syslog.h>.
32331 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
32334 function returns with a NULL context exit with zero.
32336 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32338 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
32340 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
32342 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
32343 (run_program_cmd): This.
32344 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
32345 (tst_langinfo): New variable. Use it.
32347 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
32349 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
32350 floating point opcodes.
32352 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32354 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
32357 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
32359 * sysdeps/mach/hurd/powerpc: Remove directory.
32360 * sysdeps/mach/powerpc: Likewise.
32362 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32364 * scripts/check-local-headers.sh: Ignore c++ headers.
32366 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32368 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
32369 __libc_cleanup_region_start argument.
32371 2012-11-01 Joseph Myers <joseph@codesourcery.com>
32375 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
32376 x * y using scaling, not as x * y + z.
32377 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32378 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32379 * math/libm-test.inc (fma_test): Add more tests.
32380 (fma_test_towardzero): Likewise.
32381 (fma_test_downward): Likewise.
32382 (fma_test_upward): Likewise.
32384 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32386 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
32388 2012-10-31 Joseph Myers <joseph@codesourcery.com>
32390 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
32393 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
32395 * rt/tst-shm.c (worker): Correct checking for mmap failure.
32397 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32404 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32407 Fix the order of the list for glibc 2.17.
32408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32411 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32415 2012-10-31 Joseph Myers <joseph@codesourcery.com>
32418 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
32419 for low part of x being zero before using __atanl (y).
32420 * math/libm-test.inc (atan2_test): Add another test.
32422 * manual/install.texi (Configuring and compiling): Document
32423 general use of test-wrapper and test-wrapper-env.
32424 * INSTALL: Regenerated.
32426 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
32427 (__fma): Do not extract and scale down low bits on after-rounding
32428 systems when result rounded to normal precision would have normal
32430 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
32431 (__fmal): Do not extract and scale down low bits on after-rounding
32432 systems when result rounded to normal precision would have normal
32434 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
32435 (__fmal): Do not extract and scale down low bits on after-rounding
32436 systems when result rounded to normal precision would have normal
32438 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
32440 (fma_test): Add more tests.
32441 (fma_test_towardzero): Likewise.
32442 (fma_test_downward): Likewise.
32443 (fma_test_upward): Likewise.
32445 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
32447 * sysdeps/i386/tininess.h: Renamed to ...
32448 * sysdeps/x86/tininess.h: This.
32449 * sysdeps/x86_64/tininess.h: Removed.
32451 2012-10-30 Joseph Myers <joseph@codesourcery.com>
32453 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
32454 input. Use $(build-program-cmd).
32455 ($(objpfx)tst-array1-static.out): Likewise.
32456 ($(objpfx)tst-array2.out): Likewise.
32457 ($(objpfx)tst-array3.out): Likewise.
32458 ($(objpfx)tst-array4.out): Likewise.
32459 ($(objpfx)tst-array5.out): Likewise.
32460 ($(objpfx)tst-array5-static.out): Likewise.
32462 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
32464 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
32467 * nss/nsswitch.h (nss_interface_function): Provide new
32468 macro for use with NSS functions.
32469 * grp/initgroups.c: Use new macro.
32470 * nss/getXXbyYY.c: Likewise.
32471 * nss/getXXbyYY_r.c: Likewise.
32472 * nss/getXXent.c: Likewise.
32473 * nss/getXXent_r.c: Likewise.
32474 * sysdeps/posix/getaddrinfo.c: Likewise.
32476 2012-10-30 Andreas Jaeger <aj@suse.de>
32478 * po/ru.po: Update Russion translation from translation project.
32480 2012-10-30 Joseph Myers <joseph@codesourcery.com>
32484 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
32485 result and shift together with sticky bit instead of replicating
32486 round-to-nearest rounding.
32487 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32488 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32489 * math/libm-test.inc (fma_test): Add more tests. Do not permit
32490 missing underflow exceptions.
32491 (fma_test_towardzero): Add more tests.
32492 (fma_test_downward): Likewise.
32493 (fma_test_upward): Likewise.
32496 * sysdeps/generic/tininess.h: New file.
32497 * sysdeps/i386/tininess.h: Likewise.
32498 * sysdeps/sh/tininess.h: Likewise.
32499 * sysdeps/x86_64/tininess.h: Likewise.
32500 * stdlib/tst-strtod-underflow.c: Likewise.
32501 * stdlib/tst-tininess.c: Likewise.
32502 * stdlib/strtod_l.c: Include <tininess.h>.
32503 (round_and_return): Do not set errno for exact underflow cases.
32504 Force an underflow exception when setting errno for underflow.
32505 Determine underflow based on rounding to normal precision if
32506 TININESS_AFTER_ROUNDING.
32507 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
32508 ERANGE for exact underflow cases.
32509 * stdlib/Makefile (tests): Add tst-tininess and
32510 tst-strtod-underflow.
32511 ($(objpfx)tst-tininess): Use $(link-libm).
32512 ($(objpfx)tst-strtod-underflow): Likewise.
32514 2012-10-30 Andreas Jaeger <aj@suse.de>
32517 * elf/Makefile (tests): Remove conditional for have-initfini-array
32518 since this is now always required and the variable does not exist
32520 (tests-static): Likewise.
32521 (modules-names): Likewise.
32523 * po/eo.po: Add Esperanto translation from translation project.
32525 * elf/tst-array1.c (fini_array): Make writeable so that it can be
32526 merged with constructor/destructor.
32527 (init_array): Likewise.
32528 * elf/tst-array2dep.c (fini_array): Likewise.
32529 (init_array): Likewise.
32531 2012-10-29 Mike Frysinger <vapier@gentoo.org>
32533 * manual/message.texi: Delete @cartouche tags.
32535 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
32537 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
32539 * sysdeps/mach/hurd/fsync.c: Likewise.
32541 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
32542 [_POSIX_REALTIME_SIGNALS]: Change condition to
32543 [_POSIX_REALTIME_SIGNALS > 0].
32545 2012-10-27 Andreas Jaeger <aj@suse.de>
32547 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
32548 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
32549 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
32550 [__WORDSIZE != 64]: Likewise.
32552 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
32554 * iconvdata/tst-table.sh: Remove ${SHELL}.
32555 * iconvdata/tst-tables.sh: Likewise.
32557 2012-10-25 David S. Miller <davem@davemloft.net>
32559 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32560 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
32563 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
32565 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32566 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
32567 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
32570 2012-10-25 Roland McGrath <roland@hack.frob.com>
32572 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32573 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
32576 2012-10-25 Joseph Myers <joseph@codesourcery.com>
32577 Jim Blandy <jimb@codesourcery.com>
32579 * scripts/cross-test-ssh.sh: New file.
32580 * manual/install.texi (Configuring and compiling): Document use of
32582 * INSTALL: Regenerated.
32584 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
32586 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
32589 2012-10-25 Joseph Myers <joseph@codesourcery.com>
32591 * Makeconfig (run-program-prefix): Fix comment.
32593 2012-10-24 Joseph Myers <joseph@codesourcery.com>
32594 Jim Blandy <jimb@codesourcery.com>
32596 * Makeconfig (test-wrapper): New variable,
32597 (test-wrapper-env): Likewise.
32598 [$(cross-compiling) = yes && $(test-wrapper) != ""]
32599 (run-built-tests): Define to yes.
32600 (run-program-prefix): Use $(test-wrapper).
32601 (built-program-cmd): Likewise.
32602 * Rules (make-test-out): Use $(test-wrapper-env) and
32603 $(host-built-program-cmd).
32604 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
32605 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
32607 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
32608 $(test-wrapper-env) to tst-rtld-load-self.sh.
32609 ($(objpfx)order2.out): Use $(test-wrapper).
32610 ($(objpfx)tst-initorder.out): Likewise.
32611 ($(objpfx)tst-initorder2.out): Likewise.
32612 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
32613 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
32614 (test_wrapper_env): New variable. Use it to run ld.so.
32615 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
32616 Use it to run ld.so.
32617 (test_wrapper_env): Likewise.
32618 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
32619 $(test-wrapper) to run-iconv-test.sh.
32620 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
32621 (ICONV): Use $test_wrapper.
32622 * posix/Makefile ($(objpfx)globtest.out): Pass
32623 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
32624 globtest.sh, not $(run-program-prefix).
32625 * posix/globtest.sh (run_via_rtld_prefix): New variable.
32626 (test_wrapper): Likewise.
32627 (test_wrapper_env): Likewise. Use it to run globtest with HOME
32628 set together with run_via_rtld_prefix.
32629 (run_program_prefix): Define in terms of test_wrapper and
32630 run_via_rtld_prefix.
32632 2012-10-24 Roland McGrath <roland@hack.frob.com>
32634 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
32635 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
32639 * include/time.h: Remove librt_hidden_proto (clock_gettime).
32640 Declare __clock_getres, __clock_gettime, __clock_settime,
32641 __clock_nanosleep, and __clock_getcpuclockid.
32642 * rt/clock_gettime.c: Define __clock_gettime as an alias.
32643 Remove librt_hidden_def (clock_gettime).
32644 * sysdeps/unix/clock_gettime.c: Likewise.
32645 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
32646 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32647 * rt/clock_getres.c: Define __clock_getres as an alias.
32648 * sysdeps/posix/clock_getres.c: Likewise.
32649 * rt/clock_settime.c: Define __clock_settime as an alias.
32650 * sysdeps/unix/clock_settime.c: Likewise.
32651 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
32652 * sysdeps/unix/clock_nanosleep.c: Likewise.
32653 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32654 * rt/clock-compat.c: New file.
32655 * rt/Makefile (librt-routines): Add clock-compat and move
32656 $(clock-routines) to ...
32657 (routines): ... here, new variable.
32658 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
32659 Don't add get_clockfreq here.
32660 * rt/Versions (libc: GLIBC_2.17): New version set.
32661 Add clock_* symbols here.
32662 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
32663 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
32664 (GLIBC_2.17): Add clock_* symbols.
32665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32667 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32673 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32676 * NEWS: Mention the move.
32678 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32679 Use __open, __read, __close rather than their public counterparts.
32680 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32681 (__get_clockfreq_via_cpuinfo): Likewise.
32682 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
32683 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
32685 * config.h.in (HAVE_IFUNC): New #undef.
32686 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
32688 * configure: Regenerated.
32690 2012-10-24 Mike Frysinger <vapier@gentoo.org>
32692 * configure.in: Move READELF check to start of file.
32693 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
32694 libc_cv_asm_gnu_indirect_function in the process.
32695 * configure: Regenerated.
32697 2012-10-24 Mike Frysinger <vapier@gentoo.org>
32699 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
32700 send the output to /dev/null.
32701 (libc_cv_cc_with_libunwind): Likewise.
32702 (libc_cv_as_noexecstack): Likewise.
32703 * configure: Regenerate.
32705 2012-10-24 Joseph Myers <joseph@codesourcery.com>
32707 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
32709 * posix/globtest.sh (TMPDIR): Do not set.
32710 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
32711 (testout): Likewise.
32713 2012-10-24 Andreas Jaeger <aj@suse.de>
32715 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
32716 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
32717 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
32718 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
32719 posix_fadvise64, posix_fallocate64.
32721 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
32722 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
32723 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
32725 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
32727 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
32729 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
32730 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
32731 <bits/fcntl-linux.h>.
32732 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
32734 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
32735 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
32736 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
32737 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
32738 [__WORDSIZE != 64]: Likewise.
32740 2012-10-23 Joseph Myers <joseph@codesourcery.com>
32742 * Makeconfig (run-built-tests): New variable.
32743 * Rules [$(cross-compiling) = yes]: Change condition to
32744 [$(run-built-tests) = no].
32745 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
32746 to [$(run-built-tests) = yes].
32747 * elf/Makefile [$(cross-compiling) = no]: Likewise
32748 * grp/Makefile [$(cross-compiling) = no]: Likewise.
32749 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
32750 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
32751 * intl/Makefile [$(cross-compiling) = no]: Likewise.
32752 * io/Makefile [$(cross-compiling) = no]: Likewise.
32753 * libio/Makefile [$(cross-compiling) = no]: Likewise.
32754 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
32755 * misc/Makefile [$(cross-compiling) = no]: Likewise.
32756 * posix/Makefile [$(cross-compiling) = no]: Likewise.
32757 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
32758 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
32759 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
32760 * string/Makefile [$(cross-compiling) = no]: Likewise.
32762 * posix/Makefile ($(objpfx)globtest.out): Pass
32763 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
32764 $(rtld-installed-name).
32765 * posix/globtest.sh (elf_objpfx): Remove variable.
32766 (rtld_installed_name): Likewise.
32767 (library_path): Likewise.
32768 (run_program_prefix): New variable. Use for running globtest
32771 2012-10-23 Jim Blandy <jimb@codesourcery.com>
32772 Joseph Myers <joseph@codesourcery.com>
32774 * Makeconfig (host-built-program-cmd): New variable.
32775 * elf/Makefile (tst-stackguard1-ARGS): Use
32776 $(host-built-program-cmd).
32777 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
32778 (tst-spawn-ARGS): Likewise.
32779 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
32781 2012-10-23 Joseph Myers <joseph@codesourcery.com>
32782 Jim Blandy <jimb@codesourcery.com>
32784 * Makeconfig (run-via-rtld-prefix): New variable.
32785 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
32786 (built-program-cmd): Likewise.
32788 2012-10-22 Andreas Jaeger <aj@suse.de>
32790 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
32791 __O_RSYNC if it exists, otherwise to O_SYNC.
32793 2012-10-22 Jim Blandy <jimb@codesourcery.com>
32794 Joseph Myers <joseph@codesourcery.com>
32796 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
32798 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
32800 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
32803 2012-10-22 Andreas Jaeger <aj@suse.de>
32805 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
32807 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
32809 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32810 bits/fcntl-linux.h.
32812 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
32813 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
32815 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
32817 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
32820 2012-10-21 Jim Blandy <jimb@codesourcery.com>
32821 Joseph Myers <joseph@codesourcery.com>
32823 * config.make.in (NM): New variable.
32825 2012-10-21 Andreas Jaeger <aj@suse.de>
32827 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
32828 definitions and declarations that are provided by
32829 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32831 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32834 * elf/Makefile (tests-static): Add tst-leaks1-static.
32835 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
32836 ($(objpfx)tst-leaks1-static): New rule.
32837 ($(objpfx)tst-leaks1-static-mem): Likewise.
32838 (tst-leaks1-static-ENV): New macro.
32839 * elf/dl-open.c (dl_open_worker): Check the main application
32840 only if SHARED is defined.
32841 * elf/tst-leaks1-static.c: New file.
32843 2012-10-20 Andreas Jaeger <aj@suse.de>
32845 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
32846 generic values for Linux.
32847 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
32848 and declarations that are provided by <bits/fcntl-linux.h> and
32849 include <bits/fcntl-linux.h>.
32850 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32851 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32853 2012-10-20 Roland McGrath <roland@hack.frob.com>
32855 * io/fcntl.h: Move include of <bits/types.h> to the top and
32856 include it unconditionally.
32858 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32860 * wcsmbs/Makefile (tests-ifunc): New variable.
32861 (tests): Add $(tests-ifunc).
32862 * wcsmbs/test-wcschr-ifunc.c: New file.
32863 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32864 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32865 * wcsmbs/test-wcslen-ifunc.c: Likewise.
32866 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32867 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32869 * string/Makefile (tests-ifunc): New variable.
32870 (tests): Add $(tests-ifunc).
32871 * string/test-memccpy.c (TEST_NAME): New macro.
32872 * string/test-memchr.c (TEST_NAME): Likewise.
32873 * string/test-memcmp.c (TEST_NAME): Likewise.
32874 * string/test-memcpy.c (TEST_NAME): Likewise.
32875 * string/test-memmem.c (TEST_NAME): Likewise.
32876 * string/test-memmove.c (TEST_NAME): Likewise.
32877 * string/test-memset.c (TEST_NAME): Likewise.
32878 * string/test-rawmemchr.c (TEST_NAME): Likewise.
32879 * string/test-stpcpy.c (TEST_NAME): Likewise.
32880 * string/test-stpncpy.c (TEST_NAME): Likewise.
32881 * string/test-strcasecmp.c (TEST_NAME): Likewise.
32882 * string/test-strcasestr.c (TEST_NAME): Likewise.
32883 * string/test-strcat.c (TEST_NAME): Likewise.
32884 * string/test-strchr.c (TEST_NAME): Likewise.
32885 * string/test-strcmp.c(TEST_NAME): Likewise.
32886 * string/test-strcpy.c (TEST_NAME): Likewise.
32887 * string/test-strcspn.c (TEST_NAME): Likewise.
32888 * string/test-strlen.c (TEST_NAME): Likewise.
32889 * string/test-strncasecmp.c (TEST_NAME): Likewise.
32890 * string/test-strncmp.c (TEST_NAME): Likewise.
32891 * string/test-strncpy.c (TEST_NAME): Likewise.
32892 * string/test-strnlen.c (TEST_NAME): Likewise.
32893 * string/test-strpbrk.c (TEST_NAME): Likewise.
32894 * string/test-strrchr.c (TEST_NAME): Likewise.
32895 * string/test-strspn.c (TEST_NAME): Likewise.
32896 * string/test-strstr.c (TEST_NAME): Likewise.
32897 * string/test-bcopy-ifunc.c: New file.
32898 * string/test-bzero-ifunc.c: Likewise.
32899 * string/test-memccpy-ifunc.c: Likewise.
32900 * string/test-memchr-ifunc.c: Likewise.
32901 * string/test-memcmp-ifunc.c: Likewise.
32902 * string/test-memcpy-ifunc.c: Likewise.
32903 * string/test-memmem-ifunc.c: Likewise.
32904 * string/test-memmove-ifunc.c: Likewise.
32905 * string/test-mempcpy-ifunc.c: Likewise.
32906 * string/test-memset-ifunc.c: Likewise.
32907 * string/test-rawmemchr-ifunc.c: Likewise.
32908 * string/test-stpcpy-ifunc.c: Likewise.
32909 * string/test-stpncpy-ifunc.c: Likewise.
32910 * string/test-strcasecmp-ifunc.c: Likewise.
32911 * string/test-strcasestr-ifunc.c: Likewise.
32912 * string/test-strcat-ifunc.c: Likewise.
32913 * string/test-strchr-ifunc.c: Likewise.
32914 * string/test-strchrnul-ifunc.c: Likewise.
32915 * string/test-strcmp-ifunc.c: Likewise.
32916 * string/test-strcpy-ifunc.c: Likewise.
32917 * string/test-strcspn-ifunc.c: Likewise.
32918 * string/test-strlen-ifunc.c: Likewise.
32919 * string/test-strncasecmp-ifunc.c: Likewise.
32920 * string/test-strncat-ifunc.c: Likewise.
32921 * string/test-strncmp-ifunc.c: Likewise.
32922 * string/test-strncpy-ifunc.c: Likewise.
32923 * string/test-strnlen-ifunc.c: Likewise.
32924 * string/test-strpbrk-ifunc.c: Likewise.
32925 * string/test-strrchr-ifunc.c: Likewise.
32926 * string/test-strspn-ifunc.c: Likewise.
32927 * string/test-strstr-ifunc.c: Likewise.
32929 * debug/Makefile (tests-ifunc): New variable.
32930 (tests): Add $(tests-ifunc).
32931 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
32932 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
32933 * debug/test-stpcpy_chk-ifunc.c: New file.
32934 * debug/test-strcpy_chk-ifunc.c: Likewise.
32936 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32939 * elf/dl-load.c (open_verify): Retry read if the entire ELF
32940 header is not read in.
32942 2012-10-19 Joseph Myers <joseph@codesourcery.com>
32944 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
32945 script to $(SHELL) as $<. Pass $(common-objpfx) to script
32946 directly. Pass built executable to script as
32947 $(built-program-cmd).
32948 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
32949 $testprogram without using LD_LIBRARY_PATH and $ldso.
32951 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
32952 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
32953 $(rtld-installed-name).
32954 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
32955 (rtld_installed_name): Likewise.
32956 (library_path): Likewise.
32957 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
32958 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32959 $(run-program-prefix) to tst-tables.sh.
32960 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
32961 it to run tst-table-from and tst-table-to.
32962 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32963 Pass it to tst-table.sh.
32964 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32965 $(run-program-prefix) to tst-gettext.sh.
32966 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32968 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32970 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
32971 to run tst-gettext.
32972 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
32973 to run tst-gettext2.
32974 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
32975 to run tst-translit.
32976 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
32977 $(run-program-prefix) to tst-mtrace.sh.
32978 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
32980 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
32981 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
32982 $(rtld-installed-name).
32983 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
32984 (rtld_installed_name): Likewise.
32985 (run_program_prefix): New variable. Use it to run wordexp-test.
32987 * Makeconfig (ARCH): Remove all definitions.
32988 (machine): Likewise.
32989 [ARCH]: Remove conditional code.
32990 [!objdir]: Give error.
32991 [!objdir] (objpfx): Remove.
32992 [!objdir] (common-objpfx): Likewise.
32993 [!objdir] (common-objdir): Likewise.
32994 * configure.in (config_makefile): Remove. Hardcode Makefile in
32995 AC_CONFIG_FILES call.
32996 * configure: Regenerated.
32999 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
33001 (testout): Likewise.
33003 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
33004 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
33005 $(rtld-installed-name).
33006 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
33007 (rtld_installed_name): Likwise.
33008 (runit): Remove function.
33009 (run_getconf): New variable, Use it for running getconf binary.
33011 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
33014 * string/test-memmem.c (check_result): New function.
33015 (do_one_test): Use it.
33016 (check1): New function.
33017 (test_main): Use it.
33019 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
33021 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33023 2012-10-18 Joseph Myers <joseph@codesourcery.com>
33025 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33026 (_G_LSEEK64): Likewise.
33027 (_G_MMAP64): Likewise.
33028 (_G_FSTAT64): Likewise.
33029 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
33030 (_G_LSEEK64): Likewise.
33031 (_G_MMAP64): Likewise.
33032 (_G_FSTAT64): Likewise.
33033 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
33034 unconditional. Call __mmap64 directly.
33035 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
33036 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
33037 __lseek64 directly.
33038 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
33039 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
33041 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
33042 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
33043 __lseek64 directly.
33044 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
33045 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
33046 __lseek64 directly.
33047 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
33048 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
33049 __lseek64 directly.
33050 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
33051 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
33052 __fxstat64 directly.
33053 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
33054 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
33056 (freopen64) [!_G_OPEN64]: Remove conditional code.
33057 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
33059 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
33060 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
33062 (ftello64) [!_G_LSEEK64]: Remove conditional code.
33063 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33065 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33066 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33068 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33069 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33071 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33072 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33074 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33075 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33077 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33079 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33082 * manual/memory.texi (Malloc Tunable Parameters): Add note
33083 about free list pointers overwriting some perturb bytes.
33084 Wording suggested by Roland McGrath.
33086 2012-10-17 Joseph Myers <joseph@codesourcery.com>
33088 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33089 (lgamma_test): Likewise.
33090 (tgamma_test): Likewise.
33092 2012-10-16 Florian Weimer <fweimer@redhat.com>
33095 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33096 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33098 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
33100 * NEWS: Mention BZ #14716.
33101 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33102 when removing AVAILABLE1_USES_J macro.
33104 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
33106 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33107 (__bswap_64): __uint64_t for unsigned 64-bit int.
33109 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
33111 * include/string.h (memmem): Declare libc hidden alias.
33112 * string/memmem.c (memmem): Define libc hidden alias.
33113 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33114 __read, __close instead of open, read, close.
33116 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
33118 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33119 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33121 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33122 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33123 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33125 (__rawmemchr_sse2): Likewise.
33126 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33127 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33128 (__strchr_sse2): Likewise.
33129 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33130 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
33131 (__strcasecmp_sse2): Likewise.
33132 (__strncasecmp_sse2): Likewise.
33133 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
33134 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
33135 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
33136 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
33137 (__strrchr_sse2): Likewise.
33138 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
33140 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33141 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33142 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33143 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33144 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33145 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33146 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33147 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33148 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
33149 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
33150 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
33151 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
33152 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
33153 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33154 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33155 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33156 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33157 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33158 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
33159 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
33160 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
33161 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
33162 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
33163 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33164 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
33165 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33166 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33167 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33168 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33169 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33171 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
33173 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
33174 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
33175 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
33176 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
33178 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
33180 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
33181 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
33182 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
33183 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
33185 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33186 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33187 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33188 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33189 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33190 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33191 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33192 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33193 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33194 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33195 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33196 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33197 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33198 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33199 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33200 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33201 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33202 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
33203 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33204 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33205 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33206 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33207 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33208 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33209 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33210 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33211 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33212 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33213 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33214 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33215 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33216 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33217 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33218 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
33219 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33220 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33221 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33222 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33223 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33224 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33225 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
33227 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
33228 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
33229 * include/ifunc-impl-list.h: New file.
33230 * misc/ifunc-impl-list.c: Likewise.
33231 * misc/Makefile (routines): Add ifunc-impl-list.
33232 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
33233 * string/test-string.h: Include <ifunc-impl-list.h>.
33234 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
33235 TEST_NAME]: New variables.
33236 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
33238 (test_init): Call __libc_ifunc_impl_list to initialize
33239 func_list if TEST_IFUNC and TEST_NAME are defined.
33241 * string/Makefile (strop-tests): Add bcopy and bzero.
33242 * string/test-bcopy.c: New file.
33243 * string/test-bzero.c: Likewise.
33244 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
33246 * string/test-memset.c: Support bzero test if TEST_BZERO is
33248 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
33250 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
33252 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
33255 2012-10-10 Joseph Myers <joseph@codesourcery.com>
33257 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
33258 * configure: Regenerated.
33260 * Makeconfig (+link-static-before-libc): Don't include
33261 $(link-static-libc).
33263 * libio/libio.h (_IO_pos_t): Remove.
33265 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
33267 * NEWS: Add note about FIPS mode. Wording suggested by Roland
33270 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
33272 * crypt/crypt-entry.c: Include fips-private.h.
33273 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
33274 * crypt/md5c-test.c (main): Tolerate disabled MD5.
33275 * sysdeps/unix/sysv/linux/fips-private.h: New file.
33276 * sysdeps/generic/fips-private.h: New file, dummy fallback.
33278 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
33280 * crypt/crypt-private.h: Include stdbool.h.
33281 (_ufc_setup_salt_r): Return bool.
33282 * crypt/crypt-entry.c: Include errno.h.
33283 (__crypt_r): Return NULL with EINVAL for bad salt.
33284 * crypt/crypt_util.c (bad_for_salt): New.
33285 (_ufc_setup_salt_r): Check that salt is long enough and within
33286 the specified alphabet.
33287 * crypt/badsalttest.c: New file.
33288 * crypt/Makefile (tests): Add it.
33289 ($(objpfx)badsalttest): New.
33291 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
33293 * NEWS: Add entry for BZ #14602.
33295 2012-10-09 Joseph Myers <joseph@codesourcery.com>
33297 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
33299 * math/libm-test.inc: Update comment listing what functions and
33301 (isgreater_test): New function.
33302 (isgreaterequal_test): Likewise.
33303 (isless_test): Likewise.
33304 (islessequal_test): Likewise.
33305 (islessgreater_test): Likewise.
33306 (isunordered_test): Likewise.
33307 (main): Call the new functions.
33309 2012-10-09 Roland McGrath <roland@hack.frob.com>
33311 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
33312 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
33313 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
33314 * sysdeps/i386/configure: Regenerated.
33315 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
33316 * sysdeps/mach/configure: Regenerated.
33317 * sysdeps/mach/hurd/configure: Regenerated.
33318 * sysdeps/powerpc/configure: Regenerated.
33319 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33320 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33321 * sysdeps/s390/s390-32/configure: Regenerated.
33322 * sysdeps/s390/s390-64/configure: Regenerated.
33323 * sysdeps/sh/configure: Regenerated.
33324 * sysdeps/sparc/configure: Regenerated.
33325 * sysdeps/unix/sysv/linux/configure: Regenerated.
33326 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33327 * sysdeps/x86_64/configure: Regenerated.
33329 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
33330 defined. Don't check if MAP is NULL.
33332 2012-10-09 Joseph Myers <joseph@codesourcery.com>
33334 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
33335 (_G_stat64): Likewise.
33336 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
33337 (_G_stat64): Likewise.
33338 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
33339 instead of struct _G_stat64.
33340 * libio/fileops.c (mmap_remap_check): Likewise.
33341 (decide_maybe_mmap): Likewise.
33342 (_IO_new_file_seekoff): Likewise.
33343 (_IO_file_stat): Likewise.
33344 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
33346 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
33347 instead of struct _G_stat64.
33348 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33350 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
33353 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33355 (CHECK_EOL): New macro.
33356 (two_way_short_needle): Check beginning of haystack for EOL. Use
33358 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33359 Replace with CHECK_EOL.
33360 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33361 Replace with CHECK_EOL.
33363 2012-10-08 Joseph Myers <joseph@codesourcery.com>
33365 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
33367 * math/libm-test.inc: Update comment listing what functions and
33369 (finite_test): New function.
33370 (isinf_test): Likewise.
33371 (isnan_test): Likewise.
33372 (fpclassify_test): Test subnormal input.
33373 (isfinite_test): Likewise.
33374 (isnormal_test): Likewise.
33375 (main): Call the new functions.
33377 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
33380 * Makerules (%.dynsym): Force C locale when running
33381 $(OBJDUMP) --dynamic-syms.
33383 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
33385 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
33388 2012-10-06 David S. Miller <davem@davemloft.net>
33390 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
33391 upper 32-bits of the length value in %o2 since we use branch-on-register
33392 tests which consider the entire 64-bit register.
33394 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
33396 * string/test-strstr.c (check2): Add a test for page boundary.
33398 2012-10-05 David S. Miller <davem@davemloft.net>
33400 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
33401 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
33403 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33405 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33406 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
33407 and bzero when HWCAP_SPARC_CRYPTO is present.
33409 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
33412 * string/test-strstr.c (check2): New function.
33413 (test_main): Call check2.
33415 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
33417 * string/bug-strcasestr1.c (do_test): Moved to ...
33418 * string/test-strcasestr.c (check1): Here. New function.
33419 (do_one_test): Break out result checking code into ...
33420 (check_result): This. New function.
33421 (do_one_test): Call check_result.
33422 (test_main): Call check1.
33423 * string/bug-strchr1.c (do_test): Moved to ...
33424 * string/test-strchr.c (check1): Here. New function.
33425 (do_one_test): Break out result checking code into ...
33426 (check_result): This. New function.
33427 (do_one_test): Call check_result.
33428 (test_main): Call check1.
33429 * string/bug-strstr1.c (main): Moved to ...
33430 * string/test-strstr.c (check1): Here. New function.
33431 (do_one_test): Break out result checking code into ...
33432 (check_result): This. New function.
33433 (do_one_test): Call check_result.
33434 (test_main): Call check1.
33435 * string/bug-strcasestr1.c: Removed.
33436 * string/bug-strchr1.c: Likewise.
33437 * string/bug-strstr1.c: Likewise.
33439 * elf/Makefile (dl-routines): Add hwcaps.
33440 * elf/dl-support.c (_dl_important_hwcaps): Removed.
33441 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
33442 (_dl_important_hwcaps): Moved to ...
33443 * elf/dl-hwcaps.c: Here. New file.
33444 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
33447 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
33448 if IS_IN_rtld isn't defined.
33450 * elf/dl-support.c (_dl_sysinfo_map): New.
33451 Include "get-dynamic-info.h" and "setup-vdso.h".
33452 (_dl_non_dynamic_init): Call setup_vdso.
33453 * elf/dynamic-link.h: Don't include <assert.h>.
33454 (elf_get_dynamic_info): Moved to ...
33455 * elf/get-dynamic-info.h: Here. New file.
33456 * elf/dynamic-link.h: Include "get-dynamic-info.h".
33457 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
33458 * elf/setup-vdso.h: Here. New file.
33459 * elf/rtld.c: Include "setup-vdso.h".
33460 (dl_main): Call setup_vdso.
33462 2012-10-05 Joseph Myers <joseph@codesourcery.com>
33464 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
33465 creal in comment listing functions tested. List finite, isinf,
33466 isnan, isless, islessequal, isgreater, isgreaterequal,
33467 islessgreater, isunordered, lgamma_r and pow10 as functions and
33468 macros not tested. Mention which functions not tested are aliases
33469 for other functions. Fix typo. Note that signs of NaNs are not
33472 * scripts/config.guess: Update from config.git.
33473 * scripts/config.sub: Likewise.
33475 2012-10-04 Roland McGrath <roland@hack.frob.com>
33477 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
33478 * misc/madvise.c (madvise): Renamed to __madvise.
33479 Make madvise a weak alias.
33480 * include/sys/mman.h: Declare __madvise.
33481 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
33482 * sysdeps/unix/syscalls.list
33483 (madvise): Make __madvise the strong name, and madvise a weak alias.
33484 * sysdeps/unix/sysv/linux/syscalls.list
33485 (madvise, mmap): Remove redundant entries.
33486 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
33487 * malloc/malloc.c (mtrim): Likewise.
33488 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
33490 2012-10-03 Roland McGrath <roland@hack.frob.com>
33492 * sysdeps/mach/hurd/dl-cache.c: File removed.
33493 * config.h.in (USE_LDCONFIG): New #undef.
33494 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
33495 * configure: Regenerated.
33496 * elf/Makefile (dl-routines): Add dl-cache only under
33497 [$(use-ldconfig) = yes].
33498 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
33499 cache on [USE_LDCONFIG].
33500 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
33502 * elf/rtld.c (dl_main): Likewise.
33504 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
33506 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
33507 _SC_LEVEL4_CACHE_LINESIZE.
33509 2012-10-03 Roland McGrath <roland@hack.frob.com>
33511 * sysdeps/unix/bsd/confstr.h: File removed.
33513 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
33515 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
33518 2012-10-02 Roland McGrath <roland@hack.frob.com>
33520 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
33521 Make 'mapoff' field ElfW(Off) rather than off_t.
33523 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
33525 * nscd/Makefile: Remove nscd-cflags and all its users.
33526 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
33527 (CFLAGS-nonlib): Add compiler flags for nscd modules.
33530 * malloc.c (malloc_printerr): Clarify error message.
33532 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
33535 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33536 Set bit_FMA_Usable if FMA is supported.
33537 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
33539 (bit_FMA4_Usable): Updated.
33540 (index_FMA_Usable): New macro.
33541 (CPUID_FMA): Likewise
33542 (HAS_FMA): Defined with bit_FMA_Usable.
33544 2012-10-01 Roland McGrath <roland@hack.frob.com>
33546 * bits/types.h (__swblk_t): Type removed.
33547 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
33548 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
33549 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33550 (__SWBLK_T_TYPE): Likewise.
33551 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33552 (__SWBLK_T_TYPE): Likewise.
33553 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33554 (__SWBLK_T_TYPE): Likewise.
33555 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33556 (__SWBLK_T_TYPE): Likewise.
33558 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
33559 Honza Horak <hhorak@redhat.com>
33561 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
33562 (xdr_mapname): Use YPMAXMAP as maxsize.
33563 (xdr_peername): Use YPMAXPEER as maxsize.
33564 (xdr_keydat): Use YPAXRECORD as maxsize.
33565 (xdr_valdat): Use YPMAXRECORD as maxsize.
33567 2012-10-01 Roland McGrath <roland@hack.frob.com>
33569 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
33571 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
33572 * csu/init-first.c: ... here.
33573 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
33574 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
33575 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
33576 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33577 * sysdeps/i386/init-first.c: File removed.
33578 * sysdeps/sh/init-first.c: File removed.
33580 2012-10-01 Joseph Myers <joseph@codesourcery.com>
33583 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
33584 if x * y might underflow to zero and z is zero.
33585 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33586 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33587 * math/libm-test.inc (min_subnorm_value): New variable.
33588 (fma_test): Add more tests.
33589 (fma_test_towardzero): Likewise.
33590 (fma_test_downward): Likewise
33591 (fma_test_upward): Likewise.
33592 (initialize): Set min_subnorm_value.
33594 2012-09-29 Joseph Myers <joseph@codesourcery.com>
33597 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
33599 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
33600 mode for addition resulting in exact zero.
33601 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
33602 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
33604 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33605 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33606 * math/libm-test.inc (fma_test): Add more tests.
33607 (fma_test_towardzero): New function.
33608 (fma_test_downward): Likewise.
33609 (fma_test_upward): Likewise.
33610 (main): Call the new functions.
33612 2012-09-28 David S. Miller <davem@davemloft.net>
33614 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
33616 2012-09-28 Roland McGrath <roland@hack.frob.com>
33618 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
33619 instead of SIGALRM.
33621 * sysdeps/gnu/_G_config.h: Moved to ...
33622 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
33623 * sysdeps/mach/hurd/_G_config.h: Moved to ...
33624 * sysdeps/generic/_G_config.h: ... here.
33626 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
33628 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
33630 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
33631 Conditionalize target on [libnss_test1.so-version].
33633 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
33635 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
33636 (elfobjdir): Move out of conditionals.
33638 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
33639 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
33640 (__nss_lookup_function): Conditionalize label remove_from_tree on
33641 [!DO_STATIC_NSS || SHARED], matching its only use.
33643 2012-09-28 David S. Miller <davem@davemloft.net>
33645 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
33646 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
33648 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33650 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33651 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
33652 when HWCAP_SPARC_CRYPTO is present.
33654 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33656 * io/tst-mknodat.c: Create a FIFO instead of a socket.
33658 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
33661 * stdio-common/vfprintf.c (process_string_arg): Revert
33664 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
33666 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
33668 * stdio-common/tst-sprintf.c: Include <locale.h>
33669 (main): Test sprintf's handling of incomplete multibyte
33672 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
33674 * elf/dl-runtime.c (VERSYMIDX): Removed.
33675 * elf/dl-version.c (VERSYMIDX): Likewise.
33676 * elf/do-rel.h (VERSYMIDX): Likewise.
33677 (VALIDX): Likewise.
33678 * elf/dynamic-link.h (VERSYMIDX): Likewise.
33679 * elf/rtld.c (VALIDX): Likewise.
33680 (ADDRIDX): Likewise.
33681 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
33682 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
33683 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
33684 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
33685 (VALIDX): Likewise.
33686 (ADDRIDX): Likewise.
33688 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33690 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
33692 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
33695 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
33697 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
33698 addresses are in the same scope as 192.0.2/24.
33699 * posix/gai.conf: Document new scope table defaults.
33701 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33704 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
33705 for ftell. Compute offsets from write pointers instead.
33706 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33708 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33711 * libio/Makefile (tests): New test case tst-fseek.
33712 * libio/tst-fseek.c: New test case to verify that fseek/ftell
33713 combination works in wide mode.
33714 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
33715 state when the external buffer state changes.
33717 2012-09-27 David S. Miller <davem@davemloft.net>
33720 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
33721 pass reloc->r_addend in as the 'high' argument to
33722 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
33724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33726 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33728 * rt/tst-aio2.c: Include <pthread.h>.
33729 * rt/tst-aio3.c: Likewise.
33731 2012-09-27 Steve Ellcey <sellcey@mips.com>
33733 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
33735 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
33737 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
33738 contents on [SHARED].
33740 2012-09-26 Marek Polacek <polacek@redhat.com>
33744 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
33745 for C++ and GCC <4.3 as well as for non GCC compilers.
33747 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
33749 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33751 2012-09-25 Roland McGrath <roland@hack.frob.com>
33753 * Makefile.in (all, install): Declare with .PHONY.
33754 Reported by Michael Hope <michael.hope@linaro.org>.
33756 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33758 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
33759 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
33761 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
33763 (sydep_routines): Add the new and the internal functions.
33764 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
33765 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
33766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
33767 (GLIBC_2.17): Add the new function.
33768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33769 (GLIBC_2.17): Likewise.
33770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
33771 (GLIBC_2.17): Likewise.
33772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
33773 (GLIBC_2.17): Likewise.
33774 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
33776 2012-09-25 Alan Modra <amodra@gmail.com>
33778 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
33779 Add release barrier before setting once_control to say
33780 initialisation is done. Add hints on lwarx. Use macro in
33782 (clear_once_control): Add release barrier.
33784 2012-09-25 Joseph Myers <joseph@codesourcery.com>
33787 * math/s_clog.c (__clog): Handle more values close to |z| = 1
33789 * math/s_clog10.c (__clog10): Likewise.
33790 * math/s_clog10f.c (__clog10f): Likewise.
33791 * math/s_clog10l.c (__clog10l): Likewise.
33792 * math/s_clogf.c (__clogf): Likewise.
33793 * math/s_clogl.c (__clogl): Likewise.
33794 * math/Makefile (libm-calls): Add x2y2m1.
33795 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
33796 (__x2y2m1): Likewise.
33797 (__x2y2m1l): Likewise.
33798 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
33799 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
33800 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
33801 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33802 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
33803 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
33804 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
33805 * sysdeps/i386/fpu/libm-test-ulps: Update.
33806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33809 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
33810 int as type of variable DEPTH.
33811 (glob): Use size_t instead of int as type of variables NEWCOUNT
33814 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33816 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33817 Add s_sincosf-sse2.
33818 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
33819 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
33820 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
33821 macros for using routine as __sincosf_ia32.
33822 Use macro for function declaration and weak_alias.
33823 * sysdeps/i386/fpu/libm-test-ulps: Update.
33825 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
33826 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33828 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
33829 subnormal argument.
33830 * math/s_cexpf.c (__cexpf): Likewise.
33831 * math/s_csinf.c (__csinf): Likewise.
33832 * math/s_csinhf.c (__csinhf): Likewise.
33833 * math/s_ctanf.c (__ctanf): Likewise.
33834 * math/s_ctanhf.c (__ctanhf): Likewise.
33835 * math/s_ccosh.c (__ccoshf): Likewise.
33836 * math/s_cexp.c (__cexpl): Likewise.
33837 * math/s_csin.c (__csin): Likewise.
33838 * math/s_csinh.c (__csinh): Likewise.
33839 * math/s_ctan.c (__ctan): Likewise.
33840 * math/s_ctanh.c (ctanh): Likewise.
33841 * math/s_ccoshl.c (__ccoshl): Likewise.
33842 * math/s_cexpl.c (__cexpl): Likewise.
33843 * math/s_csinl.c (__csinl): Likewise.
33844 * math/s_csinhl.c (__csinhl): Likewise.
33845 * math/s_ctanl.c (__ctanl): Likewise.
33846 * math/s_ctanhl.c (__ctanhl): Likewise.
33848 2012-09-25 Joseph Myers <joseph@codesourcery.com>
33850 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
33851 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
33852 (_IO_off_t): Define to __off_t, not _G_off_t.
33853 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
33854 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
33855 (_IO_wint_t): Define to wint_t, not _G_wint_t.
33856 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
33857 type of __dummy and __dummy2 fields.
33858 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
33859 (_G_ssize_t): Likewise.
33860 (_G_off_t): Likewise.
33861 (_G_pid_t): Likewise.
33862 (_G_uid_t): Likewise.
33863 (_G_wchar_t): Likewise.
33864 (_G_wint_t): Likewise.
33865 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
33866 (_G_ssize_t): Likewise.
33867 (_G_off_t): Likewise.
33868 (_G_pid_t): Likewise.
33869 (_G_uid_t): Likewise.
33870 (_G_wchar_t): Likewise.
33871 (_G_wint_t): Likewise.
33872 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
33873 (_G_ssize_t): Likewise.
33874 (_G_off_t): Likewise.
33875 (_G_pid_t): Likewise.
33876 (_G_uid_t): Likewise.
33877 (_G_wchar_t): Likewise.
33878 (_G_wint_t): Likewise.
33880 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33882 * malloc/arena.c: Include malloc-sysdep.h.
33883 (shrink_heap): Use check_may_shrink_heap to decide if madvise
33884 is sufficient to shrink the heap or an unmap is needed.
33885 * sysdeps/generic/malloc-sysdep.h: New file. Define
33886 new function check_may_shrink_heap.
33887 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
33888 new function check_may_shrink_heap.
33890 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33892 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
33895 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
33897 * catgets/test-gencat.sh: Add "set -e".
33898 * elf/tst-pathopt.sh: Likewise.
33899 * grp/tst_fgetgrent.sh: Likewise.
33900 * iconvdata/run-iconv-test.sh: Likewise.
33901 * intl/tst-gettext.sh: Likewise.
33902 * intl/tst-gettext2.sh: Likewise.
33903 * intl/tst-gettext4.sh: Likewise.
33904 * intl/tst-gettext6.sh: Likewise.
33905 * intl/tst-translit.sh: Likewise.
33906 * io/ftwtest-sh: Likewise.
33907 * libio/test-freopen.sh: Likewise.
33908 * malloc/tst-mtrace.sh: Likewise.
33909 * posix/globtest.sh: Likewise.
33910 * posix/tst-getconf.sh: Likewise.
33911 * posix/wordexp-tst.sh: Likewise.
33912 * stdio-common/tst-printf.sh: Likewise.
33913 * stdio-common/tst-unbputc.sh: Likewise.
33914 * stdlib/tst-fmtmsg.sh: Likewise.
33915 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33916 * catgets/Makefile: Do not specify -e option when running
33917 testsuite shell scripts.
33918 * elf/Makefile: Likewise.
33919 * grp/Makefile: Likewise.
33920 * iconvdata/Makefile: Likewise.
33921 * intl/Makefile: Likewise.
33922 * io/Makefile: Likewise.
33923 * libio/Makefile: Likewise.
33924 * malloc/Makefile: Likewise.
33925 * posix/Makefile: Likewise.
33926 * stdio-common/Makefile: Likewise.
33927 * stdlib/Makefile: Likewise.
33928 * sysdeps/x86_64/Makefile: Likewise.
33930 * io/ftwtest-sh: Add copyright header.
33931 * posix/globtest.sh: Likewise.
33932 * posix/tst-getconf.sh: Likewise.
33933 * posix/wordexp-tst.sh: Likewise.
33934 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33936 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
33939 * Makeconfig (+link): Defined as $(+link-static) if
33940 $(build-shared) isn't yes.
33941 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
33943 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
33945 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
33948 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
33949 new chunk size with MALLOC_ALIGN_MASK.
33951 2012-09-24 Joseph Myers <joseph@codesourcery.com>
33954 * stdio-common/printf_fphex.c: Include <stdbool.h> and
33956 (__printf_fphex): Determine rounding using get_rounding_mode and
33958 * stdio-common/tst-printf-round.c (struct hex_test): New
33960 (hex_tests): New variable.
33961 (test_hex_in_one_mode): New function.
33962 (do_test): Also run tests for hex float output.
33964 2012-09-21 Joseph Myers <joseph@codesourcery.com>
33966 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33967 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33968 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33969 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33970 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33971 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33972 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33973 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33975 2012-09-20 Joseph Myers <joseph@codesourcery.com>
33977 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
33978 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
33979 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
33980 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
33982 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
33985 * elf/rtld.c (dl_main): Limit the check for self loading to normal
33987 * elf/tst-rtld-load-self.sh: New test.
33988 * elf/Makefile: Run it.
33990 2012-09-18 Joseph Myers <joseph@codesourcery.com>
33992 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
33993 (tst-writev-ENV): Remove.
33994 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
33996 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
33998 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
34000 2012-09-17 Joseph Myers <joseph@codesourcery.com>
34002 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
34004 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
34006 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
34007 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
34008 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
34011 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
34014 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34015 * config.make.in (have-cpp-asm-debuginfo): Removed.
34016 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
34017 * configure: Regenerated.
34019 2012-09-14 Joseph Myers <joseph@codesourcery.com>
34022 * stdio-common/printf_fp.c: Include <stdbool.h> and
34024 (___printf_fp): Determine rounding using get_rounding_mode and
34026 * stdio-common/tst-printf-round.c: New file.
34027 * stdio-common/Makefile (tests): Add tst-printf-round.
34028 (link-libm): New variable.
34029 ($(objpfx)tst-printf-round): Depend in $(link-libm).
34031 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
34034 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
34035 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
34037 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
34040 2012-09-13 Joseph Myers <joseph@codesourcery.com>
34042 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
34043 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34044 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34045 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34047 2012-09-12 Joseph Myers <joseph@codesourcery.com>
34050 * include/rounding-mode.h: New file.
34051 * sysdeps/generic/get-rounding-mode.h: Likewise.
34052 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
34053 * stdlib/strtod_l.c: Include <rounding-mode.h>.
34054 (MAX_VALUE): New macro.
34055 (MIN_VALUE): Likewise.
34056 (overflow_value): New function.
34057 (underflow_value): Likewise.
34058 (round_and_return): Use overflow_value and underflow_value to
34059 determine return values in overflow and underflow cases. Use
34060 round_away to determine rounding depending on rounding mode.
34061 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
34062 determine return values in overflow and underflow cases.
34063 * stdlib/tst-strtod-round.c: Include <fenv.h>.
34064 (struct test_results): New structure.
34065 (struct test): Use struct test_results to store expected results
34066 for all rounding modes.
34067 (TEST): Include expected results for all rounding modes.
34068 (test_in_one_mode): New function.
34069 (do_test): Use test_in_one_mode to compute and check results.
34070 Check results for all rounding modes.
34071 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34074 2012-12-09 Allan McRae <allan@archlinux.org>
34076 * sysdeps/i386/fpu/libm-test-ulps: Update
34078 2012-09-11 Joseph Myers <joseph@codesourcery.com>
34080 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34081 (_G_int32_t): Likewise.
34082 (_G_uint16_t): Likewise.
34083 (_G_uint32_t): Likewise.
34084 (_G_HAVE_BOOL): Likewise.
34085 (_G_HAVE_ATEXIT): Likewise.
34086 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34087 (_G_HAVE_IO_FILE_OPEN): Likewise.
34088 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34089 (_G_int32_t): Likewise.
34090 (_G_uint16_t): Likewise.
34091 (_G_uint32_t): Likewise.
34092 (_G_HAVE_BOOL): Likewise.
34093 (_G_HAVE_ATEXIT): Likewise.
34094 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34095 (_G_HAVE_IO_FILE_OPEN): Likewise.
34096 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34097 (_G_int32_t): Likewise.
34098 (_G_uint16_t): Likewise.
34099 (_G_uint32_t): Likewise.
34100 (_G_HAVE_BOOL): Likewise.
34101 (_G_HAVE_ATEXIT): Likewise.
34102 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34103 (_G_HAVE_IO_FILE_OPEN): Likewise.
34105 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
34107 * csu/libc-tls.c: Update copyright years.
34109 2012-09-10 Joseph Myers <joseph@codesourcery.com>
34111 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34112 [!_G_USING_THUNKS]: Remove conditional code.
34113 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34114 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34116 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34117 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34118 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34119 (_G_VTABLE_LABEL_PREFIX): Likewise.
34120 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34121 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34122 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34123 (_G_VTABLE_LABEL_PREFIX): Likewise.
34124 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34125 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34126 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34127 (_G_VTABLE_LABEL_PREFIX): Likewise.
34128 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34130 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
34132 * libio/Makefile: Include ../Makeconfig before tests.
34133 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
34134 only if $(build-shared) is yes.
34136 * iconv/gconv_db.c: Update copyright years.
34138 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34140 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
34141 unwind info if defined PIC. Fix special cases description.
34142 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
34144 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
34146 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
34148 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
34150 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
34152 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
34155 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
34156 (LDLIBS-tst-chk4): This.
34157 (LDFLAGS-tst-chk5): Renamed to ...
34158 (LDLIBS-tst-chk5): This.
34159 (LDFLAGS-tst-chk6): Renamed to ...
34160 (LDLIBS-tst-chk6): This.
34161 (LDFLAGS-tst-lfschk4): Renamed to ...
34162 (LDLIBS-tst-lfschk4): This.
34163 (LDFLAGS-tst-lfschk5): Renamed to ...
34164 (LDLIBS-tst-lfschk5): This.
34165 (LDFLAGS-tst-lfschk6): Renamed to ...
34166 (LDLIBS-tst-lfschk6): This.
34168 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
34169 on $(common-objpfx)soversions.mk.
34171 2012-09-07 Joseph Myers <joseph@codesourcery.com>
34174 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
34177 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34179 * malloc/arena.c (arena_get_retry): New function that gets
34180 another arena for the caller to try its request on.
34181 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
34182 current arena cannot fulfill the request.
34183 (__libc_memalign): Likewise.
34184 (__libc_memalign): Likewise.
34185 (__libc_pvalloc): Likewise.
34186 (__libc_calloc): Likewise.
34188 2012-09-05 John Tobey <john.tobey@gmail.com>
34191 * manual/arith.texi (Operations on Complex): Fix description
34192 of carg branch cut.
34194 2012-09-06 Joseph Myers <joseph@codesourcery.com>
34197 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
34201 * manual/memory.texi (Memory): Make order of menu items match
34204 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34206 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
34207 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
34208 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
34210 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34212 * csu/libc-tls.c (static_dtv): Renamed to ...
34213 (_dl_static_dtv): This. Make it global.
34214 (_dl_initial_dtv): Removed.
34215 (__libc_setup_tls): Updated.
34216 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
34217 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
34220 2012-09-06 Petr Machata <pmachata@redhat.com>
34222 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
34223 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
34224 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
34225 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
34227 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34230 * csu/libc-tls.c (_dl_initial_dtv): New variable.
34231 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
34234 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34237 * Makeconfig (link-static-before-libc): Replace $(+prector)
34239 (link-static-after-libc): Replace $(+postctor) with
34241 (link-bounded): Replace $(+prector)/$(+postctor) with
34242 $(+prectorT)/$(+postctorT).
34243 (+prectorT): New macro.
34244 (+postctorT): Likewise.
34246 2012-09-06 Joseph Myers <joseph@codesourcery.com>
34248 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
34249 (round_str): Handle values above the maximum for IBM long double
34251 * stdlib/tst-strtod-round.c (tests): Regenerated.
34253 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34255 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
34257 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
34258 zarch_nohighgprs around the zarch optimized routines.
34259 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34260 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34261 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
34264 2012-09-05 David S. Miller <davem@davemloft.net>
34266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34268 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
34269 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
34270 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
34271 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34274 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34276 * malloc/arena.c: Fold copyright years.
34277 * malloc/mcheck.c, malloc/memusage.c: Likewise.
34279 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34281 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
34283 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34285 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
34287 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34289 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
34290 change internal state upon failure.
34292 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
34294 * malloc/mcheck.c (mcheck_check_all): Fix typo.
34295 * malloc/memusage.c (mmap): Likewise.
34296 (mmap64, mremap): Likewise. Adjust name in comment.
34298 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34300 * libio/fileops.c: Fix typos in comments.
34301 * libio/oldfileops.c: Likewise.
34302 * libio/wfileops.c: Likewise.
34304 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34307 * malloc/Makefile (tests): Add tst-malloc-usable test case.
34308 (tst-malloc-usable-ENV): Set environment for test case.
34309 * malloc/hooks.c (malloc_check_get_size): New function to get
34311 * malloc/malloc.c (musable): Use malloc_check_get_size.
34312 * malloc/tst-malloc-usable.c: New test case.
34314 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34316 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
34318 2012-09-05 Allan McRae <allan@archlinux.org>
34321 * configure.in (CXX_SYSINCLUDES): Use compiler output to
34322 determine header location.
34323 * configure: Regenerated.
34325 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34327 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
34329 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
34330 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
34332 (test): Regenerate.
34334 2012-09-04 David S. Miller <davem@davemloft.net>
34336 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
34337 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
34338 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
34340 2012-09-04 Florian Weimer <fweimer@redhat.com>
34342 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
34345 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
34347 2012-09-04 Joseph Myers <joseph@codesourcery.com>
34350 * libio/iogetdelim.c: Include <limits.h>.
34351 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
34352 + len + 1 would overflow.
34354 2012-09-03 Andreas Jaeger <aj@suse.de>
34356 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34357 * sysdeps/i386/fpu/libm-test-ulps: Update.
34359 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34361 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34362 Add s_sinf-sse2, s_conf-sse2.
34364 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
34365 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
34366 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
34367 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
34369 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
34370 for using routine as __sinf_ia32.
34371 Use macro for function declaration and weak_alias.
34372 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
34373 for using routine as __cosf_ia32.
34374 Use macro for function declaration and weak_alias.
34376 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
34377 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
34379 * sysdeps/x86_64/fpu/s_sinf.S: New file.
34380 * sysdeps/x86_64/fpu/s_cosf.S: New file.
34381 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34383 * math/libm-test.inc (cos_test): Add more test cases.
34384 (sin_test): Likewise.
34385 (sincos_test): Likewise.
34387 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34389 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34390 (IFUNC_RESOLVE): Make pointers to the specialized implementations
34392 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34394 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
34397 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
34398 first element of the GOT.
34399 (elf_machine_load_address): Return the difference between
34400 the runtime address of _DYNAMIC and elf_machine_dynamic ().
34402 2012-09-01 Allan McRae <allan@archlinux.org>
34405 * configure.in (AWK): Require gawk version 3.0 or later.
34406 * configure: Regenerated.
34408 2012-09-01 Joseph Myers <joseph@codesourcery.com>
34410 * sysdeps/unix/sysv/linux/kernel-features.h
34411 (__ASSUME_POSIX_CPU_TIMERS): Remove.
34412 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34413 [__NR_clock_getres]: Make code unconditional.
34414 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
34415 (clock_getcpuclockid): Remove code left unreachable by removal of
34417 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
34418 code unconditional.
34419 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34420 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34421 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
34422 Make code unconditional.
34423 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34424 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34425 * sysdeps/unix/sysv/linux/clock_settime.c
34426 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
34428 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
34429 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34431 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
34434 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
34435 scripts/test-installation.pl.
34437 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
34438 and $ld_so_version if it is set.
34440 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34443 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
34444 failure if reading from procfs failed.
34445 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
34447 2012-08-27 Joseph Myers <joseph@codesourcery.com>
34449 * sysdeps/unix/sysv/linux/kernel-features.h
34450 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
34451 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34452 Remove conditional code.
34453 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34454 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
34455 Remove conditional code.
34456 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34457 * sysdeps/unix/sysv/linux/i386/fxstat.c
34458 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34459 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34460 * sysdeps/unix/sysv/linux/i386/fxstatat.c
34461 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34462 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34463 * sysdeps/unix/sysv/linux/i386/lxstat.c
34464 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34465 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34466 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
34467 Remove conditional code.
34468 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34469 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34470 Remove conditional code.
34471 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34472 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
34473 <kernel-features.h>.
34474 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
34476 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
34477 Remove conditional code.
34478 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34479 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
34480 Remove conditional.
34482 2012-08-27 Mike Frysinger <vapier@gentoo.org>
34485 * NEWS: Add fixed bug number.
34487 2012-08-27 Joseph Myers <joseph@codesourcery.com>
34490 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
34491 underflowing exponent in case of negative sign.
34492 * stdlib/tst-strtod-round-data: Add more tests.
34493 * stdlib/tst-strtod-round.c (tests): Regenerated.
34496 * stdlib/strtod_l.c (NDIG): Remove.
34497 (HEXNDIG): Likewise.
34498 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
34499 smallest representable value.
34500 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
34501 lie within an exact representation of 1/2 ulp of the result.
34502 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
34504 (TENS_P9_IDX): Define unconditionally.
34505 (TENS_P9_SIZE): Likewise.
34506 (TENS_P10_IDX): Likewise.
34507 (TENS_P10_SIZE): Likewise.
34508 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
34509 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
34510 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
34511 entries for 10^2^13 and 10^2^14.
34512 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
34513 (TENS_P13_IDX): Define.
34514 (TENS_P13_SIZE): Likewise.
34515 (TENS_P14_IDX): Likewise.
34516 (TENS_P14_SIZE): Likewise.
34517 (_fpioconst_pow10): Change array size to
34518 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
34520 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
34521 1024]: Add entries for 10^2^13 and 10^2^14.
34522 [LAST_POW10 > _LAST_POW10]: Remove #error.
34523 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
34524 (_fpioconst_pow10): Change array size to
34525 FPIOCONST_POW10_ARRAY_SIZE.
34526 * stdlib/gen-fpioconst.c: New file.
34527 * stdlib/gen-tst-strtod-round.c: Likewise.
34528 * stdlib/tst-strtod-round-data: Likewise.
34529 * stdlib/tst-strtod-round.c: Likewise.
34530 * stdlib/Makefile (tests): Add tst-strtod-round.
34533 * stdlib/strtod_l.c: Include <stdint.h>.
34534 (NDEBUG): Do not define.
34535 (round_and_return): Change EXPONENT parameter to type intmax_t.
34536 Rearrange calculations to avoid internal overflow possibilities.
34537 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
34538 Rearrange calculations to avoid internal overflow possibilities.
34539 Assert that number fits inside MPNSIZE limbs.
34540 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
34541 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
34542 calculations and add assertions to avoid internal overflow
34543 possibilities. Add casts to avoid signed/unsigned operations.
34544 * stdlib/tst-strtod-overflow.c: New file.
34545 * stdlib/Makefile (tests): Add tst-strtod-overflow.
34547 2012-08-25 Marek Polacek <polacek@redhat.com>
34549 * time/time.h: Fix some typos in comments.
34551 2012-08-23 Roland McGrath <roland@hack.frob.com>
34553 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
34554 * posix/tst-rfc3484-2.c: Likewise.
34555 * posix/tst-rfc3484-3.c: Likewise.
34557 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
34559 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
34560 (EF_ARM_ABI_FLOAT_HARD): Likewise.
34562 2012-08-23 Joseph Myers <joseph@codesourcery.com>
34564 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
34565 #include of fxstatat64.c.
34567 2012-08-22 Roland McGrath <roland@hack.frob.com>
34569 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
34570 * shadow/getspent_r.c: Likewise.
34571 * shadow/getspnam.c: Likewise.
34572 * shadow/getspnam_r.c: Likewise.
34573 * gshadow/getsgent.c: Likewise.
34574 * gshadow/getsgent_r.c: Likewise.
34575 * gshadow/getsgnam.c: Likewise.
34576 * gshadow/getsgnam_r.c: Likewise.
34577 * inet/getnetbyad.c: Likewise.
34578 * inet/getnetbyad_r.c: Likewise.
34579 * inet/getnetbynm.c: Likewise.
34580 * inet/getnetbynm_r.c: Likewise.
34581 * inet/getnetent.c: Likewise.
34582 * inet/getnetent_r.c: Likewise.
34583 * inet/getproto.c: Likewise.
34584 * inet/getproto_r.c: Likewise.
34585 * inet/getprtent.c: Likewise.
34586 * inet/getprtent_r.c: Likewise.
34587 * inet/getprtname.c: Likewise.
34588 * inet/getprtname_r.c: Likewise.
34589 * inet/getrpcbyname.c: Likewise.
34590 * inet/getrpcbyname_r.c: Likewise.
34591 * inet/getrpcbynumber.c: Likewise.
34592 * inet/getrpcbynumber_r.c: Likewise.
34593 * inet/getrpcent.c: Likewise.
34594 * inet/getrpcent_r.c: Likewise.
34595 * inet/getaliasent.c: Likewise.
34596 * inet/getaliasent_r.c: Likewise.
34597 * inet/getaliasname.c: Likewise.
34598 * inet/getaliasname_r.c: Likewise.
34599 * nscd/getgrgid_r.c: Likewise.
34600 * nscd/getgrnam_r.c: Likewise.
34601 * nscd/gethstbyad_r.c: Likewise.
34602 * nscd/gethstbynm3_r.c: Likewise.
34603 * nscd/getpwnam_r.c: Likewise.
34604 * nscd/getpwuid_r.c: Likewise.
34605 * nscd/getsrvbynm_r.c: Likewise.
34606 * nscd/getsrvbypt_r.c: Likewise.
34607 * nscd/gai.c: Likewise.
34609 * configure.in (build_nscd): New substituted variable, set
34610 by --disable-build-nscd and defaults to $use_nscd.
34611 * configure: Regenerated.
34612 * config.make.in (build-nscd): New substituted variable.
34613 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
34614 Change conditional to require [$(build-nscd) = yes] as well.
34615 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
34618 * configure.in (use_nscd): New substituted variable, set by
34619 --disable-nscd. If enabled, define USE_NSCD.
34620 * configure: Regenerated.
34621 * config.h.in: Add USE_NSCD.
34622 * config.make.in (use-nscd): New substituted variable.
34623 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
34624 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
34625 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
34626 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
34627 (CFLAGS-getgrnam_r.c): Likewise.
34628 (CFLAGS-initgroups.c): Likewise.
34629 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
34630 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
34632 * inet/getnetgrent_r.c
34633 (nscd_setnetgrent): New function, broken out of ...
34634 (setnetgrent): ... here. Call it.
34635 (innetgr): Conditionalize nscd bits on [USE_NSCD].
34636 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
34637 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
34638 * nscd/Makefile (routines, aux): Move definitions after include of
34639 Makeconfig. Conditionalize on [$(use-nscd) != no].
34640 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
34641 Conditionalize on [USE_NSCD].
34642 (is_nscd, nscd_init_cb): Likewise.
34643 (nss_load_library): Conditionalize init callback on [USE_NSCD].
34644 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
34645 * nss/nss_db/db-init.c: Likewise.
34646 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
34648 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
34649 (make_request): Use it.
34650 (cache_valid_p): New function.
34651 (__check_pf): Use it.
34652 * NEWS: Add item for --disable-nscd.
34654 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
34656 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
34657 to support sed >= 4.2.1-20-ga9bf076.
34658 * configure: Regenerated.
34660 2012-08-22 Roland McGrath <roland@hack.frob.com>
34662 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
34663 Conditionalize whole body on [IREL].
34665 2012-08-22 Jeff Law <law@redhat.com>
34668 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
34669 if the family is PF_UNSPEC.
34671 2012-08-22 Mike Frysinger <vapier@gentoo.org>
34673 * Makerules (lib-version): Rename from V.
34674 (install-lib-nosubdir): Change V to lib-version.
34676 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
34679 * powerpc32/power6/wcschr.c: New file.
34680 * powerpc32/power6/wcscpy.c: New file.
34681 * powerpc32/power6/wcsrchr.c: New file.
34682 * powerpc64/power6/wcschr.c: New file.
34683 * powerpc64/power6/wcscpy.c: New file.
34684 * powerpc64/power6/wcsrchr.c: New file.
34686 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
34688 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
34689 (two_way_short_needle): Use it.
34690 * string/strstr.c (AVAILABLE1_USES_J): Define.
34691 * string/strcasestr.c: Likewise.
34693 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
34695 * string/strcasestr.c (TOLOWER): Make side-effect safe.
34698 * NEWS: Add an entry.
34699 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
34700 define their defaults.
34701 (two_way_short_needle): Detect end-of-string on-the-fly.
34702 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
34703 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
34704 * string/bug-strcasestr1.c: New test.
34705 * string/Makefile: Run it.
34707 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
34710 * string/str-two-way.h (two_way_short_needle): Optimize matching of
34711 the first character.
34713 2012-08-21 Roland McGrath <roland@hack.frob.com>
34715 * csu/elf-init.c (__libc_csu_irel): Function removed.
34716 * csu/libc-start.c (apply_irel): New function.
34717 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
34719 2012-08-21 Joseph Myers <joseph@codesourcery.com>
34721 * sysdeps/unix/sysv/linux/kernel-features.h
34722 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
34723 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34724 <kernel-features.h>.
34725 [__NR_fadvise64_64]: Make code unconditional.
34726 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
34727 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34728 !__NR_fadvise64_64)]: Likewise.
34729 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34730 !__NR_fadvise64_64))]: Likewise.
34731 [__NR_fadvise64]: Make code unconditional.
34732 [!__NR_fadvise64]: Remove conditional code.
34733 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
34734 <kernel-features.h>.
34735 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34737 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
34740 not include <kernel-features.h>.
34741 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34743 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34745 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
34746 include <kernel-features.h>.
34747 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34749 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34752 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
34754 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
34755 slight instruction rearrangements per scrollpipe analysis.
34756 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34758 2012-08-20 Roland McGrath <roland@hack.frob.com>
34760 * manual/syslog.texi (syslog; vsyslog, closelog):
34761 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
34762 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
34764 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
34765 DSOCAPS to match condition on defining it.
34767 2012-08-20 Joseph Myers <joseph@codesourcery.com>
34769 * sysdeps/unix/sysv/linux/kernel-features.h
34770 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
34771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
34772 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34773 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
34775 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34776 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
34778 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34779 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34781 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
34782 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
34784 * sysdeps/unix/sysv/linux/kernel-features.h
34785 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
34786 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
34788 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34789 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
34790 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34791 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34792 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
34793 Make code unconditional.
34794 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34795 (__mmap64) [!__NR_mmap2]: Likewise.
34796 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
34797 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34798 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34799 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
34800 [__NR_mmap2]: Make code unconditional.
34801 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34802 (__mmap64) [!__NR_mmap2]: Likewise.
34804 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34806 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
34808 2012-08-18 Andreas Jaeger <aj@suse.de>
34810 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
34812 2012-08-18 Mike Frysinger <vapier@gentoo.org>
34814 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
34815 * include/unistd.h (__have_sock_cloexec): Likewise.
34816 (__have_pipe2): Likewise.
34817 (__have_dup3): Likewise.
34819 2012-08-18 Mike Frysinger <vapier@gentoo.org>
34822 * include/unistd.h (__have_pipe2): Change define into an extern int.
34823 (__have_dup3): Likewise.
34824 * socket/have_sock_cloexec.c: Include fcntl.h.
34825 (__have_pipe2): New variable.
34826 (__have_dup3): Likewise.
34828 2012-08-17 Mike Frysinger <vapier@gentoo.org>
34830 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
34832 2012-08-17 Marek Polacek <polacek@redhat.com>
34834 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
34835 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
34837 2012-08-17 Roland McGrath <roland@hack.frob.com>
34839 * configure.in: Add AC_SUBST for sysheaders.
34840 * configure: Regenerated.
34841 * config.make.in (sysheaders): New substituted variable.
34843 * sysdeps/unix/mkfifo.c: Moved ...
34844 * sysdeps/posix/mkfifo.c: ... here.
34845 * sysdeps/unix/mkfifoat.c: Moved ...
34846 * sysdeps/posix/mkfifoat.c: ... here.
34848 * sysdeps/unix/utime.c: Moved ...
34849 * sysdeps/posix/utime.c: ... here.
34851 * sysdeps/unix/time.c: Moved ...
34852 * sysdeps/posix/time.c: ... here.
34853 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
34854 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
34856 * sysdeps/unix/nice.c: Moved ...
34857 * sysdeps/posix/nice.c: ... here.
34859 * sysdeps/unix/alarm.c: Moved ...
34860 * sysdeps/posix/alarm.c: ... here.
34862 * intl/Makefile ($(codeset_mo)): Depend on the input file.
34864 2012-08-17 Jeff Law <law@redhat.com>
34866 * intl/Makefile (codeset_mo): New variable.
34867 ($(codeset_mo)): New target.
34868 (tst-codeset.out): Depend on that. Remove explicit rule.
34869 (tst-gettext3.out, tst-gettext5.out): Likewise.
34870 (LOCPATH-ENV, tst-codeset-ENV): New variables.
34871 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
34872 * intl/tst-codeset.sh: Remove.
34873 * intl/tst-gettext3.sh: Likewise.
34874 * intl/tst-gettext5.sh: Likewise.
34876 2012-08-17 Roland McGrath <roland@hack.frob.com>
34878 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
34879 * sysdeps/unix/syscalls.list: ... here.
34881 * sysdeps/posix/getaddrinfo.c
34882 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
34883 (gaiconf_init, gaiconf_reload): Use them.
34884 [!_STATBUF_ST_NSEC]
34885 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
34886 Define using time_t rather than struct timespec.
34888 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
34889 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
34891 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34893 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
34894 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
34897 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
34898 __libc_cleanup_push argument.
34900 * bits/param.h: New file.
34901 * misc/sys/param.h: New file.
34902 * include/sys/param.h: New file.
34903 * misc/Makefile (headers): Add bits/param.h.
34904 * sysdeps/generic/sys/param.h: File removed.
34905 * sysdeps/unix/sysv/linux/bits/param.h: New file.
34906 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
34907 * sysdeps/mach/hurd/bits/param.h: New file.
34908 * sysdeps/mach/hurd/sys/param.h: File removed.
34910 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
34913 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
34915 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
34916 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
34919 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
34920 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
34921 rather than -D_IO_MTSAFE_IO conditionally.
34922 * stdio-common/Makefile (CPPFLAGS): Likewise.
34923 * wcsmbs/Makefile (CPPFLAGS): Likewise.
34924 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
34925 Use $(libio-mtsafe).
34926 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
34927 of -D_IO_MTSAFE_IO.
34928 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
34929 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
34930 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
34931 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
34932 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
34933 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
34934 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
34935 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
34936 (CFLAGS-fread_u_chk.c): Likewise.
34937 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
34938 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
34939 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
34940 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34941 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
34942 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
34943 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
34944 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
34945 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
34947 * libio/Makefile: Test [$(libc-reentrant) = yes]
34948 instead of [$(filter %REENTRANT, $(defines)) nonempty].
34951 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
34952 * sysdeps/pthread/configure: File removed.
34953 * sysdeps/pthread/Makeconfig: New file.
34954 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
34955 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
34957 2012-08-16 Gary Benson <gbenson@redhat.com>
34959 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34960 unmapping the first object in a namespace.
34962 2012-08-16 Roland McGrath <roland@hack.frob.com>
34964 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34965 (__internal_setnetgrent): ... this. Add internal_function to
34966 definition. Add libc_hidden_def.
34967 (setnetgrent): Update caller.
34968 (internal_endnetgrent): Renamed to ...
34969 (__internal_endnetgrent): ... this. Add internal_function to
34970 definition. Add libc_hidden_def.
34971 (endnetgrent): Update caller.
34972 (internal_getnetgrent_r): Renamed to ...
34973 (__internal_getnetgrent_r): ... this. Add internal_function to
34974 definition. Add libc_hidden_def.
34975 (__getnetgrent_r): Update caller.
34976 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
34978 2012-08-16 Joseph Myers <joseph@codesourcery.com>
34980 * stdlib/longlong.h: Update from GCC.
34982 2012-08-16 Roland McGrath <roland@hack.frob.com>
34984 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
34985 on _QL, which is set by umul_ppmm but never used.
34986 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
34987 variables, which are set by GMP macros but never used.
34988 * stdio-common/_itowa.c (_itowa): Likewise.
34989 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
34990 * stdlib/mod_1.c (mpn_mod_1): Likewise.
34992 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
34994 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34995 struct La_sh_regs is not constant.
34996 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
34997 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
34998 and struct La_sparc64_regs are not constant.
35000 2012-08-16 Joseph Myers <joseph@codesourcery.com>
35002 * sysdeps/unix/sysv/linux/kernel-features.h
35003 (__ASSUME_POSIX_TIMERS): Remove.
35004 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35005 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35006 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
35007 Make code unconditional.
35008 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35009 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
35010 Make code unconditional.
35011 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35012 * sysdeps/unix/sysv/linux/clock_nanosleep.c
35013 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
35014 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35015 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
35016 Make code unconditional.
35017 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35018 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
35019 (__libc_missing_posix_timers): Remove.
35021 2012-08-15 Roland McGrath <roland@hack.frob.com>
35023 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35024 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35026 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
35028 * elf/dl-sym.c: Include <stdlib.h>.
35030 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
35031 constants, which avoids warnings in 32-bit builds.
35033 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
35034 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
35036 * misc/lseek.c: File moved to ...
35037 * io/lseek.c: ... here.
35039 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
35041 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
35042 shifting LEN more than 31 bits at once.
35044 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35047 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
35048 segmentation fault for a case of two empty input strings.
35049 * string/test-strncasecmp.c (check1): Renamed to...
35050 (bz12205): ...this.
35051 (bz14195): Add new testcase for two empty input strings and N > 0.
35052 (test_main): Call new testcase, adapt for renamed function.
35054 2012-08-15 Andreas Jaeger <aj@suse.de>
35057 * crypt/md5test2.c: New test, based on test supplied by Serge
35058 Belyshev <belyshev@depni.sinp.msu.ru>.
35059 * crypt/Makefile (xtests): Add md5test-giant..
35060 * crypt/Makefile ($(objpfx)md5test-giant): Add.
35062 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
35065 * crypt/md5.c (md5_process_block): Don't assume the buffer
35066 length is less than 2**32.
35067 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35068 length is less than 2**64.
35070 2012-08-15 Roland McGrath <roland@hack.frob.com>
35072 * string/str-two-way.h: Include <sys/param.h>.
35073 (MAX): Macro removed.
35075 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35076 Move #define and #undef of memmove to just before and after
35077 including <string.h>.
35079 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35080 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35081 and after including <string.h>. Move declarations of
35082 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35083 to before #include "string/memmove.c".
35085 * include/dirent.h: Declare __getdirentries.
35087 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35088 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35090 2012-08-14 Mike Frysinger <vapier@gentoo.org>
35092 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35093 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35094 * sysdeps/i386/configure: Regenerated.
35095 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35096 STABS_CURRENT_FILE, and STABS_FUN.
35097 (END): Remove call to STABS_FUN_END.
35098 (STABS_CURRENT_FILE1): Delete.
35099 (STABS_CURRENT_FILE): Likewise.
35100 (STABS_FUN): Likewise.
35101 (STABS_FUN_END): Likewise.
35102 (STABS_FUN2): Likewise.
35103 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35104 * sysdeps/x86_64/configure: Regenerated.
35106 2012-08-14 Roland McGrath <roland@hack.frob.com>
35108 * elf/dl-open.c: Include <atomic.h>.
35109 * elf/dl-lookup.c: Likewise.
35111 2012-08-14 Joseph Myers <joseph@codesourcery.com>
35113 * sysdeps/unix/sysv/linux/kernel-features.h
35114 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35115 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35117 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35119 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35120 condition on __ASSUME_CLONE_THREAD_FLAGS.
35122 2012-08-14 Andreas Jaeger <aj@suse.de>
35124 * sysdeps/i386/fpu/libm-test-ulps: Update.
35126 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
35128 * include/atomic.h (atomic_exchange_and_add): Split into ...
35129 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
35132 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
35134 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35136 2012-08-13 Jeff Law <law@redhat.com>
35138 * manual/stdio.texi (snprintf): Clarify handling of the trailing
35139 null byte in the output string.
35141 2012-08-10 Joseph Myers <joseph@codesourcery.com>
35143 * sysdeps/unix/sysv/linux/kernel-features.h
35144 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
35145 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
35146 (__ASSUME_ARG_MAX_STACK_BASED): Define.
35147 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35148 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
35149 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
35150 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
35152 2012-08-09 Jeff Law <law@redhat.com>
35155 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35156 When avoid_arena is set, don't retry in the that arena. Pick the
35157 next one, whatever it might be.
35158 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
35159 (arena_lock): Pass in new parameter to arena_get2.
35160 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
35162 (__libc_malloc): Unify retrying after main arena failure with
35163 __libc_memalign version.
35164 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
35166 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
35169 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35170 to __redirect_strstr.
35171 (__strstr_sse42): Use typeof __redirect_strstr.
35172 (__strstr_ia32): Likewise.
35173 (__libc_strstr): New prototype.
35174 (strstr): Renamed to ...
35175 (__libc_strstr): This.
35176 (strstr): New strong alias of __libc_strstr.
35177 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35178 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
35181 (__libc_time): New prototype.
35182 (time_ifunc): Replace time with __libc_time.
35183 (time): New strong alias and hidden definition of __libc_time.
35184 (__GI_time): Remove strong alias.
35185 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35186 Include <stddef.h>.
35187 (memmove): Redefined to __redirect_memmove.
35188 (__memmove_sse2): Use typeof __redirect_memmove.
35189 (__memmove_ssse3): Likewise.
35190 (__memmove_ssse3_back): Likewise.
35191 (__libc_memmove): New prototype.
35192 (memmove): Renamed to ...
35193 (__libc_memmove): This.
35194 (memmove): New strong alias of __libc_memmove.
35196 2012-08-08 Mark Salter <msalter@redhat.com>
35199 (R_MN10300_TLS_GD): Define.
35200 (R_MN10300_TLS_LD): Likewise.
35201 (R_MN10300_TLS_LDO): Likewise.
35202 (R_MN10300_TLS_GOTIE): Likewise.
35203 (R_MN10300_TLS_IE): Likewise.
35204 (R_MN10300_TLS_LE): Likewise.
35205 (R_MN10300_TLS_DTPMOD): Likewise.
35206 (R_MN10300_TLS_DTPOFF): Likewise.
35207 (R_MN10300_TLS_TPOFF): Likewise.
35208 (R_MN10300_SYM_DIFF): Likewise.
35209 (R_MN10300_ALIGN): Likewise.
35210 (R_MN10300_NUM): Update.
35212 2012-08-08 Joseph Myers <joseph@codesourcery.com>
35214 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
35217 2012-08-08 Roland McGrath <roland@hack.frob.com>
35219 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
35221 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
35222 sysdeps/unix -> sysdeps/posix move.
35223 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35225 2012-08-07 Allan McRae <allan@archlinux.org>
35228 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
35229 (SUNOS_CPP): Likewise.
35230 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
35232 (open_input): Call CPP using execvp.
35234 2012-08-07 Joseph Myers <joseph@codesourcery.com>
35236 * sysdeps/unix/sysv/linux/kernel-features.h
35237 (__ASSUME_PROT_GROWSUPDOWN): Remove.
35238 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35239 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35240 (__ASSUME_WAITID_SYSCALL): Likewise.
35241 * sysdeps/unix/sysv/linux/dl-execstack.c
35242 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
35243 code unconditional.
35244 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
35246 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
35247 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
35248 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
35250 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
35252 [__ASSUME_WAITID_SYSCALL]: Likewise.
35253 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
35255 2012-08-07 Roland McGrath <roland@hack.frob.com>
35257 * sysdeps/unix/closedir.c: Renamed to ...
35258 * sysdeps/posix/closedir.c: ... here.
35259 * sysdeps/unix/dirfd.c: Renamed to ...
35260 * sysdeps/posix/dirfd.c: ... here.
35261 * sysdeps/unix/dirstream.h: Renamed to ...
35262 * sysdeps/posix/dirstream.h: ... here.
35263 * sysdeps/unix/fdopendir.c: Renamed to ...
35264 * sysdeps/posix/fdopendir.c: ... here.
35265 * sysdeps/unix/opendir.c: Renamed to ...
35266 * sysdeps/posix/opendir.c: ... here.
35267 * sysdeps/unix/readdir.c: Renamed to ...
35268 * sysdeps/posix/readdir.c: ... here.
35269 * sysdeps/unix/readdir_r.c: Renamed to ...
35270 * sysdeps/posix/readdir_r.c: ... here.
35271 * sysdeps/unix/rewinddir.c: Renamed to ...
35272 * sysdeps/posix/rewinddir.c: ... here.
35273 * sysdeps/unix/seekdir.c: Renamed to ...
35274 * sysdeps/posix/seekdir.c: ... here.
35275 * sysdeps/unix/telldir.c: Renamed to ...
35276 * sysdeps/posix/telldir.c: ... here.
35277 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
35278 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
35279 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
35280 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
35282 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
35283 * bits/fcntl.h: ... here.
35285 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
35287 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
35288 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
35289 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
35290 (struct flock): Move l_start, l_len to the beginning.
35291 Use __pid_t for l_pid.
35292 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
35293 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
35294 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
35295 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
35296 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
35297 [__USE_LARGEFILE64] (struct flock64): New type.
35298 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
35300 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
35301 * bits/dirent.h: ... here.
35303 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
35304 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
35306 2012-08-07 Joseph Myers <joseph@codesourcery.com>
35308 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35309 Change from 2.6.0 to 2.6.16.
35310 * sysdeps/unix/sysv/linux/configure: Regenerated.
35311 * sysdeps/unix/sysv/linux/kernel-features.h
35312 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
35313 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
35315 (__ASSUME_UTIMES): Likewise.
35316 (__ASSUME_CLONE_STOPPED): Remove.
35317 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
35318 architectures, not kernel version.
35319 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
35320 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35321 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35322 (__ASSUME_WAITID_SYSCALL): Likewise.
35323 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
35324 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
35325 * README: State 2.6.16 as minimum Linux kernel version. Do not
35326 refer to older versions.
35328 2012-08-06 Roland McGrath <roland@hack.frob.com>
35330 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
35331 Define alphasort64 as an alias.
35332 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
35333 Define versionsort64 as an alias.
35334 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
35335 Define scandir64 as an alias.
35336 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
35337 Define scandirat64 as an alias.
35338 * dirent/alphasort64.c (alphasort64):
35339 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
35340 * dirent/versionsort64.c: Likewise.
35341 * dirent/scandir64.c: Likewise.
35342 * dirent/scandirat64.c: Likewise.
35343 * sysdeps/wordsize-64/alphasort.c: File removed.
35344 * sysdeps/wordsize-64/alphasort64.c: File removed.
35345 * sysdeps/wordsize-64/scandir.c: File removed.
35346 * sysdeps/wordsize-64/scandir64.c: File removed.
35347 * sysdeps/wordsize-64/scandirat.c: File removed.
35348 * sysdeps/wordsize-64/scandirat64.c: File removed.
35349 * sysdeps/wordsize-64/versionsort.c: File removed.
35350 * sysdeps/wordsize-64/versionsort64.c: File removed.
35351 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
35352 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
35353 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
35354 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
35355 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
35356 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
35357 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
35358 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
35360 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
35361 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35362 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
35363 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35364 [defined __arch64__ || defined __sparcv9]
35365 (__INO_T_MATCHES_INO64_T): New macro.
35366 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35367 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
35368 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
35369 * sysdeps/unix/sysv/linux/bits/dirent.h
35370 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
35371 (_DIRENT_MATCHES_DIRENT64): New macro.
35373 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
35374 Define lockf64 as an alias.
35375 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
35376 Define fseeko64 as an alias.
35377 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
35378 Define ftello64 as an alias.
35379 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
35380 Define _IO_fgetpos64 and fgetpos64 as aliases.
35381 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
35382 Define _IO_fsetpos64 and fsetpos64 as aliases.
35383 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
35384 Conditionalize body on this.
35385 * libio/fseeko64.c: Likewise.
35386 * libio/ftello64.c: Likewise.
35387 * libio/iofgetpos64.c: Likewise.
35388 * libio/iofsetpos64.c: Likewise.
35389 * sysdeps/wordsize-64/lockf.c: File removed.
35390 * sysdeps/wordsize-64/lockf64.c: File removed.
35391 * sysdeps/wordsize-64/fseeko.c: File removed.
35392 * sysdeps/wordsize-64/fseeko64.c: File removed.
35393 * sysdeps/wordsize-64/ftello.c: File removed.
35394 * sysdeps/wordsize-64/ftello64.c: File removed.
35395 * sysdeps/wordsize-64/iofgetpos.c: File removed.
35396 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
35397 * sysdeps/wordsize-64/iofsetpos.c: File removed.
35398 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
35399 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
35400 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
35401 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
35402 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
35403 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
35404 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
35405 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
35406 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
35407 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
35408 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
35410 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35411 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35412 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
35413 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35414 [defined __arch64__ || defined __sparcv9]
35415 (__OFF_T_MATCHES_OFF64_T): New macro.
35416 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35417 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35418 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35419 (__OFF_T_MATCHES_OFF64_T): New macro.
35421 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35423 * stdlib/secure-getenv.c (__secure_getenv): Replace
35424 GLIBC_2_16 with GLIBC_2_17.
35426 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35428 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
35429 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35431 2012-08-03 David S. Miller <davem@davemloft.net>
35433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35435 2012-08-03 Joseph Myers <joseph@codesourcery.com>
35437 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
35439 (__ASSUME_CORRECT_SI_PID): Likewise.
35440 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
35441 (__ASSUME_TMPFS_NAME): Likewise.
35442 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
35443 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
35444 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
35445 (HAVE_AUX_SECURE): Make definition unconditional.
35446 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
35447 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
35449 2012-08-03 Roland McGrath <roland@hack.frob.com>
35451 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
35452 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
35453 * sysdeps/mach/hurd/eloop-threshold.h: New file.
35454 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35455 __eloop_threshold instead of SYMLOOP_MAX.
35457 * sysdeps/generic/eloop-threshold.h: New file.
35458 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
35460 * elf/chroot_canon.c (chroot_canon): Likewise.
35462 2012-08-03 Joseph Myers <joseph@codesourcery.com>
35465 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35466 Change to 2.6.0 everywhere.
35467 * sysdeps/unix/sysv/linux/configure: Regenerated.
35468 * sysdeps/unix/sysv/linux/kernel-features.h
35469 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
35470 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
35472 (__ASSUME_POSIX_TIMERS): Define unconditionally.
35473 (__ASSUME_FUTEX_REQUEUE): Remove.
35474 (__ASSUME_STATFS64): Define unconditionally.
35475 (__ASSUME_AT_SECURE): Likewise.
35476 (__ASSUME_CORRECT_SI_PID): Likewise.
35477 (__ASSUME_TGKILL): Define without depending on kernel version for
35479 (__ASSUME_UTIMES): Likewise.
35480 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
35482 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
35483 (__ASSUME_TMPFS_NAME): Likewise.
35484 * README: Update reference to Linux kernel versions.
35486 2012-08-02 Marek Polacek <polacek@redhat.com>
35489 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
35490 libc_cv_asm_type_prefix with %.
35491 * configure: Regenerated.
35492 * include/libc-symbols.h: Remove comment about
35493 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35494 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
35495 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
35496 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
35497 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
35498 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35499 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
35500 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
35501 * elf/tst-unique2mod1.c: Likewise.
35502 * elf/tst-unique1mod2.c: Likewise.
35503 * elf/tst-unique1mod1.c: Likewise.
35504 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
35505 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
35506 Replace ASM_TYPE_DIRECTIVE with .type.
35507 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35508 * sysdeps/i386/sysdep.h: Likewise.
35509 * sysdeps/x86_64/sysdep.h: Likewise.
35510 * sysdeps/sh/sysdep.h: Likewise.
35511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35512 Do not define ASM_TYPE_DIRECTIVE.
35513 * sysdeps/powerpc/sysdep.h: Likewise.
35514 * sysdeps/powerpc/powerpc32/sysdep.h:
35515 Replace ASM_TYPE_DIRECTIVE with .type.
35516 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35517 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35518 * sysdeps/i386/fpu/e_powf.S: Likewise.
35519 * sysdeps/i386/fpu/e_expl.S: Likewise.
35520 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35521 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35522 * sysdeps/i386/fpu/e_pow.S: Likewise.
35523 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35524 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35525 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35526 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35527 * sysdeps/i386/fpu/e_log2.S: Likewise.
35528 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35529 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35530 * sysdeps/i386/fpu/e_powl.S: Likewise.
35531 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35532 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35533 * sysdeps/i386/fpu/e_logl.S: Likewise.
35534 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35535 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35536 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35537 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35538 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35539 * sysdeps/i386/fpu/e_log.S: Likewise.
35540 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35541 * sysdeps/i386/fpu/e_logf.S: Likewise.
35542 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35543 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35544 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35545 * sysdeps/i386/fpu/e_log10.S: Likewise.
35546 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35547 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35548 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35549 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35550 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35551 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
35552 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35553 * sysdeps/i386/i686/strtok.S: Likewise.
35554 * sysdeps/i386/i386-mcount.S: Likewise.
35555 * sysdeps/i386/strtok.S: Likewise.
35556 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
35557 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35558 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35559 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35560 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35561 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35562 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35563 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35564 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35565 * sysdeps/x86_64/_mcount.S: Likewise.
35566 * sysdeps/x86_64/strtok.S: Likewise.
35567 * sysdeps/sh/_mcount.S: Likewise.
35569 2012-08-01 Roland McGrath <roland@hack.frob.com>
35571 * libio/iofopen.c: Include <fcntl.h>.
35572 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
35573 (_IO_fopen64, fopen64): Define as aliases.
35574 * libio/iofopen64.c: Include <fcntl.h>.
35575 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
35576 Conditionalize body on this.
35577 * sysdeps/wordsize-64/iofopen.c: File removed.
35578 * sysdeps/wordsize-64/iofopen64.c: File removed.
35580 2012-08-01 Marek Polacek <polacek@redhat.com>
35582 * libc/Makeconfig: Use elf in place of binfmt-subdir.
35583 Use dlfcn directly instead of a variable.
35584 (binfmt-subdir): Do not define.
35587 2012-08-01 Joseph Myers <joseph@codesourcery.com>
35589 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
35590 Remove all definitions.
35591 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
35592 <kernel-features.h>.
35593 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35594 (miss_F_GETOWN_EX): Remove all definitions.
35595 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
35597 [!__ASSUME_FCNTL64]: Remove conditional code.
35598 [__ASSUME_FCNTL64]: Make code unconditional.
35599 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
35600 <kernel-features.h>.
35601 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35602 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
35603 (lockf64) [__NR_fcntl64]: Make code unconditional.
35604 (lockf64) [__ASSUME_FCNTL64]: Likewise.
35606 * sysdeps/unix/sysv/linux/kernel-features.h
35607 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
35608 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
35609 Make code unconditional.
35610 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35611 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
35613 [__NR_vfork]: Make code unconditional.
35614 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35615 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
35617 [__NR_vfork]: Make code unconditional.
35618 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35619 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35621 2012-08-01 Roland McGrath <roland@hack.frob.com>
35623 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
35624 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
35626 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35627 Define mkstemp64 as an alias.
35628 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35629 Define mkstemps64 as an alias.
35630 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35631 Define mkostemp64 as an alias.
35632 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35633 Define mkostemps64 as an alias.
35634 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
35635 Conditionalize body on this.
35636 * misc/mkostemp64.c: Likewise.
35637 * misc/mkostemps64.c: Likewise.
35638 * misc/mkstemps64.c: Likewise.
35639 * sysdeps/wordsize-64/mkstemp64.c: File removed.
35640 * sysdeps/wordsize-64/mkostemp64.c: File removed.
35641 * sysdeps/wordsize-64/mkostemp.c: File removed.
35642 * sysdeps/wordsize-64/mkstemp.c: File removed.
35643 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
35644 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
35645 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
35646 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
35649 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
35650 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
35651 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
35652 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
35654 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
35655 compat_symbol macros from <shlib-compat.h> rather than the underlying
35656 default_symbol_version and symbol_version macros, so that DEFAULT
35657 lines in shlib-versions are respected.
35658 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
35660 2012-08-01 Florian Weimer <fweimer@redhat.com>
35662 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
35663 Declare with warn_unused_result.
35664 (setgid, setregid, setegid, setresgid): Likewise.
35665 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
35667 * WUR-REPORT: Remove set*id functions.
35669 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
35671 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
35673 2012-07-31 Roland McGrath <roland@hack.frob.com>
35676 * include/sys/socket.h (__libc_accept, __libc_accept4):
35677 Add attribute_hidden.
35678 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
35680 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
35682 * inet/getnetgrent_r.c (setup): Likewise.
35684 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
35686 2012-07-31 David S. Miller <davem@davemloft.net>
35688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35690 2012-07-31 Joseph Myers <joseph@codesourcery.com>
35693 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
35694 value between 1.0 and 2.0 and smaller part has absolute value less
35696 * math/s_clog10.c (__clog10): Likewise.
35697 * math/s_clog10f.c (__clog10f): Likewise.
35698 * math/s_clog10l.c (__clog10l): Likewise.
35699 * math/s_clogf.c (__clogf): Likewise.
35700 * math/s_clogl.c (__clogl): Likewise.
35701 * math/libm-test.inc (clog_test): Add more tests.
35702 (clog10_test): Likewise.
35703 * sysdeps/i386/fpu/libm-test-ulps: Update.
35704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35706 2012-07-31 Florian Weimer <fweimer@redhat.com>
35708 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
35709 Exit with zero in case no suitable GID is found, and write a
35710 message to standard error.
35712 2012-07-30 Roland McGrath <roland@hack.frob.com>
35714 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
35716 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
35717 (MAXPATHLEN): Removed.
35718 (NOGROUP, NODEV): New macros.
35719 (setbit, clrbit, isset, isclr): New macros.
35720 (howmany, roundup, powerof2): New macros.
35721 (DEV_BSIZE): New macro.
35723 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
35724 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
35726 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
35727 definition on [!__NO_LONG_DOUBLE_MATH].
35729 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
35730 PTR_MANGLE and PTR_DEMANGLE.
35732 * socket/accept4.c (accept4): Rename to __libc_accept4.
35733 Define accept4 as a weak alias.
35735 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
35736 on [_DIRENT_HAVE_D_TYPE].
35737 * io/ftw.c (ftw_dir): Likewise.
35739 * io/xmknod.c (__xmknod): Don't check PATH for being null.
35741 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
35743 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
35744 Use the BSD numbers rather than the arbitrary ones we had.
35745 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
35746 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
35747 (SIGXCPU, SIGXFSZ): New macros.
35750 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
35751 initializer on [_LIBC_REENTRANT].
35753 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
35754 definitions inside [_POSIX_MAPPED_FILES].
35756 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
35758 * dirent/opendir.c: Include <fcntl.h>.
35760 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
35761 (__libc_getspecific): Likewise.
35762 (__libc_key_create): Likewise.
35764 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
35765 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
35766 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
35767 (tmpfile64): Define as alias.
35768 * sysdeps/wordsize-64/tmpfile.c: File removed.
35769 * sysdeps/wordsize-64/tmpfile64.c: File removed.
35770 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
35771 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
35773 * stdio-common/vfscanf.c: Include <stdbool.h>.
35774 * nss/makedb.c: Likewise.
35775 * stdio-common/_i18n_number.h: Likewise.
35776 * argp/argp-help.c: Likewise.
35777 * posix/wordexp.c: Likewise.
35778 * sysdeps/posix/spawni.c: Likewise.
35779 * nss/nss_files/files-initgroups.c: Likewise.
35780 * stdio-common/reg-modifier.c: Include <stdlib.h>.
35781 * nss/nss_files/files-initgroups.c: Likewise.
35782 * nss/nss_db/db-netgrp.c: Likewise.
35783 * nss/nss_db/db-initgroups.c: Likewise.
35784 * io/fchmodat.c: Include <sys/stat.h>.
35786 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
35787 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
35789 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
35792 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
35793 Add multiple inclusion protection.
35795 2012-07-27 David S. Miller <davem@davemloft.net>
35797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35799 2012-07-27 Gary Benson <gbenson@redhat.com>
35802 * elf/rtld.c: Include <stap-probe.h>.
35803 (dl_main): Added static probes "init_start" and "init_complete".
35804 * elf/dl-load.c: Include <stap-probe.h>.
35805 (lose): Take new parameter "nsid".
35806 Added static probe "map_failed".
35807 (_dl_map_object_from_fd): Pass namespace id to lose.
35808 Added static probe "map_start".
35809 (open_verify): Pass namespace id to lose.
35810 * elf/dl-open.c: Include <stap-probe.h>.
35811 (dl_open_worker) Added static probes "map_complete", "reloc_start"
35812 and "reloc_complete".
35813 * elf/dl-close.c: Include <stap-probe.h>.
35814 (_dl_close_worker): Added static probes "unmap_start" and
35816 * elf/rtld-debugger-interface.txt: New file documenting the above.
35818 2012-07-26 Roland McGrath <roland@hack.frob.com>
35820 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
35821 rather than a string variable.
35822 * sunrpc/rpc_main.c (h_output): Likewise.
35823 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
35825 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
35827 * inet/check_native.c: New file.
35829 2012-07-26 Joseph Myers <joseph@codesourcery.com>
35832 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
35833 if larger part has absolute value 1.0.
35834 * math/s_clog10.c (__clog10): Likewise.
35835 * math/s_clog10f.c (__clog10f): Likewise.
35836 * math/s_clog10l.c (__clog10l): Likewise.
35837 * math/s_clogf.c (__clogf): Likewise.
35838 * math/s_clogl.c (__clogl): Likewise.
35839 * math/libm-test.inc (clog_test): Add more tests.
35840 (clog10_test): Likewise.
35841 * sysdeps/i386/fpu/libm-test-ulps: Update.
35842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35844 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
35845 (pltexit): Likewise.
35846 (La_regs): Likewise.
35847 (La_retval): Likewise.
35848 (int_retval): Likewise.
35849 Update #error for removed macros to refer only to definitions in
35851 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
35853 (pltexit): Likewise.
35854 (La_regs): Likewise.
35855 (La_retval): Likewise.
35856 (int_retval): Likewise.
35857 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
35859 (pltexit): Likewise.
35860 (La_regs): Likewise.
35861 (La_retval): Likewise.
35862 (int_retval): Likewise.
35863 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
35865 (pltexit): Likewise.
35866 (La_regs): Likewise.
35867 (La_retval): Likewise.
35868 (int_retval): Likewise.
35869 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
35871 (pltexit): Likewise.
35872 (La_regs): Likewise.
35873 (La_retval): Likewise.
35874 (int_retval): Likewise.
35875 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
35877 (pltexit): Likewise.
35878 (La_regs): Likewise.
35879 (La_retval): Likewise.
35880 (int_retval): Likewise.
35881 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
35883 (pltexit): Likewise.
35884 (La_regs): Likewise.
35885 (La_retval): Likewise.
35886 (int_retval): Likewise.
35887 * sysdeps/generic/tst-audit.h: Update comment to refer only to
35888 macro definitions in tst-audit.h.
35889 * sysdeps/i386/tst-audit.h: New file.
35890 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
35891 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
35892 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
35893 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
35894 * sysdeps/sh/tst-audit.h: Likewise.
35895 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
35896 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
35897 * sysdeps/x86_64/tst-audit.h: Likewise.
35899 2012-07-26 Andreas Jaeger <aj@suse.de>
35901 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
35904 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
35905 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
35906 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
35908 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
35909 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
35910 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
35912 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
35915 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
35917 (si_call_addr, si_syscall, si_arch): Define new macro.
35918 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
35920 (si_call_addr, si_syscall, si_arch): Define new marcro.
35921 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
35923 (si_call_addr, si_syscall, si_arch): Define new macro.
35924 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
35926 (si_call_addr, si_syscall, si_arch): Define new macro.
35928 2012-07-25 Joseph Myers <joseph@codesourcery.com>
35931 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35932 Change to 2.4.21 where previously 2.4.1.
35933 * sysdeps/unix/sysv/linux/configure: Regenerated.
35934 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
35935 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
35936 Linux kernel version.
35937 (__ASSUME_STD_AUXV): Remove.
35938 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
35940 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
35941 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
35942 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
35943 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
35944 (__ASSUME_NETLINK_SUPPORT): Likewise.
35945 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
35946 (__no_netlink_support): Remove conditional definition.
35947 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
35949 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35950 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
35951 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
35952 (if_nameindex_ioctl): Remove.
35953 (if_nameindex_netlink): Do not handle __no_netlink_support.
35954 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35956 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
35957 Remove conditional code.
35958 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35960 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35962 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35963 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35964 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35966 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35967 [!__ASSUME_STD_AUXV]: Remove conditional code.
35968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35969 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35970 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35972 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35973 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35975 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35977 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
35978 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35980 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35982 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35985 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
35988 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35989 code unconditional.
35990 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35992 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35994 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35997 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35999 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36002 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36003 code unconditional.
36004 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36006 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36008 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36011 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36012 code unconditional.
36013 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36015 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36017 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36020 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
36022 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36023 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36024 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36025 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36026 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
36027 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36028 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36029 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
36030 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
36031 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36032 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
36033 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
36034 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
36035 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36036 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
36037 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
36038 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
36039 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
36040 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
36041 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
36042 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
36043 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
36044 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36046 2012-07-25 Florian Weimer <fweimer@redhat.com>
36048 * Versions.def: Add GLIBC_2.17.
36049 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
36050 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
36051 Introduce __libc_secure_getenv.
36052 * stdlib/Versions (2.17): Add secure_getenv
36053 (GLIBC_PRIVATE): Add __libc_secure_getenv.
36054 * stdlib/secure-getenv.c: Rename __secure_getenv to
36055 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
36056 symbol __secure_getenv for GLIBC_2.0.
36057 * stdlib/tst-secure-getenv.c: New.
36058 * stdlib/Makefile (tests): Add testcase.
36059 * manual/startup.texi (Environment Access): Document
36061 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
36062 __libc_secure_getenv.
36063 * inet/ruserpass.c (ruserpass): Likewise.
36064 * malloc/mtrace.c (mtrace): Likewise.
36065 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
36066 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
36067 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36068 * sysdeps/posix/tempname.c: Likewise. Evaluate
36069 HAVE_SECURE_GETENV.
36070 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
36071 __secure_getenv to __libc_secure_getenv.
36072 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
36073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36079 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36083 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36085 2012-07-25 Joseph Myers <joseph@codesourcery.com>
36087 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36088 (struct La_i86_retval): Likewise.
36089 (struct La_x86_64_regs): Likewise.
36090 (struct La_x86_64_retval): Likewise.
36091 (struct La_x32_regs): Likewise.
36092 (struct La_x32_retval): Likewise.
36093 (struct La_ppc32_regs): Likewise.
36094 (struct La_ppc32_retval): Likewise.
36095 (struct La_ppc64_regs): Likewise.
36096 (struct La_ppc64_retval): Likewise.
36097 (struct La_sh_regs): Likewise.
36098 (struct La_sh_retval): Likewise.
36099 (struct La_s390_32_regs): Likewise.
36100 (struct La_s390_32_retval): Likewise.
36101 (struct La_s390_64_regs): Likewise.
36102 (struct La_s390_64_retval): Likewise.
36103 (struct La_sparc32_regs): Likewise.
36104 (struct La_sparc32_retval): Likewise.
36105 (struct La_sparc64_regs): Likewise.
36106 (struct La_sparc64_retval): Likewise.
36107 (struct audit_ifaces): Remove architecture-specific pltenter and
36109 * sysdeps/i386/ldsodefs.h: New file.
36110 * sysdeps/powerpc/ldsodefs.h: Likewise.
36111 * sysdeps/s390/ldsodefs.h: Likewise.
36112 * sysdeps/sh/ldsodefs.h: Likewise.
36113 * sysdeps/sparc/ldsodefs.h: Likewise.
36114 * sysdeps/x86_64/ldsodefs.h: Likewise.
36116 2012-07-25 Marek Polacek <polacek@redhat.com>
36119 * math/libm-test.inc (yn_test): Add another test.
36120 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36121 to ERANGE when the result is +-Inf.
36122 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36123 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36124 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36125 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36127 2012-07-24 Joseph Myers <joseph@codesourcery.com>
36129 * conform/data/time.h-data (NULL): Use macro-constant. Require
36131 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
36133 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
36135 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
36137 * configure.in <sysdeps resolving>: Correct printing
36139 * configure: Regenerate.
36141 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
36143 * math/w_ilogb.c: Include <limits.h>.
36144 * math/w_ilogbl.c: Likewise.
36146 2012-07-20 Joseph Myers <joseph@codesourcery.com>
36148 * manual/lang.texi (__va_copy): Document primarily as ISO C99
36149 va_copy. Document allowing for unavailable va_copy only as
36150 pre-C99 compatibility.
36151 * manual/string.texi (Copying and Concatenation): Use va_copy
36152 instead of __va_copy in concat example.
36154 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
36156 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
36157 (__sendto): Use create_address_port. Initialize APORT and deallocate
36160 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
36161 with O_NOLINK passed to __file_name_lookup.
36163 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
36164 with O_NOLINK passed to __file_name_lookup.
36166 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
36167 negative N or less than NGIDS.
36169 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36170 type to string_t. Set ERANGE as errno and return it if NAME is not big
36171 enough. Use memcpy instead of strncpy.
36173 2012-07-20 Joseph Myers <joseph@codesourcery.com>
36175 * elf/Makefile (check-data): Remove.
36176 (localplt.data): New vpath directive.
36177 ($(objpfx)check-localplt.out): Use localplt.data from vpath
36178 instead of $(check-data).
36179 * scripts/data/localplt-generic.data: Move to ...
36180 * sysdeps/generic/localplt.data: ... here.
36181 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
36182 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
36183 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
36184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36186 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
36187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36189 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
36190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
36192 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
36193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36195 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
36196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
36198 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
36199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
36202 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36204 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
36205 PPC32 and PPC64 files.
36206 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
36207 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
36209 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36211 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
36212 __makecontext_ret to ...
36213 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
36214 ... here and call exit if uc_link is NULL. New file.
36215 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
36216 __makecontext_ret.S.
36217 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
36218 __makecontext_ret to ...
36219 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36220 ... here and call exit if uc_link is NULL. New file.
36221 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
36222 __makecontext_ret.S.
36224 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36226 * elf/elf.h (R_390_IRELATIVE): New definition.
36227 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
36228 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
36229 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
36230 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36231 (elf_machine_lazy_rel): Likewise.
36232 * sysdeps/s390/dl-irel.h: New file.
36233 * sysdeps/s390/s390-64/memcpy.S: New asm code.
36234 * sysdeps/s390/s390-64/memset.S: New asm code.
36235 * sysdeps/s390/s390-64/memcmp.S: New asm code.
36236 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
36237 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
36238 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
36239 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
36240 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
36241 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
36242 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
36243 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
36244 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
36245 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
36246 * sysdeps/s390/s390-32/memcpy.S: New asm code.
36247 * sysdeps/s390/s390-32/memset.S: New asm code.
36248 * sysdeps/s390/s390-32/memcmp.S: New asm code.
36250 2012-07-17 Marek Polacek <polacek@redhat.com>
36253 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
36254 * sysdeps/s390/s390-64/configure.in: Likewise.
36255 * sysdeps/sparc/configure.in: Likewise.
36256 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
36257 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
36258 * sysdeps/i386/configure.in: Likewise.
36259 * sysdeps/x86_64/configure.in: Likewise.
36260 * sysdeps/sh/configure.in: Likewise.
36261 * sysdeps/s390/s390-32/configure: Regenerated.
36262 * sysdeps/s390/s390-64/configure: Likewise.
36263 * sysdeps/x86_64/configure: Likewise.
36264 * sysdeps/sh/configure: Likewise.
36265 * sysdeps/powerpc/powerpc64/configure: Likewise.
36266 * sysdeps/powerpc/powerpc32/configure: Likewise.
36267 * sysdeps/sparc/configure: Likwise.
36268 * sysdeps/i386/configure: Likewise.
36270 * elf/dl-open.c: Comment fixes.
36272 2012-07-17 Joseph Myers <joseph@codesourcery.com>
36274 * Makefile [CXX] (check-data): Remove.
36275 [CXX] (c++-types.data): New vpath directive.
36276 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
36277 vpath. Do not allow for C++ type data being missing.
36278 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
36279 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
36280 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
36281 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
36282 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
36283 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
36284 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
36285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36287 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
36288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36290 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
36291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
36293 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
36294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
36296 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
36297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
36299 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
36300 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
36302 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
36303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
36305 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
36306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
36308 * elf/tls-macros.h (TLS_LE): Move architecture-specific
36309 definitions to architecture-specific files.
36310 (TLS_IE): Likewise.
36311 (TLS_LD): Likewise.
36312 (TLS_GD): Likewise.
36313 * sysdeps/i386/tls-macros.h: New file.
36314 * sysdeps/powerpc/tls-macros.h: Likewise.
36315 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
36316 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
36317 * sysdeps/sh/tls-macros.h: Likewise.
36318 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
36319 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
36320 * sysdeps/x86_64/tls-macros.h: Likewise.
36322 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36324 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
36325 zero value for regular exit case.
36327 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
36328 (__start_context): Preserve zero value for regular exit case.
36330 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36331 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36333 * manual/setjmp.texi (setcontext): Clarify normal process
36334 termination when uc_link is the null pointer.
36335 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
36338 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
36340 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
36341 preprocessor. Test for each exception mask separately.
36343 2012-07-16 Andreas Jaeger <aj@suse.de>
36345 * po/ru.po: Update from translation team.
36347 2012-07-15 Joseph Myers <joseph@codesourcery.com>
36349 * conform/data/string.h-data (NULL): Use macro-constant. Require
36351 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36352 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36353 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
36354 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
36355 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36357 2012-07-13 Andreas Jaeger <aj@suse.de>
36359 * po/fr.po: Update from translation team.
36361 2012-07-12 Marek Polacek <polacek@redhat.com>
36364 * math/libm-test.inc (yn_test): Add test for BZ #14173.
36365 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
36368 2012-07-12 Joseph Myers <joseph@codesourcery.com>
36371 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36372 Change to 2.4.1 where previously 2.4.0.
36373 * sysdeps/unix/sysv/linux/configure: Regenerated.
36374 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
36375 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
36377 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
36378 (__ASSUME_AT_CLKTCK): Remove.
36379 (__ASSUME_AT_PAGESIZE): Likewise.
36380 (__ASSUME_AT_XID): Likewise.
36381 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
36382 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
36383 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
36385 (HAVE_AUX_PAGESIZE): Likewise.
36386 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
36387 [__ASSUME_AT_CLKTCK]: Make code unconditional.
36388 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
36390 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
36393 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
36394 the temporary buffer used to invoke __gethostbyname2_r,
36395 __gethostbyaddr_r and gethostbyname4_r to make room for struct
36396 host_data / struct gaih_addrtuple.
36397 * resolv/nss_dns/dns-host.c (global scope): Move definition of
36398 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
36399 header file nss/nsswitch.h.
36400 * nss/nsswitch.h (global scope): Add definition of implementation
36401 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
36402 resolv/nss_dns/dns-host.c).
36404 2012-07-11 Andreas Jaeger <aj@suse.de>
36406 * po/fr.po: Update from translation team.
36408 * po/sv.po: Update from translation team
36409 * po/fr.po: Another update from translation team.
36411 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36413 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
36414 for subnormals or multiply small sinh result by itself.
36415 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36418 2012-07-11 David S. Miller <davem@davemloft.net>
36420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36422 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
36425 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
36426 (INTERNAL_MARK): Shift it here.
36428 2012-07-10 Marek Polacek <polacek@redhat.com>
36431 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
36432 libc_cv_asm_global_directive with .globl.
36433 * configure: Regenerated.
36434 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
36436 * sysdeps/i386/configure: Regenerated.
36437 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
36439 * sysdeps/x86_64/configure: Regenerated.
36440 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
36441 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
36442 * elf/tst-unique2mod2.c: Likewise.
36443 * elf/tst-unique2mod1.c: Likewise.
36444 * elf/tst-unique1mod2.c: Likewise.
36445 * elf/tst-unique1mod1.c: Likewise.
36446 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36447 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36448 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36449 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36450 * sysdeps/mach/sysdep.h: Likewise.
36451 * sysdeps/i386/sysdep.h: Likewise.
36452 * sysdeps/i386/i386-mcount.S: Likewise.
36453 * sysdeps/x86_64/_mcount.S: Likewise.
36454 * sysdeps/x86_64/sysdep.h: Likewise.
36455 * sysdeps/sh/_mcount.S: Likewise.
36456 * sysdeps/sh/sysdep.h: Likewise.
36457 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
36458 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
36459 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
36460 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36461 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
36462 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
36463 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
36464 * locale/localeinfo.h: Likewise.
36465 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
36466 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
36468 2012-07-09 Roland McGrath <roland@hack.frob.com>
36471 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
36473 * manual/message.texi (The Uniforum approach): Likewise.
36474 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
36475 (glibc iconv Implementation): Likewise.
36477 2012-07-09 Joseph Myers <joseph@codesourcery.com>
36480 * math/s_clog.c (__clog): Avoid scaling a value down where that
36481 could result in underflow.
36482 * math/s_clog10.c (__clog10): Likewise.
36483 * math/s_clog10f.c (__clog10f): Likewise.
36484 * math/s_clog10l.c (__clog10l): Likewise.
36485 * math/s_clogf.c (__clogf): Likewise.
36486 * math/s_clogl.c (__clogl): Likewise.
36487 * math/libm-test.inc (clog_test): Add more tests.
36488 (clog10_test): Likewise.
36489 * sysdeps/i386/fpu/libm-test-ulps: Update.
36490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36492 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
36495 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
36496 by 7 not 8 to examine high bit of fractional part.
36499 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
36500 for call to __mcount_internal.
36501 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
36502 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
36503 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
36505 2012-07-06 Joseph Myers <joseph@codesourcery.com>
36508 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
36509 approximation for values within 0x1p-13f of an odd multiple of
36511 * math/libm-test.inc (tan_test): Do not allow spurious underflow
36512 exception. Add more tests.
36513 * sysdeps/i386/fpu/libm-test-ulps: Update.
36516 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
36517 inputs and return -1 for them. Do not check for +Inf in case not
36518 reachable for +Inf.
36519 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
36520 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
36521 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36522 and return -1 for them. Do not check for +Inf in case not
36523 reachable for +Inf.
36524 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
36526 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36527 and return -1 for them. Do not check for +Inf in case not
36528 reachable for +Inf.
36529 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
36530 spurious underflow.
36531 * sysdeps/i386/fpu/libm-test-ulps: Update.
36532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36534 2012-07-06 Mike Frysinger <vapier@gentoo.org>
36536 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
36538 2012-07-05 Joseph Myers <joseph@codesourcery.com>
36542 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
36543 could result in spurious underflow. Scale down values above
36544 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
36545 * math/s_csqrtf.c (__csqrtf): Likewise.
36546 * math/s_csqrtl.c (__csqrtl): Likewise.
36547 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
36548 spurious underflow.
36549 * sysdeps/i386/fpu/libm-test-ulps: Update.
36550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36552 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
36554 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
36556 * catgets/xopen-msg.awk: New file.
36557 * catgets/xopen-msg.sed: Removed.
36559 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
36561 * intl/po2test.awk: New file.
36562 * intl/po2test.sed: Removed.
36564 2012-07-04 Joseph Myers <joseph@codesourcery.com>
36567 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
36568 or multiply small sinh result by itself.
36569 * math/s_ctanf.c (__ctanf): Likewise.
36570 * math/s_ctanh.c (__ctanh): Likewise.
36571 * math/s_ctanhf.c (__ctanhf): Likewise.
36572 * math/s_ctanhl.c (__ctanhl): Likewise.
36573 * math/s_ctanl.c (__ctanl): Likewise.
36574 * math/libm-test.inc (ctan_test_tonearest): New function.
36575 (ctan_test_towardzero): Likewise.
36576 (ctan_test_downward): Likewise.
36577 (ctan_test_upward): Likewise.
36578 (ctanh_test_tonearest): Likewise.
36579 (ctanh_test_towardzero): Likewise.
36580 (ctanh_test_downward): Likewise.
36581 (ctanh_test_upward): Likewise.
36582 (main): Call these new functions.
36583 * sysdeps/i386/fpu/libm-test-ulps: Update.
36584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36586 2012-07-03 Mike Frysinger <vapier@gentoo.org>
36588 * .gitignore: Delete /ports entry.
36590 2012-07-03 Andreas Jaeger <aj@suse.de>
36592 * po/bg.po: Update from translation team.
36593 * po/cs.po: Likewise.
36594 * po/de.po: Likewise.
36595 * po/hr.po: Likewise.
36596 * po/nl.pl: Likewise.
36597 * po/pl.po: Likewise.
36598 * po/vi.po: Likewise.
36600 2012-07-03 Joseph Myers <joseph@codesourcery.com>
36602 * Makeconfig [!+link] (+link-before-libc): New variable.
36603 [!+link] (+link-after-libc): Likewise.
36604 [!+link] (+link-tests): Likewise.
36605 [!+link] (+link): Define in terms of $(+link-before-libc) and
36606 $(+link-after-libc).
36607 [!+link-static] (+link-static-before-libc): New variable.
36608 [!+link-static] (+link-static-after-libc): Likewise.
36609 [!+link-static] (+link-static-tests): Likewise.
36610 [!+link-static] (+link-static): Define in terms of
36611 $(+link-static-before-libc) and $(+link-static-after-libc).
36612 [build-shared] (link-libc-before-gnulib): New variable.
36613 [build-shared] (link-libc-tests): Likewise.
36614 [build-shared] (link-libc): Define in terms of
36615 $(link-libc-before-gnulib).
36616 [!build-shared] (link-libc-tests): New variable.
36617 (link-libc-static-tests): New variable.
36618 [!gnulib] (gnulib-arch): New variable.
36619 [!gnulib] (gnulib-tests): Likewise.
36620 [!gnulib] (static-gnulib-arch): Likewise.
36621 [!gnulib] (static-gnulib-tests): Likewise.
36622 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
36623 Define with "=" instead of ":=".
36624 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
36625 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
36626 * Rules (binaries-all-notests): New variable.
36627 (binaries-all-tests): Likewise.
36628 (binaries-static-notests): Likewise.
36629 (binaries-static-tests): Likewise.
36630 (binaries-all): Define using $(binaries-all-notests) and
36631 $(binaries-all-tests).
36632 (binaries-static): Define using $(binaries-static-notests) and
36633 $(binaries-static-tests).
36634 (binaries-shared-tests): New variable.
36635 (binaries-shared-notests): Likewise.
36636 (binaries-shared): Remove variable.
36637 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
36638 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
36639 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
36640 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
36641 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
36642 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
36643 * elf/Makefile (sln-modules): New variable.
36644 (extra-objs): Add $(sln-modules:=.o).
36645 (ldconfig-modules): Add static-stubs.
36646 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
36647 * elf/static-stubs.c: New file.
36650 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
36651 by 7 not 8 to examine high bit of fractional part. Use volatile
36652 variables when splitting into final array of floats if
36653 __FLT_EVAL_METHOD__ != 0.
36654 * math/libm-test.inc (cos_test): Add another test.
36655 (sin_test): Likewise.
36656 * sysdeps/i386/fpu/libm-test-ulps: Update.
36659 * math/libm-test.inc (cosh_test): Add more tests.
36661 * version.h (RELEASE): Set to "development".
36662 (VERSION): Set to "2.16.90".
36664 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
36666 * NEWS: Update copyright. Remove last-updated date.
36667 Mention math library bug fixes and timezone data changes.
36668 * README: Mention GNU/Hurd, x32, and HPPA support status.
36670 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
36672 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
36674 2012-06-27 Andreas Jaeger <aj@suse.de>
36676 * manual/contrib.texi (Contributors): Add Samuel Thibault.
36678 2012-06-25 Andreas Jaeger <aj@suse.de>
36680 * sysdeps/s390/fpu/libm-test-ulps: Update.
36682 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
36683 Thomas Schwinge <thomas@codesourcery.com>
36685 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
36686 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
36687 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
36690 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
36692 * sysdeps/mach/start.c: Remove file.
36693 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
36694 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
36695 * sysdeps/sh/init-first.c: Likewise.
36697 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
36698 registers for frame unwinding purposes, add CFI directives.
36699 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36700 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
36701 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
36704 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
36705 __fortify_fail returning.
36706 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36708 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
36709 sysdeps/sh/____longjmp_chk.S.
36710 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
36711 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
36712 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
36713 (gen-as-const-headers): Append sigaltstack-offsets.sym.
36715 * sysdeps/sh/abort-instr.h: New file.
36716 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
36717 process in case exit returns.
36719 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
36720 initialize the GOT register before use.
36722 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
36723 calculation of ARGC > 4.
36725 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
36726 meaningful names to some local labels.
36728 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36729 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36731 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
36732 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
36733 (__arch_compare_and_exchange_val_16_acq): Likewise.
36734 (__arch_compare_and_exchange_val_32_acq): Likewise.
36735 (atomic_exchange_and_add): Fix gUSA sequence.
36736 (atomic_add): Likewise.
36737 (atomic_add_negative): Likewise.
36738 (atomic_add_zero): Likewise.
36739 (atomic_bit_test_set): Likewise.
36741 2012-06-22 Andreas Schwab <schwab@redhat.com>
36744 * include/link.h (struct link_map): Add l_free_initfini.
36745 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
36747 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
36748 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
36749 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
36752 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
36754 * configure.in: Use AC_LANG_SOURCE.
36755 * configure: Regenerate.
36757 2012-06-22 Roland McGrath <roland@hack.frob.com>
36759 * configure.in (libc_cv_localstatedir): New substituted variable.
36760 * configure: Regenerated.
36761 * config.make.in (localstatedir): New variable, substituted from
36762 libc_cv_localstatedir.
36763 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
36764 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
36765 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
36766 * sysdeps/gnu/configure: Regenerated.
36768 2012-06-21 Jeff Law <law@redhat.com>
36771 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
36772 free. Simplify list management for _LIBC case.
36774 2012-06-21 Joseph Myers <joseph@codesourcery.com>
36777 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
36778 Clear sign bit of 64-bit integer value before comparing against
36781 * sysdeps/mach/configure: Regenerated.
36783 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
36786 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
36788 2012-06-21 Jeff Law <law@redhat.com>
36791 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
36792 uint16_t for elements in the "seen" array to avoid char overflows.
36793 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36794 * elf/dl-open.c (dl_open_worker): Likewise.
36796 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
36798 * scripts/list-sources.sh: Scan PORTS for translations.
36799 * po/libc.pot: Regenerated.
36801 2012-06-21 Andreas Jaeger <aj@suse.de>
36804 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
36806 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
36807 * bits/byteswap-16.h (__bswap_16): Likewise.
36808 * bits/byteswap.h (__bswap_constant_16): Likewise.
36810 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
36813 * sysdeps/i386/fpu_control.h: Removed.
36814 * sysdeps/x86_64/fpu_control.h: Moved to ...
36815 * sysdeps/x86/fpu_control.h: Here.
36817 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
36818 (_FPU_SETCW): Likewise.
36820 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
36823 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
36824 * sysdeps/x86/fpu/bits/mathinline.h: This.
36825 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
36829 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
36830 functions if __x86_64__ is defined.
36832 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
36834 * string/endian.h: Add !__ASSEMBLER__ condition for including
36835 conversion interfaces.
36837 2012-06-15 Joseph Myers <joseph@codesourcery.com>
36840 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
36841 of ABS(x) in calculating zero to negative powers other than odd
36843 * math/libm-test.inc (pow_test): Add more tests.
36845 2012-06-15 Andreas Jaeger <aj@suse.de>
36847 * manual/contrib.texi (Contributors): Update entry of Liubov
36848 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
36851 2012-06-15 Cyril Hrubis <metan@ucw.cz>
36853 * string/string.h: Add __wur to GNU version of strerror_r.
36855 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
36858 * string/Makefile (tests): Add tst-strtok_r.
36859 * string/tst-strtok_r.c: New file.
36860 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
36861 RAX_LP/RDX_LP on SAVE_PTR.
36863 2012-06-14 Roland McGrath <roland@hack.frob.com>
36865 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
36867 2012-06-14 Joseph Myers <joseph@codesourcery.com>
36869 * libm_test.inc (csqrt_test): Allow more spurious underflow
36871 (j0_test): Likewise.
36872 (j1_test): Likewise.
36873 (y0_test): Likewise.
36874 (y1_test): Likewise.
36876 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
36878 * po/Makefile (libc.pot): Use UTF-8 charset.
36880 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
36883 Suppress sign-conversion warning from FD_SET.
36884 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
36885 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
36886 not unsigned long int.
36887 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
36889 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
36893 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
36894 __extern_always_inline instead of __extern_inline.
36895 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
36896 (__signbit): Likewise.
36897 (__signbitl): Support C++ namespace.
36898 (lrintf): New inline function.
36900 (llrintf): Likewise.
36901 (llrint): Likewise.
36911 (floorf): Likewise.
36912 (nearbyint): Likewise.
36913 (nearbyintf): Likewise.
36915 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
36917 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
36918 non-default versions.
36920 2012-06-11 Roland McGrath <roland@hack.frob.com>
36923 * manual/argp.texi (Argp): Reword argp_parse description slightly.
36925 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
36927 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
36928 (FE_UPWARD, FE_DOWNWARD): Don't define.
36929 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
36930 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36932 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
36934 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36935 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36937 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36939 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36940 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
36941 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
36942 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
36944 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
36947 * sysdeps/i386/fpu/bits/fenv.h: Removed.
36948 * sysdeps/i386/fpu/Implies: New file.
36949 * sysdeps/x86_64/fpu/Implies: Likewise.
36950 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
36951 * sysdeps/x86/fpu/bits/fenv.h: This.
36953 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
36956 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36959 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36960 character 0xffff that matches the last element of the
36963 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36965 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36968 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36970 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36971 values higher than 25.6283.
36973 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36975 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36976 subnormal exponent extraction and add some __builtin_expect.
36977 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
36978 Fix for subnormal mantissa calculation.
36980 2012-06-04 Mike Frysinger <vapier@gentoo.org>
36982 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
36983 cpu2 is -1 and errno is not ENOSYS.
36985 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
36988 * sysdeps/i386/i486/bits/string.h: Renamed to ...
36989 * sysdeps/x86/bits/string.h: This.
36990 * sysdeps/x86_64/bits/string.h: Removed.
36992 * sysdeps/i386/i486/bits/string.h: Define inline functions only
36993 if not compiling for x86-64, but compiling for >= i486.
36995 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
36996 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
36998 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
36999 New macro from Linux kernel 3.4.0.
37000 (FP_XSTATE_MAGIC2): Likewise.
37001 (FP_XSTATE_MAGIC2_SIZE): Likewise.
37002 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
37003 (struct _fpx_sw_bytes): New struct.
37004 (struct _xsave_hdr): Likewise.
37005 (struct _ymmh_state): Likewise.
37006 (struct _xstate): Likewise.
37008 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
37009 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
37010 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
37011 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
37012 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
37013 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
37015 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37016 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
37017 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
37018 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
37019 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
37020 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
37022 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37025 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37026 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
37027 (sysdep_headers): Include sys/platform/ppc.h.
37028 * sysdeps/powerpc/test-gettimebase.c: Test for
37029 __ppc_get_timebase() to catch future ISA opcode/insn changes.
37030 * manual/Makefile (appendices): Include platform.texi.
37031 * manual/contrib.texi (Contributors): Update @node pointers.
37032 * manual/maint.texi (Maintenance): Likewise.
37033 (Platform): New node.
37034 * manual/platform.texi: New file. Document the new features.
37036 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37037 Jakub Jelinek <jakub@redhat.com>
37040 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
37041 where __builtin_expect is unavailable.
37043 2012-06-03 David S. Miller <davem@davemloft.net>
37045 * stdlib/longlong.h: Updated from GCC.
37047 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
37050 * sysdeps/powerpc/powerpc32/mcount.c: New file.
37051 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
37053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37054 (GLIBC_2.16): Likewise.
37056 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37058 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
37060 2012-06-01 Joseph Myers <joseph@codesourcery.com>
37062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
37063 (default-abi): New variable.
37064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37065 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37067 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37069 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37071 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37074 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37075 definition. Document in comment.
37077 2012-06-01 David S. Miller <davem@davemloft.net>
37079 * stdlib/longlong.h: Updated from GCC.
37081 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37084 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37085 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37086 sys/debugreg.h sys/io.h here.
37087 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37088 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37090 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37091 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37092 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37093 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37094 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37095 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37097 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37098 Define only if __x86_64__ is defined.
37100 2012-06-01 Joseph Myers <joseph@codesourcery.com>
37103 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37104 Use int64_t for variable i.
37105 * math/libm-test.inc (fmod_test): Add more tests.
37107 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37108 z computation is not scheduled after fetestexcept.
37109 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37110 Use math_force_eval instead of asm to ensure calculation scheduled
37111 before exception test.
37112 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37113 Ensure a1 + u.d computation is not scheduled after fetestexcept.
37115 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
37117 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37118 computation is not scheduled after fetestexcept.
37120 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37123 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37124 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37126 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37128 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37129 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37131 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37134 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
37136 (__WCHAR_MIN): Support __WORDSIZE == 64.
37137 (__WCHAR_MAX): Likewise.
37139 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
37140 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
37143 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
37144 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
37147 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
37148 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
37150 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
37151 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
37153 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
37154 Defined to 1 if __x86_64__ isn't defined.
37155 (_STAT_VER_LINUX_OLD): New.
37156 (st_atime): Remove duplicate.
37157 (st_mtime): Likewise.
37158 (st_ctime): Likewise.
37160 2012-05-31 David S. Miller <davem@davemloft.net>
37162 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
37165 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
37167 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
37171 * elf/dl-reloc.c: Include <_itoa.h>.
37172 (_dl_reloc_bad_type): Remove use of INTUSE.
37173 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
37174 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
37175 * stdio-common/psiginfo.c (psiginfo): Likewise.
37176 * stdio-common/psignal.c (psignal): Likewise.
37177 * string/strsignal.c (strsignal): Likewise.
37178 * include/signal.h (_sys_siglist): Declare hidden proto.
37179 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
37180 INTVARDEF with libc_hidden_data_def.
37181 * stdio-common/itoa-udigits.c: Likewise.
37182 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
37183 (_itoa_lower_digits_internal): Remove declaration.
37184 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
37185 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37186 (_sys_sigabbrev_internal): Remove aliases.
37187 (_sys_siglist): Define hidden alias.
37189 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
37191 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37194 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37197 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
37198 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
37200 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37201 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
37202 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
37203 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
37204 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
37205 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
37207 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
37208 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
37209 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
37211 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
37219 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
37220 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
37221 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
37223 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
37224 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37225 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
37226 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
37227 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
37228 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
37230 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
37231 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
37233 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
37234 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
37236 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
37237 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
37238 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
37240 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
37241 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
37243 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
37245 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
37246 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
37247 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
37249 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
37251 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
37253 2012-05-31 Joseph Myers <joseph@codesourcery.com>
37255 * math/math.h (M_El): Use two more decimal places.
37256 (M_LOG2El): Likewise.
37257 (M_LOG10El): Likewise.
37258 (M_LN2l): Likewise.
37259 (M_LN10l): Likewise.
37261 (M_PI_2l): Likewise.
37262 (M_PI_4l): Likewise.
37263 (M_1_PIl): Likewise.
37264 (M_2_PIl): Likewise.
37265 (M_2_SQRTPIl): Likewise.
37266 (M_SQRT2l): Likewise.
37267 (M_SQRT1_2l): Likewise.
37269 2012-05-31 David S. Miller <davem@davemloft.net>
37271 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
37272 values between float registers.
37273 * sysdeps/sparc/sparc64/memset.S: Likewise.
37274 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37276 2012-05-31 Mike Frysinger <vapier@gentoo.org>
37278 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
37279 -D_FORTIFY_SOURCE=1.
37280 (CPPFLAGS-tst-longjmp_chk.c): Define.
37281 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
37282 (CPPFLAGS-tst-longjmp_chk2.c): Define.
37283 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
37284 CFLAGS-tst-wchar-h.c.
37286 2012-05-31 Marek Polacek <polacek@redhat.com>
37289 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
37290 __endmntent_internal): Remove declaration.
37291 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
37292 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
37293 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
37295 2012-05-30 David S. Miller <davem@davemloft.net>
37297 * sysdeps/sparc/sparc32/soft-fp/q_util.c
37298 (___Q_simulate_exceptions): Use real FP ops rather than writing
37300 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
37303 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37306 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
37307 * sysdeps/x86/bits/xtitypes.h: This.
37309 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
37310 * sysdeps/x86/bits/wordsize.h: This.
37312 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
37313 * sysdeps/x86/bits/huge_vall.h: This.
37315 * sysdeps/i386/bits/select.h: Removed.
37316 * sysdeps/x86_64/bits/select.h: Renamed to ...
37317 * sysdeps/x86/bits/select.h: This.
37319 * sysdeps/i386/bits/setjmp.h: Removed.
37320 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
37321 * sysdeps/x86/bits/setjmp.h: This.
37323 * sysdeps/i386/bits/mathdef.h: Removed.
37324 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
37325 * sysdeps/x86/bits/mathdef.h: This.
37327 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
37330 * include/sys/socket.h (__connect_internal)
37331 (__libc_sa_len_internal): Remove declaration.
37332 (__connect, __libc_sa_len): Declare hidden_proto.
37333 (SA_LEN): Remove use of INTUSE.
37334 * socket/connect.c: Add libc_hidden_def.
37335 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
37336 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
37337 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
37339 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37340 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
37341 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
37342 of adding _internal alias.
37344 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37347 * sysdeps/i386/bits/link.h: Removed.
37348 * sysdeps/i386/bits/linkmap.h: Likewise.
37349 * sysdeps/x86_64/bits/link.h: Renamed to ...
37350 * sysdeps/x86/bits/link.h: This.
37351 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
37352 * sysdeps/x86/bits/linkmap.h: This.
37354 * sysdeps/i386/bits/endian.h: Removed.
37355 * sysdeps/x86_64/bits/endian.h: Renamed to ...
37356 * sysdeps/x86/bits/endian.h: This.
37358 * sysdeps/i386/bits/byteswap.h: Removed.
37359 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37360 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
37361 * sysdeps/x86/bits/byteswap.h: This.
37362 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
37363 * sysdeps/x86/bits/byteswap-16.h: This.
37364 * sysdeps/i386/Implies: Add x86.
37365 * sysdeps/x86_64/Implies: Likewise.
37367 2012-05-30 David S. Miller <davem@davemloft.net>
37369 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
37370 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
37371 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37372 (FP_TRAPPING_EXCEPTIONS): Define.
37373 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37374 (FP_TRAPPING_EXCEPTIONS): Define.
37375 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
37376 subnormals only when inexact has been signalled or underflow
37377 exceptions are enabled.
37378 (_FP_PACK_CANONICAL): Likewise.
37380 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37383 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
37384 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
37386 2012-05-30 Richard Henderson <rth@twiddle.net>
37388 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
37389 with #ifndef NOT_IN_libc.
37391 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
37392 marked to avoid plt entry.
37394 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37397 * Makeconfig (default-abi): New macro.
37398 (abi-includes): Likewise.
37399 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
37400 $(abi-$(default-abi)-lib-soname) for soname if defined.
37401 ($(common-objpfx)gnu/lib-names.stmp): Generate from
37403 * Makefile (installed-stubs): Likewise.
37404 * include/stubs-biarch.h: Removed.
37405 * scripts/lib-names.awk: Only handle one library at a time.
37406 * scripts/soversions.awk: Remove WORDSIZE support.
37407 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
37409 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
37411 (syscall-list-default-condition): Likewise.
37412 (syscall-list-default-condition): Likewise.
37413 (syscall-list-includes): Likewise.
37414 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
37415 syscall-list-* with abi-*. Handle undefined abi-variants.
37416 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
37417 * sysdeps/unix/sysv/linux/i386/Implies: New file.
37418 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
37419 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
37420 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
37421 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
37423 (syscall-list-32-options): Likewise.
37424 (syscall-list-32-condition): Likewise.
37425 (syscall-list-64-options): Likewise.
37426 (syscall-list-64-condition): Likewise.
37427 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
37429 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
37432 (abi-64-ld-soname): New macro.
37433 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
37434 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
37437 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
37438 * sysdeps/x86_64/x32/shlib-versions: Likewise.
37440 2012-05-30 Joseph Myers <joseph@codesourcery.com>
37442 * sysdeps/unix/sysv/linux/kernel-features.h
37443 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
37444 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
37445 include <kernel-features.h>.
37446 [!__NR_ftruncate64]: Remove conditional code.
37447 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37448 [__NR_ftruncate64]: Make code unconditional.
37449 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37450 * sysdeps/unix/sysv/linux/truncate64.c: Do not
37451 include <kernel-features.h>.
37452 [!__NR_ftruncate64]: Remove conditional code.
37453 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37454 [__NR_ftruncate64]: Make code unconditional.
37455 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
37457 include <kernel-features.h>.
37458 [!__NR_ftruncate64]: Remove conditional code.
37459 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37460 [__NR_ftruncate64]: Make code unconditional.
37461 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37463 include <kernel-features.h>.
37464 [!__NR_ftruncate64]: Remove conditional code.
37465 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37466 [__NR_ftruncate64]: Make code unconditional.
37467 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37469 * configure.in (libc_cv_fpie): Weaken to a compile test using
37470 LIBC_TRY_CC_OPTION.
37471 * configure: Regenerated.
37473 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
37476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
37477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
37478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
37481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
37482 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
37483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
37484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
37485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37488 2012-05-27 David S. Miller <davem@davemloft.net>
37490 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
37492 (__Q_simulate_exceptions): Return void. Change to simulate
37493 exceptions by writing into the %fsr.
37494 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
37495 (__Qp_handle_exceptions): Likewise.
37497 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
37498 __Qp_handle_exceptions.
37499 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
37500 __Qp_handle_exceptions.
37501 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37502 as unused and give dummy FP_RND_NEAREST initializer.
37503 (FP_INHIBIT_RESULTS): Define.
37504 (___Q_simulate_exceptions): Update declaration.
37505 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
37507 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37508 as unused and give dummy FP_RND_NEAREST initializer.
37509 (__Qp_handle_exceptions): Update declaration.
37510 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
37513 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
37515 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
37516 the temporary FPU control word.
37517 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37518 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
37519 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
37520 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37521 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37522 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
37523 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
37524 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37525 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37526 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
37527 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37529 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37531 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
37534 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
37536 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
37537 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
37538 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
37539 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
37541 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
37542 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
37545 2012-05-27 Ulrich Drepper <drepper@gmail.com>
37547 * po/h.po: Update from translation team.
37549 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
37551 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
37553 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
37554 handling of denormals.
37555 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37556 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37557 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37558 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37559 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37560 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
37561 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
37564 2012-05-26 Marek Polacek <polacek@redhat.com>
37567 * math/libm-test.inc (fma_test): Don't always expect underflow
37570 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37573 * elf/tst-execstack.c: Include stackinfo.h.
37574 (do_test): Adjust test case to ensure that pthread_getattr_np
37575 behaviour remains the same after marking stack executable.
37577 2012-05-25 Joseph Myers <joseph@codesourcery.com>
37579 * sysdeps/unix/sysv/linux/kernel-features.h
37580 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
37581 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
37583 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37584 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37585 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
37587 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37588 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37590 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
37592 * configure.in: Define the default includes to being none.
37593 * configure: Regenerated.
37595 2012-05-25 Roland McGrath <roland@hack.frob.com>
37597 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
37598 * sysdeps/x86_64/setjmp.S: Likewise.
37599 * sysdeps/i386/bsd-setjmp.S: Likewise.
37600 * sysdeps/i386/bsd-_setjmp.S: Likewise.
37601 * sysdeps/i386/setjmp.S: Likewise.
37602 * sysdeps/i386/__longjmp.S: Likewise.
37603 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37604 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
37606 * include/stap-probe.h: New file.
37607 * configure.in: Handle --enable-systemtap.
37608 * configure: Regenerated.
37609 * config.h.in (USE_STAP_PROBE): New #undef.
37610 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
37611 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
37612 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37614 2012-05-25 Joseph Myers <joseph@codesourcery.com>
37617 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37618 to 2.4.0 where earlier.
37619 * sysdeps/unix/sysv/linux/configure: Regenerated.
37620 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37621 <kernel-features.h>.
37622 [__ASSUME_32BITUIDS]: Make code unconditional.
37623 [!__ASSUME_32BITUIDS]: Remove conditional code.
37624 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
37625 <kernel-features.h>.
37626 [__ASSUME_32BITUIDS]: Make code unconditional.
37627 [!__ASSUME_32BITUIDS]: Remove conditional code.
37628 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
37629 [__ASSUME_32BITUIDS]: Make code unconditional.
37630 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
37631 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
37632 <kernel-features.h>.
37633 [__ASSUME_32BITUIDS]: Make code unconditional.
37634 [!__ASSUME_32BITUIDS]: Remove conditional code.
37635 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
37636 <kernel-features.h>.
37637 [__ASSUME_32BITUIDS]: Make code unconditional.
37638 [!__ASSUME_32BITUIDS]: Remove conditional code.
37639 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
37640 <kernel-features.h>.
37641 [__ASSUME_32BITUIDS]: Make code unconditional.
37642 [!__ASSUME_32BITUIDS]: Remove conditional code.
37643 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
37644 <kernel-features.h>.
37645 [__ASSUME_32BITUIDS]: Make code unconditional.
37646 [!__ASSUME_32BITUIDS]: Remove conditional code.
37647 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37648 <kernel-features.h>.
37649 [__ASSUME_32BITUIDS]: Make code unconditional.
37650 [!__ASSUME_32BITUIDS]: Remove conditional code.
37651 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37652 <kernel-features.h>.
37653 [__ASSUME_32BITUIDS]: Make code unconditional.
37654 [!__ASSUME_32BITUIDS]: Remove conditional code.
37655 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
37656 <kernel-features.h>.
37657 [__ASSUME_32BITUIDS]: Make code unconditional.
37658 [!__ASSUME_32BITUIDS]: Remove conditional code.
37659 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37660 <kernel-features.h>.
37661 [__ASSUME_32BITUIDS]: Make code unconditional.
37662 [!__ASSUME_32BITUIDS]: Remove conditional code.
37663 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37664 <kernel-features.h>.
37665 [__ASSUME_32BITUIDS]: Make code unconditional.
37666 [!__ASSUME_32BITUIDS]: Remove conditional code.
37667 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
37668 <kernel-features.h>.
37669 [__ASSUME_32BITUIDS]: Make code unconditional.
37670 [!__ASSUME_32BITUIDS]: Remove conditional code.
37671 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
37672 <kernel-features.h>.
37673 [__NR_setresgid] (__setresgid): Do not declare.
37674 [__ASSUME_32BITUIDS]: Make code unconditional.
37675 [!__ASSUME_32BITUIDS]: Remove conditional code.
37676 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
37677 <kernel-features.h>.
37678 [__NR_setresuid] (__setresuid): Do not declare.
37679 [__ASSUME_32BITUIDS]: Make code unconditional.
37680 [!__ASSUME_32BITUIDS]: Remove conditional code.
37681 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
37682 <kernel-features.h>.
37683 [__ASSUME_32BITUIDS]: Make code unconditional.
37684 [!__ASSUME_32BITUIDS]: Remove conditional code.
37685 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
37686 <kernel-features.h>.
37687 [__ASSUME_32BITUIDS]: Make code unconditional.
37688 [!__ASSUME_32BITUIDS]: Remove conditional code.
37689 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
37690 <kernel-features.h>.
37691 [__ASSUME_32BITUIDS]: Make code unconditional.
37692 [!__ASSUME_32BITUIDS]: Remove conditional code.
37693 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
37694 <kernel-features.h>.
37695 [__ASSUME_32BITUIDS]: Make code unconditional.
37696 [!__ASSUME_32BITUIDS]: Remove conditional code.
37697 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
37698 <kernel-features.h>.
37699 [__ASSUME_32BITUIDS]: Make code unconditional.
37700 [!__ASSUME_32BITUIDS]: Remove conditional code.
37701 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
37702 <kernel-features.h>.
37703 [__ASSUME_32BITUIDS]: Make code unconditional.
37704 [!__ASSUME_32BITUIDS]: Remove conditional code.
37705 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
37706 <kernel-features.h>.
37707 [__ASSUME_32BITUIDS]: Make code unconditional.
37708 [!__ASSUME_32BITUIDS]: Remove conditional code.
37709 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
37710 <kernel-features.h>.
37711 [__ASSUME_32BITUIDS]: Make code unconditional.
37712 [!__ASSUME_32BITUIDS]: Remove conditional code.
37713 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
37714 <kernel-features.h>.
37715 [__ASSUME_32BITUIDS]: Make code unconditional.
37716 [!__ASSUME_32BITUIDS]: Remove conditional code.
37717 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37718 <kernel-features.h>.
37719 [__ASSUME_32BITUIDS]: Make code unconditional.
37720 [!__ASSUME_32BITUIDS]: Remove conditional code.
37721 * sysdeps/unix/sysv/linux/kernel-features.h
37722 (__ASSUME_SETRESUID_SYSCALL): Remove.
37723 (__ASSUME_SETRESGID_SYSCALL): Likewise.
37724 (__ASSUME_32BITUIDS): Likewise.
37725 (__ASSUME_LDT_WORKS): Likewise.
37726 (__ASSUME_O_DIRECTORY): Likewise.
37727 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
37728 architecture but not kernel version.
37729 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37730 (__ASSUME_MMAP2_SYSCALL): Likewise.
37731 (__ASSUME_STAT64_SYSCALL): Likewise.
37732 (__ASSUME_IPC64): Likewise.
37733 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
37734 <kernel-features.h>.
37735 [__ASSUME_32BITUIDS]: Make code unconditional.
37736 [!__ASSUME_32BITUIDS]: Remove conditional code.
37737 * sysdeps/unix/sysv/linux/opendir.c: Do not include
37738 <kernel-features.h>.
37739 [__ASSUME_O_DIRECTORY]: Make code unconditional.
37740 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
37741 132096]: Remove conditional code.
37742 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
37743 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37744 <kernel-features.h>.
37745 [__ASSUME_32BITUIDS]: Make code unconditional.
37746 [!__ASSUME_32BITUIDS]: Remove conditional code.
37747 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37748 <kernel-features.h>.
37749 [__ASSUME_32BITUIDS]: Make code unconditional.
37750 [!__ASSUME_32BITUIDS]: Remove conditional code.
37751 * sysdeps/unix/sysv/linux/setegid.c: Do not include
37752 <kernel-features.h>.
37753 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
37755 (__setresgid): Do not declare.
37756 [__ASSUME_32BITUIDS]: Make code unconditional.
37757 [!__ASSUME_32BITUIDS]: Remove conditional code.
37758 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
37759 <kernel-features.h>.
37760 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
37762 (__setresuid): Do not declare.
37763 [__ASSUME_32BITUIDS]: Make code unconditional.
37764 [!__ASSUME_32BITUIDS]: Remove conditional code.
37765 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37766 <kernel-features.h>.
37767 [__ASSUME_32BITUIDS]: Make code unconditional.
37768 [!__ASSUME_32BITUIDS]: Remove conditional code.
37769 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
37770 <kernel-features.h>.
37771 [__ASSUME_32BITUIDS]: Make code unconditional.
37772 [!__ASSUME_32BITUIDS]: Remove conditional code.
37774 2012-05-25 Richard Henderson <rth@twiddle.net>
37776 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
37777 dl_hwcap to ifunc resolver.
37778 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
37780 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
37781 dl_hwcap to ifunc resolver.
37782 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
37784 2012-05-24 Joseph Myers <joseph@codesourcery.com>
37787 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
37788 for |x| <= 2**-26, not 2**-57.
37789 * math/libm-test.inc (acos_test): Do not allow spurious underflow
37792 2012-05-24 Jeff Law <law@redhat.com>
37794 * stdio-common/Makefile (tests): Add bug25.
37795 * stdio-common/bug25.c: New test.
37797 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37800 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
37801 multiple of MALLOC_ALIGNMENT in size.
37802 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
37804 2012-05-24 Joseph Myers <joseph@codesourcery.com>
37806 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
37808 (FILENAME_MAX): Use macro-int-constant.
37809 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
37810 (_IOFBF): Use macro-int-constant.
37811 (_IOLBF): Likewise.
37812 (_IONBF): Likewise.
37813 (SEEK_CUR): Likewise.
37814 (SEEK_END): Likewise.
37815 (SEEK_SET): Likewise.
37816 (TMP_MAX): Likewise.
37817 (EOF): Use macro-int-constant. Require < 0.
37818 (NULL): Use macro-constant. Require == 0.
37819 (stdin): Require type to be FILE *.
37820 (stdout): Likewise.
37821 (stderr): Likewise.
37822 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
37823 macro-int-constant.
37824 (EXIT_SUCCESS): Likewise.
37825 (NULL): Use macro-constant. Require == 0.
37826 (RAND_MAX): Use macro-int-constant.
37827 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
37828 [C99-based standards] (strtof): Require function.
37829 [C99-based standards] (strtold): Likewise.
37830 [C99-based standards] (strtoll): Likewise.
37831 [C99-based standards] (strtoull): Likewise.
37832 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37833 [ISO || ISO99 || ISO11] (limits.h): Likewise.
37834 [ISO || ISO99 || ISO11] (math.h): Likewise.
37835 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
37836 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37837 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37839 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
37842 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
37843 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
37844 * intl/dgettext.c (DCGETTEXT): Likewise.
37845 * intl/gettext.c (DCGETTEXT): Likewise.
37846 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
37847 * posix/regex_internal.h (gettext): Likewise.
37848 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
37849 Remove declaration.
37850 * include/argz.h (__argz_count_internal)
37851 (__argz_stringify_internal): Remove declaration.
37852 (__argz_count, __argz_stringify): Declare hidden proto.
37853 * intl/dcgettext.c: Remove use of INTDEF.
37854 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
37855 * string/argz-stringify.c: Likewise.
37856 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37857 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37858 Declare hidden proto.
37859 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37860 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37861 Declare hidden proto.
37862 * include/stdio.h (__asprintf_internal): Don't declare.
37863 (__asprintf): Don't define as macro. Declare hidden proto.
37864 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
37865 (__fsetlocking): Declare hidden proto.
37866 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
37867 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
37869 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
37870 (_IO_setlinebuf): Remove use of INTUSE.
37871 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
37872 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
37873 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
37874 Remove declaration.
37875 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
37876 (_IO_do_flush): Remove use of INTUSE.
37877 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
37878 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
37879 (_IO_adjust_column, _IO_least_wmarker)
37880 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
37881 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
37882 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
37883 (_IO_default_doallocate, _IO_wdefault_doallocate)
37884 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
37885 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
37886 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
37887 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
37888 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
37889 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
37890 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
37891 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
37892 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
37893 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
37894 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
37895 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
37896 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
37898 (_IO_flush_all_internal, _IO_adjust_column_internal)
37899 (_IO_default_uflow_internal, _IO_default_finish_internal)
37900 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
37901 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
37902 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
37903 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
37904 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
37905 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
37906 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
37907 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
37908 (_IO_file_close_internal, _IO_file_close_it_internal)
37909 (_IO_file_underflow_internal, _IO_file_overflow_internal)
37910 (_IO_file_init_internal, _IO_file_attach_internal)
37911 (_IO_file_fopen_internal, _IO_file_read_internal)
37912 (_IO_file_sync_internal, _IO_file_seek_internal)
37913 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
37914 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
37915 (_IO_str_underflow_internal, _IO_str_overflow_internal)
37916 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
37917 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
37918 (_IO_list_all_internal, _IO_link_in_internal)
37919 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
37920 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
37921 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
37922 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
37923 (_IO_do_write_internal, _IO_padn_internal)
37924 (_IO_getline_info_internal, _IO_getline_internal)
37925 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
37926 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
37927 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
37928 (_IO_vfscanf_internal, _IO_vfprintf_internal)
37929 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
37930 (_IO_init_internal, _IO_un_link_internal): Don't declare.
37931 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
37932 with libc_hidden_ver, remove use of INTUSE.
37933 * libio/genops.c: Likewise.
37934 * libio/freopen.c: Likewise.
37935 * libio/freopen64.c: Likewise.
37936 * libio/iofclose.c: Likewise.
37937 * libio/iofdopen.c: Likewise.
37938 * libio/iofflush.c: Likewise.
37939 * libio/iofflush_u.c: Likewise.
37940 * libio/iofgets.c: Likewise.
37941 * libio/iofgets_u.c: Likewise.
37942 * libio/iofopen.c: Likewise.
37943 * libio/iofopncook.c: Likewise.
37944 * libio/iofread.c: Likewise.
37945 * libio/iofread_u.c: Likewise.
37946 * libio/ioftell.c: Likewise.
37947 * libio/iofwrite.c: Likewise.
37948 * libio/iogetline.c: Likewise.
37949 * libio/iogets.c: Likewise.
37950 * libio/iogetwline.c: Likewise.
37951 * libio/iopadn.c: Likewise.
37952 * libio/iopopen.c: Likewise.
37953 * libio/ioseekoff.c: Likewise.
37954 * libio/ioseekpos.c: Likewise.
37955 * libio/iosetbuffer.c: Likewise.
37956 * libio/iosetvbuf.c: Likewise.
37957 * libio/ioungetc.c: Likewise.
37958 * libio/ioungetwc.c: Likewise.
37959 * libio/iovdprintf.c: Likewise.
37960 * libio/iovsprintf.c: Likewise.
37961 * libio/iovsscanf.c: Likewise.
37962 * libio/memstream.c: Likewise.
37963 * libio/obprintf.c: Likewise.
37964 * libio/oldfileops.c: Likewise.
37965 * libio/oldiofclose.c: Likewise.
37966 * libio/oldiofdopen.c: Likewise.
37967 * libio/oldiofopen.c: Likewise.
37968 * libio/oldiopopen.c: Likewise.
37969 * libio/oldstdfiles.c: Likewise.
37970 * libio/putc.c: Likewise.
37971 * libio/setbuf.c: Likewise.
37972 * libio/setlinebuf.c: Likewise.
37973 * libio/stdfiles.c: Likewise.
37974 * libio/strops.c: Likewise.
37975 * libio/vasprintf.c: Likewise.
37976 * libio/vscanf.c: Likewise.
37977 * libio/vsnprintf.c: Likewise.
37978 * libio/vswprintf.c: Likewise.
37979 * libio/wfiledoalloc.c: Likewise.
37980 * libio/wfileops.c: Likewise.
37981 * libio/wgenops.c: Likewise.
37982 * libio/wmemstream.c: Likewise.
37983 * libio/wstrops.c: Likewise.
37984 * libio/__fpurge.c: Likewise.
37985 * libio/__fsetlocking.c: Likewise.
37986 * assert/assert.c: Likewise.
37987 * debug/fgets_chk.c: Likewise.
37988 * debug/fgets_u_chk.c: Likewise.
37989 * debug/fread_chk.c: Likewise.
37990 * debug/fread_u_chk.c: Likewise.
37991 * debug/gets_chk.c: Likewise.
37992 * debug/obprintf_chk.c: Likewise.
37993 * debug/vasprintf_chk.c: Likewise.
37994 * debug/vdprintf_chk.c: Likewise.
37995 * debug/vsnprintf_chk.c: Likewise.
37996 * debug/vsprintf_chk.c: Likewise.
37997 * malloc/mtrace.c: Likewise.
37998 * misc/error.c: Likewise.
37999 * misc/syslog.c: Likewise.
38000 * stdio-common/asprintf.c: Likewise.
38001 * stdio-common/fxprintf.c: Likewise.
38002 * stdio-common/getw.c: Likewise.
38003 * stdio-common/isoc99_fscanf.c: Likewise.
38004 * stdio-common/isoc99_scanf.c: Likewise.
38005 * stdio-common/isoc99_vfscanf.c: Likewise.
38006 * stdio-common/isoc99_vscanf.c: Likewise.
38007 * stdio-common/isoc99_vsscanf.c: Likewise.
38008 * stdio-common/printf-prs.c: Likewise.
38009 * stdio-common/printf_fp.c: Likewise.
38010 * stdio-common/printf_fphex.c: Likewise.
38011 * stdio-common/printf_size.c: Likewise.
38012 * stdio-common/putw.c: Likewise.
38013 * stdio-common/scanf.c: Likewise.
38014 * stdio-common/sprintf.c: Likewise.
38015 * stdio-common/tmpfile.c: Likewise.
38016 * stdio-common/vfprintf.c: Likewise.
38017 * stdio-common/vfscanf.c: Likewise.
38018 * stdlib/strfmon_l.c: Likewise.
38019 * sunrpc/openchild.c: Likewise.
38020 * sunrpc/xdr_stdio.c: Likewise.
38021 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
38022 * sysdeps/mach/hurd/tmpfile.c: Likewise.
38024 2012-05-24 Roland McGrath <roland@hack.frob.com>
38026 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38028 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
38029 in the third column, to generate for the shared library an IFUNC
38030 that uses _dl_vdso_vsym.
38031 * Makerules (COMPILE.c, compile-stdin.c): New variables.
38032 * Makeconfig (object-suffixes-noshared): New variable.
38034 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
38035 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
38036 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
38037 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
38040 * include/sys/time.h (__gettimeofday): Remove macro.
38041 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
38042 * time/gettimeofday.c (__gettimeofday): Remove #undef.
38044 (__gettimeofday): Add libc_hidden_def.
38045 (gettimeofday): Add libc_hidden_weak.
38046 * sysdeps/mach/gettimeofday.c: Likewise.
38047 * sysdeps/posix/gettimeofday.c: Likewise.
38048 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38049 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
38050 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
38051 (__gettimeofday_internal): Remove strong_alias.
38052 (__gettimeofday): Add libc_hidden_def.
38053 (gettimeofday): Add libc_hidden_weak.
38054 * sysdeps/unix/syscalls.list (gettimeofday):
38055 Remove __gettimeofday_internal alias.
38057 2012-05-24 Daniel Jacobowitz <drow@false.org>
38058 H.J. Lu <hongjiu.lu@intel.com>
38061 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
38062 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
38063 (largebin_index_32_big): New.
38064 (largebin_index): Use it for 16-byte alignment.
38065 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
38066 correction with front_misalign.
38068 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38071 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38073 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38075 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38077 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38079 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38081 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38083 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38085 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38087 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38089 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38096 * scripts/data/c++-types-x32-linux-gnu.data: New file.
38097 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38099 2012-05-24 Joseph Myers <joseph@codesourcery.com>
38103 * math/libm-test.inc (exp_test): Add test from bug 14036.
38104 (pow_test): Add test from bug 10846.
38106 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38108 (special_function): Do not include flags in test name.
38109 (parse_args): Likewise.
38110 * sysdeps/i386/fpu/libm-test-ulps: Update.
38111 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38112 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38113 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38116 * math/gen-libm-test.pl (%beautify): Add entries for underflow
38118 * math/libm-test.inc ("Philosophy"): Update comment about
38120 (UNDERFLOW_EXCEPTION): New macro.
38121 (UNDERFLOW_EXCEPTION_OK): Likewise.
38122 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38123 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38124 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38125 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38126 (INVALID_EXCEPTION_OK): Update value.
38127 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38128 (OVERFLOW_EXCEPTION_OK): Likewise.
38129 (IGNORE_ZERO_INF_SIGN): Likewise.
38130 (test_exceptions): Handle underflow exceptions.
38131 (acos_test): Update for underflow exception expectations.
38132 (cexp_test): Likewise.
38133 (clog_test): Likewise.
38134 (clog10_test): Likewise.
38135 (csqrt_test): Likewise.
38136 (ctan_test): Likewise.
38137 (ctanh_test): Likewise.
38138 (exp_test): Likewise.
38139 (exp10_test): Likewise.
38140 (exp2_test): Likewise.
38141 (expm1_test): Likewise.
38142 (fma_test): Likewise.
38143 (j0_test): Likewise.
38144 (jn_test): Likewise.
38145 (nexttoward_test): Likewise.
38146 (pow_test): Likewise.
38147 (scalbn_test): Likewise.
38148 (scalbln_test): Likewise.
38149 (tan_test): Likewise.
38150 (y1_test): Likewise.
38151 * sysdeps/i386/fpu/libm-test-ulps: Update.
38152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38154 2012-05-23 David S. Miller <davem@davemloft.net>
38156 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38157 (__libc_sigaction): Remove unused local variables.
38159 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38161 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
38163 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
38165 mktime: avoid signed integer overflow
38166 * time/mktime.c (__mktime_internal): Do not mishandle the case
38167 where diff == INT_MIN.
38169 mktime: simplify computation of average
38170 * time/mktime.c (ranged_convert): Use new time_t_avg function
38171 instead of rolling our own (probably-slower) code.
38173 mktime: do not assume signed right shift propagates sign bit
38174 * time/mktime.c (isdst_differ): New static function.
38175 (__mktime_internal): No need to normalize tm_isdst now.
38176 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
38179 mktime: merge another wrapv change from gnulib
38180 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
38181 from some compilers.
38183 mktime: remove incorrect attempt at unusual arithmetics
38184 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
38185 The code didn't really work on such machines anyway.
38186 (TYPE_MINIMUM): Assume two's complement.
38187 (twos_complement_arithmetic): Verify that long_int and time_t
38188 are two's complement (or unsigned, in the latter case).
38190 mktime: check signed shifts on long_int and time_t, too
38191 * time/mktime.c (SHR): Check that shifts work as desired
38192 on the types long_int and time_t too, as SHR is used on
38195 mktime: do not assume 'long' is wide enough
38196 * time/mktime.c (verify): Move decl up.
38197 (long_int): New type.
38198 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
38199 to remove assumption in the code that 'long' is wide enough to
38200 store year values. This assumption is not true on x32 and on
38201 some non-glibc platforms.
38203 mktime: merge wrapv change from gnulib
38204 * time/mktime.c (WRAPV): New macro.
38205 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
38206 (guess_time_tm, __mktime_internal): Do not assume that signed
38207 integer overflow wraps around; modern compilers generate code
38208 where this assumption is no longer valid.
38210 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38212 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38213 Replace "jmp L(pseudo_end)" with "ret".
38214 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
38217 2012-05-23 Andreas Jaeger <aj@suse.de>
38219 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
38220 * sysdeps/unix/sysv/linux/poll.c: Remove file.
38222 2012-05-23 Andreas Jaeger <aj@suse.de>
38223 Maximilian Attems <max@stro.at>
38225 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
38228 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38230 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
38231 code so that pseudo_end is just ret and the stack pointer is
38232 correct also for static library in error case.
38234 2012-05-23 Joseph Myers <joseph@codesourcery.com>
38236 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
38237 move to syscalls.list.
38238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38243 * manual/install.texi (Running make install): Do not mention Linux
38244 kernel version for which pt_chown is not needed.
38245 (Linux): Do not mention problems with nscd with 2.0 kernels.
38246 * INSTALL: Regenerated.
38248 2012-05-23 Andreas Jaeger <aj@suse.de>
38250 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
38251 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
38253 * sysdeps/unix/sysv/linux/s390/bits/mman.h
38254 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38255 * sysdeps/unix/sysv/linux/sh/bits/mman.h
38256 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38257 * sysdeps/unix/sysv/linux/i386/bits/mman.h
38258 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38259 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
38260 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38261 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
38262 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38263 * sysdeps/unix/sysv/linux/bits/in.h
38264 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
38266 2012-05-22 Roland McGrath <roland@hack.frob.com>
38268 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
38269 (PREPARE_VERSION): Just use assert instead, it will be elided
38270 under [NDEBUG] anyway.
38272 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38274 * sysdeps/unix/sysv/linux/Makefile: Include
38275 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
38276 (sysdep_routines): Remove sysctl.
38277 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
38278 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
38279 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
38280 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
38281 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
38283 2012-05-22 Andreas Jaeger <aj@suse.de>
38285 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
38286 that pseudo_end is just ret and the stack pointer is correct also
38287 for static library in error case.
38289 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
38292 * nss/nsswitch.c (defconfig_entries): New variable.
38293 (__nss_database_lookup): Don't leak defconfig entries.
38294 (nss_parse_service_list): Don't leak on error paths.
38295 (free_database_entries): New function.
38296 (free_defconfig): New function.
38297 (free_mem): Move common code to free_database_entries.
38299 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38301 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
38303 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
38305 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38306 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
38307 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
38309 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
38310 (INTERNAL_SYSCALL_TYPES): Likewise.
38311 (LOAD_ARGS_TYPES_[1-6]): Likewise.
38312 (LOAD_REGS_TYPES_[1-6]): Likewise.
38313 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
38314 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
38316 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38318 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
38319 copysignl for GLIBC_2_0.
38320 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
38321 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
38322 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
38323 logbl for GLIBC_2_0.
38324 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38325 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38327 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38329 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
38330 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38332 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38335 * time/mktime.c: Update copyright years.
38337 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
38339 mktime: merge comment-quoting-style change from gnulib
38340 * time/mktime.c: Quote 'like this' in comments.
38341 The GNU coding standards suggest that we no longer quote `like this',
38342 as "`" and "'" are typically rendered asymmetrically nowadays.
38343 The typical gnulib style is to quote 'like this' when quoting
38344 code, and "like this" when quoting English.
38346 * time/mktime.c (compile-command): Add "-I.".
38348 mktime: merge mktime-internal.h change from gnulib
38349 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
38351 mktime: merge time_r change from gnulib
38352 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
38354 mktime: merge DEBUG change from gnulib
38355 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
38356 case system <time.h> has a #define.
38358 mktime: merge <sys/types.h> change from gnulib
38359 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
38360 since <time.t> is now guaranteed to define time_t.
38362 mktime: merge HAVE_CONFIG_H change from gnulib
38363 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
38365 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38367 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38370 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
38372 (struct rusage): Use anonymous union to pad each field to
38375 2012-05-21 David S. Miller <davem@davemloft.net>
38377 * Makefules (o-iterator): Remove .s cases.
38378 (compile-command.s): Delete.
38379 (COMPILE.s): Delete.
38380 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
38382 2012-05-21 Joseph Myers <joseph@codesourcery.com>
38384 * configure.in (libc_cv_predef_stack_protector): Only consider
38385 "foobar" and "__stack_chk_fail" lines in libc_undefs.
38386 * configure: Regenerated.
38388 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38390 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38391 New macro. Use R*LP on int and pointer.
38392 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
38393 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
38394 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
38395 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
38397 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
38398 [__WORDSIZE_TIME64_COMPAT32] instead of
38399 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
38400 (struct utmp): Likewise.
38401 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
38402 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
38404 (__WORDSIZE_TIME64_COMPAT32): This.
38405 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
38406 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
38407 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
38408 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
38409 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
38410 (__WORDSIZE_TIME64_COMPAT32): New macro.
38412 2012-05-21 Andreas Jaeger <aj@suse.de>
38414 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
38415 only if [SHARED]. Add prototype for __wcschr_ia32.
38417 2012-05-21 Roland McGrath <roland@hack.frob.com>
38419 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
38420 of %rbp unmolested in the jmp_buf while mangling the low bits.
38421 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
38422 unmolested high bits of %rbp while demangling the low bits.
38423 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38425 2012-05-21 Andreas Jaeger <aj@suse.de>
38427 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
38428 * sunrpc/svc_simple.c: Use it for registerrpc.
38429 * sunrpc/xcrypt.c: Use it for passwd2des.
38431 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
38433 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38435 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
38436 Don't define if [__SYSCALL_WORDSIZE != 32].
38437 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
38440 2012-05-21 Bruno Haible <bruno@clisp.org>
38441 Andreas Jaeger <aj@suse.de>
38443 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
38444 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
38445 inptr and inend for must_buffer_ch.
38446 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
38447 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
38448 * stdio-common/Makefile (tests): Remove bug15.
38449 (bug15-ENV): Remove macro.
38450 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
38453 2012-05-19 Andreas Jaeger <aj@suse.de>
38454 Roland McGrath <roland@hack.frob.com>
38456 * manual/contrib.texi: Completely rewritten. It contains now an
38457 alphabetical list of contributors and their contributions.
38459 2012-05-21 Richard Henderson <rth@twiddle.net>
38461 * misc/getauxval.c (__getauxval): Use unsigned long int.
38462 * misc/sys/auxv.h: Include <sys/cdefs.h>.
38463 (getauxval): Use unsigned long int.
38465 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38467 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38469 2012-05-21 Roland McGrath <roland@hack.frob.com>
38471 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
38472 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
38473 __alignof__ (long double).
38475 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38479 2012-05-20 Richard Henderson <rth@twiddle.net>
38481 * misc/getauxval.c: New file.
38482 * misc/sys/auxv.h: New file.
38483 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
38484 (routines): Add getauxval.
38485 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
38486 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
38487 * elf/dl-sysdep.c (_dl_auxv): Remove.
38488 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
38489 * elf/dl-support.c (_dl_auxv): New variable.
38490 (_dl_aux_init): Initialize it.
38491 * manual/startup.texi (Auxiliary Vector): New node.
38492 * sysdeps/generic/bits/hwcap.h: New file.
38493 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
38494 * sysdeps/powerpc/sysdep.h: ... here. Include it.
38495 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
38496 * sysdeps/sparc/sysdep.h: ... here. Include it.
38497 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
38498 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
38499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
38502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
38503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
38504 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
38505 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
38508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
38510 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38514 2012-05-19 David S. Miller <davem@davemloft.net>
38516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38518 2012-05-19 Joseph Myers <joseph@codesourcery.com>
38521 * math/s_ccosh.c: Include <float.h>
38522 (__ccosh): Avoid internal overflow calculating sinh and cosh
38523 values before multiplying by sin and cos values.
38524 * math/s_ccoshf.c: Likewise.
38525 * math/s_ccoshl.c: Likewise.
38526 * math/s_csin.c: Likewise.
38527 * math/s_csinf.c: Likewise.
38528 * math/s_csinl.c: Likewise.
38529 * math/s_csinh.c: Likewise.
38530 * math/s_csinhf.c: Likewise.
38531 * math/s_csinhl.c: Likewise.
38532 * math/libm-test.inc (ccos_test): Add more tests.
38533 (ccosh_test): Likewise.
38534 (csin_test): Likewise.
38535 (csinh_test): Likewise.
38536 * sysdeps/i386/fpu/libm-test-ulps: Update.
38537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38539 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
38541 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
38542 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
38544 * sysdeps/x86_64/x32/_itoa.h: Add comment.
38546 2012-05-19 Joseph Myers <joseph@codesourcery.com>
38548 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
38549 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
38550 * sysdeps/powerpc/soft-fp/Versions: Likewise.
38551 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
38552 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
38553 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
38554 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
38555 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
38556 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
38557 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
38558 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
38559 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
38560 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
38561 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
38562 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
38563 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
38564 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
38565 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
38566 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
38567 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
38568 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
38569 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
38570 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
38571 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
38572 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
38573 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
38574 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
38575 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
38576 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
38577 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
38578 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
38580 2012-05-18 Andreas Jaeger <aj@suse.de>
38582 * csu/.gitignore: Delete.
38584 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38586 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
38587 (timex): Use __syscall_slong_t.
38589 2012-05-18 Andreas Jaeger <aj@suse.de>
38590 Carlos O'Donell <carlos_odonell@mentor.com>
38592 * manual/install.texi (Configuring and compiling): Update
38593 description about files modified in the source directory.
38594 * INSTALL: Regenerated.
38596 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38598 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
38599 value. Use "or" to set return value to -1.
38600 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
38601 negate return value.
38603 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38605 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
38606 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
38607 failure if the compiler has Graphite support disabled.
38608 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
38610 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
38611 (CFLAGS-memmove.c): Likewise.
38612 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
38615 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38617 * sysdeps/x86_64/x32/_itoa.h: New file.
38619 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
38620 getdents system call only if kernel and user dirents have the
38621 same d_ino and d_off.
38623 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38624 LLONG_MAX != LONG_MAX.
38625 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38626 (_fitoa_word): Likewise.
38628 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
38630 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
38631 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
38632 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
38634 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
38635 include <bits/wordsize.h>. Check __x86_64__ instead of
38637 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
38638 if __x86_64__ is defined. Use anonymous union on fpstate.
38640 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
38643 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
38645 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38646 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
38647 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
38648 Refer to _rtld_local_ro instead of _rtld_global_ro.
38649 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
38651 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
38653 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
38655 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
38656 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
38657 of _rtld_global, and rtld_progname instead of _dl_argv[0].
38659 * sysdeps/powerpc/powerpc32/dl-machine.c
38660 (__elf_machine_runtime_setup) [PROF]: Don't reference
38663 2012-05-18 Andreas Jaeger <aj@suse.de>
38665 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
38666 function only available for GCCs before 3.4 since GCC 3.4
38667 introduced a builtin.
38669 (llrintf): Likewise.
38670 (llrint): Likewise.
38677 (nearbyint): Likewise.
38678 (nearbyintf): Likewise.
38682 (floorf): Likewise.
38684 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38686 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
38687 on both fields and cast pointer to __syscall_ulong_t.
38689 * bits/types.h (__fsword_t): New type.
38690 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
38691 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
38692 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38693 (__FSWORD_T_TYPE): Likewise.
38694 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38695 (__FSWORD_T_TYPE): Likewise.
38696 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38697 (__FSWORD_T_TYPE): Likewise.
38698 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
38699 (__FSWORD_T_TYPE): Likewise.
38700 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
38701 __SWORD_TYPE with __fsword_t.
38702 (statfs64): Likewise.
38704 2012-05-17 David S. Miller <davem@davemloft.net>
38706 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
38708 2012-05-17 Andreas Jaeger <aj@suse.de>
38710 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
38713 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38715 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
38717 2012-05-17 Andreas Jaeger <aj@suse.de>
38719 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
38722 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
38724 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
38726 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38728 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
38729 * sysdeps/x86_64/tst-mallocalign1.c: New file.
38731 2012-05-17 Andreas Jaeger <aj@suse.de>
38732 Carlos O'Donell <carlos_odonell@mentor.com>
38735 * sysdeps/x86_64/multiarch/init-arch.h
38736 (bit_YMM_Usable): Rename to...
38737 (bit_AVX_Usable): ... this.
38738 (bit_FMA4_Usable): New macro.
38739 (bit_XMM_state): New macro.
38740 (bit_YMM_state): New macro.
38741 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
38742 [__ASSEMBLER__] (index_AVX_Usable): ... this.
38743 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
38744 (CPUID_OSXSAVE): New macro.
38745 (CPUID_AVX): New macro.
38746 (CPUID_FMA4): New macro.
38747 (index_YMM_Usable): Rename to...
38748 (index_AVX_Usable): ... this.
38749 (HAS_AVX): Use HAS_ARCH_FEATURE.
38750 (HAS_FMA4): Likewise.
38751 (HAS_YMM_USABLE): Remove.
38752 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38753 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
38755 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
38756 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
38757 * sysdeps/x86_64/multiarch/Makefile: Likewise.
38758 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
38759 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
38761 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
38763 * math/libm-test.c: Support platforms without multiple rounding modes.
38764 * math/bug-nextafter.c: Support platforms without FP exceptions.
38765 * math/bug-nexttoward.c: Likewise.
38766 * math/test-fenv.c: Likewise.
38767 * math/test-misc.c: Likewise.
38768 * stdlib/bug-getcontext.c: Likewise.
38770 2012-05-17 Andreas Jaeger <aj@suse.de>
38772 * manual/examples/search.c (critter_cmp): Change signature to
38774 * manual/string.texi (Collation Functions): Likewise.
38776 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38778 * bits/types.h: Fold copyright years.
38779 * bits/typesizes.h: Likewise.
38780 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
38781 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38782 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
38783 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
38784 * time/time.h: Likewise.
38786 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
38789 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
38790 in instead of returning them. Return void.
38791 (__libc_mallinfo): Accumulate over all arenas.
38792 (__malloc_stats): Adjust for change in int_mallinfo interface.
38794 2012-05-16 Roland McGrath <roland@hack.frob.com>
38797 * configure.in (NM): Add AC_CHECK_TOOL for it.
38798 (libc_extra_cflags): New substituted variable.
38799 Check for -fstack-protector being used implicitly.
38800 * configure: Regenerated.
38801 * config.make.in (config-extra-cflags): New variable,
38802 gets @libc_extra_cflags@.
38803 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
38806 * configure.in: Check for _FORTIFY_SOURCE being predefined.
38807 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
38808 * configure: Regenerated.
38809 * config.make.in (CPPUNDEFS): New substituted variable.
38810 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
38811 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
38812 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
38814 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38816 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
38817 (mq_attr): Use __syscall_slong_t.
38819 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38821 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
38822 Check __x86_64__ instead of __WORDSIZE.
38823 (_STAT_VER_LINUX): Likewise.
38824 (stat): Check __x86_64__ instead of __WORDSIZE. Use
38825 __syscall_ulong_t and __syscall_slong_t.
38826 (stat64): Likewise.
38828 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38830 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
38832 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38834 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
38836 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38838 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
38841 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
38842 include <bits/wordsize.h>. Check __x86_64__ instead of
38844 (greg_t): Use "__extension__ long long int" if __x86_64__ is
38846 (mcontext_t): Replace "unsigned long" with "unsigned long long".
38848 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
38849 include <bits/wordsize.h>. Check __x86_64__ instead of
38851 (user_regs_struct): Use "__extension__ unsigned long long"
38852 instead of "unsigned long" if __x86_64__ is defined.
38853 (user): Likewise. Pad after pointer field if __ILP32__ is
38856 2012-05-16 Joseph Myers <joseph@codesourcery.com>
38858 * configure.in (makeinfo): Require version 4.5 or later. Allow
38860 * configure: Regenerated.
38861 * manual/install.texi (texinfo): Increase version requirement to
38863 * INSTALL: Regenerated.
38865 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
38867 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38869 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
38871 * sysdeps/x86_64/x32/ffs.c: New file.
38873 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
38875 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
38876 defined. Use __syscall_ulong_t.
38877 (shminfo): Use __syscall_ulong_t.
38878 (shm_info): Likewise.
38880 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
38883 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
38885 (msgqnum_t): Use __syscall_ulong_t.
38886 (msglen_t): Likewise.
38887 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
38890 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
38891 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38893 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
38895 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
38896 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38898 * sysvipc/sys/msg.h (msgbuf): Replace long int with
38901 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
38902 include <bits/wordsize.h>. Check __x86_64__ instead of
38905 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
38906 "unsigned long long int" if __x86_64__ is defined.
38907 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
38909 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
38910 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38911 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
38913 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
38915 (GET_PC): Cast to uintptr_t first.
38916 (GET_FRAME): Likewise.
38917 (GET_STACK): Likewise.
38919 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
38920 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
38921 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
38922 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
38923 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
38924 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
38925 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
38926 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
38927 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
38928 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
38929 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
38930 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
38931 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38932 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
38933 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
38934 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
38935 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
38936 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
38937 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
38938 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
38939 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
38940 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
38941 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
38942 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
38943 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
38944 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
38945 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
38946 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
38947 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
38949 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
38951 * Makerules (+depfiles): Also collect depfiles from .oS in
38953 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
38954 .oS, $(libnldbl-routines)).
38956 * Makerules (native-compile-mkdep-flags): Define.
38957 * sunrpc/Makefile (extra-objs): Add $(addprefix
38958 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38959 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38960 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
38961 calling $(make-target-directory).
38963 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38965 * bits/types.h (__snseconds_t): Removed.
38966 * time/time.h (struct timespec): Replace __snseconds_t with
38968 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38969 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38971 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38972 (__SNSECONDS_T_TYPE): Likewise.
38973 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38974 (__SNSECONDS_T_TYPE): Likewise.
38975 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38976 (__SNSECONDS_T_TYPE): Likewise.
38978 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38980 * sysdeps/mach/hurd/bits/typesizes.h
38981 (__SYSCALL_SLONG_TYPE): New macro.
38982 (__SYSCALL_ULONG_TYPE): Likewise.
38984 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38986 * bits/types.h (__syscall_slong_t): New type.
38987 (__syscall_ulong_t): Likewise.
38989 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
38990 (__SYSCALL_ULONG_TYPE): Likewise.
38991 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38992 (__SYSCALL_SLONG_TYPE): Likewise.
38993 (__SYSCALL_ULONG_TYPE): Likewise.
38994 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38995 (__SYSCALL_SLONG_TYPE): Likewise.
38996 (__SYSCALL_ULONG_TYPE): Likewise.
38997 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38998 (__SYSCALL_SLONG_TYPE): Likewise.
38999 (__SYSCALL_ULONG_TYPE): Likewise.
39001 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39003 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
39004 Add sigaltstack-offsets.sym.
39005 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
39006 <sigaltstack-offsets.h>.
39007 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
39008 longjmp_msg pointer.
39009 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
39010 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
39012 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
39014 2012-05-15 Joseph Myers <joseph@codesourcery.com>
39016 * elf/stackguard-macros.h: Remove file.
39017 * sysdeps/generic/stackguard-macros.h: New file.
39018 * sysdeps/i386/stackguard-macros.h: Likewise.
39019 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39020 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39021 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39022 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39023 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39024 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39025 * sysdeps/x86_64/stackguard-macros.h: Likewise.
39026 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
39027 <elf/stackguard-macros.h>.
39030 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
39031 __aligned__ in attribute.
39032 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
39033 (gregset_t): Likewise.
39035 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39037 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
39038 * sysdeps/x86_64/64/Implies-after: Here. New file.
39039 * sysdeps/x86_64/x32/Implies-after: New file.
39041 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39043 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
39044 and access return value for _dl_profile_fixup. Use R10_LP to
39047 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39049 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
39051 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39053 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
39054 * sysdeps/x86_64/x32/sysdep.h: New file.
39056 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39058 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
39059 * sysdeps/x86_64/setjmp.S: Likewise.
39061 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39063 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39064 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39065 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39066 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39067 remove unused global constant.
39069 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
39071 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39072 include of <not-cancel.h>.
39074 2012-05-15 Roland McGrath <roland@hack.frob.com>
39076 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39078 2012-05-15 Jeff Law <law@redhat.com>
39079 Andreas Jaeger <aj@suse.de>
39082 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39084 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39085 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39086 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39087 code changing __hst_map_handle.map.
39089 2012-05-15 Roland McGrath <roland@hack.frob.com>
39091 * configure.in (sysnames): Look for Implies-before and Implies-after
39093 * configure: Regenerated.
39095 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39097 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39098 8-byte data alignment with LP_SIZE alignment.
39100 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39102 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39105 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39107 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39109 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39111 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39112 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39113 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39115 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39117 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39119 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39120 (stackinfo_sub_sp): Likewise.
39122 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39124 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39127 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39129 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
39132 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39134 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
39137 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39139 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
39141 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39143 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
39144 into R11_LP and load __x86_64_shared_cache_size_half into
39147 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39149 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
39152 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39154 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
39156 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
39158 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
39160 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
39161 powerpc32/power7/fpu/s_logb.c via #include.
39162 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
39163 powerpc32/power7/fpu/s_logbf.c via #include.
39164 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
39165 powerpc32/power7/fpu/s_logbl.c via #include.
39167 2012-05-15 Joseph Myers <joseph@codesourcery.com>
39169 * README.libm: Remove file.
39171 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39173 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
39174 count for x32. Use R*_LP and omit operand-size suffix.
39176 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39178 * shlib-versions: Move x86_64-.*-linux.* entries to ...
39179 * sysdeps/x86_64/64/shlib-versions: Here. New file.
39180 * sysdeps/x86_64/x32/shlib-versions: New file.
39182 2012-05-14 Roland McGrath <roland@hack.frob.com>
39184 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
39185 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
39186 Use _dl_fatal_printf instead.
39188 2012-05-14 Joseph Myers <joseph@codesourcery.com>
39190 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
39191 set if not set by the user. Do not allow for being unset.
39192 * sysdeps/unix/sysv/linux/configure: Regenerated.
39194 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39196 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
39197 the `q' suffix from lea and replace .quad with ASM_ADDR.
39199 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39201 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
39202 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
39204 (PTR_DEMANGLE): Likewise.
39206 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39208 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
39210 (ASM_ADDR): Likewise.
39211 (RAX_LP): Likewise.
39212 (RBP_LP): Likewise.
39213 (RBX_LP): Likewise.
39214 (RCX_LP): Likewise.
39215 (RDI_LP): Likewise.
39216 (RSI_LP): Likewise.
39217 (RSP_LP): Likewise.
39220 (R10_LP): Likewise.
39221 (R10_LP): Likewise.
39222 (R11_LP): Likewise.
39223 (R12_LP): Likewise.
39224 (R13_LP): Likewise.
39225 (R14_LP): Likewise.
39226 (R15_LP): Likewise.
39228 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39230 * sysdeps/x86_64/x32/dl-machine.h: New file.
39232 2012-05-14 Andreas Jaeger <aj@suse.de>
39234 * manual/Makefile (subdir): Remove export of subdir.
39235 (all): Remove target.
39236 (.PHONY): Remove all from list.
39237 (mkinstalldirs): Remove.
39238 (.PHONY): Remove installdirs from list.
39239 ($(inst_infodir)/libc.info): Use make-target-directory.
39240 (installdirs): Remove.
39241 (subdir_%): Remove.
39242 (glibc-targets): Remove.
39245 ($(objpfx)stubs ../po/manual.pot): Remove.
39246 ($(objpfx)stamp%): Remove.
39247 (make-target-directory): Remove.
39248 (subdir_install): Remove.
39249 (routines): Remove.
39256 * manual/.gitignore: Remove, it's not needed anymore.
39257 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
39259 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
39261 (texis): Renamed to $(objpfx)texis.
39262 (texis-path): New, contains path to generated files.
39263 (chapters.%): Use texis-path for complete path, add extra argument
39265 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
39266 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
39267 (summary,texi, stamp-summary): Use complete path of
39268 files. Generate files in build dir.
39269 (dir-add.texi): Build in build dir.
39270 (libm-err.texi,stamp-libm-err): Likewise.
39271 (version.texi, stamp-version): Likewise.
39272 (.%c.texi): Likewise.
39273 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
39274 (mostlyclean): Remove target.
39275 (realclean): Remove target.
39276 (generated): Add new variable with contents from mostlyclean and
39277 realclean, remove entries duplicated in common-mostlyclean, add
39278 stamp-libm-err and stamp-version.
39279 (generated-dirs): Add libc directory.
39280 ($(inst_infodir)/libc.info): Install files from build dir.
39282 * manual/install.texi (Configuring and compiling): Adjust since
39283 the info files are not part of the tar ball anymore.
39285 2012-05-14 Andreas Jaeger <aj@suse.de>
39287 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
39290 2012-05-14 Joseph Myers <joseph@codesourcery.com>
39293 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39294 to 2.2.0 where earlier.
39295 * sysdeps/unix/sysv/linux/configure: Regenerated.
39296 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
39297 Remove conditional code.
39298 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
39299 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
39300 Remove conditional code.
39301 [!__NR_lchown]: Likewise.
39302 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39303 [__NR_lchown]: Likewise.
39304 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
39305 comment referencing __ASSUME_LCHOWN_SYSCALL.
39306 * sysdeps/unix/sysv/linux/i386/sigaction.c
39307 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39308 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39309 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
39310 Remove conditional code.
39311 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
39312 (__protocol_available): Remove #if 0 code.
39313 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
39315 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
39316 * sysdeps/unix/sysv/linux/kernel-features.h
39317 (__ASSUME_GETCWD_SYSCALL): Don't define.
39318 (__ASSUME_REALTIME_SIGNALS): Likewise.
39319 (__ASSUME_PREAD_SYSCALL): Likewise.
39320 (__ASSUME_PWRITE_SYSCALL): Likewise.
39321 (__ASSUME_POLL_SYSCALL): Likewise.
39322 (__ASSUME_LCHOWN_SYSCALL): Likewise.
39323 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
39325 (__ASSUME_SIOCGIFNAME): Don't define.
39326 (__ASSUME_MSG_NOSIGNAL): Likewise.
39327 (__ASSUME_SENDFILE): Define unconditionally.
39328 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
39329 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
39331 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
39332 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
39333 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39334 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39335 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
39336 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39337 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
39339 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39340 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39342 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39343 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
39345 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39346 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39348 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39349 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
39351 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39352 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
39354 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39355 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
39357 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39358 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
39360 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39361 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39362 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
39363 Remove conditional code.
39364 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39365 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39366 Remove conditional code.
39367 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39368 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
39369 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
39370 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39371 Remove conditional code.
39372 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39373 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
39374 Remove conditional code.
39375 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39376 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
39377 Remove conditional code.
39378 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39379 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39380 Remove conditional code.
39381 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39382 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39383 Remove conditional code.
39384 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39385 * sysdeps/unix/sysv/linux/sh/pwrite64.c
39386 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39387 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39388 * sysdeps/unix/sysv/linux/sigaction.c
39389 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39390 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39391 * sysdeps/unix/sysv/linux/sigpending.c
39392 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39393 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39394 * sysdeps/unix/sysv/linux/sigprocmask.c
39395 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39396 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39397 * sysdeps/unix/sysv/linux/sigsuspend.c
39398 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39399 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39400 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39401 (__libc_missing_rt_sigs): Remove.
39402 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
39403 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
39404 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
39405 Remove conditional code.
39406 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
39407 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
39409 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
39410 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
39411 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
39412 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
39414 2012-05-14 Andreas Jaeger <aj@suse.de>
39416 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
39417 it's not used in glibc.
39418 (__coshm1): Likewise.
39419 (__acosh1p): Likewise.
39422 * manual/string.texi (Copying and Concatenation): Add missing
39423 variable in concat example.
39424 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
39426 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39429 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
39430 __builtin_clzl with __builtin_clzll.
39432 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39435 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
39438 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39440 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
39441 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
39442 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
39443 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
39445 2012-05-14 Mike Frysinger <vapier@gentoo.org>
39447 * NEWS: Update ia64 info.
39449 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
39451 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
39454 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
39456 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
39457 * sysdeps/unix/syscalls.list (dup3): Likewise.
39458 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
39459 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
39461 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
39463 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
39464 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
39466 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
39468 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
39470 (TLS_IE): Use mov/add instead of movq/addq to load thread
39472 (TLS_GD_PREFIX): New.
39475 2012-05-11 David S. Miller <davem@davemloft.net>
39477 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
39478 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
39479 (_FPU_SETCW): Likewise.
39481 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39483 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
39484 is 32-byte aligned.
39486 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
39489 * iconvdata/gb18030.c: Update tables.
39490 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
39491 characters specially.
39492 (BODY for TO_LOOP): Add encoding of missing ranges.
39494 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
39497 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
39498 * sysdeps/mach/hurd/dup3.c: Likewise.
39499 * sysdeps/mach/hurd/readlinkat.c: Likewise.
39500 * sysdeps/powerpc/memmove.c:: Likewise.
39502 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39504 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
39505 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
39507 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39509 * elf/elf.h (R_X86_64_RELATIVE64): New.
39510 (R_X86_64_NUM): Updated.
39511 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39512 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
39513 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
39514 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
39515 tst-quad1pie tst-quad2pie
39516 (modules-names): Add tst-quadmod1 tst-quadmod2.
39517 ($(objpfx)tst-quad1): New dependency.
39518 ($(objpfx)tst-quad2): Likewise.
39519 ($(objpfx)tst-quad1pie): Likewise.
39520 ($(objpfx)tst-quad2pie): Likewise.
39521 * sysdeps/x86_64/tst-quad1.c: New file.
39522 * sysdeps/x86_64/tst-quad1pie.c: New file.
39523 * sysdeps/x86_64/tst-quad2.c: Likewise.
39524 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
39525 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
39526 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
39527 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
39528 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
39530 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39532 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
39533 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
39534 * streams/stropts.h (t_scalar_t): Define type.
39536 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
39537 (_PATH_PRESERVE): Set to "/var/lib".
39538 (_PATH_RWHODIR): Set to "/var/spool/rwho".
39540 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
39543 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
39544 if __dir_mkfile succeeded.
39546 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
39547 checking for _hurd_dtablesize. Unlock it right after having
39548 finished _hurd_dtable allocation.
39550 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39552 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
39553 * sysdeps/mach/hurd/configure: Regenerated.
39554 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
39555 special-casing to...
39556 * sysdeps/gnu/configure.in: ... this new file.
39557 * sysdeps/unix/sysv/linux/configure: Regenerated.
39558 * sysdeps/gnu/configure: New generated file.
39560 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
39561 for Linux: use nsec instead of usec, as well as:
39562 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
39563 members of type struct timespec.
39564 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
39566 (struct stat64): Likewise.
39567 (_STATBUF_ST_NSEC): New macro.
39568 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
39570 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39571 __strtoul_internal rather than strtoul.
39573 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39575 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
39578 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39580 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
39581 which preserves existing values.
39582 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
39584 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39586 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
39587 TIMEOUT values. Return EINVAL for NFDS values either negative or
39588 greater than FD_SETSIZE.
39590 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39592 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
39593 allocated, call __vm_protect to finish enabling the existing space, and
39594 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
39595 allocate the remainder.
39597 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39599 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
39600 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
39602 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39604 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
39605 sysdeps/mach/hurd/readlink.c.
39607 * posix/tst-sysconf.c (posix_options): Only use
39608 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
39609 _POSIX_SYNCHRONIZED_IO when they are defined
39610 * sysdeps/mach/hurd/bits/posix_opt.h:
39611 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
39612 (_XOPEN_REALTIME): Undefine macro.
39613 (_XOPEN_REALTIME_THREADS): Undefine macro.
39614 (_XOPEN_SHM): Undefine macro.
39615 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
39617 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
39619 (_POSIX_ASYNC_IO): Undefine macro.
39620 (_POSIX_PRIORITIZED_IO): Undefine macro.
39621 (_POSIX_SPIN_LOCKS): Define macro to -1.
39623 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
39624 SA_NODEFER, SA_RESETHAND.
39625 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
39626 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
39629 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39631 * elf/Makefile (pldd-modules): Define unconditionally.
39633 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39635 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
39637 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39639 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
39640 Return ENOENT when name is empty.
39641 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
39643 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39645 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
39647 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
39649 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39651 Fix mlock in all cases except non-readable pages.
39652 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
39653 instead of VM_PROT_ALL as parameter to __vm_wire function.
39655 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
39656 (__mkdir): When path is `/', just fail with EEXIST.
39657 * sysdeps/mach/hurd/mkdirat.c: Likewise.
39659 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39661 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
39662 <sys/uio.h> (for writev).
39663 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
39664 and <sys/param.h> (for MIN).
39666 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39668 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
39669 REQUESTED_TIME. Properly set the remaining time and return EINTR
39672 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39674 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
39675 Depend on against $(link-rpcuserlibs).
39677 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39679 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
39680 (__libc_stack_end): Do not use attribute_relro.
39681 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
39682 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
39683 to libthread-provided value.
39684 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
39687 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39690 * bits/libc-lock.h (__libc_once_get): New macro.
39691 * sysdeps/mach/bits/libc-lock.h: Likewise.
39692 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
39693 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
39694 instead of using implementation details.
39696 * libio/fileops.c: Unconditionally include <kernel-features.h>.
39697 * libio/freopen.c: Likewise.
39698 * libio/freopen64.c: Likewise.
39699 * misc/syslog.c: Likewise.
39700 * nscd/connections.c: Likewise.
39701 * nscd/netgroupcache.c: Likewise.
39702 * sysdeps/posix/getcwd.c: Likewise.
39704 2012-05-10 Roland McGrath <roland@hack.frob.com>
39706 * math/w_ilogbf.c: Add #include <limits.h>.
39708 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39710 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
39711 path instead of returning without unlocking.
39713 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
39714 immediate-write ioctls.
39715 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
39717 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39719 * sysdeps/mach/hurd/i386/init-first.c (init): Use
39720 __builtin_frame_address instead of making assumptions about the
39721 location of the return address relative to DATA. Force early load of
39722 the return address.
39723 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
39724 __builtin_frame_address.
39727 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
39728 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
39729 implement dup3 and do some further code clean-ups.
39730 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
39731 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
39733 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39735 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
39737 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
39738 HURD_CRITICAL_END around holding _hurd_dtable_lock.
39739 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
39740 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
39741 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
39744 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
39745 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
39746 when handler == SIG_ERR, not when handler != SIG_ERR.
39748 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39750 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
39751 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
39754 accept4 for GNU Hurd.
39755 * include/sys/socket.h (__libc_accept4): New prototype.
39756 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
39757 to implement __libc_accept4.
39758 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
39760 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
39762 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
39763 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
39764 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
39765 signal-defines.sym.
39767 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39769 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
39771 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
39773 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
39774 assertion on O_CLOEXEC flag.
39775 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
39776 * hurd/intern-fd.c: Likewise.
39777 * hurd/port2fd.c: Likewise.
39779 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39782 * bits/in.h (IPV6_PKTINFO): Define new macro.
39783 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
39785 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39790 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
39791 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39792 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
39793 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39794 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39795 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39796 * math/libm-test.inc (logb_test) : Additional logb tests.
39798 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
39799 Andreas Jaeger <aj@suse.de>
39801 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
39802 * configure: Regenerated.
39803 * config.h.in (LINK_OBSOLETE_RPC): New macro.
39804 * config.make.in (link-obsolete-rpc): New substituted variable.
39805 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
39806 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
39807 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39808 (shared-only-routines): Don't set it under [link-obsolete-rpc],
39809 so that libc.a contains the symbols.
39810 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39811 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
39812 * sunrpc/auth_none.c: Likewise.
39813 * sunrpc/auth_unix.c: Likewise.
39814 * sunrpc/authdes_prot.c: Likewise.
39815 * sunrpc/authuxprot.c: Likewise.
39816 * sunrpc/clnt_gen.c: Likewise.
39817 * sunrpc/clnt_perr.c: Likewise.
39818 * sunrpc/clnt_raw.c: Likewise.
39819 * sunrpc/clnt_simp.c: Likewise.
39820 * sunrpc/clnt_tcp.c: Likewise.
39821 * sunrpc/clnt_udp.c: Likewise.
39822 * sunrpc/clnt_unix.c: Likewise.
39823 * sunrpc/des_crypt.c: Likewise.
39824 * sunrpc/des_soft.c: Likewise.
39825 * sunrpc/get_myaddr.c: Likewise.
39826 * sunrpc/key_call.c: Likewise.
39827 * sunrpc/key_prot.c: Likewise.
39828 * sunrpc/netname.c: Likewise.
39829 * sunrpc/pm_getmaps.c: Likewise.
39830 * sunrpc/pm_getport.c: Likewise.
39831 * sunrpc/pmap_clnt.c: Likewise.
39832 * sunrpc/pmap_prot.c: Likewise.
39833 * sunrpc/pmap_prot2.c: Likewise.
39834 * sunrpc/pmap_rmt.c: Likewise.
39835 * sunrpc/publickey.c: Likewise.
39836 * sunrpc/rpc_cmsg.c: Likewise.
39837 * sunrpc/rpc_common.c: Likewise.
39838 * sunrpc/rpc_dtable.c: Likewise.
39839 * sunrpc/rpc_prot.c: Likewise.
39840 * sunrpc/rpc_thread.c: Likewise.
39841 * sunrpc/rtime.c: Likewise.
39842 * sunrpc/svc.c: Likewise.
39843 * sunrpc/svc_auth.c: Likewise.
39844 * sunrpc/svc_raw.c: Likewise.
39845 * sunrpc/svc_run.c: Likewise.
39846 * sunrpc/svc_tcp.c: Likewise.
39847 * sunrpc/svc_udp.c: Likewise.
39848 * sunrpc/svc_unix.c: Likewise.
39849 * sunrpc/svcauth_des.c: Likewise.
39850 * sunrpc/xcrypt.c: Likewise.
39851 * sunrpc/xdr.c: Likewise.
39852 * sunrpc/xdr_array.c: Likewise.
39853 * sunrpc/xdr_float.c: Likewise.
39854 * sunrpc/xdr_intXX_t.c: Likewise.
39855 * sunrpc/xdr_mem.c: Likewise.
39856 * sunrpc/xdr_rec.c: Likewise.
39857 * sunrpc/xdr_ref.c: Likewise.
39858 * sunrpc/xdr_sizeof.c: Likewise.
39859 * sunrpc/xdr_stdio.c: Likewise.
39861 2012-05-10 Roland McGrath <roland@hack.frob.com>
39863 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
39864 change. Update copyright years.
39866 2012-05-10 Joseph Myers <joseph@codesourcery.com>
39868 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
39870 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
39871 Joseph Myers <joseph@codesourcery.com>
39872 Paul Pluzhnikov <ppluzhnikov@google.com>
39875 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
39877 [cross-compiling] (extra-libs): Likewise.
39878 [cross-compiling] (extra-libs-others): Likewise.
39879 [cross-compiling] (librpcsvc-routines): Likewise.
39880 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
39881 [cross-compiling] (omit-deps): Likewise.
39882 (sunrpc-CPPFLAGS): New variable.
39883 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
39884 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
39885 (cross-rpcgen-objs): New variable.
39886 (extra-objs): Append $(cross-rpcgen-objs).
39887 ($(cross-rpcgen-objs)): New rule.
39888 ($(objpfx)cross-rpcgen): Likewise.
39889 (rpcgen-cmd): Define to use $(built-program-file). Expand
39891 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
39892 ($(objpfx)x%.stmp): Likewise.
39893 * sunrpc/proto.h [IS_IN_build] (_): Define.
39894 [IS_IN_build] (_libc_intl_domainname): Likewise.
39896 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39898 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
39899 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
39900 and R_X86_64_TPOFF64.
39902 2012-05-10 Joseph Myers <joseph@codesourcery.com>
39904 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
39905 sysdeps/unix/sysv/syscalls.list.
39908 * sysdeps/unix/sysv/syscalls.list: Remove file.
39910 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
39913 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
39914 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
39915 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
39916 (__LC_IDENTIFICATION): Make these macros useful in #if
39917 expressions, as required by C99.
39919 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
39921 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
39922 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
39925 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
39927 * stdlib/longlong.h: Updated from GCC.
39929 2012-05-09 Andreas Jaeger <aj@suse.de>
39931 * nscd/nscd.c (run_modes): Make named enum, reorder so that
39932 default is first entry.
39933 (run_mode): Set type.
39934 (main): Remove informal message about syslog.
39935 (options): Fix typo.
39938 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
39941 (llrintf): Likewise.
39942 (llrint): Likewise.
39945 (nearbyint): Likewise.
39946 (nearbyintf): Likewise.
39948 2012-05-09 Andreas Jaeger <aj@suse.de>
39949 Pedro Alves <palves@redhat.com>
39951 * nscd/nscd.c (run_mode): Use enum.
39952 (main): Cleanup coding style issue.
39954 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
39955 Andreas Jaeger <aj@suse.de>
39957 * nscd/nscd.c (go_background): Replaced with...
39958 (run_mode): ... this.
39959 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
39960 (options): Add -F --foreground.
39961 (main): Implement it.
39962 (parse_opt): Parse it.
39964 2012-05-09 Andreas Jaeger <aj@suse.de>
39967 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39968 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39969 -Wconversion warning.
39970 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39973 2012-05-09 Joseph Myers <joseph@codesourcery.com>
39975 * conform/data/locale.h-data (NULL): Use macro-constant. Require
39977 (LC_ALL): Use macro-int-constant.
39978 (LC_COLLATE): Likewise.
39979 (LC_CTYPE): Likewise.
39980 (LC_MESSAGES): Likewise.
39981 (LC_MONETARY): Likewise.
39982 (LC_NUMERIC): Likewise.
39983 (LC_TIME): Likewise.
39984 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
39985 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39986 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39987 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
39989 [C99-based standards] (float_t): Expect type.
39990 [C99-based standards] (double_t): Expect type.
39991 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
39993 [C99-based standards] (HUGE_VALL): Likewise.
39994 [C99-based standards] (INFINITY): Likewise.
39995 [C99-based standards] (NAN): Likewise.
39996 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
39997 [C99-based standards] (FP_NAN): Likewise.
39998 [C99-based standards] (FP_NORMAL): Likewise.
39999 [C99-based standards] (FP_SUBNORMAL): Likewise.
40000 [C99-based standards] (FP_ZERO): Likewise.
40001 [C99-based standards] (FP_FAST_FMA): Use
40002 optional-macro-int-constant. Specify type. Require == 1.
40003 [C99-based standards] (FP_FAST_FMAF): Likewise.
40004 [C99-based standards] (FP_FAST_FMAL): Likewise.
40005 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
40006 [C99-based standards] (FP_ILOGBNAN): Likewise.
40007 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
40009 [C99-based standards] (MATH_ERREXCEPT): Likewise.
40010 [C99-based standards] (math_errhandling): Specify type.
40011 [ISO99 || ISO11] (signgam): Do not allow.
40012 [non-C99-based standards] (copysignf): Do not allow.
40013 [non-C99-based standards] (exp2f): Likewise.
40014 [non-C99-based standards] (log2f): Likewise.
40015 [non-C99-based standards] (modff): Allow.
40016 [non-C99-based standards] (erff): Do not allow.
40017 [non-C99-based standards] (erfcf): Likewise.
40018 [non-C99-based standards] (gammaf): Likewise.
40019 [non-C99-based standards] (hypotf): Likewise.
40020 [non-C99-based standards] (j0f): Likewise.
40021 [non-C99-based standards] (j1f): Likewise.
40022 [non-C99-based standards] (jnf): Likewise.
40023 [non-C99-based standards] (lgammaf): Likewise.
40024 [non-C99-based standards] (tgammaf): Likewise.
40025 [non-C99-based standards] (y0f): Likewise.
40026 [non-C99-based standards] (y1f): Likewise.
40027 [non-C99-based standards] (ynf): Likewise.
40028 [non-C99-based standards] (isnanf): Likewise.
40029 [non-C99-based standards] (acoshf): Likewise.
40030 [non-C99-based standards] (asinhf): Likewise.
40031 [non-C99-based standards] (atanhf): Likewise.
40032 [non-C99-based standards] (cbrtf): Likewise.
40033 [non-C99-based standards] (expm1f): Likewise.
40034 [non-C99-based standards] (ilogbf): Likewise.
40035 [non-C99-based standards] (log1pf): Likewise.
40036 [non-C99-based standards] (logbf): Likewise.
40037 [non-C99-based standards] (nextafterf): Likewise.
40038 [non-C99-based standards] (remainderf): Likewise.
40039 [non-C99-based standards] (rintf): Likewise.
40040 [non-C99-based standards] (scalbf): Likewise.
40041 [non-C99-based standards] (copysignl): Likewise.
40042 [non-C99-based standards] (exp2l): Likewise.
40043 [non-C99-based standards] (log2l): Likewise.
40044 [non-C99-based standards] (modfl): Allow.
40045 [non-C99-based standards] (erfl): Do not allow.
40046 [non-C99-based standards] (erfcl): Likewise.
40047 [non-C99-based standards] (gammal): Likewise.
40048 [non-C99-based standards] (hypotl): Likewise.
40049 [non-C99-based standards] (j0l): Likewise.
40050 [non-C99-based standards] (j1l): Likewise.
40051 [non-C99-based standards] (jnl): Likewise.
40052 [non-C99-based standards] (lgammal): Likewise.
40053 [non-C99-based standards] (tgammal): Likewise.
40054 [non-C99-based standards] (y0l): Likewise.
40055 [non-C99-based standards] (y1l): Likewise.
40056 [non-C99-based standards] (ynl): Likewise.
40057 [non-C99-based standards] (isnanl): Likewise.
40058 [non-C99-based standards] (acoshl): Likewise.
40059 [non-C99-based standards] (asinhl): Likewise.
40060 [non-C99-based standards] (atanhl): Likewise.
40061 [non-C99-based standards] (cbrtl): Likewise.
40062 [non-C99-based standards] (expm1l): Likewise.
40063 [non-C99-based standards] (ilogbl): Likewise.
40064 [non-C99-based standards] (log1pl): Likewise.
40065 [non-C99-based standards] (logbl): Likewise.
40066 [non-C99-based standards] (nextafterl): Likewise.
40067 [non-C99-based standards] (remainderl): Likewise.
40068 [non-C99-based standards] (rintl): Likewise.
40069 [non-C99-based standards] (scalbl): Likewise.
40070 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40071 [non-C99-based standards] (FP_*): Do not allow.
40072 [C99-based standards] (FP_*): Change to
40073 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40074 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40076 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40077 (SIG_ERR): Likewise.
40078 [X/Open-based standards] (SIG_HOLD): Likewise.
40079 (SIG_IGN): Likewise.
40080 (SIGABRT): Use macro-int-constant. Specify type. Require
40082 (SIGFPE): Likewise.
40083 (SIGILL): Likewise.
40084 (SIGINT): Likewise.
40085 (SIGSEGV): Likewise.
40086 (SIGTER): Likewise.
40087 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40088 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40089 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40090 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40091 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40092 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40093 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40094 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40095 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40096 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40097 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40098 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40099 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40100 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40101 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40102 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40103 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40104 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40105 [X/Open-based standards] (SIGTRAP): Likewise.
40106 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40107 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40108 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40109 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40110 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40113 2012-05-08 Ian Wienand <ianw@vmware.com>
40116 * time/tzset.c (__tzset_parse_tz): Update default rules for
40117 daylight time changes in the Energy Policy Act of 2005.
40119 2012-05-09 Andreas Jaeger <aj@suse.de>
40122 * elf/ldconfig.c (parse_conf): Change string to make clear that
40123 ldconfig only issued a warning if ld.so.conf does not exist.
40125 2012-05-08 David S. Miller <davem@davemloft.net>
40127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40128 movxtod instead of popping the value on the stack.
40130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40132 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
40134 * config.h.in: Add HAVE_ARM_PCS_VFP.
40136 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
40139 * include/features.h: Warn if user requests __FORTIFY_SOURCE
40140 checking but the checks are disabled for any reason.
40142 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
40144 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
40145 and ELF64_R_TYPE with ELFW(R_TYPE).
40147 2012-05-08 Joseph Myers <joseph@codesourcery.com>
40149 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
40150 (ulimit): Likewise.
40152 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
40153 (settimeofday): Likewise.
40155 2012-05-08 Mike Frysinger <vapier@gentoo.org>
40157 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
40158 a struct th_u2 inside the union, and move tu_block/tu_code into
40159 a new th_u3 union of tu_block/tu_code inside of that. Move
40160 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
40161 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
40162 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
40163 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40164 (th_stuff): Change to th_u1.tu_stuff.
40166 (th_msg): Change to th_u1.th_u2.tu_data.
40168 2012-05-07 David S. Miller <davem@davemloft.net>
40170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40173 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
40174 (SETUP_PIC_REG): Use it.
40175 (SETUP_PIC_REG_LEAF): Use it.
40177 2012-05-07 Joseph Myers <joseph@codesourcery.com>
40181 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40183 (EXPL_FINITE): Likewise.
40184 (FLDLOG): Likewise.
40185 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40186 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40188 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40190 (EXPL_FINITE): Likewise.
40191 (FLDLOG): Likewise.
40192 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40193 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40195 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
40196 test of -max_value argument for long double.
40197 * sysdeps/i386/fpu/libm-test-ulps: Update.
40198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40200 2012-05-06 David S. Miller <davem@davemloft.net>
40202 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
40203 quad soft-float symbols whose references which are compiler
40205 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40207 2012-05-06 Joseph Myers <joseph@codesourcery.com>
40211 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40213 (EXPL_FINITE): Likewise.
40214 (FLDLOG): Likewise.
40217 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40218 Adjust comments for base varying.
40219 (__expl_finite): Change alias to EXPL_FINITE.
40220 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
40222 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
40223 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
40224 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40225 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
40226 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40228 (EXPL_FINITE): Likewise.
40229 (FLDLOG): Likewise.
40232 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40233 Adjust comments for base varying.
40234 (__expl_finite): Change alias to EXPL_FINITE.
40235 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
40237 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40240 * math/libm-test.inc (check_float_internal): Correct ulp
40241 calculation for subnormal expected results.
40243 2012-05-06 Andreas Jaeger <aj@suse.de>
40245 * Makeconfig (+math-flags): New, set to -frounding-math.
40246 (+cflags): Add +math-flags so that all of glibc gets compiled with
40249 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
40251 2012-05-05 Joseph Myers <joseph@codesourcery.com>
40253 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
40259 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
40260 (__ieee754_expl): Allow for and saturate large arguments.
40261 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
40262 (u_threshold): Likewise.
40263 (__exp): Call __ieee754_exp before checking for overflow and
40265 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
40266 (u_threshold): Likewise.
40267 (__expf): Call __ieee754_expf before checking for overflow and
40269 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
40270 (u_threshold): Likewise.
40271 (__expl): Call __ieee754_expl before checking for overflow and
40273 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
40274 (__ieee754_expl): Allow for and saturate large arguments.
40275 * math/libm-test.inc (exp_test): Add another test. Do not allow
40276 missing overflow exception on overflow.
40277 (expm1_test): Do not allow missing overflow exception on overflow.
40279 * sysdeps/i386/fpu/e_expl.c: Move to ...
40280 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
40281 rather than using inline asm.
40282 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
40283 * sysdeps/x86_64/fpu/e_expl.S: Copy from
40284 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
40286 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
40289 (signal): Likewise.
40293 2012-05-04 Joseph Myers <joseph@codesourcery.com>
40295 * sysdeps/unix/syscalls.list (adjtime): Add entry from
40296 sysdeps/unix/common/syscalls.list.
40297 (fchmod): Likewise.
40298 (fchown): Likewise.
40299 (ftruncate): Likewise.
40300 (getrusage): Likewise.
40301 (gettimeofday): Likewise.
40302 (setpgid): Likewise.
40303 (setregid): Likewise.
40304 (setreuid): Likewise.
40305 (sigaction): Likewise.
40306 (truncate): Likewise.
40307 (vhangup): Likewise.
40308 * sysdeps/unix/common/syscalls.list: Remove file.
40309 * sysdeps/unix/bsd/Implies: Don't include unix/common.
40310 * sysdeps/unix/sysv/linux/Implies: Likewise.
40312 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
40314 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
40315 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
40316 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
40318 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40320 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
40322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
40323 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
40325 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
40326 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
40328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
40329 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
40331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
40332 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
40334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
40335 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
40337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
40338 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
40340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40342 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
40344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
40346 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
40348 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
40349 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
40351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
40353 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
40355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
40357 2012-05-04 Joseph Myers <joseph@codesourcery.com>
40359 * sysdeps/unix/common/bits/dirent.h: Remove file.
40360 * sysdeps/unix/common/bits/fcntl.h: Likewise.
40362 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
40363 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
40364 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
40365 * sysdeps/unix/bsd/isatty.c: Likewise.
40366 * sysdeps/unix/bsd/tcdrain.c: Likewise.
40367 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
40368 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
40370 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40373 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
40374 long double comparison inaccuracies.
40375 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40378 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
40380 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
40381 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
40383 2012-05-04 Joseph Myers <joseph@codesourcery.com>
40386 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
40387 nonzero digits before rounding a hex value.
40388 * stdlib/tst-strtod.c (tests): Add another test.
40390 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40392 * sysdeps/s390/fpu/libm-test-ulps: Update.
40394 2012-05-03 Andreas Jaeger <aj@suse.de>
40396 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
40397 does not get optimized out.
40398 (malloc_opt_barrier): New.
40400 2012-05-03 Andreas Jaeger <aj@suse.de>
40401 Roland McGrath <roland@hack.frob.com>
40403 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
40404 intermediate file deletion.
40405 (generated): Add .symlist files.
40407 2012-05-03 Joseph Myers <joseph@codesourcery.com>
40410 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
40411 Redirect under this condition.
40412 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40413 [__USE_GNU] (__dprintf_chk): Not under this condition.
40414 [__USE_GNU] (__vdprintf_chk): Likewise.
40415 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
40416 under this condition.
40417 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40418 [__USE_XOPEN2K8] (dprintf): Define under this condition.
40419 [__USE_XOPEN2K8] (vdprintf): Likewise.
40420 [__USE_GNU] (__dprintf_chk): Not under this condition.
40421 [__USE_GNU] (__vdprintf_chk): Likewise.
40422 [__USE_GNU] (dprintf): Likewise.
40423 [__USE_GNU] (vdprintf): Likewise.
40425 2012-05-03 Roland McGrath <roland@hack.frob.com>
40427 * elf/Makefile (common-generated): Set this instead of generated for
40428 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
40429 $(all-built-dso)-derived lists.
40431 2012-05-03 Andreas Jaeger <aj@suse.de>
40433 * sysdeps/i386/fpu/libm-test-ulps: Update.
40436 * FAQ.in: Likewise.
40437 * scripts/gen-FAQ.pl: Likewise.
40438 * manual/install.texi (Installation): Point to online location of
40440 * Makefile (files-for-dist): Remove FAQ.
40443 2012-05-02 Allan McRae <allan@archlinux.org>
40445 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
40446 (LDFLAGS-reldepmod5.so): Likewise.
40447 (LDFLAGS-reldep6mod1.so): Likewise.
40448 (LDFLAGS-reldep6mod4.so): Likewise.
40449 (LDFLAGS-reldep8mod3.so): Likewise.
40450 (LDFLAGS-unload4mod1.so): Likewise.
40451 (LDFLAGS-unload4mod2.so): Likewise.
40452 (LDFLAGS-tst-initorder): Likewise.
40453 (LDFLAGS-tst-initordera2.so): Likewise.
40454 (LDFLAGS-tst-initordera3.so): Likewise.
40455 (LDFLAGS-tst-initordera4.so): Likewise.
40456 (LDFLAGS-tst-initorderb2.so): Likewise.
40457 (LDFLAGS-noload): Likewise.
40458 (LDFLAGS-next): Likewise.
40459 (LDFLAGS-order2mod1.so): Likewise.
40460 (LDFLAGS-order2mod2.so): Likewise.
40461 (LDFLAGS-tst-initorder2): Likewise.
40462 (LDFLAGS-tst-initorder2a.so): Likewise.
40463 (LDFLAGS-tst-initorder2b.so): Likewise.
40464 (LDFLAGS-tst-initorder2c.so): Likewise.
40465 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
40467 2012-05-02 David S. Miller <davem@davemloft.net>
40469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40471 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
40474 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
40476 2012-05-02 Andreas Jaeger <aj@suse.de>
40478 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
40479 since we manipulate rounding mode.
40480 (CPPFLAGS-test-idouble.c): Likewise.
40481 (CPPFLAGS-test-ifloat.c): Likewise.
40482 (CFLAGS-test-ldouble.c): Likewise.
40483 (CFLAGS-test-double.c): Likewise.
40484 (CFLAGS-test-float.c): Likewise.
40485 (CFLAGS-test-misc.c): Likewise.
40486 (CFLAGS-test-test-fenv.c): Likewise.
40488 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40492 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
40493 comparisons to determine direction to adjust input.
40495 2012-05-01 Roland McGrath <roland@hack.frob.com>
40497 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
40498 output to the target.
40500 * scripts/localplt.awk: New file.
40501 * elf/Makefile ($(objpfx)check-localplt): Target removed.
40502 (check-localplt-CFLAGS): Variable removed.
40503 ($(all-built-dso:=.jmprel)): New static pattern rule.
40504 (generated): Add those targets.
40505 (localplt-built-dso): New variable.
40506 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
40508 * elf/check-localplt.c: File removed.
40510 * scripts/check-execstack.awk: New file.
40511 * elf/Makefile ($(objpfx)check-execstack): Target removed.
40512 (check-execstack-CFLAGS): Variable removed.
40513 ($(objpfx)check-execstack.h): Target removed.
40514 ($(objpfx)execstack-default): New target.
40515 (generated): Add that instead of check-execstack.h.
40516 ($(all-built-dso:=.phdr)): New static pattern rule.
40517 (generated): Add those targets.
40518 * elf/check-execstack.c: File removed.
40520 * scripts/check-textrel.awk: New file.
40521 * elf/Makefile ($(objpfx)check-textrel): Target removed.
40522 (check-textrel-CFLAGS): Variable removed.
40523 (all-built-dso): Use := to define.o
40524 ($(all-built-dso:=.dyn)): New static pattern rule.
40525 (generated): Add those targets.
40526 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
40527 * config.make.in (READELF): New substituted variable.
40528 * elf/check-textrel.c: File removed.
40530 2012-05-01 Joseph Myers <joseph@codesourcery.com>
40532 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40534 * conform/data/ctype.h-data [C99-based standards] (isblank):
40536 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
40537 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
40538 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40539 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
40540 Specify type. Require positive value.
40541 (EILSEQ): Likewise.
40542 (ERANGE): Likewise.
40543 [ISO || POSIX] (EILSEQ): Do not expect.
40544 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
40545 Specify type. Require positive value.
40546 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
40547 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
40548 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
40549 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
40550 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
40551 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
40552 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
40553 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
40554 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
40555 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
40556 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
40557 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
40558 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
40559 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
40560 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
40561 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
40562 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
40563 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
40564 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
40565 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
40566 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
40567 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
40568 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
40569 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
40570 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
40571 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
40572 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
40573 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
40574 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
40575 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
40576 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
40577 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
40578 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
40579 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
40580 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
40581 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
40582 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
40583 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
40584 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
40585 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
40586 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
40587 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
40588 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
40589 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
40590 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
40591 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
40592 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
40593 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
40594 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
40595 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
40596 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
40597 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
40598 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
40599 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
40600 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
40601 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
40602 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
40603 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
40604 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
40605 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
40606 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
40607 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
40608 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
40609 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
40610 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
40611 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
40612 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
40613 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
40614 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
40615 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
40616 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
40617 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
40618 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
40619 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
40620 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
40621 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
40622 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
40624 (FLT_ROUNDS): Expect as macro, not constant.
40625 (FLT_MANT_DIG): Use macro-int-constant.
40626 (DBL_MANT_DIG): Likewise.
40627 (LDBL_MANT_DIG): Likewise.
40628 (FLT_DIG): Likewise.
40629 (DBL_DIG): Likewise.
40630 (LDBL_DIG): Likewise.
40631 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
40632 (DBL_MIN_EXP): Likewise.
40633 (LDBL_MIN_EXP): Likewise.
40634 (FLT_MAX_EXP): Use macro-int-constant.
40635 (DBL_MAX_EXP): Likewise.
40636 (LDBL_MAX_EXP): Likewise.
40637 (FLT_MAX_10_EXP): Likewise.
40638 (DBL_MAX_10_EXP): Likewise.
40639 (LDBL_MAX_10_EXP): Likewise.
40640 (FLT_MAX): Use macro-constant.
40641 (DBL_MAX): Likewise.
40642 (LDBL_MAX): Likewise.
40643 (FLT_EPSILON): Use macro-constant. Give upper bound.
40644 (DBL_EPSILON): Likewise.
40645 (LDBL_EPSILON): Likewise.
40646 (FLT_MIN): Likewise.
40647 (DBL_MIN): Likewise.
40648 (LDBL_MIN): Likewise.
40649 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
40650 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
40651 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
40652 [ISO11] (FLT_HAS_SUBNORM): Likewise.
40653 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
40654 [ISO11] (DBL_DECIMAL_DIG): Likewise.
40655 [ISO11] (FLT_DECIMAL_DIG): Likewise.
40656 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
40657 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
40658 [ISO11] (FLT_TRUE_MIN): Likewise.
40659 [ISO11] (LDBL_TRUE_MIN): Likewise.
40660 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40661 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
40662 (SCHAR_MIN): Use macro-int-constant. Specify type.
40663 (SCHAR_MAX): Likewise.
40664 (UCHAR_MAX): Likewise.
40665 (CHAR_MIN): Likewise.
40666 (CHAR_MAX): Likewise.
40667 (MB_LEN_MAX): Use macro-int-constant.
40668 (SHRT_MIN): Use macro-int-constant. Specify type.
40669 (SHRT_MAX): Likewise.
40670 (USHRT_MAX): Likewise.
40671 (INT_MAX): Likewise.
40672 (INT_MIN): Use macro-int-constant. Specify type. Make upper
40674 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
40676 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
40678 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
40679 bound negative. Suffix upper bound with "L".
40680 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
40682 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
40684 [C99-based standards] (LLONG_MAX): Likewise.
40685 [C99-based standards] (ULLONG_MAX): Likewise.
40686 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
40688 [ISO11] (max_align_t): Require type.
40689 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40691 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
40692 from $CFLAGS, without defining away __attribute__ calls.
40693 (checknamespace): Use $CFLAGS_namespace.
40695 * conform/conformtest.pl (@keywords): Only include C99 keywords
40696 for standards based on C99 or C11.
40698 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
40700 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
40703 * conform/conformtest.pl: Handle "macro-int-constant" and test for
40704 usability of symbols in #if.
40706 * conform/conformtest.pl: If macro or constant types start
40707 "promoted:", expect the symbol to be of the following type
40708 promoted by the integer promotions.
40710 * conform/conformtest.pl: Parse all "constant" and "macro" lines
40711 in one place. Also handle "macro-constant".
40713 * conform/conformtest.pl: Only accept expected macro values with
40714 "==". Parse all "macro" lines in one place.
40715 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
40717 * conform/conformtest.pl: Handle braced types on "constant" lines
40718 instead of handling "typed-constant".
40719 * conform/data/signal.h-data: Use "constant" instead of
40722 * conform/conformtest.pl: Handle "optional-" at start of lines in
40723 one place rather than duplicating several cases. Handle each
40724 format of "macro" line with initial "optional-".
40726 * conform/conformtest.pl: Only accept expected constant or
40727 optional-constant values with "==". Parse all "constant" lines in
40728 one place. Parse all "optional-constant" lines in one place.
40729 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
40730 * conform/data/fmtmsg.h-data: Likewise.
40731 * conform/data/netinet/in.h-data: Likewise.
40732 * conform/data/tar.h-data: Likewise.
40733 * conform/data/limits.h-data: Use "==" form on "constant" and
40734 "optional-constant" lines.
40736 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
40737 Use -std=c99 for XOPEN2K.
40738 (@knownproblems): Remove.
40739 (newtoken): Don't check %isknown.
40741 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
40742 Do not expect macro.
40743 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
40744 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
40745 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
40746 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
40747 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
40748 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
40749 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
40750 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
40751 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
40752 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
40753 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
40754 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
40755 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
40756 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
40757 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
40758 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
40759 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
40760 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
40761 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
40762 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
40763 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
40764 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
40765 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
40766 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
40767 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
40768 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
40769 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
40770 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
40771 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
40772 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
40773 [XPG3] (acosh): Likewise.
40774 [XPG3] (asinh): Likewise.
40775 [XPG3] (atanh): Likewise.
40776 [XPG3] (cbrt): Likewise.
40777 [XPG3] (expm1): Likewise.
40778 [XPG3] (ilogb): Likewise.
40779 [XPG3] (log1p): Likewise.
40780 [XPG3] (logb): Likewise.
40781 [XPG3] (nextafter): Likewise.
40782 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
40783 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
40784 [XPG3] (remainder): Likewise.
40785 [XPG3] (rint): Likewise.
40786 [XPG3 || XPG4 || UNIX98] (round): Likewise.
40787 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
40788 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
40789 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
40790 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
40791 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
40792 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
40793 [UNIX98 || XOPEN2K] (scalb): Expect.
40794 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
40795 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
40796 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
40797 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
40798 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
40799 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
40800 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
40801 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
40802 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
40803 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
40804 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
40805 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
40806 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
40807 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
40808 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
40809 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
40810 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
40811 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
40812 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
40813 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
40814 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
40815 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
40816 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
40817 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
40818 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
40819 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
40820 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
40821 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
40822 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
40823 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
40824 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
40825 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
40826 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
40827 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
40828 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
40829 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
40830 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
40831 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
40832 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
40833 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
40834 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
40835 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
40836 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
40837 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
40838 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
40839 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
40840 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
40841 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
40842 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
40843 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
40844 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
40845 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
40846 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
40847 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
40848 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
40849 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
40850 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
40851 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
40852 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
40853 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
40854 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
40855 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
40856 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
40857 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
40858 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
40859 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
40860 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
40861 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
40862 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
40863 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
40864 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
40865 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
40866 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
40867 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
40868 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
40869 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
40870 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
40871 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
40872 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
40873 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
40874 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
40875 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
40876 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
40877 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
40878 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
40879 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
40880 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
40881 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
40882 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
40883 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
40884 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
40885 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
40886 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
40887 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
40888 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
40889 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
40890 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
40891 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
40892 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
40893 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
40894 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
40895 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
40896 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
40897 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
40898 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
40899 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
40900 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
40901 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
40902 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
40903 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
40904 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
40905 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
40906 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
40907 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
40908 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
40909 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
40910 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
40911 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
40912 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
40913 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
40914 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
40915 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
40916 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
40917 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
40918 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
40919 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
40920 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
40921 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
40922 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
40923 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
40924 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
40925 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
40926 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
40927 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
40928 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
40929 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
40930 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
40932 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
40933 _XOPEN_SOURCE_EXTENDED for XPG4.
40935 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
40937 * Makeconfig (localtime): Remove variable.
40938 (inst_localtime-file): Likewise.
40940 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
40954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
40958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40961 2012-05-01 Joseph Myers <joseph@codesourcery.com>
40965 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40966 comparisons to determine direction to adjust input.
40967 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40968 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40969 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40971 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40973 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40975 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40976 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
40978 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
40980 * math/libm-test.inc (nexttoward_test): Add more tests.
40982 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40985 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
40986 in version GLIBC_2.1, not GLIBC_2.0.
40987 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
40990 2012-04-30 Joseph Myers <joseph@codesourcery.com>
40993 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
40995 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40996 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
40997 * math/libm-test.inc (acos_test): Add more tests.
40998 (asin_test): Likewise.
40999 * sysdeps/i386/fpu/libm-test-ulps: Update.
41000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41003 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
41005 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
41006 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41007 * math/libm-test.inc (acos_test_tonearest): New function.
41008 (acos_test_towardzero): Likewise.
41009 (acos_test_downward): Likewise.
41010 (acos_test_upward): Likewise.
41011 (asin_test_tonearest): Likewise.
41012 (asin_test_towardzero): Likewise.
41013 (asin_test_downward): Likewise.
41014 (asin_test_upward): Likewise.
41015 (main): Call the new functions.
41016 * sysdeps/i386/fpu/libm-test-ulps: Update.
41017 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41021 * math/e_exp10.c: Include <float.h>.
41022 (__ieee754_exp10): Handle underflow here rather than multiplying
41023 large negative argument by M_LN10.
41024 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41026 * math/e_exp10l.c: Include <float.h>.
41027 (__ieee754_exp10l): Handle underflow here rather than multiplying
41028 large negative argument by M_LN10l.
41029 * math/libm-test.inc (exp10_test): Add another test. Do not allow
41030 spurious overflow exception on underflow.
41032 2012-04-29 Marek Polacek <polacek@redhat.com>
41034 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
41035 (__fortify_function): New macro.
41036 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
41037 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
41038 __extern_always_inline.
41039 * libio/bits/stdio2.h: Likewise.
41040 * libio/bits/stdio.h: Likewise.
41041 * string/string.h: Likewise.
41042 * string/bits/string3.h: Likewise.
41043 * include/stdio.h: Likewise.
41044 * stdlib/bits/stdlib.h: Likewise.
41045 * stdlib/stdlib.h: Likewise.
41046 * rt/bits/mqueue2.h: Likewise.
41047 * rt/mqueue.h: Likewise.
41048 * posix/bits/unistd.h: Likewise.
41049 * posix/unistd.h: Likewise.
41050 * io/bits/poll2.h: Likewise.
41051 * io/bits/fcntl2.h: Likewise.
41052 * io/fcntl.h: Likewise.
41053 * io/sys/poll.h: Likewise.
41054 * misc/bits/syslog.h: Likewise.
41055 * misc/bits/syslog-ldbl.h: Likewise.
41056 * misc/sys/syslog.h: Likewise.
41057 * socket/bits/socket2.h: Likewise.
41058 * socket/sys/socket.h: Likewise.
41059 * debug/tst-chk1.c: Likewise.
41060 * wcsmbs/bits/wchar2.h: Likewise.
41061 * wcsmbs/bits/wchar-ldbl.h: Likewise.
41062 * wcsmbs/wchar.h: Likewise.
41064 2012-04-29 Andreas Jaeger <aj@suse.de>
41066 * Makerules (tests): Remove enable-check-abi protection.
41067 (check-abi-warn): Remove.
41068 (check-abi-%): Remove check-abi-warn usage.
41070 * configure.in: Remove check-abi configure option.
41071 * configure: Regenerated.
41072 * config.make.in (enable-check-abi): Remove.
41074 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
41077 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41078 double functions to double *_finite functions.
41081 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41082 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41084 * stdio-common/Makefile (tests): Add tst-sprintf3.
41085 * stdio-common/tst-sprintf3.c: New file.
41087 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41088 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41090 2012-04-28 Joseph Myers <joseph@codesourcery.com>
41092 * conform/conformtest.pl: Remove duplicate typed-constant
41095 2012-04-28 David S. Miller <davem@davemloft.net>
41097 * Makerules (%.abilist): Add vpath on sysdep_dirs.
41098 (check-abi-%): Remove AWK script prerequisite and explicit
41100 (check-abi): Rewrite to just diff the symlist with the abilist.
41101 (config-tls, config-abi-config): Delete, no longer used.
41102 (update-abi-%): Remove AWK script and explicit abilist directory.
41103 (update-abi): Rewrite to simply compare and conditionally copy the
41104 symlist and the sysdep abilist file. Remove update-abi-config
41106 * abilist/ld.abilist: Remove.
41107 * abilist/libBrokenLocale.abilist: Remove.
41108 * abilist/libanl.abilist: Remove.
41109 * abilist/libcrypt.abilist: Remove.
41110 * abilist/libdl.abilist: Remove.
41111 * abilist/librt.abilist: Remove.
41112 * abilist/libthread_db.abilist: Remove.
41113 * abilist/libutil.abilist: Remove.
41114 * scripts/extract-abilist.awk: Remove.
41115 * scripts/merge-abilist.awk: Remove.
41116 * sysdeps/generic/libcidn.abilist: New file.
41117 * sysdeps/generic/libnss_compat.abilist: New file.
41118 * sysdeps/generic/libnss_db.abilist: New file.
41119 * sysdeps/generic/libnss_dns.abilist: New file.
41120 * sysdeps/generic/libnss_files.abilist: New file.
41121 * sysdeps/generic/libnss_hesiod.abilist: New file.
41122 * sysdeps/generic/libnss_nis.abilist: New file.
41123 * sysdeps/generic/libnss_nisplus.abilist: New file.
41124 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41125 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41126 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41128 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41129 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41130 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
41131 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
41132 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
41133 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
41134 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41135 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
41136 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
41138 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
41139 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
41140 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
41141 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
41143 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
41144 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
41145 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
41146 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
41147 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
41148 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
41150 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
41151 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
41152 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
41154 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
41155 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
41157 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
41159 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
41161 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
41163 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
41165 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
41167 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
41169 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
41171 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
41173 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
41175 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
41177 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
41179 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
41181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
41183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
41189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
41195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
41208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
41210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
41214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
41216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
41218 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
41220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
41222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
41226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
41228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
41232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
41233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
41235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
41239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
41241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
41243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
41245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
41247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
41251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
41253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
41257 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41258 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
41259 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
41261 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
41262 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
41263 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
41264 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
41265 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
41266 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
41267 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
41268 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
41269 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
41270 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
41271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
41272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
41274 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41276 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
41278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
41280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
41282 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
41284 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
41286 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41288 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41290 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
41292 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
41296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
41297 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
41299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
41303 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
41305 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
41307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
41309 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
41311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41313 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
41317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
41322 2012-04-28 Joseph Myers <joseph@codesourcery.com>
41324 * conform/conformtest.pl: Fix typo in handling typed-constant from
41327 2012-04-27 Joseph Myers <joseph@codesourcery.com>
41329 * README: Cut down references to pre-2.6 Linux kernels and
41330 Linuxthreads. Update lists of configurations in libc and ports
41331 and sort alphabetically. Say "or newer" with Linux kernel version
41334 * config.h.in [IS_IN_build]: Allow compiling without optimization.
41336 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41339 * math/libm-test.inc (logb_test_downward): New test to expose
41340 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
41343 2012-04-27 Joseph Myers <joseph@codesourcery.com>
41346 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
41348 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
41349 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
41351 2012-04-26 Joseph Myers <joseph@codesourcery.com>
41353 * sysdeps/unix/i386/brk.S: Remove file.
41354 * sysdeps/unix/i386/dl-brk.S: Likewise.
41355 * sysdeps/unix/i386/pipe.S: Likewise.
41356 * sysdeps/unix/i386/sigreturn.S: Likewise.
41357 * sysdeps/unix/i386/syscall.S: Likewise.
41358 * sysdeps/unix/i386/vfork.S: Likewise.
41359 * sysdeps/unix/i386/wait.S: Likewise.
41361 * sysdeps/unix/common/tcsendbrk.c: Move to ...
41362 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
41364 * configure.in (arm*-none*): Do not allow without
41365 --enable-hacker-mode.
41366 (netbsd*): Remove case setting base_os.
41367 (386bsd*): Likewise.
41368 (freebsd*): Likewise.
41371 (sunos*): Likewise.
41372 (ultrix*): Likewise.
41373 (newsos*): Likewise.
41374 (dynix*): Likewise.
41380 (minix*): Likewise.
41381 (irix4*): Likewise.
41382 (irix6*): Likewise.
41383 (solaris[2-9]*): Likewise.
41385 * configure: Regenerated.
41387 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41390 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
41391 overflow or cancellation in calculating denominator.
41392 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
41393 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
41394 down expression to avoid unexpected rounding in newer GCCs.
41395 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
41397 2012-04-26 David S. Miller <davem@davemloft.net>
41399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
41400 long-double compat symbols.
41401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
41405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
41407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
41408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
41409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
41410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
41411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
41412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
41413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41415 2012-04-25 David S. Miller <davem@davemloft.net>
41417 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
41418 HWCAP_* values only after the memory barriers have been defined.
41419 (atomic_full_barrier): Define.
41420 (atomic_read_barrier): Define.
41421 (atomic_write_barrier): Define.
41423 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41425 * shlib-versions: Add libgcc_s version information.
41426 * sysdeps/generic/libgcc_s.h: Remove.
41427 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
41429 * sysdeps/gnu/unwind-resume.c: Likewise.
41430 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
41432 2012-04-25 David S. Miller <davem@davemloft.net>
41434 * sysdeps/unix/sparc/brk.S: Delete.
41435 * sysdeps/unix/sparc/dl-brk.S: Delete.
41436 * sysdeps/unix/sparc/pipe.S: Delete.
41437 * sysdeps/unix/sparc/sysdep.S: Delete.
41438 * sysdeps/unix/sparc/sysdep.h: Delete.
41439 * sysdeps/unix/sparc/vfork.S: Delete.
41440 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
41441 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
41442 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
41443 (ret_ERRVAL, r0, r1, MOVE): Define.
41444 (JUMPTARGET): Remove.
41445 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
41446 sysdeps/unix/sparc/sysdep.h
41447 (ENTRY, END): Remove.
41448 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41450 2012-04-25 Joseph Myers <joseph@codesourcery.com>
41452 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
41453 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
41456 * timezone/README: Update upstream location and email address for
41458 * timezone/zdump.c: Update from tzcode 2012b.
41459 * timezone/zic.c: Likewise.
41461 * configure.in (libc_cv_as_needed): Remove test.
41462 * configure: Regenerated.
41463 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
41464 conditional definition.
41465 [$(have-as-needed) != yes] (no-as-needed): Likewise.
41466 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
41467 * config.make.in (have-as-needed): Remove variable.
41469 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41470 Paul Pluzhnikov <ppluzhnikov@google.com>
41472 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
41475 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
41477 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
41478 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
41479 * sysdeps/sh/strlen.S: Likewise.
41481 2012-04-24 Joseph Myers <joseph@codesourcery.com>
41483 * sysdeps/unix/fork.S: Remove file.
41484 * sysdeps/unix/i386/fork.S: Likewise.
41485 * sysdeps/unix/sparc/fork.S: Likewise.
41487 * sysdeps/unix/system.c: Remove file.
41488 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
41490 * sysdeps/unix/getegid.S: Remove file.
41491 * sysdeps/unix/geteuid.S: Likewise.
41493 2012-04-24 Roland McGrath <roland@hack.frob.com>
41495 * scripts/check-localplt.awk: New file.
41496 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
41498 * scripts/data/localplt-generic.data: Add a comment.
41500 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
41501 NODE when __dir_mkfile failed.
41502 * sysdeps/mach/hurd/symlinkat.c: Likewise.
41503 Reported by Ludovic Courtès <ludo@gnu.org>.
41505 2012-04-24 Andreas Jaeger <aj@suse.de>
41507 * Makerules (common-clean): Also remove gen-as-const-headers
41510 2012-04-24 Joseph Myers <joseph@codesourcery.com>
41512 * Makerules (native-compile): Do not change working directory for
41513 build. Use $(OUTPUT_OPTION) in command.
41514 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
41516 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41519 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
41520 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
41521 * math/libm-test.inc (floor_test): Add more tests.
41522 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
41524 2012-04-24 Joseph Myers <joseph@codesourcery.com>
41526 * sysdeps/unix/getdents.c: Remove file.
41527 * sysdeps/unix/sysv/getdents.c: Likewise.
41528 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
41530 * sysdeps/unix/syscalls.list (madvise): Add syscall from
41531 sysdeps/unix/mman/syscalls.list.
41533 (mprotect): Likewise.
41535 (munmap): Likewise.
41536 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
41537 * sysdeps/unix/mman/syscalls.list: Remove.
41538 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
41540 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
41541 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
41542 * configure: Regenerated.
41543 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
41544 $(libgcc_s_suffix).
41545 * config.make.in (libgcc_s_suffix): Remove variable.
41547 2012-04-23 Joseph Myers <joseph@codesourcery.com>
41549 * sysdeps/unix/sysv/gethostname.c: Move to ...
41550 * sysdeps/posix/gethostname.c: ... here.
41552 * sysdeps/unix/execve.S: Remove file.
41554 * sysdeps/unix/_exit.S: Remove file.
41556 2012-04-23 Andreas Jaeger <aj@suse.de>
41559 * manual/Makefile: Remove make dist support, there's no
41560 need for a stand-alone documentation tar ball.
41561 (TEXI2DVI): Define always, it's not in Makeconfig.
41564 (edition): Removed.
41565 (glibc-doc-$(edition).tar): Removed
41569 (ETAGS): Remove, it's in Makeconfig.
41570 (move-if-change): Remove, it's in Makeconfig.
41572 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
41575 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
41576 (strtod, strtof, strtold, strtol, strtoul, strtoq)
41577 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
41578 (strtod_l, strtof_l, strtold_l): Remove __wur.
41579 It is not necessarily an error to ignore strtol's return value.
41580 One can reliably look at the stored endptr to decide whether
41581 the number had valid syntax.
41583 2012-04-21 Andreas Jaeger <aj@suse.de>
41586 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
41588 2012-04-21 Joseph Myers <joseph@codesourcery.com>
41590 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
41591 * sysdeps/unix/sysv/Versions: Remove file.
41593 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
41596 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41598 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
41601 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
41602 version from __vm86.
41604 2012-04-20 Joseph Myers <joseph@codesourcery.com>
41606 * sysdeps/unix/common/lxstat.c: Remove file.
41607 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
41609 * sysdeps/unix/sysv/Makefile: Remove file.
41611 * sysdeps/unix/sysv/direct.h: Remove file.
41613 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
41614 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
41615 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
41616 * sysdeps/unix/sysv/bits/signum.h: Likewise.
41617 * sysdeps/unix/sysv/bits/stat.h: Likewise.
41618 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
41619 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
41621 * sysdeps/unix/sysv/setrlimit.c: Remove file.
41623 * sysdeps/unix/xmknod.c: Remove file.
41624 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
41626 * sysdeps/unix/sysv/settimeofday.c: Remove file.
41628 * sysdeps/unix/sysv/i386/time.S: Remove file.
41630 * sysdeps/unix/fxstat.c: Remove file.
41631 * sysdeps/unix/xstat.c: Likewise.
41632 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
41634 * sysdeps/unix/sysv/sigaction.c: Remove file.
41636 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
41637 (sysdep_headers): Remove variable.
41638 [termio.h not in sysdep_headers] (generated): Likewise.
41639 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
41640 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
41641 * sysdeps/unix/sysv/tcdrain.c: Likewise.
41642 * sysdeps/unix/sysv/tcflow.c: Likewise.
41643 * sysdeps/unix/sysv/tcflush.c: Likewise.
41644 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
41645 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
41646 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
41647 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
41648 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
41650 * sysdeps/unix/siglist.c: Remove file.
41652 * sysdeps/unix/getppid.S: Remove file.
41654 * sysdeps/unix/mkdir.c: Remove file.
41655 * sysdeps/unix/rmdir.c: Likewise.
41657 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
41659 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
41661 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
41662 errlist-compat value.
41664 2012-04-18 David S. Miller <davem@davemloft.net>
41666 * sysdeps/generic/memcopy.h (reg_char): Delete.
41667 * debug/strcat_chk.c: Use char, not reg_char.
41668 * debug/strcpy_chk.c: Likewise.
41669 * debug/strncat_chk.c: Likewise.
41670 * debug/strncpy_chk.c: Likewise.
41671 * string/memchr.c: Likewise.
41672 * string/memrchr.c: Likewise.
41673 * string/rawmemchr.c: Likewise.
41674 * string/strcat.c: Likewise.
41675 * string/strchr.c: Likewise.
41676 * string/strchrnul.c: Likewise.
41677 * string/strcmp.c: Likewise.
41678 * string/strcpy.c: Likewise.
41679 * string/strncat.c: Likewise.
41680 * string/strncmp.c: Likewise.
41681 * string/strncpy.c: Likewise.
41683 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41685 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
41686 __builtin_memcopy is called when src and dest ranges are known to not
41689 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41691 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
41692 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
41693 fwd_align_merge macro call.
41694 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
41695 bwd_align_merge macro call.
41696 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41698 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41700 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
41701 bwd_align_merge macros.
41702 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
41703 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
41704 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41706 2012-04-18 David S. Miller <davem@davemloft.net>
41708 * sysdeps/sparc/sparc64/memcopy.h: Delete.
41710 2012-04-18 Andreas Jaeger <aj@suse.de>
41713 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
41714 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
41715 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41717 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
41718 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
41719 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41721 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
41722 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
41723 Adjust for changed ldbl-128 files.
41725 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
41726 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
41727 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41729 2012-04-17 David S. Miller <davem@davemloft.net>
41731 * sysdeps/sparc/sparc32/memcopy.h: Delete.
41733 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
41735 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
41736 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
41737 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
41738 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
41739 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41740 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
41742 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41745 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
41746 * math/libm-test.inc: Add ilogb errno and exception tests.
41747 * math/w_ilogb.c: New file: ilogb wrapper.
41748 * math/w_ilogbf.c: New file: ilogbf wrapper.
41749 * math/w_ilogbl.c: New file: ilogbl wrapper.
41750 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
41751 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
41752 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
41753 exception being thrown with 0.0 as argument.
41754 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
41755 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
41756 exception being thrown with 0.0 as argument.
41757 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
41758 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41759 exception being thrown with 0.0 as argument.
41760 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
41761 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41762 exception being thrown with 0.0 as argument.
41763 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
41764 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
41765 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
41766 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
41767 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
41768 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
41769 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
41770 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
41771 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
41773 2012-04-17 Petr Baudis <pasky@ucw.cz>
41775 * include/sys/uio.h: Change __vector to __iovec to avoid clash
41778 2012-04-16 Marek Polacek <polacek@redhat.com>
41780 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
41782 2012-04-16 Marek Polacek <polacek@redhat.com>
41784 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
41785 operands of fdivp instruction.
41787 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41789 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
41790 * elf/tst-auditmod3b.c: Likewise.
41791 * elf/tst-auditmod4b.c: Likewise.
41792 * elf/tst-auditmod5b.c: Likewise.
41793 * elf/tst-auditmod6b.c: Likewise.
41794 * elf/tst-auditmod6c.c: Likewise.
41795 * elf/tst-auditmod7b.c: Likewise.
41796 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
41797 * sysdeps/x86_64/preconfigure.in: Likewise.
41798 * sysdeps/x86_64/preconfigure: Regenerated.
41800 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41802 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
41805 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
41807 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41808 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
41810 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
41813 * locale/iso-639.def: Fix gl language name. Spotted by
41816 2012-04-12 Roland McGrath <roland@hack.frob.com>
41819 * libio/libio.h (__io_write_fn): Update comment.
41821 2012-04-12 Petr Baudis <pasky@ucw.cz>
41824 * stdio.texi (Hook Functions): The user provided writer function
41825 is not allowed to return -1.
41827 2012-04-11 David S. Miller <davem@davemloft.net>
41829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41831 2012-04-11 Mike Frysinger <vapier@gentoo.org>
41833 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
41834 Add a leading slash to rtkaio.
41836 2012-04-11 Jim Meyering <meyering@redhat.com>
41839 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
41840 It is not necessarily an error to ignore fwrite's return
41841 value. One can reliably use ferror to test for errors after
41844 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41846 * bits/types.h (__snseconds_t): New type.
41847 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
41849 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
41850 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41851 (__SNSECONDS_T_TYPE): Likewise.
41852 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41853 (__SNSECONDS_T_TYPE): Likewise.
41854 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41855 (__SNSECONDS_T_TYPE): Likewise.
41857 2012-04-10 Andreas Jaeger <aj@suse.de>
41860 * manual/time.texi (Processor Time): Return type of times is
41861 elapsed real time since an arbitrary point in the past.
41862 (CPU Time): Move CLK_TCK from here...
41863 (Processor Time): ...to here. Correct description.
41864 * manual/conf.texi (Constants for Sysconf): Correct description of
41867 2012-04-10 David S. Miller <davem@davemloft.net>
41870 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
41871 where the is a gap between DT_REL(A) and DT_JMPREL.
41873 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41875 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
41876 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41877 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41879 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41881 * elf/dl-support.c (_dl_inhibit_cache): New variable.
41882 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
41883 (dl_main): Handle --inhibit-cache.
41884 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
41886 * elf/dl-load.c (_dl_map_object): Use it.
41887 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
41889 2012-04-09 Joseph Myers <joseph@codesourcery.com>
41892 * sysdeps/i386/fpu/e_powl.S (p78): New object.
41893 (__ieee754_powl): Saturate large exponents rather than testing for
41894 overflow of y*log2(x).
41895 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41896 * math/libm-test.inc (pow_test): Do not permit spurious overflow
41900 * math/s_ctan.c: Include <float.h>.
41901 (__ctan): Avoid internal overflow or cancellation in calculating
41903 * math/s_ctanf.c: Likewise.
41904 * math/s_ctanl.c: Likewise.
41905 * math/s_ctanh.c: Likewise.
41906 * math/s_ctanhf.c: Likewise.
41907 * math/s_ctanhl.c: Likewise.
41908 * math/libm-test.inc (ctan_test): Add more tests.
41909 (ctanh_test): Likewise.
41910 * sysdeps/i386/fpu/libm-test-ulps: Update.
41911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41913 2012-04-09 Andreas Jaeger <aj@suse.de>
41916 * manual/filesys.texi (Directory Entries): Mention that d_namlen
41917 is an optional BSD extension.
41920 * manual/stdio.texi (Opening Streams): Document additional fopen
41923 2012-04-09 Roland McGrath <roland@hack.frob.com>
41925 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
41926 %eax without telling the compiler.
41928 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
41931 * manual/install.texi: Use sourceware.org.
41933 2012-04-09 Joseph Myers <joseph@codesourcery.com>
41936 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
41937 (__ieee754_pow): Generate overflow and underflow using huge*huge
41938 and tiny*tiny rather than just returning constant infinity or zero
41939 for large exponents.
41940 * math/libm-test.inc (pow_test): Require overflow exceptions for
41941 applicable cases of large exponents.
41944 * sysdeps/i386/fpu/e_pow.S (p10): New object.
41945 (__ieee754_pow): Use iterative multiplication algorithm only for
41946 integer exponents with absolute value below 1024. Check for odd
41947 integer exponents when using algorithm for real exponents.
41948 * math/libm-test.inc (pow_test): Add more tests.
41949 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41951 2012-04-08 Joseph Myers <joseph@codesourcery.com>
41954 * math/libm-test.inc (exp_test): Do not allow overflow exception
41957 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
41960 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41961 instead of __kernel_standard_f.
41963 2012-04-08 Mike Frysinger <vapier@gentoo.org>
41965 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41966 * sysdeps/x86_64/memset_chk.S: Likewise.
41968 2012-04-08 Andreas Jaeger <aj@suse.de>
41971 * manual/startup.texi (Environment Access): Describe return value
41972 for putenv and setenv.
41975 * manual/filesys.texi (Directory Entries): Add description for
41979 * manual/filesys.texi (Directory Entries): Clarify that it's file
41980 system not operating system in the description of DT_UNKNOWN.
41983 * manual/syslog.texi (closelog): Fix reference, it's openlog.
41985 2012-04-08 Stephen Compall <s11@member.fsf.org>
41988 * manual/llio.texi (Opening and Closing Files): Add cross
41989 reference to explain mode argument.
41991 2012-04-07 Mike Frysinger <vapier@gentoo.org>
41993 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
41994 * sysdeps/x86_64/memset_chk.S: Likewise.
41996 2012-04-07 David S. Miller <davem@davemloft.net>
41998 * elf/elf.h (R_SPARC_WDISP10): Define.
41999 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
42001 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
42002 R_SPARC_SIZE64 and R_SPARC_H34.
42004 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
42006 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
42007 conditions and remove no longer applicable assertion.
42009 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42011 * bits/byteswap.h: Include <features.h>.
42012 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42013 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42015 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42017 * bits/byteswap.h (__bswap_16): Removed.
42018 Include <bits/byteswap-16.h> to get __bswap_16.
42019 * sysdeps/i386/bits/byteswap.h: Likewise.
42020 * sysdeps/s390/bits/byteswap.h: Likewise.
42021 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42022 * bits/byteswap-16.h: New file.
42023 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42024 * sysdeps/s390/bits/byteswap-16.h: Likewise.
42025 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42026 * string/Makefile (headers): Add bits/byteswap-16.h.
42028 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42031 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
42033 * nss/Makefile (tests-static, tests): Add tst-nss-static.
42034 * nss/tst-nss-static.c: New.
42036 2012-04-06 Robert Millan <rmh@gnu.org>
42039 * manual/llio.texi (File Position Primitive): lseek
42040 refers to WHENCE when it really means OFFSET.
42042 2012-04-06 Andreas Jaeger <aj@suse.de>
42044 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
42045 strncmp declarations.
42047 * abilist/libc.abilist: Add __poll and __ppoll.
42049 2012-04-05 David S. Miller <davem@davemloft.net>
42051 * scripts/check-local-headers.sh: Accept a host triplet in the
42052 path matched by the exclude regexp.
42054 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
42056 * sysdeps/powerpc/powerpc32/dl-machine.h
42057 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
42058 * sysdeps/s390/s390-32/dl-machine.h
42059 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42060 * sysdeps/sparc/sparc32/dl-machine.h
42061 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42062 * sysdeps/sparc/sparc64/dl-machine.h
42063 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42065 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42067 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
42068 undefined symbol errors.
42070 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
42073 2012-04-05 Michael Matz <matz@suse.de>
42076 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42078 2012-04-05 Andreas Jaeger <aj@suse.de>
42081 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42084 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42086 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42087 which ROUND is no valid rounding mode.
42089 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42091 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42093 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42095 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42097 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42098 an exception using FPU order intentionally.
42100 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42102 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42103 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42104 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42105 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42107 2012-04-05 Simon Josefsson <simon@josefsson.org>
42110 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42111 EINVAL when BUFLEN is too smal.
42113 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
42116 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42117 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42119 2012-04-03 Andreas Jaeger <aj@suse.de>
42122 * manual/setjmp.texi (System V contexts): Fix sentence.
42125 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42126 New macro for this case.
42127 [!__GNUC__] (__bswap_64): New inline function for this case.
42128 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42129 * bits/byteswap.h: Likewise.
42130 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
42131 ull, guard with __GLIBC_HAVE_LONG_LONG.
42133 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
42134 __GLIBC_HAVE_LONG_LONG.
42136 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
42137 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
42139 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42142 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
42143 inptr and inend, rather than using last_ch.
42145 2012-04-02 David S. Miller <davem@davemloft.net>
42147 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
42148 * stdio-common/printf-parse.h (read_int): Change return type to
42149 'int', return -1 on INT_MAX overflow.
42150 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
42151 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
42152 overflows INT_MAX. Check for overflow of in-format-string precision
42153 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
42154 SIZE_MAX not INT_MAX for integer overflow test.
42155 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
42156 skip the construct in the format string but do not record anything.
42157 * stdio-common/bug22.c: Adjust to test both width/prevision
42158 INT_MAX overflow as well as total length INT_MAX overflow. Check
42159 explicitly for proper errno values.
42161 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
42163 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
42165 * string/test-strcmp.c [! WIDE]: Likewise.
42166 * time/tst-mktime2.c: Likewise for INT_MAX.
42167 * string/test-string.h: #include <sys/param.h> for MIN.
42169 * csu/init-first.c (__libc_init_first): Call __ctype_init.
42170 * sysdeps/i386/init-first.c (init): Likewise.
42171 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
42172 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
42173 * sysdeps/sh/init-first.c (init): Likewise.
42175 2012-04-01 Ulrich Drepper <drepper@gmail.com>
42177 * po/ru.po: Update from translation team.
42178 * po/vi.po: Likewise.
42180 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42182 * resolv/nss_dns/dns-host.c: Merge copyright years.
42184 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42186 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42187 Optimize memcpy with prefetch if
42188 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
42189 src, dst pointers have unequal 16 byte alignments.
42191 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42194 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
42195 from a CNAME entry and return the minimum ttl for the query.
42196 (gaih_getanswer_slice): Likewise.
42198 2012-03-30 Jeff Law <law@redhat.com>
42200 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
42202 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
42203 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
42205 * resolv/nss_dns/dns-host.c: Update copyright year.
42207 2012-03-30 Ulrich Drepper <drepper@gmail.com>
42209 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
42210 requests to save a system call. Fix check that all bytes are sent.
42212 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
42213 comments for sendmmsg.
42215 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42218 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
42219 with only 1 character between 0x0041 and 0x01b0.
42220 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42221 * wcsmbs/tst-mbsnrtowcs.c: New file.
42223 2012-03-29 David S. Miller <davem@davemloft.net>
42225 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
42226 small copies by hand.
42228 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42231 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
42232 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
42235 2012-03-28 David S. Miller <davem@davemloft.net>
42237 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
42238 that branches into memcpy.
42239 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42240 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42241 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42242 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42243 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
42245 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
42246 implementation too.
42247 * sysdeps/sparc/mempcpy.S: New file.
42249 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
42250 the IFUNC routine in the libc case.
42251 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42253 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
42254 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
42255 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
42256 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
42257 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
42258 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
42259 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
42260 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
42262 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
42263 loop to 256 bytes instead of 64 bytes and fix test signedness.
42265 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
42266 * sysdeps/sparc/sparc32/Makefile: rather than here...
42267 * sysdeps/sparc/sparc64/Makefile: and here.
42269 2012-03-28 Ulrich Drepper <drepper@gmail.com>
42271 * malloc/mallocbug.c: Avoid warnings about unused variables.
42273 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42276 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
42277 in the right place. Discard and retry query if response is
42278 larger than input buffer size.
42280 2012-03-28 Joseph Myers <joseph@codesourcery.com>
42285 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
42286 x for large integer exponent.
42287 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42288 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
42289 sign of result as needed afterwards.
42290 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42291 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
42292 result for underflowing pow the same as for overflow.
42293 (__kernel_standard_l): Handle powl overflow and underflow here
42294 rather than calling __kernel_standard.
42295 * math/libm-test.inc (pow_test): Add more tests.
42310 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
42311 * sysdeps/ieee754/k_standard.c: Include <float.h>.
42312 (__kernel_standard_l): New function.
42313 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
42315 * math/w_acosl.c (__acosl): Likewise.
42316 * math/w_asinl.c (__asinl): Likewise.
42317 * math/w_atan2l.c (__atan2l): Likewise.
42318 * math/w_atanhl.c (__atanhl): Likewise.
42319 * math/w_coshl.c (__coshl): Likewise.
42320 * math/w_exp10l.c (__exp10l): Likewise.
42321 * math/w_exp2l.c (__exp2l): Likewise.
42322 * math/w_fmodl.c (__fmodl): Likewise.
42323 * math/w_hypotl.c (__hypotl): Likewise.
42324 * math/w_j0l.c (__j0l, __y0l): Likewise.
42325 * math/w_j1l.c (__j1l, __y1l): Likewise.
42326 * math/w_jnl.c (__jnl, __ynl): Likewise.
42327 * math/w_lgammal.c (__lgammal): Likewise.
42328 * math/w_log10l.c (__log10l): Likewise.
42329 * math/w_log2l.c (__log2l): Likewise.
42330 * math/w_logl.c (__logl): Likewise.
42331 * math/w_powl.c (__powl): Likewise.
42332 * math/w_remainderl.c (__remainderl): Likewise.
42333 * math/w_scalbl.c (sysv_scalbl): Likewise.
42334 * math/w_sinhl.c (__sinhl): Likewise.
42335 * math/w_sqrtl.c (__sqrtl): Likewise.
42336 * math/w_tgammal.c (__tgammal): Likewise.
42337 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
42338 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
42339 * math/libm-test.inc (acos_test): Add more tests.
42340 (acosh_test): Likewise.
42341 (asin_test): Likewise.
42342 (atanh_test): Likewise.
42343 (exp_test): Likewise.
42344 (exp10_test): Likewise.
42345 (exp2_test): Likewise.
42346 (expm1_test): Likewise.
42347 (lgamma_test): Likewise.
42348 (log_test): Likewise.
42349 (log10_test): Likewise.
42350 (log1p_test): Likewise.
42351 (log2_test): Likewise.
42352 (pow_test): Do not allow some spurious overflow exceptions.
42353 (sqrt_test): Add more tests.
42354 (tgamma_test): Likewise.
42355 (y0_test): Likewise.
42356 (y1_test): Likewise.
42357 (yn_test): Likewise.
42359 2012-03-27 Anton Blanchard <anton@samba.org>
42361 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
42363 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42364 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42365 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42367 2012-03-27 David S. Miller <davem@davemloft.net>
42369 * conform/Makefile: Run run-conformtest.sh using $(BASH).
42371 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
42372 have-as-vis3 check.
42374 2012-03-27 Andreas Jaeger <aj@suse.de>
42376 * sysdeps/x86_64/elf/configure.in: Moved to ...
42377 * sysdeps/x86_64/configure.in: ... here.
42378 * sysdeps/x86_64/elf/start.S: Moved to ...
42379 * sysdeps/x86_64/start.S: ... here.
42380 * sysdeps/x86_64/elf/configure: Delete.
42382 * sysdeps/x86_64/configure.in: Merge contents from
42383 sysdeps/i386/configure.in (without i686 check).
42385 * sysdeps/i386/elf/Versions: Merge into ...
42386 * sysdeps/i386/Versions: ... this.
42387 * sysdeps/i386/elf/Versions: Delete file.
42388 * sysdeps/i386/elf/start.S: Moved to ...
42389 * sysdeps/i386/start.S: ...here.
42390 * sysdeps/i386/elf/configure.in: Merge into...
42391 * sysdeps/i386/configure.in: ...here.
42392 * sysdeps/i386/elf/configure.in: Delete file.
42393 * sysdeps/i386/elf/configure: Delete file.
42395 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
42396 * debug/backtracesyms.c: ... here.
42397 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
42398 * debug/backtracesymsfd.c: ... here.
42399 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
42400 * sysdeps/generic/ifunc-sel.h: ... here.
42402 * sysdeps/unix/i386/start.c: Delete file.
42403 * sysdeps/unix/sparc/start.c: Delete file.
42404 * sysdeps/unix/start.c: Delete file.
42406 * sysdeps/sh/elf/configure.in: Moved to ...
42407 * sysdeps/sh/configure.in: ... here.
42408 * sysdeps/sh/elf/start.S: Moved to ...
42409 * sysdeps/sh/start.S: ... here.
42410 * sysdeps/sh/elf/configure: Delete file.
42412 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
42413 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
42414 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
42415 * sysdeps/powerpc/powerpc64/entry.h: ... here.
42416 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
42417 * sysdeps/powerpc/powerpc64/start.S: here.
42418 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
42419 * sysdeps/powerpc/powerpc64/Makefile: ... this.
42420 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
42421 * sysdeps/powerpc/powerpc64/configure.in: ... this.
42422 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
42424 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
42425 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
42426 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
42427 * sysdeps/powerpc/powerpc32/start.S: ... here.
42428 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
42429 * sysdeps/powerpc/powerpc32/configure.in: ... this.
42430 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
42432 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
42433 * sysdeps/powerpc/ifunc-sel.h: ... here.
42434 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
42435 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
42437 * sysdeps/sparc/elf/configure.in: Moved to ...
42438 * sysdeps/sparc/configure.in: ... here.
42439 * sysdeps/sparc/elf/configure: Delete file.
42440 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
42441 * sysdeps/sparc/sparc32/start.S: ... here.
42442 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
42443 * sysdeps/sparc/sparc64/start.S: ... here.
42444 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
42445 * sysdeps/sparc/sparc32/Makefile: ... this.
42446 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
42447 * sysdeps/sparc/sparc64/Makefile: ... this.
42449 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
42450 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
42451 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
42452 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
42453 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
42454 * sysdeps/s390/s390-32/setjmp.S: ... here.
42455 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
42456 * sysdeps/s390/s390-32/configure.in: ... here.
42457 * sysdeps/s390/s390-32/elf/configure: Delete file.
42458 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
42459 * sysdeps/s390/s390-32/start.S: ... here.
42461 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
42462 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
42463 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
42464 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
42465 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
42466 * sysdeps/s390/s390-64/setjmp.S: ... here.
42467 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
42468 * sysdeps/s390/s390-64/configure.in: ... here
42469 * sysdeps/s390/s390-64/elf/configure: Delete file.
42470 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
42471 * sysdeps/s390/s390-64/start.S: ... here.
42472 * sysdeps/s390/s390-64/elf/configure: Delete.
42474 * configure.in: Remove support for elf directories in sysdeps.
42476 * configure: Regenerated.
42477 * sysdeps/i386/configure: Regenerated.
42478 * sysdeps/powerpc/powerpc32/configure: Regenerated.
42479 * sysdeps/powerpc/powerpc64/configure: Regenerated.
42480 * sysdeps/s390/s390-32/configure: Regenerated.
42481 * sysdeps/s390/s390-64/configure: Regenerated.
42482 * sysdeps/sh/configure: Regenerated.
42483 * sysdeps/sparc/configure: Regenerated.
42484 * sysdeps/x86_64/configure: Regenerated.
42486 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
42488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42490 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
42491 denormal result into account.
42493 2012-03-25 Roland McGrath <roland@hack.frob.com>
42495 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
42496 Reported by Allan McRae <allan@archlinux.org>.
42498 2012-03-23 Jeff Law <law@redhat.com>
42500 * nss/getnssent.c (__nss_getent): Fix typo.
42502 2012-03-23 David S. Miller <davem@davemloft.net>
42504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42506 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
42508 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
42509 to pad to uint64_t for each field.
42510 (dl_tls_index): Replace unsigned long with uint64_t.
42512 2012-03-23 Daniel Jacobowitz <dmj@google.com>
42513 Paul Pluzhnikov <ppluzhnikov@google.com>
42516 * grp/Makefile (otherlibs): Don't set it.
42517 * inet/Makefile (otherlibs): Likewise.
42518 * login/Makefile (otherlibs): Likewise.
42519 * nscd/Makefile (otherlibs): Likewise.
42520 * posix/Makefile (otherlibs): Likewise.
42521 * pwd/Makefile (otherlibs): Likewise.
42522 * rt/Makefile (otherlibs): Likewise.
42523 * sunrpc/Makefile (otherlibs): Likewise.
42524 * nss/Makefile (otherlibs): Likewise.
42525 Add libnss_files to routines and static-only-routines.
42526 ($(objpfx)getent): Remove rule.
42527 * resolv/Makefile: Add libnss_dns and libresolv to routines and
42528 static-only-routines.
42530 2012-03-22 Joseph Myers <joseph@codesourcery.com>
42533 * math/s_cexp.c: Include <float.h>.
42534 (__cexp): Handle exp result overflowing not necessarily
42535 overflowing both real and imaginary parts of result.
42536 * math/s_cexpf.c: Likewise.
42537 * math/s_cexpl.c: Likewise.
42538 * math/libm-test.inc (cexp_test): Add more tests.
42539 * sysdeps/i386/fpu/libm-test-ulps: Update.
42540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42542 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42544 * include/link.h (ELFW): New macro.
42545 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
42546 Replace ELF64_R_TYPE with ELFW(R_TYPE).
42548 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42550 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
42553 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42555 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
42557 (struct La_x32_retval): Likewise.
42559 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42561 * sysdeps/x86_64/preconfigure.in: New file.
42562 * sysdeps/x86_64/preconfigure: New generated file.
42564 2012-03-22 Joseph Myers <joseph@codesourcery.com>
42567 * math/e_exp2l.c: Include <float.h>.
42568 (__ieee754_exp2l): Handle overflow and underflow cases
42569 separately. Only pass fractional part of argument to
42571 * math/libm-test.inc (exp2_test): Add more tests.
42573 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
42574 negating x to take absolute value.
42575 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
42577 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42578 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
42580 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
42581 computing low part if x was negated.
42582 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42584 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42586 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
42587 la_x32_gnu_pltexit.
42588 (pltexit): Cast int_retval to ptrdiff_t.
42589 * elf/tst-auditmod3b.c: Likewise.
42590 * elf/tst-auditmod4b.c: Likewise.
42591 * elf/tst-auditmod5b.c: Likewise.
42592 * elf/tst-auditmod6b.c: Likewise.
42593 * elf/tst-auditmod6c.c: Likewise.
42594 * elf/tst-auditmod7b.c: Likewise.
42596 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
42597 and x32_gnu_pltexit.
42599 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
42600 __ELF_NATIVE_CLASS.
42601 (La_x32_regs): New macro.
42602 (La_x32_retval): Likewise.
42603 (la_x32_gnu_pltenter): New function prototype.
42604 (la_x32_gnu_pltexit): Likewise.
42606 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
42608 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
42611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42613 * configure.in (libc_cv_cc_nofma): Check for option to disable
42614 generation of FMA instructions.
42615 * configure: Regenerate.
42616 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
42617 * sysdeps/ieee754/dbl-64/Makefile: New file.
42618 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
42619 Remove brandred-fma4.
42620 (CFLAGS-brandred-fma4.c): Remove.
42621 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
42622 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
42624 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
42627 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42629 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42630 LLONG_MAX != LONG_MAX.
42631 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42632 (_fitoa_word): Likewise.
42633 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
42634 LLONG_MAX != LONG_MAX.
42635 * stdio-common/_itowa.h: Include <_itoa.h>.
42636 (_itowa_word): Use _ITOA_WORD_TYPE on value.
42637 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
42638 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
42639 only if not defined.
42640 (_ITOA_WORD_TYPE): Likewise.
42641 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42642 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
42644 2012-03-21 David S. Miller <davem@davemloft.net>
42646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42648 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42650 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
42651 of x86_64 when setting libc_cv_slibdir, libdir and
42653 * sysdeps/unix/sysv/linux/configure: Regenerated.
42655 2012-03-21 Joseph Myers <joseph@codesourcery.com>
42657 * manual/lang.texi (Old Varargs): Remove section.
42658 (How Variadic): Update menu.
42659 (va_start): Do not mention varargs.h.
42661 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
42662 Joseph Myers <joseph@codesourcery.com>
42664 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
42666 * configure: Regenerated.
42668 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
42670 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
42671 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
42674 2012-03-21 Joseph Myers <joseph@codesourcery.com>
42677 * Makefile (files-for-dist): Remove NOTES.
42678 (NOTES): Remove rule.
42679 * README: Don't refer to NOTES.
42680 * manual/creature.texi: Don't include macros.texi.
42681 * manual/intro.texi (creature.texi): Remove comment referring to
42684 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
42685 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
42686 * configure: Regenerated.
42687 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
42688 LIBC_TRY_CC_OPTION.
42689 (libc_cv_as_i686): Likewise.
42690 (libc_cv_cc_avx): Likewise.
42691 (libc_cv_cc_sse2avx): Likewise.
42692 (libc_cv_cc_fma4): Likewise.
42693 (libc_cv_cc_novzeroupper): Likewise.
42694 * sysdeps/i386/configure: Regenerated.
42697 * sysdeps/i386/fpu/s_cexp.S: Remove.
42698 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42699 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42700 * math/libm-test.inc (cexp_test): Add more tests.
42701 * sysdeps/i386/fpu/libm-test-ulps: Update.
42702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42704 2012-03-21 Allan McRae <allan@archlinux.org>
42706 * timezone/Makefile: Do not install iso3166.tab and zone.tab
42708 2012-03-21 Joseph Myers <joseph@codesourcery.com>
42711 * math/w_exp2.c: Do not include <float.h>.
42712 (o_threshold, u_threshold): Remove.
42713 (__exp2): Calculate result before checking finiteness and calling
42715 * math/w_exp2f.c: Likewise.
42716 * math/w_exp2l.c: Likewise.
42717 * math/libm-test.inc (exp2_test): Require overflow exception for
42721 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
42722 range of signed 64-bit integers before using fistpll. Remove
42723 checks for whether integers fit in mantissa bits.
42724 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
42725 the range of signed 32-bit integers before using fistpl. Remove
42726 checks for whether integers fit in mantissa bits.
42727 * sysdeps/i386/fpu/e_powl.S (p64): New object.
42728 (__ieee754_powl): Test for y outside the range of signed 64-bit
42729 integers before using fistpll. Reduce 64-bit values to 63-bit
42731 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
42732 divide-by-zero is raised for zero to large negative powers.
42733 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
42734 (__ieee754_powl): Test for y outside the range of signed 64-bit
42735 integers before using fistpll. Reduce 64-bit values to 63-bit
42737 * math/libm-test.inc (pow_test): Add more tests.
42739 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42741 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
42742 <stdio-common/_itoa.h>.
42743 * debug/segfault.c: Likewise.
42744 * elf/dl-cache.c: Likewise.
42745 * elf/dl-minimal.c: Likewise.
42746 * elf/dl-misc.c: Likewise.
42747 * elf/dl-sysdep.c: Likewise.
42748 * elf/dl-version.c: Likewise.
42749 * elf/rtld.c: Likewise.
42750 * hurd/hurdsock.c: Likewise.
42751 * hurd/lookup-retry.c: Likewise.
42752 * malloc/malloc.c: Likewise.
42753 * malloc/mtrace.c: Likewise.
42754 * nscd/nscd_getgr_r.c: Likewise.
42755 * nscd/nscd_getpw_r.c: Likewise.
42756 * nscd/nscd_getserv_r.c: Likewise.
42757 * posix/getopt_init.c: Likewise.
42758 * posix/wordexp.c: Likewise.
42759 * stdio-common/_itoa.c: Likewise.
42760 * stdio-common/printf_fphex.c: Likewise.
42761 * stdio-common/vfprintf.c: Likewise.
42762 * string/_strerror.c: Likewise.
42763 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
42764 * sysdeps/i386/i686/hp-timing.h: Likewise.
42765 * sysdeps/mach/_strerror.c: Likewise.
42766 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
42767 * sysdeps/mach/hurd/sethostid.c: Likewise.
42768 * sysdeps/mach/hurd/xmknodat.c: Likewise.
42769 * sysdeps/mach/xpg-strerror.c: Likewise.
42770 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42771 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42772 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
42773 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
42774 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42775 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
42776 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42777 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42778 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
42779 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
42780 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
42781 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42782 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
42783 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42784 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42785 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
42786 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
42787 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
42788 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42789 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42790 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
42792 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
42794 * stdio-common/_itoa.h: Moved to ...
42795 * sysdeps/generic/_itoa.h: Here.
42797 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
42799 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
42800 instead of "_itoa.h" and "_itowa.h".
42801 * stdio-common/vfprintf.: Likewise.
42803 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42805 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
42807 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
42808 (__signbit): Likwise.
42809 (llrintf): Likwise.
42812 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42814 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
42817 2012-03-20 Joseph Myers <joseph@codesourcery.com>
42819 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
42820 OVERFLOW_EXCEPTION_OK.
42821 * math/libm-test.inc ("Philosophy"): Update comment about
42823 (OVERFLOW_EXCEPTION): Define.
42824 (OVERFLOW_EXCEPTION_OK): Likewise.
42825 (INVALID_EXCEPTION_OK): Renumber.
42826 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42827 (IGNORE_ZERO_INF_SIGN): Likewise.
42828 (test_exceptions): Handle FE_OVERFLOW.
42829 (exp10_test): Expect overflow exceptions.
42830 (exp2_test): Likewise.
42831 (expm1_test): Likewise.
42832 (nextafter_test): Likewise.
42833 (pow_test): Likewise.
42834 (scalbn_test): Likewise.
42835 (scalbln_test): Likewise.
42837 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42839 * sysdeps/x86_64/bits/atomic.h
42840 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
42842 (atomic_exchange_acq): Likewise.
42843 (__arch_exchange_and_add_body): Likewise.
42844 (__arch_add_body): Likewise.
42845 (atomic_add_negative): Likewise.
42846 (atomic_add_zero): Likewise.
42848 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42850 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
42851 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
42853 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42855 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
42856 Check __x86_64__ instead of __WORDSIZE.
42858 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42860 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
42862 2012-03-19 David S. Miller <davem@davemloft.net>
42864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42866 * sysdeps/sparc/fpu/fenv_private.h: New file.
42867 * sysdeps/sparc/fpu/math_private.h: Use it.
42868 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
42870 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
42871 (libc_feholdexcept_setroundl): Remove.
42872 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
42874 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
42875 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
42877 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42879 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
42880 int64_t instead of long int.
42881 (INSERT_WORDS64): Likwise.
42883 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42885 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
42886 _Unwind_GetCFA return to _Unwind_Ptr first.
42888 2012-03-19 Joseph Myers <joseph@codesourcery.com>
42891 * math/s_clog.c: Include <float.h>.
42892 (__clog): Scale large or subnormal inputs.
42893 * math/s_clogf.c: Likewise.
42894 * math/s_clogl.c: Likewise.
42895 * math/s_clog10.c: Include <float.h>.
42896 (M_LOG10_2): Define.
42897 (__clog10): Scale large or subnormal inputs.
42898 * math/s_clog10f.c: Likewise.
42899 * math/s_clog10l.c: Likewise.
42900 * math/libm-test.inc (clog_test): Add more tests.
42901 (clog10_test): Likewise.
42902 * sysdeps/i386/fpu/libm-test-ulps: Update.
42903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42906 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
42908 * math/libm-test.inc (atan2_test): Add another test.
42910 * Makerules (common-objdir-compile): Remove.
42911 * sysdeps/unix/Makefile (config-generated): Do not add
42912 $(unix-generated) to variable.
42913 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
42914 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
42916 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
42918 [generic bits/local_lim.h] (before-compile): Do not append to
42920 [generic bits/local_lim.h] (common-generated): Likewise.
42921 [generic sys/param.h] (before-compile): Do not append to variable.
42922 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
42923 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
42924 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
42925 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
42927 [generic sys/param.h] (sys/param.h-includes): Remove variable.
42928 [generic sys/param.h] (sys/param.h-includes): Remove rule.
42929 [generic sys/param.h] ($(addprefix
42930 $(common-objpfx),$(sys/param.h-includes))): Likewise.
42931 [generic sys/param.h] (common-generated): Do not append to
42933 [generic sys/param.h] (sysdep_headers): Likewise.
42934 [generic bits/errno.h] (before-compile): Do not append to
42936 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
42938 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
42939 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
42940 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
42941 [generic bits/errno.h] (common-generated): Do not append to
42943 [generic bits/ioctls.h] (before-compile): Do not append to
42945 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
42947 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
42948 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
42949 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
42951 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
42952 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
42953 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
42954 [generic bits/ioctls.h] (common-generated): Do not append to
42956 [generic sys/syscall.h] (syscall.h): Remove variable.
42957 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42959 [generic sys/syscall.h] (before-compile): Do not append to
42961 [generic sys/syscall.h] (common-generated): Likewise.
42962 * sysdeps/unix/errnos-tmpl.c: Remove file.
42963 * sysdeps/unix/errnos.awk: Likewise.
42964 * sysdeps/unix/ioctls-tmpl.c: Likewise.
42965 * sysdeps/unix/ioctls.awk: Likewise.
42966 * sysdeps/unix/mk-local_lim.c: Likewise.
42967 * sysdeps/unix/snarf-ioctls: Likewise.
42969 2012-03-19 Richard Henderson <rth@twiddle.net>
42971 * sysdeps/i386/fpu/fenv_private.h: New file.
42972 * sysdeps/i386/fpu/math_private.h: Use it.
42973 (math_opt_barrier, math_force_eval): Remove.
42974 (libc_feholdexcept_setround_53bit): Remove.
42975 (libc_feupdateenv_53bit): Remove.
42976 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42977 (math_opt_barrier, math_force_eval): Remove.
42978 (libc_feholdexcept): Remove.
42979 (libc_feholdexcept_setround): Remove.
42980 (libc_fetestexcept, libc_fesetenv): Remove.
42981 (libc_feupdateenv_test): Remove.
42982 (libc_feupdateenv, libc_feholdsetround): Remove.
42983 (libc_feresetround): Remove.
42985 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
42986 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42988 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
42989 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
42990 (libc_feupdateenv_testl): New.
42991 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
42992 (libc_feupdateenv_testf): New.
42993 (libc_feupdateenv): Use libc_feupdateenv_test.
42994 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
42995 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
42997 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
42998 (libc_feholdsetroundf, libc_feholdsetroundl): New.
42999 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
43000 (libc_feresetround_noex): New.
43001 (libc_feresetround_noexf): New.
43002 (libc_feresetround_noexl): New.
43003 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
43004 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
43005 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
43006 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
43008 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43009 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
43011 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
43012 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
43013 SET_RESTORE_ROUND_NOEX.
43014 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
43015 SET_RESTORE_ROUND_NOEXF.
43016 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
43017 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
43018 (libc_feholdsetroundf): New.
43019 (libc_feresetround, libc_feresetroundf): New.
43021 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
43022 (libc_feholdexcept_setround_53bit): Convert from macro to function.
43023 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
43025 * sysdeps/generic/math_private.h: Include <fenv.h>.
43026 (default_libc_feholdexcept): New.
43027 (default_libc_feholdexcept_setround): New.
43028 (default_libc_fesetenv, default_libc_feupdateenv): New.
43029 (libc_feholdexcept): Only define if undefined.
43030 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
43031 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
43032 (libc_feholdexcept_setroundl): Likewise.
43033 (libc_feholdexcept_setround_53bit): Likewise.
43034 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
43035 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
43036 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
43037 (libc_feupdateenv_53bit): Likewise.
43038 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
43039 (libc_feholdexcept): Convert from macro to inline function.
43040 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
43041 (libc_fesetenv, libc_feupdateenv): Likewise.
43043 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
43044 not previously defined.
43045 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
43046 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
43047 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
43048 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
43049 * sysdeps/ieee754/flt-32/math_private.h: New file.
43050 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
43051 math_private.h below SET_FLOAT_WORD.
43052 (__isnan, __isinf_ns, __finite): Remove.
43053 (__isnanf, __isinf_nsf, __finitef): Remove.
43055 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
43057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43059 2012-03-17 David S. Miller <davem@davemloft.net>
43062 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
43065 2012-03-16 David S. Miller <davem@davemloft.net>
43067 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43071 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43073 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43074 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43075 sysdep_routines when subdir is sysvipc.
43076 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43077 __getshmlba helper.
43079 * sysdeps/sparc/fpu/libm-test/ulps: Update.
43081 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43083 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43086 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43088 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43089 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43090 (__lround): Renamed to ...
43091 (__llround): This. Replace long int with long long int.
43092 Define lround functions as aliases of llround functions.
43093 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43095 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43097 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43098 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
43099 adresses to uintptr_t. Replace "long int" and "unsigned long
43100 int" with "greg_t" on va_arg.
43102 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43104 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43105 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43107 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43108 Move e_machine check before EI_CLASS check. Handle x32
43109 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43110 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43111 SKIP_EM_IA_64 and include
43112 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43114 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43115 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43116 (add_system_dir): New macro.
43118 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43119 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43121 2012-03-16 Joseph Myers <joseph@codesourcery.com>
43132 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
43134 * math/w_j0f.c (j0f): Likewise.
43136 * math/w_j0l.c (__j0l): Likewise.
43138 * math/w_j1.c (j1): Likewise.
43140 * math/w_j1f.c (j1f): Likewise.
43142 * math/w_j1l.c (__j1l): Likewise.
43144 * math/w_jn.c (jn): Likewise.
43146 * math/w_jnf.c (jnf): Likewise.
43148 * math/w_jnl.c (__jnl): Likewise.
43150 * math/libm-test.inc (j0_test): Add more tests.
43151 (j1_test): Likewise.
43152 (jn_test): Likewise. Add trailing semicolon to existing test.
43153 (y0_test): Likewise.
43154 (y1_test): Likewise.
43155 * sysdeps/i386/fpu/libm-test-ulps: Update.
43156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43160 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
43161 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
43162 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
43163 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
43164 (__tanl): Set errno for infinite argument.
43165 * sysdeps/i386/fpu/mptan.c: Remove.
43166 * sysdeps/i386/fpu/s_tan.S: Likewise.
43167 * sysdeps/i386/fpu/s_tanl.S: Likewise.
43168 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
43169 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
43170 * math/libm-test.inc (tan_test): Add more tests and enable more
43171 tests for double and long double.
43172 * sysdeps/i386/fpu/libm-test-ulps: Update.
43173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43175 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
43177 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
43178 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
43180 2012-03-16 Roland McGrath <roland@hack.frob.com>
43182 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
43183 * configure.in: Use it for both main tree and add-ons.
43184 * configure: Regenerated.
43186 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43188 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
43190 2012-03-16 Joseph Myers <joseph@codesourcery.com>
43192 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
43196 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
43197 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
43198 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
43199 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
43200 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
43202 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
43203 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
43204 != 0 for prec == 2.
43205 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
43206 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
43207 * sysdeps/i386/fpu/s_cosl.S: Likewise.
43208 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
43209 * sysdeps/i386/fpu/s_sinl.S: Likewise.
43210 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
43211 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
43212 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
43213 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
43214 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
43215 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
43216 * math/libm-test.inc (cos_test): Add more tests and enable more
43217 tests for long double.
43218 (sin_test): Likewise.
43219 (sincos_test): Likewise.
43220 * sysdeps/i386/fpu/libm-test-ulps: Update.
43221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43223 2012-03-16 David S. Miller <davem@davemloft.net>
43225 * sysdeps/sparc/fpu/math_private.h: New file.
43227 2012-03-15 David S. Miller <davem@davemloft.net>
43229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
43231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
43232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
43234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
43235 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
43236 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
43237 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
43238 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
43239 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
43241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43243 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
43244 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
43246 * sysdeps/sparc/sparc-ifunc.h: New file.
43247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
43249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
43250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
43252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
43254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
43255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
43256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
43261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
43263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
43265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
43267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
43269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
43270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
43271 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43272 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43273 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
43274 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
43275 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43276 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
43278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
43279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
43280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
43281 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
43282 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
43283 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
43284 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
43285 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
43286 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
43287 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
43288 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
43289 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
43290 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
43292 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43294 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
43296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43298 2012-03-15 Andreas Jaeger <aj@suse.de>
43301 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
43302 ieee754/flt-32 implementation for sin, cos and sincos.
43303 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
43304 * sysdeps/i386/fpu/s_cosf.S: Likewise.
43305 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
43306 * sysdeps/i386/fpu/s_sinf.S: Likewise.
43307 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
43308 ieee754/flt-32 implementation for tan.
43310 * math/libm-test.inc (cos_test): Enable some large input tests for
43312 (sin_test): Likewise.
43313 (sincos_test): Likewise.
43314 (tan_test): Add tests for large input.
43316 * sysdeps/i386/fpu/libm-test-ulps: Update.
43318 2012-03-15 Andreas Jaeger <aj@suse.de>
43321 * math/libm-test.inc (cos_test): Add more test cases.
43322 (sin_test): Likewise.
43323 (sincos_test): Likewise.
43325 2012-03-15 Andreas Jaeger <aj@suse.de>
43328 * math/libm-test.inc (cos_test): Add a test case for large input
43330 (sin_test): Likewise.
43331 (sincos_test): Likewise.
43333 2012-03-15 Andreas Jaeger <aj@suse.de>
43334 Joseph Myers <joseph@codesourcery.com>
43337 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
43338 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
43339 * sysdeps/i386/fpu/branred.c: Likewise.
43340 * sysdeps/i386/fpu/dosincos.c: Likewise.
43341 * sysdeps/i386/fpu/mpa.c: Likewise.
43342 * sysdeps/i386/fpu/s_cos.S: Likewise.
43343 * sysdeps/i386/fpu/s_sin.S: Likewise.
43344 * sysdeps/i386/fpu/s_sincos.S: Likewise.
43345 * sysdeps/i386/fpu/sincos32.c: Likewise.
43347 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
43349 (libc_feupdateenv_53bit): Define.
43350 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
43352 (libc_feupdateenv_53bit): Define.
43354 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
43355 53 bit (without extend i386 double precision).
43357 * math/libm-test.inc (sincos_test): Add tests for large input.
43361 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43363 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43367 2012-03-15 David S. Miller <davem@davemloft.net>
43369 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
43370 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
43371 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
43372 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
43373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
43374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
43375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
43376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
43377 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
43378 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
43379 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
43380 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
43381 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
43382 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
43383 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
43384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
43386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
43387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
43389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
43390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
43392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
43393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
43395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
43396 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
43397 fmin/fmax sysdep routines.
43398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43400 2012-03-14 David S. Miller <davem@davemloft.net>
43402 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
43403 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
43404 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
43405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
43406 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
43407 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
43408 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
43409 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
43410 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
43411 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
43412 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
43413 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
43414 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
43415 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
43416 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
43417 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
43418 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
43419 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
43420 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
43421 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
43422 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
43423 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
43424 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
43425 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
43426 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
43427 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
43428 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
43429 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
43430 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
43432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
43434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
43435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
43437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
43438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
43440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
43441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
43443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
43444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
43446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
43447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
43449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
43451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
43453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
43455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
43457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
43459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
43461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
43462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
43464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
43465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
43467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
43468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
43470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
43471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
43474 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
43477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43479 * sysdeps/sparc/configure.in: New file.
43480 * sysdeps/sparc/configure: Generate.
43481 * configure.in (libc_cv_sparc_as_vis3): Substitute.
43482 * configure: Regenerate.
43483 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
43484 * config.make.in (have-as-vis3): New.
43485 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
43486 available use -Av9d instead of -Av9a.
43487 * sysdeps/sparc/sparc64/Makefile: Likewise.
43488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
43489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
43491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
43493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
43495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
43497 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
43498 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
43499 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
43500 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
43501 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
43503 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
43504 fzeros/fnegs to load 0x80000000 into a float register instead of
43506 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
43508 2012-03-14 Joseph Myers <joseph@codesourcery.com>
43510 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43512 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
43513 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
43514 ($(inst_includedir)/bits/syscall.h): Remove rule.
43515 ($(objpfx)bits/syscall.d): Include instead of
43516 $(objpfx)syscall-list.d.
43517 (generated): Change syscall-list.h and syscall-list.d to
43518 bits/syscall.h and bits/syscall.d.
43520 2012-03-14 Roland McGrath <roland@hack.frob.com>
43523 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
43525 2012-03-14 Joseph Myers <joseph@codesourcery.com>
43528 * math/s_csqrt.c: Include <float.h>.
43529 (__csqrt): Scale large or subnormal inputs.
43530 * math/s_csqrtf.c: Likewise.
43531 * math/s_csqrtl.c: Likewise.
43532 * math/libm-test.inc (csqrt_test): Add more tests.
43533 * sysdeps/i386/fpu/libm-test-ulps: Update.
43534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43537 * math/libm-test.inc (hypot_test): Add more tests.
43539 2012-03-13 David S. Miller <davem@davemloft.net>
43542 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
43543 double-precision for the calculation instead of scaling.
43545 2012-03-13 Joseph Myers <joseph@codesourcery.com>
43547 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
43548 manipulate bits before adding and subtracting TWO52[sx].
43549 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
43550 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
43552 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
43554 2012-03-13 David S. Miller <davem@davemloft.net>
43556 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
43557 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
43558 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
43559 rtld-global-offsets.h
43560 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43562 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
43565 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
43567 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
43568 'err' in the ifdef scope in which it is actually used.
43570 * nss/nss_db/db-init.c: Include string.h
43572 2012-03-12 David S. Miller <davem@davemloft.net>
43574 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43575 masking out of the most significant byte of random value used.
43576 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43577 Fix coding style in previous change.
43579 * sysdeps/unix/sysv/linux/kernel-features.h
43580 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
43581 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
43583 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
43586 2012-03-11 David S. Miller <davem@davemloft.net>
43588 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43589 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
43590 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
43591 for 'resultvar' otherwise things get truncated on 64-bit.
43593 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43594 Fix masking out of the most significant byte of random value used.
43596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43598 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
43600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43602 2012-03-09 David S. Miller <davem@davemloft.net>
43604 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
43605 variables with appropriate CPP guards.
43606 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
43607 from the frame pointer, not the stack pointer. Correct layout
43608 comments. Fix test on resulting framesize and the management of
43609 the outregs buffer for pltexit. Preserve floating point return
43610 values across _dl_call_pltexit call.
43611 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
43612 framesize and the management of the outregs buffer for pltexit.
43613 Preserve floating point return values across _dl_call_pltexit
43615 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
43616 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
43617 (la_sparc64_gnu_pltexit): New functions.
43618 (print_exit): Fix format string for return register value.
43620 2012-03-10 Joseph Myers <joseph@codesourcery.com>
43622 * sunrpc/Makefile (others): Add rpcgen.
43623 ($(objpfx)rpcgen): Remove special build rule and dependency on
43625 * sunrpc/rpcgen.c: New file.
43627 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
43630 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
43631 * stdio-common/bug-vfprintf-nargs.c: Likewise.
43632 * sysdeps/i386/crti.S: Likewise.
43633 * sysdeps/i386/crtn.S: Likewise.
43634 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
43635 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
43636 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
43637 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
43638 * sysdeps/sh/crti.S: Likewise.
43639 * sysdeps/sh/crtn.S: Likewise.
43640 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43643 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
43645 * locale/programs/locfile-kw.gperf: Likewise.
43646 * locale/programs/charmap-kw.h: Regenerated.
43647 * locale/programs/locfile-kw.h: Likewise.
43650 * intl/plural.y: Replace FSF snail mail address with URL.
43651 * intl/plural.c: Regenerated.
43653 2012-03-09 Richard Henderson <rth@twiddle.net>
43655 * include/math_private.h: Remove file.
43656 * math/math_private.h: Move file ...
43657 * sysdeps/generic/math_private.h: ... here.
43659 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
43660 * sysdeps/powerpc/fpu/math_private.h: Likewise.
43661 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43663 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
43664 and <math_private.h>.
43665 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43666 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43667 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43668 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43669 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43670 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
43671 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43672 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43673 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43674 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43675 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43676 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43677 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43678 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43679 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43680 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43681 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43682 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43683 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43684 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43685 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43686 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43687 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43688 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43689 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43690 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43691 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43692 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43693 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43694 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43695 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43696 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43697 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43698 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43699 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43700 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43701 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43702 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43703 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43704 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43705 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
43706 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43707 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43708 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43709 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43710 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43711 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
43712 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43713 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43714 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43715 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43716 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
43717 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43718 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43719 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43720 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43721 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43722 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43723 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43724 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
43725 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43726 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43727 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43728 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43729 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
43730 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43731 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43732 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43733 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
43734 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
43735 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43736 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43737 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43738 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43739 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
43740 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
43741 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
43742 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43743 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
43744 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
43745 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43746 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
43747 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43748 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43749 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43750 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43751 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
43752 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
43753 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43754 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43755 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43756 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43757 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43758 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43759 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43760 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43761 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43762 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43763 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43764 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43765 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43766 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43767 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43768 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43769 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43770 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43771 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43772 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43773 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43774 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43775 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43776 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43777 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43778 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43779 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
43780 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43781 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43782 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43783 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43784 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43785 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43786 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43787 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43788 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
43789 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43790 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43791 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43792 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
43793 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43794 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
43795 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
43796 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43797 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43798 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
43799 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
43800 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43801 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43802 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43803 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
43804 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43805 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43806 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43807 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43808 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
43809 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
43810 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43811 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43812 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43813 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
43814 * sysdeps/ieee754/k_standard.c: Likewise.
43815 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43816 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43817 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43818 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43819 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43820 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43821 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43822 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43823 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43824 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43825 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43826 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43827 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43828 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43829 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43830 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43831 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43832 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43833 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43834 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
43835 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
43836 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
43837 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43838 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43839 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43840 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
43841 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43842 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43843 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43844 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43845 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43846 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43847 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43848 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43849 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43850 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43851 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43852 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
43853 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
43854 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43855 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43856 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43857 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43858 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43859 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43860 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43861 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43862 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43863 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43864 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43865 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43866 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43867 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43868 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
43869 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43870 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43871 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
43872 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
43873 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43874 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43875 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43876 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43877 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43878 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43879 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43880 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43881 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43882 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43883 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43884 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43885 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43886 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43887 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43888 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43889 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43890 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43891 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
43892 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43893 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43894 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43895 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43896 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43897 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43898 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43899 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
43900 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43901 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43902 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
43903 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43904 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43905 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
43906 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43907 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43908 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43909 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43910 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43911 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
43912 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43913 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43914 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
43915 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43916 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43917 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43918 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43919 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
43920 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43921 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43922 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43923 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
43924 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43925 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43926 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43927 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43928 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43929 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43930 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43931 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43932 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43933 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43934 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43935 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43936 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43937 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43938 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43939 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43940 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
43941 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43942 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43943 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43944 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43945 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43946 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43947 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43948 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43949 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43950 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43951 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
43952 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43953 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43954 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
43955 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
43956 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43957 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
43958 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43959 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43960 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43961 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43962 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43963 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43964 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43965 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43966 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43967 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43968 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43969 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43970 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43971 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43972 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43973 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43974 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43975 * sysdeps/ieee754/s_lib_version.c: Likewise.
43976 * sysdeps/ieee754/s_matherr.c: Likewise.
43977 * sysdeps/ieee754/s_signgam.c: Likewise.
43978 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43979 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43980 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
43981 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
43982 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
43983 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43984 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
43985 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
43986 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
43987 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
43988 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43989 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
43990 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43991 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43992 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
43993 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43994 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43995 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43996 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43997 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43998 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44000 2012-03-09 Joseph Myers <joseph@codesourcery.com>
44002 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
44003 * sunrpc/rpc_main.c: Likewise.
44004 * sunrpc/rpc_svcout.c: Likewise.
44006 2012-03-09 David S. Miller <davem@davemloft.net>
44008 * include/math_private.h: New file.
44010 2012-03-09 Joseph Myers <joseph@codesourcery.com>
44012 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
44013 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
44014 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
44015 from <bits/socket_type.h>.
44016 (enum __socket_type): Don't define here.
44017 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
44018 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44019 bits/socket_type.h.
44022 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44023 checking __USE_GNU.
44025 * Makerules ($(inst_includedir)/%.h): New rule.
44026 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
44027 (install-others): Remove variable setting.
44028 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
44030 2012-03-08 Richard Henderson <rth@twiddle.net>
44032 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
44033 from macro to inline function; merge with the
44034 !__LIBC_INTERNAL_MATH_INLINES version.
44035 (__ieee754_sqrtf): Likewise.
44037 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
44038 to inline function.
44039 (__rintf, __floor, __floorf): Likewise.
44041 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
44042 macro to inline function.
44043 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
44045 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
44046 not <math/math_private.h>.
44048 2012-03-08 David S. Miller <davem@davemloft.net>
44050 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
44052 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
44054 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
44056 * resolv/gai_misc.c (handle_requests): Fix struct timespec
44058 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
44059 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
44061 2012-03-08 Ulrich Drepper <drepper@gmail.com>
44063 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
44064 be defined individually, they must be defined as a block. Define
44065 S for printing a string instead of hidint the different by using a
44066 macro for adding the 'l'.
44067 * stdio-common/tst-fphex-wide.c: Adjust.
44069 2012-03-07 Marek Polacek <polacek@redhat.com>
44071 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44073 2012-03-08 Marek Polacek <polacek@redhat.com>
44076 * stdio-common/Makefile (tests): Add tst-fphex-wide.
44077 * stdio-common/tst-fphex.c: Define a few macros to make the
44078 test reusable. Use them.
44079 * stdio-common/tst-fphex-wide.c: New file.
44081 2012-03-08 Joseph Myers <joseph@codesourcery.com>
44084 * manual/macros.texi (gnusystems): New macro.
44085 (nongnusystems): Likewise.
44086 (gnulinuxhurdsystems): Likewise.
44087 (gnuhurdsystems): Likewise..
44088 (gnulinuxsystems): Likewise.
44089 * manual/charset.texi: Use new macros or @theglibc{} to refer to
44090 variants of the GNU system, not "GNU system".
44091 * manual/conf.texi: Likewise.
44092 * manual/errno.texi: Likewise. Update example of errno macro
44094 * manual/filesys.texi: Likewise.
44095 (getumask): Document as specific to GNU/Hurd.
44096 * manual/install.texi: Likewise. Reword some references to
44098 * manual/intro.texi: Likewise.
44099 * manual/io.texi: Likewise.
44100 (File Name Portability): Detail which constraints are inapplicable
44101 to all GNU systems and which are only inapplicable to GNU/Hurd.
44102 * manual/job.texi: Likewise.
44103 * manual/llio.texi: Likewise.
44104 (O_NOCTTY): Document as present on GNU/Linux.
44105 * manual/maint.texi: Likewise.
44106 * manual/memory.texi: Likewise.
44107 * manual/pattern.texi: Likewise.
44108 * manual/pipe.texi: Likewise.
44109 * manual/process.texi: Likewise.
44110 * manual/resource.texi: Likewise.
44111 (RUSAGE_CHILDREN): Remove statement about specifying a particular
44113 * manual/setjmp.texi: Likewise.
44114 * manual/signal.texi: Likewise.
44115 * manual/startup.texi: Likewise.
44116 * manual/stdio.texi: Likewise.
44117 * manual/terminal.texi: Likewise.
44118 (ONLCR): Document as POSIX.
44119 (OXTABS): Document availability on GNU/Linux as XTABS.
44120 (ONOEOT): Document availability separately from other bits.
44121 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44122 * manual/time.texi: Likewise.
44123 * manual/users.texi: Likewise.
44124 * INSTALL: Regenerated.
44125 * sysdeps/gnu/errlist.c: Regenerated.
44127 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44128 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44129 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
44131 * configure: Regenerated.
44133 2012-03-07 Joseph Myers <joseph@codesourcery.com>
44135 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
44136 default includes instead of AC_HEADER_CHECK.
44137 * sysdeps/i386/configure: Regenerated.
44140 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
44141 * math/s_cacoshf.c (__cacoshf): Likewise.
44142 * math/s_cacoshl.c (__cacoshl): Likewise.
44143 * math/s_casinh.c (__casinh): Set signs of result from argument.
44144 * math/s_casinhf.c (__casinhf): Likewise.
44145 * math/s_casinhl.c (__casinhl): Likewise.
44146 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
44147 (casinh_test): Add more tests.
44148 * sysdeps/i386/fpu/libm-test-ulps: Update.
44149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44151 2012-03-07 Ulrich Drepper <drepper@gmail.com>
44153 * po/zh_TW.po: Update from translation team.
44155 * login/Makefile (distribute): Remove variable.
44156 * catgets/Makefile: Likewise.
44157 * mach/Makefile: Likewise.
44158 * malloc/Makefile: Likewise.
44159 * misc/Makefile: Likewise.
44160 * iconv/Makefile: Likewise.
44161 * nscd/Makefile: Likewise.
44162 * hurd/Makefile: Likewise.
44163 * manual/Makefile: Likewise.
44164 * locale/Makefile: Likewise.
44165 * intl/Makefile: Likewise.
44166 * conform/Makefile: Likewise.
44167 * nss/Makefile: Likewise.
44168 * time/Makefile: Likewise.
44169 * soft-fp/Makefile: Likewise.
44170 * dirent/Makefile: Likewise.
44171 * gmon/Makefile: Likewise.
44172 * po/Makefile: Likewise.
44173 * rt/Makefile: Likewise.
44174 * socket/Makefile: Likewise.
44175 * math/Makefile: Likewise.
44176 * signal/Makefile: Likewise.
44177 * debug/Makefile: Likewise.
44178 * elf/Makefile: Likewise.
44179 * timezone/Makefile: Likewise.
44180 * stdlib/Makefile: Likewise.
44181 * iconvdata/Makefile: Likewise.
44182 * sunrpc/Makefile: Likewise.
44183 * io/Makefile: Likewise.
44184 * argp/Makefile: Likewise.
44185 * inet/Makefile: Likewise.
44186 * hesiod/Makefile: Likewise.
44187 * grp/Makefile: Likewise.
44188 * csu/Makefile: Likewise.
44189 * wctype/Makefile: Likewise.
44190 * crypt/Makefile: Likewise.
44191 * libio/Makefile: Likewise.
44192 * string/Makefile: Likewise.
44193 * nis/Makefile: Likewise.
44194 * resolv/Makefile: Likewise.
44195 * stdio-common/Makefile: Likewise.
44196 * wcsmbs/Makefile: Likewise.
44197 * dlfcn/Makefile: Likewise.
44198 * posix/Makefile: Likewise.
44201 * timezone/Makefile: Don't install timezone files, just the programs
44204 2012-03-06 Ulrich Drepper <drepper@gmail.com>
44206 * nss/databases.def: Add missing gshadow entry.
44208 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
44210 2012-03-06 Marek Polacek <polacek@redhat.com>
44213 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
44214 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44215 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
44216 * stdio-common/tst-long-dbl-fphex.c: New file.
44218 2012-03-06 David S. Miller <davem@davemloft.net>
44220 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44221 (set_obp_int): New function.
44222 (get_obp_int): New function.
44223 (__get_clockfreq_via_dev_openprom): Likewise.
44224 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
44225 Avoid unused variable warnings on 'val' and use builtin_expect.
44226 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
44228 (INLINE_CLONE_SYSCALL): Likewise.
44230 2012-03-05 David S. Miller <davem@davemloft.net>
44232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44234 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
44236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44238 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
44239 only for |x| >= 40.
44240 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44242 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
44244 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
44245 Replace gettimeofday with __vdso_gettimeofday.
44247 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44248 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
44249 __vdso_clock_gettime and __vdso_getcpu.
44251 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
44252 time with __vdso_time.
44254 2012-03-05 Joseph Myers <joseph@codesourcery.com>
44256 * manual/lang.texi (size_t): Note types to which size_t may be
44257 equivalent with the GNU C Library, but do not describe when
44258 differences between them are significant.
44260 2012-03-05 Andreas Jaeger <aj@suse.de>
44262 * sysdeps/i386/fpu/libm-test-ulps: Update.
44264 2012-03-05 Joseph Myers <joseph@codesourcery.com>
44267 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
44268 (__ieee754_pow): Save and restore rounding mode and use
44269 round-to-nearest for main computations.
44270 * math/libm-test.inc (pow_test_tonearest): New function.
44271 (pow_test_towardzero): Likewise.
44272 (pow_test_downward): Likewise.
44273 (pow_test_upward): Likewise.
44274 (main): Call the new functions.
44275 * sysdeps/i386/fpu/libm-test-ulps: Update.
44276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44279 * math/libm-test.inc (cosh_test_tonearest): New function.
44280 (cosh_test_towardzero): Likewise.
44281 (cosh_test_downward): Likewise.
44282 (cosh_test_upward): Likewise.
44283 (sinh_test_tonearest): Likewise.
44284 (sinh_test_towardzero): Likewise.
44285 (sinh_test_downward): Likewise.
44286 (sinh_test_upward): Likewise.
44287 (main): Call the new functions.
44288 * sysdeps/i386/fpu/libm-test-ulps: Update.
44289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44291 2012-03-05 Tom de Vries <tom@codesourcery.com>
44293 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
44294 default stack guard is set in last bytes.
44295 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
44297 2012-03-05 Kees Cook <keescook@chromium.org>
44299 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
44302 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
44303 possibly allocate from heap instead of stack.
44304 * stdio-common/bug-vfprintf-nargs.c: New file.
44305 * stdio-common/Makefile (tests): Add nargs overflow test.
44307 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
44309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44311 2012-03-03 Marek Polacek <polacek@redhat.com>
44313 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
44314 * math/math_private.h: Likewise.
44315 * stdlib/tst-strtod.c: Likewise.
44316 * sysdeps/i386/i486/bits/atomic.h: Likewise.
44317 * sysdeps/x86_64/bits/atomic.h: Likewise.
44319 2012-03-02 David S. Miller <davem@davemloft.net>
44321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
44322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
44323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
44324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
44325 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
44326 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
44327 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
44328 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
44330 2012-03-02 Roland McGrath <roland@hack.frob.com>
44333 * manual/examples/README: New file, says the example source files
44334 can be used under GPL>=2.
44335 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
44336 line containing just "*/".
44337 * manual/examples/add.c: Add copyright header (GPL>=2).
44338 * manual/examples/argp-ex1.c: Likewise.
44339 * manual/examples/argp-ex2.c: Likewise.
44340 * manual/examples/argp-ex3.c: Likewise.
44341 * manual/examples/argp-ex4.c: Likewise.
44342 * manual/examples/atexit.c: Likewise.
44343 * manual/examples/db.c: Likewise.
44344 * manual/examples/dir.c: Likewise.
44345 * manual/examples/dir2.c: Likewise.
44346 * manual/examples/execinfo.c: Likewise.
44347 * manual/examples/filecli.c: Likewise.
44348 * manual/examples/filesrv.c: Likewise.
44349 * manual/examples/fmtmsgexpl.c: Likewise.
44350 * manual/examples/genpass.c: Likewise.
44351 * manual/examples/inetcli.c: Likewise.
44352 * manual/examples/inetsrv.c: Likewise.
44353 * manual/examples/isockad.c: Likewise.
44354 * manual/examples/longopt.c: Likewise.
44355 * manual/examples/memopen.c: Likewise.
44356 * manual/examples/memstrm.c: Likewise.
44357 * manual/examples/mkfsock.c: Likewise.
44358 * manual/examples/mkisock.c: Likewise.
44359 * manual/examples/mygetpass.c: Likewise.
44360 * manual/examples/pipe.c: Likewise.
44361 * manual/examples/popen.c: Likewise.
44362 * manual/examples/rprintf.c: Likewise.
44363 * manual/examples/search.c: Likewise.
44364 * manual/examples/select.c: Likewise.
44365 * manual/examples/setjmp.c: Likewise.
44366 * manual/examples/sigh1.c: Likewise.
44367 * manual/examples/sigusr.c: Likewise.
44368 * manual/examples/stpcpy.c: Likewise.
44369 * manual/examples/strdupa.c: Likewise.
44370 * manual/examples/strftim.c: Likewise.
44371 * manual/examples/strncat.c: Likewise.
44372 * manual/examples/subopt.c: Likewise.
44373 * manual/examples/swapcontext.c: Likewise.
44374 * manual/examples/termios.c: Likewise.
44375 * manual/examples/testopt.c: Likewise.
44376 * manual/examples/testpass.c: Likewise.
44377 * manual/examples/timeval_subtract.c: Likewise.
44380 * manual/time.texi (Elapsed Time): Move timeval_subtract example
44382 * manual/timeval_subtract.c.texi: ... here, new file.
44384 2012-03-02 David S. Miller <davem@davemloft.net>
44386 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
44388 2012-03-02 Joseph Myers <joseph@codesourcery.com>
44391 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
44392 (__sin): Save and restore rounding mode and use round-to-nearest
44393 for all computations.
44394 (__cos): Save and restore rounding mode and use round-to-nearest
44395 for all computations.
44396 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
44398 (tan): Save and restore rounding mode and use round-to-nearest for
44400 * math/libm-test.inc (cos_test_tonearest): New function.
44401 (cos_test_towardzero): Likewise.
44402 (cos_test_downward): Likewise.
44403 (cos_test_upward): Likewise.
44404 (sin_test_tonearest): Likewise.
44405 (sin_test_towardzero): Likewise.
44406 (sin_test_downward): Likewise.
44407 (sin_test_upward): Likewise.
44408 (tan_test_tonearest): Likewise.
44409 (tan_test_towardzero): Likewise.
44410 (tan_test_downward): Likewise.
44411 (tan_test_upward): Likewise.
44412 (main): Call the new functions.
44413 * sysdeps/i386/fpu/libm-test-ulps: Update.
44414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44417 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
44418 small n, then large n, before computing and testing k+n.
44419 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44420 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
44422 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
44424 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
44425 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
44426 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
44427 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
44428 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44429 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44430 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
44431 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
44432 * math/libm-test.inc (scalbn_test): Add more tests.
44433 (scalbln_test): Likewise.
44435 * manual/filesys.texi (mode_t): Describe constraints on size and
44436 signedness, not exact equivalence to a particular type.
44438 (ino64_t): Likewise.
44440 (nlink_t): Likewise.
44441 (blkcnt_t): Likewise.
44442 (blkcnt64_t): Likewise.
44443 * manual/llio.texi (off_t): Likewise.
44446 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
44447 (__ieee754_exp): Save and restore rounding mode and use
44448 round-to-nearest for all computations.
44449 * math/libm-test.inc (exp_test_tonearest): New function.
44450 (exp_test_towardzero): Likewise.
44451 (exp_test_downward): Likewise.
44452 (exp_test_upward): Likewise.
44453 (main): Call the new functions.
44454 * sysdeps/i386/fpu/libm-test-ulps: Update.
44455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44457 2012-03-01 Chris Demetriou <cgd@google.com>
44459 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
44460 have predictable order.
44462 2012-03-01 David S. Miller <davem@davemloft.net>
44464 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
44466 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
44467 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
44468 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
44469 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
44471 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
44472 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
44473 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
44474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
44475 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
44476 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
44477 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
44478 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
44479 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
44481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44483 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
44484 * sysdeps/sparc/fpu/libm-test-ulps: to here.
44485 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
44487 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
44488 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44489 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44490 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
44491 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
44492 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
44493 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
44494 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44495 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44496 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
44497 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
44498 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44499 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44500 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44501 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44502 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44503 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
44504 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
44505 * sysdeps/sparc/elf/configure: Regenerated.
44507 2012-03-01 Joseph Myers <joseph@codesourcery.com>
44509 * configure.in (AS, LD): Require binutils 2.20 or later.
44510 * configure: Regenerated.
44511 * manual/install.texi (Tools for Compilation): Give binutils 2.20
44512 as required minimum version.
44513 * INSTALL: Regenerated.
44517 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
44518 before squaring exponent.
44519 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
44520 bottom long double and 27 bits of top long double before squaring
44522 * math/libm-test.inc (erfc_test): Add more tests.
44523 * sysdeps/i386/fpu/libm-test-ulps: Update.
44524 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44527 2012-03-01 Kai Tietz <ktietz@redhat.com>
44529 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
44530 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
44531 containing bit-fields.
44532 * soft-fp/extended.h (_FP_UNION_E): Likewise.
44533 * soft-fp/single.h (_FP_UNION_S): Likewise.
44534 * soft-fp/double.h (_FP_UNION_D): Likewise.
44536 2012-02-29 Joseph Myers <joseph@codesourcery.com>
44539 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
44540 not include ../strcmp.S.
44541 [USE_AS_STRNCASECMP_L]: Likewise.
44542 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
44543 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
44544 * sysdeps/i386/i686/multiarch/strncase_l-c.c
44545 (__strncasecmp_l_ia32): Define as alias to
44546 __strncasecmp_l_nonascii.
44549 * math/libm-test.inc (expm1_test): Add test for bug 5794.
44550 * sysdeps/i386/fpu/libm-test-ulps: Update.
44551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44553 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
44554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44556 2012-02-29 Jeff Law <law@redhat.com>
44558 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
44559 out of bounds read.
44561 2012-02-29 Marek Polacek <polacek@redhat.com>
44564 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
44565 * elf/Makefile: Add rules to run tst-unused-dep.out.
44567 2012-02-28 David S. Miller <davem@davemloft.net>
44569 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
44570 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
44571 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
44572 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
44573 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
44574 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
44576 2012-02-29 Joseph Myers <joseph@codesourcery.com>
44578 * math/libm-test.inc (llround_test): Move one test from
44579 lround_test. Use TEST_f_L in moved test.
44580 (lround_test): Move misplaced test to llround_test. Add testcase
44583 2012-02-28 Ulrich Drepper <drepper@gmail.com>
44585 * sysdeps/x86_64/fpu/e_expf.S: New file.
44586 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
44588 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
44591 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
44592 of remain_len that may cause incomplete multi-byte character and
44594 * posix/bug-regex33.c: New file.
44595 * posix/Makefile (tests): Add bug-regex33.
44597 2012-02-28 Joseph Myers <joseph@codesourcery.com>
44599 * manual/macros.texi: New file.
44600 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
44601 * manual/libc.texinfo: Include macros.texi.
44602 * manual/creatute.texi: Likewise.
44603 * manual/install.texi: Likewise.
44604 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
44605 @glibcadj{} in references to the GNU C Library.
44606 * manual/charset.texi: Likewise.
44607 * manual/conf.texi: Likewise.
44608 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
44609 when not using those macros.
44610 * manual/creature.texi: Likewise.
44611 * manual/crypt.texi: Likewise.
44612 * manual/errno.texi: Likewise.
44613 * manual/filesys.texi: Likewise.
44614 * manual/header.texi: Likewise.
44615 * manual/install.texi: Likewise.
44616 * manual/intro.texi: Likewise.
44617 * manual/io.texi: Likewise.
44618 * manual/job.texi: Likewise.
44619 * manual/lang.texi: Likewise.
44620 * manual/libc.texiinfo: Likewise.
44621 * manual/llio.texi: Likewise.
44622 * manual/locale.texi: Likewise.
44623 * manual/maint.texi: Likewise.
44624 * manual/math.texi: Likewise.
44625 * manual/memory.texi: Likewise.
44626 * manual/message.texi: Likewise.
44627 * manual/nss.texi: Likewise.
44628 * manual/pattern.texi: Likewise.
44629 * manual/process.texi: Likewise.
44630 * manual/resource.texi: Likewise.
44631 * manual/search.texi: Likewise.
44632 * manual/setjmp.texi: Likewise.
44633 * manual/signal.texi: Likewise.
44634 * manual/socket.texi: Likewise.
44635 * manual/startup.texi: Likewise.
44636 * manual/stdio.texi: Likewise.
44637 * manual/string.texi: Likewise.
44638 * manual/sysinfo.texi: Likewise.
44639 * manual/syslog.texi: Likewise.
44640 * manual/terminal.texi: Likewise.
44641 * manual/time.texi: Likewise.
44642 * manual/users.texi: Likewise.
44643 * INSTALL: Regenerated.
44644 * NOTES: Regenerated.
44645 * sysdeps/gnu/errlist.c: Regenerated.
44647 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
44649 * include/dirent.h: Include <dirstream.h> before
44652 2012-02-28 David S. Miller <davem@davemloft.net>
44654 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
44655 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
44656 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
44657 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
44659 2012-02-27 David S. Miller <davem@davemloft.net>
44661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
44662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
44663 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
44664 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
44666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
44667 frame pointer instead of stack pointer relative arg slot.
44668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44669 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44670 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44672 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
44675 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
44677 2012-02-27 David S. Miller <davem@davemloft.net>
44679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
44680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
44683 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44684 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44685 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
44686 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
44688 2012-02-27 Joseph Myers <joseph@codesourcery.com>
44690 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
44691 later. Allow versions 5-9.
44692 * configure: Regenerated.
44693 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
44694 required minimum version and 4.6 as recommended version. Do not
44695 mention bugs in GCC 2.7 and 2.8.
44696 * INSTALL: Regenerated.
44698 2012-02-27 David S. Miller <davem@davemloft.net>
44700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
44701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
44702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
44703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
44704 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
44705 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
44706 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
44707 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
44709 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
44710 manipulate bits before adding and subtracting TWO112[sx].
44711 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
44713 2012-02-27 Roland McGrath <roland@hack.frob.com>
44716 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
44717 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
44718 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
44719 being in POSIX, because they are in 1003.1-2008.
44721 * rt/tst-aio.c: Include <fcntl.h>.
44722 * rt/tst-aio7.c: Likewise.
44723 * rt/tst-aio64.c: Likewise.
44725 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
44727 2012-02-27 Joseph Myers <joseph@codesourcery.com>
44729 * manual/install.texi (--with-headers): Describe headers as
44730 interface headers, not private headers.
44731 (Specific advice for GNU/Linux systems): Describe use of headers
44732 from "make headers_install", not private headers from older
44734 * INSTALL: Regenerated.
44735 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
44737 * sysdeps/unix/sysv/linux/configure: Regenerated.
44739 * manual/llio.texi (fclean): Remove documentation.
44741 * manual/Makefile (libc-texi-generated): New variable. Include
44743 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
44744 $(libc-texi-generated), not duplicated list of files.
44745 (version.texi, stamp-version): New rules.
44746 (realclean): Remove $(libc-texi-generated), not individual files
44747 from that list. Do not remove dir-add.texinfo.
44748 * manual/libc.texinfo: Comment out uses of edition numbers and
44749 references to printed manual. Remove last-updated dates.
44750 (EDITION): Comment out.
44752 (VERSION, UPDATED): Remove.
44753 (version.texi): Include.
44755 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
44757 * sysdeps/posix/spawni.c: Include <signal.h>.
44758 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
44759 * sysdeps/pthread/aio_fsync.c: Likewise.
44761 2012-02-26 Ulrich Drepper <drepper@gmail.com>
44763 * conform/Makefile (tests): Run only when not cross-compiling and
44764 when fast-check is not defined.
44766 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
44767 * conform/data/limits.h-data: Fixes for POSIX2008.
44768 * conform/run-conformtest.sh: Run all tests.
44769 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
44771 * include/bits/dlfcn.h: Likewise.
44772 * include/langinfo.h: Likewise.
44773 * include/monetary.h: Likewise.
44774 * include/sys/poll.h: Likewise.
44776 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
44778 * posix/spawn.h: Define __need_sigset_t.
44779 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
44780 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
44781 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
44782 to get sigevent_t only.
44783 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
44784 only for __USE_GNU.
44785 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44786 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44787 process_vm_writev only for __USE_GNU.
44788 * termios/termios.h: Declare tcgetsid also for POSIX2008.
44790 * conform/Makefile: For now ignore errors from run-conformtest.
44791 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
44792 POSIX to avoid namespace pollution. Don't prepend headers.
44793 * conform/data/aio.h-data: Fixes for POSIX testing.
44794 * conform/data/fcntl.h-data: Likewise.
44795 * conform/data/glob.h-data: Likewise.
44796 * conform/data/grp.h-data: Likewise.
44797 * conform/data/pthread.h-data: Likewise.
44798 * conform/data/pwd.h-data: Likewise.
44799 * conform/data/signal.h-data: Likewise.
44800 * conform/data/spawn.h-data: Likewise.
44801 * conform/data/stdio.h-data: Likewise.
44802 * conform/data/stdlib.h-data: Likewise.
44803 * conform/data/stropts.h-data: Likewise.
44804 * conform/data/sys/mman.h-data: Likewise.
44805 * conform/data/sys/stat.h-data: Likewise.
44806 * conform/data/sys/types.h-data: Likewise.
44807 * conform/data/sys/wait.h-data: Likewise.
44808 * conform/data/time.h-data: Likewise.
44809 * conform/data/unistd.h-data: Likewise.
44810 * conform/data/utime.h-data: Likewise.
44812 * io/sys/stat.h: fchmod was always in POSIX.
44813 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
44814 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
44815 * rt/aio.h: Define __need_timespec before including <time.h>.
44816 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
44817 struct. Add forward declaration of pthread_attr_t and use it in
44819 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44820 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44821 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
44822 always remove CLK_TCK definition.
44824 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
44826 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
44828 2012-02-25 Ulrich Drepper <drepper@gmail.com>
44830 * conform/run-conformtest.sh: New file.
44831 * conform/Makefile: Run run-conformtest for tests.
44832 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
44835 * conform/data/uchar.h-data: New file.
44836 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
44837 * conform/data/arpa/inet.h-data: Likewise.
44838 * conform/data/assert.h-data: Likewise.
44839 * conform/data/complex.h-data: Likewise.
44840 * conform/data/cpio.h-data: Likewise.
44841 * conform/data/ctype.h-data: Likewise.
44842 * conform/data/dirent.h-data: Likewise.
44843 * conform/data/dlfcn.h-data: Likewise.
44844 * conform/data/errno.h-data: Likewise.
44845 * conform/data/fcntl.h-data: Likewise.
44846 * conform/data/float.h-data: Likewise.
44847 * conform/data/fmtmsg.h-data: Likewise.
44848 * conform/data/fnmatch.h-data: Likewise.
44849 * conform/data/ftw.h-data: Likewise.
44850 * conform/data/glob.h-data: Likewise.
44851 * conform/data/grp.h-data: Likewise.
44852 * conform/data/iconv.h-data: Likewise.
44853 * conform/data/inttypes.h-data: Likewise.
44854 * conform/data/langinfo.h-data: Likewise.
44855 * conform/data/libgen.h-data: Likewise.
44856 * conform/data/limits.h-data: Likewise.
44857 * conform/data/locale.h-data: Likewise.
44858 * conform/data/math.h-data: Likewise.
44859 * conform/data/monetary.h-data: Likewise.
44860 * conform/data/mqueue.h-data: Likewise.
44861 * conform/data/ndbm.h-data: Likewise.
44862 * conform/data/net/if.h-data: Likewise.
44863 * conform/data/netdb.h-data: Likewise.
44864 * conform/data/netinet/in.h-data: Likewise.
44865 * conform/data/nl_types.h-data: Likewise.
44866 * conform/data/poll.h-data: Likewise.
44867 * conform/data/pthread.h-data: Likewise.
44868 * conform/data/pwd.h-data: Likewise.
44869 * conform/data/regex.h-data: Likewise.
44870 * conform/data/sched.h-data: Likewise.
44871 * conform/data/search.h-data: Likewise.
44872 * conform/data/semaphore.h-data: Likewise.
44873 * conform/data/setjmp.h-data: Likewise.
44874 * conform/data/signal.h-data: Likewise.
44875 * conform/data/spawn.h-data: Likewise.
44876 * conform/data/stdarg.h-data: Likewise.
44877 * conform/data/stdio.h-data: Likewise.
44878 * conform/data/stdlib.h-data: Likewise.
44879 * conform/data/string.h-data: Likewise.
44880 * conform/data/strings.h-data: Likewise.
44881 * conform/data/stropts.h-data: Likewise.
44882 * conform/data/sys/ipc.h-data: Likewise.
44883 * conform/data/sys/mman.h-data: Likewise.
44884 * conform/data/sys/msg.h-data: Likewise.
44885 * conform/data/sys/resource.h-data: Likewise.
44886 * conform/data/sys/select.h-data: Likewise.
44887 * conform/data/sys/sem.h-data: Likewise.
44888 * conform/data/sys/shm.h-data: Likewise.
44889 * conform/data/sys/socket.h-data: Likewise.
44890 * conform/data/sys/stat.h-data: Likewise.
44891 * conform/data/sys/statvfs.h-data: Likewise.
44892 * conform/data/sys/time.h-data: Likewise.
44893 * conform/data/sys/timeb.h-data: Likewise.
44894 * conform/data/sys/times.h-data: Likewise.
44895 * conform/data/sys/types.h-data: Likewise.
44896 * conform/data/sys/uio.h-data: Likewise.
44897 * conform/data/sys/un.h-data: Likewise.
44898 * conform/data/sys/utsname.h-data: Likewise.
44899 * conform/data/sys/wait.h-data: Likewise.
44900 * conform/data/syslog.h-data: Likewise.
44901 * conform/data/tar.h-data: Likewise.
44902 * conform/data/termios.h-data: Likewise.
44903 * conform/data/utime.h-data: Likewise.
44904 * conform/data/utmpx.h-data: Likewise.
44905 * conform/data/varargs.h-data: Likewise.
44906 * conform/data/wchar.h-data: Likewise.
44907 * conform/data/wctype.h-data: Likewise.
44908 * conform/data/wordexp.h-data: Likewise.
44910 * include/stropts.h: New file.
44911 * include/uchar.h: New file.
44912 * include/aio.h: Changes to allow conformtest.pl to use the headers.
44913 * include/assert.h: Likewise.
44914 * include/ctype.h: Likewise.
44915 * include/dirent.h: Likewise.
44916 * include/dlfcn.h: Likewise.
44917 * include/fcntl.h: Likewise.
44918 * include/fnmatch.h: Likewise.
44919 * include/glob.h: Likewise.
44920 * include/grp.h: Likewise.
44921 * include/libio.h: Likewise.
44922 * include/locale.h: Likewise.
44923 * include/math.h: Likewise.
44924 * include/net/if.h: Likewise.
44925 * include/netdb.h: Likewise.
44926 * include/netinet/in.h: Likewise.
44927 * include/pthread.h: Likewise.
44928 * include/pwd.h: Likewise.
44929 * include/regex.h: Likewise.
44930 * include/sched.h: Likewise.
44931 * include/search.h: Likewise.
44932 * include/setjmp.h: Likewise.
44933 * include/signal.h: Likewise.
44934 * include/stdio.h: Likewise.
44935 * include/stdlib.h: Likewise.
44936 * include/string.h: Likewise.
44937 * include/sys/cdefs.h: Likewise.
44938 * include/sys/mman.h: Likewise.
44939 * include/sys/msg.h: Likewise.
44940 * include/sys/resource.h: Likewise.
44941 * include/sys/select.h: Likewise.
44942 * include/sys/socket.h: Likewise.
44943 * include/sys/stat.h: Likewise.
44944 * include/sys/statvfs.h: Likewise.
44945 * include/sys/time.h: Likewise.
44946 * include/sys/times.h: Likewise.
44947 * include/sys/uio.h: Likewise.
44948 * include/sys/utsname.h: Likewise.
44949 * include/sys/wait.h: Likewise.
44950 * include/termios.h: Likewise.
44951 * include/time.h: Likewise.
44952 * include/ulimit.h: Likewise.
44953 * include/unistd.h: Likewise.
44954 * include/utime.h: Likewise.
44955 * include/wchar.h: Likewise.
44956 * include/wctype.h: Likewise.
44957 * include/wordexp.h: Likewise.
44959 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44961 * time/time.h: TIME_UTC must be a macro.
44962 Make timespec_get available for ISO C11 only as well.
44964 2012-02-24 Ulrich Drepper <drepper@gmail.com>
44966 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44967 Reported by Peng Haitao <penght@cn.fujitsu.com>.
44969 2012-02-24 Joseph Myers <joseph@codesourcery.com>
44971 * configure.in: Use -o not -a in test for unsupported multi-arch.
44973 2012-02-24 Joseph Myers <joseph@codesourcery.com>
44975 * manual/texinfo.tex: Update to version 2012-01-19.16.
44977 2012-02-24 Joseph Myers <joseph@codesourcery.com>
44979 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
44981 2012-02-24 Roland McGrath <roland@hack.frob.com>
44984 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
44985 * manual/fdl-1.3.texi: New file.
44986 * manual/fdl-1.1.texi: File removed.
44989 * manual/libc.texinfo (FDL_VERSION): New @set.
44990 Use it for mention of FDL in cover text.
44991 (Documentation License): Use it in @include file name.
44993 2012-02-22 Joseph Myers <joseph@codesourcery.com>
44994 Roland McGrath <roland@hack.frob.com>
44997 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
44998 (not LONG_LONG_MAX and LONG_LONG_MIN.
44999 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
45000 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
45002 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
45004 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45008 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
45009 manipulate bits before adding and subtracting TWO23[sx].
45010 * math/libm-test.inc (nearbyint_test): Add more tests.
45012 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45015 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
45016 bits before adding and subtracting TWO23[sx].
45017 * math/libm-test.inc (rint_test): Add more tests.
45018 (rint_test_tonearest): Likewise.
45019 (rint_test_towardzero): Likewise.
45020 (rint_test_downward): Likewise.
45021 (rint_test_upward: Likewise.
45023 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45026 * include/stdc-predef.h: New file. Extracted from features.h.
45027 * include/features.h: Include stdc-predef.h.
45028 * Makefile (headers): Add stdc-predef.h.
45029 * CONFORMANCE (Compiler limitations): Update.
45031 2012-02-22 Joseph Myers <joseph@codesourcery.com>
45033 * manual/libc.texinfo (VERSION, UPDATED): Revert.
45035 2012-02-21 David S. Miller <davem@davemloft.net>
45037 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
45038 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45040 2012-02-20 David S. Miller <davem@davemloft.net>
45042 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
45043 using a normal save/restore sequence, rather than allocating a
45044 dummy stack frame just to store a frame pointer and restore.
45045 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45047 2012-02-21 Joseph Myers <joseph@codesourcery.com>
45049 * manual/install.texi: Fix stray word in line-wrapped comment.
45051 2012-02-20 David S. Miller <davem@davemloft.net>
45053 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
45054 both binutils and gcc support GOTDATA.
45056 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
45057 "rd %pc" in the PIC register setup sequences.
45059 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
45060 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45061 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45062 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45063 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45064 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45065 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45066 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45067 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45068 (SYSCALL_ERROR_HANDLER): Likewise.
45069 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45070 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45071 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45072 (SYSCALL_ERROR_HANDLER): Likewise.
45074 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45075 (HAVE_GCC_GOTDATA): New.
45076 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45077 relocation support in both binutils and gcc.
45078 * sysdeps/sparc/elf/configure: Regenerate.
45080 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45081 * sysdeps/sparc/sparc32/elf/configure: Delete.
45082 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45083 * sysdeps/sparc/sparc64/elf/configure: Delete.
45084 * sysdeps/sparc/elf/configure.in: New file.
45085 * sysdeps/sparc/elf/configure: Generate.
45087 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45088 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45089 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45090 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45091 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45093 2012-02-21 Joseph Myers <joseph@codesourcery.com>
45095 * manual/install.texi: Do not mention specific glibc version
45097 * manual/libc.texinfo (VERSION, UPDATED): Update.
45098 (@copying): Use @copyright{} and range of years.
45100 2012-02-21 Joseph Myers <joseph@codesourcery.com>
45103 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45104 [crti.S not in sysdirs] (generated): Do not append.
45105 [crti.S not in sysdirs] (omit-deps): Likewise.
45106 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45107 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45108 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45109 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45110 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45112 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45113 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45114 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45115 * csu/defs.awk: Remove file.
45116 * sysdeps/generic/initfini.c: Likewise.
45117 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45119 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45122 2012-02-20 Joseph Myers <joseph@codesourcery.com>
45124 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45125 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45126 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45127 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45128 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45129 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
45131 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
45132 (__EPOLL_PACKED): Define to empty if not defined by
45134 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
45135 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45138 2012-02-20 Joseph Myers <joseph@codesourcery.com>
45140 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
45141 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
45142 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
45143 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45145 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
45146 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45149 2012-02-20 Joseph Myers <joseph@codesourcery.com>
45151 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
45153 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45154 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45155 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
45156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45158 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
45160 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45161 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45163 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
45165 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
45166 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
45168 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
45170 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
45173 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
45175 * math/w_acos.c: Use non-signaling floating-point comparisons.
45176 * math/w_acosf.c: Likewise.
45177 * math/w_acosh.c: Likewise.
45178 * math/w_acoshf.c: Likewise.
45179 * math/w_acoshl.c: Likewise.
45180 * math/w_acosl.c: Likewise.
45181 * math/w_asin.c: Likewise.
45182 * math/w_asinf.c: Likewise.
45183 * math/w_asinl.c: Likewise.
45184 * math/w_atanh.c: Likewise.
45185 * math/w_atanhf.c: Likewise.
45186 * math/w_atanhl.c: Likewise.
45187 * math/w_exp2.c: Likewise.
45188 * math/w_exp2f.c: Likewise.
45189 * math/w_exp2l.c: Likewise.
45190 * math/w_j0.c: Likewise.
45191 * math/w_j0f.c: Likewise.
45192 * math/w_j0l.c: Likewise.
45193 * math/w_j1.c: Likewise.
45194 * math/w_j1f.c: Likewise.
45195 * math/w_j1l.c: Likewise.
45196 * math/w_jn.c: Likewise.
45197 * math/w_jnf.c: Likewise.
45198 * math/w_log.c: Likewise.
45199 * math/w_log10.c: Likewise.
45200 * math/w_log10f.c: Likewise.
45201 * math/w_log10l.c: Likewise.
45202 * math/w_log2.c: Likewise.
45203 * math/w_log2f.c: Likewise.
45204 * math/w_log2l.c: Likewise.
45205 * math/w_logf.c: Likewise.
45206 * math/w_logl.c: Likewise.
45207 * math/w_sqrt.c: Likewise.
45208 * math/w_sqrtf.c: Likewise.
45209 * math/w_sqrtl.c: Likewise.
45210 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45211 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
45212 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45213 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45214 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45216 2012-02-19 Joseph Myers <joseph@codesourcery.com>
45219 * manual/string.texi (strnlen): Use correct parameter name in
45220 equivalent expression.
45222 2012-02-19 Joseph Myers <joseph@codesourcery.com>
45225 * manual/users.texi (seteuid): Consistently use neweuid for
45228 2012-02-19 Joseph Myers <joseph@codesourcery.com>
45231 * manual/nss.texi (Services in the NSS configuration): Correct
45232 list of services in example configuration file.
45234 2012-02-19 Nick Bowler <nbowler@draconx.ca>
45237 * manual/arith.texi: Remove statements about negative zero
45238 behaving identically to zero.
45240 2012-02-18 Joseph Myers <joseph@codesourcery.com>
45243 * manual/install.texi: Do not document upgrading from libc5.
45245 2012-02-18 Joseph Myers <joseph@codesourcery.com>
45248 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
45250 2012-02-18 David S. Miller <davem@davemloft.net>
45252 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
45253 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
45254 %o7 across the call.
45255 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
45257 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
45258 SETUP_PIC_REG_LEAF.
45259 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45260 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
45261 * sysdeps/sparc/crtn.S: Likewise.
45263 2012-02-17 Ulrich Drepper <drepper@gmail.com>
45265 * aout/Makefile: Remove.
45267 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
45270 * manual/examples/argp-ex1.c (main): Format definition in GNU
45272 * manual/examples/argp-ex2.c (main): Likewise.
45273 * manual/examples/argp-ex3.c (main): Likewise.
45274 * manual/examples/argp-ex4.c (main): Likewise.
45275 * manual/examples/longopt.c (main): Use new-style prototype
45277 * manual/examples/strncat.c (main): Specify return type and use
45278 (void) for arguments.
45279 * manual/examples/subopt.c (main): Use char **argv argument.
45281 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45284 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
45287 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
45290 * manual/string.texi (strchr): Change when strchrnul is
45293 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
45296 * manual/locale.texi (setlocale): Document LOCPATH.
45298 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45301 * manual/process.texi (execle): Move @dots{} before last argument.
45303 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
45306 * manual/charset.texi (Generic Charset Conversion): Fix typo
45307 (LC_TYPE -> LC_CTYPE).
45309 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
45312 * manual/arith.texi (scalbn): Use @var{} on parameter names.
45313 (scalbnf): Likewise.
45314 (scalbnl): Likewise.
45315 (scalbln): Likewise.
45316 (scalblnf): Likewise.
45317 (scalblnl): Likewise.
45318 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
45319 (vwarnx): Likewise.
45322 * manual/filesys.texi (telldir): Use braces around return type.
45323 * manual/llio.texi (mmap): Add space after comma.
45324 (mmap64): Likewise.
45325 * manual/math.texi (jn): Use @var{} on parameter names.
45331 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
45333 * manual/resource.texi (ulimit): Use @dots{} instead of literal
45335 (sched_get_priority_min): Remove semicolon on @deftypefun line.
45336 (sched_get_priority_max): Likewise.
45337 * manual/signal.texi (sigvec): Add space after comma.
45338 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
45340 (if_indextoname): Likewise.
45341 (if_freenameindex): Likewise.
45342 (sendto): Use ',' instead of '.' in prototype.
45343 * manual/startup.texi (syscall): Use @dots{} instead of literal
45345 * manual/stdio.texi (__fpending): Separate initial words of
45346 paragraph from @deftypefun line.
45347 * manual/syslog.texi (syslog): Use @dots{} instead of literal
45349 (vsyslog): Use @var{} on parameter names.
45350 * manual/terminal.texi (stty): Use @var{} on parameter names.
45351 * manual/users.texi (getutmp): Use @var{} on parameter names.
45352 (getutmpx): Likewise.
45354 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45357 * manual/stdio.texi (fopen): Fix typos in description of
45360 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
45363 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
45364 get clock_id definition.
45366 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
45369 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
45370 (madvise): Cast every argument to void on its own.
45372 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45375 * manual/startup.texi (Exit Status): Fix typo.
45377 2012-02-17 Joseph Myers <joseph@codesourcery.com>
45380 * manual/examples/argp-ex1.c: Include <stdlib.h>.
45381 * manual/examples/argp-ex2.c: Likewise.
45382 * manual/examples/argp-ex3.c: Likewise.
45384 2012-02-16 Richard Henderson <rth@redhat.com>
45386 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
45387 * sysdeps/s390/s390-32/initfini.c: Remove.
45388 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
45389 * sysdeps/s390/s390-64/initfini.c: Remove.
45391 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45393 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
45394 compiler output for sysdeps/generic/initfini.c.
45395 * sysdeps/sh/elf/initfini.c: Remove file.
45397 2012-02-16 David S. Miller <davem@davemloft.net>
45400 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
45402 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
45403 * sysdeps/sparc/crti.S: New file.
45404 * sysdeps/sparc/crtn.S: New file.
45405 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
45406 * sysdeps/sparc/sparc64/Makefile: Likewise.
45408 2012-02-15 Mike Frysinger <vapier@gentoo.org>
45411 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
45413 2012-02-15 Roland McGrath <roland@hack.frob.com>
45416 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
45418 * mach/devstream.c (cookie_io_functions_t): Macro removed.
45419 (write, read, close): Likewise.
45420 Patch by Aurelien Jarno <aurelien@aurel32.net>.
45422 2012-02-15 Joseph Myers <joseph@codesourcery.com>
45424 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
45425 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
45426 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
45427 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
45429 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
45430 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45433 2012-02-14 Marek Polacek <polacek@redhat.com>
45435 * sysdeps/x86_64/crti.S: New file.
45436 * sysdeps/x86_64/crtn.S: New file.
45437 * sysdeps/x86_64/elf/initfini.c: Remove file.
45439 2012-02-13 Joseph Myers <joseph@codesourcery.com>
45441 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
45442 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
45443 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
45444 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
45446 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
45447 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45450 2012-02-13 Joseph Myers <joseph@codesourcery.com>
45452 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
45453 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
45454 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
45455 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
45457 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
45458 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45461 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
45463 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
45464 __feraiseexcept instead of feraiseexcept.
45466 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
45467 nanosleep invocations.
45468 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
45469 strings, and add error checking for a nanosleep invocations.
45471 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
45473 Replace FSF snail mail address with URLs, as per GNU coding standards.
45474 Most of the snail mail addresses were wrong anyway, and omitting
45475 them makes the source code easier to maintain. Almost all of the
45476 changes are to license notices and to locale LC_IDENTIFICATION
45477 addresses, except for this one:
45478 * manual/libc.texinfo: In "Published by", give the FSF's URL,
45479 not its snail mail address.
45481 2012-02-09 Richard Henderson <rth@twiddle.net>
45483 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
45484 of kernel-features.h.
45486 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
45488 2012-02-08 Marek Polacek <polacek@redhat.com>
45490 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
45491 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
45492 * sysdeps/gnu/_G_config.h: Likewise.
45493 * sysdeps/generic/_G_config.h: Likewise.
45495 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
45497 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
45499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45501 * sysdeps/powerpc/powerpc32/crti.S: New file.
45502 * sysdeps/powerpc/powerpc32/crtn.S: New file.
45503 * sysdeps/powerpc/powerpc64/crti.S: New file.
45504 * sysdeps/powerpc/powerpc64/crtn.S: New file.
45506 * Makeconfig (have-initfini): Don't set.
45507 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
45508 * configure.in (nopic_initfini): Don't substitute.
45509 * config.h.in (HAVE_INITFINI): Don't #undef.
45510 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
45511 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
45513 2012-02-08 Joseph Myers <joseph@codesourcery.com>
45515 Support crti.S and crtn.S provided directly by architectures.
45516 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
45517 [crti.S in sysdirs] (omit-deps): Likewise.
45518 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
45519 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
45520 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
45521 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
45522 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
45523 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
45524 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
45525 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
45526 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
45527 compiler output for sysdeps/generic/initfini.c.
45528 * sysdeps/i386/elf/Makefile: Remove file.
45529 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
45531 2012-02-07 Marek Polacek <polacek@redhat.com>
45533 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
45534 * sysdeps/gnu/_G_config.h: Likewise.
45535 * sysdeps/mach/hurd/_G_config.h: Likewise.
45537 2012-02-07 Marek Polacek <polacek@redhat.com>
45539 * math/Makefile (tests): Add tst-CMPLX2.
45540 * math/tst-CMPLX2.c: New file.
45542 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
45544 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45546 * math/libm-test.inc (jn_test): Add missing L suffix.
45548 2012-02-06 Marek Polacek <polacek@redhat.com>
45550 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
45551 * sysdeps/i386/fpu/e_powf.S: Likewise.
45552 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45553 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45554 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45555 * sysdeps/i386/fpu/e_pow.S: Likewise.
45556 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45557 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45558 * sysdeps/i386/fpu/s_expm1.S: Likewise.
45559 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45560 * sysdeps/i386/fpu/e_log2.S: Likewise.
45561 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45562 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45563 * sysdeps/i386/fpu/e_powl.S: Likewise.
45564 * sysdeps/i386/fpu/s_log1p.S: Likewise.
45565 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45566 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45567 * sysdeps/i386/fpu/e_logl.S: Likewise.
45568 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45569 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
45570 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45571 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45572 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45573 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45574 * sysdeps/i386/fpu/e_log.S: Likewise.
45575 * sysdeps/i386/fpu/s_cexp.S: Likewise.
45576 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45577 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
45578 * sysdeps/i386/fpu/e_logf.S: Likewise.
45579 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45580 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45581 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
45582 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45583 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45584 * sysdeps/i386/fpu/e_log10.S: Likewise.
45585 * sysdeps/i386/fpu/s_frexp.S: Likewise.
45586 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45587 * sysdeps/i386/fpu/s_asinh.S: Likewise.
45588 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45589 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45590 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45591 * sysdeps/i386/asm-syntax.h: Likewise.
45592 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45593 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45594 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45595 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
45596 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
45597 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45598 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45599 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45600 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45601 * sysdeps/powerpc/sysdep.h: Likewise.
45602 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
45603 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45605 2012-02-06 Joseph Myers <joseph@codesourcery.com>
45608 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
45610 2012-02-06 Joseph Myers <joseph@codesourcery.com>
45612 * sysdeps/i386/sysdep.h: Include <features.h>.
45613 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
45616 2012-02-05 Joseph Myers <joseph@codesourcery.com>
45618 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
45620 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
45623 2012-02-03 Joseph Myers <joseph@codesourcery.com>
45625 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
45626 (SETUP_PIC_REG): Use GET_PC_THUNK.
45627 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
45630 2012-02-03 Joseph Myers <joseph@codesourcery.com>
45632 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
45633 for non-PIC compilation.
45634 (SETUP_PIC_REG): Add .p2align directive.
45635 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
45636 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
45637 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45638 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45639 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45640 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45641 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
45642 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45643 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45644 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45645 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45646 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45647 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45648 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45649 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45650 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45651 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45652 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45653 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45654 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45655 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45656 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45657 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45658 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45659 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45660 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45661 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45662 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45663 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45664 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45665 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45666 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45667 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45668 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45669 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45670 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45671 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45672 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45673 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45674 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45675 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45677 2012-02-03 Joseph Myers <joseph@codesourcery.com>
45679 * math/tst-CMPLX.c: Include <stdio.h>.
45681 2012-01-31 Joseph Myers <joseph@codesourcery.com>
45683 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
45685 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45686 * sysdeps/sparc/bits/mathdef.h: Likewise.
45688 2012-01-31 Marek Polacek <polacek@redhat.com>
45690 * libio/libio.h: Don't define _PARAMS.
45691 * locale/programs/config.h: Don't define PARAMS.
45692 * stdlib/strtol_l.c: Likewise.
45693 (__strtol_l): Remove PARAMS from the prototype.
45695 2012-01-31 Ulrich Drepper <drepper@gmail.com>
45697 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
45698 names. Just use the correct names. Remove unnecessary wrapper
45700 * malloc/arena.c: Likewise.
45701 * malloc/hooks.c: Likewise.
45703 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
45704 ARENA_TEST says not to. Simplify test for creation of a new arena.
45705 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
45707 2012-01-30 Ulrich Drepper <drepper@gmail.com>
45709 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
45711 (update_get_addr): New function.
45712 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
45713 GET_ADDR_MODULE parameter.
45715 2012-01-30 Joseph Myers <joseph@codesourcery.com>
45717 * crypt/cert.c: Remove __STDC__ conditionals.
45718 * crypt/crypt-entry.c: Likewise.
45719 * crypt/crypt_util.c: Likewise.
45720 * libio/filedoalloc.c: Likewise.
45721 * libio/fileops.c: Likewise.
45722 * libio/genops.c: Likewise.
45723 * libio/iofclose.c: Likewise.
45724 * libio/iofdopen.c: Likewise.
45725 * libio/iofopen.c: Likewise.
45726 * libio/iofopen64.c: Likewise.
45727 * libio/iogetdelim.c: Likewise.
45728 * libio/iopopen.c: Likewise.
45729 * libio/obprintf.c: Likewise.
45730 * libio/oldfileops.c: Likewise.
45731 * libio/oldiofclose.c: Likewise.
45732 * libio/oldiofdopen.c: Likewise.
45733 * libio/oldiofopen.c: Likewise.
45734 * libio/oldiopopen.c: Likewise.
45735 * libio/wfiledoalloc.c: Likewise.
45736 * libio/wgenops.c: Likewise.
45737 * locale/programs/xmalloc.c: Likewise.
45738 * misc/syslog.c: Likewise.
45739 * stdio-common/xbug.c: Likewise.
45740 * string/memchr.c: Likewise.
45741 * string/memcmp.c: Likewise.
45742 * string/memrchr.c: Likewise.
45743 * string/rawmemchr.c: Likewise.
45744 * sysdeps/posix/getcwd.c: Likewise.
45745 * time/strftime_l.c: Likewise.
45747 2012-01-30 Joseph Myers <joseph@codesourcery.com>
45749 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
45750 * config.make.in (config-cflags-sse2avx): Define.
45751 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
45754 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
45756 * scripts/config.guess: Update from upstream config git repository.
45757 * scripts/config.sub: Likewise.
45759 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
45761 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
45763 (R_TILEPRO_*, R_TILEGX_*): New macros.
45765 * scripts/firstversions.awk: Fix bug in version range handling.
45767 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
45769 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
45771 * include/sys/epoll.h: New file.
45772 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
45775 2012-01-28 Ulrich Drepper <drepper@gmail.com>
45777 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
45778 Avoid unnecessary __WORDSIZE == 64 test.
45779 (fmaxf): Use VEX format if possible.
45784 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
45785 * math/math_private.h: Remove libc_fegetround* and
45787 * sysdeps/i386/configure.in: Check for -msse2avx.
45788 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
45789 also if SSE2AVX is defined.
45790 Remove libc_fegetround* and libc_fesetround*.
45791 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
45792 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
45793 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
45795 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45796 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45797 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45798 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45799 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45801 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
45803 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45805 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
45807 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45809 2012-01-27 Ulrich Drepper <drepper@gmail.com>
45812 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
45814 * Makeconfig (libm): Define.
45815 * elf/Makefile: Add rules to build and run tst-relsort1.
45816 * elf/tst-relsort1.c: New file.
45817 * elf/tst-relsort1mod1.c: New file.
45818 * elf/tst-relsort1mod2.c: New file.
45820 2012-01-27 Joseph Myers <joseph@codesourcery.com>
45822 * math/s_ldexp.c: Remove __STDC__ conditionals.
45823 * math/s_ldexpf.c: Likewise.
45824 * math/s_ldexpl.c: Likewise.
45825 * math/s_nextafter.c: Likewise.
45826 * math/s_nexttowardf.c: Likewise.
45827 * math/s_significand.c: Likewise.
45828 * math/s_significandf.c: Likewise.
45829 * math/s_significandl.c: Likewise.
45830 * math/w_jnl.c: Likewise.
45831 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45832 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45833 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45834 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45835 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45836 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45837 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
45838 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45839 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45840 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45841 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45842 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45843 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45844 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45845 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45846 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45847 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45848 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45849 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45850 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45851 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45852 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45853 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45854 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45855 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45856 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45857 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45858 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45859 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45860 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45861 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45862 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45863 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45864 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45865 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45866 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45867 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45868 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45869 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45870 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45871 * sysdeps/ieee754/k_standard.c: Likewise.
45872 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45873 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45874 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45875 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45876 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45877 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45878 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45879 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45880 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45881 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45882 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45883 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45884 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45885 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45886 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45887 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45888 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45889 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45890 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45891 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45892 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45893 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45894 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45895 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45896 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45897 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45898 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45899 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45900 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45901 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45902 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45903 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
45904 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45905 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45906 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45907 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45908 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
45909 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45910 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45911 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
45912 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
45913 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45914 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
45915 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
45916 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45917 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45918 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45919 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45920 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45921 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
45922 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
45923 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45924 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45925 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45926 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45927 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45928 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
45929 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45930 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45931 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45932 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45933 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45934 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45935 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45936 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45937 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45938 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45939 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45940 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45941 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45942 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45943 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45944 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45945 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45946 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45947 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45948 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45949 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45950 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45951 * sysdeps/ieee754/s_matherr.c: Likewise.
45952 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45953 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45954 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45955 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45957 2012-01-26 Joseph Myers <joseph@codesourcery.com>
45959 * crypt/md5.h: Remove __STDC__ conditionals.
45960 * libio/libioP.h: Likewise.
45961 * locale/programs/config.h: Likewise.
45962 * sysdeps/generic/sysdep.h: Likewise.
45963 * sysdeps/i386/asm-syntax.h: Likewise.
45964 * sysdeps/s390/asm-syntax.h: Likewise.
45965 * sysdeps/unix/sysdep.h: Likewise.
45966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45969 2012-01-26 Joseph Myers <joseph@codesourcery.com>
45971 * libio/libio.h: Remove __STDC__ conditionals.
45972 * malloc/obstack.h: Likewise.
45973 * math/complex.h: Likewise.
45974 * math/math.h: Likewise.
45975 * sysdeps/generic/_G_config.h: Likewise.
45976 * sysdeps/gnu/_G_config.h: Likewise.
45977 * sysdeps/mach/hurd/_G_config.h: Likewise.
45978 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45979 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45980 * sysdeps/sparc/bits/mathdef.h: Likewise.
45982 2012-01-26 Ulrich Drepper <drepper@gmail.com>
45985 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
45986 Clean up HAS_* macros.
45987 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
45988 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
45990 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
45992 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45993 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45994 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45995 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45996 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45998 2012-01-25 Joseph Myers <joseph@codesourcery.com>
46000 * elf/tst-unique3.cc (gets): Remove declaration.
46001 * elf/tst-unique3lib.cc (gets): Likewise.
46002 * elf/tst-unique3lib2.cc (gets): Likewise.
46003 * elf/tst-unique4.cc (gets): Likewise.
46005 2012-01-24 Ulrich Drepper <drepper@gmail.com>
46007 * include/stdio.h: Add C++ protection. Add gets declarations and
46009 * debug/tst-chk1.c: Don't declare gets here.
46010 * stdio-common/tst-gets.c: Likewise.
46012 2012-01-24 Joseph Myers <joseph@codesourcery.com>
46014 * posix/glob: Remove directory.
46016 2012-01-24 Joseph Myers <joseph@codesourcery.com>
46018 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
46020 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
46022 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46023 of the non-standard EPFNOSUPPORT.
46025 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
46027 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
46028 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
46029 ANYWHERE set to 1 only on KERN_NO_SPACE error.
46031 2012-01-21 Ulrich Drepper <drepper@gmail.com>
46033 * wcsmbs/uchar.h: Test __STDC_VERSION__.
46035 2012-01-20 Ulrich Drepper <drepper@gmail.com>
46037 * nscd/aicache.c (addhstaiX): Do not cache negative results of
46039 * nscd/grpcache.c (cache_addgr): Likewise.
46040 * nscd/hstcache.c (cache_addhst): Likewise.
46041 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46042 * nscd/pwdcache.c (cache_addpw): Likewise.
46043 * nscd/servicescache.c (cache_addserv): Likewise.
46045 2012-01-16 Ulrich Drepper <drepper@gmail.com>
46047 * malloc/malloc.c: Various cleanups.
46048 * malloc/hooks.c: Likewise.
46050 * stdlib/Makefile (tests): Add bug-fmtmsg1.
46051 * stdlib/bug-fmtmsg1.c: New file.
46053 * stdlib/fmtmsg.c (init): Add missing unlock.
46054 Patch by Peng Haitao <penght@cn.fujitsu.com>.
46056 2012-01-12 Marek Polacek <polacek@redhat.com>
46058 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
46061 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46063 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46064 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46065 macro to ensure uniqueness of label name.
46066 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46067 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46069 2012-01-11 Ulrich Drepper <drepper@gmail.com>
46071 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46073 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46074 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46075 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46076 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46078 2012-01-10 Ulrich Drepper <drepper@gmail.com>
46080 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46082 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46083 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46084 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46086 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46088 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
46089 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46090 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46091 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
46093 * math/bits/math-finite.h: Add ldexp support.
46095 2012-01-10 Marek Polacek <polacek@redhat.com>
46097 * locale/programs/localedef.h (show_archive_content): Add noreturn
46100 2012-01-09 Ulrich Drepper <drepper@gmail.com>
46102 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46104 2012-01-08 Ulrich Drepper <drepper@gmail.com>
46106 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46108 * io/Makefile (headers): Add bits/poll2.h.
46110 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
46112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46113 typo #include statement.
46115 2012-01-08 Ulrich Drepper <drepper@gmail.com>
46117 * include/sys/cdefs.h: Define __attribute_alloc_size.
46118 * catgets/gencat.c: Add alloc_size attribute and apply consistently
46119 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46120 * elf/pldd.c: Likewise.
46121 * iconv/iconv_charmap.c: Likewise.
46122 * iconv/iconvconfig.c: Likewise.
46123 * iconv/strtab.c: Likewise.
46124 * locale/programs/locale.c: Likewise.
46125 * locale/programs/localedef.h: Likewise.
46126 * locale/programs/simple-hash.c: Likewise.
46127 * nscd/nscd.h: Likewise.
46128 * nss/makedb.c: Likewise.
46129 * sysdeps/generic/ldconfig.h: Likewise.
46130 * locale/programs/localedef.c: Remove xmalloc prototype.
46131 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
46133 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46135 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
46138 2012-01-08 Ulrich Drepper <drepper@gmail.com>
46140 * math/Makefile (tests): Add tst-CMPLX.
46141 * math/tst-CMPLX.c: New file.
46143 * math/complex.h (CMPLXL): Fix typo.
46145 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
46146 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
46148 * debug/tst-chk1.c: Add poll and ppoll tests.
46149 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
46150 * include/sys/poll.h: Add hidden proto for ppoll.
46151 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
46152 * sysdeps/mach/hurd/ppoll.c: Likewise.
46153 * io/ppoll.c: Likewise.
46154 * debug/poll_chk.c: New file.
46155 * debug/ppoll_chk.c: New file.
46156 * include/bits/poll2.h: New file.
46157 * io/bits/poll2.h: New file.
46160 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
46162 * configure.in: static is always set to yes. Remove.
46163 * config.make.in: Don't set build-static.
46164 * Makeconfig: Remove use of build-static.
46165 * dlfcn/Makefile: Likewise.
46166 * elf/Makefile: Likewise.
46167 * math/Makefile: Likewise.
46168 * misc/Makefile: Likewise.
46169 * nptl/Makefile: Likewise.
46170 * sysdeps/mach/hurd/Makefile: Likewise.
46172 * configure.in: PWD_P is not used anymore.
46173 * config.make.in: Remove PWD_P entry.
46175 * configure.in: Remove last remnants of RANLIB.
46176 No need to check for signed size_t anymore.
46177 Don't set libc_commonpagesize and libc_relro_required here for Alpha
46179 Remove __builtin_expect test because we require at least gcc 3.4.
46180 * aclocal.m4: Likewise.
46182 * wcsmbs/mbrtoc16.c: Implement using towc function.
46183 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
46184 * wcsmbs/wcsmbsload.c: Likewise.
46185 * iconv/gconv_simple.c: Likewise.
46186 * iconv/gconv_int.h: Likewise.
46187 * iconv/gconv_builtin.h: Likewise.
46188 * iconv/iconv_prog.c: Remove CHAR16 handling.
46190 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
46192 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
46194 * configure.in: Remove --with-elf and --enable-bounded options.
46195 Dont set base_machine for ia64. More non-ELF conditions removed.
46196 Remove testing and setting of leading underscore information.
46197 * config.make.in (build-bounded): Set to no.
46198 * config.h.in: Remove NO_UNDERSCORES entry.
46199 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
46201 * csu/start.c: Remove !NO_UNDERSCORE code.
46202 * locale/localeinfo.h: Likewise.
46203 * sysdeps/generic/machine-gmon.h: Likewise.
46204 * sysdeps/generic/sysdep.h: Likewise.
46205 * sysdeps/i386/sysdep.h: Likewise.
46206 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46207 * sysdeps/mach/sysdep.h: Likewise.
46208 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46209 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46210 * sysdeps/sh/sysdep.h: Likewise.
46211 * sysdeps/sparc/sparc32/alloca.S: Likewise.
46212 * sysdeps/unix/i386/sysdep.S: Likewise.
46213 * sysdeps/unix/sparc/start.c: Likewise.
46214 * sysdeps/unix/sparc/sysdep.S: Likewise.
46215 * sysdeps/unix/sparc/sysdep.h: Likewise.
46216 * sysdeps/unix/start.c: Likewise.
46217 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46218 * sysdeps/x86_64/sysdep.h: Likewise.
46220 2012-01-07 Ulrich Drepper <drepper@gmail.com>
46223 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
46225 * argp/argp-fmtstream.h: Use const instead __const.
46226 * argp/argp.h: Likewise.
46227 * assert/assert.h: Likewise.
46228 * bits/fenv.h: Likewise.
46229 * bits/sched.h: Likewise.
46230 * bits/sigset.h: Likewise.
46231 * bits/sigthread.h: Likewise.
46232 * catgets/nl_types.h: Likewise.
46233 * conform/data/pthread.h-data: Likewise.
46234 * crypt/crypt-private.h: Likewise.
46235 * crypt/crypt.h: Likewise.
46236 * crypt/crypt_util.c: Likewise.
46237 * ctype/ctype.h: Likewise.
46238 * debug/execinfo.h: Likewise.
46239 * debug/mbsnrtowcs_chk.c: Likewise.
46240 * debug/mbsrtowcs_chk.c: Likewise.
46241 * debug/wcsnrtombs_chk.c: Likewise.
46242 * debug/wcsrtombs_chk.c: Likewise.
46243 * debug/wcstombs_chk.c: Likewise.
46244 * dirent/dirent.h: Likewise.
46245 * dlfcn/dlfcn.h: Likewise.
46246 * elf/neededtest4.c: Likewise.
46247 * grp/grp.h: Likewise.
46248 * gshadow/gshadow.h: Likewise.
46249 * iconv/gconv.h: Likewise.
46250 * iconv/gconv_int.h: Likewise.
46251 * iconv/gconv_simple.c: Likewise.
46252 * iconv/iconv.h: Likewise.
46253 * iconv/loop.c: Likewise.
46254 * iconv/skeleton.c: Likewise.
46255 * include/aio.h: Likewise.
46256 * include/aliases.h: Likewise.
46257 * include/argz.h: Likewise.
46258 * include/arpa/inet.h: Likewise.
46259 * include/assert.h: Likewise.
46260 * include/dirent.h: Likewise.
46261 * include/dlfcn.h: Likewise.
46262 * include/execinfo.h: Likewise.
46263 * include/fcntl.h: Likewise.
46264 * include/fenv.h: Likewise.
46265 * include/glob.h: Likewise.
46266 * include/grp.h: Likewise.
46267 * include/libintl.h: Likewise.
46268 * include/mntent.h: Likewise.
46269 * include/netdb.h: Likewise.
46270 * include/pwd.h: Likewise.
46271 * include/rpc/netdb.h: Likewise.
46272 * include/sched.h: Likewise.
46273 * include/search.h: Likewise.
46274 * include/shadow.h: Likewise.
46275 * include/signal.h: Likewise.
46276 * include/stdio.h: Likewise.
46277 * include/stdlib.h: Likewise.
46278 * include/string.h: Likewise.
46279 * include/sys/socket.h: Likewise.
46280 * include/sys/stat.h: Likewise.
46281 * include/sys/statfs.h: Likewise.
46282 * include/sys/statvfs.h: Likewise.
46283 * include/sys/syslog.h: Likewise.
46284 * include/sys/time.h: Likewise.
46285 * include/sys/uio.h: Likewise.
46286 * include/time.h: Likewise.
46287 * include/unistd.h: Likewise.
46288 * include/utmp.h: Likewise.
46289 * include/wchar.h: Likewise.
46290 * include/wctype.h: Likewise.
46291 * inet/aliases.h: Likewise.
46292 * inet/arpa/inet.h: Likewise.
46293 * inet/netinet/ether.h: Likewise.
46294 * inet/netinet/in.h: Likewise.
46295 * intl/libintl.h: Likewise.
46296 * io/bits/fcntl2.h: Likewise.
46297 * io/fcntl.h: Likewise.
46298 * io/ftw.h: Likewise.
46299 * io/sys/poll.h: Likewise.
46300 * io/sys/stat.h: Likewise.
46301 * io/sys/statfs.h: Likewise.
46302 * io/sys/statvfs.h: Likewise.
46303 * io/utime.h: Likewise.
46304 * libio/bits/stdio.h: Likewise.
46305 * libio/bits/stdio2.h: Likewise.
46306 * libio/libio.h: Likewise.
46307 * libio/libioP.h: Likewise.
46308 * libio/stdio.h: Likewise.
46309 * locale/lc-ctype.c: Likewise.
46310 * locale/locale.h: Likewise.
46311 * login/utmp.h: Likewise.
46312 * malloc/arena.c: Likewise.
46313 * malloc/malloc.c: Likewise.
46314 * malloc/malloc.h: Likewise.
46315 * malloc/mcheck.c: Likewise.
46316 * malloc/mtrace.c: Likewise.
46317 * math/bits/mathcalls.h: Likewise.
46318 * math/fenv.h: Likewise.
46319 * math/math_private.h: Likewise.
46320 * misc/bits/error.h: Likewise.
46321 * misc/bits/syslog.h: Likewise.
46322 * misc/err.h: Likewise.
46323 * misc/error.h: Likewise.
46324 * misc/fstab.h: Likewise.
46325 * misc/mntent.h: Likewise.
46326 * misc/regexp.h: Likewise.
46327 * misc/search.h: Likewise.
46328 * misc/sgtty.h: Likewise.
46329 * misc/sys/mman.h: Likewise.
46330 * misc/sys/syslog.h: Likewise.
46331 * misc/sys/uio.h: Likewise.
46332 * misc/sys/xattr.h: Likewise.
46333 * misc/ttyent.h: Likewise.
46334 * nis/rpcsvc/ypclnt.h: Likewise.
46335 * nss/nss.h: Likewise.
46336 * posix/bits/unistd.h: Likewise.
46337 * posix/fnmatch.h: Likewise.
46338 * posix/glob.h: Likewise.
46339 * posix/sched.h: Likewise.
46340 * posix/spawn.h: Likewise.
46341 * posix/sys/wait.h: Likewise.
46342 * posix/unistd.h: Likewise.
46343 * posix/wordexp.h: Likewise.
46344 * pwd/pwd.h: Likewise.
46345 * resolv/netdb.h: Likewise.
46346 * resource/sys/resource.h: Likewise.
46347 * rt/aio.h: Likewise.
46348 * rt/bits/mqueue2.h: Likewise.
46349 * rt/mqueue.h: Likewise.
46350 * shadow/shadow.h: Likewise.
46351 * signal/signal.h: Likewise.
46352 * socket/send.c: Likewise.
46353 * socket/sendto.c: Likewise.
46354 * socket/sys/socket.h: Likewise.
46355 * stdio-common/printf.h: Likewise.
46356 * stdlib/bits/stdlib.h: Likewise.
46357 * stdlib/fmtmsg.h: Likewise.
46358 * stdlib/monetary.h: Likewise.
46359 * stdlib/stdlib.h: Likewise.
46360 * stdlib/ucontext.h: Likewise.
46361 * streams/stropts.h: Likewise.
46362 * string/argz.h: Likewise.
46363 * string/bits/string2.h: Likewise.
46364 * string/string.h: Likewise.
46365 * string/strings.h: Likewise.
46366 * sunrpc/rpc/auth.h: Likewise.
46367 * sunrpc/rpc/auth_des.h: Likewise.
46368 * sunrpc/rpc/clnt.h: Likewise.
46369 * sunrpc/rpc/netdb.h: Likewise.
46370 * sunrpc/rpc/pmap_clnt.h: Likewise.
46371 * sunrpc/rpc/xdr.h: Likewise.
46372 * sysdeps/generic/inttypes.h: Likewise.
46373 * sysdeps/generic/net/if.h: Likewise.
46374 * sysdeps/generic/sys/swap.h: Likewise.
46375 * sysdeps/gnu/net/if.h: Likewise.
46376 * sysdeps/gnu/utmpx.h: Likewise.
46377 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
46378 * sysdeps/i386/i486/bits/string.h: Likewise.
46379 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
46380 * sysdeps/s390/bits/string.h: Likewise.
46381 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
46382 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
46383 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
46384 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
46385 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
46386 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
46387 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
46388 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
46389 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
46390 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
46391 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
46392 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46393 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
46394 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46395 * sysdeps/unix/sysv/linux/readv.c: Likewise.
46396 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
46397 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46398 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46399 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46400 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46401 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46402 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
46403 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
46404 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
46405 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
46406 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
46407 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
46408 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46409 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
46410 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
46411 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
46412 * sysvipc/sys/ipc.h: Likewise.
46413 * sysvipc/sys/msg.h: Likewise.
46414 * sysvipc/sys/sem.h: Likewise.
46415 * sysvipc/sys/shm.h: Likewise.
46416 * termios/termios.h: Likewise.
46417 * time/sys/time.h: Likewise.
46418 * time/time.h: Likewise.
46419 * wcsmbs/bits/wchar2.h: Likewise.
46420 * wcsmbs/uchar.h: Likewise.
46421 * wcsmbs/wchar.h: Likewise.
46422 * wctype/wctype.h: Likewise.
46425 * Makeconfig: Remove all but ELF support including AIX support.
46426 * Makerules: Likewise.
46427 * config.h.in: Likewise.
46428 * config.make.in: Likewise.
46429 * configure: Likewise.
46430 * configure.in: Likewise.
46431 * csu/Makefile: Likewise.
46432 * csu/version.c: Likewise.
46433 * debug/Makefile: Likewise.
46434 * dlfcn/Makefile: Likewise.
46435 * elf/Makefile: Likewise.
46436 * extra-lib.mk: Likewise.
46437 * iconv/Makefile: Likewise.
46438 * include/libc-symbols.h: Likewise.
46439 * include/shlib-compat.h: Likewise.
46440 * resolv/Makefile: Likewise.
46441 * resolv/res_libc.c: Likewise.
46442 * rt/Makefile: Likewise.
46443 * sysdeps/i386/asm-syntax.h: Likewise.
46444 * sysdeps/i386/sysdep.h: Likewise.
46445 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46446 * sysdeps/mach/sysdep.h: Likewise.
46447 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
46448 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
46449 * sysdeps/s390/asm-syntax.h: Likewise.
46450 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46451 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46452 * sysdeps/sh/sysdep.h: Likewise.
46453 * sysdeps/unix/sparc/sysdep.h: Likewise.
46454 * sysdeps/wordsize-32/divdi3.c: Likewise.
46455 * sysdeps/x86_64/sysdep.h: Likewise.
46457 * argp/Versions: Remove _argp_unlock_xxx.
46460 * abilist/ld.abilist: Update. Adjust for removal of tls option.
46461 * abilist/libBrokenLocale.abilist: Likewise.
46462 * abilist/libanl.abilist: Likewise.
46463 * abilist/libc.abilist: Likewise.
46464 * abilist/libcrypt.abilist: Likewise.
46465 * abilist/libdl.abilist: Likewise.
46466 * abilist/libm.abilist: Likewise.
46467 * abilist/libnsl.abilist: Likewise.
46468 * abilist/libpthread.abilist: Likewise.
46469 * abilist/libresolv.abilist: Likewise.
46470 * abilist/librt.abilist: Likewise.
46471 * abilist/libthread_db.abilist: Likewise.
46472 * abilist/libutil.abilist: Likewise.
46473 * abilist/libnss_db.abilist: New file.
46475 * scripts/abilist.awk: Add support for indirect functions.
46477 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
46479 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
46481 * shlib-versions: Remove entries for ports architectures.
46483 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
46485 * elf/stackguard-macros.h: Remove support for IA-64.
46486 * elf/tst-auditmod1.c: Likewise.
46487 * sysdeps/generic/ldsodefs.h: Likewise.
46489 * sysdeps/unix/sysv/linux/configure.in: Ports should define
46490 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
46494 * configure.in: Remove --enable-omitfp support.
46496 * config.make.in: Likewise.
46497 * Makeconfig: Likewise.
46498 * manual/install.texi: Likewise.
46500 In case anyone cares, the IA-64 architecture could move to ports.
46501 * sysdeps/ia64/*: Removed.
46502 * sysdeps/unix/sysv/linux/ia64/*: Removed.
46503 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
46506 * configure.in: Remove entries for unsupported architectures.
46509 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
46510 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
46512 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
46513 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
46514 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
46515 fall back to using wcrtomb.
46516 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
46517 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
46519 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
46520 * wcsmbs/tst-c16c32-1.c: New file.
46522 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
46525 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
46527 * elf/tst-unique3.cc: Add explicit declaration of gets.
46528 * elf/tst-unique3lib.cc: Likewise.
46529 * elf/tst-unique3lib2.cc: Likewise.
46530 * elf/tst-unique4.cc: Likewise.
46532 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
46534 2012-01-06 Joseph Myers <joseph@codesourcery.com>
46537 * assert/assert.h (static_assert): Don't define for C++.
46538 * libio/stdio.h (gets): Do declare for C++ <= C++11.
46539 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
46541 2012-01-03 Ulrich Drepper <drepper@gmail.com>
46543 * iconv/loop.c (single loop): Fix assertion in storing of
46546 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
46548 2012-01-01 Ulrich Drepper <drepper@gmail.com>
46550 * posix/getconf.c: Update copyright year.
46551 * nss/getent.c: Likewise.
46552 * nss/makedb.c: Likewise.
46553 * iconv/iconvconfig.c: Likewise.
46554 * iconv/iconv_prog.c: Likewise.
46555 * elf/ldconfig.c: Likewise.
46556 * elf/pldd.c: Likewise.
46557 * elf/sotruss.ksh: Likewise.
46558 * catgets/gencat.c: Likewise.
46559 * csu/version.c: Likewise.
46560 * elf/ldd.bash.in: Likewise.
46561 * elf/sprof.c (print_version): Likewise.
46562 * locale/programs/locale.c: Likewise.
46563 * locale/programs/localedef.c: Likewise.
46564 * login/programs/pt_chown.c: Likewise.
46565 * nscd/nscd.c (print_version): Likewise.
46566 * debug/xtrace.sh: Likewise.
46567 * malloc/memusage.sh: Likewise.
46568 * malloc/mtrace.pl: Likewise.
46569 * debug/catchsegv.sh: Likewise.
46571 2011-12-30 Jakub Jelinek <jakub@redhat.com>
46573 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
46576 2011-12-24 Ulrich Drepper <drepper@gmail.com>
46579 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
46580 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
46582 * iconv/gconv_int.h: Likewise.
46583 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
46584 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
46585 from libc for GLIBC_2.16.
46586 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
46587 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
46588 * wcsmbs/uchar.h: Really define mbstate_t.
46589 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
46590 * wcsmbs/c16rtomb.c: New file.
46591 * wcsmbs/mbrtoc16.c: New file.
46592 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
46593 for C/POSIX locale.
46594 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
46595 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
46597 * wcsmbs/wchar.h: Add missing __restrict.
46599 2011-12-23 Ulrich Drepper <drepper@gmail.com>
46602 * time/Makefile (routines): Add timespec_get.
46603 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
46604 * time/time.h: Define TIME_UTC and declare timespec_get. Define
46605 timespec for ISO C11.
46606 * time/timespec_get.c: New file.
46607 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
46608 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
46611 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
46612 * stdlib/stdlib.h: Declare aligned_alloc.
46613 * Versions.def: Add GLIBC_2.16 for libc.
46614 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
46617 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
46620 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
46624 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
46627 * assert/assert.h (static_assert): Define.
46629 * version.h: Update for 2.16 development version.
46632 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
46635 * version.h (RELEASE): Bump for 2.15 release.
46636 * include/features.h (__GLIBC_MINOR__): Bump to 15.
46638 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
46639 Patch by Marek Polacek <mpolacek@redhat.com>.
46641 * bits/byteswap.h: Protect long long constants with __extension__.
46642 * sysdeps/i386/bits/byteswap.h: Likewise.
46643 * sysdeps/ia64/bits/byteswap.h: Likewise.
46644 * sysdeps/s390/bits/byteswap.h: Likewise.
46645 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46647 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46650 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
46651 destination buffer.
46652 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
46654 2011-12-23 Marek Polacek <polacek@redhat.com>
46656 * elf/dl-addr.c (determine_info): Add inline keyword.
46657 * elf/tst-auditmod4b.c (check_avx): Likewise.
46658 * elf/tst-auditmod6b.c (check_avx): Likewise.
46659 * elf/tst-auditmod6c.c (check_avx): Likewise.
46660 * elf/tst-auditmod7b.c (check_avx): Likewise.
46662 2011-12-23 Ulrich Drepper <drepper@gmail.com>
46664 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
46667 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46670 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
46671 processing for last bytes.
46673 2011-08-06 Bruno Haible <bruno@clisp.org>
46676 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
46677 U+0385, not to U+1FEE.
46680 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
46681 entry for U+00A5 U+0301.
46683 2011-12-22 Ulrich Drepper <drepper@gmail.com>
46686 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
46687 buffer for the output is too small.
46689 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
46693 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
46694 SSE flags if possible.
46696 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46699 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
46700 processing for last bytes.
46702 2011-12-22 Joseph Myers <joseph@codesourcery.com>
46704 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
46705 (syscall-list-default-options, syscall-list-default-condition)
46706 (syscall-list-includes): Define.
46707 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
46708 list of ABIs and options and #if conditions for each ABI. Do not
46709 handle common syscalls between ABIs specially.
46710 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
46712 (syscall-list-variants, syscall-list-32bit-options)
46713 (syscall-list-32bit-condition, syscall-list-64bit-options)
46714 (syscall-list-64bit-condition): Define.
46715 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
46716 (syscall-list-variants, syscall-list-32bit-options)
46717 (syscall-list-32bit-condition, syscall-list-64bit-options)
46718 (syscall-list-64bit-condition): Define.
46719 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
46721 (syscall-list-variants, syscall-list-32bit-options)
46722 (syscall-list-32bit-condition, syscall-list-64bit-options)
46723 (syscall-list-64bit-condition): Define.
46724 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
46726 (syscall-list-variants, syscall-list-32bit-options)
46727 (syscall-list-32bit-condition, syscall-list-64bit-options)
46728 (syscall-list-64bit-condition): Define.
46730 2011-12-22 Ulrich Drepper <drepper@gmail.com>
46732 * locale/iso-639.def: Add brx entry.
46735 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
46736 Proposed by Mariusz_Cukr <marcukr@op.pl>.
46738 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
46739 __feraiseexcept_renamed.
46741 2011-12-21 Ulrich Drepper <drepper@gmail.com>
46744 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
46745 EPOLLET with unsigned values.
46746 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46747 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46749 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
46750 to large cancellation.
46751 * math/s_cacoshf.c: Likewise.
46752 * math/s_cacoshl.c: Likewise.
46754 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
46758 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
46759 * math/s_cacoshf.c: Likewise.
46760 * math/s_cacoshl.c: Likewise.
46762 2011-12-21 Ulrich Drepper <drepper@gmail.com>
46765 * iconv/gconv.h: Define __GCONV_SWAP.
46766 * iconvdata/unicode.c: The swap bit must be stored in __flags.
46767 * iconvdata/utf-16.c: Likewise.
46768 * iconvdata/utf-32.c: Likewise.
46770 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
46773 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
46774 numerator after shifting it by one limb.
46776 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
46778 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
46779 under [__USE_EXTERN_INLINES].
46781 2011-12-17 Ulrich Drepper <drepper@gmail.com>
46784 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
46786 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46788 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
46789 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
46791 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
46792 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
46793 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
46794 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
46795 for strncasecmp/strncasecmp_l compilation.
46796 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
46797 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
46799 2011-12-08 Marek Polacek <mpolacek@redhat.com>
46802 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
46805 2011-12-17 Ulrich Drepper <drepper@gmail.com>
46808 * time/tzfile.c (__tzfile_read): Check values from file header.
46810 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46812 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
46813 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
46814 * powerpc/powerpc32/dl-start.S: Likewise.
46815 * powerpc/powerpc32/elf/start.S: Likewise.
46816 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46817 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
46818 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
46819 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
46820 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46821 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
46822 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
46823 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46824 * powerpc/powerpc32/fpu/s_round.S: Likewise.
46825 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46826 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46827 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46828 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
46829 * powerpc/powerpc32/memset.S: Likewise.
46830 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46831 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46832 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46833 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46834 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46835 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46836 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46837 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46838 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
46839 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
46840 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
46841 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46842 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46844 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46846 * math/libm-test.inc: Added more nearbyint tests.
46847 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
46848 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
46849 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
46850 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
46852 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
46854 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
46857 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46859 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
46860 Add wcscpy-ssse3 wcscpy-c.
46861 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
46862 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
46863 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
46864 * sysdeps/x86_64/wcschr.S: New file.
46865 * sysdeps/x86_64/wcsrchr.S: New file.
46866 * string/test-strcmp.c: Remove checking of wcscmp function for
46868 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
46869 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
46870 wcsrchr-sse2 wcsrchr-c.
46871 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
46872 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
46873 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
46874 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
46875 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
46876 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
46877 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
46878 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
46879 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
46880 * wcsmbc/wcschr.c (WCSCHR): New macro.
46882 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46884 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
46885 * wcsmbs/test-wcsrchr.c: New file.
46886 * string/test-strrchr.c: Add wcsrchr support.
46888 * wcsmbs/test-wcscpy.c: New file.
46889 * string/test-strcpy.c: Add wcscpy support.
46892 2011-12-10 Ulrich Drepper <drepper@gmail.com>
46894 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
46897 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
46900 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
46902 2011-12-04 Ulrich Drepper <drepper@gmail.com>
46904 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
46905 Minor optimizations.
46907 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
46908 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
46909 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
46911 2011-12-03 Ulrich Drepper <drepper@gmail.com>
46913 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
46914 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
46915 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
46916 for gcc to avoid warnings.
46917 * inet/Makefile (tests): Add tst-checks.
46918 * inet/tst-checks.c: New file.
46920 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
46923 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
46926 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
46927 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
46929 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
46931 2011-12-02 Ulrich Drepper <drepper@gmail.com>
46933 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
46936 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
46938 2011-11-29 Joseph Myers <joseph@codesourcery.com>
46940 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
46941 conditional on GCC version.
46942 (__arch_compare_and_exchange_val_8_acq)
46943 (__arch_compare_and_exchange_val_16_acq)
46944 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
46945 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
46946 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
46948 2011-12-02 Joseph Myers <joseph@codesourcery.com>
46950 * sysdeps/sh/backtrace.c: New file.
46952 2011-12-02 Andreas Schwab <schwab@redhat.com>
46954 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
46957 2011-12-01 Andreas Schwab <schwab@redhat.com>
46959 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46960 falling back to utime.
46962 2011-11-30 Andreas Schwab <schwab@redhat.com>
46964 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46965 expectations for float.
46967 2011-11-29 Andreas Schwab <schwab@redhat.com>
46969 * locale/weight.h (findidx): Add parameter len.
46970 * locale/weightwc.h (findidx): Likewise.
46971 * posix/fnmatch_loop.c (FCT): Adjust caller.
46972 * posix/regcomp.c (build_equiv_class): Likewise.
46973 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46974 * posix/regexec.c (check_node_accept_bytes): Likewise.
46975 * string/strcoll_l.c (STRCOLL): Likewise.
46976 * string/strxfrm_l.c (STRXFRM): Likewise.
46978 2011-11-17 Ulrich Drepper <drepper@gmail.com>
46980 * Makefile.in: Remove CVSOPT handling.
46981 * configure.in: Remove use of AC_REVISION.
46982 * iconvdata/Makefile (distribute): No need to filter out CVS.
46983 * scripts/list-sources.sh: Remove CVS, subversion and monotone
46986 2011-11-16 Andreas Schwab <schwab@redhat.com>
46988 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
46989 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
46990 [USE_AS_STRNCASECMP_L]: Likewise.
46991 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
46992 NO_TLS_DIRECT_SEG_REFS.
46993 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
46994 Fix argument offsets for non-PIC.
46995 [USE_AS_STRNCASECMP_L]: Likewise.
46996 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
46997 NO_TLS_DIRECT_SEG_REFS.
46999 2011-11-15 Ulrich Drepper <drepper@gmail.com>
47001 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
47003 * locale/loadlocale.c (_nl_load_locale): Likewise.
47005 2011-11-15 Andreas Schwab <schwab@redhat.com>
47007 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
47008 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
47009 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
47010 (SYSCALL_GETTIME): Set errno on error.
47012 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
47013 count references to noai6ai_cached.
47015 2011-11-15 Ulrich Drepper <drepper@gmail.com>
47017 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
47019 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
47020 FD_CLOEXEC for /proc/self/maps.
47022 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47023 FD_CLOEXEC for /proc/meminfo.
47025 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
47028 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
47029 FD_CLOEXEC for given file.
47031 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
47033 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
47034 FD_CLOEXEC for /etc/hosts.
47035 (_gethtent): Likewise.
47037 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
47039 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
47040 cancellation and set FD_CLOEXEC for /etc/netgroup.
47042 * nss/nss_files/files-key.c (search): Don't allow cancellation when
47043 reading /etc/publickey.
47045 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
47046 allow cancellation when reading /etc/group.
47048 * nss/nss_files/files-alias.c (internal_setent): Don't allow
47050 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
47052 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
47053 when using data file.
47055 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
47057 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
47058 (write_nis_obj): Use "c" and "e" in fopen.
47060 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
47062 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47064 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47066 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47068 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47071 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47073 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47075 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47077 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47078 file parsing and set FD_CLOEXEC.
47080 2011-11-14 Ulrich Drepper <drepper@gmail.com>
47082 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47084 2011-11-14 Andreas Schwab <schwab@redhat.com>
47086 * malloc/arena.c (arena_get2): Don't call reused_arena when
47087 _int_new_arena failed.
47089 2011-11-14 Ulrich Drepper <drepper@gmail.com>
47091 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47092 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47093 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47094 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47095 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47096 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47097 to compile strcasecmp and strncasecmp.
47098 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47099 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47101 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47103 2011-11-13 Ulrich Drepper <drepper@gmail.com>
47105 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47106 locale-defines.sym to gen-as-const-headers.
47107 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47108 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47109 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47110 to compile strcasecmp and strncasecmp.
47111 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47112 strcasecmp_l and strncasecmp_l.
47113 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47114 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47115 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47116 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47117 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47118 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47119 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47120 * sysdeps/i386/i686/multiarch/strncase.S: New file.
47121 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47122 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47123 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47125 2011-11-12 Ulrich Drepper <drepper@gmail.com>
47127 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47128 result of SYSDEP_GETTIME_CPU to retval.
47129 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
47130 parameter list to macro. Remove trailing semicolon. Adjust users.
47132 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
47135 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
47137 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
47139 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
47140 from unused variable.
47142 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
47144 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
47147 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
47150 * sunrpc/rpc_prot.c (rejected): Fix case value.
47152 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
47153 unsigned long long int to avoid warnings in shift.
47155 * posix/regex_internal.c (re_string_reconstruct): Actually use result
47157 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
47160 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
47161 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
47162 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
47164 * nis/nis_table.c (nis_list): Use variable of correct type for
47165 result of __follow_path call.
47167 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47169 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
47170 of math functions ceil, trunc, floor, round, and sqrt, when
47171 avaliable on the platform.
47172 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
47174 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47175 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47176 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47178 2011-10-30 Marek Polacek <mpolacek@redhat.com>
47180 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
47181 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47183 2011-11-11 Roland McGrath <roland@hack.frob.com>
47185 * include/unistd.h: Fix __readlink return type.
47186 Reported by Chris Metcalf <cmetcalf@tilera.com>.
47188 2011-11-11 Ulrich Drepper <drepper@gmail.com>
47190 * stdlib/ucontext.h: Undo last change for makecontext.
47192 2011-11-11 Andreas Schwab <schwab@redhat.com>
47194 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
47196 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
47197 * setjmp/setjmp.h: Mark functions as non-leaf.
47198 * setjmp/bits/setjmp2.h: Likewise.
47199 * stdlib/ucontext.h: Likewise.
47201 2011-11-10 Andreas Schwab <schwab@redhat.com>
47203 * malloc/arena.c (_int_new_arena): Don't increment narenas.
47204 (reused_arena): Don't check arena limit.
47205 (arena_get2): Atomically check arena limit.
47207 2011-11-08 Ulrich Drepper <drepper@gmail.com>
47209 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
47210 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
47212 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
47215 2011-11-07 Andreas Schwab <schwab@redhat.com>
47217 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
47218 handler when locking.
47220 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47221 Fix size of allocated buffer.
47223 2011-11-04 Andreas Schwab <schwab@redhat.com>
47226 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
47227 declarations for long double functions.
47228 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
47230 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
47232 2011-11-03 Andreas Schwab <schwab@redhat.com>
47234 * nscd/nscd.c (main): Don't start AVC thread until credentials are
47237 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
47240 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
47242 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
47244 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
47246 * include/alloca.h (stackinfo_alloca_round): Define.
47247 (extend_alloca): Use it.
47248 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
47249 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
47252 * scripts/check-local-headers.sh: Ignore libaudit.h.
47254 * nscd/Makefile (extra-objs): Make recursively expanded.
47256 2011-11-01 Ulrich Drepper <drepper@gmail.com>
47258 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
47259 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47261 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
47262 * posix/tst-rfc3484-2.c: Likewise.
47263 * posix/tst-rfc3484-3.c: Likewise.
47265 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47267 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
47269 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
47270 process_vm_writev from libc using GLIBC_2.15 version.
47272 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
47274 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
47276 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
47279 2011-10-31 Ulrich Drepper <drepper@gmail.com>
47282 * nss/getent.c (initgroups_keys): Show error message in case no group
47285 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
47286 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
47287 __bump_nl_timestamp.
47288 * nscd/connections (nscd_init): When host database is served open
47289 netlink socket and request notification about configuration changes.
47290 (main_loop_poll): Track netlink file descriptor and bump timestamp
47291 in case data becomes available.
47292 (main_loop_epoll): Likewise.
47293 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
47294 (database_pers_head): Add extra_data fileds.
47295 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
47296 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
47297 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
47299 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
47300 in6ai data, call __free_in6ai.
47301 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
47302 Add -DHAVE_NETLINK.
47303 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
47304 interface information. Reuse previous data if netlink timestamp
47306 (__bump_nl_timestamp): New function.
47307 (__free_in6ai): New function.
47309 2011-10-30 Ulrich Drepper <drepper@gmail.com>
47311 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
47312 close_not_cancel_no_status here.
47313 (__check_pf): Reorganize code a bit to not call close twice if OOM.
47315 2011-10-29 Ulrich Drepper <drepper@gmail.com>
47318 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
47321 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
47322 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
47323 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
47325 2011-07-03 Andreas Jaeger <aj@suse.de>
47328 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
47329 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
47330 * math/libm-test.inc (sin_test): Add test case.
47332 2011-10-29 Ulrich Drepper <drepper@gmail.com>
47335 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
47336 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47338 * elf/chroot_canon.c (chroot_canon): Cleanups.
47340 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
47343 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
47344 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47346 * string/test-strchr.c: Make usable for strchrnul testing.
47347 * string/test-strchrnul.c: New file.
47348 * string/Makefile (strop-tests): Add strchrnul.
47350 * po/it.po: Update from translation team.
47351 * po/es.po: Likewise.
47353 2011-10-28 Ulrich Drepper <drepper@gmail.com>
47355 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
47356 the three constants needed as parameters. Drop the others.
47357 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
47358 __m128i_strloadu_tolower.
47359 Create and initialize variable zero and use it in all the places
47360 where _mm_setzero_si128 was used.
47362 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
47363 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
47364 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
47365 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
47367 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
47368 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
47369 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
47370 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
47371 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
47372 __mpranred, __mptan.
47373 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
47374 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
47375 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
47376 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
47377 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
47378 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
47379 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
47380 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
47381 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
47383 2011-10-28 Andreas Schwab <schwab@redhat.com>
47385 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
47386 redefine if SHARED.
47387 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
47389 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
47390 wide char related routines to wcsmbs subdir.
47392 2011-10-27 Andreas Schwab <schwab@redhat.com>
47395 * misc/sys/cdefs.h (__THROWNL): Define.
47396 * posix/unistd.h: Use __THREADNL instead of __THREAD
47397 for memory synchronization functions.
47399 2011-10-26 Roland McGrath <roland@hack.frob.com>
47402 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
47404 * manual/stdio.texi (Obstack Streams): Node removed.
47406 2011-10-26 Andreas Schwab <schwab@redhat.com>
47408 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
47409 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47410 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47412 * math/math_private.h (math_force_eval): Allow non-addressable
47414 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
47416 2011-10-25 Ulrich Drepper <drepper@gmail.com>
47418 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
47419 file is not needed.
47421 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
47422 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
47423 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47424 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47425 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47426 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47427 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47428 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
47430 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
47431 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
47432 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
47433 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
47434 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
47435 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
47436 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
47437 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
47438 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
47439 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
47440 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
47441 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
47442 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
47443 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
47444 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
47445 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
47446 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
47447 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
47448 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
47450 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
47451 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
47453 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
47454 place. Use VEX encoding when compiling for AVX.
47456 2011-10-25 Andreas Schwab <schwab@redhat.com>
47458 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
47459 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47461 * string/test-strchr.c (do_test): Don't generate NUL bytes.
47463 2011-10-25 Ulrich Drepper <drepper@gmail.com>
47465 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
47466 useless if() expression.
47467 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47468 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47469 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47470 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47471 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47472 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47473 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47474 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47475 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47476 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47477 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47478 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47479 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47480 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47481 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47482 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47483 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47484 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47485 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47487 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
47489 2011-10-25 Andreas Schwab <schwab@redhat.com>
47491 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
47493 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47495 2011-10-25 Ulrich Drepper <drepper@gmail.com>
47497 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
47498 .text section. Avoid duplicate constants.
47499 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47500 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47501 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47502 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47503 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47504 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47505 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47506 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47507 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47508 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
47509 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47510 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47511 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47512 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47513 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47514 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47515 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47516 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47517 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47518 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47519 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47520 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47521 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47522 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
47523 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
47524 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
47525 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
47526 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
47527 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
47528 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
47529 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
47530 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
47531 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47532 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
47533 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
47534 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
47535 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
47536 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
47537 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
47538 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
47539 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
47540 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
47541 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
47542 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
47543 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
47545 2011-10-24 Ulrich Drepper <drepper@gmail.com>
47547 * sysdeps/x86_64/dla.h: Move to ...
47548 * sysdeps/x86_64/fpu/dla.h: ...here.
47549 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
47550 situations. Use __builtin_fma only for gcc 4.6 and up.
47552 * config.make.in: Add have-mfma4 entry.
47553 * configure.in: Substitute libc_cv_cc_fma4.
47554 * math/Makefile (dbl-only-routines): Add sincostab.
47555 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
47556 Use __sincostab not sincos.
47557 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
47559 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47560 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47561 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47562 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
47564 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
47565 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
47566 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
47567 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
47569 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
47570 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
47572 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
47573 define aliases when function name is a macro.
47574 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
47575 sysdeps/ieee754/dbl-64/sincos.tbl.
47576 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
47577 fma4-enabled routines.
47578 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
47579 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
47580 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
47581 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
47582 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
47583 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
47584 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
47585 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
47586 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
47587 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
47588 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
47589 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
47590 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
47591 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
47592 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
47593 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
47594 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
47595 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
47596 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
47597 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
47598 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
47599 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
47600 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
47601 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
47602 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
47603 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
47604 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
47605 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
47606 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
47607 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
47609 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
47611 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47612 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47613 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47614 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47615 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47616 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47617 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47618 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47620 2011-10-24 Andreas Schwab <schwab@redhat.com>
47622 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
47624 2011-10-23 Ulrich Drepper <drepper@gmail.com>
47626 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
47628 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
47630 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
47632 * string/strnlen.c: Don't define STRNLEN, reverse logic.
47633 Remove unused variable magic_bits.
47634 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
47636 * string/strnlen.c: Define and use STRNLEN macro.
47637 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
47638 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
47639 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
47640 * wcsmbs/wcslen.c: Define and use WCSLEN.
47641 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
47642 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
47643 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
47644 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
47645 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
47646 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
47647 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47649 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47651 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47652 strnlen-sse2-no-bsf.
47653 Rename strlen-no-bsf to strlen-sse2-no-bsf.
47654 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
47655 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
47656 Add strnlen support.
47657 (USE_AS_STRNLEN): New macro.
47658 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
47659 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
47660 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
47661 * sysdeps/x86_64/wcslen.S: New file.
47663 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
47665 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47666 XMM-moves are used for copying on small sizes.
47668 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47670 * wcsmbs/Makefile (strop-tests): Add wcschr.
47671 * wcsmbs/test-wcschr.c: New file.
47672 * string/test-strchr.c: Update.
47673 Add wcschr support.
47676 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47678 * wcsmbs/Makefile (strop-tests): Add wcslen.
47679 * wcsmbs/test-wcslen.c: New file.
47680 * string/test-strlen.c: Update.
47681 Add wcslen support.
47684 2011-10-23 Ulrich Drepper <drepper@gmail.com>
47686 * po/it.po: Update from translation team.
47688 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47690 * sysdeps/x86_64/wcscmp.S: Update.
47691 Fix wrong comparison semantics.
47692 wcscmp shall use signed comparison not unsigned.
47693 Don't use substraction to avoid overflow bug.
47694 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
47695 * wcsmbc/wcscmp.c: Likewise.
47696 * string/test-strcmp.c: Likewise.
47697 Add new tests to check cases with negative values.
47699 2011-10-23 Ulrich Drepper <drepper@gmail.com>
47701 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
47702 * sysdeps/x86_64/dla.h: ...here. New file.
47703 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
47704 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47705 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47706 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47707 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47708 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47709 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47710 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47711 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47713 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
47715 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
47716 __ynl_finite aliases.
47718 2011-10-22 Ulrich Drepper <drepper@gmail.com>
47720 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47722 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
47724 [DLA_FMA] (EMULV): Use DLA_FMA.
47725 [DLA_FMA] (MUL12): Use EMULV.
47726 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
47727 that are not needed.
47728 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47729 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47730 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47731 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47732 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47733 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47734 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47736 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
47738 * math/s_nan.c: Undef __nan.
47739 * math/s_nanf.c: Undef __nanf.
47740 * math/s_nanl.c: Undef __nanl.
47741 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
47744 2011-10-22 Ulrich Drepper <drepper@gmail.com>
47746 * math/s_catan.c: Add branch predictions.
47747 * math/s_catanf.c: Likewise.
47748 * math/s_catanh.c: Likewise.
47749 * math/s_catanhf.c: Likewise.
47750 * math/s_catanhl.c: Likewise.
47751 * math/s_catanl.c: Likewise.
47752 * math/s_cexp.c: Likewise.
47753 * math/s_cexpf.c: Likewise.
47754 * math/s_cexpl.c: Likewise.
47755 * math/s_clog.c: Likewise.
47756 * math/s_clog10.c: Likewise.
47757 * math/s_clog10f.c: Likewise.
47758 * math/s_clog10l.c: Likewise.
47759 * math/s_clogf.c: Likewise.
47760 * math/s_clogl.c: Likewise.
47761 * math/s_csqrt.c: Likewise.
47762 * math/s_csqrtf.c: Likewise.
47763 * math/s_csqrtl.c: Likewise.
47764 * math/s_ctanf.c: Likewise.
47765 * math/s_ctanh.c: Likewise.
47766 * math/s_ctanhf.c: Likewise.
47767 * math/s_ctanhl.c: Likewise.
47768 * math/s_ctanl.c: Likewise.
47770 * math/math_private.h: Define __nan, __nanf, __nanl.
47771 * math/s_cacosh.c: Include <math_private.h>.
47772 * math/s_cacoshl.c: Likewise.
47773 * math/s_casinh.c: Likewise.
47774 * math/s_casinhf.c: Likewise.
47775 * math/s_casinhl.c: Likewise.
47776 * math/s_ccos.c: Rely entire on ccosh.
47777 * math/s_ccosf.c: Rely entire on ccoshf.
47778 * math/s_ccosl.c: Rely entirely on ccoshl.
47779 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
47780 Remove tests for FE_INVALID.
47781 * math/s_ccoshf.c: Likewise.
47782 * math/s_ccoshl.c: Likewise.
47783 * math/s_csin.c: Likewise.
47784 * math/s_csinf.c: Likewise.
47785 * math/s_csinh.c Likewise.
47786 * math/s_csinhf.c: Likewise.
47787 * math/s_csinhl.c: Likewise.
47788 * math/s_csinl.c: Likewise.
47789 * math/s_ctan.c: Likewise.
47790 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
47791 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
47792 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
47794 2011-10-21 Ulrich Drepper <drepper@gmail.com>
47796 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
47797 compilation problems.
47799 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
47802 2011-10-20 Ulrich Drepper <drepper@gmail.com>
47804 * sysdeps/i386/configure.in: Test for -mfma4 option.
47805 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
47806 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
47807 COMMON_CPUID_INDEX_80000001.
47808 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
47809 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
47810 use it if FMA3 is not supported.
47811 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
47813 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
47814 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47816 2011-10-20 Andreas Schwab <schwab@redhat.com>
47819 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
47820 it would create a cycle with a link time dependency.
47822 2011-10-19 Ulrich Drepper <drepper@gmail.com>
47824 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
47826 * string/Makefile (strop-tests): Add rawmemchr.
47827 * string/test-rawmemchr.c: New file.
47829 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
47830 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
47831 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
47832 when compiling str{,n}casecmp and when AVX is available. Hook up
47833 new optimized code in initializers.
47835 2011-10-19 Andreas Schwab <schwab@redhat.com>
47837 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
47838 __feraiseexcept instead of feraiseexcept.
47840 2011-10-18 Ulrich Drepper <drepper@gmail.com>
47842 * math/math_private.h: Define defaults for libc_fetestexcept and
47844 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
47845 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
47846 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47847 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47848 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47849 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47850 libc_fetestexcept and libc_feupdateenv.
47852 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
47853 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
47854 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
47855 * sysdeps/x86_64/fpu/math_private.h: Define special version of
47856 libc_feholdexcept_setround.
47858 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
47859 Add s_nearbyint-c and s_nearbyintf-c.
47860 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
47861 nearbyintf inlines.
47862 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
47863 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
47864 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
47865 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
47867 * math/math_private.h: Define defaults for libc_fegetround,
47868 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
47869 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
47870 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
47871 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
47872 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
47873 standard functions.
47874 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47875 Remove comments and hacks for old compiler versions.
47876 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47877 libc_fegetround, libc_fesetround, libc_feholdexcept, and
47878 libc_feholdexceptl.
47880 2011-10-18 Andreas Schwab <schwab@redhat.com>
47882 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
47883 (__feraiseexcept_renamed): Add __NTH.
47884 (feraiseexcept): Add __NTH. Rename local variables to fix
47885 namespace violations.
47887 2011-10-17 Ulrich Drepper <drepper@gmail.com>
47889 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
47891 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
47893 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
47894 recently added interfaces.
47895 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
47897 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
47898 about macro parameter expansion.
47900 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
47901 __NO_MATH_INLINES is defined. Cleanups.
47903 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
47904 and __floorf is target has SSE4.1.
47905 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
47906 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
47907 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
47908 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
47910 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
47912 (floorf): Likewise.
47914 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
47916 2011-10-17 Andreas Schwab <schwab@redhat.com>
47918 * misc/sys/cdefs.h: Fix last change.
47920 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
47923 2011-10-16 Ulrich Drepper <drepper@gmail.com>
47925 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
47927 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
47928 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47929 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47930 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47931 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47932 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47933 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47934 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47935 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47936 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
47937 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
47938 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
47939 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
47940 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
47941 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
47942 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
47943 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
47944 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
47945 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
47946 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
47947 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
47948 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
47950 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
47951 ceil, ceilf, floor, floorf.
47953 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
47954 Perform IRELATIVE relocations last.
47956 * elf/do-rel.h: Add another parameter nrelative, replacing the
47957 local variable with the same name. Change name of the function
47958 to end in Rel or Rela (uppercase).
47959 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47960 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
47961 elf_dynamic_do_##reloc function.
47963 2011-10-15 Ulrich Drepper <drepper@gmail.com>
47965 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47966 is sufficient, at least on modern CPUs.
47968 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47970 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47971 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47973 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47975 * math/bits/math-finite.h: Add entries for exp.
47976 * math/e_expl.c: Add __*_finite alias.
47977 * sysdeps/i386/fpu/e_exp.S: Likewise.
47978 * sysdeps/i386/fpu/e_expf.S: Likewise.
47979 * sysdeps/i386/fpu/e_expl.c: Likewise.
47980 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47981 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47982 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47983 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47984 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
47985 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47986 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47988 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
47989 is sufficient, at least on modern CPUs.
47991 * ctype/ctype-info.c (__ctype_init): Define.
47992 * include/ctype.h (__ctype_init): Declare.
47993 (__ctype_b_loc): The variable is always initialized.
47994 (__ctype_toupper_loc): Likewise.
47995 (__ctype_tolower_loc): Likewise.
47996 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
47997 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
47999 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
48001 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
48003 * configure.in: Also look in $cxxmachine/include for C++ system
48006 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48008 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
48009 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
48010 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
48011 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
48012 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
48013 (USE_AS_WMEMCMP): New macro.
48015 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
48016 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
48017 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
48018 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
48019 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48020 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
48021 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
48022 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48023 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48024 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48025 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48026 (USE_AS_WMEMCMP): New macro.
48027 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
48028 * sysdeps/string/test-memcmp.c: Update.
48029 Fix simple_wmemcmp.
48031 * wcsmbs/wmemcmp.c: Update.
48032 (WMEMCMP): New macro.
48035 2011-10-12 Andreas Jaeger <aj@suse.de>
48038 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
48040 2011-10-15 Ulrich Drepper <drepper@gmail.com>
48042 * libio/iofwide.c (do_length): Avoid warning.
48044 * ctype/ctype.h (__isctype_f): Add missing __THROW.
48046 2011-10-14 Ulrich Drepper <drepper@gmail.com>
48048 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
48050 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
48051 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
48052 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
48053 * sysdeps/i386/i686/fpu/e_log.S: New file.
48054 * sysdeps/i386/i686/fpu/e_logf.S: New file.
48055 * sysdeps/i386/i686/fpu/e_logl.S: New file.
48057 * ctype/ctype.h: Add support for inlined isXXX functions when
48058 compiling C++ code.
48060 2011-10-14 Andreas Schwab <schwab@redhat.com>
48062 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48064 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48066 2011-10-13 Roland McGrath <roland@hack.frob.com>
48069 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48071 2011-10-13 Andreas Schwab <schwab@redhat.com>
48073 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48074 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48077 * sysdeps/x86_64/memrchr.S: Check for zero size.
48079 * string/stratcliff.c: Add memrchr tests.
48081 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48083 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48084 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48085 rawmemchr-sse2 rawmemchr-sse2-bsf.
48086 * sysdeps/i386/i686/multiarch/memchr.S: New file.
48087 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48088 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48089 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48090 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48091 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48092 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48093 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48094 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48095 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48096 * string/memrchr.c (MEMRCHR): New macro.
48098 2011-10-12 Ulrich Drepper <drepper@gmail.com>
48100 Add integration with gcc's -ffinite-math-only and optimize wrapper
48102 * Versions.def: Define GLIBC_2.15 version for libm.
48103 * math/Makefile (headers): Add bits/math-finite.h.
48104 * math/bits/math-finite.h: New file.
48105 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48106 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48107 * math/e_acoshl.c: Add __*_finite alias.
48108 * math/e_acosl.c: Likewise.
48109 * math/e_asinl.c: Likewise.
48110 * math/e_atan2l.c: Likewise.
48111 * math/e_atanhl.c: Likewise.
48112 * math/e_coshl.c: Likewise.
48113 * math/e_exp10.c: Likewise.
48114 * math/e_exp10f.c: Likewise.
48115 * math/e_exp10l.c: Likewise.
48116 * math/e_exp2l.c: Likewise.
48117 * math/e_fmodl.c: Likewise.
48118 * math/e_gammal_r.c: Likewise.
48119 * math/e_hypotl.c: Likewise.
48120 * math/e_j0l.c: Likewise.
48121 * math/e_j1l.c: Likewise.
48122 * math/e_jnl.c: Likewise.
48123 * math/e_lgammal_r.c: Likewise.
48124 * math/e_log10l.c: Likewise.
48125 * math/e_log2l.c: Likewise.
48126 * math/e_logl.c: Likewise.
48127 * math/e_powl.c: Likewise.
48128 * math/e_sinhl.c: Likewise.
48129 * math/e_sqrtl.c: Likewise.
48130 * math/e_scalb.c: Completely rewritten and optimized.
48131 * math/e_scalbf.c: Likewise.
48132 * math/e_scalbl.c: Likewise.
48133 * math/w_acos.c: Likewise.
48134 * math/w_acosf.c: Likewise.
48135 * math/w_acosl.c: Likewise.
48136 * math/w_acosh.c: Likewise.
48137 * math/w_acoshf.c: Likewise.
48138 * math/w_acoshl.c: Likewise.
48139 * math/w_asin.c: Likewise.
48140 * math/w_asinf.c: Likewise.
48141 * math/w_asinl.c: Likewise.
48142 * math/w_atan2.c: Likewise.
48143 * math/w_atan2f.c: Likewise.
48144 * math/w_atan2l.c: Likewise.
48145 * math/w_atanh.c: Likewise.
48146 * math/w_atanhf.c: Likewise.
48147 * math/w_atanhl.c: Likewise.
48148 * math/w_exp10.c: Likewise.
48149 * math/w_exp10f.c: Likewise.
48150 * math/w_exp10l.c: Likewise.
48151 * math/w_fmod.c: Likewise.
48152 * math/w_fmodf.c: Likewise.
48153 * math/w_fmodl.c: Likewise.
48154 * math/w_j0.c: Likewise.
48155 * math/w_j0f.c: Likewise.
48156 * math/w_j0l.c: Likewise.
48157 * math/w_j1.c: Likewise.
48158 * math/w_j1f.c: Likewise.
48159 * math/w_j1l.c: Likewise.
48160 * math/w_jn.c: Likewise.
48161 * math/w_jnf.c: Likewise.
48162 * math/w_log.c: Likewise.
48163 * math/w_logf.c: Likewise.
48164 * math/w_logl.c: Likewise.
48165 * math/w_log10.c: Likewise.
48166 * math/w_log10f.c: Likewise.
48167 * math/w_log10l.c: Likewise.
48168 * math/w_log2.c: Likewise.
48169 * math/w_log2f.c: Likewise.
48170 * math/w_log2l.c: Likewise.
48171 * math/w_pow.c: Likewise.
48172 * math/w_powf.c: Likewise.
48173 * math/w_powl.c: Likewise.
48174 * math/w_remainder.c: Likewise.
48175 * math/w_remainderf.c: Likewise.
48176 * math/w_remainderl.c: Likewise.
48177 * math/w_scalb.c: Likewise.
48178 * math/w_scalbf.c: Likewise.
48179 * math/w_scalbl.c: Likewise.
48180 * math/w_sqrt.c: Likewise.
48181 * math/w_sqrtf.c: Likewise.
48182 * math/w_sqrtl.c: Likewise.
48183 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
48184 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
48186 * math/math_private.h: Declare __kernel_standard_f.
48187 * math/w_cosh.c: Remove cruft and optimize a bit.
48188 * math/w_coshf.c: Likewise.
48189 * math/w_coshl.c: Likewise.
48190 * math/w_exp2.c: Likewise.
48191 * math/w_exp2f.c: Likewise.
48192 * math/w_exp2l.c: Likewise.
48193 * math/w_hypot.c: Likewise.
48194 * math/w_hypotf.c: Likewise.
48195 * math/w_hypotl.c: Likewise.
48196 * math/w_lgamma.c: Likewise.
48197 * math/w_lgamma_r.c: Likewise.
48198 * math/w_lgammaf.c: Likewise.
48199 * math/w_lgammaf_r.c: Likewise.
48200 * math/w_lgammal.c: Likewise.
48201 * math/w_lgammal_r.c: Likewise.
48202 * math/w_sinh.c: Likewise.
48203 * math/w_sinhf.c: Likewise.
48204 * math/w_sinhl.c: Likewise.
48205 * math/w_tgamma.c: Likewise.
48206 * math/w_tgammaf.c: Likewise.
48207 * math/w_tgammal.c: Likewise.
48208 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48209 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48210 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
48211 Minor optimizations. Pretty printing. Remove cruft.
48212 * sysdeps/i386/fpu/e_acosf.S: Likewise.
48213 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48214 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48215 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48216 * sysdeps/i386/fpu/e_acosl.c: Likewise.
48217 * sysdeps/i386/fpu/e_asin.S: Likewise.
48218 * sysdeps/i386/fpu/e_asinf.S: Likewise.
48219 * sysdeps/i386/fpu/e_atan2.S: Likewise.
48220 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
48221 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
48222 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48223 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48224 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48225 * sysdeps/i386/fpu/e_exp10.S: Likewise.
48226 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
48227 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
48228 * sysdeps/i386/fpu/e_exp2.S: Likewise.
48229 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
48230 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
48231 * sysdeps/i386/fpu/e_fmod.S: Likewise.
48232 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
48233 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
48234 * sysdeps/i386/fpu/e_hypot.S: Likewise.
48235 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
48236 * sysdeps/i386/fpu/e_log.S: Likewise.
48237 * sysdeps/i386/fpu/e_log10.S: Likewise.
48238 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48239 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48240 * sysdeps/i386/fpu/e_log2.S: Likewise.
48241 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48242 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48243 * sysdeps/i386/fpu/e_logf.S: Likewise.
48244 * sysdeps/i386/fpu/e_logl.S: Likewise.
48245 * sysdeps/i386/fpu/e_pow.S: Likewise.
48246 * sysdeps/i386/fpu/e_powf.S: Likewise.
48247 * sysdeps/i386/fpu/e_powl.S: Likewise.
48248 * sysdeps/i386/fpu/e_remainder.S: Likewise.
48249 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
48250 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
48251 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48252 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48253 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48254 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
48255 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
48256 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
48257 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48258 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48259 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48260 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48261 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48262 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48263 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48264 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48265 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48266 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48267 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48268 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48269 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48270 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48271 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48272 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48273 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48274 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48275 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48276 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48277 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48278 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48279 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48280 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48281 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48282 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48283 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48284 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48285 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
48286 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48287 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48288 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48289 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48290 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48291 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48292 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48293 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48294 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48295 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48296 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48297 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48298 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48299 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48300 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48301 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48302 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48303 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48304 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48305 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48306 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
48307 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48308 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48309 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48310 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48311 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48312 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48313 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48314 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48315 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48316 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48317 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48318 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48319 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48320 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48321 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48322 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48323 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48324 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48325 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
48326 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48327 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48328 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48329 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48330 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48331 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48332 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48333 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48334 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48335 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48336 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48337 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48338 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48339 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
48340 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48341 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48342 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48343 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48344 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48345 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48346 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48347 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48348 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48349 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48350 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48351 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48352 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48353 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48354 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
48355 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
48356 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
48357 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
48358 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
48359 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
48360 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
48361 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48362 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48363 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48364 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48365 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
48366 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48367 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
48368 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
48369 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
48370 (__isnanf): Likewise.
48371 (__isinf_ns): Likewise.
48372 (__isinf_nsf): Likewise.
48373 (__finite): Likewise.
48374 (__finitef): Likewise.
48375 (__ieee754_sqrt): Define as macro.
48376 (__ieee754_sqrtf): Define as macro.
48377 (__ieee754_sqrtl): Define as macro.
48378 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
48380 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
48381 __FINITE_MATH_ONLY__ consistent.
48382 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
48384 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
48386 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
48389 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
48391 2011-10-09 Ulrich Drepper <drepper@gmail.com>
48393 * po/ja.po: Update from translation team.
48395 2011-10-08 Roland McGrath <roland@hack.frob.com>
48397 * locale/programs/locarchive.c (prepare_address_space): New function.
48398 (create_archive, enlarge_archive, open_archive): Use it.
48400 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
48401 inside [SHARED], where it is used.
48403 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
48405 * nss/getent.c (netgroup_keys): Remove unused variable.
48406 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48408 2011-10-08 Ulrich Drepper <drepper@gmail.com>
48410 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
48411 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
48412 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
48413 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
48414 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
48415 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
48416 * math/Makefile (libm-calls): Add s_isinf_ns.
48417 * math/divtc3.c: Use __isinf_nsl instead of isinf.
48418 * math/multc3.c: Likewise.
48419 * math/s_casin.c: Likewise.
48420 * math/s_casinf.c: Likewise.
48421 * math/s_casinl.c: Likewise.
48422 * math/s_ccos.c: Likewise.
48423 * math/s_ccosf.c: Likewise.
48424 * math/s_ccosl.c: Likewise.
48425 * math/s_ctan.c: Likewise.
48426 * math/s_ctanf.c: Likewise.
48427 * math/s_ctanh.c: Likewise.
48428 * math/s_ctanhf.c: Likewise.
48429 * math/s_ctanhl.c: Likewise.
48430 * math/s_ctanl.c: Likewise.
48431 * math/w_fmod.c: Likewise.
48432 * math/w_fmodf.c: Likewise.
48433 * math/w_fmodl.c: Likewise.
48434 * math/w_remainder.c: Likewise.
48435 * math/w_remainderf.c: Likewise.
48436 * math/w_remainderl.c: Likewise.
48437 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
48438 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
48439 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
48440 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
48441 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
48442 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
48443 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
48444 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
48446 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
48448 * stdio-common/printf_fphex.c: Likewise.
48449 * stdio-common/printf_size.c: Likewise.
48451 * math/e_exp10.c: Include math_private.h using <...> not "...".
48452 * math/e_exp10f.c: Likewise.
48453 * math/e_exp10l.c: Likewise.
48454 * math/e_exp2l.c: Likewise.
48455 * math/e_j0l.c: Likewise.
48456 * math/e_j1l.c: Likewise.
48457 * math/e_jnl.c: Likewise.
48458 * math/e_lgammal_r.c: Likewise.
48459 * math/e_rem_pio2l.c: Likewise.
48460 * math/e_scalb.c: Likewise.
48461 * math/e_scalbf.c: Likewise.
48462 * math/e_scalbl.c: Likewise.
48463 * math/k_cosl.c: Likewise.
48464 * math/k_sinl.c: Likewise.
48465 * math/k_tanl.c: Likewise.
48466 * math/s_cacoshf.c: Likewise.
48467 * math/s_catan.c: Likewise.
48468 * math/s_catanf.c: Likewise.
48469 * math/s_catanh.c: Likewise.
48470 * math/s_catanhf.c: Likewise.
48471 * math/s_catanhl.c: Likewise.
48472 * math/s_catanl.c: Likewise.
48473 * math/s_ccosh.c: Likewise.
48474 * math/s_ccoshf.c: Likewise.
48475 * math/s_ccoshl.c: Likewise.
48476 * math/s_cexp.c: Likewise.
48477 * math/s_cexpf.c: Likewise.
48478 * math/s_cexpl.c: Likewise.
48479 * math/s_clog.c: Likewise.
48480 * math/s_clog10.c: Likewise.
48481 * math/s_clog10f.c: Likewise.
48482 * math/s_clog10l.c: Likewise.
48483 * math/s_clogf.c: Likewise.
48484 * math/s_clogl.c: Likewise.
48485 * math/s_csin.c: Likewise.
48486 * math/s_csinf.c: Likewise.
48487 * math/s_csinh.c: Likewise.
48488 * math/s_csinhf.c: Likewise.
48489 * math/s_csinhl.c: Likewise.
48490 * math/s_csinl.c: Likewise.
48491 * math/s_csqrt.c: Likewise.
48492 * math/s_csqrtf.c: Likewise.
48493 * math/s_csqrtl.c: Likewise.
48494 * math/s_ctan.c: Likewise.
48495 * math/s_ctanf.c: Likewise.
48496 * math/s_ctanh.c: Likewise.
48497 * math/s_ctanhf.c: Likewise.
48498 * math/s_ctanhl.c: Likewise.
48499 * math/s_ctanl.c: Likewise.
48500 * math/s_ldexp.c: Likewise.
48501 * math/s_ldexpf.c: Likewise.
48502 * math/s_ldexpl.c: Likewise.
48503 * math/s_significand.c: Likewise.
48504 * math/s_significandf.c: Likewise.
48505 * math/s_significandl.c: Likewise.
48506 * math/w_acos.c: Likewise.
48507 * math/w_acosf.c: Likewise.
48508 * math/w_acosh.c: Likewise.
48509 * math/w_acoshf.c: Likewise.
48510 * math/w_acoshl.c: Likewise.
48511 * math/w_acosl.c: Likewise.
48512 * math/w_asin.c: Likewise.
48513 * math/w_asinf.c: Likewise.
48514 * math/w_asinl.c: Likewise.
48515 * math/w_atan2.c: Likewise.
48516 * math/w_atan2f.c: Likewise.
48517 * math/w_atan2l.c: Likewise.
48518 * math/w_atanh.c: Likewise.
48519 * math/w_atanhf.c: Likewise.
48520 * math/w_atanhl.c: Likewise.
48521 * math/w_cosh.c: Likewise.
48522 * math/w_coshf.c: Likewise.
48523 * math/w_coshl.c: Likewise.
48524 * math/w_dremf.c: Likewise.
48525 * math/w_exp10.c: Likewise.
48526 * math/w_exp10f.c: Likewise.
48527 * math/w_exp10l.c: Likewise.
48528 * math/w_exp2.c: Likewise.
48529 * math/w_exp2f.c: Likewise.
48530 * math/w_fmod.c: Likewise.
48531 * math/w_fmodf.c: Likewise.
48532 * math/w_fmodl.c: Likewise.
48533 * math/w_hypot.c: Likewise.
48534 * math/w_hypotf.c: Likewise.
48535 * math/w_hypotl.c: Likewise.
48536 * math/w_j0.c: Likewise.
48537 * math/w_j0f.c: Likewise.
48538 * math/w_j0l.c: Likewise.
48539 * math/w_j1.c: Likewise.
48540 * math/w_j1f.c: Likewise.
48541 * math/w_j1l.c: Likewise.
48542 * math/w_jn.c: Likewise.
48543 * math/w_jnf.c: Likewise.
48544 * math/w_jnl.c: Likewise.
48545 * math/w_lgamma.c: Likewise.
48546 * math/w_lgamma_r.c: Likewise.
48547 * math/w_lgammaf.c: Likewise.
48548 * math/w_lgammaf_r.c: Likewise.
48549 * math/w_lgammal.c: Likewise.
48550 * math/w_lgammal_r.c: Likewise.
48551 * math/w_log.c: Likewise.
48552 * math/w_log10.c: Likewise.
48553 * math/w_log10f.c: Likewise.
48554 * math/w_log10l.c: Likewise.
48555 * math/w_log2.c: Likewise.
48556 * math/w_log2f.c: Likewise.
48557 * math/w_log2l.c: Likewise.
48558 * math/w_logf.c: Likewise.
48559 * math/w_logl.c: Likewise.
48560 * math/w_pow.c: Likewise.
48561 * math/w_powf.c: Likewise.
48562 * math/w_powl.c: Likewise.
48563 * math/w_remainder.c: Likewise.
48564 * math/w_remainderf.c: Likewise.
48565 * math/w_remainderl.c: Likewise.
48566 * math/w_scalb.c: Likewise.
48567 * math/w_scalbf.c: Likewise.
48568 * math/w_scalbl.c: Likewise.
48569 * math/w_sinh.c: Likewise.
48570 * math/w_sinhf.c: Likewise.
48571 * math/w_sinhl.c: Likewise.
48572 * math/w_sqrt.c: Likewise.
48573 * math/w_sqrtf.c: Likewise.
48574 * math/w_sqrtl.c: Likewise.
48575 * math/w_tgamma.c: Likewise.
48576 * math/w_tgammaf.c: Likewise.
48577 * math/w_tgammal.c: Likewise.
48579 * po/ja.po: Update from translation team.
48581 2011-09-29 Andreas Jaeger <aj@suse.de>
48584 * sunrpc/netname.c (netname2host): Fix logic.
48588 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
48590 * math/w_remainder.c (__remainder): Likewise.
48591 * math/w_remainderf.c (__remainderf): Likewise.
48592 * math/libm-test.inc (remainder_test): Add test cases.
48594 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48596 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
48599 2011-10-07 Ulrich Drepper <drepper@gmail.com>
48601 * string/test-memcmp.c: Avoid unncessary #defines.
48602 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48604 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48606 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
48607 Use new sse2 version for core i3 - i7 as it's faster
48608 than sse42 version.
48609 (bit_Prefer_PMINUB_for_stringop): New.
48610 * sysdeps/x86_64/rawmemchr.S: Update.
48611 Replace with faster SSE2 version.
48612 * sysdeps/x86_64/memrchr.S: New file.
48613 * sysdeps/x86_64/memchr.S: Update.
48614 Replace with faster SSE2 version.
48616 2011-09-12 Marek Polacek <mpolacek@redhat.com>
48618 * elf/dl-load.c (lose): Add cast to avoid warning.
48620 2011-10-07 Ulrich Drepper <drepper@gmail.com>
48622 * po/ca.po: Update from translation team.
48624 * inet/getnetgrent_r.c: Hook up nscd.
48625 * nscd/Makefile (routines): Add nscd_netgroup.
48626 (nscd-modules): Add netgroupcache.
48627 (CFLAGS-netgroupcache.c): Define.
48628 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
48629 (cache_search): Add const to second parameter.
48630 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
48632 (dbs): Add netgrdb entry.
48633 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
48634 (verify_persistent_db): Handle netgrdb.
48635 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
48636 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
48638 (netgroup_response_header): Define.
48639 (innetgroup_response_header): Define.
48640 (datahead): Add netgroup_response_header and innetgroup_response_header
48642 * nscd/nscd.conf: Add entries for netgroup cache.
48643 * nscd/nscd.h (dbtype): Add netgrdb.
48644 (_PATH_NSCD_NETGROUP_DB): Define.
48645 (netgroup_iov_disabled): Declare.
48646 (xmalloc, xcalloc, xrealloc): Move declarations here.
48647 (cache_search): Adjust prototype.
48648 Add netgroup-related prototypes.
48649 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
48650 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
48651 (__nscd_innetgr): Declare.
48652 * nscd/selinux.c (perms): Use access_vector_t as element type and
48653 add netgroup-related initializers.
48654 * nscd/netgroupcache.c: New file.
48655 * nscd/nscd_netgroup.c: New file.
48656 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
48657 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
48658 For four parameters use innetgr.
48659 * nss/nss_files/files-init.c: Add definition and callback for netgr.
48660 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
48661 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
48662 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
48664 * nscd/connections.c (register_traced_file): Don't register file
48665 for disabled databases.
48667 2011-10-06 Ulrich Drepper <drepper@gmail.com>
48669 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
48671 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
48672 from tree and freeing node.
48674 2011-09-25 Jiri Olsa <jolsa@redhat.com>
48676 * nss/nsswitch.c (__nss_database_lookup): Handle
48677 nss_parse_service_list out of memory case.
48679 2011-09-15 Jiri Olsa <jolsa@redhat.com>
48681 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
48682 out of memory case.
48684 2011-10-04 Andreas Schwab <schwab@redhat.com>
48686 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
48687 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
48689 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
48690 elf_machine_rela, elf_machine_lazy_rel.
48691 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
48692 (ELF_DYNAMIC_DO_REL): Likewise.
48693 (ELF_DYNAMIC_DO_RELA): Likewise.
48694 (ELF_DYNAMIC_RELOCATE): Likewise.
48695 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
48696 to ELF_DYNAMIC_DO_REL.
48697 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
48698 (dl_main): In trace mode always set __RTLD_NOIFUNC.
48699 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
48701 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
48702 skip_ifunc, don't call ifunc function if non-zero.
48703 (elf_machine_rela): Likewise.
48704 (elf_machine_lazy_rel): Likewise.
48705 (elf_machine_lazy_rela): Likewise.
48706 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
48707 (elf_machine_lazy_rel): Likewise.
48708 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
48710 (elf_machine_lazy_rel): Likewise.
48711 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48713 (elf_machine_lazy_rel): Likewise.
48714 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
48715 (elf_machine_lazy_rel): Likewise.
48716 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
48717 (elf_machine_lazy_rel): Likewise.
48718 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48719 (elf_machine_lazy_rel): Likewise.
48720 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
48721 (elf_machine_lazy_rel): Likewise.
48722 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
48723 (elf_machine_lazy_rel): Likewise.
48724 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48725 (elf_machine_lazy_rel): Likewise.
48727 2011-09-28 Ulrich Drepper <drepper@gmail.com>
48729 * nss/nss_files/files-init.c (_nss_files_init): Use static
48730 initialization for all the *_traced_file variables.
48732 2011-09-28 Andreas Schwab <schwab@redhat.com>
48734 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48736 2011-09-27 Roland McGrath <roland@hack.frob.com>
48739 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
48741 2011-09-27 Andreas Schwab <schwab@redhat.com>
48743 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48744 Reread the line before reparsing it.
48746 2011-09-26 Andreas Schwab <schwab@redhat.com>
48748 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
48750 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
48751 Maxim Kuvyrkov <maxim@codesourcery.com>
48752 Joseph Myers <joseph@codesourcery.com>
48754 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
48755 if needed for __stack_chk_guard.
48757 2011-09-19 Roland McGrath <roland@hack.frob.com>
48759 * sysdeps/posix/spawni.c (script_execute): Always define it.
48760 It will be optimized away if unused.
48761 (maybe_script_execute): New function.
48762 (__spawni): Call it.
48764 * Makerules: Don't include tls.make.
48765 (config-tls): Always set to thread.
48766 * tls.make.c: File removed.
48768 2011-09-19 Mike Frysinger <vapier@gentoo.org>
48770 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
48771 * config.make.in (CPPFLAGS-config): New substituted variable.
48773 2011-09-15 Ulrich Drepper <drepper@gmail.com>
48775 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
48778 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
48779 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
48781 2011-09-15 Roland McGrath <roland@hack.frob.com>
48783 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
48784 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
48785 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48786 (CALL_FAIL): Likewise.
48787 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
48788 (CALL_FAIL): Macro removed.
48789 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
48791 2011-09-15 Ulrich Drepper <drepper@gmail.com>
48793 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
48794 for __FINITE_MATH_ONLY__ == 1.
48796 2011-09-15 Andreas Schwab <schwab@redhat.com>
48798 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
48799 __ieee754_sqrt instead of sqrt.
48800 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
48801 __ieee754_sqrtf instead of sqrtf.
48802 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
48803 __floorf instead of floorf.
48804 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
48805 __floorf, __truncf instead of floorf, truncf.
48807 2011-09-14 Ulrich Drepper <drepper@gmail.com>
48809 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
48811 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
48812 __extern_always_inline.
48813 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
48816 2011-09-14 Andreas Schwab <schwab@redhat.com>
48818 * elf/rtld.c (dl_main): Also relocate in dependency order when
48819 doing symbol dependency testing.
48821 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
48823 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48824 Always define `refsym'.
48826 2011-09-13 Andreas Schwab <schwab@redhat.com>
48828 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
48829 (__FD_ELT): Renamed from __FDELT.
48830 * misc/bits/select2.h (__FD_ELT): Likewise.
48831 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
48832 __FD_MASK instead of __FDELT, __FDMASK.
48833 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48835 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48838 * elf/Makefile (gen-ldd): Fix pattern.
48840 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
48841 (init_tls): Likewise.
48843 2011-09-12 Ulrich Drepper <drepper@gmail.com>
48845 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
48847 2011-09-12 Andreas Schwab <schwab@redhat.com>
48849 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
48850 `struct cmsghdr *' instead of `void *'.
48851 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
48854 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
48856 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
48858 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
48859 ldd_rewrite_script.
48861 2011-09-11 Ulrich Drepper <drepper@gmail.com>
48863 * configure.in: Remove --with-tls option.
48864 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
48865 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
48866 out in case it is missing.
48867 * sysdeps/ia64/elf/configure.in: Likewise.
48868 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
48869 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
48870 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
48871 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
48872 * sysdeps/sh/elf/configure.in: Likewise.
48873 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
48874 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48875 * sysdeps/x86_64/elf/configure.in: Likewise.
48876 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
48877 * sysdeps/mach/hurd/tls.h: Likewise.
48880 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
48883 * configure.in: Fix use of AC_INIT.
48885 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
48887 2011-09-10 Ulrich Drepper <drepper@gmail.com>
48889 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
48891 * malloc/hooks.c: Likewise.
48894 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
48895 variables statically.
48896 (narenas): Initialize.
48897 (list_lock): Initialize.
48898 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
48899 initializtion of main_arena and list_lock. Small cleanups.
48900 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
48901 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
48902 Add initializers to main_arena and mp_.
48903 (malloc_state): Remove pagesize member. Change all users to use
48906 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
48907 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
48908 is always initialized.
48910 * malloc/malloc.c: Removed unused configurations and dead code.
48911 * malloc/arena.c: Likewise.
48912 * malloc/hooks.c: Likewise.
48913 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
48915 * include/tls.h: Removed. USE___THREAD must always be defined.
48916 * bits/libc-tsd.h: Don't handle !USE___THREAD.
48917 * elf/dl-libc.c: Likewise.
48918 * elf/dl-tsd.c: Likewise.
48919 * include/errno.h: Likewise.
48920 * include/netdb.h: Likewise.
48921 * include/resolv.h: Likewise.
48922 * inet/herrno-loc.c: Likewise.
48923 * inet/herrno.c: Likewise.
48924 * malloc/arena.c: Likewise.
48925 * malloc/hooks.c: Likewise.
48926 * malloc/malloc.c: Likewise.
48927 * resolv/res-state.c: Likewise.
48928 * resolv/res_libc.c: Likewise.
48929 * sysdeps/i386/dl-machine.h: Likewise.
48930 * sysdeps/ia64/dl-machine.h: Likewise.
48931 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48932 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48933 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48934 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48935 * sysdeps/sh/dl-machine.h: Likewise.
48936 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48937 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48938 * sysdeps/unix/i386/sysdep.S: Likewise.
48939 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48940 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
48941 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
48942 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48943 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
48944 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48945 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
48946 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48947 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48948 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48949 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48950 * sysdeps/x86_64/dl-machine.h: Likewise.
48951 * tls.make.c: Likewise.
48953 * configure.in: Remove --with-__thread option. Make tests for
48954 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
48955 tls_model attribute fail if no support is available. Remove
48957 * Makeconfig: Adjust for dropped configure option. All features are
48959 * Makerules: Likewise.
48960 * Versions.def: Likewise.
48961 * argp/argp-fmtstream.c: Likewise.
48962 * argp/argp-fmtstream.h: Likewise.
48963 * argp/argp-help.c: Likewise.
48964 * assert/assert.c: Likewise.
48965 * config.h.in: Likewise.
48966 * config.make.in: Likewise.
48967 * configure: Likewise.
48968 * configure.in: Likewise.
48969 * csu/Versions: Likewise.
48970 * csu/init.c: Likewise.
48971 * elf/tst-audit2.c: Likewise.
48972 * elf/tst-tls10.c: Likewise.
48973 * elf/tst-tls10.h: Likewise.
48974 * elf/tst-tls11.c: Likewise.
48975 * elf/tst-tls12.c: Likewise.
48976 * elf/tst-tls14.c: Likewise.
48977 * elf/tst-tlsmod11.c: Likewise.
48978 * elf/tst-tlsmod12.c: Likewise.
48979 * elf/tst-tlsmod13.c: Likewise.
48980 * elf/tst-tlsmod13a.c: Likewise.
48981 * elf/tst-tlsmod14a.c: Likewise.
48982 * elf/tst-tlsmod15b.c: Likewise.
48983 * elf/tst-tlsmod16a.c: Likewise.
48984 * elf/tst-tlsmod16b.c: Likewise.
48985 * elf/tst-tlsmod7.c: Likewise.
48986 * elf/tst-tlsmod8.c: Likewise.
48987 * elf/tst-tlsmod9.c: Likewise.
48988 * gmon/gmon.c: Likewise.
48989 * grp/fgetgrent_r.c: Likewise.
48990 * grp/putgrent.c: Likewise.
48991 * hurd/fopenport.c: Likewise.
48992 * include/libc-symbols.h: Likewise.
48993 * include/tls.h: Likewise.
48994 * intl/gettextP.h: Likewise.
48995 * intl/loadinfo.h: Likewise.
48996 * locale/global-locale.c: Likewise.
48997 * locale/localeinfo.h: Likewise.
48998 * mach/devstream.c: Likewise.
48999 * malloc/arena.c: Likewise.
49000 * malloc/set-freeres.c: Likewise.
49001 * misc/err.c: Likewise.
49002 * misc/getttyent.c: Likewise.
49003 * misc/mntent_r.c: Likewise.
49004 * posix/getopt.c: Likewise.
49005 * posix/wordexp.c: Likewise.
49006 * pwd/fgetpwent_r.c: Likewise.
49007 * resolv/Versions: Likewise.
49008 * resolv/res_hconf.c: Likewise.
49009 * shadow/fgetspent_r.c: Likewise.
49010 * shadow/putspent.c: Likewise.
49011 * stdio-common/printf_fphex.c: Likewise.
49012 * stdio-common/tmpfile.c: Likewise.
49013 * stdlib/abort.c: Likewise.
49014 * stdlib/fmtmsg.c: Likewise.
49015 * sunrpc/auth_unix.c: Likewise.
49016 * sunrpc/clnt_perr.c: Likewise.
49017 * sunrpc/clnt_tcp.c: Likewise.
49018 * sunrpc/clnt_udp.c: Likewise.
49019 * sunrpc/clnt_unix.c: Likewise.
49020 * sunrpc/openchild.c: Likewise.
49021 * sunrpc/svc_simple.c: Likewise.
49022 * sunrpc/svc_tcp.c: Likewise.
49023 * sunrpc/svc_udp.c: Likewise.
49024 * sunrpc/svc_unix.c: Likewise.
49025 * sunrpc/xdr.c: Likewise.
49026 * sunrpc/xdr_array.c: Likewise.
49027 * sunrpc/xdr_rec.c: Likewise.
49028 * sunrpc/xdr_ref.c: Likewise.
49029 * sunrpc/xdr_stdio.c: Likewise.
49031 2011-09-09 Ulrich Drepper <drepper@gmail.com>
49033 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49035 2011-07-03 Andreas Jaeger <aj@suse.de>
49037 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
49038 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
49039 regenerate with gen-libm-tests.pl.
49041 2010-05-12 Petr Baudis <pasky@suse.cz>
49044 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
49045 around j0() zero points by switching to j1().
49046 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49047 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49048 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49049 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49051 2011-09-09 Ulrich Drepper <drepper@gmail.com>
49053 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
49055 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
49057 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49058 Patch in part by Pavel Roskin <proski@gnu.org>.
49061 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
49063 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
49064 Free memory block if necessary.
49067 * libio/genops.c (INTDEF): For string streams the _lock pointer can
49068 be NULL. Don't lock in this case.
49070 2011-09-09 Roland McGrath <roland@hack.frob.com>
49072 * elf/elf.h (ELFOSABI_GNU): New macro.
49073 (ELFOSABI_LINUX): Define to that.
49075 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
49077 * string/strncat.c (strncat): Undef the symbol in case it has been
49078 defined in bits/string.h.
49080 2011-09-09 Ulrich Drepper <drepper@gmail.com>
49082 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49084 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
49087 2011-08-17 Andreas Jaeger <aj@suse.de>
49089 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49091 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
49092 Ian Lance Taylor <iant@google.com>
49094 * math/libm-test.inc (lround_test): New testcase.
49095 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49097 2011-09-08 Ulrich Drepper <drepper@gmail.com>
49099 * Makefile: Remove support for automatic cvs check-ins.
49100 * Makerules: Likewise.
49101 * config.make.in: Likewise.
49102 * configure.in: Likewise.
49103 * intl/Makefile: Likewise.
49104 * locale/Makefile: Likewise.
49105 * po/Makefile: Likewise.
49106 * posix/Makefile: Likewise.
49107 * sysdeps/gnu/Makefile: Likewise.
49108 * sysdeps/mach/hurd/Makefile: Likewise.
49109 * sysdeps/sparc/sparc32/Makefile: Likewise.
49112 * posix/Makefile (bug-regex32-ENV): Define.
49113 Patch by John Stanley <jpsinthemix@verizon.net>.
49115 * misc/Makefile (headers): Add bits/select2.h.
49116 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49117 * misc/bits/select2.h: New file.
49118 * include/bits/select2.h: New file.
49119 * debug/Makefile (routines): Add fdelt_chk.
49120 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49121 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49123 * debug/fdelt_chk.c: New file.
49125 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
49126 * wcsmbs/test-wmemcmp.c: Likewise.
49127 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
49128 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
49130 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49132 * string/Makefile (strop-tests): Add memcmp.
49133 * string/test-wmemcmp.c: New file.
49134 * string/test-memcmp.c: Add wmemcmp support.
49136 2011-09-08 Roland McGrath <roland@hack.frob.com>
49139 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
49142 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
49143 garbage value in a __mach_port_mod_refs call in the cases of the
49144 task-self and thread-self ports.
49146 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49148 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
49150 2011-09-08 Andreas Schwab <schwab@redhat.com>
49152 * elf/dl-load.c (lose): Check for non-null L.
49154 2011-09-07 Ulrich Drepper <drepper@gmail.com>
49156 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
49158 * elf/dl-libc.c (dlerror_run): Pass back error code from
49162 * elf/dl-load.c (lose): Free l_origin if it is valid.
49164 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
49166 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
49167 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49168 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49169 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49170 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
49171 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
49173 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49175 * sysdeps/powerpc/fpu/e_hypot.c: New file.
49176 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
49177 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
49178 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
49179 * sysdeps/powerpc/fpu/k_cosf.c: New file.
49180 * sysdeps/powerpc/fpu/k_sinf.c: New file.
49181 * sysdeps/powerpc/fpu/s_cosf.c: New file.
49182 * sysdeps/powerpc/fpu/s_sinf.c: New file.
49183 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
49184 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
49186 2011-08-15 Alan Modra <amodra@gmail.com>
49189 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
49190 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
49191 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
49192 ppc_mcount to static-only-routines.
49193 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
49195 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
49196 __mcount_internal with usual JUMPTARGET. Remove useless nop.
49198 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
49200 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
49201 for finite and infinity parameters.
49203 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49205 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
49206 and add nop instructions for throughput optimization.
49207 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49209 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
49211 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
49212 aligned copy for power7 with vector-scalar instructions.
49213 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49215 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
49217 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
49220 2011-09-07 Andreas Schwab <schwab@redhat.com>
49223 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
49226 2011-09-07 Ulrich Drepper <drepper@gmail.com>
49228 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49229 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
49230 syscall wrapper around clock_gettime in __vdso_clock_gettime.
49231 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
49234 2011-09-06 Ulrich Drepper <drepper@gmail.com>
49236 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
49237 Forgot to demangle the pointer.
49239 * sysdeps/i386/sysdep.h: Define atom_text_section.
49240 * sysdeps/x86_64/sysdep.h: Likewise.
49241 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
49242 section with atom_text_section.
49243 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49244 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49245 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
49246 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49247 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
49249 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
49250 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
49251 already be defined. Change to take two parameters and don't assign
49252 result to variable. Adjust all users.
49253 Define INTERNAL_GETTIME if not already defined.
49254 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
49256 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
49257 HAVE_CLOCK_GETTIME_VSYSCALL.
49258 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
49260 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
49261 gettimeofday vsyscall, just use time.
49263 2011-09-06 Andreas Schwab <schwab@redhat.com>
49265 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
49268 2011-09-06 Ulrich Drepper <drepper@gmail.com>
49270 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
49272 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
49274 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
49275 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
49276 syscall if possible.
49278 2011-09-05 Ulrich Drepper <drepper@gmail.com>
49280 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
49281 e_ident. Don't pass to find_mapsXX.
49282 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
49284 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49286 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49287 strchr-sse2-no-bsf strrchr-sse2-no-bsf
49288 * sysdeps/x86_64/multiarch/strchr.S: Update.
49289 Check bit_slow_BSF bit.
49290 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49291 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
49292 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
49294 2011-09-05 Ulrich Drepper <drepper@gmail.com>
49297 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
49299 (tryshell): Define.
49300 (__spawni): Change last parameter to be flag. Test
49301 SPAWN_XFLAGS_USE_PATH flag to use path or not.
49302 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
49303 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
49304 * posix/spawni.c: Likewise.
49305 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
49306 * posix/spawnp.c: Likewise. Change normal version to use
49307 SPAWN_XFLAGS_USE_PATH.
49308 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
49309 SPAWN_XFLAGS_TRY_SHELL.
49312 * posix/glob.h: Remove gcc 1.x support.
49315 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
49317 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49319 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49320 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
49322 * sysdeps/i386/i686/multiarch/strchr.S: New file.
49323 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
49324 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
49325 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
49326 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
49327 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
49329 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49331 * sysdeps/x86_64/wcscmp.S: New file.
49333 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
49334 wcscmp-c wcscmp-sse2
49335 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
49336 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
49337 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
49338 * wcsmbs/wcscmp.c: Allow renaming.
49340 2011-09-05 David S. Miller <davem@davemloft.net>
49342 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
49343 stack slot, rather than the struct return pointer slot.
49344 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
49345 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
49346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
49347 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
49349 2011-09-05 Ulrich Drepper <drepper@gmail.com>
49351 * po/ja.po: Update from translation team.
49354 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
49355 kernel in 64-bit binaries.
49357 2011-09-01 David S. Miller <davem@davemloft.net>
49359 * elf/elf.h (HWCAP_SPARC_*): Move to..
49360 * sysdeps/sparc/sysdep.h: this new file and add new values.
49361 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
49362 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
49363 _DL_HWCAP_COUNT to 24.
49364 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49366 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
49367 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
49368 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
49369 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
49370 instead of magic constants.
49371 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49373 2011-08-31 David S. Miller <davem@davemloft.net>
49375 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
49376 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
49377 Reimplement to do errno handling inline.
49378 (SYSCALL_ERROR_HANDLER): New macro.
49379 (__SYSCALL_STRING): Do not do errno handling in asm.
49380 (__CLONE_SYSCALL_STRING): Delete.
49381 (__INTERNAL_SYSCALL_STRING): Delete.
49382 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
49383 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
49384 (PSEUDO): Reimplement to do errno handling inline.
49385 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
49386 (SYSCALL_ERROR_HANDLER): New macro.
49387 (__SYSCALL_STRING): Do not do errno handling in asm.
49388 (__CLONE_SYSCALL_STRING): Delete.
49389 (__INTERNAL_SYSCALL_STRING): Delete.
49390 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
49391 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
49393 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
49394 (inline_syscall*): Add 'err' argument.
49395 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
49396 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
49397 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
49398 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
49400 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
49401 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49403 2011-08-30 Andreas Schwab <schwab@redhat.com>
49405 * elf/rtld.c (dl_main): Relocate objects in dependency order.
49407 2011-08-29 Jiri Olsa <jolsa@redhat.com>
49409 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
49412 2011-08-24 David S. Miller <davem@davemloft.net>
49414 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
49416 2011-08-24 Andreas Schwab <schwab@redhat.com>
49418 * elf/Makefile: Add rules to build and run unload8 test.
49419 * elf/unload8.c: New file.
49420 * elf/unload8mod1.c: New file.
49421 * elf/unload8mod1x.c: New file.
49422 * elf/unload8mod2.c: New file.
49423 * elf/unload8mod3.c: New file.
49425 * elf/dl-close.c (_dl_close_worker): Reset private search list if
49428 2011-08-23 David S. Miller <davem@davemloft.net>
49430 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
49431 subtract stack bias.
49432 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
49433 %sp not %fp in calculations.
49434 (_JMPBUF_UNWINDS_ADJ): Likewise.
49436 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
49437 (aio_suspend): Call it to force an exception region around the
49438 AIO_MISC_WAIT() invocation.
49440 2011-08-23 Andreas Schwab <schwab@redhat.com>
49442 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
49445 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
49447 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
49449 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
49450 and <dl-machine.h>.
49451 (Elf64_FuncDesc): Remove.
49453 2011-08-22 David S. Miller <davem@davemloft.net>
49455 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
49456 sigaltstack check, add missing cfi directives.
49457 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
49458 missing cfi directives, and sigaltstack handling.
49460 2011-08-16 Andreas Schwab <schwab@redhat.com>
49463 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
49464 object is seen twice.
49465 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49467 * elf/Makefile (distribute): Add tst-initorder2.c.
49468 (tests): Add tst-initorder2.
49469 (modules-names): Add tst-initorder2a tst-initorder2b
49470 tst-initorder2c tst-initorder2d. Add rules to build them.
49471 ($(objpfx)tst-initorder2.out): New rule.
49472 * elf/tst-initorder2.c: New file.
49473 * elf/tst-initorder2.exp: New file.
49475 2011-08-22 Andreas Schwab <schwab@redhat.com>
49477 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
49479 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
49480 dependencies back to end of function.
49482 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49483 $(elfobjdir)/ld.so.
49485 2011-08-21 Ulrich Drepper <drepper@gmail.com>
49487 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
49488 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
49489 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
49490 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
49491 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
49492 of __vdso_gettimeofday.
49493 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
49494 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
49496 (_libc_vdso_platform_setup): Remove initialization of
49497 __vdso_gettimeofday and __vdso_time.
49499 2011-08-20 Ulrich Drepper <drepper@gmail.com>
49501 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
49502 and fgetc_unlocked.
49503 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
49506 * elf/dl-open.c (add_to_global): Report additions to the global scope
49507 for LD_DEBUG=scopes.
49508 (dl_open_worker): Also print scope of newly loaded dependencies.
49509 (_dl_show_scope): Indicate if there is no scope.
49512 * stdio-common/Makefile (tests): Add bug24.
49513 * stdio-common/bug24.c: New file.
49515 2011-08-19 Andreas Jaeger <aj@suse.de>
49518 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
49519 non-existant file when using close-on-exec mode.
49521 2011-08-20 Ulrich Drepper <drepper@gmail.com>
49523 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
49524 the very first instruction.
49526 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
49527 the CFI state in the end.
49528 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
49529 inclusion of dl-trampoline.h.
49530 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
49532 2011-08-19 Andreas Schwab <schwab@redhat.com>
49534 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
49535 expectations for long double.
49537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
49538 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
49540 2011-08-14 David S. Miller <davem@davemloft.net>
49542 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
49543 artificual limit depends upon the system page size.
49545 2011-08-17 Ulrich Drepper <drepper@gmail.com>
49547 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
49548 * resolv/Makefile: Define CFLAGS-libresolv.
49550 2011-08-17 Andreas Schwab <schwab@redhat.com>
49552 * nss/makedb.c (compute_tables): Make variables used in nested
49555 2011-08-17 Ulrich Drepper <drepper@gmail.com>
49557 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
49558 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
49559 if buffer was too small.
49561 * elf/pldd.c (main): Attach to all threads in the process.
49562 Rewrite /proc handling to use *at functions.
49564 2011-08-16 Ulrich Drepper <drepper@gmail.com>
49566 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
49567 specifies first scope to show.
49568 (dl_open_worker): Update callers. Move printing scope of new
49569 object to before the relocation.
49570 * elf/rtld.c (dl_main): Update _dl_show_scope call.
49571 * sysdeps/generic/ldsodefs.h: Update declaration.
49573 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
49574 string for the scope number.
49576 2011-08-14 Ulrich Drepper <drepper@gmail.com>
49578 * nscd/servicescache.c (cache_addserv): Make sure written is always
49581 2011-08-14 Roland McGrath <roland@hack.frob.com>
49583 * sysdeps/i386/i486/bits/atomic.h
49584 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
49585 statement expression, so as to suppress "set but not used" warning.
49586 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
49588 * string/strncat.c (STRNCAT): Use prototype definition.
49590 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
49591 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
49593 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
49594 (localedef-modules): Add localedef.
49595 (locale-modules): Add locale.
49597 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
49598 * elf/rtld.c (dl_main): Invert order of assignment in last change,
49599 to avoid a warning.
49601 2011-08-14 David S. Miller <davem@davemloft.net>
49603 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
49604 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
49606 2011-08-13 Ulrich Drepper <drepper@gmail.com>
49608 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
49609 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
49610 * elf/rtld.c (dl_main): Set l_name of vDSO.
49611 Call _dl_show_scope when DL_DEBUG_SCOPES.
49612 (process_dl_debug): Recognize scopes flag and also set it for all.
49613 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
49614 Declare _dl_show_scope.
49616 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
49617 (do_dlopen): Pass caller_dlopen to dl_open.
49618 (__libc_dlopen_mode): Initialize caller_dlopen.
49620 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
49621 of libc. Make tolower call locale-independent. Optimize a bit by
49622 using isdigit instead of isalnum.
49623 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
49625 2011-08-12 Ulrich Drepper <drepper@gmail.com>
49627 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
49628 was a dependency or dynamically loaded.
49630 2011-08-11 Ulrich Drepper <drepper@gmail.com>
49632 * intl/l10nflist.c: Allow architecture-specific pop function.
49633 * sysdeps/x86_64/l10nflist.c: New file.
49635 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
49638 2011-08-10 Andreas Schwab <schwab@redhat.com>
49640 * include/dirent.h: Add libc_hidden_proto for scandirat and
49641 scandirat64. Don't declare __scandirat64.
49642 * dirent/scandirat.c: Add libc_hidden_def.
49643 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
49644 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
49646 2011-08-10 David S. Miller <davem@davemloft.net>
49648 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
49650 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49651 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49652 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49654 2011-08-09 Ulrich Drepper <drepper@gmail.com>
49656 * Versions.def [libc]: Add GLIBC_2.15.
49657 * dirent/Makefile (routines): Add scandirat and scandirat64.
49658 * dirent/Versions [libc]: Export scandirat and scandirat64 for
49660 * dirent/dirent.h: Declare scandirat and scandirat64.
49661 * dirent/scandirat.c: New file.
49662 * dirent/scandirat64.c: New file.
49663 * sysdeps/wordsize-64/scandirat.c: New file.
49664 * sysdeps/wordsize-64/scandirat64.c: New file.
49665 * dirent/opendir.c: Define opendirat.
49666 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
49668 * dirent/scandir64.c: Adjust for scandir.c change.
49669 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
49670 __scandirat64, and __scandir_cancel_handler.
49671 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
49672 additional parameter and use openat instead of open (outside of ld.so).
49673 Add new __opendir as wrapper around __opendirat.
49674 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
49675 here without requiring old scandirat implementation.
49677 2011-08-08 Ulrich Drepper <drepper@gmail.com>
49679 * dirent/scandir.c (cancel_handler): Renamed to
49680 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
49681 defined. Adjust users.
49682 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
49683 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
49685 2011-08-04 Ulrich Drepper <drepper@gmail.com>
49687 * string/test-string.h (IMPL): Use __STRING to expand name and then
49690 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
49693 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49695 * string/Makefile: Update.
49696 (strop-tests): Append strncat.
49697 * string/test-wcscmp.c: New file.
49698 New comprehensive test for wcscmp.
49699 * string/test-strcmp.c: Update.
49700 (WIDE): New define.
49702 2011-07-22 Andreas Schwab <schwab@redhat.com>
49704 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
49707 2011-07-26 Andreas Schwab <schwab@redhat.com>
49709 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49710 encoding to ACE if AI_IDN.
49712 2011-08-01 Jakub Jelinek <jakub@redhat.com>
49714 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
49715 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
49717 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49719 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
49720 Fix overflow bug in strncat.
49721 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
49723 * string/test-strncat.c: Update.
49724 Add new tests for checking overflow bugs.
49726 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49728 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49729 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
49730 * sysdeps/i386/i686/multiarch/strcat.S: New file.
49731 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
49732 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
49733 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
49734 * sysdeps/i386/i686/multiarch/strncat.S: New file.
49735 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
49736 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
49738 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
49739 (USE_AS_STRCAT): Define.
49740 Add strcat and strncat support.
49741 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49743 2011-07-25 Andreas Schwab <schwab@redhat.com>
49745 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
49746 __n bigger than INT_MAX+1.
49747 (__strncmp_g): Likewise.
49749 2011-07-23 Ulrich Drepper <drepper@gmail.com>
49751 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
49752 * libio/stido.h: Likewise.
49754 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
49756 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
49759 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
49760 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49761 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49762 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
49763 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49766 * scripts/test-installation.pl: Don't expect libnss_test1 to be
49769 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
49771 (_dl_x86_64_save_sse): Likewise.
49773 2011-07-22 Ulrich Drepper <drepper@gmail.com>
49775 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
49777 (_dl_x86_64_save_sse): Likewise.
49779 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
49781 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
49783 2011-07-21 Andreas Schwab <schwab@redhat.com>
49785 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
49787 (_dl_x86_64_save_sse): Use correct AVX check.
49789 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49791 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
49792 bug in strncpy/strncat.
49793 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
49795 2011-07-21 Ulrich Drepper <drepper@gmail.com>
49797 * string/tester.c (test_strcat): Add tests for different alignments
49798 of source and destination.
49799 (test_strncat): Likewise.
49801 2011-07-20 Ulrich Drepper <drepper@gmail.com>
49804 * posix/glob.c (glob): Check passed in values before using them in
49805 expressions to avoid some overflows.
49806 (glob_in_dir): Likewise.
49809 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
49810 check for AVX enablement so that we don't crash with old kernels and
49812 * elf/tst-audit4.c: Add same checks here.
49813 * elf/tst-audit6.c: Likewise.
49815 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
49817 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
49819 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
49821 2011-07-20 Ulrich Drepper <drepper@gmail.com>
49823 * po/cs.po: Update from translation team.
49824 * po/bg.po: Likewise.
49826 2011-07-12 Marek Polacek <mpolacek@redhat.com>
49828 * misc/sys/cdefs.h: Add support for const attribute.
49829 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
49830 to gnu_dev_{major,minor,makedev} functions.
49832 2011-07-20 Marek Polacek <mpolacek@redhat.com>
49834 * intl/dcigettext.c (get_output_charset): Add missing bracket.
49836 2011-07-20 Andreas Schwab <schwab@redhat.com>
49838 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
49841 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49843 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
49844 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
49845 register in order to avoid conflicts with the soft frame pointer
49846 being held in r11 when necessary.
49847 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
49848 (INTERNAL_VSYSCALL_NCS): Likewise.
49850 2011-07-14 Marek Polacek <mpolacek@redhat.com>
49852 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
49853 * elf/dl-fini.c (_dl_fini): Adjust caller.
49854 * elf/dl-close.c (_dl_close_worker): Likewise.
49855 * sysdeps/generic/ldsodefs.h: Adjust declaration.
49857 2011-07-15 Marek Polacek <mpolacek@redhat.com>
49859 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
49860 "aux_cache->nlibs < 0".
49862 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
49863 in the reload-count case.
49865 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49867 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49868 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
49869 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
49870 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
49871 * sysdeps/x86_64/multiarch/strcat.S: New file.
49872 * sysdeps/x86_64/multiarch/strncat.S: New file.
49873 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
49874 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
49875 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
49876 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
49877 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
49878 (USE_AS_STRCAT): Define.
49879 Add strcat and strncat support.
49880 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49881 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49882 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
49883 * string/strncat.c: Update.
49884 (USE_AS_STRNCAT): Define.
49885 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49886 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
49888 * sysdeps/x86_64/multiarch/init-arch.h
49889 (bit_Prefer_PMINUB_for_stringop): New.
49890 (index_Prefer_PMINUB_for_stringop): Likewise.
49891 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
49892 bit_Prefer_PMINUB_for_stringop.
49894 2011-07-19 Ulrich Drepper <drepper@gmail.com>
49896 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
49898 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
49899 of casting of buffer.
49900 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
49901 buffer32 and buffer64.
49902 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
49903 writes instead of casting of buffer.
49904 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
49906 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
49909 2011-07-19 Andreas Schwab <schwab@redhat.com>
49911 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
49913 2011-07-19 Ulrich Drepper <drepper@gmail.com>
49915 * nscd/nscd.c (termination_handler): Don't do anything for a database
49916 if it has not yet been initialized.
49918 2011-07-18 Ulrich Drepper <drepper@gmail.com>
49920 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49922 2011-07-15 Marek Polacek <mpolacek@redhat.com>
49924 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49926 2011-07-18 Ulrich Drepper <drepper@gmail.com>
49928 * po/nl.po: Update from translation team.
49929 * po/sv.po: Likewise.
49931 2011-07-16 Roland McGrath <roland@hack.frob.com>
49933 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
49934 now disallowed by GCC.
49936 * configure.in (use-default-link): Default to yes if a test -shared
49937 link meets our qualifications.
49938 * configure: Regenerated.
49940 * config.make.in (output-format): New variable.
49941 * configure.in: Check for ld --print-output-format support.
49942 * configure: Regenerated.
49943 * Makerules ($(common-objpfx)format.lds)
49944 [$(output-format) != unknown]: Just use $(output-format),
49945 instead of the linker-script munging.
49947 2011-07-14 Roland McGrath <roland@hack.frob.com>
49949 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
49950 of $(common-objpfx)shlib.lds.
49951 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
49953 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
49954 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
49956 * configure.in (-z relro check): Adjust test code to add a large
49957 writable data section after it.
49958 * configure: Regenerated.
49960 2011-07-11 Roland McGrath <roland@hack.frob.com>
49962 * configure.in (-z relro check): Fix test code to make the variable
49964 * configure: Regenerated.
49966 2011-07-11 Ulrich Drepper <drepper@gmail.com>
49968 * nscd/nscd.h (struct traced_file): Define.
49969 (struct database_dyn): Remove inotify_descr, reset_res, and filename
49970 elements. Add traced_files.
49971 (inotify_fd): Declare.
49972 (register_traced_file): Declare.
49973 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49974 (inotify_fd): Export.
49975 (resolv_conf_descr): Remove.
49976 (nscd_init): Move inotify descriptor creation to main.
49977 Don't register files for notification here.
49978 (register_traced_file): New function.
49979 (invalidate_cache): Don't use reset_res to determine whether to call
49980 res_init, go through the list of registered files.
49981 (main_loop_poll): The inotify descriptors are now stored in the
49982 structures for the traced files.
49983 (main_loop_epoll): Likewise
49984 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
49985 to __nss_disable_nscd.
49986 * nscd/cache.c (prune_cache): There is no single inotify descriptor
49987 for a database anymore. Check the records for all the registered
49989 * nss/Makefile (libnss_files-routines): Add files-init.
49990 (libnss_db-routines): Add db-init.
49991 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
49992 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
49993 * nss/nss_db/db-init.c: New file.
49994 * nss/nss_files/files-init.c: New file.
49995 * nss/nsswitch.c (nss_load_library): New function. Broken out of
49996 __nss_lookup_function.
49997 (__nss_lookup_function): Call nss_load_library.
49998 (nss_load_all_libraries): New function.
49999 (__nss_disable_nscd): Take parameter with callback function for files
50000 to register. Set is_nscd. Load all the DSOs for the NSS modules
50001 used for the cached services.
50002 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
50003 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
50004 options for features to all the files in nscd.
50006 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
50008 2011-07-10 Roland McGrath <roland@hack.frob.com>
50010 * csu/elf-init.c (__libc_csu_init): Comment typo.
50012 2011-07-09 Ulrich Drepper <drepper@gmail.com>
50014 * po/pl.po: Update from translation team.
50015 * po/ja.po: Likewise.
50016 * po/ru.po: Likewise.
50017 * po/ko.po: Likewise.
50018 * po/fr.po: Likewise.
50020 2011-07-09 Roland McGrath <roland@hack.frob.com>
50022 * configure.in (.ctors/.dtors header and trailer check):
50023 Use an empirical test on a built program.
50024 * configure: Regenerated.
50026 * configure.in (-z relro check): Use an empirical test on a built DSO.
50027 Detect, but do not require, on ia64.
50028 * configure: Regenerated.
50030 * configure.in (READELF): Find it with AC_CHECK_TOOL.
50031 Update tests that use readelf to use $READELF instead.
50032 * configure: Regenerated.
50034 2011-07-08 Ulrich Drepper <drepper@gmail.com>
50036 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
50037 if the result is not used.
50039 2011-07-05 Andreas Jaeger <aj@suse.de>
50042 * stdlib/tst-strtod.c: Add testcase.
50044 2011-07-07 Ulrich Drepper <drepper@gmail.com>
50046 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
50047 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
50048 The latter has a higher limit. Take additional parameter to pass to
50050 (__pathconf): Pass file to __statfs_link_max.
50051 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
50053 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
50057 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
50058 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50060 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
50061 (__statfs_filesize_max): Likewise.
50062 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50064 2011-07-05 Andreas Jaeger <aj@suse.de>
50066 * resolv/res_comp.c (dn_skipname): Remove unused variable.
50068 2011-07-06 Marek Polacek <mpolacek@redhat.com>
50070 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50072 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50075 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
50077 * Makefile (strop-tests): Add strncat.
50078 * string/test-strncat.c: New file.
50080 2011-06-30 Marek Polacek <mpolacek@redhat.com>
50082 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50084 2011-06-21 Andreas Jaeger <aj@suse.de>
50086 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50087 Copy rule from iconvdata/Makefile.
50089 2011-07-06 Ulrich Drepper <drepper@gmail.com>
50092 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50093 but no long options are defined, just return 'W'.
50095 2011-06-22 Marek Polacek <mpolacek@redhat.com>
50098 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50100 2011-07-06 Ulrich Drepper <drepper@gmail.com>
50102 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50104 (innetgr): Likewise.
50106 2011-07-05 Roland McGrath <roland@hack.frob.com>
50108 * config.make.in (install_root): Default to $(DESTDIR).
50110 2011-07-05 Ulrich Drepper <drepper@gmail.com>
50112 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50114 2011-07-02 Roland McGrath <roland@hack.frob.com>
50116 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50118 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50119 containing directory rather than embedding absolute directory names.
50121 * scripts/check-local-headers.sh: Rewritten using awk.
50122 Match by word, not by line. Print error messages for matches.
50123 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50125 * Makerules [shlib-lds-flags empty]:
50126 ($(common-objpfx)libc_pic.opts): New target.
50127 ($(common-objpfx)libc_pic.os.clean): New target.
50128 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
50130 * config.make.in (OBJCOPY): New variable.
50131 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
50132 * configure: Regenerated.
50134 * config.make.in (use-default-link): New variable.
50135 * configure.in (use_default_link): Grok --with-default-link to set it.
50136 * configure: Regenerated.
50137 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
50138 (shlib-lds, shlib-lds-flags): Define to empty.
50140 * Makerules (shlib-lds): New variable.
50141 (shlib-lds-flags): New variable.
50142 (build-shlib, build-moduile, build-module-asneeded): Use it.
50143 ($(common-objpfx)libc.so): Use $(shlib-lds).
50144 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
50145 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
50147 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
50148 DT_FLAGS/DT_FLAGS_1 with zero flags.
50150 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
50151 linker script munging.
50153 2011-07-02 Ulrich Drepper <drepper@gmail.com>
50155 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
50157 * crypt/sha512.c (sha512_process_block): Perform total addition using
50158 128-bit if possible.
50159 (__sha512_finish_ctx): Likewise.
50160 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
50162 * crypt/sha256.c (SWAP64): Define.
50163 (sha256_process_block): Perform total addition using 64-bit if
50165 (__sha256_finish_ctx): Likewise.
50167 2011-07-01 Ulrich Drepper <drepper@gmail.com>
50169 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
50170 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50171 * nscd/hstcache.c (cache_addhst): Likewise.
50172 * nscd/grpcache.c (cache_addgr): Likewise.
50173 * nscd/aicache.c (addhstaiX): Likewise
50174 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
50176 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
50178 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
50179 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50180 * nscd/hstcache.c (cache_addhst): Likewise.
50181 * nscd/grpcache.c (cache_addgr): Likewise.
50182 * nscd/aicache.c (addhstaiX): Likewise
50184 2011-07-01 Andreas Schwab <schwab@redhat.com>
50186 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
50187 domain only when needed.
50189 2011-06-30 Andreas Schwab <schwab@redhat.com>
50191 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
50192 is always restored.
50194 2011-06-29 Ulrich Drepper <drepper@gmail.com>
50196 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
50197 are re-adding the entry.
50198 * nscd/servicescache.c (cache_addserv): Likewise.
50200 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
50202 * sysdeps/generic/dl-irel.h: fix protection against multiple
50204 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
50206 2011-06-28 Ulrich Drepper <drepper@gmail.com>
50209 * malloc/memusage.sh: Fix quoting in message.
50210 * debug/xtrace.sh: Likewise.
50212 * configure.in: Remove support for --experimental-malloc option, make
50214 * config.make.in: Likewise.
50215 * malloc/Makefile: Likewise.
50217 2011-06-27 Andreas Schwab <schwab@redhat.com>
50219 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
50220 two-byte characters.
50222 2011-06-27 Roland McGrath <roland@hack.frob.com>
50224 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
50225 AC_CACHE_CHECK invocation.
50226 * configure: Regenerated.
50228 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
50230 2011-06-27 Ulrich Drepper <drepper@gmail.com>
50233 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
50234 bit from old_res_options.
50236 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
50238 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
50239 value type for setfct.
50241 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
50243 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50244 __gettimeofday instead of gettimeofday.
50246 2011-06-26 Ulrich Drepper <drepper@gmail.com>
50248 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
50250 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
50252 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
50254 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
50257 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50259 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50260 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50261 strcpy-sse2-unaligned strncpy-sse2-unaligned
50262 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
50263 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
50264 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
50265 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
50266 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
50267 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
50268 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
50269 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
50270 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
50271 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
50272 (STRCPY): Support SSE2 and SSSE3 versions.
50274 2011-06-24 Ulrich Drepper <drepper@gmail.com>
50277 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
50278 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
50279 kernels which artificially limit size of requests.
50281 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50283 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50284 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50285 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
50286 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
50287 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
50288 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
50289 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
50290 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
50291 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
50292 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
50293 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
50294 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
50295 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
50296 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
50297 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
50298 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50299 Enable unaligned load optimization for Intel Core i3, i5 and i7
50301 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
50303 (index_Fast_Unaligned_Load): Define.
50304 (HAS_FAST_UNALIGNED_LOAD): Define.
50306 2011-06-23 Marek Polacek <mpolacek@redhat.com>
50308 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
50310 2011-06-22 Ulrich Drepper <drepper@gmail.com>
50313 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
50314 until it is clear that the information is realy needed.
50315 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
50317 2011-06-22 Andreas Schwab <schwab@redhat.com>
50319 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
50321 2011-06-22 Ulrich Drepper <drepper@gmail.com>
50323 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50324 /sys/devices/system/cpu/online if it is usable.
50326 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
50327 reading the information from the /proc filesystem to once a second.
50329 2011-06-21 Andreas Jaeger <aj@suse.de>
50331 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
50332 NULL after inclusion of kernel headers.
50334 2011-06-21 Ulrich Drepper <drepper@gmail.com>
50336 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
50337 calls to internal_setent.
50340 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
50341 addresses using gethostbyname4_r ignore IPv4 addresses.
50343 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
50344 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
50346 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
50348 2011-06-20 David S. Miller <davem@davemloft.net>
50350 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
50352 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
50354 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
50355 (elf_irel): Use it.
50356 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
50357 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
50358 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
50359 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
50360 * sysdeps/x86_64/dl-irel.h: Likewise.
50362 * elf/dl-runtime.c: Use elf_ifunc_invoke.
50363 * elf/dl-sym.c: Likewise.
50365 2011-06-15 Ulrich Drepper <drepper@gmail.com>
50367 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
50368 need to dereference resplen2.
50370 2011-06-14 Andreas Schwab <schwab@redhat.com>
50372 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
50374 2011-06-15 Ulrich Drepper <drepper@gmail.com>
50376 * Makeconfig: Define vardbdir and inst_vardbdir.
50377 * nss/Makefile: Add rules to install db-Makefile.
50379 * nss/nss_db/db-XXX.c: Cleanup.
50381 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
50382 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
50384 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
50385 * nss/makedb.c: Implement -g option to specify that value strings
50386 are generated and should not be added to table iterated over for
50388 * nss/nss_db/db-initgroups.c: New file.
50390 * nss/getent.c: Add support for initgroups lookups through getgrouplist
50393 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
50394 (internal_getgrouplist): Adjust to name change.
50395 Update use_initgroups_entry if this is not the first call.
50396 * nss/databases.def: Add initgroups entry.
50398 * nss/makedb.c (compute_tables): Check result of multiple hash table
50399 sizes to minimize maximum chain length.
50401 2011-06-14 Ulrich Drepper <drepper@gmail.com>
50403 * Versions.def: Add entry for libnss_db.
50404 * shlib-versions: Likewise.
50405 * nss/Makefile: Add rules to build libnss_db.
50406 * nss/Versions: Add libnss_db information. Organize libnss_files
50408 * nss/db-Makefile: Add gshadow support. Change rules for the new
50409 makedb progra. Some minor improvements to generate smaller files.
50410 * nss/nss_db/nss_db.h: Move NSS database header data structures to
50412 * nss/makedb.c: ...here.
50413 Improve database format to be smaller and require less memory at
50415 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
50417 * nss/nss_db/db-netgrp.c: Likewise.
50418 * nss/nss_db/db-open.c: Likewise.
50419 * nss/nss_files/flies-XXX.x: Adjust comments.
50420 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
50421 * nss/nss_files/files-grp.c: Likewise.
50422 * nss/nss_files/files-hosts.c: Likewise.
50423 * nss/nss_files/files-network.c: Likewise.
50424 * nss/nss_files/files-proto.c: Likewise.
50425 * nss/nss_files/files-pwd.c: Likewise.
50426 * nss/nss_files/files-rpc.c: Likewise.
50427 * nss/nss_files/files-service.c: Likewise.
50428 * nss/nss_files/files-sgrp.c: Likewise.
50429 * nss/nss_files/files-spwd.c: Likewise.
50430 * nss/nss_db/db-alias.c: Removed.
50431 * nss/nss_db/dummy-db.h: Removed.
50433 2011-06-02 Ulrich Drepper <drepper@gmail.com>
50435 * nss/makedb.c: Rewritten to not use database library.
50436 * nss/Makefile: Update to build new makedb program.
50438 2011-06-14 Andreas Jaeger <aj@suse.de>
50440 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
50441 memset declaration.
50443 2011-06-10 Andreas Schwab <schwab@redhat.com>
50445 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
50448 2011-06-10 Roland McGrath <roland@hack.frob.com>
50450 * Makerules (shlib.lds): Fail if the linker script comes out empty.
50451 * elf/Makefile ($(objpfx)ld.so): Likewise.
50453 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
50454 Don't list ld.so twice in dependencies.
50456 * posix/bug-regex31.c: Include <stdlib.h>.
50458 * nscd/hstcache.c (cache_addhst): Remove unused variable.
50460 * nis/nss_compat/compat-spwd.c
50461 (getspent_next_nss_netgr): Remove unused variable.
50462 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
50464 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
50465 nonmembers" output to use the right array.
50467 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
50469 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
50471 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
50472 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
50473 * catgets/gencat.c (read_input_file): Likewise.
50474 * locale/programs/locarchive.c (enlarge_archive): Likewise.
50476 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
50477 variable definition inside #if's controlling its use.
50479 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
50481 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
50483 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
50485 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
50488 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
50490 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
50491 * configure: Regenerated.
50493 * Makerules: Revert last change.
50494 * elf/Makefile: Likewise.
50496 2011-06-09 Roland McGrath <roland@hack.frob.com>
50498 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
50499 * elf/Makefile ($(objpfx)librtld.os): Likewise.
50500 (reloc-link): Likewise.
50502 2011-06-09 Ulrich Drepper <drepper@gmail.com>
50504 * elf/Makefile: Add rules to build pldd.
50505 * elf/pldd.c: New file.
50506 * elf/pldd-xx.c: New file.
50508 2011-06-07 Ulrich Drepper <drepper@gmail.com>
50510 * version.h: Update for 2.15 development version.
50512 2011-06-07 David S. Miller <davem@davemloft.net>
50514 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
50516 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
50517 elf_machine_lazy_rel): Likewise.
50518 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50519 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
50520 elf_machine_lazy_rel): Likewise.
50521 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
50522 dl_hwcap via passed in argument.
50523 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
50526 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50528 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
50530 2011-06-06 Roland McGrath <roland@hack.frob.com>
50533 * manual/fdl-1.1.texi: New file, verbatim from:
50534 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
50535 * manual/lgpl-2.1.texi: New file, verbatim from:
50536 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
50537 * manual/Makefile (licenses): New variable, list those new file names.
50539 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
50541 * manual/fdl.texi: File removed.
50542 * manual/lesser.texi: File removed.
50543 * manual/libc.texinfo (Copying, Documentation License):
50544 Use new @include file names, put @appendix directive before @include.
50546 2011-06-04 Jakub Jelinek <jakub@redhat.com>
50549 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
50550 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
50551 (mq_open): Add __NTH.
50553 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
50555 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50556 Assume Intel Core i3/i5/i7 processor if AVX is available.
50558 2011-05-31 Ulrich Drepper <drepper@gmail.com>
50560 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50563 2011-05-31 Andreas Schwab <schwab@redhat.com>
50565 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
50566 memory. Use alloca_account. Fix memory leak when retrying.
50568 2011-05-31 Ulrich Drepper <drepper@gmail.com>
50570 * version.h (RELEASE): Bump for 2.14 release.
50571 * include/features.h (__GLIBC_MINOR__): Bump to 14.
50573 * config.make.in (RANLIB): Remove entry.
50575 2011-05-30 Ulrich Drepper <drepper@gmail.com>
50577 * po/Makefile (po-sed-cmd): Add ksh to extensions.
50578 (libc.pot): Work around missing support for .ksh extension in xgettext.
50581 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
50582 if both request failed.
50583 (send_dg): In case of server errors clear resplen or *resplen2.
50586 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
50587 when there are multiple maps.
50588 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
50589 (_dl_fini): Remove test here.
50591 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
50593 2011-05-29 Ulrich Drepper <drepper@gmail.com>
50596 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
50597 bit from old_res_options.
50598 (gaih_inet): Likewise.
50601 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
50604 * resolv/res_init.c (res_setoptions): Make the code more compact.
50607 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
50611 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
50613 * malloc/malloc.h: Mark malloc hook variables as deprecated.
50616 * malloc/malloc.h: Declare malloc hook variables as volatile.
50618 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
50622 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
50623 raise in the comment.
50624 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
50625 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50626 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
50628 2011-05-28 Ulrich Drepper <drepper@gmail.com>
50631 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
50632 grow the buffers more if it already has to be sufficient.
50633 (build_wcs_upper_buffer): Likewise.
50634 * posix/regexec.c (check_matching): Likewise.
50635 (clean_state_log_if_needed): Likewise.
50636 (extend_buffers): Don't enlarge buffers beyond size of the input
50638 Patches mostly by Emil Wojak <emil@wojak.eu>.
50639 * posix/bug-regex32.c: New file.
50640 * posix/Makefile (tests): Add bug-regex32.
50642 * locale/findlocale.c (_nl_find_locale): Return right away if
50643 _nl_explode_name failed.
50644 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
50646 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
50648 * debug/xtrace.sh: Unify messages.
50649 * malloc/memusage.sh: Likewise.
50652 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
50653 time symbol from vDSO. Substitute with vsyscall if not available.
50654 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
50657 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
50658 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
50659 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
50660 Add sendmmsg and internal_sendmmsg.
50661 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
50662 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
50663 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
50665 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
50666 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
50667 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
50669 2011-05-27 Ulrich Drepper <drepper@gmail.com>
50672 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
50673 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
50675 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
50679 * iconvdata/Makefile (tests): Add bug-iconv9.
50680 * iconvdata/bug-iconv9.c: New file.
50682 2011-05-27 Andreas Schwab <schwab@redhat.com>
50685 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
50687 2011-05-25 Jakub Jelinek <jakub@redhat.com>
50689 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50690 (struct user_regs_struct): Change intcs field back to cs.
50692 2011-05-25 Ulrich Drepper <drepper@gmail.com>
50694 * po/ja.po: Update from translation team.
50696 2011-05-23 Ulrich Drepper <drepper@gmail.com>
50699 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
50700 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
50702 2011-05-20 Andreas Schwab <schwab@redhat.com>
50704 * stdlib/longlong.h: Update from GCC.
50706 2011-05-23 Andreas Schwab <schwab@redhat.com>
50708 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
50710 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
50711 Add parameter name.
50712 (__sysconf): Pass it down.
50714 2011-05-22 Ulrich Drepper <drepper@gmail.com>
50717 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
50719 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50720 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
50721 add in in __libc_use_alloca calls. Adjust callers.
50722 (glob): Use malloc in some situations.
50724 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
50725 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
50728 2011-05-21 Ulrich Drepper <drepper@gmail.com>
50730 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
50731 and CLOCK_BOOTTIME_ALARM.
50734 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
50737 * string/_strerror.c (__strerror_r): Print negative errors as signed
50741 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
50742 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
50743 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
50745 * configure.in: Fix typo in redirection and correct removal of test
50746 files in two cases.
50749 * locale/setlocale.c (new_composite_name): Fix test to check for
50750 identical name of all categories.
50753 * libio/filedoalloc.c (local_isatty): New function.
50754 (_IO_file_doallocate): Use local_isatty.
50755 * stdio-common/perror.c (perror): In case a new stream is used
50756 forward the stream error.
50757 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
50760 2011-05-20 Ulrich Drepper <drepper@gmail.com>
50763 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
50765 * include/alloca.h (extend_alloca_account): Define.
50768 * posix/regex.h: Fix comments with documentation of user-accessible
50769 fields after compilation and describe correct free'ing of pattern
50770 after re_compile_pattern.
50771 Patch by Reuben Thomas <rrt@sc3d.org>.
50773 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
50775 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
50776 and -mno-altivec to prevent the compiler from using Altivec and/or
50777 VSX instructions when the corresponding registers are not available.
50779 2011-05-19 Andreas Schwab <schwab@redhat.com>
50781 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
50783 2011-05-19 Ulrich Drepper <drepper@gmail.com>
50785 * libio/freopen.c (freopen): Use __dup2, not dup2.
50786 * libio/freopen64.c (freopen64): Likewise.
50788 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
50791 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
50792 * math/Makefile (tests): Add test-powl.
50793 (CFLAGS-test-powl.c): Define.
50794 * math/test-powl.c: New file.
50796 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
50798 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
50800 2011-05-17 Ulrich Drepper <drepper@gmail.com>
50803 * iconvdata/gb18030.c: Update to GB18020-2005.
50805 2011-05-16 Ulrich Drepper <drepper@gmail.com>
50807 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
50808 RE_SYNTAX_POSIX_AWK): Update to match recent development.
50809 Patch by Aharon Robbins <arnold@skeeve.com>.
50812 * stdlib/putenv.c (putenv): Don't always create copy of the variable
50816 * misc/pselect.c (__pselect): Handle timeout value errors hidden
50817 through underflows.
50820 * misc/error.c (error_at_line): Ensure file_name and old_file_name
50821 point to strings before performing equality test for error_one_per_line
50825 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
50828 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50829 (struct user_fpregs_struct): Avoid __uint*_t types.
50832 * malloc/mtrace.c (tr_where): Add additional parameter to point to
50833 symbol info. Use it instead of calling _dl_addr locally.
50834 (lock_and_info): New function.
50835 (tr_freehook): Call lock_and_info and pass symbol info as additional
50836 parameter to tr_where.
50837 (tr_mallochook): Likewise.
50838 (tr_reallochook): Likewise.
50839 (tr_memalignhook): Likewise.
50841 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
50842 used and couldn't be at all thread-safe.
50844 2011-05-15 Ulrich Drepper <drepper@gmail.com>
50846 * libio/freopen.c (freopen): Don't close old file descriptor
50847 before the new one is opened. Instead dup the new file descriptor
50848 to the old one after the new stream is created.
50849 * libio/freopen64.c (freopen64): Likewise.
50850 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
50851 * libio/fileops.c (_IO_new_file_close_it): Handle new
50852 _IO_FLAGS2_NOCLOSE flag.
50853 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
50854 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
50855 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
50856 _IO_FLAGS2_NOCLOSE flag.
50857 * include/unistd.h: Add hidden_proto for dup3.
50858 Define __have_dup3.
50859 * io/dup3.c: Define hidden symbol.
50860 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
50863 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
50864 when an incomplete long option is used.
50865 * posix/tst-getopt_long1.c: New file.
50866 * posix/Makefile (tests): Add tst-getopt_long1.
50869 * scripts/config.guess: Update from autoconf-2.68.
50870 * scripts/config.sub: Likewise.
50873 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
50875 (has_cpuclock): ...this. New function.
50876 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
50877 macro here based on has_cpuclock code.
50880 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50881 First byte (not low byte) is now always NUL.
50882 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
50884 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50885 Use non-cancelable interfaces.
50888 * locale/iso-639.def: Add entry for Sorani.
50891 * include/stdlib.h: Move include protection to the right place.
50892 Define abort_msg_s. Declare __abort_msg with it.
50893 * stdlib/abort.c (__abort_msg): Adjust type.
50894 * assert/assert.c (__assert_fail_base): New function. Majority
50895 of code from __assert_fail. Allocate memory for __abort_msg with
50897 (__assert_fail): Now call __assert_fail_base.
50898 * assert/assert-perr.c: Remove bulk of implementation. Use
50899 __assert_fail_base.
50900 * include/assert.hL Declare __assert_fail_base.
50901 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
50903 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
50905 2011-05-14 Ulrich Drepper <drepper@gmail.com>
50909 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
50910 until all modules are registered in the DTV.
50911 * elf/Makefile: Add rules to build and run tst-tls19.
50912 * elf/tst-tls19.c: New file.
50913 * elf/tst-tls19mod1.c: New file.
50914 * elf/tst-tls19mod2.c: New file.
50915 * elf/tst-tls19mod3.c: New file.
50916 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
50919 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
50923 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
50924 two-byte sequence errors.
50925 * iconvdata/Makefile (tests): Add bug-iconv8.
50926 * iconvdata/bug-iconv8.c: New file.
50929 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
50932 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
50935 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
50936 (dummy_getcfa): New function.
50937 (init): Get _Unwind_GetCFA address, use dummy if not found.
50938 (backtrace_helper): In recursion check, also check whether CFA changes.
50939 (__backtrace): Completely initialize arg.
50941 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
50942 storing incomplete byte sequence in state object. Avoid testing for
50943 guaranteed too small input if we know there is enough data available.
50945 2011-05-11 Andreas Schwab <schwab@redhat.com>
50947 * Makeconfig (+link-pie): Indent.
50948 * Rules (binaries-pie): Define if $(have-fpie) and
50950 (binaries-shared): Also filter out $(binaries-pie).
50951 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
50952 * nscd/Makefile (others-pie): Add nscd.
50953 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
50954 ($(objpfx)nscd): Remove command override.
50955 * login/Makefile (others-pie): Add pt_chown.
50956 ($(objpfx)pt_chown): Remove command override.
50957 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
50958 remove command overrides.
50960 2011-05-13 Ulrich Drepper <drepper@gmail.com>
50962 * libio/tst_putwc.c: Fix error messages.
50965 * libio/fileops.c (_IO_new_file_close_it): Always flush when
50966 currently writing and seek to current position when not.
50967 * libio/Makefile (tests): Add bug-fclose1.
50968 * libio/bug-fclose1.c: New file.
50970 2011-05-12 Ulrich Drepper <drepper@gmail.com>
50973 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50974 don't set DF_1_NODELETE here.
50975 (do_lookup_x): When entering new entry test for copy relocation
50976 and if necessary set DF_1_NODELETE flag.
50977 * elf/tst-unique4.cc: New file.
50978 * elf/tst-unique4.h: New file.
50979 * elf/tst-unique4lib.cc: New file.
50980 * elf/Makefile: Add rules to build and run tst-unique4.
50981 Patch by Piotr Bury <pbury@goahead.com>.
50983 2011-05-11 Ulrich Drepper <drepper@gmail.com>
50986 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
50989 * misc/mntent_r.c (addmntent): Flush the stream after the output
50992 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
50993 (is_trusted_path_normalize): Skip initial colon. Append slash
50994 to empty buffer. Duplicate is_trusted_path code but allow
50995 constructed patch to be prefix.
50996 (is_dst): Allow $ORIGIN followed by /.
50997 (_dl_dst_substitute): Correct clearing of check_for_trusted.
50998 Correct testing of result of is_trusted_path_normalize
50999 (decompose_rpath): Fix warning.
51001 2011-05-10 Ulrich Drepper <drepper@gmail.com>
51004 * grp/initgroups.c (internal_getgrouplist): When we found the service
51005 list through the initgroups entry in nsswitch.conf do not always
51006 continue on a successful lookup. Don't always use the
51007 __nss_group_database value if it is set.
51008 * nss/nsswitch.conf (initgroups): Change action for successful db
51009 lookup to continue for compatibility.
51011 2011-05-09 Ulrich Drepper <drepper@gmail.com>
51014 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
51016 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
51018 * iconvdata/tst-tables.sh: Likewise.
51019 * iconvdata/cp770.c: New file.
51020 * iconvdata/cp771.c: New file.
51021 * iconvdata/cp772.c: New file.
51022 * iconvdata/cp773.c: New file.
51023 * iconvdata/cp774.c: New file.
51024 * iconvdata/testdata/CP770: New file.
51025 * iconvdata/testdata/CP770..UTF8: New file.
51026 * iconvdata/testdata/CP771: New file.
51027 * iconvdata/testdata/CP771..UTF8: New file.
51028 * iconvdata/testdata/CP772: New file.
51029 * iconvdata/testdata/CP772..UTF8: New file.
51030 * iconvdata/testdata/CP773: New file.
51031 * iconvdata/testdata/CP773..UTF8: New file.
51032 * iconvdata/testdata/CP774: New file.
51033 * iconvdata/testdata/CP774..UTF8: New file.
51035 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
51037 * iconvdata/gen-8bit-gap.sh: Likewise.
51038 * iconvdata/gen-8bit.sh: Likewise.
51040 * locale/iso-639.def: Add ary entry.
51043 * locale/C-translit.h.in: Add U20A1 transliteration.
51046 * locale/iso-639.def: Add wae entry.
51047 Patch by Kevin Bortis <bortis@translate-wae.ch>.
51050 * locale/programs/localedef.c (construct_output_path): Use ssize_t
51054 * locale/C-translit.h.in: Add entry for U20B9.
51055 Patch by pravin.d.s@gmail.com.
51057 2011-05-08 Ulrich Drepper <drepper@gmail.com>
51060 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51061 ENAMETOOLONG use generic getcwd.
51062 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
51063 in rtld. Use *stat64.
51064 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
51065 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
51066 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
51067 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51068 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51069 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51070 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51071 __fstatat64 macros.
51072 * include/dirent.h: Add libc_hidden_proto for rewinddir.
51073 * dirent/rewinddir.c: Add libc_hidden_def.
51074 * sysdeps/mach/hurd/rewinddir.c: Likewise.
51075 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
51077 * include/dirent.h (__alloc_dir): Add flags parameter.
51078 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51079 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51081 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
51082 from fdopendir if O_CLOEXEC is already set.
51084 2011-03-15 Alan Modra <amodra@gmail.com>
51086 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51087 l_tls_firstbyte_offset non-zero. Save padding offset in
51088 l_tls_firstbyte_offset for later use.
51089 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51090 freeing static tls block.
51092 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
51094 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51095 where #ifdef was intended. The intent is to prevent ARG_MAX from
51096 being defined by the kernel headers.
51098 2011-05-07 Ulrich Drepper <drepper@gmail.com>
51101 * resolv/resolv.h: Define RES_NOTLDQUERY.
51102 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51103 no-tld-query and set RES_NOTLDQUERY.
51104 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51105 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51106 modern BIND to search name as TLD unless forbidden.
51108 2011-05-07 Petr Baudis <pasky@suse.cz>
51109 Ulrich Drepper <drepper@gmail.com>
51112 * elf/dl-load.c (fillin_rpath): Move trusted path check...
51113 (is_trusted_path): ...to here.
51114 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
51115 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
51116 using is_trusted_path_normalize() in setuid scripts.
51118 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51120 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51121 __BEGIN/__END_DECLS.
51123 2011-05-06 Ulrich Drepper <drepper@gmail.com>
51125 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51126 NSS_STATUS_NOTFOUND if no record was found.
51128 2011-05-05 Andreas Schwab <schwab@redhat.com>
51130 * sunrpc/Makefile (headers): Add rpc/netdb.h.
51131 (headers-not-in-tirpc): Remove rpc/netdb.h
51132 * resolv/netdb.h: Revert last change.
51134 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51136 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
51137 circular dependency between libgcc.a and libc.a.
51139 2011-05-05 Andreas Schwab <schwab@redhat.com>
51141 * resolv/netdb.h: Don't include <rpc/netdb.h>.
51142 * nis/Makefile: Don't install rpcsvc/*.
51143 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
51144 instead of <rpc/types.h>.
51145 (MAXHOSTNAMELEN): Define.
51147 2011-05-03 Andreas Schwab <schwab@redhat.com>
51149 * elf/ldconfig.c (add_dir): Don't crash on empty path.
51151 2011-04-28 Maciej Babinski <mbabinski@google.com>
51154 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
51155 gethostbyname4_r when IPv6 results are possible.
51157 2011-05-02 Ulrich Drepper <drepper@gmail.com>
51160 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
51161 _PC_PIPE_BUF handling.
51163 2011-04-30 Bruno Haible <bruno@clisp.org>
51166 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
51167 * resolv/netdb.h (getnameinfo): Change type of flags parameter
51169 * inet/getnameinfo.c (getnameinfo): Likewise.
51171 2011-04-29 Ulrich Drepper <drepper@gmail.com>
51173 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
51174 to groups setting in database lookup.
51175 * nss/nsswitch.conf: Add initgroups entry.
51177 2011-04-22 Ulrich Drepper <drepper@gmail.com>
51180 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
51182 Patch by Eric Blake <eblake@redhat.com>.
51184 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
51186 * sunrpc/Makefile (need-export-routines): Add svc_run.
51187 (routines): Remove svc_run.
51188 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51189 * sunrpc/clnt_perr.c (clnt_perrno): Export.
51190 * sunrpc/svc_run.c (svc_run): Likewise.
51191 * sunrpc/svc_udp.c (svcudp_create): Likewise.
51193 2011-04-21 Ulrich Drepper <drepper@gmail.com>
51195 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
51196 problem in reallocation in last patch.
51198 2011-04-20 Ulrich Drepper <drepper@gmail.com>
51200 * sunrpc/Makefile: Move inclusion of Rules.
51202 2011-04-19 Ulrich Drepper <drepper@gmail.com>
51204 * nss/nss_files/files-initgroups.c: New file.
51205 * nss/Makefile (libnss_files-routines): Add files-initgroups.
51206 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
51207 _nss_files_initgroups_dyn.
51209 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
51211 * elf/elf.h (R_ARM_IRELATIVE): Define.
51213 2011-04-19 Ulrich Drepper <drepper@gmail.com>
51215 * po/ru.po: Update from translation team.
51217 2011-04-17 Ulrich Drepper <drepper@gmail.com>
51219 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
51222 2011-02-06 Mike Frysinger <vapier@gentoo.org>
51225 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
51226 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
51227 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51228 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51229 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51231 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
51233 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
51235 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51236 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51237 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51239 2011-04-17 Ulrich Drepper <drepper@gmail.com>
51242 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
51244 * stdlib/bug-getcontext.c: New file.
51245 * stdlib/Makefile: Add rules to build and run bug-getcontext.
51247 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51249 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
51250 instructions into .machine "z9-109".
51251 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
51252 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
51254 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51256 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
51257 between environment variables and auxiliary vector.
51259 2011-04-16 Ulrich Drepper <drepper@gmail.com>
51261 * Makefile: Add rules to build linkobj/libc.so.
51262 * include/libc-symbols.h: Define libc_hidden_nolink.
51263 * include/rpc/auth.h: Mark functions which are to be hidden.
51264 * include/rpc/auth_des.h: Likewise.
51265 * include/rpc/auth_unix.h: Likewise.
51266 * include/rpc/clnt.h: Likewise.
51267 * include/rpc/des_crypt.h: Likewise.
51268 * include/rpc/key_prot.h: Likewise.
51269 * include/rpc/pmap_clnt.h: Likewise.
51270 * include/rpc/pmap_prot.h: Likewise.
51271 * include/rpc/pmap_rmt.h: Likewise.
51272 * include/rpc/rpc_msg.h: Likewise.
51273 * include/rpc/svc.h: Likewise.
51274 * include/rpc/svc_auth.h: Likewise.
51275 * include/rpc/xdr.h: Likewise.
51276 * nis/Makefile: Link all DSOs against linkobj/libc.so.
51277 * nss/Makefile: Likewise.
51278 * sunrpc/Makefile: Don't install headers. Build library with normal
51279 entry points. Don't build rpcinfo. Link RPC tests appropriately.
51280 * sunrpc/auth_des.c: Hide exported symbols by default, export some
51281 for the compat linking library. Remove use of INTDEF/INTUSE.
51282 * sunrpc/auth_none.c: Likewise.
51283 * sunrpc/auth_unix.c: Likewise.
51284 * sunrpc/authdes_prot.c: Likewise.
51285 * sunrpc/authuxprot.c: Likewise.
51286 * sunrpc/clnt_gen.c: Likewise.
51287 * sunrpc/clnt_perr.c: Likewise.
51288 * sunrpc/clnt_raw.c: Likewise.
51289 * sunrpc/clnt_simp.c: Likewise.
51290 * sunrpc/clnt_tcp.c: Likewise.
51291 * sunrpc/clnt_udp.c: Likewise.
51292 * sunrpc/clnt_unix.c: Likewise.
51293 * sunrpc/des_crypt.c: Likewise.
51294 * sunrpc/des_soft.c: Likewise.
51295 * sunrpc/get_myaddr.c: Likewise.
51296 * sunrpc/key_call.c: Likewise.
51297 * sunrpc/key_prot.c: Likewise.
51298 * sunrpc/netname.c: Likewise.
51299 * sunrpc/pm_getmaps.c: Likewise.
51300 * sunrpc/pm_getport.c: Likewise.
51301 * sunrpc/pmap_clnt.c: Likewise.
51302 * sunrpc/pmap_prot.c: Likewise.
51303 * sunrpc/pmap_prot2.c: Likewise.
51304 * sunrpc/pmap_rmt.c: Likewise.
51305 * sunrpc/publickey.c: Likewise.
51306 * sunrpc/rpc_cmsg.c: Likewise.
51307 * sunrpc/rpc_common.c: Likewise.
51308 * sunrpc/rpc_dtable.c: Likewise.
51309 * sunrpc/rpc_prot.c: Likewise.
51310 * sunrpc/rpc_thread.c: Likewise.
51311 * sunrpc/rtime.c: Likewise.
51312 * sunrpc/svc.c: Likewise.
51313 * sunrpc/svc_auth.c: Likewise.
51314 * sunrpc/svc_authux.c: Likewise.
51315 * sunrpc/svc_raw.c: Likewise.
51316 * sunrpc/svc_run.c: Likewise.
51317 * sunrpc/svc_simple.c: Likewise.
51318 * sunrpc/svc_tcp.c: Likewise.
51319 * sunrpc/svc_udp.c: Likewise.
51320 * sunrpc/svc_unix.c: Likewise.
51321 * sunrpc/svcauth_des.c: Likewise.
51322 * sunrpc/xcrypt.c: Likewise.
51323 * sunrpc/xdr.c: Likewise.
51324 * sunrpc/xdr_array.c: Likewise.
51325 * sunrpc/xdr_float.c: Likewise.
51326 * sunrpc/xdr_intXX_t.c: Likewise.
51327 * sunrpc/xdr_mem.c: Likewise.
51328 * sunrpc/xdr_rec.c: Likewise.
51329 * sunrpc/xdr_ref.c: Likewise.
51330 * sunrpc/xdr_sizeof.c: Likewise.
51331 * sunrpc/xdr_stdio.c: Likewise.
51333 2011-04-10 Ulrich Drepper <drepper@gmail.com>
51336 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
51337 * sysdeps/ia64/dl-tls.h: Likewise.
51338 * sysdeps/powerpc/dl-tls.h: Likewise.
51339 * sysdeps/s390/dl-tls.h: Likewise.
51340 * sysdeps/sh/dl-tls.h: Likewise.
51341 * sysdeps/sparc/dl-tls.h: Likewise.
51342 * sysdeps/x86_64/dl-tls.h: Likewise.
51343 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
51345 2011-03-14 Andreas Schwab <schwab@redhat.com>
51347 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
51348 rpath element also skip the following colon.
51349 (expand_dynamic_string_token): Add is_path parameter and pass
51350 down to DL_DST_REQUIRED and _dl_dst_substitute.
51351 (decompose_rpath): Call expand_dynamic_string_token with
51352 non-zero is_path. Ignore empty rpaths.
51353 (_dl_map_object_from_fd): Call expand_dynamic_string_token
51356 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
51358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51361 2011-04-09 Ulrich Drepper <drepper@gmail.com>
51364 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
51365 Patch by Filipe David Manana <fdmanana@apache.org>.
51367 2011-04-07 Andreas Schwab <schwab@redhat.com>
51369 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
51370 Maintain aligned stack.
51371 (CHECK_RSP): Remove unused macro.
51373 2011-04-03 Ulrich Drepper <drepper@gmail.com>
51375 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
51376 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
51378 2011-04-02 Ulrich Drepper <drepper@gmail.com>
51380 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
51382 * include/features.h: Mention __USE_XOPEN2K8 in comment.
51384 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
51387 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
51388 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
51389 * sysdeps/x86_64/memmove.c: New file.
51390 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
51391 (memcpy): Renamed to ...
51392 (__new_memcpy): This.
51393 (memcpy): Provide GLIBC_2_14 memcpy.
51394 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
51395 (memcpy): Provide GLIBC_2_2_5 memcpy.
51397 2011-04-01 Ulrich Drepper <drepper@gmail.com>
51400 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
51402 2011-03-30 Andreas Schwab <schwab@redhat.com>
51404 * misc/syncfs.c: New file.
51405 * misc/Makefile (routines): Add syncfs.
51406 * posix/unistd.h: Declare syncfs.
51407 * sysdeps/unix/syscalls.list: Add syncfs.
51409 2011-04-01 Andreas Schwab <schwab@redhat.com>
51411 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
51413 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51414 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51415 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51416 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51417 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51418 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
51419 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51421 2011-04-01 Ulrich Drepper <drepper@gmail.com>
51423 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
51424 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51425 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
51426 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51427 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51428 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51429 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51431 * io/Makefile: Compile fallocate.c, fallocate64.c, and
51432 sync_file_range.c with -fexceptions.
51433 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
51434 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
51435 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
51436 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
51437 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
51438 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51439 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
51440 sync_file_range as cancellation point
51441 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
51442 now a wrapper around __call_sync_file_range with cancellation handling.
51443 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
51444 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
51445 function name to __call_sync_file_range.
51446 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
51447 Add call_sync_file_range.
51449 2011-04-01 Andreas Schwab <schwab@redhat.com>
51451 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51454 2011-04-01 Ulrich Drepper <drepper@gmail.com>
51456 * iconv/iconv.h: Fix typo in comment.
51457 * io/fcntl.h: Likewise.
51458 * libio/stdio.h: Likewise.
51459 * posix/spawn.h: Likewise.
51460 * posix/unistd.h: Likewise.
51461 * stdlib/stdlib.h: Likewise.
51462 * time/time.h: Likewise.
51463 * wcsmbs/wchar.h: Likewise.
51465 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
51466 open_by_handle): Add.
51467 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
51468 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
51469 Augment a few comments.
51470 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51471 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51472 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51473 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51474 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51475 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
51478 * io/fcntl.h (AT_EMPTY_PATH): Define.
51480 2011-03-30 Ulrich Drepper <drepper@gmail.com>
51482 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
51483 * sysdeps/unix/sysv/linux/bits/time.h: New file.
51484 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
51486 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
51487 * Versions.def: Add GLIBC_2.14.
51488 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
51491 2011-03-22 Ulrich Drepper <drepper@gmail.com>
51493 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
51495 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51497 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
51500 * string/test-strncmp.c (do_page_test): New function.
51501 (check2): Likewise.
51502 (test_main): Call check2.
51503 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
51505 2011-03-20 Ulrich Drepper <drepper@gmail.com>
51508 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
51509 Handle cache information in CPU leaf 4.
51510 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51512 2011-03-18 Ulrich Drepper <drepper@gmail.com>
51515 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
51516 character representation.
51517 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
51519 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
51521 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
51522 END(__isnan) to END(__isnanf) to match function entry point/label
51523 EALIGN(__isnanf,...).
51525 2011-03-10 Jakub Jelinek <jakub@redhat.com>
51527 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
51529 2011-03-10 Ulrich Drepper <drepper@gmail.com>
51532 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
51533 copy from the symbol referenced in the relocation to initialize the
51535 Patch by Piotr Bury <pbury@goahead.com>.
51536 * elf/Makefile: Add rules to build and tst-unique3.
51537 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
51538 * elf/tst-unique3.cc: New file.
51539 * elf/tst-unique3.h: New file.
51540 * elf/tst-unique3lib.cc: New file.
51541 * elf/tst-unique3lib2.cc: New file.
51543 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
51545 2011-03-10 Mike Frysinger <vapier@gentoo.org>
51547 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
51548 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
51551 2011-03-06 Ulrich Drepper <drepper@gmail.com>
51553 * elf/dl-load.c (_dl_map_object): If we are looking for the first
51554 to-be-loaded object along a path to loader is ld.so.
51556 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
51557 Ulrich Drepper <drepper@gmail.com>
51559 * sysdeps/x86_64/memset.S: After aligning destination, code
51560 branches to different locations depending on the value of
51561 misalignment, when multiarch is enabled. Fix this.
51563 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
51565 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
51566 Set _x86_64_preferred_memory_instruction for AMD processsors.
51567 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51568 Set bit_Prefer_SSE_for_memop for AMD processors.
51570 2011-03-04 Ulrich Drepper <drepper@gmail.com>
51572 * libio/fmemopen.c (fmemopen): Optimize a bit.
51574 2011-03-03 Andreas Schwab <schwab@redhat.com>
51576 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
51578 2011-03-03 Roland McGrath <roland@redhat.com>
51580 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
51582 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
51584 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
51585 __bzero_ultra1 instead of __memset_ultra1.
51587 2011-02-23 Andreas Schwab <schwab@redhat.com>
51588 Ulrich Drepper <drepper@gmail.com>
51591 * include/link.h (struct link_map): Add l_orig_initfini.
51592 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
51593 returning unsuccessfully.
51594 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
51595 close of a file loaded at startup, restore the original l_initfini
51597 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
51598 list, store the pointer.
51599 * elf/Makefile ($(objpfx)noload-mem): New rule.
51600 (noload-ENV): Define.
51601 (tests): Add $(objpfx)noload-mem.
51602 * elf/noload.c: Include <memcheck.h>.
51603 (main): Call mtrace. Close all opened handles.
51605 2011-02-17 Andreas Schwab <schwab@redhat.com>
51608 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
51609 dependencies are missing.
51611 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
51613 Fix __if_freereq crash: Unlike the generic version which uses free,
51615 * sysdeps/mach/hurd/ifreq.h: New file.
51617 2011-01-27 Petr Baudis <pasky@suse.cz>
51618 Ulrich Drepper <drepper@gmail.com>
51621 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
51622 to extend_alloca().
51623 * stdio-common/bug23.c: New file.
51624 * stdio-common/Makefile (tests): Add bug23.
51626 2010-09-28 Andreas Schwab <schwab@redhat.com>
51627 Ulrich Drepper <drepper@gmail.com>
51630 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
51631 before performing relro protection. At old place add assertion
51632 to make sure nothing changed.
51634 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
51635 Glauber de Oliveira Costa <glommer@gmail.com>
51637 * elf/elf.h: Add new ARM TLS relocs.
51639 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
51641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
51642 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
51644 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
51646 * sysdeps/wordsize-64/tst-writev.c: New file.
51648 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
51650 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
51651 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
51652 insns in _dl_start to prevent a TOC reference before relocs are
51655 2011-02-15 Ulrich Drepper <drepper@gmail.com>
51658 * Makeconfig: Remove RANLIB definition.
51659 * Makerules: Don't use RANLIB.
51660 * aclocal.m4: Remove ranlib test.
51661 * configure.in: No need to check for ranlib.
51662 * elf/rtld-Rules: Don't use RANLIB.
51664 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
51666 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
51668 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
51669 inclusion protection macro.
51671 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
51672 SIGRTMIN and SIGRTMAX and print information in that case only when
51673 SIGRTMIN is defined.
51675 2011-02-11 Jakub Jelinek <jakub@redhat.com>
51677 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
51678 arginfo fn returning -1.
51680 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
51681 and thousands string is zero terminated.
51683 2011-02-03 Andreas Schwab <schwab@redhat.com>
51685 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
51686 sysdeps/unix/sysv/linux/bits/socket.h.
51688 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
51690 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
51691 (__CPU_COUNT): Remove old macros.
51692 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
51693 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
51694 (__CPU_ALLOC, __CPU_FREE): Add macros.
51695 (__sched_cpualloc, __sched_cpufree): Add declarations.
51697 2011-02-05 Ulrich Drepper <drepper@gmail.com>
51699 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
51700 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
51701 * nscd/aicache.c (addhstaiX): Return timeout of added value.
51702 (readdhstai): Return value of addhstaiX call.
51703 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
51704 (addgrbyX): Return value returned by cache_addgr.
51705 (readdgrbyname): Return value returned by addgrbyX.
51706 (readdgrbygid): Likewise.
51707 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
51708 (addpwbyX): Return value returned by cache_addpw.
51709 (readdpwbyname): Return value returned by addhstbyX.
51710 (readdpwbyuid): Likewise.
51711 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
51712 (addservbyX): Return value returned by cache_addserv.
51713 (readdservbyname): Return value returned by addservbyX:
51714 (readdservbyport): Likewise.
51715 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
51716 (addhstbyX): Return value returned by cache_addhst.
51717 (readdhstbyname): Return value returned by addhstbyX.
51718 (readdhstbyaddr): Likewise.
51719 (readdhstbynamev6): Likewise.
51720 (readdhstbyaddrv6): Likewise.
51721 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
51722 (readdinitgroups): Return value returned by addinitgroupsX.
51723 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
51724 (prune_cache): Keep track of timeout value of re-added entries.
51725 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
51726 * nscd/nscd.h: Adjust prototypes of readd* functions.
51728 2011-02-04 Roland McGrath <roland@redhat.com>
51730 * nis/nis_server.c (nis_servstate): Use the right name for 0.
51731 (nis_stats): Likewise.
51732 * nis/nis_modify.c (nis_modify): Likewise.
51733 * nis/nis_remove.c (nis_remove): Likewise.
51734 * nis/nis_add.c (nis_add): Likewise.
51736 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
51738 * posix/fnmatch_loop.c: Add some consts.
51740 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
51742 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
51745 * config.make.in (config-cflags-novzeroupper): Define.
51746 * configure.in: Substitute libc_cv_cc_novzeroupper.
51747 * elf/Makefile (AVX-CFLAGS): Define.
51748 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
51749 (CFLAGS-tst-auditmod4a.c): Likewise.
51750 (CFLAGS-tst-auditmod4b.c): Likewise.
51751 (CFLAGS-tst-auditmod6b.c): Likewise.
51752 (CFLAGS-tst-auditmod6c.c): Likewise.
51753 (CFLAGS-tst-auditmod7b.c): Likewise.
51754 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
51756 2011-02-02 Ulrich Drepper <drepper@gmail.com>
51758 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
51759 function to the callback.
51760 Patch partly by Jiri Olsa <jolsa@redhat.com>.
51762 2011-02-02 Andreas Schwab <schwab@redhat.com>
51764 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
51767 2011-01-19 Ulrich Drepper <drepper@gmail.com>
51770 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
51772 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
51774 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
51777 * elf/Makefile: Add rules to build and run new test.
51778 * elf/tst-initorder.c: New file.
51779 * elf/tst-initorder.exp: New file.
51780 * elf/tst-initordera1.c: New file.
51781 * elf/tst-initordera2.c: New file.
51782 * elf/tst-initordera3.c: New file.
51783 * elf/tst-initordera4.c: New file.
51784 * elf/tst-initorderb1.c: New file.
51785 * elf/tst-initorderb2.c: New file.
51786 * elf/tst-order-a1.c: New file.
51787 * elf/tst-order-a2.c: New file.
51788 * elf/tst-order-a3.c: New file.
51789 * elf/tst-order-a4.c: New file.
51790 * elf/tst-order-b1.c: New file.
51791 * elf/tst-order-b2.c: New file.
51792 * elf/tst-order-main.c: New file.
51793 New test case by George Gensure <werkt0@gmail.com>.
51795 2010-10-01 Andreas Schwab <schwab@redhat.com>
51797 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51798 decoding ACE if AI_CANONIDN.
51800 2011-01-18 Ulrich Drepper <drepper@gmail.com>
51802 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
51804 2011-01-17 Ulrich Drepper <drepper@gmail.com>
51806 * version.h (RELEASE): Bump for 2.13 release.
51807 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
51809 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
51811 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
51813 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
51814 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51815 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51816 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51817 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51818 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51820 * posix/getconf.c: Update copyright year.
51821 * catgets/gencat.c: Likewise.
51822 * csu/version.c: Likewise.
51823 * debug/catchsegv.sh: Likewise.
51824 * debug/xtrace.sh: Likewise.
51825 * elf/ldconfig.c: Likewise.
51826 * elf/ldd.bash.in: Likewise.
51827 * elf/sprof.c (print_version): Likewise.
51828 * iconv/iconv_prog.c: Likewise.
51829 * iconv/iconvconfig.c: Likewise.
51830 * locale/programs/locale.c: Likewise.
51831 * locale/programs/localedef.c: Likewise.
51832 * malloc/memusage.sh: Likewise.
51833 * malloc/mtrace.pl: Likewise.
51834 * nscd/nscd.c (print_version): Likewise.
51835 * nss/getent.c: Likewise.
51837 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
51838 PF_CAIF, and PF_ALG.
51839 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51841 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
51843 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
51844 (modules-names): Use them.
51845 (ifunc-test-modules, ifunc-pie-tests): Define.
51846 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
51847 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
51848 (test-extras): Likewise.
51849 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
51850 $(compile-command.c).
51851 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
51852 (all-built-dso): Define.
51853 (check-textrel.out, check-execstack.out): Depend on it.
51855 * configure.in: Don't override --enable-multi-arch.
51857 2011-01-15 Ulrich Drepper <drepper@gmail.com>
51860 * nscd/hstcache.c (tryagain): Define.
51861 (cache_addhst): Return tryagain not notfound for temporary errors.
51862 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
51865 2011-01-14 Ulrich Drepper <drepper@gmail.com>
51868 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
51869 to make the syscall.
51870 * sysdeps/unix/sysv/linux/setgroups.c: New file.
51873 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
51874 and fall back to matching as normal character if the string ends before
51875 the matching ']' is found. This is what POSIX requires.
51876 * posix/testfnm.c: Adjust test result.
51877 * posix/globtest.sh: Adjust test result. Add new test.
51878 * posix/tst-fnmatch.input: Likewise.
51879 * posix/tst-fnmatch2.c: Add new test.
51881 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
51883 * elf/Makefile (check-execstack): Revert last change. Depend on
51885 (check-execstack.h): New target.
51886 (generated): Add check-execstack.h.
51887 * elf/check-execstack.c: Include "check-execstack.h".
51888 (main): Revert last change.
51889 (handle_file): Return zero if GNU_STACK is absent and
51890 DEFAULT_STACK_PERMS doesn't include PF_X.
51892 2011-01-13 Ulrich Drepper <drepper@gmail.com>
51894 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
51895 in child fails because the descriptor is already closed.
51896 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
51897 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
51898 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
51901 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
51905 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
51906 temporary buffer used to handle multi lookups locally.
51907 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
51909 2011-01-12 Ulrich Drepper <drepper@gmail.com>
51911 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
51914 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
51916 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
51917 alignment for SSE2.
51919 2011-01-12 Ulrich Drepper <drepper@gmail.com>
51922 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
51923 characters. When rounding increased number of integer digits recompute
51925 * stdio-common/tst-grouping.c: New file.
51926 * stdio-common/Makefile: Add rules to build and run tst-grouping.
51928 2011-01-09 Ulrich Drepper <drepper@gmail.com>
51930 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
51931 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
51933 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
51935 * bits/select.h: Likewise.
51937 2011-01-08 Ulrich Drepper <drepper@gmail.com>
51939 * po/ja.po: Update from translation team.
51941 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
51944 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
51945 implementation just like for lxstat, fxstatat, et al.
51947 2010-12-27 Jim Meyering <meyering@redhat.com>
51950 * posix/regexec.c (build_trtable): Return failure indication upon
51951 calloc failure. Otherwise, re_search_internal could infloop on OOM.
51953 2010-12-25 Ulrich Drepper <drepper@gmail.com>
51956 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
51957 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
51958 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51959 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51962 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51965 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51966 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51968 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
51970 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51971 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51972 script has SORT_BY_INIT_PRIORITY.
51973 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51974 NO_CTORS_DTORS_SECTIONS is defined.
51975 * elf/soinit.c: Likewise.
51976 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
51977 NO_CTORS_DTORS_SECTIONS is defined.
51978 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
51979 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
51980 * sysdeps/sh/init-first.c: Likewise.
51981 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
51983 2010-12-24 Ulrich Drepper <drepper@gmail.com>
51985 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
51986 always use the slow path.
51988 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
51990 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
51991 similar rule which adds the sysdep directories to the header search in
51992 order to pick up the correct platform stackinfo.h.
51993 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
51994 perform test if it is, otherwise return successfully without testing.
51995 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
51996 DEFAULT_STACK_PERMS define in stackinfo.h.
51997 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
51998 defined in stackinfo.h.
51999 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
52000 DEFAULT_STACK_PERMS defined in stackinfo.h.
52001 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
52002 * sysdeps/ia64/stackinfo.h: Likewise.
52003 * sysdeps/s390/stackinfo.h: Likewise.
52004 * sysdeps/sh/stackinfo.h: Likewise.
52005 * sysdeps/sparc/stackinfo.h: Likewise.
52006 * sysdeps/x86_64/stackinfo.h: Likewise.
52007 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
52008 PF_X for powerpc64. Retain PF_X for powerpc32.
52010 2010-12-19 Ulrich Drepper <drepper@gmail.com>
52012 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
52014 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
52015 GETDENTS_64BIT_ALIGNED.
52017 2010-12-14 Ulrich Drepper <dreper@gmail.com>
52019 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
52021 2010-12-10 Andreas Schwab <schwab@redhat.com>
52023 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52026 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
52027 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
52029 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
52030 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
52032 2010-12-09 Ulrich Drepper <drepper@gmail.com>
52035 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
52038 2010-12-09 Jakub Jelinek <jakub@redhat.com>
52040 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
52042 2010-12-03 Ulrich Drepper <drepper@gmail.com>
52044 * po/it.po: Update from translation team.
52046 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
52048 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
52051 2010-11-30 Ulrich Drepper <drepper@gmail.com>
52053 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
52055 2010-11-24 Andreas Schwab <schwab@redhat.com>
52057 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
52059 (gaih_getanswer_slice): Likewise.
52061 2010-10-20 Jakub Jelinek <jakub@redhat.com>
52063 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52065 2010-05-31 Petr Baudis <pasky@suse.cz>
52068 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52069 silently even in the chroot mode.
52071 2010-11-22 Ulrich Drepper <drepper@gmail.com>
52073 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52074 last patch a bit. Pretty printing
52076 2010-05-31 Petr Baudis <pasky@suse.cz>
52079 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52080 initialization of skip_initgroups_dyn.
52082 2010-11-19 Ulrich Drepper <drepper@gmail.com>
52084 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52085 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52087 2010-11-16 Ulrich Drepper <drepper@gmail.com>
52089 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52091 2010-11-11 Andreas Schwab <schwab@redhat.com>
52093 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52094 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52095 (tst-fnmatch-ENV): Set MALLOC_TRACE.
52096 ($(objpfx)tst-fnmatch-mem): New rule.
52097 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52098 * posix/tst-fnmatch.c (main): Call mtrace.
52100 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
52102 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52103 Support Intel processor model 6 and model 0x2c.
52105 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
52107 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52110 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
52113 * string/test-strncasecmp.c (check_result): New function.
52114 (do_one_test): Use it.
52115 (check1): New function.
52116 (test_main): Use it.
52117 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52118 Support strcasecmp and strncasecmp.
52120 2010-11-08 Ulrich Drepper <drepper@gmail.com>
52123 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52124 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52126 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
52128 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52130 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52132 * sysdeps/x86_64/multiarch/bzero.S: New file.
52133 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
52134 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
52135 * sysdeps/x86_64/multiarch/memset.S: New file.
52136 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
52137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52138 Set bit_Prefer_SSE_for_memop for Intel processors.
52139 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
52141 (index_Prefer_SSE_for_memop): Define.
52142 (HAS_PREFER_SSE_FOR_MEMOP): Define.
52144 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
52146 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
52147 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
52149 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
52152 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52153 (__x86_64_raw_data_cache_size_half): Likewise.
52154 (__x86_64_raw_shared_cache_size): Likewise.
52155 (__x86_64_raw_shared_cache_size_half): Likewise.
52157 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52158 (__x86_64_raw_data_cache_size_half): Likewise.
52159 (__x86_64_raw_shared_cache_size): Likewise.
52160 (__x86_64_raw_shared_cache_size_half): Likewise.
52161 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
52162 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
52163 and __x86_64_raw_shared_cache_size_half. Round
52164 __x86_64_data_cache_size_half, __x86_64_data_cache_size
52165 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
52166 to multiple of 256 bytes.
52168 2010-11-03 Ulrich Drepper <drepper@gmail.com>
52171 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
52172 of inacessible symlinks. Verify result of symlink before returning it.
52173 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52174 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
52176 2010-10-28 Erich Ritz <erichritz@gmail.com>
52178 * math/math.h (isinf): Fix typo in comment.
52180 2010-11-01 Ulrich Drepper <drepper@gmail.com>
52182 * po/da.po: Update from translation team.
52184 2010-10-26 Ulrich Drepper <drepper@gmail.com>
52186 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
52187 is added to the list.
52189 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52190 Ulrich Drepper <drepper@gmail.com>
52192 * elf/dl-object.c (_dl_new_object): Don't append the new object to
52193 the global list here. Move code to...
52194 (_dl_add_to_namespace_list): ...here. New function.
52195 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
52196 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
52197 * elf/dl-load.c (lose): Don't remove the element from the list.
52198 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
52199 (_dl_map_object): Likewise.
52201 2010-10-25 Ulrich Drepper <drepper@gmail.com>
52204 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
52205 into all bytes of SSE register.
52206 Patch by Richard Li <richardpku@gmail.com>.
52208 2010-10-24 Ulrich Drepper <drepper@gmail.com>
52211 * malloc/malloc.c (_int_free): Fill correct number of bytes when
52214 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
52216 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
52217 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
52218 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52219 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
52222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
52224 2010-10-22 Andreas Schwab <schwab@redhat.com>
52226 * include/dlfcn.h (__RTLD_SECURE): Define.
52227 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
52228 mode & __RTLD_SECURE instead.
52229 (open_path): Rename preloaded parameter to secure.
52230 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
52231 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
52232 * elf/dl-deps.c (openaux): Likewise.
52233 * elf/rtld.c (struct map_args): Remove is_preloaded.
52234 (map_doit): Don't use it.
52235 (dl_main): Likewise.
52236 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
52237 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
52239 2010-09-09 Andreas Schwab <schwab@redhat.com>
52241 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
52242 (sysd-rules-targets): Remove duplicates.
52243 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
52244 rtld-%.$o dependency.
52246 2010-10-18 Andreas Schwab <schwab@redhat.com>
52248 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
52249 _dl_map_object do it.
52251 2010-10-19 Ulrich Drepper <drepper@gmail.com>
52253 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
52254 fast fma builtins, define the macros in the C99 standard.
52255 (FP_FAST_FMAF): Likewise.
52256 (FP_FAST_FMAL): Likewise.
52257 * sysdeps/x86_64/bits/mathdef.h: Likewise.
52259 * bits/mathdef.h: Update copyright year.
52260 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52262 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
52264 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
52265 builtins, define the macros in the C99 standard.
52266 (FP_FAST_FMAF): Likewise.
52267 (FP_FAST_FMAL): Likewise.
52268 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
52270 (FP_FAST_FMAF): Likewise.
52272 2010-10-15 Jakub Jelinek <jakub@redhat.com>
52275 * math/libm-test.inc (fma_test): Some new testcases.
52276 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
52277 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
52278 y and infinite z. Do multiplication by C already in long double.
52279 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
52280 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
52281 y and infinite z. Do bitwise or of inexact bit into u.d.
52282 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
52283 * sysdeps/i386/fpu/s_fmaf.S: Removed.
52284 * sysdeps/i386/fpu/s_fma.S: Removed.
52285 * sysdeps/i386/fpu/s_fmal.S: Removed.
52287 2010-10-16 Jakub Jelinek <jakub@redhat.com>
52290 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
52291 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
52292 computation is not scheduled after fetestexcept. Fix value
52293 of minimum denormal long double.
52295 2010-10-14 Jakub Jelinek <jakub@redhat.com>
52298 * math/libm-test.inc (fma_test): Add some more tests.
52299 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
52302 2010-10-15 Andreas Schwab <schwab@redhat.com>
52304 * scripts/data/localplt-s390-linux-gnu.data: New file.
52305 * scripts/data/localplt-s390x-linux-gnu.data: New file.
52307 2010-10-13 Jakub Jelinek <jakub@redhat.com>
52310 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
52311 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
52313 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
52315 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
52316 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
52317 if one of x and y is very large and the other is subnormal.
52318 * sysdeps/s390/fpu/s_fmaf.c: New file.
52319 * sysdeps/s390/fpu/s_fma.c: New file.
52320 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
52321 * sysdeps/powerpc/fpu/s_fma.S: New file.
52322 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
52323 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
52324 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
52326 2010-10-12 Jakub Jelinek <jakub@redhat.com>
52329 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
52331 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
52332 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
52333 * sysdeps/i386/i686/multiarch/s_fma.c: Include
52334 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
52335 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
52336 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
52337 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
52339 2010-10-12 Ulrich Drepper <drepper@redhat.com>
52342 * posix/regcomp.c (parse_branch): One more memory leak plugged.
52343 * posix/bug-regex31.input: Add test case.
52345 2010-10-11 Ulrich Drepper <drepper@gmail.com>
52347 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
52348 * posix/bug-regex31.input: New file.
52351 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
52352 (parse_sub_exp): Fix last change, use postorder.
52354 * posix/bug-regex31.c: New file.
52355 * posix/Makefile: Add rules to build and run bug-regex31.
52357 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
52360 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
52363 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
52364 to have entries in sys_siglist.
52367 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
52370 2010-10-07 Jakub Jelinek <jakub@redhat.com>
52373 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
52374 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
52375 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
52376 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
52377 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52378 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
52379 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
52380 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
52381 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
52382 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
52383 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
52384 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
52385 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
52386 * math/ftestexcept.c (fetestexcept): Likewise.
52387 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
52388 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
52389 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
52390 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
52391 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
52392 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
52393 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52395 2010-10-11 Ulrich Drepper <drepper@gmail.com>
52398 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
52401 2010-10-06 Ulrich Drepper <drepper@gmail.com>
52403 * string/bug-strstr1.c: New file.
52404 * string/Makefile: Add rules to build and run bug-strstr1.
52406 2010-10-05 Eric Blake <eblake@redhat.com>
52409 * string/str-two-way.h (two_way_long_needle): Always clear memory
52410 when skipping input due to the shift table.
52412 2010-10-03 Ulrich Drepper <drepper@gmail.com>
52415 * malloc/mcheck.c: Handle large requests.
52418 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
52419 for strncmp and strncasecmp.
52420 * string/stratcliff.c: Add tests for strcmp and strncmp.
52421 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
52423 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
52425 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
52428 2010-09-30 Andreas Jaeger <aj@suse.de>
52430 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
52431 (CGROUP_SUPER_MAGIC): Define.
52432 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52433 Handle btrfs and cgroup file systems.
52434 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52437 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
52439 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
52440 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
52442 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52445 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
52446 trying to locate the ELF header.
52448 2010-09-27 Andreas Schwab <schwab@redhat.com>
52451 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
52452 Mask out sign-bit copies when constructing f_fsid.
52454 2010-09-24 Petr Baudis <pasky@suse.cz>
52456 * debug/stack_chk_fail_local.c: Add missing licence exception.
52457 * debug/warning-nop.c: Likewise.
52459 2010-09-15 Joseph Myers <joseph@codesourcery.com>
52461 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
52462 implementing getdents64 using getdents syscall, set d_type if
52463 __ASSUME_GETDENTS32_D_TYPE.
52465 2010-09-16 Andreas Schwab <schwab@redhat.com>
52467 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
52468 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
52470 2010-09-21 Ulrich Drepper <drepper@redhat.com>
52473 * posix/unistd.h: Undo change of feature selection for ftruncate from
52476 2010-09-20 Ulrich Drepper <drepper@redhat.com>
52478 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
52481 2010-09-20 Andreas Schwab <schwab@redhat.com>
52483 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
52485 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52487 2010-09-14 Andreas Schwab <schwab@redhat.com>
52489 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
52490 variables after CHECK_SP call.
52491 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
52493 2010-09-13 Andreas Schwab <schwab@redhat.com>
52494 Ulrich Drepper <drepper@redhat.com>
52496 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
52497 re-relocationg ld.so.
52498 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
52499 _dl_init_paths call.
52500 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
52503 2010-09-14 Ulrich Drepper <drepper@redhat.com>
52505 * resolv/res_init.c (__res_vinit): Count the default server we added.
52507 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
52508 Ulrich Drepper <drepper@redhat.com>
52511 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52512 (____longjmp_chk): Use %ebx for saving value across system call.
52515 2010-09-06 Andreas Schwab <schwab@redhat.com>
52517 * manual/Makefile: Don't mix pattern rules with normal rules.
52519 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
52521 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
52523 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
52524 * libio/iofopncook.c (_IO_cookie_init): Likewise.
52525 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
52526 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
52527 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52530 2010-09-04 Ulrich Drepper <drepper@redhat.com>
52533 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
52534 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
52536 2010-09-02 Ulrich Drepper <drepper@redhat.com>
52538 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
52539 * sysdeps/x86_64/addmul_1.S: Likewise.
52540 * sysdeps/x86_64/lshift.S: Likewise.
52541 * sysdeps/x86_64/mul_1.S: Likewise.
52542 * sysdeps/x86_64/rshift.S: Likewise.
52543 * sysdeps/x86_64/sub_n.S: Likewise.
52544 * sysdeps/x86_64/submul_1.S: Likewise.
52546 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
52548 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
52549 Define __sched_param instead of SCHED_* and sched_param when
52550 <bits/sched.h> is included with __need_schedparam defined.
52551 * bits/sched.h [__need_schedparam]
52552 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
52553 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
52554 (__defined_schedparam): Define to 1.
52555 (__sched_param): New structure, identical to sched_param.
52556 (__need_schedparam): Undefine.
52558 2010-08-31 Mike Frysinger <vapier@gentoo.org>
52560 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
52561 (epoll_create1): Declare.
52563 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
52565 2010-08-31 Andreas Schwab <schwab@redhat.com>
52568 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
52569 shifting retval into place.
52571 2010-09-01 Ulrich Drepper <drepper@redhat.com>
52573 * nis/rpcsvc/nis.h: Update copyright notice.
52574 * nis/rpcsvc/nis.x: Likewise.
52575 * nis/rpcsvc/nis_callback.h: Likewise.
52576 * nis/rpcsvc/nis_callback.x: Likewise.
52577 * nis/rpcsvc/nis_object.x: Likewise.
52578 * nis/rpcsvc/nis_tags.h: Likewise.
52579 * nis/rpcsvc/yp.h: Likewise.
52580 * nis/rpcsvc/yp.x: Likewise.
52581 * nis/rpcsvc/ypupd.h: Likewise.
52582 * nis/yp_xdr.c: Likewise.
52583 * nis/ypupdate_xdr.c: Likewise.
52585 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
52586 mainly the body of pmap_getport. Add parameters to specify timeouts.
52587 (pmap_getport): Use __libc_rpc_getport.
52588 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
52589 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
52590 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
52592 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
52594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
52597 2010-08-27 Roland McGrath <roland@redhat.com>
52599 * sysdeps/i386/i686/multiarch/Makefile
52600 (CFLAGS-varshift.c): New variable.
52602 2010-08-27 Ulrich Drepper <drepper@redhat.com>
52604 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
52605 * sysdeps/i386/i686/multiarch/varshift.c: New file.
52607 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
52609 * sysdeps/x86_64/strlen.S: Minimal code improvement.
52611 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
52613 * sysdeps/x86_64/strlen.S: Unroll the loop.
52614 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52615 strlen-sse2 strlen-sse2-bsf.
52616 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
52617 __strlen_no_bsf if bit_Slow_BSF is set.
52618 (__strlen_sse42): Removed.
52619 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
52620 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
52622 2010-08-25 Roland McGrath <roland@redhat.com>
52624 * sysdeps/x86_64/multiarch/varshift.S: File removed.
52625 * sysdeps/x86_64/multiarch/varshift.c: New file.
52626 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
52627 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
52628 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
52629 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52631 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
52633 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52634 strlen-sse2 strlen-sse2-bsf.
52635 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
52636 __strlen_sse2_bsf if bit_Slow_BSF is unset.
52637 (__strlen_sse2): Removed.
52638 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
52639 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
52640 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
52641 bit_Slow_BSF for Atom.
52642 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
52643 (index_Slow_BSF): Define.
52644 (HAS_SLOW_BSF): Define.
52646 2010-08-25 Ulrich Drepper <drepper@redhat.com>
52649 * resolv/res_init.c (__res_vinit): When no server address at all
52650 is given default to loopback.
52652 2010-08-24 Roland McGrath <roland@redhat.com>
52654 * configure.in: Remove config-name.h generation.
52655 * configure: Regenerated.
52656 * config-name.in: File removed.
52657 * scripts/config-uname.sh: New file.
52658 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
52659 ($(objdir)config-name.h): New target.
52661 * sunrpc/rpc_parse.h: Avoid nested comment.
52663 2010-08-24 Richard Henderson <rth@redhat.com>
52664 Ulrich Drepper <drepper@redhat.com>
52665 H.J. Lu <hongjiu.lu@intel.com>
52667 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
52668 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
52669 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
52670 Replace _mm_srli_si128 with __m128i_shift_right. Replace
52671 _mm_alignr_epi8 with _mm_loadu_si128.
52672 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
52673 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
52674 (__m128i_shift_right): Removed.
52675 * sysdeps/i386/i686/multiarch/varshift.h: New file.
52676 * sysdeps/i386/i686/multiarch/varshift.S: New file.
52677 * sysdeps/x86_64/multiarch/varshift.h: New file.
52678 * sysdeps/x86_64/multiarch/varshift.S: New file.
52680 2010-08-21 Mike Frysinger <vapier@gentoo.org>
52682 * configure.in: Move assembler checks to before sysdep dir checking.
52684 2010-08-20 Petr Baudis <pasky@suse.cz>
52686 * LICENSES: Sync the sunrpc license.
52688 2010-08-19 Ulrich Drepper <drepper@redhat.com>
52690 * sunrpc/auth_des.c: Update copyright notice once again.
52691 * sunrpc/auth_none.c: Likewise.
52692 * sunrpc/auth_unix.c: Likewise.
52693 * sunrpc/authdes_prot.c: Likewise.
52694 * sunrpc/authuxprot.c: Likewise.
52695 * sunrpc/bindrsvprt.c: Likewise.
52696 * sunrpc/clnt_gen.c: Likewise.
52697 * sunrpc/clnt_perr.c: Likewise.
52698 * sunrpc/clnt_raw.c: Likewise.
52699 * sunrpc/clnt_simp.c: Likewise.
52700 * sunrpc/clnt_tcp.c: Likewise.
52701 * sunrpc/clnt_udp.c: Likewise.
52702 * sunrpc/clnt_unix.c: Likewise.
52703 * sunrpc/des_crypt.c: Likewise.
52704 * sunrpc/des_soft.c: Likewise.
52705 * sunrpc/get_myaddr.c: Likewise.
52706 * sunrpc/getrpcport.c: Likewise.
52707 * sunrpc/key_call.c: Likewise.
52708 * sunrpc/key_prot.c: Likewise.
52709 * sunrpc/openchild.c: Likewise.
52710 * sunrpc/pm_getmaps.c: Likewise.
52711 * sunrpc/pm_getport.c: Likewise.
52712 * sunrpc/pmap_clnt.c: Likewise.
52713 * sunrpc/pmap_prot.c: Likewise.
52714 * sunrpc/pmap_prot2.c: Likewise.
52715 * sunrpc/pmap_rmt.c: Likewise.
52716 * sunrpc/rpc/auth.h: Likewise.
52717 * sunrpc/rpc/auth_unix.h: Likewise.
52718 * sunrpc/rpc/clnt.h: Likewise.
52719 * sunrpc/rpc/des_crypt.h: Likewise.
52720 * sunrpc/rpc/key_prot.h: Likewise.
52721 * sunrpc/rpc/netdb.h: Likewise.
52722 * sunrpc/rpc/pmap_clnt.h: Likewise.
52723 * sunrpc/rpc/pmap_prot.h: Likewise.
52724 * sunrpc/rpc/pmap_rmt.h: Likewise.
52725 * sunrpc/rpc/rpc.h: Likewise.
52726 * sunrpc/rpc/rpc_des.h: Likewise.
52727 * sunrpc/rpc/rpc_msg.h: Likewise.
52728 * sunrpc/rpc/svc.h: Likewise.
52729 * sunrpc/rpc/svc_auth.h: Likewise.
52730 * sunrpc/rpc/types.h: Likewise.
52731 * sunrpc/rpc/xdr.h: Likewise.
52732 * sunrpc/rpc_clntout.c: Likewise.
52733 * sunrpc/rpc_cmsg.c: Likewise.
52734 * sunrpc/rpc_common.c: Likewise.
52735 * sunrpc/rpc_cout.c: Likewise.
52736 * sunrpc/rpc_dtable.c: Likewise.
52737 * sunrpc/rpc_hout.c: Likewise.
52738 * sunrpc/rpc_main.c: Likewise.
52739 * sunrpc/rpc_parse.c: Likewise.
52740 * sunrpc/rpc_parse.h: Likewise.
52741 * sunrpc/rpc_prot.c: Likewise.
52742 * sunrpc/rpc_sample.c: Likewise.
52743 * sunrpc/rpc_scan.c: Likewise.
52744 * sunrpc/rpc_scan.h: Likewise.
52745 * sunrpc/rpc_svcout.c: Likewise.
52746 * sunrpc/rpc_tblout.c: Likewise.
52747 * sunrpc/rpc_util.c: Likewise.
52748 * sunrpc/rpc_util.h: Likewise.
52749 * sunrpc/rpcinfo.c: Likewise.
52750 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
52751 * sunrpc/rpcsvc/key_prot.x: Likewise.
52752 * sunrpc/rpcsvc/klm_prot.x: Likewise.
52753 * sunrpc/rpcsvc/mount.x: Likewise.
52754 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
52755 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
52756 * sunrpc/rpcsvc/rex.x: Likewise.
52757 * sunrpc/rpcsvc/rstat.x: Likewise.
52758 * sunrpc/rpcsvc/rusers.x: Likewise.
52759 * sunrpc/rpcsvc/sm_inter.x: Likewise.
52760 * sunrpc/rpcsvc/spray.x: Likewise.
52761 * sunrpc/rpcsvc/yppasswd.x: Likewise.
52762 * sunrpc/rtime.c: Likewise.
52763 * sunrpc/svc.c: Likewise.
52764 * sunrpc/svc_auth.c: Likewise.
52765 * sunrpc/svc_authux.c: Likewise.
52766 * sunrpc/svc_raw.c: Likewise.
52767 * sunrpc/svc_run.c: Likewise.
52768 * sunrpc/svc_simple.c: Likewise.
52769 * sunrpc/svc_tcp.c: Likewise.
52770 * sunrpc/svc_udp.c: Likewise.
52771 * sunrpc/svc_unix.c: Likewise.
52772 * sunrpc/svcauth_des.c: Likewise.
52773 * sunrpc/xcrypt.c: Likewise.
52774 * sunrpc/xdr.c: Likewise.
52775 * sunrpc/xdr_array.c: Likewise.
52776 * sunrpc/xdr_float.c: Likewise.
52777 * sunrpc/xdr_mem.c: Likewise.
52778 * sunrpc/xdr_rec.c: Likewise.
52779 * sunrpc/xdr_ref.c: Likewise.
52780 * sunrpc/xdr_sizeof.c: Likewise.
52781 * sunrpc/xdr_stdio.c: Likewise.
52783 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
52786 2010-08-19 Andreas Schwab <schwab@redhat.com>
52788 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
52790 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
52792 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
52793 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
52794 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
52795 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
52796 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
52797 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
52798 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
52799 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
52800 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
52801 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
52802 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
52803 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
52804 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
52805 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
52807 2010-07-26 Anton Blanchard <anton@samba.org>
52809 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
52810 * malloc/arena.c (heap_trim): Likewise.
52812 2010-08-16 Ulrich Drepper <drepper@redhat.com>
52814 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
52816 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
52817 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
52819 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
52821 * sysdeps/i386/elf/Makefile: New file.
52823 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52825 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
52826 from fanotify_init.
52827 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
52828 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52830 2010-08-15 Ulrich Drepper <drepper@redhat.com>
52832 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
52834 * sysdeps/multiarch/strcmp.S: Likewise.
52836 2010-08-14 Ulrich Drepper <drepper@redhat.com>
52838 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52839 strncase_l-nonascii.
52840 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52841 Add strncase_l-ssse3.
52842 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
52843 * sysdeps/x86_64/strcmp.S: Likewise.
52844 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
52845 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
52846 * sysdeps/x86_64/strncase.S: New file.
52847 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
52848 * sysdeps/x86_64/strncase_l.S: New file.
52849 * string/Makefile (strop-tests): Add strncasecmp.
52850 * string/test-strncasecmp.c: New file.
52852 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
52855 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
52856 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
52858 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52860 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
52862 2010-08-12 Ulrich Drepper <drepper@redhat.com>
52864 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
52865 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
52866 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
52868 2010-05-01 Alan Modra <amodra@gmail.com>
52870 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
52871 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
52872 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
52873 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
52874 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
52875 tidying. Don't tail-call __sigjmp_save for static lib.
52876 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
52878 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
52879 (CALL_MCOUNT): Add eh info, and nop after bl.
52880 (TAIL_CALL_SYSCALL_ERROR): New macro.
52881 (PSEUDO_RET): Use it.
52882 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52883 Correct save location of integer regs and cr.
52884 (_dl_profile_resolve): Correct cr save location. Delete nops
52885 after bl when SHARED. Reduce cfi size a little by better
52886 placement of cfi directives.
52887 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
52888 make a stack frame. Instead use parm save area as a temp.
52889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
52890 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
52891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52892 Don't make a stack frame for parent, use parm save area.
52893 Increase child stack frame to 112 bytes. Don't save unused reg,
52894 and adjust reg usage. Set up cfi on error recovery and
52895 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
52896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52897 (__makecontext): Add dummy nop after jump to exit.
52898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
52899 Use correct parm save area and cr save, reduce stack frame.
52900 Correct cfi for possible PSEUDO_RET frame setup.
52901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
52902 Branch to local label emitted by PSEUDO_RET rather than
52905 2010-08-12 Andreas Schwab <schwab@redhat.com>
52908 * locale/programs/locale.c (print_assignment): New function.
52909 (show_locale_vars): Use it.
52911 2010-08-11 Ulrich Drepper <drepper@redhat.com>
52913 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
52915 (struct statfs64): Likewise.
52916 (_STATFS_F_FLAGS): Define.
52917 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
52918 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52919 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
52920 (ST_VALID): Define locally.
52921 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
52922 __statvfs_getflags, use the provided value.
52923 * sysdeps/unix/sysv/linux/kernel-features.h: Define
52924 __ASSUME_STATFS_F_FLAGS.
52926 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
52928 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
52929 Add sys/fanotify.h.
52930 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
52931 fanotify_mask for GLIBC_2.13.
52932 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
52933 fanotify_init and fanotify_mark.
52934 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52935 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
52937 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
52939 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
52940 prlimit64 for GLIBC_2.13.
52941 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
52943 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
52945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
52946 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52947 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
52948 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
52949 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
52951 * sysdeps/unix/sysv/linux/prlimit.c: New file.
52954 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
52955 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
52957 * nss/Makefile: Add rules to build and run tst-nss-test1.
52958 * shlib-versions: Add entry for libnss_test1.
52959 * nss/nss_test1.c: New file.
52960 * nss/tst-nss-test1.c: New file.
52962 * nss/nsswitch.c (__nss_database_custom): Define new variable.
52963 (__nss_configure_lookup): Set appropriate entry in
52964 __nss_configure_lookup to true.
52965 * nss/nsswitch.h: Define enum with indeces of databases in
52966 databases and __nss_database_custom arrays. Declare
52967 __nss_database_custom.
52968 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52969 to avoid using nscd when custom rules are installed.
52970 * nss/getXXbyYY_r.c: Likewise.
52971 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52973 * nss/nss_files/files-parse.c: Whitespace fixes.
52975 2010-08-09 Ulrich Drepper <drepper@redhat.com>
52978 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
52979 * posix/fnmatch_loop.c: Likewise.
52981 2010-07-17 Andi Kleen <ak@linux.intel.com>
52983 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
52984 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
52985 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52986 * Versions.def [GLIBC_2.13]: Add.
52988 2010-08-06 Ulrich Drepper <drepper@redhat.com>
52990 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52991 Also fail if tpwd after pwuid call is NULL.
52993 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
52995 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
52996 when converting to ms.
52998 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53000 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
53001 EOPNOTSUPP errors with ENOTTY.
53002 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
53003 EOPNOTSUPP errors with ENOTTY.
53005 2010-07-31 Ulrich Drepper <drepper@redhat.com>
53007 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53008 Add strcasecmp_l-ssse3.
53009 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
53011 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
53012 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
53013 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
53015 2010-07-30 Ulrich Drepper <drepper@redhat.com>
53017 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
53019 * string/Makefile (strop-tests): Add strcasecmp.
53020 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53021 strcasecmp_l-nonascii.
53022 (gen-as-const-headers): Add locale-defines.sym.
53023 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53024 * sysdeps/x86_64/strcasecmp.S: New file.
53025 * sysdeps/x86_64/strcasecmp_l.S: New file.
53026 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
53027 * sysdeps/x86_64/locale-defines.sym: New file.
53028 * string/test-strcasecmp.c: New file.
53030 * string/test-strcasestr.c: Test both ends of the range of characters.
53031 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
53033 2010-07-29 Roland McGrath <roland@redhat.com>
53036 * manual/locale.texi (Yes-or-No Questions): Fix example code.
53038 2010-07-27 Ulrich Drepper <drepper@redhat.com>
53040 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
53043 2010-07-27 Andreas Schwab <schwab@redhat.com>
53045 * manual/memory.texi (Malloc Tunable Parameters): Document
53048 2010-07-26 Roland McGrath <roland@redhat.com>
53051 * configure.in (-fgnu89-inline check): Set and substitute
53052 gnu89_inline, not libc_cv_gnu89_inline.
53053 * configure: Regenerated.
53054 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
53056 2010-07-26 Ulrich Drepper <drepper@redhat.com>
53058 * string/test-strnlen.c: New file.
53059 * string/Makefile (strop-tests): Add strnlen.
53060 * string/tester.c (test_strnlen): Add a few more test cases.
53061 * string/tst-strlen.c: Better error reporting.
53063 * sysdeps/x86_64/strnlen.S: New file.
53065 2010-07-24 Ulrich Drepper <drepper@redhat.com>
53067 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53068 lower-latency instructions.
53070 2010-07-23 Ulrich Drepper <drepper@redhat.com>
53072 * string/test-strcasestr.c: New file.
53073 * string/test-strstr.c: New file.
53074 * string/Makefile (strop-tests): Add strstr and strcasestr.
53075 * string/str-two-way.h: Don't undefine MAX.
53076 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53078 2010-07-21 Andreas Schwab <schwab@redhat.com>
53080 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53081 strcasestr-nonascii.
53082 (CFLAGS-strcasestr-nonascii.c): Define.
53083 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53084 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53085 Remove unused attribute.
53087 2010-07-20 Roland McGrath <roland@redhat.com>
53089 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53090 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
53091 ld.so.cache was broken. With it, there is no way to disable dsocaps
53092 like LD_HWCAP_MASK can disable hwcaps.
53094 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53096 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53098 2010-07-16 Ulrich Drepper <drepper@redhat.com>
53100 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53101 call in strcasestr.
53102 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53103 __strcasestr_sse42_nonascii.
53104 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53105 strcasestr-nonascii.c.
53106 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53108 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
53110 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53111 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53112 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53113 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53115 2010-07-09 Ulrich Drepper <drepper@redhat.com>
53117 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53120 2010-07-06 Andreas Schwab <schwab@redhat.com>
53123 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53126 2010-07-06 Ulrich Drepper <drepper@redhat.com>
53128 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53129 _PC_PIPE_BUF using F_GETPIPE_SZ.
53131 2010-07-05 Roland McGrath <roland@redhat.com>
53133 * manual/arith.texi (Rounding Functions): Fix rint description
53134 implicit in round description.
53136 2010-07-02 Ulrich Drepper <drepper@redhat.com>
53138 * elf/Makefile: Fix linking for a few tests to make recent linker
53141 2010-06-30 Andreas Schwab <schwab@redhat.com>
53143 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53144 $(common-objpfx)libc_nonshared.a.
53146 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
53148 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
53149 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
53150 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53151 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53152 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
53153 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
53154 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53155 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
53157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
53158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
53159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
53161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
53163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
53164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
53165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
53166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
53168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
53170 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
53171 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
53172 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
53173 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
53174 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
53175 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
53176 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
53177 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
53178 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
53179 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
53180 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
53181 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
53182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
53183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
53184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
53185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
53186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
53187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
53188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
53189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
53190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
53191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
53192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
53193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
53194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
53195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
53197 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
53199 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
53200 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
53201 * string/memmove.c (memmove): Renamed to ...
53202 (MEMMOVE): ...this. Default to memmove.
53203 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
53204 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
53206 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53207 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
53208 mempcpy-ssse3-back memmove-ssse3-back.
53209 * sysdeps/x86_64/multiarch/bcopy.S: New file .
53210 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
53211 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
53212 * sysdeps/x86_64/multiarch/memcpy.S: New file.
53213 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
53214 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
53215 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
53216 * sysdeps/x86_64/multiarch/memmove.c: New file.
53217 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
53218 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
53219 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
53220 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
53221 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
53222 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
53224 (index_Fast_Copy_Backward): Define.
53225 (HAS_ARCH_FEATURE): Define.
53226 (HAS_FAST_REP_STRING): Define.
53227 (HAS_FAST_COPY_BACKWARD): Define.
53229 2010-06-21 Andreas Schwab <schwab@redhat.com>
53231 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53232 Restore proper fallback handling.
53234 2010-06-19 Ulrich Drepper <drepper@redhat.com>
53237 * posix/group_member.c (__group_member): Correct checking loop.
53239 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
53240 OOM in getpwuid_r correctly. Return error number when the caller
53241 should return, otherwise -1.
53242 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
53243 call returning > 0 value.
53244 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
53246 2010-06-07 Andreas Schwab <schwab@redhat.com>
53248 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
53249 libc_nonshared.a from targets in modules-names.
53251 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
53253 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
53256 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
53258 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
53259 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
53260 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
53261 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
53263 2010-06-02 Andreas Schwab <schwab@redhat.com>
53265 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
53267 2010-06-14 Ulrich Drepper <drepper@redhat.com>
53269 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
53271 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53272 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53273 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53274 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53275 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53276 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
53278 2010-06-14 Roland McGrath <roland@redhat.com>
53280 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
53282 2010-06-07 Jakub Jelinek <jakub@redhat.com>
53284 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
53285 __REDIRECT followed by __THROW.
53286 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
53287 * posix/getopt.h (getopt): Likewise.
53289 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53291 * hurd/lookup-at.c (__file_name_lookup_at): Accept
53292 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
53293 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
53295 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
53296 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
53298 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
53300 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
53302 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
53305 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53306 Properly check family and model.
53308 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
53310 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
53312 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
53314 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
53316 2010-05-21 Ulrich Drepper <drepper@redhat.com>
53318 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
53321 2010-05-19 Andreas Schwab <schwab@redhat.com>
53323 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
53326 2010-05-21 Andreas Schwab <schwab@redhat.com>
53328 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
53329 and internal_recvmmsg.
53330 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
53331 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
53332 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
53333 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
53335 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
53336 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53337 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53339 2010-05-20 Andreas Schwab <schwab@redhat.com>
53341 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
53343 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
53345 POWER7 optimizations.
53346 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
53347 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
53349 2010-05-19 Ulrich Drepper <drepper@redhat.com>
53351 * version.h: Update for 2.13 development version.
53353 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
53355 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
53356 exceptions. Return 0.
53358 2010-05-07 Roland McGrath <roland@redhat.com>
53360 * elf/ldconfig.c (main): Add a const.
53362 2010-05-06 Ulrich Drepper <drepper@redhat.com>
53364 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
53365 (args_options): Add no-idn option.
53366 (ahosts_keys_int): Add idn_flags to ai_flags.
53367 (parse_option): Handle 'i' option to clear idn_flags.
53369 * malloc/malloc.c (_int_free): Possible race in the most recently
53370 added check. Only act on the data if no current modification
53373 See ChangeLog.17 for earlier changes.