]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix nss/tst-nss-test1.c format warning.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
be970916
JM
12014-11-27 Joseph Myers <joseph@codesourcery.com>
2
3 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4 difference, not %ju.
5
3b20fd5c
JM
62014-11-26 Joseph Myers <joseph@codesourcery.com>
7
8915eace
JM
8 * include/libc-internal.h (ignore_value): New macro.
9 * nscd/connections.c (restart): Wrap calls to setuid and setgid
10 with ignore_value.
11
f1a5a0e3
JM
12 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
13 definition.
14
59ef1715
JM
15 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
16 pthread_cleanup_push to void *.
17
a6f3079b
JM
18 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
19 Undefine.
20
706688aa
JM
21 [BZ #16619]
22 [BZ #16740]
23 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
24 instead of 1L << 52.
25
12da14a5
JM
26 * libio/bug-rewind.c (do_test): Check fwscanf return values.
27 * libio/bug-rewind2.c (do_test): Likewise.
28
bd5dadac
JM
29 * debug/test-stpcpy_chk-ifunc.c: Remove file.
30 * debug/test-strcpy_chk-ifunc.c: Likewise.
31 * wcsmbs/test-wcschr-ifunc.c: Likewise.
32 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34 * wcsmbs/test-wcslen-ifunc.c: Likewise.
35 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37 * Rules [$(multi-arch) = no] (tests): Do not filter out
38 $(tests-ifunc).
39 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
40 * debug/Makefile (tests-ifunc): Remove variable.
41 (tests): Do not add $(tests-ifunc).
42 * wcsmbs/Makefile (tests-ifunc): Remove variable.
43 (tests): Do not add $(tests-ifunc).
44 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
45 [TEST_IFUNC]: Remove conditionals.
46 * string/test-string.h (TEST_IFUNC): Remove macro.
47 [TEST_IFUNC]: Remove conditionals.
48
3b20fd5c
JM
49 * string/test-strchr.c [!WIDE] (L): New macro.
50 [WIDE] (L): Likewise.
51 (check1): Use CHAR instead of char. Use L on string and character
52 constants.
53
704f7947
AZ
542014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
55
56 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
57 tests.
58 * sysdeps/powerpc/bits/atomic.h
59 (__arch_atomic_exchange_and_add_32_acq): Add definition.
60 (__arch_atomic_exchange_and_add_32_rel): Likewise.
61 (atomic_exchange_and_add_acq): Likewise.
62 (atomic_exchange_and_add_rel): Likewise.
63 * sysdeps/powerpc/powerpc32/bits/atomic.h
64 (__arch_atomic_exchange_and_add_64_acq): Add definition.
65 (__arch_atomic_exchange_and_add_64_rel): Likewise.
66 * sysdeps/powerpc/powerpc64/bits/atomic.h
67 (__arch_atomic_exchange_and_add_64_acq): Add definition.
68 (__arch_atomic_exchange_and_add_64_rel): Likewise.
69
cdcb42d7
TR
702014-11-26 Torvald Riegel <triegel@redhat.com>
71
72 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
73 Change synchronization of __sched_fifo_min_prio and
74 __sched_fifo_max_prio.
75 * nptl/pthread_mutexattr_getprioceiling.c
76 (pthread_mutexattr_getprioceiling): Likewise.
77 * nptl/pthread_mutexattr_setprioceiling.c
78 (pthread_mutexattr_setprioceiling): Likewise.
79 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
80 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
81 Likewise.
82
c82f5c0c
JM
832014-11-26 Joseph Myers <joseph@codesourcery.com>
84
85 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
86 void.
87
439e1ad6
JM
882014-11-25 Joseph Myers <joseph@codesourcery.com>
89
90 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
91 third argument const.
92
b1eda10e
PE
932014-11-25 Paul Eggert <eggert@cs.ucla.edu>
94
95 fnmatch: work around GCC compiler warning bug with uninit var
96 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
97 This works around a bug with x86-64 GCC 4.9.2 and earlier
98 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
99 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
100 used uninitialized in this function [-Wmaybe-uninitialized]".
101
bde2667a
JM
1022014-11-25 Joseph Myers <joseph@codesourcery.com>
103
104 * posix/bug-regex31.c (main): Return RES not 0.
105
5fbb5691
AB
1062014-11-25 Anton Blanchard <anton@samba.org>
107
108 * sysdeps/powerpc/bits/atomic.h
109 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
110
467fec0b
BM
1112014-11-24 Sterling Augustine <saugustine@google.com>
112
113 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
114
e9ff8efb
RC
1152014-11-24 Ryan Cumming <etaoins@gmail.com>
116
117 [BZ #17608]
118 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
119
9744496f
JM
1202014-11-24 Joseph Myers <joseph@codesourcery.com>
121
122 [BZ #17633]
123 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
124 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
125 variable.
126 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
127 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
128
6423d475
WD
1292014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
130
131 * string/strncpy.c (strncpy): Improve performance by using memset.
132
1332014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
134
135 * string/strcpy.c (strcpy):
136 Improve performance by using strlen and memcpy.
137
5d178c37
LH
1382014-11-24 Leonhard Holz <leonhard.holz@web.de>
139
140 * string/strcoll_l.c (get_next_seq): __always_inline.
141 * string/strcoll_l.c (do_compare): __always_inline.
142
279bc5b3
SP
1432014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
144
7a9ebfa1
SP
145 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
146 defined.
147 * include/mqueue.h: Likewise.
148 * include/stdlib.h: Likewise.
149
4f41c682
SP
150 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
151 (get_null_defines): Adjust.
152 * sunrpc/Makefile: Adjust comment.
153 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
154 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
155 (CFLAGS-interp.c): Likewise.
156 (CFLAGS-ldconfig.c): Likewise.
157 (CPPFLAGS-.os): Likewise.
158 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
159 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
160 * extra-modules.mk (extra-modules.mk): Likewise.
161 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
162 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
163 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
164 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
165 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
166 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
167 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
168 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
169 * iconvdata/Makefile (CPPFLAGS): Likewise.
170 (cpp-srcs-left): Add libof for all iconvdata routines.
171 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
172 * include/assert.h: Likewise.
173 * include/ctype.h: Likewise.
174 * include/errno.h: Likewise.
175 * include/libc-symbols.h: Likewise.
176 * include/math.h: Likewise.
177 * include/netdb.h: Likewise.
178 * include/resolv.h: Likewise.
179 * include/stdio.h: Likewise.
180 * include/stdlib.h: Likewise.
181 * include/string.h: Likewise.
182 * include/sys/stat.h: Likewise.
183 * include/wctype.h: Likewise.
184 * intl/l10nflist.c: Likewise.
185 * libidn/idn-stub.c: Likewise.
186 * libio/libioP.h: Likewise.
187 * nptl/libc_multiple_threads.c: Likewise.
188 * nptl/pthreadP.h: Likewise.
189 * posix/regex_internal.h: Likewise.
190 * resolv/res_hconf.c: Likewise.
191 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
192 * sysdeps/arm/memmove.S: Likewise.
193 * sysdeps/arm/sysdep.h: Likewise.
194 * sysdeps/generic/_itoa.h: Likewise.
195 * sysdeps/generic/symbol-hacks.h: Likewise.
196 * sysdeps/gnu/errlist.awk: Likewise.
197 * sysdeps/gnu/errlist.c: Likewise.
198 * sysdeps/i386/i586/memcpy.S: Likewise.
199 * sysdeps/i386/i586/memset.S: Likewise.
200 * sysdeps/i386/i686/memcpy.S: Likewise.
201 * sysdeps/i386/i686/memmove.S: Likewise.
202 * sysdeps/i386/i686/mempcpy.S: Likewise.
203 * sysdeps/i386/i686/memset.S: Likewise.
204 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
205 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
206 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
207 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
208 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
209 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
210 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
211 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
212 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
213 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
214 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
215 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
216 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
217 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
218 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
219 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
220 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
221 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
222 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
223 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
224 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
225 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
226 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
227 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
228 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
229 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
230 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
231 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
232 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
233 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
234 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
235 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
236 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
237 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
238 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
239 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
240 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
241 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
242 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
243 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
244 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
245 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
246 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
247 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
248 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
249 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
250 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
251 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
252 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
253 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
254 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
255 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
256 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
257 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
258 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
259 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
260 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
261 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
262 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
263 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
264 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
265 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
266 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
267 * sysdeps/nptl/bits/libc-lock.h: Likewise.
268 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
269 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
270 * sysdeps/posix/closedir.c: Likewise.
271 * sysdeps/posix/opendir.c: Likewise.
272 * sysdeps/posix/readdir.c: Likewise.
273 * sysdeps/posix/rewinddir.c: Likewise.
274 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
275 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
276 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
277 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
278 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
279 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
280 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
281 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
282 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
283 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
284 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
285 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
286 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
287 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
288 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
289 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
290 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
291 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
292 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
293 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
294 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
295 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
296 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
297 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
298 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
299 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
300 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
301 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
302 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
303 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
304 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
305 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
306 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
307 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
308 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
309 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
310 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
311 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
312 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
313 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
314 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
315 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
316 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
317 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
318 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
319 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
320 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
321 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
322 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
323 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
324 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
325 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
326 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
327 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
328 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
329 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
330 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
331 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
332 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
333 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
334 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
335 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
336 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
337 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
338 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
339 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
340 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
341 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
342 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
343 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
344 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
345 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
346 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
347 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
348 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
349 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
350 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
351 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
352 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
353 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
354 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
355 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
356 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
357 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
358 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
359 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
360 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
361 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
362 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
363 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
364 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
365 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
366 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
367 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
368 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
369 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
370 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
371 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
372 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
373 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
374 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
375 * sysdeps/unix/alpha/sysdep.S: Likewise.
376 * sysdeps/unix/alpha/sysdep.h: Likewise.
377 * sysdeps/unix/make-syscalls.sh: Likewise.
378 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
379 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
380 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
381 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
382 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
383 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
384 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
385 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
386 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
387 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
388 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
389 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
390 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
391 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
392 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
393 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
394 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
395 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
396 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
397 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
398 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
399 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
400 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
401 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
402 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
403 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
404 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
407 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
408 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
409 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
410 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
411 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
412 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
413 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
414 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
415 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
416 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
417 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
418 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
419 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
420 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
421 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
422 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
423 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
424 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
425 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
426 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
427 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
428 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
429 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
430 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
431 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
432 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
433 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
434 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
435 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
436 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
437 * sysdeps/x86_64/memcpy.S: Likewise.
438 * sysdeps/x86_64/memmove.c: Likewise.
439 * sysdeps/x86_64/memset.S: Likewise.
440 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
441 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
442 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
443 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
444 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
445 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
446 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
447 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
448 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
449 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
450 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
451 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
452 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
453 * sysdeps/x86_64/multiarch/memset.S: Likewise.
454 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
455 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
456 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
457 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
458 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
459 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
460 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
461 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
462 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
463 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
464 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
465 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
466 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
467 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
468 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
469 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
470 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
471 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
472 * sysdeps/x86_64/strcmp.S: Likewise.
473
76ca86a5
SP
474 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
475
a3848485
SP
476 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
477 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
478 * elf/rtld-Rules: Likewise.
479 * elf/setup-vdso.h: Likewise.
480 * include/assert.h: Likewise.
481 * include/bits/stdlib-float.h: Likewise.
482 * include/errno.h: Likewise.
483 * include/sys/stat.h: Likewise.
484 * include/unistd.h: Likewise.
485 * sysdeps/aarch64/setjmp.S: Likewise.
486 * sysdeps/alpha/setjmp.S: Likewise.
487 * sysdeps/arm/__longjmp.S: Likewise.
488 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
489 * sysdeps/arm/setjmp.S: Likewise.
490 * sysdeps/arm/sysdep.h: Likewise.
491 * sysdeps/generic/_itoa.h: Likewise.
492 * sysdeps/generic/dl-sysdep.h: Likewise.
493 * sysdeps/generic/ldsodefs.h: Likewise.
494 * sysdeps/i386/dl-tls.h: Likewise.
495 * sysdeps/i386/setjmp.S: Likewise.
496 * sysdeps/m68k/setjmp.c: Likewise.
497 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
498 * sysdeps/mach/hurd/opendir.c: Likewise.
499 * sysdeps/posix/getcwd.c: Likewise.
500 * sysdeps/posix/opendir.c: Likewise.
501 * sysdeps/posix/profil.c: Likewise.
502 * sysdeps/powerpc/dl-procinfo.h: Likewise.
503 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
504 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
505 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
506 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
507 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
508 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
509 * sysdeps/s390/dl-tls.h: Likewise.
510 * sysdeps/s390/s390-32/setjmp.S: Likewise.
511 * sysdeps/s390/s390-64/setjmp.S: Likewise.
512 * sysdeps/sh/sh3/setjmp.S: Likewise.
513 * sysdeps/sh/sh4/setjmp.S: Likewise.
514 * sysdeps/unix/alpha/sysdep.h: Likewise.
515 * sysdeps/unix/arm/sysdep.S: Likewise.
516 * sysdeps/unix/i386/sysdep.S: Likewise.
517 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
518 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
519 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
520 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
521 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
522 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
523 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
524 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
525 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
526 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
527 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
528 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
529 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
532 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
533 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
534 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
535 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
536 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
537 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
538 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
539 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
540 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
541 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
542 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
543 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
544 * sysdeps/unix/x86_64/sysdep.S: Likewise.
545 * sysdeps/x86_64/setjmp.S: Likewise.
546
a109996e
SP
547 * include/math.h: Use IS_IN instead of IS_IN_libm.
548 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
549 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
550 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
551 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
552 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
553 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
554 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
555 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
556 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
557 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
558 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
559 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
560 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
561 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
562 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
563 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
564 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
565 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
566 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
567 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
568 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
569 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
570 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
571 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
572 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
573 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
574 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
575 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
576 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
577 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
578 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
579 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
580 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
582 Likewise.
583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
584 Likewise.
585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
586 Likewise.
587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
588 Likewise.
589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
590 Likewise.
591 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
592 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
593 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
594 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
595 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
596 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
602 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
603 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
604 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
605 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
606 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
607 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
608 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
609 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
610 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
611 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
612 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
613 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
614 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
615 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
617 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
618
ce9f10f7
SP
619 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
620 * nptl/pthreadP.h: Likewise.
621 * nptl_db/structs.def: Likewise.
622 * sysdeps/arm/sysdep.h: Likewise.
623 * sysdeps/nptl/bits/libc-lock.h: Likewise.
624 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
625 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
626 * sysdeps/unix/alpha/sysdep.h: Likewise.
627 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
628 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
629 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
630 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
631 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
632 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
633 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
634 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
635 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
636 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
637 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
638 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
639 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
640 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
643 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
644 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
645 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
646 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
647 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
648 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
649 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
650 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
651 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
652 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
653
016afc75
SP
654 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
655 * nptl/pthreadP.h: Likewise.
656 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
657 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
658 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
659 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
660 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
661 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
662 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
663 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
664 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
665 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
666 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
667 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
669 Likewise.
670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
671 Likewise.
672 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
673 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
674 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
675 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
676 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
677 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
678 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
679 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
680
9b42a0b3
SP
681 * dlfcn/dladdr.c: Use IS_IN.
682 * dlfcn/dladdr1.c: Likewise.
683 * dlfcn/dlclose.c: Likewise.
684 * dlfcn/dlerror.c: Likewise.
685 * dlfcn/dlinfo.c: Likewise.
686 * dlfcn/dlmopen.c: Likewise.
687 * dlfcn/dlopen.c: Likewise.
688 * dlfcn/dlsym.c: Likewise.
689 * dlfcn/dlvsym.c: Likewise.
690
85f36372
SP
691 * include/ifaddrs.h: Use IS_IN.
692 * inet/check_pf.c: Likewise.
693 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
694 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
695
fb6784e3
SP
696 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
697 IS_IN_ldconfig.
698 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
699 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
700
2886d2d1
SP
701 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
702 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
703 IS_IN (libc).
704
9a484857
SP
705 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
706
a10178bd
SP
707 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
708 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
709 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
710 * include/libc-symbols.h (IS_IN_LIB): New macro.
711 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
712 * include/netdb.h: Likewise.
713 * include/stap-probe.h: Remove all uses of IN_LIB.
714
279bc5b3
SP
715 * Makeconfig (module-cppflags-real): Define MODULE_NAME
716 instead of IN_MODULE.
717 * include/libc-symbols.h (IN_MODULE): Define using
718 MODULE_NAME.
719 (PASTE_NAME, PASTE_NAME1): New macros.
720 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
721 of IN_LIB.
722 (STAP_PROBE_ASM): Likewise.
723
e0cfa510
ST
7242014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
725
726 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
727 __mach_init in dlopened libc.
728
34d97d87
MF
7292014-11-22 Mike Frysinger <vapier@gentoo.org>
730
731 * sysdeps/arm/preconfigure.ac: Delete EABI check.
732 * sysdeps/arm/preconfigure: Regenerate.
733
33cd1f74
RM
7342014-11-21 Roland McGrath <roland@hack.frob.com>
735
736 * nptl/pthread_create.c (__pthread_create_2_1): Set
737 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
738 when copying values from IATTR into PD.
739
8c230039
WN
7402014-11-21 Will Newton <will.newton@linaro.org>
741 Andrew Pinski <andrew.pinski@caviumnetworks.com>
742
6d3db89b
AP
743 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
744 Refactor inline-asm. Also add comment.
745
01194ba1
WN
746 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
747 ElfW macro instead of hardcoded Elf64 types.
748 (la_aarch64_gnu_pltenter): Likewise.
749 * sysdeps/aarch64/dl-machine.h
750 (elf_machine_runtime_setup): Use ElfW(Addr).
751
8c230039
WN
752 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
753 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
754 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
755 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
756 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
757 (R_AARCH64_TLS_DTPMOD64): Rename to ..
758 (R_AARCH64_TLS_DTPMOD): This.
759 (R_AARCH64_TLS_DTPREL64): Rename to ...
760 (R_AARCH64_TLS_DTPREL): This.
761 (R_AARCH64_TLS_TPREL64): Rename to ...
762 (R_AARCH64_TLS_TPREL): This.
763 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
764 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
765 R_AARCH64_TLS_TPREL64.
766 (elf_machine_rela): Likewise.
767
0d79fa53
TR
7682014-11-21 Torvald Riegel <triegel@redhat.com>
769
770 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
771 by setting it to 0. 64b atomics are not supported currently.
772
b59d114b
AO
7732014-11-21 Alexandre Oliva <aoliva@redhat.com>
774
775 [BZ #16469]
776 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
777 search domain names.
778
f3d945d5
AO
7792014-11-21 Alexandre Oliva <aoliva@redhat.com>
780
781 [BZ #16469]
782 * NEWS: Update.
783 * resolv/res_query.c (__libc_res_nquerydomain): Retain
784 trailing dot.
785 * posix/tst-getaddrinfo5.c: New.
786 * posix/Makefile (tests): Add it.
787
49698902
AO
7882014-11-21 Alexandre Oliva <aoliva@redhat.com>
789
790 [BZ #14498]
791 * NEWS: Fixed.
792 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
793 after parsing line but before break_if_match.
794 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
795 if there is a protocol mismatch.
796
81959214
MS
7972014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
798
799 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
800 because the potential race is on the user-supplied stream.
801
7729e0e9
AO
8022014-11-21 Alexandre Oliva <aoliva@redhat.com>
803
804 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
805 string literal if not passed a buffer.
806 * manual/job.texi (ctermid): Update reasoning, note deviation
807 from posix, suggest mtasurace when not passed a buffer, for
808 future non-preliminary safety notes.
809
a4ea5e28
AO
8102014-11-21 Alexandre Oliva <aoliva@redhat.com>
811
812 * manual/users.texi (cuserid): Fix MT-Safety note for the case
813 of not passing it a buffer.
814 Reported by Peng Haitao.
815
a2b581cb
AO
8162014-11-21 Alexandre Oliva <aoliva@redhat.com>
817
818 * manual/Makefile ($(objpfx)stamp-summary): Require
819 check-safety.sh to pass.
820 * manual/check-safety.sh: Wish for verification that every
821 @deftypefn and @deftypefun is followed by a @safety remark.
822
f214ff74
RM
8232014-11-20 Roland McGrath <roland@hack.frob.com>
824
7f0dfae0
RM
825 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
826
2f531bbb
RM
827 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
828 PTHREAD_CANCEL_ASYNCHRONOUS.
829 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
830 send SIGCANCEL.
831
f214ff74
RM
832 * nptl/default-sched.h: New file.
833 * sysdeps/unix/sysv/linux/default-sched.h: New file.
834 * nptl/pthread_create.c: Include it.
835 (__pthread_create_2_1): Use collect_default_sched instead of making
836 Linux syscalls here directly.
837
e37c91d4
TR
8382014-11-20 Torvald Riegel <triegel@redhat.com>
839
840 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
841 __pthread_once): Use C11 atomics.
842
1eccfecd
TR
8432014-11-20 Torvald Riegel <triegel@redhat.com>
844
845 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
846
ff871426
TR
8472014-11-20 Torvald Riegel <triegel@redhat.com>
848
849 * include/atomic.h (__atomic_link_error, __atomic_check_size,
850 atomic_thread_fence_acquire, atomic_thread_fence_release,
851 atomic_thread_fence_seq_cst, atomic_load_relaxed,
852 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
853 atomic_compare_exchange_weak_relaxed,
854 atomic_compare_exchange_weak_acquire,
855 atomic_compare_exchange_weak_release,
856 atomic_exchange_acquire, atomic_exchange_release,
857 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
858 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
859 atomic_fetch_and_acquire,
860 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
861
1ea339b6
TR
8622014-11-20 Torvald Riegel <triegel@redhat.com>
863
864 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
865 USE_ATOMIC_COMPILER_BUILTINS): Define.
866 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
867 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
868 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
869 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
870 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
871 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
872 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
873 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
874 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
875 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
876 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
877 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
878 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
879 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
880 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
881 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
882 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
883 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
884 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
885 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
886 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
887 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
888 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
889 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
890 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
891 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
892 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
893 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
894 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
895 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
896 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
897 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
898 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
899 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
900 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
901 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
902 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
903 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
904 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
905 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
906
cbd463e2
RM
9072014-11-19 Roland McGrath <roland@hack.frob.com>
908
d960211f
RM
909 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
910 the sched_priority value here. It was already checked when the user
911 called pthread_attr_setschedparam.
912
cbd463e2
RM
913 * nptl/tst-bad-schedattr.c: New file.
914 * nptl/Makefile (tests): Add it.
915
a39208bd
CD
9162014-11-19 Carlos O'Donell <carlos@redhat.com>
917 Florian Weimer <fweimer@redhat.com>
918 Joseph Myers <joseph@codesourcery.com>
919 Adam Conrad <adconrad@0c3.net>
920 Andreas Schwab <schwab@suse.de>
921 Brooks <bmoses@google.com>
922
923 [BZ #17625]
924 * wordexp-test.c (__dso_handle): Add prototype.
925 (__register_atfork): Likewise.
926 (__app_register_atfork): New function.
927 (registered_forks): New global.
928 (register_fork): New function.
929 (test_case): Add 3 new tests for WRDE_CMDSUB.
930 (main): Call __app_register_atfork.
931 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
932 fork count is non-zero fail the test.
933 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
934 is set.
935 (parse_dollars): Remove check for WRDE_NOCMD.
936 (parse_dquote): Likewise.
937
9cd47470
SP
9382014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
939
130ac68c
SP
940 * Makeconfig (built-modules): List non-library modules to be
941 built.
942 (module-cppflags): Include libc-modules.h for
943 everything except shlib-versions.v.i.
944 (CPPFLAGS): Use it.
945 (before-compile): Add libc-modules.h.
946 ($(common-objpfx)libc-modules.h,
947 $(common-objpfx)libc-modules.stmp): New targets.
948 (common-generated): Add libc-modules.h and libc-modules.stmp.
949 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
950 * include/libc-symbols.h: Don't include libc-modules.h.
951 * include/libc-modules.h: Remove file.
952 * scripts/gen-libc-modules.awk: New script to generate
953 libc-modules.h.
954 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
955 Depend on libc-modules.stmp.
956
286663c3
SP
957 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
958
9cd47470
SP
959 * Makeconfig (in-module): Get value of libof set for the
960 translation unit.
961 (CPPFLAGS): Use $(in-module).
962 * Makerules: Don't suffix routine names for nonlib.
963 * include/libc-modules.h: New file.
964 * include/libc-symbols.h: Include libc-modules.h
965 (IS_IN): New macro to replace IS_IN_* macros.
966 * elf/Makefile: Set libof-* for each routine.
967 * elf/rtld-Rules: Likewise.
968 * extra-modules.mk: Likewise.
969 * iconv/Makefile: Likewise.
970 * iconvdata/Makefile: Likewise.
971 * locale/Makefile: Likewise.
972 * malloc/Makefile: Likewise.
973 * nss/Makefile: Likewise.
974 * sysdeps/gnu/Makefile: Likewise.
975 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
976 * sysdeps/unix/sysv/linux/Makefile: Likewise.
977 * sysdeps/s390/s390-64/Makefile: Likewise.
978 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
979 CPPFLAGS for nscd instead of nonlib.
980
32fed10f
RM
9812014-11-18 Roland McGrath <roland@hack.frob.com>
982
d71035bd
RM
983 * nptl/createthread.c: New file.
984
6540b991
RM
985 * nptl/createthread.c: Moved ...
986 * sysdeps/unix/sysv/linux/createthread.c: ... here.
987
32fed10f
RM
988 * nptl/createthread.c: Add proper top-line comment.
989 (do_clone): Folded into ...
990 (create_thread): ... here. Take new arguments STOPPED_START and
991 THREAD_RAN. Always set PD->stopped_start to something here. Don't
992 increment __nptl_threads, do event-reporting logic, do
993 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
994 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
995 resource cleanup if sched_setaffinity or sched_setscheduler fails,
996 just send SIGCANCEL.
997 * nptl/pthread_create.c: Forward-declare create_thread before
998 including createthread.c.
999 (start_thread): Use new macro START_THREAD_DEFN to replace defining
1000 declaration, and new macro START_THREAD_SELF to replace argument.
1001 Remove return statement.
1002 (report_thread_creation): New function.
1003 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
1004 synchronization logic, and __nptl_nthreads increment here, around
1005 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
1006 PD->parent_cancelhandling here, before create_thread. When
1007 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
1008 __deallocate_stack, and ENOMEM translation here.
1009
107a5bf0
JM
10102014-11-18 Joseph Myers <joseph@codesourcery.com>
1011
1012 [BZ #17616]
1013 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
1014 (mptwo): Rename to __mptwo.
1015 (__inv): Use __mptwo instead of mptwo.
1016 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
1017 (mptwo): Rename to __mptwo.
1018 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
1019 of mpone and __mptwo instead of mptwo.
1020 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
1021 instead of mpone.
1022 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1023 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
1024 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
1025 of mpone and __mptwo instead of mptwo.
1026 (__mpranred): Use __mpone instead of mpone.
1027 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
1028 variable.
1029 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1030 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1031 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1032 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1033 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1034 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1035 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1036 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1037 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1038 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1039 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1040 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1041 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1042 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1043 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1044 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1045 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1046 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1047 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1048
3b679ab3
TV
10492014-11-18 Tom de Vries <tom@codesoucery.com>
1050
1051 * manual/signal.texi (Primitives Interrupted by Signals): In section,
1052 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
1053
10542014-11-17 Richard Henderson <rth@redhat.com>
1055
1056 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
1057 (_FP_PACK_RAW_2): Remove.
1058 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
1059 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
1060 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
1061 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
1062 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
1063 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
1064 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
1065 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
1066 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
1067 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
1068 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
1069 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
1070 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
1071 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
1072 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
1073 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
1074
0781a777
RM
10752014-11-14 Roland McGrath <roland@hack.frob.com>
1076
1077 * signal/signal.h [__USE_MISC]
1078 (struct sigvec): Remove type.
1079 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
1080 (sigvec): Remove declaration.
1081 * sysdeps/posix/sigvec.c: Moved ...
1082 * signal/sigvec.c: ... here, replacing old file.
1083 (struct sigvec): New type, copied from old signal.h definition.
1084 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
1085 (__sigvec): Convert definition to prototype.
1086 (sigvec): Replace weak_alias with compat_symbol.
1087 * signal/Versions (libc: GLIBC_2.21): New version set.
1088 * include/signal.h: Remove __sigvec declaration.
1089 * sysdeps/unix/bsd/sigvec.c: Remove file.
1090 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1091 * manual/signal.texi (BSD Handler): Remove subsection.
1092 Move siginterrupt up to ...
1093 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
1094 (Blocking in BSD): Fold subsection into its parent.
1095 * NEWS: Mention sigvec removal.
1096
a4733812
JM
10972014-11-14 Joseph Myers <joseph@codesourcery.com>
1098
5ae4fe60
JM
1099 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1100 (DLA_FMS): Make definition conditional only on [__FMA4__].
1101 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1102 definition.
1103
6a0dd472
JM
1104 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1105 Make definition conditional only on [PROF].
1106 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1107 definition.
1108 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1109 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1110
a4733812
JM
1111 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1112 !__GNUC__].
1113 * include/signal.h (__sigpause): Move declaration above call to
1114 libc_hidden_proto.
1115 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1116 variable.
1117 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1118 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1119
cf7246dd
DM
11202014-11-14 David S. Miller <davem@davemloft.net>
1121
1122 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1123 Define before including <string/memcpy.c> and <string/mempcpy.c>.
1124
c1b0aadc
JM
11252014-11-14 Joseph Myers <joseph@codesourcery.com>
1126
4863355a
JM
1127 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1128 * configure: Regenerated.
1129 * manual/install.texi (Tools for Compilation): Document a
1130 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1131 compiler verified to work.
1132 * INSTALL: Regenerated.
1133
c1b0aadc
JM
1134 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1135 redeclare with asm name.
1136 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1137 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1138 including <string.h>.
1139 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1140 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1141 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1142 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1143 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1144 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1145 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1146
2a1cfd94
JM
11472014-11-13 Joseph Myers <joseph@codesourcery.com>
1148
bf438382
JM
1149 * stdlib/strtol.c (__strtol): Use prototype definition.
1150
2a1cfd94
JM
1151 [BZ #17594]
1152 * stdlib/strtol.c (SYM__): New macro.
1153 (SYM__1): Likewise.
1154 (__strtol): Likewise.
1155 (strtol): Rename to __strtol and define as weak alias of
1156 __strtol. Use libc_hidden_weak.
1157
20ed0d26
SL
11582014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1159
1160 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
1161 Use numbered labels in inline assembly.
1162
53244a4e
SL
11632014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1164
1165 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
1166 Add setjmp LIBC_PROBE.
1167 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
1168 Likewise.
1169 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
1170 Add longjmp, longjmp_target LIBC_PROBE.
1171 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
1172 Likewise.
1173
47df8251
SL
11742014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1175
1176 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1177 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
1178 to get rid of unused variable warning.
1179
618cebef
SL
11802014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1181
1182 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
1183 Check for unwind_backtrace == NULL only in SHARED case.
1184 (__backchain_backtrace): Compile only in SHARED case.
1185 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
1186 Likewise.
1187 (__backchain_backtrace): Declare as static.
1188
c6aab2cb
RM
11892014-11-12 Roland McGrath <roland@hack.frob.com>
1190
1191 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
1192 (__libc_multiple_threads_ptr): Variable moved ...
1193 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
1194
5a6fa4d7
JM
11952014-11-12 Joseph Myers <joseph@codesourcery.com>
1196
24f4f825
JM
1197 * conform/GlibcConform.pm: New file.
1198 * conform/conformtest.pl: Use GlibcConform module.
1199 * conform/linknamespace.pl: New file.
1200 * conform/list-header-symbols.pl: Likewise.
1201 * conform/Makefile (linknamespace-symlists-base): New variable.
1202 (linknamespace-symlists-tests): Likewise.
1203 (linknamespace-header-base): Likewise.
1204 (linknamespace-header-tests): Likewise.
1205 (tests-special): Add new tests.
1206 ($(linknamespace-symlists-tests)): New rule.
1207 (linknamespace-libs): New variable.
1208 ($(objpfx)symlist-stdlibs): New rule.
1209 ($(linknamespace-header-tests)): Likewise.
1210 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
1211 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
1212 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
1213 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
1214 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
1215 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
1216 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
1217 (test-xfail-ISO/math.h/linknamespace): Likewise.
1218 (test-xfail-ISO/signal.h/linknamespace): Likewise.
1219 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
1220 (test-xfail-ISO/time.h/linknamespace): Likewise.
1221 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1222 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
1223 (test-xfail-ISO99/math.h/linknamespace): Likewise.
1224 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1225 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1226 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1227 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1228 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1229 (test-xfail-ISO11/math.h/linknamespace): Likewise.
1230 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1231 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1232 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1233 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1234 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
1235 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
1236 (test-xfail-XPG3/math.h/linknamespace): Likewise.
1237 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
1238 (test-xfail-XPG3/search.h/linknamespace): Likewise.
1239 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
1240 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1241 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
1242 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1243 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1244 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
1245 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1246 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1247 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
1248 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
1249 (test-xfail-XPG4/math.h/linknamespace): Likewise.
1250 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
1251 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1252 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1253 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1254 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1255 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
1256 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
1257 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
1258 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
1259 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1260 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
1261 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1262 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
1263 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1264 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1265 (test-xfail-POSIX/math.h/linknamespace): Likewise.
1266 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
1267 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
1268 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1269 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1270 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
1271 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1272 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1273 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
1274 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1275 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1276 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1277 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1278 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1279 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1280 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1281 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1282 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1283 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
1284 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1285 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1286 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1287 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
1288 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1289 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1290 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
1291 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1292 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1293 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1294 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1295 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1296 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1297 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
1298 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
1299 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1300 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
1301 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1302 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
1303 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1304 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1305 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1306 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
1307 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1308 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1309 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1310 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
1311 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
1312 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
1313 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1314 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1315 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1316 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1317 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
1318 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
1319 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1320 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1321 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1322 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1323 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1324 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1325 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1326 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1327 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1328 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1329 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
1330 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1331 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1332 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
1333 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1334 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1335 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1336 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1337 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1338 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1339 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1340 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1341 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1342 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1343 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1344 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1345 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1346 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1347 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
1348 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1349 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1350 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1351 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1352 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1353 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
1354 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1355 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1356 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1357 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1358 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1359 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1360 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1361 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1362 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1363 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1364 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1365 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1366 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1367 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
1368 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1369 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1370 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1371
cc67478e
JM
1372 [BZ #17589]
1373 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
1374 of fgets_unlocked.
1375
9975e3d3
JM
1376 [BZ #17585]
1377 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
1378 (memmem): Rename to __memmem and define as weak alias of
1379 __memmem. Use libc_hidden_weak.
1380 (__memmem): Use libc_hidden_def.
1381 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
1382 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
1383 memmem.
1384
c4eae752
JM
1385 [BZ #17582]
1386 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
1387 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
1388 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
1389 and define as weak alias of __fgets_unlocked. Use
1390 libc_hidden_weak.
1391 (__fgets_unlocked): Use libc_hidden_def.
1392 * include/stdio.h (__fgets_unlocked): Declare. Use
1393 libc_hidden_proto.
1394 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
1395 __fgets_unlocked instead of fgets_unlocked.
1396 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
1397 (GET_NPROCS_CONF_PARSER): Likewise.
1398 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
1399 (GET_NPROCS_CONF_PARSER): Likewise.
1400
01cad84e
JM
1401 [BZ #17574]
1402 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
1403 weak alias of __wmemset. Use libc_hidden_weak.
1404 (__wmemset): Use libc_hidden_def.
1405 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
1406 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
1407 of wmemset.
1408
939da411
JM
1409 [BZ #17573]
1410 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
1411 with asm name __mempcpy.
1412 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
1413
293d9a41
JM
1414 [BZ #17572]
1415 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
1416 and define as weak alias of __rawmemchr.
1417 (__rawmemchr): Do not define as strong alias of rawmemchr.
1418
bef8fd60
JM
1419 [BZ #17571]
1420 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
1421 alias of __qsort_r.
1422 (qsort): Call __qsort_r instead of qsort_r.
1423 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
1424 (__qsort_r): Declare. Call libc_hidden_proto.
1425 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
1426 instead of qsort_r.
1427 * nscd/gai.c (__qsort_r): Define to qsort_r.
1428 * posix/tst-rfc3484.c (__qsort_r): Likewise.
1429 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
1430 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
1431
c52ff39e
JM
1432 [BZ #17570]
1433 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
1434 define as weak alias of __malloc_info.
1435
2f5c1b00
JM
1436 [BZ #17584]
1437 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
1438 as weak alias of __rewinddir. Don't use libc_hidden_def.
1439 (__rewinddir): Use libc_hidden_def.
1440 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
1441 as weak alias of __rewinddir. Don't use libc_hidden_def.
1442 (__rewinddir): Use libc_hidden_def.
1443 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
1444 weak alias of __rewinddir. Don't use libc_hidden_def.
1445 (__rewinddir): Use libc_hidden_def.
1446 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
1447 (__rewinddir): Use libc_hidden_proto.
1448 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
1449 rewinddir.
1450 (__getcwd): Use __rewinddir instead of rewinddir.
1451
5a6fa4d7
JM
1452 [BZ #17583]
1453 * libio/fileno.c (fileno): Rename to __fileno and define as weak
1454 alias of __fileno. Use libc_hidden_weak.
1455 (__fileno): Use libc_hidden_def.
1456 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
1457 * libio/ftello.c (ftello): Rename to __ftello and define as weak
1458 alias of __ftello.
1459 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
1460 __ftello.
1461 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
1462 (__fread_unlocked): Define as strong alias of _IO_fread. Use
1463 libc_hidden_def.
1464 (fread_unlocked): Don't use libc_hidden_ver.
1465 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
1466 and define as weak alias of __fread_unlocked. Don't use
1467 libc_hidden_def.
1468 (__fread_unlocked): Use libc_hidden_def.
1469 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
1470 (ftello): Don't use libc_hidden_proto.
1471 (__ftello): Declare. Use libc_hidden_proto.
1472 (fread_unlocked): Don't use libc_hidden_proto.
1473 (__fread_unlocked): Declare. Use libc_hidden_proto.
1474 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
1475 and __ftello instead of fileno, fread_unlocked and ftello.
1476
2581b98e
SP
14772012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1478
1479 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
1480 GOT12.
1481 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1482 Likewise.
1483 (_dl_start_user): Likewise.
1484 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
1485
533bb7c2
SP
14862014-11-12 Carlos O'Donell <carlos@redhat.com>
1487 Siddhesh Poyarekar <siddhesh@redhat.com>
1488
1489 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
1490 Move argv and envp down instead of moving argc up.
1491 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
1492
fffa1cf8
LH
14932014-11-12 Leonhard Holz <leonhard.holz@web.de>
1494
1495 [BZ #17506]
1496 * test-skeleton.c (main): Return successful if one of
1497 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
1498 * string/tst-strcoll-overflow.c: Define expected status.
1499
fb89b46d
TU
15002014-11-12 Tatiana Udalova <t.udalova@samsung.com>
1501
1502 [BZ #17475]
1503 * locale/iso-639.def: Define Bhili and Tulu language codes.
1504
5c40c3ba
AH
15052014-11-11 Alan Hayward <alan.hayward@arm.com>
1506
1507 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
1508
b17fe01b 15092014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
1510
1511 [BZ #17555]
1512 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
1513
bd805071
AS
15142014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1515
1516 * configure.ac: Updated check of minimal required version to
1517 2.22.
1518 * manual/install.texi (Tools for Compilation): Updated version
1519 number.
1520 * configure: Regenerated.
1521 * INSTALL: Likewise.
1522
1400983e
AS
15232014-11-07 Andreas Schwab <schwab@linux-m68k.org>
1524
1525 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
1526 __tls_get_addr.
1527
2c46a66a
JM
15282014-11-07 Joseph Myers <joseph@codesourcery.com>
1529
1530 * include/sys/wait.h (__libc_waitpid): Remove declaration.
1531 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
1532 (__waitpid): Don't define as alias. Use libc_hidden_def not
1533 libc_hidden_weak.
1534 (waitpid): Define as alias of __waitpid.
1535 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
1536 __waitpid.
1537 (__waitpid): Don't define as alias. Use libc_hidden_def not
1538 libc_hidden_weak.
1539 (waitpid): Define as alias of __waitpid.
1540 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
1541 __libc_waitpid alias.
1542 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
1543 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
1544 Likewise.
1545 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
1546 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
1547 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
1548 alias.
1549 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
1550 __waitpid.
1551 (__waitpid): Don't define as alias. Use libc_hidden_def not
1552 libc_hidden_weak.
1553 (waitpid): Define as alias of __waitpid.
1554
da53d6db
CD
15552014-11-06 Carlos O'Donell <carlos@redhat.com>
1556
a2887bdb
CD
1557 * manual/llio.texi: Add comment that write safety has been
1558 fixed in Linux.
1559
da53d6db
CD
1560 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
1561 (localplt-build-dso): Add elf/ld.so.
1562 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
1563 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
1564 and free for ld.so.
1565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
1566 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
1567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
1568 Likewise.
1569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1570 Likewise.
1571 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
1572 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
1573 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
1574 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
1575 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1576 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
1577 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
1578 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
1579 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1580 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
1581 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1582
9cf27b8d
JM
15832014-11-05 Joseph Myers <joseph@codesourcery.com>
1584
1585 [BZ #14132]
1586 * include/libc-symbols.h (INTUSE): Remove macro.
1587 (INTDEF): Likewise.
1588 (INTVARDEF): Likewise.
1589 (_INTVARDEF): Likewise.
1590 (INTDEF2): Likewise.
1591 (INTVARDEF2): Likewise.
1592 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
1593 rtld_hidden_def instead of INTVARDEF.
1594 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
1595 (_dl_starting_up_internal): Remove declaration.
1596 (_dl_starting_up): Use rtld_hidden_proto.
1597 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
1598 declaration.
1599 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
1600 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
1601 _dl_starting_up.
1602 * elf/dl-writev.h (_dl_writev): Likewise.
1603 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
1604 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
1605 _dl_starting_up_internal.
1606
af83568d
AZ
16072014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1608
1609 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1610 test-skeleton.c.
1611
b01ee67c
WN
16122014-11-05 Will Newton <will.newton@linaro.org>
1613
1614 * benchtests/Makefile: (bench-malloc): Add malloc thread
1615 scalability benchmark.
1616 * benchtests/bench-malloc-threads.c: New file.
1617
be9d4ccc
RE
16182014-11-05 Richard Earnshaw <rearnsha@arm.com>
1619
1620 * sysdeps/aarch64/strchrnul.S: New file.
1621
7110166d
AZ
16222014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1623
1624 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
1625 definition.
1626 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1627 Likwise.
1628 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1629 Likewise.
1630 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1631 Likewise.
1632 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1633 Likewise.
1634 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1635 Likewise.
1636
16372014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
1638
1639 * catgets/test-gencat.c: Use test-skeleton.c.
1640 * catgets/tst-catgets.c: Likewise.
1641 * csu/tst-empty.c: Likewise.
1642 * elf/tst-audit2.c: Likewise.
1643 * elf/tst-global1.c: Likewise.
1644 * elf/tst-pathopt.c: Likewise.
1645 * elf/tst-piemod1.c: Likewise.
1646 * elf/tst-tls10.c: Likewise.
1647 * elf/tst-tls11.c: Likewise.
1648 * elf/tst-tls12.c: Likewise.
1649 * gnulib/tst-gcc.c: Likewise.
1650 * iconvdata/tst-e2big.c: Likewise.
1651 * iconvdata/tst-loading.c: Likewise.
1652 * iconv/tst-iconv1.c: Likewise.
1653 * iconv/tst-iconv2.c: Likewise.
1654 * inet/test-inet6_opt.c: Likewise.
1655 * inet/tst-gethnm.c: Likewise.
1656 * inet/tst-network.c: Likewise.
1657 * inet/tst-ntoa.c: Likewise.
1658 * intl/tst-codeset.c: Likewise.
1659 * intl/tst-gettext2.c: Likewise.
1660 * intl/tst-gettext3.c: Likewise.
1661 * intl/tst-ngettext.c: Likewise.
1662 * intl/tst-translit.c: Likewise.
1663 * io/test-stat.c: Likewise.
1664 * libio/test-fmemopen.c: Likewise.
1665 * libio/tst-freopen.c: Likewise.
1666 * libio/tst-sscanf.c: Likewise.
1667 * libio/tst-ungetwc1.c: Likewise.
1668 * libio/tst-ungetwc2.c: Likewise.
1669 * libio/tst-widetext.c: Likewise.
1670 * localedata/tst-ctype.c: Likewise.
1671 * localedata/tst-digits.c: Likewise.
1672 * localedata/tst-leaks.c: Likewise.
1673 * localedata/tst-mbswcs1.c: Likewise.
1674 * localedata/tst-mbswcs2.c: Likewise.
1675 * localedata/tst-mbswcs3.c: Likewise.
1676 * localedata/tst-mbswcs4.c: Likewise.
1677 * localedata/tst-mbswcs5.c: Likewise.
1678 * localedata/tst-setlocale.c: Likewise.
1679 * localedata/tst-trans.c: Likewise.
1680 * localedata/tst-wctype.c: Likewise.
1681 * localedata/tst-xlocale1.c: Likewise.
1682 * login/tst-grantpt.c: Likewise.
1683 * malloc/tst-calloc.c: Likewise.
1684 * malloc/tst-malloc.c: Likewise.
1685 * malloc/tst-mallocstate.c: Likewise.
1686 * malloc/tst-mcheck.c: Likewise.
1687 * malloc/tst-mtrace.c: Likewise.
1688 * malloc/tst-obstack.c: Likewise.
1689 * math/atest-exp2.c: Likewise.
1690 * math/atest-exp.c: Likewise.
1691 * math/atest-sincos.c: Likewise.
1692 * math/test-matherr.c: Likewise.
1693 * math/test-misc.c: Likewise.
1694 * math/test-powl.c: Likewise.
1695 * math/tst-definitions.c: Likewise.
1696 * misc/tst-dirname.c: Likewise.
1697 * misc/tst-efgcvt.c: Likewise.
1698 * misc/tst-fdset.c: Likewise.
1699 * misc/tst-hsearch.c: Likewise.
1700 * misc/tst-mntent2.c: Likewise.
1701 * nptl/tst-sem7.c: Likewise.
1702 * nptl/tst-sem8.c: Likewise.
1703 * nptl/tst-sem9.c: Likewise.
1704 * nss/test-netdb.c: Likewise.
1705 * posix/tst-fnmatch.c: Likewise.
1706 * posix/tst-getlogin.c: Likewise.
1707 * posix/tst-gnuglob.c: Likewise.
1708 * posix/tst-mmap.c: Likewise.
1709 * pwd/tst-getpw.c: Likewise.
1710 * resolv/tst-inet_ntop.c: Likewise.
1711 * rt/tst-timer.c: Likewise.
1712 * stdio-common/test-fseek.c: Likewise.
1713 * stdio-common/test-popen.c: Likewise.
1714 * stdio-common/test-vfprintf.c: Likewise.
1715 * stdio-common/tst-cookie.c: Likewise.
1716 * stdio-common/tst-fileno.c: Likewise.
1717 * stdio-common/tst-gets.c: Likewise.
1718 * stdio-common/tst-obprintf.c: Likewise.
1719 * stdio-common/tst-perror.c: Likewise.
1720 * stdio-common/tst-sprintf2.c: Likewise.
1721 * stdio-common/tst-sprintf3.c: Likewise.
1722 * stdio-common/tst-sprintf.c: Likewise.
1723 * stdio-common/tst-swprintf.c: Likewise.
1724 * stdio-common/tst-tmpnam.c: Likewise.
1725 * stdio-common/tst-unbputc.c: Likewise.
1726 * stdio-common/tst-wc-printf.c: Likewise.
1727 * stdlib/tst-environ.c: Likewise.
1728 * stdlib/tst-fmtmsg.c: Likewise.
1729 * stdlib/tst-limits.c: Likewise.
1730 * stdlib/tst-rand48-2.c: Likewise.
1731 * stdlib/tst-rand48.c: Likewise.
1732 * stdlib/tst-random2.c: Likewise.
1733 * stdlib/tst-random.c: Likewise.
1734 * stdlib/tst-strtol.c: Likewise.
1735 * stdlib/tst-strtoll.c: Likewise.
1736 * stdlib/tst-tls-atexit.c: Likewise.
1737 * stdlib/tst-xpg-basename.c: Likewise.
1738 * string/test-ffs.c: Likewise.
1739 * string/tst-bswap.c: Likewise.
1740 * string/tst-inlcall.c: Likewise.
1741 * string/tst-strtok.c: Likewise.
1742 * string/tst-strxfrm.c: Likewise.
1743 * sysdeps/x86_64/tst-audit10.c: Likewise.
1744 * sysdeps/x86_64/tst-audit3.c: Likewise.
1745 * sysdeps/x86_64/tst-audit4.c: Likewise.
1746 * sysdeps/x86_64/tst-audit5.c: Likewise.
1747 * time/tst-ftime_l.c: Likewise.
1748 * time/tst-getdate.c: Likewise.
1749 * time/tst-mktime3.c: Likewise.
1750 * time/tst-mktime.c: Likewise.
1751 * time/tst-posixtz.c: Likewise.
1752 * time/tst-strptime2.c: Likewise.
1753 * time/tst-strptime3.c: Likewise.
1754 * wcsmbs/tst-btowc.c: Likewise.
1755 * wcsmbs/tst-mbrtowc.c: Likewise.
1756 * wcsmbs/tst-mbsrtowcs.c: Likewise.
1757 * wcsmbs/tst-wchar-h.c: Likewise.
1758 * wcsmbs/tst-wcpncpy.c: Likewise.
1759 * wcsmbs/tst-wcrtomb.c: Likewise.
1760 * wcsmbs/tst-wcsnlen.c: Likewise.
1761 * wcsmbs/tst-wcstof.c: Likewise.
1762
2004e7fb
JM
17632014-11-04 Joseph Myers <joseph@codesourcery.com>
1764
ab97ee8f
JM
1765 [BZ #14132]
1766 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
1767 INTDEF.
1768 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
1769 declaration.
1770 (_dl_mcount): Use rtld_hidden_proto.
1771 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
1772 _dl_mcount.
1773 * elf/rtld.c (_rtld_global_ro): Likewise.
1774
c5684fdb
JM
1775 [BZ #14132]
1776 * elf/dl-init.c (_dl_init): Don't use INTDEF.
1777 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
1778 of _dl_init_internal.
1779 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
1780 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
1781 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
1782 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
1783 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
1784 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
1785 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
1786 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
1787 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
1788 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
1789 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
1790 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
1791 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1792 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1793 * sysdeps/tile/dl-start.S (_start): Likewise.
1794 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1795 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
1796
4243cbea
JM
1797 [BZ #14132]
1798 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
1799 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
1800 (rtld_progname): Make macro definition unconditional.
1801 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
1802 INTDEF.
1803 (dlmopen_doit): Do not use INTUSE with _dl_argv.
1804 (dl_main): Likewise.
1805 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1806 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
1807 instead of _dl_argv_internal.
1808 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1809 __GI__dl_argv instead of INTUSE(_dl_argv).
1810 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
1811 __GI__dl_argv instead of _dl_argv_internal.
1812
2004e7fb
JM
1813 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
1814 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
1815 macro.
1816 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
1817 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
1818 New macro.
1819 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
1820 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
1821 macro.
1822 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
1823 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
1824
97827bfc
AS
18252014-11-04 Andreas Schwab <schwab@suse.de>
1826
1827 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
1828
5e4df284
AZ
18292014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1830
1831 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
1832 mtvsrd instruction in binary form.
1833
04b76b5a
AS
18342014-11-03 Andreas Schwab <schwab@suse.de>
1835
1836 [BZ #17522]
1837 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
1838 for less than MB_LEN_MAX use a local buffer of that size.
1839 * libio/tst-fputws.c: New file.
1840 * libio/Makefile (tests): Add tst-fputws.
1841
4c6da7da
JM
18422014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
1843
1844 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
1845 the size of the fpu_fr.fpu_dregs[] array.
1846
1679ba8e
JM
18472014-11-01 Joseph Myers <joseph@codesourcery.com>
1848
1849 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
1850 (__nanosleep): Do not define as alias.
1851 (nanosleep): Define as alias of __nanosleep.
1852 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
1853 __libc_nanosleep name.
1854
2626c183
JM
18552014-10-31 Joseph Myers <joseph@codesourcery.com>
1856
1857 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
1858 install.texi in comment.
1859
7f981fc2
TR
18602014-10-31 Torvald Riegel <triegel@redhat.com>
1861
1862 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
1863 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
1864 ... add here and use lwsync or sync ...
1865 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
1866 ... and add here using lwsync.
1867
d6f373d2
MF
18682014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
1869
1870 * elf/dl-machine-reject-phdr.h: New file.
1871 * elf/dl-load.c: #include that.
1872 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
1873 if that returned true.
1874
67c37987
RM
18752014-10-31 Roland McGrath <roland@hack.frob.com>
1876
1877 [BZ #17496]
1878 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
1879 gen-as-const-headers chunk. Add a big scare comment after the last
1880 safe place to touch before-compile.
1881
94a42455 18822014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 1883
f3f5d895
JM
1884 * manual/install.texi (Tools for Compilation): Update autoconf
1885 version requirements.
1886 * INSTALL: Regenerated.
1887
f62ff286
JM
1888 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
1889 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
1890 (__libc_pselect): Likewise.
94a42455
JM
1891
1892 [BZ #14138]
1893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
1894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1897
ff9dbdc0
TR
18982014-10-31 Torvald Riegel <triegel@redhat.com>
1899
1900 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
1901 correct barrier instruction.
1902 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
1903 Likewise.
1904 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
1905 Likewise.
1906
b4f66884
RM
19072014-10-30 Roland McGrath <roland@hack.frob.com>
1908
1909 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
1910 after defining inlines. Instead, just use parens to defeat macro
1911 expansion of __isctype in its declaration.
1912
e19c95fd
JM
19132014-10-30 Joseph Myers <joseph@codesourcery.com>
1914
1915 * include/sys/uio.h (__libc_readv): Remove declaration.
1916 (__libc_writev): Likewise.
1917 * misc/readv.c (__libc_readv): Rename to __readv.
1918 (__readv): Do not define as alias.
1919 (readv): Define as alias of __readv.
1920 * misc/writev.c (__libc_writev): Rename to __writev.
1921 (__writev): Do not define as alias.
1922 (writev): Define as alias of __writev.
1923 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
1924 (__readv): Do not define as alias.
1925 (readv): Define unconditionally as alias of __readv.
1926 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
1927 (__writev): Do not define as alias.
1928 (writev): Define unconditionally as alias of __writev.
1929 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
1930 name.
1931 (writev): Do not define __libc_writev name.
1932
65b00b6c
RM
19332014-10-30 Roland McGrath <roland@hack.frob.com>
1934
1935 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
1936 (convert_charseq): New function, broken out of ...
1937 (use_from_charmap): ... here. Call it.
1938 (use_to_charmap): Use convert_charseq and free instead of duplicating
1939 its code with a variable-length stack struct.
1940
d4e157aa
JM
19412014-10-30 Joseph Myers <joseph@codesourcery.com>
1942
1943 * include/fcntl.h (__libc_creat): Remove declaration.
1944 * io/creat.c (__libc_creat): Rename to creat.
1945 (creat): Do not define as alias.
1946 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
1947 of creat instead of __libc_creat.
1948 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
1949 to creat.
1950 (creat): Do not define as alias.
1951 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
1952 __libc_creat.
1953 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
1954 __libc_creat name.
1955 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
1956 Likewise.
1957
0c6891a0
CD
19582014-10-29 Carlos O'Donell <carlos@redhat.com>
1959
1960 * manual/llio.texi: Add comments discussing why write() may be
1961 considered MT-unsafe on Linux.
1962
cc00cece
CD
19632014-10-28 Carlos O'Donell <carlos@redhat.com>
1964
1965 * dl-load.c (local_strdup): Remove.
1966 (expand_dynamic_string_token): Use __strdup.
1967 (decompose_rpath): Likewise.
1968 (_dl_map_object): Likewise.
1969
51e623f2
JM
19702014-10-28 Joseph Myers <joseph@codesourcery.com>
1971
1972 [BZ #14132]
1973 * sysdeps/generic/unwind-dw2-fde.c
1974 (__register_frame_info_bases_internal): Do not declare.
1975 (__register_frame_info_table_bases_internal): Likewise.
1976 (__deregister_frame_info_bases_internal): Likewise.
1977 (__register_frame_info_bases): Declare and use hidden_proto before
1978 definition. Use hidden_def instead of INTDEF.
1979 (__register_frame_info_table_bases): Likewise.
1980 (__deregister_frame_info_bases): Likewise.
1981 (__register_frame_info): Do not use INTUSE.
1982 (__register_frame): Likewise.
1983 (__register_frame_info_table): Likewise.
1984 (__register_frame_table): Likewise.
1985 (__deregister_frame_info): Likewise.
1986 (__deregister_frame): Likewise.
1987
03d41216
GC
19882014-10-27 Gratian Crisan <gratian.crisan@ni.com>
1989
1990 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1991 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1992 not undefine.
1993 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1994 Likewise.
1995 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1996 Likewise.
1997
a4b3624d
JM
19982014-10-27 Joseph Myers <joseph@codesourcery.com>
1999
2000 [BZ #14138]
2001 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
2002 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
2003 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2004 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2005 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
2006 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
2007 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
2008 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
2009 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
2010 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
2011 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
2012 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
2013 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
2014 syscall.
2015 (setfsuid): Likewise.
2016 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
2017 (setfsuid): Likewise.
2018 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
2019 (setfsuid): Likewise.
2020 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
2021 Likewise.
2022 (setfsuid): Likewise.
2023 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
2024 (setfsuid): Likewise.
2025 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
2026 Likewise.
2027 (setfsuid): Likewise.
2028
3574f2fd
AS
20292014-10-27 Andreas Schwab <schwab@suse.de>
2030
2031 [BZ #17501]
2032 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
2033 check for Slow_SSE4_2 feature bit.
2034 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
2035 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2036 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
2037 Likewise. Fix check for Fast_Unaligned_Load feature bit.
2038
70996a37
RM
20392014-10-24 Roland McGrath <roland@hack.frob.com>
2040
461a7b1e
RM
2041 * configure.ac: Validate compiler version with a empirical test of
2042 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
2043 $CC -v output.
2044 * configure: Regenerated.
2045
70996a37
RM
2046 * inet/htons.c (htons): Prototypify.
2047 * inet/htonl.c (htonl): Likewise.
2048
e80514b5
WD
20492014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2050
2051 * string/strncat.c (strncat): Improve performance by using strlen.
2052
6e46de42
WD
20532014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2054
2055 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
2056
6a9ad2fa
WD
20572014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2058
2059 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
2060 Call libc_fetestexcept_aarch64.
2061
1c8810ed
WD
20622014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2063
2064 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
2065 Call libc_feholdexcept_aarch64.
2066
8b1af712
WD
20672014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2068
2069 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
2070 Call get_rounding_mode.
2071
a7b00c11
WD
20722014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2073
2074 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2075 Simplify logic.
2076
3a84f1a6
WD
20772014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
2078
2079 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
2080 Simplify logic.
2081
48eb7a94
JM
20822014-10-24 Joseph Myers <joseph@codesourcery.com>
2083
c8bc4038
JM
2084 [BZ #14138]
2085 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
2086 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2087 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2088 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2089 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2090 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2091 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2092 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2093 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2094 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2095 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2096 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2097 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2098 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2099 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2100 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2101 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2102 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2103 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2104 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2105 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2106 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2107 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2108 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2109 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2110 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2111 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2112 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2113 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2114 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2115 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2116 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2117 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2118 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2119 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2120 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2121 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2122 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2123 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2124 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2125 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2126 syscall.
2127 (geteuid): Likewise.
2128 (getgid): Likewise.
2129 (getuid): Likewise.
2130 (getresgid): Likewise.
2131 (getresuid): Likewise.
2132 (getgroups): Likewise.
2133 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2134 (geteuid): Likewise.
2135 (getgid): Likewise.
2136 (getuid): Likewise.
2137 (getresgid): Likewise.
2138 (getresuid): Likewise.
2139 (getgroups): Likewise.
2140 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2141 (geteuid): Likewise.
2142 (getgid): Likewise.
2143 (getuid): Likewise.
2144 (getresgid): Likewise.
2145 (getresuid): Likewise.
2146 (getgroups): Likewise.
2147 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2148 Likewise.
2149 (geteuid): Likewise.
2150 (getgid): Likewise.
2151 (getuid): Likewise.
2152 (getresgid): Likewise.
2153 (getresuid): Likewise.
2154 (getgroups): Likewise.
2155 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
2156 (geteuid): Likewise.
2157 (getgid): Likewise.
2158 (getuid): Likewise.
2159 (getresgid): Likewise.
2160 (getresuid): Likewise.
2161 (getgroups): Likewise.
2162 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
2163 Likewise.
2164 (geteuid): Likewise.
2165 (getgid): Likewise.
2166 (getuid): Likewise.
2167 (getgroups): Likewise.
2168
48eb7a94
JM
2169 [BZ #14138]
2170 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
2171 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2172 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2173 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2174 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
2175 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2176 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
2177 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
2178 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
2179 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
2180 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
2181 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
2182 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
2183 __chown.
2184 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
2185 (lchown): Likewise.
2186 (fchown): Likewise.
2187 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
2188 Likewise.
2189 (lchown): Likewise.
2190 (fchown): Likewise.
2191 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
2192 (lchown): Likewise.
2193 (fchown): Likewise.
2194 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
2195 Likewise.
2196 (lchown): Likewise.
2197 (fchown): Likewise.
2198
ea9a7c8b
WD
21992014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2200
2201 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
2202 Simplify logic.
2203
e226de33
WD
22042014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2205
2206 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2207 Cleanup logic.
2208
6e3d8ed3
WD
22092014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2210
2211 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2212 Remove unused include.
2213
eb04247d
WD
22142014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
2215
2216 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
2217 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
2218 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
2219 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
2220
13d84554
CD
22212014-10-23 Carlos O'Donell <carlos@systemhalted.org>
2222 Helge Deller <deller@gmx.de>
2223
2224 [BZ #17508]
2225 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
2226 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
2227 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
2228
15f9c5df
JM
22292014-10-23 Joseph Myers <joseph@codesourcery.com>
2230
2231 [BZ #14132]
2232 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
2233 Remove macro definition.
2234 (__ashrdi3_v_glibc20): Likewise.
2235 (__lshrdi3_v_glibc20): Likewise.
2236 (__cmpdi2_v_glibc20): Likewise.
2237 (__ucmpdi2_v_glibc20): Likewise.
2238 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
2239 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2240 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2241 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2242 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2243 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
2244
c6dfed24
RM
22452014-10-22 Roland McGrath <roland@hack.frob.com>
2246
2247 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
2248 old GNU extension [0] syntax.
2249 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
2250 alloca rather than an array member with variable length.
2251 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2252 * nscd/nscd.c (invalidate_db): New function, broken out of ...
2253 (parse_opt): ... here. Likewise use alloca there.
2254 Validate the -i argument before checking for rootness.
2255 (send_shutdown): New function, broken out of ...
2256 (parse_opt): ... here.
2257
8c2b1ed8
RM
22582014-10-22 Roland McGrath <roland@hack.frob.com>
2259
2260 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
2261 macro to get at the _rt_local_ro field.
2262 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
2263 ([PIC] case) or _dl_hwcap ([!PIC] case).
2264 * sysdeps/arm/setjmp.S: Likewise.
2265
2266 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
2267 * sysdeps/arm/configure.ac: New check to define it.
2268 * sysdeps/arm/configure: Regenerated.
2269 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
2270 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
2271 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
2272 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
2273 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
2274 Use move/movt pair instead of a load.
2275 (LDST_GLOBAL): Macro removed.
2276 (LDR_GLOBAL): New macro replaces it.
2277 (LDR_HIDDEN): New macro.
2278 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
2279 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
2280
2281 * setjmp/tst-setjmp-static.c: New file.
2282 * setjmp/Makefile (tests): Add it.
2283 (tests-static): New variable.
2284
b5af9297
MR
22852014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
2286
2287 [BZ #17485]
2288 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
2289
a13d0d74
JM
22902014-10-21 Joseph Myers <joseph@codesourcery.com>
2291
2292 [BZ #14132]
2293 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
2294
f05e73f6
RM
22952014-10-21 Roland McGrath <roland@hack.frob.com>
2296
2297 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
2298
6ab1d1ea
RM
22992014-10-20 Roland McGrath <roland@hack.frob.com>
2300
2301 * io/fts.c (dirent_not_directory): New function.
2302 (fts_build): Call it.
2303
ab49e763
RM
23042014-10-20 Roland McGrath <roland@hack.frob.com>
2305
e436eb79
RM
2306 * nptl/version.c (__nptl_main): Use normal __write rather than
2307 INTERNAL_SYSCALL.
2308 (banner): Update copyright years.
2309
6af246cf
RM
2310 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
2311 gettimeofday.
2312 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2313 * nptl/pthread_cond_timedwait.c: Likewise.
2314 * nptl/pthread_mutex_timedlock.c: Likewise.
2315 * nptl/sem_timedwait.c: Likewise.
2316
ab49e763
RM
2317 * sysdeps/nptl/bits/libc-lock.h
2318 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2319 (__libc_lock_init_recursive): Return void, not 0.
2320 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
2321 (__libc_rwlock_init): Likewise.
2322 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
2323
f50277c1
TR
23242014-10-20 Torvald Riegel <triegel@redhat.com>
2325
2326 [BZ #15215]
2327 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
2328 (__pthread_once_slow): ... here.
2329 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
2330 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
2331
63668b70
TR
23322014-10-20 Torvald Riegel <triegel@redhat.com>
2333
2334 [BZ #15215]
2335 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
2336 __PTHREAD_ONCE_FORK_GEN_INCR): New.
2337 * sysdeps/nptl/fork.c (__libc_fork): Use them.
2338 * nptl/pthread_once.c (__pthread_once): Likewise.
2339 Update comments.
2340
42b7f5d4
JM
23412014-10-20 Joseph Myers <joseph@codesourcery.com>
2342
2343 [BZ #14138]
2344 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
2345 name.
2346 (writev): Use __libc_writev as strong name.
2347 * sysdeps/unix/sysv/linux/readv.c: Remove file.
2348 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2349
b0643088
RM
23502014-10-17 Roland McGrath <roland@hack.frob.com>
2351
114c4e09
RM
2352 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
2353
674b8978
RM
2354 * sysdeps/i386/nptl/tls.h
2355 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
2356 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
2357 New macros.
2358 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
2359 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
2360 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
2361 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
2362 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
2363 Call CHECK_THREAD_SYSINFO instead of doing an assert.
2364
184ee940
RM
2365 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2366 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
2367 on [__NR_futex].
2368 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
2369 broken out of ...
2370 (__pthread_mutex_init): ... here. Call it.
2371 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
2372 Conditionalize PI cases on [__NR_futex].
2373 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2374 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
2375 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2376
327ae257
RM
2377 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
2378 conditional on [SIGSETXID].
2379 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
2380 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
2381 is defined. Likewise for SIGSETXID.
2382 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
2383 Conditionalize definitions on [SIGSETXID].
2384 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
2385 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
2386 unblocking on [SIGCANCEL].
2387
b0643088
RM
2388 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
2389 [__NR_set_robust_list].
2390
33cc770b
SP
23912014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2392
2393 * string/strcoll_l.c (get_next_seq): Fix up formatting.
2394 (do_compare): Likewise.
2395
0742aef6
LH
23962014-10-17 Leonhard Holz <leonhard.holz@web.de>
2397
2398 [BZ #15884]
2399 * string/strcoll_l.c: Don't include stdio.h.
2400 (coll_seq): Remove members idxarr and rulearr.
2401 (get_next_seq_cached): Remove function.
2402 (get_next_seq): Likewise.
2403 (get_next_seq_nocache): Rename to get_next_seq.
2404 (do_compare): Remove function.
2405 (do_compare_nocache): Rename to do_compare.
2406 (STRCOLL): Remove weight and rules cache.
2407
ee54ce44
RM
24082014-10-16 Roland McGrath <roland@hack.frob.com>
2409
2410 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
2411 * sysdeps/arm/sfp-machine.h: ... to here.
2412 * sysdeps/arm/Implies: Remove arm/soft-fp.
2413
a75d3b02
JM
24142014-10-14 Joseph Myers <joseph@codesourcery.com>
2415
2416 * conform/data/sys/utsname.h-data (*_t): Allow.
2417 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
2418 [POSIX] (WEXITED): Do not expect constant.
2419 [POSIX] (WSTOPPED): Likewise.
2420 [POSIX] (WNOHANG): Likewise.
2421 [POSIX] (WNOWAIT): Likewise.
2422 [POSIX] (siginfo_t): Do not expect type or elements.
2423 [POSIX] (pid_t): Do not expect type.
2424 [POSIX] (signal.h): Do not allow header.
2425 [POSIX] (sys/resource.h): Likewise.
2426 [POSIX] (si_*): Do not allow pattern.
2427 [POSIX] (W*): Likewise.
2428 [POSIX] (P_*): Likewise.
2429 [POSIX] (BUS_*): Likewise.
2430 [POSIX] (CLD_*): Likewise.
2431 [POSIX] (FPE_*): Likewise.
2432 [POSIX] (ILL_*): Likewise.
2433 [POSIX] (POLL_*): Likewise.
2434 [POSIX] (SEGV_*): Likewise.
2435 [POSIX] (SI_*): Likewise.
2436 [POSIX] (TRAP_*): Likewise.
2437 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
2438 variable.
2439
fda389c8
SP
24402014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2441
2442 [BZ #12926]
2443 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
2444 infinite loop when __recvmsg returns 0.
2445
6bc6bd3b
JM
24462014-10-10 Joseph Myers <joseph@codesourcery.com>
2447
fcb32af1
JM
2448 * CANCEL-FCT-WAIVE: Remove file.
2449 * CANCEL-FILE-WAIVE: Likewise.
2450
6bc6bd3b
JM
2451 [BZ #14132]
2452 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
2453 instead of INTVARDEF.
2454 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2455 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
2456 rtld_hidden_data_def instead of INTVARDEF.
2457 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2458 * elf/dl-deps.c (expand_dst): Likewise.
2459 * elf/dl-load.c (_dl_dst_count): Likewise.
2460 (_dl_dst_substitute): Likewise.
2461 (decompose_rpath): Likewise.
2462 (_dl_init_paths): Likewise.
2463 (open_path): Likewise.
2464 (_dl_map_object): Likewise.
2465 * elf/rtld.c (dl_main): Likewise.
2466 (process_dl_audit): Likewise.
2467 (process_envvars): Likewise.
2468 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
2469 Remove declaration.
2470 (__libc_enable_secure): Use rtld_hidden_proto.
2471
b8c80a7e
KS
24722014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2473
2474 * elf/dl-load.c
2475 (add_path): New function broken out of _dl_rtld_di_serinfo.
2476 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
2477
ff12c11f
JM
24782014-10-09 Joseph Myers <joseph@codesourcery.com>
2479
5c0508a3
JM
2480 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
2481 parentheses around macro arguments.
2482 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
2483 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
2484 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
2485 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
2486 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
2487 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2488 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2489 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
2490 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
2491 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
2492 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
2493 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
2494 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
2495 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
2496 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
2497 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
2498 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
2499 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
2500 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
2501 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
2502 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
2503 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
2504 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
2505 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2506 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2507 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
2508 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
2509 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
2510 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
2511 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
2512 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
2513 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
2514 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
2515 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
2516 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
2517 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
2518 Likewise.
2519 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
2520 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2521 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2522 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
2523 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
2524 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
2525 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
2526 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
2527 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
2528 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
2529 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
2530 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
2531 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
2532 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
2533 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
2534 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2535 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2536 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
2537 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
2538 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
2539 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
2540 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
2541 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
2542 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
2543 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
2544 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
2545 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
2546 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
2547 (_FP_FRAC_SRS_1): Likewise.
2548 (_FP_FRAC_CLZ_1): Likewise.
2549 (_FP_MUL_MEAT_1_imm): Likewise.
2550 (_FP_MUL_MEAT_1_wide): Likewise.
2551 (_FP_MUL_MEAT_1_hard): Likewise.
2552 (_FP_SQRT_MEAT_1): Likewise.
2553 (_FP_FRAC_ASSEMBLE_1): Likewise.
2554 (_FP_FRAC_DISASSEMBLE_1): Likewise.
2555 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
2556 (__FP_CLZ_2): Likewise.
2557 (_FP_MUL_MEAT_2_wide): Likewise.
2558 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2559 (_FP_MUL_MEAT_2_gmp): Likewise.
2560 (_FP_MUL_MEAT_2_120_240_double): Likewise.
2561 (_FP_SQRT_MEAT_2): Likewise.
2562 (_FP_FRAC_ASSEMBLE_2): Likewise.
2563 (_FP_FRAC_DISASSEMBLE_2): Likewise.
2564 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
2565 (_FP_FRAC_CLZ_4): Likewise.
2566 (_FP_MUL_MEAT_4_wide): Likewise.
2567 (_FP_MUL_MEAT_4_gmp): Likewise.
2568 (_FP_SQRT_MEAT_4): Likewise.
2569 (_FP_FRAC_ASSEMBLE_4): Likewise.
2570 (_FP_FRAC_DISASSEMBLE_4): Likewise.
2571 * soft-fp/op-common.h (_FP_CMP): Likewise.
2572 (_FP_CMP_EQ): Likewise.
2573 (_FP_CMP_UNORD): Likewise.
2574 (_FP_TO_INT): Likewise.
2575 (_FP_FROM_INT): Likewise.
2576 [!__FP_CLZ] (__FP_CLZ): Likewise.
2577 (_FP_DIV_HELP_imm): Likewise.
2578 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
2579 Likewise.
2580 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
2581 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
2582 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
2583 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
2584 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
2585 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2586 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2587 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
2588 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
2589 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
2590 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
2591 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
2592 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
2593 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
2594 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
2595 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
2596 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
2597 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
2598 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
2599 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
2600 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
2601 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
2602 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
2603 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2604 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2605 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
2606 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
2607 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
2608 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
2609 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
2610 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
2611 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
2612 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
2613 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
2614 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
2615 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
2616 (FP_UNPACK_RAW_SP): Likewise.
2617 (FP_PACK_RAW_S): Likewise.
2618 (FP_PACK_RAW_SP): Likewise.
2619 (FP_UNPACK_S): Likewise.
2620 (FP_UNPACK_SP): Likewise.
2621 (FP_UNPACK_SEMIRAW_S): Likewise.
2622 (FP_UNPACK_SEMIRAW_SP): Likewise.
2623 (FP_PACK_S): Likewise.
2624 (FP_PACK_SP): Likewise.
2625 (FP_PACK_SEMIRAW_S): Likewise.
2626 (FP_PACK_SEMIRAW_SP): Likewise.
2627 (_FP_SQRT_MEAT_S): Likewise.
2628 (FP_CMP_S): Likewise.
2629 (FP_CMP_EQ_S): Likewise.
2630 (FP_CMP_UNORD_S): Likewise.
2631 (FP_TO_INT_S): Likewise.
2632 (FP_FROM_INT_S): Likewise.
2633
a736ec37
JM
2634 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
2635
ff12c11f
JM
2636 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
2637 (FP_EX_INVALID_IMZ): Likewise.
2638 (FP_EX_INVALID_IMZ_FMA): Likewise.
2639 (FP_EX_INVALID_ISI): Likewise.
2640 (FP_EX_INVALID_ZDZ): Likewise.
2641 (FP_EX_INVALID_IDI): Likewise.
2642 (FP_EX_INVALID_SQRT): Likewise.
2643 (FP_EX_INVALID_CVI): Likewise.
2644 (FP_EX_INVALID_VC): Likewise.
2645 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
2646 "invalid" exceptions.
2647 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
2648 (_FP_ADD_INTERNAL): Likewise.
2649 (_FP_MUL): Likewise.
2650 (_FP_FMA): Likewise.
2651 (_FP_DIV): Likewise.
2652 (_FP_CMP_CHECK_NAN): Likewise.
2653 (_FP_SQRT): Likewise.
2654 (_FP_TO_INT): Likewise.
2655 (FP_EXTEND): Likewise.
2656
b6dcfe8c
AM
26572014-10-09 Allan McRae <allan@archlinux.org>
2658
2659 * po/fr.po: Update French translation from translation project.
2660
2d6a47ba
JM
26612014-10-09 Joseph Myers <joseph@codesourcery.com>
2662
cb831245
JM
2663 [BZ #14132]
2664 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
2665 of INTDEF.
2666 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
2667 (__cxa_atexit): Use libc_hidden_proto.
2668 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
2669
5deeb190
JM
2670 [BZ #14132]
2671 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
2672 declaration.
2673 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
2674 [!_ISOMAC] (__iswspace_l_internal): Likewise.
2675 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
2676 [!_ISOMAC] (__iswctype_internal): Likewise.
2677 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
2678 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
2679 alias.
2680 (fcntl): Remove __fcntl_internal alias.
2681 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
2682 __connect_internal alias.
2683 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
2684 Likewise.
2685
454ac701
JM
2686 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
2687 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
2688 FP_DENORM_ZERO.
2689 (_FP_CHECK_FLUSH_ZERO): New macro.
2690 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
2691 (_FP_CMP): Likewise.
2692 (_FP_CMP_EQ): Likewise.
2693 (_FP_TO_INT): Do not set inexact for subnormal arguments if
2694 FP_DENORM_ZERO.
2695 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
2696 (FP_TRUNC): Likewise.
2697
0022e688
JM
2698 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
2699 treated as invalid conversion, not as normal exponent.
2700
73e28d9c
JM
2701 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
2702 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
2703 (_FP_CMP_EQ): Likewise.
2704 (_FP_CMP_UNORD): Likewise.
2705 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
2706 (FP_CMP_EQ_D): Likewise.
2707 (FP_CMP_UNORD_D): Likewise.
2708 * soft-fp/extended.h (FP_CMP_E): Likewise.
2709 (FP_CMP_EQ_E): Likewise.
2710 (FP_CMP_UNORD_E): Likewise.
2711 * soft-fp/quad.h (FP_CMP_Q): Likewise.
2712 (FP_CMP_EQ_Q): Likewise.
2713 (FP_CMP_UNORD_Q): Likewise.
2714 * soft-fp/single.h (FP_CMP_S): Likewise.
2715 (FP_CMP_EQ_S): Likewise.
2716 (FP_CMP_UNORD_S): Likewise.
2717 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
2718 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
2719 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
2720 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
2721 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
2722 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
2723 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
2724 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
2725 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
2726 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
2727 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
2728 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
2729 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
2730 to FP_CMP_Q.
2731 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
2732 FP_CMP_Q.
2733 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
2734 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
2735 FP_CMP_EQ_Q.
2736 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
2737 FP_CMP_Q.
2738 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
2739 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
2740 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
2741 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
2742 FP_CMP_EQ_Q.
2743 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
2744 FP_CMP_Q.
2745 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
2746 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
2747 FP_CMP_EQ_Q.
2748 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
2749 FP_CMP_Q.
2750 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
2751 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
2752 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
2753 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
2754 FP_CMP_EQ_Q.
2755
43059f42
JM
2756 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
2757 a subnormal result, set the underflow exception if trapping on
2758 underflow is enabled.
2759 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
2760 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
2761 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
2762 redefine to 0.
2763 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
2764 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2765 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2766 * soft-fp/extendxftf2.c (__extendxftf2): Use
2767 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
2768
2d6a47ba
JM
2769 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
2770 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
2771 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2772 FP_HANDLE_EXCEPTIONS.
2773 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
2774 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2775 FP_HANDLE_EXCEPTIONS.
2776 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
2777 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2778 FP_HANDLE_EXCEPTIONS.
2779 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
2780 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2781 FP_HANDLE_EXCEPTIONS.
2782
620f462e
JM
27832014-10-08 Joseph Myers <joseph@codesourcery.com>
2784
2785 [BZ #14132]
2786 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
2787 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
2788 use INTUSE.
2789 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
2790 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
2791 Remove alias.
2792 (__adjtimex): Define using libc_hidden_ver.
2793 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
2794 Remove declaration.
2795 (ntp_gettime): Call __adjtimex directly.
2796 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
2797 Remove declaration.
2798 (ntp_gettimex): Call __adjtimex directly.
2799 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
2800 __adjtimex_internal alias.
2801
c763c5d2
RM
28022014-10-08 Roland McGrath <roland@hack.frob.com>
2803
2804 [BZ #17460]
2805 * nscd/nscd.c (more_help): Rewrite list of tables collection
2806 using xstrdup and asprintf.
2807
2808 * nscd/nscd_conf.c: Remove local xstrdup declaration.
2809
7b8fb2b8
RM
28102014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2811 Roland McGrath <roland@hack.frob.com>
2812
2813 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
2814 (do_lookup_unique): ... local function 'enter' here; update callers.
2815
abb280f7
JM
28162014-10-06 Joseph Myers <joseph@codesourcery.com>
2817
f7b42517
JM
2818 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
2819 compat_symbol calls on [SHARED].
2820 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
2821 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
2822 Remove.
2823 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2824 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
2825 (oldsetrlimit): Remove.
2826 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2828 (lchown): New syscall entry.
2829 (oldsetrlimit): Remove.
2830 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2831 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
2832 (oldsetrlimit): Remove.
2833 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2834
abb280f7
JM
2835 [BZ #14138]
2836 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
2837 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
2838 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
2839 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
2840 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2841 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
2842 (fchown): Likewise.
2843 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
2844 (fchown): Likewise.
2845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
2846 Likewise.
2847
47d46237
AZ
28482014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2849
2850 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
2851 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
2852 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
2853 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
2854 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
2855 Likewise.
2856 (__old_sem_post): Likewise.
2857
28582014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 2859
845a7343
CM
2860 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
2861 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
2862 HAVE_CLOCK_GETTIME_VSYSCALL macros.
2863 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
2864 Use INLINE_VSYSCALL macro.
2865 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
2866 __vdso_clock_gettime.
2867 * sysdeps/unix/sysv/linux/tile/init-first.c
2868 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
2869 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
2870 __vdso_clock_gettime.
2871
83d641ef
CM
2872 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
2873 to set up frame more cleanly.
2874
d9cd52e6
CM
2875 * sysdeps/tile/memcmp.c: New file.
2876
4b68ea11
CM
2877 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
2878
c86f7b80
CM
2879 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
2880 * sysdeps/tile/tilegx/strcasestr.c: New file.
2881 * sysdeps/tile/tilegx/strnlen.c: New file.
2882 * sysdeps/tile/tilegx/strstr.c: New file.
2883
1c4c1a6f
CM
2884 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
2885
99d86ea3
AS
28862014-10-06 Arjun Shankar <arjun.is@lostca.se>
2887
2888 * nptl/tst-setuid3.c: Write errors to stdout.
2889
06210a44
KS
28902014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2891
2892 * elf/dl-deps.c
2893 (preload): New functions broken out of _dl_map_object_deps.
2894 (_dl_map_object_deps): Remove a nested function. Update call sites.
2895
6268f532
JM
28962014-10-01 Joseph Myers <joseph@codesourcery.com>
2897
2898 [BZ #14138]
2899 * sysdeps/unix/sysv/linux/execve.c: Remove file.
2900 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
2901
b925285f
SE
29022014-10-01 Steve Ellcey <sellcey@mips.com>
2903
2904 * sysdeps/mips/strcmp.S: New.
2905
754a15c6
JM
29062014-09-30 Joseph Myers <joseph@codesourcery.com>
2907
2908 [BZ #14138]
2909 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
2910 (linkat): Likewise.
2911 (mkdirat): Likewise.
2912 (readlinkat): Likewise.
2913 (renameat): Likewise.
2914 (symlinkat): Likewise.
2915 (unlinkat): Likewise.
2916 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
2917 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2918 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2919 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2920 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2921 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2922 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2923
85bb81c9
WN
29242014-09-30 Will Newton <will.newton@linaro.org>
2925
dc6fe23b
WN
2926 * math/math.h: Define long double math functions if
2927 _LIBC_TEST is defined.
2928 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
2929
85bb81c9
WN
2930 * localedata/Makefile: Move assignment to tests-special
2931 into an ifdef testing run-built-tests.
2932 * timezone/Makefile: Likewise.
2933
b7e02da4
JM
29342014-09-29 Joseph Myers <joseph@codesourcery.com>
2935
2936 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
2937 with $(BASH) not $(SHELL).
2938
62058ce6
CD
29392014-09-29 Carlos O'Donell <carlos@redhat.com>
2940 Matthew LeGendre <legendre1@llnl.gov>
2941
2942 [BZ #17411]
2943 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
2944 l_reloc_result.
2945
8e257a29
KS
29462014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2947
2948 * stdio-common/printf_fp.c
2949 (hack_digit): New function, broken out of ...
2950 (__printf_fp): ... local function here. Update call sites.
2951 hack_digit now takes an additional parameter that is a pointer
2952 to a struct of the referenced locals. Those locals moved inside
2953 the struct and references updated.
2954
f4a58f0d
L
29552014-09-29 H.J. Lu <hongjiu.lu@intel.com>
2956
2957 * aclocal.m4: Require autoconf 2.69.
2958 * configure: Regenerated.
2959 * sysdeps/aarch64/configure: Likewise.
2960 * sysdeps/alpha/configure: Likewise.
2961 * sysdeps/arm/armv7/configure: Likewise.
2962 * sysdeps/arm/configure: Likewise.
2963 * sysdeps/ia64/configure: Likewise.
2964 * sysdeps/mach/configure: Likewise.
2965 * sysdeps/mips/configure: Likewise.
2966 * sysdeps/s390/configure: Likewise.
2967 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
2969
2970 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
2971 file.
2972 * sysdeps/ia64/configure.ac: Likewise.
2973
93ae1eba
JM
29742014-09-26 Joseph Myers <joseph@codesourcery.com>
2975
1810d3ab
JM
2976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
2977 specify symbol version for ld.so. Do not include entry for
2978 libpthread.
2979 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2980 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2981 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2982
93ae1eba
JM
2983 [BZ #14171]
2984 * Makeconfig [$(build-shared) = yes]
2985 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2986 makefiles.
2987 [$(build-shared) = yes && $(soversions.mk-done) = t]
2988 ($(common-objpfx)gnu/lib-names.h): Remove rule.
2989 [$(build-shared) = yes && $(soversions.mk-done) = t]
2990 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
2991 to Makerules.
2992 [$(build-shared) = yes && $(soversions.mk-done) = t]
2993 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2994 here.
2995 [$(build-shared) = yes && $(soversions.mk-done) = t]
2996 (common-generated): Don't append gnu/lib-names.h and
2997 gnu/lib-names.stmp here.
2998 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2999 (lib-names-h-abi): New variable.
3000 [$(build-shared) = yes && $(soversions.mk-done) = t]
3001 (lib-names-stmp-abi): Likewise.
3002 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3003 abi-variants] (before-compile): Append
3004 $(common-objpfx)$(lib-names-h-abi).
3005 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3006 abi-variants] (common-generated): Append gnu/lib-names.h.
3007 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3008 abi-variants] (install-others-nosubdir): Depend on
3009 $(inst_includedir)/$(lib-names-h-abi).
3010 [$(build-shared) = yes && $(soversions.mk-done) = t &&
3011 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
3012 [$(build-shared) = yes && $(soversions.mk-done) = t]
3013 ($(common-objpfx)$(lib-names-h-abi)): New rule.
3014 [$(build-shared) = yes && $(soversions.mk-done) = t]
3015 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
3016 [$(build-shared) = yes && $(soversions.mk-done) = t]
3017 (common-generated): Append $(lib-names-h-abi) and
3018 $(lib-names-stmp-abi).
3019 * scripts/lib-names.awk: Do not handle multi being set.
3020 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
3021 Remove variable.
3022 (abi-lp64_be-ld-soname): Likewise.
3023 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
3024 Likewise.
3025 (abi-hard-ld-soname): Likewise.
3026 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
3027 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
3028 Remove variable.
3029 (abi-o32_hard-ld-soname): Likewise.
3030 (abi-o32_soft_2008-ld-soname): Likewise.
3031 (abi-o32_hard_2008-ld-soname): Likewise.
3032 (abi-n32_soft-ld-soname): Likewise.
3033 (abi-n32_hard-ld-soname): Likewise.
3034 (abi-n32_soft_2008-ld-soname): Likewise.
3035 (abi-n32_hard_2008-ld-soname): Likewise.
3036 (abi-n64_soft-ld-soname): Likewise.
3037 (abi-n64_hard-ld-soname): Likewise.
3038 (abi-n64_soft_2008-ld-soname): Likewise.
3039 (abi-n64_hard_2008-ld-soname): Likewise.
3040 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
3041 Likewise.
3042 (abi-64-v2-ld-soname): Likewise.
3043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
3044 ld.so entries.
3045 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3046 variable.
3047 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3048 entry.
3049 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
3050 variable.
3051 (abi-64-ld-soname): Likewise.
3052 (abi-x32-ld-soname): Likewise.
3053 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
3054 entry.
3055 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3056
68870f12
JM
30572014-09-23 Joseph Myers <joseph@codesourcery.com>
3058
3059 [BZ #14138]
3060 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
3061 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3062 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
3063 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
3064 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
3065 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
3066 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
3067 syscall entry for GLIBC_2.2 symbol version.
3068 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
3069 Likewise.
3070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3071 (setrlimit): Likewise.
3072 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
3073 Likewise.
3074
ea58f202
WN
30752014-09-23 Will Newton <will.newton@linaro.org>
3076
3077 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
3078 _LINUX_ARM_SYSDEP_H include guard too.
3079 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
3080 define.
3081
69eb9a18
RV
30822014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3083
3084 * sysdeps/unix/sysv/linux/eventfd.c:
3085 Make first argument unsigned.
3086 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3087 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3088
20e5a5f7
OB
30892014-09-20 Ondřej Bílka <neleai@seznam.cz>
3090
3091 * socket/recvmmsg.c (recvmmsg): Drop const argument.
3092 * socket/sys/socket.h: Likewise
3093 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3094
d3c827e7
AK
30952014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3096
3097 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3098
fe1cc35a
AS
30992014-09-17 Arjun Shankar <arjun.is@lostca.se>
3100
3101 * time/tst-ftime.c: New test.
3102 * time/Makefile (tests): Add tst-ftime.
3103
4e8afe69
JM
31042014-09-17 Joseph Myers <joseph@codesourcery.com>
3105
c4fe3ea7
JM
3106 * soft-fp/extended.h: Fix comment formatting.
3107 * soft-fp/op-1.h: Likewise.
3108 * soft-fp/op-2.h: Likewise.
3109 * soft-fp/op-4.h: Likewise.
3110 * soft-fp/op-8.h: Likewise.
3111 * soft-fp/op-common.h: Likewise.
3112 * soft-fp/soft-fp.h: Likewise.
3113
4e8afe69
JM
3114 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3115
af296fcd
JM
31162014-09-16 Joseph Myers <joseph@codesourcery.com>
3117
3118 [BZ #6652]
3119 * Makeconfig (soversions-default-setname): Remove variable.
3120 ($(common-objpfx)soversions.i): Don't pass default_setname to
3121 soversions.awk.
3122 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3123 oldest_abi to abi-versions.awk.
3124 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3125 * config.make.in (oldest-abi): Remove variable.
3126 * configure.ac (--enable-oldest-abi): Remove configure option.
3127 * configure: Regenerated.
3128 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3129 text.
3130 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3131 * scripts/soversions.awk: Do not handle default_setname variable.
3132 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3133 variable.
3134 * sysdeps/mach/hurd/configure: Regenerated.
3135 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3136 variable.
3137 * sysdeps/unix/sysv/linux/configure: Regenerated.
3138
545583d6
SP
31392014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3140
d330b980
SP
3141 * elf/Makefile (CFLAGS-interp.c): Remove.
3142 ($(elf-objpfx)runtime-linker.h): Generate header with linker
3143 path string.
3144 * elf/interp.c: Include generated runtime-linker.h
3145
02657da2
SP
3146 * Makerules (lib%.so): Don't include $(+interp) in
3147 prerequisites.
3148 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3149 * dlfcn/eval.c: Remove file.
3150
653b1080
SP
3151 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3152 macros.
3153
602f80ec
SP
3154 [BZ #17266]
3155 * misc/sys/cdefs.h: Define __extern_always_inline for clang
3156 4.2 and newer.
3157
545583d6
SP
3158 [BZ #17370]
3159 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
3160
884ddc50
SP
31612014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3162 Jakub Jelinek <jakub@redhat.com>
3163
3164 [BZ #17266]
3165 * libio/stdio.h: Check definition of __fortify_function
3166 instead of __extern_always_inline to include bits/stdio2.h.
3167 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
3168 check if __extern_always_inline is defined.
3169 [__USE_MISC || __USE_XOPEN]: Likewise.
3170 [__USE_ISOC99] Likewise.
3171 * misc/sys/cdefs.h (__fortify_function): Define only if
3172 __extern_always_inline is defined.
3173 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
3174 __extern_always_inline and __extern_inline only for g++-4.3
3175 and newer or a compatible gcc.
3176
a7b87268
AS
31772014-09-15 Andreas Schwab <schwab@linux-m68k.org>
3178
3179 [BZ #17371]
3180 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3181 last change to handle zero prefix length.
3182
3f41521d
SP
31832014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3184
61fe374a
SP
3185 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
3186 _SC_REGEX_VERSION.
3187
3f41521d
SP
3188 * posix/getconf.c (vars): Add _POSIX_IPV6 and
3189 _POSIX_RAW_SOCKETS.
3190
d8f879ee
AM
31912014-09-13 Allan McRae <allan@archlinux.org>
3192
3193 * po/ru.po: Update Russian translation from translation project.
3194
c079afb7
RM
31952014-09-12 Roland McGrath <roland@hack.frob.com>
3196
a62b3c15
RM
3197 * locale/programs/locale.c (show_locale_vars): Inline local function
3198 into its sole call site. Clean up some style nits.
3199 (print_item): New function, broken out of ...
3200 (show_info): ... local function here. Clean up style nits.
3201
d7e49b19
RM
3202 * locale/programs/ld-ctype.c (set_one_default): New function, broken
3203 out of ...
3204 (set_class_defaults): ... local function set_default here.
3205 Define set_default as a macro locally to pass constant parameters.
3206 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
3207 rather than a shared local.
3208
c079afb7
RM
3209 * stdlib/rpmatch.c (try): New function, broken out of ...
3210 (rpmatch): ... local function here. Also, prototypify definition.
3211
0bd72468
JM
32122014-09-12 Joseph Myers <joseph@codesourcery.com>
3213
ba90e050
JM
3214 * scripts/soversions.awk: Do not handle configuration names.
3215 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
3216 vendor and os variables to soversions.awk.
3217 * configure.ac: Do not modify gnu-* host_os.
3218 * configure: Regenerated
3219 * shlib-versions: Remove first column with configuration names.
3220 * nptl/shlib-versions: Likewise.
3221 * nptl_db/shlib-versions: Likewise.
3222 * sysdeps/hppa/shlib-versions: Likewise.
3223 * sysdeps/m68k/shlib-versions: Likewise.
3224 * sysdeps/mach/hurd/shlib-versions: Likewise.
3225 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
3226 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
3227 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
3228 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
3229 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
3230 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
3231 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
3232 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
3233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3234 Likewise.
3235 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3236 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3237 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3238 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3239 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3240 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
3241 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3242 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3243
73a39112
JM
3244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3245 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
3246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3247 Regenerated.
3248 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
3249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3250 Condition symbol version definitions on [HAVE_ELFV2_ABI].
3251
c729e7c1
JM
3252 * shlib-versions: Remove OS-specific entries. Moved to files in
3253 sysdeps.
3254 * sysdeps/mach/hurd/shlib-versions: New file.
3255 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3256
dc932a24
JM
3257 * nptl/shlib-versions: Remove architecture-specific entries.
3258 Moved to files in sysdeps.
3259 * shlib-versions: Likewise.
3260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
3261 file.
3262 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3263 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3264 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3265 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3266
0bd72468
JM
3267 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
3268 (UDP_NO_CHECK6_RX): Likewise.
3269
920238e0
SP
32702014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3271
3272 * sysdeps/posix/sysconf.c (__sysconf): Spell
3273 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
3274
ba7b4d29
FW
32752014-08-12 Florian Weimer <fweimer@redhat.com>
3276
3277 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
3278 loading.
3279 * iconv/Versions (__gconv_transliterate): Export for use from
3280 gconv modules.
3281 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
3282 (struct __gconv_trans_data, __gconv_trans_fct,
3283 __gconv_trans_context_fct, __gconv_trans_query_fct,
3284 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
3285 definitions.
3286 (struct __gconv_step_data): Remove __trans member.
3287 (__gconv_transliterate): Declaration moved from gconv_int.h. No
3288 longer hidden. Remove unused trans_data argument.
3289 * iconv/gconv_int.h (struct trans_struct): Remove definition.
3290 (__gconv_translit_find): Remove declaration.
3291 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
3292 prototype.
3293 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
3294 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
3295 trans_data argument. Add hidden definition.
3296 (__gconv_translit_find): Remove.
3297 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
3298 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
3299 * iconv/skeleton.c: Remove transliteration initialization.
3300 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
3301 __gconv_step_data initialization.
3302 * libio/iofwide.c (__libio_translit_): Remove.
3303 (_IO_fwide): Adjust struct __gconv_step_data initialization.
3304 * wcsmbs/btowc.c (__btowc): Likewise.
3305 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3306 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3307 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3308 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3309 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
3310 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3311 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3312 * wcsmbs/wctob.c (wctob): Likewise.
3313
5379aebd
SP
33142014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3315
3316 [BZ #16194]
3317 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
3318 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
3319 register usage.
3320 * sysdeps/x86/Makefile: Adjust.
3321
8c0ab919
RM
33222014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3323 Roland McGrath <roland@hack.frob.com>
3324
3325 * locale/weight.h: Add include guard.
3326 (findidx): Make static rather than auto; take new parameters
3327 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
3328 * locale/weightwc.h: Likewise.
3329 * posix/fnmatch_loop.c
3330 (FCT): Change type of EXTRA from int32_t to wint_t.
3331 Don't include either header inside the function.
3332 Call FINDIDX rather than findidx, and pass new arguments.
3333 #undef FINDIDX at the end of the file.
3334 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
3335 FINDIDX before including fnmatch_loop.c for the non-wide version.
3336 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
3337 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
3338 for the wide version.
3339 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
3340 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
3341 Pass new arguments to findidx.
3342 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
3343 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
3344 Don't #include it inside the function. Pass new arguments to findidx.
3345 * posix/regex_internal.h
3346 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
3347 (re_string_elem_size_at): Don't #include it inside the function.
3348 Pass new arguments to findidx.
3349 * string/strcoll_l.c: #include WEIGHT_H at top level.
3350 (get_next_seq): Don't #include it inside the function.
3351 Pass new arguments to findidx.
3352 (get_next_seq_nocache): Likewise.
3353 * string/strxfrm_l.c: #include WEIGHT_H at top level.
3354 (STRXFRM): Don't #include it inside the function.
3355 Pass new arguments to findidx.
3356
52ffbdf2
FW
33572014-09-11 Florian Weimer <fweimer@redhat.com>
3358
3359 [BZ #17344]
3360 * malloc/malloc.c (unlink): Turn asserts into a call to
3361 malloc_printerr.
3362
984c0ea9
TL
33632014-09-11 Tim Lammens <tim.lammens@gmail.com>
3364
3365 [BZ #17370]
3366 * libio/wfileops (do_ftell_wide): Free OUT.
3367
3daee107
CM
33682014-09-10 Chris Metcalf <cmetcalf@tilera.com>
3369
3370 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
3371
58b930ae
SP
33722014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3373
3374 [BZ #17363]
3375 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
3376 group if the current group is empty.
3377
3b473fec
AZ
33782014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3379
71ae8647
AZ
3380 * benchtests/bench-memset.c (test_main): Add more test from size
3381 from 32 to 512 bytes.
3382 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3383 Add POWER8 memset object.
3384 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3385 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
3386 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
3387 implementation.
3388 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
3389 Likewise.
3390 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
3391 multiarch POWER8 memset optimization.
3392 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
3393 POWER8 memset optimization.
3394
3b473fec
AZ
3395 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3396 Remove bzero multiarch objects.
3397 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
3398 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
3399 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
3400 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
3401 Remove define.
3402 [__bzero]: Redefine to specific name.
3403 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3404 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3405 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
3406 define.
3407 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3408 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3409
e6fb9587
FW
34102014-09-10 Florian Weimer <fweimer@redhat.com>
3411
3412 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
3413 warnings into errors.
3414
3415 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
3416 __cxa_thread_atexit_impl prototype.
3417
9d3a350b
SE
34182014-09-09 Steve Ellcey <sellcey@mips.com>
3419
3420 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
3421 Fix capitalization of error message.
3422
0febba23
SE
34232014-09-09 Steve Ellcey <sellcey@mips.com>
3424
3425 * sysdeps/mips/preconfigure: Modify ABI tests.
3426
645a0e9c
CD
34272014-09-07 Carlos O'Donell <carlos@systemhalted.org>
3428
3429 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
3430
d83f0734
CD
34312014-09-07 Roland McGrath <roland@hack.frob.com>
3432 Carlos O'Donell <carlos@systemhalted.org>
3433
3434 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
3435 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
3436 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
3437 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
3438 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
3439 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
3440 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
3441 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
3442 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
3443 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
3444 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
3445 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
3446 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
3447 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
3448 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
3449 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
3450 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
3451 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
3452 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
3453 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
3454 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
3455 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
3456 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
3457 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
3458 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
3459 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
3460 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
3461 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
3462 Deconditionalize the code that was previously under [RESET_PID].
3463 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
3464 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
3465 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
3466 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
3467 include sysdep.h.
3468
21c83793
AM
34692014-09-08 Allan McRae <allan@archlinux.org>
3470
3471 * version.h (RELEASE): Set to "development".
3472 (VERSION): Set to "2.20.90"
3473
1cd9b65c
AM
34742014-09-07 Allan McRae <allan@archlinux.org
3475
b8079dd0
AM
3476 * version.h (RELEASE): Set to "stable".
3477 (VERSION): Set to "2.20"
3478 * include/features.h (__GLIBC_MINOR__): Set to 20.
3479
c46303ef
AM
3480 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
3481 Liebler.
3482
1cd9b65c
AM
3483 * po/ko.po: Update Korean translation from translation project.
3484
8622092d
CM
34852014-09-06 Chris Metcalf <cmetcalf@tilera.com>
3486
3487 [BZ #17354]
3488 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
3489 macro for handling signed relocations.
3490
41488498
FW
34912014-09-03 Florian Weimer <fweimer@redhat.com>
3492
3493 [BZ #17325]
3494 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
3495 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
3496 assert.
3497 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
3498 * iconvdata/ibm935.c (BODY): Likewise.
3499 * iconvdata/ibm937.c (BODY): Likewise.
3500 * iconvdata/ibm939.c (BODY): Likewise.
3501 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
3502 assert.
3503 * iconvdata/Makefile (iconv-test.out): Pass module list to test
3504 script.
3505 * iconvdata/run-iconv-test.sh: New test loop for checking for
3506 decoder crashers.
3507
a78b712d
KR
35082014-09-02 Khem Raj <raj.khem@gmail.com>
3509
3510 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
3511 libm_hidden_ver.
3512
cb08abc6
AM
35132014-09-01 Allan McRae <allan@archlinux.org>
3514
2c31e102
AM
3515 * po/eo.po: Update Esperanto translation from translation project.
3516
cb08abc6
AM
3517 * po/ca.po: Update Catalan translation from translation project.
3518
17a62de1
ST
35192014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
3520
3521 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
3522 __proc_dostop call.
3523
9570bc53
MW
35242014-08-27 Mark Wielaard <mjw@redhat.com>
3525
3526 [BZ #17319]
3527 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
3528 to call set_thread_area instead of hand written asm.
3529 (__NR_set_thread_area): Removed define.
3530 (TLS_FLAG_WRITABLE): Likewise.
3531 (__ASSUME_SET_THREAD_AREA): Remove check.
3532 (TLS_EBX_ARG): Remove define.
3533 (TLS_LOAD_EBX): Likewise.
3534
b0f955c9
ST
35352014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3536
3537 Simplify atomicity of socket creation in bind.
3538
3539 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
3540 looking up the name after linking the file.
3541
529bf515
AM
35422014-08-27 Allan McRae <allan@archlinux.org>
3543
3544 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3545
a1a6a401
FW
35462014-08-26 Florian Weimer <fweimer@redhat.com>
3547
3548 [BZ #17187]
3549 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
3550 trans_compare, open_translit, __gconv_translit_find):
3551 Remove module loading code.
3552
686ab290
AM
35532014-08-26 Allan McRae <allan@archlinux.org>
3554
e4e7cfd2
AM
3555 * po/vi.po: Update Vietnamese translation from translation project.
3556
6aa09f71
AM
3557 * po/uk.po: Update Ukrainian translation from translation project.
3558
edc0660e
AM
3559 * po/fr.po: Update French translation from translation project.
3560
7eea72ac
AM
3561 * po/ru.po: Update Russian translation from translation project.
3562
93c49eff
AM
3563 * po/pl.po: Update Polish translation from translation project.
3564
46acaf63
AM
3565 * po/cs.po: Update Czech translation from translation project.
3566
a9f5ce98
AM
3567 * po/de.po: Update German translation from translation project.
3568
373f2b78
AM
3569 * po/bg.po: Update Bulgarian translation from translation project.
3570
e7548bd8
AM
3571 * po/sv.po: Update Sweedish translation from translation project.
3572
c526bf4d
AM
3573 * po/nl.po: Update Dutch translation from translation project.
3574
686ab290
AM
3575 * po/es.po: Update Spanish translation from translation project.
3576
eb72478a
SP
35772014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3578
dd763fdb
SP
3579 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
3580
318c7a58
SP
3581 * catgets/Makefile (CPPFLAGS-gencat): Remove.
3582 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
3583 (CPPFLAGS-iconvconfig): Likewise.
3584 * timezone/Makefile (CPPFLAGS-zic): Likewise.
3585
eb72478a
SP
3586 * include/libc-symbols.h: Remove unnecessary check for
3587 NOT_IN_libc.
3588 * nptl/pthreadP.h: Likewise.
3589 * sysdeps/aarch64/setjmp.S: Likewise.
3590 * sysdeps/alpha/setjmp.S: Likewise.
3591 * sysdeps/arm/sysdep.h: Likewise.
3592 * sysdeps/i386/setjmp.S: Likewise.
3593 * sysdeps/m68k/setjmp.c: Likewise.
3594 * sysdeps/posix/getcwd.c: Likewise.
3595 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3596 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3597 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3598 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3599 * sysdeps/sh/sh3/setjmp.S: Likewise.
3600 * sysdeps/sh/sh4/setjmp.S: Likewise.
3601 * sysdeps/unix/alpha/sysdep.h: Likewise.
3602 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3603 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3604 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3605 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3608 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3609 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3610 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3611 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3612 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3613 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3614 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3615 * sysdeps/x86_64/setjmp.S: Likewise.
3616
d44a052c
JM
36172014-08-13 Joseph Myers <joseph@codesourcery.com>
3618
3619 [BZ #17263]
3620 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
3621 <stdint.h>.
3622 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
3623 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
3624
508ce3ac
SP
36252014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3626
e44c8b0e
SP
3627 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
3628
508ce3ac
SP
3629 [BZ #17262]
3630 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
3631 and __x86_64__ when disabling x87 inline functions.
3632
b4acef1f
L
36332014-08-12 H.J. Lu <hongjiu.lu@intel.com>
3634
3635 [BZ #17259]
3636 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
3637 asm statement with __cpuid_count.
3638
61b1ef6e
MF
36392014-08-12 Mike Frysinger <vapier@gentoo.org>
3640
3641 * configure.ac: Change __ehdr_start code to dereference the struct.
3642 Run readelf on the output to look for relocations.
3643 * configure: Regenerated.
3644
898c62f4
JM
36452014-08-12 Joseph Myers <joseph@codesourcery.com>
3646
3647 [BZ #17261]
3648 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
3649 value to 0.
3650 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
3651
9a8a5720
RM
36522014-08-12 Roland McGrath <roland@hack.frob.com>
3653
3654 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
3655
4e75751c
BO
36562014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
3657
3658 [BZ #16892]
3659 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
3660 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
3661
bb2ce416
SA
36622014-08-12 Sean Anderson <seanga2@gmail.com>
3663
3664 * malloc/malloc.c: Fix typo in comment.
3665
7950a4ee
AM
36662014-08-09 Allan McRae <allan@archlinux.org>
3667
3668 * Regenerate libc.po.
3669
f469c49f
MF
36702014-08-08 Mike Frysinger <vapier@gentoo.org>
3671
3672 * intl/tst-gettext2.sh: Check every lang file for creation.
3673
656b84c2
WD
36742014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
3675
3676 * sysdeps/aarch64/fpu/math_private.h
3677 (libc_feholdsetround_noex_aarch64_ctx): New function.
3678
538e9e45
W
36792014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
3680
3681 * sysdeps/arm/armv6/strcpy.S (strcpy):
3682 Fix performance issue in misaligned cases.
3683
d4795e4a
AZ
36842014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3685
3686 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
3687 Move definition from termios.h.
3688 (struct termio): Likewise.
3689 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3690 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3691 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3692 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3693 Likewise.
3694 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
3695 Move definition to ioctl-types.h
3696 (struct termio): Likewise.
3697 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3698 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3699 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3700 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3701 Likewise.
3702
64accb62
RH
37032014-08-05 Richard Henderson <rth@redhat.com>
3704
27bb6dc0
RH
3705 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
3706 exceptions.
3707 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
3708 Add fraiseexcpt.
3709 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3710 Use __feraiseexcept.
3711 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
3712 Protect libm symbols with IS_IN_libm.
3713
64accb62
RH
3714 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
3715
e5292691
BO
37162014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
3717
3718 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
3719
5b4bd2d4
WN
37202014-08-04 Will Newton <will.newton@linaro.org>
3721
3722 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
3723 file.
3724
fcadaeef
MF
37252014-08-04 Mike Frysinger <vapier@gentoo.org>
3726
3727 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
3728 variants for each function.
3729
43a94c64
RM
37302014-08-04 Roland McGrath <roland@hack.frob.com>
3731
3732 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
3733 appended ...
3734 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
3735 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
3736 appended ...
3737 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
3738 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
3739 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
3740 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
3741 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
3742 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
3743 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
3744 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
3745 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
3746 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
3747 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
3748 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
3749 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
3750 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
3751 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
3752 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
3753 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
3754 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
3755 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
3756 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
3757 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
3758 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
3759 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
3760 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
3761 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
3762 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
3763 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
3764 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
3765 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
3766 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
3767 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
3768 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
3769 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
3770 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
3771 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
3772 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
3773 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
3774 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
3775 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
3776 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
3777 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
3778 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
3779 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
3780 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
3781 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
3782 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
3783 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
3784 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
3785 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
3786 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
3787 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
3788 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
3789 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
3790 Update #include.
3791 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
3792 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
3793
8f3c1fa4
RM
37942014-08-04 Roland McGrath <roland@hack.frob.com>
3795
3796 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
3797 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
3798 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
3799 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
3800 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
3801 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
3802
ca08746f
RM
38032014-08-04 Roland McGrath <roland@hack.frob.com>
3804
3805 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
3806 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
3807 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3808 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
3809
9c925ff9
RM
38102014-08-04 Roland McGrath <roland@hack.frob.com>
3811
3812 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
3813 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
3814 (__libc_vfork): Define function under this name.
3815 (__vfork): Define as an alias.
3816 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
3817 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
3818
e641054c
RM
38192014-08-04 Roland McGrath <roland@hack.frob.com>
3820
3821 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
3822 that was previously under [RESET_PID].
3823 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
3824
dacdc867
AS
38252014-08-04 Andreas Schwab <schwab@suse.de>
3826
3827 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
3828
41f725ff
MF
38292014-08-03 Mike Frysinger <vapier@gentoo.org>
3830
3831 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
3832 (main): Likewise.
3833
277cfb31
RM
38342014-08-01 Roland McGrath <roland@hack.frob.com>
3835
3836 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
3837
4896f049
RH
38382014-08-01 Richard Henderon <rth@redhat.com>
3839
3840 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
3841 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
3842 typo in exact zero test.
3843 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3844 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3845 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3846
6f64e7d7
RM
38472014-08-01 Roland McGrath <roland@hack.frob.com>
3848
3849 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
3850 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
3851 * sysdeps/arm/sysdep.h: ... here.
3852 [!__ASSEMBLER__]: Include <stdint.h>.
3853
3f3dd810
SP
38542014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3855
a476ac4b
SP
3856 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
3857 (HAVE_WCTYPE_H): Likewise.
3858 (HAVE_ISWCTYPE): Likewise.
3859 (ENABLE_NLS): Likewise.
3860 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
3861 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
3862
78dd658a
SP
3863 * posix/regex_internal.c: Check if DEBUG is defined and is
3864 set.
3865
3f3dd810
SP
3866 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
3867 (HAVE_MBSRTOWCS): Likewise.
3868 * posix/fnmatch.c: Include string.h unconditionally.
3869
95ee7fb1
SL
38702014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3871
3872 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
3873 reversal.
3874
23fe486b
RM
38752014-07-31 Roland McGrath <roland@hack.frob.com>
3876
f61a113f
RM
3877 * sysdeps/generic/safe-fatal.h: New file.
3878 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
3879 * nptl/forward.c: Include it.
3880 (__pthread_unwind): Use __safe_fatal as default action, rather
3881 than a bogus use of INTERNAL_SYSCALL that could never work.
3882
9fe7e787
RM
3883 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
3884 * configure.ac (libc_cv_builtin_trap): New test.
3885 * configure: Regenerated.
3886 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
3887 (ABORT_INSTRUCTION): Define using __builtin_trap.
3888
23fe486b
RM
3889 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
3890 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
3891 * sysdeps/nptl/nptl-signals.h: New file.
3892 * nptl/pthreadP.h: Include <nptl-signals.h>.
3893
f349489e
SL
38942014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3895
3896 * sysdeps/s390/s390-64/utf16-utf32-z9.c
3897 (ONE_DIRECTION): Define.
3898 * sysdeps/s390/s390-64/utf8-utf16-z9.c
3899 (ONE_DIRECTION): Define.
3900 * sysdeps/s390/s390-64/utf8-utf32-z9.c
3901 (ONE_DIRECTION): Define.
3902
2f438e20
SL
39032014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3904
3905 * sysdeps/s390/Makefile: Delete file.
3906 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
3907 * sysdeps/s390/__longjmp.c: Delete file.
3908 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
3909 Remove fields __flags and __reserved.
3910 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
3911 and add versioning.
3912 * sysdeps/s390/rtld-__longjmp.c: Delete file.
3913 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
3914 * sysdeps/s390/rtld-setjmp.S: Likewise.
3915 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
3916 * sysdeps/s390/s390-32/__longjmp.c: ... here.
3917 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
3918 * sysdeps/s390/s390-32/setjmp.S: ... here.
3919 Add versioning.
3920 (__sigsetjmp): Remove setting __flags field.
3921 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
3922 * sysdeps/s390/s390-64/__longjmp.c: ... here.
3923 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
3924 * sysdeps/s390/s390-64/setjmp.S: ... here.
3925 Add versioning.
3926 (__sigsetjmp): Remove setting __flags field.
3927 * sysdeps/s390/setjmp.S: Delete file.
3928 * sysdeps/s390/sigjmp.c: Likewise.
3929 * sysdeps/s390/v1-longjmp.c: Likewise.
3930 * sysdeps/s390/v1-setjmp.h: Likewise.
3931 * sysdeps/s390/v1-sigjmp.c: Likewise.
3932 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
3933 Remove v1-longjmp_chk.
3934 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
3935 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
3936 Include debug/longjmp_chk.c and add versioning.
3937 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
3938 Include nptl/pt-longjmp.c and add versioning.
3939 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
3940 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
3941 Include __longjmp.c.
3942 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3943 Move to ...
3944 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
3945 (__getcontext): Remove setting __flags field.
3946 Add versioning.
3947 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3948 Don't restore upper high grps.
3949 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
3950 Likewise.
3951 (__swapcontext): Remove setting uc_flags field.
3952 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
3953 Delete file.
3954 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3955 Include __longjmp.c.
3956 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3957 Move to ...
3958 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
3959 (__getcontext): Remove setting __flags field.
3960 Add versioning.
3961 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
3962 (__swapcontext): Remove setting uc_flags field.
3963 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
3964 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
3965 Remove fields uc_high_gprs and __reserved.
3966 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
3967 New file with reverted content.
3968 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
3969 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
3970 Regenerated.
3971 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
3972 Regenerated.
3973
6c9578a2
AS
39742014-07-31 Andreas Schwab <schwab@suse.de>
3975
3976 * config.h.in (HAVE_IFUNC): Define to 0.
3977 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
3978 definedness.
3979
05f3633d
LM
39802014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
3981
3982 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3983 memmove-avx-unaligned, memcpy-avx-unaligned and
3984 mempcpy-avx-unaligned.
3985 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3986 Add tests for AVX memcpy functions.
3987 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3988 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3989 memcpy_chk.
3990 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3991 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3992 memmove_chk.
3993 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3994 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3995 mempcpy_chk.
3996 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3997 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3998 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3999
a53fbd8e
AZ
40002013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4001
4002 [BZ #17213]
4003 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
4004 powerpc64le.
4005
0961f7e1
JL
40062014-07-29 Jeff Layton <jlayton@poochiereds.net>
4007
4008 [BZ #16839]
4009 * manual/llio.texi: Add section about open file description locks.
4010 * manual/examples/ofdlocks.c: Example of open file description
4011 lock usage.
4012 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
4013 F_OFD_SETLK, and F_OFD_SETLKW.
4014
cc5fb300
AM
40152014-07-23 Allan McRae <allan@archlinux.org>
4016
4017 * po/es.po: Update Spanish translation from translation project.
4018
23329dca
AS
40192014-07-18 Andreas Schwab <schwab@linux-m68k.org>
4020
4021 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
4022
9c82da17
MR
40232014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
4024
4025 [BZ #17078]
4026 * sysdeps/arm/dl-machine.h (elf_machine_rela)
4027 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
4028 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
4029
29c4f53e
JM
40302014-07-17 Joseph Myers <joseph@codesourcery.com>
4031
831b9896
JM
4032 [BZ #17088]
4033 * math/fesetenv.c (__fesetenv)
4034 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
4035 * math/feupdateenv.c (__feupdateenv)
4036 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
4037
b21c2d50
JM
4038 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
4039 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4040 (__ASSUME_SOCKETCALL): Do not define.
4041
067764ef
JM
4042 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
4043 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
4044 (__ASSUME_SOCKETCALL): Do not define.
4045 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4046 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4047 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4048 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4049 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4050 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
4051 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4052 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4053
642530c1
JM
4054 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
4055 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
4056 (__ASSUME_SOCKETCALL): Do not define.
4057 (__ASSUME_IPC64): Define unconditionally.
4058 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4059 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4060 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4061 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4062 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
4063 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4064 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
4065 Likewise.
4066
03f77315
JM
4067 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
4068 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
4069 (__ASSUME_SOCKETCALL): Do not define.
4070 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
4071 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4072 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4073 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4074 (__ASSUME_REQUEUE_PI): Define unconditionally.
4075 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
4076 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4077 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4078 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
4079 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4080 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4081
083b1f7c
JM
4082 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4083 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
4084 (__ASSUME_SOCKETCALL): Do not define.
4085 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
4086 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4087 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4088 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4089 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4090 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4091
5be44ea6
JM
4092 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4093 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4094 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4095 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4096 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4097 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4098 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4099 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4100 (__ASSUME_GETCPU_SYSCALL): Likewise.
4101
d95ffd4c
JM
4102 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4103 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
4104 cases for individual architectures.
4105 * sysdeps/gnu/configure: Regenerated.
4106 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4107 LIBC_SLIBDIR_RTLDDIR.
4108 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4109 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4110 LIBC_SLIBDIR_RTLDDIR.
4111 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4113 LIBC_SLIBDIR_RTLDDIR.
4114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4115 Regenerated.
4116 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4117 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4118 file.
4119 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4120 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4121 file.
4122 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4123 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4124 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4125 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4126
29c4f53e
JM
4127 * sysdeps/aarch64/shlib-versions: Move to ...
4128 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4129 * sysdeps/alpha/shlib-versions: Move to ...
4130 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4131 * sysdeps/arm/shlib-versions: Move to ...
4132 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4133 * sysdeps/hppa/shlib-versions: Move all contents except for
4134 libgcc_s entry to ...
4135 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
4136 entry from ...
4137 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
4138 * sysdeps/ia64/shlib-versions: Move to ...
4139 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
4140 entry from ...
4141 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
4142 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4143 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4144 * sysdeps/microblaze/shlib-versions: Move to ...
4145 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4146 * sysdeps/mips/shlib-versions: Move to ...
4147 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
4148 entry from ...
4149 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
4150 * sysdeps/tile/shlib-versions: Move to ...
4151 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4152 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
4153 from ...
4154 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
4155 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
4156 entry from ...
4157 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
4158
32bead5b
WN
41592014-07-17 Will Newton <will.newton@linaro.org>
4160
57977c4b
WN
4161 * sysdeps/arm/bits/atomic.h
4162 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
4163 (__arch_compare_and_exchange_bool_16_int): Likewise.
4164 (__arch_compare_and_exchange_bool_64_int): Likewise.
4165
32bead5b
WN
4166 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4167 into an #else block.
4168
37fccd41
RM
41692014-07-16 Roland McGrath <roland@hack.frob.com>
4170
4171 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4172 just Linux configurations. Test empirically that the compiler sets
4173 __ARM_EABI__, rather than using the tuple to decide.
4174 * sysdeps/arm/preconfigure: Regenerated.
4175 * sysdeps/unix/sysv/linux/arm/configure: File removed.
4176 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
4177 contents appended ...
4178 * sysdeps/arm/configure.ac: ... here.
4179 * sysdeps/arm/configure: Regenerated.
4180
b365f3ec
RM
41812014-07-15 Roland McGrath <roland@hack.frob.com>
4182
8badf496
RM
4183 * nptl/pthread_kill.c: New file.
4184 * nptl/pthread_sigmask.c: New file.
4185 * nptl/pthread_sigqueue.c: New file.
4186
3df6f22e
RM
4187 * sysdeps/nptl/lowlevellock.h: New file.
4188 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
4189 * sysdeps/nptl/lowlevellock-futex.h: New file.
4190
b365f3ec
RM
4191 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4192 Remove dead declarations.
4193
f2fef657
L
41942014-07-14 H.J. Lu <hongjiu.lu@intel.com>
4195
4196 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4197 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
4198 config-cflags-avx2.
4199 * sysdeps/x86_64/configure.ac: Likewise.
4200 * sysdeps/i386/configure: Regenerated.
4201 * sysdeps/x86_64/configure: Likewise.
4202 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4203 memset-avx2 only if config-cflags-avx2 is yes.
4204 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4205 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
4206 defined.
4207 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
4208 only if HAVE_AVX2_SUPPORT is defined.
4209 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4210
f6c44d47
AM
42112014-07-14 Alan Modra <amodra@gmail.com>
4212
4213 [BZ #17153]
4214 * elf/elf.h (DT_PPC64_NUM): Correct value.
4215 * NEWS: Add to fixed bug list.
4216
7ee03f00
JM
42172014-07-13 Jim Meyering <meyering@fb.com>
4218
4219 [BZ 17150]
4220 regex: don't deref NULL upon heap allocation failure
4221 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
4222 failure in one more place.
4223 To trigger the segfault, configure grep -with-included-regex,
4224 build it, and run these commands:
4225 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
4226
9d39d517
AS
42272014-07-13 Andreas Schwab <schwab@linux-m68k.org>
4228
4229 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4230
a75b89b7
RH
42312014-07-11 Richard Henderson <rth@redhat.com>
4232
4233 * sysdeps/aarch64/libm-test-ulps: Update.
4234
771eb141
FW
42352014-07-10 Florian Weimer <fweimer@redhat.com>
4236
4237 [BZ #17135]
4238 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
4239 * nptl/allocatestack.c (__nptl_setxid_error): New function.
4240 (__nptl_setxid): Initialize error member. Call
4241 __nptl_setxid_error.
4242 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
4243 * nptl/descr.h (struct xid_command): Add error member.
4244 * nptl/tst-setuid3.c: New file.
4245 * nptl/Makefile (tests): Add it.
4246
bc1da176
AZ
42472014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4248
4249 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
4250 New define.
4251 (__lll_trylock): Use __lll_base_trylock.
4252 (__lll_cond_trylock): Likewise.
4253
887865fc
RM
42542014-07-10 Roland McGrath <roland@hack.frob.com>
4255
c0c6bac9
RM
4256 * nptl/pthread_create.c (start_thread): Use atomic_or and
4257 lll_futex_wake directly rather than lll_robust_dead.
4258 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4259 (lll_robust_dead): Macro removed.
6a42be57 4260 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
4261 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4262 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4263 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4264 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4265 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4266 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4267 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4268 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4269 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4270 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4271 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4272 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4273 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4274 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4275
887865fc
RM
4276 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4277 Use atomic_compare_and_exchange_val_acq directly rather than
4278 lll_robust_trylock.
4279 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4280 (__lll_robust_trylock, lll_robust_trylock): Removed.
4281 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4282 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4283 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4284 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4285 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4286 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4287 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4288 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4289 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4290 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4291 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4292 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4293 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4294 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4295
58536726
FW
42962014-07-02 Florian Weimer <fweimer@redhat.com>
4297
4298 * manual/locale.texi (Locale Names): New section documenting
4299 locale name syntax. Adjust menu and node chaining accordingly.
4300 (Choosing Locale): Reference Locale Names, Locale Categories.
4301 Mention setting LC_ALL=C. Reflect that name syntax is now
4302 documented.
4303 (Locale Categories): New section title. Reference Locale Names.
4304 LC_ALL is an environment variable, but not a category.
4305 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
4306 description, now in Locale Name. Reference that section. Locale
4307 name syntax is now documented.
4308
4e8f95a0
FW
43092014-07-02 Florian Weimer <fweimer@redhat.com>
4310
4311 [BZ #17137]
4312 * locale/findlocale.c (name_present, valid_locale_name): New
4313 functions.
4314 (_nl_find_locale): Use the loc_name variable to store name
4315 candidates. Call name_present and valid_locale_name to check and
4316 validate locale names. Return an error if the locale is invalid.
4317
d1836456
FW
43182014-07-02 Florian Weimer <fweimer@redhat.com>
4319
4320 * locale/setlocale.c (setlocale): Use strdup for allocating
4321 composite name copy.
4322
d69b7f5a
SP
43232014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4324
888c679b
SP
4325 Sync up with gnulib.
4326 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
4327 [!_LIBC && ENABLE_NLS]: Include gettext.h.
4328 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
4329 and _GL_ARG_NONNULL.
4330 [USE_UNLOCKED_IO]: Include unlocked-io.h.
4331 [!_LIBC]: Include code for Windows and Cygwin.
4332 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
4333 Include prototype for int strerror_r.
4334 [!_LIBC] (is_open): New function.
4335 (flush_stdout): New function.
4336 (print_errno_message): Use it.
4337 (error): Likewise.
4338 (error_at_line): Likewise.
4339 (error_tail) Add function attribute macros. Use
4340 __builtin_expect.
4341
180e0e4b
SP
4342 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
4343
d22f1fe2
SP
4344 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
4345
12f2254b
SP
4346 * io/ftw.c: Include sys/param.h unconditionally.
4347
c3c7c360
SP
4348 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
4349
d62aa75a
SP
4350 [BZ #17125]
4351 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
4352 libc_freeres_ptr.
4353 (freecache): New function to free CACHE on exit.
4354
d69b7f5a
SP
4355 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
4356 initialization.
4357
5efe06a1
DM
43582014-07-09 David S. Miller <davem@davemloft.net>
4359
4360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4361
7000d82e
DM
4362 * sysdeps/sparc/nptl/internaltypes.h: Delete.
4363 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
4364 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
4365 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
4366 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
4367 * sysdeps/sparc/nptl/sem_init.c: Likewise.
4368 * sysdeps/sparc/nptl/sem_post.c: Likewise.
4369 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
4370 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
4371 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
4372 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
4373 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
4374 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
4375
c213442d
AS
43762014-07-09 Andreas Schwab <schwab@suse.de>
4377
4a2552c3
AS
4378 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
4379 output.
4380 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
4381 (do_test): Likewise.
4382
c213442d
AS
4383 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4384
82374e65
WN
43852014-07-09 Will Newton <will.newton@linaro.org>
4386
4387 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
4388 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
4389 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4390 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4391 * sysdeps/hppa/start.S (_start): Likewise.
4392
6680738a
SP
43932014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4394
6ee3eab4
SP
4395 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
4396
6680738a
SP
4397 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
4398 defined.
4399
80b5c505
SP
44002014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4401
e35c53e3
SP
4402 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
4403 after checking that it is non-NULL.
4404
80b5c505
SP
4405 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
4406
91f4b564
AZ
44072014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4408
27b75f56
AZ
4409 * sysdeps/powerpc/memmove.c: Remove file.
4410 * sysdeps/powerpc/powerpc32/power4/memcopy.h
4411 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
4412 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4413 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
4414 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
4415 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
4416 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
4417 string memmove instead of removed powerpc one.
4418
e7f95bb5
AZ
4419 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4420 [weak_alias]: Fix compiler warning due trailing data.
4421 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
4422 [weak_alias]: Likewise.
4423 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
4424 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
4425
91f4b564
AZ
4426 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4427 (__libc_ifunc_impl_list): Add memmove functions.
4428
7c33f1e5
SP
44292014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4430
4431 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
4432 Remove code.
4433 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
4434 Likewise
4435 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
4436 Likewise
4437 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
4438 Likewise
4439 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
4440 Likewise
4441 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
4442 Likewise
4443 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
4444 Likewise
4445 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
4446 Likewise
4447 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
4448 Likewise
4449 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
4450 Likewise
4451 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
4452 Likewise
4453 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
4454 Likewise
4455 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
4456 Likewise
4457 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
4458 Likewise
4459 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
4460 Likewise
4461 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
4462 Likewise
4463 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
4464 Likewise
4465
3f17b03b
AZ
44662014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4467
87868c24
AZ
4468 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
4469 to avoid alignment traps in non-cacheable memory.
4470 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4471
07aedd78
AZ
4472 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
4473 multiarch objects.
4474 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
4475 file: multiarch power7 memmove.
4476 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
4477 multiarch default memmove.
4478 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
4479 multiarch memove for powerpc32/power4.
4480
17762f66
AZ
4481 * string/bcopy.c: Use full path to include memmove.c.
4482 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
4483 multiarch objects.
4484 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
4485 bcopy for powerpc64.
4486 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
4487 bcopy for powerpc64.
4488 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
4489 and memmove implementations.
4490 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
4491 optimized multiarch memmove for POWER7/powerpc64.
4492 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
4493 default multiarch memmove for powerpc64.
4494 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
4495 multiarch for powerpc64.
4496 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
4497 for POWER7/powerpc64.
4498 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
4499 memmove for POWER7/powerpc64.
4500
d6f68bbe
AZ
4501 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
4502 glibc default one.
4503
3f17b03b
AZ
4504 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
4505 __ELF_NATIVE_CLASS equal to 64.
4506
08192659
RM
45072014-07-07 Roland McGrath <roland@hack.frob.com>
4508
f4c4021b
RM
4509 * sysdeps/nptl/lowlevellock.h: File removed.
4510
f083450f
RM
4511 * NEWS: NPTL is no longer an add-on!
4512 * nptl/internaltypes.h: Moved ...
4513 * sysdeps/nptl/internaltypes.h: ... here.
4514 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
4515 * sysdeps/nptl/fork.c: Likewise.
4516 * sysdeps/nptl/gai_misc.h: Likewise.
4517 * sysdeps/nptl/librt-cancellation.c: Likewise.
4518 * sysdeps/nptl/jmp-unwind.c: Likewise.
4519 * sysdeps/nptl/setxid.h: Likewise.
4520 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
4521 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
4522 * sysdeps/unix/sysv/linux/arm/Implies: New file.
4523 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
4524 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
4525 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
4526 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
4527 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
4528 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
4529 * sysdeps/unix/sysv/linux/mips/Implies: New file.
4530 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
4531 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
4532 * sysdeps/unix/sysv/linux/sh/Implies: New file.
4533 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
4534 * sysdeps/unix/sysv/linux/tile/Implies: New file.
4535 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
4536 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
4537 * nptl/Makeconfig: Moved ...
4538 * sysdeps/nptl/Makeconfig: ... here.
4539 * nptl/configure: File removed.
4540 * nptl/ANNOUNCE: File removed.
4541 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
4542 * sysdeps/unix/sysv/linux/configure: Regenerated.
4543
08192659
RM
4544 * nptl/Makefile (routines): Add libc_pthread_init,
4545 libc_multiple_threads, register-atfork and unregister-atfork.
4546 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
4547 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
4548 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
4549 pthread-pi-defines.sym, structsem.sym.
4550 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
4551 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
4552 [$(subdir) = nptl] (tests): Add tst-setgetname.
4553 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
4554 * sysdeps/unix/sysv/linux/sigaction.c: Just include
4555 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
4556 [!LIBC_SIGACTION]: Remove aliases.
4557 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4558 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4559 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4560 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4561 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4562 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
4563 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4564 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4565 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4566 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
4567 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
4568 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
4569 __libc_allocate_rtsig_private.
4570 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
4571 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
4572 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
4573 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4574 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
4575 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
4576 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
4577 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
4578 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
4579 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
4580 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
4581 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
4582 * nptl/internaltypes.h: ... here.
4583 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
4584 * sysdeps/nptl/jmp-unwind.c: ... here.
4585 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
4586 * nptl/libc-lowlevellock.c: ... here.
4587 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
4588 * nptl/libc_multiple_threads.c: ... here.
4589 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
4590 * nptl/libc_pthread_init.c: ... here.
4591 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
4592 * nptl/lowlevelbarrier.sym: ... here.
4593 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
4594 * nptl/lowlevelcond.sym: ... here.
4595 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
4596 * nptl/lowlevellock.c: ... here.
4597 * nptl/lowlevellock.h: Moved ...
4598 * sysdeps/nptl/lowlevellock.h: ... here.
4599 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
4600 * nptl/lowlevelrobustlock.c: ... here.
4601 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
4602 * nptl/lowlevelrobustlock.sym: ... here.
4603 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
4604 * nptl/lowlevelrwlock.sym: ... here.
4605 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
4606 * nptl/pt-fork.c: ... here.
4607 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
4608 * nptl/pthread-pi-defines.sym: ... here.
4609 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
4610 * nptl/pthread_attr_getaffinity.c: ... here.
4611 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
4612 * nptl/pthread_attr_setaffinity.c: ... here.
4613 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
4614 * nptl/pthread_mutex_cond_lock.c: ... here.
4615 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4616 Update #include.
4617 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
4618 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
4619 * nptl/pthread_once.c: ... here, replacing old file.
4620 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
4621 * nptl/pthread_yield.c: ... here.
4622 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
4623 * nptl/register-atfork.c: ... here.
4624 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
4625 * nptl/sem_post.c: ... here.
4626 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
4627 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
4628 * nptl/sem_timedwait.c: ... here.
4629 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
4630 * nptl/sem_trywait.c: ... here.
4631 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
4632 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
4633 * nptl/sem_wait.c: ... here.
4634 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
4635 * nptl/structsem.sym: ... here.
4636 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
4637 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
4638 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
4639 * nptl/unregister-atfork.c: ... here.
4640 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
4641 * nptl/unwindbuf.sym: ... here.
4642 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
4643 * sysdeps/nptl/fork.c: ... here.
4644 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
4645 * sysdeps/nptl/fork.h: ... here.
4646 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
4647 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
4648 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
4649 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
4650 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
4651 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
4652 * sysdeps/unix/sysv/linux/getpid.c: ... here.
4653 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
4654 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
4655 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
4656 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
4657 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
4658 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
4659 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
4660 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
4661 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
4662 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
4663 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
4664 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
4665 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
4666 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
4667 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
4668 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
4669 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
4670 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
4671 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
4672 * sysdeps/unix/sysv/linux/raise.c: ... here.
4673 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
4674 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
4675 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
4676 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
4677 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
4678 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
4679 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
4680 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
4681 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
4682 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
4683 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
4684 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
4685 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
4686 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
4687 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
4688
96baf6ff
SP
46892014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4690
4691 * sysdeps/generic/memcopy.h: Add comment for
4692 MEMCPY_OK_FOR_FWD_MEMMOVE.
4693
6b7b14b2
WN
46942014-07-04 Will Newton <will.newton@linaro.org>
4695
1570a72b
WN
4696 * string/memchr.c: Merge from gnulib.
4697 [_LIBC]: Remove conditionals.
4698 (__ptr_t): Remove define.
4699 (LONG_MAX_32_BITS): Likewise.
4700 (LONG_MAX): Likewise.
4701 (MEMCHR): Use ANSI prototype and optimize algorithm.
4702
6b7b14b2
WN
4703 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
4704
38851324
SP
47052014-07-03 Roland McGrath <roland@hack.frob.com>
4706
3d9eb57c
RM
4707 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
4708 (lll_futex_timed_wait_bitset): Fix syscall argument count.
4709
78b984ae
RM
4710 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
4711 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
4712 in a bare environment with no <stdlib.h> installed.
4713 * sysdeps/nptl/configure: Regenerated.
4714
2d5976a5
RM
4715 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
4716
c1f5acd4
RM
4717 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
4718 AC_EGREP_CPP for kernel header checks, so they only succeed if
4719 including <linux/version.h> actually works right.
4720 * sysdeps/unix/sysv/linux/configure: Regenerated.
4721
4d614fe5
RM
4722 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
4723 value so it's not diagnosed as unused.
4724
38851324
SP
4725 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
4726 thing) with "ifeq ($(subdir),rt)".
4727
b3ec00e5
RH
47282014-07-03 Richard Henderson <rth@redhat.com>
4729
69862e25
RH
4730 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
4731 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
4732 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
4733
d5e16ade
RH
4734 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
4735 (math_force_eval): New.
4736
ca7b945c
RH
4737 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
4738 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
4739
cd1175a3
RH
4740 * sysdeps/alpha/fpu/s_round.c: Remove file.
4741 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
4742
b3ec00e5
RH
4743 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
4744 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
4745 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
4746 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
4747 (_dl_start, print_statistics): Likewise.
4748 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
4749 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
4750
4751 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4752 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4753 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4754 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4755 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4756 (HP_SMALL_TIMING_AVAIL): Define.
4757 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4758 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4759 (HP_SMALL_TIMING_AVAIL): Define.
4760 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4761 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4762
4763 * sysdeps/aarch64/hp-timing.h: New file.
4764
4765 * sysdeps/generic/hp-timing.h: Remove dead comment.
4766 * sysdeps/generic/hp-timing-common.h: New file.
4767 * sysdeps/alpha/hp-timing.h: Include it.
4768 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
4769 * sysdeps/i386/i686/hp-timing.h: Likewise.
4770 * sysdeps/ia64/hp-timing.h: Likewise.
4771 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4772 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4773 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4774 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4775 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
4776 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
4777 (hp_timing_t): New.
4778
4779 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
4780 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
4781 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
4782 * elf/rtld.c (_dl_start_final): Likewise.
4783 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
4784 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4785 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4786 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4787 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4788 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4789 (HP_TIMING_DIFF_INIT): Remove.
4790 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4791 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4792 (HP_TIMING_DIFF_INIT): Remove.
4793 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4794 * sysdeps/i386/i686/hp-timing.c: Remove file.
4795 * sysdeps/x86_64/hp-timing.c: Remove file.
4796 * sysdeps/ia64/hp-timing.c: Remove file.
4797 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
4798 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
4799 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
4800 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
4801
4802 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
4803 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
4804 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
4805 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4806 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4807 (HP_TIMING_ACCUM): Remove.
4808 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4809 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
4810 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4811
4812 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
4813 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
4814 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
4815 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
4816 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
4817 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4818 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
4819 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4820
4821 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
4822
225f410f
MR
48232014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
4824
4825 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
4826
3247f285
SP
48272014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4828
4829 Sync up with gettext.
4830 * intl/loadmsgcat.c: Define O_BINARY if not defined.
4831 [_MSC_VER]: Include malloc.h
4832 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
4833 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
4834 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
4835 TEMP_FAILURE_RETRY. Cast return of alloca.
4836 [!_LIBC] Call gl_rwlock_init.
4837 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
4838
d12704c7
SP
48392014-07-02 Roland McGrath <roland@hack.frob.com>
4840
4841 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
4842 before checking its value.
4843
99f8dc92
SP
48442014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4845
05fdac77
SP
4846 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
4847
99f8dc92
SP
4848 * debug/memcpy_chk.c: Don't include pagecopy.h.
4849 * debug/mempcpy_chk.c: Likewise.
4850 * string/memcpy.c: Likewise.
4851 * string/memmove.c: Likewise.
4852 * sysdeps/powerpc/memmove.c: Likewise.
4853 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
4854 definition of PAGE_COPY_FWD_MAYBE here...
4855 * sysdeps/generic/pagecopy.h: ... from here.
4856 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
4857
bc8ea385
VR
48582014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4859 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4860
4861 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
4862 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
4863 optimizations.
4864 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4865 (__libc_ifunc_impl_list): Likewise.
4866 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
4867 multiarch strcat for PPC64.
4868 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
4869 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
4870
fe5f34e4
RM
48712014-07-02 Roland McGrath <roland@hack.frob.com>
4872
4873 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
4874
256aa665
SP
48752014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4876
d4eb8195
SP
4877 * intl/loadmsgcat.c: Remove declaration of
4878 get_sysdep_segment_value.
4879 (get_sysdep_segment_value): Use ISO C style.
4880 (_nl_load_domain): Use ISO C style. Get rid of redundant
4881 semicolon. Fix typo and formatting in comment.
4882 (_nl_unload_domain): Use ISO C style.
4883
256aa665
SP
4884 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
4885
b100f9aa
WN
48862014-07-02 Will Newton <will.newton@linaro.org>
4887
4888 * malloc/obstack.c: Merge from gnulib master.
4889 [HAVE_CONFIG_H]: Remove conditional code.
4890 [!_LIBC]: Include config.h.
4891 [!ELIDE_CODE]: Don't include inttypes.h, include
4892 stdint.h unconditionally.
4893 (print_and_abort): Mark as _Noreturn.
4894 (_obstack_allocated_p): Mark as __attribute_pure__.
4895 (obstack_free): Rename to __obstack_free.
4896 [!__attribute__]: Remove conditional code.
4897 * malloc/obstack.h: Merge from gnulib master.
4898 [__cplusplus]: Move conditional down.
4899 [!__attribute_pure__]: Define __attribute_pure__ here
4900 if it is not already defined.
4901 (_obstack_memory_used): Mark as __attribute_pure__.
4902 [!__obstack_free]: Define as obstack_free.
4903 [__GNUC__]: Remove check for ancient NeXT gcc.
4904
c4c41244
PE
49052014-07-02 Will Newton <will.newton@linaro.org>
4906 Paul Eggert <eggert@cs.ucla.edu>
4907
4908 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
4909
e1e041c4
SP
49102014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4911
4912 * resolv/gethnamaddr.c: Add comment warning that the file is
4913 not maintained.
4914
ccf431ff
CD
49152014-07-01 Carlos O'Donell <carlos@redhat.com>
4916
d34570a6
CD
4917 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4918 entries.
4919
ccf431ff
CD
4920 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4921 entry for aio_cancel and aio_cancel64.
4922 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
4923 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
4924 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
4925 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
4926 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
4927 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
4928 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
4929 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
4930 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
4931 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
4932 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
4933 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
4934 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
4935
ca06321d
RM
49362014-07-01 Roland McGrath <roland@hack.frob.com>
4937
4938 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
4939 * nptl/pthread_mutex_lock.c: Likewise.
4940 * nptl/pthread_mutex_timedlock.c: Likewise.
4941 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
4942
a1ac3184
RH
49432014-07-01 Richard henderson <rth@redhat.com>
4944
631021e0
RH
4945 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
4946 (__isnan, __isnanl): Remove.
4947 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
4948
a1ac3184
RH
4949 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4950
0c1d731f
SL
49512014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4952
4953 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4954
76985d3e
SP
49552014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4956
4957 * resolv/nss_dns/dns-host.c (getanswer_r)
4958 [MULTI_PTRS_ARE_ALIASES]: Remove code.
4959
b0cb3096
JM
49602014-07-01 Joseph Myers <joseph@codesourcery.com>
4961
4962 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4963 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
4964 undefine.
4965 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
4966 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
4967
4d76cb39
RM
49682014-07-01 Roland McGrath <roland@hack.frob.com>
4969
4970 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4971 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
4972
4973 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
4974 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
4975
4976 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
4977 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
4978 ... here.
4979 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
4980 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4981
4982 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4983 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4984 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4985 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4986
4987 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4988 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4989 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4990 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4991 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4992 Moved ...
4993 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4994 ... here.
4995 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4996 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4997 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4998 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4999 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
5000 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
5001 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
5002 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
5003 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
5004 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
5005 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
5006 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
5007 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
5008 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
5009 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
5010 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
5011 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
5012 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
5013 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
5014 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
5015 ... here.
5016 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
5017 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
5018 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
5019 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
5020 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
5021 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
5022 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
5023 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
5024
0cdcad17
DH
50252014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
5026
5027 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
5028 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5029 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
5030 Add sysdep.
5031
9b71d0e3
AZ
50322014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5033
5034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5035
665390c2
JM
50362014-06-30 Joseph Myers <joseph@codesourcery.com>
5037
ae05a9d7
JM
5038 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5039 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5040
a7672a2f
JM
5041 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5042
665390c2
JM
5043 * sysdeps/arm/libm-test-ulps: Regenerated.
5044
d7a05d07
MR
50452014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5046 Roland McGrath <roland@hack.frob.com>
5047
5048 * test-skeleton.c (signal_handler): Kill the whole process group
5049 before killing the child individually.
5050 (main): Report any failure on `setpgid'.
5051
46f1d8a6
RM
50522014-06-30 Roland McGrath <roland@hack.frob.com>
5053
5054 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
5055 from _TLS_H to _ARM_NPTL_TLS_H.
5056 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
5057 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
5058
9c37ec0b
JM
50592014-06-30 Joseph Myers <joseph@codesourcery.com>
5060
ce9c5b3e
JM
5061 [BZ #16539]
5062 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
5063 (__expm1l): Return argument unchanged when small but not
5064 subnormal.
5065
3a6e9887
JM
5066 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
5067 include macro name.
5068 (_FP_UNPACK_RAW_1_P): Likewise.
5069 (_FP_PACK_RAW_1): Likewise.
5070 (_FP_PACK_RAW_1_P): Likewise.
5071 (_FP_MUL_MEAT_1_wide): Likewise.
5072 (_FP_MUL_MEAT_DW_1_hard): Likewise.
5073 (_FP_MUL_MEAT_1_hard): Likewise.
5074 (_FP_DIV_MEAT_1_imm): Likewise.
5075 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
5076 (_FP_DIV_MEAT_1_udiv): Likewise.
5077 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
5078 (_FP_UNPACK_RAW_2): Likewise.
5079 (_FP_UNPACK_RAW_2_P): Likewise.
5080 (_FP_PACK_RAW_2): Likewise.
5081 (_FP_PACK_RAW_2_P): Likewise.
5082 (_FP_MUL_MEAT_DW_2_wide): Likewise.
5083 (_FP_MUL_MEAT_2_wide): Likewise.
5084 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
5085 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5086 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5087 (_FP_MUL_MEAT_2_gmp): Likewise.
5088 (_FP_DIV_MEAT_2_udiv): Likewise.
5089 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5090 (_FP_FRAC_SRL_4): Likewise.
5091 (_FP_FRAC_SRST_4): Likewise.
5092 (_FP_FRAC_SRS_4): Likewise.
5093 (_FP_UNPACK_RAW_4): Likewise.
5094 (_FP_UNPACK_RAW_4_P): Likewise.
5095 (_FP_PACK_RAW_4): Likewise.
5096 (_FP_PACK_RAW_4_P): Likewise.
5097 (_FP_MUL_MEAT_DW_4_wide): Likewise.
5098 (_FP_MUL_MEAT_4_wide): Likewise.
5099 (_FP_MUL_MEAT_4_gmp): Likewise.
5100 (umul_ppppmnnn): Likewise.
5101 (_FP_DIV_MEAT_4_udiv): Likewise.
5102 (__FP_FRAC_ADD_4): Likewise.
5103 (__FP_FRAC_SUB_3): Likewise.
5104 (__FP_FRAC_SUB_4): Likewise.
5105 (__FP_FRAC_DEC_3): Likewise.
5106 (__FP_FRAC_DEC_4): Likewise.
5107 (__FP_FRAC_ADDI_4): Likewise.
5108 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5109 (_FP_FRAC_SRL_8): Likewise.
5110 (_FP_FRAC_SRS_8): Likewise.
5111
9c37ec0b
JM
5112 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5113 include macro name.
5114 (FP_UNPACK_RAW_EP): Likewise.
5115 (FP_PACK_RAW_E): Likewise.
5116 (FP_PACK_RAW_EP): Likewise.
5117 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5118 (_FP_ISSIGNAN): Likewise.
5119 (_FP_ADD_INTERNAL): Likewise.
5120 (_FP_FMA): Likewise.
5121 (_FP_CMP): Likewise.
5122 (_FP_SQRT): Likewise.
5123 (_FP_TO_INT): Likewise.
5124 (_FP_FROM_INT): Likewise.
5125 (FP_EXTEND): Likewise.
5126 (_FP_DIV_MEAT_N_loop): Likewise.
5127
2125f674
MR
51282014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
5129
5130 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5131 throughout.
5132
edea4028
JM
51332014-06-29 Joseph Myers <joseph@codesourcery.com>
5134
5135 [BZ #17097]
5136 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5137 result with correct sign in case of exponents that produce
5138 overflow except for X very close to 1.
5139
dd0ba018
PE
51402014-06-28 Paul Eggert <eggert@cs.ucla.edu>
5141
5142 mktime: merge #if/#ifdef usage from glibc
5143 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5144 as that works with both Glibc's and Gnulib's style.
5145 See thread starting at Siddhesh Poyarekar's bug report at:
5146 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5147
64df73c2
SP
51482014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5149
5150 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5151 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5152 * sysdeps/tile/tilegx/memmove.c: Remove file.
5153
f1eafb41
JM
51542014-06-27 Joseph Myers <joseph@codesourcery.com>
5155
5156 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
5157 abi-name definition.
5158 * scripts/soversions.awk: Do not handle or generate ABI lines.
5159 * shlib-versions: Remove ABI entries.
5160 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
5161 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
5162
58eb0862
RM
51632014-06-27 Roland McGrath <roland@hack.frob.com>
5164
37caf178
RM
5165 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
5166 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5167 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
5168 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
5169 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
5170 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
5171 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5172 Moved ...
5173 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
5174 ... here.
5175 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
5176 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
5177 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
5178 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
5179 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
5180 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
5181 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
5182 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
5183 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
5184 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
5185 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
5186 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
5187 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
5188 Moved ...
5189 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
5190 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
5191 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
5192 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
5193 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
5194 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
5195 Moved ...
5196 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
5197 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
5198 Moved ...
5199 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
5200 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
5201 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
5202 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
5203 Moved ...
5204 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
5205 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
5206 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
5207 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
5208 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
5209 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
5210 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
5211 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
5212 Moved ...
5213 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
5214 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
5215 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
5216 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
5217 Moved ...
5218 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
5219 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
5220 Moved ...
5221 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
5222 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
5223 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
5224 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
5225 Moved ...
5226 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
5227 ... here.
5228 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
5229 Identical file removed.
5230 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
5231 Moved ...
5232 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
5233 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
5234 Identical file removed.
5235 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
5236 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
5237 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
5238 Moved ...
5239 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
5240 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
5241 Identical file removed.
5242 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
5243 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
5244 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
5245 Identical file removed.
5246 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
5247 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
5248 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
5249 Identical file removed.
5250 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
5251 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
5252 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
5253 Identical file removed.
5254 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
5255 Moved ...
5256 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
5257 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
5258 Identical file removed.
5259 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
5260 Moved ...
5261 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
5262 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
5263 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
5264 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
5265 Identical file removed.
5266 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
5267 Moved ...
5268 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
5269 ... here.
5270 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
5271 Identical file removed.
5272 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
5273 Moved ...
5274 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
5275 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
5276 Identical file removed.
5277 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
5278 Moved ...
5279 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
5280 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
5281 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
5282 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
5283 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
5284 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
5285 Moved ...
5286 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
5287 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
5288 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
5289
58eb0862
RM
5290 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
5291 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
5292 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
5293 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
5294 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
5295
6f12d062
AS
52962014-06-27 Arjun Shankar <arjun.is@lostca.se>
5297
5298 [BZ #17092]
5299 * nscd/nscd.c (monitor_child): Return exit status of child
5300 instead of return value from wait syscall.
5301
be254932
JM
53022014-06-27 Joseph Myers <joseph@codesourcery.com>
5303
cb403c34
JM
5304 * configure.ac (libc_commonpagesize): Remove variable.
5305 (libc_relro_required): Likewise.
5306 (libc_cv_z_relro): Remove configure test.
5307 * configure: Regenerated.
5308 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
5309 variable.
5310 (libc_relro_required): Likewise.
5311 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
5312 (libc_relro_required): Likewise.
5313 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
5314 (libc_relro_required): Likewise.
5315 * sysdeps/arm/preconfigure: Regenerated.
5316 * sysdeps/ia64/preconfigure: Remove file.
5317 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
5318 variable.
5319 (libc_relro_required): Likewise.
5320
be254932
JM
5321 [BZ #16561]
5322 [BZ #16562]
5323 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
5324 (__ieee754_yn): Set FE_TONEAREST mode internally and then
5325 recompute overflowing results in original rounding mode.
5326 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
5327 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
5328 recompute overflowing results in original rounding mode.
5329 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
5330 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5331 recompute overflowing results in original rounding mode.
5332 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
5333 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5334 recompute overflowing results in original rounding mode.
5335 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
5336 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5337 recompute overflowing results in original rounding mode.
5338 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
5339 (libc_feholdsetround_ctx): New macro.
5340 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
5341 * sysdeps/i386/fpu/libm-test-ulps: Update.
5342 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
5343
b351d85a
JM
53442014-06-26 Joseph Myers <joseph@codesourcery.com>
5345
5346 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
5347 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
5348 corresponding .cpsetup call.
5349
3cb4de47
RM
53502014-06-26 Roland McGrath <roland@hack.frob.com>
5351
5352 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
5353 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
5354 * sysdeps/arm/Makefile [$(subdir) = csu]
5355 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
5356 (static-only-routines): Add aeabi_read_tp here.
5357 (shared-only-routines): Add libc-aeabi_read_tp here.
5358 (CFLAGS-libc-start.c): Add -fexceptions here.
5359 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
5360 (sysdep_routines, static-only-routines, shared-only-routines):
5361 Don't add to these here.
5362 (CFLAGS-libc-start.c): Likewise.
5363
5364 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
5365 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5366 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
5367 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5368 * sysdeps/arm/Makefile [$(subdir) = rt]
5369 (librt-sysdep_routines, librt-shared-only-routines):
5370 Append rt-aeabi_unwind_cpp_pr1 here.
5371 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
5372 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
5373 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
5374 (libpthread-sysdep_routines, libpthread-shared-only-routines):
5375 Append nptl-aeabi_unwind_cpp_pr1 here.
5376 (tests): Filter out tst-cleanupx4 here.
5377 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
5378 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
5379 Don't do those here.
5380
354426bb
JM
53812014-06-26 Joseph Myers <joseph@codesourcery.com>
5382
5383 * scripts/list-sources.sh: Do not handle ports specially.
5384
28b0a8c9
RM
53852014-06-26 Roland McGrath <roland@hack.frob.com>
5386
a3dd035d
RM
5387 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
5388 * sysdeps/arm/feupdateenv.c: Likewise.
5389
28b0a8c9
RM
5390 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
5391
e66a8203
JM
53922014-06-26 Joseph Myers <joseph@codesourcery.com>
5393
5394 * manual/texinfo.tex: Update to version 2014-05-05.10 with
5395 trailing whitespace removed.
5396 * scripts/config.guess: Update to version 2014-03-23.
5397 * scripts/config.sub: Update to version 2014-05-01
5398 * scripts/install-sh: Update to version 2013-12-25.23.
5399 * scripts/move-if-change: Update from gnulib.
5400
74171115
SP
54012014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5402
b97c9ce5
SP
5403 * debug/memmove_chk.c: Remove pagecopy.h include.
5404
4000f892
SP
54052014-06-26 Paul Eggert <eggert@cs.ucla.edu>
5406
74171115
SP
5407 * time/mktime.c (leapyear): Remove inline keyword. The code is now
5408 identical to gnulib mktime.
5409
a8779c28
JM
54102014-06-26 Joseph Myers <joseph@codesourcery.com>
5411
e64708de
JM
5412 * configure.ac: Do not test for machine being rs6000. Do not test
5413 for powerpc*-*soft.
5414 * configure: Regenerated.
5415
a8779c28
JM
5416 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
5417 test.
5418 * configure: Regenerated.
5419 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
5420 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
5421 Remove configure test.
5422 * sysdeps/arm/configure: Regenerated.
5423 * sysdeps/nptl/configure.ac: Do not check
5424 libc_cv_asm_cfi_directives.
5425 * sysdeps/nptl/configure: Regenerated.
5426 * sysdeps/x86_64/nptl/configure.ac: Remove file.
5427 * sysdeps/x86_64/nptl/configure: Remove generated file.
5428 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
5429 unconditional.
5430 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
5431
2aac0a86
SP
54322014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5433
059bf913
SP
5434 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
5435 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
5436 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
5437 it is defined.
5438
4cf5b6d0
SP
5439 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
5440 instead of whether it is defined.
5441 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
5442 * sysdeps/hppa/dl-machine.h: Likewise.
5443 * sysdeps/ia64/dl-machine.h: Likewise.
5444 * sysdeps/m68k/dl-machine.h: Likewise.
5445 * sysdeps/microblaze/dl-machine.h: Likewise.
5446 * sysdeps/mips/dl-machine.: Likewise.
5447 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5448 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5449 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5450 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5451 * sysdeps/sh/dl-machine.h: Likewise.
5452 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5453 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5454 * sysdeps/tile/dl-machine.h: Likewise.
5455 * sysdeps/x86_64/dl-machine.h: Likewise.
5456
2aac0a86
SP
5457 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
5458 code.
5459 (verify_persistent_db): Likewise.
5460
6ad2df0b
RM
54612014-06-26 Roland McGrath <roland@hack.frob.com>
5462
d8a483f3
RM
5463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
5464 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
5465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
5466 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
5467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5468 Moved ...
5469 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
5470 ... here.
5471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
5472 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
5473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
5474 Identical file removed.
5475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
5476 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
5477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
5478 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
5479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
5480 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
5481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
5482 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
5483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
5484 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
5485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5486 Moved ...
5487 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
5488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
5489 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
5490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
5491 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
5492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5493 Moved ...
5494 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
5495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
5496 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
5497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
5498 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
5499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5500 Identical file removed.
5501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
5502 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
5503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
5504 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
5505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5506 Moved ...
5507 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
5508 ... here.
5509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
5510 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
5511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
5512 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
5513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
5514 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
5515 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
5516 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
5517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
5518 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
5519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5520 Moved ...
5521 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
5522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
5523 Moved ...
5524 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
5525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
5526 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
5527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5528 Moved ...
5529 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
5530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
5531 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
5532
52ae23b4
RM
5533 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
5534 folded into ...
5535 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
5536 * sysdeps/unix/sysv/linux/s390/Versions
5537 (libpthread: GLIBC_2.19): New version set.
5538 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
5539 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
5540 (librt: GLIBC_2.3.3): New version set.
5541 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
5542 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
5543 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
5544 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
5545 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
5546 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
5547 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
5548 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
5549 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
5550 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
5551 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
5552 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
5553 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
5554 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
5555 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
5556 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
5557 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
5558 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
5559 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
5560 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
5561 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
5562 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
5563 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
5564 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
5565 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
5566 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
5567 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
5568 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
5569 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
5570 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
5571 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
5572 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
5573 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
5574 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
5575 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
5576 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
5577 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
5578 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
5579 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
5580 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
5581 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
5582 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
5583 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
5584 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
5585 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
5586
39507e4a
RM
5587 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
5588 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
5589 (__libc_vfork): Define the function under this name.
5590 [!NOT_IN_libc] (__vfork): Make this an alias.
5591 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5592 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
5593 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
5594 (__libc_vfork): Define the function under this name.
5595 [!NOT_IN_libc] (__vfork): Make this an alias.
5596 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5597 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
5598 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
5599 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
5600 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
5601 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5602
e549ee56
RM
5603 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
5604 code that was previously under [RESET_PID].
5605 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
5606 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
5607 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
5608
6ad2df0b
RM
5609 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
5610 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
5611 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
5612 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
5613 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
5614 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
5615 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
5616 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
5617 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
5618 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
5619 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
5620 Moved ...
5621 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
5622 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
5623 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
5624 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
5625 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
5626 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
5627 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
5628 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
5629 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
5630 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
5631 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
5632 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
5633 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
5634 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
5635 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
5636 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
5637 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
5638 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
5639 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
5640 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
5641 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
5642 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
5643 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
5644 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
5645 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
5646 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
5647 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
5648 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
5649 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
5650
7c1c1d8e
RM
56512014-06-25 Roland McGrath <roland@hack.frob.com>
5652
5653 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
5654 that was previously under [RESET_PID].
5655 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
5656
3e239be6
JM
56572014-06-25 Joseph Myers <joseph@codesourcery.com>
5658
74385da5
JM
5659 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
5660 not undefine and redefine.
5661 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
5662 [O_CLOEXEC]: Make code unconditional.
5663 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
5664 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
5665 <kernel-features.h>.
5666 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
5667 conditional variable definition.
5668 (shm_open) [O_CLOEXEC]: Make code unconditional.
5669 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
5670 code.
5671
c2570a0b
JM
5672 * configure.ac (USE_REGPARMS): Don't define here.
5673 * configure: Regenerated.
5674 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
5675 * sysdeps/i386/configure: Regenerated.
5676
11b076bb
JM
5677 * nptl/createthread.c: Don't include kernel-features.h.
5678 * nptl/pthread_cancel.c: Likewise.
5679 * nptl/pthread_condattr_setclock.c: Likewise.
5680 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
5681 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
5682 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
5683 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
5684 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
5685 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
5686 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5687 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
5688 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5689 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
5690 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
5691 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
5692 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
5693 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
5694 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
5695 * nscd/gai.c: Likewise.
5696 * nss/nss_db/db-open.c: Likewise.
5697 * sysdeps/generic/ldsodefs.h: Likewise.
5698 * sysdeps/sh/nptl/tls.h: Likewise.
5699 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5700 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
5701 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
5702 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
5703 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
5704 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5705 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5706 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5707 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5708 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5709 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5710 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5711 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
5712 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
5713 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5714 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
5715 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
5716 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
5717 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
5718 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5719 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5720 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5721 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
5722 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5723 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5724 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5725 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
5726 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5727 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5728 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
5729 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
5730 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5731 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5732 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5733 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5734 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5735 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5736 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5737 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
5738 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5739 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5740 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
5741 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
5742 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5743 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
5744 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
5745 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
5746 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5747 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5748 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5749 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5750 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5751 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5752 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5753 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
5754 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5755 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5756 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
5757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
5759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
5760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
5761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
5762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
5768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
5769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
5770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
5771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
5777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5779 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5780 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5781 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
5782 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5783 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5784 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
5785 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
5786 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5787 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
5788 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5789 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
5790 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5791 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5792 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5793 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5794 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5795 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5796 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5797 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
5798 * sysdeps/unix/sysv/linux/system.c: Likewise.
5799 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
5800 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5801 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5802 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5803 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5804 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5805 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5806
92072d57
JM
5807 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
5808 * configure: Regenerated.
5809 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
5810
3e239be6
JM
5811 * configure.ac (base_machine): Do not set specially for particular
5812 machines here.
5813 * configure: Regenerated.
5814 * sysdeps/powerpc/preconfigure: Move machine and base_machine
5815 settings from configure.ac.
5816 * sysdeps/i386/preconfigure: New file.
5817 * sysdeps/s390/preconfigure: Likewise.
5818 * sysdeps/sh/preconfigure: Likewise.
5819 * sysdeps/sparc/preconfigure: Likewise.
5820
06d50baa
RM
58212014-06-25 Roland McGrath <roland@hack.frob.com>
5822
74836003
RM
5823 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
5824 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
5825 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
5826 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
5827 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
5828 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
5829 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
5830 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
5831 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
5832 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
5833 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
5834 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
5835 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
5836 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
5837 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
5838 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
5839 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
5840 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
5841 * sysdeps/sparc/sparc64/Makefile: ... appended here.
5842
5843 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
5844 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
5845 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
5846 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
5847 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
5848 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
5849 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
5850 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
5851 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
5852 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
5853 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
5854 * sysdeps/sparc/sparc32/sem_post.c: ... here.
5855 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
5856 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
5857 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
5858 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
5859 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
5860 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
5861 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
5862 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
5863 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
5864 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
5865 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
5866 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
5867 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
5868 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
5869 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
5870 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
5871 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
5872 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
5873 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
5874 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
5875 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
5876 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
5877 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
5878 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
5879 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
5880 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
5881
06d50baa
RM
5882 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
5883 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
5884 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
5885 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
5886 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5887 Moved ...
5888 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
5889 ... here.
5890 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
5891 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
5892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
5893 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
5894 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
5895 Moved ...
5896 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
5897 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
5898 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
5899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
5900 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
5901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
5902 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
5903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5904 Moved ...
5905 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
5906 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5907 Moved ...
5908 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
5909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
5910 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
5911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5912 Moved ...
5913 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
5914 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
5915 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
5916 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
5917 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
5918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
5919 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
5920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
5921 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
5922 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5923 Moved ...
5924 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
5925 ... here.
5926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
5927 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
5928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
5929 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
5930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
5931 Moved ...
5932 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
5933 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
5934 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
5935 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
5936 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
5937 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
5938 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
5939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5940 Moved ...
5941 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
5942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5943 Moved ...
5944 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
5945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
5946 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
5947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5948 Moved ...
5949 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
5950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
5951 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
5952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
5953 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
5954
a4ccbc9b
JM
59552014-06-25 Joseph Myers <joseph@codesourcery.com>
5956
0828edbf
JM
5957 * timezone/checktab.awk: Update from tzcode 2014e.
5958 * timezone/private.h: Likewise.
5959 * timezone/tzfile.h: Likewise.
5960 * timezone/zdump.c: Likewise.
5961 * timezone/zic.c: Likewise.
5962
a4ccbc9b
JM
5963 * sysdeps/unix/sysv/linux/kernel-features.h
5964 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5965 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
5966 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
5967 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5968 Remove conditional code.
5969
9aea0cb8
WN
59702014-06-25 Will Newton <will.newton@linaro.org>
5971
5972 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
5973 (_dl_arm_cap_flags): Add HWCAP2 values.
5974 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
5975 (_DL_HWCAP_COUNT): Increase to 37.
5976 (_DL_HWCAP_LAST): New define.
5977 (_DL_HWCAP2_LAST): New define.
5978 (_dl_procinfo): Add support for printing
5979 AT_HWCAP2 entries.
5980 (_dl_string_hwcap): Use _dl_hwcap_string.
5981
6eaa65ce
AZ
59822014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5983
5984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5985
0f5b7185
JM
59862014-06-25 Joseph Myers <joseph@codesourcery.com>
5987
cfd2ea50
JM
5988 * README: Do not mention ports directory.
5989
cecf2ed4
JM
5990 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5991 Remove macro.
5992 * sysdeps/unix/sysv/linux/futimes.c: Do not include
5993 <kernel-features.h>.
5994 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5995 conditional variable definition.
5996 (__futimes): Update comment.
5997 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5998 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5999
a638de82
JM
6000 [BZ #16560]
6001 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
6002 arguments close to 0.
6003 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
6004 Likewise.
6005 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
6006 Likewise.
6007 * math/auto-libm-test-in: Add more tests of exp10.
6008 * math/auto-libm-test-out: Regenerated.
6009 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6010
0f5b7185
JM
6011 * sysdeps/unix/sysv/linux/kernel-features.h
6012 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
6013 * sysdeps/unix/sysv/linux/readv.c: Do not include
6014 <kernel-features.h>.
6015 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6016 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6017 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6018 unconditional.
6019 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6020 conditional code.
6021 * sysdeps/unix/sysv/linux/writev.c: Do not include
6022 <kernel-features.h>.
6023 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6024 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6025 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6026 unconditional.
6027 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6028 conditional code.
6029
c7aec4be
WN
60302014-06-25 Will Newton <will.newton@linaro.org>
6031
6032 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
6033 comment changes throughout the file. Remove checks
6034 for HAVE_*_H definitions that are not required.
6035 (__gen_tempname): Call abort if an unknown kind value is
6036 passed.
6037
c5241f95
AS
60382014-06-25 Andreas Schwab <schwab@suse.de>
6039
6040 [BZ #17086]
6041 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
6042 scalbln, scalblnf, scalblnl in libc.
6043
911422da
SP
60442014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6045
6046 [BZ #17086]
6047 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6048 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6049 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6050
0d749bbe
RM
60512014-06-24 Roland McGrath <roland@hack.frob.com>
6052
6053 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
6054 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
6055 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
6056 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
6057 Update #include.
6058 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
6059 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
6060 Update #include.
6061 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
6062 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
6063 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
6064 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
6065 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
6066 * sysdeps/x86/bits/pthreadtypes.h: ... here.
6067 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
6068 * sysdeps/x86/bits/semaphore.h: ... here.
6069 * sysdeps/x86/nptl/elide.h: Moved ...
6070 * sysdeps/x86/elide.h: ... here.
6071 * sysdeps/x86_64/nptl/Implies: File removed.
6072 * sysdeps/i386/nptl/Implies: File removed.
6073
0ea5d373
JM
60742014-06-24 Joseph Myers <joseph@codesourcery.com>
6075
4060283d
JM
6076 [BZ #16539]
6077 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
6078 return the argument for normal arguments with exponent below -64.
6079 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6080 Likewise.
6081 * math/auto-libm-test-in: Add another test of expm1.
6082 * math/auto-libm-test-out: Regenerated.
6083
e7dd3c8c
JM
6084 [BZ #16287]
6085 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
6086 calling __erfcl for arguments at least 16.
6087 * math/auto-libm-test-in: Add more tests of erf.
6088 * math/auto-libm-test-out: Regenerated.
6089
0ea5d373
JM
6090 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6091 individual architectures.
6092 * sysdeps/unix/sysv/linux/configure: Regenerated.
6093 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6094 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6095 * sysdeps/unix/sysv/linux/powerpc/configure.ac
6096 (ldd_rewrite_script): Define variable.
6097 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6099 file.
6100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6101 generated file.
6102 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6103 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6104 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6105 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6106 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6107 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6108 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6109 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6110
2307e126
SP
61112014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6112
6113 [BZ #17084]
6114 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6115 Rename member __data.d to __data.__elision_data.
6116
c0a4ed77
W
61172014-06-24 Wilco <wdijkstr@arm.com>
6118
6119 * NEWS: Add 16918 to fixed bug list.
6120
b8c00573
W
61212014-06-24 Wilco <wdijkstr@arm.com>
6122
6123 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6124
b5570d92
W
61252014-06-24 Wilco <wdijkstr@arm.com>
6126
6127 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6128 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6129 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6130 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6131 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6132 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6133 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6134 Use _FPU_MASK_RM.
6135
947bdca2
W
61362014-06-24 Wilco <wdijkstr@arm.com>
6137
6138 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6139
00f669ed
W
61402014-06-24 Wilco <wdijkstr@arm.com>
6141
6142 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6143 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6144 * sysdeps/arm/fesetround.c (fesetround): Remove space.
6145 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6146
db59bad3
W
61472014-06-24 Wilco <wdijkstr@arm.com>
6148
6149 [BZ #16918]
6150 * sysdeps/arm/feupdateenv.c (feupdateenv):
6151 Rewrite to reduce FPSCR accesses and fix return value.
6152
001f7b77
W
61532014-06-24 Wilco <wdijkstr@arm.com>
6154
6155 * sysdeps/arm/fclrexcpt.c (feclearexcept):
6156 Optimize to avoid unnecessary FPSCR writes.
6157 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
6158 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
6159 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
6160 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
6161
4841e6a6
W
61622014-06-24 Wilco <wdijkstr@arm.com>
6163
6164 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
6165 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
6166 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6167 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
6168 Call libc_fetestexcept_vfp.
6169 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
6170 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
6171 __SOFTFP__ ifdef so that they can be built for softfp.
6172
0813022c
SP
61732014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6174
08e5862f
SP
6175 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
6176 argument type signed char.
6177
0813022c
SP
6178 * Makerules (check-abi): Dump diff of symlist if the test
6179 fails.
6180
3fc7236a
RM
61812014-06-23 Roland McGrath <roland@hack.frob.com>
6182
aba8ef95
RM
6183 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
6184 using abort.
6185
3fc7236a
RM
6186 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6187 Remove unused variable ST.
6188
4da6db51
JM
61892014-06-23 Joseph Myers <joseph@codesourcery.com>
6190
4648909d
JM
6191 [BZ #16354]
6192 [BZ #17061]
6193 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
6194 small arguments before calling __expm1.
6195 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
6196 small arguments before calling __expm1f.
6197 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
6198 small arguments before calling __expm1l.
6199 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6200 Likewise.
6201 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6202 * math/auto-libm-test-in: Add more cosh tests. Do not allow
6203 spurious underflow for some cosh tests.
6204 * math/auto-libm-test-out: Regenerated.
6205 * sysdeps/i386/fpu/libm-test-ulps: Update.
6206
46a3d3c7
JM
6207 [BZ #17050]
6208 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
6209 (__ieee754_y1): Set errno if return value overflows.
6210 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
6211 (__ieee754_y1f): Set errno if return value overflows.
6212 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
6213 (__ieee754_y1l): Set errno if return value overflows.
6214 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
6215 (__ieee754_y1l): Set errno if return value overflows.
6216 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
6217 * math/auto-libm-test-out: Regenerated.
6218
863893ec
JM
6219 * math/gen-auto-libm-tests.c: Document use of
6220 ignore-zero-inf-sign.
6221 (input_flag_type): Add value flag_ignore_zero_inf_sign.
6222 (input_flags): Add ignore-zero-inf-sign.
6223 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
6224 * math/gen-libm-test.pl (generate_testfile): Handle
6225 ignore-zero-inf-sign.
6226 * math/auto-libm-test-in: Mark some cpow tests with
6227 ignore-zero-inf-sign and some with xfail-rounding.
6228 * math/auto-libm-test-out: Regenerated.
6229 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
6230 * sysdeps/i386/fpu/libm-test-ulps: Update.
6231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6232
4da6db51
JM
6233 [BZ #16315]
6234 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
6235 overflowing or underflowing operations take place with sign of
6236 result.
6237 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6238 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6239 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
6240 (__ieee754_pow): Recompute overflowing and underflowing results in
6241 original rounding mode.
6242 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
6243 (__powl_helper): Allow negative argument X and scale negated value
6244 as needed. Avoid passing value outside [-1, 1] to f2xm1.
6245 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
6246 overflowing or underflowing operations take place with sign of
6247 result.
6248 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
6249 Include <math.h>.
6250 * math/auto-libm-test-in: Add more tests of pow.
6251 * math/auto-libm-test-out: Regenerated.
6252 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
6253 (pow_tonearest_test_data): Remove.
6254 (pow_test_tonearest): Likewise.
6255 (pow_towardzero_test_data): Likewise.
6256 (pow_test_towardzero): Likewise.
6257 (pow_downward_test_data): Likewise.
6258 (pow_test_downward): Likewise.
6259 (pow_upward_test_data): Likewise.
6260 (pow_test_upward): Likewise.
6261 (main): Don't call removed functions.
6262 * sysdeps/i386/fpu/libm-test-ulps: Update.
6263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6264
5686b236
RM
62652014-06-23 Roland McGrath <roland@hack.frob.com>
6266
6267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
6268 Moved ...
6269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
6270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6271 Moved ...
6272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
6273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6274 Moved ...
6275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
6276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6277 Moved ...
6278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
6279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6280 File removed.
6281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6282 File removed.
6283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
6284 File removed.
6285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
6286 File removed.
6287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
6288 File removed.
6289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
6290 File removed.
6291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
6292 File removed.
6293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6294 File removed.
6295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
6296 File removed.
6297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6298 File removed.
6299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
6300 File removed.
6301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
6302 File removed.
6303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
6304 Moved ...
6305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
6306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
6307 Moved ...
6308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
6309 ... here.
6310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
6311 Moved ...
6312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
6313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
6314 Moved ...
6315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
6316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
6317 Moved ...
6318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
6319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
6320 Moved ...
6321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
6322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
6323 Moved ...
6324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
6325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
6326 Moved ...
6327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
6328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
6329 Moved ...
6330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
6331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
6332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
6333 ... here.
6334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
6335 Moved ...
6336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
6337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6338 Moved ...
6339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6340 ... here.
6341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
6342 Moved ...
6343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6344 ... here.
6345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6346 Moved ...
6347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6348 ... here.
6349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6350 Moved ...
6351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
6352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6353 Moved ...
6354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
6355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
6356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
6357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6358 Moved ...
6359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
6360 ... here.
6361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6362 Moved ...
6363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
6364 ... here.
6365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6366 Moved ...
6367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
6368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6369 Moved ...
6370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
6371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6372 Moved ...
6373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
6374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6375 Moved ...
6376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
6377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6378 Moved ...
6379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
6380 ... here.
6381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6382 Moved ...
6383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
6384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6385 Moved ...
6386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
6387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6388 Moved ...
6389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
6390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6391 Moved ...
6392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
6393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
6394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
6395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6396 Moved ...
6397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
6398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6399 Moved ...
6400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
6401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6402 Moved ...
6403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
6404 ... here.
6405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6406 Moved ...
6407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
6408 ... here.
6409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6410 Moved ...
6411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
6412 ... here.
6413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6414 Moved ...
6415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
6416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6417 Moved ...
6418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
6419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6420 Moved ...
6421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
6422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6423 Moved ...
6424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
6425 ... here.
6426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6427 Moved ...
6428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
6429 ... here.
6430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6431 Moved ...
6432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
6433 ... here.
6434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6435 Moved ...
6436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
6437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6438 Moved ...
6439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
6440
e6d90d67
WD
64412014-06-23 Will Newton <will.newton@linaro.org>
6442 Wilco <wdijkstr@arm.com>
6443
6444 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
6445 implementation. Include get-rounding-mode.h.
6446 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
6447 [!libc_feholdsetround_noex_ctx]: Define
6448 libc_feholdsetround_noex_ctx.
6449 [!libc_feholdsetround_noexf_ctx]: Define
6450 libc_feholdsetround_noexf_ctx.
6451 [!libc_feholdsetround_noexl_ctx]: Define
6452 libc_feholdsetround_noexl_ctx.
6453 (libc_feholdsetround_ctx): New function.
6454 (libc_feresetround_ctx): New function.
6455 (libc_feholdsetround_noex_ctx): New function.
6456 (libc_feresetround_noex_ctx): New function.
6457
d42df555
RM
64582014-06-23 Roland McGrath <roland@hack.frob.com>
6459
88a46474
RM
6460 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
6461 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
6462 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
6463 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
6464 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
6465 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
6466
15bed472
RM
6467 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
6468 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
6469 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
6470 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
6471 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
6472 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
6473 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
6474 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
6475 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
6476 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
6477 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
6478 Moved ...
6479 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
6480 ... here.
6481 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
6482 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
6483 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
6484 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
6485 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
6486 Moved ...
6487 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
6488 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
6489 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
6490 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
6491 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
6492 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
6493 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
6494 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
6495 Moved ...
6496 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
6497 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
6498 Moved ...
6499 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
6500 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
6501 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
6502 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
6503 Moved ...
6504 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
6505 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
6506 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
6507 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
6508 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
6509 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
6510 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
6511 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
6512 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
6513 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
6514 Moved ...
6515 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
6516 ... here.
6517 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
6518 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
6519 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
6520 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
6521 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
6522 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
6523 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
6524 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
6525 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
6526 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
6527 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
6528 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
6529 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
6530 Moved ...
6531 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
6532 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
6533 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
6534 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
6535 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
6536 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
6537 Moved ...
6538 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
6539 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
6540 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
6541 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
6542 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
6543
d42df555
RM
6544 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
6545 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
6546 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
6547 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
6548 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
6549 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
6550 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
6551 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
6552 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
6553 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
6554 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
6555 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
6556 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
6557 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
6558 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
6559 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
6560 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
6561 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
6562 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
6563 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
6564 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
6565 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
6566 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
6567 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
6568 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
6569 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
6570 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
6571 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
6572
76e5216e
JM
65732014-06-23 Joseph Myers <joseph@codesourcery.com>
6574
6575 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6576 (FALLOC_FL_COLLAPSE_RANGE): New macro.
6577 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
6578 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
6579 (IPV6_PMTUDISC_INTERFACE): Likewise.
6580 (IPV6_PMTUDISC_OMIT): Likewise.
6581
7a81cbcc
AS
65822014-06-23 Andreas Schwab <schwab@suse.de>
6583
6584 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
6585 Remove unused errout label.
6586
db224009
AZ
65872014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6588
6589 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
6590 macro: hardware supports Vector Crypto instructions.
6591
f393b4aa
WN
65922014-06-23 Will Newton <will.newton@linaro.org>
6593
cc7d0447
WN
6594 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
6595 rather than __builtin_expect.
6596
d6d06225
WN
6597 * elf/dl-lookup.c (undefined_msg): Remove variable.
6598 (_dl_lookup_symbol_x): Replace undefined_msg with string
6599 literal.
6600
f393b4aa
WN
6601 * elf/dl-lookup.c (do_lookup_unique): New function.
6602 (do_lookup_x): Move STB_GNU_UNIQUE handling code
6603 to a separate function.
6604
ac60763e
AS
66052014-06-23 Andreas Schwab <schwab@suse.de>
6606
6607 [BZ #17079]
6608 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
6609 before reading the next line.
6610
c5c13355
WN
66112014-06-23 Will Newton <will.newton@linaro.org>
6612
6613 * test-skeleton.c (signal_handler): Use printf and %m
6614 rather than perror. Use printf rather than fprintf to
6615 stderr. Use puts rather than fputs to stderr.
6616 (main): Likewise.
6617
bd3675f9
LC
66182014-06-22 Ludovic Courtès <ludo@gnu.org>
6619
6620 * nscd/nscd.c (thread_info_t): Remove typedef.
6621 (thread_info): Remove variable.
6622
d03efb2f
AM
66232014-06-21 Allan McRae <allan@archlinux.org>
6624
6625 * NEWS: Mention CVE-2014-4043.
6626
bc4a86fa
RM
66272014-06-20 Roland McGrath <roland@hack.frob.com>
6628
dc9a54f8
RM
6629 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
6630 * nptl/smp.h: ... here.
6631
bd7022c4
RM
6632 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
6633
26ffd5e6
RM
6634 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
6635 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
6636 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
6637 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
6638
93a6d082
RM
6639 * nptl/allocatestack.c: Include <stack-aliasing.h>.
6640 * nptl/stack-aliasing.h: New file.
6641 * sysdeps/i386/i686/stack-aliasing.h: New file.
6642 * sysdeps/i386/i686/nptl/Makefile: File removed.
6643 * sysdeps/x86_64/stack-aliasing.h: New file.
6644 * sysdeps/x86_64/nptl/Makefile
6645 (CFLAGS-pthread_create.c): Variable removed.
6646
bc4a86fa
RM
6647 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
6648 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
6649 old file.
6650 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
6651 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
6652 old file.
6653
2272ffc1
JM
66542014-06-21 Joseph Myers <joseph@codesourcery.com>
6655
6656 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6657 (__ASSUME_SIGFRAME_V2): Remove macro.
6658 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
6659 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
6660 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
6661 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
6662 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
6663 Declare as function. Remove conditional macro definitions.
6664 (__default_rt_sa_restorer): Likewise.
6665 (__default_sa_restorer_v1): Remove declaration.
6666 (__default_sa_restorer_v2): Likewise.
6667 (__default_rt_sa_restorer_v1): Likewise.
6668 (__default_rt_sa_restorer_v2): Likewise.
6669 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
6670 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
6671 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
6672
4b88139b
RM
66732014-06-20 Roland McGrath <roland@hack.frob.com>
6674
6675 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
6676 (libpthread-routines): Add sysdep.
6677 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
6678 * sysdeps/unix/sysv/linux/sparc/Versions
6679 (libpthread: GLIBC_2.3.3): New version set.
6680 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
6681 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
6682 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
6683 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
6684 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
6685 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
6686 Moved ...
6687 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
6688 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
6689 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
6690 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
6691 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
6692 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
6693 * sysdeps/sparc/nptl/sem_init.c: ... here.
6694 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
6695 * sysdeps/sparc/nptl/sem_post.c: ... here.
6696 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
6697 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
6698 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
6699 * sysdeps/sparc/nptl/sem_wait.c: ... here.
6700 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
6701 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
6702 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
6703 (libpthread-routines): Add cpu_relax.
6704 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
6705 File removed.
6706 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
6707 (librt: GLIBC_2.3.3): New version set.
6708 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
6709 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
6710 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
6711 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
6712 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
6713 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
6714 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
6715 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
6716 Moved ...
6717 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
6718 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
6719 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
6720 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
6721 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
6722 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
6723 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
6724 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
6725 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
6726 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
6727 Moved ...
6728 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
6729 Update #include.
6730 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
6731 Moved ...
6732 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
6733 Update #include.
6734 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
6735 Moved ...
6736 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
6737 Update #include.
6738 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
6739 Moved ...
6740 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
6741 Update #include.
6742 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
6743 Moved ...
6744 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
6745 Update #include.
6746 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
6747 Moved ...
6748 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
6749 Update #include.
6750 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
6751 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
6752 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
6753 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
6754 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
6755 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
6756 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
6757 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
6758 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
6759 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
6760 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6761 Moved ...
6762 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
6763 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
6764 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
6765 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
6766 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
6767
d7109027
JM
67682014-06-20 Joseph Myers <joseph@codesourcery.com>
6769
9bc6103d
JM
6770 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
6771 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
6772 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6773 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
6774 * nscd/nscd.c: Likewise.
6775 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6776 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6777 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6778 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6779
d7109027
JM
6780 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
6781 <kernel-features.h>.
6782 (init_mq_netlink): Remove conditional have_sock_cloexec
6783 definitions. Remove code conditional on have_sock_cloexec < 0.
6784 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
6785 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
6786 * sysdeps/unix/sysv/linux/opensock.c: Do not include
6787 <kernel-features.h>.
6788 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
6789 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
6790
d92d8f8a
L
67912014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6792
6793 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6794 Add tests for memset_chk and memset.
6795
6796 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
6797 with AVX2_Usable.
6798
4e6d2347
MR
67992014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6800
257ce712
MR
6801 [BZ #16046]
6802 * elf/tst-dl-iter-static.c: New file.
6803 * elf/Makefile (tests-static): Add tst-dl-iter-static.
6804
4e6d2347
MR
6805 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
6806 error.
6807
a2a76afe
JM
68082014-06-20 Joseph Myers <joseph@codesourcery.com>
6809
7fd00f99
JM
6810 * sysdeps/unix/sysv/linux/kernel-features.h
6811 (__ASSUME_F_GETOWN_EX): Remove macro.
6812 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
6813 <kernel-features.h>.
6814 (miss_F_GETOWN_EX): Remove variable or macro.
6815 (do_fcntl): Do not check miss_F_GETOWN_EX.
6816 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
6817
4a103975
JM
6818 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
6819 Remove macro.
6820 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
6821 [!__ASSUME_AT_RANDOM]: Remove conditional code.
6822 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
6823
a2a76afe
JM
6824 * sysdeps/unix/sysv/linux/kernel-features.h
6825 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
6826 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
6827 [ADJ_OFFSET_SS_READ]: Make code unconditional.
6828 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
6829
90e5dd48
MR
68302014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6831
6832 [BZ #17075]
6833 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
6834 Fix calculation of the symbol's value.
6835 * sysdeps/arm/tst-armtlsdescloc.c: New file.
6836 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
6837 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
6838 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
6839 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
6840 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
6841 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
6842 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
6843 (modules-names): Add `tst-armtlsdescmod',
6844 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
6845 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
6846 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6847 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
6848 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
6849 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6850 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
6851 ($(objpfx)tst-armtlsdescloc): New dependency.
6852 ($(objpfx)tst-armtlsdescextnow): Likewise.
6853 ($(objpfx)tst-armtlsdescextlazy): Likewise.
6854 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
6855 TLS scheme support.
6856 * sysdeps/arm/configure: Regenerate.
6857
809fdf0d
JM
68582014-06-20 Joseph Myers <joseph@codesourcery.com>
6859
6860 * include/fcntl.h (__atfct_seterrno): Remove prototype.
6861 (__atfct_seterrno_2): Likewise.
6862 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
6863 <kernel-features.h>.
6864 (__ASSUME_ATFCTS): Do not undefine and redefine.
6865 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
6866 (__have_atfcts): Remove conditional definition.
6867 (__fxstatat([__NR_fstatat64]: Make code unconditional.
6868 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
6869 unreachable if [__ASSUME_ATFCTS].
6870 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
6871 not undefine and redefine.
6872 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
6873 <kernel-features.h>.
6874 (faccessat) [__NR_faccessat]: Make code unconditional.
6875 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
6876 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
6877 <kernel-features.h>.
6878 (fchmodat) [__NR_fchmodat]: Make code unconditional.
6879 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6880 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
6881 <kernel-features.h>.
6882 (fchownat) [__NR_fchownat]: Make code unconditional.
6883 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
6884 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
6885 <kernel-features.h>.
6886 (futimesat) [__NR_futimesat]: Make code unconditional.
6887 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
6888 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6889 <kernel-features.h>.
6890 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6891 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6892 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6893 <kernel-features.h>.
6894 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
6895 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6896 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
6897 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6898 <kernel-features.h>.
6899 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
6900 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6901 * sysdeps/unix/sysv/linux/linkat.c: Do not include
6902 <kernel-features.h>.
6903 (linkat) [__NR_linkat]: Make code unconditional.
6904 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6905 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
6906 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
6907 <kernel-features.h>.
6908 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
6909 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6910 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
6911 <kernel-features.h>.
6912 (mkdirat) [__NR_mkdirat]: Make code unconditional.
6913 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
6914 * sysdeps/unix/sysv/linux/openat.c: Do not include
6915 <kernel-features.h>.
6916 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
6917 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
6918 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
6919 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
6920 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
6921 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
6922 <kernel-features.h>.
6923 (readlinkat) [__NR_readlinkat]: Make code unconditional.
6924 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
6925 result of INLINE_SYSCALL directly, not via int variable.
6926 * sysdeps/unix/sysv/linux/renameat.c: Do not include
6927 <kernel-features.h>.
6928 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
6929 (renameat) [__NR_renameat]: Make code unconditional.
6930 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
6931 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
6932 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
6933 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
6934 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
6935 (__ASSUME_ATFCTS): Do not undefine and redefine.
6936 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
6937 <kernel-features.h>.
6938 (symlinkat) [__NR_symlinkat]: Make code unconditional.
6939 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6940 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
6941 <kernel-features.h>.
6942 (unlinkat) [__NR_unlinkat]: Make code unconditional.
6943 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6944 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
6945 (__ASSUME_ATFCTS): Do not undefine and redefine.
6946 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6947 <kernel-features.h>.
6948 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6949 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6950 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6951 <kernel-features.h>.
6952 (__xmknodat) [__NR_mknodat]: Make code unconditional.
6953 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6954
224c6c51
L
69552014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6956
6957 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
6958
aa6ec754
AS
69592014-06-20 Andreas Schwab <schwab@linux-m68k.org>
6960
6961 [BZ #17069]
6962 * posix/regcomp.c (parse_reg_exp): Deallocate partially
6963 constructed tree before returning error.
6964 * posix/bug-regexp36.c: Expand test case.
6965
d8c2869d
SL
69662014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
6967
3ef6b850
SL
6968 [BZ #6803]
6969 * math/libm-test.inc (scalbln_test_date):
6970 Add errno expectations.
6971 * math/w_scalblnf.c: New File.
6972 Add wrapper which checks for setting errno to ERANGE.
6973 Add weak_alias for corresponding scalbln function.
6974 * math/w_scalbln.c: Likewise.
6975 * math/w_scalblnl.c: Likewise.
6976 * math/Makefile (libm-calls): Add w_scalbln.
6977 * sysdeps/ieee754/flt-32/s_scalblnf.c:
6978 Remove weak_alias for corresponding scalbln function.
6979 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6980 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6981 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6982 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6983 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6984 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6985 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6986 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6987 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6988 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6989 Remove long_double_symbol for scalblnl function in libm, libc.
6990 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6991 Add wrapper which checks for setting errno to ERANGE.
6992 Add long_double_symbol for scalblnl function in libm, libc.
6993 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6994 Remove long_double_symbol for scalblnl in libm.
6995 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
6996 Add wrapper which checks for setting errno to ERANGE.
6997 Add long_double_symbol for scalblnl function in libm.
6998 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6999 Do not use wrapper because of own implementation.
7000
c8daec5c
L
70012014-06-19 H.J. Lu <hongjiu.lu@intel.com>
7002
7003 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
7004 3 bytes for __pad1 for x32.
7005 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
7006
5c74e47c
LM
70072014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
7008 H.J. Lu <hongjiu.lu@intel.com>
7009
7010 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
7011 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
7012 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7013 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7014 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7015
4d43ef1e
AS
70162014-06-19 Andreas Schwab <schwab@linux-m68k.org>
7017
7018 [BZ #17069]
7019 * posix/regcomp.c (parse_expression): Deallocate partially
7020 constructed tree before returning error.
7021 * posix/Makefile.c (tests): Add bug-regex36.
7022 (generated): Add bug-regex36.mtrace.
7023 (tests-special): Add $(objpfx)bug-regex36-mem.out
7024 (bug-regex36-ENV): New variable.
7025 ($(objpfx)bug-regex36-mem.out): New rule.
7026 * posix/bug-regex36.c: New file.
7027
51a7380b
WN
70282014-06-19 Will Newton <will.newton@linaro.org>
7029
7030 * malloc/malloc.c (systrim): If extra is zero then return
7031 early.
7032
91b84fe5
SP
70332014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7034
7035 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
7036
f940b965
RE
70372014-06-19 Richard Earnshaw <rearnsha@arm.com>
7038
7039 * sysdeps/aarch64/strchr.S: New file.
7040
4ba7a00f
JM
70412014-06-18 Joseph Myers <joseph@codesourcery.com>
7042
7043 [BZ #17022]
7044 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
7045 from arguments -2 or below.
7046 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7047 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7048
b3a9f56b
AS
70492014-06-18 Andreas Schwab <schwab@suse.de>
7050
7051 [BZ #17062]
7052 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
7053 of a bracket expr not to run off the end of the string.
7054 * posix/Makefile (tests): Add tst-fnmatch3.
7055 * posix/tst-fnmatch3.c: New file.
7056
85d89278
JM
70572014-06-18 Joseph Myers <joseph@codesourcery.com>
7058
7059 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
7060 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7061 [$(cross-compiling) = no]: Likewise.
7062 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7063 [$(cross-compiling) = no]: Likewise.
7064
754c5a08
RS
70652014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7066
7067 [BZ #17031]
7068 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
7069 double, adjusted for any remainder from the high double.
7070 * math/libm-test.inc (nearbyint): Add tests.
7071 (rint): Likewise.
7072
556f529d
AZ
70732014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7074
7075 * nptl/sysdeps/powerpc/Makefile: Moved ...
7076 * sysdeps/powerpc/nptl/Makefile: ... here.
7077 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
7078 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
7079 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
7080 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
7081 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
7082 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
7083 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
7084 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
7085 * nptl/sysdeps/powerpc/tls.h: Moved ...
7086 * sysdeps/powerpc/nptl/tls.h: ... here.
7087
91c03c53
JM
70882014-06-16 Joseph Myers <joseph@codesourcery.com>
7089
7090 [BZ #16681]
7091 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7092 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7093 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7094 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7095 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7096 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7097 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7098 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7099 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7100
a76e63c5
AS
71012014-06-17 Andreas Schwab <schwab@linux-m68k.org>
7102
7103 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7104
f2f6d82f
AS
71052014-06-16 Andreas Schwab <schwab@linux-m68k.org>
7106
ea8a15f6
AS
7107 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7108 defined operator.
7109
f2f6d82f
AS
7110 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7111 $TIMEOUTFACTOR.
7112
a7291117
FW
71132014-06-16 Florian Weimer <fweimer@redhat.com>
7114
7115 [BZ #17058]
7116 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7117 non-executed part of the test.
7118
3d7c00e3
AS
71192014-06-16 Andreas Schwab <schwab@suse.de>
7120
7121 * string/bits/string2.h (strdup, strndup): Update feature guard.
7122
6957fb31
DM
71232014-06-14 David S. Miller <davem@davemloft.net>
7124
7125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7126
11b9e55b
AS
71272014-06-14 Andreas Schwab <schwab@linux-m68k.org>
7128
1d2a0492
AS
7129 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7130 that was previously under [RESET_PID].
7131 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7132
11b9e55b
AS
7133 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7134 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7135 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7136 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7137 (__libc_vfork): New strong alias.
7138 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7139
0f6901d0
AK
71402014-06-14 Andi Kleen <ak@linux.intel.com>
7141
7142 * sysdeps/generic/elide.h: New file.
7143
38bbbb9f
SL
71442014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7145
7146 * Makefile (installed-headers): Adjust path of pthread.h header.
7147
45193bb8
RM
71482014-06-13 Roland McGrath <roland@hack.frob.com>
7149
9a25fd1e
RM
7150 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7151 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7152 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
7153 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7154
4004f7e4
RM
7155 * nptl/sysdeps/s390/Makefile: Moved ...
7156 * sysdeps/s390/nptl/Makefile: ... here.
7157 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
7158 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
7159 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
7160 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
7161 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
7162 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
7163 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
7164 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
7165 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
7166 * sysdeps/s390/nptl/pthreaddef.h: ... here.
7167 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
7168 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
7169 * nptl/sysdeps/s390/tls.h: Moved ...
7170 * sysdeps/s390/nptl/tls.h: ... here.
7171
45193bb8
RM
7172 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
7173 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
7174
f6fdf533
DM
71752014-06-13 David S. Miller <davem@davemloft.net>
7176
7177 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
7178 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
7179 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
7180 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
7181 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
7182 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
7183 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
7184 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
7185 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
7186 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
7187 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
7188 Remove RESET_PID cpp guards.
7189 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
7190 Remove RESET_PID cpp guards.
7191 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
7192
f5d71e14
AS
71932014-06-13 Andreas Schwab <schwab@linux-m68k.org>
7194
7195 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
7196 __sp to uintptr_t.
7197
b7aa8caa
AK
71982014-06-13 Andi Kleen <ak@linux.intel.com>
7199
4b266200
AZ
7200 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
7201 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
7202 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
7203 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7204 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
7205 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
7206 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
7207 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
7208 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
7209 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
7210 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
7211 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
7212 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
7213 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
7214 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
7215 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
7216 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
7217 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
7218 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
7219 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
7220
7221 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
7222 (pthread_rwlock_rdlock): Add elision.
7223 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
7224 (pthread_rwlock_wrlock): Add elision.
7225 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
7226 (pthread_rwlock_trywrlock): Add elision.
7227 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
7228 (pthread_rwlock_tryrdlock): Add elision.
7229 * nptl/pthread_rwlock_unlock.c: Include elide.h.
7230 (pthread_rwlock_tryrdlock): Add elision unlock.
7231 * nptl/sysdeps/pthread/pthread.h:
7232 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
7233 (PTHREAD_RWLOCK_INITIALIZER,
7234 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
7235 Handle new elision field.
7236 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
7237 * sysdeps/arm/nptl/bits/pthreadtypes.h
7238 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7239 * sysdeps/sh/nptl/bits/pthreadtypes.h
7240 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7241 * sysdeps/tile/nptl/bits/pthreadtypes.h
7242 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7243 * sysdeps/a/nptl/bits/pthreadtypes.h
7244 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7245 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7246 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7247 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7248 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7249 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
7250 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7251 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7252 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7253 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7254 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7255 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7256 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7257 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7258 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7259 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
7260 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7261 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
7262 (elision_init): Set try_xbegin to zero when no RTM.
7263 * sysdeps/x86/nptl/bits/pthreadtypes.h
7264 (pthread_rwlock_t): Change __pad1 to __rwelision.
7265 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 7266
a832bdd3
AK
72672014-06-13 Andi Kleen <ak@linux.intel.com>
7268
7269 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
7270 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
7271 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
7272 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
7273
995a46bb
MI
72742014-06-13 Meador Inge <meadori@codesourcery.com>
7275
7276 [BZ #16996]
03ed7738 7277 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
7278 that the cached result has been set before returning it.
7279
45262aee
RM
72802014-06-12 Roland McGrath <roland@hack.frob.com>
7281
febf6cc5
RM
7282 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
7283 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
7284 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
7285 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
7286 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
7287 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
7288
e2682246
RM
7289 * nptl/sysdeps/sparc/Makefile: Moved ...
7290 * sysdeps/sparc/nptl/Makefile: ... here.
7291 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
7292 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
7293 * nptl/sysdeps/sparc/tls.h: Moved ...
7294 * sysdeps/sparc/nptl/tls.h: ... here.
7295 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
7296 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
7297 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
7298 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
7299 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
7300 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
7301 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
7302 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
7303 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
7304 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
7305 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
7306 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
7307 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
7308 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
7309 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
7310 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
7311 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
7312 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
7313 Update #include.
7314 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
7315 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
7316 Update #include.
7317 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
7318 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
7319 Update #include.
7320 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
7321 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
7322 Update #include.
7323
b0725f43
RM
7324 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7325
b14368b8
RM
7326 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
7327 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
7328
c5620eb3
RM
7329 * sysdeps/pthread/posix-timer.h: Include <list.h>.
7330 (struct list_links): Type removed.
7331 (struct thread_node, struct timer_node): Replace struct list_links
7332 with struct list_head.
7333 (list_unlink_ip): Likewise.
7334 * sysdeps/pthread/timer_routines.c
7335 (timer_free_list, thread_free_list, thread_active_list): Likewise.
7336 (list_append, list_insbefore): Likewise.
7337 (list_init): Function removed.
7338 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
7339 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
7340 * sysdeps/pthread/Makefile: ... here, new file.
7341
7342 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
7343 * sysdeps/nptl/Implies: ... here.
7344 * sysdeps/unix/sysv/linux/Implies: Add nptl.
7345 * nptl/sysdeps/pthread/list.h: Moved ...
7346 * include/list.h: ... here.
7347 * nptl/sysdeps/pthread/createthread.c: Moved ...
7348 * nptl/createthread.c: ... here.
7349 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
7350 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
7351 * nptl/pt-longjmp.c: ... here.
7352 * nptl/sysdeps/pthread/Makefile: Moved ...
7353 * sysdeps/nptl/Makefile: ... here.
7354 * nptl/sysdeps/pthread/Subdirs: Moved ...
7355 * sysdeps/nptl/Subdirs: ... here.
7356 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
7357 * sysdeps/nptl/aio_misc.h: ... here.
7358 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
7359 * sysdeps/nptl/bits/libc-lock.h: ... here.
7360 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
7361 * sysdeps/nptl/bits/libc-lockP.h: ... here.
7362 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
7363 * sysdeps/nptl/bits/stdio-lock.h: ... here.
7364 * nptl/sysdeps/pthread/configure: Moved ...
7365 * sysdeps/nptl/configure: ... here.
7366 * nptl/sysdeps/pthread/configure.ac: Moved ...
7367 * sysdeps/nptl/configure.ac: ... here.
7368 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
7369 * sysdeps/nptl/gai_misc.h: ... here.
7370 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
7371 * sysdeps/nptl/librt-cancellation.c: ... here.
7372 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
7373 * sysdeps/nptl/malloc-machine.h: ... here.
7374 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
7375 * sysdeps/nptl/pthread-functions.h: ... here.
7376 * nptl/sysdeps/pthread/pthread.h: Moved ...
7377 * sysdeps/nptl/pthread.h: ... here.
7378 * nptl/sysdeps/pthread/setxid.h: Moved ...
7379 * sysdeps/nptl/setxid.h: ... here.
7380 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
7381 * sysdeps/nptl/sigfillset.c: ... here.
7382 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
7383 * sysdeps/nptl/tcb-offsets.h: ... here.
7384 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
7385 * sysdeps/nptl/tst-mqueue8x.c: ... here.
7386 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
7387 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
7388 * nptl/sysdeps/pthread/allocalim.h: Moved ...
7389 * sysdeps/pthread/allocalim.h: ... here.
7390 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
7391 * sysdeps/pthread/bits/sigthread.h: ... here.
7392 * nptl/sysdeps/pthread/flockfile.c: Moved ...
7393 * sysdeps/pthread/flockfile.c: ... here.
7394 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
7395 * sysdeps/pthread/ftrylockfile.c: ... here.
7396 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
7397 * sysdeps/pthread/funlockfile.c: ... here.
7398 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
7399 * sysdeps/pthread/posix-timer.h: ... here.
7400 * nptl/sysdeps/pthread/timer_create.c: Moved ...
7401 * sysdeps/pthread/timer_create.c: ... here.
7402 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
7403 * sysdeps/pthread/timer_delete.c: ... here.
7404 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
7405 * sysdeps/pthread/timer_getoverr.c: ... here.
7406 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
7407 * sysdeps/pthread/timer_gettime.c: ... here.
7408 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
7409 * sysdeps/pthread/timer_routines.c: ... here.
7410 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
7411 * sysdeps/pthread/timer_settime.c: ... here.
7412 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
7413 * sysdeps/pthread/tst-timer.c: ... here.
7414 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
7415 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
7416
e876b090
RM
7417 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
7418 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
7419
f6b07b3d
RM
7420 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
7421 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
7422 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
7423 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
7424 Update #include target.
7425 * nptl/sysdeps/i386/i686/Makefile: Moved ...
7426 * sysdeps/i386/i686/nptl/Makefile: ... here.
7427 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
7428 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
7429 Update #include target.
7430 * nptl/sysdeps/i386/i686/tls.h: Moved ...
7431 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
7432 * nptl/sysdeps/i386/Makefile: Moved ...
7433 * sysdeps/i386/nptl/Makefile: ... here.
7434 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
7435 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
7436 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
7437 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
7438 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
7439 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
7440 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
7441 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
7442 * sysdeps/i386/nptl/pthreaddef.h: ... here.
7443 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
7444 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
7445 * nptl/sysdeps/i386/tls.h: Moved ...
7446 * sysdeps/i386/nptl/tls.h: ... here.
7447
45262aee
RM
7448 * sysdeps/sh/Makefile [$(subdir) = csu]
7449 (gen-as-const-headers): Add tcb-offsets.sym.
7450 * nptl/sysdeps/sh/Makefile: File removed.
7451 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
7452 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
7453 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
7454 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
7455 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
7456 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
7457 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
7458 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
7459 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
7460 * sysdeps/sh/nptl/pthreaddef.h: ... here.
7461 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
7462 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
7463 * nptl/sysdeps/sh/tls.h: Moved ...
7464 * sysdeps/sh/nptl/tls.h: ... here.
7465 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
7466 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
7467 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
7468 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
7469 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
7470 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
7471 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
7472 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
7473 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
7474 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
7475 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
7476 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
7477 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
7478 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
7479 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
7480 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
7481 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
7482 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
7483 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
7484 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
7485 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
7486 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
7487 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
7488 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
7489 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
7490 Moved ...
7491 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
7492 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
7493 Moved ...
7494 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
7495 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
7496 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
7497 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
7498 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
7499 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
7500 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
7501 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
7502 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
7503 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
7504 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
7505 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
7506 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
7507 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
7508 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
7509 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
7510 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
7511 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
7512 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
7513
35a5e3e3
SL
75142014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7515
7516 * posix/spawn_faction_addopen.c: Include string.h.
7517
14642b85
RM
75182014-06-11 Roland McGrath <roland@hack.frob.com>
7519
7520 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
7521 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
7522 * nptl/sysdeps/x86_64/Makefile: Moved ...
7523 * sysdeps/x86_64/nptl/Makefile: ... here.
7524 * nptl/sysdeps/x86_64/configure: Moved ...
7525 * sysdeps/x86_64/nptl/configure: ... here.
7526 * nptl/sysdeps/x86_64/configure.ac: Moved ...
7527 * sysdeps/x86_64/nptl/configure.ac: ... here.
7528 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
7529 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
7530 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
7531 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
7532 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
7533 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
7534 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
7535 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
7536 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
7537 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
7538 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
7539 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
7540 * nptl/sysdeps/x86_64/tls.h: Moved ...
7541 * sysdeps/x86_64/nptl/tls.h: ... here.
7542 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
7543 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
7544 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
7545 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
7546
7547 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
7548
31c44fea
AZ
75492014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7550
7551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7552
e81a4f9a
JM
75532014-06-11 Joseph Myers <joseph@codesourcery.com>
7554
7555 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
7556 type.
7557 [POSIX] (off_t): Likewise.
7558 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
7559 [POSIX] (S_ISBLK): Require macro.
7560 [POSIX] (S_ISCHR): Likewise.
7561 [POSIX] (S_ISDIR): Likewise.
7562 [POSIX] (S_ISFIFO): Likewise.
7563 [POSIX] (S_ISREG): Likewise.
7564 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
7565 optional-macro.
7566 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
7567 type.
7568 [POSIX] (time_t): Likewise.
7569 [POSIX] (timer_t): Likewise.
7570
89e435f3
FW
75712014-06-11 Florian Weimer <fweimer@redhat.com>
7572
7573 [BZ #17048]
7574 * posix/spawn_int.h (struct __spawn_action): Make the path string
7575 non-const to support deallocation.
7576 * posix/spawn_faction_addopen.c
7577 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
7578 * posix/spawn_faction_destroy.c
7579 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
7580 path in all spawn_do_open actions.
7581 * posix/tst-spawn.c (do_test): Exercise the copy operation in
7582 posix_spawn_file_actions_addopen.
7583
c3a2ebe1
CM
75842014-06-11 Chris Metcalf <cmetcalf@tilera.com>
7585
7586 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
7587 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
7588 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
7589 conditional code always true.
7590 (__libc_vfork): New alias.
7591
9503784a
RM
75922014-06-11 Roland McGrath <roland@hack.frob.com>
7593
c9cab3d2
RM
7594 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7595 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
7596
d3996c79
RM
7597 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
7598
ba5ec611
RM
7599 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7600 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
7601
f12b4814
RM
7602 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7603 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
7604
9503784a
RM
7605 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7606 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
7607
e23d3d26
VR
76082014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7609
7610 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
7611 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
7612 multiarch strcmp for PPC64.
7613 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
7614 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
7615 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
7616 multiarch optimizations.
7617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7618 (__libc_ifunc_impl_list): Likewise.
7619
42b1161e
SP
76202014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7621
7622 * benchtests/scripts/validate_benchout.py: New script.
7623 * benchtests/Makefile (bench-func): Call it.
7624 * benchtests/scripts/benchout.schema.json: New file.
7625
2d0fc4dc
CM
76262014-06-10 Chris Metcalf <cmetcalf@tilera.com>
7627
4a594c34
AZ
7628 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
7629 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
7630 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
7631 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
7632 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
7633 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
7634 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
7635 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
7636 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
7637 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
7638 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
7639 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
7640 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
7641 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
7642 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
7643 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
7644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 7645 Moved ...
4a594c34 7646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 7647 ... here.
4a594c34 7648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 7649 Moved ...
4a594c34
AZ
7650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
7651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 7652 Moved ...
4a594c34 7653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 7654 ... here.
4a594c34 7655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 7656 Moved ...
4a594c34 7657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 7658 ... here.
4a594c34 7659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 7660 Moved ...
4a594c34
AZ
7661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
7662 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 7663 Moved ...
4a594c34 7664 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 7665 ... here.
4a594c34 7666 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 7667 Moved ...
4a594c34 7668 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 7669 ... here.
4a594c34 7670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 7671 Moved ...
4a594c34
AZ
7672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
7673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 7674 Moved ...
4a594c34 7675 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 7676 ... here.
4a594c34 7677 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 7678 Moved ...
4a594c34 7679 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 7680 ... here.
4a594c34 7681 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 7682 Moved ...
4a594c34 7683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 7684 ... here.
4a594c34 7685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 7686 Moved ...
4a594c34
AZ
7687 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
7688 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 7689 Moved ...
4a594c34 7690 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 7691 ... here.
4a594c34 7692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 7693 Moved ...
4a594c34 7694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 7695 ... here.
4a594c34 7696 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 7697 Moved ...
4a594c34 7698 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 7699 ... here.
4a594c34 7700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 7701 Moved ...
4a594c34
AZ
7702 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
7703 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 7704 Moved ...
4a594c34 7705 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 7706 ... here.
4a594c34 7707 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 7708 Moved ...
4a594c34 7709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 7710 ... here.
4a594c34 7711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 7712 Moved ...
4a594c34
AZ
7713 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
7714 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 7715 Moved ...
4a594c34 7716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 7717 ... here.
4a594c34 7718 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 7719 Moved ...
4a594c34
AZ
7720 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
7721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 7722 Moved ...
4a594c34
AZ
7723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
7724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 7725 Moved ...
4a594c34 7726 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 7727 ... here.
4a594c34 7728 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 7729 Moved ...
4a594c34 7730 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 7731 ... here.
4a594c34 7732 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 7733 Moved ...
4a594c34 7734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 7735 ... here.
4a594c34 7736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 7737 Moved ...
4a594c34
AZ
7738 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
7739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 7740 Moved ...
4a594c34 7741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 7742 ... here.
4a594c34 7743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 7744 Moved ...
4a594c34 7745 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 7746 ... here.
4a594c34
AZ
7747 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
7748 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
7749 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
7750 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
7751 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 7752 Moved ...
4a594c34 7753 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 7754 ... here.
4a594c34
AZ
7755 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
7756 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
7757 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
7758 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
7759 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
7760 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
7761 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
7762 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
7763 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
7764 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
7765 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
7766 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
7767 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 7768 Moved ...
4a594c34
AZ
7769 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
7770 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 7771 Moved ...
4a594c34
AZ
7772 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
7773 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
7774 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
7775 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 7776 Moved ...
4a594c34
AZ
7777 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
7778 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
7779 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
7780 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
7781 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
7782 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
7783 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 7784
0570cfed
W
77852014-06-10 Wilco <wdijkstr@arm.com>
7786
7787 * math/test-fenv-return.c: New file.
7788 * math/Makefile: Add new test test-fenv-return.
7789
f8ba1b56
JM
77902014-06-10 Joseph Myers <joseph@codesourcery.com>
7791
7792 [BZ #17042]
7793 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
7794 when x - 1 is zero.
7795 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
7796 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7797 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
7798 0.0L for an argument of 1.0L.
7799 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7800 Likewise.
7801 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
7802 value when x - 1 is zero.
7803 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
7804 * sysdeps/i386/fpu/libm-test-ulps: Update.
7805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7806
2c3520d9
BO
78072014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
7808
7809 [BZ #15119]
7810 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
7811
acaa4d24
RM
78122014-06-09 Roland McGrath <roland@hack.frob.com>
7813
7814 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
7815 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
7816
962b744d
RM
78172014-06-09 Roland McGrath <roland@hack.frob.com>
7818
d752f0cc
RM
7819 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7820 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
7821
34eda6d1
RM
7822 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7823 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
7824
50f0a637
RM
7825 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7826 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
7827
08f41f04
RM
7828 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7829 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
7830
962b744d
RM
7831 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
7832 if not already defined.
7833 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
7834 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
7835 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
7836 (TLS_INIT_TP): Use it.
7837 (TLS_DEFINE_INIT_TP): New macro.
7838 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
7839
09f19b05
JM
78402014-06-09 Joseph Myers <joseph@codesourcery.com>
7841
7842 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
7843 constant.
7844 [POSIX] (IXANY): Likewise.
7845 [POSIX] (OLCUC): Likewise.
7846 [POSIX || POSIX2008] (CBAUD): Do not allow.
7847 [POSIX || POSIX2008] (DEFECHO): Likewise.
7848 [POSIX || POSIX2008] (ECHOCTL): Likewise.
7849 [POSIX || POSIX2008] (ECHOKE): Likewise.
7850 [POSIX || POSIX2008] (ECHOPRT): Likewise.
7851 [POSIX || POSIX2008] (EXTA): Likewise.
7852 [POSIX || POSIX2008] (EXTB): Likewise.
7853 [POSIX || POSIX2008] (FLUSHO): Likewise.
7854 [POSIX || POSIX2008] (LOBLK): Likewise.
7855 [POSIX || POSIX2008] (PENDIN): Likewise.
7856 [POSIX || POSIX2008] (SWTCH): Likewise.
7857 [POSIX || POSIX2008] (VDISCARD): Likewise.
7858 [POSIX || POSIX2008] (VDSUSP): Likewise.
7859 [POSIX || POSIX2008] (VLNEXT): Likewise.
7860 [POSIX || POSIX2008] (VREPRINT): Likewise.
7861 [POSIX || POSIX2008] (VSTATUS): Likewise.
7862 [POSIX || POSIX2008] (VWERASE): Likewise.
7863 (B*): Change to B[0123456789]*.
7864 * conform/data/time.h-data [POSIX || UNIX98]
7865 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
7866 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7867 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
7868 [POSIX] (tm_*): Do not allow.
7869
686554bf
JM
78702014-06-07 Joseph Myers <joseph@codesourcery.com>
7871
7872 * Makefile (install): Don't set LANGUAGE.
7873 * Makefile.in (install): Likewise.
7874 * assert/Makefile (test-assert-ENV): Remove variable.
7875 (test-assert-perr-ENV): Likewise.
7876 * elf/Makefile (neededtest4-ENV): Likewise.
7877 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7878 [$(cross-compiling) = no]: Don't set LANGUAGE.
7879 * io/ftwtest-sh (LANG): Remove variable.
7880 * libio/Makefile (tst-widetext-ENV): Likewise.
7881 * manual/install.texi (Running make install): Don't refer to
7882 environment settings for make install.
7883 * INSTALL: Regenerated.
7884 * nptl/tst-tls6.sh: Don't set LANG.
7885 * posix/globtest.sh (LANG): Remove variable.
7886 * string/Makefile (tester-ENV): Likewise.
7887 (inl-tester-ENV): Likewise.
7888 (noinl-tester-ENV): Likewise.
7889 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7890 [$(cross-compiling) = no]: Don't set LANGUAGE.
7891 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
7892 without explicit environment settings.
7893
68e6b6b1
RM
78942014-06-06 Roland McGrath <roland@hack.frob.com>
7895
7896 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
7897 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
7898 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
7899 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
7900
4d3ae034
CM
79012014-06-06 Chris Metcalf <cmetcalf@tilera.com>
7902
7903 * crypt/crypt-private.h [DOS]: Add some includes taken from the
7904 other files in the crypt directory.
7905 * crypt/crypt.c: Remove duplicate includes.
7906 * crypt/crypt-entry.c: Likewise.
7907 * crypt/crypt_util.c: Likewise.
7908
8540f6d2
JM
79092014-06-06 Joseph Myers <joseph@codesourcery.com>
7910
7911 * Makeconfig (run-program-env): New variable.
7912 (run-program-prefix-before-env): Likewise.
7913 (run-program-prefix-after-env): Likewise.
7914 (run-program-prefix): Define in terms of new variables.
7915 (built-program-cmd-before-env): New variable.
7916 (built-program-cmd-after-env): Likewise.
7917 (built-program-cmd): Define in terms of new variables.
7918 (test-program-prefix-before-env): New variable.
7919 (test-program-prefix-after-env): Likewise.
7920 (test-program-prefix): Define in terms of new variables.
7921 (test-program-cmd-before-env): New variable.
7922 (test-program-cmd-after-env): Likewise.
7923 (test-program-cmd): Define in terms of new variables.
7924 * Rules (make-test-out): Use $(run-program-env).
7925 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
7926 (help): Do not mention environment variables. Mention
7927 --timeoutfactor option.
7928 (timeoutfactor): New variable.
7929 (blacklist_exports): Remove function.
7930 (exports): Remove variable.
7931 (command): Do not include ${exports}.
7932 * manual/install.texi (Configuring and compiling): Do not mention
7933 test wrappers preserving environment variables. Mention that last
7934 assignment to a variable must take precedence.
7935 * INSTALL: Regenerated.
7936 * benchtests/Makefile (run-bench): Use $(run-program-env).
7937 * catgets/Makefile ($(objpfx)test1.cat): Use
7938 $(built-program-cmd-before-env), $(run-program-env) and
7939 $(built-program-cmd-after-env).
7940 ($(objpfx)test2.cat): Do not specify environment variables
7941 explicitly.
7942 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
7943 $(run-program-env) and $(built-program-cmd-after-env).
7944 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
7945 $(run-program-env) and $(test-program-cmd-after-env).
7946 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
7947 explicitly.
7948 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
7949 run_program_env and test_program_cmd_after_env arguments.
7950 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
7951 * elf/tst-pathopt.sh: Use run_program_env argument.
7952 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
7953 $(test-wrapper-env) and $(run-program-env).
7954 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
7955 run_program_env arguments.
7956 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
7957 * intl/Makefile ($(objpfx)tst-gettext.out): Use
7958 $(test-program-prefix-before-env), $(run-program-env) and
7959 $(test-program-prefix-after-env).
7960 ($(objpfx)tst-gettext2.out): Likewise.
7961 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
7962 run_program_env and test_program_prefix_after_env arguments.
7963 * intl/tst-gettext2.sh: Likewise.
7964 * intl/tst-gettext4.sh: Do not set environment variables
7965 explicitly.
7966 * intl/tst-gettext6.sh: Likewise.
7967 * intl/tst-translit.sh: Likewise.
7968 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
7969 $(test-program-prefix-before-env), $(run-program-env) and
7970 $(test-program-prefix-after-env).
7971 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
7972 run_program_env and test_program_prefix_after_env arguments.
7973 * math/Makefile (run-regen-ulps): Use $(run-program-env).
7974 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
7975 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
7976 explicitly with each use of ${test_wrapper_env}.
7977 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
7978 $(test-program-prefix-before-env), $(run-program-env) and
7979 $(test-program-prefix-after-env).
7980 * posix/tst-getconf.sh: Do not set environment variables
7981 explicitly.
7982 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7983 run_program_env and test_program_prefix_after_env arguments.
7984 * stdio-common/tst-printf.sh: Do not set environment variables
7985 explicitly.
7986 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7987 $(test-program-prefix-before-env), $(run-program-env) and
7988 $(test-program-prefix-after-env).
7989 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7990 run_program_env and test_program_prefix_after_env arguments.
7991 Split $test calls into $test_pre and $test.
7992 * timezone/Makefile (build-testdata): Use
7993 $(built-program-cmd-before-env), $(run-program-env) and
7994 $(built-program-cmd-after-env).
7995
ed36bfa1
AZ
79962014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7997
7998 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7999 strlen for non SHARED builds.
8000
fc75bf46
SP
80012014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8002
8003 * nptl/allocatestack.c (check_list): Inlined function...
8004 (__reclaim_stacks): ... here.
8005
d89b3d80
OB
80062014-06-05 Ondřej Bílka <neleai@seznam.cz>
8007
8008 [BZ #15698]
8009 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8010 memory overrun.
8011
2bf18041
JM
80122014-06-05 Joseph Myers <joseph@codesourcery.com>
8013
8014 * Rules (make-test-out): Include
8015 LOCPATH=$(common-objpfx)localedata in default environment.
8016 * debug/Makefile (tst-chk1-ENV): Remove variable.
8017 (tst-chk2-ENV): Likewise.
8018 (tst-chk3-ENV): Likewise.
8019 (tst-chk4-ENV): Likewise.
8020 (tst-chk5-ENV): Likewise.
8021 (tst-chk6-ENV): Likewise.
8022 (tst-lfschk1-ENV): Likewise.
8023 (tst-lfschk2-ENV): Likewise.
8024 (tst-lfschk3-ENV): Likewise.
8025 (tst-lfschk4-ENV): Likewise.
8026 (tst-lfschk5-ENV): Likewise.
8027 (tst-lfschk6-ENV): Likewise.
8028 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
8029 (tst-iconv7-ENV): Likewise.
8030 * intl/Makefile (LOCPATH-ENV): Likewise.
8031 (tst-codeset-ENV): Likewise.
8032 (tst-gettext3-ENV): Likewise.
8033 (tst-gettext5-ENV): Likewise.
8034 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
8035 (tst-fopenloc-ENV): Likewise.
8036 (tst-fgetws-ENV): Remove variable.
8037 (tst-ungetwc1-ENV): Likewise.
8038 (tst-ungetwc2-ENV): Likewise.
8039 (bug-ungetwc2-ENV): Likewise.
8040 (tst-swscanf-ENV): Likewise.
8041 (bug-ftell-ENV): Likewise.
8042 (tst-fgetwc-ENV): Likewise.
8043 (tst-fseek-ENV): Likewise.
8044 (tst-ftell-partial-wide-ENV): Likewise.
8045 (tst-ftell-active-handler-ENV): Likewise.
8046 (tst-ftell-append-ENV): Likewise.
8047 * posix/Makefile (tst-fnmatch-ENV): Likewise.
8048 (tst-regexloc-ENV): Likewise.
8049 (bug-regex1-ENV): Likewise.
8050 (tst-regex-ENV): Likewise.
8051 (tst-regex2-ENV): Likewise.
8052 (bug-regex5-ENV): Likewise.
8053 (bug-regex6-ENV): Likewise.
8054 (bug-regex17-ENV): Likewise.
8055 (bug-regex18-ENV): Likewise.
8056 (bug-regex19-ENV): Likewise.
8057 (bug-regex20-ENV): Likewise.
8058 (bug-regex22-ENV): Likewise.
8059 (bug-regex23-ENV): Likewise.
8060 (bug-regex25-ENV): Likewise.
8061 (bug-regex26-ENV): Likewise.
8062 (bug-regex30-ENV): Likewise.
8063 (bug-regex32-ENV): Likewise.
8064 (bug-regex33-ENV): Likewise.
8065 (bug-regex34-ENV): Likewise.
8066 (bug-regex35-ENV): Likewise.
8067 (tst-rxspencer-ENV): Likewise.
8068 (tst-rxspencer-no-utf8-ENV): Likewise.
8069 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
8070 (tst-sscanf-ENV): Likewise.
8071 (tst-swprintf-ENV): Likewise.
8072 (tst-swscanf-ENV): Likewise.
8073 (test-vfprintf-ENV): Likewise.
8074 (scanf13-ENV): Likewise.
8075 (bug14-ENV): Likewise.
8076 (tst-grouping-ENV): Likewise.
8077 * stdlib/Makefile (tst-strtod-ENV): Likewise.
8078 (tst-strtod3-ENV): Likewise.
8079 (tst-strtod4-ENV): Likewise.
8080 (tst-strtod5-ENV): Likewise.
8081 (testmb2-ENV): Likewise./
8082 * string/Makefile (tst-strxfrm-ENV): Likewise.
8083 (tst-strxfrm2-ENV): Likewise.
8084 (bug-strcoll1-ENV): Likewise.
8085 (test-strcasecmp-ENV): Likewise.
8086 (test-strncasecmp-ENV): Likewise.
8087 * time/Makefile (tst-strptime-ENV): Likewise.
8088 (tst-ftime_l-ENV): Likewise.
8089 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8090 (tst-mbrtowc-ENV): Likewise.
8091 (tst-wcrtomb-ENV): Likewise.
8092 (tst-mbrtowc2-ENV): Likewise.
8093 (tst-c16c32-1-ENV): Likewise.
8094 (tst-mbsnrtowcs-ENV): Likewise.
8095
cd1fb604
OB
80962014-06-05 Ondřej Bílka <neleai@seznam.cz>
8097
8098 * manual/resource.texi (How to get information about the memory
8099 subsystem?): Fix typo.
8100 Reported by Peon de la Parra Ivan <peon@keba.com>
8101
b42eca7d
GY
81022014-06-03 Guo Yixuan <culu.gyx@gmail.com>
8103
8104 [BZ #16882]
8105 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8106 (pthread_spin_lock): Branch out of spin loop to proper location.
8107 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8108 (pthread_spin_lock): Likewise.
8109
902b71f9
DM
8110 * nptl/tst-spin4.c: New test.
8111 * nptl/Makefile (tests): Add tst-spin4.
8112
f9d2d032
AS
81132014-06-03 Andreas Schwab <schwab@suse.de>
8114
8115 [BZ #15946]
8116 * resolv/res_send.c (send_dg): Reload file descriptor after
8117 calling reopen.
8118
cf7bfd28
SL
81192014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
8120
8121 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8122
111cc714
RH
81232014-06-03 Richard Henderson <rth@redhat.com>
8124
89b4bd6b
RH
8125 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8126 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8127 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8128 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
8129 in the SAVE_PID block.
8130 (__libc_vfork): New alias.
71840409 8131 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 8132
111cc714
RH
8133 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8134 child in registers, not on the stack. Remove RESET_PID conditionals.
8135 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8136
ccc39911
MS
81372014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
8138
8139 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8140
693096cc
W
81412014-06-03 Wilco <wdijkstr@arm.com>
8142
8143 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8144 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8145 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8146 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8147 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8148 Likewise.
8149
0b4366bc
W
81502014-06-03 Wilco <wdijkstr@arm.com>
8151
8152 * sysdeps/aarch64/fpu/math_private.h
8153 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
8154 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
8155 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
8156 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8157 Fix declarations.
8158
8747cd03
KS
81592014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8160
8161 * crypt/crypt-private.h: Include ufc-crypt.h.
8162 (__b64_from_24bit): Declare extern.
8163 * crypt/crypt_util.c(__b64_from_24bit): New function.
8164 (b64t): New static const variable.
8165 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8166 (b64t): Remove variable.
8167 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
8168 * crypt/sha256-crypt.c: Include crypt-private.h.
8169 (b64t): Remove variable.
8170 (__sha256_crypt_r): Remove b64_from_24bit and replace
8171 with __b64_from_24bit.
8172 * crypt/sha512-crypt.c: Likewise.
8173
d936d379
RM
81742014-06-02 Roland McGrath <roland@hack.frob.com>
8175
8176 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
8177 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
8178 Label the code __libc_vfork rather than __vfork.
8179 [!NOT_IN_libc] (vfork): Define as weak alias.
8180 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8181 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
8182 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
8183
9fa76613
SP
81842014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8185
8186 * malloc/malloc.c (malloc_info): Fix format specifier for
8187 n_mmaps.
8188
a88dadbe
W
81892014-06-02 Wilco <wdijkstr@arm.com>
8190
8191 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
8192 FPCR write.
8193
c95b3011
W
81942014-06-02 Wilco <wdijkstr@arm.com>
8195
8196 [BZ #17009]
8197 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
8198 Rewrite to reduce FPCR/FPSR accesses.
8199
6b4d7a90
DM
82002014-06-01 David S. Miller <davem@davemloft.net>
8201
8202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8203
30f3d07c
DM
82042014-05-31 David S. Miller <davem@davemloft.net>
8205
8206 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8207 to occur in round to nearest mode when |x| >= 2.0
8208
74f31c18
RH
82092014-05-30 Richard Henderson <rth@twiddle.net>
8210
f0712b54
RH
8211 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
8212 (PSEUDO_RET_NOERRNO): Remove.
8213 (ret): Don't redefine.
8214 (ret_NOERRNO): Define in terms of ret.
8215 (ret_ERRVAL): Likewise.
8216
74f31c18
RH
8217 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
8218 use of PSEUDO_RET; perform the error check directly.
8219
30477995
MM
82202014-05-30 Marko Myllynen <myllynen@redhat.com>
8221
8222 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
8223 with __int128_t.
8224
62a58816
SP
82252014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8226
8227 * malloc/malloc (malloc_info): Fix formatting.
8228
4d653a59
SP
82292014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8230 Roland McGrath <roland@hack.frob.com>
8231
8232 * malloc/malloc (malloc_info): Also print mmapped statistics.
8233
5190c17f
RM
82342014-05-30 Roland McGrath <roland@hack.frob.com>
8235
8236 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
8237 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
8238
987c0269
OB
82392014-05-30 Ondřej Bílka <neleai@seznam.cz>
8240
8241 * malloc/malloc.c (malloc_info): Inline mi_arena.
8242
af4e8ef9
RH
82432014-05-29 Richard Henderson <rth@twiddle.net>
8244
1670e207
RH
8245 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8246 Remove comma before expanding ASM_ARGS_##nr.
8247 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
8248 Make _x0 a strict output; make _x8 a strict input; adjust expansion
8249 of ASM_ARGS_##nr.
8250 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
8251 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
8252 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
8253 (ASM_ARGS_1): Add leading comma.
8254
11a28aee
RH
8255 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
8256 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
8257 to __errno_location.
8258 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
8259 Remove the expected plt for __errno_location.
8260
a17e5ffb 8261 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 8262 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
8263 call to __read_tp.
8264
b5be4597
RH
8265 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8266 Always allocate 64 bytes of stack frame. Use ldp/stp to create
8267 it and break it down.
8268 (DOCARGS_0, DOCARGS_1): Do nothing.
8269 (DOCARGS_2): Update to store into the new stack frame.
8270 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
8271 (UNDOCARGS_1): Update to restore from the new stack frame.
8272 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
8273 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
8274
645d44ab
RH
8275 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8276 (SINGLE_THREAD_P): New parameter for result regno.
8277 (PSEUDO): Update to match; use cbz instead of beq.
8278
a8b4f04a
RH
8279 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8280 Use ENTRY to define the _nocancel entry point. Share the syscall
8281 and syscall error check paths with the cancel path.
8282 (PSEUDO_END): New.
8283
af4e8ef9
RH
8284 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
8285 whitespace; tabs before and after asm mnemonics.
8286
26b0d2e1
EW
82872014-05-29 Eric Wong <normalperson@yhbt.net>
8288
8289 [BZ #15132]
8290 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8291 Call fstat64 or stat64 internally, depending on arguments passed.
8292 Replace stat buffer argument with file descriptor argument.
8293 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
8294 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8295 Pass fd to __internal_statvfs instead of calling fstat64.
8296 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
8297 Pass fd to __internal_statvfs64 instead of calling fstat64.
8298 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
8299 Pass -1 to __internal_statvfs instead of calling stat64.
8300 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
8301 Pass -1 to __internal_statvfs64 instead of calling stat64.
8302
1efe2bd9
RM
83032014-05-28 Roland McGrath <roland@hack.frob.com>
8304
0d3b7a19
RM
8305 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
8306 that was previously under [RESET_PID].
8307 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
8308
1efe2bd9
RM
8309 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
8310 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
8311
a6bea3ca
RM
83122014-05-27 Roland McGrath <roland@hack.frob.com>
8313
30b6629e
RM
8314 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
8315
a6bea3ca
RM
8316 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
8317 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
8318
3dfb9a5c
OB
83192014-05-27 Ondřej Bílka <neleai@seznam.cz>
8320
8321 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
8322
774f9285
AS
83232014-05-27 Andreas Schwab <schwab@suse.de>
8324
8325 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
8326 TLS_INIT_TP macro.
8327 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8328 * elf/rtld.c (init_tls, dl_main): Likewise.
8329 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
8330 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
8331 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
8332 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
8333 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
8334 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
8335 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
8336 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
8337 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
8338 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
8339 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
8340 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
8341 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
8342 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
8343 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
8344 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
8345 * sysdeps/generic/tls.h: Update description.
8346
36ffe739
WN
83472014-05-27 Will Newton <will.newton@linaro.org>
8348
8349 [BZ #16990]
8350 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
8351 and restore r2 rather than just restoring.
8352
2482ae43
SP
83532014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8354
8355 [BZ #16724]
8356 * libio/tst-ftell-append.c: New test case.
8357 * libio/Makefile (tests): Add test case.
8358 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
8359 append mode.
8360 * libio/wfileops.c (do_ftell_wide): Likewise.
8361
3d1024e8
AZ
83622014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8363
bab90016
AZ
8364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8365
c7a8d667
AZ
8366 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
8367 ...
8368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
8369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8370 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
8371 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
8372 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
8373 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
8374 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
8375 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
8376 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8377 Moved ...
8378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
8379 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8380 Moved ...
8381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
8382 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
8383 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
8384 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
8385 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
8386 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
8387 ...
8388 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
8389 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
8390 Moved ...
8391 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
8392 here.
8393 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
8394 ...
8395 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
8396 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
8397 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
8398
daee7851
AZ
8399 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
8400 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
8401 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
8402 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
8403
50a40819
AZ
8404 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
8405 merge into ...
8406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
8407 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
8408 ...
8409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
8410 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
8411 ...
8412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
8413 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8414 Moved ...
8415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
8416 here.
8417 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8418 Moved ...
8419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
8420 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8421 Moved ...
8422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
8423
8464c2a1
AZ
8424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
8425 conditional [RESET_PID].
8426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8427 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
8428 removed.
8429 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
8430 removed.
8431
3d1024e8
AZ
8432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
8433 <tcb-offsets.h>.
8434 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8435 (__libc_vfork): New strong alias.
8436 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
8437 removed.
8438 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
8439 Removed.
8440
8441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
8442 <tcb-offsets.h>.
8443 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
8444 (__libc_vfork): New strong alias.
8445 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
8446 removed.
8447 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
8448 removed.
8449
fdfd175d
CD
84502014-05-26 Carlos O'Donell <carlos@redhat.com>
8451
8452 * malloc/malloc.c (mi_arena): New function.
8453 (malloc_info): Remove nested function mi_arena. Call non-nosted
8454 function mi_arena.
8455
d298c416
AZ
84562014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8457
8458 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
8459 by insrwi.
8460 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
8461 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
8462 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
8463 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
8464 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
8465 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
8466 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
8467
b60ea6ff
AS
84682014-05-26 Andreas Schwab <schwab@suse.de>
8469
8470 [BZ #16984]
8471 * locale/programs/repertoire.c (repertoire_read): Add slash
8472 between I18NPATH element and file name.
8473 * locale/programs/locfile.c (locfile_read): Likewise.
8474
67365926
SL
84752014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8476
8477 * nptl/pthread_mutexattr_settype.c
8478 (__pthread_mutexattr_settype):
8479 Disable lock elision for PTHREAD_MUTEX_NORMAL.
8480
f8bdf1f0
SL
84812014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
8482
8483 * nptl/tst-mutex5 (do_test):
8484 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
8485
15eaf6ff
SP
84862014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8487
8488 * benchtests/README: Document 'init' directive.
8489 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
8490 BENCH_INIT.
8491 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
8492 (parse_file): Recognize 'init' directive.
8493
75f11331
KM
84942014-05-26 Kyle McMartin <kyle@redhat.com>
8495
8496 [BZ #16796]
8497 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
8498 alignment of struct pthread.
8499
c3ec475c
SP
85002014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8501
8502 [BZ #16878]
8503 * nscd/netgroupcache.c (addgetnetgrentX): Look for
8504 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8505 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
8506 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8507
82aab97c
RH
85082014-05-25 Richard Henderson <rth@twiddle.net>
8509
aa2f176d
RH
8510 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8511 (SINGLE_THREAD_P_PIC): Remove.
8512 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
8513 (SINGLE_THREAD_P_PIC): Remove.
8514
ca3cfa40
RH
8515 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
8516 branch to syscall error ...
8517 (PSEUDO): ... here.
8518 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
8519 from __local_syscall_error to .Lsyscall_error.
8520 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
8521 (SYSCALL_ERROR): Update label name.
8522
6e6c2d01
RH
8523 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8524 Do not use DOARGS/UNDOARGS.
8525 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
8526 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
8527 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
8528 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
8529 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
8530
c69abcee
RH
8531 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
8532 block comment.
8533
82aab97c
RH
8534 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
8535 define if !NOT_IN_libc.
8536 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
8537 define with non-default symbol versions.
8538
8820e3ac
RH
85392014-05-23 Richard Henderson <rth@twiddle.net>
8540
900e445f
RH
8541 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
8542 (vfork, __vfork): Define via compat_symbol.
8543
8820e3ac
RH
8544 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
8545 [!HAVE_IFUNC] (vfork_compat): Remove.
8546 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
8547
e59252a5
JM
85482014-05-23 Joseph Myers <joseph@codesourcery.com>
8549
8550 [BZ #16978]
8551 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
8552 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
8553 variable.
8554
132c7f5f
RH
85552014-05-23 Richard Henderson <rth@twiddle.net>
8556
bc89e962
RH
8557 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
8558 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
8559 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
8560 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
8561
8562 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
8563 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
8564 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
8565 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
8566 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
8567 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
8568 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
8569 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
8570 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
8571 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
8572 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
8573 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
8574 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
8575 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
8576 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
8577 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
8578 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
8579 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
8580 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
8581 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
8582 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
8583 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
8584 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
8585 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
8586 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
8587 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
8588 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
8589 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
8590 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
8591 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
8592 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
8593 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
8594 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
8595 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
8596 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
8597 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
8598 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
8599 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
8600 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
8601 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
8602 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
8603 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
8604 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
8605 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
8606 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
8607 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
8608 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
8609 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
8610 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
8611 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
8612 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
8613 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
8614 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
8615 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
8616 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
8617 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
8618
e2fa4bc2
RH
8619 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
8620 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
8621 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
8622 before exiting on error.
8623 (__libc_vfork): New strong alias.
8624 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
8625 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
8626
279b24e2
RH
8627 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
8628 that was previously under [RESET_PID].
8629 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
8630
132c7f5f
RH
8631 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
8632
b72592e7
JM
86332014-05-23 Joseph Myers <joseph@codesourcery.com>
8634
8635 [BZ #16977]
8636 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
8637 value when x - 1 is zero.
8638 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
8639 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
8640 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
8641 0.0L for an argument of 1.0L.
8642 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
8643 Likewise.
8644 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
8645 value when x - 1 is zero.
8646 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
8647 * sysdeps/i386/fpu/libm-test-ulps: Update.
8648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8649
2302d679
RV
86502014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
8651
8652 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
8653 alphasort and versionsort.
8654
32999d63
AZ
86552014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8656
8657 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
8658 macro.
8659 [copysignf]: Likewise.
8660
019324d0
SP
86612014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8662
8663 * crypt/md5-crypt.c: Fix formatting.
8664
34fff5c2
KS
86652014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8666
8667 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
8668 (b64_from_24bit): New function.
8669
3d2badac
AZ
86702014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8671
8672 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
8673 libc_hidden_builtin_def to ifunc.
8674 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8675 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
8676
f7bb179f 86772014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
8678
8679 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
8680 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
8681
4134b50d
JM
86822014-05-21 Joseph Myers <joseph@codesourcery.com>
8683
bb7d0337
JM
8684 * nscd/Depend (linuxthreads): Remove.
8685 (nptl): Add.
8686 * resolv/Depend (linuxthreads): Remove.
8687 * rt/Depend (linuxthreads): Remove.
8688
4134b50d
JM
8689 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
8690 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
8691 $(common-objpfx)elf/.
8692 (link-libc-before-gnulib): Likewise.
8693 (elfobjdir): Remove variable.
8694 * Makefile (install): Use $(elf-objpfx) instead of
8695 $(common-objpfx)elf/.
8696 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
8697 $(elfobjdir)/.
8698 (link-libc-deps): Likewise.
8699 ($(common-objpfx)libc.so): Likewise.
8700 ($(common-objpfx)linkobj/libc.so): Likewise.
8701 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
8702 instead of $(common-objpfx)elf/.
8703 (symbolic-link-list): Likewise.
8704 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8705 [$(cross-compiling) = no]: Likewise.
8706 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
8707 $(elfobjdir)/.
8708 (static-gnulib-arch): Likewise.
8709 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8710 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
8711 $(common-objpfx)elf/.
8712
3612eb8f
RH
87132014-05-21 Richard Henderson <rth@redhat.com>
8714
a6b3657b
RH
8715 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8716 (SINGLE_THREAD_P): Use the correct width load. Fold
8717 into the ldr offset.
8718
3612eb8f
RH
8719 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
8720 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
8721
175cef41
JM
87222014-05-20 Joseph Myers <joseph@codesourcery.com>
8723
8724 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
8725 (libgcc_s_resume): Use __attribute_used__.
8726 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
8727 Likewise.
8728
e13bccd3
AZ
87292014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8730
8731 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
8732 optimization when used with float constants.
8733
7c112a38
AZ
8734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8735
ae75a883
AJ
87362014-05-20 Aurelien Jarno <aurelien@aurel32.net>
8737
8738 [BZ #16915]
8739 * locale/nl_langinfo_l.c: Make direct reference to every
8740 _nl_current_CATEGORY symbol.
8741 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
8742 (tests-static): Add tst-langinfo-static.
8743 (tests-special): Add tst-langinfo-static.out.
8744 ($(objpfx)tst-langinfo.out): Redirect output.
8745 ($(objpfx)tst-langinfo-static.out): New.
8746 * localedata/tst-langinfo.sh: Send output to stdout.
8747 * localedata/tst-langinfo-static.c: New file.
8748
4406c41c
AJ
8749 [BZ #16965]
8750 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
8751 when the shift amount is modulo the limb size.
8752
4c0a1e63
RH
87532014-05-20 Richard Henderson <rth@redhat.com>
8754
de9d8f20
RH
8755 [BZ #16967]
8756 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
8757 Change type of sa_flags from unsigned int to int.
8758
4c0a1e63
RH
8759 [BZ #16966]
8760 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
8761
8762 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
8763
a60339aa
WN
87642014-05-20 Will Newton <will.newton@linaro.org>
8765
8766 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8767 Test the return value of the system call in the nocancel case.
8768
7d05a816
YR
87692014-05-20 Will Newton <will.newton@linaro.org>
8770 Yvan Roux <yvan.roux@linaro.org>
8771
8772 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
8773 #include of asm/ptrace.h.
8774 (PTRACE_GET_THREAD_AREA): Remove #undef.
8775 (PTRACE_GETHBPREGS): Likewise.
8776 (PTRACE_SETHBPREGS): Likewise.
8777 (struct user_regs_struct): New structure.
8778 (struct user_fpsimd_struct): New structure.
8779 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
8780 #include of asm/ptrace.h and second #include of sys/user.h.
8781 (PTRACE_GET_THREAD_AREA): Remove #undef.
8782 (PTRACE_GETHBPREGS): Likewise.
8783 (PTRACE_SETHBPREGS): Likewise.
8784 (ELF_NGREG): Use new struct user_regs_struct.
8785 (elf_fpregset_t): Use new struct user_fpsimd_struct.
8786
af121e37
AZ
87872014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8788
8789 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
8790 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
8791
834caf06
JM
87922014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
8793
8794 [BZ #16958]
8795 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
8796 membar to avoid block loads/stores to overlap previous stores.
8797
e184a918
RH
87982014-05-17 Richard Henderson <rth@redhat.com>
8799
8800 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
8801 Create the __##syscall_name##_nocancel entry point.
8802 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
8803 Remove; let the sysdep-cancel.h code create it.
8804
f56c7a6a
DM
88052014-05-17 David S. Miller <davem@davemloft.net>
8806
8807 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
8808 Protect with __USE_GNU.
8809 (TIOCSET_TEMPT): Likewise.
8810 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8811 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
8812 these are already provided in bits/ioctl-types.h
8813
f75616b2
RM
88142014-05-16 Roland McGrath <roland@hack.frob.com>
8815
3edeca86
RM
8816 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
8817 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
8818
f75616b2
RM
8819 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
8820 Use wait4 regardless of [__NR_waitpid].
8821
deb0f7f6
MR
88222014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8823
8824 PR libgcc/60166
8825 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8826 (_FP_NANSIGN_Q): Set the quiet bit.
8827
79520f4b
JM
88282014-05-16 Joseph Myers <joseph@codesourcery.com>
8829
8830 * benchtests/Makefile
8831 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
8832 not $(common-objpfx)math/libm.so.
8833 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
8834 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
8835 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
8836 $(common-objpfx)dlfcn/libdl.so.
8837 ($(objpfx)tst-audit8): Depend on $(libm), not
8838 $(common-objpfx)math/libm.so.
8839 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
8840 not $(common-objpfx)dlfcn/libdl.so.
8841 * math/Makefile
8842 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8843 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
8844 [$(build-shared) = yes].
8845 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
8846 $(common-objpfx)nptl/libpthread.so.
8847 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
8848 $(common-objpfx)math/libm.so$(libm.so-version) or
8849 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
8850 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
8851 $(common-objpfx)dlfcn/libdl.so.
8852 * setjmp/Makefile (link-libm): Remove variable.
8853 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
8854 * stdio-common/Makefile (link-libm): Remove variable.
8855 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
8856 * stdlib/Makefile (link-libm): Remove variable.
8857 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
8858 ($(objpfx)tst-strtod-round): Likewise.
8859 ($(objpfx)tst-tininess): Likewise.
8860 ($(objpfx)tst-strtod-underflow): Likewise.
8861 ($(objpfx)tst-strtod6): Likewise.
8862 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
8863 $(libdl), not $(common-objpfx)nptl/libpthread.so and
8864 $(common-objpfx)dlfcn/libdl.so.
8865
026b0fe4
AZ
88662014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8867
8868 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
8869 BSD terminal modes definitions.
8870
def4bcb2
RM
88712014-05-16 Roland McGrath <roland@hack.frob.com>
8872
fe39b021
RM
8873 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
8874 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
8875
1d1fc46e 8876 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
8877 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
8878 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
8879 Don't do #include_next.
8880 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
8881 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
8882 Don't do #include_next.
8883 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
8884 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
8885 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
8886 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
8887
c72399fb
AM
88882014-05-16 Allan McRae <allan@archlinux.org>
8889
d51d659d
AM
8890 * po/sv.po: Update Swedish translation from translation project.
8891
c72399fb
AM
8892 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
8893 in sed expression.
8894
d0583c40
AJ
88952014-05-16 Aurelien Jarno <aurelien@aurel32.net>
8896
8897 [BZ #16917]
8898 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
8899 errno if the TIOCGPTN ioctl fails with an error different than
8900 EINVAL.
8901 * login/tst-ptsname.c: New file.
8902 * login/Makefile (tests): Add tst-ptsname.
8903
d16e6ec7
AJ
8904 [BZ #16943]
8905 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
8906 and prlimit64.
8907
cf26a0cb
SP
89082014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8909
8910 [BZ #16849]
8911 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
8912 herrno to return EAI_AGAIN.
8913
5675da1e
RM
89142014-05-14 Roland McGrath <roland@hack.frob.com>
8915
a5d87b3d
RM
8916 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
8917 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
8918 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
8919 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
8920 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
8921 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
8922 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
8923 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
8924 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
8925 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
8926 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
8927 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
8928 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
8929 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
8930 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
8931 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
8932 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
8933 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
8934 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
8935 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
8936 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
8937 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
8938 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
8939 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
8940 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
8941 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
8942 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
8943 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
8944 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
8945 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
8946 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
8947 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
8948 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
8949 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
8950 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8951 Moved ...
8952 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
8953 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
8954 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
8955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
8956 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
8957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
8958 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
8959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
8960 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
8961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
8962 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
8963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
8964 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
8965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
8966 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
8967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
8968 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
8969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
8970 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
8971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
8972 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
8973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
8974 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
8975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
8976 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
8977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
8978 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
8979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8980 Moved ...
8981 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8983 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8985 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8987 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8989 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8991 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8993 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8995 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8997 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8999 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
9000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9001 Moved ...
9002 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
9003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
9004 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
9005
039890a6
RM
9006 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
9007 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
9008 (libpthread-sysdep_routines): Add elision-related stuff here instead.
9009 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
9010 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
9011 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
9012 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
9013 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
9014 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
9015 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
9016 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
9017 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
9018 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
9019 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
9020 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
9021 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
9022 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
9023 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
9024 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
9025 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
9026 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
9027 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
9028 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
9029 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
9030 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
9031 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
9032 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
9033 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
9034 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
9035 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
9036 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
9037
65c89320
RM
9038 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
9039 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
9040
348f8e8c
RM
9041 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
9042 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
9043 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
9044 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
9045 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9046 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9047 Moved ...
9048 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9049 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9050 Moved ...
9051 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
9052 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9053 Moved ...
9054 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
9055 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
9056 Moved ...
9057 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
9058 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
9059 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
9060 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9061 Moved ...
9062 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
9063 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
9064 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
9065 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
9066 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
9067 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
9068 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
9069 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9070 Moved ...
9071 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
9072 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9073 Moved ...
9074 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9075 ... here.
9076 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
9077 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
9078 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
9079 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
9080 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9081 Moved ...
9082 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9083 ... here.
9084 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
9085 Moved ...
9086 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9087 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9088 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9089 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9090 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9091 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9092 Moved ...
9093 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9094 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9095 Moved ...
9096 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9097 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9098 Moved ...
9099 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9100 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9101 Moved ...
9102 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9103 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9104 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9105 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9106 Moved ...
9107 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9108 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9109 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9110 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9111 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9112 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9113 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9114 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9115 Moved ...
9116 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9117 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9118 Moved ...
9119 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9120 ... here.
9121 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9122 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9123 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9124 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9125 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9126 Moved ...
9127 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9128 ... here.
9129 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9130 Moved ...
9131 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9132 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9133 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9134 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9135 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9136 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9137 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9138 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9139 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9140 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9141 Moved ...
9142 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9143 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9144 Moved ...
9145 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9146 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9147 Moved ...
9148 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9149 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9150 Moved ...
9151 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9152 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
9153 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
9154 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
9155 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
9156 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9157 Moved ...
9158 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
9159 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
9160 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
9161 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
9162 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
9163 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
9164 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
9165 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9166 Moved ...
9167 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
9168 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9169 Moved ...
9170 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9171 ... here.
9172 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
9173 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
9174 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
9175 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
9176 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9177 Moved ...
9178 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9179 ... here.
9180 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
9181 Moved ...
9182 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
9183 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
9184 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
9185 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
9186 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
9187 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
9188 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
9189 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
9190 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
9191 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
9192 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
9193
5085af05
RM
9194 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
9195 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
9196
708f0813
RM
9197 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
9198 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
9199
c96067bc
RM
9200 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
9201 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
9202 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9203 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
9204 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
9205 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
9206 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
9207 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
9208 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
9209 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
9210 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
9211 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
9212 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
9213 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
9214 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
9215 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
9216 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
9217 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
9218 Moved ...
9219 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
9220 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
9221 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
9222 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
9223 Moved ...
9224 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
9225 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
9226 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
9227 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
9228 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
9229 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
9230 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
9231 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
9232 Moved ...
9233 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
9234 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
9235 Moved ...
9236 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
9237 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
9238 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
9239 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
9240 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
9241 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
9242 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
9243 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
9244 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
9245 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
9246 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
9247 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
9248 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
9249 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
9250 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
9251 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
9252 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
9253
ec136444
RM
9254 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
9255 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
9256 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
9257 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
9258 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
9259
2fbdf533
RM
9260 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
9261 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
9262 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
9263 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
9264 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
9265 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
9266 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
9267 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
9268 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
9269 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
9270
4c68138b
RM
9271 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
9272 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
9273
4eaae765
RM
9274 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
9275 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
9276 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
9277 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
9278 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
9279 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
9280 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
9281 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
9282 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
9283 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
9284 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
9285 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
9286 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
9287 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
9288 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
9289 Update #include.
9290 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
9291 Likewise.
9292 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9293 Likewise.
9294 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9295 Likewise.
9296 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9297 Likewise.
9298 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
9299 Likewise.
9300 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
9301 Likewise.
9302 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9303 Likewise.
9304 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
9305 Likewise.
9306 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
9307 Likewise.
4ef6befa
RM
9308 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
9309 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
9310 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
9311 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
9312 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
9313 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
9314 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
9315 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
9316 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
9317 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
9318 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
9319 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
9320 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
9321 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
9322 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 9323
941d7dfd
RM
9324 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
9325 that was previously under [RESET_PID].
9326 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9327 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
9328 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
9329
1b731c35
RM
9330 * sysdeps/i386/nptl/Implies: New file.
9331 * sysdeps/x86_64/nptl/Implies: New file.
9332 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
9333 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
9334 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
9335 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
9336
e2787137
RM
9337 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
9338 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9339 (__libc_vfork): New strong alias.
9340 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
9341 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
9342
9343 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
9344 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9345 (__libc_vfork): New strong alias.
9346 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
9347 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
9348
5675da1e
RM
9349 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
9350 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9351 (__libc_vfork): New strong alias.
9352 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
9353 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
9354 * nptl/pt-vfork.c: New file.
9355 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
9356 (libpthread: GLIBC_2.20): New version set (empty).
9357
4f02e2b8
WN
93582014-05-14 Will Newton <will.newton@linaro.org>
9359
9360 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
9361 rather than #if.
9362
0bf061d3
JM
93632014-05-14 Joseph Myers <joseph@codesourcery.com>
9364
1a84c3d6
JM
9365 [BZ #16564]
9366 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
9367 arguments with exponent 65 or above.
9368 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
9369 arguments 0x1p113L or above.
9370 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
9371 to arguments 0x1p107L or above.
9372 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
9373 positive arguments with exponent 65 or above.
9374 * math/auto-libm-test-in: Add more tests of log1p.
9375 * math/auto-libm-test-out: Regenerated.
9376
01dbacd2
JM
9377 [BZ #16928]
9378 * math/s_cacos.c (__cacos): Ensure zero real part of result from
9379 non-finite arguments is +0.
9380 * math/s_cacosf.c (__cacosf): Likewise.
9381 * math/s_cacosl.c (__cacosl): Likewise.
9382 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
9383 * sysdeps/i386/fpu/libm-test-ulps: Update.
9384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9385
913d03c8
JM
9386 [BZ #16927]
9387 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
9388 value.
9389 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9390 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
9391 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
9392 for explicit high bit of mantissa when testing for argument equal
9393 to 1.
9394 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
9395 * sysdeps/i386/fpu/libm-test-ulps: Update.
9396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9397
0bf061d3
JM
9398 [BZ #16516]
9399 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
9400 (__erf): Scale by 16 instead of 8 in potentially underflowing
9401 case. Ensure exception if result actually underflows.
9402 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
9403 (__erff): Scale by 16 instead of 8 in potentially underflowing
9404 case. Ensure exception if result actually underflows.
9405 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
9406 (efx8): Remove variable.
9407 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9408 case. Ensure exception if result actually underflows.
9409 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
9410 (efx8): Remove variable.
9411 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9412 case. Ensure exception if result actually underflows.
9413 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
9414 (efx8): Remove variable.
9415 (__erfl): Scale by 16 instead of 8 in potentially underflowing
9416 case. Ensure exception if result actually underflows.
9417 * math/auto-libm-test-in: Add more tests of erf.
9418 * math/auto-libm-test-out: Regenerated.
9419
73ba67cb
AS
94202014-05-14 Andreas Schwab <schwab@suse.de>
9421
3d8c8bff
AS
9422 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
9423 Remove code conditionalized on USE___THREAD.
9424
73ba67cb
AS
9425 * config.h.in (HAVE_PT_CHOWN): Define as 0.
9426 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
9427 not definedness.
9428
5c521ecd
JM
94292014-05-14 Joseph Myers <joseph@codesourcery.com>
9430
5e7698c6
JM
9431 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
9432 Define unconditionally.
9433 (__ASSUME_O_CLOEXEC): Likewise.
9434 (__ASSUME_SOCK_CLOEXEC): Likewise.
9435 (__ASSUME_IN_NONBLOCK): Likewise.
9436 (__ASSUME_PIPE2): Likewise.
9437 (__ASSUME_EVENTFD2): Likewise.
9438 (__ASSUME_SIGNALFD4): Likewise.
9439 (__ASSUME_DUP3): Likewise.
9440 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9441 (__ASSUME_DUP3): Do not define.
9442 (__ASSUME_EVENTFD2): Likewise.
9443 (__ASSUME_IN_NONBLOCK): Likewise.
9444 (__ASSUME_O_CLOEXEC): Likewise.
9445 (__ASSUME_PIPE2): Likewise.
9446 (__ASSUME_SIGNALFD4): Likewise.
9447 (__ASSUME_SOCK_CLOEXEC): Likewise.
9448 (__ASSUME_UTIMES): Undefine.
9449 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9450 (__ASSUME_UTIMES): Do not define.
9451 (__ASSUME_O_CLOEXEC): Likewise.
9452 (__ASSUME_SOCK_CLOEXEC): Likewise.
9453 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
9454 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
9455 0x020621].
9456 (__ASSUME_PIPE2): Likewise.
9457 (__ASSUME_EVENTFD2): Likewise.
9458 (__ASSUME_SIGNALFD4): Likewise.
9459 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
9460 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
9461 Do not define.
9462 (__ASSUME_EVENTFD2): Likewise.
9463 (__ASSUME_SIGNALFD4): Likewise.
9464 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9465 (__ASSUME_32BITUIDS): Likewise.
9466 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9467 (__ASSUME_IPC64): Likewise.
9468 (__ASSUME_ST_INO_64_BIT): Likewise.
9469 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
9470 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
9471 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9472 (__ASSUME_UTIMES): Do not define.
9473 (__ASSUME_PSELECT): Likewise.
9474 (__ASSUME_PPOLL): Likewise.
9475 (__ASSUME_O_CLOEXEC): Likewise.
9476 (__ASSUME_SOCK_CLOEXEC): Likewise.
9477 (__ASSUME_IN_NONBLOCK): Likewise.
9478 (__ASSUME_PIPE2): Likewise.
9479 (__ASSUME_EVENTFD2): Likewise.
9480 (__ASSUME_SIGNALFD4): Likewise.
9481 (__ASSUME_DUP3): Likewise.
9482 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9483 (__ASSUME_UTIMES): Likewise.
9484 (__ASSUME_O_CLOEXEC): Likewise.
9485 (__ASSUME_SOCK_CLOEXEC): Likewise.
9486 (__ASSUME_IN_NONBLOCK): Likewise.
9487 (__ASSUME_PIPE2): Likewise.
9488 (__ASSUME_EVENTFD2): Likewise.
9489 (__ASSUME_SIGNALFD4): Likewise.
9490 (__ASSUME_DUP3): Likewise.
9491 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9492 (__ASSUME_UTIMES): Likewise.
9493 (__ASSUME_O_CLOEXEC): Likewise.
9494 (__ASSUME_SOCK_CLOEXEC): Likewise.
9495 (__ASSUME_IN_NONBLOCK): Likewise.
9496 (__ASSUME_PIPE2): Likewise.
9497 (__ASSUME_EVENTFD2): Likewise.
9498 (__ASSUME_SIGNALFD4): Likewise.
9499 (__ASSUME_DUP3): Likewise.
9500 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
9501 Likewise.
9502 (__ASSUME_UTIMES): Likewise.
9503 (__ASSUME_EVENTFD2): Likewise.
9504 (__ASSUME_SIGNALFD4): Likewise.
9505 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9506 (__ASSUME_O_CLOEXEC): Likewise.
9507 (__ASSUME_SOCK_CLOEXEC): Likewise.
9508 (__ASSUME_IN_NONBLOCK): Likewise.
9509 (__ASSUME_PIPE2): Likewise.
9510 (__ASSUME_EVENTFD2): Likewise.
9511 (__ASSUME_SIGNALFD4): Likewise.
9512 (__ASSUME_DUP3): Likewise.
9513 (__ASSUME_UTIMES): Undefine.
9514
5c521ecd
JM
9515 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
9516 feclearexcept. Remove symbol versioning code.
9517 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
9518 symbol versioning code.
9519 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
9520 symbol versioning code.
9521 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
9522 feupdateenv. Remove symbol versioning code.
9523 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
9524 fegetexceptflag. Remove symbol versioning code.
9525 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
9526 fesetexceptflag. Remove symbol versioning code.
9527 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
9528 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
9529 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
9530 (__posix_fadvise64_l32): Remove prototype.
9531 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
9532 code.
9533
5da9dfad
RM
95342014-05-13 Roland McGrath <roland@hack.frob.com>
9535
9536 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
9537 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
9538 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
9539 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
9540
893b4f37
SK
95412014-05-13 Sami Kerola <kerolasa@iki.fi>
9542
9543 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
9544 current working directory
9545
e0db6517
RM
95462014-05-13 Roland McGrath <roland@hack.frob.com>
9547
58aa195d
RM
9548 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
9549 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
9550 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
9551 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
9552 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
9553 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
9554 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
9555 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
9556 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
9557 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
9558 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
9559 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
9560 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
9561 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
9562 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
9563 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
9564 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
9565 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
9566 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
9567 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
9568 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
9569 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
9570 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
9571 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
9572 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
9573 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
9574 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
9575 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
9576 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
9577 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
9578 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
9579 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
9580 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
9581 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
9582 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
9583 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
9584 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
9585 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
9586 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
9587 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
9588 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
9589 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
9590
8c6d01f0
RM
9591 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
9592 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
9593
9594 * sysdeps/unix/sysv/linux/arm/Makefile
9595 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9596 Add rt-aeabi_unwind_cpp_pr1.
9597 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
9598 Add nptl-aeabi_unwind_cpp_pr1.
9599 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
9600 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
9601 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
9602 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9603 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
9604 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9605
9606 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
9607 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
9608 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
9609 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
9610
bba6da4e
RM
9611 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
9612 Deconditionalize the code that was previously under [RESET_PID].
9613 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
9614
e0db6517
RM
9615 * sysdeps/generic/exit-thread.h: New file.
9616 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
9617 * include/unistd.h (__exit_thread): Remove declaration.
9618 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
9619 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
9620 * csu/libc-start.c: Include <exit-thread.h>.
9621 (LIBC_START_MAIN): Pass no argument to __exit_thread.
9622 * nptl/pthread_create.c: Include <exit-thread.h>.
9623 (start_thread): Call __exit_thread in place of __exit_thread_inline.
9624 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
9625 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
9626 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
9627 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
9628 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
9629 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
9630 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
9631 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
9632 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
9633 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
9634 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
9635 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
9636 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
9637 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
9638 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
9639 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
9640
01eb16fd
AS
96412014-05-13 Andreas Schwab <schwab@suse.de>
9642
9643 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
9644
637461d9
JM
96452014-05-12 Joseph Myers <joseph@codesourcery.com>
9646
9647 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9648 (__ASSUME_UTIMES): Do not condition on kernel version.
9649 (__ASSUME_PSELECT): Define unconditionally.
9650 (__ASSUME_PPOLL): Likewise.
9651 (__ASSUME_ATFCTS): Likewise.
9652 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
9653 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
9654 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
9655 (__ASSUME_UTIMENSAT): Define unconditionally.
9656 (__ASSUME_PRIVATE_FUTEX): Likewise.
9657 (__ASSUME_FALLOCATE): Likewise.
9658 (__ASSUME_O_CLOEXEC): Likewise.
9659 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
9660 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
9661 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
9662 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
9663 (__ASSUME_IN_NONBLOCK): Likewise.
9664 (__ASSUME_PIPE2): Likewise.
9665 (__ASSUME_EVENTFD2): Likewise.
9666 (__ASSUME_SIGNALFD4): Likewise.
9667 (__ASSUME_DUP3): Likewise.
9668 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9669 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
9670 (__ASSUME_AT_RANDOM): Likewise.
9671 (__ASSUME_PREADV): Likewise.
9672 (__ASSUME_PWRITEV): Likewise.
9673 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
9674 (__ASSUME_F_GETOWN_EX): Define unconditionally.
9675 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
9676 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9677 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
9678 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9679 (__ASSUME_O_CLOEXEC): Define unconditionally.
9680 (__ASSUME_PSELECT): Do not undefine conditionally.
9681 (__ASSUME_PPOLL): Likewise.
9682 (__ASSUME_ATFCTS): Likewise.
9683 (__ASSUME_SET_ROBUST_LIST): Likewise.
9684 (__ASSUME_UTIMENSAT): Likewise.
9685 (__ASSUME_FDATASYNC): Define unconditionally.
9686 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9687 (__ASSUME_SIGFRAME_V2): Likewise.
9688 )__ASSUME_EVENTFD2): Likewise.
9689 (__ASSUME_SIGNALFD4): Likewise.
9690 (__ASSUME_PSELECT): Do not undefine conditionally.
9691 (__ASSUME_PPOLL): Likewise.
9692 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9693 (__ASSUME_PSELECT): Define unconditionally.
9694 (__ASSUME_PPOLL): Likewise.
9695 (__ASSUME_O_CLOEXEC): Likewise.
9696 (__ASSUME_SOCK_CLOEXEC): Likewise.
9697 (__ASSUME_IN_NONBLOCK): Likewise.
9698 (__ASSUME_PIPE2): Likewise.
9699 (__ASSUME_EVENTFD2): Likewise.
9700 (__ASSUME_SIGNALFD4): Likewise.
9701 (__ASSUME_DUP3): Likewise.
9702 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9703 (__ASSUME_O_CLOEXEC): Likewise.
9704 (__ASSUME_SOCK_CLOEXEC): Likewise.
9705 (__ASSUME_IN_NONBLOCK): Likewise.
9706 (__ASSUME_PIPE2): Likewise.
9707 (__ASSUME_EVENTFD2): Likewise.
9708 (__ASSUME_SIGNALFD4): Likewise.
9709 (__ASSUME_DUP3): Likewise.
9710 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9711 (__ASSUME_EVENTFD2): Likewise.
9712 (__ASSUME_SIGNALFD4): Likewise.
9713 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9714
315eb1d8
AS
97152014-05-12 Andreas Schwab <schwab@suse.de>
9716
9717 [BZ #16932]
9718 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
9719 (_nss_nis_gethostbyname4_r): Return error if item length is larger
9720 than maximum RPC packet size.
9721 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
9722 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
9723 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
9724 (_nss_nis_getservbyport_r): Likewise.
9725
91df99f7
WN
97262014-05-12 Will Newton <will.newton@linaro.org>
9727
9728 * malloc/Makefile (tests): Add tst-mallopt.
9729 * malloc/tst-mallopt.c: New file.
9730
0a982a29
RM
97312014-05-09 Roland McGrath <roland@hack.frob.com>
9732
9733 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
9734 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
9735
0ded08a5
AZ
97362014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9737
9738 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
9739 (tst-tlsmod6.so): Likewise.
9740
55d4d550
RM
97412014-05-09 Roland McGrath <roland@hack.frob.com>
9742
9743 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
9744
77d08aca
JM
97452014-05-09 Joseph Myers <joseph@codesourcery.com>
9746
9747 [BZ #16064]
9748 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
9749 and <dl-procinfo.h>.
9750 (__fegetenv): Save SSE state in envp->__eip if supported.
9751 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
9752 envp->__eip if supported.
9753 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
9754 and <dl-procinfo.h>.
9755 (__fesetenv): Always set __eip, __cs_selector, __opcode,
9756 __data_offset and __data_selector in environment to 0. Set SSE
9757 state if supported.
9758 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9759 test-fenv-sse.
9760 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
9761 -mfpmath=sse.
9762 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
9763
28162f4d
WN
97642014-05-09 Will Newton <will.newton@linaro.org>
9765
9766 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
9767 and libc_relro_required for ARM.
9768 * sysdeps/arm/preconfigure: Regenerate.
9769
5a414ff7
DV
97702014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
9771 Stefan Liebler <stli@linux.vnet.ibm.com>
9772
9773 * config.make.in (enable-lock-elision): New Makefile variable.
9774 * configure.ac: Likewise.
9775 * configure: Regenerate.
9776 * sysdeps/s390/configure.ac:
9777 Add check for gcc transactions support.
9778 * sysdeps/s390/configure: Regenerate.
9779 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
9780 Build elision files if enabled.
9781 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
9782 Add lock elision support for s390.
9783 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
9784 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
9785 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
9786 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9787 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9788 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
9789 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9790 Likewise.
9791 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
9792 Likewise.
9793 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
9794 Likewise.
9795 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
9796 Likewise.
9797 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
9798 (__lll_timedlock_elision, __lll_lock_elision)
9799 (__lll_unlock_elision, __lll_trylock_elision)
9800 (lll_timedlock_elision, lll_lock_elision)
9801 (lll_unlock_elision, lll_trylock_elision): Add.
9802 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9803 (pthread_mutex_t): Add lock elision support for s390.
9804
1a2f40e5
W
98052014-05-14 Wilco <wdijkstr@arm.com>
9806
9807 * sysdeps/arm/fclrexcpt.c: Cleanup.
9808 * sysdeps/arm/fedisblxcpt.c: Cleanup.
9809 * sysdeps/arm/feenablxcpt.c: Cleanup.
9810 * sysdeps/arm/fegetenv.c: Cleanup.
9811 * sysdeps/arm/fegetexcept.c: Cleanup.
9812 * sysdeps/arm/fegetround.c: Cleanup.
9813 * sysdeps/arm/feholdexcpt.c: Cleanup.
9814 * sysdeps/arm/fesetenv.c: Cleanup.
9815 * sysdeps/arm/fesetround.c: Cleanup.
9816 * sysdeps/arm/feupdateenv.c: Cleanup.
9817 * sysdeps/arm/fgetexcptflg.c: Cleanup.
9818 * sysdeps/arm/fraiseexcpt.c: Cleanup.
9819 * sysdeps/arm/fsetexcptflg.c: Cleanup.
9820 * sysdeps/arm/ftestexcept.c: Cleanup.
9821 * sysdeps/arm/get-rounding-mode.h: Cleanup.
9822 * sysdeps/arm/setfpucw.c: Cleanup.
9823
f63c86fe
WN
98242014-05-09 Will Newton <will.newton@linaro.org>
9825
9826 * sysdeps/arm/armv7/strcmp.S: New file.
9827 * NEWS: Mention addition of ARMv7 optimized strcmp.
9828
7a1a51b5
RM
98292014-05-08 Roland McGrath <roland@hack.frob.com>
9830
95afbbe5
RM
9831 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
9832 look for %.ac rather than %.in.
9833
9834 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
9835 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
9836 * sysdeps/mach/hurd/configure: Regenerated.
9837 * sysdeps/unix/sysv/linux/configure: Regenerated.
9838
7a1a51b5
RM
9839 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
9840
5057ad3b
SE
98412014-05-07 Steve Ellcey <sellcey@mips.com>
9842
9843 [BZ# 16922]
9844 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
9845 (LONG_SUB): Ditto.
9846 (PTR_SUB): Ditto.
9847
8dc97517
AS
98482014-05-07 Andreas Schwab <schwab@suse.de>
9849
9850 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
9851 when skipping over non-matching result from nscd.
9852
ce0c5b8f
OB
98532014-05-07 Ondřej Bílka <neleai@seznam.cz>
9854
9855 [BZ #16876]
9856 * nptl/sockperf.c (client): Check socket return value.
8dc97517 9857
a1189263
OB
9858 [BZ #16877]
9859 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
9860 nscd security class.
ce0c5b8f 9861
0f58d252
RM
98622014-05-06 Roland McGrath <roland@hack.frob.com>
9863
9864 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
9865 * sysdeps/arm/unwind.h: ... here.
9866
83df9ad0
AJ
98672014-05-06 Aurelien Jarno <aurelien@aurel32.net>
9868
ce0c5b8f
OB
9869 [BZ# 16916]
9870 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
9871 Define.
83df9ad0 9872
f360f94a
VR
98732014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9874
9875 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
9876 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
9877 multiarch strncpy for PPC64.
9878 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
9879 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
9880 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
9881 multiarch optimizations.
9882 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9883 (__libc_ifunc_impl_list): Likewise.
9884 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
9885 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
9886 multiarch stpncpy for PPC64.
9887 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
9888 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
9889
978a41c3
AS
98902014-05-06 Andreas Schwab <schwab@suse.de>
9891
9892 [BZ #16912]
9893 * gmon/mcount.c (_MCOUNT_DECL): Use
9894 atomic_compare_and_exchange_bool_acq instead of
9895 catomic_compare_and_exchange_bool_acq.
9896
eb1ed03d
RM
98972014-05-05 Roland McGrath <roland@hack.frob.com>
9898
fe658845
RM
9899 * elf/Makefile (others, install-bin): Remove pldd.
9900 (pldd-modules): Variable removed.
9901 ($(objpfx)pldd): Target removed.
9902 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
9903 (others, install-bin): Append pldd here.
9904 ($(objpfx)pldd): New target.
9905
eb1ed03d
RM
9906 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
9907 to 0, so the first #if test emitted later doesn't see it undefined.
9908 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
9909 * sysdeps/gnu/errlist.c: Regenerated.
9910
19c4bec0
AZ
99112014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9912
9913 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9914 [libc_hidden_builtin_def]: Define to empty value.
9915 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
9916 [libc_hidden_builtin_def]: Likewise.
9917 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
9918 [libc_hidden_builtin_def]: Likewise.
9919 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
9920 [libc_hidden_builtin_def]: Likewise.
9921 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
9922 __redirect_memcpy and define ifunc as default hidden symbol.
9923 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
9924 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
9925
7776e669
AC
99262014-05-04 Adam Conrad <adconrad@0c3.net>
9927
9928 * locale/iso-4217.def: Reintroduce XDR currency.
9929
d69aeb12
AM
99302014-05-04 Allan McRae <allan@archlinux.org>
9931
9932 * po/eo.po: Update Esperanto translation from translation project.
9933
8f1df5cf
CD
99342014-05-02 Carlos O'Donell <carlos@redhat.com>
9935
9936 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
9937 and FEATURE_INDEX_MAX to 1.
9938 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
9939
13e402e7
SE
99402014-05-01 Steve Ellcey <sellcey@mips.com>
9941
9942 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
9943 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
9944 * iconvdata/big5.c (ONE_DIRECTION): Define.
9945 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
9946 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
9947 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
9948 * iconvdata/cp932.c (ONE_DIRECTION): Define.
9949 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
9950 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
9951 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
9952 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
9953 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
9954 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
9955 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
9956 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
9957 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
9958 * iconvdata/gbk.c (ONE_DIRECTION): Define.
9959 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
9960 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
9961 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
9962 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
9963 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
9964 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
9965 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
9966 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
9967 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
9968 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
9969 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
9970 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
9971 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
9972 * iconvdata/iso646.c (ONE_DIRECTION): Define.
9973 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
9974 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
9975 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
9976 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
9977 * iconvdata/johab.c (ONE_DIRECTION): Define.
9978 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
9979 * iconvdata/sjis.c (ONE_DIRECTION): Define.
9980 * iconvdata/t.61.c (ONE_DIRECTION): Define.
9981 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9982 * iconvdata/tscii.c (ONE_DIRECTION): Define.
9983 * iconvdata/uhc.c (ONE_DIRECTION): Define.
9984 * iconvdata/unicode.c (ONE_DIRECTION): Define.
9985 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9986 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9987 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9988
c727f032
RM
99892014-05-01 Roland McGrath <roland@hack.frob.com>
9990
8f2f08d0
RM
9991 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9992 (_IO_JUMPS_OFFSET): Define to 0.
9993
c727f032
RM
9994 * nptl/sysdeps/pthread/bits/libc-lock.h
9995 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9996 (__libc_lock_define_initialized_recursive): Always define using
9997 initializer. Modern compilers treat uninitialized (implicit zero) and
9998 explicit zero initializers the same (i.e. put the datum in bss).
9999
a849e800
AS
100002014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10001
10002 * nscd/nscd-client.h: Include <string.h>.
10003
5331255b
DM
100042014-05-01 David S. Miller <davem@davemloft.net>
10005
10006 [BZ #16885]
10007 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
10008 multiple zero bytes exist at the end of a string.
10009 Reported by Aurelien Jarno <aurelien@aurel32.net>
10010
10011 * string/test-strcmp.c (check): Add explicit test for situations where
10012 there are multiple zero bytes after the first.
10013
4fdfe821
AS
100142014-05-01 Andreas Schwab <schwab@linux-m68k.org>
10015
10016 [BZ #16890]
10017 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
10018 when compiling wprintf.
10019 * stdio-common/tstdiomisc.c (t3): New function.
10020 (main): Call it.
10021
0cdddc25
SE
100222014-05-01 Steve Ellcey <sellcey@mips.com>
10023
10024 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
10025 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
10026 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
10027 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
10028
6426d77e
SE
100292014-05-01 Steve Ellcey <sellcey@mips.com>
10030
10031 * stdlib/longlong.h: Updated from GCC.
10032
6d96f5e4
WN
100332014-05-01 Will Newton <will.newton@linaro.org>
10034 Bernard Ogden <bernie.ogden@linaro.org>
10035
7470db0c
WN
10036 * NEWS: Update fixed bug list.
10037
6d96f5e4
WN
10038 [BZ #15119]
10039 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
10040
211d653c
DM
100412014-04-30 David S. Miller <davem@davemloft.net>
10042
4fa262fa
DM
10043 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
10044 (libc_feholdexcept_setround_sparc_ctx): New function.
10045 (libc_fesetenv_sparc_ctx): Likewise.
10046 (libc_feupdateenv_sparc_ctx): Likewise.
10047 (libc_feholdsetround_sparc_ctx): Likewise.
10048 (libc_feholdexcept_setround_ctx): Define.
10049 (libc_feholdexcept_setroundf_ctx): Likewise.
10050 (libc_feholdexcept_setroundl_ctx): Likewise.
10051 (libc_fesetenv_ctx): Likewise.
10052 (libc_fesetenvf_ctx): Likewise.
10053 (libc_fesetenvl_ctx): Likewise.
10054 (libc_feupdateenv_ctx): Likewise.
10055 (libc_feupdateenvf_ctx): Likewise.
10056 (libc_feupdateenvl_ctx): Likewise.
10057 (libc_feresetround_ctx): Likewise.
10058 (libc_feresetroundf_ctx): Likewise.
10059 (libc_feresetroundl_ctx): Likewise.
10060 (libc_feholdsetround_ctx): Likewise.
10061 (libc_feholdsetroundf_ctx): Likewise.
10062 (libc_feholdsetroundl_ctx): Likewise.
10063
1d3d93ef
DM
10064 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10065 with __USE_GNU instead of XOPEN cpp guards.
10066
8aa583c3
DM
10067 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
10068 0.
10069
211d653c
DM
10070 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10071 with XOPEN cpp guards.
10072
60c8f1f6
JB
100732014-04-30 Julian Brown <julian@codesourcery.com>
10074
10075 [BZ #16888]
10076 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10077 handling.
10078
9a461d46
JM
100792014-04-30 Joseph Myers <joseph@codesourcery.com>
10080
d0f5b3f8
JM
10081 [BZ #9894]
10082 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10083 Change to 2.6.32.
10084 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
10085 * sysdeps/unix/sysv/linux/configure: Regenerated.
10086 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10087 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10088 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10089 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10090 * README: Update reference to required Linux kernel version.
10091 * manual/install.texi (Linux): Update reference to required Linux
10092 kernel headers version.
10093 * INSTALL: Regenerated.
10094
9a461d46
JM
10095 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10096 header inclusion.
10097 [POSIX] (limits.h): Likewise.
10098 [POSIX] (math.h): Likewise.
10099 [POSIX] (sys/wait.h): Likewise.
10100 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10101 function.
10102 [POSIX] (stddef.h): Do not allow header inclusion.
10103
1775babf
AZ
101042014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10105
57f41c40 10106 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 10107
8f630cca
YY
101082014-04-30 Yang Yingliang <yangyingliang@huawei.com>
10109
10110 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10111 Return immediately after lll_futex_wake.
10112
1cdeb237
SP
101132014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10114
bc8f194c
SP
10115 [BZ #16791]
10116 * nscd/nscd-client.h (datahead_init_common): Initialize entire
10117 structure.
10118 (datahead_init_pos): Call datahead_init_common early.
10119 (datahead_init_neg): Likewise.
10120
1cdeb237
SP
10121 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10122 datahead_init_neg): New functions.
10123 * nscd/aicache.c (addhstaiX): Use them.
10124 * nscd/grpcache.c (cache_addgr): Likewise.
10125 * nscd/hstcache.c (cache_addhst): Likewise.
10126 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10127 * nscd/netgroupcache.c (do_notfound): Likewise.
10128 (addgetnetgrentX): Likewise.
10129 (addinnetgrX): Likewise.
10130 * nscd/pwdcache.c (cache_addpw): Likewise.
10131 * nscd/servicescache.c (cache_addserv): Likewise.
10132
16b293a7
SP
101332014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10134 Atsushi Onoe <atsushi@onoe.org>
10135
10136 [BZ #14308]
10137 [BZ #12994]
10138 [BZ #13651]
10139 * resolv/res_query.c (__libc_res_nsearch): Return if at least
10140 one response is valid.
10141 * resolv/res_send.c (send_dg): Check for validity of other
10142 response if the current response is a referral.
10143
a28a9b94
SE
101442014-04-29 Steve Ellcey <sellcey@mips.com>
10145
10146 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10147
2ca180e9
SL
101482014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
10149
10150 [BZ #16823]
10151 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10152 Always divide by positive zero when computing -Inf result.
10153 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10154 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10155
18f2945a
AZ
101562014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10157
10158 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
10159 FPSCR if value do not change.
10160 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10161 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
10162 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10163 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10164 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
10165 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
10166 function.
10167
5abebba4
CD
101682014-05-29 Carlos O'Donell <carlos@systemhalted.org>
10169
10170 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
10171 * sysdeps/unix/sysv/linux/hppa: Move directory from
10172 ports/systeps/unix/sysv/linux/hppa.
10173 * README: Update listing for hppa-*-linux-gnu.
10174
f7ed60c2
OB
101752014-04-28 Ondřej Bílka <neleai@seznam.cz>
10176
fff763a5
OB
10177 [BZ #16754]
10178 * manual/stdio.texi (Hook functions): Fix types of stream hook
10179 functions.
f7ed60c2
OB
10180 [BZ #16854]
10181 * socket/sys/socket.h: Fix typo in comment.
10182
df639d73
WD
101832014-04-28 Wilco <wdijkstr@arm.com>
10184
f7ed60c2 10185 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
10186 * sysdeps/arm/math_private.h: New file.
10187 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
10188
48332d82
L
101892014-04-25 H.J. Lu <hongjiu.lu@intel.com>
10190
10191 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
10192 with __int128_t.
10193 (La_x86_64_retval): Likewise.
10194
e5e0d9a4
IB
101952014-04-24 Ian Bolton <ian.bolton@arm.com>
10196
10197 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10198 fpsr if value didn't change.
10199 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
10200 to fpcr if value didn't change.
10201 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
10202 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
10203 fpsr or fpcr if value didn't change.
10204 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10205 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
10206 fpcr if value didn't change.
10207 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
10208 to fpsr if value didn't change.
10209
bacc75f7
SP
102102014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10211
10212 * nptl/tst-sem3.c: Use test-skeleton.c
10213 (main): Rename to do_test. Use return instead of
10214 exit.
10215 * nptl/tst-sem4.c: Use test-skeleton.c
10216 (main): Rename to do_test.
10217
a059d359
DM
102182014-04-22 David S. Miller <davem@davemloft.net>
10219
10220 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10221 (struct sigaction): New struct member __glibc_reserved0, change
10222 type of sa_flags to int.
10223
ea6c92f3
YZ
102242014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
10225
10226 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
10227 (COUNT_LEADING_ZEROS_0): Define for AArch64.
10228
766c4a36
SP
102292014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10230
10231 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
10232 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
10233
140cc7ab
VK
102342014-04-22 Will Newton <will.newton@linaro.org>
10235 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
10236
10237 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10238 (__longjmp): Add longjmp and longjmp_target SystemTap
10239 probes.
10240 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
10241 (__sigsetjmp): Add setjmp SystemTap probe.
10242
c54e5cf7
CD
102432014-04-17 Carlos O'Donell <carlos@redhat.com>
10244
10245 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
10246 match manual order.
10247
75ffb047
AZ
102482014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10249
10250 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
10251
2cd925f7
AZ
10252 * sysdeps/powerpc/fpu/fenv_private.h
10253 (libc_feholdexcept_setroundl_ctx): Define to
10254 libc_feholdexcept_setround_ppc_ctx.
10255 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
10256 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
10257 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
10258 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
10259
39e6cd8d
IB
102602014-04-17 Ian Bolton <ian.bolton@arm.com>
10261
10262 * sysdeps/aarch64/math-tests.h: New file.
10263
f9281df9
SY
102642014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
10265
10266 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
10267 New.
10268 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10269 Check and set bit_AVX2_Usable.
10270 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
10271 macro.
10272 (bit_AVX2): Likewise.
10273 (index_AVX2_Usable): Likewise.
10274 (CPUID_AVX2): Likewise.
10275 (HAS_AVX2): Likewise.
10276
37d35007
WN
102772014-04-17 Will Newton <will.newton@linaro.org>
10278
7c677662
WN
10279 * manual/setjmp.texi (System V contexts): Add note that
10280 calling setcontext on a context created by a call to a
10281 signal handler is undefined. Update text to note that
10282 setcontext from a signal handler is possible but not
10283 recommended.
10284
37d35007 10285 [BZ #16629]
e04a4e9d
WN
10286 * stdlib/tst-setcontext.c: Include signal.h.
10287 (main): Check that the signal stack before and
10288 after swapcontext is the same.
10289
37d35007
WN
10290 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
10291 Re-implement to restore registers in user code and avoid
10292 rt_sigreturn system call.
10293
423a7160
W
102942014-04-17 Wilco <wdijkstr@arm.com>
10295
10296 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
10297 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
10298 * math/test-fenv.c: Skip exception trap tests on targets which only
10299 support non-stop mode.
10300
bc93ab29
IB
103012014-04-17 Ian Bolton <ian.bolton@arm.com>
10302 Wilco Dijkstra <wilco.dijkstra@arm.com>
10303
10304 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
10305 (libc_feholdsetround_aarch64_ctx)
10306 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
10307 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
10308 (libc_feresetround_ctx, libc_feresetroundf_ctx)
10309 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
10310 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
10311 (libc_feresetround_noexl_ctx): Define.
10312
95fc5fa3
RH
103132014-04-16 Richard Henderson <rth@redhat.com>
10314
ddb04724
RH
10315 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
10316
d77c0899
RH
10317 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
10318 unwind tables.
10319
a3df56fc
RH
10320 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
10321 const from the non-libc, non-ldso copy.
10322
95fc5fa3
RH
10323 * sysdeps/alpha/libm-test-ulps: Regenerate.
10324
7e0b6763
IB
103252014-04-16 Ian Bolton <ian.bolton@arm.com>
10326 Wilco Dijkstra <wilco.dijkstra@arm.com>
10327
10328 * sysdeps/aarch64/fpu/math_private.h: New file.
10329
a9ea2e0c
MS
103302014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
10331
10332 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10333
ea8ba7cd
IZ
103342014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
10335
7e54fd04 10336 [BZ #16275]
ea8ba7cd
IZ
10337 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
10338 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
10339 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
10340 Intel MPX bound registers before _dl_profile_fixup.
10341 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
10342 registers after _dl_profile_fixup. Save and restore bound
10343 registers bnd0/bnd1 when calling _dl_call_pltexit.
10344 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
10345 (LR_BND_OFFSET): Likewise.
10346 (LRV_BND0_OFFSET): Likewise.
10347 (LRV_BND1_OFFSET): Likewise.
10348
9f2a4fbc
ST
103492014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10350
10351 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
10352 to...
10353 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
10354 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
10355 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
10356 fields.
9f2a4fbc 10357
fd15a59b
ST
103582014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10359
10360 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
10361
f19dfa0a
SL
103622014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10363
10364 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10365
4fa8bc3b
SL
103662014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
10367
10368 [BZ #14770]
10369 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
10370 * sysdeps/s390/configure: Regenerate.
10371
8ea587db
SL
10372 [BZ #16824]
10373 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
10374 Set round-to-nearest internally to reduce error accumulation.
10375
aa5f0ff1
AM
103762014-04-16 Alan Modra <amodra@gmail.com>
10377
10378 [BZ #16740]
10379 [BZ #16619]
10380 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
10381 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 10382 * NEWS: Update fixed bug list.
aa5f0ff1 10383
bb9c256f
SP
103842014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10385
10386 * benchtests/Makefile: Depend on libraries in build directory.
10387 (bench-math): Separate out math tests.
10388 (bench-pthread): Separate out pthread tests.
10389 (bench): Include math and pthread tests.
10390
f737dfd0
CD
103912014-04-14 Carlos O'Donell <carlos@redhat.com>
10392
10393 [BZ #16831]
10394 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
10395 _dl_debug_initialize.
10396
0699f766
CD
10397 * configure.ac: Remove SELinux header check.
10398 * configure: Regenerate.
10399 * nscd/selinux.c (perms): Array of const char* to permission names.
10400 (nscd_request_avc_has_perm): Call security_deny_unknown to find
10401 default policy. Call string_to_security_class and string_to_av_perm to
10402 translate strings. Enforce default policy and call avs_has_perm with
10403 results of translated strings.
10404
809bd45f
DM
104052014-04-13 David S. Miller <davem@davemloft.net>
10406
10407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10408
89e691f2
AM
104092014-04-12 Allan McRae <allan@archlinux.org>
10410
10411 [BZ #16838]
10412 * manual/string.texi (Collation Functions): Fix qsort argument
10413 order in example.
10414 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10415
9c9daaeb
CM
104162014-04-11 Chris Metcalf <cmetcalf@tilera.com>
10417
10418 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
10419 Make the test a no-op if there are no exceptions defined.
10420
95561fb9
PP
104212014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
10422
fe8d072c 10423 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
10424 enable-hardcoded-path-in-tests
10425
970c602a
WN
104262014-04-11 Will Newton <will.newton@linaro.org>
10427
10428 * benchtests/Makefile (extra-objs): Add json-lib.o.
10429 (bench-func): Tidy up JSON output.
10430 * benchtests/bench-skeleton.c: Include json-lib.h.
10431 (main): Use JSON library functions to do output of
10432 benchmark results.
10433 * benchtests/bench-timing-type.c (main): Output the
10434 timing type simply, leaving formatting to the user.
10435 * benchtests/json-lib.c: New file.
10436 * benchtests/json-lib.h: Likewise.
10437
36875b06
TR
104382014-04-11 Torvald Riegel <triegel@redhat.com>
10439
10440 [BZ #15215]
10441 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
10442 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
10443 memory barriers. Add comments.
10444 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
10445 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
10446 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
10447 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
10448 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
10449 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
10450
579db35a
SL
104512014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10452
10453 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
10454 * sysdeps/s390/s390-64/configure.ac: ... this ...
10455 * sysdeps/s390/configure.ac: ... to here.
10456 * sysdeps/s390/s390-32/configure: Delete file.
10457 * sysdeps/s390/s390-64/configure: Delete file.
10458 * sysdeps/s390/configure: Regenerate.
10459
c12e9f37
JAPH
104602014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
10461
10462 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
10463
439bda32
WN
104642014-04-11 Will Newton <will.newton@linaro.org>
10465
10466 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
10467 to zero if it is not defined elsewhere. (mtrim): Test
10468 the value of MALLOC_DEBUG with #if rather than #ifdef.
10469
6a5d6ea1
TR
104702014-04-10 Torvald Riegel <triegel@redhat.com>
10471
10472 * benchtests/pthread_once-inputs: New file.
10473 * benchtests/pthread_once-source.c: New file.
10474 * benchtests/README: Update documentation.
10475
a4c75cfd
IZ
104762014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
10477 H.J. Lu <hongjiu.lu@intel.com>
10478
7e54fd04 10479 [BZ #16275]
a4c75cfd
IZ
10480 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
10481 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
10482 * sysdeps/x86_64/configure: Regenerated.
10483 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
10484 macro.
10485 (REGISTER_SAVE_RAX): Likewise.
10486 (REGISTER_SAVE_RCX): Likewise.
10487 (REGISTER_SAVE_RDX): Likewise.
10488 (REGISTER_SAVE_RSI): Likewise.
10489 (REGISTER_SAVE_RDI): Likewise.
10490 (REGISTER_SAVE_R8): Likewise.
10491 (REGISTER_SAVE_R9): Likewise.
10492 (REGISTER_SAVE_BND0): Likewise.
10493 (REGISTER_SAVE_BND1): Likewise.
10494 (REGISTER_SAVE_BND2): Likewise.
10495 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
10496 bound registers when calling _dl_fixup.
10497
27822ce6
AZ
104982014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10499
10500 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
10501 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
10502 of its definition.
27822ce6
AZ
10503 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
10504 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
10505 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
10506 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
10507 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
10508 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
10509 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
10510
a88ddc90
PTB
105112014-04-09 Peter Brett <peter@peter-b.co.uk>
10512
10513 [BZ #15514]
10514 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
10515 pathconf(_PC_NAME_MAX).
10516
01f8eac2
AZ
105172014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10518
10519 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
10520 Remove macro usage.
10521 (__PTHREAD_SPINS): Move definition to ...
10522 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10523 (__PTHREAD_SPINS): ... here.
10524 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10525 (__PTHREAD_SPIN): Likewise.
10526 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
10527 (__PTHREAD_SPIN): Likewise.
10528 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
10529 (__PTHREAD_SPIN): Likewise.
10530 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
10531 (__PTHREAD_SPIN): Likewise.
10532 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10533 (__PTHREAD_SPIN): Likewise.
10534 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10535 (__PTHREAD_SPIN): Likewise.
10536 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
10537 (__PTHREAD_SPIN): Likewise.
10538 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10539 (__PTHREAD_SPIN): Likewise.
10540 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10541 (__PTHREAD_SPIN): Likewise.
10542 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10543 (__PTHREAD_SPIN): Likewise.
10544 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10545 (__PTHREAD_SPIN): Likewise.
10546 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
10547 (__PTHREAD_SPIN): Likewise.
10548
de21c33c
AZ
10549 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
10550 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
10551 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
10552 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
10553 imply folder.
10554 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
10555 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
10556 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
10557 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
10558 correct imply path.
10559 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
10560 strlen symbol for non multi-arch builds.
10561 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
10562 missing hidden_def and weak_alias.
10563
862c472e
CD
105642014-04-08 Carlos O'Donell <carlos@redhat.com>
10565
10566 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
10567
8667f90e
WN
105682014-04-07 Will Newton <will.newton@linaro.org>
10569
10570 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
10571 and contents. [!_LIBC] Remove #ifndef and contents.
10572 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
10573 * string/memccpy.c (__memccpy): Use ANSI prototype.
10574 * string/memfrob.c (memfrob): Likewise.
10575 * string/strcoll.c (STRCOLL): Likewise.
10576 * string/strlen.c (strlen): Likewise.
10577 * string/strtok.c (STRTOK): Likewise.
10578 * string/strcat.c: Remove unused #include of memcopy.h.
10579 (strcat): Use ANSI prototype.
10580 * string/strchr.c: Remove unused #include of memcopy.h.
10581 (strchr): Use ANSI prototype.
10582 * string/strcmp.c: Remove unused #include of memcopy.h.
10583 (strcmp): Use ANSI prototype.
10584 * string/strcpy.c: Remove unused #include of memcopy.h.
10585 (strcpy): Use ANSI prototype.
10586
7ffa9423
AZ
105872014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10588
10589 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
10590 * config.make.in (config-extra-cppflags): Set it from
10591 libc_extra_cppflags.
10592 * configure.ac (libc_extra_cflags): Make it accumulate over
10593 configure fragments.
10594 (libc_extra_cppflags): New flag.
10595 * configure. Regenerate.
10596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
10597 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
10598 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
10599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10600
8bd70862
AZ
10601 [BZ #16815]
10602 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
10603 result for FE_DOWNWARD rounding mode.
10604 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10605 Likewise.
10606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10607
d42f3448
CM
106082014-04-04 Chris Metcalf <cmetcalf@tilera.com>
10609
10610 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
10611 in function argument name.
10612
1c21d115
DS
106132014-04-03 David Svoboda <svoboda@cert.org>
10614
10615 [BZ #5666]
10616 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
10617 explicitly.
10618
fcccd512
RM
106192014-04-03 Roland McGrath <roland@hack.frob.com>
10620
10621 * elf/dl-unmap-segments.h: New file.
10622 * sysdeps/generic/ldsodefs.h
10623 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
10624 * elf/dl-close.c: Include <dl-unmap-segments.h>.
10625 * elf/dl-fptr.c: Likewise.
10626 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
10627 * sysdeps/aarch64/tlsdesc.c: Likewise.
10628 * sysdeps/arm/tlsdesc.c: Likewise.
10629 * sysdeps/i386/tlsdesc.c: Likewise.
10630 * sysdeps/tile/dl-runtime.c: Likewise.
10631 * sysdeps/x86_64/tlsdesc.c: Likewise.
10632 * elf/dl-load.h: New file.
10633 * elf/dl-load.c: Include it.
10634 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
10635 Macros moved to dl-load.h.
10636 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
10637 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
10638 Use _dl_unmap_segments in place of __munmap.
10639 Break out segment-mapping loop into ...
10640 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
10641
f6488e2b
WN
106422014-04-03 Will Newton <will.newton@linaro.org>
10643
10644 * elf/dl-lookup.c (do_lookup_x): Remove comment
10645 referring to nested function and move variable
10646 declarations down to before first use.
10647
6f05bafe
JM
106482014-04-02 Joseph Myers <joseph@codesourcery.com>
10649
a84e78c8
JM
10650 [BZ #16799]
10651 [BZ #16800]
10652 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
10653 with 0 numerator.
10654 * math/s_catanf.c (__catanf): Likewise.
10655 * math/s_catanh.c (__catanh): Likewise.
10656 * math/s_catanhf.c (__catanhf): Likewise.
10657 * math/s_catanhl.c (__catanhl): Likewise.
10658 * math/s_catanl.c (__catanl): Likewise.
10659 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
10660 by positive zero when computing -Inf result.
10661 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
10662 (catanh_test): Likewise.
10663 * sysdeps/i386/fpu/libm-test-ulps: Update.
10664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10665
6f05bafe
JM
10666 [BZ #16789]
10667 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
10668 instead of using underflowing value in computing result.
10669 * math/s_clog10.c (__clog10): Likewise.
10670 * math/s_clog10f.c (__clog10f): Likewise.
10671 * math/s_clog10l.c (__clog10l): Likewise.
10672 * math/s_clogf.c (__clogf): Likewise.
10673 * math/s_clogl.c (__clogl): Likewise.
10674 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
10675 (clog10_test): Likewise.
10676 * sysdeps/i386/fpu/libm-test-ulps: Update.
10677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10678
b0abbc21
AM
106792014-04-02 Alan Modra <amodra@gmail.com>
10680
10681 [BZ #16739]
10682 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
10683 output when value is near a power of two. Use int64_t for lx and
10684 remove casts. Use decimal rather than hex exponent constants.
10685 Don't use long double multiplication when double will suffice.
10686 * math/libm-test.inc (nextafter_test_data): Add tests.
10687 * NEWS: Add 16739 and 16786 to bug list.
10688
af6b1797
AM
10689 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
10690
483818d7
AM
10691 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
10692
f6c55796
WN
106932014-04-01 Will Newton <will.newton@linaro.org>
10694
10695 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
10696 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
10697
13f7fe35
FW
106982014-04-01 Florian Weimer <fweimer@redhat.com>
10699
10700 [BZ #13347]
10701 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
10702 * nptl/tst-setuid2.c: New file.
10703 * nptl/Makefile (xtests): Add tst-setuid2.
10704
c859b32e
AM
107052014-04-01 Alan Modra <amodra@gmail.com>
10706
10707 [BZ #16786]
10708 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
10709
54fa2475
JM
107102014-03-31 Joseph Myers <joseph@codesourcery.com>
10711
8795b4a4
JM
10712 [BZ #6803]
10713 [BZ #6804]
10714 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
10715 set errno as appropriate.
10716 * math/w_scalbf.c (__scalbf): Likewise.
10717 * math/w_scalbl.c (__scalbl): Likewise.
10718 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
10719 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
10720 * math/libm-test.inc (scalb_test_data): Add errno expectations.
10721 Add more NaN tests.
10722
54fa2475
JM
10723 [BZ #16349]
10724 * math/w_atan2.c: Include <errno.h>.
10725 (__atan2): Set errno for result underflowing to zero.
10726 * math/w_atan2f.c: Include <errno.h>.
10727 (__atan2f): Set errno for result underflowing to zero.
10728 * math/w_atan2l.c: Include <errno.h>.
10729 (__atan2l): Set errno for result underflowing to zero.
10730 * math/auto-libm-test-in: Don't allow missing errno for some atan2
10731 tests.
10732 * math/auto-libm-test-out: Regenerated.
10733
757d9dd5
AZ
107342014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10735
10736 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10737 Encode instruction correctly in little endian.
10738 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10739 Likewise.
10740 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10741 Likewise.
10742 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10743 Likewise.
10744 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10745 Likewise.
10746
d7a68734
JM
107472014-03-31 Joseph Myers <joseph@codesourcery.com>
10748
47c5adeb
JM
10749 [BZ #9894]
10750 * sysdeps/unix/sysv/linux/kernel-features.h
10751 [__sparc__ && !__arch64__ && !__sparc_v9__]
10752 (__ASSUME_SET_ROBUST_LIST): Do not define.
10753 [__sparc__ && !__arch64__ && !__sparc_v9__]
10754 (__ASSUME_FUTEX_LOCK_PI): Likewise.
10755 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
10756 Likewise.
10757 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10758 (__ASSUME_FUTEX_LOCK_PI): Undefine.
10759 (__ASSUME_REQUEUE_PI): Likewise.
10760 (__ASSUME_SET_ROBUST_LIST): Likewise.
10761 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10762 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
10763 Undefine.
10764 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10765 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
10766 Likewise.
10767 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
10768 Likewise.
10769 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
10770 Likewise.
10771 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10772 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
10773 Undefine.
10774 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
10775 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
10776 Likewise.
10777
d7a68734
JM
10778 [BZ #16648]
10779 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10780 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
10781 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
10782
c760f5c2
WN
107832014-03-31 Will Newton <will.newton@linaro.org>
10784
10785 * benchtests/Makefile (bench): Add ffs and ffsll to list
10786 of tests.
10787 * benchtests/ffs-inputs: New file.
10788 * benchtests/ffsll-inputs: Likewise.
10789
ea6029b1
JM
107902014-03-29 Joseph Myers <joseph@codesourcery.com>
10791
10792 [BZ #16770]
10793 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
10794 too large before casting to int.
10795 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
10796 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
10797 * math/libm-test.inc (scalb_test_data): Add more tests.
10798
cf806aff
SP
107992014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10800
56737508
SP
10801 * benchtests/Makefile (DETAILED_OPT): New make option.
10802 (bench-func): Run benchmark program with -d if DETAILED_OPT is
10803 set.
10804 * benchtests/bench-skeleton.c: Include stdbool.h.
10805 (main): Store and print timings per input.
10806 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
10807 member to each argument value.
10808 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
10809 (_print_arg_data): Initialize per-input timing to 0.
10810
cb5e4aad
SP
10811 * benchtests/Makefile (timing-type): New binary.
10812 (bench-clean): Also remove bench-timing-type.
10813 (bench): New target for timing-type.
10814 (bench-func): Print output in JSON format.
10815 * benchtests/bench-skeleton.c (main): Print output in JSON
10816 format.
10817 * benchtests/bench-timing-type.c: New file.
10818 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
10819 (TIMING_PRINT_STATS): Remove.
10820 * benchtests/scripts/bench.py (_print_arg_data): Store variant
10821 name separately.
10822
cf806aff
SP
10823 * benchtests/bench-modf.c: Remove.
10824 * benchtests/modf-inputs: New inputs file.
10825
289e0779
JM
108262014-03-28 Joseph Myers <joseph@codesourcery.com>
10827
10828 [BZ #16362]
10829 * math/s_clog10.c (M_PI_LOG10E): New macro.
10830 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
10831 imaginary parts are 0.
10832 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
10833 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
10834 imaginary parts are 0.
10835 * math/s_clog10l.c (M_PI_LOG10El): New macro.
10836 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
10837 imaginary parts are 0.
10838 * math/libm-test.inc (clog10_test_data): Update expected results
10839 for when real and imaginary parts are 0.
10840
277ae3f1
PP
108412014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
10842
10843 * elf/dl-load.c: Finish conversion of __builtin_expect into
10844 __glibc_{un}likely.
10845
03a7091f
JM
108462014-03-27 Joseph Myers <joseph@codesourcery.com>
10847
10848 [BZ #16348]
10849 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
10850 1+x for argument with exponent below -67.
10851 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
10852 Likewise.
10853 * math/auto-libm-test-in: Add more tests of exp.
10854 * math/auto-libm-test-out: Regenerated.
10855
ea7d8b95
SP
108562014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10857
dd3022d7
SP
10858 [BZ #16759]
10859 * inet/getnetgrent_r.c (get_nonempty_val): New function.
10860 (nscd_getnetgrent): Use it.
10861
ea7d8b95
SP
10862 [BZ #16760]
10863 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
10864 of stpcpy.
10865
df5b85da
AK
108662014-03-27 Andi Kleen <ak@linux.intel.com>
10867
57f41c40
AS
10868 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
10869 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10870 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10871 (lll_robust_unlock): Remove out of line section. Use cfi
10872 intrinsics.
df5b85da 10873 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
10874 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
10875 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10876 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10877 (lll_robust_unlock): Remove out of line section. Use cfi
10878 intrinsics.
df5b85da
AK
10879 (LLL_STUB_UNWIND_INFO*): Remove.
10880
fbd6b5a4
SP
108812014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10882
10883 [BZ #16758]
10884 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
10885 blank values.
10886
1b26b855
PP
108872014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
10888
10889 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
10890
9be36fb8
JM
108912014-03-26 Joseph Myers <joseph@codesourcery.com>
10892
10893 [BZ #16198]
10894 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
10895 fnstenv.
10896 * math/test-fenv-preserve.c: New file.
10897 * math/Makefile (tests): Add test-fenv-preserve.
10898
60a2f3c1
WN
108992014-03-26 Will Newton <will.newton@linaro.org>
10900
10901 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
10902
a5e5f1e2
RM
109032014-03-25 Roland McGrath <roland@hack.frob.com>
10904
10905 * scripts/versionlist.awk: Partition the version sets and emit all
10906 GLIBC_* (sorted) before all others (sorted).
10907
00f4012a
JM
109082014-03-25 Joseph Myers <joseph@codesourcery.com>
10909
10910 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
10911 GLIBC_2.2.5 version.
10912
7bc5a741
AZ
109132014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10914
10915 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
10916 calls.
10917
7578473b
AZ
10918 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
10919 previous change.
10920
f3f1dab3
AZ
10921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10922
6da36183
AS
109232014-03-25 Andreas Schwab <schwab@suse.de>
10924
10925 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
10926 label to be used after in6ailist is initialized.
10927
f3f1dab3 109282014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 10929
7578473b 10930 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
10931 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10932
046651c1
JM
109332014-03-25 Joseph Myers <joseph@codesourcery.com>
10934
10935 [BZ #16357]
10936 [BZ #16599]
10937 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
10938 min_plus_half.
10939 (fp_formats): Update initializers.
10940 (init_fp_formats): Initialize new field.
10941 (output_for_one_input_case): Allow underflow for results up to
10942 min_plus_half.
10943 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
10944 * math/auto-libm-test-in: Don't mark some underflows from asin and
10945 atanh as spurious.
10946 * math/auto-libm-test-out: Regenerated.
10947 * sysdeps/i386/fpu/libm-test-ulps: Update.
10948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10949
003e49ed
AS
109502014-03-25 Andreas Schwab <schwab@suse.de>
10951
10952 * libio/Makefile (tst-ftell-partial-wide-ENV)
10953 (tst-ftell-active-handler-ENV): Define.
10954
de031874
SL
109552014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10956
10957 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
10958
55a81e3b
PP
109592014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10960
10961 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
10962
f3426898
JM
109632014-03-24 Joseph Myers <joseph@codesourcery.com>
10964
10965 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
10966 * sysdeps/x86_64/fpu/multiarch/e_exp.c
10967 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10968
a42faf59
PP
109692014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10970
10971 [BZ #16634]
a42faf59 10972 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
10973 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
10974 (open_path): Change from boolean 'secure' to complete flag 'mode'
10975 (_dl_map_object): Adjust.
a42faf59
PP
10976 * elf/Makefile (tests): Add tst-dlopen-aout.
10977 * elf/tst-dlopen-aout.c: New test.
10978
50936127
SL
109792014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10980
10981 [BZ #16714]
10982 * sysdeps/unix/sysv/linux/s390/bits/stat.h
10983 (struct stat): Rename member pad0 to __glibc_reserved0.
10984
26011b5c
SL
10985 [BZ #16712]
10986 * sysdeps/s390/s390-32/bits/wordsize.h
10987 (__WORDSIZE32_SIZE_ULONG): New define.
10988 * sysdeps/s390/s390-64/bits/wordsize.h
10989 (__WORDSIZE32_SIZE_ULONG): Likewise.
10990 * sysdeps/generic/stdint.h (SIZE_MAX):
10991 Define as UL if __WORDSIZE32_SIZE_ULONG.
10992
a2d86bf1
SL
10993 [BZ #16713]
10994 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10995 (__glibc_reserved0): New variable.
10996 (sa_flags): Change type to int.
10997
78b6eebc
SL
10998 * posix/Makefile (before-compile): Use += before-compile instead
10999 of a :=.
11000
f1399b5a
SL
11001 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11002 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11003
a071766e
AS
110042014-03-20 Andreas Schwab <schwab@suse.de>
11005
11006 [BZ #16743]
11007 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
11008 non-matching result from nscd.
11009
27c673b8
SP
110102014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11011
11012 * scripts/bench.py: Moved to ...
11013 * benchtests/scripts/bench.py: ... here.
11014 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
11015
44152e4b
AS
110162014-03-24 Andreas Schwab <schwab@suse.de>
11017
11018 [BZ #16002]
11019 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
11020 alloca_account and account alloca use for struct in6ailist.
11021
b376a11a
JM
110222014-03-24 Joseph Myers <joseph@codesourcery.com>
11023
11024 [BZ #16284]
11025 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11026 rounding mode to recompute results that overflow to infinity or
11027 underflow to zero.
11028 * math/auto-libm-test-in: Don't mark tests as expected to fail for
11029 bug 16284.
11030 * math/auto-libm-test-out: Regenerated.
11031 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
11032 (ccosh_test): Likewise.
11033 (csin_test_data): Use plus_oflow.
11034 (csin_test): Use ALL_RM_TEST.
11035 (csinh_test_data): Use plus_oflow.
11036 (csinh_test): Use ALL_RM_TEST.
11037 * sysdeps/i386/fpu/libm-test-ulps: Update.
11038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11039
f7be7376
JM
110402014-03-21 Joseph Myers <joseph@codesourcery.com>
11041
1ca2d03e
JM
11042 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
11043 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
11044 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11045
f7be7376
JM
11046 [BZ #16731]
11047 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11048 when x - 1 is zero.
11049 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
11050 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
11051 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11052 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
11053 argument is 1.
11054 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
11055 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
11056 zero.
11057 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
11058 * sysdeps/i386/fpu/libm-test-ulps: Update.
11059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11060
fdf4534d
SP
110612014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11062
df26ea53
SP
11063 * scripts/bench.pl: Remove file.
11064 * scripts/bench.py: New benchmark script.
11065 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
11066 * benchtests/README: Mention python dependency.
11067 * scripts/pylintrc: New file.
11068 * scripts/pylint: New file.
11069
fdf4534d
SP
11070 * bits/mathdef.h: Use #ifdef instead of #if.
11071 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
11072 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11073 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
11074 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11075 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
11076 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11077
6f23d093
AZ
110782014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11079 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11080
11081 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
11082 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
11083 and strpbrk-ppc64 objects.
11084 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11085 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
11086 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11087 multiarch strpbrk for POWER7.
11088 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11089 multiarch strpbrk for PPC64.
11090 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11091 ifunc selector.
11092 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11093 strpbrk for POWER7.
11094
8c92dfff
JM
110952014-03-20 Joseph Myers <joseph@codesourcery.com>
11096
11097 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11098 (atan_test): Likewise.
11099 (atanh_test_data): Use NO_TEST_INLINE for two tests.
11100 (atanh_test): Use ALL_RM_TEST.
11101 (atan2_test_data): Likewise.
11102 (cabs_test): Likewise.
11103 (cacosh_test): Likewise.
11104 (carg_test): Likewise.
11105 (casin_test): Likewise.
11106 (casinh_test): Likewise.
11107 (cbrt_test): Likewise.
11108 (csqrt_test): Likewise.
11109 (erf_test): Likewise.
11110 (erfc_test): Likewise.
11111 (pow10_test): Likewise.
11112 (exp2_test): Likewise.
11113 (hypot_test): Likewise.
11114 (j0_test): Likewise.
11115 (j1_test): Likewise.
11116 (lgamma_test): Likewise.
11117 (gamma_test): Likewise.
11118 (sincos_test): Likewise.
11119 (tanh_test): Likewise.
11120 (y0_test): Likewise.
11121 (y1_test): Likewise.
11122 * sysdeps/i386/fpu/libm-test-ulps: Update.
11123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11124
6eaf95cb
AZ
111252014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11126
a387428c
SP
11127 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11128 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
11129 and strcspn-ppc64 objects.
11130 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11131 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11132 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11133 multiarch strcspn for POWER7.
11134 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11135 multiarch strcspn for PPC64.
11136 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11137 ifunc selector.
11138 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11139 strcspn for POWER7.
11140
ae3a5dff
JM
111412014-03-20 Joseph Myers <joseph@codesourcery.com>
11142
11143 * math/gen-libm-test.pl (generate_testfile): Expect only function
11144 name as argument to AUTO_TESTS_* and pass results for all rounding
11145 modes to parse_args.
11146 (parse_auto_input): Separate inputs of automatic tests from
11147 outputs before storing in %auto_tests.
11148 * math/libm-test.inc (acos_test_data): Update call to
11149 AUTO_TESTS_f_f.
11150 (acos_test): Use ALL_RM_TEST.
11151 (acos_tonearest_test_data): Remove.
11152 (acos_test_tonearest): Likewise.
11153 (acos_towardzero_test_data): Likewise.
11154 (acos_test_towardzero): Likewise.
11155 (acos_downward_test_data): Likewise.
11156 (acos_test_downward): Likewise.
11157 (acos_upward_test_data): Likewise.
11158 (acos_test_upward): Likewise.
11159 (acosh_test_data): Update call to AUTO_TESTS_f_f.
11160 (asin_test_data): Likewise.
11161 (asin_test): Use ALL_RM_TEST.
11162 (asin_tonearest_test_data): Remove.
11163 (asin_test_tonearest): Likewise.
11164 (asin_towardzero_test_data): Likewise.
11165 (asin_test_towardzero): Likewise.
11166 (asin_downward_test_data): Likewise.
11167 (asin_test_downward): Likewise.
11168 (asin_upward_test_data): Likewise.
11169 (asin_test_upward): Likewise.
11170 (asinh_test_data): Update call to AUTO_TESTS_f_f.
11171 (atan_test_data): Likewise.
11172 (atanh_test_data): Likewise.
11173 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
11174 (cabs_test_data): Update call to AUTO_TESTS_c_f.
11175 (carg_test_data): Likewise.
11176 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
11177 (ccos_test_data): Update call to AUTO_TESTS_c_c.
11178 (ccosh_test_data): Likewise.
11179 (cexp_test_data): Likewise.
11180 (clog_test_data): Likewise.
11181 (clog10_test_data): Likewise.
11182 (cos_test_data): Update call to AUTO_TESTS_f_f.
11183 (cos_test): Use ALL_RM_TEST.
11184 (cos_tonearest_test_data): Remove.
11185 (cos_test_tonearest): Likewise.
11186 (cos_towardzero_test_data): Likewise.
11187 (cos_test_towardzero): Likewise.
11188 (cos_downward_test_data): Likewise.
11189 (cos_test_downward): Likewise.
11190 (cos_upward_test_data): Likewise.
11191 (cos_test_upward): Likewise.
11192 (cosh_test_data): Update call to AUTO_TESTS_f_f.
11193 (cosh_test): Use ALL_RM_TEST.
11194 (cosh_tonearest_test_data): Remove.
11195 (cosh_test_tonearest): Likewise.
11196 (cosh_towardzero_test_data): Likewise.
11197 (cosh_test_towardzero): Likewise.
11198 (cosh_downward_test_data): Likewise.
11199 (cosh_test_downward): Likewise.
11200 (cosh_upward_test_data): Likewise.
11201 (cosh_test_upward): Likewise.
11202 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
11203 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
11204 (ctan_test_data): Likewise.
11205 (ctan_test): Use ALL_RM_TEST.
11206 (ctan_tonearest_test_data): Remove.
11207 (ctan_test_tonearest): Likewise.
11208 (ctan_towardzero_test_data): Likewise.
11209 (ctan_test_towardzero): Likewise.
11210 (ctan_downward_test_data): Likewise.
11211 (ctan_test_downward): Likewise.
11212 (ctan_upward_test_data): Likewise.
11213 (ctan_test_upward): Likewise.
11214 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
11215 (ctanh_test): Use ALL_RM_TEST.
11216 (ctanh_tonearest_test_data): Remove.
11217 (ctanh_test_tonearest): Likewise.
11218 (ctanh_towardzero_test_data): Likewise.
11219 (ctanh_test_towardzero): Likewise.
11220 (ctanh_downward_test_data): Likewise.
11221 (ctanh_test_downward): Likewise.
11222 (ctanh_upward_test_data): Likewise.
11223 (ctanh_test_upward): Likewise.
11224 (erf_test_data): Update call to AUTO_TESTS_f_f.
11225 (erfc_test_data): Likewise.
11226 (exp_test_data): Likewise.
11227 (exp_test): Use ALL_RM_TEST.
11228 (exp_tonearest_test_data): Remove.
11229 (exp_test_tonearest): Likewise.
11230 (exp_towardzero_test_data): Likewise.
11231 (exp_test_towardzero): Likewise.
11232 (exp_downward_test_data): Likewise.
11233 (exp_test_downward): Likewise.
11234 (exp_upward_test_data): Likewise.
11235 (exp_test_upward): Likewise.
11236 (exp10_test_data): Update call to AUTO_TESTS_f_f.
11237 (exp10_test): Use ALL_RM_TEST.
11238 (exp10_tonearest_test_data): Remove.
11239 (exp10_test_tonearest): Likewise.
11240 (exp10_towardzero_test_data): Likewise.
11241 (exp10_test_towardzero): Likewise.
11242 (exp10_downward_test_data): Likewise.
11243 (exp10_test_downward): Likewise.
11244 (exp10_upward_test_data): Likewise.
11245 (exp10_test_upward): Likewise.
11246 (exp2_test_data): Update call to AUTO_TESTS_f_f.
11247 (expm1_test_data): Likewise.
11248 (expm1_test): Use ALL_RM_TEST.
11249 (expm1_tonearest_test_data): Remove.
11250 (expm1_test_tonearest): Likewise.
11251 (expm1_towardzero_test_data): Likewise.
11252 (expm1_test_towardzero): Likewise.
11253 (expm1_downward_test_data): Likewise.
11254 (expm1_test_downward): Likewise.
11255 (expm1_upward_test_data): Likewise.
11256 (expm1_test_upward): Likewise.
11257 (fma_test_data): Update call to AUTO_TESTS_fff_f.
11258 (fma_test): Use ALL_RM_TEST.
11259 (fma_towardzero_test_data): Remove.
11260 (fma_test_towardzero): Likewise.
11261 (fma_downward_test_data): Likewise.
11262 (fma_test_downward): Likewise.
11263 (fma_upward_test_data): Likewise.
11264 (fma_test_upward): Likewise.
11265 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
11266 (j0_test_data): Update call to AUTO_TESTS_f_f.
11267 (j1_test_data): Likewise.
11268 (jn_test_data): Update call to AUTO_TESTS_if_f.
11269 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
11270 (log_test_data): Update call to AUTO_TESTS_f_f.
11271 (log10_test_data): Likewise.
11272 (log1p_test_data): Likewise.
11273 (log2_test_data): Likewise.
11274 (pow_test_data): Update call to AUTO_TESTS_ff_f.
11275 (pow_tonearest_test_data): Likewise.
11276 (sin_test_data): Update call to AUTO_TESTS_f_f.
11277 (sin_test): Use ALL_RM_TEST.
11278 (sin_tonearest_test_data): Remove.
11279 (sin_test_tonearest): Likewise.
11280 (sin_towardzero_test_data): Likewise.
11281 (sin_test_towardzero): Likewise.
11282 (sin_downward_test_data): Likewise.
11283 (sin_test_downward): Likewise.
11284 (sin_upward_test_data): Likewise.
11285 (sin_test_upward): Likewise.
11286 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
11287 (sinh_test_data): Update call to AUTO_TESTS_f_f.
11288 (sinh_test): Use ALL_RM_TEST.
11289 (sinh_tonearest_test_data): Remove.
11290 (sinh_test_tonearest): Likewise.
11291 (sinh_towardzero_test_data): Likewise.
11292 (sinh_test_towardzero): Likewise.
11293 (sinh_downward_test_data): Likewise.
11294 (sinh_test_downward): Likewise.
11295 (sinh_upward_test_data): Likewise.
11296 (sinh_test_upward): Likewise.
11297 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
11298 (sqrt_test): Use ALL_RM_TEST.
11299 (sqrt_tonearest_test_data): Remove.
11300 (sqrt_test_tonearest): Likewise.
11301 (sqrt_towardzero_test_data): Likewise.
11302 (sqrt_test_towardzero): Likewise.
11303 (sqrt_downward_test_data): Likewise.
11304 (sqrt_test_downward): Likewise.
11305 (sqrt_upward_test_data): Likewise.
11306 (sqrt_test_upward): Likewise.
11307 (tan_test_data): Update call to AUTO_TESTS_f_f.
11308 (tan_test): Use ALL_RM_TEST.
11309 (tan_tonearest_test_data): Remove.
11310 (tan_test_tonearest): Likewise.
11311 (tan_towardzero_test_data): Likewise.
11312 (tan_test_towardzero): Likewise.
11313 (tan_downward_test_data): Likewise.
11314 (tan_test_downward): Likewise.
11315 (tan_upward_test_data): Likewise.
11316 (tan_test_upward): Likewise.
11317 (tanh_test_data): Update call to AUTO_TESTS_f_f.
11318 (tgamma_test_data): Likewise.
11319 (y0_test_data): Likewise.
11320 (y1_test_data): Likewise.
11321 (yn_test_data): Update call to AUTO_TESTS_if_f.
11322 (main): Do not call removed functions.
11323
d71aeee8
JM
113242014-03-19 Joseph Myers <joseph@codesourcery.com>
11325
11326 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
11327 (ldexp_test_data): Remove.
11328 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
11329 scalbn_test_data.
11330 (scalb_test): Use ALL_RM_TEST.
11331
baaf1ded
AS
113322014-03-19 Andreas Schwab <schwab@suse.de>
11333
11334 * nscd/nscd.service: Also invalidate netgroup cache on reload.
11335
b1115e91
JM
113362014-03-19 Joseph Myers <joseph@codesourcery.com>
11337
11338 [BZ #16649]
11339 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11340 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
11341 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
11342 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11343 (__ASSUME_PREADV): Undefine.
11344 (__ASSUME_PWRITEV): Likewise.
11345
0283ecca
RM
113462014-03-18 Roland McGrath <roland@hack.frob.com>
11347
7d375303
RM
11348 * bits/mman-linux.h: Add comment about non-Linux use.
11349 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
11350 bits/mman-linux.h resting place.
11351
0283ecca
RM
11352 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
11353 * bits/mman-linux.h: ... here.
11354
aebe1003
AZ
113552014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11356
11357 * conform/conformtest.pl: Add standard definition when calling C
11358 preprocessor on data files.
11359 (checknamespace): Remove unused variable.
11360
b29b6bb8
JM
113612014-03-18 Joseph Myers <joseph@codesourcery.com>
11362
11363 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
11364 minus_oflow, plus_uflow and minus_uflow in expected results.
11365 * math/libm-test.inc (scalbn_test_data): Add more tests of
11366 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
11367 minus_uflow.
11368 (scalbn_test): Use ALL_RM_TEST.
11369 (scalbln_test_data): Add more tests of negative arguments. Use
11370 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
11371 (scalbln_test): Use ALL_RM_TEST.
11372
c8f8fa15
RM
113732014-03-18 Roland McGrath <roland@hack.frob.com>
11374
11375 * scripts/abilist.awk: Ignore symbols marked with .hidden.
11376
fede7a5f
WN
113772014-03-18 Will Newton <will.newton@linaro.org>
11378
11379 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
11380 inaccurate comment.
11381
80cf0a58
JM
113822014-03-18 Joseph Myers <joseph@codesourcery.com>
11383
11384 * Makerules [!subdir] (check-abi): Exit with error status if a
11385 test failed.
11386
b3620862
JM
113872014-03-17 Joseph Myers <joseph@codesourcery.com>
11388
11389 * math/libm-test.inc (nearbyint_test_data): Include all tests used
11390 for rint. Include results for all rounding modes.
11391 (nearbyint_test): Use ALL_RM_TEST.
11392 (rint_test_data): Include all tests used for nearbyint.
11393
788bba36
WN
113942014-03-17 Will Newton <will.newton@linaro.org>
11395
04ec140a
WN
11396 * nptl/sysdeps/pthread/pthread.h: Revert previous
11397 change.
11398
7579d8d5
WN
11399 * sysdeps/generic/ldsodefs.h: Revert previous
11400 change.
11401
c15cf13a
WN
11402 * libio/genops.c: Revert previous change.
11403 * libio/libioP.h: Likewise.
11404 * stdio-common/vfprintf.c: Likewise.
11405
d0ac1324
WN
11406 * sysdeps/generic/math_private.h: Revert previous
11407 change.
11408
9290130a
WN
11409 * sysdeps/generic/math_private.h: Check whether
11410 HAVE_RM_CTX is defined with #ifdef rather
11411 than #if.
11412
afb466fc
WN
11413 * argp/argp-fmtstream.h: Check whether
11414 __STRICT_ANSI__ is defined with #ifdef rather
11415 than #if.
11416 * argp/argp.h: Likewise.
11417
f7efd7c3
WN
11418 * libio/genops.c: Check whether
11419 _IO_JUMPS_OFFSET is defined with #ifdef rather
11420 than #if.
11421 * libio/libioP.h: Likewise.
11422 * stdio-common/vfprintf.c: Likewise.
11423
53f1bed3
WN
11424 * sysdeps/generic/ldsodefs.h: Check whether
11425 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
11426 than #if.
11427
788bba36
WN
11428 * nptl/sysdeps/pthread/pthread.h: Check
11429 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
11430 its value.
11431
fcd89ebe
SP
114322014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11433
ae42bbc5
SP
11434 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
11435 setting O_APPEND.
11436 * libio/tst-ftell-active-handler.c (do_append_test): Add a
11437 test case.
11438
ea33158c
SP
11439 [BZ #16680]
11440 * libio/fileops.c (_IO_file_open): Seek to end of file but
11441 don't cache the offset.
11442 (get_file_offset): Remove function.
11443 (do_ftell): Use cached offset when available.
11444 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
11445 don't cache the offset.
11446 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
11447 case.
11448 (do_one_test): Call it.
11449 (do_ftell_test): Fix up expected old offset for a+ mode.
11450 * libio/wfileops.c (do_ftell_wide): Used cached offset when
11451 available.
11452
b1dbb426
SP
11453 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
11454 up test status with function return status.
11455 (do_write_test): Likewise.
11456 (do_append_test): Likewise.
11457
fcd89ebe
SP
11458 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
11459 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
11460 Remove.
11461
9962a2d3
JM
114622014-03-17 Joseph Myers <joseph@codesourcery.com>
11463
11464 * math/gen-libm-test.pl (parse_args): Handle results specified for
11465 each rounding mode separately.
11466 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
11467 tests and results from lrint_tonearest_test_data,
11468 lrint_towardzero_test_data, lrint_downward_test_data and
11469 lrint_upward_test_data.
11470 (lrint_test): Use ALL_RM_TEST.
11471 (lrint_tonearest_test_data): Remove.
11472 (lrint_test_tonearest): Likewise.
11473 (lrint_towardzero_test_data): Likewise.
11474 (lrint_test_towardzero): Likewise.
11475 (lrint_downward_test_data): Likewise.
11476 (lrint_test_downward): Likewise.
11477 (lrint_upward_test_data): Likewise.
11478 (lrint_test_upward): Likewise.
11479 (llrint_test_data): Merge in per-rounding-mode tests and results
11480 from llrint_tonearest_test_data, llrint_towardzero_test_data,
11481 llrint_downward_test_data and llrint_upward_test_data.
11482 (llrint_test): Use ALL_RM_TEST.
11483 (llrint_tonearest_test_data): Remove.
11484 (llrint_test_tonearest): Likewise.
11485 (llrint_towardzero_test_data): Likewise.
11486 (llrint_test_towardzero): Likewise.
11487 (llrint_downward_test_data): Likewise.
11488 (llrint_test_downward): Likewise.
11489 (llrint_upward_test_data): Likewise.
11490 (llrint_test_upward): Likewise.
11491 (rint_test_data): Merge in per-rounding-mode tests and results
11492 from rint_tonearest_test_data, rint_towardzero_test_data,
11493 rint_downward_test_data and rint_upward_test_data. Add
11494 per-rounding-mode results for tests not in those arrays.
11495 (rint_test): Use ALL_RM_TEST.
11496 (rint_tonearest_test_data): Remove.
11497 (rint_test_tonearest): Likewise.
11498 (rint_towardzero_test_data): Likewise.
11499 (rint_test_towardzero): Likewise.
11500 (rint_downward_test_data): Likewise.
11501 (rint_test_downward): Likewise.
11502 (rint_upward_test_data): Likewise.
11503 (rint_test_upward): Likewise.
11504 (main): Don't call removed functions.
11505
5006148e
RM
115062014-03-14 Roland McGrath <roland@hack.frob.com>
11507
11508 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
11509 "Compiled on ..." crapola. It is anti-useful.
11510
d6fe5e58
JM
115112014-03-14 Joseph Myers <joseph@codesourcery.com>
11512
11513 * scripts/evaluate-test.sh: Handle fourth argument to determine
11514 whether test run should stop on failure.
11515 * Makeconfig (stop-on-test-failure): New variable.
11516 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
11517 $(stop-on-test-failure).
11518 * Makefile (tests): Give a summary of results from testing and
11519 exit with failure status if they include an ERROR or FAIL.
11520 (xtests): Likewise.
11521 * manual/install.texi (Configuring and compiling): Mention
11522 stop-on-test-failure=y.
11523 * INSTALL: Regenerated.
11524
498a2233
RM
115252014-03-14 Roland McGrath <roland@hack.frob.com>
11526
22dbc19d
RM
11527 * scripts/versionlist.awk: New file.
11528 * Makerules [$(build-shared) = yes]
11529 (postclean-generated): Add Versions.def, not Versions.def.v and
11530 Versions.def.v.i.
11531 ($(common-objpfx)Versions.def.v.i): Target removed.
11532 ($(common-objpfx)Versions.def): New target.
11533 ($(common-objpfx)Versions.all): Depend on that rather that
11534 $(common-objpfx)Versions.def.v.
11535 * Versions.def: File removed.
11536
498a2233
RM
11537 * Makeconfig (+gccwarn): Add -Wundef.
11538 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
11539 a dl-sysdep.h breaking its contract.
11540 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
11541 * include/stackinfo.h: New file.
11542 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
11543 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
11544 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
11545 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
11546 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
11547 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
11548 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11549 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11550 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11551 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11552 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11553 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
11554 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11555 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11556 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11557
c7de5025
AZ
115582014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11559
11560 [BZ #16707]
11561 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
11562 implementation.
11563 * math/libm-test.inc (round_test_data): Add more tests.
11564
98fb27a3
AZ
11565 [BZ #16706]
11566 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
11567 implementation.
11568 * math/libm-test.inc (nearbyint_test_data): Add more tests.
11569
374f7f61
AZ
11570 [BZ #16701]
11571 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
11572 implementation.
11573 * math/libm-test.inc (ceil_test_data): Add more tests.
11574
4655c291
AZ
11575 * math/libm-test.inc (trunc_test_data): Add more tests related to
11576 BZ#16414.
11577
d7329d4b
RM
115782014-03-14 Roland McGrath <roland@hack.frob.com>
11579
11580 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
11581 with #if rather than #ifdef.
11582 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
11583
aa4de9ce
L
115842014-03-14 H.J. Lu <hongjiu.lu@intel.com>
11585
11586 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
11587 first. Disable AVX-512 GCC support if assembler doesn't support
11588 it.
11589 * sysdeps/x86_64/configure: Regenerated.
11590
2e03fae7
CD
115912014-03-13 Carlos O'Donell <carlos@redhat.com>
11592
11593 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
11594 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
11595 (__old_pthread_attr_setstack): Likewise.
11596 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
11597 [!_STACK_GROWS_DOWN]: Likewise.
11598
43ca83ec
MF
115992014-03-13 Mike Frysinger <vapier@gentoo.org>
11600
11601 * config.make.in (have-bash2): Delete.
11602 * configure.ac (libc_cv_have_bash2): Delete.
11603 * configure: Regenerate.
11604 * elf/Makefile (common-ldd-rewrite): Rename to ...
11605 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
11606 (sh-ldd-rewrite): Delete.
11607 (bash-ldd-rewrite): Delete.
11608 (have-bash2): Delete checks.
57f41c40
AS
11609 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
11610 ldd-rewrite.
c66e48b4
MF
11611
11612 * config.make.in (have-ksh): Delete.
11613 (KSH): Delete.
11614 * configure.ac (libc_cv_have_ksh): Delete.
11615 * configure: Regenerate.
11616
b93834ef
MF
11617 * elf/Makefile: Delete $(have-ksh) check.
11618 ($(objpfx)sotruss): Change KSH to BASH.
11619 * elf/sotruss.ksh: Rename to ...
11620 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
11621 function style to match POSIX. Drop ksh vim mode setting.
11622
f3a4632a
MF
11623 * manual/time.texi (Specifying the Time Zone with TZ): Change
11624 Tuesday to Thursday.
11625
5896c8bd
MF
11626 * debug/tst-longjmp_chk2.c: Update header comment.
11627 (stackoverflow_handler): Add comment. Call assert on pass value.
11628
2d63a517
IZ
116292014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
11630
7e54fd04 11631 [BZ #16194]
2d63a517
IZ
11632 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
11633 (HAVE_AVX512_ASM_SUPPORT): Likewise.
11634 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
11635 (La_x86_64_vector): Add zmm.
11636 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
11637 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
11638 ($(objpfx)tst-audit10): New target.
11639 ($(objpfx)tst-audit10.out): Likewise.
11640 (tst-audit10-ENV): New.
11641 (AVX512-CFLAGS): Likewise.
11642 (CFLAGS-tst-audit10.c): Likewise.
11643 (CFLAGS-tst-auditmod10a.c): Likewise.
11644 (CFLAGS-tst-auditmod10b.c): Likewise.
11645 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
11646 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
11647 * sysdeps/x86_64/configure: Regenerated.
11648 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
11649 AVX-512 zmm register support.
11650 (_dl_x86_64_save_sse): Likewise.
11651 (_dl_x86_64_restore_sse): Likewise.
11652 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
11653 size vector registers.
11654 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
11655 (ZMM_SIZE): Likewise.
11656 * sysdeps/x86_64/tst-audit10.c: New file.
11657 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
11658 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
11659
44c4e5d5
RM
116602014-03-13 Roland McGrath <roland@hack.frob.com>
11661
11662 * configure.ac (HAVE_EHDR_START): New check.
11663 * configure: Regenerated.
11664 * config.h.in (HAVE_EHDR_START): New #undef.
11665 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
11666 assuming the lowest-addressed segment maps the start of the file.
11667
acd6e389
JM
116682014-03-13 Joseph Myers <joseph@codesourcery.com>
11669
11670 * INSTALL: Regenerated.
11671
6f918f36
WN
116722014-03-13 Will Newton <will.newton@linaro.org>
11673
11674 * manual/setjmp.texi (System V contexts): Improve
11675 clarity and grammar of documentation.
11676
798212a0
PP
116772014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
11678
11679 [BZ #16381]
798212a0 11680 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 11681 (tests-pie): Add tst-pie2.
798212a0
PP
11682 * elf/tst-pie2.c: New file.
11683 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
11684 for ET_EXEC.
11685 * elf/rtld.c (map_doit): Load executable as lt_executable.
11686 (dl_main): Likewise.
11687
abe6d90c
JM
116882014-03-12 Joseph Myers <joseph@codesourcery.com>
11689
11690 [BZ #16642]
11691 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11692 (__ASSUME_PSELECT): Undefine.
11693
dd3946c6
AZ
116942014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11695
11696 [BZ #16689]
11697 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
11698 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
11699 static build.
11700 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
11701 selector for static builds.
11702
c44496df
SP
117032014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11704
11705 [BZ #16695]
11706 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
11707 key in the buffer.
11708
27c7220a
AZ
117092014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11710
57f41c40
AS
11711 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
11712 IFUNC selector for static builds.
27c7220a 11713
600fa361
JM
117142014-03-11 Joseph Myers <joseph@codesourcery.com>
11715
76c96cf7
JM
11716 * sysdeps/mips/math_private.h [__mips_hard_float]
11717 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
11718 libc_feresetround_mips_ctx.
11719 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
11720 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
11721 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
11722
600fa361
JM
11723 [BZ #16677]
11724 * math/s_nextafter.c (__nextafter): Do not return value from
11725 overflowing computation.
11726 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
11727 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
11728 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
11729 Likewise.
11730 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11731 Likewise.
11732 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
11733 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
11734
d7706c32
RM
117352014-03-11 Roland McGrath <roland@hack.frob.com>
11736
11737 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
11738 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
11739 Move sfi_sp use from the load-multiple (that no longer sets sp) to
11740 the new mov targetting sp.
11741
4facea47
AZ
117422014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11743
11744 [BZ #16683]
11745 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
11746 Define it for static builds as well.
11747 (NO_BZERO_IMPL): Likewise.
11748
e65caf1f
VR
117492014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11750
11751 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
11752 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
11753 multiarch strspn for PPC64.
11754 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
11755 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
11756 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11757 (__libc_ifunc_impl_list): Likewise.
11758 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
11759 multiarch optimizations
11760 * string/strspn.c (strspn): Using macro to redefine symbol name.
11761
ba9cc071
AZ
117622014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11763 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11764
11765 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
11766 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
11767 multiarch strncat for PPC64.
11768 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
11769 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
11770 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11771 (__libc_ifunc_impl_list): Likewise.
11772 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
11773 multiarch optimizations
11774
8b4ff974
SP
117752014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11776
11777 [BZ #16639]
11778 * nscd/nscd.service: Make service type forking.
11779
54b46a4b
AZ
117802014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11781
11782 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
11783 sign in non default rounding modes.
11784 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11785
e9996ef7
JM
117862014-03-08 Joseph Myers <joseph@codesourcery.com>
11787
11788 * math/libm-test.inc (ALL_RM_TEST): New macro.
11789 (ceil_test): Use ALL_RM_TEST.
11790 (cimag_test): Likewise.
11791 (conj_test): Likewise.
11792 (copysign_test): Likewise.
11793 (cproj_test): Likewise.
11794 (creal_test): Likewise.
11795 (fabs_test): Likewise.
11796 (floor_test): Likewise.
11797 (fmax_test): Likewise.
11798 (fmin_test): Likewise.
11799 (fmod_test): Likewise.
11800 (fpclassify_test): Likewise.
11801 (frexp_test): Likewise.
11802 (ilogb_test): Likewise.
11803 (isfinite_test): Likewise.
11804 (finite_test): Likewise.
11805 (isgreater_test): Likewise.
11806 (isgreaterequal_test): Likewise.
11807 (isinf_test): Likewise.
11808 (isless_test): Likewise.
11809 (islessequal_test): Likewise.
11810 (islessgreater_test): Likewise.
11811 (isnan_test): Likewise.
11812 (isnormal_test): Likewise.
11813 (issignaling_test): Likewise.
11814 (isunordered_test): Likewise.
11815 (logb_test): Likewise.
11816 (logb_downward_test_data): Remove.
11817 (logb_test_downward): Likewise.
11818 (lround_test): Use ALL_RM_TEST.
11819 (llround_test): Likewise.
11820 (modf_test): Likewise.
11821 (nexttoward_test): Likewise.
11822 (remainder_test): Likewise.
11823 (drem_test): Likewise.
11824 (remainder_tonearest_test_data): Likewise.
11825 (remainder_test_tonearest): Likewise.
11826 (drem_test_tonearest): Likewise.
11827 (remainder_towardzero_test_data): Likewise.
11828 (remainder_test_towardzero): Likewise.
11829 (drem_test_towardzero): Likewise.
11830 (remainder_downward_test_data): Likewise.
11831 (remainder_test_downward): Likewise.
11832 (drem_test_downward): Likewise.
11833 (remainder_upward_test_data): Likewise.
11834 (remainder_test_upward): Likewise.
11835 (drem_test_upward): Likewise.
11836 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
11837 (round_test): Use ALL_RM_TEST.
11838 (signbit_test): Likewise.
11839 (trunc_test): Likewise.
11840 (significand_test): Likewise.
11841 (main): Don't call removed functions.
11842
bc61d27c
JM
118432014-03-07 Joseph Myers <joseph@codesourcery.com>
11844
5c780849
JM
11845 [BZ #16674]
11846 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
11847 || __USE_XOPEN2K8].
11848 (ILL_ILLOPN): Likewise.
11849 (ILL_ILLADR): Likewise.
11850 (ILL_ILLTRP): Likewise.
11851 (ILL_PRVOPC): Likewise.
11852 (ILL_PRVREG): Likewise.
11853 (ILL_COPROC): Likewise.
11854 (ILL_BADSTK): Likewise.
11855 (FPE_INTDIV): Likewise.
11856 (FPE_INTOVF): Likewise.
11857 (FPE_FLTDIV): Likewise.
11858 (FPE_FLTOVF): Likewise.
11859 (FPE_FLTUND): Likewise.
11860 (FPE_FLTRES): Likewise.
11861 (FPE_FLTINV): Likewise.
11862 (FPE_FLTSUB): Likewise.
11863 (SEGV_MAPERR): Likewise.
11864 (SEGV_ACCERR): Likewise.
11865 (BUS_ADRALN): Likewise.
11866 (BUS_ADRERR): Likewise.
11867 (BUS_OBJERR): Likewise.
11868 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11869 (TRAP_TRACE): Likewise.
11870 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11871 __USE_XOPEN2K8].
11872 (CLD_KILLED): Likewise.
11873 (CLD_DUMPED): Likewise.
11874 (CLD_TRAPPED): Likewise.
11875 (CLD_STOPPED): Likewise.
11876 (CLD_CONTINUED): Likewise.
11877 (POLL_IN): Likewise.
11878 (POLL_OUT): Likewise.
11879 (POLL_MSG): Likewise.
11880 (POLL_ERR): Likewise.
11881 (POLL_PRI): Likewise.
11882 (POLL_HUP): Likewise.
11883 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
11884 Likewise.
11885 (ILL_ILLOPN): Likewise.
11886 (ILL_ILLADR): Likewise.
11887 (ILL_ILLTRP): Likewise.
11888 (ILL_PRVOPC): Likewise.
11889 (ILL_PRVREG): Likewise.
11890 (ILL_COPROC): Likewise.
11891 (ILL_BADSTK): Likewise.
11892 (FPE_INTDIV): Likewise.
11893 (FPE_INTOVF): Likewise.
11894 (FPE_FLTDIV): Likewise.
11895 (FPE_FLTOVF): Likewise.
11896 (FPE_FLTUND): Likewise.
11897 (FPE_FLTRES): Likewise.
11898 (FPE_FLTINV): Likewise.
11899 (FPE_FLTSUB): Likewise.
11900 (SEGV_MAPERR): Likewise.
11901 (SEGV_ACCERR): Likewise.
11902 (BUS_ADRALN): Likewise.
11903 (BUS_ADRERR): Likewise.
11904 (BUS_OBJERR): Likewise.
11905 (BUS_MCEERR_AR): Likewise.
11906 (BUS_MCEERR_AO): Likewise.
11907 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11908 (TRAP_TRACE): Likewise.
11909 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11910 __USE_XOPEN2K8].
11911 (CLD_KILLED): Likewise.
11912 (CLD_DUMPED): Likewise.
11913 (CLD_TRAPPED): Likewise.
11914 (CLD_STOPPED): Likewise.
11915 (CLD_CONTINUED): Likewise.
11916 (POLL_IN): Likewise.
11917 (POLL_OUT): Likewise.
11918 (POLL_MSG): Likewise.
11919 (POLL_ERR): Likewise.
11920 (POLL_PRI): Likewise.
11921 (POLL_HUP): Likewise.
11922 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
11923 (ILL_ILLOPN): Likewise.
11924 (ILL_ILLADR): Likewise.
11925 (ILL_ILLTRP): Likewise.
11926 (ILL_PRVOPC): Likewise.
11927 (ILL_PRVREG): Likewise.
11928 (ILL_COPROC): Likewise.
11929 (ILL_BADSTK): Likewise.
11930 (FPE_INTDIV): Likewise.
11931 (FPE_INTOVF): Likewise.
11932 (FPE_FLTDIV): Likewise.
11933 (FPE_FLTOVF): Likewise.
11934 (FPE_FLTUND): Likewise.
11935 (FPE_FLTRES): Likewise.
11936 (FPE_FLTINV): Likewise.
11937 (FPE_FLTSUB): Likewise.
11938 (SEGV_MAPERR): Likewise.
11939 (SEGV_ACCERR): Likewise.
11940 (BUS_ADRALN): Likewise.
11941 (BUS_ADRERR): Likewise.
11942 (BUS_OBJERR): Likewise.
11943 (BUS_MCEERR_AR): Likewise.
11944 (BUS_MCEERR_AO): Likewise.
11945 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11946 (TRAP_TRACE): Likewise.
11947 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11948 __USE_XOPEN2K8].
11949 (CLD_KILLED): Likewise.
11950 (CLD_DUMPED): Likewise.
11951 (CLD_TRAPPED): Likewise.
11952 (CLD_STOPPED): Likewise.
11953 (CLD_CONTINUED): Likewise.
11954 (POLL_IN): Likewise.
11955 (POLL_OUT): Likewise.
11956 (POLL_MSG): Likewise.
11957 (POLL_ERR): Likewise.
11958 (POLL_PRI): Likewise.
11959 (POLL_HUP): Likewise.
11960 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
11961 Likewise.
11962 (ILL_ILLOPN): Likewise.
11963 (ILL_ILLADR): Likewise.
11964 (ILL_ILLTRP): Likewise.
11965 (ILL_PRVOPC): Likewise.
11966 (ILL_PRVREG): Likewise.
11967 (ILL_COPROC): Likewise.
11968 (ILL_BADSTK): Likewise.
11969 (ILL_BADIADDR): Likewise.
11970 (ILL_BREAK): Likewise.
11971 (FPE_INTDIV): Likewise.
11972 (FPE_INTOVF): Likewise.
11973 (FPE_FLTDIV): Likewise.
11974 (FPE_FLTOVF): Likewise.
11975 (FPE_FLTUND): Likewise.
11976 (FPE_FLTRES): Likewise.
11977 (FPE_FLTINV): Likewise.
11978 (FPE_FLTSUB): Likewise.
11979 (FPE_DECOVF): Likewise.
11980 (FPE_DECDIV): Likewise.
11981 (FPE_DECERR): Likewise.
11982 (FPE_INVASC): Likewise.
11983 (FPE_INVDEC): Likewise.
11984 (SEGV_MAPERR): Likewise.
11985 (SEGV_ACCERR): Likewise.
11986 (SEGV_PSTKOVF): Likewise.
11987 (BUS_ADRALN): Likewise.
11988 (BUS_ADRERR): Likewise.
11989 (BUS_OBJERR): Likewise.
11990 (BUS_MCEERR_AR): Likewise.
11991 (BUS_MCEERR_AO): Likewise.
11992 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11993 (TRAP_TRACE): Likewise.
11994 (TRAP_BRANCH): Likewise.
11995 (TRAP_HWBKPT): Likewise.
11996 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11997 __USE_XOPEN2K8].
11998 (CLD_KILLED): Likewise.
11999 (CLD_DUMPED): Likewise.
12000 (CLD_TRAPPED): Likewise.
12001 (CLD_STOPPED): Likewise.
12002 (CLD_CONTINUED): Likewise.
12003 (POLL_IN): Likewise.
12004 (POLL_OUT): Likewise.
12005 (POLL_MSG): Likewise.
12006 (POLL_ERR): Likewise.
12007 (POLL_PRI): Likewise.
12008 (POLL_HUP): Likewise.
12009 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
12010 (ILL_ILLOPN): Likewise.
12011 (ILL_ILLADR): Likewise.
12012 (ILL_ILLTRP): Likewise.
12013 (ILL_PRVOPC): Likewise.
12014 (ILL_PRVREG): Likewise.
12015 (ILL_COPROC): Likewise.
12016 (ILL_BADSTK): Likewise.
12017 (FPE_INTDIV): Likewise.
12018 (FPE_INTOVF): Likewise.
12019 (FPE_FLTDIV): Likewise.
12020 (FPE_FLTOVF): Likewise.
12021 (FPE_FLTUND): Likewise.
12022 (FPE_FLTRES): Likewise.
12023 (FPE_FLTINV): Likewise.
12024 (FPE_FLTSUB): Likewise.
12025 (SEGV_MAPERR): Likewise.
12026 (SEGV_ACCERR): Likewise.
12027 (BUS_ADRALN): Likewise.
12028 (BUS_ADRERR): Likewise.
12029 (BUS_OBJERR): Likewise.
12030 (BUS_MCEERR_AR): Likewise.
12031 (BUS_MCEERR_AO): Likewise.
12032 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12033 (TRAP_TRACE): Likewise.
12034 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12035 __USE_XOPEN2K8].
12036 (CLD_KILLED): Likewise.
12037 (CLD_DUMPED): Likewise.
12038 (CLD_TRAPPED): Likewise.
12039 (CLD_STOPPED): Likewise.
12040 (CLD_CONTINUED): Likewise.
12041 (POLL_IN): Likewise.
12042 (POLL_OUT): Likewise.
12043 (POLL_MSG): Likewise.
12044 (POLL_ERR): Likewise.
12045 (POLL_PRI): Likewise.
12046 (POLL_HUP): Likewise.
12047 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
12048 (ILL_ILLOPN): Likewise.
12049 (ILL_ILLADR): Likewise.
12050 (ILL_ILLTRP): Likewise.
12051 (ILL_PRVOPC): Likewise.
12052 (ILL_PRVREG): Likewise.
12053 (ILL_COPROC): Likewise.
12054 (ILL_BADSTK): Likewise.
12055 (FPE_INTDIV): Likewise.
12056 (FPE_INTOVF): Likewise.
12057 (FPE_FLTDIV): Likewise.
12058 (FPE_FLTOVF): Likewise.
12059 (FPE_FLTUND): Likewise.
12060 (FPE_FLTRES): Likewise.
12061 (FPE_FLTINV): Likewise.
12062 (FPE_FLTSUB): Likewise.
12063 (SEGV_MAPERR): Likewise.
12064 (SEGV_ACCERR): Likewise.
12065 (BUS_ADRALN): Likewise.
12066 (BUS_ADRERR): Likewise.
12067 (BUS_OBJERR): Likewise.
12068 (BUS_MCEERR_AR): Likewise.
12069 (BUS_MCEERR_AO): Likewise.
12070 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12071 (TRAP_TRACE): Likewise.
12072 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12073 __USE_XOPEN2K8].
12074 (CLD_KILLED): Likewise.
12075 (CLD_DUMPED): Likewise.
12076 (CLD_TRAPPED): Likewise.
12077 (CLD_STOPPED): Likewise.
12078 (CLD_CONTINUED): Likewise.
12079 (POLL_IN): Likewise.
12080 (POLL_OUT): Likewise.
12081 (POLL_MSG): Likewise.
12082 (POLL_ERR): Likewise.
12083 (POLL_PRI): Likewise.
12084 (POLL_HUP): Likewise.
12085 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
12086 (ILL_ILLOPN): Likewise.
12087 (ILL_ILLADR): Likewise.
12088 (ILL_ILLTRP): Likewise.
12089 (ILL_PRVOPC): Likewise.
12090 (ILL_PRVREG): Likewise.
12091 (ILL_COPROC): Likewise.
12092 (ILL_BADSTK): Likewise.
12093 (FPE_INTDIV): Likewise.
12094 (FPE_INTOVF): Likewise.
12095 (FPE_FLTDIV): Likewise.
12096 (FPE_FLTOVF): Likewise.
12097 (FPE_FLTUND): Likewise.
12098 (FPE_FLTRES): Likewise.
12099 (FPE_FLTINV): Likewise.
12100 (FPE_FLTSUB): Likewise.
12101 (SEGV_MAPERR): Likewise.
12102 (SEGV_ACCERR): Likewise.
12103 (BUS_ADRALN): Likewise.
12104 (BUS_ADRERR): Likewise.
12105 (BUS_OBJERR): Likewise.
12106 (BUS_MCEERR_AR): Likewise.
12107 (BUS_MCEERR_AO): Likewise.
12108 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12109 (TRAP_TRACE): Likewise.
12110 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12111 __USE_XOPEN2K8].
12112 (CLD_KILLED): Likewise.
12113 (CLD_DUMPED): Likewise.
12114 (CLD_TRAPPED): Likewise.
12115 (CLD_STOPPED): Likewise.
12116 (CLD_CONTINUED): Likewise.
12117 (POLL_IN): Likewise.
12118 (POLL_OUT): Likewise.
12119 (POLL_MSG): Likewise.
12120 (POLL_ERR): Likewise.
12121 (POLL_PRI): Likewise.
12122 (POLL_HUP): Likewise.
12123 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12124 (ILL_ILLOPN): Likewise.
12125 (ILL_ILLADR): Likewise.
12126 (ILL_ILLTRP): Likewise.
12127 (ILL_PRVOPC): Likewise.
12128 (ILL_PRVREG): Likewise.
12129 (ILL_COPROC): Likewise.
12130 (ILL_BADSTK): Likewise.
12131 (ILL_DBLFLT): Likewise.
12132 (ILL_HARDWALL): Likewise.
12133 (FPE_INTDIV): Likewise.
12134 (FPE_INTOVF): Likewise.
12135 (FPE_FLTDIV): Likewise.
12136 (FPE_FLTOVF): Likewise.
12137 (FPE_FLTUND): Likewise.
12138 (FPE_FLTRES): Likewise.
12139 (FPE_FLTINV): Likewise.
12140 (FPE_FLTSUB): Likewise.
12141 (SEGV_MAPERR): Likewise.
12142 (SEGV_ACCERR): Likewise.
12143 (BUS_ADRALN): Likewise.
12144 (BUS_ADRERR): Likewise.
12145 (BUS_OBJERR): Likewise.
12146 (BUS_MCEERR_AR): Likewise.
12147 (BUS_MCEERR_AO): Likewise.
12148 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12149 (TRAP_TRACE): Likewise.
12150 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12151 __USE_XOPEN2K8].
12152 (CLD_KILLED): Likewise.
12153 (CLD_DUMPED): Likewise.
12154 (CLD_TRAPPED): Likewise.
12155 (CLD_STOPPED): Likewise.
12156 (CLD_CONTINUED): Likewise.
12157 (POLL_IN): Likewise.
12158 (POLL_OUT): Likewise.
12159 (POLL_MSG): Likewise.
12160 (POLL_ERR): Likewise.
12161 (POLL_PRI): Likewise.
12162 (POLL_HUP): Likewise.
12163 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
12164 (ILL_ILLOPN): Likewise.
12165 (ILL_ILLADR): Likewise.
12166 (ILL_ILLTRP): Likewise.
12167 (ILL_PRVOPC): Likewise.
12168 (ILL_PRVREG): Likewise.
12169 (ILL_COPROC): Likewise.
12170 (ILL_BADSTK): Likewise.
12171 (FPE_INTDIV): Likewise.
12172 (FPE_INTOVF): Likewise.
12173 (FPE_FLTDIV): Likewise.
12174 (FPE_FLTOVF): Likewise.
12175 (FPE_FLTUND): Likewise.
12176 (FPE_FLTRES): Likewise.
12177 (FPE_FLTINV): Likewise.
12178 (FPE_FLTSUB): Likewise.
12179 (SEGV_MAPERR): Likewise.
12180 (SEGV_ACCERR): Likewise.
12181 (BUS_ADRALN): Likewise.
12182 (BUS_ADRERR): Likewise.
12183 (BUS_OBJERR): Likewise.
12184 (BUS_MCEERR_AR): Likewise.
12185 (BUS_MCEERR_AO): Likewise.
12186 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12187 (TRAP_TRACE): Likewise.
12188 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12189 __USE_XOPEN2K8].
12190 (CLD_KILLED): Likewise.
12191 (CLD_DUMPED): Likewise.
12192 (CLD_TRAPPED): Likewise.
12193 (CLD_STOPPED): Likewise.
12194 (CLD_CONTINUED): Likewise.
12195 (POLL_IN): Likewise.
12196 (POLL_OUT): Likewise.
12197 (POLL_MSG): Likewise.
12198 (POLL_ERR): Likewise.
12199 (POLL_PRI): Likewise.
12200 (POLL_HUP): Likewise.
12201 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
12202 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12203
bc61d27c
JM
12204 [BZ #16670]
12205 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
12206 before #include of <time.h>.
12207 [!__USE_XOPEN2K] (__need_timespec): Likewise.
12208 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
12209 (test-xfail-UNIX98/sched.h/conform): Likewise.
12210
302949e2
MS
122112014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
12212
12213 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
12214 error absence of trapping exception support.
12215 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12216
a00f522a
JM
122172014-03-07 Joseph Myers <joseph@codesourcery.com>
12218
6f99f280
JM
12219 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
12220 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
12221 * timezone/Makefile (testdata): Move definition above include of
12222 Rules.
12223 (test-zones): New variable.
12224 (tests-special): Add zone files.
12225 (build-testdata): Use $(evaluate-test).
12226
0b20a9e8
JM
12227 * elf/Makefile (tests-special): Rename tests to end with .out.
12228 ($(objpfx)noload-mem): Likewise.
12229 ($(objpfx)tst-leaks1-mem): Likewise.
12230 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
12231 * iconv/Makefile (xtests-special): Change test-iconvconfig to
12232 $(objpfx)test-iconvconfig.out.
12233 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
12234 set -e inside subshell and redirect output to file.
12235 * iconvdata/Makefile (generated): Rename tests to end with .out.
12236 Correct type.
12237 (tests-special): Rename tests to end with .out.
12238 ($(objpfx)mtrace-tst-loading): Likewise.
12239 * intl/Makefile (generated): Likewise.
12240 (tests-special): Likewise.
12241 ($(objpfx)mtrace-tst-gettext): Likewise.
12242 * misc/Makefile (generated): Likewise.
12243 (tests-special): Likewise.
12244 ($(objpfx)tst-error1-mem): Likewise.
12245 * nptl/Makefile (tests-special): Likewise.
12246 ($(objpfx)tst-stack3-mem): Likewise.
12247 (generated): Likewise.
12248 * posix/Makefile (generated): Likewise.
12249 (tests-special): Likewise.
12250 (xtests-special): Likewise.
12251 ($(objpfx)tst-fnmatch-mem): Likewise.
12252 ($(objpfx)bug-regex2-mem): Likewise.
12253 ($(objpfx)bug-regex14-mem): Likewise.
12254 ($(objpfx)bug-regex21-mem): Likewise.
12255 ($(objpfx)bug-regex31-mem): Likewise.
12256 ($(objpfx)tst-vfork3-mem): Likewise.
12257 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12258 ($(objpfx)tst-pcre-mem): Likewise.
12259 ($(objpfx)tst-boost-mem): Likewise.
12260 ($(objpfx)bug-ga2-mem): Likewise.
12261 ($(objpfx)bug-glob2-mem): Likewise.
12262 * resolv/Makefile (generate): Likewise.
12263 (tests-special): Likewise.
12264 (xtests-special): Likewise.
12265 (generated): Likewise.
12266 ($(objpfx)mtrace-tst-leaks): Likewise.
12267 ($(objpfx)mtrace-tst-leaks2): Likewise.
12268
265d52ab
JM
12269 * scripts/merge-test-results.sh: New file.
12270 * Makefile (tests-special-notdir): New variable.
12271 (tests): Run merge-test-results.sh.
12272 (xtests): Likewise.
12273 * Rules (tests-special-notdir): New variable.
12274 (xtests-special-notdir): Likewise.
12275 (tests): Run merge-test-results.sh
12276 (xtests): Likewise.
12277
54ee292d
JM
12278 * Makeconfig (test-xfail-name): New variable.
12279 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
12280 compute variable name for expected failures.
12281 * conform/Makefile (conformtest-headers-data): New variable.
12282 (conformtest-standards): Likewise.
12283 (conformtest-headers-ISO): Likewise.
12284 (conformtest-headers-ISO99): Likewise.
12285 (conformtest-headers-ISO11): Likewise.
12286 (conformtest-headers-POSIX): Likewise.
12287 (conformtest-headers-XPG3): Likewise.
12288 (conformtest-headers-XPG4): Likewise.
12289 (conformtest-headers-UNIX98): Likewise.
12290 (conformtest-headers-XOPEN2K): Likewise.
12291 (conformtest-headers-POSIX2008): Likewise.
12292 (conformtest-headers-XOPEN2K8): Likewise.
12293 (conformtest-header-list-base): Likewise.
12294 (conformtest-header-list-tests): Likewise.
12295 (conformtest-header-base): Likewise.
12296 (conformtest-header-tests): Likewise.
12297 (tests-special): Add $(conformtest-header-list-tests). If
12298 [$(fast-check) && !$(cross-compiling)], add
12299 $(conformtest-header-tests) instead of
12300 $(objpfx)run-conformtest.out.
12301 (generated): Add $(conformtest-header-list-base). If
12302 [$(fast-check) && !$(cross-compiling)], add
12303 $(conformtest-header-base). Remove previous setting.
12304 ($(conformtest-header-list-tests)): New target.
12305 (test-xfail-run-conformtest): Remove variable.
12306 ($(objpfx)run-conformtest.out): Remove target.
12307 (test-xfail-ISO11/complex.h/conform): New variable.
12308 (test-xfail-ISO11/stdalign.h/conform): Likewise.
12309 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12310 (test-xfail-XPG3/varargs.h/conform): Likewise.
12311 (test-xfail-XPG4/varargs.h/conform): Likewise.
12312 (test-xfail-UNIX98/varargs.h/conform): Likewise.
12313 (test-xfail-XPG4/ndbm.h/conform): Likewise.
12314 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
12315 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
12316 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
12317 (test-xfail-XPG3/fcntl.h/conform): Likewise.
12318 (test-xfail-XPG3/ftw.h/conform): Likewise.
12319 (test-xfail-XPG3/grp.h/conform): Likewise.
12320 (test-xfail-XPG3/langinfo.h/conform): Likewise.
12321 (test-xfail-XPG3/limits.h/conform): Likewise.
12322 (test-xfail-XPG3/pwd.h/conform): Likewise.
12323 (test-xfail-XPG3/search.h/conform): Likewise.
12324 (test-xfail-XPG3/signal.h/conform): Likewise.
12325 (test-xfail-XPG3/stdio.h/conform): Likewise.
12326 (test-xfail-XPG3/stdlib.h/conform): Likewise.
12327 (test-xfail-XPG3/string.h/conform): Likewise.
12328 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
12329 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
12330 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12331 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12332 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
12333 (test-xfail-XPG3/sys/types.h/conform): Likewise.
12334 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
12335 (test-xfail-XPG3/termios.h/conform): Likewise.
12336 (test-xfail-XPG3/time.h/conform): Likewise.
12337 (test-xfail-XPG3/unistd.h/conform): Likewise.
12338 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
12339 (test-xfail-XPG4/fcntl.h/conform): Likewise.
12340 (test-xfail-XPG4/langinfo.h/conform): Likewise.
12341 (test-xfail-XPG4/netdb.h/conform): Likewise.
12342 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
12343 (test-xfail-XPG4/signal.h/conform): Likewise.
12344 (test-xfail-XPG4/stdio.h/conform): Likewise.
12345 (test-xfail-XPG4/stdlib.h/conform): Likewise.
12346 (test-xfail-XPG4/stropts.h/conform): Likewise.
12347 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12348 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12349 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12350 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12351 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12352 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
12353 (test-xfail-XPG4/sys/time.h/conform): Likewise.
12354 (test-xfail-XPG4/sys/types.h/conform): Likewise.
12355 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
12356 (test-xfail-XPG4/termios.h/conform): Likewise.
12357 (test-xfail-XPG4/ucontext.h/conform): Likewise.
12358 (test-xfail-XPG4/unistd.h/conform): Likewise.
12359 (test-xfail-XPG4/utmpx.h/conform): Likewise.
12360 (test-xfail-POSIX/sched.h/conform): Likewise.
12361 (test-xfail-POSIX/signal.h/conform): Likewise.
12362 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12363 (test-xfail-POSIX/tar.h/conform): Likewise.
12364 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
12365 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
12366 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
12367 (test-xfail-UNIX98/netdb.h/conform): Likewise.
12368 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
12369 (test-xfail-UNIX98/sched.h/conform): Likewise.
12370 (test-xfail-UNIX98/signal.h/conform): Likewise.
12371 (test-xfail-UNIX98/stdio.h/conform): Likewise.
12372 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
12373 (test-xfail-UNIX98/stropts.h/conform): Likewise.
12374 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12375 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12376 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12377 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12378 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12379 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
12380 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
12381 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
12382 (test-xfail-UNIX98/unistd.h/conform): Likewise.
12383 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
12384 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
12385 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
12386 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
12387 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
12388 (test-xfail-XOPEN2K/math.h/conform): Likewise.
12389 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12390 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12391 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12392 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
12393 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
12394 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
12395 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
12396 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12397 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12398 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12399 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12400 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12401 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12402 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
12403 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
12404 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12405 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
12406 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12407 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
12408 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12409 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
12410 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
12411 (test-xfail-POSIX2008/signal.h/conform): Likewise.
12412 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12413 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
12414 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
12415 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12416 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12417 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
12418 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12419 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12420 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12421 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
12422 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
12423 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12424 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12425 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12426 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
12427 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12428 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12429 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12430 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12431 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
12432 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12433 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12434 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
12435 (conformtest-cc-flags): Likewise.
12436 ($(conformtest-header-tests): New target.
12437 * conform/check-header-lists.sh: New file.
12438 * conform/run-conformtest.sh: Remove.
12439
a00f522a
JM
12440 * conform/conformtest.pl: Allow ' and \ in values given for
12441 constants.
12442 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
12443 inclusion.
12444 [POSIX] (sys/types.h): Likewise.
12445 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
12446 inclusion.
12447 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
12448 inclusion.
12449 * conform/data/signal.h-data (SIGIO): Remove expectation.
12450 [XPG3] (SIGBUS): Do not expect.
12451 [POSIX || XPG3] (SIGPOLL): Likewise.
12452 [POSIX || XPG3] (SIGPROF): Likewise.
12453 [POSIX || XPG3] (SIGSYS): Likewise.
12454 [XPG3] (SIGTRAP): Likewise.
12455 [POSIX || XPG3] (SIGURG): Likewise.
12456 [POSIX || XPG3] (SIGVTALRM): Likewise.
12457 [POSIX || XPG3] (SIGXCPU): Likewise.
12458 [POSIX || XPG3] (SIGXFSZ): Likewise.
12459 [POSIX] (SA_SIGINFO): Expect.
12460 [XPG3] (siginfo_t): Do not expect type or contents.
12461 [POSIX] (si_pid): Do not expect element.
12462 [POSIX] (si_uid): Likewise.
12463 [POSIX] (si_addr): Likewise.
12464 [POSIX] (si_status): Likewise.
12465 [POSIX] (si_band): Likewise.
12466 [XPG4] (si_value): Likewise.
12467 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
12468 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
12469 [POSIX || XPG3] (ILL_ILLADR): Likewise.
12470 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
12471 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
12472 [POSIX || XPG3] (ILL_PRVREG): Likewise.
12473 [POSIX || XPG3] (ILL_COPROC): Likewise.
12474 [POSIX || XPG3] (ILL_BADSTK): Likewise.
12475 [POSIX || XPG3] (FPE_INTDIV): Likewise.
12476 [POSIX || XPG3] (FPE_INTOVF): Likewise.
12477 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
12478 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
12479 [POSIX || XPG3] (FPE_FLTUND): Likewise.
12480 [POSIX || XPG3] (FPE_FLTRES): Likewise.
12481 [POSIX || XPG3] (FPE_FLTINV): Likewise.
12482 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
12483 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
12484 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
12485 [POSIX || XPG3] (BUS_ADRALN): Likewise.
12486 [POSIX || XPG3] (BUS_ADRERR): Likewise.
12487 [POSIX || XPG3] (BUS_OBJERR): Likewise.
12488 [POSIX || XPG3] (CLD_EXITED): Likewise.
12489 [POSIX || XPG3] (CLD_KILLED): Likewise.
12490 [POSIX || XPG3] (CLD_DUMPED): Likewise.
12491 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
12492 [POSIX || XPG3] (CLD_STOPPED): Likewise.
12493 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
12494 [POSIX || XPG3] (POLL_IN): Likewise.
12495 [POSIX || XPG3] (POLL_OUT): Likewise.
12496 [POSIX || XPG3] (POLL_MSG): Likewise.
12497 [POSIX || XPG3] (POLL_ERR): Likewise.
12498 [POSIX || XPG3] (POLL_PRI): Likewise.
12499 [POSIX || XPG3] (POLL_HUP): Likewise.
12500 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
12501 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
12502 (SIG*): Do not allow.
12503 [XPG3] (si_*): Likewise.
12504 [XPG3] (SI_*): Likewise.
12505 [XPG3 || XPG4] (sigev_*): Likewise.
12506 [XPG3 || XPG4] (SIGEV_*): Likewise.
12507 [XPG3 || XPG4] (sival_*): Likewise.
12508 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
12509 [POSIX || XPG3] (BUS_*): Likewise.
12510 [POSIX || XPG3] (CLD_*): Likewise.
12511 [POSIX || XPG3] (FPE_*): Likewise.
12512 [POSIX || XPG3] (ILL_*): Likewise.
12513 [POSIX || XPG3] (POLL_*): Likewise.
12514 [POSIX || XPG3] (SEGV_*): Likewise.
12515 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
12516 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
12517 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
12518 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
12519 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
12520 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
12521 Specify type and value.
12522 (TVERSLEN): Likewise.
12523 (REGTYPE): Likewise.
12524 (AREGTYPE): Likewise.
12525 (LNKTYPE): Likewise.
12526 (SYMTYPE): Likewise.
12527 (CHRTYPE): Likewise.
12528 (BLKTYPE): Likewise.
12529 (DIRTYPE): Likewise.
12530 (FIFOTYPE): Likewise.
12531 (CONTTYPE): Likewise.
12532 (TSUID): Likewise.
12533 (TSGID): Likewise.
12534 (TSVTX): Likewise.
12535 (TUREAD): Likewise.
12536 (TUWRITE): Likewise.
12537 (TUEXEC): Likewise.
12538 (TGREAD): Likewise.
12539 (TGWRITE): Likewise.
12540 (TGEXEC): Likewise.
12541 (TOREAD): Likewise.
12542 (TOWRITE): Likewise.
12543 (TOEXEC): Likewise.
12544 [POSIX] (TSVTX): Expect constant.
12545
aa97dee1
JM
125462014-03-06 Joseph Myers <joseph@codesourcery.com>
12547
f214606a
JM
12548 * Makefile (tests): Change dependencies to ....
12549 (tests-special): ... additions to this variable.
12550 (tests): Depend on $(tests-special).
12551 * Makerules (check-abi-list): New variable.
12552 (check-abi): Depend on $(check-abi-list).
12553 [$(subdir) = elf] (tests-special): Add
12554 $(objpfx)check-abi-libc.out.
12555 [$(build-shared) = yes && subdir] (tests-special): Add
12556 $(check-abi-list).
12557 [$(build-shared) = yes && subdir] (tests): Do not depend on
12558 check-abi.
12559 * Rules (tests): Depend on $(tests-special).
12560 (xtests): Depend on $(xtests-special).
12561 * catgets/Makefile (tests): Change dependencies to ....
12562 (tests-special): ... additions to this variable.
12563 * conform/Makefile (tests): Change dependencies to ....
12564 (tests-special): ... additions to this variable.
12565 * elf/Makefile (tests): Change dependencies to ....
12566 (tests-special): ... additions to this variable.
12567 * grp/Makefile (tests): Change dependencies to ....
12568 (tests-special): ... additions to this variable.
12569 * iconv/Makefile (xtests): Change dependencies to ....
12570 (xtests-special): ... additions to this variable.
12571 * iconvdata/Makefile (tests): Change dependencies to ....
12572 (tests-special): ... additions to this variable.
12573 * intl/Makefile (tests): Change dependencies to ....
12574 (tests-special): ... additions to this variable. Also add
12575 $(objpfx)tst-gettext.out.
12576 * io/Makefile (tests): Change dependencies to ....
12577 (tests-special): ... additions to this variable.
12578 * libio/Makefile (tests): Change dependencies to ....
12579 (tests-special): ... additions to this variable.
12580 * malloc/Makefile (tests): Change dependencies to ....
12581 (tests-special): ... additions to this variable.
12582 * misc/Makefile (tests): Change dependencies to ....
12583 (tests-special): ... additions to this variable.
12584 * nptl/Makefile (tests): Change dependencies to ....
12585 (tests-special): ... additions to this variable.
12586 * nptl_db/Makefile (tests): Change dependencies to ....
12587 (tests-special): ... additions to this variable.
12588 * posix/Makefile (tests): Change dependencies to ....
12589 (tests-special): ... additions to this variable.
12590 (xtests): Change dependencies to ....
12591 (xtests-special): ... additions to this variable.
12592 * resolv/Makefile (tests): Change dependencies to ....
12593 (tests-special): ... additions to this variable.
12594 (xtests): Change dependencies to ....
12595 (xtests-special): ... additions to this variable.
12596 * stdio-common/Makefile (tests): Change dependencies to ....
12597 (tests-special): ... additions to this variable.
12598 (do-tst-unbputc): Remove target.
12599 (do-tst-printf): Likewise.
12600 * stdlib/Makefile (tests): Change dependencies to ....
12601 (tests-special): ... additions to this variable.
12602 * string/Makefile (tests): Change dependencies to ....
12603 (tests-special): ... additions to this variable.
12604 * sysdeps/x86/Makefile (tests): Change dependencies to ....
12605 (tests-special): ... additions to this variable.
12606
81700b53
JM
12607 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
12608 whole file.
12609 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
12610 whole file.
12611 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
12612 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
12613
2ea18461
JM
12614 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
12615 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
12616 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
12617 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
12618 * conform/data/libgen.h-data [XPG3]: Likewise.
12619 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
12620 * conform/data/ndbm.h-data [XPG3]: Likewise.
12621 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12622 * conform/data/netdb.h-data [XPG3]: Likewise.
12623 * conform/data/netinet/in.h-data [XPG3]: Likewise.
12624 * conform/data/poll.h-data [XPG3]: Likewise.
12625 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12626 * conform/data/strings.h-data [XPG3]: Likewise.
12627 * conform/data/stropts.h-data [XPG3]: Likewise.
12628 * conform/data/sys/mman.h-data [XPG3]: Likewise.
12629 * conform/data/sys/resource.h-data [XPG3]: Likewise.
12630 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
12631 Likewise.
12632 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
12633 * conform/data/sys/time.h-data [XPG3]: Likewise.
12634 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
12635 * conform/data/sys/uio.h-data [XPG3]: Likewise.
12636 * conform/data/sys/un.h-data [XPG3]: Likewise.
12637 * conform/data/syslog.h-data [XPG3]: Likewise.
12638 * conform/data/ucontext.h-data [XPG3]: Likewise.
12639 * conform/data/utmpx.h-data [XPG3]: Likewise.
12640 * conform/data/varargs.h-data [UNIX98]: Enable file.
12641
355bc986
JM
12642 * manual/Makefile (INSTALL_INFO): Remove variable setting.
12643
215db402
JM
12644 * math/libm-test.inc (struct test_f_f_data): Move expected results
12645 into structure for each rounding mode.
12646 (struct test_ff_f_data): Likewise.
12647 (struct test_ff_f_data_nexttoward): Likewise.
12648 (struct test_fi_f_data): Likewise.
12649 (struct test_fl_f_data): Likewise.
12650 (struct test_if_f_data): Likewise.
12651 (struct test_fff_f_data): Likewise.
12652 (struct test_c_f_data): Likewise.
12653 (struct test_f_f1_data): Likewise.
12654 (struct test_fF_f1_data): Likewise.
12655 (struct test_ffI_f1_data): Likewise.
12656 (struct test_c_c_data): Likewise.
12657 (struct test_cc_c_data): Likewise.
12658 (struct test_f_i_data): Likewise.
12659 (struct test_ff_i_data): Likewise.
12660 (struct test_f_l_data): Likewise.
12661 (struct test_f_L_data): Likewise.
12662 (struct test_fFF_11_data): Likewise.
12663 (RM_): New macro.
12664 (RM_FE_DOWNWARD): Likewise.
12665 (RM_FE_TONEAREST): Likewise.
12666 (RM_FE_TOWARDZERO): Likewise.
12667 (RM_FE_UPWARD): Likewise.
12668 (RUN_TEST_LOOP_f_f): Update references to expected results.
12669 (RUN_TEST_LOOP_2_f): Likewise.
12670 (RUN_TEST_LOOP_fff_f): Likewise.
12671 (RUN_TEST_LOOP_c_f): Likewise.
12672 (RUN_TEST_LOOP_f_f1): Likewise.
12673 (RUN_TEST_LOOP_fF_f1): Likewise.
12674 (RUN_TEST_LOOP_fI_f1): Likewise.
12675 (RUN_TEST_LOOP_ffI_f1): Likewise.
12676 (RUN_TEST_LOOP_c_c): Likewise.
12677 (RUN_TEST_LOOP_cc_c): Likewise.
12678 (RUN_TEST_LOOP_f_i): Likewise.
12679 (RUN_TEST_LOOP_f_i_tg): Likewise.
12680 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12681 (RUN_TEST_LOOP_f_b): Likewise.
12682 (RUN_TEST_LOOP_f_b_tg): Likewise.
12683 (RUN_TEST_LOOP_f_l): Likewise.
12684 (RUN_TEST_LOOP_f_L): Likewise.
12685 (RUN_TEST_LOOP_fFF_11): Likewise.
12686 * math/gen-libm-test.pl (parse_args): Output four copies of
12687 expected results for each test.
12688
67737b8f
JM
12689 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12690 (__ASSUME_UTIMES): Remove.
12691 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12692 (__ASSUME_UTIMES): Likewise.
12693
aa97dee1
JM
12694 * math/gen-auto-libm-tests.c: Update comment on output format.
12695 (output_for_one_input_case): Generate before-rounding and
12696 after-rounding information as conditions on output flags not
12697 floating-point format.
12698 * math/auto-libm-test-out: Regenerated.
12699 * math/gen-libm-test.pl (cond_value): New function.
12700 (or_cond_value): Use cond_value.
12701 (generate_testfile): Handle conditional exceptions.
12702
e6b6a857
JM
127032014-03-05 Joseph Myers <joseph@codesourcery.com>
12704
2f0a0f44
JM
12705 * math/libm-test.inc (max_valid_error): New variable.
12706 (init_max_error): Take new argument specifying whether function
12707 results are exactly determined. Set max_valid_error and bound
12708 other variables for errors based on this argument.
12709 (set_max_error): Do not record results above max_valid_error.
12710 (check_float_internal): Only accept errors of up to 0.5ulps if
12711 also at most max_valid_error.
12712 (START): Take new argument EXACT and pass it to init_max_error.
12713 (acos_test): Update call to START.
12714 (acos_test_tonearest): Likewise.
12715 (acos_test_towardzero): Likewise.
12716 (acos_test_downward): Likewise.
12717 (acos_test_upward): Likewise.
12718 (acosh_test): Likewise.
12719 (asin_test): Likewise.
12720 (asin_test_tonearest): Likewise.
12721 (asin_test_towardzero): Likewise.
12722 (asin_test_downward): Likewise.
12723 (asin_test_upward): Likewise.
12724 (asinh_test): Likewise.
12725 (atan_test): Likewise.
12726 (atanh_test): Likewise.
12727 (atan2_test): Likewise.
12728 (cabs_test): Likewise.
12729 (cacos_test): Likewise.
12730 (cacosh_test): Likewise.
12731 (carg_test): Likewise.
12732 (casin_test): Likewise.
12733 (casinh_test): Likewise.
12734 (catan_test): Likewise.
12735 (catanh_test): Likewise.
12736 (cbrt_test): Likewise.
12737 (ccos_test): Likewise.
12738 (ccosh_test): Likewise.
12739 (ceil_test): Likewise.
12740 (cexp_test): Likewise.
12741 (cimag_test): Likewise.
12742 (clog_test): Likewise.
12743 (clog10_test): Likewise.
12744 (conj_test): Likewise.
12745 (copysign_test): Likewise.
12746 (cos_test): Likewise.
12747 (cos_test_tonearest): Likewise.
12748 (cos_test_towardzero): Likewise.
12749 (cos_test_downward): Likewise.
12750 (cos_test_upward): Likewise.
12751 (cosh_test): Likewise.
12752 (cosh_test_tonearest): Likewise.
12753 (cosh_test_towardzero): Likewise.
12754 (cosh_test_downward): Likewise.
12755 (cosh_test_upward): Likewise.
12756 (cpow_test): Likewise.
12757 (cproj_test): Likewise.
12758 (creal_test): Likewise.
12759 (csin_test): Likewise.
12760 (csinh_test): Likewise.
12761 (csqrt_test): Likewise.
12762 (ctan_test): Likewise.
12763 (ctan_test_tonearest): Likewise.
12764 (ctan_test_towardzero): Likewise.
12765 (ctan_test_downward): Likewise.
12766 (ctan_test_upward): Likewise.
12767 (ctanh_test): Likewise.
12768 (ctanh_test_tonearest): Likewise.
12769 (ctanh_test_towardzero): Likewise.
12770 (ctanh_test_downward): Likewise.
12771 (ctanh_test_upward): Likewise.
12772 (erf_test): Likewise.
12773 (erfc_test): Likewise.
12774 (exp_test): Likewise.
12775 (exp_test_tonearest): Likewise.
12776 (exp_test_towardzero): Likewise.
12777 (exp_test_downward): Likewise.
12778 (exp_test_upward): Likewise.
12779 (exp10_test): Likewise.
12780 (exp10_test_tonearest): Likewise.
12781 (exp10_test_towardzero): Likewise.
12782 (exp10_test_downward): Likewise.
12783 (exp10_test_upward): Likewise.
12784 (pow10_test): Likewise.
12785 (exp2_test): Likewise.
12786 (expm1_test): Likewise.
12787 (expm1_test_tonearest): Likewise.
12788 (expm1_test_towardzero): Likewise.
12789 (expm1_test_downward): Likewise.
12790 (expm1_test_upward): Likewise.
12791 (fabs_test): Likewise.
12792 (fdim_test): Likewise.
12793 (floor_test): Likewise.
12794 (fma_test): Likewise.
12795 (fma_test_towardzero): Likewise.
12796 (fma_test_downward): Likewise.
12797 (fma_test_upward): Likewise.
12798 (fmax_test): Likewise.
12799 (fmin_test): Likewise.
12800 (fmod_test): Likewise.
12801 (fpclassify_test): Likewise.
12802 (frexp_test): Likewise.
12803 (hypot_test): Likewise.
12804 (ilogb_test): Likewise.
12805 (isfinite_test): Likewise.
12806 (finite_test): Likewise.
12807 (isgreater_test): Likewise.
12808 (isgreaterequal_test): Likewise.
12809 (isinf_test): Likewise.
12810 (isless_test): Likewise.
12811 (islessequal_test): Likewise.
12812 (islessgreater_test): Likewise.
12813 (isnan_test): Likewise.
12814 (isnormal_test): Likewise.
12815 (issignaling_test): Likewise.
12816 (isunordered_test): Likewise.
12817 (j0_test): Likewise.
12818 (j1_test): Likewise.
12819 (jn_test): Likewise.
12820 (ldexp_test): Likewise.
12821 (lgamma_test): Likewise.
12822 (gamma_test): Likewise.
12823 (lrint_test): Likewise.
12824 (lrint_test_tonearest): Likewise.
12825 (lrint_test_towardzero): Likewise.
12826 (lrint_test_downward): Likewise.
12827 (lrint_test_upward): Likewise.
12828 (llrint_test): Likewise.
12829 (llrint_test_tonearest): Likewise.
12830 (llrint_test_towardzero): Likewise.
12831 (llrint_test_downward): Likewise.
12832 (llrint_test_upward): Likewise.
12833 (log_test): Likewise.
12834 (log10_test): Likewise.
12835 (log1p_test): Likewise.
12836 (log2_test): Likewise.
12837 (logb_test): Likewise.
12838 (logb_test_downward): Likewise.
12839 (lround_test): Likewise.
12840 (llround_test): Likewise.
12841 (modf_test): Likewise.
12842 (nearbyint_test): Likewise.
12843 (nextafter_test): Likewise.
12844 (nexttoward_test): Likewise.
12845 (pow_test): Likewise.
12846 (pow_test_tonearest): Likewise.
12847 (pow_test_towardzero): Likewise.
12848 (pow_test_downward): Likewise.
12849 (pow_test_upward): Likewise.
12850 (remainder_test): Likewise.
12851 (drem_test): Likewise.
12852 (remainder_test_tonearest): Likewise.
12853 (drem_test_tonearest): Likewise.
12854 (remainder_test_towardzero): Likewise.
12855 (drem_test_towardzero): Likewise.
12856 (remainder_test_downward): Likewise.
12857 (drem_test_downward): Likewise.
12858 (remainder_test_upward): Likewise.
12859 (drem_test_upward): Likewise.
12860 (remquo_test): Likewise.
12861 (rint_test): Likewise.
12862 (rint_test_tonearest): Likewise.
12863 (rint_test_towardzero): Likewise.
12864 (rint_test_downward): Likewise.
12865 (rint_test_upward): Likewise.
12866 (round_test): Likewise.
12867 (scalb_test): Likewise.
12868 (scalbn_test): Likewise.
12869 (scalbln_test): Likewise.
12870 (signbit_test): Likewise.
12871 (sin_test): Likewise.
12872 (sin_test_tonearest): Likewise.
12873 (sin_test_towardzero): Likewise.
12874 (sin_test_downward): Likewise.
12875 (sin_test_upward): Likewise.
12876 (sincos_test): Likewise.
12877 (sinh_test): Likewise.
12878 (sinh_test_tonearest): Likewise.
12879 (sinh_test_towardzero): Likewise.
12880 (sinh_test_downward): Likewise.
12881 (sinh_test_upward): Likewise.
12882 (sqrt_test): Likewise.
12883 (sqrt_test_tonearest): Likewise.
12884 (sqrt_test_towardzero): Likewise.
12885 (sqrt_test_downward): Likewise.
12886 (sqrt_test_upward): Likewise.
12887 (tan_test): Likewise.
12888 (tan_test_tonearest): Likewise.
12889 (tan_test_towardzero): Likewise.
12890 (tan_test_downward): Likewise.
12891 (tan_test_upward): Likewise.
12892 (tanh_test): Likewise.
12893 (tgamma_test): Likewise.
12894 (trunc_test): Likewise.
12895 (y0_test): Likewise.
12896 (y1_test): Likewise.
12897 (yn_test): Likewise.
12898 (significand_test): Likewise.
12899
e6b6a857
JM
12900 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
12901 individual tests in comment.
12902 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
12903 (prev_max_error): New variable.
12904 (prev_real_max_error): Likewise.
12905 (prev_imag_max_error): Likewise.
12906 (compare_ulp_data): Don't refer to test names in comment.
12907 (find_test_ulps): Remove function.
12908 (find_function_ulps): Likewise.
12909 (find_complex_function_ulps): Likewise.
12910 (init_max_error): Take function name as argument. Look up ulps
12911 for that function.
12912 (print_ulps): Remove function.
12913 (print_max_error): Use prev_max_error instead of calling
12914 find_function_ulps.
12915 (print_complex_max_error): Use prev_real_max_error and
12916 prev_imag_max_error instead of calling find_complex_function_ulps.
12917 (check_float_internal): Take max_ulp parameter instead of calling
12918 find_test_ulps. Don't call print_ulps.
12919 (check_float): Update call to check_float_internal.
12920 (check_complex): Update calls to check_float_internal.
12921 (START): Pass argument to init_max_error.
12922 * math/gen-libm-test.pl (%results): Don't include "kind"
12923 information.
12924 (parse_ulps): Don't handle ulps of individual tests.
12925 (print_ulps_file): Likewise.
12926 (output_ulps): Likewise.
12927 * math/README.libm-test: Update.
12928 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
12929 individual tests.
12930 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
12931 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12932 * sysdeps/arm/libm-test-ulps: Likewise.
12933 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12934 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
12935 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
12936 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
12937 * sysdeps/microblaze/libm-test-ulps: Likewise.
12938 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12939 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12940 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12941 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12942 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12943 * sysdeps/sh/libm-test-ulps: Likewise.
12944 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12945 * sysdeps/tile/libm-test-ulps: Likewise.
12946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12947
45adef3c
JM
129482014-03-04 Joseph Myers <joseph@codesourcery.com>
12949
12950 * math/libm-test.inc (print_complex_max_error): Check separately
12951 whether real and imaginary errors are within allowed range and
12952 pass 0 to print_complex_function_ulps instead of value within
12953 allowed range.
12954
000232b9
SP
129552014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12956
d4b17258
SP
12957 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
12958 formatting.
12959 (get_handles_fopen): Likewise.
12960 (do_write_test): Likewise.
12961
091eff71
SP
12962 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
12963
fa3cd248
SP
12964 * libio/fileops.c (do_ftell): Use cached offset when
12965 available.
12966 * libio/iofwide.c (do_ftell_wide): Likewise.
12967 * libio/iofdopen.c (_IO_new_fdopen): Don't use
12968 _IO_file_attach.
12969 * libio/wfileops.c (_IO_fwide): Don't cache offset.
12970
000232b9
SP
12971 [BZ #16532]
12972 * libio/libioP.h (get_file_offset): New function.
12973 * libio/fileops.c (get_file_offset): Likewise.
12974 (do_ftell): Likewise.
12975 (_IO_new_file_seekoff): Split out ftell logic.
12976 * libio/wfileops.c (do_ftell_wide): Likewise.
12977 (_IO_wfile_seekoff): Split out ftell logic.
12978 * libio/tst-ftell-active-handler.c: New test case.
12979 * libio/Makefile (tests): Add it.
12980
116f4d1a
RM
129812014-03-03 Roland McGrath <roland@hack.frob.com>
12982
12983 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12984 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12985
532a6035
SP
129862014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12987
12988 [BZ #16639]
12989 * nscd/connections.c (nscd_init): Call do_exit.
12990 (start_threads): Call do_exit and notify_parent.
12991 (begin_drop_privileges): Call do_exit.
12992 (finish_drop_privileges): Likewise.
12993 * nscd/selinux.c (preserve_capabilities): Likewise.
12994 (install_real_capabilities): Likewise.
12995 (nscd_selinux_enabled): Likewise.
12996 (avc_create_thread): Likewise.
12997 (avc_alloc_lock): Likewise.
12998 (nscd_avc_init): Likewise.
12999 * nscd/nscd.c (parent_fd): New static variable.
13000 (main): Create a pipe between parent and child processes.
13001 Skip closing parent_fd.
13002 (monitor_child): New function.
13003 (do_exit): Likewise.
13004 (notify_parent): Likewise.
13005 * nscd/nscd.h (notify_parent): Likewise.
13006 (do_exit): Likewise.
13007
d6285c9f
CD
130082014-03-03 Carlos O'Donell <carlos@redhat.com>
13009
13010 * malloc/malloc.c (__libc_calloc): Revert last change.
13011
2b85d2a0
AZ
130122014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13013
13014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13015
c7debbdf
RS
130162014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13017
13018 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
13019 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
13020 implementation.
13021 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13022 (__libc_ifunc_impl_list): Likewise.
13023 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
13024 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
13025 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
13026 * string/strrchr.c: Define STRRCHR.
13027
235eed86
OB
130282014-02-28 Ondřej Bílka <neleai@seznam.cz>
13029
13030 * benchtest/bench-strtok.c (simple_strtok): Delete.
13031 (strtok_string): Use as benchmark.
13032 * string/strtok (STRTOK): New macro.
13033
8e25d1e7
CD
130342014-02-28 Carlos O'Donell <carlos@redhat.com>
13035
ef563f92
CD
13036 * manual/threads.texi: Add header and standard comments to all
13037 functions.
13038
8e25d1e7
CD
13039 * elf/dl-lookup.c (check_match): New function.
13040 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
13041 (do_lookup_x): Remove nested function check_match. Use non-nested
13042 function check_match.
13043
ff71cc37
RM
130442014-02-28 Roland McGrath <roland@hack.frob.com>
13045
f08e9a26
RM
13046 * csu/Makefile (generated, before-compile): Use += rather than =.
13047 * catgets/Makefile (generated, generated-dirs): Likewise.
13048 * debug/Makefile (generated): Likewise.
13049 * dlfcn/Makefile (generated): Likewise.
13050 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
13051 * iconvdata/Makefile (before-compile, generated): Likewise.
13052 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
13053 * libio/Makefile (generated): Likewise.
13054 * malloc/Makefile (generated): Likewise.
13055 * manual/Makefile (generated, generated-dirs): Likewise.
13056 * misc/Makefile (generated): Likewise.
13057 * posix/Makefile (generated): Likewise.
13058 * resolv/Makefile (generated): Likewise.
13059 * sunrpc/Makefile (generated, generated-dirs): Likewise.
13060 * timezone/Makefile (generated, generated-dirs): Likewise.
13061
ff71cc37
RM
13062 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
13063
fe13a20c
AZ
130642014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13065
57f41c40
AS
13066 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13067 power8 implementation.
13068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
13069 file: POWER8 llround ifunc implementation.
13070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
13071 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
13072 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
13073 POWER8 llround implementation.
13074
57f41c40
AS
13075 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
13076 power8 implementation.
13077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
13078 file: POWER8 llrint ifunc implementation.
13079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
13080 Add POWER8 implementation.
1ad8950a
AZ
13081 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
13082 POWER8 llrint implementation.
13083
57f41c40
AS
13084 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
13085 power8 implementation.
13086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13087 file: POWER8 finite ifunc implementation.
13088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13089 Add POWER8 implementation.
cac626d6
AZ
13090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13091 Likewise.
13092 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13093 POWER8 finite implementation.
13094 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13095
57f41c40
AS
13096 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13097 power8 implementation.
13098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13099 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
13100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13101 POWER8 implementation.
13102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13103 Likewise.
57f41c40
AS
13104 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13105 isinf implementation.
4393fc11
AZ
13106 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13107
57f41c40
AS
13108 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13109 (INIT_ARCH): Add hwcap2 initialization.
13110 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13111 power8 implementation.
13112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13113 file: POWER8 isnan ifunc implementation.
487972ae
AZ
13114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13115 POWER8 implementation.
13116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13117 Likewise.
57f41c40
AS
13118 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13119 isnan implementation.
487972ae
AZ
13120 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13121
7d92b787
JY
131222014-02-27 Joey Ye <joey.ye@arm.com>
13123
13124 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13125 (_FP_NANFRAC_Q): Set to zero.
13126
1cadc858
SP
131272014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13128
13129 [BZ #16623]
13130 * math/auto-libm-test-in: New test inputs.
13131 * math/auto-libm-test-out: Regenerate.
13132 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13133 and DA.
13134 (__cos): Likewise.
13135 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13136
f8c17e79
JM
131372014-02-27 Joseph Myers <joseph@codesourcery.com>
13138
13139 * scripts/evaluate-test.sh: Take new argument indicating whether
13140 failure is expected.
13141 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13142 indicating whether failure is expected.
13143 * conform/Makefile (test-xfail-run-conformtest): New variable.
13144 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13145 level.
13146 * posix/Makefile (test-xfail-annexc): New variable.
13147 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13148
a5f891ac
JM
131492014-02-26 Joseph Myers <joseph@codesourcery.com>
13150
13151 * argp/Makefile: Include Makeconfig immediately after defining
13152 subdir.
13153 * assert/Makefile: Likewise.
13154 * benchtests/Makefile: Likewise.
13155 * catgets/Makefile: Likewise.
13156 * conform/Makefile: Likewise.
13157 * crypt/Makefile: Likewise.
13158 * csu/Makefile: Likewise.
13159 (all): Remove target.
13160 * ctype/Makefile: Include Makeconfig immediately after defining
13161 subdir.
13162 * debug/Makefile: Likewise.
13163 * dirent/Makefile: Likewise.
13164 * dlfcn/Makefile: Likewise.
13165 * gmon/Makefile: Likewise.
13166 * gnulib/Makefile: Likewise.
13167 * grp/Makefile: Likewise.
13168 * gshadow/Makefile: Likewise.
13169 * hesiod/Makefile: Likewise.
13170 * hurd/Makefile: Likewise.
13171 (all): Remove target.
13172 * iconvdata/Makefile: Include Makeconfig immediately after
13173 defining subdir.
13174 * inet/Makefile: Likewise.
13175 * intl/Makefile: Likewise.
13176 * io/Makefile: Likewise.
13177 * libio/Makefile: Likewise.
13178 (all): Remove target.
13179 * locale/Makefile: Include Makeconfig immediately after defining
13180 subdir.
13181 * login/Makefile: Likewise.
13182 * mach/Makefile: Likewise.
13183 (all): Remove target.
13184 * malloc/Makefile: Include Makeconfig immediately after defining
13185 subdir.
13186 (all): Remove target.
13187 * manual/Makefile: Include Makeconfig immediately after defining
13188 subdir.
13189 * math/Makefile: Likewise.
13190 * misc/Makefile: Likewise.
13191 * nis/Makefile: Likewise.
13192 * nss/Makefile: Likewise.
13193 * po/Makefile: Likewise.
13194 (all): Remove target.
13195 * posix/Makefile: Include Makeconfig immediately after defining
13196 subdir.
13197 * pwd/Makefile: Likewise.
13198 * resolv/Makefile: Likewise.
13199 * resource/Makefile: Likewise.
13200 * rt/Makefile: Likewise.
13201 * setjmp/Makefile: Likewise.
13202 * shadow/Makefile: Likewise.
13203 * signal/Makefile: Likewise.
13204 * socket/Makefile: Likewise.
13205 * soft-fp/Makefile: Likewise.
13206 * stdio-common/Makefile: Likewise.
13207 * stdlib/Makefile: Likewise.
13208 * streams/Makefile: Likewise.
13209 * string/Makefile: Likewise.
13210 * sunrpc/Makefile: Likewise.
13211 (all): Remove target.
13212 * sysvipc/Makefile: Include Makeconfig immediately after defining
13213 subdir.
13214 * termios/Makefile: Likewise.
13215 * time/Makefile: Likewise.
13216 * timezone/Makefile: Likewise.
13217 (all): Remove target.
13218 * wcsmbs/Makefile: Include Makeconfig immediately after defining
13219 subdir.
13220 * wctype/Makefile: Likewise.
13221
5b456e9d
SE
132222014-02-26 Steve Ellcey <sellcey@mips.com>
13223
13224 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
13225 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
13226 (libc_feholdexcept_setround_mips): Ditto.
13227 (libc_feholdsetround): New.
13228 (libc_feholdsetroundf): New.
13229 (libc_feholdsetroundl): New.
13230 (libc_feupdateenv_test_mips): New.
13231 (libc_feupdateenv_test): New.
13232 (libc_feupdateenv_testf): New.
13233 (libc_feupdateenv_testl): New.
13234 (libc_feresetround): New.
13235 (libc_feresetroundf): New.
13236 (libc_feresetroundl): New.
13237 (libc_fetestexcept_mips): New.
13238 (libc_fetestexcept): New.
13239 (libc_fetestexceptf): New.
13240 (libc_fetestexceptl): New.
13241 (HAVE_RM_CTX): New.
13242 (libc_feholdexcept_setround_mips_ctx): New.
13243 (libc_feholdexcept_setround_ctx): New.
13244 (libc_feholdexcept_setroundf_ctx): New.
13245 (libc_feholdexcept_setroundl_ctx): New.
13246 (libc_fesetenv_mips_ctx): New.
13247 (libc_fesetenv_ctx): New.
13248 (libc_fesetenv_ctxf): New.
13249 (libc_fesetenv_ctxl): New.
13250 (libc_feupdateenv_mips_ctx): New.
13251 (libc_feupdateenv_ctx): New.
13252 (libc_feupdateenvf_ctx): New.
13253 (libc_feupdateenvl_ctx): New.
13254 (libc_feholdsetround_mips_ctx): New.
13255 (libc_feholdsetround_ctx): New.
13256 (libc_feholdsetroundf_ctx): New.
13257 (libc_feholdsetroundl_ctx): New.
13258 (libc_feresetround_mips_ctx): New.
13259 (libc_feresetround_ctx): New.
13260 (libc_feresetroundf_ctx): New.
13261 (libc_feresetroundl_ctx): New.
13262
085d0e35
CD
132632014-02-26 Carlos O'Donell <carlos@redhat.com>
13264
f067bf1f
CD
13265 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
13266
085d0e35
CD
13267 * manual/ipc.texi: New file.
13268 * manual/Makefile (chapters): Add ipc.
13269 * manual/job.texi: Add "Inter-Process Communication" to next.
13270 * manual/process.texi: Add "Inter-Process Communication" to prev.
13271
86e58c08
AZ
132722014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13273
13274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13275
4248f0da
OB
132762014-02-26 Ondřej Bílka <neleai@seznam.cz>
13277
13278 * malloc/malloc.c (__libc_calloc): Simplify implementation.
13279
cf822e3c
OB
13280 * manual/arith.texi: Fix spaces after sentences.
13281 * manual/charset.texi: Likewise.
13282 * manual/errno.texi: Likewise.
13283 * manual/install.texi: Likewise.
13284 * manual/llio.texi: Likewise.
13285 * manual/locale.texi: Likewise.
13286 * manual/maint.texi: Likewise.
13287 * manual/math.texi: Likewise.
13288 * manual/memory.texi: Likewise.
13289 * manual/message.texi: Likewise.
13290 * manual/probes.texi: Likewise.
13291 * manual/resource.texi: Likewise.
13292 * manual/signal.texi: Likewise.
13293 * manual/socket.texi: Likewise.
13294 * manual/stdio.texi: Likewise.
13295 * manual/string.texi: Likewise.
13296 * manual/time.texi: Likewise.
13297 * manual/users.texi: Likewise.
13298
ade40b10
CD
132992014-02-25 Carlos O'Donell <carlos@redhat.com>
13300
13301 [BZ #16632]
13302 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
13303 _DEFAULT_SOURCE is defined.
13304
d0503676
CD
133052014-02-25 Ulrich Drepper <drepper@gmail.com>
13306 Carlos O'Donell <carlos@redhat.com>
13307
13308 [BZ #16613]
13309 * elf/dl-tls.c (_dl_count_modids): New function.
13310 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
13311 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
13312 audit library and increment generation counter.
13313 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
13314 * elf/tst-audit9.c: New file.
13315 * elf/tst-auditmod9a.c: New file.
13316 * elf/tst-auditmod9b.c: New file.
13317 * elf/Makefile: Add rules to build and run tst-audit9.
13318
4cbf380c
FW
133192014-02-25 Florian Weimer <fweimer@redhat.com>
13320
13321 [BZ #15347]
13322 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
13323
80a56cc3
WN
133242014-02-25 Will Newton <will.newton@linaro.org>
13325
13326 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
13327 (__longjmp): Restore sp and lr before restoring callee
13328 saved registers. Add longjmp and longjmp_target
13329 SystemTap probe point.
13330 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
13331 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
13332 Define to zero to match jmpbuf layout.
13333 * sysdeps/arm/setjmp.S: Include stap-probe.h.
13334 (__sigsetjmp): Save sp and lr before saving callee
13335 saved registers. Add setjmp SystemTap probe point.
13336
3ea0f74e
SL
133372014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13338
13339 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13340
b04acb26
AS
133412014-02-24 Andreas Schwab <schwab@suse.de>
13342
13343 [BZ #15804]
13344 * elf/pldd.c (wait_for_ptrace_stop): New function.
13345 (main): Call it after attaching.
13346
098ad55c
RM
133472014-02-22 Roland McGrath <roland@hack.frob.com>
13348
d4ec6ae1
RM
13349 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
13350 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
13351 Versions files is now verboten.
13352 * hurd/Versions (libc: GLIBC_2.0):
13353 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
13354 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
13355 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
13356 * mach/Versions: Likewise.
13357
098ad55c
RM
13358 * csu/Versions: Remove unused %include.
13359 * resolv/Versions: Likewise.
13360
acd7f096
JM
133612014-02-21 Joseph Myers <joseph@codesourcery.com>
13362
f0881698
JM
13363 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
13364 ($(objpfx)check-local-headers.out): Likewise.
13365 ($(objpfx)begin-end-check.out): Likewise.
13366 * Makerules (check-abi-%.out): Likewise.
13367 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
13368 ($(objpfx)test2.cat): Likewise.
13369 ($(objpfx)de/libc.cat): Likewise.
13370 ($(objpfx)test-gencat.out): Likewise.
13371 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
13372 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
13373 ($(objpfx)noload-mem): Likewise.
13374 ($(objpfx)tst-pathopt.out): Likewise.
13375 ($(objpfx)tst-rtld-load-self.out): Likewise.
13376 ($(objpfx)tst-array1-cmp.out): Likewise.
13377 ($(objpfx)tst-array1-static-cmp.out): Likewise.
13378 ($(objpfx)tst-array2-cmp.out): Likewise.
13379 ($(objpfx)tst-array3-cmp.out): Likewise.
13380 ($(objpfx)tst-array4-cmp.out): Likewise.
13381 ($(objpfx)tst-array5-cmp.out): Likewise.
13382 ($(objpfx)tst-array5-static-cmp.out): Likewise.
13383 ($(objpfx)check-textrel.out): Likewise.
13384 ($(objpfx)check-execstack.out): Likewise.
13385 ($(objpfx)check-localplt.out): Likewise.
13386 ($(objpfx)order2-cmp.out): Likewise.
13387 ($(objpfx)tst-leaks1-mem): Likewise.
13388 ($(objpfx)tst-leaks1-static-mem): Likewise.
13389 ($(objpfx)tst-initorder-cmp.out): Likewise.
13390 ($(objpfx)tst-initorder2-cmp.out): Likewise.
13391 ($(objpfx)tst-unused-dep.out): Likewise.
13392 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
13393 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
13394 * iconv/Makefile (test-iconvconfig): Likewise.
13395 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
13396 ($(objpfx)iconv-test.out): Likewise.
13397 ($(objpfx)tst-tables.out): Likewise.
13398 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
13399 ($(objpfx)tst-gettext.out): Likewise.
13400 ($(objpfx)tst-translit.out): Likewise.
13401 ($(objpfx)tst-gettext2.out): Likewise.
13402 ($(objpfx)tst-gettext4.out): Likewise.
13403 ($(objpfx)tst-gettext6.out): Likewise.
13404 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
13405 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
13406 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
13407 ($(objpfx)tst-fopenloc-mem.out): Likewise.
13408 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
13409 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
13410 * posix/Makefile ($(objpfx)globtest.out): Likewise.
13411 ($(objpfx)wordexp-tst.out): Likewise.
13412 ($(objpfx)annexc.out): Likewise.
13413 ($(objpfx)tst-fnmatch-mem): Likewise.
13414 ($(objpfx)bug-regex2-mem): Likewise.
13415 ($(objpfx)bug-regex14-mem): Likewise.
13416 ($(objpfx)bug-regex21-mem): Likewise.
13417 ($(objpfx)bug-regex31-mem): Likewise.
13418 ($(objpfx)tst-vfork3-mem): Likewise.
13419 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13420 ($(objpfx)tst-pcre-mem): Likewise.
13421 ($(objpfx)tst-boost-mem): Likewise.
13422 ($(objpfx)tst-getconf.out): Likewise.
13423 ($(objpfx)bug-ga2-mem): Likewise.
13424 ($(objpfx)bug-glob2-mem): Likewise.
13425 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
13426 ($(objpfx)mtrace-tst-leaks2): Likewise.
13427 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
13428 ($(objpfx)tst-printf.out): Likewise.
13429 ($(objpfx)tst-setvbuf1.out): Likewise.
13430 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
13431 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
13432 ($(objpfx)tst-fmtmsg.out): Likewise.
13433 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
13434 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
13435
acd7f096
JM
13436 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
13437 * bits/sigaction.h [__USE_MISC]: Likewise.
13438 * bits/waitstatus.h: Update #endif comments.
13439 * ctype/ctype.h: Likewise.
13440 * dirent/dirent.h: Likewise.
13441 [__USE_MISC]: Remove redundant conditionals.
13442 * grp/grp.h: Update #endif comments.
13443 [__USE_GNU]: Remove redundant conditionals.
13444 [__USE_MISC]: Likewise.
13445 * inet/netinet/in.h [__USE_GNU]: Likewise.
13446 * io/sys/stat.h [__USE_MISC]: Likewise.
13447 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
13448 * libio/bits/stdio.h: Update #endif comments.
13449 [__USE_MISC]: Remove redundant conditionals.
13450 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
13451 * libio/stdio.h: Update #endif comments.
13452 [__USE_MISC]: Remove redundant conditionals.
13453 * math/bits/math-finite.h [__USE_MISC]: Likewise.
13454 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
13455 * math/math.h: Update #else and #endif comments.
13456 [__USE_MISC]: Remove redundant conditionals.
13457 * misc/sys/uio.h: Update #endif comments.
13458 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
13459 * posix/glob.h [__USE_MISC]: Likewise.
13460 * posix/sys/types.h: Update #endif comments.
13461 [__USE_MISC]: Remove redundant conditionals.
13462 * posix/sys/wait.h: Update #endif comments.
13463 [__USE_MISC]: Remove redundant conditionals.
13464 * posix/unistd.h: Update #endif comments.
13465 [__USE_MISC]: Remove redundant conditionals.
13466 * pwd/pwd.h [__USE_GNU]: Likewise.
13467 [__USE_MISC]: Likewise.
13468 * resolv/netdb.h [__USE_GNU]: Likewise.
13469 * signal/signal.h: Update #endif comments.
13470 [__USE_MISC]: Remove redundant conditionals.
13471 * stdlib/stdlib.h: Update #else and #endif comments.
13472 [__USE_MISC]: Remove redundant conditionals.
13473 [__USE_GNU]: Likewise.
13474 * string/bits/string2.h [__USE_MISC]: Likewise.
13475 * string/string.h: Update #endif comments.
13476 [__USE_MISC]: Remove redundant conditionals.
13477 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
13478 Likewise.
13479 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
13480 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
13481 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
13482 Likewise.
13483 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
13484 Likewise.
13485 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
13486 comments.
13487 [__USE_MISC]: Remove redundant conditionals.
13488 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
13489 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
13490 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
13491 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
13492 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
13493 Likewise.
13494 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
13495 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
13496 Likewise.
13497 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
13498 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
13499 Likewise.
13500 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
13501 Likewise.
13502 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
13503 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
13504 Likewise.
13505 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
13506 Likewise.
13507 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
13508 * sysdeps/x86/bits/string.h: Update #endif comments.
13509 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
13510 conditionals.
13511 * time/sys/time.h: Update #endif comments.
13512 * time/time.h: Likewise.
13513 [__USE_MISC]: Remove redundant conditionals.
13514
a5d82e4e
YG
135152014-02-21 Yury Gribov <y.gribov@samsung.com>
13516
13517 [BZ #16600]
13518 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
13519
9a80491d
AS
135202014-02-21 Andreas Schwab <schwab@linux-m68k.org>
13521
13522 * Versions.def (librt): Add GLIBC_2.17.
13523
105fa381
AC
135242014-02-21 Adam Conrad <adconrad@0c3.net>
13525
13526 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
13527 synonym for _SYS_AUXV_H to allow direct inclusion.
13528 * sysdeps/sparc/bits/hwcap.h: Likewise.
13529 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
13530 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
13531 * sysdeps/sparc/sysdep.h: Likewise.
13532
b8cd1c4e
SP
135332014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13534
13535 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
13536
bd939d23
RS
135372014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13538
13539 * benchtests/bench-strrchr.c: Print length instead of position.
13540
5d7b57ca
JM
135412014-02-20 Joseph Myers <joseph@codesourcery.com>
13542
bc688c10
JM
13543 [BZ #16611]
13544 * sysdeps/unix/sysv/linux/kernel-features.h
13545 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
13546 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
13547 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
13548 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
13549 Likewise.
13550 [__i386__ || __powerpc__ || __sh__ || __sparc__]
13551 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13552 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
13553 (__ASSUME_SENDMMSG): Define instead of using previous
13554 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
13555 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13556 (__ASSUME_SENDMMSG_SYSCALL): Define.
13557 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13558 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
13559 Likewise.
13560 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13561 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13562 Likewise.
13563 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13564 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13565 Likewise.
13566 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
13567 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13568 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13569 [__ASSUME_SENDMMSG]: Change conditionals to
13570 [__ASSUME_SENDMMSG_SOCKETCALL].
13571 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13572 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
13573 Define.
13574 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13575 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
13576 Likewise.
13577 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
13578 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13579 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13580 [!__ASSUME_SENDMMSG]: Change conditional to
13581 [!__ASSUME_SENDMMSG_SOCKETCALL].
13582 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13583 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13584 Define.
13585
0e31b18c
JM
13586 [BZ #16610]
13587 * sysdeps/unix/sysv/linux/kernel-features.h
13588 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
13589 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
13590 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
13591 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
13592 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13593 [__i386__ || __sparc__]
13594 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13595 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
13596 (__ASSUME_RECVMMSG): Define instead of using previous
13597 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
13598 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13599 (__ASSUME_RECVMMSG_SYSCALL): Define.
13600 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13601 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13602 Likewise.
13603 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13604 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13605 Likewise.
13606 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13607 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13608 Likewise.
13609 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
13610 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13611 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13612 [__ASSUME_RECVMMSG]: Change condition to
13613 [__ASSUME_RECVMMSG_SOCKETCALL].
13614 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13615 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13616 Define.
13617 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13618 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13619 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13620 Likewise.
13621 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
13622 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13623 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13624 [!__ASSUME_RECVMMSG]: Change condition to
13625 [!__ASSUME_RECVMMSG_SOCKETCALL].
13626 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13627 (__ASSUME_RECVMMSG_SYSCALL): Define.
13628
dd481ccf
JM
13629 [BZ #16609]
13630 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
13631 __powerpc__ || __s390__ || __sh__ || __sparc__]
13632 (__ASSUME_SOCKETCALL): Define.
13633 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
13634 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
13635 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
13636 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
13637 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13638 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13639 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
13640 (__ASSUME_ACCEPT4): Define instead of using previous
13641 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
13642 __powerpc__ || __sparc__ || __s390__)] condition.
13643 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13644 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13645 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
13646 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13647 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13648 [!__ASSUME_ACCEPT4]: Change condition to
13649 [!__ASSUME_ACCEPT4_SOCKETCALL].
13650 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13651 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
13652 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
13653 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13654 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
13655 __ASSUME_ACCEPT4_SYSCALL.
13656 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
13657 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
13658 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13659 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
13660 __ASSUME_ACCEPT4_SYSCALL.
13661 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
13662 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13663 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13664 [__ASSUME_ACCEPT4]: Change condition to
13665 [__ASSUME_ACCEPT4_SOCKETCALL].
13666 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13667 (__ASSUME_SOCKETCALL): Define.
13668 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
13669 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13670 (__ASSUME_SOCKETCALL): Define.
13671 (__ASSUME_ACCEPT4): Remove.
13672 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
13673 Define.
13674 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13675 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
13676 Likewise.
13677 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13678 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13679
5d7b57ca
JM
13680 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
13681 macro.
13682 (HWCAP_ARM_LPAE): Likewise.
13683 (HWCAP_ARM_EVTSTRM): Likewise.
13684 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
13685 Add vpfd32, lpae and evtstrm.
13686 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
13687 Increase to 22.
13688
63689d61
JM
136892014-02-19 Joseph Myers <joseph@codesourcery.com>
13690
13691 * math/auto-libm-test-in: Add tests of clog10.
13692 * math/auto-libm-test-out: Regenerated.
13693 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
13694 * sysdeps/i386/fpu/libm-test-ulps: Update.
13695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13696
ab09bf61
AS
136972014-02-18 Andreas Schwab <schwab@suse.de>
13698
13699 [BZ #16574]
13700 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
13701 Store non-zero if the second buffer was newly allocated.
13702 (send_dg): Likewise.
13703 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
13704 to send_vc and send_dg.
13705 (res_nsend): Pass NULL for ansp2_malloced.
13706 * resolv/res_query.c (__libc_res_nquery): Add parameter
13707 answerp2_malloced and pass it down to __libc_res_nsend.
13708 (res_nquery): Pass additional NULL to __libc_res_nquery.
13709 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
13710 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
13711 second answer buffer if answerp2_malloced was set.
13712 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
13713 (__libc_res_nquerydomain): Add parameter
13714 answerp2_malloced and pass it down to __libc_res_nquery.
13715 (res_nquerydomain): Pass additional NULL to
13716 __libc_res_nquerydomain.
13717 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
13718 additional NULL to __libc_res_nsend and __libc_res_nquery.
13719 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
13720 additional NULL to __libc_res_nsearch.
13721 (_nss_dns_gethostbyname4_r): Revert last change. Use new
13722 parameter of __libc_res_nsearch to check for separately allocated
13723 second buffer.
13724 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
13725 __libc_res_nquery.
13726 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
13727 additional NULL to __libc_res_nquery.
13728 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
13729 __libc_res_nsearch.
13730 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
13731 * include/resolv.h: Update prototypes of __libc_res_nquery,
13732 __libc_res_nsearch, __libc_res_nsend.
13733
a4fb7861
JM
137342014-02-18 Joseph Myers <joseph@codesourcery.com>
13735
c6af2d89
JM
13736 * math/auto-libm-test-in: Add tests of fma.
13737 * math/auto-libm-test-out: Regenerated.
13738 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
13739 (fma_towardzero_test_data): Likewise.
13740 (fma_downward_test_data): Likewise.
13741 (fma_upward_test_data): Likewise.
13742 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
13743 mpc_mode.
13744 (rounding_modes): Add values for new field.
13745 (func_calc_method): Add value mpfr_fff_f.
13746 (func_calc_desc): Add mpfr_fff_f union field.
13747 (test_function): Add field exact_args.
13748 (FUNC): Add macro argument EXACT_ARGS.
13749 (FUNC_mpfr_f_f): Update call to FUNC.
13750 (FUNC_mpfr_f_f): Likewise.
13751 (FUNC_mpfr_ff_f): Likewise.
13752 (FUNC_mpfr_if_f): Likewise.
13753 (FUNC_mpc_c_f): Likewise.
13754 (FUNC_mpc_c_c): Likewise.
13755 (test_functions): Add fma. Update calls to FUNC.
13756 (handle_input_arg): Add argument exact_args.
13757 (add_test): Update call to handle_input_arg.
13758 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
13759 (output_for_one_input_case): Update call to calc_generic_results.
13760 Recalculate exact zero results in each rounding mode.
13761
a4fb7861
JM
13762 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
13763 non-negative before setting low bit.
13764 * math/auto-libm-test-in: Mark one asin test possibly having
13765 spurious underflow.
13766 * math/auto-libm-test-out: Regenerated.
13767 * sysdeps/i386/fpu/libm-test-ulps: Update.
13768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13769
ef114eaf
DH
137702014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
13771
2b7f4f2c
SP
13772 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
13773 * sysdeps/unix/sysv/linux/microblaze: Move directory from
13774 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
13775 * README: Add missing listing for microblaze*-*-linux-gnu.
13776
8125aedc
AM
137772014-02-16 Ondřej Bílka <neleai@seznam.cz>
13778
13779 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
13780 duplicate code
13781
c70a4b1d
MF
137822014-02-16 Mike Frysinger <vapier@gentoo.org>
13783
13784 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
13785 * sysdeps/unix/sysv/linux/ia64: Move directory from
13786 ports/sysdeps/unix/sysv/linux/ia64.
13787 * README: Update listing for ia64-*-linux-gnu.
13788
591aeaf7
TD
137892014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
13790 Joseph Myers <joseph@codesourcery.com>
13791
13792 * Makeconfig (test-name): New variable.
13793 (evaluate-test): Likewise.
13794 * Makerules (do-test-clean): Remove .test-result files.
13795 (common-mostlyclean): Likewise.
13796 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
13797 * scripts/evaluate-test.sh: New file.
13798
6e89caf1
JM
137992014-02-14 Joseph Myers <joseph@codesourcery.com>
13800
7f98f180
JM
13801 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
13802 separate $(objpfx)tst-fopenloc-cmp.out and
13803 $(objpfx)tst-fopenloc-mem.out targets.
13804 (tests): Update dependencies.
13805 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
13806 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
13807 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
13808 (tst-rxspencer-no-utf8-ARGS): New variable.
13809 (tst-rxspencer-no-utf8-ENV): Likewise.
13810 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
13811 instead of $(objpfx)tst-rxspencer-mem.
13812 ($(objpfx)tst-rxspencer-mem): Change target to
13813 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
13814 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
13815 * posix/tst-rxspencer-no-utf8.c: New file.
13816
6e89caf1
JM
13817 * elf/Makefile ($(objpfx)order.out): Remove rule.
13818 [$(run-built-tests) = yes] (tests): Depend on
13819 $(objpfx)order-cmp.out.
13820 ($(objpfx)order-cmp.out): New rule.
13821 [$(run-built-tests) = yes] (tests): Depend on
13822 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
13823 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
13824 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
13825 $(objpfx)tst-array5-static-cmp.out.
13826 ($(objpfx)tst-array1.out): Remove rule.
13827 ($(objpfx)tst-array1-cmp.out): New rule.
13828 ($(objpfx)tst-array1-static.out): Remove rule.
13829 ($(objpfx)tst-array1-static-cmp.out): New rule.
13830 ($(objpfx)tst-array2.out): Remove rule.
13831 ($(objpfx)tst-array2-cmp.out): New rule.
13832 ($(objpfx)tst-array3.out): Remove rule.
13833 ($(objpfx)tst-array3-cmp.out): New rule.
13834 ($(objpfx)tst-array4.out): Remove rule.
13835 ($(objpfx)tst-array4-cmp.out): New rule.
13836 ($(objpfx)tst-array5.out): Remove rule.
13837 ($(objpfx)tst-array5-cmp.out): New rule.
13838 ($(objpfx)tst-array5-static.out): Remove rule.
13839 ($(objpfx)tst-array5-static-cmp.out): New rule.
13840 [$(run-built-tests) = yes] (tests): Depend on
13841 $(objpfx)order2-cmp.out.
13842 ($(objpfx)order2.out): Remove rule.
13843 ($(objpfx)order2-cmp.out): New rule.
13844 ($(objpfx)tst-initorder.out): Remove rule.
13845 [$(run-built-tests) = yes] (tests): Depend on
13846 $(objpfx)tst-initorder-cmp.out.
13847 ($(objpfx)tst-initorder-cmp.out): New rule.
13848 ($(objpfx)tst-initorder2.out): Remove rule.
13849 [$(run-built-tests) = yes] (tests): Depend on
13850 $(objpfx)tst-initorder2-cmp.out.
13851 ($(objpfx)tst-initorder2-cmp.out): New rule.
13852 [$(run-built-tests) = yes] (tests): Depend on
13853 $(objpfx)tst-unused-dep-cmp.out.
13854 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
13855 ($(objpfx)tst-unused-dep-cmp.out): New rule.
13856 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
13857 on $(objpfx)tst-setvbuf1-cmp.out.
13858 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
13859 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
13860 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
13861 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
13862 ($(objpfx)tst-svc.out): Remove rule.
13863 ($(objpfx)tst-svc-cmp.out): New rule.
13864
ed9a38e2
JM
138652014-02-13 Joseph Myers <joseph@codesourcery.com>
13866
13867 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
13868 * ctype/ctype.h [__USE_MISC]: Likewise.
13869 * dirent/dirent.h [__USE_MISC]: Likewise.
13870 * grp/grp.h [__USE_MISC]: Likewise.
13871 * io/fcntl.h [__USE_MISC]: Likewise.
13872 * io/sys/stat.h [__USE_MISC]: Likewise.
13873 * libio/stdio.h [__USE_MISC]: Likewise.
13874 * posix/unistd.h [__USE_MISC]: Likewise.
13875 * pwd/pwd.h [__USE_MISC]: Likewise.
13876 * stdlib.h [__USE_MISC]: Likewise.
13877 * string/bits/string2.h [__USE_MISC]: Likewise.
13878 * string/string.h [__USE_MISC]: Likewise.
13879 * time/time.h [__USE_MISC]: Likewise.
13880
d6680619
AS
138812014-02-13 Andreas Schwab <schwab@suse.de>
13882
13883 [BZ #16574]
13884 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
13885 second answer buffer if it was separately allocated.
13886
ace614b8
JM
138872014-02-12 Joseph Myers <joseph@codesourcery.com>
13888
743151ae
JM
13889 * sysdeps/mips/math-tests.h: Include <features.h>.
13890 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13891 (ROUNDING_TESTS_long_double): Do not define.
13892 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13893 (EXCEPTION_TESTS_long_double): Likewise.
13894 * sysdeps/mips/mips64/libm-test-ulps: Update.
13895
498afc54
JM
13896 * include/features.h (__USE_BSD): Remove macro definitions.
13897 (__USE_SVID): Likewise.
13898 (_BSD_SOURCE): Likewise.
13899 (_SVID_SOURCE): Likewise.
13900 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
13901 from definition of _DEFAULT_SOURCE.
13902 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
13903 [_DEFAULT_SOURCE].
13904 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
13905 * bits/mman.h [__USE_BSD]: Likewise.
13906 * bits/termios.h [__USE_BSD]: Likewise.
13907 * bits/waitstatus.h [__USE_BSD]: Likewise.
13908 * ctype/ctype.h [__USE_SVID]: Likewise.
13909 * dirent/dirent.h [__USE_BSD]: Likewise.
13910 * grp/grp.h [__USE_SVID]: Likewise.
13911 [__USE_BSD]: Likewise.
13912 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
13913 * io/fcntl.h [__USE_BSD]: Likewise.
13914 * io/ftw.h [__USE_BSD]: Likewise.
13915 * io/sys/stat.h [__USE_BSD]: Likewise.
13916 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
13917 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
13918 * libio/stdio.h [__USE_SVID]: Likewise.
13919 [__USE_BSD]: Likewise.
13920 * math/math.h [__USE_SVID]: Likewise.
13921 [__USE_BSD]: Likewise.
13922 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
13923 * misc/bits/syslog.h [__USE_BSD]: Likewise.
13924 * misc/search.h [__USE_SVID]: Likewise.
13925 * misc/sys/mman.h [__USE_BSD]: Likewise.
13926 * misc/sys/syslog.h [__USE_BSD]: Likewise.
13927 * misc/sys/uio.h [__USE_BSD]: Likewise.
13928 * posix/bits/unistd.h [__USE_BSD]: Likewise.
13929 * posix/glob.h [__USE_BSD]: Likewise.
13930 * posix/regex.h [__USE_BSD]: Likewise.
13931 * posix/sys/types.h [__USE_BSD]: Likewise.
13932 [__USE_SVID]: Likewise.
13933 * posix/sys/utsname.h [__USE_SVID]: Likewise.
13934 * posix/sys/wait.h [__USE_BSD]: Likewise.
13935 [__USE_SVID]: Likewise.
13936 * posix/unistd.h [__USE_BSD]: Likewise.
13937 [__USE_SVID]: Likewise.
13938 * pwd/pwd.h [__USE_SVID]: Likewise.
13939 * resolv/netdb.h [__USE_BSD]: Likewise.
13940 * setjmp/setjmp.h [__USE_BSD]: Likewise.
13941 * signal/signal.h [__USE_BSD]: Likewise.
13942 [__USE_SVID]: Likewise.
13943 * socket/sys/socket.h [__USE_BSD]: Likewise.
13944 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
13945 * stdlib/stdlib.h [__USE_BSD]: Likewise.
13946 [__USE_SVID]: Likewise.
13947 * string/bits/string2.h [__USE_BSD]: Likewise.
13948 [__USE_SVID]: Likewise.
13949 * string/bits/string3.h [__USE_BSD]: Likewise.
13950 * string/endian.h [__USE_BSD]: Likewise.
13951 * string/string.h [__USE_SVID]: Likewise.
13952 [__USE_BSD]: Likewise.
13953 * string/strings.h [__USE_BSD]: Likewise.
13954 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
13955 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
13956 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
13957 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
13958 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
13959 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
13960 Likewise.
13961 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
13962 Likewise.
13963 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
13964 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
13965 Likewise.
13966 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
13967 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
13968 Likewise.
13969 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
13970 Likewise.
13971 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
13972 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
13973 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
13974 Likewise.
13975 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
13976 Likewise.
13977 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
13978 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
13979 * termios/termios.h [__USE_BSD]: Likewise.
13980 * time/sys/time.h [__USE_BSD]: Likewise.
13981 * time/time.h [__USE_BSD]: Likewise.
13982 [__USE_SVID]: Likewise.
13983
dd7b064c
JM
13984 * Makefile (subdir_targets): Remove subdir_lint.out.
13985
a2c4c199
JM
13986 * stdio-common/Makefile (do-tst-unbputc): Remove target.
13987 (do-tst-printf): Likewise.
13988 (tests): Depend directly on $(objpfx)tst-unbputc.out and
13989 $(objpfx)tst-printf.out.
13990
8756f740
JM
13991 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13992
1b6dd3f1
JM
13993 * Makerules (check-abi-%): Change target to
13994 $(objpfx)check-abi-%.out.
13995 (check-abi target): Update dependencies.
13996 (check-abi-pattern variable): Redirect output of diff to $@.
13997 (check-abi variable): Likewise.
13998 * elf/Makefile (check-abi): Update dependencies.
13999
ace614b8
JM
14000 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
14001 unused.
14002 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
14003 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
14004 subnormal range.
14005 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
14006 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
14007 value has largest subnormal exponent.
14008 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
14009 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
14010 * sysdeps/aarch64/soft-fp/sfp-machine.h
14011 (_FP_TININESS_AFTER_ROUNDING): New macro.
14012 * sysdeps/alpha/soft-fp/sfp-machine.h
14013 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14014 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14015 Likewise.
14016 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
14017 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14018 * sysdeps/mips/soft-fp/sfp-machine.h
14019 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14020 * sysdeps/powerpc/soft-fp/sfp-machine.h
14021 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14022 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14023 Likewise.
14024 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14025 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14026 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14027 (_FP_TININESS_AFTER_ROUNDING): Likewise.
14028 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14029 Likewise.
14030
fbfdf9cb
DAS
140312014-02-12 Dylan Alex Simon <dylan@dylex.net>
14032
14033 [BZ #16545]
14034 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
14035 model 1.
14036
68b7efaa
RH
140372014-02-12 Richard Henderson <rth@redhat.com>
14038
c70a4b1d 14039 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
14040 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
14041 * sysdeps/unix/sysv/linux/alpha: Move directory from
14042 ports/sysdeps/unix/sysv/linux/alpha.
14043 * README: Update listing for alpha-*-linux-gnu.
14044
cb4a2928
JM
140452014-02-11 Joseph Myers <joseph@codesourcery.com>
14046
c941736c
JM
14047 * include/features.h: Update comment documenting feature test
14048 macros.
14049 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
14050 _DEFAULT_SOURCE.
14051 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
14052 (_SVID_SOURCE): Likewise.
14053 (_DEFAULT_SOURCE): Update description of default features.
14054 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
14055 with _GNU_SOURCE.
14056 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
14057 (S_ISVTX): Likewise.
14058 * manual/math.texi (Mathematical Constants): Likewise.
14059 * manual/signal.texi (Interrupted Primitives): Likewise.
14060 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
14061 * math/test-matherr.c (_SVID_SOURCE): Do not define.
14062 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
14063 Don't refer to _SVID_SOURCE in warning text.
14064
e8d8d7ec
JM
14065 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14066
cb4a2928
JM
14067 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
14068 already defined.
14069 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
14070 * sysdeps/mips/dl-lookup.c: Remove.
14071 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
14072
7e6424e3
AK
140732014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14074
14075 [BZ #16447]
14076 * math/auto-libm-test-in: Add testcase for expl.
14077 * math/auto-libm-test-out: Regenerate.
14078 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
14079 calculation of unsafe.
14080 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
14081
75eff3fe
MS
140822014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
14083
14084 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
14085 * sysdeps/unix/sysv/linux/aarch64: Move directory from
14086 ports/sysdeps/unix/sysv/linux/aarch64.
14087 * README: Update listing for aarch64*-*-linux-gnu.
14088
d35f1e80
WN
140892014-02-11 Will Newton <will.newton@linaro.org>
14090
14091 * manual/probes.texi (Mathematical Function Probes): Use
14092 "triggered" instead of "hit".
14093
7b3436d4
WN
14094 * manual/probes.texi (Internal Probes): Add documentation
14095 of setjmp, longjmp and longjmp_target probes.
14096
b4f12ca3
WN
14097 * include/stap-probe.h: Add comment about probe argument
14098 format.
14099
c13a72b7
WN
14100 * malloc/mtrace.c (attribute_hidden): Remove unused macro
14101 definition. (tr_where, tr_freehook, tr_mallochook,
14102 tr_reallochook, tr_memalignhook): Use ANSI protoype.
14103
195b8165
DM
141042014-02-11 David S. Miller <davem@davemloft.net>
14105
14106 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14107 processing int_tests.
14108
2ad7600b
JM
141092014-02-10 Joseph Myers <joseph@codesourcery.com>
14110
14111 * sysdeps/mips: Move directory from ports/sysdeps/mips.
14112 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14113 * sysdeps/unix/sysv/linux/mips: Move directory from
14114 ports/sysdeps/unix/sysv/linux/mips.
14115 * README: Update listing for mips-*-linux-gnu and
14116 mips64-*-linux-gnu.
14117
73588a72
AS
141182014-02-10 Andreas Schwab <schwab@linux-m68k.org>
14119
14120 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14121 * sysdeps/unix/sysv/linux/m68k: Move directory from
14122 ports/sysdeps/unix/sysv/linux/m68k.
14123 * README: Update listing for m68k-*-linux-gnu.
14124
4372980f
CM
141252014-02-10 Chris Metcalf <cmetcalf@tilera.com>
14126
14127 * sysdeps/tile: Move directory from ports/sysdeps/tile.
14128 * sysdeps/unix/sysv/linux/generic: Move directory from
14129 ports/sysdeps/unix/sysv/linux/generic.
14130 * sysdeps/unix/sysv/linux/tile: Move directory from
14131 ports/sysdeps/unix/sysv/linux/tile.
14132 * README: Update listing for tile*-*-linux-gnu.
14133
a1ffb40e
OB
141342014-02-10 Ondřej Bílka <neleai@seznam.cz>
14135
57f41c40
AS
14136 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14137 __builtin_expect.
a1ffb40e
OB
14138 * benchtests/bench-memmem.c (simple_memmem): Likewise.
14139 * catgets/open_catalog.c (__open_catalog): Likewise.
14140 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14141 * debug/confstr_chk.c: Likewise.
14142 * debug/fread_chk.c (__fread_chk): Likewise.
14143 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14144 * debug/getgroups_chk.c: Likewise.
14145 * debug/mbsnrtowcs_chk.c: Likewise.
14146 * debug/mbsrtowcs_chk.c: Likewise.
14147 * debug/mbstowcs_chk.c: Likewise.
14148 * debug/memcpy_chk.c: Likewise.
14149 * debug/memmove_chk.c: Likewise.
14150 * debug/mempcpy_chk.c: Likewise.
14151 * debug/memset_chk.c: Likewise.
14152 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14153 * debug/strcat_chk.c (__strcat_chk): Likewise.
14154 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
14155 * debug/strncat_chk.c (__strncat_chk): Likewise.
14156 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
14157 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
14158 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
14159 * debug/wcpncpy_chk.c: Likewise.
14160 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14161 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
14162 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
14163 * debug/wcsncpy_chk.c: Likewise.
14164 * debug/wcsnrtombs_chk.c: Likewise.
14165 * debug/wcsrtombs_chk.c: Likewise.
14166 * debug/wcstombs_chk.c: Likewise.
14167 * debug/wmemcpy_chk.c: Likewise.
14168 * debug/wmemmove_chk.c: Likewise.
14169 * debug/wmempcpy_chk.c: Likewise.
14170 * debug/wmemset_chk.c: Likewise.
14171 * dirent/scandirat.c (SCANDIRAT): Likewise.
14172 * dlfcn/dladdr1.c (dladdr1): Likewise.
14173 * dlfcn/dladdr.c (dladdr): Likewise.
14174 * dlfcn/dlclose.c (dlclose_doit): Likewise.
14175 * dlfcn/dlerror.c (__dlerror): Likewise.
14176 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
14177 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
14178 * dlfcn/dlopen.c (dlopen_doit): Likewise.
14179 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14180 * dlfcn/dlsym.c (dlsym_doit): Likewise.
14181 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
14182 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
14183 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
14184 Likewise.
14185 * elf/dl-conflict.c: Likewise.
14186 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14187 * elf/dl-dst.h: Likewise.
14188 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
14189 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
14190 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14191 * elf/dl-init.c (call_init, _dl_init): Likewise.
14192 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
14193 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
14194 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
14195 Likewise.
a1ffb40e
OB
14196 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
14197 Likewise.
14198 * elf/dl-minimal.c (__libc_memalign): Likewise.
14199 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
14200 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14201 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
14202 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
14203 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
14204 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
14205 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
14206 * elf/dl-writev.h (_dl_writev): Likewise.
14207 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
14208 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
14209 (dl_main): Likewise.
a1ffb40e
OB
14210 * elf/setup-vdso.h (setup_vdso): Likewise.
14211 * grp/compat-initgroups.c (compat_call): Likewise.
14212 * grp/fgetgrent.c (fgetgrent): Likewise.
14213 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
14214 * grp/putgrent.c (putgrent): Likewise.
14215 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14216 Likewise.
14217 * hurd/hurdinit.c: Likewise.
14218 * iconvdata/8bit-gap.c (struct): Likewise.
14219 * iconvdata/ansi_x3.110.c : Likewise.
14220 * iconvdata/big5.c : Likewise.
14221 * iconvdata/big5hkscs.c : Likewise.
14222 * iconvdata/cp1255.c: Likewise.
14223 * iconvdata/cp1258.c : Likewise.
14224 * iconvdata/cp932.c : Likewise.
14225 * iconvdata/euc-cn.c: Likewise.
14226 * iconvdata/euc-jisx0213.c : Likewise.
14227 * iconvdata/euc-jp.c: Likewise.
14228 * iconvdata/euc-jp-ms.c : Likewise.
14229 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
14230 * iconvdata/gb18030.c : Likewise.
14231 * iconvdata/gbbig5.c (const): Likewise.
14232 * iconvdata/gbgbk.c: Likewise.
14233 * iconvdata/gbk.c : Likewise.
14234 * iconvdata/ibm1364.c : Likewise.
14235 * iconvdata/ibm930.c : Likewise.
14236 * iconvdata/ibm932.c: Likewise.
14237 * iconvdata/ibm933.c : Likewise.
14238 * iconvdata/ibm935.c : Likewise.
14239 * iconvdata/ibm937.c : Likewise.
14240 * iconvdata/ibm939.c : Likewise.
14241 * iconvdata/ibm943.c: Likewise.
14242 * iconvdata/iso_11548-1.c: Likewise.
14243 * iconvdata/iso-2022-cn.c : Likewise.
14244 * iconvdata/iso-2022-cn-ext.c : Likewise.
14245 * iconvdata/iso-2022-jp-3.c: Likewise.
14246 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
14247 * iconvdata/iso-2022-kr.c : Likewise.
14248 * iconvdata/iso646.c (gconv_end): Likewise.
14249 * iconvdata/iso_6937-2.c : Likewise.
14250 * iconvdata/iso_6937.c : Likewise.
14251 * iconvdata/iso8859-1.c: Likewise.
14252 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
14253 * iconvdata/shift_jisx0213.c : Likewise.
14254 * iconvdata/sjis.c : Likewise.
14255 * iconvdata/t.61.c : Likewise.
14256 * iconvdata/tcvn5712-1.c : Likewise.
14257 * iconvdata/tscii.c: Likewise.
14258 * iconvdata/uhc.c : Likewise.
14259 * iconvdata/unicode.c (gconv_end): Likewise.
14260 * iconvdata/utf-16.c (gconv_end): Likewise.
14261 * iconvdata/utf-32.c (gconv_end): Likewise.
14262 * iconvdata/utf-7.c (base64): Likewise.
14263 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14264 * iconv/gconv_close.c (__gconv_close): Likewise.
14265 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
14266 * iconv/gconv_simple.c (internal_ucs4_loop_single)
14267 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
14268 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
14269 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
14270 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
14271 * iconv/iconv.c (iconv): Likewise.
14272 * iconv/iconv_close.c: Likewise.
14273 * iconv/loop.c (SINGLE): Likewise.
14274 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
14275 * include/atomic.h: Likewise.
14276 * inet/inet6_option.c (option_alloc): Likewise.
14277 * intl/bindtextdom.c (set_binding_values): Likewise.
14278 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
14279 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
14280 * intl/localealias.c (read_alias_file): Likewise.
14281 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
14282 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
14283 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
14284 * libio/fmemopen.c (fmemopen): Likewise.
14285 * libio/iofgets.c (_IO_fgets): Likewise.
14286 * libio/iofgets_u.c (fgets_unlocked): Likewise.
14287 * libio/iofgetws.c (fgetws): Likewise.
14288 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14289 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
14290 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
14291 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
14292 * locale/findlocale.c (_nl_find_locale): Likewise.
14293 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14294 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
14295 Likewise.
14296 * locale/setlocale.c (setlocale): Likewise.
14297 * login/programs/pt_chown.c (main): Likewise.
14298 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
14299 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
14300 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
14301 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
14302 * math/e_exp2l.c: Likewise.
14303 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
14304 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
14305 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
14306 * math/s_catan.c (__catan): Likewise.
14307 * math/s_catanf.c (__catanf): Likewise.
14308 * math/s_catanh.c (__catanh): Likewise.
14309 * math/s_catanhf.c (__catanhf): Likewise.
14310 * math/s_catanhl.c (__catanhl): Likewise.
14311 * math/s_catanl.c (__catanl): Likewise.
14312 * math/s_ccosh.c (__ccosh): Likewise.
14313 * math/s_ccoshf.c (__ccoshf): Likewise.
14314 * math/s_ccoshl.c (__ccoshl): Likewise.
14315 * math/s_cexp.c (__cexp): Likewise.
14316 * math/s_cexpf.c (__cexpf): Likewise.
14317 * math/s_cexpl.c (__cexpl): Likewise.
14318 * math/s_clog10.c (__clog10): Likewise.
14319 * math/s_clog10f.c (__clog10f): Likewise.
14320 * math/s_clog10l.c (__clog10l): Likewise.
14321 * math/s_clog.c (__clog): Likewise.
14322 * math/s_clogf.c (__clogf): Likewise.
14323 * math/s_clogl.c (__clogl): Likewise.
14324 * math/s_csin.c (__csin): Likewise.
14325 * math/s_csinf.c (__csinf): Likewise.
14326 * math/s_csinh.c (__csinh): Likewise.
14327 * math/s_csinhf.c (__csinhf): Likewise.
14328 * math/s_csinhl.c (__csinhl): Likewise.
14329 * math/s_csinl.c (__csinl): Likewise.
14330 * math/s_csqrt.c (__csqrt): Likewise.
14331 * math/s_csqrtf.c (__csqrtf): Likewise.
14332 * math/s_csqrtl.c (__csqrtl): Likewise.
14333 * math/s_ctan.c (__ctan): Likewise.
14334 * math/s_ctanf.c (__ctanf): Likewise.
14335 * math/s_ctanh.c (__ctanh): Likewise.
14336 * math/s_ctanhf.c (__ctanhf): Likewise.
14337 * math/s_ctanhl.c (__ctanhl): Likewise.
14338 * math/s_ctanl.c (__ctanl): Likewise.
14339 * math/w_pow.c: Likewise.
14340 * math/w_powf.c: Likewise.
14341 * math/w_powl.c: Likewise.
14342 * math/w_scalb.c (sysv_scalb): Likewise.
14343 * math/w_scalbf.c (sysv_scalbf): Likewise.
14344 * math/w_scalbl.c (sysv_scalbl): Likewise.
14345 * misc/error.c (error_tail): Likewise.
14346 * misc/pselect.c (__pselect): Likewise.
14347 * nis/nis_callback.c (__nis_create_callback): Likewise.
14348 * nis/nis_call.c (__nisfind_server): Likewise.
14349 * nis/nis_creategroup.c (nis_creategroup): Likewise.
14350 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
14351 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
14352 * nis/nis_getservlist.c (nis_getservlist): Likewise.
14353 * nis/nis_lookup.c (nis_lookup): Likewise.
14354 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
14355 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
14356 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 14357 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
14358 * nis/nss_compat/compat-grp.c (getgrent_next_file)
14359 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
14360 * nis/nss_compat/compat-initgroups.c (add_group)
14361 (internal_getgrent_r): Likewise.
14362 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
14363 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
14364 * nis/nss_compat/compat-spwd.c (getspent_next_file)
14365 (internal_getspnam_r): Likewise.
14366 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
14367 (_nss_nis_getaliasbyname_r): Likewise.
14368 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
14369 (_nss_nis_getntohost_r): Likewise.
14370 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
14371 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
14372 (_nss_nis_getgrgid_r): Likewise.
14373 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
14374 (internal_nis_gethostent_r, internal_gethostbyname2_r)
14375 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
14376 (_nss_nis_gethostbyname4_r): Likewise.
14377 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
14378 (initgroups_netid): Likewise.
a1ffb40e 14379 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
14380 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
14381 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
14382 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
14383 (_nss_nis_getprotobynumber_r): Likewise.
14384 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
14385 (_nss_nis_getsecretkey): Likewise.
14386 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
14387 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
14388 (_nss_nis_getpwuid_r): Likewise.
14389 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
14390 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
14391 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
14392 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
14393 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
14394 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
14395 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
14396 Likewise.
57f41c40
AS
14397 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
14398 (_nss_nisplus_getntohost_r): Likewise.
14399 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
14400 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
14401 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
14402 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 14403 Likewise.
57f41c40
AS
14404 * nis/nss_nisplus/nisplus-initgroups.c
14405 (_nss_nisplus_initgroups_dyn): Likewise.
14406 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
14407 (_nss_nisplus_getnetbyaddr_r): Likewise.
14408 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
14409 (_nss_nisplus_getprotobynumber_r): Likewise.
14410 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
14411 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
14412 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
14413 Likewise.
57f41c40
AS
14414 * nis/nss_nisplus/nisplus-service.c
14415 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
14416 (_nss_nisplus_getservbyport_r): Likewise.
14417 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
14418 (_nss_nisplus_getspnam_r): Likewise.
14419 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
14420 Likewise.
a1ffb40e
OB
14421 * nscd/aicache.c (addhstaiX): Likewise.
14422 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
14423 * nscd/connections.c (register_traced_file, send_ro_fd)
14424 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
14425 (main_loop_epoll): Likewise.
a1ffb40e
OB
14426 * nscd/grpcache.c (addgrbyX): Likewise.
14427 * nscd/hstcache.c (addhstbyX): Likewise.
14428 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14429 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
14430 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
14431 (addinnetgrX): Likewise.
14432 * nscd/nscd-client.h (__nscd_acquire_maplock)
14433 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
14434 * nscd/nscd_getai.c (__nscd_getai): Likewise.
14435 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14436 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
14437 Likewise.
14438 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
14439 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
14440 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
14441 (__nscd_get_map_ref): Likewise.
a1ffb40e 14442 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
14443 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
14444 Likewise.
a1ffb40e
OB
14445 * nscd/pwdcache.c (addpwbyX): Likewise.
14446 * nscd/selinux.c (preserve_capabilities): Likewise.
14447 * nscd/servicescache.c (addservbyX): Likewise.
14448 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
14449 * posix/fnmatch.c (fnmatch): Likewise.
14450 * posix/getopt.c (_getopt_internal_r): Likewise.
14451 * posix/glob.c (glob, glob_in_dir): Likewise.
14452 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
14453 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
14454 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
14455 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
14456 * resolv/res_init.c: Likewise.
14457 * resolv/res_mkquery.c (res_nmkquery): Likewise.
14458 * resolv/res_query.c (__libc_res_nquery): Likewise.
14459 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
14460 Likewise.
14461 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
14462 * stdio-common/perror.c (perror): Likewise.
14463 * stdio-common/printf_fp.c (___printf_fp): Likewise.
14464 * stdio-common/tmpnam.c (tmpnam): Likewise.
14465 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14466 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
14467 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14468 Likewise.
a1ffb40e
OB
14469 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14470 * stdlib/putenv.c (putenv): Likewise.
14471 * stdlib/setenv.c (__add_to_environ): Likewise.
14472 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14473 * stdlib/strtol_l.c (INTERNAL): Likewise.
14474 * string/memmem.c (memmem): Likewise.
14475 * string/strerror.c (strerror): Likewise.
14476 * string/strnlen.c (__strnlen): Likewise.
14477 * string/test-memmem.c (simple_memmem): Likewise.
14478 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
14479 * sunrpc/pm_getport.c (__get_socket): Likewise.
14480 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
14481 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
14482 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
14483 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
14484 Likewise.
14485 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14486 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14487 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
14488 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
14489 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
14490 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
14491 Likewise.
14492 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
14493 Likewise.
a1ffb40e
OB
14494 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
14495 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
14496 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14497 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14498 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14499 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
14500 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14501 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
14502 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
14503 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
14504 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14505 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14506 Likewise.
14507 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
14508 Likewise.
14509 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
14510 Likewise.
14511 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
14512 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14513 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
14514 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
14515 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14516 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
14517 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14518 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
14519 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
14520 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
14521 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
14522 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14523 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14524 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
14525 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
14526 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14527 Likewise.
a1ffb40e
OB
14528 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
14529 Likewise.
14530 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
14531 Likewise.
14532 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
14533 Likewise.
14534 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14535 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14536 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
14537 Likewise.
14538 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
14539 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
14540 * sysdeps/posix/opendir.c (__opendirat): Likewise.
14541 * sysdeps/posix/sleep.c: Likewise.
14542 * sysdeps/posix/tempname.c: Likewise.
14543 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
14544 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14545 Likewise.
57f41c40
AS
14546 * sysdeps/powerpc/powerpc32/dl-machine.h
14547 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
14548 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14549 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14550 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
14551 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
14552 Likewise.
14553 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
14554 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
14555 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14556 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
14557 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
14558 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
14559 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
14560 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
14561 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14562 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
14563 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
14564 (elf_machine_lazy_rel): Likewise.
a1ffb40e 14565 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
14566 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
14567 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
14568 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
14569 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
14570 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
14571 * sysdeps/unix/grantpt.c (grantpt): Likewise.
14572 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
14573 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
14574 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
14575 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14576 Likewise.
14577 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14578 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14579 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
14580 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
14581 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14582 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14583 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
14584 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
14585 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
14586 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14587 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14588 Likewise.
14589 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
14590 (__posix_fallocate64_l64): Likewise.
14591 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
14592 (posix_fallocate): Likewise.
57f41c40
AS
14593 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14594 Likewise.
a1ffb40e 14595 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
14596 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
14597 (getifaddrs_internal): Likewise.
a1ffb40e
OB
14598 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
14599 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
14600 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14601 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
14602 * sysdeps/unix/sysv/linux/posix_fallocate64.c
14603 (__posix_fallocate64_l64): Likewise.
14604 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14605 Likewise.
14606 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
14607 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
14608 (__get_clockfreq): Likewise.
a1ffb40e
OB
14609 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
14610 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
14611 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
14612 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14613 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14614 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
14615 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
14616 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
14617 Likewise.
14618 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
14619 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
14620 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14621 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
14622 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14623 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
14624 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
14625 Likewise.
14626 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14627 (posix_fallocate): Likewise.
14628 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14629 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14630 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
14631 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
14632 (elf_machine_rela, elf_machine_rela_relative)
14633 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
14634 * time/asctime.c (asctime_internal): Likewise.
14635 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
14636 * time/tzset.c (__tzset_parse_tz): Likewise.
14637 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14638 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14639 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
14640 * wcsmbs/wcsmbsload.h: Likewise.
14641
f3d338c9
OB
14642 [BZ #15894]
14643 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
14644
57f41c40
AS
14645 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
14646 (arena_get2): Remove THREAD_STATS conditionals.
14647 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
14648 (__malloc_stats, int): Likewise.
bdfe308a 14649
d674667c
MF
146502014-02-08 Mike Frysinger <vapier@gentoo.org>
14651
14652 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
14653 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
14654
6349768c
MF
14655 * manual/setjmp.texi: Fix typos/grammar errors.
14656
0b7c7473
MF
14657 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
14658 Only return early when n is <= 0. Delete unused return statement.
14659
ac8cc9e3
MF
14660 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
14661 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
14662 * debug/tst-longjmp_chk3.c: New file.
14663
c5bb8e23
MF
14664 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
14665 (test_main): Replace code with set_fortify_handler call.
14666 * debug/test-strcpy_chk.c: Likewise.
14667 * debug/tst-chk1.c: Likewise.
14668 * debug/tst-longjmp_chk.c: Likewise.
14669 * test-skeleton.c: Include fcntl.h & paths.h
14670 (set_fortify_handler): Define.
14671
10444e42
MF
14672 * debug/tst-longjmp_chk.c: Add header comment and include
14673 ../test-skeleton.c.
14674 (do_test): Mark static.
14675 (TEST_FUNCTION): Define.
14676
1e805e8d
MF
14677 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
14678 (IP_PMTUDISC_INTERFACE): Likewise.
14679 (IP_MULTICAST_IF): Likewise.
14680 (IP_MULTICAST_TTL): Likewise.
14681 (IP_MULTICAST_LOOP): Likewise.
14682 (IP_ADD_MEMBERSHIP): Likewise.
14683 (IP_DROP_MEMBERSHIP): Likewise.
14684 (IP_UNBLOCK_SOURCE): Likewise.
14685 (IP_BLOCK_SOURCE): Likewise.
14686 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
14687 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
14688 (IP_MSFILTER): Likewise.
14689 (MCAST_JOIN_GROUP): Likewise.
14690 (MCAST_BLOCK_SOURCE): Likewise.
14691 (MCAST_UNBLOCK_SOURCE): Likewise.
14692 (MCAST_LEAVE_GROUP): Likewise.
14693 (MCAST_JOIN_SOURCE_GROUP): Likewise.
14694 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14695 (MCAST_MSFILTER): Likewise.
14696 (IP_MULTICAST_ALL): Likewise.
14697 (IP_UNICAST_IF): Likewise.
14698
73f79bb7
MF
14699 * timezone/Makefile: Delete $(have-ksh) check.
14700 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
14701 * timezone/tzselect.ksh: Add +x mode bits.
14702
8da79b60
MF
14703 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
14704 (ANON_INODE_FS_MAGIC): Likewise.
14705 (BDEVFS_MAGIC): Likewise.
14706 (BINFMTFS_MAGIC): Likewise.
14707 (BTRFS_TEST_MAGIC): Likewise.
14708 (CRAMFS_MAGIC_WEND): Likewise.
14709 (DEBUGFS_MAGIC): Likewise.
14710 (ECRYPTFS_SUPER_MAGIC): Likewise.
14711 (EXT3_SUPER_MAGIC): Likewise.
14712 (EXT4_SUPER_MAGIC): Likewise.
14713 (FUTEXFS_SUPER_MAGIC): Likewise.
14714 (HOSTFS_SUPER_MAGIC): Likewise.
14715 (HUGETLBFS_MAGIC): Likewise.
14716 (MINIX3_SUPER_MAGIC): Likewise.
14717 (MTD_INODE_FS_MAGIC): Likewise.
14718 (NILFS_SUPER_MAGIC): Likewise.
14719 (OPENPROM_SUPER_MAGIC): Likewise.
14720 (PIPEFS_MAGIC): Likewise.
14721 (PSTOREFS_MAGIC): Likewise.
14722 (QNX6_SUPER_MAGIC): Likewise.
14723 (RAMFS_MAGIC): Likewise.
14724 (REISERFS_SUPER_MAGIC_STRING): Likewise.
14725 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
14726 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
14727 (SECURITYFS_MAGIC): Likewise.
14728 (SELINUX_MAGIC): Likewise.
14729 (SMACK_MAGIC): Likewise.
14730 (SOCKFS_MAGIC): Likewise.
14731 (SQUASHFS_MAGIC): Likewise.
14732 (STACK_END_MAGIC): Likewise.
14733 (TMPFS_MAGIC): Likewise.
14734 (USBDEVICE_SUPER_MAGIC): Likewise.
14735 (V9FS_MAGIC): Likewise.
14736 (XENFS_SUPER_MAGIC): Likewise.
14737 (CRAMFS_MAGIC): Fix typo in comment.
14738 (EXT2_SUPER_MAGIC): Update comment.
14739 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
14740
464263cc
JM
147412014-02-08 Joseph Myers <joseph@codesourcery.com>
14742
c6bfe5c4
JM
14743 * sysdeps/arm: Move directory from ports/sysdeps/arm.
14744 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
14745 * sysdeps/unix/sysv/linux/arm: Move directory from
14746 ports/sysdeps/unix/sysv/linux/arm.
14747 * README: Update listing for arm-*-linux-gnueabi.
14748
464263cc
JM
14749 * README: Remove mention of am33.
14750
32749f6c
RM
147512014-02-07 Roland McGrath <roland@hack.frob.com>
14752
14753 * bits/sigset.h (__sigemptyset): Use a statement expression rather
14754 than the comma operator, to avoid "rhs of comma has no effect"
14755 compiler warnings.
14756 (__sigfillset, __sigandset, __sigorset): Likewise.
14757 * include/signal.h (__sigemptyset): Likewise.
14758 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
14759
d5b396c1
AM
147602014-02-07 Allan McRae <allan@archlinux.org>
14761
14762 * version.h (RELEASE): Set to "development".
14763 (VERSION): Set to "2.19.90"
14764 * NEWS: Add 2.20 section.
14765
3bfff2ed
CD
147662014-02-06 Carlos O'Donell <carlos@redhat.com>
14767
14768 [BZ #16529]
14769 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
14770
ee7cc385
SP
147712014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14772
14773 * manual/contrib.texi: Update entry for Carlos O'Donell,
14774 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
14775
f877c4f2
CD
147762014-02-05 Carlos O'Donell <carlos@rehdat.com>
14777
27e839f6
CD
14778 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
14779
f877c4f2
CD
14780 * sysdeps/unix/sysv/linux/kernel-features.h
14781 [__LINUX_KERNEL_VERSION >= 0x020621]
14782 (__ASSUME_PROC_PID_TASK_COMM): Define.
14783
68159946
SP
147842014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14785
ba17cdbd
SP
14786 [BZ #16398]
14787 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
14788 conversion when destination buffer does not have enough space.
14789 * libio/tst-ftell-partial-wide.c: New test case.
14790 * libio/Makefile (tests): Add tst-ftell-partial-wide.
14791
68159946
SP
14792 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
14793 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
14794 Leonard and Allan McRae.
14795
2b528732
DM
147962014-02-04 David S. Miller <davem@davemloft.net>
14797
14798 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
14799 32-bit.
14800
0ff82463
AZ
148012014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14802
57f41c40
AS
14803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14804 New file
c01603f7
AZ
14805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14806 New file
57f41c40
AS
14807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14808 New file.
14809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14810 New file.
c01603f7
AZ
14811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14812 New file.
57f41c40
AS
14813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14814 New file.
14815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14816 New file.
c01603f7
AZ
14817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14818 New file.
14819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14820 New file.
14821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14822 New file.
14823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14824 New file.
14825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14826 New file.
14827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14828 New file.
14829
148302014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14831
0ff82463
AZ
14832 * nptl/shlib-versions: Change powerpc*le start to 2.17.
14833 * shlib-versions: Likewise.
14834
1695c773
AZ
148352014-02-04 Roland McGrath <roland@hack.frob.com>
14836 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14837
14838 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
14839 (abilist-pattern): New variable, set to %-le.abilist.
14840
14841 * Makerules (abilist-pattern): New variable.
14842 (vpath): Use $(abilist-pattern) in place of %.abilist.
14843 (check-abi-% pattern rule): Likewise.
14844 (check-abi, update-abi): Likewise.
14845
6c0ce4b4
EW
148462014-02-04 Eric Wong <normalperson@yhbt.net>
14847
14848 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14849
481e3524
CD
148502014-02-03 Carlos O'Donell <carlos@redhat.com>
14851
14852 * manual/startup.texi: Add next, previous, and top entries for
14853 the `Program Arguments' and `Environment Variables' nodes.
14854
375592d3
AO
148552014-02-03 Alexandre Oliva <aoliva@redhat.com>
14856
14857 * manual/macros.texi: Add comments before MTASC-safety macros.
14858
f54838ba
AO
14859 * manual/users.texi: Document MTASC-safety properties.
14860
57f41c40
AS
14861 * manual/threads.texi (pthread_key_create, pthread_key_delete)
14862 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
14863 @deftypefun, and add @safety note.
14864 * manual/signal.texi: Move comments that analyze the above
14865 functions to their home place.
14866
fd3daba4
AM
148672014-02-03 Allan McRae <allan@archlinux.org>
14868
14869 * po/sl.po: Update Slovenian translation from translation project.
14870
597636d7
AO
148712014-02-02 Alexandre Oliva <aoliva@redhat.com>
14872
14873 * manual/time.texi (timegm): Add missing blank after @c.
14874 Reported by Joseph Myers <joseph@codesourcery.com>.
14875
ee196e3c
AO
148762014-02-01 Alexandre Oliva <aoliva@redhat.com>
14877
14878 * manual/check-safety.sh: New.
14879 * manual/Makefile ($(objpfx)stamp-summary): Run it.
14880
f8d529d5
AO
14881 * manual/terminal.texi: Document MTASC-safety properties.
14882
de55fdf4
AO
14883 * manual/filesys.texi: Document MTASC-safety properties.
14884
c3299c08
AO
14885 * manual/errno.texi: Document MTASC-safety properties.
14886
06e90b14
AO
14887 * manual/intro.texi: Document safety identifiers and
14888 conditionals.
14889
1acd4371
AO
14890 * manual/string.texi (wcstok): Fix prototype.
14891 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
14892
23e5b8cb
AO
14893 * manual/time.texi: Document MTASC-safety properties.
14894
11087373
AO
14895 * manual/string.texi: Document MTASC-safety properties.
14896
5da2c93d
AO
14897 * manual/threads.texi: Document MTASC-safety properties.
14898
171e9210
AO
14899 * manual/stdio.texi: Document MTASC-safety properties.
14900
d9e02532
AO
14901 * manual/syslog.texi: Document MTASC-safety properties.
14902
6af8bab7
AO
14903 * manual/sysinfo.texi: Document MTASC-safety properties.
14904
663b02d7
AO
14905 * manual/startup.texi: Document MTASC-safety properties.
14906
973f180b
AO
14907 * manual/socket.texi: Document MTASC-safety properties.
14908
8f3c25c8
AO
14909 * manual/signal.texi: Document MTASC-safety properties.
14910
542210fb
AO
149112014-01-31 Alexandre Oliva <aoliva@redhat.com>
14912
14913 * manual/setjmp.texi: Document MTASC-safety properties.
14914
433c45a2
AO
14915 * manual/search.texi: Document MTASC-safety properties.
14916
c8ce789c
AO
14917 * manual/resource.texi: Document MTASC-safety properties.
14918
19f5d29c
AO
14919 * manual/process.texi: Document MTASC-safety properties.
14920
e2dfb7f4
AO
14921 * manual/platform.texi: Document MTASC-safety properties.
14922
8c1413f5
AO
14923 * manual/pipe.texi: Document MTASC-safety properties.
14924
03483ada
AO
14925 * manual/pattern.texi: Document MTASC-safety properties.
14926
29e7e2df
AO
14927 * manual/message.texi: Document MTASC-safety properties.
14928
9f529d7c
AO
14929 [BZ #12751]
14930 * manual/memory.texi: Document MTASC-safety properties.
14931
27aaa791
AO
14932 * manual/math.texi: Document MTASC-safety properties.
14933
f2d58726
AO
14934 * manual/locale.texi: Document MTASC-safety properties.
14935
2cc3615c
AO
14936 * manual/llio.texi: Document MTASC-safety properties.
14937
d9f0ec97
AO
14938 * manual/libdl.texi: New.
14939
e7c4409a
AO
14940 * manual/lang.texi: Document MTASC-safety properties.
14941
27bdc63c
AO
14942 * manual/job.texi: Document MTASC-safety properties.
14943
a7b90ea9
AO
14944 * manual/getopt.texi: Document MTASC-safety properties.
14945
c49130e3
AO
14946 * manual/ctype.texi: Document MTASC-safety properties.
14947
0d23a5c1
MR
149482014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
14949
14950 [BZ #16046]
14951 * csu/libc-tls.c (static_map): Remove variable.
14952 (__libc_setup_tls): Use main executable's link map for TLS data.
14953 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
14954 casing for LM_ID_BASE and GL(dl_nns).
14955 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
14956 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
14957 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
14958 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
14959 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
14960 member.
14961 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
14962 l_phnum members.
14963
0037bb60
AO
149642014-01-30 Alexandre Oliva <aoliva@redhat.com>
14965
14966 * manual/debug.texi: Document MTASC-safety properties.
14967
409e00bd
L
149682014-01-29 H.J. Lu <hongjiu.lu@intel.com>
14969
14970 [BZ #16510]
14971 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
14972 of __x86_64__ when disabling x87 inline functions.
14973
86e60666
AO
149742014-01-29 Alexandre Oliva <aoliva@redhat.com>
14975
14976 * manual/charset.texi: Document MTASC-safety properties.
14977
76167637
AO
14978 * manual/crypt.texi: Document MTASC-safety properties.
14979
e567f2a0
AO
14980 * manual/conf.texi: Document MTASC-safety properties.
14981
b719dafd
AO
14982 * manual/arith.texi: Document MTASC-safety properties.
14983
4a16c662
AO
14984 * manual/argp.texi: Document MTASC-safety properties.
14985
0a57b83e
AO
14986 * manual/macros.texi: Introduce macros to document multi
14987 thread, asynchronous signal and asynchronous cancellation
14988 safety properties.
14989 * manual/intro.texi: Introduce the properties themselves.
14990
feab2397
KK
149912014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14992
14993 * sysdeps/sh/sh4/Makefile: New file.
14994
1c0d11bc
AS
149952014-01-27 Andreas Schwab <schwab@linux-m68k.org>
14996
14997 * math/gen-libm-test.pl ($srcdir): New variable.
14998 ($auto_input): Use it.
14999
af37a8a3
SP
150002014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15001
d7b00f98
SP
15002 [BZ #16506]
15003 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
15004 access beyond array bounds when parsing netgroups file.
15005
af37a8a3
SP
15006 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
15007 the old buffer before realloc.
15008
0c00f062
AM
150092014-01-27 Allan McRae <allan@archlinux.org>
15010
15011 * po/fr.po: Update French translation from translation project.
15012
7d69a1b0
KK
150132014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15014
15015 * sysdeps/sh/libm-test-ulps: Regenerate.
15016
6e697ff7
DM
150172014-01-24 David S. Miller <davem@davemloft.net>
15018
15019 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
15020
9cadb35c
KK
150212014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15022
15023 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
15024 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
15025
5d41dadf
SP
150262013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15027
15028 [BZ #16474]
15029 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
15030 string pointers after reallocation.
15031
0bad441c
KK
150322014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15033
15034 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
15035 __SH4A__ instead of __SH_FPU_ANY__.
15036
7007c661
KK
150372014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15038
15039 * sysdeps/sh/fpu_control.h: New file.
15040 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
15041 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
15042 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
15043 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
15044 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
15045 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15046 * sysdeps/sh/sys/ucontext.h: Remove.
15047 * sysdeps/sh/sys: Remove directory.
15048
0f0c35e4
AK
150492014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15050
15051 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
15052 s390/sys/ucontext.h.
15053 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
15054 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
15055
4959e284
L
150562014-01-20 H.J. Lu <hongjiu.lu@intel.com>
15057
15058 [BZ #15605]
15059 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
15060
d98720e0
AZ
150612014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15062
15063 [BZ#16431]
15064 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15065 Adjust the vDSO correctly for internal calls.
15066 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15067
91cbd0bc
AM
150682014-01-20 Allan McRae <allan@archlinux.org>
15069
15070 * po/ca.po: Update Catalan translation from translation project.
15071
7a02cfad
MF
150722014-01-16 Mike Frysinger <vapier@gentoo.org>
15073
15074 * sysdeps/s390/sotruss-lib.c: New file.
15075
736c304a
AZ
150762014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15077
15078 [BZ#16430]
6e077ee5 15079 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
15080 (__GI___gettimeofday): Alias for a different internal symbol to avoid
15081 local calls issues by not having a PLT stub required for IFUNC calls.
15082 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
15083
94d0cea0
JM
150842014-01-16 Joseph Myers <joseph@codesourcery.com>
15085
15086 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15087 * math/test-fpucw-static.c: Likewise.
15088
980cb518
SP
150892013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15090
15091 [BZ #16453]
15092 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15093
2393fc01
AZ
150942014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15095
15096 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15097 implementation for powerpc.
15098
d359bcc2
OB
150992014-01-15 Ondřej Bílka <neleai@seznam.cz>
15100
15101 [BZ #14782]
15102 * sysdeps/posix/system.c (__libc_system): Do not enable
15103 asynchronous cancellation.
15104
7beb48cb
AK
151052014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15106
15107 [BZ #16427]
15108 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15109 handling only for numbers special also in the IEEE case.
15110
c20d5bf5
AK
151112014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15112
15113 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15114
e83bd4ee
AM
151152014-01-11 Allan McRae <allan@archlinux.org>
15116
76d0ea69
AM
15117 * po/bg.po: Update Bulgarian translation from translation project.
15118
e83bd4ee
AM
15119 * po/de.po: Update German translation from translation project.
15120
bc2ba20a
RM
151212014-01-10 Roland McGrath <roland@hack.frob.com>
15122
15123 * sysdeps/generic/gcc-compat.h: New file.
15124
649ecea2
SP
151252014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15126
15127 * benchtests/asin-inputs: Correct slow inputs.
15128 * benchtests/acos-inputs: Likewise.
15129
1b19c006
AM
151302014-01-10 Allan McRae <allan@archlinux.org>
15131
a46dab08
AM
15132 * po:sv.po: Update Swedish translation from translation project.
15133
421df74a
AM
15134 * po/vi.po: Update Vietnamese translation from translation project.
15135
d61c51a7
AM
15136 * po/eo.po: Update Esperanto translation from translation project.
15137
0339a319
AM
15138 * po/cs.po: Update Czech translation from translation project.
15139
94ad3e99
AM
15140 * po/nl.po: Update Dutch translation from translation project.
15141
e349ca71
AM
15142 * po/pl.po: Update Polish translation from translation project.
15143
ddf930c1
AM
15144 * po/ru.po: Update Russian translation from translation project.
15145
1b19c006
AM
15146 * po/uk.po: Update Ukrainian translation from translation project.
15147
9f236c49
BM
151482014-01-08 Brooks Moses <bmoses@google.com>
15149
15150 * elf/dl-load.c: Fix comment typo.
15151
cd6701cf
CD
151522014-01-08 Carlos O'Donell <carlos@redhat.com>
15153
15154 * po/header.pot: Rename to...
15155 * po/pot.header: ... this.
15156 * po/Makefile: Use pot.header.
15157
66671c84
YK
151582014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
15159 Maxim Kuvyrkov <maxim@kugelworks.com>
15160
15161 [BZ #16394]
cd6701cf
CD
15162 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
15163 SRC and DEST against LEN.
66671c84 15164
38f34581
AZ
151652014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15166
15167 [BZ #16414]
15168 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
15169 implementation.
15170 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
15171
151722014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
15173
15174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15175
4c327f2a
JM
151762014-01-08 Joseph Myers <joseph@codesourcery.com>
15177
15178 [BZ #16408]
15179 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
15180 for large positive arguments.
15181
b821f414
JM
151822014-01-07 Joseph Myers <joseph@codesourcery.com>
15183
1f0f2067
JM
15184 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15185
a5a326f6
JM
15186 * math/auto-libm-test-in: Mark various tests with
15187 xfail-rounding:ldbl-128ibm.
15188 * math/auto-libm-test-out: Regenerated.
15189
b821f414
JM
15190 [BZ #16407]
15191 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15192 Increase overflow threshold.
15193
94c8a4bc
OB
151942014-01-07 Ondřej Bílka <neleai@seznam.cz>
15195
15196 [BZ #14286]
15197 * stdio-common/vfprintf.c: Check for integer overflow.
15198
87ded0c3
AK
151992014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15200
15201 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15202 the first argument and return value of __tls_get_addr_internal.
15203
c5eebdd0
AK
152042014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15205
15206 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
15207 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
15208
05d138ef
AK
152092014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15210
15211 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
15212 * sysdeps/s390/rtld-global-offsets.sym: New file.
15213 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
15214 GLIBC_2.19 symbol.
15215 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
15216 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
15217 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15218 ... this.
15219 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
15220 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15221 ... this.
15222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15223 Regenerate.
15224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15225 Regenerate.
15226 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
15227 halfs of GPRs for high_gprs contexts.
15228 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
15229 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
15230 field.
15231 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
15232 uc_flags field.
15233 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
15234 64 bit versions:
15235 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
15236 for high GPRs (uc_high_gprs) and for future extensions
15237 (__reserved).
15238 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
15239 for future extensions (__reserved).
15240 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
15241 64 bit versions:
15242 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
15243 SC_HIGHGPRS offset definition.
15244 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
15245 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
15246
93a45ff1
AK
15247 * Versions.def: Add GLIBC_2.19 for libpthread.
15248 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
15249 siglongjmp for libpthread with GLIBC_2.19 symver.
15250 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
15251 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
15252 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
15253 * sysdeps/s390/__longjmp.c: New file.
15254 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
15255 * sysdeps/s390/longjmp.c: New file.
15256 * sysdeps/s390/setjmp.S: New file.
15257 * sysdeps/s390/sigjmp.S: New file.
15258 * sysdeps/s390/v1-longjmp.c: New file.
15259 * sysdeps/s390/v1-setjmp.h: New file.
15260 * sysdeps/s390/v1-sigjmp.c: New file.
15261 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
15262 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
15263 GLIBC_2.19 version.
15264 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
15265 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
15266 versioned symbols for ____longjmp_chk.
15267 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15268 Likewise.
15269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15270 Regenerate.
15271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15272 Regenerate.
15273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15274 Regenerate.
15275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15276 Regenerate.
15277 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
15278 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
15279 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
15280 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
15281 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
15282 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
15283 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
15284 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
15285 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
15286 * sysdeps/s390/rtld-__longjmp.c: New file.
15287 * sysdeps/s390/rtld-setjmp.S: New file.
15288
eb3fc44b
JM
152892014-01-06 Joseph Myers <joseph@codesourcery.com>
15290
15291 [BZ #16400]
15292 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15293 Return -__logl (x) for small positive arguments without evaluating
15294 a polynomial.
15295
9341dde4
MF
152962014-01-06 Mike Frysinger <vapier@gentoo.org>
15297
15298 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
15299 Rename to ...
15300 (__ptrace_peeksiginfo_args): ... this.
15301 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15302 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15303 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15304
4cff0293
AM
153052014-01-06 Allan McRae <allan@archlinux.org>
15306
15307 * inet/netinet/in.h: Fix typo in comment.
15308
75595dcf
AJ
153092014-01-05 Andreas Jaeger <aj@suse.de>
15310
15311 * sysdeps/i386/fpu/libm-test-ulps: Update.
15312
79c1e109
AM
153132014-01-05 Allan McRae <allan@archlinux.org>
15314
dd804818
AM
15315 * po/libc.pot: Regenerated.
15316
79c1e109
AM
15317 * malloc/memusagestat.c: Fix gettext call formatting.
15318
0c813d1f
SK
153192014-01-04 Sami Kerola <kerolasa@iki.fi>
15320
15321 * nscd/nscd.c: Improve usage() output.
15322
20f4a8d9
MF
153232014-01-04 Mike Frysinger <vapier@gentoo.org>
15324
15325 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
15326 * sysdeps/unix/sysv/linux/configure: Regenerated.
15327 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
15328 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
15329
22562bb2
JM
153302014-01-03 Joseph Myers <joseph@codesourcery.com>
15331
15332 [BZ #16390]
15333 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15334 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
15335
d7ad2d9b
AZ
153362014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15337
15338 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
15339 extra tokens at end of #undef directive.
15340 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
15341 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
15342 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15343
7dd009d8
JM
153442014-01-03 Joseph Myers <joseph@codesourcery.com>
15345
24db925a
JM
15346 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15347
7dd009d8
JM
15348 * math/auto-libm-test-in: Mark various tests with
15349 xfail-rounding:ldbl-128ibm.
15350 * math/auto-libm-test-out: Regenerated.
15351
396e3ecf
JM
153522014-01-02 Joseph Myers <joseph@codesourcery.com>
15353
819e5d50
JM
15354 [BZ #16386]
15355 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
15356 numbers with subnormal high part when calculating exponent.
15357
90b6a1e5
JM
15358 [BZ #16385]
15359 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
15360 fabs.
15361
396e3ecf
JM
15362 [BZ #16384]
15363 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
15364 M_LN2l.
15365 (__ieee754_acoshl): Use __log1pl not __log1p.
15366
6c8dbf00
OB
153672013-01-02 Ondřej Bílka <neleai@seznam.cz>
15368
57f41c40
AS
15369 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
15370 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
15371 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
15372 (grow_heap, heap_trim, _int_new_arena, get_free_list)
15373 (reused_arena, arena_get2): Convert to GNU style.
15374 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
15375 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
15376 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 15377 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
15378 * malloc/malloc.c (__malloc_assert, malloc_init_state)
15379 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
15380 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
15381 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
15382 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
15383 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 15384 * malloc/malloc.h: Likewise.
57f41c40
AS
15385 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
15386 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 15387 * malloc/mcheck.h: Likewise.
57f41c40
AS
15388 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
15389 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
15390 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
15391 * malloc/morecore.c (__default_morecore): Likewise.
15392 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
15393 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
15394 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
15395 (print_and_abort): Likewise.
6c8dbf00
OB
15396 * malloc/obstack.h: Likewise.
15397 * malloc/set-freeres.c (__libc_freeres): Likewise.
15398 * malloc/tst-mallocstate.c (main): Likewise.
15399 * malloc/tst-mtrace.c (main): Likewise.
15400 * malloc/tst-realloc.c (do_test): Likewise.
15401
d4124212
SP
154022013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15403
9a3c6a6f
SP
15404 [BZ #16366]
15405 * nscd/netgroupcache.c (do_notfound): New function.
15406 (addgetnetgrentX): Use it.
15407
d4124212
SP
15408 [BZ # 16365]
15409 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
15410 NSS_STATUS_NOTFOUND.
15411
97b9a009
JM
154122014-01-01 Joseph Myers <joseph@codesourcery.com>
15413
15414 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15416
d4697bc9
AM
154172014-01-01 Allan McRae <allan@archlinux.org>
15418
ddb3687f
AM
15419 * scripts/update-copyrights: Update configure input file suffix.
15420
88726d48
AM
15421 * NEWS: Update copyright year.
15422 * catgets/gencat.c: Likewise.
15423 * csu/version.c: Likewise.
15424 * debug/catchsegv.sh: Likewise.
15425 * debug/pcprofiledump.c: Likewise.
15426 * debug/xtrace.sh: Likewise.
15427 * elf/ldconfig.c: Likewise.
15428 * elf/ldd.bash.in: Likewise.
15429 * elf/pldd.c: Likewise.
15430 * elf/sotruss.ksh: Likewise.
15431 * elf/sprof.c: Likewise.
15432 * iconv/iconv_prog.c: Likewise.
15433 * iconv/iconvconfig.c: Likewise.
15434 * locale/programs/locale.c: Likewise.
15435 * locale/programs/localedef.c: Likewise.
15436 * login/programs/pt_chown.c: Likewise.
15437 * malloc/memusage.sh: Likewise.
15438 * malloc/memusagestat.c: Likewise.
15439 * malloc/mtrace.pl: Likewise.
15440 * manual/libc.texinfo: Likewise.
15441 * nscd/nscd.c: Likewise.
15442 * nss/getent.c: Likewise.
15443 * nss/makedb.c: Likewise.
15444 * posix/getconf.c: Likewise.
15445 * scripts/test-installation.pl: Likewise.
15446
d4697bc9
AM
15447 * All files with FSF copyright notices: Update copyright dates
15448 using scripts/update-copyrights.
15449 * intl/plural.c: Regenerated.
15450 * locale/programs/charmap-kw.h: Likewise.
15451 * locale/programs/locfile-kw.h: Likewise.
15452
c8590f9d
MF
154532013-12-31 Mike Frysinger <vapier@gentoo.org>
15454
15455 * sysdeps/unix/sysv/linux/configure: Regenerated.
15456 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
15457 the linux/fanotify.h header.
15458 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
15459 HAVE_LINUX_FANOTIFY_H is defined.
15460
b19221b9
SP
154612013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15462
dd1d85e5
SP
15463 * benchtests/cos-inputs: New inputs.
15464 * benchtests/sin-inputs: Likewise.
15465
1acbb90f
SP
15466 * benchtests/atan-inputs: New inputs. Fix name of multiple
15467 precision fallback inputs.
15468
4c012ed3
SP
15469 * benchtests/atanh-inputs: New inputs.
15470 * benchtests/tanh-inputs: Likewise.
15471
eff98324
SP
15472 * benchtests/acosh-inputs: New inputs.
15473 * benchtests/asinh-inputs: Likewise.
15474
ce641152
SP
15475 * benchtests/cosh-inputs: New inputs.
15476 * benchtests/sinh-inputs: Likewise.
15477
b19221b9
SP
15478 * benchtests/acos-inputs: Add more inputs.
15479 * benchtests/asin-inputs: Likewise.
15480
030a4976 154812013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 15482
030a4976 15483 [BZ #16375]
9dcc8f11
VS
15484 * manual/arith.texi: Fix spelling.
15485 * manual/charset.texi: Likewise.
15486 * manual/errno.texi: Likewise.
15487 * manual/filesys.texi: Likewise.
15488 * manual/lang.texi: Likewise.
15489 * manual/llio.texi: Likewise.
15490 * manual/locale.texi: Likewise.
15491 * manual/message.texi: Likewise.
15492 * manual/resource.texi: Likewise.
15493 * manual/search.texi: Likewise.
15494 * manual/setjmp.texi: Likewise.
15495 * manual/stdio.texi: Likewise.
15496 * manual/string.texi: Likewise.
15497 * manual/sysinfo.texi: Likewise.
15498 * manual/time.texi: Likewise.
15499
11520a57
CD
155002013-12-27 Carlos O'Donell <carlos@redhat.com>
15501
15502 * po/sl.po: New file.
15503
471103ae
MF
155042013-12-27 Mike Frysinger <vapier@gentoo.org>
15505
15506 * .gitignore: Add core/.gdbinit/.gdb_history.
15507
6c9642ed
AM
155082013-12-27 Allan McRae <allan@archlinux.org>
15509
15510 [BZ #16369]
15511 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
15512 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
15513
3f637079
BM
155142013-12-24 Brooks Moses <bmoses@google.com>
15515
15516 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
15517 all compilers that claim C++98 compliance, not just GCC.
15518 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15519 Likewise.
15520
abc26e99
MK
155212013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
15522
15523 * NEWS: Restore accidentally deleted bug-fix entries.
15524
362b47fe
MK
155252013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
15526 Ondřej Bílka <neleai@seznam.cz>
15527
15528 [BZ #15073]
15529 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 15530 have_lock.
362b47fe 15531
b9bcbbcb
OB
155322013-12-23 Ondřej Bílka <neleai@seznam.cz>
15533
15534 [BZ #12986]
15535 * manual/stdio.texi (String Input Conversions): Clarify that character
15536 classes are not supported.
15537
fb55fcd2
AZ
155382013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15539
15540 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15541
ef7344f0
JM
155422013-12-22 Joseph Myers <joseph@codesourcery.com>
15543
4f40e4b3
JM
15544 [BZ #16337]
15545 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15546 Calculate results for small negative arguments directly rather
15547 than using reflection formula with special underflow handling.
15548
ef7344f0
JM
15549 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
15550 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
15551 sysdeps/unix/bsd/bsd4.4/syscalls.list.
15552 (fchflags): Likewise.
15553 (revoke): Likewise.
15554 (setlogin): Likewise.
15555 (sigaltstack): Likewise.
15556 (wait4): Likewise.
15557 (sigblock): Remove.
15558 (sigsetmask): Likewise.
15559 (wait3): Likewise.
15560 (waitpid): Likewise.
15561 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
15562 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
15563 file.
15564 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
15565 * sysdeps/unix/bsd/Makefile: ... here.
15566 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
15567 * sysdeps/unix/bsd/Versions: ... here.
15568 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
15569 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
15570 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
15571 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
15572 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
15573 * sysdeps/unix/bsd/sigblock.c: ... here.
15574 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
15575 * sysdeps/unix/bsd/sigsetmask.c: ... here.
15576 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
15577 * sysdeps/unix/bsd/sigvec.c: ... here.
15578 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
15579 * sysdeps/unix/bsd/tcdrain.c: ... here.
15580 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
15581 * sysdeps/unix/bsd/tcgetattr.c: ... here.
15582 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
15583 * sysdeps/unix/bsd/tcsetattr.c: ... here.
15584 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
15585 * sysdeps/unix/bsd/wait.c: ... here.
15586 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
15587 * sysdeps/unix/bsd/wait3.c: ... here.
15588 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
15589 * sysdeps/unix/bsd/waitpid.c: ... here.
15590
5b0626b9
JM
155912013-12-21 Joseph Myers <joseph@codesourcery.com>
15592
15593 [BZ #16356]
15594 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
15595 round-to-nearest for [!USE_AS_EXPM1L].
15596 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
15597 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
15598 more tests of exp and exp10. Expect some exp10 tests to miss
15599 exceptions or fail in directed rounding modes.
15600 * math/auto-libm-test-out: Regenerated.
15601 * math/libm-test.inc (exp10_tonearest_test_data): New array.
15602 (exp10_test_tonearest): New function.
15603 (exp10_towardzero_test_data): New array.
15604 (exp10_test_towardzero): New function.
15605 (exp10_downward_test_data): New array.
15606 (exp10_test_downward): New function.
15607 (exp10_upward_test_data): New array.
15608 (exp10_test_upward): New function.
15609 (main): Call the new functions.
15610 * sysdeps/i386/fpu/libm-test-ulps: Update.
15611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15612
7fda5682
JM
156132013-12-20 Joseph Myers <joseph@codesourcery.com>
15614
31e3a405
JM
15615 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15616 asinh, atan, atan2, atanh, cbrt, cos and cosh.
15617 * math/auto-libm-test-out: Regenerated.
15618 * math/libm-test.inc (acosh_test_data): Add more tests.
15619 (atanh_test_data): Likewise.
15620 (ceil_test_data): Likewise.
15621 (copysign_test_data): Likewise.
15622 * sysdeps/i386/fpu/libm-test-ulps: Update.
15623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15624
85bff96a
JM
15625 * timezone/checktab.awk: Update from tzcode 2013i.
15626 * timezone/private.h: Likewise.
15627 * timezone/scheck.c: Likewise.
15628 * timezone/tzfile.h: Likewise.
15629 * timezone/tzselect.ksh: Likewise.
15630 * timezone/zdump.c: Likewise.
15631 * timezone/zic.c: Likewise.
15632
b7867a3b
JM
15633 * math/auto-libm-test-in: Add tests of cpow.
15634 * math/auto-libm-test-out: Regenerated.
15635 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 15636 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
15637 mpc_cc_c.
15638 (func_calc_desc): Add mpc_cc_c union field.
15639 (test_functions): Add cpow.
15640 (special_fill_2pi): New function.
15641 (special_real_inputs): Add 2pi.
15642 (calc_generic_results): Handle mpc_cc_c.
15643 * sysdeps/i386/fpu/libm-test-ulps: Update.
15644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15645
7fda5682
JM
15646 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
15647 csqrt, ctan and ctanh.
15648 * math/auto-libm-test-out: Regenerated.
15649 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15650 (TEST_COND_x86): Likewise.
15651 (ccos_test_data): Use AUTO_TESTS_c_c.
15652 (ccosh_test_data): Likewise.
15653 (cexp_test_data): Likewise.
15654 (clog_test_data): Likewise.
15655 (csqrt_test_data): Likewise.
15656 (ctan_test_data): Likewise.
15657 (ctan_tonearest_test_data): Likewise.
15658 (ctan_towardzero_test_data): Likewise.
15659 (ctan_downward_test_data): Likewise.
15660 (ctan_upward_test_data): Likewise.
15661 (ctanh_test_data): Likewise.
15662 (ctanh_tonearest_test_data): Likewise.
15663 (ctanh_towardzero_test_data): Likewise.
15664 (ctanh_downward_test_data): Likewise.
15665 (ctanh_upward_test_data): Likewise.
15666 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15667 mpc_c_c.
15668 (func_calc_desc): Add mpc_c_c union field.
15669 (FUNC_mpc_c_c): New macro.
15670 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
15671 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
15672 ctanh.
15673 (special_fill_min_subnorm_p120): New function.
15674 (special_real_inputs): Add min_subnorm_p120.
15675 (calc_generic_results): Handle mpc_c_c.
15676 * sysdeps/i386/fpu/libm-test-ulps: Update.
15677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15678
5ff8d60e
SP
156792013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15680
57f41c40
AS
15681 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
15682 (do_sin_slow): New functions.
15683 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
15684 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 15685
84ba214c
SP
15686 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
15687 Use M to change sign of result instead of X. Assume X is
15688 positive.
15689 (csloww1): Likewise.
15690 (__sin): Adjust.
15691 (__cos): Adjust.
15692
975195e4
SP
15693 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
15694 arguments A and DA.
15695 (__sin): Adjust.
15696 (__cos): Likewise.
15697
5ff8d60e
SP
15698 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
15699 (__cos): Likewise.
15700 (sloww1): Don't adjust sign of DX.
15701 (csloww1): Likewise.
15702 (sloww2): Use X directly and don't adjust sign of DX.
15703 (csloww2): Likewise.
15704
eb983568
JM
157052013-12-19 Joseph Myers <joseph@codesourcery.com>
15706
64a17f1a
JM
15707 * math/auto-libm-test-in: Add tests of cabs and carg.
15708 * math/auto-libm-test-out: Regenerated.
15709 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
15710 (carg_test_data): Likewise.
15711 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15712 mpc_c_f.
15713 (func_calc_desc): Add mpc_c_f union field.
15714 (test_functions): Add cabs and carg.
15715 (calc_generic_results): Handle mpc_c_f.
15716
eb983568
JM
15717 * sysdeps/powerpc/powerpc32/libgcc-compat.S
15718 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
15719 as a macro and a compat symbol.
15720 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15721 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15722 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15723 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15724 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
15725 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
15726 not use .hidden.
15727 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
15728 Likewise.
15729 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
15730 Likewise.
15731 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
15732 Likewise.
15733 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
15734 Likewise.
15735 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
15736 Likewise.
15737 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
15738 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
15739 from GLIBC_2.3.2.
15740
6eeb678a
AZ
157412013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15742
15743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15744
6f6fc482
JM
157452013-12-19 Joseph Myers <joseph@codesourcery.com>
15746
21fea2e2
JM
15747 * manual/texinfo.tex: Update to version 2013-11-26.10 with
15748 trailing whitespace removed.
15749 * scripts/config.guess: Update to version 2013-11-29.
15750 * scripts/config.sub: Update to version 2013-10-01.
15751
6f6fc482
JM
15752 * math/auto-libm-test-in: Add tests of sincos.
15753 * math/auto-libm-test-out: Regenerated.
15754 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
15755 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15756 mpfr_f_11.
15757 (func_calc_desc): Add mpfr_f_11 union field.
15758 (test_functions): Add sincos.
15759 (calc_generic_results): Handle mpfr_f_11.
15760 * sysdeps/i386/fpu/libm-test-ulps: Update.
15761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15762
83f5c32d
AS
157632013-12-19 Andreas Schwab <schwab@suse.de>
15764
15765 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
15766 CALL_MCOUNT.
15767 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15768 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
15769 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
15770
c688b419
JM
157712013-12-19 Joseph Myers <joseph@codesourcery.com>
15772
335ee092
JM
15773 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
15774 * sysdeps/i386/fpu/libm-test-ulps: Update.
15775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15776
f88acd39
JM
15777 [BZ #16293]
15778 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
15779 round-to-nearest mode when using frndint.
15780 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
15781 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15782 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15783 Likewise.
15784 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
15785 sinh test to fail.
15786 * math/auto-libm-test-out: Regenerated.
15787 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
15788 (TEST_COND_x86): Likewise.
15789 (expm1_tonearest_test_data): New array.
15790 (expm1_test_tonearest): New function.
15791 (expm1_towardzero_test_data): New array.
15792 (expm1_test_towardzero): New function.
15793 (expm1_downward_test_data): New array.
15794 (expm1_test_downward): New function.
15795 (expm1_upward_test_data): New array.
15796 (expm1_test_upward): New function.
15797 (main): Run the new test functions.
15798 * sysdeps/i386/fpu/libm-test-ulps: Update.
15799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15800
c688b419
JM
15801 * include/features.h: Update comment documenting feature test
15802 macros. Mention _DEFAULT_SOURCE in comment.
15803 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
15804 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
15805 _BSD_SOURCE and _SVID_SOURCE.
15806 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
15807 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
15808 !_SVID_SOURCE]: Likewise.
15809 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15810 (__USE_POSIX_IMPLICITLY): Define.
15811 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15812 (_POSIX_SOURCE): Undefine and redefine.
15813 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15814 (_POSIX_C_SOURCE): Likewise.
15815 * manual/creature.texi (_DEFAULT_SOURCE): Document.
15816 (Feature Test Macros): Update documentation of default features.
15817
9f6e964c
RS
158182013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15819
15820 * benchtests/Makefile: Add bench-strtok.
15821 * benchtests/bench-strtok.c: New file: strtok benchtest.
15822
ee0a148a
AM
158232013-12-19 Allan McRae <allan@archlinux.org>
15824
15825 * manual/install.texi: Suppress menu for plain text output.
15826 * INSTALL: Regenerated.
15827
b9ab448f
BM
158282013-12-18 Brooks Moses <bmoses@google.com>
15829
15830 [BZ #15846]
15831 * misc/getauxval.c: Include errno.h.
15832 (__getauxval): Set errno to ENOENT if the requested type is not
15833 found.
15834 * misc/sys/auxv.h (getauxval): Document that it may set errno;
15835 don't declare with __attribute_const__.
15836 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
15837 * manual/startup.texi: Document that getauxval sets errno.
15838
23776487
JM
158392013-12-18 Joseph Myers <joseph@codesourcery.com>
15840
f889953b
JM
15841 * math/auto-libm-test-in: Add tests of jn and yn.
15842 * math/auto-libm-test-out: Regenerated.
15843 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
15844 (yn_test_data): Likewise.
15845 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15846 mpfr_if_f.
15847 (func_calc_desc): Add mpfr_if_f union field.
15848 (FUNC_mpfr_if_f): New macro.
15849 (test_functions): Add jn and yn.
15850 (calc_generic_results): Assert type of second input for
15851 mpfr_ff_f. Handle mpfr_if_f.
15852 (output_for_one_input_case): Disable all checking for arguments
15853 fitting floating-point types in case of an integer argument.
15854 * sysdeps/i386/fpu/libm-test-ulps: Update.
15855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15856
23776487
JM
15857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15858 Don't expect fegetround reference in libm.so.
15859
cb756c6d
MS
158602013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15861
15862 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
15863 $(config-cflags-nofma).
15864
2dec468f
JM
158652013-12-18 Joseph Myers <joseph@codesourcery.com>
15866
5953eb3a
JM
15867 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
15868 * math/auto-libm-test-out: Regenerated.
15869
2dec468f
JM
15870 [BZ #16338]
15871 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
15872 to determine exponent and adjust argument to have exponent of -1.
15873 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15874 log2.
15875 * math/auto-libm-test-out: Regenerated.
15876 * sysdeps/i386/fpu/libm-test-ulps: Update.
15877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15878
4d84e6ad
OB
158792013-12-18 Ondřej Bílka <neleai@seznam.cz>
15880
15881 * manual/probes.texi: Remove cases when per-thread arenas are
15882 disabled.
15883
1818483b
AS
158842013-12-18 Andreas Schwab <schwab@suse.de>
15885
15886 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
15887 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
15888 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
15889 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
15890 * sysdeps/i386/i686/multiarch/Makefile: Update.
15891 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
15892
25de95bf
JM
158932013-12-17 Joseph Myers <joseph@codesourcery.com>
15894
15895 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
15896 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
15897
674762d9
PE
158982013-12-17 Paul Eggert <eggert@cs.ucla.edu>
15899
ed27ed83 15900 [BZ #15968]
0748546f
PE
15901 Support TZ transition times < 00:00:00.
15902 This is needed for version-3 tz-format files; it supports time
15903 stamps past 2037 for America/Godthab (the only entry in the tz
15904 database for which this change is relevant).
15905 * manual/time.texi (TZ Variable): Document transition times
15906 from -167:59:59 through -00:00:01.
15907 * time/tzset.c (tz_rule): Time of day is now signed.
15908 (__tzset_parse_tz): Parse negative time of day.
15909
4480e934
PE
15910 Document TZ transition times >= 25:00:00.
15911 * manual/time.texi (TZ Variable): Document transition times from
15912 25:00:00 through 167:59:59. These are already supported, and this
15913 support will help with version-3 tz-format files.
15914
69947401
PE
15915 * manual/time.texi (TZ Variable): Modernize North America example
15916 to reflect current (i.e., 2007-and-later) daylight saving rules.
15917
674762d9
PE
15918 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
15919
7011c262
JM
159202013-12-17 Joseph Myers <joseph@codesourcery.com>
15921
2fc6557e
JM
15922 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
15923 * sysdeps/unix/bsd/bits/stat.h: Likewise.
15924 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
15925 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15926 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
15927 * sysdeps/unix/bsd/bsdstat.h: Likewise.
15928 * sysdeps/unix/bsd/clock.c: Likewise.
15929 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
15930 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
15931 * sysdeps/unix/bsd/init-posix.c: Likewise.
15932 * sysdeps/unix/bsd/poll.c: Likewise.
15933 * sysdeps/unix/bsd/ptsname.c: Likewise.
15934 * sysdeps/unix/bsd/seekdir.c: Likewise.
15935 * sysdeps/unix/bsd/setegid.c: Likewise.
15936 * sysdeps/unix/bsd/seteuid.c: Likewise.
15937 * sysdeps/unix/bsd/setgid.c: Likewise.
15938 * sysdeps/unix/bsd/setrgid.c: Likewise.
15939 * sysdeps/unix/bsd/setruid.c: Likewise.
15940 * sysdeps/unix/bsd/setsid.c: Likewise.
15941 * sysdeps/unix/bsd/setuid.c: Likewise.
15942 * sysdeps/unix/bsd/sigaction.c: Likewise.
15943 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
15944 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
15945 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
15946 * sysdeps/unix/bsd/telldir.c: Likewise.
15947 * sysdeps/unix/bsd/times.c: Likewise.
15948 * sysdeps/unix/bsd/usleep.c: Likewise.
15949
029c7b25
JM
15950 * misc/Makefile (install-lib): Remove libbsd-compat.a.
15951 ($(objpfx)libbsd-compat.a): Remove rule.
15952
7011c262
JM
15953 * include/features.h (__FAVOR_BSD): Do not define.
15954 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
15955 features conflicting with POSIX.
15956 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
15957 (_BSD_SOURCE): Remove description of not being a subset of other
15958 feature test macros.
15959 * manual/job.texi (getpgrp): Do not document BSD version.
15960 (getpgid): Do not document by reference to BSD getpgrp.
15961 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
15962 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
15963 * signal/signal.h [__FAVOR_BSD]: Likewise.
15964 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15965 instead of making contents conditional on [__FAVOR_BSD].
15966 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
15967
affb6f78
AZ
159682013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15969
15970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15971
c88769dd
JM
159722013-12-17 Joseph Myers <joseph@codesourcery.com>
15973
6432a540
JM
15974 [BZ #16314]
15975 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
15976 values below 2**-450, not 2**-500.
15977 * math/auto-libm-test-in: Don't allow spurious underflow from
15978 hypot.
15979 * math/auto-libm-test-out: Regenerated.
15980
c88769dd
JM
15981 [BZ #16316]
15982 [BZ #16330]
15983 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15984 values of ha and hb and sort them after adjusting subnormal
15985 arguments.
15986 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15987 Likewise.
15988 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15989 values of ea and eb and sort them after adjusting subnormal
15990 arguments.
15991 * math/auto-libm-test-in: Do not expect some hypot tests of
15992 subnormals to fail. Add more hypot tests.
15993 * math/auto-libm-test-out: Regenerated.
15994
29618f6b
KK
159952013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15996
15997 [BZ #13304]
15998 * sysdeps/sh/s_fma.c: New file.
15999 * sysdeps/sh/s_fmaf.c: New file.
16000 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
16001 version.
16002 * sysdeps/sh/Implies: Add sh/soft-fp.
16003
eacfdfbf
RM
160042013-12-16 Roland McGrath <roland@hack.frob.com>
16005
16006 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
16007 level of indirection to members `objname', `errstring', `malloced'.
16008 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
16009 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
16010 it as the __longjmp argument (just pass 1 instead).
16011 (_dl_catch_error): Initialize C with argument pointers and address of
16012 volatile local ERRCODE rather than copying values out of C at return.
16013
ff362e5b
JM
160142013-12-16 Joseph Myers <joseph@codesourcery.com>
16015
16016 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
16017 * math/auto-libm-test-out: Regenerated.
16018 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
16019 (hypot_test_data): Likewise.
16020 (pow_test_data): Likewise.
16021 (pow_tonearest_test_data): Likewise.
16022 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16023 mpfr_ff_f.
16024 (func_calc_desc): Add mpfr_ff_f union field.
16025 (FUNC_mpfr_ff_f): New macro.
16026 (test_functions): Add atan2, hypot and pow.
16027 (special_fill_min): New function.
16028 (special_fill_minus_min): Likewise.
16029 (special_fill_min_subnorm): Likewise.
16030 (special_fill_minus_min_subnorm): Likewise.
16031 (special_real_inputs): Add min, -min, min_subnorm and
16032 -min_subnorm.
16033 (calc_generic_results): Handle mpfr_ff_f.
16034 * sysdeps/i386/fpu/libm-test-ulps: Update.
16035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16036
5764c27f
WN
160372013-12-16 Will Newton <will.newton@linaro.org>
16038
16039 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
16040 (Aligned Memory Blocks): Add documentation for aligned_alloc
16041 and suggest it as an alternative to posix_memalign.
16042 (Hooks for Malloc): Document __memalign_hook is also called
16043 for aligned_alloc. (Summary of Malloc): Add summary for
16044 aligned alloc. Document __memalign_hook is also called
16045 for aligned_alloc.
16046
0a096e44
WN
160472013-12-16 Will Newton <will.newton@linaro.org>
16048
16049 * manual/memory.texi (Malloc Examples): Clarify default
16050 alignment documentation. Suggest posix_memalign rather
16051 than memalign or valloc.
16052 (Aligned Memory Blocks): Remove suggestion to use memalign
16053 or valloc. Remove obsolete comment about BSD.
16054 Document memalign errno values and mark the function obsolete.
16055 Document posix_memalign returned error codes. Mark valloc
16056 as obsolete. (Hooks for Malloc): __memalign_hook is also
16057 called for posix_memalign and valloc.
16058 (Summary of Malloc): Add posix_memalign to function summary.
16059 __memalign_hook is also called for posix_memalign and valloc.
16060
8d561986
SP
160612013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16062
16063 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
16064 TAYLOR_SIN.
16065 (__sin): Adjust.
16066 (__cos): Likewise.
16067 (sloww): Use mynumber union. Expand ternary operator into
16068 if-else statements.
16069 (cslow): use mynumber union.
16070
73616a74
AM
160712013-12-16 Allan McRae <allan@archlinux.org>
16072
9e8ac24b
AM
16073 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
16074 * configure: Regenerated.
16075
6f8e37eb
AM
16076 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
16077
8894bad3
AM
16078 [BZ #14120]
16079 * configure.ac: Added --enable-maintainer-mode. Check for
16080 autoconf when enabled.
16081 * configure: Regenerated.
16082
73616a74
AM
16083 * nscd/nscd.service: New file.
16084 * nscd/nscd.tmpfiles: New file.
16085
584b18eb
OB
160862013-12-14 Ondřej Bílka <neleai@seznam.cz>
16087
16088 [BZ #12100]
16089 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16090 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16091 * sysdeps/x86_64/multiarch/strstr.c: ... here.
16092 (strstr): Add __strstr_sse2_unaligned ifunc.
16093 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16094 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16095 (strcasestr): Remove __strcasestr_sse42 ifunc.
16096 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16097 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16098 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16099
8a5c7897
KK
161002013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16101
16102 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16103 * sysdeps/sh/bits/fenv.h: ... here.
16104 * sysdeps/sh/sh4/fpu/bits: Remove directory.
16105
fd712ef3
AZ
161062013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16107
16108 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16109
42fcb46c
AZ
16110 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16111 hypotf multiarch implementations.
16112 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16113 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16114 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16115 multiarch hypot for PPC64.
16116 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16117 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16118 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16119 multiarch hypotf for PPC64.
16120
83efded4
AZ
16121 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16122 modff multiarch implementations.
16123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16126 multiarch modf for PPC64.
16127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16130 multiarch modff for PPC64.
16131
43e246d2
AZ
16132 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16133 and logl multiarch implementations.
16134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16137 multiarch logb for PPC64.
16138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16141 multiarch logb for PPC64.
16142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16145 multiarch logb for PPC64.
16146
8fdad123
AZ
16147 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16148 isinff multiarch implementation.
16149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16150 file.
16151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
16153 multiarch isinf for PPC64.
16154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
16155 file.
16156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
16157 multiarch isinff for PPC64.
16158
1481d706
AZ
16159 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
16160 finitef multiarch implementation.
16161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
16162 file.
16163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
16164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
16165 multiarch finite for PPC64.
16166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
16167 file.
16168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
16169 multiarch finitef for PPC64.
16170
5ccd5fc8
AZ
16171 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
16172 lrint multiarch implementation.
16173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
16174 file.
16175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
16176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
16177 multiarch llrint for PPC64.
16178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
16179 multiarch lrint for PPC64.
16180
2568f3fa
AZ
16181 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
16182 copysignf multiarch implementation.
16183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
16184 file.
16185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
16186 file.
16187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
16188 multiarch copysign for PPC64.
16189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
16190 multiarch copysignf for PPC64.
16191
1cb341fd
AZ
16192 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
16193 multiarch implementation.
16194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
16195 file.
16196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
16197 file.
16198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
16199 file.
16200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
16201 file.
16202 multiarch llround for PPC64.
16203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
16204 multiarch trunc for PPC64.
16205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
16206 multiarch truncf for PPC64.
16207
59a3e194
AZ
16208 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
16209 multiarch implementation.
16210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
16211 file.
16212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
16213 file.
16214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
16215 file.
16216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
16217 file.
16218 multiarch llround for PPC64.
16219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
16220 multiarch round for PPC64.
16221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
16222 multiarch roundf for PPC64.
16223
357fd3b4
AZ
16224 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
16225 multiarch implementation.
16226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
16227 file.
16228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
16229 file.
16230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
16231 file.
16232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
16233 file.
16234 multiarch llround for PPC64.
16235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
16236 multiarch floor for PPC64.
16237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
16238 multiarch floorf for PPC64.
16239
96770f12
AZ
16240 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
16241 multiarch implementation.
16242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
16243 file.
16244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
16245 file.
16246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
16247 file.
16248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
16249 file.
16250 multiarch llround for PPC64.
16251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
16252 multiarch ceil for PPC64.
16253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
16254 multiarch ceilf for PPC64.
16255
c3627f6e
AZ
16256 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16257 multiarch implementation.
16258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
16259 file.
16260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
16261 file.
16262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
16263 file.
16264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
16265 multiarch llround for PPC64.
16266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
16267 multiarch lround for PPC64.
16268
b2284ad7
AZ
16269 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16270 multiarch implementation.
16271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
16272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
16273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
16274 file.
16275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
16276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
16277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
16278 multiarch isnan for PPC64.
16279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
16280 multiarch isnanf for PPC64.
16281
69bbc63d
AZ
16282 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
16283 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
16284 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
16285 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
16286 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
16287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
16288
c24517c9
AZ
16289 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
16290 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16291 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16292 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16293
a52374e8
AZ
16294 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
16295 multiarch implementations.
16296 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16297 (__libc_ifunc_impl_list): Likewise.
16298 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16299 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
16300 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
16301 multiarch stpcpy for PPC64.
16302
7f5ec113
AZ
16303 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
16304 multiarch implementations.
16305 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16306 (__libc_ifunc_impl_list): Likewise.
16307 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
16308 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
16309 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
16310 multiarch strcpy for PPC64.
16311
e28bcd42
AZ
16312 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
16313 redefine function name.
16314 (_wordcopy_fwd_dest_aligned): Likewise.
16315 (_wordcopy_bwd_aligned): Likewise.
16316 (_wordcopy_bwd_dest_aligned): Likewise.
16317 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
16318 multiarch implementations.
16319 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16320 (__libc_ifunc_impl_list): Likewise.
16321 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
16322 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
16323 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
16324 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
16325 multiarch wcscpy for PPC64.
16326
92cacfce
AZ
16327 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
16328 multiarch implementations.
16329 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16330 (__libc_ifunc_impl_list): Likewise.
16331 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
16332 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
16333 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
16334 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
16335 multiarch wcscpy for PPC64.
16336
7b714620
AZ
16337 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
16338 multiarch implementations.
16339 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16340 (__libc_ifunc_impl_list): Likewise.
16341 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
16342 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
16343 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
16344 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
16345 multiarch wcsrchr for PPC64.
16346
16fd2ae3
AZ
16347 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
16348 multiarch implementations.
16349 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16350 (__libc_ifunc_impl_list): Likewise.
16351 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
16352 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
16353 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
16354 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
16355 multiarch wcschr for PPC64.
16356
9ee2969b
AZ
16357 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
16358 multiarch implementations.
16359 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16360 (__libc_ifunc_impl_list): Likewise.
16361 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
16362 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
16363 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
16364 multiarch strchrnul for PPC64.
16365
372dc060
AZ
16366 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
16367 implementations.
16368 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16369 (__libc_ifunc_impl_list): Likewise.
16370 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
16371 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
16372 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
16373 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
16374 strchr for PPC64.
16375
24c2c3b9
AZ
16376 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
16377 implementations.
16378 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16379 (__libc_ifunc_impl_list): Likewise.
16380 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
16381 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
16382 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
16383 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
16384 strncmp for PPC64.
16385
1c92d9a0
AZ
16386 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
16387 multiarch implementations.
16388 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16389 (__libc_ifunc_impl_list): Likewise.
16390 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
16391 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
16392 strncasecmp for PPC64.
16393 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
16394 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
16395 multiarch strncasecmp_l for PPC64.
16396
17de3ee3
AZ
16397 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
16398 multiarch implementations.
16399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16400 (__libc_ifunc_impl_list): Likewise.
16401 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
16402 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
16403 multiarch strcasecmp for PPC64.
16404 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
16405 file.
16406 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
16407 multiarch strcasecmp_l for PPC64.
16408
62982bf9
AZ
16409 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
16410 implementations.
16411 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16412 (__libc_ifunc_impl_list): Likewise.
16413 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
16414 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
16415 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
16416 strnlen for PPC64.
16417
a65f4904
AZ
16418 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
16419 implementations.
16420 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16421 (__libc_ifunc_impl_list): Likewise.
16422 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
16423 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
16424 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
16425 strlen for PPC64.
16426
1fd005ad
AZ
16427 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
16428 implementations.
16429 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16430 (__libc_ifunc_impl_list): Likewise.
16431 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
16432 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
16433 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
16434 rawmemrchr for PPC64.
16435
cd05ba91
AZ
16436 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
16437 implementation.
16438 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16439 (__libc_ifunc_impl_list): Likewise.
16440 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
16441 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
16442 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
16443 memrchr for PPC64.
16444
870f8676
AZ
16445 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
16446 implementation.
16447 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16448 (__libc_ifunc_impl_list): Likewise.
16449 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
16450 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
16451 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
16452 memchr for PPC64.
16453
f00be62b
AZ
16454 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
16455 implementation.
16456 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16457 (__libc_ifunc_impl_list): Likewise.
16458 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
16459 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
16460 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
16461 mempcpy for PPC64.
16462
8a29a3d0
AZ
16463 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
16464 avoid cretion of __bzero symbol.
16465 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
16466 Likewise.
16467 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
16468 Likewise.
16469 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
16470 Likewise.
16471 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
16472 multiarch implementations.
16473 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16474 (__libc_ifunc_impl_list): Likewise.
16475 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
16476 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
16477 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
16478 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
16479 bzero for PPC32.
16480 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
16481 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
16482 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
16483 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
16484 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
16485 memset for PPC64.
16486 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
16487
07253fcf
AZ
16488 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
16489 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
16490 implementations.
16491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16492 (__libc_ifunc_impl_list): Likewise.
16493 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
16494 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
16495 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
16496 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
16497 memcmp for PPC64.
16498
b5beafbc
AZ
16499 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
16500 multiarch for POWER/PPC64.
16501 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16502 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
16503 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
16504 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
16505 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
16506 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
16507 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
16508 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
16509 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
16510 memcpy for PPC64.
16511
5e6a4d4b
AZ
16512 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
16513 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
16514 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
16515 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
16516 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
16517 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
16518 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
16519 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
16520 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
16521 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
16522 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
16523 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
16524 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
16525 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
16526 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
16527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
16528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
16529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
16530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
16531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
16532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
16533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
16534
ddfab6dc
KK
165352013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16536
16537 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
16538
19b5525e
SP
165392013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16540
16541 * benchtests/Makefile (bench): Add exp2 and log2.
16542 (LDLIBS-bench-exp2): Add -lm.
16543 (LDLIBS-bench-log2): Likewise.
16544 * benchtests/exp2-inputs: New inputs file.
16545 * benchtests/log2-inputs: New inputs file.
16546 * benchtests/log-inputs: Add new inputs.
16547 * benchtests/tan-inputs: Likewise.
16548
196f7f5d
SP
165492013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16550
7a74607f
SP
16551 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
16552 definition...
57f41c40
AS
16553 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
16554 (csloww2): ... from here.
7a74607f 16555
196f7f5d
SP
16556 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
16557 instead of structures.
16558 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
16559 (POLYNOMIAL): Likewise.
16560 (TAYLOR_SLOW): Likewise.
16561 (__sin): Likewise.
16562 (__cos): Likewise.
16563 (slow1): Likewise.
16564 (slow2): Likewise.
16565 (sloww): Likewise.
16566 (sloww1); Likewise.
16567 (sloww2): Likewise.
16568 (bsloww1): Likewise.
16569 (bsloww2): Likewise.
16570 (cslow2): Likewise.
16571 (csloww): Likewise.
16572 (csloww1): Likewise.
16573 (csloww2): Likewise.
16574
0dfa665c
OB
165752013-12-10 Ondřej Bílka <neleai@seznam.cz>
16576
16577 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
16578 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
16579 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
16580 * malloc/hooks.c (realloc_check): Likewise.
16581
5782a80f
OB
16582 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
16583 * malloc/arena.c: Remove PER_THREAD conditional.
16584 [!PER_THREAD]: Remove code.
16585 (ptmalloc_unlock_all2): Likewise.
16586 (ptmalloc_init): Likewise.
16587 (_int_new_arena): Likewise.
16588 (arena_get2): Likewise.
16589 * malloc/hooks.c (__malloc_get_state): Likewise.
16590 (__malloc_set_state): Likewise.
16591 * malloc/malloc.c: Likewise.
16592 (struct malloc_state): Likewise.
16593 (struct malloc_par): Likewise.
16594 (__libc_realloc): Likewise.
16595 (__libc_mallopt): Likewise.
16596
aeb95445
AZ
165972013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16598
16599 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
16600
e8349efd
OB
166012013-12-09 Ondřej Bílka <neleai@seznam.cz>
16602
16603 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
16604 macro to a function. Check for zero perturb_byte.
16605 (_int_malloc, _int_free): Remove zero perturb_byte checks.
16606
f3eeb3fc 16607 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
16608 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
16609 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
16610 force_reg by atomic_forced_read.
16611 * malloc/arena.c (ptmalloc_init): Likewise.
16612 * malloc/hooks.c (top_check): Likewise.
16613
be2f9009
AZ
166142013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16615
16616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16617
e7b914bd
MT
166182013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
16619
16620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16621
9f0be4f8
JM
166222013-12-08 Joseph Myers <joseph@codesourcery.com>
16623
16624 * math/auto-libm-test-in: Add tests of lgamma.
16625 * math/auto-libm-test-out: Regenerated.
16626 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
16627 (M_LOG_2_SQRT_PIl): Likewise.
16628 (lgamma_test_data): Use AUTO_TESTS_f_f1.
16629 * math/gen-auto-libm-tests.c (func_calc_method): Add value
16630 mpfr_f_f1.
16631 (func_calc_desc): Add mpfr_f_f1 union field.
16632 (ARGS1): New macro.
16633 (ARGS2): Likewise.
16634 (ARGS3): Likewise.
16635 (ARGS4): Likewise.
16636 (RET1): Likewise.
16637 (RET2): Likewise.
16638 (CALC): Likewise.
16639 (FUNC): Likewise.
16640 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
16641 (test_functions): Add lgamma.
16642 (calc_generic_results): Handle mpfr_f_f1.
16643 * sysdeps/i386/fpu/libm-test-ulps: Update.
16644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16645
24eeafdb
AZ
166462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16647
16648 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
16649 __mpn_add_n for PowerPC64/POWER7.
16650 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
16651 __mpn_sub_n for PowerPC64/POWER7.
16652
4a2c0fd4
AZ
16653 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
16654 __mpn_addmul_1 for PowerPC64.
16655 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
16656 __mpn_submul_1 for PowerPC64.
16657 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
16658 for PowerPC64.
16659 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
16660 for PowerPC64.
16661
4b5b548c
FS
166622013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
16663
16664 [BZ #15089]
16665 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
16666
0a3ac0aa
AZ
166672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16668
16669 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
16670
ccdc8438
AZ
16671 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
16672 add multiarch folders.
16673 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
16674 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
16675 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
16676 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
16677 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
16678 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
16679 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
16680 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
16681 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
16682 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
16683 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
16684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
16685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
16686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
16687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
16688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
16689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
16690
2e973d99
AZ
16691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16692 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
16693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
16694 New file.
16695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
16696 New file.
16697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
16698 multiarch __ieee754_hypot for PowerPC32.
16699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
16700 New file.
16701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
16702 New file.
16703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
16704 multiarch __ieee754_hypotf for PowerPC32.
16705
2d9470b2
AZ
16706 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
16707 long_double_symbol only if __logbl is defined.
16708 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
16709 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
16710 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
16711 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
16712 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
16713 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
16714 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
16715 path for implementation.
16716 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
16717 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
16718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
16719 logb, and logbl multiarch implementations for PowerPC32.
16720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
16721 file.
16722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
16723 file.
16724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
16725 multiarch logb for PowerPC32.
16726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
16727 file.
16728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
16729 file.
16730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
16731 multiarch logbf for PowerPC32.
16732 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
16733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
16734 file.
16735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
16736 multiarch logbl implementation for PowerPC32.
16737
5212ffce
AZ
16738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
16739 and modff multiarch implementations.
16740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
16741 New file.
16742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
16743 New file.
16744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
16745 multiarch modf for PowerPC32.
16746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
16747 New file.
16748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
16749 New file.
16750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
16751 multiarch modff for PowerPC32.
16752
79dccf31
AZ
16753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
16754 and lrintf multiarch implementations.
16755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
16756 New file.
16757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
16758 New file.
16759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
16760 multiarch lrint for PowerPC32.
16761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
16762 file: multiarch lrintf for PowerPC32.
16763
deb66480
AZ
16764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
16765 and lroundf multiarch implementations.
16766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
16767 New file.
16768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
16769 New file.
16770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
16771 New file.
16772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
16773 multiarch lround for PowerPC32.
16774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
16775 file: multiarch lroundf for PowerPC32.
16776
264b036b
AZ
16777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16778 copysign and copysignf multiarch implementations.
16779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
16780 New file.
16781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
16782 New file.
16783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
16784 file: multiarch copysign for PowerPC32.
16785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
16786 file: multiarch copysignf for PowerPC32.
16787
d47db6c9
AZ
16788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
16789 and truncf multiarch implementations.
16790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
16791 New file.
16792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
16793 file.
16794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
16795 multiarch trunc for PowerPC32.
16796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
16797 New file.
16798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
16799 New file.
16800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
16801 multiarch truncf for PowerPC32.
16802
ddb60b5a
AZ
16803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
16804 and roundf multiarch implementations.
16805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
16806 New file.
16807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
16808 file.
16809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
16810 multiarch round for PowerPC32.
16811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
16812 New file.
16813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
16814 New file.
16815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
16816 multiarch roundf for PowerPC32.
16817
bedcf49b
AZ
16818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
16819 and floorf multiarch implementations.
16820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
16821 New file.
16822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
16823 file.
16824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
16825 multiarch floor for PowerPC32.
16826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
16827 New file.
16828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
16829 New file.
16830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
16831 multiarch floorf for PowerPC32.
16832
35ae5b40
AZ
16833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
16834 and ceilf multiarch implementations.
16835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
16836 New file.
16837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
16838 file.
16839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
16840 multiarch ceil for PowerPC32.
16841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
16842 New file.
16843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
16844 file.
16845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
16846 multiarch ceilf for PowerPC32.
16847
ae1a4cd9
AZ
16848 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
16849 is defined.
16850 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
16851 FINITEF is defined.
16852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
16853 and finitef multiarch implementations.
16854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
16855 New file.
16856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
16857 file.
16858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
16859 multiarch finite for PowerPC32.
16860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
16861 New file.
16862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
16863 file: multiarch finitef for PowerPC32.
16864
64fffd65
AZ
16865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
16866 and isinff multiarch implementations.
16867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
16868 file.
16869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
16870 file.
16871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
16872 multiarch isinf for PowerPC32.
16873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
16874 New file.
16875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
16876 multiarch isinff for PowerPC32.
16877
8e4e7ba2
AZ
16878 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
16879 alias when __isnan is defined.
16880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
16881 and isnanf multiarch implementations.
16882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
16883 file.
16884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
16885 file.
16886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
16887 file.
16888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
16889 file.
16890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
16891 multiarch isnan for PowerPC32.
16892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
16893 New file.
16894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
16895 New file.
16896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
16897 multiarch isnanf for PowerPC32.
16898
ddba588e
AZ
16899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
16900 and sqrtf multiarch implementations.
16901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
16902 file.
16903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
16904 file.
16905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
16906 multiarch sqrt for PowerPC32.
16907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
16908 file.
16909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
16910 file.
16911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
16912 multiarch sqrtf for PowerPC32.
16913
0f96a2f0
AZ
16914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
16915 and llroundf multiarch implementations.
16916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
16917 New file.
16918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
16919 New file.
16920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
16921 New file.
16922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
16923 file: multiarch llround for PowerPC32.
16924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
16925 file: multiarch llroundf for PowerPC32.
16926
c9b5d79e
AZ
16927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
16928 multiarch PowerPC32 fpu implementations.
16929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
16930 New file.
16931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
16932 New file.
16933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
16934 multiarch llrint for PowerPC32.
16935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
16936 New file.
16937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
16938 New file.
16939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
16940 file.
16941
9cbb3aab
AZ
16942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
16943
ea5a72f8
AZ
16944 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
16945 file.
16946 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
16947 file.
16948 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
16949 file.
16950 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
16951 multiarch wordcopy for PPC32.
16952 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16953 wordcopy objects.
16954 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16955 (__libc_ifunc_impl_list): Likewise.
16956 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
16957 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
16958 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
16959 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
16960 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
16961 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
16962
93be09e7
AZ
16963 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
16964 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
16965 file.
16966 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
16967 file.
16968 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
16969 file.
16970 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
16971 multiarch wcscpy for PPC32.
16972 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16973 multiarch objects.
16974 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16975 (__libc_ifunc_impl_list): Likewise.
16976 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16977 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16978 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
16979 sysdeps/powerpc/power6/wcscpy.c.
16980
bb04e529
AZ
16981 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16982 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16983 file.
16984 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16985 file.
16986 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16987 file.
16988 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16989 multiarch wcsrchr for PPC32.
16990 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16991 multiarch objects.
16992 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16993 (__libc_ifunc_impl_list): Likewise.
16994 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16995 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16996 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16997 sysdeps/powerpc/power6/wcsrchr.c.
16998
05b5cd1c
AZ
16999 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
17000 file.
17001 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
17002 file.
17003 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
17004 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
17005 multiarch wcschr for PPc32.
17006 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17007 multiarch objects.
17008 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17009 (__libc_ifunc_impl_list): Likewise.
17010 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
17011 * sysdeps/powerpc/power6/wcschr.c: ... to here.
17012 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
17013 sysdeps/powerpc/power6/wcschr.c.
17014
ba964147
AZ
17015 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
17016 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
17017 file.
17018 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
17019 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
17020 file: multiarch strchr for PPC32.
17021 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
17022 multiarch objects.
17023 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17024 (__libc_ifunc_impl_list): Likewise.
17025
31c81aaa
AZ
17026 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17027 name.
17028 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
17029 file.
17030 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
17031 file.
17032 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
17033 multiarch strchrnul for PPC32.
17034 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
17035 multiarch objects.
17036 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17037 (__libc_ifunc_impl_list): Likewise.
17038
0d0607d9
AZ
17039 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
17040 file.
17041 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
17042 multiarch strncasecmp for PPC32.
17043 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
17044 file.
17045 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17046 multiarch strncasecmp_l for PPC32.
17047 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17048 strncasecmp multiarch objects.
17049 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17050 (__libc_ifunc_impl_list): Likewise.
17051
4dfd5c86
AZ
17052 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
17053 file.
17054 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
17055 multiarch strncasecmp for PPC32.
17056 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17057 New file.
17058 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
17059 multiarch strcasecmp_l for PPC32.
17060 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
17061 multiarch objects.
17062 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17063 (__libc_ifunc_impl_list): Likewise.
17064
a19e01a3
AZ
17065 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
17066 file.
17067 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
17068 file.
17069 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
17070 multiarch strncmp for PPC32.
17071 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
17072 multiarch objects.
17073 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17074 (__libc_ifunc_impl_list): Likewise.
17075
ae9cf7a2
AZ
17076 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17077 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
17078 file.
17079 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
17080 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
17081 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
17082 multiarch objects.
17083 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17084 (__libc_ifunc_impl_list): Likewise.
17085
3148bb7d
AZ
17086 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17087 file.
17088 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17089 file.
17090 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17091 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17092 multiarch objects.
17093 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17094 (__libc_ifunc_impl_list): Likewise.
17095
7af8b946
AZ
17096 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17097 file.
17098 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17099 file.
17100 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17101 multiarch rawmemchr for PPC32.
17102 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17103 multiarch objects.
17104 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17105 (__libc_ifunc_impl_list): Likewise.
17106
03a6aa6a
AZ
17107 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17108 file.
17109 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17110 file.
17111 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17112 file: memrchr multiarch for PPC32.
17113 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17114 multiarch objects.
17115 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17116 (__libc_ifunc_impl_list): Likewise.
17117
1c62e6d9
AZ
17118 * string/memchr.c (__memchr): Using macro to redefine symbol name.
17119 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17120 file.
17121 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17122 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17123 multiarch memchr for PPC32.
17124 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17125 multiarch objects.
17126 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17127 (__libc_ifunc_impl_list): Likewise.
17128
87da8bdb
AZ
17129 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17130 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17131 file.
17132 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17133 file.
17134 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17135 file: multiarch mempcpy for PPC32.
17136 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17137 multiarch objects.
17138 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17139 (__libc_ifunc_impl_list): Likewise.
17140
20ed4714
AZ
17141 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17142 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17143 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17144 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17145 multiarch bzero for PPC32.
17146 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17147 file.
17148 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17149 file.
17150 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17151 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17152 file: multiarch memset for PPC32.
17153 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
17154 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
17155 memset multiarch objects.
17156 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17157 (__libc_ifunc_impl_list): Likewise.
17158
ab3e3a46
AZ
17159 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
17160 file.
17161 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
17162 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
17163 memcmp for PPC32.
17164 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
17165 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
17166 multiarch objects.
17167 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17168 (__libc_ifunc_impl_list): Likewise.
17169
930de6f0
AZ
17170 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
17171 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
17172 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
17173 file.
17174 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
17175 file.
17176 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
17177 file.
17178 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
17179 multiarch memcpy for PPC32.
17180 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
17181 multiarch objects.
17182 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17183 (__libc_ifunc_impl_list): Likewise.
17184
4c628e00
AZ
17185 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
17186 support multiarch for POWER/PPC32.
17187 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
17188 Likewise.
17189 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
17191 Implies file to make multiarch folder appers before the fpu and
17192 default folder for power4 configuration.
17193
f4479220
SP
171942013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17195
17196 * scripts/bench.pl: Append volatile keyword to type.
17197
8517800f
KK
171982013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17199
17200 * sysdeps/sh/sotruss-lib.c: New file.
17201 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
17202
180138f1
AZ
172032013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17204
17205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17206
bbf37bdc
JM
172072013-12-05 Joseph Myers <joseph@codesourcery.com>
17208
e47cc4e0
JM
17209 [BZ #6810]
17210 * math/w_tgamma.c: Include <errno.h>.
17211 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
17212 * math/w_tgammaf.c: Include <errno.h>.
17213 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
17214 * math/w_tgammal.c: Include <errno.h>.
17215 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
17216 * math/auto-libm-test-in: Do not allow missing errno on tgamma
17217 underflow. Add more tgamma tests.
17218 * math/auto-libm-test-out: Regenerated.
17219 * sysdeps/i386/fpu/libm-test-ulps: Update.
17220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17221
bbf37bdc
JM
17222 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
17223 sin, sinh, tan, tanh, tgamma, y0 and y1.
17224 * math/auto-libm-test-out: Regenerated.
17225 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17226 (TEST_COND_x86): Likewise.
17227 (M_E2l): Remove macro.
17228 (M_E3l): Likewise.
17229 (M_2_SQRT_PIl): Likewise.
17230 (M_SQRT_PIl): Likewise.
17231 (M_1_DIV_El): Likewise.
17232 (log_test_data): Use AUTO_TESTS_f_f.
17233 (log10_test_data): Likewise.
17234 (log1p_test_data): Likewise.
17235 (log2_test_data): Likewise.
17236 (sin_test_data): Likewise.
17237 (sin_tonearest_test_data): Likewise.
17238 (sin_towardzero_test_data): Likewise.
17239 (sin_downward_test_data): Likewise.
17240 (sin_upward_test_data): Likewise.
17241 (sinh_test_data): Likewise.
17242 (sinh_tonearest_test_data): Likewise.
17243 (sinh_towardzero_test_data): Likewise.
17244 (sinh_downward_test_data): Likewise.
17245 (sinh_upward_test_data): Likewise.
17246 (tan_test_data): Likewise.
17247 (tan_tonearest_test_data): Likewise.
17248 (tan_towardzero_test_data): Likewise.
17249 (tan_downward_test_data): Likewise.
17250 (tan_upward_test_data): Likewise.
17251 (tanh_test_data): Likewise.
17252 (tgamma_test_data): Likewise.
17253 (y0_test_data): Likewise.
17254 (y1_test_data): Likewise.
17255 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
17256 (special_real_inputs): Add pi/4.
17257 * sysdeps/i386/fpu/libm-test-ulps: Update.
17258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17259
eb5ad6b9
AZ
172602013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17261
17262 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
17263 "longjmp_target" static probes.
17264 (__longjmp): Rename to __longjmp_symbol.
17265 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17266 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
17267 on which longjmp to generate.
17268 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17269 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
17270 probe.
17271 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17272 (__sigjmp_save): Rename to __sigjmp_save_symbol.
17273 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17274 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
17275 and __sigjmp_save_symbol based on which sigsetjmp to generated.
17276 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
17277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
17278 __longjmp_symbol based on which __longjmp to generate.
17279 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
17280 probe.
17281 (setjmp): Rename to setjmp_symbol.
17282 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17283 (_setjmp): Rename to _setjmp_symbol.
17284 (__sigsetjmp): Rename to __sigsetjmp_symbol.
17285 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
17286 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
17287 which setjmp to generate.
17288 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
17289 "longjmp_target" static probes.
17290
d136c6dc
SP
172912013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17292
9298ecba
SP
17293 * benchtests/README: Add note about output arguments.
17294 * benchtests/bench-sincos.c: Remove file.
17295 * benchtests/sincos-inputs: New file.
17296 * scripts/bench.pl: Identify output arguments and define
17297 static variables for them.
17298
232983e9
SP
17299 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
17300
d136c6dc
SP
17301 [BZ #15941]
17302 * Makefile (INSTALL): Add install-plain.texi as the primary
17303 dependency.
17304 * manual/install-plain.texi: New file.
17305 * manual/install.texi: Include node directive only for
17306 non-plaintext output.
17307
699ff837
JM
173082013-12-04 Joseph Myers <joseph@codesourcery.com>
17309
ab07cea8
JM
17310 * stdlib/longlong.h: Update from GCC.
17311
699ff837
JM
17312 [BZ #6807]
17313 [BZ #15901]
17314 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
17315 * math/w_j0f.c (y0f): Likewise.
17316 * math/w_j0l.c (__y0l): Likewise.
17317 * math/w_j1.c (y1): Likewise.
17318 * math/w_j1f.c (y1f): Likewise.
17319 * math/w_j1l.c (__y1l): Likewise
17320 * math/w_jn.c (yn): Likewise.
17321 * math/w_jnf.c (ynf): Likewise.
17322 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
17323 Bessel function pole errors in _POSIX_ mode. Use NAN as return
17324 value for Bessel function domain errors outside _SVID_ mode.
17325 Adjust sign of return value for yn (negative integer, 0).
17326 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
17327 by zero in return for negative x and set sign appropriately for
17328 negative n.
17329 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
17330 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17331 * math/libm-test.inc (y0_test_data): Add more tests and adjust
17332 expectations in error cases.
17333 (y1_test_data): Likewise.
17334 (yn_test_data): Likewise.
17335 * sysdeps/i386/fpu/libm-test-ulps: Update.
17336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17337
5b118558
UW
173382013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17339
17340 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
17341 "64" to "64-v1". Add "64-v2".
17342 (abi-64-options): Rename to ...
17343 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
17344 (abi-64-condition): Rename to ...
17345 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
17346 (abi-64-ld-soname): Rename to ...
17347 (abi-64-v1-ld-soname): ... this.
17348 (abi-64-v2-options): Define.
17349 (abi-64-v2-condition): Likewise.
17350 (abi-64-v2-ld-soname): Likewise.
17351 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
17352 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
17353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
17354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
17355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
17356
61cd8fe4
UW
173572013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17358 Alan Modra <amodra@gmail.com>
17359
17360 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
17361 New versions for use with the ELFv2 ABI.
17362 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
17363 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
17364 declaration.
17365 (struct La_ppc64v2_retval): Likewise.
17366 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
17367 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
17368 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
17369 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
17370 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
17371 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17372 Do not save or restore CR.
17373 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
17374 (_dl_profile_resolve): Do no save or restore CR. Support extended
17375 return values for ELFv2 ABI. Fix location of FPR return registers.
17376 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
17377 updated values for _CALL_ELF == 2.
17378 (La_regs, La_retval, int_retval): Likewise.
17379
8b8a692c
UW
173802013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17381
17382 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
17383 (FRAME_MIN_SIZE_PARM): Likewise.
17384 (FRAME_BACKCHAIN): Likewise.
17385 (FRAME_CR_SAVE): Likewise.
17386 (FRAME_LR_SAVE): Likewise.
17387 (FRAME_TOC_SAVE): Likewise.
17388 (FRAME_PARM_SAVE): Likewise.
17389 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
17390 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
17391 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17392 (call_mcount_parm_offset): New macro.
17393 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
17394 (PROF): Use symbolic stack frame offsets.
17395 (TAIL_CALL_SYSCALL_ERROR): Likewise.
17396 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
17397 Redefine in terms of FRAME_MIN_SIZE.
17398 (_dl_runtime_resolve): Use symbolic stack frame offsets.
17399 (_dl_profile_resolve): Likewise. Update comment.
17400 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
17401 symbols stack frame offsets.
17402 (__sigsetjmp): Likewise.
17403 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
17404 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
17405 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
17406 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
17407
17408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
17409 (FRAME_BACKCHAIN): Remove.
17410 (FRAME_CR_SAVE): Likewise.
17411 (FRAME_LR_SAVE): Likewise.
17412 (FRAME_COMPILER_DW): Likewise.
17413 (FRAME_LINKER_DW): Likewise.
17414 (FRAME_TOC_SAVE): Likewise.
17415 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
17416 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
17417 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
17418 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
17419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
17420 (CHECK_SP): Use symbolic stack frame offsets.
17421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
17422 zone" instead of caller's parameter save area for temp storage.
17423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17424 Likewise. Also, use symbolic stack frame offsets.
17425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
17426 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
17427 our own stack frame instead of the caller's.
17428 (__socket): Use symbolic stack frame offsets.
17429
122b66de
UW
174302013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17431 Alan Modra <amodra@gmail.com>
17432
17433 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
17434 Define.
57f41c40
AS
17435 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
17436 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
17437 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
17438 New function.
17439 (elf_machine_fixup_plt): Call it.
17440 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
17441 reloc arguments.
17442 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
17443 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17444 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
17445 r2 before calling target.
17446
696caf1d
UW
174472013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17448 Alan Modra <amodra@gmail.com>
17449
17450 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
17451 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
17452 versions of macros to support ELFv2 ABI.
17453 (LOCALENTRY): New macro.
17454 (ENTRY, EALIGN): Use it.
17455 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
17456 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
17457 fall through into ENTRY entry point.
17458 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
17459 Only define if _CALL_ELF != 2.
17460
17461 (elf_machine_matches_host): Verify ABI version matches.
17462 (RTLD_START): Use LOCALENTRY.
17463 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
17464 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
17465 (PLT_ENTRY_WORDS): New macro.
17466 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
17467 (elf_machine_runtime_setup): Support ELFv2 ABI.
17468 (elf_machine_fixup_plt): Likewise.
17469 (elf_machine_plt_conflict): Likewise.
17470 (resolve_ifunc): Likewise.
17471 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17472 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17473 Likewise.
17474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
17475 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
17476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17477 (makecontext): Support ELFv2 ABI.
17478 * elf/elf.h (EF_PPC64_ABI): Define.
17479
d31beafa
UW
174802013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17481
57f41c40
AS
17482 * sysdeps/powerpc/powerpc64/sysdep.h
17483 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
17484 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
17485 (ENTRY) [ASSEMBLER]: ... but instead here ...
17486 (EALIGN) [ASSEMBLER]: ... and here.
17487 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
17488 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
17489 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
17490 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
17491 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
17492 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17493 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
17494 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
17495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
17496 Use PPC64_LOAD_FUNCPTR.
17497
b525166b
UW
17498 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
17499
7ec07d9a
AM
175002013-12-04 Alan Modra <amodra@gmail.com>
17501
17502 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
17503 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
17504 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
17505 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
17506
17507 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
17508 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
17509 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
17510 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
17511 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
17512 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
17513
5162e7dd
UW
175142013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17515
17516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17517 (__makecontext): Fix incorrect CFI when backtracing out of
17518 context created via makecontext.
17519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
17520 (__setcontext): Fix incorrect CFI during switch to new context.
17521 (__novec_setcontext): Likewise.
17522
19e3372b
OB
175232013-12-04 Ondřej Bílka <neleai@seznam.cz>
17524
17525 [BZ #4772]
17526 * time/strptime_l.c (__strptime_internal): Allow modifiers
17527 in strptime.
17528 * time/tst-strptime.c (day_tests): Add testcase.
17529
ecaf142d
SP
175302013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17531
17532 * scripts/bench.pl: Skip over blank lines.
17533
fbf964ae
PE
175342013-12-04 Paul Eggert <eggert@cs.ucla.edu>
17535
17536 [BZ #926]
17537 * manual/time.texi (Calendar Time): Clarify what timezone functions
17538 use.
17539
fa60a674
AZ
175402013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17541
17542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17543
d674f0ef
OB
175442013-12-04 Ondřej Bílka <neleai@seznam.cz>
17545
17546 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
17547 implementation.
17548 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17549 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17550 * debug/memset_chk.c (__memset_chk): Likewise.
17551 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
17552 * debug/strncpy_chk.c: Likewise.
17553
17dea188
JM
175542013-12-03 Joseph Myers <joseph@codesourcery.com>
17555
749008ff
JM
17556 [BZ #15268]
17557 [BZ #15425]
17558 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
17559 (__ieee754_exp): For possibly underflowing results, check size of
17560 result and force underflow exception if required.
17561 * math/auto-libm-test-in: Add more tests of exp.
17562 * math/auto-libm-test-out: Regenerated.
17563 * sysdeps/i386/fpu/libm-test-ulps: Update.
17564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17565
17dea188
JM
17566 [BZ #16283]
17567 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
17568 * math/w_exp2f.c (__exp2f): Likewise.
17569 * math/w_exp2l.c (__exp2l): Likewise.
17570 * math/auto-libm-test-in: Do not allow missing errno on exp2
17571 underflow.
17572 * math/auto-libm-test-out: Regenerated.
17573
b20de2c3
OB
175742013-12-03 Ondřej Bílka <neleai@seznam.cz>
17575
17576 [BZ #16274]
17577 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
17578 handle filename validation.
17579 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
17580 (do_open): Delete.
17581
d8e2dbe3
JM
175822013-12-03 Joseph Myers <joseph@codesourcery.com>
17583
34e16df5
JM
17584 [BZ #6786]
17585 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
17586 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
17587 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
17588 <float.h>.
17589 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
17590 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
17591 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17592 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
17593 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17594 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
17595 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17596 * math/auto-libm-test-in: Don't allow missing errno from erfc.
17597 Add more erfc tests.
17598 * math/auto-libm-test-out: Regenerated.
17599 * sysdeps/i386/fpu/libm-test-ulps: Update.
17600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17601
d8e2dbe3
JM
17602 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
17603 exp2, expm1, j0 and j1.
17604 * math/auto-libm-test-out: Regenerated.
17605 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
17606 (erfc_test_data): Likewise.
17607 (exp_test_data): Likewise.
17608 (exp_tonearest_test_data): Likewise.
17609 (exp_towardzero_test_data): Likewise.
17610 (exp_downward_test_data): Likewise.
17611 (exp_upward_test_data): Likewise.
17612 (exp10_test_data): Likewise.
17613 (exp2_test_data): Likewise.
17614 (expm1_test_data): Likewise.
17615 (j0_test_data): Likewise.
17616 (j1_test_data): Likewise.
17617 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
17618 (input_flag_type): Add flag_xfail_rounding.
17619 (input_flags): Add xfail-rounding.
17620 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
17621 (output_for_one_input_case): Handle flag_xfail_rounding.
17622 * sysdeps/i386/fpu/libm-test-ulps: Update.
17623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17624
18d14251
AJ
176252013-12-03 Aurelien Jarno <aurelien@aurel32.net>
17626
3d2e6075 17627 [BZ #16289]
18d14251
AJ
17628 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
17629 division by 0.
17630
520d437b
SP
176312013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17632
17633 [BZ #16195]
17634 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
17635 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
17636 (STAP_PROBE0): New macro.
17637 (STAP_PROBE1): Likewise.
17638 (STAP_PROBE2): Likewise.
17639 (STAP_PROBE3): Likewise.
17640 (STAP_PROBE4): Likewise.
17641
416e0145
OB
176422013-12-02 Ondřej Bílka <neleai@seznam.cz>
17643
17644 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
17645
9d17796a
SE
176462013-12-02 Steve Ellcey <sellcey@mips.com>
17647
17648 * benchtests/Makefile (bench): Add sqrt.
17649 (LDLIBS-bench-sqrt): New.
17650 * benchtests/sqrt-input: New.
17651
f524d6a8
PS
176522013-12-02 Pavel Simerda <psimerda@redhat.com>
17653
639a0ef8
PS
17654 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
17655 (GAIH_EAI): Likewise.
17656 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
17657 (gaih_inet): Likewise.
17658 (getaddrinfo): Don't use GAIH_EAI.
17659
f524d6a8
PS
17660 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
17661 (struct gaih): Remove definition.
17662
df3aedaf
SP
176632013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17664
17665 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
17666 Use HERRNOP directly.
17667
1ab19dec
AZ
176682013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17669
b42ad38d 17670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 17671
176b0c79
JM
176722013-11-30 Joseph Myers <joseph@codesourcery.com>
17673
17674 * math/gen-auto-libm-tests.c (test_functions): Add more
17675 single-argument functions.
17676 (special_fill_pi_2): New function.
17677 (special_fill_minus_pi_2): Likewise.
17678 (special_fill_pi_6): Likewise.
17679 (special_fill_minus_pi_6): Likewise.
17680 (special_fill_pi_3): Likewise.
17681 (special_fill_2pi_3): Likewise.
17682 (special_fill_e): Likewise.
17683 (special_fill_1_e): Likewise.
17684 (special_fill_e_minus_1): Likewise.
17685 (special_real_inputs): Add more special inputs.
17686 (output_for_one_input_case): Do not require ERANGE on underflow to
17687 zero if round-to-nearest result does not underflow to zero, unless
17688 exact results required.
17689 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
17690 atan, atanh, cbrt, cos and cosh.
17691 * math/auto-libm-test-out: Regenerated.
17692 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
17693 (acos_tonearest_test_data): Likewise.
17694 (acos_towardzero_test_data): Likewise.
17695 (acos_downward_test_data): Likewise.
17696 (acos_upward_test_data): Likewise.
17697 (acosh_test_data): Likewise.
17698 (asin_test_data): Likewise.
17699 (asin_tonearest_test_data): Likewise.
17700 (asin_towardzero_test_data): Likewise.
17701 (asin_upward_test_data): Likewise.
17702 (asinh_test_data): Likewise.
17703 (atan_test_data): Likewise.
17704 (atanh_test_data): Likewise.
17705 (cbrt_test_data): Likewise.
17706 (cos_test_data): Likewise.
17707 (cos_tonearest_test_data): Likewise.
17708 (cos_towardzero_test_data): Likewise.
17709 (cos_downward_test_data): Likewise.
17710 (cos_upward_test_data): Likewise.
17711 (cosh_test_data): Likewise.
17712 (cosh_tonearest_test_data): Likewise.
17713 (cosh_towardzero_test_data): Likewise.
17714 (cosh_downward_test_data): Likewise.
17715 (cosh_upward_test_data): Likewise.
17716 * sysdeps/i386/fpu/libm-test-ulps: Update.
17717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17718
ffb536d0
JM
177192013-11-29 Joseph Myers <joseph@codesourcery.com>
17720
2a77a467
JM
17721 [BZ #6787]
17722 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
17723 * math/w_exp10f.c (__exp10f): Likewise.
17724 * math/w_exp10l.c (__exp10l): Likewise.
17725 * math/libm-test.inc (exp10_test_data): Add more tests and expect
17726 errno settings in existing tests.
17727
ea3bc4e8
JM
17728 [BZ #14032]
17729 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
17730 precision control set to double precision.
17731 * sysdeps/i386/fpu/w_sqrt.c: New file.
17732 * math/auto-libm-test-in: Add more tests.
17733 * math/auto-libm-test-out: Update.
17734
0712c9d8
JM
17735 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
17736 (sqrt_test_tonearest): New function.
17737 (sqrt_towardzero_test_data): New variable.
17738 (sqrt_test_towardzero): New function.
17739 (sqrt_downward_test_data): New variable.
17740 (sqrt_test_downward): New function.
17741 (sqrt_upward_test_data): New variable.
17742 (sqrt_test_upward): New function.
17743 (main): Call the new functions.
17744
ffb536d0
JM
17745 * math/gen-auto-libm-tests.c: New file.
17746 * math/auto-libm-test-in: Likewise.
17747 * math/auto-libm-test-out: New generated file.
17748 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
17749 variables.
17750 (%beautify): Add generated representations of zero.
17751 (top level): Set $auto_input and call parse_auto_input.
17752 (beautify): Remove trailing "f" from hex float constants.
17753 (parse_args): Handle XFAIL_TEST.
17754 (convert_condition): New function.
17755 (or_value): Likewise.
17756 (or_cond_value): Likewise.
17757 (generate_testfile): Handle AUTO_TESTS_* lines.
17758 (parse_auto_input): New function.
17759 * math/libm-test.inc (XFAIL_TEST): New macro.
17760 (ERRNO_UNCHANGED): Update value.
17761 (ERRNO_EDOM): Likewise.
17762 (ERRNO_ERANGE): Likewise.
17763 (IGNORE_RESULT): Likewise.
17764 (TEST_COND_flt_32): New macro.
17765 (TEST_COND_dbl_64): Likewise.
17766 (TEST_COND_ldbl_96_intel): Likewise.
17767 (TEST_COND_ldbl_96_m68k): Likewise.
17768 (TEST_COND_ldbl_128): Likewise.
17769 (TEST_COND_ldbl_128ibm): Likewise.
17770 (TEST_COND_long32): Likewise.
17771 (TEST_COND_long64): Likewise.
17772 (TEST_COND_before_rounding): Likewise.
17773 (TEST_COND_after_rounding): Likewise.
17774 (enable_test): Handle XFAIL_TEST flag.
17775 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
17776 with finite results.
17777 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
17778 auto-libm-test-out.
17779
acd98a8e
AK
177802013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17781 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17782
17783 [BZ #16214]
17784 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
17785 __tls_get_addr_internal instead of __tls_get_offset in order to
17786 avoid GOT pointer dependency. Make rtld export
17787 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
17788 __tls_get_addr since we are a __tls_get_offset platform.
17789 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
17790 GOT pointer being set up before.
17791 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
17792
3c1c46a6
JM
177932013-11-28 Joseph Myers <joseph@codesourcery.com>
17794
7475aef5
JM
17795 * manual/math.texi (Errors in Math Functions): Document accuracy
17796 goals.
17797
8bca7cd8
JM
17798 [BZ #15004]
17799 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
17800 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
17801 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17802 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17803 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17804 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17805 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17806 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17807 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17808 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17809 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17810 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17811 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17812 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17813 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17814 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17815
91a1f3fe
JM
17816 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
17817 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
17818 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
17819 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
17820 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
17821 Likewise.
17822 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
17823 Likewise.
17824 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
17825 Likewise.
17826 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
17827 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17828 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
17829 atomic-feupdateenv and flt-rounds.
17830 * sysdeps/powerpc/nofpu/Versions (libc): Add
17831 __atomic_feholdexcept, __atomic_feclearexcept,
17832 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
17833 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
17834 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
17835 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
17836 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
17837 here.
17838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17839 Update.
17840
c5df7609
JM
17841 * manual/arith.texi (FP Exceptions): Document that exceptions may
17842 not be raised when matherr is used.
17843 (Math Error Reporting): Document overflow in directed rounding
17844 modes. Document that errno may not be set when finite values are
17845 returned on overflow. Document intent to set errno on underflow
17846 only for underflow to zero.
17847
3c1c46a6
JM
17848 [BZ #16271]
17849 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
17850 round-to-nearest then adjust result for other rounding modes.
17851 * include/fenv.h (fegetround): Use libm_hidden_proto.
17852 * math/fegetround.c (fegetround): Use libm_hidden_def.
17853 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17854 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17855 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17856 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17857 Likewise.
17858 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
17859 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17860 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17861 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
17862
5a4c6d53
SP
178632013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17864
17865 [BZ #16077]
17866 * nss/Versions (libnss_files): Add
17867 _nss_files_gethostbyname3_r.
17868 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
17869 New function.
17870 (HOST_DB_LOOKUP): Remove macro.
17871 (_nss_files_gethostbyname_r): Implement function without the
17872 HOST_DB_LOOKUP macro.
17873 (_nss_files_gethostbyname2_r): Likewise.
17874
897b98ba
OB
178752013-11-28 Ondřej Bílka <neleai@seznam.cz>
17876
17877 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
17878
6f476861
UB
178792013-11-26 Uros Bizjak <ubizjak@gmail.com>
17880
17881 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
17882 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
17883 warning.
17884
bd12ab55
AZ
178852013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17886
17887 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
17888 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
17889 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17890 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17891 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
17892 __fe_nomask_env_priv and attribute_hidden.
17893 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
17894 (libc_feupdateenv_test_ppc): Likewise.
17895 (libc_feresetround_ppc): Likewise.
17896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17897 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
17898 compat_symbol macro.
17899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17900 (__fe_nomask_env): Likewise.
17901 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
17902
52bb6543
OB
179032013-11-26 Ondřej Bílka <neleai@seznam.cz>
17904
17905 * string/Makefile: Remove ifunc tests.
17906 * string/test-string.h: Define TEST_IFUNC.
17907 * string/test-bcopy-ifunc.c: Remove.
17908 * string/test-bzero-ifunc.c: Likewise.
17909 * string/test-memccpy-ifunc.c: Likewise.
17910 * string/test-memchr-ifunc.c: Likewise.
17911 * string/test-memcmp-ifunc.c: Likewise.
17912 * string/test-memcpy-ifunc.c: Likewise.
17913 * string/test-memmem-ifunc.c: Likewise.
17914 * string/test-memmove-ifunc.c: Likewise.
17915 * string/test-mempcpy-ifunc.c: Likewise.
17916 * string/test-memrchr-ifunc.c: Likewise.
17917 * string/test-memset-ifunc.c: Likewise.
17918 * string/test-rawmemchr-ifunc.c: Likewise.
17919 * string/test-stpcpy-ifunc.c: Likewise.
17920 * string/test-stpncpy-ifunc.c: Likewise.
17921 * string/test-strcasecmp-ifunc.c: Likewise.
17922 * string/test-strcasestr-ifunc.c: Likewise.
17923 * string/test-strcat-ifunc.c: Likewise.
17924 * string/test-strchr-ifunc.c: Likewise.
17925 * string/test-strchrnul-ifunc.c: Likewise.
17926 * string/test-strcmp-ifunc.c: Likewise.
17927 * string/test-strcpy-ifunc.c: Likewise.
17928 * string/test-strcspn-ifunc.c: Likewise.
17929 * string/test-strlen-ifunc.c: Likewise.
17930 * string/test-strncasecmp-ifunc.c: Likewise.
17931 * string/test-strncat-ifunc.c: Likewise.
17932 * string/test-strncmp-ifunc.c: Likewise.
17933 * string/test-strncpy-ifunc.c: Likewise.
17934 * string/test-strnlen-ifunc.c: Likewise.
17935 * string/test-strpbrk-ifunc.c: Likewise.
17936 * string/test-strrchr-ifunc.c: Likewise.
17937 * string/test-strspn-ifunc.c: Likewise.
17938 * string/test-strstr-ifunc.c: Likewise.
17939
ab260039 179402013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
17941
17942 * benchtests/Makefile: Remove ifunc tests.
17943 * benchtests/bench-string.h: Define TEST_IFUNC.
17944 * benchtests/bench-bcopy-ifunc.c: Remove.
17945 * benchtests/bench-bzero-ifunc.c: Likewise.
17946 * benchtests/bench-memccpy-ifunc.c: Likewise.
17947 * benchtests/bench-memchr-ifunc.c: Likewise.
17948 * benchtests/bench-memcmp-ifunc.c: Likewise.
17949 * benchtests/bench-memcpy-ifunc.c: Likewise.
17950 * benchtests/bench-memmem-ifunc.c: Likewise.
17951 * benchtests/bench-memmove-ifunc.c: Likewise.
17952 * benchtests/bench-mempcpy-ifunc.c: Likewise.
17953 * benchtests/bench-memrchr-ifunc.c: Likewise.
17954 * benchtests/bench-memset-ifunc.c: Likewise.
17955 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
17956 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
17957 * benchtests/bench-stpcpy-ifunc.c: Likewise.
17958 * benchtests/bench-stpncpy-ifunc.c: Likewise.
17959 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
17960 * benchtests/bench-strcasestr-ifunc.c: Likewise.
17961 * benchtests/bench-strcat-ifunc.c: Likewise.
17962 * benchtests/bench-strchr-ifunc.c: Likewise.
17963 * benchtests/bench-strchrnul-ifunc.c: Likewise.
17964 * benchtests/bench-strcmp-ifunc.c: Likewise.
17965 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
17966 * benchtests/bench-strcpy-ifunc.c: Likewise.
17967 * benchtests/bench-strcspn-ifunc.c: Likewise.
17968 * benchtests/bench-strlen-ifunc.c: Likewise.
17969 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
17970 * benchtests/bench-strncat-ifunc.c: Likewise.
17971 * benchtests/bench-strncmp-ifunc.c: Likewise.
17972 * benchtests/bench-strncpy-ifunc.c: Likewise.
17973 * benchtests/bench-strnlen-ifunc.c: Likewise.
17974 * benchtests/bench-strpbrk-ifunc.c: Likewise.
17975 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 17976 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
17977 * benchtests/bench-strspn-ifunc.c: Likewise.
17978 * benchtests/bench-strstr-ifunc.c: Likewise.
17979
179802013-11-26 Ondřej Bílka <neleai@seznam.cz>
17981
ab260039
OB
17982 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17983
d1d9eaf4 179842013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 17985
d1d9eaf4
OB
17986 * resolv/netdb.h: Use __glibc_reserved instead __unused.
17987 * rt/aio.h: Likewise.
17988 * sysdeps/gnu/bits/utmp.h: Likewise.
17989 * sysdeps/gnu/bits/utmpx.h: Likewise.
17990 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17991 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17992 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17993 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17994 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17995 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17996 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17997 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17998 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17999 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
18000 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
18001 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18002 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
18003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
18004 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18005 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
18006 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
18007 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
18008 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
18009 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
18010 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
18011 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
18012 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
18013 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18014 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
18015 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18016 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
18017 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
18018 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
18019 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
18020 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
18021 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
18022 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
18023 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18024 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
18025 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
18026 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
18027 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
18028 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
18029 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
18030 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
18031 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18032
a7624ed9
CD
180332013-11-25 Carlos O'Donell <carlos@redhat.com>
18034
18035 [BZ #16245]
18036 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
18037 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
18038
63cfe52b
JM
180392013-11-25 Joseph Myers <joseph@codesourcery.com>
18040
18041 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
18042 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18043 Likewise.
18044
41e8926a
AZ
180452013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18046
18047 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18048 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18049 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18050 (__fesetround): Remove define.
18051 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
18052 rounding and exceptions handling.
18053 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
18054 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
18055 (__fe_nomask_env): Likewise.
18056 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
18057 __fegetround instead of fegetround.
18058 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18059 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18060
6851bd4d
RM
180612013-11-21 Roland McGrath <roland@hack.frob.com>
18062
070906ff
RM
18063 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
18064 it's there.
18065
6851bd4d
RM
18066 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
18067
84ae135d
MI
180682013-11-21 Meador Inge <meadori@codesourcery.com>
18069
18070 [BZ #11157]
18071 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
18072 (encrypt_r): Likewise.
18073 * malloc/obstack.h (obstack_free): Likewise.
18074 * posix/unistd.h (encrypt): Likewise.
18075
daf75146
GM
180762013-11-21 Guy Martin <gmsoft@tuxicoman.be>
18077
18078 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
18079 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
18080 DL_CALL_DT_FINI() that call the functions directly.
18081 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
18082 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
18083 * elf/dl-fini.c: Likewise.
18084
10ad46bc
OB
180852013-11-20 Ondřej Bílka <neleai@seznam.cz>
18086
18087 * malloc/hooks.c (memalign_check): Add alignment rounding.
18088 * malloc/malloc.c (_mid_memalign): New function.
18089 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18090 Implement by calling _mid_memalign.
18091 * manual/probes.texi (Memory Allocation Probes): Remove
18092 memory_valloc_retry and memory_pvalloc_retry.
18093
f3fd2628
SP
180942013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18095
4712799f
SP
18096 * locale/programs/locarchive.c (open_archive): Add const
18097 qualifier to ARCHIVEFNAME and copy default fname to
18098 DEFAULT_FNAME.
18099
0417b20f
SP
18100 [BZ #15601]
18101 * libio/tst-widetext.input: Rename Oriya to Odia.
18102 * locale/iso-639.def: Likewise.
18103
f3fd2628
SP
18104 * manual/probes.texi (Mathematical Function Probes): Add
18105 documentation for sin, cos, asin and acos probes.
18106 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18107 (__sin32): Add slowasin probe.
18108 (__cos32): Add slowacos probe.
18109 (__mpsin): Add slowsin probe.
18110 (__mpcos): Add slowcos probe.
18111
73c1ce4f
JM
181122013-11-19 Joseph Myers <joseph@codesourcery.com>
18113
18114 [BZ #15483]
18115 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18116 thread-local __sim_exceptions_thread and global
18117 __sim_exceptions_global.
18118 (__sim_disabled_exceptions): Change to thread-local
18119 __sim_disabled_exceptions_thread and global
18120 __sim_disabled_exceptions_global.
18121 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18122 and global __sim_round_mode_global.
18123 (__simulate_exceptions): Use thread-local floating-point state and
18124 set global state from it as needed.
18125 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18126 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18127 __sim_round_mode_thread.
18128 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18129 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18130 and global __sim_exceptions_global.
18131 (__sim_disabled_exceptions): Change to thread-local
18132 __sim_disabled_exceptions_thread and global
18133 __sim_disabled_exceptions_global.
18134 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18135 and global __sim_round_mode_global.
18136 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18137 (SIM_SET_GLOBAL): Likewise.
18138 * sysdeps/powerpc/soft-fp/sfp-machine.h
18139 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18140 __sim_round_mode_thread.
18141 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18142 __sim_disabled_exceptions_thread.
18143 (__sim_exceptions): Change to __sim_exceptions_thread.
18144 (__sim_disabled_exceptions): Change to
18145 __sim_disabled_exceptions_thread.
18146 (__sim_round_mode): Change to __sim_round_mode_thread.
18147 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18148 thread-local floating-point state and set global state from it as
18149 needed.
18150 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18151 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18152 (__sim_disabled_exceptions): Remove extern declaration.
18153 (feenableexcept): Use thread-local floating-point state and set
18154 global state from it as needed.
18155 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
18156 extern declaration.
18157 (__sim_disabled_exceptions): Likewise.
18158 (__sim_round_mode): Likewise.
18159 (__fegetenv): Use thread-local floating-point state.
18160 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
18161 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18162 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
18163 floating-point state and set global state from it as needed.
18164 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
18165 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18166 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
18167 Likewise.
18168 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18169 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
18170 Likewise.
18171 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
18172 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
18173 Use __sim_round_mode_thread.
18174 * math/test-fenv-tls.c: New file.
18175 * math/Makefile (tests): Add test-fenv-tls.
18176 ($(objpfx)test-fenv-tls): Depend on
18177 $(common-objpfx)nptl/libpthread.so.
18178
b5449b12
AS
181792013-11-19 Andreas Schwab <schwab@suse.de>
18180
18181 * locale/programs/locale.c (show_info): Decode wordarray elements.
18182 * locale/categories.def (LC_MONETARY): Add element for
18183 _NL_MONETARY_CRNCYSTR.
18184 * locale/C-monetary.c (conversion_rate): New variable.
18185 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
18186 element.
18187
e186536b
CM
181882013-11-18 Chris Metcalf <cmetcalf@tilera.com>
18189
18190 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
18191 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
18192
5c349950
PP
181932013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18194
18195 * elf/Makefile (tst-auxv): New test.
18196 * elf/tst-auxv.c: New
18197 * elf/rtld.c (dl_main): Adjust AT_EXECFN
18198
699df45b
JM
181992013-11-18 Joseph Myers <joseph@codesourcery.com>
18200
18201 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
18202 (hidden_proto): Caller changed.
18203 (hidden_tls_proto): New macro.
18204 (libc_hidden_tls_proto): Likewise.
18205 (rtld_hidden_tls_proto): Likewise.
18206 (libm_hidden_tls_proto): Likewise.
18207 (libresolv_hidden_tls_proto): Likewise.
18208 (librt_hidden_tls_proto): Likewise.
18209 (libdl_hidden_tls_proto): Likewise.
18210 (libnss_files_hidden_tls_proto): Likewise.
18211 (libnsl_hidden_tls_proto): Likewise.
18212 (libnss_nisplus_hidden_tls_proto): Likewise.
18213 (libutil_hidden_tls_proto): Likewise.
18214
b7589107
OB
182152013-11-18 Ondřej Bílka <neleai@seznam.cz>
18216
18217 [BZ #10253]
18218 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
18219 (decompose_rpath): Defer expansion to fillin_rpath.
18220 (_dl_init_paths): Pass linkmap to fillin_rpath.
18221
250c23bd
RS
182222013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18223
18224 * benchtests/Makefile: Add strsep.
18225 * benchtests/bench-strsep.c: New file: strsep benchtest.
18226 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
18227
a7931fcf
AS
182282013-11-18 Andreas Schwab <schwab@suse.de>
18229
18230 * locale/programs/locale.c (show_info) [case byte]: Check for
18231 '\377' instead of '\177'.
18232 * locale/C-monetary.c (not_available): Always use "\377".
18233 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
18234 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
18235 detect unavailable sign_posn locale elements.
18236 * locale/localeconv.c (__localeconv): For grouping and
18237 mon_grouping handle "\177" and "\377" like no grouping.
18238 (INT_ELEM): New macro. Use it to set all numeric members.
18239 * locale/programs/ld-monetary.c (monetary_read)
18240 <tok_mon_grouping>: Normalize single -1 to the empty string.
18241 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
18242 Likewise.
18243
728dab0e
OB
182442013-11-07 Ondřej Bílka <neleai@seznam.cz>
18245
18246 [BZ #16055]
18247 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
18248 when we match (nil).
18249 * stdio-common/tst-sscanf.c (struct test): Add testcase.
18250
66294491
JM
182512013-11-16 Joseph Myers <joseph@codesourcery.com>
18252
ce665817
JM
18253 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
18254 (NO_TEST_INLINE): Update value.
18255 (ERRNO_UNCHANGED): Likewise.
18256 (ERRNO_EDOM): Likewise.
18257 (ERRNO_ERANGE): Likewise.
18258 (IGNORE_RESULT): Likewise.
18259 (check_float_internal): Check signs of NaN results if
18260 TEST_NAN_SIGN used.
18261 (check_complex): Pass TEST_NAN_SIGN flag through to second
18262 check_float_internal call.
18263 (copysign_test_data): Add tests with quiet NaNs as second
18264 argument. Use TEST_NAN_SIGN.
18265 (fabs_test_data): Add test of negative quiet NaN argument. Use
18266 TEST_NAN_SIGN.
18267 (signbit_test_data): Add tests of quiet NaN argument.
18268 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
18269
ee1466a9
JM
18270 * math/gen-libm-test.pl (show_exceptions): Take extra argument
18271 $ignore_result.
18272 (parse_args): Handle function results specified as IGNORE.
18273 * math/libm-test.inc (IGNORE_RESULT): New macro.
18274 (check_float_internal): Do not check numerical result if flag
18275 IGNORE_RESULT set.
18276 (check_complex): Pass through IGNORE_RESULT to second
18277 check_float_internal call.
18278 (check_int): Do not check numerical result if flag IGNORE_RESULT
18279 set.
18280 (check_long): Likewise.
18281 (check_bool): Likewise.
18282 (check_longlong): Likewise.
18283 (lrint_test_data): Add tests of infinite and NaN arguments.
18284 (lrint_tonearest_test_data): Likewise.
18285 (lrint_towardzero_test_data): Likewise.
18286 (lrint_downward_test_data): Likewise.
18287 (lrint_upward_test_data): Likewise.
18288 (llrint_test_data): Likewise.
18289 (llrint_tonearest_test_data): Likewise.
18290 (llrint_towardzero_test_data): Likewise.
18291 (llrint_downward_test_data): Likewise.
18292 (llrint_upward_test_data): Likewise.
18293 (lround_test_data): Likewise.
18294 (llround_test_data): Likewise.
18295
14407b7e
JM
18296 * math/libm-test.inc (NO_TEST_INLINE): New macro.
18297 (ERRNO_UNCHANGED): Update value.
18298 (ERRNO_EDOM): Likewise.
18299 (ERRNO_ERANGE): Likewise.
18300 (NO_TEST_INLINE_FLOAT): New macro.
18301 (NO_TEST_INLINE_DOUBLE): Likewise.
18302 (enable_test): New function.
18303 (RUN_TEST_f_f): Check enable_test before running test.
18304 (RUN_TEST_2_f): Likewise.
18305 (RUN_TEST_fff_f): Likewise.
18306 (RUN_TEST_c_f): Likewise.
18307 (RUN_TEST_f_f1): Likewise.
18308 (RUN_TEST_fF_f1): Likewise.
18309 (RUN_TEST_fI_f1): Likewise.
18310 (RUN_TEST_ffI_f1): Likewise.
18311 (RUN_TEST_c_c): Likewise.
18312 (RUN_TEST_cc_c): Likewise.
18313 (RUN_TEST_f_i): Likewise.
18314 (RUN_TEST_f_i_tg): Likewise.
18315 (RUN_TEST_ff_i_tg): Likewise.
18316 (RUN_TEST_f_b): Likewise.
18317 (RUN_TEST_f_b_tg): Likewise.
18318 (RUN_TEST_f_l): Likewise.
18319 (RUN_TEST_f_L): Likewise.
18320 (RUN_TEST_fFF_11): Likewise.
18321 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
18322 conditionals.
18323 (cosh_test_data): Likewise.
18324 (exp_test_data): Likewise.
18325 (expm1_test_data): Likewise.
18326 (hypot_test_data): Likewise.
18327 (pow_test_data): Likewise.
18328 (sinh_test_data): Likewise.
18329 (tanh_test_data): Likewise.
18330 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
18331 flags argument.
18332
ca07f197
JM
18333 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
18334 tests with quiet NaN input and output.
18335 (acosh_test_data): Likewise.
18336 (asin_test_data): Likewise.
18337 (asinh_test_data): Likewise.
18338 (atan_test_data): Likewise.
18339 (atanh_test_data): Likewise.
18340 (atan2_test_data): Likewise.
18341 (cbrt_test_data): Likewise.
18342 (cos_test_data): Likewise.
18343 (cosh_test_data): Likewise.
18344 (erf_test_data): Likewise.
18345 (erfc_test_data): Likewise.
18346 (exp_test_data): Likewise.
18347 (exp10_test_data): Likewise.
18348 (exp2_test_data): Likewise.
18349 (expm1_test_data): Likewise.
18350 (hypot_test_data): Likewise.
18351 (j0_test_data): Likewise.
18352 (j1_test_data): Likewise.
18353 (jn_test_data): Likewise.
18354 (lgamma_test_data): Likewise.
18355 (log_test_data): Likewise.
18356 (log10_test_data): Likewise.
18357 (log1p_test_data): Likewise.
18358 (log2_test_data): Likewise.
18359 (pow_test_data): Likewise.
18360 (scalb_test_data): Likewise.
18361 (sin_test_data): Likewise.
18362 (sincos_test_data): Likewise.
18363 (sinh_test_data): Likewise.
18364 (tan_test_data): Likewise.
18365 (tanh_test_data): Likewise.
18366 (tgamma_test_data): Likewise.
18367 (y0_test_data): Likewise.
18368 (y1_test_data): Likewise.
18369 (yn_test_data): Likewise.
18370
66294491
JM
18371 [BZ #16167]
18372 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
18373 argument being NaN and avoid computations with second argument in
18374 that case.
18375 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18376 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18377 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18378
1820b143
CL
183792013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
18380
18381 * locale/iso-639.def: Add Chitwani Tharu (the).
18382
714bd261
AS
183832013-11-14 Andreas Schwab <schwab@suse.de>
18384
18385 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
18386 word instead of empty string.
18387
7ab44563
AZ
183882013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18389
18390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18391 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
18392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18393 (__fe_nomask_env): Likewise.
18394
e8470ea2
SE
183952013-11-13 Steve Ellcey <sellcey@mips.com>
18396
18397 * benchtests/bench-timing.h: Include time.h.
18398
17c1d9f0
L
183992013-11-13 H.J. Lu <hongjiu.lu@intel.com>
18400
18401 [BZ #15997]
18402 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
18403 to 3.4.0 for x32.
18404 * sysdeps/unix/sysv/linux/configure: Regenerated.
18405
9310c284
JM
184062013-11-13 Joseph Myers <joseph@codesourcery.com>
18407
18408 [BZ #16151]
18409 * stdlib/strtod_l.c (round_and_return): Do not consider
18410 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
18411 exponent one less than half the least subnormal exponent.
18412 * stdlib/test-strtod-round-data: Add more tests.
18413 * stdlib/tst-strtod-round.c (tests): Regenerated.
18414
7a2ad8cf
AZ
184152013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18416
18417 [BZ #14143]
18418 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
18419 (__fe_mask_env): Likewise.
18420 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
18421 libm_hidden_proto and add function prototype.
18422 (__fe_mask_env): Add function prototype.
18423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18424 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
18425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18426 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
18427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18428 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
18429
50727aa7
MS
184302013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18431
b2f386c1 18432 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
18433 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
18434
a615be46
MS
184352013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18436
18437 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
18438 of htab_find_slot().
18439
7ddace62
DM
184402013-11-11 David S. Miller <davem@davemloft.net>
18441
18442 [BZ #16150]
18443 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
18444 symbol in the non-vis3 case in static builds.
18445 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
18446 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
18447 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
18448 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
18449
9182aa67
JK
184502013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
18451
18452 [BZ #387]
18453 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
18454 it is empty.
18455
450a2e2d
AZ
184562013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18457
b2f386c1
SP
18458 * benchtests/Makefile: Add bench-strtod.
18459 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 18460
8ec3f656
AS
184612013-11-11 Andreas Schwab <schwab@suse.de>
18462
18463 [BZ #16153]
18464 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
18465 terminating NUL in key length.
18466
76a9b998
AZ
184672013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18468
18469 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18470 Add artificial ODP entry for vDSO symbol for PPC64.
18471 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
18472 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18473
e4368156
OB
184742013-11-07 Ondřej Bílka <neleai@seznam.cz>
18475
18476 [BZ #15374]
18477 * nss/getent.c (services_keys): Recognize services starting with digit.
18478
8d6bb57c
DM
184792013-11-06 David S. Miller <davem@davemloft.net>
18480
18481 [BZ #15985]
18482 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
18483 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
18484
e256c421
WN
184852013-11-06 Will Newton <will.newton@linaro.org>
18486
18487 * manual/memory.texi (Malloc Examples): Remove register
18488 keyword from examples.
18489
f6e12daa 184902013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 18491
f6e12daa 18492 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 18493
9d880655
AS
184942013-11-04 Joseph Myers <joseph@codesourcery.com>
18495
fd2f9486 18496 [BZ #6981]
9d880655
AS
18497 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
18498 depending on [__GCC_IEC_559 > 0].
18499 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
18500 depending on [__GCC_IEC_559_COMPLEX > 0].
18501
ae129d3c
CL
185022013-11-03 Chris Leonard <cjl@sugarlabs.org>
18503
18504 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
18505 to iso-639.def.
18506
4a15c2a4 185072013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
18508
18509 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
18510
8b35e35d
OB
185112013-11-01 Ondřej Bílka <neleai@seznam.cz>
18512
18513 [BZ #16112]
18514 * malloc/malloc (malloc_info): Do not handle first bin as
18515 special case.
18516
1d70fd6c
CL
185172013-11-01 Chris Leonard <cjl@sugarlabs.org>
18518
18519 * locale/iso-639.def: Add Central Nahuatl (nhn).
18520
8c5c2600
BH
185212013-11-01 Bruno Haible <bruno@clisp.org>
18522
18523 [BZ #7003]
18524 * manual/math.texi (BSD Random): Specify range upper bound as
18525 in POSIX.
18526
da5579c2
CL
185272013-10-31 Chris Leonard <cjl@sugarlabs.org>
18528
18529 * locale/iso-639.def: Add Meadow Mari (mhr).
18530
5d30d853
OB
185312013-10-31 Ondřej Bílka <neleai@seznam.cz>
18532
18533 [BZ #14752], [BZ #15763]
18534 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
18535 Validate name.
18536 * rt/tst_shm.c: Add test for escaping directory.
18537
a4966c61
AS
185382013-10-31 Andreas Schwab <schwab@suse.de>
18539
8a43e768 18540 [BZ #15917]
a4966c61
AS
18541 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
18542 followed by 'x' as part of digit sequence.
18543 * stdio-common/tst-sscanf.c (double_tests2): New tests.
18544
28d708c4
MAP
185452013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
18546
18547 [BZ #16037]
18548 * configure.ac: allow GNU Make 4.0 and greater.
18549 * configure: Regenerated.
18550
a56ee40b
WN
185512013-10-30 Will Newton <will.newton@linaro.org>
18552
18553 [BZ #16038]
18554 * malloc/hooks.c (memalign_check): Limit alignment to the
18555 maximum representable power of two.
18556 * malloc/malloc.c (__libc_memalign): Likewise.
18557 * malloc/tst-memalign.c (do_test): Add test for very
18558 large alignment values.
18559 * malloc/tst-posix_memalign.c (do_test): Likewise.
18560
c6e4925d
OB
185612013-10-30 Ondřej Bílka <neleai@seznam.cz>
18562
18563 [BZ #11087]
18564 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
18565 (munmap_chunk): Likewise.
18566 (mremap_chunk): Likewise.
18567
185682013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 18569
8a43e768 18570 [BZ #15799]
bbea82f7
OB
18571 * stdlib/div.c (div): Remove obsolete code.
18572 * stdlib/ldiv.c (ldiv): Likewise.
18573 * stdlib/lldiv.c (lldiv): Likewise.
18574
977f4b31
SP
185752013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18576
18577 [BZ #16071]
18578 * nss/nss_files/files-XXX.c (get_contents_ret): New
18579 enumerator.
18580 (get_contents): New function.
18581 (internal_getent): Use it. Expand size of LINEBUFLEN.
18582
cb8a6dbd
MF
185832013-10-30 Mike Frysinger <vapier@gentoo.org>
18584
18585 * configure.in: Moved to ...
18586 * configure.ac: ... here. Change reference to configure.in
18587 to configure.ac.
18588 * sysdeps/arm/preconfigure.ac: ... here.
18589 configure.in to configure.ac.
18590 * sysdeps/gnu/configure.in: Moved to ...
18591 * sysdeps/gnu/configure.ac: ... here.
18592 * sysdeps/i386/configure.in: Moved to ...
18593 * sysdeps/i386/configure.ac: ... here.
18594 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
18595 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
18596 * sysdeps/mach/configure.in: Moved to ...
18597 * sysdeps/mach/configure.ac: ... here.
18598 * sysdeps/mach/hurd/configure.in: Moved to ...
18599 * sysdeps/mach/hurd/configure.ac: ... here.
18600 * sysdeps/powerpc/configure.in: Moved to ...
18601 * sysdeps/powerpc/configure.ac: ... here.
18602 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
18603 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
18604 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
18605 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
18606 * sysdeps/s390/s390-32/configure.in: Moved to ...
18607 * sysdeps/s390/s390-32/configure.ac: ... here.
18608 * sysdeps/s390/s390-64/configure.in: Moved to ...
18609 * sysdeps/s390/s390-64/configure.ac: ... here.
18610 * sysdeps/sh/configure.in: Moved to ...
18611 * sysdeps/sh/configure.ac: ... here.
18612 * sysdeps/sparc/configure.in: Moved to ...
18613 * sysdeps/sparc/configure.ac: ... here.
18614 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
18615 * sysdeps/unix/sysv/linux/configure.ac: ... here.
18616 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
18617 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
18618 * sysdeps/x86_64/configure.in: Moved to ...
18619 * sysdeps/x86_64/configure.ac: ... here.
18620 * sysdeps/x86_64/preconfigure.in: Moved to ...
18621 * sysdeps/x86_64/preconfigure.ac: ... here.
18622 * aclocal.m4: Change reference to configure.in to configure.ac.
18623 * config.h.in: Likewise.
18624 * manual/install.texi: Likewise.
18625 * manual/maint.texi: Likewise.
18626 * Makefile: Likewise.
18627 * malloc/Makefile: Likewise.
18628 * nscd/Makefile: Likewise.
18629 * Makeconfig: Change reference to configure.in and
18630 preconfigure.in to configure.ac and preconfigure.ac
18631 respectively.
18632 * INSTALL: Regenerated.
18633 * configure: Likewise.
18634 * sysdeps/gnu/configure: Likewise.
18635 * sysdeps/i386/configure: Likewise.
18636 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
18637 * sysdeps/mach/configure: Likewise.
18638 * sysdeps/mach/hurd/configure: Likewise.
18639 * sysdeps/powerpc/configure: Likewise.
18640 * sysdeps/powerpc/powerpc32/configure: Likewise.
18641 * sysdeps/powerpc/powerpc64/configure: Likewise.
18642 * sysdeps/s390/s390-32/configure: Likewise.
18643 * sysdeps/s390/s390-64/configure: Likewise.
18644 * sysdeps/sh/configure: Likewise.
18645 * sysdeps/sparc/configure: Likewise.
18646 * sysdeps/unix/sysv/linux/configure: Likewise.
18647 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
18648 * sysdeps/x86_64/configure: Likewise.
18649 * sysdeps/x86_64/preconfigure: Likewise.
18650
36a4953a
AS
186512013-10-29 Andreas Schwab <schwab@suse.de>
18652
18653 * stdio-common/Makefile (tst-swscanf-ENV): Define.
18654
c79a1204
SP
186552013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18656
dfa1b402
SP
18657 * benchtests/pow-inputs: Add new inputs.
18658
54f73d9c
SP
18659 * benchtests/exp-inputs: Add new inputs.
18660
c79a1204
SP
18661 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
18662 conditional check for return value.
18663 (__cos32): Likewise.
18664
67beb545 186652013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
18666
18667 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
18668 to provide a boost for large inputs with word alignment.
18669 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
18670 implementation based on optimized PPC64 strcpy.
18671 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
18672 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
18673 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
18674 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
18675
151659f6
OB
186762013-10-25 Ondřej Bílka <neleai@seznam.cz>
18677
482a077e 18678 [BZ #2801]
151659f6
OB
18679 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
18680
10b0f26b
OB
186812013-10-25 Ondřej Bílka <neleai@seznam.cz>
18682
18683 [BZ #14876]
18684 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
18685 * time/tst-strptime.c (day_tests): Add testcase.
18686
ca42d35e
OB
186872013-10-25 Ondřej Bílka <neleai@seznam.cz>
18688
482a077e 18689 [BZ #14029]
ca42d35e
OB
18690 * manual/pattern.texi: Acknowledge that fnmatch can fail.
18691
52e6d801
FB
186922013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
18693
18694 [BZ #16074]
18695 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
18696 MAP_FAILED on error.
18697
7cbcdb36
SP
186982013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18699
18700 [BZ #16072]
18701 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
18702 heap for large requests.
18703
894f3f10
AM
187042013-10-25 Aurelien Jarno <aurelien@aurel32.net>
18705
18706 [BZ #9954]
18707 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
18708 result if the result has no associated interface.
18709 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
18710 interface for all 127.X.Y.Z addresses.
18711
b85545a6
CL
187122013-10-24 Chris Leonard <cjl@sugarlabs.org>
18713
18714 * locale/iso-639.def: Add Ligurian (lij)
18715
d1f23d46
OB
187162013-10-21 Ondřej Bílka <neleai@seznam.cz>
18717
18718 [BZ #15825]
18719 * sunrpc/rpc_main.c: Document rpcgen -5.
18720
4db5b08f
MS
187212013-10-19 Michael Stahl <mstahl@redhat.com>
18722
18723 * elf/rtld.c (do_preload): Print the reason why preloading failed.
18724
a471e96a
OB
187252013-10-19 Ondřej Bílka <neleai@seznam.cz>
18726
d1f23d46 18727 [BZ #10278]
a471e96a
OB
18728 * posix/glob.c: Match only directories when trailing slash is present.
18729 * posix/tst-gnuglob.c (my_opendir): Do not open files.
18730 (main): Add testcase.
18731
45c30c61
OB
187322013-10-19 Ondřej Bílka <neleai@seznam.cz>
18733
18734 [BZ #15670]
18735 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
18736
484c12fb
CD
187372013-10-18 Carlos O'Donell <carlos@redhat.com>
18738
3d7dc513
CD
18739 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
18740 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
18741 AUTH_DES and cindex for FIPS 140-2.
18742 (DES Encryption): Add cindex FIPS 46-3.
18743
484c12fb
CD
18744 * locale/locarchive.h (struct locarhandle): Add fname.
18745 * locale/programs/localedef.c (main): Pass ARGV[remaining]
18746 if an optional argument was specified to --list-archive,
18747 otherwise NULL.
18748 * locale/programs/locarchive.c (show_archive_content): Take new
18749 argument fname and pass it via ah.fname to open_archive.
18750 * locale/programs/localedef.h: Update decl.
18751 (open_archive): If AH->fname is non-null, open that file
18752 rather than the default file name, and don't ignore ENOENT.
18753 (create_archive): Set AH.fname to NULL.
18754 (delete_locales_from_archive): Likewise.
18755 (add_locales_to_archive): Likewise.
18756 * locale/programs/locfile.c (write_all_categories): Likewise.
18757
3c8325fb
JM
187582013-10-18 Joseph Myers <joseph@codesourcery.com>
18759 Aldy Hernandez <aldyh@redhat.com>
18760
18761 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
18762 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
18763 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
18764 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
18765 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
18766 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
18767 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
18768 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
18769 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
18770 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
18771 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
18772 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
18773 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
18774 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
18775 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
18776 Likewise.
18777 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
18778 Likewise.
18779 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
18780 Likewise.
18781 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
18782 Likewise.
18783 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
18784 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
18785 Likewise.
18786 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
18787 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
18788 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
18789 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
18790 Likewise.
18791 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
18792 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
18793 * sysdeps/powerpc/preconfigure: Likewise.
18794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
18795 Likewise.
18796 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
18797 Replace contents of file by #include of <fenv_libc.h>.
18798 * sysdeps/powerpc/soft-fp/sfp-machine.h
18799 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
18800 and <sys/prctl.h>.
18801 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
18802 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
18803 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
18804 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
18805 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
18806 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
18807 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
18808 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
18809 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
18810 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
18811 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
18812 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
18813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18814 Allow copysignl PLT reference to be missing.
18815
5abe0682
RS
188162013-10-18 Richard Sandiford <richard@codesourcery.com>
18817 Joseph Myers <joseph@codesourcery.com
18818
18819 [BZ #15948]
18820 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
18821 single character.
18822 (add_to_tablewc): Assert sequence of wide characters is nonempty.
18823
c7738d08
SP
188242013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18825
18826 * elf/tst-tls-dlinfo.c: Don't include tls.h.
18827 * elf/tst-tls1.c: Likewise.
18828 * elf/tst-tls10.h: Likewise.
18829 * elf/tst-tls14.c: Likewise.
18830 * elf/tst-tls2.c: Likewise.
18831 * elf/tst-tls3.c: Likewise.
18832 * elf/tst-tls4.c: Likewise.
18833 * elf/tst-tls5.c: Likewise.
18834 * elf/tst-tls6.c: Likewise.
18835 * elf/tst-tls7.c: Likewise.
18836 * elf/tst-tls8.c: Likewise.
18837 * elf/tst-tls9.c: Likewise.
18838 * elf/tst-tlsmod1.c: Likewise.
18839 * elf/tst-tlsmod13.c: Likewise.
18840 * elf/tst-tlsmod13a.c: Likewise.
18841 * elf/tst-tlsmod14a.c: Likewise.
18842 * elf/tst-tlsmod16a.c: Likewise.
18843 * elf/tst-tlsmod16b.c: Likewise.
18844 * elf/tst-tlsmod2.c: Likewise.
18845 * elf/tst-tlsmod3.c: Likewise.
18846 * elf/tst-tlsmod4.c: Likewise.
18847 * elf/tst-tlsmod5.c: Likewise.
18848 * elf/tst-tlsmod6.c: Likewise.
18849
0bfcf2c7
OB
188502013-10-18 Ondřej Bílka <neleai@seznam.cz>
18851
18852 [BZ #12486]
18853 * malloc/malloc.c: remove checks for statistics.
18854
264aad1e
OB
188552013-10-17 Ondřej Bílka <neleai@seznam.cz>
18856
18857 [BZ #15277]
18858 * inet/inet_net.c (inet_network): Detect additional invalid strings.
18859 * inet/tst-network.c: Add testcase.
18860
b957ced8
AS
188612013-10-17 Andreas Schwab <schwab@suse.de>
18862
18863 [BZ #15218]
18864 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
18865 to determine canonical name.
18866
c5d5d574
OB
188672013-10-17 Ondřej Bílka <neleai@seznam.cz>
18868
18869 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
18870 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
18871 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18872 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18873 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18874 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18875 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18876 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18877 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18878 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18879 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18880 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18881 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18882 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18883 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18884 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18885 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18886 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18887 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18888 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18889 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18890 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18891 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18892 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
18893 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
18894 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18895 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18896 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
18897 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18898 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
18899 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18900 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18901 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18902 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18903 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18904 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18905 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18906 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18907 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18908 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18909 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18910 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18911 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18912 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18913 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18914 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18915 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18916 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18917 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18918 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18919 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18920 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18921 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18922 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18923 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18924 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18925 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18926 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18927
e5c2c2d0
JM
189282013-10-17 Joseph Myers <joseph@codesourcery.com>
18929
18930 [BZ #16041]
18931 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
18932 make result into a quiet NaN.
18933
51ca9e29
JM
189342013-10-16 Joseph Myers <joseph@codesourcery.com>
18935
18936 * soft-fp/adddf3.c: Fix horizontal whitespace.
18937 * soft-fp/addsf3.c: Likewise.
18938 * soft-fp/addtf3.c: Likewise.
18939 * soft-fp/divdf3.c: Likewise.
18940 * soft-fp/divsf3.c: Likewise.
18941 * soft-fp/divtf3.c: Likewise.
18942 * soft-fp/double.h: Likewise.
18943 * soft-fp/eqdf2.c: Likewise.
18944 * soft-fp/eqsf2.c: Likewise.
18945 * soft-fp/eqtf2.c: Likewise.
18946 * soft-fp/extenddftf2.c: Likewise.
18947 * soft-fp/extended.h: Likewise.
18948 * soft-fp/extendsfdf2.c: Likewise.
18949 * soft-fp/extendsftf2.c: Likewise.
18950 * soft-fp/extendxftf2.c: Likewise.
18951 * soft-fp/fixdfdi.c: Likewise.
18952 * soft-fp/fixdfsi.c: Likewise.
18953 * soft-fp/fixdfti.c: Likewise.
18954 * soft-fp/fixsfdi.c: Likewise.
18955 * soft-fp/fixsfsi.c: Likewise.
18956 * soft-fp/fixsfti.c: Likewise.
18957 * soft-fp/fixtfdi.c: Likewise.
18958 * soft-fp/fixtfsi.c: Likewise.
18959 * soft-fp/fixtfti.c: Likewise.
18960 * soft-fp/fixunsdfdi.c: Likewise.
18961 * soft-fp/fixunsdfsi.c: Likewise.
18962 * soft-fp/fixunsdfti.c: Likewise.
18963 * soft-fp/fixunssfdi.c: Likewise.
18964 * soft-fp/fixunssfsi.c: Likewise.
18965 * soft-fp/fixunssfti.c: Likewise.
18966 * soft-fp/fixunstfdi.c: Likewise.
18967 * soft-fp/fixunstfsi.c: Likewise.
18968 * soft-fp/fixunstfti.c: Likewise.
18969 * soft-fp/floatdidf.c: Likewise.
18970 * soft-fp/floatdisf.c: Likewise.
18971 * soft-fp/floatditf.c: Likewise.
18972 * soft-fp/floatsidf.c: Likewise.
18973 * soft-fp/floatsisf.c: Likewise.
18974 * soft-fp/floatsitf.c: Likewise.
18975 * soft-fp/floattidf.c: Likewise.
18976 * soft-fp/floattisf.c: Likewise.
18977 * soft-fp/floattitf.c: Likewise.
18978 * soft-fp/floatundidf.c: Likewise.
18979 * soft-fp/floatundisf.c: Likewise.
18980 * soft-fp/floatunditf.c: Likewise.
18981 * soft-fp/floatunsidf.c: Likewise.
18982 * soft-fp/floatunsisf.c: Likewise.
18983 * soft-fp/floatunsitf.c: Likewise.
18984 * soft-fp/floatuntidf.c: Likewise.
18985 * soft-fp/floatuntisf.c: Likewise.
18986 * soft-fp/floatuntitf.c: Likewise.
18987 * soft-fp/fmadf4.c: Likewise.
18988 * soft-fp/fmasf4.c: Likewise.
18989 * soft-fp/fmatf4.c: Likewise.
18990 * soft-fp/gedf2.c: Likewise.
18991 * soft-fp/gesf2.c: Likewise.
18992 * soft-fp/getf2.c: Likewise.
18993 * soft-fp/ledf2.c: Likewise.
18994 * soft-fp/lesf2.c: Likewise.
18995 * soft-fp/letf2.c: Likewise.
18996 * soft-fp/muldf3.c: Likewise.
18997 * soft-fp/mulsf3.c: Likewise.
18998 * soft-fp/multf3.c: Likewise.
18999 * soft-fp/negdf2.c: Likewise.
19000 * soft-fp/negsf2.c: Likewise.
19001 * soft-fp/negtf2.c: Likewise.
19002 * soft-fp/op-1.h: Likewise.
19003 * soft-fp/op-2.h: Likewise.
19004 * soft-fp/op-4.h: Likewise.
19005 * soft-fp/op-8.h: Likewise.
19006 * soft-fp/op-common.h: Likewise.
19007 * soft-fp/quad.h: Likewise.
19008 * soft-fp/single.h: Likewise.
19009 * soft-fp/soft-fp.h: Likewise.
19010 * soft-fp/sqrtdf2.c: Likewise.
19011 * soft-fp/sqrtsf2.c: Likewise.
19012 * soft-fp/sqrttf2.c: Likewise.
19013 * soft-fp/subdf3.c: Likewise.
19014 * soft-fp/subsf3.c: Likewise.
19015 * soft-fp/subtf3.c: Likewise.
19016 * soft-fp/truncdfsf2.c: Likewise.
19017 * soft-fp/trunctfdf2.c: Likewise.
19018 * soft-fp/trunctfsf2.c: Likewise.
19019 * soft-fp/trunctfxf2.c: Likewise.
19020 * soft-fp/unorddf2.c: Likewise.
19021 * soft-fp/unordsf2.c: Likewise.
19022 * soft-fp/unordtf2.c: Likewise.
19023
9ebb0332
JM
190242013-10-15 Joseph Myers <joseph@codesourcery.com>
19025
19026 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
19027 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
19028
4b1a6d8b
OB
190292013-10-15 Ondřej Bílka <neleai@seznam.cz>
19030
19031 * elf/dl-libc.c: Clear initfini list after freeing.
19032
1e145589
JM
190332013-10-14 Joseph Myers <joseph@codesourcery.com>
19034
19035 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
19036 * soft-fp/addsf3.c: Likewise.
19037 * soft-fp/addtf3.c: Likewise.
19038 * soft-fp/divdf3.c: Likewise.
19039 * soft-fp/divsf3.c: Likewise.
19040 * soft-fp/divtf3.c: Likewise.
19041 * soft-fp/double.h: Likewise.
19042 * soft-fp/eqdf2.c: Likewise.
19043 * soft-fp/eqsf2.c: Likewise.
19044 * soft-fp/eqtf2.c: Likewise.
19045 * soft-fp/extenddftf2.c: Likewise.
19046 * soft-fp/extended.h: Likewise.
19047 * soft-fp/extendsfdf2.c: Likewise.
19048 * soft-fp/extendsftf2.c: Likewise.
19049 * soft-fp/extendxftf2.c: Likewise.
19050 * soft-fp/fixdfdi.c: Likewise.
19051 * soft-fp/fixdfsi.c: Likewise.
19052 * soft-fp/fixdfti.c: Likewise.
19053 * soft-fp/fixsfdi.c: Likewise.
19054 * soft-fp/fixsfsi.c: Likewise.
19055 * soft-fp/fixsfti.c: Likewise.
19056 * soft-fp/fixtfdi.c: Likewise.
19057 * soft-fp/fixtfsi.c: Likewise.
19058 * soft-fp/fixtfti.c: Likewise.
19059 * soft-fp/fixunsdfdi.c: Likewise.
19060 * soft-fp/fixunsdfsi.c: Likewise.
19061 * soft-fp/fixunsdfti.c: Likewise.
19062 * soft-fp/fixunssfdi.c: Likewise.
19063 * soft-fp/fixunssfsi.c: Likewise.
19064 * soft-fp/fixunssfti.c: Likewise.
19065 * soft-fp/fixunstfdi.c: Likewise.
19066 * soft-fp/fixunstfsi.c: Likewise.
19067 * soft-fp/fixunstfti.c: Likewise.
19068 * soft-fp/floatdidf.c: Likewise.
19069 * soft-fp/floatdisf.c: Likewise.
19070 * soft-fp/floatditf.c: Likewise.
19071 * soft-fp/floatsidf.c: Likewise.
19072 * soft-fp/floatsisf.c: Likewise.
19073 * soft-fp/floatsitf.c: Likewise.
19074 * soft-fp/floattidf.c: Likewise.
19075 * soft-fp/floattisf.c: Likewise.
19076 * soft-fp/floattitf.c: Likewise.
19077 * soft-fp/floatundidf.c: Likewise.
19078 * soft-fp/floatundisf.c: Likewise.
19079 * soft-fp/floatunsidf.c: Likewise.
19080 * soft-fp/floatunsisf.c: Likewise.
19081 * soft-fp/floatuntidf.c: Likewise.
19082 * soft-fp/floatuntisf.c: Likewise.
19083 * soft-fp/floatuntitf.c: Likewise.
19084 * soft-fp/fmadf4.c: Likewise.
19085 * soft-fp/fmasf4.c: Likewise.
19086 * soft-fp/fmatf4.c: Likewise.
19087 * soft-fp/gedf2.c: Likewise.
19088 * soft-fp/gesf2.c: Likewise.
19089 * soft-fp/getf2.c: Likewise.
19090 * soft-fp/ledf2.c: Likewise.
19091 * soft-fp/lesf2.c: Likewise.
19092 * soft-fp/letf2.c: Likewise.
19093 * soft-fp/muldf3.c: Likewise.
19094 * soft-fp/mulsf3.c: Likewise.
19095 * soft-fp/multf3.c: Likewise.
19096 * soft-fp/negdf2.c: Likewise.
19097 * soft-fp/negsf2.c: Likewise.
19098 * soft-fp/negtf2.c: Likewise.
19099 * soft-fp/op-1.h: Likewise.
19100 * soft-fp/op-2.h: Likewise.
19101 * soft-fp/op-4.h: Likewise.
19102 * soft-fp/op-8.h: Likewise.
19103 * soft-fp/op-common.h: Likewise.
19104 * soft-fp/quad.h: Likewise.
19105 * soft-fp/single.h: Likewise.
19106 * soft-fp/soft-fp.h: Likewise.
19107 * soft-fp/sqrtdf2.c: Likewise.
19108 * soft-fp/sqrtsf2.c: Likewise.
19109 * soft-fp/sqrttf2.c: Likewise.
19110 * soft-fp/subdf3.c: Likewise.
19111 * soft-fp/subsf3.c: Likewise.
19112 * soft-fp/subtf3.c: Likewise.
19113 * soft-fp/truncdfsf2.c: Likewise.
19114 * soft-fp/trunctfdf2.c: Likewise.
19115 * soft-fp/trunctfsf2.c: Likewise.
19116 * soft-fp/trunctfxf2.c: Likewise.
19117 * soft-fp/unorddf2.c: Likewise.
19118 * soft-fp/unordsf2.c: Likewise.
19119 * soft-fp/unordtf2.c: Likewise.
19120
17c48a60
OB
191212013-10-14 Ondřej Bílka <neleai@seznam.cz>
19122
19123 [BZ #15672]
19124 * misc/error.c (error_tail): Fix possible buffer overflow.
19125
cabba934
OB
191262013-10-14 Aurelien Jarno <aurelien@aurel32.net>
19127
19128 [BZ #13028]
19129 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19130 address.
19131
94bf958a
PM
191322013-10-14 P. J. McDermott <pj@pehjota.net>
19133
19134 [BZ #832]
19135 * elf/ldd.bash.in (try_trace): New function. Delete previous code
19136 testing pipefail option.
19137
71b4dea7
JM
191382013-10-12 Joseph Myers <joseph@codesourcery.com>
19139
19140 * soft-fp/double.h: Indent preprocessor directives inside #if.
19141 * soft-fp/extended.h: Likewise.
19142 * soft-fp/op-2.h: Likewise.
19143 * soft-fp/op-4.h: Likewise.
19144 * soft-fp/op-common.h: Likewise.
19145 * soft-fp/quad.h: Likewise.
19146 * soft-fp/single.h: Likewise.
19147 * soft-fp/soft-fp.h: Likewise.
19148
55602758
YC
191492013-10-12 Yuri Chornoivan <yurchor@ukr.net>
19150
19151 * iconv/iconv_prog.c: Fix typos.
19152 * stdio-common/psiginfo-data.h: Likewise.
19153
9cd83302
RT
191542013-10-12 Reuben Thomas <rrt@sc3d.org>
19155
19156 [BZ #15764]
19157 * locale/setlocale.c: Fix typo.
19158
99fd9f47
JM
191592013-10-12 Joseph Myers <joseph@codesourcery.com>
19160
b7ea74f0
JM
19161 [BZ #16036]
19162 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
19163 signaling NaN arguments.
19164 * soft-fp/unordsf2.c (__unordsf2): Likewise.
19165 * soft-fp/unordtf2.c (__unordtf2): Likewise.
19166
8a509447
JM
19167 [BZ #14910]
19168 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
19169 unordered operands.
19170 * soft-fp/gesf2.c (__gesf2): Likewise.
19171 * soft-fp/getf2.c (__getf2): Likewise.
19172 * soft-fp/ledf2.c (__ledf2): Likewise.
19173 * soft-fp/lesf2.c (__lesf2): Likewise.
19174 * soft-fp/letf2.c (__letf2): Likewise.
19175
98998e9f
JM
19176 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
19177 * soft-fp/eqsf2.c (__eqsf2): Likewise.
19178 * soft-fp/eqtf2.c (__eqtf2): Likewise.
19179 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
19180 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
19181 * soft-fp/fixdfti.c (__fixdfti): Likewise.
19182 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
19183 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
19184 * soft-fp/fixsfti.c (__fixsfti): Likewise.
19185 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
19186 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
19187 * soft-fp/fixtfti.c (__fixtfti): Likewise.
19188 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
19189 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
19190 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
19191 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19192 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
19193 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
19194 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
19195 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
19196 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
19197 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
19198 * soft-fp/floatdisf.c (__floatdisf): Likewise.
19199 * soft-fp/floatsisf.c (__floatsisf): Likewise.
19200 * soft-fp/floattidf.c (__floattidf): Likewise.
19201 * soft-fp/floattisf.c (__floattisf): Likewise.
19202 * soft-fp/floattitf.c (__floattitf): Likewise.
19203 * soft-fp/floatundidf.c (__floatundidf): Likewise.
19204 * soft-fp/floatundisf.c (__floatundisf): Likewise.
19205 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
19206 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
19207 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
19208 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
19209 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
19210 * soft-fp/gesf2.c (__gesf2): Likewise.
19211 * soft-fp/getf2.c (__getf2): Likewise.
19212 * soft-fp/ledf2.c (__ledf2): Likewise.
19213 * soft-fp/lesf2.c (__lesf2): Likewise.
19214 * soft-fp/letf2.c (__letf2): Likewise.
19215
8edc4a11
JM
19216 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
19217 Undefine and redefine.
19218 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
19219 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
19220 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
19221 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
19222 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19223 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
19224 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19225 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
19226 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19227 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
19228 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19229 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
19230 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19231 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
19232 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19233
8399acaf
JM
19234 [BZ #16032]
19235 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
19236 without decrementing exponent if mantissa >= that for the
19237 denominator, not >.
19238 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
19239 denominator, not >. Decrement exponent in < case instead of
19240 incrementing in >= case.
19241 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
19242 without decrementing exponent if mantissa >= that for the
19243 denominator, not >.
19244
99fd9f47
JM
19245 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
19246 computing saturated result for unsigned overflow.
19247
10e1cf6b
SP
192482013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19249 Jeff Law <law@redhat.com>
19250
19251 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
19252 (atan2Mp): Add systemtap probe marker.
19253 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
19254 (__ieee754_log): Add systemtap probe marker.
19255 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
19256 (atanMp): Add systemtap probe marker.
19257 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
19258 (tanMp): Add systemtap probe marker.
19259 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
19260 (__slowexp): Add systemtap probe marker.
19261 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
19262 (__slowpow): Add systemtap probe marker.
19263 * manual/probes.texi: Document probes.
19264
3d110c7c
EB
192652013-10-11 Eric Biggers <ebiggers3@gmail.com>
19266
19267 [BZ #15362]
19268 * libio/fileops.c (_IO_new_file_write): Return count of bytes
19269 written.
19270 (_IO_new_file_xsputn): Don't return EOF if nothing has been
19271 written.
19272 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
19273 written to buffer but not flushed.
19274 * libio/iofwrite_u.c: Likewise.
19275 * libio/iopadn.c: Return bytes returned even if EOF was
19276 encountered.
19277 * libio/iowpadn.c: Likewise.
19278 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
19279 if _IO_padn does not write the whole buffer.
19280 [!COMPILE_WPRINTF] (PAD): Likewise.
19281
75b4202a
DM
192822013-10-10 David S. Miller <davem@davemloft.net>
19283
19284 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
19285 directory block.
19286
6c6352e6
JM
192872013-10-10 Joseph Myers <joseph@codesourcery.com>
19288
33b853c3
JM
19289 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
19290 instead of FSF address.
19291 * soft-fp/fixdfti.c: Likewise.
19292 * soft-fp/fixsfti.c: Likewise.
19293 * soft-fp/fixtfti.c: Likewise.
19294 * soft-fp/fixunsdfti.c: Likewise.
19295 * soft-fp/fixunssfti.c: Likewise.
19296 * soft-fp/fixunstfti.c: Likewise.
19297 * soft-fp/floattidf.c: Likewise.
19298 * soft-fp/floattisf.c: Likewise.
19299 * soft-fp/floattitf.c: Likewise.
19300 * soft-fp/floatuntidf.c: Likewise.
19301 * soft-fp/floatuntisf.c: Likewise.
19302 * soft-fp/floatuntitf.c: Likewise.
19303 * soft-fp/trunctfxf2.c: Likewise.
19304
6c6352e6
JM
19305 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
19306 * soft-fp/fixdfti.c: Likewise.
19307 * soft-fp/fixsfti.c: Likewise.
19308 * soft-fp/fixtfti.c: Likewise.
19309 * soft-fp/fixunsdfti.c: Likewise.
19310 * soft-fp/fixunssfti.c: Likewise.
19311 * soft-fp/fixunstfti.c: Likewise.
19312 * soft-fp/floattidf.c: Likewise.
19313 * soft-fp/floattisf.c: Likewise.
19314 * soft-fp/floattitf.c: Likewise.
19315 * soft-fp/floatuntidf.c: Likewise.
19316 * soft-fp/floatuntisf.c: Likewise.
19317 * soft-fp/floatuntitf.c: Likewise.
19318 * soft-fp/trunctfxf2.c: Likewise.
19319
3bf78b71
DM
193202013-10-10 David S. Miller <davem@davemloft.net>
19321
19322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19323
6f10289e
JM
193242013-10-10 Joseph Myers <joseph@codsourcery.com>
19325
bd878fc0
JM
19326 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19327 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
19328 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
19329 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
19330 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
19331 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
19332 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
19333
6f10289e
JM
19334 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
19335 for NaNs before doing comparisons on argument.
19336 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19337 Likewise.
19338
321e2684
WN
193392013-10-10 Will Newton <will.newton@linaro.org>
19340
19341 * malloc/hooks.c (memalign_check): Ensure the value of bytes
19342 passed to _int_memalign does not overflow.
19343
40fefba1
TR
193442013-10-10 Torvald Riegel <triegel@redhat.com>
19345
19346 * scripts/bench.pl: Add include-sources directive.
19347 * benchtests/README: Update documentation.
19348
2ae21ed2
JM
193492013-10-10 Joseph Myers <joseph@codesourcery.com>
19350
dcc2dd3f
JM
19351 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
19352 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
19353 instead of FP_INIT_ROUNDMODE.
19354 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
19355 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
19356
2ae21ed2
JM
19357 [BZ #16034]
19358 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
19359 copy class of input value.
19360 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
19361 not handle exceptions.
19362 * soft-fp/negsf2.c (__negsf2): Likewise.
19363 * soft-fp/negtf2.c (__negtf2): Likewise.
19364 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
19365
cb8f9562
JM
193662013-10-09 Joseph Myers <joseph@codesourcery.com>
19367
19368 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
19369 semicolon. From Linux kernel.
19370
5b60c59d
AB
193712013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
19372
19373 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
19374
b86835ca
YC
193752013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
19376
19377 [BZ #156]
19378 * manual/socket.texi: Added statement about buffer
19379 for gethostbyname2_r.
19380
e7044ea7
OB
193812013-10-08 Ondřej Bílka <neleai@seznam.cz>
19382
19383 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
19384 Use .p2align directive instead, throughout.
19385 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19386 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19387 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19388 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19389 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19390 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19391 * sysdeps/x86_64/strchr.S: Likewise.
19392 * sysdeps/x86_64/strrchr.S: Likewise.
19393
09544cbc
SP
193942013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19395
88576635
SP
19396 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
19397
e7b2d1dd
SP
19398 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
19399
09544cbc
SP
19400 * sysdeps/generic/math_private.h (__mpsin1): Remove
19401 declaration.
19402 (__mpcos1): Likewise.
19403 (__mpsin): New argument __range_reduce.
19404 (__mpcos): Likewise.
19405 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19406 (slow): Use __mpsin and __mpcos.
19407 (slow1): Likewise.
19408 (slow2): Likewise.
19409 (sloww): Likewise.
19410 (sloww1): Likewise.
19411 (sloww2): Likewise.
19412 (bsloww): Likewise.
19413 (bsloww1): Likewise.
19414 (bsloww2): Likewise.
19415 (cslow2): Likewise.
19416 (csloww): Likewise.
19417 (csloww1): Likewise.
19418 (csloww2): Likewise.
19419 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
19420 range_reduce. Merge in __mpsin1.
19421 (__mpcos): Likewise.
19422 (__mpsin1): Remove.
19423 (__mpcos1): Likewise.
19424
7602d070
JM
194252013-10-07 Joseph Myers <joseph@codesourcery.com>
19426
19427 * locale/loadlocale.c (_nl_intern_locale_data): Use
19428 LOCFILE_ALIGNED_P.
19429 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
19430 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
19431 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
19432 obstack data is appropriately aligned.
19433 (obstack_int32_grow_fast): Likewise.
19434 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
19435 * locale/programs/locfile.c (add_locale_uint32): Likewise.
19436 (add_locale_uint32_array): Likewise.
19437
a357259b
SP
194382013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19439
19440 * benchtests/Makefile: Remove ARGLIST and RET variables.
19441 ($(objpfx)bench-%.c): Pass only function name to the script.
19442 * benchtests/README: Update documentation.
19443 * benchtests/acos-inputs: Add new directives.
19444 * benchtests/acosh-inputs: Likewise.
19445 * benchtests/asin-inputs: Likewise.
19446 * benchtests/asinh-inputs: Likewise.
19447 * benchtests/atan-inputs: Likewise.
19448 * benchtests/atanh-inputs: Likewise.
19449 * benchtests/cos-inputs: Likewise.
19450 * benchtests/cosh-inputs: Likewise.
19451 * benchtests/exp-inputs: Likewise.
19452 * benchtests/log-inputs: Likewise.
19453 * benchtests/pow-inputs: Likewise.
19454 * benchtests/rint-inputs: Likewise.
19455 * benchtests/sin-inputs: Likewise.
19456 * benchtests/sinh-inputs: Likewise.
19457 * benchtests/tan-inputs: Likewise.
19458 * benchtests/tanh-inputs: Likewise.
19459 * scripts/bench.pl: Add support for new directives.
19460
9ec1b13d
AM
194612013-10-07 Alan Modra <amodra@gmail.com>
19462
19463 * README: Fix careless merge.
19464
8b7d57cd
AM
194652013-10-05 Alan Modra <amodra@gmail.com>
19466
19467 * NEWS: Mention powerpc64le support and bugs fixed.
19468 * README: Both big-endian and little-endian powerpc64 supported.
19469
7b7bab13
ST
194702013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19471
57f41c40
AS
19472 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
19473 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
19474 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
19475 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
19476
d39baad1
RA
194772013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
19478
19479 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
19480 match prototype.
19481
cd78f7e7
JM
194822013-10-04 Joseph Myers <joseph@codesourcery.com>
19483
29d73d86
JM
19484 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
19485 Move -mhard-float appending from
19486 ports/sysdeps/powerpc/powerpc32/Makefile.
19487 [$(with-fp) = yes] (ASFLAGS): Likewise.
19488 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
19489 * sysdeps/powerpc/nofpu: Move directory from
19490 ports/sysdeps/powerpc/nofpu.
19491 * sysdeps/powerpc/soft-fp: Move directory from
19492 ports/sysdeps/powerpc/soft-fp.
19493 * sysdeps/powerpc/powerpc32/405: Move directory from
19494 ports/sysdeps/powerpc/powerpc32/405.
19495 * sysdeps/powerpc/powerpc32/440: Move directory from
19496 ports/sysdeps/powerpc/powerpc32/440.
19497 * sysdeps/powerpc/powerpc32/464: Move directory from
19498 ports/sysdeps/powerpc/powerpc32/464.
19499 * sysdeps/powerpc/powerpc32/476: Move directory from
19500 ports/sysdeps/powerpc/powerpc32/476.
19501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
19502 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
19503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
19504 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
19505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
19506 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
19507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
19508 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
19509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
19510 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
19511 * README: Update for powerpc-*-linux-gnu software floating point
19512 support in libc.
19513
e246b347
JM
19514 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
19515 case to powerpc/powerpc32*.
19516 * sysdeps/unix/sysv/linux/configure: Regenerated.
19517
89c2003e
JM
19518 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
19519 (_FPU_MASK_OM): Define as 0x04.
19520 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
19521 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
19522 0x00c10080.
19523 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
19524 0x0000003c.
19525 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
19526
cd78f7e7
JM
19527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
19528 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19529 getcontext_e500.
19530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
19531 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19532 setcontext_e500.
19533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
19534 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
19535 and setcontext_e500.
19536
c755294d
CL
195372013-10-04 Chris Leonard <cjl@sugarlabs,.org>
19538
19539 * locale/iso-3166.def: Update iso-1366.def and related occurrences
19540
e16d221c
SP
195412013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19542
19543 * manual/threads.texi (Default Thread Attributes): Fix typo.
19544
215c7d43
WN
195452013-10-04 Will Newton <will.newton@linaro.org>
19546
19547 * malloc/Makefile: Add tst-memalign.
19548 * malloc/tst-memalign.c: New file.
19549
27d0461b
WN
19550 * malloc/tst-posix_memalign.c: Add comments.
19551 (do_test): Add comments and call free on all potentially
19552 allocated pointers. Add space after cast.
19553
1bc92709
WN
19554 * malloc/tst-pvalloc.c: Add comments.
19555 (do_test): Add comments and call free on all potentially
19556 allocated pointers. Remove duplicate check for NULL pointer.
19557 Add space after cast.
19558
66a9be9d
WN
19559 * malloc/tst-valloc.c: Add comments.
19560 (do_test): Add comments and call free on all potentially
19561 allocated pointers. Remove duplicate check for NULL pointer.
19562 Add space after cast.
19563
4cb81307
AM
195642013-10-04 Alan Modra <amodra@gmail.com>
19565
19566 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19567 Use stdint types in rather than __attribute__((mode())).
19568 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19569
f8e3e9f3
AM
195702013-10-04 Alan Modra <amodra@gmail.com>
19571
19572 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19573 Correct handling of unaligned relocs for little-endian.
19574 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19575
8f9ebb08
AM
195762013-10-04 Alan Modra <amodra@gmail.com>
19577
19578 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
19579 * configure: Regenerate.
19580 * nptl/shlib-versions: Powerpc*le starts at 2.18.
19581 * shlib-versions: Likewise.
19582
0edf96c2
AM
195832013-10-04 Alan Modra <amodra@gmail.com>
19584
19585 * string/tester.c (test_memrchr): Increment reported test cycle.
19586
e0f7a380
AM
195872013-10-04 Alan Modra <amodra@gmail.com>
19588
19589 * string/test-memcpy.c (do_one_test): When reporting errors, print
19590 string address and don't overrun end of string.
19591
466b0393
AM
195922013-10-04 Alan Modra <amodra@gmail.com>
19593
19594 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
19595 insrdi. Make better use of reg selection to speed exit slightly.
19596 Schedule entry path a little better. Remove useless "are we done"
19597 checks on entry to main loop. Handle wrapping around zero address.
19598 Correct main loop count. Handle single left-over word from main
19599 loop inline rather than by using loop_small. Remove extra word
19600 case in loop_small caused by wrong loop count. Add little-endian
19601 support.
19602 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19603 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
19604 cache hint.
19605 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19606 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
19607 support. Avoid rlwimi.
19608 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
19609
3be87c77
AM
196102013-10-04 Alan Modra <amodra@gmail.com>
19611
19612 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 19613 insrdi. Formatting.
3be87c77
AM
19614 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
19615 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19616 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
19617 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19618 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19619 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
19620
759cfef3
AM
196212013-10-04 Alan Modra <amodra@gmail.com>
19622
19623 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
19624 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19625 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
19626 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
19627 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19628 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19629 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19630 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19631 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
19632 use of regs. Use power7 mtocrf. Tidy function tails.
19633
fe6e95d7
AM
196342013-10-04 Alan Modra <amodra@gmail.com>
19635
19636 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
19637 Formatting. Consistently use rXXX register defines or rN defines.
19638 Use early exit labels that avoid restoring unused non-volatile regs.
19639 Make cr field use more consistent with rWORDn compares. Rename
19640 regs used as shift registers for unaligned loop, using rN defines
19641 for short lifetime/multiple use regs.
19642 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19643 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
19644 addi 1,1,64 to pop stack frame. Simplify return value code.
19645 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19646
664318c3
AM
196472013-10-04 Alan Modra <amodra@gmail.com>
19648
19649 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
19650 support. Correct typos, formatting. Optimize tail. Use insrdi
19651 rather than rlwimi.
19652 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
19653 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
19654 little-endian support. Correct typos.
19655 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
19656 rather than rlwimi.
19657 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
19658 in loop and entry code to keep "and." results.
19659 (strchr): Add little-endian support. Comment. Move cntlzd
19660 earlier in tail.
19661 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
19662
43b84013
AM
196632013-10-04 Alan Modra <amodra@gmail.com>
19664
19665 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
19666 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
19667 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19668 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
19669
8a7413f9
AM
196702013-10-04 Alan Modra <amodra@gmail.com>
19671
19672 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
19673 (rTMP): Define as r11.
19674 (strcmp): Add little-endian support. Optimise tail.
19675 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
19676 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19677 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19678 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19679 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19680 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19681 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19682
33ee81de
AM
196832013-10-04 Alan Modra <amodra@gmail.com>
19684
19685 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
19686 little-endian support. Remove unnecessary "are we done" tests.
19687 Handle "s" wrapping around zero and extremely large "size".
19688 Correct main loop count. Handle single left-over word from main
19689 loop inline rather than by using small_loop. Correct comments.
19690 Delete "zero" tail, use "end_max" instead.
19691 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
19692
db9b4570
AM
196932013-10-04 Alan Modra <amodra@gmail.com>
19694
19695 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
19696 support. Don't branch over align.
19697 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
19698 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
19699 support. Rearrange tmp reg use to suit. Comment.
19700 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
19701
f7c399cf
AM
197022013-10-04 Alan Modra <amodra@gmail.com>
19703
19704 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
19705
0b2c2ace
AM
197062013-10-04 Alan Modra <amodra@gmail.com>
19707
19708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
19709 conditional form of branch and link when obtaining pc.
19710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
19711
02f04a6c
AM
197122013-10-04 Alan Modra <amodra@gmail.com>
19713
19714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
19715 HIWORD/LOWORD.
19716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
19717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
19718
9b874b2f
AM
197192013-10-04 Alan Modra <amodra@gmail.com>
19720
19721 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
19722 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
19723 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19724 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
19725 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19726 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19727 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
19728 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19729 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19730 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
19731
be1e5d31
AB
197322013-10-04 Anton Blanchard <anton@au1.ibm.com>
19733 Alistair Popple <alistair@ozlabs.au.ibm.com>
19734 Alan Modra <amodra@gmail.com>
19735
19736 [BZ #15723]
19737 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
19738 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
19739 _dl_hwcap access for little-endian.
19740 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
19741 destroy vmx regs when saving unaligned.
19742 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
19743 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
19744 destroy vmx regs when saving unaligned.
19745
fef13a78
AM
197462013-10-04 Alan Modra <amodra@gmail.com>
19747
19748 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
19749 Don't use a union to pack hi/low value.
19750
76a66d51
AB
197512013-10-04 Anton Blanchard <anton@au1.ibm.com>
19752
19753 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
19754 for little-endian.
19755 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19756 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
19757 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19758 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19759 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19760
6a31fe7f
AM
197612013-10-04 Alan Modra <amodra@gmail.com>
19762
19763 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
19764 constants to usual value for .cst8 section, and remove redundant
19765 high address load.
19766 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
19767 constant for 0x1p52. Load little-endian words of double from
19768 correct stack offsets.
19769
7b88401f
AM
197702013-10-04 Alan Modra <amodra@gmail.com>
19771
19772 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
19773 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
19774 words of double from correct stack offsets.
19775 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19776 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
19777 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19778 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19779 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19780 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19781 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19782 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19783 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19784 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19785 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19786 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19787 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19788 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19789 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19790 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
19791 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19792
9c008155
AM
197932013-10-04 Alan Modra <amodra@gmail.com>
19794
19795 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
19796 64-bit int/double union.
19797 (_FPU_SETCW): Likewise.
19798 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
19799 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
19800
da13146d
AM
198012013-10-04 Alan Modra <amodra@gmail.com>
19802
19803 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
19804 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
19805
603e8410
AM
198062013-10-04 Alan Modra <amodra@gmail.com>
19807
19808 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
19809 use vector int constants.
19810 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
19811
4a28b3ca
AB
198122013-10-04 Anton Blanchard <anton@au1.ibm.com>
19813
19814 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
19815 array with long long.
19816 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
19817 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
19818 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
19819 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
19820 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
19821 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
19822 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
19823 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
19824 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
19825 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
19826 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
19827 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
19828 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
19829
2ca85d2b
AB
198302013-10-04 Anton Blanchard <anton@au1.ibm.com>
19831
19832 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
19833 (__signbit): Likewise. Correct for little-endian.
19834 (__signbitl): Call __signbit.
19835 (lrint): Correct for little-endian.
19836 (lrintf): Call lrint.
19837
62a728ae
AM
198382013-10-04 Alan Modra <amodra@gmail.com>
19839
19840 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
19841 union 32-bit int array member with 64-bit int array.
19842 (t515, tm256): Double rather than long double.
19843 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
19844
32c301df
AM
198452013-10-04 Alan Modra <amodra@gmail.com>
19846
19847 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
19848 Delete.
19849 (IEEE854_LONG_DOUBLE_BIAS): Delete.
19850 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
19851 version of math_ldbl.h.
19852
650ef4bd
AM
198532013-10-04 Alan Modra <amodra@gmail.com>
19854
19855 [BZ #15734], [BZ #15735]
19856 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
19857 all uses of ieee875 long double macros and unions. Simplify test
19858 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
19859 ldbl_extract_mantissa value for ix,iy exponents. Properly
19860 normalize after ldbl_extract_mantissa, and don't add hidden bit
19861 already handled. Don't treat low word of ieee854 mantissa like
19862 low word of IBM long double and mask off bit when testing for
19863 zero.
19864 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
19865 all uses of ieee875 long double macros and unions. Simplify tests
19866 for 0.0L and inf. Correct double adjustment of k. Delete dead code
19867 adjusting ha,hb. Simplify code setting kld. Delete two600 and
19868 two1022, instead use their values. Recognise that tests for large
19869 "a" and small "b" are mutually exclusive. Rename vars. Comment.
19870 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
19871 Rewrite all uses of ieee875 long double macros and unions. Simplify
19872 test for 0.0L and nan. Correct negation.
19873 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
19874 ieee875 long double macros and unions. Correct output for large
19875 magnitude x. Correct absolute value calculation.
19876 (__erfcl): Likewise.
19877 * math/libm-test.inc: Add tests for errors discovered in IBM long
19878 double versions of fmodl, remainderl, erfl and erfcl.
19879
765714ca
AM
198802013-10-04 Alan Modra <amodra@gmail.com>
19881
19882 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
19883 all uses of ieee854 long double macros and unions. Simplify tests
19884 for long doubles that are fully specified by the high double.
19885 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19886 Likewise.
19887 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
19888 Remove dead code too.
19889 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19890 (__ieee754_ynl): Likewise.
19891 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
19892 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
19893 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19894 Remove dead code too.
19895 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19896 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
19897 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19898 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
19899 Simplify.
19900 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
19901 Simplify.
19902 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
19903 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
19904 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
19905 Comment on variable precision.
19906 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
19907 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19908 Likewise.
19909 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19910 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19911 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19912 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19913 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
19914
4ebd120c
AM
199152013-10-04 Alan Modra <amodra@gmail.com>
19916
19917 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
19918 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
19919 all uses of ieee854 long double macros and unions.
19920 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19921 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19922 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
19923 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
19924 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
19925 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19926 Likewise.
19927 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
19928 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19929 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
19930 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19931 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19932 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19933 Simplify sign and nan test too.
19934 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
19935 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19936 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
19937 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19938 Likewise.
19939 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19940 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
19941 Likewise.
19942 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19943 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19944 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
19945 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
19946 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
19947 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
19948
1b6adf88
AM
199492013-10-04 Alan Modra <amodra@gmail.com>
19950
19951 * stdio-common/printf_size.c (__printf_size): Don't use
19952 union ieee854_long_double in fpnum union.
19953 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
19954 signbit macro to retrieve sign from long double.
19955 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
19956 retrieve sign from long double.
19957 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
19958 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
19959 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
19960 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19961 * math/test-misc.c (main): Don't use union ieee854_long_double.
19962
4cf69995
AM
199632013-10-04 Alan Modra <amodra@gmail.com>
19964
19965 [BZ #15680]
19966 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
19967 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
19968 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
19969 calculation. Remove unnecessary test for denormal exponent.
19970 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
19971 Correct handling of denormals. Avoid undefined shift behaviour.
19972 Correct normalisation of low mantissa when low double is denormal.
19973 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
19974 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
19975 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
19976 Correct normalisation of low mantissa. Test for overflow of high
19977 mantissa and normalise.
19978 (ldbl_nearbyint): Use more readable constant for two52.
19979 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
19980 (__mpn_construct_long_double): Fix test for overflow of high
19981 mantissa and correct normalisation. Avoid undefined shift.
19982
9605ca6c
AM
199832013-10-04 Alan Modra <amodra@gmail.com>
19984
19985 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19986 (union ibm_extended_long_double): Define as an array of ieee754_double.
19987 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19988 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19989 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19990 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19991 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19992 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19993 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19994 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19995 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19996 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19997 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19998
975569d0
JM
199992013-10-03 Joseph Myers <joseph@codesourcery.com>
20000
d3d23756
JM
20001 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20002 page size instead of calling getpagesize.
20003
975569d0
JM
20004 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
20005 (LOCFILE_ALIGN_MASK): Likewise.
20006 (LOCFILE_ALIGN_UP): Likewise.
20007 (LOCFILE_ALIGNED_P): Likewise.
20008 * locale/programs/ld-collate.c (collate_output): Use the new
20009 macros instead of __alignof__ (int32_t).
20010 * locale/weight.h (findidx): Likewise.
20011
b1fe1f2b
OB
200122013-10-03 Ondřej Bílka <neleai@seznam.cz>
20013
20014 [BZ #431]
20015 * manual/string.texi: Fix strncat and wcsncat.
20016
5f855e35
BM
200172013-10-03 Brooks Moses <bmoses@google.com>
20018
20019 [BZ #15915]
20020 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
20021 * Makerules: ...here, and adjust associated comments.
20022
3cef6009
WN
200232013-10-02 Will Newton <will.newton@linaro.org>
20024
20025 * malloc/Makefile: Add tst-pvalloc.
20026 * malloc/tst-pvalloc.c: New file.
20027
7815420b
WN
200282013-10-02 Will Newton <will.newton@linaro.org>
20029
20030 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
20031 improve test coverage.
20032
4868b204
WN
200332013-10-02 Will Newton <will.newton@linaro.org>
20034
20035 * malloc/Makefile: Add tst-posix_memalign.
20036 * malloc/tst-posix_memalign.c: New file.
20037
29c793b3
EB
200382013-10-01 Eric Blake <eblake@redhat.com>
20039
20040 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
20041 Use __THROWNL rather than __THROW on static functions.
20042
fd967522
PM
200432013-09-30 Petr Machata <pmachata@redhat.com>
20044
20045 * elf/elf.h (R_AARCH64_ABS16): New macro.
20046 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20047 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20048 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20049 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
20050 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
20051 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20052 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
20053 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
20054 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
20055 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
20056 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
20057 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
20058 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
20059 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
20060 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
20061 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
20062 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
20063 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
20064 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
20065 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
20066 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
20067 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
20068 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
20069 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
20070 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
20071 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
20072 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
20073 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
20074 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
20075 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
20076 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
20077 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
20078 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
20079 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
20080 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
20081 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
20082 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
20083 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
20084 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
20085 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
20086 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20087 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20088 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20089 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20090 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20091 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20092 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20093 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20094 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20095 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20096 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20097 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20098 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20099 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20100 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20101 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20102 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20103 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20104 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20105 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20106 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20107 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20108 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20109 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20110 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20111 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20112 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20113 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20114 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20115 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20116 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20117 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20118 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20119 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20120 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20121 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20122 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20123 (R_AARCH64_TLSDESC_LDR): Likewise.
20124 (R_AARCH64_TLSDESC_ADD): Likewise.
20125 (R_AARCH64_TLSDESC_CALL): Likewise.
20126
b2179107
AS
201272013-09-30 Andreas Schwab <schwab@suse.de>
20128
20129 [BZ #15048]
20130 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20131 the nss database lookup.
20132 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20134
47f28d0a
MF
201352013-09-28 Mike Frysinger <vapier@gentoo.org>
20136
20137 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20138
201392013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
20140
20141 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20142 ${Bash-specific parameter/pattern/string} parameter expansion.
20143 * sysdeps/unix/make-syscalls.sh: Likewise.
20144
f4518a17
KK
201452013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20146
20147 * sysdeps/sh/stackguard-macros.h: New file.
20148
dc1a95c7
OB
201492013-09-26 Ondřej Bílka <neleai@seznam.cz>
20150
20151 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20152 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
20153 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20154 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
20155 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20156 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
20157
5ebbff8f
AZ
201582013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20159
20160 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
20161 Fix thread ID register.
20162
4fd2cf9f
JM
201632013-09-25 Joseph Myers <joseph@codesourcery.com>
20164
20165 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
20166 [POSIX || UNIX98]: Require rather than permitting all symbols from
20167 <time.h>.
20168 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
20169 element of struct sched_param.
20170 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
20171 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
20172 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
20173 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
20174 constant.
20175
12c22bc4
OL
201762013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
20177
20178 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
20179 argument calculation.
20180
a03d8ea7
JM
201812013-09-24 Joseph Myers <joseph@codesourcery.com>
20182
20183 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
20184 Expect macro.
20185 [POSIX] (pthread_attr_t): Do not require type.
20186 [POSIX] (pthread_cond_t): Likewise.
20187 [POSIX] (pthread_condattr_t): Likewise.
20188 [POSIX] (pthread_key_t): Likewise.
20189 [POSIX] (pthread_mutex_t): Likewise.
20190 [POSIX] (pthread_mutexattr_t): Likewise.
20191 [POSIX] (pthread_once_t): Likewise.
20192 [POSIX] (pthread_t): Likewise.
20193 [POSIX-based standards] (pthread_atfork): Expect function.
20194
6055173a
JM
201952013-09-24 Joseph Myers <joseph@codesourcery.com>
20196 Richard Sandiford <richard@codesourcery.com>
20197
20198 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
20199 (swap_endianness_p): New extern variable.
20200 (set_big_endian): New inline function.
20201 (maybe_swap_uint32): Likewise.
20202 (maybe_swap_uint32_array): Likewise.
20203 (maybe_swap_uint32_obstack): Likewise.
20204 * locale/programs/locfile.c: Include <stdbool.h>.
20205 (swap_endianness_p): New variable.
20206 (add_locale_uint32): Call maybe_swap_uint32.
20207 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
20208 (write_locale_data): Call maybe_swap_uint32_array.
20209 * locale/programs/ld-collate.c (obstack_int32_grow): Call
20210 maybe_swap_uint32.
20211 (obstack_int32_grow_fast): Likewise.
20212 (output_weightwc): Call maybe_swap_uint32_obstack.
20213 (collate_output): Likewise.
20214 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
20215 (OPT_LITTLE_ENDIAN): Likewise.
20216 (options): Add --little-endian and --big-endian options.
20217 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
20218 * locale/programs/locarchive.c: Include "locfile.h".
20219 (GET): New macro.
20220 (SET): Likewise.
20221 (INC): Likewise.
20222 (create_archive): Use the new macros to access fields of
20223 structures directly mapped from or written to locale archives.
20224 (oldlocrecentcmp): Likewise.
20225 (enlarge_archive): Likewise.
20226 (insert_name): Likewise.
20227 (add_alias): Likewise.
20228 (add_locale): Likewise.
20229 (delete_locales_from_archive): Likewise.
20230 (show_archive_content): Likewise.
20231 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
20232 locale data.
20233
39bf0bb4
RM
202342013-09-24 Roland McGrath <roland@hack.frob.com>
20235
20236 * manual/freemanuals.texi: Updated from (newly) canonical copy at
20237 http://www.gnu.org/doc/freemanuals.texi.
20238 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
20239
f02eed10
WN
202402013-09-24 Will Newton <will.newton@linaro.org>
20241
20242 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
20243 macro.
20244
a3a6c312
JM
202452013-09-23 Joseph Myers <joseph@codesourcery.com>
20246
20247 * locale/hashval.h (compute_hashval): Interpret bytes of key as
20248 unsigned char.
20249
107375ac
MR
202502013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
20251
20252 * manual/threads.texi (POSIX Threads): Fix a typo.
20253
141f3a77
SP
202542013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20255
303e567a
SP
20256 [BZ #14547]
20257 * string/tst-strcoll-overflow.c: New test case.
20258 * string/Makefile (xtests): Add tst-strcoll-overflow.
20259 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
20260 cache if string sizes may cause integer overflow.
20261
141f3a77
SP
20262 [BZ #14547]
20263 * string/strcoll_l.c (coll_seq): New members rule, idx,
20264 save_idx and back_us.
20265 (get_next_seq_nocache): New function.
20266 (do_compare_nocache): New function.
20267 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
20268 when malloc fails.
20269
c61b4d41
CD
202702013-09-23 Carlos O'Donell <carlos@redhat.com>
20271
0b1f8e35
CD
20272 [BZ #15754]
20273 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
20274 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
20275 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
20276
c61b4d41
CD
20277 [BZ #15754]
20278 * elf/Makefile (tests): Add tst-ptrguard1.
20279 (tests-static): Add tst-ptrguard1-static.
20280 (tst-ptrguard1-ARGS): Define.
20281 (tst-ptrguard1-static-ARGS): Define.
20282 * elf/tst-ptrguard1.c: New file.
20283 * elf/tst-ptrguard1-static.c: New file.
20284 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
20285 * sysdeps/i386/stackguard-macros.h: Likewise.
20286 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20287 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20288 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20289 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20290 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20291 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20292
202932013-09-23 Hector Marco <hecmargi@upv.es>
20294 Ismael Ripoll <iripoll@disca.upv.es>
20295 Carlos O'Donell <carlos@redhat.com>
20296
20297 [BZ #15754]
20298 * sysdeps/generic/stackguard-macros.h: Define
20299 __pointer_chk_guard_local and POINTER_CHK_GUARD.
20300 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
20301 Define __pointer_chk_guard_local.
20302 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
20303 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
20304
f5f4e7b4
VV
203052013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
20306
20307 [BZ #15859]
20308 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
20309
5bb43a43
AS
203102013-09-20 Andreas Schwab <schwab@linux-m68k.org>
20311
20312 * include/string.h (__ffs): Declare as hidden.
20313 * string/ffs.c (__ffs): Define as hidden.
20314 * sysdeps/i386/ffs.c (__ffs): Likewise.
20315 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20316 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
20317 * sysdeps/s390/ffs.c (__ffs): Likewise.
20318 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
20319
3ea5be54
AO
203202013-09-20 Alexandre Oliva <aoliva@redhat.com>
20321
ffb89e53
AO
20322 * NEWS: Mention malloc probes.
20323
322dea08
AO
20324 * malloc/arena.c (new_heap): New memory_heap_new probe.
20325 (grow_heap): New memory_heap_more probe.
20326 (shrink_heap): New memory_heap_less probe.
20327 (heap_trim): New memory_heap_free probe.
20328 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
20329 (systrim): New memory_sbrk_less probe.
20330 * manual/probes.texi: Document them.
20331
655673f3
AO
20332 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
20333 * manual/probes.texi: Document it.
20334
35fed6f1
AO
20335 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
20336 (__libc_realloc): Add memory_realloc_retry probe.
20337 (__libc_memalign): Add memory_memalign_retry probe.
20338 (__libc_valloc): Add memory_valloc_retry probe.
20339 (__libc_pvalloc): Add memory_pvalloc_retry probe.
20340 (__libc_calloc): Add memory_calloc_retry probe.
20341 * manual/probes.texi: Document them.
20342
6999d38c
AO
20343 * malloc/arena.c (get_free_list): Add probe
20344 memory_arena_reuse_free_list.
20345 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
20346 and memory_arena_reuse.
20347 (arena_get2) [!PER_THREAD]: Likewise.
20348 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
20349 memory_arena_reuse_realloc.
20350 * manual/probes.texi: Document them.
20351
0653427f
AO
20352 * malloc/malloc.c (__libc_free): Add
20353 memory_mallopt_free_dyn_thresholds probe.
20354 (__libc_mallopt): Add multiple memory_mallopt probes.
20355 * manual/probes.texi: Document them.
20356
3ea5be54
AO
20357 * malloc/malloc.c: Include stap-probe.h.
20358 (__libc_mallopt): Add memory_mallopt probe.
20359 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
20360 * manual/probes.texi: New.
20361 * manual/Makefile (chapters): Add probes.
20362 * manual/threads.texi: Set next node.
20363
e35696c3 203642013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 20365
e35696c3
CL
20366 [BZ #15963, #13985]
20367 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
20368 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
20369 Add `Chinese' to `nan' entry name.
20370
4aafb73c
SP
203712013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20372
20373 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
20374 (POLYNOMIAL): Likewise.
20375 (TAYLOR_SINCOS): Likewise.
20376 (TAYLOR_SLOW): Likewise.
20377 (__sin): Use TAYLOR_SINCOS.
20378 (__cos): Likewise.
20379 (slow): Use TAYLOR_SLOW.
20380 (sloww): Likewise.
20381 (bsloww): Likewise.
20382 (csloww): Likewise.
20383
d84f25c7
LD
203842013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20385
20386 * stdlib/strtod_l.c: Fix buffer overrun.
20387
5eea0404
SP
203882013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20389
7849ff93
SP
20390 * benchtests/Makefile (bench): Add sincos.
20391 * benchtests/bench-sincos.c: New file.
20392
cfa3c886
SP
20393 * math/libm-test.inc (cos_test_data): New test inputs.
20394 (sin_test_data): Likewise.
20395
b348e1e3
SP
20396 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
20397 macro.
20398 (__sin): Use it.
20399 (__cos): Likewise.
20400 (slow1): Likewise.
20401 (slow2): Likewise.
20402 (sloww1): Likewise.
20403 (sloww2): Likewise.
20404 (bsloww1): Likewise.
20405 (bsloww2): Likewise.
20406 (cslow2): Likewise.
20407 (csloww1): Likewise.
20408 (csloww2): Likewise.
20409
6cce25f8
SP
20410 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
20411 function.
20412 (__sin): Use it.
20413 (__cos): Likewise.
20414
5eea0404
SP
20415 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
20416 gotos.
20417 (__cos): Likewise.
20418
9c21573c
MR
204192013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
20420
20421 * config.h.in (HAVE_MIPS_NAN2008): New macro.
20422 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
20423 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
20424 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
20425 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
20426 * elf/cache.c (print_entry): Handle the new cache flags.
20427
24d22e65
JM
204282013-09-18 Joseph Myers <joseph@codesourcery.com>
20429 Aldy Hernandez <aldyh@redhat.com>
20430
20431 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
20432 Change condition to [_SOFT_FLOAT].
20433 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
20434 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
20435 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
20436 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
20437 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
20438 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
20439 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
20440 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
20441 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
20442 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
20443 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
20444 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
20445 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
20446 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
20447 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
20448 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
20449 declaration.
20450
d13ef066
JM
204512013-09-18 Joseph Myers <joseph@codesourcery.com>
20452
2e071de0
JM
20453 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
20454 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20455 (__longjmp): Use LOAD_GP to load saved GPRs.
20456 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
20457 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20458 (__sigsetjmp): Use SAVE_GP to save GPRs.
20459
d13ef066
JM
20460 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
20461 Do not append -msoft-float.
20462 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
20463
97a0650b
SP
204642013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20465
20466 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
20467
11ca09e9
JM
204682013-09-17 Joseph Myers <joseph@codesourcery.com>
20469
20470 [BZ #15966]
20471 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
20472 (_FPU_GETCW): Use initial "__" on variable and field names but not
20473 on macro parameter name.
20474 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
20475 parentheses around reference to macro parameter.
20476
08ffcf34
RS
204772013-09-13 Richard Sandiford <richard@codesourcery.com>
20478
20479 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
20480 prototype.
20481 (ctype_startup): Use uint32_t in cast and sizeof for
20482 ctype->charnames.
20483
ae7080d3
JL
204842013-09-11 Jia Liu <proljc@gmail.com>
20485
20486 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
20487 __daddr_t_defined.
20488 [__FreeBSD__]: Likewise.
20489
5905e7b3
OB
204902013-09-11 Ondřej Bílka <neleai@seznam.cz>
20491
20492 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20493 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
20494 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
20495 (strchr): Remove __strchr_sse42 ifunc selection.
20496 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
20497 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
20498
b987c776
WN
204992013-09-11 Will Newton <will.newton@linaro.org>
20500
20501 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
20502 parameter to RES. Remove hardcoded 1000 value.
20503 * benchtests/bench-skeleton.c (main): Pass RES parameter
20504 to TIMING_INIT and multiply result by 1000.
20505
ddf985af
AZ
205062013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20507
20508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20509
ffdd3181
AS
205102013-09-11 Andreas Schwab <schwab@suse.de>
20511
20512 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20513 if not defined.
20514 (O_TMPFILE) [__USE_GNU]: Define.
20515 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
20516 Define.
20517
b73ed247
WN
205182013-09-11 Will Newton <will.newton@linaro.org>
20519
20520 [BZ #15857]
20521 * malloc/malloc.c (__libc_memalign): Check the value of bytes
20522 does not overflow.
20523
55e17aad
WN
205242013-09-11 Will Newton <will.newton@linaro.org>
20525
20526 [BZ #15856]
20527 * malloc/malloc.c (__libc_valloc): Check the value of bytes
20528 does not overflow.
20529
1159a193
WN
205302013-09-11 Will Newton <will.newton@linaro.org>
20531
20532 [BZ #15855]
20533 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
20534 does not overflow.
20535
5905e7b3 205362013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
20537
20538 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
20539 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20540 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20541 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20542 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20543
cdfc721b
AM
205442013-09-10 Allan McRae <allan@archlinux.org>
20545
aa04af00
AM
20546 [BZ #15748]
20547 * manual/arith.texi (Parsing of Floats): Clarify
20548 cross-reference.
20549
cdfc721b
AM
20550 [BZ #15849]
20551 * manual/install.texi (Running make install): Mention
20552 --enable-pt-chown.
20553 * INSTALL: Regenerated.
20554
95e7cf29
MR
205552013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
20556
20557 * csu/init-first.c (_init): Remove the !SHARED condition around
20558 FPU control word initialization.
20559 * elf/dl-support.c (_dl_fpu_control): New variable.
20560 (_dl_aux_init) <AT_FPUCW>: Initialize it.
20561 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
20562 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
20563 * math/test-fpucw-static.c: New file.
20564 * math/test-fpucw-ieee.c: New file.
20565 * math/test-fpucw-ieee-static.c: New file.
20566 * math/Makefile (tests): Add `test-fpucw-ieee' and
20567 `$(tests-static)'.
20568 (tests-static): New variable.
20569 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
20570 dependency to...
20571 [($(build-shared),yes)]
20572 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20573 ... this.
20574 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
20575 New dependency.
20576
83e43bf0
AM
205772013-09-09 Allan McRae <allan@archlinux.org>
20578
a9f5ce09
AM
20579 [BZ #15939]
20580 * manual/string.texi (Collation Functions): Fix typo in
20581 strcoll example.
20582 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
20583
34829bc2
AM
20584 [BZ #15893]
20585 * stdlib/isomac.c (get_null_defines): Fix memory leak.
20586
3932737d
AM
20587 [BZ #15892]
20588 * libio/memstream.c (open_memstream): Fix memory leak.
20589 * libio/wmemstream.c (open_wmemstream): Likewise.
20590
83e43bf0
AM
20591 [BZ #15895]
20592 * nscd/netgroupcache.c: Fix nesting of ifdefs.
20593
0c66b8e9
WN
205942013-09-09 Will Newton <will.newton@linaro.org>
20595
20596 * malloc/Makefile: Add tst-realloc to tests.
20597 * malloc/tst-realloc.c: New file.
20598
f6b00fd1
AM
205992013-09-09 Allan McRae <allan@archlinux.org>
20600
20601 [BZ #15844]
20602 * COPYING: Update from GNU website to fix FSF address.
20603 * COPYING.LIB: Likewise.
20604
eec55e16
DM
206052013-09-06 David S. Miller <davem@davemloft.net>
20606
20607 * po/zh_TW.po: Update Chinese (traditional) translation from
20608 translation project.
20609
1ecbb381
RS
206102013-09-06 Richard Sandiford <richard@codesourcery.com>
20611 Joseph Myers <joseph@codesourcery.com>
20612
20613 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
20614 "localeinfo.h".
20615 (obstack_chunk_alloc): New macro.
20616 (obstack_chunk_free): Likewise.
20617 (record_offset): New function.
20618 (init_locale_data): Likewise.
20619 (align_locale_data): Likewise.
20620 (add_locale_empty): Likewise.
20621 (add_locale_raw_data): Likewise.
20622 (add_locale_raw_obstack): Likewise.
20623 (add_locale_string): Likewise.
20624 (add_locale_wstring): Likewise.
20625 (add_locale_uint32): Likewise.
20626 (add_locale_uint32_array): Likewise.
20627 (add_locale_char): Likewise.
20628 (start_locale_structure): Likewise.
20629 (end_locale_structure): Likewise.
20630 (start_locale_prelude): Likewise.
20631 (end_locale_prelude): Likewise.
20632 (write_locale_data): Take locale_file structure rather than an
20633 iovec.
20634 * locale/programs/locfile.h: Include "obstack.h".
20635 (struct locale_file): Change to store locale file contents instead
20636 of header.
20637 (init_locale_data): New prototype.
20638 (align_locale_data): Likewise.
20639 (add_locale_empty): Likewise.
20640 (add_locale_raw_data): Likewise.
20641 (add_locale_raw_obstack): Likewise.
20642 (add_locale_string): Likewise.
20643 (add_locale_wstring): Likewise.
20644 (add_locale_uint32): Likewise.
20645 (add_locale_uint32_array): Likewise.
20646 (add_locale_char): Likewise.
20647 (start_locale_structure): Likewise.
20648 (end_locale_structure): Likewise.
20649 (start_locale_prelude): Likewise.
20650 (end_locale_prelude): Likewise.
20651 (write_locale_data): Update prototype.
20652 * locale/programs/3level.h (struct TABLE): Remove result field.
20653 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
20654 Use new locale_file interface.
20655 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
20656 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
20657 * locale/programs/ld-address.c (address_output): Use new
20658 locale_file interface.
20659 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
20660 NO_ADD_LOCALE.
20661 (collate_finish): Don't call collseq_table_finalize.
20662 (collate_output): Use new locale_file interface.
20663 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
20664 in file.
20665 (NO_FINALIZE): Change to NO_ADD_LOCALE.
20666 (TABLE): Move defines earlier in file.
20667 (ELEMENT): Likewise.
20668 (DEFAULT): Likewise.
20669 (wctrans_table_add): Move macro and inline function earlier in
20670 file.
20671 (struct wctype_table): Move type earlier in file.
20672 (add_locale_wctype_table): New static prototype.
20673 (struct locale_ctype_t): Use logical types instead of struct iovec
20674 pointers for members.
20675 (ctype_output): Use new locale_file interface.
20676 (wctype_table_finalize): Change to add_locale_wctype_table. Use
20677 new locale_file interface.
20678 (allocate_arrays): Update for use of new locale_file interface.
20679 * locale/programs/ld-identification.c (identification_output): Use
20680 new locale_file interface.
20681 * locale/programs/ld-measurement.c (measurement_output): Likewise.
20682 * locale/programs/ld-messages.c (messages_output): Likewise.
20683 * locale/programs/ld-monetary.c (monetary_output): Likewise.
20684 * locale/programs/ld-name.c (name_output): Likewise.
20685 * locale/programs/ld-numeric.c (numeric_output): Likewise.
20686 * locale/programs/ld-paper.c (paper_output): Likewise.
20687 * locale/programs/ld-telephone.c (telephone_output): Likewise.
20688 * locale/programs/ld-time.c (time_output): Likewise.
20689
e029e2e5
AZ
206902013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20691
20692 * benchtests/Makefile: Add memrchr benchmark.
20693 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
20694 benchmark as memrchr.
20695 * benchtests/bench-memrchr-ifunc.c: New file.
20696 * benchtests/bench-memrchr.c: New file.
20697
bbf6e8e4
WN
206982013-09-06 Will Newton <will.newton@linaro.org>
20699
20700 * benchtests/Makefile (string-bench): Add memcpy.
20701
6c82a2f8
CD
207022013-09-05 Carlos O'Donell <carlos@redhat.com>
20703 Cong Wang <amwang@redhat.com>
20704
e732c5f0 20705 [BZ #15850]
6c82a2f8
CD
20706 * sysdeps/unix/sysv/linux/bits/in.h
20707 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
20708 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
20709 before __USE_KERNEL_IPV6_DEFS uses.
20710 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
20711 IPPROTO_BEETPH.
20712 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
20713 sockaddr_in6, or ipv6_mreq.
20714
5430fc65
AZ
207152013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20716
20717 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
20718 memory access for final bytes in some large inputs.
20719 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
20720
4660856c
AZ
207212013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20722
20723 * string/test-memrchr.c: New file.
20724 * string/test-memrchr-ifunc.c: New file.
20725 * string/Makefile: Add new memrchr testcase.
20726
bb8ea713
MF
207272013-09-05 Mike Frysinger <vapier@gentoo.org>
20728
20729 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
20730 fanotify_init returns EPERM.
20731
b92a20b5
JM
207322013-09-04 Joseph Myers <joseph@codesourcery.com>
20733
20734 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
20735 errors.
20736 (top level): Treat second token from macro or constant entries for
20737 allowed headers as allowed.
20738 * include/complex.h: Condition internal declarations on
20739 [!_ISOMAC].
20740 * include/fenv.h: Condition include of <stdbool.h> and internal
20741 declarations on [!_ISOMAC].
7447ccd9
CL
20742
207432013-09-04 Chris Leonard <cjl@sugarlabs,.org>
20744
3e181dda 20745 [BZ #15923]
7447ccd9
CL
20746 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
20747
3f2e46a4
JM
207482013-09-04 Joseph Myers <joseph@codesourcery.com>
20749
20750 * configure.in (--enable-versioning): Remove configure option.
20751 (libc_cv_asm_symver_directive): Remove configure test.
20752 (libc_cv_ld_version_script_option): Likewise.
20753 (VERSIONING): Remove variable and AC_SUBST.
20754 (DO_VERSIONING): Remove AC_DEFINE.
20755 * configure: Regenerated.
20756 * config.h.in (DO_VERSIONING): Remove macro.
20757 * Makerules [$(versioning) = yes]: Change conditionals to
20758 [$(build-shared) = yes].
20759 * config.make.in (versioning): Remove variable.
20760 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
20761 [$(build-shared) = yes].
20762 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
20763 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
20764 * elf/Makefile [$(versioning) = yes]: Change conditionals to
20765 [$(build-shared) = yes].
20766 * extra-lib.mk [$(versioning) = yes]: Likewise.
20767 * hurd/Makefile [$(versioning) = yes]: Likewise.
20768 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
20769 [SHARED].
20770 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
20771 [SHARED].
20772 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20773 [SHARED && !NO_HIDDEN].
20774 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
20775 [SHARED].
20776 [SHARED && DO_VERSIONING]: Likewise..
20777 * libio/Makefile [$(versioning) = yes]: Change conditionals to
20778 [$(build-shared) = yes].
20779 * manual/install.texi (--disable-versioning): Remove
20780 documentation.
20781 * INSTALL: Regenerated.
20782 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
20783 to [SHARED].
20784 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
20785 [$(build-shared) = yes].
20786 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
20787 * sysdeps/i386/i686/multiarch/strstr-c.c
20788 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20789 [SHARED && !NO_HIDDEN].
20790 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
20791 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
20792 * sysdeps/powerpc/powerpc32/dl-machine.c
20793 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
20794 * sysdeps/powerpc/powerpc32/sysdep.h
20795 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
20796 to [SHARED && PIC && !NO_HIDDEN].
20797 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
20798 conditional to [SHARED].
20799
44558701
WN
208002013-09-04 Will Newton <will.newton@linaro.org>
20801
20802 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
20803 * benchtests/bench-string.h: Include bench-timing.h instead
20804 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
20805 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
20806 call to HP_TIMING_DIFF_INIT.
20807 * benchtests/bench-memccpy.c: Use bench-timing.h macros
20808 instead of hp-timing.h macros.
20809 * benchtests/bench-memchr.c: Likewise.
20810 * benchtests/bench-memcmp.c: Likewise.
20811 * benchtests/bench-memcpy.c: Likewise.
20812 * benchtests/bench-memmem.c: Likewise.
20813 * benchtests/bench-memmove.c: Likewise.
20814 * benchtests/bench-memset.c: Likewise.
20815 * benchtests/bench-rawmemchr.c: Likewise.
20816 * benchtests/bench-strcasecmp.c: Likewise.
20817 * benchtests/bench-strcasestr.c: Likewise.
20818 * benchtests/bench-strcat.c: Likewise.
20819 * benchtests/bench-strchr.c: Likewise.
20820 * benchtests/bench-strcmp.c: Likewise.
20821 * benchtests/bench-strcpy.c: Likewise.
20822 * benchtests/bench-strcpy_chk.c: Likewise.
20823 * benchtests/bench-strlen.c: Likewise.
20824 * benchtests/bench-strncasecmp.c: Likewise.
20825 * benchtests/bench-strncat.c: Likewise.
20826 * benchtests/bench-strncmp.c: Likewise.
20827 * benchtests/bench-strncpy.c: Likewise.
20828 * benchtests/bench-strnlen.c: Likewise.
20829 * benchtests/bench-strpbrk.c: Likewise.
20830 * benchtests/bench-strrchr.c: Likewise.
20831 * benchtests/bench-strspn.c: Likewise.
20832 * benchtests/bench-strstr.c: Likewise.
20833
cae16d66
WN
208342013-09-04 Will Newton <will.newton@linaro.org>
20835
20836 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
20837
ffa3cd7f
JM
208382013-09-03 Joseph Myers <joseph@codesourcery.com>
20839
20840 [BZ #15427]
20841 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20842 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
20843 * math/libm-test.inc (lgamma_test_data): Add more tests.
20844 * sysdeps/i386/fpu/libm-test-ulps: Update.
20845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20846
8f02859f
OB
208472013-09-03 Ondřej Bílka <neleai@seznam.cz>
20848
20849 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
20850 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20851 Add ifunc.
20852 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20853 Add strcmp-sse2-unaligned
20854 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
20855
18d43716
MF
208562013-09-02 Mike Frysinger <vapier@gentoo.org>
20857
20858 * Versions.def (libc): Add GLIBC_2.19.
20859
ac444012
MF
208602013-09-02 Mike Frysinger <vapier@gentoo.org>
20861
20862 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
20863 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
20864
b7835e32
JM
208652013-09-02 Joseph Myers <joseph@codesourcery.com>
20866
20867 [BZ #14155]
20868 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
20869 intermediate calculations in recurrence.
20870 (__ieee754_ynf): Likewise.
20871 * math/libm-test.inc (jn_test_data): Do not allow spurious
20872 underflow exception. Add more tests.
20873 (yn_test_data): Add more tests.
20874 * sysdeps/i386/fpu/libm-test-ulps: Update.
20875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20876
8220f4f0
OB
208772013-09-02 Ondřej Bílka <neleai@seznam.cz>
20878
20879 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
20880
f24a6d08
OB
208812013-08-30 Ondřej Bílka <neleai@seznam.cz>
20882
20883 * csu/init-first.c: Fix then/than typos.
20884 * locale/programs/ld-collate.c: Likewise.
20885 * locale/programs/linereader.h: Likewise.
20886 * manual/charset.texi: Likewise.
20887 * manual/filesys.texi: Likewise.
20888 * manual/stdio.texi: Likewise.
20889 * manual/string.texi: Likewise.
20890 * stdlib/fmtmsg.c: Likewise.
20891 * sysdeps/i386/stpncpy.S: Likewise.
20892 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20893 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20894 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20895 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20896
382466e0
OB
208972013-08-30 Ondřej Bílka <neleai@seznam.cz>
20898
20899 * elf/dl-open.c: Fix typos.
20900 * iconvdata/gbbig5.c: Likewise.
20901 * iconvdata/iso-2022-jp.c: Likewise.
20902 * iconv/gconv_int.h: Likewise.
20903 * iconv/loop.c: Likewise.
20904 * nis/rpcsvc/nis.h: Likewise.
20905 * resolv/ns_name.c: Likewise.
20906 * stdio-common/vfscanf.c: Likewise.
20907 * streams/stropts.h: Likewise.
20908 * sunrpc/rpc_thread.c: Likewise.
20909 * sysdeps/i386/strpbrk.S: Likewise.
20910 * sysdeps/ieee754/k_standard.c: Likewise.
20911 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20912 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20913 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
20914 * sysdeps/mach/hurd/profil.c: Likewise.
20915 * sysdeps/s390/dl-procinfo.h: Likewise.
20916 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
20917 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20918 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
20919 * sysdeps/x86_64/dl-trampoline.S: Likewise.
20920 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20921
0186c6e9
OB
209222013-08-30 Ondřej Bílka <neleai@seznam.cz>
20923
20924 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
20925 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
20926
d4e16af1
OB
209272013-08-29 Ondřej Bílka <neleai@seznam.cz>
20928
20929 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
20930 aix specific files.
20931 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
20932 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
20933 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
20934 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
20935 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
20936 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
20937 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
20938 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
20939
88335980
TS
209402013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20941 Roland McGrath <roland@hack.frob.com>
20942
20943 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
20944 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20945
ed479b02
ST
209462013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20947
20948 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
20949 __executable_start symbol instead of _start.
20950
f1cc4c86
TS
209512013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20952
d821f07c
TS
20953 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
20954 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
20955 Move macros to...
20956 * sysdeps/gnu/ldsodefs.h: ... this new file.
20957
c54290cf
TS
20958 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
20959 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
20960 instead of ELFOSABI_LINUX.
20961
0007fc9b 20962 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
20963 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
20964 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
20965 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
20966 Likewise.
20967 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
20968 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
20969 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
20970 Likewise.
20971 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20972 (ibm_extended_long_double): Add ieee_nan member.
20973 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
20974 (do_test): New function.
20975
f1cc4c86
TS
20976 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20977 TEST_TRUNC.
20978 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
20979 functions, renamed from truncdfsf_test, trunctfsf_test,
20980 trunctfdf_test.
20981 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20982 functions.
20983 (do_test): Run all these.
20984
6f65e668
OB
209852013-08-29 Ondřej Bílka <neleai@seznam.cz>
20986
20987 * argp/argp-help.c: Fix typos.
20988 * argp/argp-parse.c: Likewise.
20989 * debug/backtracesyms.c: Likewise.
20990 * elf/elf.h: Likewise.
20991 * malloc/malloc.c: Likewise.
20992 * nis/nis_print.c: Likewise.
20993 * resolv/res_comp.c: Likewise.
20994 * stdlib/stdlib.h: Likewise.
20995 * sunrpc/clnt_tcp.c: Likewise.
20996 * sunrpc/clnt_udp.c: Likewise.
20997 * sunrpc/clnt_unix.c: Likewise.
20998 * sysdeps/unix/bsd/ptsname.c: Likewise.
20999 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21000 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
21001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
21002 Likewise.
21003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
21004 Likewise.
21005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21006 Likewise.
6f65e668
OB
21007 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21008
3a309239
SP
210092013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21010
21011 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
21012 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21013
3b813b29
MF
210142013-08-27 Mike Frysinger <vapier@gentoo.org>
21015
21016 [BZ #15897]
21017 * dlfcn/Makefile (tests): Add bug-dl-leaf.
21018 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
21019 ($(objpfx)bug-dl-leaf): New rule.
21020 ($(objpfx)bug-dl-leaf.so): Likewise.
21021 ($(objpfx)bug-dl-leaf.out): Likewise.
21022 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
21023 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
21024 * dlfcn/bug-dl-leaf.c: New test.
21025 * dlfcn/bug-dl-leaf-lib.c: Likewise.
21026 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
21027 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
21028 (dlclose): Likewise.
21029 (dlmopen): Likewise.
21030
8cc3269f
RM
210312013-08-27 Roland McGrath <roland@hack.frob.com>
21032
7f9d0034
RM
21033 * include/netdb.h [!_ISOMAC]:
21034 Don't include <tls.h>.
21035 (h_errno, __libc_h_errno): Move declaration and macros out of
21036 [_LIBC_REENTRANT].
21037
fb431262
RM
21038 * include/resolv.h [_RESOLV_H_]:
21039 Don't include <tls.h>.
21040 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
21041 * resolv/res_libc.c: Don't include <tls.h>.
21042 (_res): Use __attribute__ ((nocommon)) in place of
21043 __attribute__ ((section (".bss"))).
21044
bd81123a
RM
21045 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21046 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21047
c4e42566
RM
21048 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
21049
f890a59b
RM
21050 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
21051 only under [SIOCGIFCONF && SIOCGIFNETMASK].
21052
21053 * resolv/res_mkquery.c: Include <sys/time.h>.
21054
5d1f0a09
RM
21055 * inet/ifreq.c: Moved to ...
21056 * sysdeps/unix/ifreq.c: ... here.
21057 * inet/ifreq.c: New file, true stub version.
21058
6fcf28b3
RM
21059 * socket/sa_len.c: New file.
21060 * socket/Makefile (aux): Add it.
21061 * sysdeps/unix/sysv/linux/Makefile
21062 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
21063 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
21064 and #include <socket/sa_len.c>.
21065 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
21066 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
21067
e041fb8b
RM
21068 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
21069 * bits/socket.h: ... here.
21070
8cc3269f
RM
21071 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
21072 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21073 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
21074
5d228a43
AS
210752013-08-27 Andreas Schwab <schwab@suse.de>
21076
45b8accc
AS
21077 [BZ #15736]
21078 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
21079 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
21080 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
21081 * string/test-strcasecmp.c (test_main): Run tests in several
21082 locales.
21083 * string/test-strncasecmp.c (test_main): Likewise.
21084
5d228a43
AS
21085 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
21086 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21087 to __strcasecmp_nonascii and __strncasecmp_nonascii.
21088 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21089 (__strncasecmp_ssse3) [PIC]: Likewise.
21090
59d112a4
RM
210912013-08-26 Roland McGrath <roland@hack.frob.com>
21092
53234cc3
RM
21093 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21094
59d112a4
RM
21095 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21096 instead of explicitly declaring xdecrypt.
21097 * nis/nss_nis/nis-publickey.c: Likewise.
21098
595aba70
SP
210992013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21100
21101 [BZ #15890]
21102 * nscd/aicache.c: Include res_hconf.h.
21103 (addhstaiX): Initialize res_hconf.
21104
ffabd393
AS
211052013-08-26 Andreas Schwab <schwab@suse.de>
21106
21107 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21108 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21109
e0a69f5c
SP
211102013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21111
21112 * nscd/aicache.c (addhstaiX): Fix indentation.
21113
8c12f01d
MF
211142013-08-25 Mike Frysinger <vapier@gentoo.org>
21115
21116 * configure.ac: Quote $build_pt_chown test.
21117 * configure: Regenerated.
21118
8fe89494
JM
211192013-08-23 Joseph Myers <joseph@codesourcery.com>
21120
21121 [BZ #15532]
21122 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21123 * math/s_cexpf.c (__cexpf): Likewise.
21124 * math/s_cexpl.c (__cexpl): Likewise.
21125 * math/libm-test.inc (cexp_test_data): Correct expected return
21126 value for NaN + i0. Add another test.
21127
75b181d6
DM
211282013-08-22 David S. Miller <davem@davemloft.net>
21129
21130 * po/ca.po: Update Catalan translation from translation project.
936241e4 21131 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 21132
acd06bb1
JM
211332013-08-21 Joseph Myers <joseph@codesourcery.com>
21134
21135 [BZ #15797]
21136 * math/s_fdim.c (__fdim): Check for infinite arguments if result
21137 is infinite, not alongside NaN test.
21138 * math/s_fdimf.c (__fdimf): Likewise.
21139 * math/s_fdiml.c (__fdiml): Likewise.
21140 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
21141 errno is unchanged.
21142
c0c3f78a
OB
211432013-08-21 Ondřej Bílka <neleai@seznam.cz>
21144
21145 * argp/argp-help.c: Fix typos.
21146 * crypt/speeds.c: Likewise.
21147 * csu/check_fds.c: Likewise.
21148 * elf/dl-load.c: Likewise.
21149 * elf/dl-open.c: Likewise.
21150 * elf/reldep3.c: Likewise.
21151 * elf/reldep.c: Likewise.
21152 * elf/sprof.c: Likewise.
21153 * iconv/iconv_charmap.c: Likewise.
21154 * iconv/skeleton.c: Likewise.
21155 * iconv/strtab.c: Likewise.
21156 * io/lockf64.c: Likewise.
21157 * libio/libioP.h: Likewise.
21158 * resolv/gai_notify.c: Likewise.
21159 * resolv/ns_name.c: Likewise.
21160 * resolv/ns_samedomain.c: Likewise.
21161 * resolv/res_send.c: Likewise.
21162 * stdlib/random.c: Likewise.
21163 * sunrpc/rpc/xdr.h: Likewise.
21164 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
21165 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21166 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21167 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21168 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21169 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21170 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21171 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21172 * sysdeps/mach/hurd/check_fds.c: Likewise.
21173 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21174 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21175 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21176 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21177 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21178 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21179 * sysdeps/pthread/aio_notify.c: Likewise.
21180 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
21181 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
21182 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
21183 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21184 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21185
46ed1038
LD
211862013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21187
21188 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
21189 version if bit_Slow_SSE4_2 is set.
21190 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21191 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21192
d400dcac
AZ
211932013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21194
21195 [BZ #15867]
21196 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
21197 trampoline stack frame information.
21198 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
21199 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
21200 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
21201 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
21202 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
21203 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21204 (_libc_vdso_platform_setup): Initialize the signal trampolines.
21205 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21206 sa_flags value.
21207 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
21208 interrupting a syscall and set with option SA_SIGINFO.
21209
42c8fdd8
JM
212102013-08-20 Joseph Myers <joseph@codesourcery.com>
21211
c980f2f4
JM
21212 [BZ #15531]
21213 * math/s_cproj.c (__cproj): Only return an infinity if one part of
21214 argument is infinite.
21215 * math/s_cprojf.c (__cprojf): Likewise.
21216 * math/s_cprojl.c (__cprojl): Likewise.
21217 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
21218 * math/libm-test.inc (cproj_test_data): Add more tests.
21219
0716c4fc
JM
21220 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
21221
42c8fdd8
JM
21222 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
21223 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
21224 size. Use __ffs to determine corresponding shift.
21225
b31469d0
JM
212262013-08-20 Joseph Myers <joseph@codesourcery.com>
21227 Roland McGrath <roland@hack.frob.com>
21228
21229 * Makefile (INSTALL): Remove trailing blank lines from output of
21230 makeinfo.
21231
4e39af6e
AK
212322013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21233
21234 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
21235 Align 32 bit compat elf_greg to 8 bytes.
21236
f315524e
AA
212372013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
21238
21239 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
21240
1326ba1a
SP
212412013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21242
21243 * string/strcoll_l.c (coll_seq): New structure.
21244 (get_next_seq_cached): New function.
21245 (get_next_seq): New function.
21246 (do_compare): New function.
21247 (STRCOLL): Use GNU style definition. Simplify implementation
21248 by using get_next_seq, get_next_seq_cached and do_compare.
21249
91ce4085
FW
212502013-08-16 Florian Weimer <fweimer@redhat.com>
21251
21252 [BZ #14699]
21253 CVE-2013-4237
21254 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
21255 member.
21256 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
21257 member.
21258 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
21259 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
21260 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
21261 conditional.
21262 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
21263 GETDENTS_64BIT_ALIGNED.
21264 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21265 * manual/filesys.texi (Reading/Closing Directory): Document
21266 ENAMETOOLONG return value of readdir_r. Recommend readdir more
21267 strongly.
21268 * manual/conf.texi (Limits for Files): Add portability note to
21269 NAME_MAX, PATH_MAX.
21270 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
21271
ca0a6bc4
AS
212722013-08-13 Andreas Schwab <schwab@suse.de>
21273
21274 [BZ #15749]
21275 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
21276 of fabs.
21277 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
21278 LDBL_MAX_EXP >= 16384]: Add tests for it.
21279
6c1fd795
DM
212802013-08-12 David S. Miller <davem@davemloft.net>
21281
21282 * version.h (RELEASE): Set to "development".
21283 (VERSION): Set to "2.18.90".
21284 * NEWS: Add 2.19 section.
21285
31ad488d
DM
212862013-08-03 David S. Miller <davem@davemloft.net>
21287
21288 * po/ko.po: Update Korean translation from translation project.
21289
db24e684
DM
212902013-08-01 David S. Miller <davem@davemloft.net>
21291
21292 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
21293 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
21294 Bilka.
21295
f723285b
DM
212962013-07-30 David S. Miller <davem@davemloft.net>
21297
21298 * po/fr.po: Update French translation from translation project.
21299
3cbc52db
DM
213002013-07-28 David S. Miller <davem@davemloft.net>
21301
30bbc0cc
DM
21302 * po/cs.po: Update Czech translation from translation project.
21303
3cbc52db
DM
21304 * po/sv.po: Update Swedish translation from translation project.
21305
d492e6d0
DM
213062013-07-27 David S. Miller <davem@davemloft.net>
21307
f1a7f492
DM
21308 * po/eo.po: Update Esperanto translation from translation project.
21309
90e62a4a
DM
21310 * po/vi.po: Update Vietnamese translation from translation project.
21311
d492e6d0
DM
21312 * po/de.po: Update German translation from translation project.
21313
d4baa62d
DM
213142013-07-26 David S. Miller <davem@davemloft.net>
21315
641aa7b4
DM
21316 * po/bg.po: Update Bulgarian translation from translation project.
21317
d4baa62d
DM
21318 * po/nl.po: Update Dutch translation from translation project.
21319 * po/pl.po: Update Polish translation from translation project.
21320 * po/ru.po: Update Russian translation from translation project.
21321
61a9dcb9
DM
213222013-07-24 David S. Miller <davem@davemloft.net>
21323
21324 * po/libc.pot: Update.
21325
7b1f8b58
AZ
213262013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21327
21328 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
21329 variable page size.
21330 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
21331 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
21332 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
21333
a8fc7a03
AK
213342013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21335
21336 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
21337
e4608715
CD
213382013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21339 Andreas Schwab <schwab@suse.de>
21340 Roland McGrath <roland@hack.frob.com>
21341 Joseph Myers <joseph@codesourcery.com>
21342 Carlos O'Donell <carlos@redhat.com>
21343
21344 [BZ #15755]
21345 * config.h.in: Define HAVE_PT_CHOWN.
21346 * config.make.in (build-pt-chown): New variable.
21347 * configure.in (--enable-pt_chown): New configure option.
21348 * configure: Regenerate.
21349 * login/Makefile: Include Makeconfig. Build pt_chown only if
21350 build-pt-chown is enabled.
21351 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
21352 pt_chown to fix pty ownership.
21353 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
21354 CLOSE_ALL_FDS.
21355 * manual/install.texi (Configuring and compiling): Mention
21356 --enable-pt_chown. Add @findex for grantpt.
21357 * INSTALL: Regenerate.
21358
da2d62df
DM
213592013-07-20 David S. Miller <davem@davemloft.net>
21360
21361 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
21362 difference between 32-bit and 64-bit.
21363
d7e06450
CD
213642013-07-15 Carlos O'Donell <carlos@redhat.com>
21365
21366 [BZ #15711]
21367 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
21368 Avoid system header dependency with -ffreestanding.
21369 ($(objpfx)bits/syscall%d): Likewise.
21370
f959cfd7
DM
213712013-07-13 David S. Miller <davem@davemloft.net>
21372
21373 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
21374 underflows from atanl/atan2l due to bug 15319.
21375 (casinh_test_data): Likewise.
21376
c61f8513
DM
213772013-07-07 David S. Miller <davem@davemloft.net>
21378
21379 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21380
72c90ed0
JA
213812013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
21382
21383 * sysdeps/i386/fpu/libm-test-ulps: Update.
21384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21385
52dfbe13
SP
213862013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21387
21388 * configure.in (--enable-lock-elision): Fix message text.
21389 * INSTALL: Regenerate.
21390 * configure: Regenerate.
21391
3f169543
AZ
213922013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21393
21394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21395
521c6785
AJ
213962013-07-03 Andreas Jaeger <aj@suse.de>
21397
21398 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
21399 define.
21400 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
21401 (ptrace_peeksiginfo_args): Add.
21402 (__ptrace_peeksiginfo_flags): Add.
21403 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21404 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21405 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21406
d2cc15cb
AM
214072013-07-03 Allan McRae <allan@archlinux.org>
21408
21409 * sysdeps/i386/fpu/libm-test-ulps: Update.
21410
3aaeeca7
DM
214112013-07-02 David S. Miller <davem@davemloft.net>
21412
21413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21414
5314ed1a
MT
214152013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
21416
21417 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21418
67338156
JM
214192013-07-02 Joseph Myers <joseph@codesourcery.com>
21420
21421 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21423
1717da59
AK
214242013-07-02 Andi Kleen <ak@linux.intel.com>
21425
21426 * config.h.in (ENABLE_LOCK_ELISION): Add.
21427 * configure.in (--enable-lock-elision): Add option.
21428 * manual/install.texi: Document --enable lock elision.
21429 * configure: Regenerate
21430 * INSTALL: Regenerate.
21431
1c81621c
L
214322013-07-02 H.J. Lu <hongjiu.lu@intel.com>
21433
21434 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
21435 SSE4.2 strcasecmp for libc.a.
21436 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21437
77f01ab5
JM
214382013-07-02 Joseph Myers <joseph@codesourcery.com>
21439
21440 [BZ #13304]
21441 * soft-fp/op-common.h (_FP_FMA): New macro.
21442 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
21443 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
21444 (_FP_MUL_MEAT_1_imm): ... here.
21445 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
21446 (_FP_MUL_MEAT_1_wide): ... here.
21447 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
21448 (_FP_MUL_MEAT_1_hard): ... here.
21449 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
21450 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
21451 (_FP_MUL_MEAT_2_wide): ... here.
21452 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
21453 (_FP_MUL_MEAT_2_wide_3mul): ... here.
21454 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
21455 (_FP_MUL_MEAT_2_gmp): ... here.
21456 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
21457 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
21458 (_FP_MUL_MEAT_4_wide): ... here.
21459 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
21460 (_FP_MUL_MEAT_4_gmp): ... here.
21461 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
21462 (_FP_WFRACBITS_DW_S): Likewise.
21463 (_FP_WFRACXBITS_DW_S): Likewise.
21464 (_FP_HIGHBIT_DW_S): Likewise.
21465 (FP_FMA_S): Likewise.
21466 (_FP_FRAC_HIGH_DW_S): Likewise.
21467 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
21468 (_FP_WFRACBITS_DW_D): Likewise.
21469 (_FP_WFRACXBITS_DW_D): Likewise.
21470 (_FP_HIGHBIT_DW_D): Likewise.
21471 (FP_FMA_D): Likewise.
21472 (_FP_FRAC_HIGH_DW_D): Likewise.
21473 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
21474 (_FP_WFRACBITS_DW_E): Likewise.
21475 (_FP_WFRACXBITS_DW_E): Likewise.
21476 (_FP_HIGHBIT_DW_E): Likewise.
21477 (FP_FMA_E): Likewise.
21478 (_FP_FRAC_HIGH_DW_E): Likewise.
21479 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
21480 (_FP_WFRACBITS_DW_Q): Likewise.
21481 (_FP_WFRACXBITS_DW_Q): Likewise.
21482 (_FP_HIGHBIT_DW_Q): Likewise.
21483 (FP_FMA_Q): Likewise.
21484 (_FP_FRAC_HIGH_DW_Q): Likewise.
21485 * soft-fp/fmasf4.c: New file.
21486 * soft-fp/fmadf4.c: Likewise.
21487 * soft-fp/fmatf4.c: Likewise.
21488
6308fd9a
LD
214892013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21490
21491 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21492 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
21493 Silvermont.
21494 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
21495 macro.
21496 (index_Slow_SSE4_2): Likewise.
21497 (index_Prefer_PMINUB_for_stringop): Likewise.
21498 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
21499 bit_Slow_SSE4_2 is set.
21500 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21501 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21502
89cd9569
RA
215032013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21504
21505 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
21506 rtld_global._dl_hwcap2.
21507 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
21508 POWER8.
21509 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
21510 POWER8 feature descriptions defined in _dl_hwcap2.
21511 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
21512 string handling for POWER8 feature bits.
21513 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
21514 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
21515 _dl_powerpc_cap_flags.
21516 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
21517 * sysdeps/powerpc/rtld-global-offsets.sym
21518 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
21519 _dl_hwcap2 in the rtld_global_ro structure.
21520
1ae8bfe0
RA
215212013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21522
21523 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
21524 hardware capabilities in support of AT_HWCAP2.
21525 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
21526 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
21527 GLRO(dl_hwcap2).
21528 (_dl_show_auxv): Add support for calling _dl_procinfo to display
21529 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
21530 explicitly the unknown a_type display mechanism is used.
21531 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
21532 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
21533 struct member.
21534 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
21535 to macro prototype for AT_HWCAP2 support.
21536 * sysdeps/i386/dl-procinfo.h: Likewise.
21537 * sysdeps/s390/dl-procinfo.h: Likewise.
21538 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
21539 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
21540 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
21541 return -1 for unknown a_type display fallback.
21542 * sysdeps/sparc/dl-procinfo.h: Likewise.
21543 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
21544 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
21545
8fbec010
JM
215462013-06-28 Joseph Myers <joseph@codesourcery.com>
21547
21548 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
21549 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
21550
0432680e
PY
215512013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
21552
21553 [BZ #12492]
21554 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
21555 mprotect making __stack_prot writable.
21556
ce61a2ad
NF
215572013-06-28 Nathan Froyd <froydnj@codesourcery.com>
21558 Joseph Myers <joseph@codesourcery.com>
21559
21560 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
21561 as being properly aligned.
21562
f91f1c0f
MR
215632013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
21564
3d0f5d0c
MR
21565 * dlfcn/modstatic5.c: New file.
21566 * dlfcn/tststatic5.c: New file.
21567 * dlfcn/Makefile (tests): Add tststatic5.
21568 (tests-static): Likewise.
21569 (modules-names): Add modstatic5.
21570 (tststatic5-ENV): New variable.
21571 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
21572
f91f1c0f
MR
21573 [BZ #15022]
21574 * elf/dl-support.c (_dl_main_map): New variable.
21575 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
21576 (_dl_nns, _dl_load_adds): Set to 1.
21577 (_dl_initial_searchlist): Refer to _dl_main_map.
21578 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
21579 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
21580 call to _dl_get_origin.
21581 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
21582 around call_map.
21583 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
21584 * dlfcn/modstatic3.c: New file.
21585 * dlfcn/tststatic3.c: New file.
21586 * dlfcn/tststatic4.c: New file.
21587 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
21588 (tests-static): Likewise.
21589 (modules-names): Add modstatic3.
21590 (tststatic3-ENV, tststatic4-ENV): New variables.
21591 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
21592 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
21593
cbe7d24b
JM
215942013-06-26 Joseph Myers <joseph@codesourcery.com>
21595
21596 * configure.in (CC): Require GCC version 4.4 or later.
21597 * configure: Regenerated.
21598 * manual/install.texi (Tools for Compilation): Update GCC version
21599 requirement.
21600 * INSTALL: Regenerated.
21601
11b8a0e1
LD
216022013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21603
21604 [BZ #15674]
bb5bb87c
L
21605 * string/test-memcmp.c (check2): New.
21606 (main): Call check2.
21607
11b8a0e1
LD
21608 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
21609
b0037103
MR
216102013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
21611
21612 [BZ #15022]
21613 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
21614 over to...
21615 (dl_open_worker) [!SHARED]: ... here.
21616
c18c701d
RA
216172013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21618
21619 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
21620
1d17fa5f
RH
216212013-06-25 Richard Henderson <rth@redhat.com>
21622
21623 * locale/programs/locarchive.c: Include <libc-internal.h>
21624
8fcb833a
JM
216252013-06-25 Joseph Myers <joseph@codesourcery.com>
21626
21627 * manual/texinfo.tex: Update to version 2013-06-21.17, with
21628 trailing whitespace removed.
21629
17db6e8d
MF
216302013-06-24 Mike Frysinger <vapier@gentoo.org>
21631
21632 [BZ #10283]
17db6e8d
MF
21633 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
21634 * locale/programs/locarchive.c: Include libc-mmap.h.
21635 (prepare_address_space): Take two new outputs (the mmap base and len).
21636 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
21637 values.
21638 (create_archive): Declare new mmap base and len values for
21639 prepare_address_space, and store the result in ah.
21640 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
21641 (enlarge_archive): If ah->mmap_base is not NULL, use that and
21642 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21643 Declare new mmap base and len values for
21644 prepare_address_space, and store the result in new_ah.
21645 (open_archive): Declare new mmap base and len values for
21646 prepare_address_space, and store the result in ah.
21647 (close_archive): If ah->mmap_base is not NULL, use that and
21648 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21649 * sysdeps/generic/libc-mmap.h: New file.
21650
d605071e
MF
216512013-06-24 Mike Frysinger <vapier@gentoo.org>
21652
21653 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
21654 (ALIGN_UP): Likewise.
21655 (PTR_ALIGN_DOWN): Likewise.
21656 (PTR_ALIGN_UP): Likewise.
21657
2f063a6e
RA
216582013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21659
21660 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
21661 entry mapped to PPC_PLATFORM_POWER8.
21662 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
21663 POWER8.
21664 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
21665 (_dl_string_platform): Add case for exporting platform position for
21666 POWER8.
21667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
21668 search path to sysdeps/powerpc/powerpc32/power8 directory.
21669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
21670 search path to sysdeps/powerpc/powerpc64/power8 directory.
21671 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
21672 power7 directories.
21673 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
21674 power7 directories.
21675
a31ee4b3
SP
216762013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21677
a74ca98f
SP
21678 * INSTALL: Regenerate.
21679
a31ee4b3
SP
21680 * nscd/connections.c (nscd_init): Fix comment.
21681
695c378f
JM
216822013-06-22 Joseph Myers <joseph@codesourcery.com>
21683
d8412221
JM
21684 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
21685
695c378f
JM
21686 [BZ #15667]
21687 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
21688 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
21689
d1d54715
MR
216902013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
21691
21692 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
21693 DL_DST_REQ_STATIC.
21694 (DL_DST_REQ_STATIC): Remove macro.
21695
8fdda7af
JM
216962013-06-21 Joseph Myers <joseph@codesourcery.com>
21697
21698 [BZ #7006]
21699 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
21700 with a shift of 0 bits.
21701
f3bc5e5a
MR
217022013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
21703
21704 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
21705 $(tststatic-ENV).
21706
be09e8c9
KK
217072013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21708
21709 [BZ #15655]
21710 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
21711
85c2e611
AZ
217122013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21713
21714 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
21715 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
21716 accepts -fno-tree-loop-distribute-patterns.
21717 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
21718 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
21719 recursive call.
21720 * string/memset.c (memset): Likewise.
21721 * string/test-memmove.c (simple_memmove): Disable loop transformation
21722 to library calls.
21723 * string/test-memset.c (simple_memset): Likewise.
21724 * benchtests/bench-memmove.c (simple_memmove): Likewise.
21725 * benchtests/bench-memset.c (simple_memset): Likewise.
21726 * configure: Regenerated.
21727
c91e0825
JM
217282013-06-20 Joseph Myers <joseph@codesourcery.com>
21729
b8c792af
JM
21730 * math/test-misc.c (main): Ignore fesetround failure when failures
21731 of subsequent rounding tests would be ignored.
21732
c91e0825
JM
21733 [BZ #15654]
21734 * math/fedisblxcpt.c (fedisableexcept): Return 0.
21735 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
21736 * math/fegetenv.c (__fegetenv): Return 0.
21737 * math/fegetexcept.c (fegetexcept): Return 0.
21738 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
21739 FE_TONEAREST.
21740 * math/feholdexcpt.c (feholdexcept): Return 0.
21741 * math/fesetenv.c (__fesetenv): Return 0.
21742 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
21743 argument FE_TONEAREST.
21744 * math/feupdateenv.c (__feupdateenv): Return 0.
21745 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
21746
bfcacbde
RM
217472013-06-18 Roland McGrath <roland@hack.frob.com>
21748
21749 * elf/rtld-Rules (rtld-compile-command.S): New variable.
21750 (rtld-compile-command.s, rtld-compile-command.c): New variables.
21751 ($(objpfx)rtld-%.os rules): Use them.
21752
e55a9b25
AZ
217532013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21754
21755 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
21756 fields.
21757
346d65b3
RM
217582013-06-17 Roland McGrath <roland@hack.frob.com>
21759
12086fb4
RM
21760 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
21761 length of target pattern, then descending length of dependency pattern.
21762 * configure.in (AWK): Require gawk 3.1.2 or newer.
21763 * manual/install.texi (Tools for Compilation): Say that we do.
21764 * configure: Regenerated.
21765
346d65b3
RM
21766 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
21767 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
21768 * scripts/sysd-rules.awk: ... this new script.
21769 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
21770 than a glob-style pattern.
21771
1a846317
JM
217722013-06-17 Joseph Myers <joseph@codesourcery.com>
21773
21774 * math/test-misc.c (main): Do not treat incorrectly rounded
21775 conversions as failure unless ROUNDING_TESTS passes.
21776
8fc75e6f
JM
217772013-06-15 Joseph Myers <joseph@codesourcery.com>
21778
3711a167
JM
21779 [BZ #15631]
21780 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
21781 restore exception state around main square root computation, then
21782 check for inexactness explicitly.
21783
8fc75e6f
JM
21784 * math/libm-test.inc (fma_test_data): Add another test.
21785
61dd6208
SP
217862013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21787
adf23d2c
SP
21788 * manual/threads.texi (Non-POSIX Extensions): New document
21789 node. Document pthread_getattr_default_np and
21790 pthread_setattr_default_np.
21791
61dd6208
SP
21792 * Versions.def (libpthread): Add GLIBC_2.18.
21793 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
21794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21795 Likewise.
21796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21797 Likewise.
21798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21799 Likewise.
21800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21801 Likewise.
21802 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
21803 Likewise.
21804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21805 Likewise.
21806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21807 Likewise.
21808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21809 Likewise.
21810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21811 Likewise.
21812
d086fc7b
LD
218132013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21814
21815 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21816 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
21817
747ef469
SP
218182013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21819 H.J. Lu <hjl.tools@gmail.com>
21820
21821 [BZ #15627]
21822 * sysdeps/x86_64/rtld-memset.c: Remove file.
21823 * sysdeps/x86_64/rtld-memset.S: New file.
21824
1b2feed2
JM
218252013-06-14 Joseph Myers <joseph@codesourcery.com>
21826
21827 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
21828 (test_in_one_mode): Take arguments for whether the rounding mode
21829 is supported for each floating-point type.
21830 (do_test): Pass new arguments to test_in_one_mode using
21831 ROUNDING_TESTS.
21832
a58ad3f8
RM
218332013-06-13 Roland McGrath <roland@hack.frob.com>
21834
21835 * posix/tst-waitid.c (do_test): Distinguish different instances of
21836 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
21837 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
21838 before entering the kernel for waitpid.
21839
c204ab28
SP
218402013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21841
21842 * NEWS: Fix note on clock function precision. Text by Roland
21843 McGrath.
21844
f4a29fba
RM
218452013-06-13 Roland McGrath <roland@hack.frob.com>
21846
21847 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
21848 it into place only when and if the sanity check passes.
21849
1f24b9ad
JM
218502013-06-13 Joseph Myers <joseph@codesourcery.com>
21851
21852 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
21853 output for whether conversion result is exact. Take argument
21854 indicating whether type is IBM long double.
21855 (round_for_all): Change need_exact field to ibm_ld.
21856 * stdlib/tst-strtod-round.c (struct exactness): New type.
21857 (struct test): Change bool ld_ok field to struct exactness exact.
21858 (TEST): Update all definitions for change to field.
21859 (tests): Regenerate array contents.
21860 (test_in_one_mode): Take pointer to new field instead of old ld_ok
21861 field value. Check for IBM long double here.
21862 (do_test): Update calls to test_in_one_mode.
21863
58206c68
SP
218642013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21865
21866 [BZ #12515]
21867 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
21868 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
21869
2d6f4c5b 218702013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
21871
21872 [BZ #15605]
21873 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
21874 generated by the compiler on loop optimizations.
21875 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
21876 general definitions.
21877
94f2c076
JM
218782013-06-12 Joseph Myers <joseph@codesourcery.com>
21879
21880 * math/bug-nextafter.c: Include <math-tests.h>.
21881 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21882 the relevant type.
21883 * math/bug-nexttoward.c: Include <math-tests.h>.
21884 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21885 the relevant type.
21886 * math/test-misc.c: Include <math-tests.h>.
21887 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21888 the relevant type.
21889
e0e50a0a
AJ
218902013-06-12 Andreas Jaeger <aj@suse.de>
21891
21892 * po/ia.po: Update Interlingua translation from translation
21893 project.
21894
25061094
SP
218952013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21896
21897 * include/fenv.h: Include stdbool.h.
21898 (struct rm_ctx): New structure.
21899 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
21900 Define macro.
21901 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
21902 (SET_RESTORE_ROUNDF): Likewise.
21903 (SET_RESTORE_ROUNDL): Likewise.
21904 (SET_RESTORE_ROUND_NOEX): Likewise.
21905 (SET_RESTORE_ROUND_NOEXF): Likewise.
21906 (SET_RESTORE_ROUND_NOEXL): Likewise.
21907 (SET_RESTORE_ROUND_53BIT): Likewise.
21908 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
21909 (libc_feresetround_noexf_ctx): Likewise.
21910 (libc_feresetround_noexl_ctx): Likewise.
21911 (libc_feholdsetround_53bit_ctx): Likewise.
21912 (libc_feresetround_53bit_ctx): Likewise.
21913 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
21914 (libc_feholdexcept_setround_sse_ctx): New function.
21915 (libc_fesetenv_sse_ctx): Likewise.
21916 (libc_feupdateenv_sse_ctx): Likewise.
21917 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
21918 (libc_feholdexcept_setround_387_ctx): Likewise.
21919 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
21920 (libc_feholdsetround_387_prec_ctx): Likewise.
21921 (libc_feholdsetround_387_ctx): Likewise.
21922 (libc_feholdsetround_387_53bit_ctx): Likewise.
21923 (libc_feholdsetround_sse_ctx): Likewise.
21924 (libc_feresetround_sse_ctx): Likewise.
21925 (libc_feresetround_387_ctx): Likewise.
21926 (libc_feupdateenv_387_ctx): Likewise.
21927 (libc_feholdexcept_setroundf_ctx): Define macro.
21928 (libc_fesetenvf_ctx): Likewise.
21929 (libc_feupdateenvf_ctx): Likewise.
21930 (libc_feholdsetroundf_ctx): Likewise.
21931 (libc_feresetroundf_ctx): Likewise.
21932 (libc_feholdexcept_setround_ctx): Likewise.
21933 (libc_fesetenv_ctx): Likewise.
21934 (libc_feupdateenv_ctx): Likewise.
21935 (libc_feholdsetround_ctx): Likewise.
21936 (libc_feresetround_ctx): Likewise.
21937 (libc_feholdexcept_setroundl_ctx): Likewise.
21938 (libc_feupdateenvl_ctx): Likewise.
21939 (libc_feholdsetroundl_ctx): Likewise.
21940 (libc_feresetroundl_ctx): Likewise.
21941 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
21942 (libc_feresetround_53bit_ctx): Likewise.
21943
59b30555
SP
219442013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21945
21946 * locale/iso-639.def: Convert to UTF-8.
21947
f1d73d30
JM
219482013-06-11 Joseph Myers <joseph@codesourcery.com>
21949
21950 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
21951 (EXCEPTION_TESTS_double): Likewise.
21952 (EXCEPTION_TESTS_long_double): Likewise.
21953 (EXCEPTION_TESTS): Likewise.
21954 * math/libm-test.inc (test_exceptions): Only test exceptions if
21955 EXCEPTION_TESTS (FLOAT).
21956
94aca5e7
SP
219572013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21958
21959 * benchtests/Makefile (string-bench): Add strcpy_chk and
21960 stpcpy_chk.
21961 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
21962 * benchtests/bench-stpcpy_chk.c: New file.
21963 * benchtests/bench-strcpy_chk-ifunc.c: New file.
21964 * benchtests/bench-strcpy_chk.c: New file.
21965 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
21966 code.
21967 (do_test): Likewise.
21968
fac0c5f2
RA
219692013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21970
21971 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
21972 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
21973 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
21974 with tabs where appropriate.
21975 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21976 dl-procinfo.h.
21977 [PPC_PLATFORM_PPC440]: Likewise.
21978 [PPC_PLATFORM_PPC464]: Likewise.
21979 [PPC_PLATFORM_PPC476]: Likewise.
21980 (_dl_string_platform): Add support for detecting ppc405, ppc440,
21981 ppc464, and ppc476 platform strings merging from ports/
21982 dl-procinfo.h.
21983
f22bc486
AS
219842013-06-11 Andreas Schwab <schwab@suse.de>
21985
21986 [BZ #14991]
21987 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21988 (from_ucs4_idx): Regenerate.
21989 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21990 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21991 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21992 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21993 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21994 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21995 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21996 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21997 from FROM_LOOP and TO_LOOP specific macros.
21998 (BODY): Handle combining characters.
21999 * iconvdata/BIG5HKSCS.irreversible: Update.
22000 * iconvdata/BIG5HKSCS.precomposed: New file.
22001 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
22002 characters.
22003 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
22004
c1f75dc3
SP
220052013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22006
4eacded2
SP
22007 * include/sys/time.h: Fix indentation and add copyright header.
22008
fec799f8
SP
22009 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
22010 (do_test): Likewise.
22011 * string/test-memchr.c (do_one_test): Likewise.
22012 (do_test): Likewise.
22013 * string/test-memcmp.c (do_one_test): Likewise.
22014 (do_test): Likewise.
22015 * string/test-memcpy.c (do_one_test): Likewise.
22016 (do_test): Likewise.
22017 * string/test-memmem.c (do_one_test): Likewise.
22018 (do_test): Likewise.
22019 (do_random_tests): Likewise.
22020 * string/test-memmove.c (do_one_test): Likewise.
22021 (do_test): Likewise.
22022 * string/test-memset.c (do_one_test): Likewise.
22023 (do_test): Likewise.
22024 * string/test-rawmemchr.c (do_one_test): Likewise.
22025 (do_test): Likewise.
22026 * string/test-strcasecmp.c (do_one_test): Likewise.
22027 (do_test): Likewise.
22028 * string/test-strcasestr.c (do_one_test): Likewise.
22029 (do_test): Likewise.
22030 * string/test-strcat.c (do_one_test): Likewise.
22031 (do_test): Likewise.
22032 * string/test-strchr.c (do_one_test): Likewise.
22033 (do_test): Likewise.
22034 * string/test-strcmp.c (do_one_test): Likewise.
22035 (do_test): Likewise.
22036 * string/test-strcpy.c (do_one_test): Likewise.
22037 (do_test): Likewise.
22038 * string/test-string.h: Likewise.
22039 (test_init): Likewise.
22040 * string/test-strlen.c (do_one_test): Likewise.
22041 (do_test): Likewise.
22042 * string/test-strncasecmp.c (do_one_test): Likewise.
22043 (do_test): Likewise.
22044 * string/test-strncat.c (do_one_test): Likewise.
22045 (do_test): Likewise.
22046 * string/test-strncmp.c (do_one_test): Likewise.
22047 (do_test_limit): Likewise.
22048 (do_test): Likewise.
22049 * string/test-strncpy.c (do_one_test): Likewise.
22050 (do_test): Likewise.
22051 * string/test-strnlen.c (do_one_test): Likewise.
22052 (do_test): Likewise.
22053 * string/test-strpbrk.c (do_one_test): Likewise.
22054 (do_test): Likewise.
22055 * string/test-strrchr.c (do_one_test): Likewise.
22056 (do_test): Likewise.
22057 * string/test-strspn.c (do_one_test): Likewise.
22058 (do_test): Likewise.
22059 * string/test-strstr.c (do_one_test): Likewise.
22060 (do_test): Likewise.
22061
97020474
SP
22062 * benchtests/Makefile (string-bench): Add string benchmarks.
22063 * benchtests/bench-bcopy-ifunc.c: New file.
22064 * benchtests/bench-bcopy.c: New file.
22065 * benchtests/bench-bzero-ifunc.c: New file.
22066 * benchtests/bench-bzero.c: New file.
22067 * benchtests/bench-memccpy-ifunc.c: New file.
22068 * benchtests/bench-memccpy.c: New file.
22069 * benchtests/bench-memchr-ifunc.c: New file.
22070 * benchtests/bench-memchr.c: New file.
22071 * benchtests/bench-memcmp-ifunc.c: New file.
22072 * benchtests/bench-memcmp.c: New file.
22073 * benchtests/bench-memmem-ifunc.c: New file.
22074 * benchtests/bench-memmem.c: New file.
22075 * benchtests/bench-memmove-ifunc.c: New file.
22076 * benchtests/bench-memmove.c: New file.
22077 * benchtests/bench-mempcpy-ifunc.c: New file.
22078 * benchtests/bench-mempcpy.c: New file.
22079 * benchtests/bench-memset-ifunc.c: New file.
22080 * benchtests/bench-memset.c: New file.
22081 * benchtests/bench-rawmemchr-ifunc.c: New file.
22082 * benchtests/bench-rawmemchr.c: New file.
22083 * benchtests/bench-stpcpy-ifunc.c: New file.
22084 * benchtests/bench-stpcpy.c: New file.
22085 * benchtests/bench-stpncpy-ifunc.c: New file.
22086 * benchtests/bench-stpncpy.c: New file.
22087 * benchtests/bench-strcasecmp-ifunc.c: New file.
22088 * benchtests/bench-strcasecmp.c: New file.
22089 * benchtests/bench-strcasestr-ifunc.c: New file.
22090 * benchtests/bench-strcasestr.c: New file.
22091 * benchtests/bench-strcat-ifunc.c: New file.
22092 * benchtests/bench-strcat.c: New file.
22093 * benchtests/bench-strchr-ifunc.c: New file.
22094 * benchtests/bench-strchr.c: New file.
22095 * benchtests/bench-strchrnul-ifunc.c: New file.
22096 * benchtests/bench-strchrnul.c: New file.
22097 * benchtests/bench-strcmp-ifunc.c: New file.
22098 * benchtests/bench-strcmp.c: New file.
22099 * benchtests/bench-strcpy-ifunc.c: New file.
22100 * benchtests/bench-strcpy.c: New file.
22101 * benchtests/bench-strcspn-ifunc.c: New file.
22102 * benchtests/bench-strcspn.c: New file.
22103 * benchtests/bench-strlen-ifunc.c: New file.
22104 * benchtests/bench-strlen.c: New file.
22105 * benchtests/bench-strncasecmp-ifunc.c: New file.
22106 * benchtests/bench-strncasecmp.c: New file.
22107 * benchtests/bench-strncat-ifunc.c: New file.
22108 * benchtests/bench-strncat.c: New file.
22109 * benchtests/bench-strncmp-ifunc.c: New file.
22110 * benchtests/bench-strncmp.c: New file.
22111 * benchtests/bench-strncpy-ifunc.c: New file.
22112 * benchtests/bench-strncpy.c: New file.
22113 * benchtests/bench-strnlen-ifunc.c: New file.
22114 * benchtests/bench-strnlen.c: New file.
22115 * benchtests/bench-strpbrk-ifunc.c: New file.
22116 * benchtests/bench-strpbrk.c: New file.
22117 * benchtests/bench-strrchr-ifunc.c: New file.
22118 * benchtests/bench-strrchr.c: New file.
22119 * benchtests/bench-strspn-ifunc.c: New file.
22120 * benchtests/bench-strspn.c: New file.
22121 * benchtests/bench-strstr-ifunc.c: New file.
22122 * benchtests/bench-strstr.c: New file.
22123
c1f75dc3
SP
22124 * benchtests/Makefile: Disable parallel execution of targets.
22125 (string-bench): Add memcpy.
22126 (benchset): New variable to store a list of benchmark sets.
22127 (bench-func): Renamed from bench.
22128 (bench-set): New target.
22129 (bench): Depend on bench-func and bench-set.
22130 * benchtests/README: Add section on benchmark sets.
22131 * benchtests/bench-memcpy-ifunc.c: New file.
22132 * benchtests/bench-memcpy.c: New file.
22133 * benchtests/bench-string.h: New file.
22134
50fd745b
AS
221352013-06-11 Andreas Schwab <schwab@suse.de>
22136
22137 [BZ #15577]
22138 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22139 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22140 values in the triple.
22141 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22142 terminator in the group key.
22143
3ee7e9fe
AJ
221442013-06-11 Andreas Jaeger <aj@suse.de>
22145
22146 * po/zh_TW.po: Update Chinese (traditional) translation from
22147 translation project.
22148
89fb6835
SP
221492013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22150
22151 * include/time.h (__clock_gettime): Add libc_hidden_proto.
22152 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
22153 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
22154 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22155 (clock_getcpuclockid): Likewise.
22156 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
22157 Add weak_alias and libc_hidden_def.
22158 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
22159 * rt/clock_gettime.c (clock_gettime): Rename to
22160 __clock_gettime. Add weak_alias and libc_hidden_def.
22161 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
22162 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
22163 __clock_nanosleep. Add weak_alias and libc_hidden_def.
22164 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22165 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
22166 Likewise.
22167 * rt/clock_settime.c (clock_settime): Rename to
22168 __clock_settime. Add weak_alias and libc_hidden_def.
22169 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
22170
0efa6f8b
JM
221712013-06-10 Joseph Myers <joseph@codesourcery.com>
22172
b8c61b4b
JM
22173 * mach/err_boot.sub: Remove trailing whitespace.
22174 * mach/err_ipc.sub: Likewise.
22175 * mach/err_mach.sub: Likewise.
22176
0efa6f8b
JM
22177 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
22178 (ROUNDING_TESTS_double): Likewise.
22179 (ROUNDING_TESTS_long_double): Likewise.
22180 (ROUNDING_TESTS): Likewise.
22181 * math/libm-test.inc: Include <math-tests.h>.
22182 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
22183 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22184 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22185 (IF_ROUND_INIT_FE_UPWARD): Likewise.
22186
50b818bf
SP
221872013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22188
22189 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22190 of assigning.
22191
60d2f8f3
JM
221922013-06-08 Joseph Myers <joseph@codesourcery.com>
22193
4902d2c3
JM
22194 * sysdeps/gnu/errlist.awk: Do not generate space at end of
22195 otherwise empty TRANS lines.
22196 * sysdeps/gnu/errlist.c: Regenerated.
22197
60d2f8f3
JM
22198 * catgets/gencat.c (error_print): Use (void) in function
22199 definition.
22200 * crypt/crypt_util.c (__init_des): Likewise.
22201 * crypt/speeds.c (Stop): Likewise.
22202 (main): Likewise.
22203 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
22204 * inet/ruserpass.c (token): Likewise.
22205 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
22206 * intl/localealias.c (extend_alias_table): Likewise.
22207 * intl/plural-exp.c (init_germanic_plural): Likewise.
22208 * libio/fcloseall.c (__fcloseall): Likewise.
22209 * libio/genops.c (_IO_flush_all): Likewise.
22210 (_IO_flush_all_linebuffered): Likewise.
22211 (_IO_cleanup): Likewise.
22212 (_IO_iter_begin): Likewise.
22213 (_IO_iter_end): Likewise.
22214 (_IO_list_lock): Likewise.
22215 (_IO_list_unlock): Likewise.
22216 (_IO_list_resetlock): Likewise.
22217 * libio/getchar.c (getchar): Likewise.
22218 * libio/getchar_u.c (getchar_unlocked): Likewise.
22219 * libio/getwchar.c (getwchar): Likewise.
22220 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
22221 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
22222 * login/getpt.c (__getpt): Likewise.
22223 * login/tst-utmp.c (main): Likewise.
22224 * malloc/hooks.c (__malloc_check_init): Likewise.
22225 * malloc/malloc.c (__malloc_stats): Likewise.
22226 * malloc/mtrace.c (tr_break): Likewise.
22227 (mtrace): Likewise.
22228 (muntrace): Likewise.
22229 * misc/fstab.c (endfsent): Likewise.
22230 * misc/getclktck.c (__getclktck): Likewise.
22231 * misc/getdtsz.c (__getdtablesize): Likewise.
22232 * misc/gethostid.c (gethostid): Likewise.
22233 * misc/getpagesize.c (__getpagesize): Likewise.
22234 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
22235 (__get_nprocs): Likewise.
22236 (__get_phys_pages): Likewise.
22237 (__get_avphys_pages): Likewise.
22238 * misc/getttyent.c (getttyent): Likewise.
22239 (setttyent): Likewise.
22240 (endttyent): Likewise.
22241 * misc/getusershell.c (getusershell): Likewise.
22242 (endusershell): Likewise.
22243 (setusershell): Likewise.
22244 (initshells): Likewise.
22245 * misc/hsearch.c (__hdestroy): Likewise.
22246 * misc/sync.c (sync): Likewise.
22247 * misc/syslog.c (closelog_internal): Likewise.
22248 (closelog): Likewise.
22249 * misc/ttyslot.c (ttyslot): Likewise.
22250 * misc/vhangup.c (vhangup): Likewise.
22251 * posix/fork.c (__fork): Likewise.
22252 * posix/getegid.c (__getegid): Likewise.
22253 * posix/geteuid.c (__geteuid): Likewise.
22254 * posix/getgid.c (__getgid): Likewise.
22255 * posix/getpid.c (__getpid): Likewise.
22256 * posix/getppid.c (__getppid): Likewise.
22257 * posix/getuid.c (__getuid): Likewise.
22258 * posix/pause.c (pause): Likewise.
22259 * posix/setpgrp.c (setpgrp): Likewise.
22260 * posix/setsid.c (__setsid): Likewise.
22261 * posix/test-vfork.c (noop): Likewise.
22262 * resolv/gethnamaddr.c (_endhtent): Likewise.
22263 (_gethtent): Likewise.
22264 (ht_endhostent): Likewise.
22265 (gethostent): Likewise.
22266 (dns_service): Likewise.
22267 * stdlib/drand48.c (drand48): Likewise.
22268 * stdlib/lrand48.c (lrand48): Likewise.
22269 * stdlib/mrand48.c (mrand48): Likewise.
22270 * stdlib/rand.c (rand): Likewise.
22271 * stdlib/random.c (__random): Likewise.
22272 * stdlib/setenv.c (clearenv): Likewise.
22273 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
22274 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
22275 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
22276 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
22277 (__get_nprocs): Likewise.
22278 (__get_phys_pages): Likewise.
22279 (__get_avphys_pages): Likewise.
22280 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
22281 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
22282 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
22283 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
22284 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
22285 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
22286 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
22287 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
22288 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
22289 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
22290 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
22291 * sysdeps/mach/hurd/sync.c (sync): Likewise.
22292 * sysdeps/posix/clock.c (clock): Likewise.
22293 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
22294 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
22295 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
22296 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
22297 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
22298 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
22299 (__get_nprocs_conf): Likewise.
22300 (__get_phys_pages): Likewise.
22301 (__get_avphys_pages): Likewise.
22302 * time/clock.c (clock): Likewise.
22303 * time/tzset.c (__tzname_max): Likewise.
22304
2e09a79a
JM
223052013-06-07 Joseph Myers <joseph@codesourcery.com>
22306
22307 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
22308 (__bswap_32): Do not use "register".
22309 * crypt/crypt.c (_ufc_doit_r): Likewise.
22310 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22311 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22312 * gmon/gmon.c (__monstartup): Likewise.
22313 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
22314 * hurd/hurdmalloc.c (more_memory): Likewise.
22315 (malloc): Likewise.
22316 (free): Likewise.
22317 (realloc): Likewise.
22318 (malloc_fork_prepare): Likewise.
22319 (malloc_fork_parent): Likewise.
22320 (malloc_fork_child): Likewise.
22321 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
22322 (_svcauth_des): Likewise.
22323 * inet/inet_lnaof.c (inet_lnaof): Likewise.
22324 * inet/inet_net.c (inet_network): Likewise.
22325 * inet/inet_netof.c (inet_netof): Likewise.
22326 * inet/rcmd.c (__validuser2_sa): Likewise.
22327 * io/fts.c (fts_open): Likewise.
22328 (fts_load): Likewise.
22329 (fts_close): Likewise.
22330 (fts_read): Likewise.
22331 (fts_children): Likewise.
22332 (fts_build): Likewise.
22333 (fts_stat): Likewise.
22334 (fts_sort): Likewise.
22335 (fts_alloc): Likewise.
22336 (fts_lfree): Likewise.
22337 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
22338 (_IO_file_xsgetn): Likewise.
22339 (_IO_file_xsgetn_mmap): Likewise.
22340 * libio/iofopncook.c (_IO_cookie_read): Likewise.
22341 (_IO_cookie_write): Likewise.
22342 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
22343 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
22344 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
22345 * malloc/obstack.c (_obstack_begin): Likewise.
22346 (_obstack_begin_1): Likewise.
22347 (_obstack_newchunk): Likewise.
22348 (_obstack_allocated_p): Likewise.
22349 (obstack_free): Likewise.
22350 (_obstack_memory_used): Likewise.
22351 * misc/getttyent.c (getttynam): Likewise.
22352 (getttyent): Likewise.
22353 (skip): Likewise.
22354 (value): Likewise.
22355 * misc/getusershell.c (initshells): Likewise.
22356 * misc/syslog.c (__vsyslog_chk): Likewise.
22357 * misc/ttyslot.c (ttyslot): Likewise.
22358 * nis/nis_hash.c (__nis_hash): Likewise.
22359 * posix/fnmatch_loop.c (FCT): Likewise.
22360 * posix/getconf.c (print_all): Likewise.
22361 (main): Likewise.
22362 * posix/getopt.c (exchange): Likewise.
22363 * posix/glob.c (globfree): Likewise.
22364 (prefix_array): Likewise.
22365 (__glob_pattern_type): Likewise.
22366 * resolv/arpa/nameser.h (NS_GET16): Likewise.
22367 (NS_GET32): Likewise.
22368 (NS_PUT16): Likewise.
22369 (NS_PUT32): Likewise.
22370 * resolv/gethnamaddr.c (getanswer): Likewise.
22371 (gethostbyname2): Likewise.
22372 (gethostbyaddr): Likewise.
22373 (_gethtent): Likewise.
22374 (_gethtbyname2): Likewise.
22375 (_gethtbyaddr): Likewise.
22376 * resolv/ns_print.c (dst_s_get_int16): Likewise.
22377 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22378 * resolv/res_init.c (__res_vinit): Likewise.
22379 (net_mask): Likewise.
22380 * resolv/res_mkquery.c (outchar): Likewise.
22381 (PRINT): Likewise.
22382 * stdio-common/printf_fp.c (outchar): Likewise.
22383 (PRINT): Likewise.
22384 * stdio-common/printf_fphex.c (outchar): Likewise.
22385 (PRINT): Likewise.
22386 * stdio-common/printf_size.c (outchar): Likewise.
22387 (PRINT): Likewise.
22388 * stdio-common/test_rdwr.c (main): Likewise.
22389 * stdio-common/tfformat.c (matches): Likewise.
22390 * stdio-common/vfprintf.c (outchar): Likewise.
22391 (printf_unknown): Likewise.
22392 (buffered_vfprintf): Likewise.
22393 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22394 * stdio-common/xbug.c (AppendToBuffer): Likewise.
22395 (ReadFile): Likewise.
22396 * stdlib/qsort.c (SWAP): Likewise.
22397 (_quicksort): Likewise.
22398 * stdlib/setenv.c (__add_to_environ): Likewise.
22399 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22400 * stdlib/strtol_l.c (__strtol_l): Likewise.
22401 * stdlib/tst-strtod.c (main): Likewise.
22402 * stdlib/tst-strtol.c (main): Likewise.
22403 * stdlib/tst-strtoll.c (main): Likewise.
22404 * string/bits/string2.h (__strcmp_cc): Likewise.
22405 (__strcmp_cg): Likewise.
22406 (__strcspn_c1): Likewise.
22407 (__strcspn_c2): Likewise.
22408 (__strcspn_c3): Likewise.
22409 (__strspn_c1): Likewise.
22410 (__strspn_c2): Likewise.
22411 (__strspn_c3): Likewise.
22412 (__strsep_1c): Likewise.
22413 (__strsep_2c): Likewise.
22414 (__strsep_3c): Likewise.
22415 * string/memccpy.c (__memccpy): Likewise.
22416 * string/stpcpy.c (__stpcpy): Likewise.
22417 * string/strcmp.c (strcmp): Likewise.
22418 * string/strrchr.c (strrchr): Likewise.
22419 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
22420 Likewise.
22421 * sysdeps/mach/hurd/getcwd.c
22422 (_hurd_canonicalize_directory_name_internal): Likewise.
22423 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
22424 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
22425 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
22426 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
22427 Likewise, in both definitions.
22428 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
22429 definitions.
22430 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
22431 64] (__bswap_64): Likewise.
22432 * time/test_time.c (main): Likewise.
22433 * time/tzfile.c (__tzfile_read): Likewise.
22434 (__tzfile_compute): Likewise.
22435 * time/tzset.c (__tzset_parse_tz): Likewise.
22436 (tzset_internal): Likewise.
22437 (compute_change): Likewise.
22438 * wcsmbs/wcscat.c (__wcscat): Likewise.
22439 * wcsmbs/wcschr.c (wcschr): Likewise.
22440 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22441 * wcsmbs/wcscspn.c (wcscspn): Likewise.
22442 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22443 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
22444 * wcsmbs/wcsspn.c (wcsspn): Likewise.
22445 * wcsmbs/wcsstr.c (wcsstr): Likewise.
22446 * wcsmbs/wmemchr.c (wmemchr): Likewise.
22447 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22448 * wcsmbs/wmemset.c (wmemset): Likewise.
22449
9e54314b
JM
224502013-06-06 Joseph Myers <joseph@codesourcery.com>
22451
22452 * scripts/config.guess: Update to version 2013-05-16.
22453 * scripts/config.sub: Update to version 2013-04-24.
22454 * scripts/install-sh: Update to version 2011-11-20.07.
22455 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
22456 * scripts/move-if-change: Update to version 2012-01-06 07:23.
22457
350635a5
OB
224582013-06-06 Ondřej Bílka <neleai@seznam.cz>
22459
22460 * debug/fgetws_u_chk.c: Fix leading whitespaces.
22461 * elf/sln.c: Likewise.
22462 * hurd/hurd/ioctl.h: Likewise.
22463 * hurd/hurdmalloc.c: Likewise.
22464 * hurd/xattr.c: Likewise.
22465 * include/shlib-compat.h: Likewise.
22466 * inet/ruserpass.c: Likewise.
22467 * libio/iofgets_u.c: Likewise.
22468 * libio/iofgetws_u.c: Likewise.
22469 * locale/programs/ld-identification.c: Likewise.
22470 * locale/programs/ld-time.c: Likewise.
22471 * mach/msg-destroy.c: Likewise.
22472 * nss/nss_files/files-netgrp.c: Likewise.
22473 * resolv/res_data.c: Likewise.
22474 * soft-fp/op-1.h: Likewise.
22475 * soft-fp/op-2.h: Likewise.
22476 * soft-fp/op-4.h: Likewise.
22477 * soft-fp/op-common.h: Likewise.
22478 * stdio-common/printf_fphex.c: Likewise.
22479 * stdlib/strtod_l.c: Likewise.
22480 * sunrpc/rpc/clnt.h: Likewise.
22481 * sysdeps/generic/framestate.c: Likewise.
22482 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22483 * sysdeps/i386/bsd-setjmp.S: Likewise.
22484 * sysdeps/i386/__longjmp.S: Likewise.
22485 * sysdeps/i386/setjmp.S: Likewise.
22486 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22487 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22488 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22489 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22490 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22491 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22492 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22493 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22494 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22495 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22496 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22497 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22498 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22499 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22500 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22501 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22502 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22503 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
22504 * sysdeps/ieee754/support.c: Likewise.
22505 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22506 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
22507 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
22508 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
22509 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
22510 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
22511 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
22512 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
22513 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
22514 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
22515 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
22516 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
22517 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
22518 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
22519 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
22520 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
22521 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22523
44a988af
OB
225242013-06-05 Ondřej Bílka <neleai@seznam.cz>
22525
25506f09 22526 * posix/transbug.c: Remove executable mode.
44a988af 22527
9c84384c
JM
225282013-06-05 Joseph Myers <joseph@codesourcery.com>
22529
22530 * crypt/speeds.c: Remove trailing whitespace.
22531 * dlfcn/default.c: Likewise.
22532 * elf/ifuncdep2.c: Likewise.
22533 * elf/ifuncmain1.c: Likewise.
22534 * elf/ifuncmain1vis.c: Likewise.
22535 * elf/testobj.h: Likewise.
22536 * elf/tst-stackguard1.c: Likewise.
22537 * gmon/sys/gmon.h: Likewise.
22538 * hurd/hurdmsg.c: Likewise.
22539 * hurd/new-fd.c: Likewise.
22540 * hurd/ports-get.c: Likewise.
22541 * iconvdata/ibm1008_420.c: Likewise.
22542 * inet/tst-getni1.c: Likewise.
22543 * inet/tst-getni2.c: Likewise.
22544 * libio/ioungetc.c: Likewise.
22545 * libio/wfiledoalloc.c: Likewise.
22546 * manual/libm-err-tab.pl: Likewise.
22547 * math/w_dremf.c: Likewise.
22548 * misc/ftruncate.c: Likewise.
22549 * posix/bug-glob2.c: Likewise.
22550 * posix/tst-pcre.c: Likewise.
22551 * posix/wait4.c: Likewise.
22552 * resolv/README: Likewise.
22553 * resolv/res_debug.h: Likewise.
22554 * resolv/tst-inet_ntop.c: Likewise.
22555 * setjmp/bug269-setjmp.c: Likewise.
22556 * soft-fp/extended.h: Likewise.
22557 * soft-fp/op-1.h: Likewise.
22558 * soft-fp/op-2.h: Likewise.
22559 * soft-fp/op-4.h: Likewise.
22560 * soft-fp/op-8.h: Likewise.
22561 * soft-fp/testit.c: Likewise.
22562 * stdio-common/bug16.c: Likewise.
22563 * stdlib/random.c: Likewise.
22564 * sunrpc/rpcsvc/rquota.x: Likewise.
22565 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
22566 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22567 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22568 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22569 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22570 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22571 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22572 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22573 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22574 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22575 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22576 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22577 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22578 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22579 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22580 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22581 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22582 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22583 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22584 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22585 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22586 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22587 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
22588 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22589 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22590 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22591 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22592 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
22593 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22594 * sysdeps/ieee754/s_lib_version.c: Likewise.
22595 * sysdeps/mach/hurd/check_fds.c: Likewise.
22596 * sysdeps/mach/hurd/getsockname.c: Likewise.
22597 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
22598 * sysdeps/mach/hurd/recvfrom.c: Likewise.
22599 * sysdeps/powerpc/bits/link.h: Likewise.
22600 * sysdeps/powerpc/dl-procinfo.c: Likewise.
22601 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
22602 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
22603 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
22604 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22605 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22606 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
22607 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22608 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
22609 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22610 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22611 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22612 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
22613 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22614 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22615 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22616 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22617 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22618 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22619 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22620 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22621 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
22622 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22623 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22624 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
22625 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22626 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22627 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22628 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22629 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22630 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22631 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22632 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22633 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22634 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
22635 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22636 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
22637 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22638 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22639 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
22640 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
22641 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
22642 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
22643 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
22644 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22645 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
22646 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
22647 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22648 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
22649 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
22650 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22651 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22652 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22653 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22654 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
22655 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22656 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22657 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22658 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
22659 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22660 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
22661 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
22662 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
22663 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22664 * sysdeps/powerpc/sysdep.h: Likewise.
22665 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22666 * sysdeps/s390/s390-64/sub_n.S: Likewise.
22667 * sysdeps/sh/dl-trampoline.S: Likewise.
22668 * sysdeps/sh/memset.S: Likewise.
22669 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
22670 * sysdeps/sh/strlen.S: Likewise.
22671 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
22672 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
22673 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
22674 * sysdeps/sparc/sparc32/rem.S: Likewise.
22675 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22676 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
22677 * sysdeps/sparc/sparc32/strchr.S: Likewise.
22678 * sysdeps/sparc/sparc32/udiv.S: Likewise.
22679 * sysdeps/sparc/sparc32/urem.S: Likewise.
22680 * sysdeps/sparc/sparc64/add_n.S: Likewise.
22681 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22682 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
22683 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
22684 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
22685 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
22686 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22687 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
22688 * sysdeps/unix/bsd/times.c: Likewise.
22689 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
22690 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
22691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
22694 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
22695 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22696 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
22697 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
22698 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
22699 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
22700 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22701 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
22702 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22703 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22704 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22705 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22706 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
22707 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
22708 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
22709 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
22710 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
22711 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22712 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
22713 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
22714 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22715 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
22716 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22717 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
22718 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
22719 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
22720 * sysdeps/x86_64/strcspn.S: Likewise.
22721
869378a5
RA
227222013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22723
22724 * locale/C-translit.h: Revert #include <stdint.h> because this is a
22725 generated file. Regenerate properly from gen-translit.pl.
22726 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
22727 locale/C-translit.h.
22728
840e2943
AS
227292013-06-05 Andreas Schwab <schwab@suse.de>
22730
22731 [BZ #15100]
22732 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
22733 week as 6 instead of -1.
22734 * time/tst-strptime.c (day_tests): Add test case.
22735
4c60cb0c
SP
227362013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22737
22738 * sysdeps/generic/math_private.h
22739 (libc_feholdexcept_setround_53bit): Replace with
22740 libc_feholdsetround_53bit.
22741 (libc_feupdateenv_53bit): Replace with
22742 libc_feresetround_53bit.
22743 (SET_RESTORE_ROUND_53BIT): Adjust.
22744
d180203e
SP
227452013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22746
96df079a
SP
22747 * string/test-strchrnul.c: Add copyright header.
22748
d180203e
SP
22749 * posix/tst-getaddrinfo4.c: Increase test timeout.
22750
8b0ccb2d
CD
227512013-06-03 Carlos O'Donell <carlos@redhat.com>
22752
22753 [BZ #15536]
22754 * math/libm-test.inc (MAX_EXP): Remove
22755 (MIN_EXP): Define.
22756 (ulp): Use MIN_EXP - MANT_DIG.
22757 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
22758
3b3c4d40
CD
227592013-05-31 Carlos O'Donell <carlos@redhat.com>
22760
22761 * po/be.po: Revert last change.
22762 * po/zh_CN.po: Likewise.
22763 * po/header.pot: Likewise.
22764
fab7ce3f
JM
227652013-05-31 Joseph Myers <joseph@codesourcery.com>
22766
22767 * Makefile ($(common-objpfx)linkobj/libc.so): Define
22768 link-libc-deps to empty as target-specific variable.
22769 * Makerules (link-libc-args): New variable.
22770 (libc-for-link): Likewise.
22771 (link-libc-deps): Likewise.
22772 (lib%.so): Depend on $(link-libc-deps). Link with
22773 $(link-libc-args).
22774 (build-module): Link with $(link-libc-args).
22775 (build-module-asneeded): Likewise.
22776 (build-module-helper-objlist): Filter out $(link-libc-deps) from
22777 list of objects.
22778 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
22779 target-specific variable.
22780 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
22781 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
22782 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
22783 libc.
22784 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
22785 libc and ld.so.
22786 ($(objpfx)libpcprofile.so): Likewise.
22787 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
22788 libc_nonshared.a.
22789 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
22790 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
22791 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
22792 $(link-libc-deps).
22793 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
22794 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
22795 * login/Makefile ($(objpfx)libutil.so): Likewise.
22796 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
22797 * math/Makefile ($(objpfx)libm.so): Likewise.
22798 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
22799 $(objpfx)libnsl.so): Define libc-for-link as target-specific
22800 variable instead of depending directly on libc.
22801 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
22802 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
22803 $(link-libc-deps).
22804 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
22805 libc.
22806 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
22807 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
22808 ($(objpfx)libanl.so): Likewise.
22809 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
22810 ld.so.
22811 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
22812 $(link-libc-deps).
22813 * sysdeps/i386/fpu/Makefile: Remove file.
22814 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
22815 ($(objpfx)libm.so): Remove dependency on ld.so.
22816
eca5920c
PF
228172013-05-30 Patsy Franklin <pfrankli@redhat.com>
22818
22819 [BZ # 15553]
22820 * nis/yp_xdr.c (XDRMAXNAME): Define.
22821 (XDRMAXRECORD): Define.
22822 (xdr_domainname): Use XDRMAXNAME.
22823 (xdr_mapname): Likewise.
22824 (xdr_peername): Likewise.
22825 (xdr_keydat): Use XDRMAXRECORD.
22826 (xdr_valdat): Likewise.
22827
228282013-05-30 Jeff Law <law@redhat.com>
96945714
JL
22829
22830 [BZ #14256]
22831 * manual/errno.texi (ESTALE): Update to account for more than
22832 just NFS file systems.
22833 * sysdeps/gnu/errlist.c: Regenerated.
22834
b9375348
SP
228352013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22836
22837 [BZ #15465]
22838 * elf/Makefile (tests): Add tst-null-argv.
22839 (modules-names): Add tst-null-argv-lib.
22840 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
22841 (tst-null-argv-ENV): Set environment for tst-null-argv.
22842 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
22843 (RTLD_PROGNAME): New macro.
22844 * elf/tst-null-argv.c: New test case.
22845 * elf/tst-null-argv-lib.c: Library for test case.
22846 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
22847 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
22848 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
22849 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
22850 * elf/dl-init.c (call_init): Likewise.
22851 (_dl_init): Likewise.
22852 * elf/dl-load.c (print_search_path): Likewise.
22853 (_dl_map_object): Likewise.
22854 * elf/dl-lookup.c (do_lookup_x): Likewise.
22855 (add_dependency): Likewise.
22856 (_dl_lookup_symbol_x): Likewise.
22857 (_dl_debug_bindings): Likewise.
22858 * elf/dl-open.c (_dl_show_scope): Likewise.
22859 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22860 * elf/dl-version.c (match_symbol): Likewise.
22861 (_dl_check_map_versions): Likewise.
22862 * elf/rtld.c (dl_main): Likewise.
22863 (print_unresolved): Use RTLD_PROGNAME.
22864 (print_missing_version): Likewise.
22865 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
22866 (elf_machine_rela): Likewise.
22867 * sysdeps/powerpc/powerpc32/dl-machine.c
22868 (__process_machine_rela): Likewise.
22869 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22870 Likewise.
22871 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22872 Likewise.
22873 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22874 Likewise.
22875 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22876 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
22877 Likewise.
22878 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
22879 Likewise.
22880 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22881
8a9f20c8
CD
228822013-05-28 Carlos O'Donell <carlos@redhat.com>
22883
22884 * po/be.po: Add descriptive title.
22885 * po/zh_CN.po: Likewise.
22886 * po/header.pot: Likewise.
22887
0e60d68e
MF
228882013-05-28 Mike Frysinger <vapier@gentoo.org>
22889
22890 * locale/programs/locarchive.c (create_archive): Inlucde fname in
22891 error message.
22892 (enlarge_archive): Likewise.
22893
56b672e9
BN
228942013-05-28 Ben North <ben@redfrontdoor.org>
22895
22896 * manual/arith.texi (frexp): It is the magnitude of the return
22897 value which lies in [0.5, 1), not the return value itself.
22898
5e056687
AZ
228992013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22900
22901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22902
2b66ef5d
TS
229032013-05-26 Thomas Schwinge <thomas@codesourcery.com>
22904
528c2405
TS
22905 * stdio-common/bug26.c (main): Correct fscanf template.
22906
07b4c13d
TS
22907 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
22908 declare _dl_skip_args.
22909
ec9dd97c
TS
22910 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
22911 Don't declare.
22912
2b66ef5d
TS
22913 * manual/platform.texi: Add missing @end deftypefun.
22914
4f8dfe27
JM
229152013-05-24 Joseph Myers <joseph@codesourcery.com>
22916
0323d086
JM
22917 [BZ #15529]
22918 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
22919 bit of mantissa of 2^16382.
22920 * math/libm-test.inc (hypot_test_data): Add more tests.
22921
dd4259b9
JM
22922 * math/libm-test.inc: Add drem and pow10 to list of tested
22923 functions.
22924 (pow10_test): New function.
22925 (drem_test): Likewise.
22926 (drem_test_tonearest): Likewise.
22927 (drem_test_towardzero): Likewise.
22928 (drem_test_downward): Likewise.
22929 (drem_test_upward): Likewise.
22930 (main): Call the new functions.
22931
4f8dfe27
JM
22932 * math/libm-test.inc (finite_test_data): Remove.
22933 (finite_test): Run tests from isfinite_test_data.
22934 (gamma_test_data): Remove.
22935 (gamma_test): Run tests from lgamma_test_data.
22936 * sysdeps/i386/fpu/libm-test-ulps: Update.
22937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22938
d116b7c4
AZ
229392013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22940
22941 * manual/platform.texi: Add PowerPC PPR function set documentation.
22942 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
22943 implementation.
22944
e96e3767
CD
229452013-05-24 Carlos O'Donell <carlos@redhat.com>
22946
22947 * math/libm-test.inc (MAX_EXP): Define.
22948 (ULPDIFF): Define.
22949 (ulp): New function.
22950 (check_float_internal): Use ULPDIFF.
22951 (cpow_test): Disable failing test.
22952 (check_ulp): Test ulp() implemetnation.
22953 (main): Call check_ulp before starting tests.
22954
b679a606
JM
229552013-05-24 Joseph Myers <joseph@codesourcery.com>
22956
e8bdba36
JM
22957 * math/gen-libm-test.pl (generate_testfile): Do not handle
22958 START_DATA and END_DATA.
22959 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
22960 END_DATA.
22961 (acos_tonearest_test_data): Likewise.
22962 (acos_towardzero_test_data): Likewise.
22963 (acos_downward_test_data): Likewise.
22964 (acos_upward_test_data): Likewise.
22965 (acosh_test_data): Likewise.
22966 (asin_test_data): Likewise.
22967 (asin_tonearest_test_data): Likewise.
22968 (asin_towardzero_test_data): Likewise.
22969 (asin_downward_test_data): Likewise.
22970 (asin_upward_test_data): Likewise.
22971 (asinh_test_data): Likewise.
22972 (atan_test_data): Likewise.
22973 (atanh_test_data): Likewise.
22974 (atan2_test_data): Likewise.
22975 (cabs_test_data): Likewise.
22976 (cacos_test_data): Likewise.
22977 (cacosh_test_data): Likewise.
22978 (carg_test_data): Likewise.
22979 (casin_test_data): Likewise.
22980 (casinh_test_data): Likewise.
22981 (catan_test_data): Likewise.
22982 (catanh_test_data): Likewise.
22983 (cbrt_test_data): Likewise.
22984 (ccos_test_data): Likewise.
22985 (ccosh_test_data): Likewise.
22986 (ceil_test_data): Likewise.
22987 (cexp_test_data): Likewise.
22988 (cimag_test_data): Likewise.
22989 (clog_test_data): Likewise.
22990 (clog10_test_data): Likewise.
22991 (conj_test_data): Likewise.
22992 (copysign_test_data): Likewise.
22993 (cos_test_data): Likewise.
22994 (cos_tonearest_test_data): Likewise.
22995 (cos_towardzero_test_data): Likewise.
22996 (cos_downward_test_data): Likewise.
22997 (cos_upward_test_data): Likewise.
22998 (cosh_test_data): Likewise.
22999 (cosh_tonearest_test_data): Likewise.
23000 (cosh_towardzero_test_data): Likewise.
23001 (cosh_downward_test_data): Likewise.
23002 (cosh_upward_test_data): Likewise.
23003 (cpow_test_data): Likewise.
23004 (cproj_test_data): Likewise.
23005 (creal_test_data): Likewise.
23006 (csin_test_data): Likewise.
23007 (csinh_test_data): Likewise.
23008 (csqrt_test_data): Likewise.
23009 (ctan_test_data): Likewise.
23010 (ctan_tonearest_test_data): Likewise.
23011 (ctan_towardzero_test_data): Likewise.
23012 (ctan_downward_test_data): Likewise.
23013 (ctan_upward_test_data): Likewise.
23014 (ctanh_test_data): Likewise.
23015 (ctanh_tonearest_test_data): Likewise.
23016 (ctanh_towardzero_test_data): Likewise.
23017 (ctanh_downward_test_data): Likewise.
23018 (ctanh_upward_test_data): Likewise.
23019 (erf_test_data): Likewise.
23020 (erfc_test_data): Likewise.
23021 (exp_test_data): Likewise.
23022 (exp_tonearest_test_data): Likewise.
23023 (exp_towardzero_test_data): Likewise.
23024 (exp_downward_test_data): Likewise.
23025 (exp_upward_test_data): Likewise.
23026 (exp10_test_data): Likewise.
23027 (exp2_test_data): Likewise.
23028 (expm1_test_data): Likewise.
23029 (fabs_test_data): Likewise.
23030 (fdim_test_data): Likewise.
23031 (finite_test_data): Likewise.
23032 (floor_test_data): Likewise.
23033 (fma_test_data): Likewise.
23034 (fma_towardzero_test_data): Likewise.
23035 (fma_downward_test_data): Likewise.
23036 (fma_upward_test_data): Likewise.
23037 (fmax_test_data): Likewise.
23038 (fmin_test_data): Likewise.
23039 (fmod_test_data): Likewise.
23040 (fpclassify_test_data): Likewise.
23041 (frexp_test_data): Likewise.
23042 (gamma_test_data): Likewise.
23043 (hypot_test_data): Likewise.
23044 (ilogb_test_data): Likewise.
23045 (isfinite_test_data): Likewise.
23046 (isgreater_test_data): Likewise.
23047 (isgreaterequal_test_data): Likewise.
23048 (isinf_test_data): Likewise.
23049 (isless_test_data): Likewise.
23050 (islessequal_test_data): Likewise.
23051 (islessgreater_test_data): Likewise.
23052 (isnan_test_data): Likewise.
23053 (isnormal_test_data): Likewise.
23054 (issignaling_test_data): Likewise.
23055 (isunordered_test_data): Likewise.
23056 (j0_test_data): Likewise.
23057 (j1_test_data): Likewise.
23058 (jn_test_data): Likewise.
23059 (ldexp_test_data): Likewise.
23060 (lgamma_test_data): Likewise.
23061 (lrint_test_data): Likewise.
23062 (lrint_tonearest_test_data): Likewise.
23063 (lrint_towardzero_test_data): Likewise.
23064 (lrint_downward_test_data): Likewise.
23065 (lrint_upward_test_data): Likewise.
23066 (llrint_test_data): Likewise.
23067 (llrint_tonearest_test_data): Likewise.
23068 (llrint_towardzero_test_data): Likewise.
23069 (llrint_downward_test_data): Likewise.
23070 (llrint_upward_test_data): Likewise.
23071 (log_test_data): Likewise.
23072 (log10_test_data): Likewise.
23073 (log1p_test_data): Likewise.
23074 (log2_test_data): Likewise.
23075 (logb_test_data): Likewise.
23076 (logb_downward_test_data): Likewise.
23077 (lround_test_data): Likewise.
23078 (llround_test_data): Likewise.
23079 (modf_test_data): Likewise.
23080 (nearbyint_test_data): Likewise.
23081 (nextafter_test_data): Likewise.
23082 (nexttoward_test_data): Likewise.
23083 (pow_test_data): Likewise.
23084 (pow_tonearest_test_data): Likewise.
23085 (pow_towardzero_test_data): Likewise.
23086 (pow_downward_test_data): Likewise.
23087 (pow_upward_test_data): Likewise.
23088 (remainder_test_data): Likewise.
23089 (remainder_tonearest_test_data): Likewise.
23090 (remainder_towardzero_test_data): Likewise.
23091 (remainder_downward_test_data): Likewise.
23092 (remainder_upward_test_data): Likewise.
23093 (remquo_test_data): Likewise.
23094 (rint_test_data): Likewise.
23095 (rint_tonearest_test_data): Likewise.
23096 (rint_towardzero_test_data): Likewise.
23097 (rint_downward_test_data): Likewise.
23098 (rint_upward_test_data): Likewise.
23099 (round_test_data): Likewise.
23100 (scalb_test_data): Likewise.
23101 (scalbn_test_data): Likewise.
23102 (scalbln_test_data): Likewise.
23103 (signbit_test_data): Likewise.
23104 (sin_test_data): Likewise.
23105 (sin_tonearest_test_data): Likewise.
23106 (sin_towardzero_test_data): Likewise.
23107 (sin_downward_test_data): Likewise.
23108 (sin_upward_test_data): Likewise.
23109 (sincos_test_data): Likewise.
23110 (sinh_test_data): Likewise.
23111 (sinh_tonearest_test_data): Likewise.
23112 (sinh_towardzero_test_data): Likewise.
23113 (sinh_downward_test_data): Likewise.
23114 (sinh_upward_test_data): Likewise.
23115 (sqrt_test_data): Likewise.
23116 (tan_test_data): Likewise.
23117 (tan_tonearest_test_data): Likewise.
23118 (tan_towardzero_test_data): Likewise.
23119 (tan_downward_test_data): Likewise.
23120 (tan_upward_test_data): Likewise.
23121 (tanh_test_data): Likewise.
23122 (tgamma_test_data): Likewise.
23123 (trunc_test_data): Likewise.
23124 (y0_test_data): Likewise.
23125 (y1_test_data): Likewise.
23126 (yn_test_data): Likewise.
23127 (significand_test_data): Likewise.
23128
b679a606
JM
23129 * math/gen-libm-test.pl (@functions): Remove variable.
23130 (generate_testfile): Don't handle START and END lines.
23131 * math/libm-test.inc (START): New macro.
23132 (END): Likewise.
23133 (END_COMPLEX): Likewise.
23134 (acos_test): Use END macro without arguments.
23135 (acos_test_tonearest): Likewise.
23136 (acos_test_towardzero): Likewise.
23137 (acos_test_downward): Likewise.
23138 (acos_test_upward): Likewise.
23139 (acosh_test): Likewise.
23140 (asin_test): Likewise.
23141 (asin_test_tonearest): Likewise.
23142 (asin_test_towardzero): Likewise.
23143 (asin_test_downward): Likewise.
23144 (asin_test_upward): Likewise.
23145 (asinh_test): Likewise.
23146 (atan_test): Likewise.
23147 (atanh_test): Likewise.
23148 (atan2_test): Likewise.
23149 (cabs_test): Likewise.
23150 (cacos_test): Use END_COMPLEX macro without arguments.
23151 (cacosh_test): Likewise.
23152 (carg_test): Use END macro without arguments.
23153 (casin_test): Use END_COMPLEX macro without arguments.
23154 (casinh_test): Likewise.
23155 (catan_test): Likewise.
23156 (catanh_test): Likewise.
23157 (cbrt_test): Use END macro without arguments.
23158 (ccos_test): Use END_COMPLEX macro without arguments.
23159 (ccosh_test): Likewise.
23160 (ceil_test): Use END macro without arguments.
23161 (cexp_test): Use END_COMPLEX macro without arguments.
23162 (cimag_test): Use END macro without arguments.
23163 (clog_test): Use END_COMPLEX macro without arguments.
23164 (clog10_test): Likewise.
23165 (conj_test): Likewise.
23166 (copysign_test): Use END macro without arguments.
23167 (cos_test): Likewise.
23168 (cos_test_tonearest): Likewise.
23169 (cos_test_towardzero): Likewise.
23170 (cos_test_downward): Likewise.
23171 (cos_test_upward): Likewise.
23172 (cosh_test): Likewise.
23173 (cosh_test_tonearest): Likewise.
23174 (cosh_test_towardzero): Likewise.
23175 (cosh_test_downward): Likewise.
23176 (cosh_test_upward): Likewise.
23177 (cpow_test): Use END_COMPLEX macro without arguments.
23178 (cproj_test): Likewise.
23179 (creal_test): Use END macro without arguments.
23180 (csin_test): Use END_COMPLEX macro without arguments.
23181 (csinh_test): Likewise.
23182 (csqrt_test): Likewise.
23183 (ctan_test): Likewise.
23184 (ctan_test_tonearest): Likewise.
23185 (ctan_test_towardzero): Likewise.
23186 (ctan_test_downward): Likewise.
23187 (ctan_test_upward): Likewise.
23188 (ctanh_test): Likewise.
23189 (ctanh_test_tonearest): Likewise.
23190 (ctanh_test_towardzero): Likewise.
23191 (ctanh_test_downward): Likewise.
23192 (ctanh_test_upward): Likewise.
23193 (erf_test): Use END macro without arguments.
23194 (erfc_test): Likewise.
23195 (exp_test): Likewise.
23196 (exp_test_tonearest): Likewise.
23197 (exp_test_towardzero): Likewise.
23198 (exp_test_downward): Likewise.
23199 (exp_test_upward): Likewise.
23200 (exp10_test): Likewise.
23201 (exp2_test): Likewise.
23202 (expm1_test): Likewise.
23203 (fabs_test): Likewise.
23204 (fdim_test): Likewise.
23205 (finite_test): Likewise.
23206 (floor_test): Likewise.
23207 (fma_test): Likewise.
23208 (fma_test_towardzero): Likewise.
23209 (fma_test_downward): Likewise.
23210 (fma_test_upward): Likewise.
23211 (fmax_test): Likewise.
23212 (fmin_test): Likewise.
23213 (fmod_test): Likewise.
23214 (fpclassify_test): Likewise.
23215 (frexp_test): Likewise.
23216 (gamma_test): Likewise.
23217 (hypot_test): Likewise.
23218 (ilogb_test): Likewise.
23219 (isfinite_test): Likewise.
23220 (isgreater_test): Likewise.
23221 (isgreaterequal_test): Likewise.
23222 (isinf_test): Likewise.
23223 (isless_test): Likewise.
23224 (islessequal_test): Likewise.
23225 (islessgreater_test): Likewise.
23226 (isnan_test): Likewise.
23227 (isnormal_test): Likewise.
23228 (issignaling_test): Likewise.
23229 (isunordered_test): Likewise.
23230 (j0_test): Likewise.
23231 (j1_test): Likewise.
23232 (jn_test): Likewise.
23233 (ldexp_test): Likewise.
23234 (lgamma_test): Likewise.
23235 (lrint_test): Likewise.
23236 (lrint_test_tonearest): Likewise.
23237 (lrint_test_towardzero): Likewise.
23238 (lrint_test_downward): Likewise.
23239 (lrint_test_upward): Likewise.
23240 (llrint_test): Likewise.
23241 (llrint_test_tonearest): Likewise.
23242 (llrint_test_towardzero): Likewise.
23243 (llrint_test_downward): Likewise.
23244 (llrint_test_upward): Likewise.
23245 (log_test): Likewise.
23246 (log10_test): Likewise.
23247 (log1p_test): Likewise.
23248 (log2_test): Likewise.
23249 (logb_test): Likewise.
23250 (logb_test_downward): Likewise.
23251 (lround_test): Likewise.
23252 (llround_test): Likewise.
23253 (modf_test): Likewise.
23254 (nearbyint_test): Likewise.
23255 (nextafter_test): Likewise.
23256 (nexttoward_test): Likewise.
23257 (pow_test): Likewise.
23258 (pow_test_tonearest): Likewise.
23259 (pow_test_towardzero): Likewise.
23260 (pow_test_downward): Likewise.
23261 (pow_test_upward): Likewise.
23262 (remainder_test): Likewise.
23263 (remainder_test_tonearest): Likewise.
23264 (remainder_test_towardzero): Likewise.
23265 (remainder_test_downward): Likewise.
23266 (remainder_test_upward): Likewise.
23267 (remquo_test): Likewise.
23268 (rint_test): Likewise.
23269 (rint_test_tonearest): Likewise.
23270 (rint_test_towardzero): Likewise.
23271 (rint_test_downward): Likewise.
23272 (rint_test_upward): Likewise.
23273 (round_test): Likewise.
23274 (scalb_test): Likewise.
23275 (scalbn_test): Likewise.
23276 (scalbln_test): Likewise.
23277 (signbit_test): Likewise.
23278 (sin_test): Likewise.
23279 (sin_test_tonearest): Likewise.
23280 (sin_test_towardzero): Likewise.
23281 (sin_test_downward): Likewise.
23282 (sin_test_upward): Likewise.
23283 (sincos_test): Likewise.
23284 (sinh_test): Likewise.
23285 (sinh_test_tonearest): Likewise.
23286 (sinh_test_towardzero): Likewise.
23287 (sinh_test_downward): Likewise.
23288 (sinh_test_upward): Likewise.
23289 (sqrt_test): Likewise.
23290 (tan_test): Likewise.
23291 (tan_test_tonearest): Likewise.
23292 (tan_test_towardzero): Likewise.
23293 (tan_test_downward): Likewise.
23294 (tan_test_upward): Likewise.
23295 (tanh_test): Likewise.
23296 (tgamma_test): Likewise.
23297 (trunc_test): Likewise.
23298 (y0_test): Likewise.
23299 (y1_test): Likewise.
23300 (yn_test): Likewise.
23301 (significand_test): Likewise.
23302
bae143d2
OB
233032013-05-24 Ondřej Bílka <neleai@seznam.cz>
23304
23305 [BZ #15381]
23306 * libio/genops.c (_IO_no_init): Initialize wide struct info.
23307
9323d39b
EM
233082013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
23309
d4ea44a0 23310 [BZ #14894]
9323d39b
EM
23311 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
23312 __ppc_mdoio and __ppc_mdoom.
23313 * manual/platform.texi: Document new functions __ppc_yield,
23314 __ppc_mdoio and __ppc_mdoom.
23315
13e23af7
CD
233162013-05-22 Carlos O'Donell <carlos@redhat.com>
23317
23318 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
23319 (main): Mention "tls" pseudo-hwcap is legacy.
23320 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
23321
351fe550
JM
233222013-05-22 Joseph Myers <joseph@codesourcery.com>
23323
23324 * math/gen-libm-test.pl (parse_args): Output only string of
23325 arguments as text for test name, not full call or descriptions of
23326 tests for extra outputs.
23327 (generate_testfile): Do not pass function name to parse_args.
23328 Generate this_func variable from START.
23329 * math/libm-test.inc (struct test_f_f_data): Rename test_name
23330 field to arg_str.
23331 (struct test_ff_f_data): Likewise.
23332 (test_ff_f_data_nexttoward): Likewise.
23333 (struct test_fi_f_data): Likewise.
23334 (struct test_fl_f_data): Likewise.
23335 (struct test_if_f_data): Likewise.
23336 (struct test_fff_f_data): Likewise.
23337 (struct test_c_f_data): Likewise.
23338 (struct test_f_f1_data): Likewise. Remove field extra_name.
23339 (struct test_fF_f1_data): Likewise.
23340 (struct test_ffI_f1_data): Likewise.
23341 (struct test_c_c_data): Rename test_name field to arg_str.
23342 (struct test_cc_c_data): Likewise.
23343 (struct test_f_i_data): Likewise.
23344 (struct test_ff_i_data): Likewise.
23345 (struct test_f_l_data): Likewise.
23346 (struct test_f_L_data): Likewise.
23347 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
23348 and extra2_name.
23349 (COMMON_TEST_SETUP): New macro.
23350 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
23351 (COMMON_TEST_CLEANUP): Likewise.
23352 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
23353 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
23354 macros.
23355 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
23356 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
23357 macros.
23358 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
23359 (RUN_TEST_fff_f): Take argument string. Call new setup and
23360 cleanup macros.
23361 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
23362 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
23363 macros.
23364 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
23365 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
23366 macros.
23367 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23368 (RUN_TEST_fF_f1): Take argument string. Call new setup and
23369 cleanup macros.
23370 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23371 (RUN_TEST_fI_f1): Take argument string. Call new setup and
23372 cleanup macros.
23373 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23374 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
23375 cleanup macros.
23376 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23377 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
23378 macros.
23379 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
23380 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
23381 macros.
23382 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
23383 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
23384 macros.
23385 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
23386 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
23387 cleanup macros.
23388 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
23389 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
23390 cleanup macros.
23391 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
23392 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
23393 macros.
23394 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
23395 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
23396 cleanup macros.
23397 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
23398 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
23399 macros.
23400 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
23401 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
23402 macros.
23403 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
23404 (RUN_TEST_fFF_11): Take argument string. Call new setup and
23405 cleanup macros.
23406 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
23407
85118d4d
EBM
234082013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
23409
23410 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
23411 to _sifields.sigfault.
23412 (si_addr_lsb): Define new macro.
23413 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23414 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23415 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
23416
7a44c18f
CD
234172013-05-03 Carlos O'Donell <carlos at redhat.com>
23418
23419 [BZ #15441]
23420 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
23421 returns -1.
23422 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
23423 null return -1.
23424 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
23425 loading the domain.
23426
b50a7181
JM
234272013-05-22 Joseph Myers <joseph@codesourcery.com>
23428
23429 * math/gen-libm-test.pl (parse_args): Do not include expected
23430 result in test name.
23431 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
23432 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23433 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23434 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23435 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23437
051063c8
SP
234382013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23439
3ce9e010
SP
23440 * benchtests/Makefile: Sort function entries.
23441
051063c8
SP
23442 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
23443 tanh, asinh, acosh, atanh.
23444 * benchtests/acos-inputs: New file.
23445 * benchtests/acosh-inputs: New file.
23446 * benchtests/asin-inputs: New file.
23447 * benchtests/asinh-inputs: New file.
23448 * benchtests/atanh-inputs: New file.
23449 * benchtests/cosh-inputs: New file.
23450 * benchtests/log-inputs: New file.
23451 * benchtests/sinh-inputs: New file.
23452 * benchtests/tanh-inputs: New file.
23453
47c22455
DL
234542013-05-21 Dmitry V. Levin <ldv@altlinux.org>
23455
23456 [BZ #15339]
23457 * posix/tst-getaddrinfo4.c: New test.
23458 * posix/Makefile (tests): Add it.
23459
3d04f5db
SP
234602013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23461
23462 [BZ #15339]
23463 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
23464 when no services were used.
23465 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
23466 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
23467
d5dd6189
AS
234682013-05-21 Andreas Schwab <schwab@suse.de>
23469
23470 [BZ #15014]
23471 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
23472 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
23473 successful.
23474 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
23475 redundant variable declarations and reallocation of buffer when
23476 parsing as IPv6 address. Always set NSS status when called from
23477 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
23478 buffer too small. Correct computation of needed size.
23479 * nss/Makefile (tests): Add test-digits-dots.
23480 * nss/test-digits-dots.c: New test.
23481
fef94eab
SP
234822013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23483
23484 * benchtests/Makefile: Remove instructions for adding
23485 benchmark tests.
23486 * benchtests/README: New file to explain how to execute and
23487 enhance the benchmark tests.
23488
e39adf43
AS
234892013-05-21 Andreas Schwab <schwab@suse.de>
23490
23491 [BZ #15493]
23492 * setjmp/Makefile (tests): Add tst-sigsetjmp.
23493 * setjmp/tst-sigsetjmp.c: New test.
23494
b2b671b6
OB
234952013-05-20 Ondřej Bílka <neleai@seznam.cz>
23496
23497 * sysdeps/x86_64/memset.S (memset): New implementation.
23498 (__bzero): Likewise.
23499 (__memset_tail): New function.
23500
2d48b41c
OB
235012013-05-20 Ondřej Bílka <neleai@seznam.cz>
23502
23503 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
23504 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
23505 __memcpy_sse2_unaligned ifunc selection.
23506 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23507 Add memcpy-sse2-unaligned.S.
23508 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23509 Add: __memcpy_sse2_unaligned.
23510
f16cc3eb
JM
235112013-05-19 Joseph Myers <joseph@codesourcery.com>
23512
3e694268
JM
23513 [BZ #15490]
23514 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23515 math_force_eval before restoring floating-point envrionment.
23516 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
23517 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
23518 Likewise.
23519 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
23520 <math_private.h>.
23521 (__nearbyintl): Use math_force_eval before restoring
23522 floating-point environment.
23523 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
23524
db62a907
JM
23525 * math/gen-libm-test.pl (special_functions): Remove.
23526 (parse_args): Don't handle TEST_extra. Handle functions with no
23527 return value.
23528 * math/libm-test.inc (struct test_sincos_data): Replace with
23529 struct test_fFF_11_data.
23530 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
23531 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
23532 (sincos_test_data): Change element type to struct
23533 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
23534 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
23535 RUN_TEST_LOOP_sincos.
23536 * math/README.libm-test: Don't mention special handling of
23537 individual functions.
23538 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
23539 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23540 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23541 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23542 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23544
f16cc3eb
JM
23545 * math/gen-libm-test.pl (get_variable): Remove function.
23546 (parse_args): Don't show pointer parameters to call in test
23547 names. Use "extra output N" in test names for extra outputs
23548 rather than naming variables.
23549
3779b5b6
JM
235502013-05-18 Joseph Myers <joseph@codesourcery.com>
23551
2ee094ff
JM
23552 [BZ #15488]
23553 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
23554 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
23555 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
23556 double tests.
23557 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
23558 disable.
23559 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
23560 check_long_double.
23561
3779b5b6
JM
23562 * math/gen-libm-test.pl (@tests): Remove variable.
23563 ($count): Likewise.
23564 (new_test): Remove function.
23565 (show_exceptions): New function.
23566 (special_functions): Use show_exceptions instead of new_test.
23567 (parse_args): Likewise.
23568 (generate_testfile): Pass only function name in generated call to
23569 print_max_error or print_complex_max_error.
23570 (get_ulps): Do not handle complex tests specially.
23571 (output_test): Rename to ...
23572 (get_all_ulps_for_test): ... this. Return a string rather than
23573 printing to a file. Require ulps to be present.
23574 (output_ulps): Generate arrays rather than #defines.
23575 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
23576 (struct ulp_data): New type.
23577 (BUILD_COMPLEX_ULP): Remove macro.
23578 (compare_ulp_data): New function.
23579 (find_ulps): Likewise.
23580 (find_test_ulps): Likewise.
23581 (find_function_ulps): Likewise.
23582 (find_complex_function_ulps): Likewise.
23583 (print_max_error): Determine allowed ulps using
23584 find_function_ulps.
23585 (print_complex_max_error): Determine allowed ulps using
23586 find_complex_function_ulps.
23587 (check_float_internal): Determine max ulps using find_test_ulps.
23588 (check_float): Do not take max_ulp parameter. Update call to
23589 check_float_internal.
23590 (check_complex): Likewise.
23591 (check_int): Do not take max_ulp parameter.
23592 (check_long): Likewise.
23593 (check_bool): Likewise.
23594 (check_longlong): Likewise.
23595 (struct test_f_f_data): Remove max_ulp field.
23596 (struct test_ff_f_data): Likewise.
23597 (struct test_ff_f_data_nexttoward): Likewise.
23598 (struct test_fi_f_data): Likewise.
23599 (struct test_fl_f_data): Likewise.
23600 (struct test_if_f_data): Likewise.
23601 (struct test_fff_f_data): Likewise.
23602 (struct test_c_f_data): Likewise.
23603 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
23604 (struct test_fF_f1_data): Likewise.
23605 (struct test_ffI_f1_data): Likewise.
23606 (struct test_c_c_data): Remove max_ulp field.
23607 (struct test_cc_c_data): Likewise.
23608 (struct test_f_i_data): Likewise.
23609 (struct test_ff_i_data): Likewise.
23610 (struct test_f_l_data): Likewise.
23611 (struct test_f_L_data): Likewise.
23612 (struct test_sincos_data): Likewise.
23613 (RUN_TEST_f_f): Do not handle ulps.
23614 (RUN_TEST_LOOP_f_f): Likewise.
23615 (RUN_TEST_2_f): Likewise.
23616 (RUN_TEST_LOOP_2_f): Likewise.
23617 (RUN_TEST_fff_f): Likewise.
23618 (RUN_TEST_LOOP_fff_f): Likewise.
23619 (RUN_TEST_c_f): Likewise.
23620 (RUN_TEST_LOOP_c_f): Likewise.
23621 (RUN_TEST_f_f1): Likewise.
23622 (RUN_TEST_LOOP_f_f1): Likewise.
23623 (RUN_TEST_fF_f1): Likewise.
23624 (RUN_TEST_LOOP_fF_f1): Likewise.
23625 (RUN_TEST_fI_f1): Likewise.
23626 (RUN_TEST_LOOP_fI_f1): Likewise.
23627 (RUN_TEST_ffI_f1): Likewise.
23628 (RUN_TEST_LOOP_ffI_f1): Likewise.
23629 (RUN_TEST_c_c): Likewise.
23630 (RUN_TEST_LOOP_c_c): Likewise.
23631 (RUN_TEST_cc_c): Likewise.
23632 (RUN_TEST_LOOP_cc_c): Likewise.
23633 (RUN_TEST_f_i): Likewise.
23634 (RUN_TEST_LOOP_f_i): Likewise.
23635 (RUN_TEST_f_i_tg): Likewise.
23636 (RUN_TEST_LOOP_f_i_tg): Likewise.
23637 (RUN_TEST_ff_i_tg): Likewise.
23638 (RUN_TEST_LOOP_ff_i_tg): Likewise.
23639 (RUN_TEST_f_b): Likewise.
23640 (RUN_TEST_LOOP_f_b): Likewise.
23641 (RUN_TEST_f_b_tg): Likewise.
23642 (RUN_TEST_LOOP_f_b_tg): Likewise.
23643 (RUN_TEST_f_l): Likewise.
23644 (RUN_TEST_LOOP_f_l): Likewise.
23645 (RUN_TEST_f_L): Likewise.
23646 (RUN_TEST_LOOP_f_L): Likewise.
23647 (RUN_TEST_sincos): Likewise.
23648 (RUN_TEST_LOOP_sincos): Likewise.
23649
8269107f
JM
236502013-05-17 Joseph Myers <joseph@codesourcery.com>
23651
bb38759d
JM
23652 [BZ #15480]
23653 [BZ #15485]
23654 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
23655 main case of finite arguments, set rounding mode to FE_TONEAREST
23656 and discard exceptions.
23657 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
23658 exceptions.
23659 (remainder_tonearest_test_data): New variable.
23660 (remainder_test_tonearest): New function.
23661 (remainder_towardzero_test_data): New variable.
23662 (remainder_test_towardzero): New function.
23663 (remainder_downward_test_data): New variable.
23664 (remainder_test_downward): New function.
23665 (remainder_upward_test_data): New variable.
23666 (remainder_test_upward): New function.
23667 (main): Call the new test functions.
23668
a00bdcf0
JM
23669 * math/libm-test.inc (struct test_f_f1_data): Remove field
23670 extra_init.
23671 (struct test_fF_f1_data): Likewise.
23672 (struct test_ffI_f1_data): Likewise.
23673 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
23674 based on value of EXTRA_EXPECTED.
23675 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23676 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
23677 EXTRA_VAR based on value of EXTRA_EXPECTED.
23678 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23679 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
23680 EXTRA_VAR based on value of EXTRA_EXPECTED.
23681 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23682 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
23683 EXTRA_VAR based on value of EXTRA_EXPECTED.
23684 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23685 * math/gen-libm-test.pl (parse_args): Don't output initializers
23686 for extra output values.
23687
de407f79
JM
23688 * math/libm-test.inc (check_int): Expect result to be exactly
23689 equal to expected value and do not handle ulps.
23690 (check_long): Likewise.
23691 (check_longlong): Likewise.
23692
8269107f
JM
23693 * math/libm-test.inc (ceil_test_data): Test for "inexact"
23694 exceptions.
23695 (cimag_test_data): Likewise.
23696 (conj_test_data): Likewise.
23697 (copysign_test_data): Likewise.
23698 (cproj_test_data): Likewise.
23699 (creal_test_data): Likewise.
23700 (fabs_test_data): Likewise.
23701 (fdim_test_data): Likewise.
23702 (finite_test_data): Likewise.
23703 (floor_test_data): Likewise.
23704 (fmax_test_data): Likewise.
23705 (fmin_test_data): Likewise.
23706 (fmod_test_data): Likewise.
23707 (fpclassify_test_data): Likewise.
23708 (frexp_test_data): Likewise.
23709 (ilogb_test_data): Likewise.
23710 (isfinite_test_data): Likewise.
23711 (isgreater_test_data): Likewise.
23712 (isgreaterequal_test_data): Likewise.
23713 (isinf_test_data): Likewise.
23714 (isless_test_data): Likewise.
23715 (islessequal_test_data): Likewise.
23716 (islessgreater_test_data): Likewise.
23717 (isnan_test_data): Likewise.
23718 (isnormal_test_data): Likewise.
23719 (issignaling_test_data): Likewise.
23720 (isunordered_test_data): Likewise.
23721 (ldexp_test_data): Likewise.
23722 (lrint_test_data): Likewise.
23723 (lrint_test_data) [TEST_FLOAT]: Disable one test.
23724 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
23725 (lrint_tonearest_test_data): Test for "inexact" exceptions.
23726 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23727 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
23728 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23729 test input.
23730 (lrint_towardzero_test_data): Test for "inexact" exceptions.
23731 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23732 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
23733 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
23734 that test input.
23735 (lrint_downward_test_data): Test for "inexact" exceptions.
23736 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23737 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
23738 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23739 test input.
23740 (lrint_upward_test_data): Test for "inexact" exceptions.
23741 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
23742 test input.
23743 (llrint_test_data): Test for "inexact" exceptions.
23744 (llrint_test_data) [TEST_FLOAT]: Disable one test.
23745 (llrint_tonearest_test_data): Test for "inexact" exceptions.
23746 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23747 (llrint_towardzero_test_data): Test for "inexact" exceptions.
23748 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23749 (llrint_downward_test_data): Test for "inexact" exceptions.
23750 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23751 (llrint_upward_test_data): Test for "inexact" exceptions.
23752 (logb_test_data): Likewise.
23753 (logb_downward_test_data): Likewise.
23754 (nextafter_test_data): Likewise.
23755 (nexttoward_test_data): Likewise.
23756 (remainder_test_data): Likewise.
23757 (remquo_test_data): Likewise.
23758 (scalbn_test_data): Likewise.
23759 (scalbln_test_data): Likewise.
23760 (signbit_test_data): Likewise.
23761 (sqrt_test_data): Likewise.
23762 (significand_test_data): Likewise.
23763
48a18de1
SP
237642013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23765
23766 [BZ #15424]
23767 * benchtests/bench-modf.c (struct args): Mark arg0 as
23768 volatile.
23769 * scripts/bench.pl: Mark members of struct args as volatile.
23770
13d3b41a
AZ
237712013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23772
68191c1d 23773 [BZ # 15497]
13d3b41a
AZ
23774 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
23775 negative infinity on POWER6 or lower.
23776 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
23777
2848b105
MR
237782013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
23779
23780 [BZ #15442]
23781 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
23782 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
23783 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
23784 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
23785 (_FP_SETQNAN): New macro.
23786 (_FP_SETQNAN_SEMIRAW): Likewise.
23787 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
23788 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
23789 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
23790 (FP_EXTEND): Use _FP_FRAC_SNANP.
23791 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
23792 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
23793 into account.
23794 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23795 New macro.
23796 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23797 Likewise.
23798
323e5cb7
JM
237992013-05-16 Joseph Myers <joseph@codesourcery.com>
23800
c58b274f
JM
23801 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
23802 with DIVIDE_BY_ZERO_EXCEPTION.
23803 (gamma_test_data): Likewise.
23804 (lgamma_test_data): Likewise.
23805 (log_test_data): Likewise.
23806 (log10_test_data): Likewise.
23807 (log2_test_data): Likewise.
23808 (tgamma_test_data): Likewise.
23809
0ab34904
JM
23810 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
23811 (acos_test_tonearest): Likewise.
23812 (acos_test_towardzero): Likewise.
23813 (acos_test_downward): Likewise.
23814 (acos_test_upward): Likewise.
23815 (acosh_test): Likewise.
23816 (asin_test): Likewise.
23817 (asin_test_tonearest): Likewise.
23818 (asin_test_towardzero): Likewise.
23819 (asin_test_downward): Likewise.
23820 (asin_test_upward): Likewise.
23821 (asinh_test): Likewise.
23822 (atan_test): Likewise.
23823 (atanh_test): Likewise.
23824 (atan2_test): Likewise.
23825 (cabs_test): Likewise.
23826 (cacos_test): Likewise.
23827 (cacosh_test): Likewise.
23828 (casin_test): Likewise.
23829 (casinh_test): Likewise.
23830 (catan_test): Likewise.
23831 (catanh_test): Likewise.
23832 (cbrt_test): Likewise.
23833 (ccos_test): Likewise.
23834 (ccosh_test): Likewise.
23835 (cexp_test): Likewise.
23836 (clog_test): Likewise.
23837 (clog10_test): Likewise.
23838 (cos_test): Likewise.
23839 (cos_test_tonearest): Likewise.
23840 (cos_test_towardzero): Likewise.
23841 (cos_test_downward): Likewise.
23842 (cos_test_upward): Likewise.
23843 (cosh_test): Likewise.
23844 (cosh_test_tonearest): Likewise.
23845 (cosh_test_towardzero): Likewise.
23846 (cosh_test_downward): Likewise.
23847 (cosh_test_upward): Likewise.
23848 (cpow_test): Likewise.
23849 (csin_test): Likewise.
23850 (csinh_test): Likewise.
23851 (csqrt_test): Likewise.
23852 (ctan_test): Likewise.
23853 (ctan_test_tonearest): Likewise.
23854 (ctan_test_towardzero): Likewise.
23855 (ctan_test_downward): Likewise.
23856 (ctan_test_upward): Likewise.
23857 (ctanh_test): Likewise.
23858 (ctanh_test_tonearest): Likewise.
23859 (ctanh_test_towardzero): Likewise.
23860 (ctanh_test_downward): Likewise.
23861 (ctanh_test_upward): Likewise.
23862 (erf_test): Likewise.
23863 (erfc_test): Likewise.
23864 (exp_test): Likewise.
23865 (exp_test_tonearest): Likewise.
23866 (exp_test_towardzero): Likewise.
23867 (exp_test_downward): Likewise.
23868 (exp_test_upward): Likewise.
23869 (exp10_test): Likewise.
23870 (exp2_test): Likewise.
23871 (expm1_test): Likewise.
23872 (fmod_test): Likewise.
23873 (gamma_test): Likewise.
23874 (hypot_test): Likewise.
23875 (j0_test): Likewise.
23876 (j1_test): Likewise.
23877 (jn_test): Likewise.
23878 (lgamma_test): Likewise.
23879 (log_test): Likewise.
23880 (log10_test): Likewise.
23881 (log1p_test): Likewise.
23882 (log2_test): Likewise.
23883 (logb_test_downward): Likewise.
23884 (pow_test): Likewise.
23885 (pow_test_tonearest): Likewise.
23886 (pow_test_towardzero): Likewise.
23887 (pow_test_downward): Likewise.
23888 (pow_test_upward): Likewise.
23889 (remainder_test): Likewise.
23890 (remquo_test): Likewise.
23891 (sin_test): Likewise.
23892 (sin_test_tonearest): Likewise.
23893 (sin_test_towardzero): Likewise.
23894 (sin_test_downward): Likewise.
23895 (sin_test_upward): Likewise.
23896 (sincos_test): Likewise.
23897 (sinh_test): Likewise.
23898 (sinh_test_tonearest): Likewise.
23899 (sinh_test_towardzero): Likewise.
23900 (sinh_test_downward): Likewise.
23901 (sinh_test_upward): Likewise.
23902 (sqrt_test): Likewise.
23903 (tan_test): Likewise.
23904 (tan_test_tonearest): Likewise.
23905 (tan_test_towardzero): Likewise.
23906 (tan_test_downward): Likewise.
23907 (tan_test_upward): Likewise.
23908 (tanh_test): Likewise.
23909 (tgamma_test): Likewise.
23910 (y0_test): Likewise.
23911 (y1_test): Likewise.
23912 (yn_test): Likewise.
23913
323e5cb7
JM
23914 * math/gen-libm-test.pl (adjust_arg): Remove function.
23915 (special_function): Remove argument $in_func. Only handle
23916 generating output for tables of tests, not inside functions.
23917 (parse_args): Likewise.
23918 (generate_testfile): Remove variable $in_func. Update call to
23919 parse_args.
23920 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
23921 (MINUS_ZERO_INIT): Rename macro to minus_zero.
23922 (PLUS_INFTY_INIT): Rename macro to plus_infty.
23923 (MINUS_INFTY_INIT): Rename macro to minus_infty.
23924 (QNAN_VALUE_INIT): Rename macro to qnan_value.
23925 (MAX_VALUE_INIT): Rename macro to max_value.
23926 (MIN_VALUE_INIT): Rename macro to min_value.
23927 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
23928 (plus_zero): Remove variable.
23929 (minus_zero): Likewise.
23930 (plus_infty): Likewise.
23931 (minus_infty): Likewise.
23932 (qnan_value): Likewise.
23933 (max_value): Likewise.
23934 (min_value): Likewise.
23935 (min_subnorm_value): Likewise.
23936
e054f494
RA
239372013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23938
23939 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
23940 uint64_t or uint32_t usage.
23941 * crypt/sha256-block.c: Likewise.
23942 * crypt/sha256-crypt.c: Likewise.
23943 * crypt/sha256.c: Likewise.
23944 * crypt/sha512-block.c: Likewise.
23945 * crypt/sha512-crypt.c: Likewise.
23946 * crypt/sha512.c: Likewise.
23947 * debug/backtrace-tst.c: Likewise.
23948 * debug/pcprofiledump.c: Likewise.
23949 * elf/cache.c: Likewise.
23950 * elf/dl-cache.c: Likewise.
23951 * elf/dl-misc.c: Likewise.
23952 * elf/dl-profile.c: Likewise.
23953 * elf/dl-support.c: Likewise.
23954 * elf/ldconfig.c: Likewise.
23955 * elf/sprof.c: Likewise.
23956 * iconv/dummy-repertoire.c: Likewise.
23957 * iconv/iconv_charmap.c: Likewise.
23958 * iconv/skeleton.c: Likewise.
23959 * iconvdata/8bit-generic.c: Likewise.
23960 * iconvdata/cp737.h: Likewise.
23961 * iconvdata/cp775.h: Likewise.
23962 * iconvdata/ibm1008.h: Likewise.
23963 * iconvdata/ibm1025.h: Likewise.
23964 * iconvdata/ibm1046.h: Likewise.
23965 * iconvdata/ibm1097.h: Likewise.
23966 * iconvdata/ibm1112.h: Likewise.
23967 * iconvdata/ibm1122.h: Likewise.
23968 * iconvdata/ibm1123.h: Likewise.
23969 * iconvdata/ibm1124.h: Likewise.
23970 * iconvdata/ibm1129.h: Likewise.
23971 * iconvdata/ibm1130.h: Likewise.
23972 * iconvdata/ibm1132.h: Likewise.
23973 * iconvdata/ibm1133.h: Likewise.
23974 * iconvdata/ibm1137.h: Likewise.
23975 * iconvdata/ibm1140.h: Likewise.
23976 * iconvdata/ibm1141.h: Likewise.
23977 * iconvdata/ibm1142.h: Likewise.
23978 * iconvdata/ibm1143.h: Likewise.
23979 * iconvdata/ibm1144.h: Likewise.
23980 * iconvdata/ibm1145.h: Likewise.
23981 * iconvdata/ibm1146.h: Likewise.
23982 * iconvdata/ibm1147.h: Likewise.
23983 * iconvdata/ibm1148.h: Likewise.
23984 * iconvdata/ibm1149.h: Likewise.
23985 * iconvdata/ibm1153.h: Likewise.
23986 * iconvdata/ibm1154.h: Likewise.
23987 * iconvdata/ibm1155.h: Likewise.
23988 * iconvdata/ibm1156.h: Likewise.
23989 * iconvdata/ibm1157.h: Likewise.
23990 * iconvdata/ibm1158.h: Likewise.
23991 * iconvdata/ibm1160.h: Likewise.
23992 * iconvdata/ibm1161.h: Likewise.
23993 * iconvdata/ibm1162.h: Likewise.
23994 * iconvdata/ibm1163.h: Likewise.
23995 * iconvdata/ibm1164.h: Likewise.
23996 * iconvdata/ibm1166.h: Likewise.
23997 * iconvdata/ibm1167.h: Likewise.
23998 * iconvdata/ibm12712.h: Likewise.
23999 * iconvdata/ibm1390.h: Likewise.
24000 * iconvdata/ibm1399.h: Likewise.
24001 * iconvdata/ibm16804.h: Likewise.
24002 * iconvdata/ibm4517.h: Likewise.
24003 * iconvdata/ibm4899.h: Likewise.
24004 * iconvdata/ibm4909.h: Likewise.
24005 * iconvdata/ibm4971.h: Likewise.
24006 * iconvdata/ibm5347.h: Likewise.
24007 * iconvdata/ibm803.h: Likewise.
24008 * iconvdata/ibm856.h: Likewise.
24009 * iconvdata/ibm901.h: Likewise.
24010 * iconvdata/ibm902.h: Likewise.
24011 * iconvdata/ibm9030.h: Likewise.
24012 * iconvdata/ibm9066.h: Likewise.
24013 * iconvdata/ibm921.h: Likewise.
24014 * iconvdata/ibm922.h: Likewise.
24015 * iconvdata/ibm9448.h: Likewise.
24016 * iconvdata/isiri-3342.h: Likewise.
24017 * iconvdata/jis0201.h: Likewise.
24018 * include/link.h: Likewise.
24019 * include/netdb.h: Likewise.
24020 * inet/check_native.c: Likewise.
24021 * inet/check_pf.c: Likewise.
24022 * inet/getipv4sourcefilter.c: Likewise.
24023 * inet/getnameinfo.c: Likewise.
24024 * inet/getsourcefilter.c: Likewise.
24025 * inet/htonl.c: Likewise.
24026 * inet/setipv4sourcefilter.c: Likewise.
24027 * inet/setsourcefilter.c: Likewise.
24028 * inet/test-inet6_opt.c: Likewise.
24029 * inet/tst-network.c: Likewise.
24030 * locale/C-collate.c: Likewise.
24031 * locale/C-ctype.c: Likewise.
24032 * locale/C-time.c: Likewise.
24033 * locale/C-translit.h: Likewise.
24034 * locale/loadarchive.c: Likewise.
24035 * locale/programs/3level.h: Likewise.
24036 * locale/programs/charmap.c: Likewise.
24037 * locale/programs/charmap.h: Likewise.
24038 * locale/programs/ld-address.c: Likewise.
24039 * locale/programs/ld-collate.c: Likewise.
24040 * locale/programs/ld-ctype.c: Likewise.
24041 * locale/programs/ld-identification.c: Likewise.
24042 * locale/programs/ld-measurement.c: Likewise.
24043 * locale/programs/ld-messages.c: Likewise.
24044 * locale/programs/ld-monetary.c: Likewise.
24045 * locale/programs/ld-name.c: Likewise.
24046 * locale/programs/ld-numeric.c: Likewise.
24047 * locale/programs/ld-paper.c: Likewise.
24048 * locale/programs/ld-telephone.c: Likewise.
24049 * locale/programs/ld-time.c: Likewise.
24050 * locale/programs/linereader.c: Likewise.
24051 * locale/programs/locale.c: Likewise.
24052 * locale/programs/locarchive.c: Likewise.
24053 * locale/programs/locfile.h: Likewise.
24054 * locale/programs/repertoire.c: Likewise.
24055 * locale/programs/simple-hash.c: Likewise.
24056 * locale/programs/simple-hash.h: Likewise.
24057 * malloc/memusage.c: Likewise.
24058 * malloc/memusagestat.c: Likewise.
24059 * nis/nis_defaults.c: Likewise.
24060 * nis/nis_hash.c: Likewise.
24061 * nis/nis_print.c: Likewise.
24062 * nis/nis_xdr.c: Likewise.
24063 * nscd/connections.c: Likewise.
24064 * nscd/hstcache.c: Likewise.
24065 * nscd/nscd_gethst_r.c: Likewise.
24066 * nscd/nscd_getserv_r.c: Likewise.
24067 * nscd/nscd_helper.c: Likewise.
24068 * nscd/servicescache.c: Likewise.
24069 * nss/makedb.c: Likewise.
24070 * nss/nss_db/db-XXX.c: Likewise.
24071 * nss/nss_db/db-initgroups.c: Likewise.
24072 * nss/nss_db/db-netgrp.c: Likewise.
24073 * nss/nss_files/files-network.c: Likewise.
24074 * nss/nss_files/files-parse.c: Likewise.
24075 * posix/bug-regex5.c: Likewise.
24076 * posix/fnmatch_loop.c: Likewise.
24077 * posix/regcomp.c: Likewise.
24078 * posix/regexec.c: Likewise.
24079 * posix/tst-rfc3484-2.c: Likewise.
24080 * posix/tst-rfc3484-3.c: Likewise.
24081 * posix/tst-rfc3484.c: Likewise.
24082 * resolv/nss_dns/dns-canon.c: Likewise.
24083 * resolv/nss_dns/dns-network.c: Likewise.
24084 * resolv/res_init.c: Likewise.
24085 * resolv/res_mkquery.c: Likewise.
24086 * resolv/tst-aton.c: Likewise.
24087 * stdlib/cxa_atexit.c: Likewise.
24088 * stdlib/cxa_finalize.c: Likewise.
24089 * stdlib/gen-fpioconst.c: Likewise.
24090 * stdlib/strtol_l.c: Likewise.
24091 * string/tst-endian.c: Likewise.
24092 * sunrpc/auth_des.c: Likewise.
24093 * sunrpc/clnt_udp.c: Likewise.
24094 * sunrpc/rtime.c: Likewise.
24095 * sunrpc/svcauth_des.c: Likewise.
24096 * sunrpc/xdr.c: Likewise.
24097 * sunrpc/xdr_intXX_t.c: Likewise.
24098 * sunrpc/xdr_rec.c: Likewise.
24099 * sysdeps/generic/ldconfig.h: Likewise.
24100 * sysdeps/generic/ldsodefs.h: Likewise.
24101 * sysdeps/generic/memusage.h: Likewise.
24102 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24103 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24104 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24105 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24106 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24107 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24108 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24109 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24110 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24111 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24112 * sysdeps/posix/getaddrinfo.c: Likewise.
24113 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24114 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24115 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24116 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24117 * sysdeps/powerpc/test-gettimebase.c: Likewise.
24118 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24119 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24120 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24121 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24122 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24123 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24124 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24125 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24126 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24127 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24128 * sysdeps/x86_64/dl-tls.h: Likewise.
24129 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24130 * time/alt_digit.c: Likewise.
24131 * time/era.c: Likewise.
24132 * wcsmbs/tst-c16c32-1.c: Likewise.
24133
8c75f674
JM
241342013-05-16 Joseph Myers <joseph@codesourcery.com>
24135
24136 * math/libm-test.inc (struct test_sincos_data): New type.
24137 (RUN_TEST_LOOP_sincos): New macro.
24138 (sincos_test_data): New variable.
24139 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24140
e6e49e59
RH
241412013-05-16 Richard Henderson <rth@redhat.com>
24142
24143 * math/atest-exp2.c (LIMB64): New macro.
24144 (CONSTSZ): New macro.
24145 (mp_exp1, mp_exp_m1, mp_log2): New variables.
24146 (hexdig): Move ...
24147 (print_mpn_fp): ... to function scope.
24148 (read_mpn_hex): Remove.
24149 (get_log2): Remove.
24150 (exp2_mpn): Use mp_log2.
24151 (main): Use mp_exp1.
24152
15c7c18d
JM
241532013-05-16 Joseph Myers <joseph@codesourcery.com>
24154
105a07df
JM
24155 * math/libm-test.inc: Remove comment about not testing "inexact"
24156 exceptions.
24157 (INEXACT_EXCEPTION): New macro.
24158 (NO_INEXACT_EXCEPTION): Likewise.
24159 (INVALID_EXCEPTION_OK): Update value.
24160 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24161 (OVERFLOW_EXCEPTION_OK): Likewise.
24162 (UNDERFLOW_EXCEPTION_OK): Likewise.
24163 (IGNORE_ZERO_INF_SIGN): Likewise.
24164 (ERRNO_UNCHANGED): Likewise.
24165 (ERRNO_EDOM): Likewise.
24166 (ERRNO_ERANGE): Likewise.
24167 (test_exceptions): Handle testing "inexact" exceptions.
24168 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
24169 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
24170 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
24171 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
24172 INEXACT_EXCEPTION.
24173 (rint_towardzero_test_data): Likewise.
24174 (rint_downward_test_data): Likewise.
24175 (rint_upward_test_data): Likewise.
24176
e9eee333
JM
24177 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
24178 with OVERFLOW_EXCEPTION.
24179 (exp10_test_data): Likewise.
24180 (exp2_test_data): Likewise.
24181 (expm1_test_data): Likewise.
24182 (lgamma_test_data): Likewise.
24183 (pow_test_data): Likewise.
24184 (tgamma_test_data): Likewise.
24185 (yn_test_data): Remove duplicate test of overflow.
24186
1c38ff73
JM
24187 * math/libm-test.inc (struct test_cc_c_data): New type.
24188 (RUN_TEST_LOOP_cc_c): New macro.
24189 (cpow_test_data): New variable.
24190 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
24191
15c7c18d
JM
24192 * math/libm-test.inc (struct test_f_L_data): New type.
24193 (RUN_TEST_LOOP_f_L): New macro.
24194 (llrint_test_data): New variable.
24195 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
24196 (llrint_tonearest_test_data): New variable.
24197 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24198 (llrint_towardzero_test_data): New variable.
24199 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
24200 (llrint_downward_test_data): New variable.
24201 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
24202 (llrint_upward_test_data): New variable.
24203 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
24204 (llround_test_data): New variable.
24205 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
24206
f137ff13
PC
242072013-05-13 Peter Collingbourne <pcc@google.com>
24208
24209 * math/atest-exp2.c (get_log2): Remove const attribute.
24210
3608cb24
JM
242112013-05-15 Joseph Myers <joseph@codesourcery.com>
24212
24213 * math/libm-test.inc (struct test_f_l_data): New type.
24214 (RUN_TEST_LOOP_f_l): New macro.
24215 (lrint_test_data): New variable.
24216 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
24217 (lrint_tonearest_test_data): New variable.
24218 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
24219 (lrint_towardzero_test_data): New variable.
24220 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
24221 (lrint_downward_test_data): New variable.
24222 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
24223 (lrint_upward_test_data): New variable.
24224 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
24225 (lround_test_data): New variable.
24226 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
24227
39b1f617
PC
242282013-05-15 Peter Collingbourne <pcc@google.com>
24229
1deff3dc
PC
24230 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
24231 (EXTRACT_WORDS64) Use where appropriate.
24232 (INSERT_WORDS64) Likewise.
24233
791f3ba0
PC
24234 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
24235 constraints with x constraints.
24236 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
24237
39b1f617
PC
24238 * malloc/obstack.c (_obstack_compat): Add initializer.
24239
12fba011
EM
242402013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
24241
24242 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
24243 si_trapno and add si_addr_lsb to _sifields.sigfault.
24244 (si_trapno): Remove macro.
24245 (si_addr_lsb): Define new macro.
24246 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24247
d369f531
JM
242482013-05-15 Joseph Myers <joseph@codesourcery.com>
24249
b861c6c4
JM
24250 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
24251 instead of TEST_f_l.
24252 (llrint_test_tonearest): Likewise.
24253 (llrint_test_towardzero): Likewise.
24254 (llrint_test_downward): Likewise.
24255 (llrint_test_upward): Likewise.
24256 (llround_test): Likewise.
24257
7abeee12
JM
24258 * math/libm-test.inc (struct test_f_i_data): Add comment.
24259 (RUN_TEST_LOOP_f_b): New macro.
24260 (RUN_TEST_LOOP_f_b_tg): Likewise.
24261 (finite_test_data): New variable.
24262 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
24263 (isfinite_test_data): New variable.
24264 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24265 (isinf_test_data): New variable.
24266 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24267 (isnan_test_data): New variable.
24268 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24269 (isnormal_test_data): New variable.
24270 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24271 (issignaling_test_data): New variable.
24272 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24273 (signbit_test_data): New variable.
24274 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24275
cbe8c4d3
JM
24276 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
24277 with INVALID_EXCEPTION.
24278 (acosh_test_data): Likewise.
24279 (asin_test_data): Likewise.
24280 (atanh_test_data): Likewise.
24281 (fmod_test_data): Likewise.
24282 (log_test_data): Likewise.
24283 (log10_test_data): Likewise.
24284 (log2_test_data): Likewise.
24285 (pow_test_data): Likewise.
24286 (sqrt_test_data): Likewise.
24287 (y0_test_data): Likewise.
24288 (y1_test_data): Likewise.
24289 (yn_test_data): Likewise.
24290
5575c0e5
JM
24291 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
24292 function contents.
24293
d369f531
JM
24294 * math/libm-test.inc (struct test_ff_i_data): New type.
24295 (RUN_TEST_LOOP_ff_i_tg): New macro.
24296 (isgreater_test_data): New variable.
24297 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24298 (isgreaterequal_test_data): New variable.
24299 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24300 (isless_test_data): New variable.
24301 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24302 (islessequal_test_data): New variable.
24303 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24304 (islessgreater_test_data): New variable.
24305 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24306 (isunordered_test_data): New variable.
24307 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24308
781fd748
DM
243092013-05-14 David S. Miller <davem@davemloft.net>
24310
24311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24312
87aa21df
JM
243132013-05-14 Joseph Myers <joseph@codesourcery.com>
24314
5e908270
JM
24315 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
24316
f71172e5
JM
24317 * math/libm-test.inc (struct test_fF_f1_data): Change type of
24318 extra_test to int.
24319 (struct test_f_i_data): Change type of max_ulp to int.
24320
8cfa635a
JM
24321 * math/libm-test.inc (test_ffI_f1_data): New type.
24322 (RUN_TEST_LOOP_ffI_f1): New macro.
24323 (remquo_test_data): New variable.
24324 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
24325
2bcb36b2
JM
24326 * setjmp/tst-setjmp-fp.c: New file.
24327 * setjmp/Makefile (tests): Add tst-setjmp-fp.
24328 (link-libm): New variable.
24329 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
24330
acbd839a
JM
24331 * math/libm-test.inc (struct test_f_i_data): New type.
24332 (RUN_TEST_LOOP_f_i): New macro.
24333 (RUN_TEST_LOOP_f_i_tg): Likewise.
24334 (fpclassify_test_data): New variable.
24335 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
24336 (ilogb_test_data): New variable.
24337 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
24338
e414d745
JM
24339 * math/libm-test.inc (scalbln_test): Correct function name in END
24340 call.
24341
d9c2a0fd
JM
24342 * math/libm-test.inc (struct test_f_f1_data): Add comment.
24343 (RUN_TEST_LOOP_fI_f1): New macro.
24344 (frexp_test_data): New variable.
24345 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
24346
9dc9095d
JM
24347 * math/libm-test.inc (struct test_fF_f1_data): New type.
24348 (RUN_TEST_LOOP_fF_f1): New macro.
24349 (modf_test_data): New variable.
24350 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
24351
87aa21df
JM
24352 * math/libm-test.inc (struct test_f_f1_data): New type.
24353 (RUN_TEST_LOOP_f_f1): New macro.
24354 (gamma_test_data): New variable.
24355 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24356 (lgamma_test_data): New variable.
24357 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24358
141af660
CD
243592013-05-13 Carlos O'Donell <carlos@redhat.com>
24360
24361 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
24362 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
24363 (main): Comment "tls" pseudo-hwcap.
24364
6d33265c
JM
243652013-05-13 Joseph Myers <joseph@codesourcery.com>
24366
68fc074c
JM
24367 * math/libm-test.inc (struct test_fl_f_data): New type.
24368 (RUN_TEST_LOOP_fl_f): New variable.
24369 (scalbln_test_data): New variable.
24370 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
24371
243216e1
JM
24372 * math/libm-test.inc (struct test_fi_f_data): New type.
24373 (RUN_TEST_LOOP_fi_f): New macro.
24374 (ldexp_test_data): New variable.
24375 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
24376 (scalbn_test_data): New variable.
24377 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
24378
6a1992e2
JM
24379 * math/libm-test.inc (struct test_c_f_data): New type.
24380 (RUN_TEST_LOOP_c_f): New macro.
24381 (cabs_test_data): New variable.
24382 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
24383 (carg_test_data): New variable.
24384 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
24385 (cimag_test_data): New variable.
24386 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
24387 (creal_test_data): New variable.
24388 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
24389
0e400df5
JM
24390 * math/libm-test.inc (struct test_if_f_data): New type.
24391 (RUN_TEST_LOOP_if_f): New macro.
24392 (jn_test_data): New variable.
24393 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
24394 (yn_test_data): New variable.
24395 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
24396
6d33265c
JM
24397 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
24398
f98ece5f
AZ
243992013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24400
24401 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
24402 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
24403
0f7d347b
SP
244042013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24405
43fe811b
SP
24406 * benchtests/Makefile (CPPFLAGS-nonlib): Add
24407 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
24408 (bench-deps): Add bench-timing.h.
24409 * benchtests-bench-skeleton.c: Include bench-timing.h.
24410 (main): Use TIMING_* macros instead of clock_gettime.
24411 * benchtests/bench-timing.h: New file.
24412
0f7d347b
SP
24413 [BZ #14582]
24414 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
24415 Renamed from _LIB_VERSION.
24416 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
24417
601a3a5f
JM
244182013-05-12 Joseph Myers <joseph@codesourcery.com>
24419
4f184d30
JM
24420 * math/libm-test.inc (struct test_fff_f_data): New type.
24421 (RUN_TEST_LOOP_fff_f): New macro.
24422 (fma_test_data): New variable.
24423 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
24424 (fma_towardzero_test_data): New variable.
24425 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
24426 (fma_downward_test_data): New variable.
24427 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
24428 (fma_upward_test_data): New variable.
24429 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
24430
08198877
JM
24431 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
24432 (struct test_c_c_data): New type.
24433 (RUN_TEST_LOOP_c_c): New macro.
24434 (cacos_test_data): New variable.
24435 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
24436 (cacosh_test_data): New variable.
24437 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
24438 (casin_test_data): New variable.
24439 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
24440 (casinh_test_data): New variable.
24441 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
24442 (catan_test_data): New variable.
24443 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
24444 (catanh_test_data): New variable.
24445 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
24446 (ccos_test_data): New variable.
24447 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
24448 (ccosh_test_data): New variable.
24449 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
24450 (cexp_test_data): New variable.
24451 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
24452 (clog_test_data): New variable.
24453 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
24454 (clog10_test_data): New variable.
24455 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
24456 (conj_test_data): New variable.
24457 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
24458 (cproj_test_data): New variable.
24459 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
24460 (csin_test_data): New variable.
24461 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
24462 (csinh_test_data): New variable.
24463 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
24464 (csqrt_test_data): New variable.
24465 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
24466 (ctan_test_data): New variable.
24467 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
24468 (ctan_tonearest_test_data): New variable.
24469 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24470 (ctan_towardzero_test_data): New variable.
24471 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24472 (ctan_downward_test_data): New variable.
24473 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24474 (ctan_upward_test_data): New variable.
24475 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24476 (ctanh_test_data): New variable.
24477 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
24478 (ctanh_tonearest_test_data): New variable.
24479 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24480 (ctanh_towardzero_test_data): New variable.
24481 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24482 (ctanh_downward_test_data): New variable.
24483 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24484 (ctanh_upward_test_data): New variable.
24485 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24486 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
24487 of BUILD_COMPLEX.
24488
601a3a5f
JM
24489 * math/libm-test.inc (struct test_ff_f_data): New type.
24490 (struct test_ff_f_data_nexttoward): Likewise.
24491 (RUN_TEST_LOOP_2_f): New macro.
24492 (RUN_TEST_LOOP_ff_f): Likewise.
24493 (atan2_test_data): New variable.
24494 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
24495 (copysign_test_data): New variable.
24496 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
24497 (fdim_test_data): New variable.
24498 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
24499 (fmax_test_data): New variable.
24500 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
24501 (fmin_test_data): New variable.
24502 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
24503 (fmod_test_data): New variable.
24504 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
24505 (hypot_test_data): New variable.
24506 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
24507 (nextafter_test_data): New variable.
24508 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
24509 (nexttoward_test_data): New variable.
24510 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
24511 (pow_test_data): New variable.
24512 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
24513 (pow_tonearest_test_data): New variable.
24514 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
24515 (pow_towardzero_test_data): New variable.
24516 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
24517 (pow_downward_test_data): New variable.
24518 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
24519 (pow_upward_test_data): New variable.
24520 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
24521 (remainder_test_data): New variable.
24522 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
24523 (scalb_test_data): New variable.
24524 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
24525 * sysdeps/i386/fpu/libm-test-ulps: Update.
24526
74c57478
JM
245272013-05-11 Joseph Myers <joseph@codesourcery.com>
24528
8329e4da
JM
24529 * math/libm-test.inc (fma_test): Use max_value instead of local
24530 variable fltmax.
24531 (nextafter_test): Likewise.
24532
74c57478
JM
24533 * math/libm-test.inc (acos_towardzero_test_data): New variable.
24534 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24535 (acos_downward_test_data): New variable.
24536 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24537 (acos_upward_test_data): New variable.
24538 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24539 (acosh_test_data): New variable.
24540 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
24541 (asin_test_data): New variable.
24542 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
24543 (asin_tonearest_test_data): New variable.
24544 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24545 (asin_towardzero_test_data): New variable.
24546 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24547 (asin_downward_test_data): New variable.
24548 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24549 (asin_upward_test_data): New variable.
24550 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24551 (asinh_test_data): New variable.
24552 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
24553 (atan_test_data): New variable.
24554 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
24555 (atanh_test_data): New variable.
24556 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
24557 (cbrt_test_data): New variable.
24558 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
24559 (ceil_test_data): New variable.
24560 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
24561 (cos_test_data): New variable.
24562 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
24563 (cos_tonearest_test_data): New variable.
24564 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24565 (cos_towardzero_test_data): New variable.
24566 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24567 (cos_downward_test_data): New variable.
24568 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24569 (cos_upward_test_data): New variable.
24570 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24571 (cosh_test_data): New variable.
24572 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
24573 (cosh_tonearest_test_data): New variable.
24574 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24575 (cosh_towardzero_test_data): New variable.
24576 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24577 (cosh_downward_test_data): New variable.
24578 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24579 (cosh_upward_test_data): New variable.
24580 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24581 (erf_test_data): New variable.
24582 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
24583 (erfc_test_data): New variable.
24584 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
24585 (exp_test_data): New variable.
24586 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
24587 (exp_tonearest_test_data): New variable.
24588 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24589 (exp_towardzero_test_data): New variable.
24590 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24591 (exp_downward_test_data): New variable.
24592 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24593 (exp_upward_test_data): New variable.
24594 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24595 (exp10_test_data): New variable.
24596 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
24597 (exp2_test_data): New variable.
24598 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
24599 (expm1_test_data): New variable.
24600 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
24601 (fabs_test_data): New variable.
24602 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
24603 (floor_test_data): New variable.
24604 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
24605 (j0_test_data): New variable.
24606 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
24607 (j1_test_data): New variable.
24608 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
24609 (log_test_data): New variable.
24610 (log_test): Run tests with RUN_TEST_LOOP_f_f.
24611 (log10_test_data): New variable.
24612 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
24613 (log1p_test_data): New variable.
24614 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
24615 (log2_test_data): New variable.
24616 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
24617 (logb_test_data): New variable.
24618 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
24619 (logb_downward_test_data): New variable.
24620 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24621 (nearbyint_test_data): New variable.
24622 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
24623 (rint_test_data): New variable.
24624 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
24625 (rint_tonearest_test_data): New variable.
24626 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24627 (rint_towardzero_test_data): New variable.
24628 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24629 (rint_downward_test_data): New variable.
24630 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24631 (rint_upward_test_data): New variable.
24632 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24633 (round_test_data): New variable.
24634 (round_test): Run tests with RUN_TEST_LOOP_f_f.
24635 (sin_test_data): New variable.
24636 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
24637 (sin_tonearest_test_data): New variable.
24638 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24639 (sin_towardzero_test_data): New variable.
24640 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24641 (sin_downward_test_data): New variable.
24642 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24643 (sin_upward_test_data): New variable.
24644 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24645 (sinh_test_data): New variable.
24646 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
24647 (sinh_tonearest_test_data): New variable.
24648 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24649 (sinh_towardzero_test_data): New variable.
24650 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24651 (sinh_downward_test_data): New variable.
24652 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24653 (sinh_upward_test_data): New variable.
24654 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24655 (sqrt_test_data): New variable.
24656 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
24657 (tan_test_data): New variable.
24658 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
24659 (tan_tonearest_test_data): New variable.
24660 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24661 (tan_towardzero_test_data): New variable.
24662 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24663 (tan_downward_test_data): New variable.
24664 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24665 (tan_upward_test_data): New variable.
24666 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24667 (tanh_test_data): New variable.
24668 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
24669 (tgamma_test_data): New variable.
24670 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
24671 (trunc_test_data): New variable.
24672 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
24673 (y0_test_data): New variable.
24674 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
24675 (y1_test_data): New variable.
24676 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
24677 (significand_test_data): New variable.
24678 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
24679
7187d844
CG
246802013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
24681
24682 [BZ #12387]
24683 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
24684
f63fae73
PT
246852013-05-10 Pino Toscano <toscano.pino@tiscali.it>
24686
24687 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
24688
8a67a4b3
AJ
246892013-05-10 Andreas Jaeger <aj@suse.de>
24690
24691 [BZ #15448]
24692 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
24693 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
24694
51df539d
JM
246952013-05-10 Joseph Myers <joseph@codesourcery.com>
24696
24697 * math/gen-libm-test.pl (adjust_arg): New function.
24698 (special_functions): Handle generating output in both functions
24699 and arrays.
24700 (parse_args): Likewise.
24701 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
24702 $in_func argument to parse_args.
24703 * math/libm-test.inc (struct test_f_f_data): New type.
24704 (IF_ROUND_INIT_): New macro.
24705 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
24706 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24707 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24708 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24709 (ROUND_RESTORE_): Likewise.
24710 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
24711 (ROUND_RESTORE_FE_TONEAREST): Likewise.
24712 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
24713 (ROUND_RESTORE_FE_UPWARD): Likewise.
24714 (RUN_TEST_LOOP_f_f): New macro.
24715 (acos_test_data): New variable.
24716 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
24717 (acos_tonearest_test_data): New variable.
24718 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24719
5c637fe5
SP
247202013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24721
24722 * benchtests/bench-skeleton.c (startup): Fix coding style.
24723
ab2b9461
JM
247242013-05-10 Joseph Myers <joseph@codesourcery.com>
24725
24726 [BZ #6809]
24727 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
24728 negative infinity argument.
24729 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
24730 negative infinity argument.
24731 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
24732 negative infinity argument.
24733 * math/libm-test.inc (tgamma_test): Expect errno to be set for
24734 domain errors.
24735
4c0fe6fe
FW
247362013-05-10 Florian Weimer <fweimer@redhat.com>
24737
24738 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
24739 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
24740 * iconv/iconv_prog.c (main): Likewise.
24741 * locale/programs/charmap-dir.c (charmap_readdir)
24742 (fopen_uncompressed): Likewise.
24743 * locale/programs/locfile.c (siblings_uncached)
24744 (write_locale_data): Use lstat64 instead of lstat.
24745 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
24746 stat.
24747
a3375d29
AJ
247482013-05-10 Andreas Jaeger <aj@suse.de>
24749
24750 [BZ #15395]
24751 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
24752 localization.
24753 Include <locale.h>.
24754
36129722
CD
247552013-05-09 Carlos O'Donell <carlos@redhat.com>
24756
24757 * elf/dl-close.c (_dl_close_worker): Add comments.
24758
faa7f811
JM
247592013-05-09 Joseph Myers <joseph@codesourcery.com>
24760
ed41ffef
JM
24761 [BZ #15359]
24762 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
24763 high part of pi/2.
24764 (__ieee754_rem_pio2l): Update comments.
24765
d0213cd0
JM
24766 [BZ #15429]
24767 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
24768 high part of pi/2.
24769 (__ieee754_rem_pio2l): Update comments.
24770
0d3e777a
JM
24771 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
24772 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
24773
24f56066
JM
24774 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
24775 M_PI_4l.
24776
faa7f811
JM
24777 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
24778 (M_PI_34_LOG10El): Likewise.
24779 (M_PI2_LOG10El): Likewise.
24780 (M_PI4_LOG10El): Likewise.
24781 (M_PI_LOG10El): Likewise.
24782
e9a5e0fd
AZ
247832013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24784
24785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24786
d8cd06db
JM
247872013-05-08 Joseph Myers <joseph@codesourcery.com>
24788
a0d9f9d7
JM
24789 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
24790 (MINUS_ZERO_INIT): Likewise.
24791 (PLUS_INFTY_INIT): Likewise.
24792 (MINUS_INFTY_INIT): Likewise.
24793 (QNAN_VALUE_INIT): Likewise.
24794 (MAX_VALUE_INIT): Likewise.
24795 (MIN_VALUE_INIT): Likewise.
24796 (MIN_SUBNORM_VALUE_INIT): Likewise.
24797 (plus_zero): Initialize with PLUS_ZERO_INIT.
24798 (minus_zero): Initialize with MINUS_ZERO_INIT.
24799 (plus_infty): Initialize with PLUS_INFTY_INIT.
24800 (minus_infty): Initialize with MINUS_INFTY_INIT.
24801 (qnan_value): Initialize with QNAN_VALUE_INIT.
24802 (max_value): Initialize with MAX_VALUE_INIT.
24803 (min_value): Initialize with MIN_VALUE_INIT.
24804 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
24805
ae08db3b
JM
24806 * math/libm-test.inc (RUN_TEST_if_f): New macro.
24807 (jn_test): Use TEST_if_f instead of TEST_ff_f.
24808 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
24809 (yn_test): Use TEST_if_f instead of TEST_ff_f.
24810
f44bf14a
JM
24811 * math/libm-test.inc (RUN_TEST_f_f): New macro.
24812 (RUN_TEST_2_f): Likewise.
24813 (RUN_TEST_ff_f): Likewise.
24814 (RUN_TEST_fi_f): Likewise.
24815 (RUN_TEST_fl_f): Likewise.
24816 (RUN_TEST_fff_f): Likewise.
24817 (RUN_TEST_c_f): Likewise.
24818 (RUN_TEST_f_f1): Likewise.
24819 (RUN_TEST_fF_f1): Likewise.
24820 (RUN_TEST_fI_f1): Likewise.
24821 (RUN_TEST_ffI_f1): Likewise.
24822 (RUN_TEST_c_c): Likewise.
24823 (RUN_TEST_cc_c): Likewise.
24824 (RUN_TEST_f_i): Likewise.
24825 (RUN_TEST_f_i_tg): Likewise.
24826 (RUN_TEST_ff_i_tg): Likewise.
24827 (RUN_TEST_f_b): Likewise.
24828 (RUN_TEST_f_b_tg): Likewise.
24829 (RUN_TEST_f_l): Likewise.
24830 (RUN_TEST_f_L): Likewise.
24831 (RUN_TEST_sincos): Likewise.
24832 * math/gen-libm-test.pl (new_test): Take new argument to indicate
24833 whether to show exceptions. Do not include ");\n" in return
24834 value.
24835 (special_functions): Output call to RUN_TEST_sincos instead of
24836 check_float calls. Update calls to new_test.
24837 (parse_args): Output call to single RUN_TEST_* macro instead of
24838 check_* calls and other assignments. Update calls to new_test.
24839
d8cd06db
JM
24840 [BZ #2546]
24841 [BZ #2560]
24842 [BZ #5159]
24843 [BZ #15426]
24844 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
24845 input to result for tgamma overflow.
24846 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
24847 (gamma_coeff): New variable.
24848 (NCOEFF): New macro.
24849 (gamma_positive): New function.
24850 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
24851 underflow here. Use gamma_positive instead of exp (lgamma) for
24852 other arguments.
24853 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
24854 (gamma_coeff): New variable.
24855 (NCOEFF): New macro.
24856 (gammaf_positive): New function.
24857 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
24858 underflow here. Use gamma_positive instead of exp (lgamma) for
24859 other arguments.
24860 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
24861 (gamma_coeff): New variable.
24862 (NCOEFF): New macro.
24863 (gammal_positive): New function.
24864 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
24865 underflow here. Use gamma_positive instead of exp (lgamma) for
24866 other arguments.
24867 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
24868 (gamma_coeff): New variable.
24869 (NCOEFF): New macro.
24870 (gammal_positive): New function.
24871 (__ieee754_gammal_r): Handle positive infinity, overflow and
24872 underflow here. Handle NaN the same as positive infinity. Remove
24873 check x < 0xffffffff for negative integers. Use gamma_positive
24874 instead of exp (lgamma) for other arguments.
24875 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
24876 (gamma_coeff): New variable.
24877 (NCOEFF): New macro.
24878 (gammal_positive): New function.
24879 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
24880 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
24881 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
24882 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
24883 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
24884 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
24885 * sysdeps/generic/math_private.h (__gamma_productf): New
24886 prototype.
24887 (__gamma_product): Likewise.
24888 (__gamma_productl): Likewise.
24889 * math/Makefile (libm-calls): Add gamma_product.
24890 * math/libm-test.inc (tgamma_test): Add more tests.
24891 * sysdeps/i386/fpu/libm-test-ulps: Update.
24892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24893
bb7cf681
OB
248942013-05-08 Ondřej Bílka <neleai@seznam.cz>
24895
24896 * benchtests/bench-skeleton.c (main): Preheat CPU.
24897
ba853947
AJ
248982013-05-07 Aurelien Jarno <aurelien@aurel32.net>
24899
24900 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
24901
8347c74c
RM
249022013-05-07 Roland McGrath <roland@hack.frob.com>
24903
24904 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
24905 and _dl_skip_args_internal.
24906
e8dd4791
CD
249072013-05-07 Carlos O'Donell <carlos@redhat.com>
24908
24909 * manual/message.texi (Message Translation): Talk about users.
24910 Message to key mapping impacts design.
24911
c7405830
RM
249122013-05-06 Roland McGrath <roland@hack.frob.com>
24913
a9173057
RM
24914 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
24915
976e2f03
RM
24916 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
24917
9723ffc5
RM
24918 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
24919 * sysdeps/wordsize-64/glob64.c: ... here.
24920
962e6658
RM
24921 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
24922 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
24923 New macros.
24924
ee586a6d
RM
24925 * debug/getlogin_r_chk.c: Moved to ...
24926 * login/getlogin_r_chk.c: ... here.
24927 * debug/Makefile (routines): Move getlogin_r_chk to ...
24928 * login/Makefile (routines): ... here.
24929 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
24930 * login/Versions (libc: GLIBC_2.4): ... here.
24931
355f9165
RM
24932 * io/poll.c (__poll): Renamed from poll.
24933 Add libc_hidden_def.
24934 (poll): Define as weak alias.
24935
bd9ffde6
RM
24936 * debug/ptsname_r_chk.c: Moved to ...
24937 * login/ptsname_r_chk.c: ... here.
24938 * debug/Makefile (routines): Move ptsname_r_chk to ...
24939 * login/Makefile (routines): ... here.
24940 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
24941 * login/Versions (libc: GLIBC_2.4): ... here.
24942
8fb16a04
RM
24943 * posix/getlogin.c: Moved to ...
24944 * login/getlogin.c: ... here.
24945 * posix/getlogin_r.c: Moved to ...
24946 * login/getlogin_r.c: ... here.
24947 * posix/getlogin_r.c: Moved to ...
24948 * login/getlogin_r.c: ... here.
24949 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
24950 * login/Makefile (routines): ... here.
24951 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
24952 * login/Versions (libc: GLIBC_2.0): ... here.
24953
b99b892f
RM
24954 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
24955 (setrlimit): Define as weak alias.
24956
c7405830
RM
24957 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
24958 Call __ names for open, ftruncate, and close.
24959 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
24960 (truncate): Define as weak alias.
24961
5bf96de5
JM
249622013-05-06 Joseph Myers <joseph@codesourcery.com>
24963
9ea3513c
JM
24964 * math/gen-libm-test.pl (parse_args): Initialize x before each
24965 test of frexp, modf and remquo.
24966
5bf96de5
JM
24967 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
24968 test signgam value.
24969
16e616a7
AZ
249702013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24971
24972 [BZ #15418]
24973 [BZ #15419]
24974 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24975 internal tests.
24976 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24977
d5e82754
RM
249782013-05-06 Roland McGrath <roland@hack.frob.com>
24979
24980 * elf/dl-writev.h: New file.
24981 * elf/dl-misc.c: Include it.
24982 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24983 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24984
a7548d41
JM
249852013-05-04 Joseph Myers <joseph@codesourcery.com>
24986
b7dab1e4
JM
24987 * math/libm-test.inc (noXFails): Remove variable.
24988 (noXPasses): Likewise.
24989 (BUILD_COMPLEX_INT): Remove macro.
24990 (print_screen): Remove xfail argument.
24991 (print_screen_max_error): Likewise.
24992 (update_stats): Likewise.
24993 (print_max_error): Likewise. Update calls to other affected
24994 functions.
24995 (print_complex_max_error): Likewise.
24996 (test_single_exception): Update calls to print_screen.
24997 (test_single_errno): Likewise.
24998 (check_float_internal): Remove xfail argument. Update calls to
24999 other affected functions.
25000 (check_float): Likewise.
25001 (check_complex): Likewise.
25002 (check_int): Likewise.
25003 (check_long): Likewise.
25004 (check_bool): Likewise.
25005 (check_longlong): Likewise.
25006 (main): Don't print noXFails and noXPasses.
25007 * math/gen-libm-test.pl (top level): Don't mention expected
25008 failure handling in comment.
25009 (new_test): Don't handle expected failures.
25010 (parse_args): Don't mention expected failure handling in comment.
25011 (generate_testfile): Don't handle expected failures.
25012 (parse_ulps): Likewise.
25013 (print_ulps_file): Likewise.
25014 (get_failure): Remove function.
25015 (output_test): Don't handle expected failures.
25016 * make/README.libm-test: Don't mention expected failure handling.
25017
a7548d41
JM
25018 * math/libm-test.inc (plus_zero): Make const. Add initializer.
25019 (minus_zero): Likewise.
25020 (plus_infty): Likewise.
25021 (minus_infty): Likewise.
25022 (qnan_value): Likewise.
25023 (max_value): Likewise.
25024 (min_value): Likewise.
25025 (min_subnorm_value): Likewise.
25026 (initialize): Do not initialize those variables dynamically.
25027
60bfd54c
RM
250282013-05-03 Roland McGrath <roland@hack.frob.com>
25029
cc0e6ed8
RM
25030 * io/open.c (__open_2): Moved to ...
25031 * io/open_2.c: ... this new file.
25032 * io/open64.c (__open64_2): Moved to ...
25033 * io/open64_2.c: ... this new file.
25034 * io/openat.c (__openat_2): Moved to ...
25035 * io/openat_2.c: ... this new file.
25036 * io/openat64.c (__openat64_2): Moved to ...
25037 * io/openat64_2.c: ... this new file.
25038 * io/Makefile (routines): Add them.
25039 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25040 * sysdeps/unix/sysv/linux/open_2.c: File removed.
25041 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
25042 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
25043 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
25044 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
25045 (__openat64): Add hidden_ver.
25046 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25047 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25048
60bfd54c
RM
25049 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
25050 Separately conditionalize setting of GLRO(dl_sysinfo) so
25051 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
25052 as well, but the actual setting is only under [NEED_DL_SYSINFO].
25053
83e7640f
AZ
250542013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25055
25056 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
25057 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
25058 definition.
25059 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
25060 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25061 (_libc_vdso_platform_setup): Add __vdso_time initialization.
25062 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
25063 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
25064
d5dc2af3
JM
250652013-05-03 Joseph Myers <joseph@codesourcery.com>
25066
c31a5b1e
JM
25067 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
25068 test signgam value.
25069
d5dc2af3
JM
25070 * math/libm-test.inc (hypot_test): Do not use
25071 IGNORE_ZERO_INF_SIGN.
25072
164fd39d
AJ
250732013-05-03 Andreas Jaeger <aj@suse.de>
25074
25075 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
25076 Linux 3.9.
25077 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25078 (PF_MAX): Adjust for VSOCK change.
25079
8237f48c
AZ
250802013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25081
25082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25083
9df02941
CD
250842013-05-02 Carlos O'Donell <carlos@redhat.com>
25085
25086 [BZ #15264]
25087 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25088 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25089 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25090
d422395e
DM
250912013-05-02 David S. Miller <davem@davemloft.net>
25092
25093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25094
a07c5731
OB
250952013-05-01 Ondřej Bílka <neleai@seznam.cz>
25096
25097 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25098
1324e37f
RM
250992013-05-01 Roland McGrath <roland@hack.frob.com>
25100
25101 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25102
0695940b
RS
251032013-05-01 Richard Smith <richard@metafoo.co.uk>
25104
bb5f27ad 25105 [BZ #14952]
0695940b
RS
25106 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25107 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25108 Use __attribute__ ((__gnu_inline__)).
25109 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25110 Don't use __attribute__ ((__gnu_inline__)).
25111
10de07f5
JM
251122013-05-01 Joseph Myers <joseph@codesourcery.com>
25113
25114 [BZ #15423]
25115 * math/s_catan.c (__catan): Handle small real or imaginary part of
25116 input specially to avoid spurious underflow.
25117 * math/s_catanf.c (__catanf): Likewise.
25118 * math/s_catanh.c (__catanh): Likewise.
25119 * math/s_catanhf.c (__catanhf): Likewise.
25120 * math/s_catanhl.c (__catanhl): Likewise.
25121 * math/s_catanl.c (__catanl): Likewise.
25122 * math/libm-test.inc (catan_test): Add more tests.
25123 (catanh_test): Likewise.
25124 * sysdeps/i386/fpu/libm-test-ulps: Update.
25125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25126
cb4d5414
AZ
251272013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25128
25129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25130
caf84319
JM
251312013-04-30 Joseph Myers <joseph@codesourcery.com>
25132
25133 [BZ #15416]
25134 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25135 accurately for denominator in atan2.
25136 * math/s_catanf.c (__catanf): Likewise.
25137 * math/s_catanh.c (__catanh): Likewise.
25138 * math/s_catanhf.c (__catanhf): Likewise.
25139 * math/s_catanhl.c (__catanhl): Likewise.
25140 * math/s_catanl.c (__catanl): Likewise.
25141 * math/libm-test.inc (catan_test): Add more tests.
25142 (catanh_test): Likewise.
25143 * sysdeps/i386/fpu/libm-test-ulps: Update.
25144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25145
d569c6ee
SP
251462013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25147
6dbe713d
SP
25148 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25149
f0ee064b
SP
25150 * benchtests/Makefile (bench): Remove slow benchmarks.
25151 * benchtests/atan-inputs: Add slow benchmark inputs.
25152 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
25153 (BENCH_FUNC): Accept variant offset.
25154 (VARIANT): Define.
25155 * benchtests/bench-skeleton.c (main): Run benchmark for each
25156 variant.
25157 * benchtests/cos-inputs: Add slow benchmark inputs.
25158 * benchtests/exp-inputs: Likewise.
25159 * benchtests/pow-inputs: Likewise.
25160 * benchtests/sin-inputs: Likewise.
25161 * benchtests/slowatan-inputs: Remove.
25162 * benchtests/slowatan.c: Remove.
25163 * benchtests/slowcos-inputs: Remove.
25164 * benchtests/slowcos.c: Remove.
25165 * benchtests/slowexp-inputs: Remove.
25166 * benchtests/slowexp.c: Remove.
25167 * benchtests/slowpow-inputs: Remove.
25168 * benchtests/slowpow.c: Remove.
25169 * benchtests/slowsin-inputs: Remove.
25170 * benchtests/slowsin.c: Remove.
25171 * benchtests/slowtan-inputs: Remove.
25172 * benchtests/slowtan.c: Remove.
25173 * benchtests/tan-inputs: Add slow benchmark inputs.
25174 * scripts/bench.pl: Parse comments and directives.
25175
d569c6ee
SP
25176 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
25177 in CPPFLAGS.
25178 ($(objpfx)bench-%.c): Remove *-ITER.
25179 * benchtests/bench-modf.c: Remove definition of ITER.
25180 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
25181 (main): Loop for DURATION seconds instead of fixed number of
25182 iterations.
25183 * scripts/bench.pl: Don't expect iterations in parameters.
25184
a6a242fe
RM
251852013-04-29 Roland McGrath <roland@hack.frob.com>
25186
25187 * io/fchdir.c (__fchdir): Renamed from fchdir.
25188 (fchdir): Define as weak alias.
25189
f2da7793
JM
251902013-04-29 Joseph Myers <joseph@codesourcery.com>
25191
25192 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
25193 (ERRNO_EDOM): Likewise.
25194 (ERRNO_ERANGE): Likewise.
25195 (noErrnoTests): New variable.
25196 (init_max_error): Set errno to 0.
25197 (test_single_errno): New function.
25198 (test_errno): Likewise.
25199 (check_float_internal): Call test_errno. Set errno to 0.
25200 (check_complex): Refer to errno tests in comment.
25201 (check_int): Call test_errno. Set errno to 0.
25202 (check_long): Likewise.
25203 (check_bool): Likewise.
25204 (check_longlong): Likewise.
25205 (cos_test): Use ERRNO_* flags for errno tests instead of
25206 check_int.
25207 (expm1_test): Likewise.
25208 (fmod_test): Likewise.
25209 (ilogb_test): Likewise.
25210 (lgamma_test): Likewise.
25211 (pow_test): Likewise.
25212 (remainder_test): Likewise.
25213 (sin_test): Likewise.
25214 (tan_test): Likewise.
25215 (yn_test): Likewise.
25216 (initialize): Set errno to 0.
25217 (main): Print number of errno tests.
25218 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
25219
b1a36ceb
AJ
252202013-04-29 Andreas Jaeger <aj@suse.de>
25221
c3ed8088
AJ
25222 [BZ #15084]
25223 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
25224 and RES_USEVC.
25225
f1a24198
AJ
25226 [BZ #15085]
25227 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
25228 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
25229 unimplemented.
25230
9ce3b2cb
AJ
25231 [BZ #15380]
25232 * stdlib/random.c (__initstate): Return NULL if
25233 __initstate fails.
25234
f1a24198 25235 [BZ #15086]
b1a36ceb
AJ
25236 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
25237 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
25238 RES_SNGLKUPREOP.
25239
7e7b6f36
AZ
252402013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25241
25242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25243
4d14f449
JM
252442013-04-29 Joseph Myers <joseph@codesourcery.com>
25245
25246 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
25247 of individual tests.
25248 (casin_test): Likewise.
25249 (casinh_test): Likewise.
25250
5b4217d7
JM
252512013-04-27 Joseph Myers <joseph@codesourcery.com>
25252
25253 [BZ #15409]
25254 * math/s_catan.c (__catan): Handle arguments with large real or
25255 imaginary part separately without squaring.
25256 * math/s_catanf.c (__catanf): Likewise.
25257 * math/s_catanh.c (__catanh): Likewise.
25258 * math/s_catanhf.c (__catanhf): Likewise.
25259 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25260 and redefine.
25261 (__catanhl): Handle arguments with large real or imaginary part
25262 separately without squaring.
25263 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25264 and redefine.
25265 (__catanl): Handle arguments with large real or imaginary part
25266 separately without squaring.
25267 * math/libm-test.inc (catan_test): Add more tests.
25268 (catanh_test): Likewise.
25269 * sysdeps/i386/fpu/libm-test-ulps: Update.
25270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25271
4220c3ef
AJ
252722013-04-27 Andreas Jaeger <aj@suse.de>
25273
25274 [BZ #15007]
25275 * stdlib/stdlib.h: Update guards for qecvt.
25276 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
25277 <stdlib.h>.
25278
4721b2d1
AM
252792013-04-27 Allan McRae <allan@archlinux.org>
25280
25281 * sysdeps/i386/fpu/libm-test-ulps: Update.
25282
f0302940
JM
252832013-04-26 Joseph Myers <joseph@codesourcery.com>
25284
9457fd95
JM
25285 [BZ #15406]
25286 * math/s_catan.c: Include <float.h>.
25287 (__catan): Ensure underflow exception occurs for underflowed
25288 result.
25289 * math/s_catanf.c: Include <float.h>.
25290 (__catanf): Ensure underflow exception occurs for underflowed
25291 result.
25292 * math/s_catanh.c: Include <float.h>.
25293 (__catanh): Ensure underflow exception occurs for underflowed
25294 result.
25295 * math/s_catanhf.c: Include <float.h>.
25296 (__catanhf): Ensure underflow exception occurs for underflowed
25297 result.
25298 * math/s_catanhl.c: Include <float.h>.
25299 (__catanhl): Ensure underflow exception occurs for underflowed
25300 result.
25301 * math/s_catanl.c: Include <float.h>.
25302 (__catanl): Ensure underflow exception occurs for underflowed
25303 result.
25304 * math/libm-test.inc (catan_test): Add more tests.
25305 (catanh_test): Likewise.
25306
f0302940
JM
25307 [BZ #15405]
25308 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
25309 underflowed result.
25310 * math/s_ccoshf.c (__ccoshf): Likewise.
25311 * math/s_ccoshl.c (__ccoshl): Likewise.
25312 * math/s_csin.c (__csin): Likewise.
25313 * math/s_csinf.c (__csinf): Likewise.
25314 * math/s_csinh.c (__csinh): Likewise.
25315 * math/s_csinhf.c (__csinhf): Likewise.
25316 * math/s_csinhl.c (__csinhl): Likewise.
25317 * math/s_csinl.c (__csinl): Likewise.
25318 * math/libm-test.inc (ccos_test): Add more tests.
25319 (ccosh_test): Likewise.
25320 (csin_test): Likewise.
25321 (csinh_test): Likewise.
25322
aa630f59
AZ
253232013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25324
25325 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
25326 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
25327 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
25328 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
25329 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
25330 powerpc/power5+/fpu folders.
25331 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
25332
25333
1b835983
MT
253342013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25335
25336 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25337
73709b26
JM
253382013-04-25 Joseph Myers <joseph@codesourcery.com>
25339
25340 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
25341 additions to variable.
25342 [$(config-machine) = x86_64] (modules-names): Likewise.
25343 ($(objpfx)tst-audit3): Remove dependency.
25344 ($(objpfx)tst-audit3.out): Likewise.
25345 ($(objpfx)tst-audit4): Likewise.
25346 ($(objpfx)tst-audit4.out): Likewise.
25347 ($(objpfx)tst-audit5): Likewise.
25348 ($(objpfx)tst-audit5.out): Likewise.
25349 ($(objpfx)tst-audit6): Likewise.
25350 ($(objpfx)tst-audit6.out): Likewise.
25351 ($(objpfx)tst-audit7): Likewise.
25352 ($(objpfx)tst-audit7.out): Likewise.
25353 (tst-audit3-ENV): Remove variable.
25354 (tst-audit4-ENV): Likewise.
25355 (tst-audit5-ENV): Likewise.
25356 (tst-audit6-ENV): Likewise.
25357 (tst-audit7-ENV): Likewise.
25358 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
25359 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
25360 addition to variable.
25361 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
25362 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
25363 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
25364 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
25365 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
25366 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
25367 tst-audit3, tst-audit4 and tst-audit5.
25368 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
25369 tst-audit6 and tst-audit7.
25370 [$(subdir) = elf] (modules-names): Add audit modules for those
25371 tests.
25372 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
25373 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
25374 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
25375 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
25376 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
25377 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
25378 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
25379 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
25380 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
25381 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
25382 [$(subdir) = elf] (tst-audit3-ENV): New variable.
25383 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
25384 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
25385 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
25386 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
25387 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
25388 Likewise.
25389 [$(subdir) = elf && $(config-cflags-avx) = yes]
25390 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
25391 [$(subdir) = elf && $(config-cflags-avx) = yes]
25392 (CFLAGS-tst-auditmod4a.c): Likewise.
25393 [$(subdir) = elf && $(config-cflags-avx) = yes]
25394 (CFLAGS-tst-auditmod4b.c): Likewise.
25395 [$(subdir) = elf && $(config-cflags-avx) = yes]
25396 (CFLAGS-tst-auditmod6b.c): Likewise.
25397 [$(subdir) = elf && $(config-cflags-avx) = yes]
25398 (CFLAGS-tst-auditmod6c.c): Likewise.
25399 [$(subdir) = elf && $(config-cflags-avx) = yes]
25400 (CFLAGS-tst-auditmod7b.c): Likewise.
25401 * elf/tst-audit3.c: Move to ...
25402 * sysdeps/x86_64/tst-audit3.c: ... here.
25403 * elf/tst-audit4.c: Move to ...
25404 * sysdeps/x86_64/tst-audit4.c: ... here.
25405 * elf/tst-audit5.c: Move to ...
25406 * sysdeps/x86_64/tst-audit5.c: ... here.
25407 * elf/tst-audit6.c: Move to ...
25408 * sysdeps/x86_64/tst-audit6.c: ... here.
25409 * elf/tst-audit7.c: Move to ...
25410 * sysdeps/x86_64/tst-audit7.c: ... here.
25411 * elf/tst-auditmod3a.c: Move to ...
25412 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
25413 * elf/tst-auditmod3b.c: Move to ...
25414 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
25415 * elf/tst-auditmod4a.c: Move to ...
25416 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
25417 * elf/tst-auditmod4b.c: Move to ...
25418 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
25419 * elf/tst-auditmod5a.c: Move to ...
25420 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
25421 * elf/tst-auditmod5b.c: Move to ...
25422 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
25423 * elf/tst-auditmod6a.c: Move to ...
25424 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
25425 * elf/tst-auditmod6b.c: Move to ...
25426 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
25427 * elf/tst-auditmod6c.c: Move to ...
25428 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
25429 * elf/tst-auditmod7a.c: Move to ...
25430 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
25431 * elf/tst-auditmod7b.c: Move to ...
25432 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
25433
1ef74943
PP
254342013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
25435
25436 [BZ #15366]
25437 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
25438 define unconditionally.
25439 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
25440 define unconditionally.
25441 (INT8_C, INT16_C, etc.): Likewise.
25442
93fd48c5
MR
254432013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
25444
ae9552cf
MR
25445 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
25446 __ehdr_start with hidden visibility.
25447
93fd48c5
MR
25448 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
25449
418601aa
CD
254502013-04-24 Carlos O'Donell <carlos@redhat.com>
25451
25452 * math/libm-test.inc (cos_test): Use accurate hex constants.
25453 (sincost_test): Likewise.
25454
2f38fbfe
JM
254552013-04-24 Joseph Myers <joseph@codesourcery.com>
25456
5e221800
JM
25457 * math/libm-test.inc (catan_test): Add more tests.
25458 (catanh_test): Likewise.
25459
77f143fd
JM
25460 * math/s_catanf.c (__catanf): Use suffixed floating-point
25461 constants.
25462 * math/s_catanhf.c (__catanhf): Likewise.
25463 * math/s_catanhl.c (__catanhl): Likewise.
25464 * math/s_catanl.c (__catanl): Likewise.
25465
2f38fbfe
JM
25466 [BZ #15394]
25467 * math/s_catan.c (__catan): Calculate imaginary part of result
25468 with log1p not log unless computing log of number close to 0.
25469 * math/s_catanf.c (__catanf): Likewise.
25470 * math/s_catanl.c (__catanl): Likewise.
25471 * math/s_catanh.c (__catanh): Calculate real part of result with
25472 log1p not log unless computing log of number close to 0.
25473 * math/s_catanhf.c (__catanhf): Likewise.
25474 * math/s_catanhl.c (__catanhl): Likewise.
25475 * math/libm-test.inc (catan_test): Add more tests.
25476 (catanh_test): Likewise.
25477 * sysdeps/i386/fpu/libm-test-ulps: Update.
25478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25479
45d69176
SP
254802013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25481
25482 * benchtests/Makefile: Mention files in which fast and slow
25483 paths of math functions are implemented.
25484
87f51853
RM
254852013-04-23 Roland McGrath <roland@hack.frob.com>
25486
25487 * sysdeps/posix/timespec_get.c: New file.
25488
3c026539
AZ
254892013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25490
25491 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
25492 POWER.
25493 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
25494 for POWER.
25495 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
25496 powerpc/power5/fpu folders.
25497 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
25498 * benchtests/Makefile: Add modf testcase.
25499 * benchtests/bench-modf.c: New file: Benchmark test for mo
25500
ff491d14
SP
255012013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
25502
25503 [BZ #14888]
25504 * time/Makefile (tests): Add tst-strptime-whitespace.
25505 * time/strptime_l.c (get_number): Use ISSPACE.
25506 (__strptime_internal): Likewise.
25507 * time/tst-strptime-whitespace.c: New test case.
25508
7ed3f4e8
AS
255092013-04-23 Andreas Schwab <schwab@linux-m68k.org>
25510
25511 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
25512 member.
25513 (_nss_files_init): Set it here.
25514
5c95f7b6
HC
255152013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
25516
25517 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
25518 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
25519 unsigned.
25520
d34c9158
JBG
255212013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
25522
25523 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
25524
2169712d
SP
255252013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25526
25527 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
25528 size just once.
25529
29c5de99
DM
255302013-04-21 David S. Miller <davem@davemloft.net>
25531
25532 * po/ru.po: Update Russion translation from translation project.
25533
ccdad15d
AC
255342013-04-17 Adam Conrad <adconrad@0c3.net>
25535
25536 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
25537 and setfsgid.
25538
0f122b8d
CD
255392013-04-17 Carlos O'Donell <carlos@redhat.com>
25540
5c5b07da 25541 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 25542 * configure: Regenerate.
5c5b07da 25543 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
25544 Add example to error message.
25545 * sysdeps/i386/configure: Regenerate.
25546
037714dd
SP
255472013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25548
25549 * benchtests/Makefile (bench): Add cos, tan, slowcos and
25550 slowtan.
25551 * benchtests/cos-inputs: New file.
25552 * benchtests/slowcos-inputs: New file.
25553 * benchtests/slowcos.c: New file.
25554 * benchtests/slowtan-inputs: New file.
25555 * benchtests/slowtan.c: New file.
25556 * benchtests/tan-inputs: New file.
25557
e913141d
RM
255582013-04-16 Roland McGrath <roland@hack.frob.com>
25559
25560 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
25561 considered kosher.
25562
a2964074
SP
255632013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25564
4856bcd2
SP
25565 * benchtests/Makefile: Include cppflags-iterator.mk to add
25566 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
25567
a2964074
SP
25568 * Makefile.in (bench-clean): New target.
25569 * benchtests/Makefile (bench-clean): Likewise.
25570
9fbf9aca
DH
255712013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
25572
25573 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
25574
207d1e2a
TS
255752013-04-15 Thomas Schwinge <thomas@codesourcery.com>
25576
25577 * stdio-common/tstdiomisc.c: Fix coding-style violation.
25578
306dfba9
AS
255792013-04-15 Andreas Schwab <schwab@suse.de>
25580
25581 * nscd/grpcache.c (cache_addgr): Properly check for short write.
25582 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25583 * nscd/pwdcache.c (cache_addpw): Likewise.
25584 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
25585 more than recsize.
25586
206a6699
SP
255872013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25588
25589 * benchtests/Makefile (bench): Write all output to
25590 bench-out.tmp together.
25591
0582f6b3
AS
255922013-04-15 Andreas Schwab <schwab@suse.de>
25593
25594 * nscd/nscd.c (main): Don't fork again after closing files.
25595
acb4325f
SP
255962013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25597
5cb26d0a
SP
25598 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
25599
acb4325f
SP
25600 * benchtests/Rules (bench-deps): Collect dependencies into a
25601 single variable. Add Makefile to dependencies.
25602 ($(objpfx)bench-%.c): Depend on bench-deps.
25603
47792506
RM
256042013-04-12 Roland McGrath <roland@hack.frob.com>
25605 Xavier Roche <roche+kml2@exalead.com>
25606
25607 [BZ #15361]
25608 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
25609 just that it's a file descriptor.
25610 * manual/llio.texi (Synchronizing AIO Operations): Update description
25611 for EBADF error from aio_fsync.
25612
8fc1bee5
SP
256132013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25614
25615 * Rules (bench): Move target definition...
25616 * benchtests/Makefile: ... here.
25617
aba5e333
CD
256182013-04-11 Carlos O'Donell <carlos@redhat.com>
25619
25620 * math/libm-test.inc (cos_test): Fix PI/2 test.
25621 (sincos_test): Likewise.
25622 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25623 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25624
273cdee8
AS
256252013-04-11 Andreas Schwab <schwab@suse.de>
25626
6ecec3b6
AS
25627 [BZ #13988]
25628 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
25629 accept exponent character only when digits were seen.
25630 * stdio-common/Makefile (tests): Add bug26.
25631 * stdio-common/bug26.c: New file.
25632
273cdee8
AS
25633 [BZ #14293]
25634 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
25635 non-freeable.
25636
8da491f5
SP
256372013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25638
01dc6df9
SP
25639 * Makeconfig (rtld-prefix): Define built linker prefix.
25640 * Rules (run-bench): Use it.
25641 * math/Makefile (run-regen-ulps): Likewise.
25642
8da491f5
SP
25643 * Rules (bench): Remove eval.
25644
abe7f530
SP
256452013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25646 Roland McGrath <roland@hack.frob.com>
25647 Ondrej Bilka <neleai@seznam.cz>
25648
25649 [BZ #15346]
25650 * time/getdate.c: Include ctype.h and alloca.h.
25651 (__getdate_r): Trim leading and trailing spaces of input.
25652 * time/tst-getdate.c (tests): Add tests with leading and
25653 trailing spaces.
25654
61c23e62
RM
256552013-04-08 Roland McGrath <roland@hack.frob.com>
25656
25657 [BZ #14280]
25658 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
25659 when computing value.
25660
7208a313
CD
256612013-04-06 Carlos O'Donell <carlos@redhat.com>
25662
085b2d41
CD
25663 * math/README.libm-test (How can I generate "libm-test-ulps"?):
25664 Use testrun.sh to run libm tests.
25665
7208a313
CD
25666 [BZ #15309]
25667 * elf/dl-open.c (dl_open_worker): memset all of seen array.
25668
872c0acd
MM
256692013-04-06 Marko Myllynen <myllynen@redhat.com>
25670
25671 [BZ #15264]
25672 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
25673
26510bdd
CD
256742013-04-06 Carlos O'Donell <carlos@redhat.com>
25675
25676 * Makefile.in (regen-ulps): New target.
25677 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
25678 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
25679 [ifneq (no,$(PERL)] (regen-ulps): New target.
25680 [ifeq (no,$(PERL)] (regen-ulps): New target.
25681 * math/libm-test.inc (ulps_file_name): Define.
25682 (output_dir): New variable.
25683 (options): Add "output-dir" option.
25684 (parse_opt): Handle 'o' case.
25685 (main): If output_dir is non-NULL use it as a prefix
25686 otherwise use "".
25687 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
25688
a01f19c8
CD
256892013-04-06 Carlos O'Donell <carlos@redhat.com>
25690
25691 [BZ #10060, #10062]
25692 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
25693 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
25694 fail configure if __sync_val_compare_and_swap is not inlined.
25695 * sysdeps/i386/configure: Regenerate.
25696 * configure.in: Build for i686 when configured for i386.
25697 * configure: Regenerate.
25698 * README: Remove i386 reference.
25699
b7a329a5
CD
257002013-04-06 Carlos O'Donell <carlos@redhat.com>
25701
25702 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
25703 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25704
bf0f50df
TS
257052013-04-05 Thomas Schwinge <thomas@codesourcery.com>
25706
ee091edf
TS
25707 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
25708 (lmsnanval): New variables.
25709 (F): Add conversion tests.
25710 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
25711 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
25712
a8b792d6
TS
25713 * stdio-common/tstdiomisc.c (F): Properly collect individual
25714 tests' results.
25715
a1cbf437
TS
25716 [BZ #14686, #15336]
25717 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
25718 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
25719 Instead, use input NaN values or generate a qNaN by arithmetic
25720 operation. Also fix bugs to comply with the standard.
25721 * math/libm-test.inc (remainder_test): Add more tests.
25722
8b43a0c9
TS
25723 [BZ #15335, #15342]
25724 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
25725 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
25726 input NaN values or generate a qNaN by arithmetic operation.
25727
d91da4ce
TS
25728 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
25729 unreachable code.
25730
bf0f50df
TS
25731 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
25732 definitions.
25733
05e166c8
JM
257342013-04-03 Joseph Myers <joseph@codesourcery.com>
25735
25736 [BZ #14478]
25737 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
25738 underflowed result.
25739 * math/s_cexpf.c (__cexpf): Likewise.
25740 * math/s_cexpl.c (__cexpl): Likewise.
25741 * math/libm-test.inc (cexp_test): Add more tests.
25742
1cef1b19
AS
257432013-04-03 Andreas Schwab <schwab@suse.de>
25744
25745 [BZ #15330]
25746 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
25747 order arrays from heap if bigger than alloca cutoff.
25748
74d87055
TS
257492013-04-03 Thomas Schwinge <thomas@codesourcery.com>
25750
25751 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
25752 (SNAN_TESTS_double): Refer to GCC PR56831.
25753 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
25754 GCC PR56828.
25755
d755bba4
SP
257562013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25757
90d5d5bb
SP
25758 * Rules (bench): Move bench.out after the run is complete.
25759
73e0cd5d
SP
25760 * Rules (bench): Echo currently running benchmark.
25761
64aabd4b
SP
25762 * benchtests/Makefile (bench): Add atan and slowatan.
25763 * benchtests/atan-inputs: New file.
25764 * benchtests/slowatan-inputs: New file.
25765 * benchtests/slowatan.c: New file.
25766
c871eccd
SP
25767 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
25768 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
25769 its value.
25770
d755bba4
SP
25771 [BZ #15305]
25772 * sysdeps/unix/sysv/linux/kernel-features.h
25773 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
25774 __ASSUME_XFS_RESTRICTED_CHOWN.
25775 * sysdeps/unix/sysv/linux/pathconf.c
25776 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25777 Save and restore errno.
25778
52ce4860
JM
257792013-04-02 Joseph Myers <joseph@codesourcery.com>
25780
25781 [BZ #15327]
25782 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
25783 arguments using __kernel_casinh.
25784 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
25785 arguments using __kernel_casinhf.
25786 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
25787 arguments using __kernel_casinhl.
25788 * math/libm-test.inc (cacosh_test): Add more tests.
25789 * sysdeps/i386/fpu/libm-test-ulps: Update.
25790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25791
81f311c2
SP
257922013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25793
e7906a47
SP
25794 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
25795 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
25796
92e3664b
SP
25797 * bench/Makefile (bench): Add sin and slowsin.
25798 * benchtests/sin-inputs: New file.
25799 * benchtests/slowsin-inputs: New file.
25800 * benchtests/slowsin.c: New file.
25801
81f311c2
SP
25802 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
25803 (bench): Add slowexp and slowpow.
25804 (exp-ITER): Increase iterations.
25805 (pow-ITER): Likewise.
25806 * benchtests/exp-inputs: Change input.
25807 * benchtests/pow-inputs: Likewise.
25808 * benchtests/slowexp-inputs: New file.
25809 * benchtests/slowexp.c: New file.
25810 * benchtests/slowpow-inputs: New file.
25811 * benchtests/slowpow.c: New file.
25812
ab0f1aa9
AZ
258132013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25814
25815 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
25816 instructions.
25817 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25818 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
25819 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25820 * benchtests/Makefile: Add rint benchtest.
25821 * benchtests/rint-inputs: Input for rint benchtest.
25822
57267616
TS
258232013-04-02 Thomas Schwinge <thomas@codesourcery.com>
25824
25825 * Versions.def (libm): Add GLIBC_2.18.
25826 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
25827 hidden libm prototypes.
25828 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
25829 * math/Makefile (libm-calls): Add s_issignaling.
25830 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
25831 __issignalingf, __issignalingl. Adjust all libm.abilist files.
25832 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
25833 declaration.
25834 * math/math.h [__USE_GNU] (issignaling): New macro.
25835 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
25836 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
25837 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
25838 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
25839 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
25840 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
25841 * manual/arith.texi (issignaling): New section.
25842 * manual/libm-err-tab.pl (@all_functions): Update comment.
25843 * math/gen-libm-test.pl (parse_args): Apply special handling for
25844 issignaling.
25845 * math/libm-test.inc (print_float, issignaling_test): New
25846 functions.
25847 (check_float_internal): Add issignaling checks.
25848 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
25849 default definition.
25850 * sysdeps/powerpc/math-tests.h: New file.
25851 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
25852 tests.
25853 * math/test-snan.c (TEST_FUNC): Likewise.
25854
6142896d
DM
258552013-03-30 David S. Miller <davem@davemloft.net>
25856
25857 * po/de.po: Update from translation team.
25858
ccc8cadf
JM
258592013-03-30 Joseph Myers <joseph@codesourcery.com>
25860
25861 [BZ #10357]
25862 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25863 imaginary part less than 1.0 and real part less than 0.5
25864 specially.
25865 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25866 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25867 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
25868 (cacos_test): Add more tests.
25869 (casin_test): Likewise.
25870 (casinh_test): Likewise.
25871 * sysdeps/i386/fpu/libm-test-ulps: Update.
25872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25873
0f6a8d4b
SP
258742013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25875
0d1029de
SP
25876 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
25877 ONE with its value.
25878
c2d94018
SP
25879 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
25880 (__pow_mp): Replace ONE and MONE with their values.
25881 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25882 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
25883 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25884 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
25885 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25886 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25887
27ec37f1
SP
25888 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
25889
a64d7e0e
SP
25890 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
25891 (__pow_mp): Replace ZERO and MZERO with their values.
25892 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25893 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25894 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25895 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25896 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25897 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
25898 (__sqr): Likewise.
25899
d26dd3eb
SP
25900 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
25901
0f6a8d4b
SP
25902 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
25903
e57b0c61
RM
259042013-03-28 Roland McGrath <roland@hack.frob.com>
25905
25906 * include/stdlib.h [!SHARED] (__call_tls_dtors):
25907 Declare with __attribute__ ((weak)).
25908 * stdlib/exit.c (__libc_atexit) [!SHARED]:
25909 Call __call_tls_dtors only if it's not NULL.
25910
356b3480
RM
259112013-03-28 Roland McGrath <roland@hack.frob.com>
25912
288f7d79
RM
25913 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
25914 didn't do it already, then set _dl_phdr and _dl_phnum based on the
25915 magic __ehdr_start linker symbol if it's defined.
25916 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
25917 them up here if it was already done.
25918
dc0a0263
RM
25919 * elf/dl-support.c (_dl_phdr): Make pointer to const.
25920 (_dl_aux_init): Use const in cast when setting it.
25921 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
25922 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
25923 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
25924
3d3436ae
RM
25925 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
25926 Declare them here.
25927 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
25928 * csu/libc-tls.c: Nor here.
25929 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
25930
356b3480
RM
25931 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
25932 (__libc_message): Never call vsyslog.
25933
b0f1246a
AM
259342013-03-28 Alan Modra <amodra@gmail.com>
25935
25936 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
25937 Define as empty.
25938 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
25939 Likewise.
25940
fbbe2b9a
AZ
259412013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25942
25943 [BZ #15214]
25944 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
25945 underflow.
25946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25947
1728ab37
SP
259482013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25949
7a86be6e
SP
25950 [BZ #15304]
25951 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25952 Don't add gid passed as argument.
25953
1728ab37
SP
25954 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
25955
3a7182a1
JM
259562013-03-27 Joseph Myers <joseph@codesourcery.com>
25957
25958 [BZ #15307]
25959 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25960 imaginary part between 1.0 and 1.5 and real part less than 0.5
25961 specially.
25962 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25963 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25964 * math/libm-test.inc (cacos_test): Add more tests.
25965 (casin_test): Likewise.
25966 (casinh_test): Likewise.
25967 * sysdeps/i386/fpu/libm-test-ulps: Update.
25968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25969
6f2e90e7
SP
259702013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25971
5739f705
SP
25972 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
25973 constants.
25974 (norm): Likewise.
25975 (denorm): Likewise.
25976 (__dbl_mp): Likewise.
25977 (add_magnitudes): Likewise.
25978 (sub_magnitudes): Likewise.
25979 (__add): Likewise.
25980 (__sub): Likewise.
25981 (__mul): Likewise.
25982 (__sqr): Likewise.
25983 (__inv): Likewise.
25984 (__dvd): Likewise.
25985
e375e83d
SP
25986 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25987 commented code.
25988 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25989 (__dubcos): Likewise.
25990 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25991 (__ieee754_acos): Likewise.
25992 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25993 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25994 (__exp1): Likewise.
25995 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25996 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25997 (log1): Likewise.
25998 (my_log2): Likewise.
25999 (checkint): Likewise.
26000 * sysdeps/ieee754/dbl-64/e_remainder.c
26001 (__ieee754_remainder): Likewise.
26002 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26003 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26004 (bsloww): Likewise.
26005 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26006
6f2e90e7
SP
26007 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26008 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
26009 MANTISSA_STORE_T to store computations on mantissa. Use
26010 macros for rounding and division.
26011 (denorm): Likewise.
26012 (__dbl_mp): Likewise.
26013 (add_magnitudes): Likewise.
26014 (sub_magnitudes): Likewise.
26015 (__mul): Likewise.
26016 (__sqr): Likewise.
26017 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26018 powers of two in terms of TWOPOW macro.
26019 (mp_no): Make type of mantissa as MANTISSA_T.
26020 [!RADIXI]: Define RADIXI.
26021 [!TWO52]: Define TWO52.
26022 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26023
fce14d4e
AZ
260242013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26025
26026 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
26027 llroundl symbol when building for PPC32.
26028
9ad027fb
MW
260292013-03-24 Mark H Weaver <mhw@netris.org>
26030
26031 * manual/arith.texi (Normalization Functions): Fix prototypes for
26032 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
26033
e42a38dd
AZ
260342013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26035
26036 [BZ #13889]
26037 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
26038 high value to check if expl overflow.
26039 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
26040 to check for underflow and overflow.
26041 * math/libm-test.inc: Add exp test.
26042
2e0fb521
DL
260432013-03-21 Dmitry V. Levin <ldv@altlinux.org>
26044
26045 [BZ #11120]
26046 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26047 with NOT_IN_libc.
26048
b5784d95
AZ
260492013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26050
26051 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
26052 symbol.
26053
5aa4a1a1
TS
260542013-03-21 Thomas Schwinge <thomas@codesourcery.com>
26055
bdef0be7
TS
26056 * math/gen-libm-test.pl (parse_args, special_functions): Properly
26057 wrap blocks consisting of several statements.
26058
5aa4a1a1
TS
26059 * sysdeps/generic/math-tests.h: New file.
26060 * sysdeps/i386/fpu/math-tests.h: Likewise.
26061 * math/test-snan.c: Include it.
26062 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
26063
98c48fe5
JM
260642013-03-21 Joseph Myers <joseph@codesourcery.com>
26065
26066 [BZ #15285]
26067 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
26068 (__ieee754_j0l): Do not improve calculations using cos of twice
26069 input for inputs above LDBL_MAX / 2.0L.
26070 (__ieee754_y0l): Likewise.
26071 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
26072 (__ieee754_j1l): Do not improve calculations using cos of twice
26073 input for inputs above LDBL_MAX / 2.0L.
26074 (__ieee754_y1l): Likewise.
26075 * math/libm-test.inc (j0_test): Add another test.
26076 (j1_test): Likewise.
26077 (y0_test): Likewise.
26078 (y1_test): Likewise.
26079 * sysdeps/i386/fpu/libm-test-ulps: Update.
26080
3775a8bc
SP
260812013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26082
26083 * Rules ($(objpfx)bench-%.c): Include code from a C source
26084 file.
26085
0a1b2ae6
JM
260862013-03-21 Joseph Myers <joseph@codesourcery.com>
26087
26088 [BZ #15287]
26089 * math/k_casinh.c (__kernel_casinh): Handle arguments with
26090 imaginary part 1.0 and real part less than 0.5 specially.
26091 * math/k_casinhf.c (__kernel_casinhf): Likewise.
26092 * math/k_casinhl.c (__kernel_casinhl): Likewise.
26093 * math/libm-test.inc (cacos_test): Add more tests.
26094 (casin_test): Likewise.
26095 (casinh_test): Likewise.
26096 * sysdeps/i386/fpu/libm-test-ulps: Update.
26097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26098
b33d4ce4
SP
260992013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26100
26101 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26102 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26103
bef0b507
JM
261042013-03-20 Joseph Myers <joseph@codesourcery.com>
26105
26106 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26107 * config.make.in (config-cflags-sse4): Remove variable.
26108 (config-cflags-avx): Likewise.
26109 (config-cflags-sse2avx): Likewise.
26110 (config-cflags-novzeroupper): Likewise.
26111 (config-asflags-i686): Likewise.
26112 (have-mfma4): Likewise.
26113 (have-as-vis3): Likewise.
26114 (MIG): Likewise.
26115 * configure.in (MIG): Do not AC_SUBST.
26116 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26117 (libc_cv_cc_sse4): Do not AC_SUBST.
26118 (libc_cv_cc_avx): Likewise.
26119 (libc_cv_cc_sse2avx): Likewise.
26120 (libc_cv_cc_novzeroupper): Likewise.
26121 (libc_cv_cc_fma4): Likewise.
26122 (libc_cv_as_i686): Likewise.
26123 (libc_cv_sparc_as_vis3): Likewise.
26124 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26125 LIBC_CONFIG_VAR.
26126 (config-asflags-i686): Likewise.
26127 (config-cflags-avx): Likewise.
26128 (config-cflags-sse2avx): Likewise.
26129 (have-mfma4): Likewise.
26130 (config-cflags-novzeroupper): Likewise.
26131 * sysdeps/mach/configure.in (MIG): Likewise.
26132 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26133 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26134 LIBC_CONFIG_VAR.
26135 (config-cflags-avx): Likewise.
26136 (config-cflags-sse2avx): Likewise.
26137 (have-mfma4): Likewise.
26138 (config-cflags-novzeroupper): Likewise.
26139 * configure: Regenerated.
26140 * sysdeps/i386/configure: Likewise.
26141 * sysdeps/mach/configure: Likewise.
26142 * sysdeps/sparc/configure: Likewise.
26143 * sysdeps/x86_64/configure: Likewise.
26144
912cc4b3
RM
261452013-03-20 Roland McGrath <roland@hack.frob.com>
26146
26147 [BZ #14812]
26148 * locale/programs/localedef.c (options): Put N_ translation marker
26149 on argument names, not just descriptions.
26150
04eed2b0
MS
261512013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26152
26153 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
26154
a065ceff
OB
261552013-03-20 Ondřej Bílka <neleai@seznam.cz>
26156
9bb2a810 26157 [BZ #14176]
a065ceff
OB
26158 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
26159
a600e5ce
RM
261602013-03-19 Roland McGrath <roland@hack.frob.com>
26161
26162 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
26163 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
26164 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
26165 [!BEFORE_ABORT] (before_abort): New function.
26166 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
26167 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
26168 (writev_for_fatal): New function.
26169 (WRITEV_FOR_FATAL): New macro; call that.
26170 (backtrace_and_maps): New function.
26171 (BEFORE_ABORT): New macro; call that.
26172 (struct str_list): Type removed.
26173 (__libc_message, __libc_fatal): Functions removed.
26174 Include <sysdeps/posix/libc_fatal.c> instead.
26175
6b18bea6
JM
261762013-03-19 Joseph Myers <joseph@codesourcery.com>
26177
26178 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
26179 constants.
26180 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
26181 double constants.
26182
aaa8cb4b
AS
261832013-03-19 Andreas Schwab <schwab@suse.de>
26184
44673770
AS
26185 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
26186 * sysdeps/gnu/configure: Regenerate.
26187
aaa8cb4b
AS
26188 * configure.in: Substitute libc_cv_rtlddir.
26189 * configure: Regenerate.
26190 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
26191 * Makeconfig (rtlddir, inst_rtlddir): New variables.
26192 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
26193 * elf/Makefile (install-others, CFLAGS-interp.c)
26194 (ldso_install, common-ldd-rewrite): Likewise.
26195 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
26196 $(inst_slibdir)/$(rtld-installed-name).
26197 * scripts/rellns-sh: Add -p option.
26198 * Makerules (make-shlib-link): Use rellns-sh to get relative name
26199 for source.
26200
d3cfc668
SP
262012013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26202
26203 * manual/nptl.texi: Renamed to ...
26204 * manual/threads.texi: ... this.
26205 * manual/Makefile (chapters): Update.
26206
0e2b9cdd
RM
262072013-03-18 Roland McGrath <roland@hack.frob.com>
26208
26209 [BZ #14812]
26210 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
26211 on argument names, not just descriptions.
0e2b9cdd
RM
26212 * malloc/memusagestat.c (options): Likewise.
26213 * nss/getent.c (options): Likewise.
63270c24
RM
26214
262152013-03-18 Benno Schulenberg <bensberg@justemail.net>
26216
26217 [BZ #14812]
26218 * iconv/iconv_prog.c (options): Put N_ translation marker
26219 on argument names, not just descriptions.
26220 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 26221
b2e1393c
OB
262222013-03-18 Ondrej Bilka <neleai@seznam.cz>
26223
26224 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
26225 implementation which is faster on all x86_64 architectures.
26226 Tested on AMD, Intel Nehalem, SNB, IVB.
26227 * sysdeps/x86_64/strnlen.S: Likewise.
26228
26229 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26230 Remove all multiarch strlen and strnlen versions.
26231 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26232 Remove strlen and strnlen related parts.
26233
26234 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
26235 Inline strlen part.
26236 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26237
26238 * sysdeps/x86_64/multiarch/strlen.S: Remove.
26239 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
26240 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
26241 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
26242 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26243 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
26244
ec4ff04d
CD
262452013-03-17 Carlos O'Donell <carlos@redhat.com>
26246
26247 * manual/memory.texi (Malloc Tunable Parameters):
26248 Sort parameters alphabetically. Add comments for missing entries.
26249
cd18e90a
DM
262502013-03-17 David S. Miller <davem@davemloft.net>
26251
26252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26253
2a185d32
JM
262542013-03-16 Joseph Myers <joseph@codesourcery.com>
26255
d2f9799e
JM
26256 [BZ #15283]
26257 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
26258 for arguments at most half maximum finite value.
26259 * math/libm-test.inc (j0_test): Add more tests.
26260 (j1_test): Likewise.
26261 (y0_test): Likewise.
26262 (y1_test): Likewise.
26263 * sysdeps/i386/fpu/libm-test-ulps: Update.
26264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26265
2a185d32
JM
26266 [BZ #14155]
26267 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
26268 1 / x and functions P and Q for arguments above 0x1p256L.
26269 (__ieee754_y0l): Likewise.
26270 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
26271 (__ieee754_y1l): Likewise.
26272 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
26273 (j1_test): Likewise.
26274 (y0_test): Likewise.
26275 (y1_test): Likewise.
26276
6cbec759
TS
262772013-03-16 Thomas Schwinge <thomas@codesourcery.com>
26278
26279 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
26280 variable.
26281
bc16e260
RM
262822013-03-15 Roland McGrath <roland@hack.frob.com>
26283
aefc9b8c
RM
26284 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
26285 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
26286 zero since it's initialized to EXEC_PAGESIZE.
26287
bc16e260
RM
26288 * sysdeps/unix/sysv/linux/ldsodefs.h
26289 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
26290 * sysdeps/generic/ldsodefs.h: ... here.
26291
a57da955
TS
262922013-03-15 Thomas Schwinge <thomas@codesourcery.com>
26293
af00a34d
TS
26294 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
26295
495ded2c
TS
26296 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
26297 math/test-snan.c.
26298 * math/test-snan.c: Renamed from
26299 sysdeps/powerpc/fpu/test-powerpc-snan.c.
26300 * math/Makefile (tests): Add test-snan.
26301 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
26302 test-powerpc-snan.
26303
777b0332
TS
26304 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
26305 SUFFIX. Initialize qNaN_var with __builtin_nan family of
26306 functions.
26307 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
26308 __builtin_nan family of functions.
26309 * math/libm-test.inc (initialize): Initialize qnan_value with
26310 __builtin_nan family of functions.
26311 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
26312 Remove variables.
26313 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
26314 Remove functions.
26315 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
26316 storage class. Initialize qNaN_var and sNaN_var with
26317 __builtin_nan and __builtin_nans families of functions,
26318 respectively.
26319
64d063b8
TS
26320 * math/libm-test.inc (acosh_test): Also test with qNaN input.
26321 (sqrt_test): Remove duplicate test with qNaN input.
26322 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
26323 (round_test, signbit_test, significand_test): Note missing +/-Inf
26324 as well as qNaN tests.
26325
67e971f1
TS
26326 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
26327 qNaN_var. Fix a few strings, too.
26328 * math/libm-test.inc (nan_value): Rename to qnan_value.
26329 * math/gen-libm-test.pl (%beautify): Adjust to that.
26330 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
26331 * math/test-misc.c (main): Likewise.
26332 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
26333 to __qnan_bytes, and __qnan_union, respectively.
26334 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
26335 Likewise.
26336 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
26337 and lqnanval, respectively.
26338 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
26339 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
26340 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
26341 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
26342
64487e12
TS
26343 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
26344 * math/test-misc.c (main) [__x86_64__]: Enable test for long
26345 doubles.
26346
e015e27b
TS
26347 * math/test-misc.c (main): Fix copy'n'pastos.
26348 * misc/tst-efgcvt.c (special): Likewise.
26349
a57da955
TS
26350 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
26351 Remove declarations.
26352
1e380345
SP
263532013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26354
26355 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
26356 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
26357 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
26358 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
26359
ef26eece
AZ
263602013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26361
26362 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
26363 macro to return vdso values correctly in IFUNC implementations.
26364 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26365 Optimization by using IFUNC.
26366
8cfdb7e0
SP
263672013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26368 Richard Henderson <rth@redhat.com>
26369 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26370
26371 * Makefile.in (bench): New target.
26372 * NEWS: Mention the benchmark framework.
26373 * Rules (bench): Likewise.
26374 (binaries-bench): Generate binaries for functions to
26375 benchmark.
26376 * benchtests/Makefile: New makefile for benchmark tests.
26377 * benchtests/bench-skeleton.c: New skeleton file for benchmark
26378 programs.
26379 * benchtests/exp-inputs: New input file for EXP function.
26380 * benchtests/pow-inputs: New input file for POW function.
26381 * scripts/bench.pl: New script to generate source files for
26382 benchmark programs.
26383
bcda9880
SP
263842013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26385
d22ca8cd
SP
26386 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26387 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
26388 computations on mantissa. Use macros for rounding and
26389 division.
26390 (denorm): Likewise.
26391 (__dbl_mp): Likewise.
26392 (add_magnitudes): Likewise.
26393 (sub_magnitudes): Likewise.
26394 (__mul): Likewise.
26395 (__sqr): Likewise.
26396 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
26397 powers of two in terms of TWOPOW macro.
26398 (mp_no): Make type of mantissa as MANTISSA_T.
26399 [!RADIXI]: Define RADIXI.
26400 [!TWO52]: Define TWO52.
26401 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26402
bcda9880
SP
26403 * manual/nptl.texi (cindex): Modify threads to pthreads.
26404
06d5adfb
JM
264052013-03-15 Joseph Myers <joseph@codesourcery.com>
26406
26407 * sysdeps/x86_64/preconfigure: Regenerated.
26408
41c7328e
JM
264092013-03-14 Joseph Myers <joseph@codesourcery.com>
26410
26411 [BZ #14155]
26412 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
26413 0x1p28 and above.
26414 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
26415 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
26416 0x1p28 and above.
26417 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
26418 * math/libm-test.inc (j0_test): Do not allow one spurious
26419 underflow exception.
26420 (y1_test): Likewise.
26421
e25cfa60
SP
264222013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26423
0409959c
SP
26424 * manual/Makefile (chapters): Add nptl.
26425 * manual/debug.texi (Debugging Support): Add link to Threads
26426 chapter.
26427 * manual/nptl.texi: New file.
26428
e25cfa60
SP
26429 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
26430
58a1335e
PB
264312013-03-14 Petr Baudis <pasky@ucw.cz>
26432
26433 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
26434 for non-NULL pointer before the memory validity test. Pointed
26435 out by Holger Brunck <holger.brunck@keymile.com>.
26436
9dc7c64f
AS
264372013-03-13 Andreas Schwab <schwab@suse.de>
26438
26439 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
26440 instead of .os.
26441
54206aa6
JM
264422013-03-13 Joseph Myers <joseph@codesourcery.com>
26443
26444 * timezone/zic.c: Update from tzcode 2013b.
26445
e98cdb38
CD
264462013-03-12 Carlos O'Donell <carlos@redhat.com>
26447
26448 * manual/install.texi (Configuring and compiling):
26449 Mention i686 and i586.
26450 * INSTALL: Regenerate.
26451
9967e003
RM
264522013-03-12 Roland McGrath <roland@hack.frob.com>
26453
26454 * sysdeps/init_array/elf-init.c: New file.
26455 * csu/elf-init.c
26456 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
26457 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
26458
26459 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
26460 __gmon_start__ as global, but as static with a .preinit_array pointer.
26461 * sysdeps/init_array/gmon-start.c: New file. Use that.
26462 * sysdeps/init_array/crti.S: New file, empty except for comments.
26463 * sysdeps/init_array/crtn.S: Likewise.
26464
e6b5a293 264652013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
26466
26467 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
26468 definining bcopy.
80f844c9
OB
26469 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26470 Remove Prefer_SSE_for_memop.
26471 * sysdeps/x86_64/multiarch/init-arch.h: Remove
26472 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
26473 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
26474 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
26475 memset-x86-64.
80f844c9 26476 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 26477 Remove bzero, memset ifunc support.
80f844c9
OB
26478 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
26479 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
26480 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26481 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26482
fb6b0fcb
AS
264832013-03-11 Andreas Schwab <schwab@suse.de>
26484
26485 [BZ #15234]
26486 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
26487 by SHLIB_COMPAT.
26488 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
26489 (GLIBC_2.16): Remove pthread_atfork.
26490
3e6bd4b1
PP
264912013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
26492
26493 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
26494 (ptestcases.h): Likewise.
26495
222d7f00
RM
264962013-03-08 Roland McGrath <roland@hack.frob.com>
26497
26498 * Makeconfig ($(common-objpfx)config.status): Depend on
26499 sysdeps/*/preconfigure{,.in} too.
26500
1ba4f030
JM
265012013-03-08 Joseph Myers <joseph@codesourcery.com>
26502
a222d91a
JM
26503 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
26504 (__free_hook): Use void * instead of __malloc_ptr_t.
26505 (__malloc_hook): Likewise.
26506 (__realloc_hook): Likewise.
26507 (__memalign_hook): Likewise.
26508 (__after_morecore_hook): Likewise.
26509 * malloc/arena.c (save_malloc_hook): Likewise.
26510 (save_free_hook): Likewise.
26511 * malloc/hooks.c (malloc_hook_ini): Likewise.
26512 (realloc_hook_ini): Likewise.
26513 (memalign_hook_ini): Likewise.
26514 * malloc/malloc.c (malloc_hook_ini): Likewise.
26515 (realloc_hook_ini): Likewise.
26516 (memalign_hook_ini): Likewise.
26517 (__free_hook): Likewise.
26518 (__malloc_hook): Likewise.
26519 (__realloc_hook): Likewise.
26520 (__memalign_hook): Likewise.
26521 (__libc_malloc): Likewise.
26522 (__libc_free): Likewise.
26523 (__libc_realloc): Likewise.
26524 (__libc_memalign): Likewise.
26525 (__libc_valloc): Likewise.
26526 (__libc_pvalloc): Likewise.
26527 (__libc_calloc): Likewise.
26528 (__posix_memalign): Likewise.
26529 * malloc/morecore.c (__sbrk): Likewise.
26530 (__default_morecore): Likewise.
26531
5cc45e10
JM
26532 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
26533
dd54b864
JM
26534 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
26535 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
26536 __malloc_ptrdiff_t.
26537
1ba4f030
JM
26538 * malloc/malloc.h (__malloc_size_t): Remove macro.
26539 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
26540 __malloc_size_t.
26541 (old_memalign_hook): Likewise.
26542 (old_realloc_hook): Likewise.
26543 (struct hdr): Likewise.
26544 (flood): Likewise.
26545 (mallochook): Likewise.
26546 (memalignhook): Likewise.
26547 (reallochook): Likewise.
26548 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
26549 (tr_old_realloc_hook): Likewise.
26550 (tr_old_memalign_hook): Likewise.
26551 (tr_mallochook): Likewise.
26552 (tr_reallochook): Likewise.
26553 (tr_memalignhook): Likewise.
26554
edf66e57
AZ
265552013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26556
26557 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
26558 default_ldbl_pack and using as default implementation.
26559 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
26560 implementation.
26561 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
26562 redundant definition.
26563 (ldbl_insert_mantissa): Likewise.
26564 (ldbl_canonicalize): Likewise.
26565 (ldbl_nearbyint): Likewise.
26566 (ldbl_pack): Rename to ldbl_pack_ppc.
26567 (ldbl_unpack): Rename to ldbl_unpack_ppc.
26568 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
26569 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
26570
6d9145d8
SP
265712013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26572
26573 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
26574 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
26575 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
26576 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
26577 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
26578 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
26579 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
26580 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
26581
4dd4e157
AJ
265822013-03-07 Andreas Jaeger <aj@suse.de>
26583
26584 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26585 bits/mman-linux.h.
26586
adbb8027
SP
265872013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26588
ce544b5b
SP
26589 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
26590 Include mpa.h and declare __MPEXP.
26591 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
26592 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26593 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26594 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
26595 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26596 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26597 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
26598
4cc149fd
SP
26599 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
26600 (__slowpow): Use long double EXPL and LOGL functions to
26601 compute POW.
26602 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26603 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26604 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
26605 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26606 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26607 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
26608
e6ebd4a7
SP
26609 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
26610 intermediate variable to calculate exponent.
26611 (__sqr): Likewise.
26612 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26613 Likewise.
26614 (__sqr): Likewise.
26615
82a9811d
SP
26616 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
26617 [!NO__SQR]: Define __sqr.
26618 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
26619 and NO__SQR. Remove all code except __mul and __sqr. Include
26620 sysdeps/ieee754/dbl-64/mpa.c.
26621 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26622
adbb8027
SP
26623 [BZ #12723]
26624 * posix/Makefile (tests): Add tst-pathconf.
26625 * posix/tst-pathconf.c: New test case.
26626 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
26627 _PC_PIPE_BUF.
26628 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
26629
39120df9
PF
266302013-03-06 Patsy Franklin <pfrankli@redhat.com>
26631
26632 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
26633
67525cb8
AJ
266342013-03-06 Andreas Jaeger <aj@suse.de>
26635
664a9ce4
AJ
26636 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
26637 definition via __MAP_ANONYMOUS.
26638
8e39047d
AJ
26639 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
26640 it's not part of Linux headers.
26641
67525cb8
AJ
26642 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
26643 (MAP_HUGE_MASK): Define.
26644
26645 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26646 Define.
26647 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26648 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26649 Define.
26650 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26651 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26652 Define.
26653 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26654 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
26655 Define.
26656 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26657
26658 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
26659 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
26660 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
26661 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
26662 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
26663 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
26664
26665 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26666 Handle f2fs.
26667
26668 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26669 Handle f2fs and efivarfs.
26670
26671 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
26672 f2fs.
26673
26674 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
26675 (EFIVARFS_MAGIC): Add.
26676 (F2FS_LINK_MAX): Add.
26677
e1b42695
PP
266782013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26679
26680 * stdio-common/vfprintf.c: Replace __builtin_expect with
26681 __glibc_unlikely.
26682
2d67d91a
JM
266832013-03-06 Joseph Myers <joseph@codesourcery.com>
26684
26685 [BZ #13550]
26686 * sysdeps/generic/bp-sym.h: Remove file.
26687 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
26688 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
26689 <bp-sym.h> and <bp-asm.h>.
26690 (__longjmp): Don't use BP_SYM.
26691 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
26692 and <bp-asm.h>.
26693 (memcpy): Don't use BP_SYM.
26694 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
26695 <bp-sym.h> and <bp-asm.h>.
26696 (memcpy): Don't use BP_SYM.
26697 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
26698 <bp-asm.h>.
26699 (memcpy): Don't use BP_SYM.
26700 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
26701 <bp-asm.h>.
26702 (memset): Don't use BP_SYM.
26703 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26704 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26705 (__bzero): Don't use BP_SYM.
26706 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26707 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26708 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
26709 <bp-sym.h> and <bp-asm.h>.
26710 (memcmp): Don't use BP_SYM. Remove comment about bounded
26711 pointers.
26712 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
26713 <bp-sym.h> and <bp-asm.h>.
26714 (memcpy): Don't use BP_SYM.
26715 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
26716 <bp-sym.h> and <bp-asm.h>.
26717 (memset): Don't use BP_SYM.
26718 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26719 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26720 (__bzero): Don't use BP_SYM.
26721 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26722 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26723 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
26724 <bp-sym.h> and <bp-asm.h>.
26725 (strncmp): Don't use BP_SYM. Remove comment about bounded
26726 pointers.
26727 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
26728 <bp-sym.h> and <bp-asm.h>.
26729 (memcpy): Don't use BP_SYM.
26730 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
26731 <bp-sym.h> and <bp-asm.h>.
26732 (memset): Don't use BP_SYM.
26733 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26734 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26735 (__bzero): Don't use BP_SYM.
26736 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26737 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26738 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
26739 <bp-sym.h> and <bp-asm.h>.
26740 (__memchr): Don't use BP_SYM.
26741 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
26742 <bp-sym.h> and <bp-asm.h>.
26743 (memcmp): Don't use BP_SYM. Remove comment about bounded
26744 pointers.
26745 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
26746 <bp-sym.h> and <bp-asm.h>.
26747 (memcpy): Don't use BP_SYM.
26748 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
26749 <bp-sym.h> and <bp-asm.h>.
26750 (__mempcpy): Don't use BP_SYM.
26751 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
26752 <bp-sym.h> and <bp-asm.h>.
26753 (__memrchr): Don't use BP_SYM.
26754 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
26755 <bp-sym.h> and <bp-asm.h>.
26756 (memset): Don't use BP_SYM.
26757 (__bzero): Likewise.
26758 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
26759 <bp-sym.h> and <bp-asm.h>.
26760 (__rawmemchr): Don't use BP_SYM.
26761 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
26762 <bp-sym.h> and <bp-asm.h>.
26763 (__STRCMP): Don't use BP_SYM.
26764 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
26765 <bp-sym.h> and <bp-asm.h>.
26766 (strchr): Don't use BP_SYM.
26767 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
26768 <bp-sym.h> and <bp-asm.h>.
26769 (__strchrnul): Don't use BP_SYM.
26770 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
26771 <bp-sym.h> and <bp-asm.h>.
26772 (strlen): Don't use BP_SYM.
26773 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
26774 <bp-sym.h> and <bp-asm.h>.
26775 (strncmp): Don't use BP_SYM. Remove comment about bounded
26776 pointers.
26777 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
26778 <bp-sym.h> and <bp-asm.h>.
26779 (__strnlen): Don't use BP_SYM.
26780 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
26781 <bp-sym.h> and <bp-asm.h>.
26782 (__GI__setjmp): Don't use BP_SYM.
26783 (_setjmp): Likewise.
26784 (__sigsetjmp): Likewise.
26785 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
26786 (L(start_addresses)): Don't use BP_SYM.
26787 (_start): Likewise.
26788 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
26789 <bp-asm.h>.
26790 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
26791 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
26792 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26793 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26794 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
26795 <bp-asm.h>.
26796 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
26797 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
26798 about bounded pointers.
26799 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26800 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26801 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
26802 <bp-asm.h>.
26803 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26804 about bounded pointers. Remove GKM FIXME comments.
26805 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26806 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
26807 <bp-asm.h>.
26808 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
26809 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
26810 Remove GKM FIXME comments.
26811 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26812 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26813 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
26814 <bp-asm.h>.
26815 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26816 about bounded pointers. Remove GKM FIXME comment.
26817 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
26818 and <bp-asm.h>.
26819 (strncmp): Don't use BP_SYM. Remove comment about bounded
26820 pointers.
26821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
26822 <bp-sym.h> and <bp-asm.h>.
26823 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
26825 <bp-sym.h> and <bp-asm.h>.
26826 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26827 comment.
26828
cdcf361f
PP
268292013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26830
26831 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
26832 call free(NULL).
26833
3c4a2b15
DM
268342013-03-05 David S. Miller <davem@davemloft.net>
26835
26836 * po/es.po: Update from translation team.
26837
cdcf361f 268382013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
26839
26840 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
26841 <bits/mman-linux.h>.
26842 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26843 is fine.
26844 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
26845 <bits/mman-linux.h> to end of file.
26846 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26847 is fine.
26848 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
26849 <bits/mman-linux.h> to end of file.
26850 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26851 is fine.
26852 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
26853 <bits/mman-linux.h> to end of file.
26854
26855 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
26856 (MCL_CURRENT, MCL_FUTURE): Define here.
26857
5f67c04f
AK
268582013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26859
8a4473cc 26860 [BZ #15232]
5f67c04f
AK
26861 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
26862 attribute_hidden.
26863 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26864
c3e94a95
AK
268652013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26866
26867 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
26868 fourth parameter needed for rt_sigprocmask syscall.
26869 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26870 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26871 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26872 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26873 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26874 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
26875
cfb6382a
JM
268762013-03-04 Joseph Myers <joseph@codesourcery.com>
26877
26878 [BZ #13550]
26879 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
26880 comment about bounded pointers.
26881 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
26882 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
26883
539d8e01
AJ
268842013-03-04 Andreas Jaeger <aj@suse.de>
26885
26886 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
26887 common definitions.
26888
26889 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
26890 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
26891 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
26892 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26893 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
26894 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26895
2e167a70 268962013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
26897
26898 [BZ #15055]
26899 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26900 __ieee754_sqrl instead of __sqrl.
26901
68508633
JM
269022013-03-01 Joseph Myers <joseph@codesourcery.com>
26903
26904 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
26905 * sysdeps/powerpc/fpu_control.h: ... here.
26906 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
26907 * sysdeps/powerpc/bits/fenvinline.h: ... here.
26908 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
26909 * sysdeps/powerpc/bits/mathinline.h: ... here.
26910
7775448e
RM
269112013-03-01 Roland McGrath <roland@hack.frob.com>
26912
26913 * elf/dl-hwcaps.c (_dl_important_hwcaps):
26914 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
26915 to just [NEED_DL_SYSINFO_DSO].
26916 * elf/dl-support.c: Likewise.
26917 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26918 * elf/rtld.c (dl_main): Likewise.
26919 * elf/setup-vdso.h (setup_vdso): Likewise.
26920 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
26921 * sysdeps/unix/sysv/linux/dl-sysdep.c
26922 (_dl_discover_osversion): Likewise.
26923
4e9b5995
CD
269242013-03-01 Carlos O'Donell <carlos@redhat.com>
26925
26926 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
26927 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26928
e23872c8
SP
269292013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
26930
e5c74c63
SP
26931 * NEWS: Mention libm performance improvements and non-x86 PI
26932 futex support.
26933
e23872c8
SP
26934 * csu/libc-start.c (__pthread_initialize_minimal): Change
26935 function arguments.
26936 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26937
b5510883
JM
269382013-02-28 Joseph Myers <joseph@codesourcery.com>
26939
26940 [BZ #13550]
26941 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
26942 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
26943 <bp-sym.h> and <bp-asm.h>.
26944 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26945 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
26946 and <bp-asm.h>.
26947 (memcpy): Don't use BP_SYM.
26948 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
26949 <bp-asm.h>.
26950 (__mpn_add_n): Don't use BP_SYM.
26951 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
26952 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
26953 and <bp-asm.h>.
26954 (__mpn_addmul_1): Don't use BP_SYM.
26955 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26956 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
26957 <bp-sym.h>.
26958 (_setjmp): Don't use BP_SYM.
26959 (__novmx_setjmp): Likewise.
26960 (__GI__setjmp): Likewise.
26961 (__vmx_setjmp): Likewise.
26962 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
26963 <bp-sym.h>.
26964 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
26965 (__bzero): Don't use BP_SYM.
26966 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26967 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26968 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
26969 <bp-sym.h> and <bp-asm.h>.
26970 (memcpy): Don't use BP_SYM.
26971 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
26972 <bp-sym.h> and <bp-asm.h>.
26973 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26974 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
26975 <bp-sym.h> and <bp-asm.h>.
26976 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26977 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
26978 <bp-asm.h>.
26979 (__mpn_lshift): Don't use BP_SYM.
26980 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26981 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26982 <bp-asm.h>.
26983 (memset): Don't use BP_SYM.
26984 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26985 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26986 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26987 <bp-asm.h>.
26988 (__mpn_mul_1): Don't use BP_SYM.
26989 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26990 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26991 <bp-sym.h> and <bp-asm.h>.
26992 (memcmp): Don't use BP_SYM.
26993 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26994 <bp-sym.h> and <bp-asm.h>.
26995 (memcpy): Don't use BP_SYM.
26996 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26997 <bp-sym.h> and <bp-asm.h>.
26998 (memset): Don't use BP_SYM.
26999 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
27000 <bp-sym.h> and <bp-asm.h>.
27001 (strncmp): Don't use BP_SYM.
27002 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
27003 <bp-sym.h> and <bp-asm.h>.
27004 (memcpy): Don't use BP_SYM.
27005 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
27006 <bp-sym.h> and <bp-asm.h>.
27007 (memset): Don't use BP_SYM.
27008 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
27009 <bp-sym.h> and <bp-asm.h>.
27010 (__memchr): Don't use BP_SYM.
27011 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
27012 <bp-sym.h> and <bp-asm.h>.
27013 (memcmp): Don't use BP_SYM.
27014 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
27015 <bp-sym.h> and <bp-asm.h>.
27016 (memcpy): Don't use BP_SYM.
27017 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
27018 <bp-sym.h> and <bp-asm.h>.
27019 (__mempcpy): Don't use BP_SYM.
27020 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
27021 <bp-sym.h> and <bp-asm.h>.
27022 (__memrchr): Don't use BP_SYM.
27023 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
27024 <bp-sym.h> and <bp-asm.h>.
27025 (memset): Don't use BP_SYM.
27026 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
27027 <bp-sym.h> and <bp-asm.h>.
27028 (__rawmemchr): Don't use BP_SYM.
27029 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
27030 <bp-sym.h> and <bp-asm.h>.
27031 (__STRCMP): Don't use BP_SYM.
27032 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
27033 <bp-sym.h> and <bp-asm.h>.
27034 (strchr): Don't use BP_SYM.
27035 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
27036 <bp-sym.h> and <bp-asm.h>.
27037 (__strchrnul): Don't use BP_SYM.
27038 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
27039 <bp-sym.h> and <bp-asm.h>.
27040 (strlen): Don't use BP_SYM.
27041 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
27042 <bp-sym.h> and <bp-asm.h>.
27043 (strncmp): Don't use BP_SYM.
27044 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
27045 <bp-sym.h> and <bp-asm.h>.
27046 (__strnlen): Don't use BP_SYM.
27047 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27048 <bp-asm.h>.
27049 (__mpn_rshift): Don't use BP_SYM.
27050 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27051 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
27052 <bp-sym.h> and <bp-asm.h>.
27053 (__sigsetjmp): Don't use BP_SYM.
27054 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
27055 (L(start_addresses)): Don't use BP_SYM.
27056 (_start): Likewise.
27057 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
27058 <bp-asm.h>.
27059 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
27060 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27061 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27062 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
27063 <bp-asm.h>.
27064 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
27065 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27066 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27067 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
27068 <bp-asm.h>.
27069 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27070 comments.
27071 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27072 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
27073 <bp-asm.h>.
27074 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
27075 FIXME comments.
27076 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27077 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27078 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
27079 <bp-asm.h>.
27080 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
27081 comment.
27082 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
27083 and <bp-asm.h>.
27084 (strncmp): Don't use BP_SYM,
27085 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
27086 <bp-asm.h>.
27087 (__mpn_sub_n): Don't use BP_SYM.
27088 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27089 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27090 and <bp-asm.h>.
27091 (__mpn_submul_1): Don't use BP_SYM.
27092 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27094 <bp-sym.h> and <bp-asm.h>.
27095 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27097 <bp-sym.h> and <bp-asm.h>.
27098 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
27099 comment.
27100
8d19fe64
SP
271012013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27102
27103 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27104 Use ZK to minimize writes to Z.
27105 (sub_magnitudes): Simplify code a bit.
27106 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27107 Use ZK to minimize writes to Z.
27108 (sub_magnitudes): Simplify code a bit.
27109
85bd816a
RM
271102013-02-27 Roland McGrath <roland@hack.frob.com>
27111
27112 * csu/gmon-start.c: Add special exception to license text.
27113
b5977bf2
RH
271142013-02-27 Richard Henderson <rth@redhat.com>
27115
27116 * scripts/config.guess: Update from config.git.
27117 * scripts/config.sub: Likewise.
27118
11d6e2f2
SP
271192013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27120
09c14ed2
SP
27121 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27122
a688864e
SP
27123 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27124
6295157a
SP
27125 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27126
b8de2202
SP
27127 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27128
11d6e2f2
SP
27129 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27130
7e80ddb8
RM
271312013-02-26 Roland McGrath <roland@hack.frob.com>
27132
27133 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27134 [$(build-shared = yes].
7e80ddb8 27135
7da6d9ed
SP
271362013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27137
45f05884
SP
27138 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27139 (__mul): Reduce iterations for calculating mantissa.
27140
2236d359
SP
27141 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27142 MPTWO.
27143 (__mpranred): Likewise.
27144
7da6d9ed
SP
27145 [BZ #15160]
27146 * malloc/memusagestat.c (main): Draw graphs for heap and stack
27147 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27148
b7688c42
PE
271492013-02-26 Paul Eggert <eggert@cs.ucla.edu>
27150
27151 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27152 Define __attribute__.
27153
53a5c423
SP
271542013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27155
27156 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
27157 unused.
27158 * posix/regex_internal.h (__attribute): Remove.
27159 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
27160 (re_string_context_at): Likewise.
27161 (bitset_not): Use __attribute__ and mark function as possibly
27162 unused.
27163 (bitset_merge): Likewise.
27164 (bitset_mask): Likewise.
27165 (re_string_char_size_at): Likewise.
27166 (re_string_wchar_at): Likewise.
27167 (re_string_elem_size_at): Likewise.
27168
60f5a8b5
SP
271692013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27170
2a983a2e
SP
27171 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
27172 code.
27173 (cc32): Likewise.
27174
e69804d1
SP
27175 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
27176 (__acr): Likewise.
27177 (__cpy): Likewise.
27178 (norm): Likewise.
27179 (denorm): Likewise.
27180 (__dbl_mp): Likewise.
27181 (add_magnitudes): Likewise.
27182 (sub_magnitudes): Likewise.
27183 (__mul): Likewise.
27184 (__inv): Likewise.
27185
2f22a1e8
SP
27186 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
27187 style.
27188
8930ddc7
SP
27189 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
27190 style.
27191
dc60cb11
SP
27192 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
27193 code.
27194
60f5a8b5
SP
27195 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
27196 up changes with default code.
27197 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
27198 Likewise.
27199
b4d1fd33
AM
272002013-02-24 Allan McRae <allan@archlinux.org>
27201
faf6f8bc
AM
27202 * manual/socket.texi (The Internet Namespace): Order menu items
27203 to match that in the file.
27204
b4d1fd33
AM
27205 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
27206 node listing of the info page menu.
27207
2366713d
JM
272082013-02-21 Joseph Myers <joseph@codesourcery.com>
27209
27210 [BZ #13550]
27211 * sysdeps/i386/bp-asm.h: Remove file.
27212 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27213 (PARMS): Do not use macros from bp-asm.h.
27214 (S1): Likewise.
27215 (S2): Likewise.
27216 (SIZE): Likewise.
27217 (__mpn_add_n): Do not use BP_SYM
27218 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
27219 "bp-asm.h".
27220 (PARMS): Do not use macros from bp-asm.h.
27221 (S1): Likewise.
27222 (SIZE): Likewise.
27223 (__mpn_addmul_1): Do not use BP_SYM
27224 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
27225 "bp-asm.h".
27226 (PARMS): Do not use macros from bp-asm.h.
27227 (SIGMSK): Likewise.
27228 (_setjmp): Likewise. Do not use BP_SYM.
27229 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
27230 "bp-asm.h".
27231 (PARMS): Do not use macros from bp-asm.h.
27232 (SIGMSK): Likewise.
27233 (setjmp): Likewise. Do not use BP_SYM.
27234 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
27235 "bp-asm.h".
27236 (PARMS): Do not use macros from bp-asm.h.
27237 (__frexp): Do not use BP_SYM.
27238 (frexp): Likewise.
27239 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
27240 "bp-asm.h".
27241 (PARMS): Do not use macros from bp-asm.h.
27242 (__frexpf): Do not use BP_SYM.
27243 (frexpf): Likewise.
27244 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
27245 "bp-asm.h".
27246 (PARMS): Do not use macros from bp-asm.h.
27247 (__frexpl): Do not use BP_SYM.
27248 (frexpl): Likewise.
27249 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
27250 "bp-asm.h".
27251 (PARMS): Do not use macros from bp-asm.h.
27252 (__remquo): Do not use BP_SYM.
27253 (remquo): Likewise.
27254 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
27255 "bp-asm.h".
27256 (PARMS): Do not use macros from bp-asm.h.
27257 (__remquof): Do not use BP_SYM.
27258 (remquof): Likewise.
27259 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
27260 "bp-asm.h".
27261 (PARMS): Do not use macros from bp-asm.h.
27262 (__remquol): Do not use BP_SYM.
27263 (remquol): Likewise.
27264 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
27265 "bp-asm.h".
27266 (PARMS): Do not use macros from bp-asm.h.
27267 (DEST): Likewise.
27268 (SRC): Likewise.
27269 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
27270 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
27271 "bp-asm.h".
27272 (PARMS): Do not use macros from bp-asm.h.
27273 (strlen): Do not use BP_SYM.
27274 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
27275 "bp-asm.h".
27276 (PARMS): Do not use macros from bp-asm.h.
27277 (S1): Likewise.
27278 (S2): Likewise.
27279 (SIZE): Likewise.
27280 (__mpn_add_n): Do not use BP_SYM.
27281 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
27282 "bp-asm.h".
27283 (PARMS): Do not use macros from bp-asm.h.
27284 (S1): Likewise.
27285 (SIZE): Likewise.
27286 (__mpn_addmul_1): Do not use BP_SYM.
27287 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
27288 weak_alias.
27289 (bzero): Likewise.
27290 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
27291 "bp-asm.h".
27292 (PARMS): Do not use macros from bp-asm.h.
27293 (S): Likewise.
27294 (SIZE): Likewise.
27295 (__mpn_lshift): Do not use BP_SYM.
27296 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
27297 "bp-asm.h".
27298 (PARMS): Do not use macros from bp-asm.h.
27299 (DEST): Likewise.
27300 (SRC): Likewise.
27301 (LEN): Likewise.
27302 (memcpy): Likewise. Do not use BP_SYM.
27303 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
27304 libc_hidden_def and weak_alias.
27305 (mempcpy): Do not use BP_SYM in weak_alias.
27306 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
27307 "bp-asm.h".
27308 (PARMS): Do not use macros from bp-asm.h.
27309 (DEST): Likewise.
27310 (LEN): Likewise.
27311 [!BZERO_P] (CHR): Likewise.
27312 (memset): Likewise. Do not use BP_SYM.
27313 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
27314 "bp-asm.h".
27315 (PARMS): Do not use macros from bp-asm.h.
27316 (S1): Likewise.
27317 (SIZE): Likewise.
27318 (__mpn_mul_1): Do not use BP_SYM.
27319 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
27320 "bp-asm.h".
27321 (PARMS): Do not use macros from bp-asm.h.
27322 (S): Likewise.
27323 (SIZE): Likewise.
27324 (__mpn_rshift): Do not use BP_SYM.
27325 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
27326 "bp-asm.h".
27327 (PARMS): Do not use macros from bp-asm.h.
27328 (STR): Likewise.
27329 (CHR): Likewise.
27330 (strchr): Likewise. Do not use BP_SYM.
27331 (index): Do not use BP_SYM in weak_alias.
27332 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
27333 "bp-asm.h".
27334 (PARMS): Do not use macros from bp-asm.h.
27335 (DEST): Likewise.
27336 (SRC): Likewise.
27337 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
27338 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
27339 "bp-asm.h".
27340 (PARMS): Do not use macros from bp-asm.h.
27341 (strlen): Do not use BP_SYM.
27342 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
27343 "bp-asm.h".
27344 (PARMS): Do not use macros from bp-asm.h.
27345 (S1): Likewise.
27346 (S2): Likewise.
27347 (SIZE): Likewise.
27348 (__mpn_sub_n): Do not use BP_SYM.
27349 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
27350 "bp-asm.h".
27351 (PARMS): Do not use macros from bp-asm.h.
27352 (S1): Likewise.
27353 (SIZE): Likewise.
27354 (__mpn_submul_1): Do not use BP_SYM.
27355 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
27356 "bp-asm.h".
27357 (PARMS): Do not use macros from bp-asm.h.
27358 (S1): Likewise.
27359 (S2): Likewise.
27360 (SIZE): Likewise.
27361 (__mpn_add_n): Do not use BP_SYM.
27362 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
27363 weak_alias.
27364 (bzero): Likewise.
27365 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
27366 "bp-asm.h".
27367 (PARMS): Do not use macros from bp-asm.h.
27368 (BLK2): Likewise.
27369 (LEN): Likewise.
27370 (memcmp): Do not use BP_SYM.
27371 (bcmp): Do not use BP_SYM in weak_alias.
27372 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
27373 "bp-asm.h".
27374 (PARMS): Do not use macros from bp-asm.h.
27375 (DEST): Likewise.
27376 (SRC): Likewise.
27377 (LEN): Likewise.
27378 (memcpy): Likewise. Do not use BP_SYM.
27379 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
27380 "bp-asm.h".
27381 (PARMS): Do not use macros from bp-asm.h.
27382 (DEST): Likewise.
27383 (SRC): Likewise.
27384 (LEN): Likewise.
27385 (memmove): Likewise. Do not use BP_SYM.
27386 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
27387 "bp-asm.h".
27388 (PARMS): Do not use macros from bp-asm.h.
27389 (DEST): Likewise.
27390 (SRC): Likewise.
27391 (LEN): Likewise.
27392 (__mempcpy): Likewise. Do not use BP_SYM.
27393 (mempcpy): Do not use BP_SYM in weak_alias.
27394 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
27395 "bp-asm.h".
27396 (PARMS): Do not use macros from bp-asm.h.
27397 (DEST): Likewise.
27398 (LEN): Likewise.
27399 [!BZERO_P] (CHR): Likewise.
27400 (memset): Likewise. Do not use BP_SYM.
27401 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
27402 "bp-asm.h".
27403 (PARMS): Do not use macros from bp-asm.h.
27404 (STR2): Likewise.
27405 (strcmp): Do not use BP_SYM.
27406 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
27407 "bp-asm.h".
27408 (PARMS): Do not use macros from bp-asm.h.
27409 (STR): Likewise.
27410 (DELIM): Likewise.
27411 [USE_AS_STRTOK_R] (SAVE): Likewise.
27412 (FUNCTION): Likewise. Do not use BP_SYM.
27413 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
27414 aliases.
27415 (strtok_r): Likewise.
27416 (__GI___strtok_r): Likewise.
27417 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27418 (PARMS): Do not use macros from bp-asm.h.
27419 (S): Likewise.
27420 (SIZE): Likewise.
27421 (__mpn_lshift): Do not use BP_SYM.
27422 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27423 (PARMS): Do not use macros from bp-asm.h.
27424 (STR): Likewise.
27425 (CHR): Likewise.
27426 (__memchr): Do not use BP_SYM.
27427 (memchr): Do not use BP_SYM in weak_alias.
27428 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27429 (PARMS): Do not use macros from bp-asm.h.
27430 (BLK2): Likewise.
27431 (LEN): Likewise.
27432 (memcmp): Do not use BP_SYM.
27433 (bcmp): Do not use BP_SYM in weak_alias.
27434 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
27435 (PARMS): Do not use macros from bp-asm.h.
27436 (S1): Likewise.
27437 (SIZE): Likewise.
27438 (__mpn_mul_1): Do not use BP_SYM.
27439 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
27440 "bp-asm.h".
27441 (PARMS): Do not use macros from bp-asm.h.
27442 (STR): Likewise.
27443 (CHR): Likewise.
27444 (__rawmemchr): Do not use BP_SYM.
27445 (rawmemchr): Do not use BP_SYM in weak_alias.
27446 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27447 (PARMS): Do not use macros from bp-asm.h.
27448 (S): Likewise.
27449 (SIZE): Likewise.
27450 (__mpn_rshift): Do not use BP_SYM.
27451 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27452 (PARMS): Do not use macros from bp-asm.h.
27453 (SIGMSK): Likewise.
27454 (__sigsetjmp): Likewise. Do not use BP_SYM.
27455 * sysdeps/i386/start.S: Do not include "bp-sym.h".
27456 (_start): Do not use BP_SYM.
27457 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
27458 (PARMS): Do not use macros from bp-asm.h.
27459 (DEST): Likewise.
27460 (SRC): Likewise.
27461 (__stpcpy): Likewise. Do not use BP_SYM.
27462 (stpcpy): Do not use BP_SYM in weak_alias.
27463 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
27464 "bp-asm.h".
27465 (PARMS): Do not use macros from bp-asm.h.
27466 (DEST): Likewise.
27467 (SRC): Likewise.
27468 (LEN): Likewise.
27469 (__stpncpy): Likewise. Do not use BP_SYM.
27470 (stpncpy): Do not use BP_SYM in weak_alias.
27471 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27472 (PARMS): Do not use macros from bp-asm.h.
27473 (STR): Likewise.
27474 (CHR): Likewise.
27475 (strchr): Likewise. Do not use BP_SYM.
27476 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
27477 "bp-asm.h".
27478 (PARMS): Do not use macros from bp-asm.h.
27479 (STR): Likewise.
27480 (CHR): Likewise.
27481 (__strchrnul): Likewise. Do not use BP_SYM.
27482 (strchrnul): Do not use BP_SYM in weak_alias.
27483 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
27484 "bp-asm.h".
27485 (PARMS): Do not use macros from bp-asm.h.
27486 (STOP): Likewise.
27487 (strcspn): Do not use BP_SYM.
27488 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
27489 "bp-asm.h".
27490 (PARMS): Do not use macros from bp-asm.h.
27491 (STR): Likewise.
27492 (STOP): Likewise.
27493 (strpbrk): Likewise. Do not use BP_SYM.
27494 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
27495 "bp-asm.h".
27496 (PARMS): Do not use macros from bp-asm.h.
27497 (STR): Likewise.
27498 (CHR): Likewise.
27499 (strrchr): Likewise. Do not use BP_SYM.
27500 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
27501 (PARMS): Do not use macros from bp-asm.h.
27502 (SKIP): Likewise.
27503 (strspn): Do not use BP_SYM.
27504 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
27505 (PARMS): Do not use macros from bp-asm.h.
27506 (STR): Likewise.
27507 (DELIM): Likewise.
27508 (SAVE): Likewise.
27509 (FUNCTION): Likewise. Do not use BP_SYM.
27510 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
27511 aliases.
27512 (strtok_r): Likewise.
27513 (__GI___strtok_r): Likewise.
27514 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27515 (PARMS): Do not use macros from bp-asm.h.
27516 (S1): Likewise.
27517 (S2): Likewise.
27518 (SIZE): Likewise.
27519 (__mpn_sub_n): Do not use BP_SYM.
27520 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
27521 "bp-asm.h".
27522 (PARMS): Do not use macros from bp-asm.h.
27523 (S1): Likewise.
27524 (SIZE): Likewise.
27525 (__mpn_submul_1): Do not use BP_SYM.
27526 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
27527 <bp-sym.h>.
27528 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
27529 and <bp-asm.h>.
27530 (PARMS): Do not use macros from bp-asm.h.
27531 (FLAGS): Likewise.
27532 (PTID): Likewise.
27533 (TLS): Likewise.
27534 (CTID): Likewise.
27535 (__clone): Do not use BP_SYM.
27536 (clone): Do not use BP_SYM in weak_alias.
27537 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
27538 and <bp-asm.h>.
27539 (PARMS): Do not use macros from bp-asm.h.
27540 (LEN): Likewise.
27541 (__mmap64): Do not use BP_SYM.
27542 (mmap64): Do not use BP_SYM in weak_alias.
27543 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27544 <bp-sym.h> and <bp-asm.h>.
27545 (PARMS): Do not use macros from bp-asm.h.
27546 (__posix_fadvise64_l64): Do not use BP_SYM.
27547 * sysdeps/unix/sysv/linux/i386/semtimedop.S
27548 (PARMS): Do not use macros from bp-asm.h.
27549 (NSOPS): Likewise.
27550 (semtimedop): Do not use BP_SYM.
27551 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
27552 and <bp-asm.h>.
27553
582a3cff
AM
275542013-02-21 Allan McRae <allan@archlinux.org>
27555
27556 * manual/message.texi (Charset conversion in gettext):
27557 Move @end statement to beginning of line.
27558
bab8a695
SP
275592013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27560
80945231
SP
27561 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
27562 static.
27563 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27564 Likewise.
27565
bab8a695
SP
27566 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
27567 (denorm): Likewise.
27568 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
27569 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
27570
e21d7aa7
AK
275712013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27572
27573 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
27574 tail-call to the resolved function if pltexit isn't needed.
27575
4c7a4263
SP
275762013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27577
27578 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
27579 or Y being zero as being unlikely.
27580 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27581 Likewise.
27582
41f49342
CD
275832013-02-20 Carlos O'Donell <carlos@redhat.com>
27584
27585 * manual/nss.texi (System Databases and Name Service Switch):
27586 Remove frobnicate @pxref.
27587
50022a93
TS
275882013-02-20 Thomas Schwinge <thomas@codesourcery.com>
27589
27590 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27591 __attribute__ ((unused)) to __attribute__ ((__unused__)).
27592
08cbd996
PM
275932013-02-20 Petr Machata <pmachata@redhat.com>
27594
27595 * elf/elf.h (R_ARM_TARGET1): New macro.
27596 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
27597 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
27598 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
27599 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
27600 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
27601 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
27602 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
27603 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
27604 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
27605 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
27606 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
27607 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
27608 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
27609 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
27610 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
27611 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
27612 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
27613 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
27614 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
27615 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
27616 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
27617 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
27618 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
27619 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
27620 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
27621 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
27622 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
27623 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
27624 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
27625 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
27626 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
27627 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
27628 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
27629 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
27630 (R_ARM_THM_GOT_BREL12): Likewise.
27631 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
27632 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
27633 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
27634 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
27635 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
27636 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
27637 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
27638 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
27639 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
27640
c7b275d6
TS
276412013-02-20 Thomas Schwinge <thomas@codesourcery.com>
27642
27643 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27644 __attribute_used__ to __attribute__ ((unused)).
27645
20cd7fb3
SP
276462013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27647
27648 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
27649 powerpc mpa.c.
27650 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
27651 comment formatting.
27652 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
27653
92945b52
JM
276542013-02-19 Joseph Myers <joseph@codesourcery.com>
27655
27656 [BZ #13550]
27657 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
27658 Remove macro.
27659 (ENTER): Remove both macro definitions.
27660 (LEAVE): Likewise.
27661 (CHECK_BOUNDS_LOW): Likewise.
27662 (CHECK_BOUNDS_HIGH): Likewise.
27663 (CHECK_BOUNDS_BOTH): Likewise.
27664 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
27665 (RETURN_BOUNDED_POINTER): Likewise.
27666 (RETURN_NULL_BOUNDED_POINTER): Likewise.
27667 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
27668 (POP_ERRNO_LOCATION_RETURN): Likewise.
27669 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
27670 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27671 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
27672 macros.
27673 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27674 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
27675 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
27676 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
27677 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
27678 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
27679 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
27680 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
27681 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
27682 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
27683 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
27684 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
27685 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27686 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
27687 removed macros.
27688 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27689 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
27690 macros.
27691 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27692 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
27693 * sysdeps/i386/i586/memset.S (memset): Likewise.
27694 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
27695 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27696 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
27697 macros.
27698 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27699 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
27700 Change uses of L(2) to L(out).
27701 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
27702 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
27703 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
27704 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27705 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
27706 removed macros.
27707 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27708 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
27709 macros.
27710 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27711 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
27712 (RETURN): Do not use macro LEAVE.
27713 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
27714 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
27715 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
27716 * sysdeps/i386/i686/memset.S (memset): Likewise.
27717 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
27718 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
27719 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27720 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
27721 Likewise.
27722 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27723 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
27724 L(1_2) and L(1_3) into L(1).
27725 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27726 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
27727 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27728 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
27729 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27730 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
27731 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
27732 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27733 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
27734 macros.
27735 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
27736 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27737 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
27738 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
27739 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
27740 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27741 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
27742 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
27743 * sysdeps/i386/strcspn.S (strcspn): Likewise.
27744 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
27745 * sysdeps/i386/strrchr.S (strrchr): Likewise.
27746 * sysdeps/i386/strspn.S (strspn): Likewise.
27747 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
27748 conditional code.
27749 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27750 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
27751 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27752 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
27753 L(1_3) into L(1_1).
27754 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
27755 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27756 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
27757 macros.
27758 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27759
2389741a
JJ
277602013-02-19 Jakub Jelinek <jakub@redhat.com>
27761
27762 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
27763 macro.
27764
2016b3cd
SP
277652013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27766
e4f22324
SP
27767 * math/atest-exp.c (exp_mpn): Remove ROUND.
27768 * math/atest-exp2.c (exp_mpn): Likewise.
27769 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
27770
2016b3cd
SP
27771 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
27772 * stdlib/tst-tls-atexit-lib.c: Likewise.
27773 * stdlib/tst-tls-atexit.c: Likewise.
27774
4be9b544
MF
277752013-02-18 Mike Frysinger <vapier@gentoo.org>
27776
27777 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
27778 and __attribute_alloc_size__.
27779
2f62b9ee
MF
277802013-02-18 Mike Frysinger <vapier@gentoo.org>
27781
27782 * include/programs/xmalloc.h: Change __attribute_alloc_size to
27783 __attribute_alloc_size__.
27784 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
27785 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
27786
6ff444c4
MF
277872013-02-18 Mike Frysinger <vapier@gentoo.org>
27788
27789 * include/programs/xmalloc.h: New file.
27790 * catgets/gencat.c: Include it.
27791 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
27792 * elf/pldd.c: Likewise.
27793 * iconv/iconv_charmap.c: Likewise.
27794 * iconv/iconvconfig.c: Likewise.
27795 * iconv/strtab.c: Likewise.
27796 * locale/programs/locale.c: Likewise.
27797 * locale/programs/localedef.h: Likewise.
27798 * locale/programs/simple-hash.c: Likewise.
27799 * nscd/nscd.h: Likewise.
27800 * nss/makedb.c: Likewise.
27801 * sysdeps/generic/ldconfig.h: Likewise.
27802
be179c8a
SP
278032013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27804
ba384f6e
SP
27805 * Versions.def: Add GLIBC_2.18.
27806 * include/link.h (struct link_map): New member l_tls_dtor_count.
27807 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
27808 (__call_tls_dtors): Likewise.
27809 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
27810 __cxa_thread_atexit_impl.
27811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27812 Likewise.
27813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27814 Likewise.
27815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27816 Likewise.
27817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27818 Likewise.
27819 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27820 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
27821 Likewise.
27822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
27823 Likewise.
27824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27825 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27826 Likewise.
27827 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
27828 (tests): Add test case tst-tls-atexit.
27829 (modules-names): Add shared library for tst-tls-atexit.
85891aca 27830 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
27831 (GLIBC_PRIVATE): Add __call_tls_dtors.
27832 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
27833 for libstdc++.
27834 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
27835 * stdlib/tst-tls-atexit.c: New test case.
27836 * stdlib/tst-tls-atexit-lib.c: New test case.
27837
ffaa74cf 27838 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 27839
be179c8a
SP
27840 * elf/Versions (ld): Add _dl_find_dso_for_object.
27841 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
27842 * elf/dl-open.c (_dl_find_dso_for_object): New function.
27843 (dl_open_worker): Use _dl_find_dso_for_object.
27844 * elf/dl-sym.c (do_sym): Likewise.
27845 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
27846
f78b5caa
AK
278472013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27848
27849 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
27850 Syntactic changes only.
27851 (_dl_runtime_profile): Do a tail-call to the resolved function.
27852
29691210
JM
278532013-02-17 Joseph Myers <joseph@codesourcery.com>
27854
27855 [BZ #13550]
27856 * sysdeps/x86_64/bp-asm.h: Remove file.
27857 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
27858 <bp-sym.h> and <bp-asm.h>.
27859 (__clone): Do not use BP_SYM.
27860 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
27861 <bp-sym.h> and <bp-asm.h>.
27862 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27863 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
27864 "bp-asm.h".
27865 (_setjmp): Do not use BP_SYM.
27866 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
27867 "bp-asm.h".
27868 (setjmp): Do not use BP_SYM.
27869 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
27870 libc_hidden_def.
27871 (mempcpy): Do not use BP_SYM in weak_alias.
27872 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
27873 "bp-asm.h".
27874 (strchr): Do not use BP_SYM.
27875 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
27876 "bp-asm.h".
27877 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
27878 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
27879 (_start): Do not use BP_SYM.
27880 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
27881 "bp-asm.h".
27882 (strcat): Do not use BP_SYM.
27883 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
27884 "bp-asm.h".
27885 (STRCMP): Do not use BP_SYM.
27886 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
27887 "bp-asm.h".
27888 (STRCPY): Do not use BP_SYM.
27889 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
27890 "bp-asm.h".
27891 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
27892 "bp-asm.h".
27893 (FUNCTION): Do not use BP_SYM.
27894 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
27895 weak_alias.
27896 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
27897
f238fd19
AJ
278982013-02-17 Andreas Jaeger <aj@suse.de>
27899
27900 * time/Versions: Sort entries.
27901 * string/Versions: Likewise.
27902 * resolv/Versions: Likewise.
27903 * posix/Versions: Likewise.
27904 * iconv/Versions: Likewise.
27905 * elf/Versions: Likewise.
27906 * wcsmbs/Versions: Likewise.
27907
bd07f23c 279082013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 27909
22af19f9
SP
27910 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
27911 loop termination condition.
27912
4709fe76
SP
27913 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
27914 variable to calculate EZ.
27915 (__sqr): Likewise.
2d0e0f29
SP
27916
27917 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
27918 the lower precision input.
27919
daaa7713
JM
279202013-02-15 Joseph Myers <joseph@codesourcery.com>
27921
27922 [BZ #13550]
27923 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27924 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
27925 (run-via-rtld-prefix): Do not handle %-bp tests.
27926 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
27927 (all-object-suffixes): Remove .ob.
27928 (bppfx): Remove variable.
27929 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
27930 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
27931 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
27932 [$(build-bounded) = yes] (libtype.ob): Likewise.
27933 * Makerules (elide-routines.ob): Remove variable.
27934 (do-tests-clean): Do not handle *-bp.out.
27935 (common-mostlyclean): Do not handle *-bp and *-bp.out.
27936 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
27937 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
27938 (tests): Do not include $(tests-bp.out).
27939 (xtests): Do not include $(xtests-bp.out).
27940 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
27941 [$(build-bounded) = yes] ($(addprefix
27942 $(objpfx),$(binaries-bounded))): Remove rule.
27943 ($(objpfx)%-bp.out): Remove rule.
27944 * config.make.in (build-bounded): Remove variable.
27945 * crypt/Makefile [$(build-bounded) = yes]
27946 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
27947 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
27948 append to variable.
27949 [$(build-bounded) = yes] (install-lib): Likewise.
27950 [$(build-bounded) = yes] (generated): Likewise.
27951 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
27952 Remove rule.
27953 * intl/Makefile [$(build-bounded) = yes]
27954 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
27955 * math/Makefile [$(build-bounded) = yes]
27956 ($(tests:%=$(objpfx)%-bp): Likewise.
27957 * misc/Makefile [$(build-bounded) = yes]
27958 ($(objpfx)tst-tsearch-bp): Likewise.
27959 * nptl/Makeconfig (bounded-thread-library): Remove variable.
27960 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
27961 Remove dependency.
27962 * string/Makefile (o-objects.ob): Remove variable.
27963 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
27964 (CFLAGS-.ob): Remove variable.
27965 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
27966 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
27967 both definitions of variable.
27968 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
27969 (ASFLAGS-.ob): Remove variable.
27970
e97ed6dd
JM
279712013-02-14 Joseph Myers <joseph@codesourcery.com>
27972
2bdd4ca6
JM
27973 [BZ #13550]
27974 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
27975 Remove __BOUNDED_POINTERS__ from condition.
27976 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
27977 * string/bits/string2.h [!__NO_STRING_INLINES &&
27978 !__BOUNDED_POINTERS__]: Likewise.
27979 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
27980 Likewise.
27981 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27982 Remove conditional code.
27983 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27984 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27985 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27986 condition.
27987
e97ed6dd
JM
27988 [BZ #13550]
27989 * csu/libc-start.c: Do not include <bp-sym.h>.
27990 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27991 * elf/dl-open.c: Do not include <bp-sym.h>.
27992 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27993 * math/fegetenv.c: Do not include <bp-sym.h>.
27994 (fegetenv): Do not use BP_SYM in versioned symbols.
27995 * nptl/sysdeps/pthread/bits/libc-lockP.h
27996 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27997 <bp-sym.h>.
27998 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27999 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
28000 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28001 (__pthread_mutex_destroy): Likewise.
28002 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28003 (__pthread_mutex_lock): Likewise.
28004 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28005 (__pthread_mutex_trylock): Likewise.
28006 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28007 (__pthread_mutex_unlock): Likewise.
28008 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28009 (__pthread_mutexattr_init): Likewise.
28010 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28011 (__pthread_mutexattr_destroy): Likewise.
28012 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28013 (__pthread_mutexattr_settype): Likewise.
28014 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28015 (__pthread_rwlock_init): Likewise.
28016 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28017 (__pthread_rwlock_destroy): Likewise.
28018 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28019 (__pthread_rwlock_rdlock): Likewise.
28020 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28021 (__pthread_rwlock_tryrdlock): Likewise.
28022 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28023 (__pthread_rwlock_wrlock): Likewise.
28024 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28025 (__pthread_rwlock_trywrlock): Likewise.
28026 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28027 (__pthread_rwlock_unlock): Likewise.
28028 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28029 (__pthread_key_create): Likewise.
28030 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28031 (__pthread_setspecific): Likewise.
28032 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28033 (__pthread_getspecific): Likewise.
28034 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
28035 Likewise.
28036 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28037 (_pthread_cleanup_push_defer): Likewise.
28038 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28039 (_pthread_cleanup_pop_restore): Likewise.
28040 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28041 (pthread_setcancelstate): Likewise.
28042 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
28043 <bp-sym.h>.
28044 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
28045 (memchr): Do not use BP_SYM in weak_alias.
28046 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28047 (fegetenv): Do not use BP_SYM in versioned symbols.
28048 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28049 (fesetenv): Do not use BP_SYM in versioned symbols.
28050 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28051 (feupdateenv): Do not use BP_SYM in versioned symbols.
28052 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28053 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28054 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
28055 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
28056 (open64): Do not use BP_SYM in weak_alias.
28057 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
28058 (fegetenv): Do not use BP_SYM in versioned symbols.
28059 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
28060 (fesetenv): Do not use BP_SYM in versioned symbols.
28061 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28062 (feupdateenv): Do not use BP_SYM in versioned symbols.
28063 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
28064 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
28065 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
28066 (feraiseexcept): Do not use BP_SYM in versioned symbols.
28067 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28068 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28069 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
28070 <bp-sym.h>.
28071 (__libc_start_main): Do not use BP_SYM.
28072
d6752ccd
SP
280732013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28074
cb57ce60
SP
28075 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
28076 redundant return line.
28077 (norm): Likewise.
28078 (denorm): Likewise.
28079 (dbl_mp): Likewise.
28080 (sub_magnitudes): Likewise.
28081 (__add): Likewise.
28082 (__sub): Likewise.
28083 (__mul): Likewise.
28084 (__inv): Likewise.
28085 (__dvd): Likewise.
28086 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28087 (norm): Likewise.
28088 (denorm): Likewise.
28089 (dbl_mp): Likewise.
28090 (sub_magnitudes): Likewise.
28091 (__add): Likewise.
28092 (__sub): Likewise.
28093 (__mul): Likewise.
28094 (__inv): Likewise.
28095 (__dvd): Likewise.
28096
f414520d
SP
28097 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28098 instead of __mul.
28099 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28100 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28101 (cc32): Likewise.
28102
d6752ccd
SP
28103 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28104 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28105 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28106 of __mul for squares.
28107 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28108 function
28109 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28110 Likewise.
28111 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28112 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28113
70d9946a
JM
281142013-02-13 Joseph Myers <joseph@codesourcery.com>
28115
28116 [BZ #13550]
28117 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28118 code.
28119 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28120 prototype or function definition. Rename ubp_* variables and
28121 parameters. Remove argv definitions conditional on
28122 [__BOUNDED_POINTERS__].
28123 * debug/backtrace.c (__backtrace): Do not use __unbounded.
28124 * elf/dl-runtime.c (_dl_fixup): Likewise.
28125 * include/set-hooks.h (RUN_HOOK): Likewise.
28126 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28127 definition.
28128 * string/strcpy.c (strcpy): Do not use __unbounded.
28129 * sysdeps/generic/frame.h (struct layout): Likewise.
28130 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28131 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28132 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28133 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28134 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28135 (__backtrace): Likewise.
28136 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28137 use __ptrvalue.
28138 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28139 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28140 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28141 Likewise.
28142 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28143 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28144 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28145 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28146 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28147 Do not use __unbounded.
28148 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28149 Rename __unboundedrlimits parameter to rlimits in prototype.
28150 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28151 Do not use __unbounded.
28152 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
28153 not use __ptrvalue.
28154 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28155 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28156 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28157 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
28158 __ptrvalue or __unbounded.
28159 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
28160 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
28161 use __unbounded.
28162 (__new_msgctl): Do not use __ptrvalue.
28163 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
28164 __unbounded.
28165 (__libc_msgrcv): Do not use __ptrvalue.
28166 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
28167 startup_info): Do not use __unbounded.
28168 (__libc_start_main): Likewise. Rename ubp_* variables and
28169 parameters. Remove argv definitions conditional on
28170 [__BOUNDED_POINTERS__].
28171 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
28172 __ptrvalue.
28173 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
28174 use __unbounded.
28175 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
28176 or __ptrvalue.
28177 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
28178 use __unbounded.
28179 (__new_shmctl): Do not use __ptrvalue.
28180 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28181 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28182 Likewise.
28183 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28184 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
28185 (__libc_sigaction): Likewise.
28186 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
28187 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
28188 Likewise.
28189 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28190
cc7834d6
OB
281912013-02-13 Ondřej Bílka <neleai@seznam.cz>
28192
ffb1ec7b 28193 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
28194
28195 * string/mempcpy.c: Implement by calling memcpy.
28196
bdf02814
SP
281972013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28198
c2af38aa
SP
28199 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
28200
4e92d59e
SP
28201 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
28202 evaluation.
28203
909279a5
SP
28204 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
28205 values in the mantissa.
28206
bdf02814
SP
28207 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
28208 minimize writes to Z.
28209 (sub_magnitudes): Simplify code a bit.
28210
cd525923
RM
282112013-02-12 Roland McGrath <roland@hack.frob.com>
28212
28213 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
28214 from the message. The linker prefixes all warnings with that already.
28215
7e2f0d2d
AS
282162013-02-12 Andreas Schwab <schwab@suse.de>
28217
a445af0b
AS
28218 [BZ #15078]
28219 * posix/regexec.c (extend_buffers): Add parameter min_len.
28220 (check_matching): Pass minimum needed length.
28221 (clean_state_log_if_needed): Likewise.
28222 (get_subexp): Likewise.
28223 * posix/Makefile (tests): Add bug-regex34.
28224 (bug-regex34-ENV): Define.
28225 * posix/bug-regex34.c: New file.
28226
7e2f0d2d
AS
28227 [BZ #11561]
28228 * posix/regcomp.c (parse_bracket_exp): When looking up collating
28229 elements compare against the byte sequence of it, not its name.
28230 * posix/Makefile (tests): Add bug-regex35.
28231 (bug-regex35-ENV): Define.
28232 * posix/bug-regex35.c: New file.
28233
a175b684
TV
282342013-02-11 Tom de Vries <tom@codesourcery.com>
28235
28236 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
28237 comment.
28238 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
28239 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
28240 (CHECK_EOL): Add undef.
28241
310998fe 282422013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
28243
28244 * bits/stdlib-bsearch.h: New file.
28245 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 28246 * stdlib/stdlib.h: Likewise.
41eda41d 28247
8ded91fb
RM
282482013-02-11 Roland McGrath <roland@hack.frob.com>
28249
28250 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
28251 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
28252 declaration.
28253 * manual/search.texi (Array Search Function): Add missing const in
28254 lfind prototype.
28255 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
28256 declaration to use rlim_t.
28257 (Basic Scheduling Functions): Remove erroneous const from
28258 sched_getparam prototype. Remove erroneous * from
28259 sched_get_priority_max and sched_get_priority_min prototypes.
28260 (Resource Usage): Fix summary @comment on vtimes to refer to
28261 sys/vtimes.h rather than vtimes.h.
28262 Add missing *s in vtimes prototype.
28263 (Limits on Resources): Fix ulimit prototype to return long int.
28264 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
28265 prototypes to use long int rather than double.
28266 (BSD Random): Fix initstate and setstate to use char *, not void *.
28267 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
28268 prototype to make second argument 'struct aiocb64 *const[]'.
28269 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
28270 (Status of AIO Operations): Remove erroneous const in aio_return and
28271 aio_return64 prototypes.
28272 (Synchronizing I/O): Fix sync prototype to return void.
28273 * manual/startup.texi (Suboptions): Remove an erroneous const in
28274 getsubopt prototype.
28275 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
28276 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
28277 use size_t rather than int.
28278 (Scanning All Users): Likewise for getpwent_r.
28279 (Setting Groups): Add missing const to setgroups prototype.
28280 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
28281 * manual/socket.texi (Host Names): Fix gethostbyaddr and
28282 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
28283 'const void *' rather than 'const char *'.
28284 (Host Address Functions): Likewise for inet_ntop.
28285 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
28286 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
28287 ssize_t for return value.
28288 (Sending Data): Likewise for send, sendto, sendmsg.
28289 (Socket Option Functions): Add a missing const in setsockopt prototype.
28290 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
28291 use wchar_t for the argument.
28292 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
28293 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
28294 take no arguments.
28295 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
28296 double/float/long double for second argument.
28297 Fix return types of significand, significandf, significandl.
28298 * manual/filesys.texi (Setting Permissions): Use mode_t for second
28299 argument in fchmod prototype.
28300 (File Owner): Use uid_t and gid_t in fchown prototype.
28301 (File Times): Add const to utimes, futimes, and lutimes prototypes.
28302 (Making Special Files): Use mode_t and dev_t in mknod prototype.
28303 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
28304 use 'const struct dirent **' as argument types to CMP function pointer
28305 argument.
28306 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
28307 (File Times): Fix summary magic @comment for struct utimbuf and utime
28308 to refer to utime.h, not time.h.
28309 * manual/string.texi (Argz Functions): Add missing const in
28310 argz_extract and argz_next prototypes.
28311 (Finding Tokens in a String): Likewise for basename.
28312 (String/Array Comparison): Fix typo in wcscasecmp prototype.
28313 (Copying and Concatenation): Fix typo in wmemmove prototype.
28314 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
28315 (Signal Stack): Remove erroneous const in sigstack prototype.
28316 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
28317 prototype.
28318 (Simple Calendar Time): Likewise for stime.
28319 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
28320 prototype.
28321 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
28322 say sys/sysctl.h instead.
28323 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
28324 and vsyslog prototypes.
28325
fe77fe6d
TV
283262013-02-11 Tom de Vries <tom@codesourcery.com>
28327
28328 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
28329 Remove.
28330
3a09b620
RM
283312013-02-11 Roland McGrath <roland@hack.frob.com>
28332
28333 * misc/sys/mman.h: Fix typo in mremap comment.
28334
550a0b89
RM
283352013-02-08 Roland McGrath <roland@hack.frob.com>
28336
28337 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
28338 the '\0' terminator.
28339
a2da1673
JM
283402013-02-08 Joseph Myers <joseph@codesourcery.com>
28341
28342 [BZ #13550]
28343 * debug/segfault.c: Don't include <bp-checks.h>.
28344 * sysdeps/generic/bp-checks.h: Remove file.
28345 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
28346 (__GETDENTS): Don't use CHECK_N.
28347 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
28348 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28349 (__getgroups): Don't use CHECK_N.
28350 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
28351 (setgroups): Don't use CHECK_N.
28352 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
28353 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
28354 (__libc_msgrcv): Don't use CHECK_N.
28355 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
28356 (__libc_msgsnd): Don't use CHECK_N.
28357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
28358 <bp-checks.h>.
28359 (__libc_pread): Don't use CHECK_N.
28360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
28361 include <bp-checks.h>.
28362 (__libc_pread64): Don't use CHECK_N.
28363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
28364 include <bp-checks.h>.
28365 (__libc_pwrite): Don't use CHECK_N.
28366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
28367 include <bp-checks.h>.
28368 (__libc_pwrite64): Don't use CHECK_N.
28369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
28370 <bp-checks.h>.
28371 (__libc_pread): Don't use CHECK_N.
28372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
28373 include <bp-checks.h>.
28374 (__libc_pread64): Don't use CHECK_N.
28375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
28376 include <bp-checks.h>.
28377 (__libc_pwrite): Don't use CHECK_N.
28378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
28379 include <bp-checks.h>.
28380 (__libc_pwrite64): Don't use CHECK_N.
28381 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
28382 (do_pread): Don't use CHECK_N.
28383 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
28384 (do_pread64): Don't use CHECK_N.
28385 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
28386 (do_pwrite): Don't use CHECK_N.
28387 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
28388 (do_pwrite64): Don't use CHECK_N.
28389 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
28390 (__libc_readv): Don't use CHECK_N.
28391 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
28392 (semop): Don't use CHECK_N.
28393 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
28394 <bp-checks.h>.
28395 (semtimedop): Don't use CHECK_N.
28396 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
28397 (__libc_pread): Don't use CHECK_N.
28398 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
28399 <bp-checks.h>.
28400 (__libc_pread64): Don't use CHECK_N.
28401 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
28402 <bp-checks.h>.
28403 (__libc_pwrite): Don't use CHECK_N.
28404 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
28405 <bp-checks.h>.
28406 (__libc_pwrite64): Don't use CHECK_N.
28407 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
28408 <bp-checks.h>.
28409 (__libc_msgrcv): Don't use CHECK_N.
28410 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
28411 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
28412 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
28413 (__libc_writev): Don't use CHECK_N.
28414
b84660a8
RM
284152013-02-08 Roland McGrath <roland@hack.frob.com>
28416
7f3e75f8
RM
28417 * string/strcpy.c: Removed unused variable.
28418
b84660a8
RM
28419 * Makeconfig (+sysdep-includes): Define with := rather than =.
28420 Use an existing include/ subdir of each sysdeps dir before it.
28421
471514d3
CD
284222013-02-08 Carlos O'Donell <carlos@redhat.com>
28423
28424 * nscd/connection.c (register_traced_file): Comment function.
28425 [HAVE_INOTIFY] (union __inev): Define.
28426 [HAVE_INOTIFY] (inotify_check_files): New function.
28427 [HAVE_INOTIFY] (clear_db_cache): Likewise.
28428 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
28429 clear_db_cache.
28430 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
28431
b2d3c3be
CD
284322013-02-08 Carlos O'Donell <carlos@redhat.com>
28433
28434 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
28435 loaded if not already and that a failure is permanent.
28436
b39949d2
CD
284372013-02-08 Carlos O'Donell <carlos@redhat.com>
28438
ddacd1db 28439 [BZ #15006]
b39949d2
CD
28440 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
28441 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
28442
b2c9eff4
JM
284432013-02-08 Joseph Myers <joseph@codesourcery.com>
28444
f3aae3f3
JM
28445 [BZ #13550]
28446 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
28447 (CHECK_1_NULL_OK): Likewise.
28448 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
28449 (__fxstat): Do not use CHECK_1.
28450 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
28451 <bp-checks.h>.
28452 (___fxstat64): Do not use CHECK_1.
28453 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28454 <bp-checks.h>.
28455 (__fxstatat): Do not use CHECK_1.
28456 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28457 <bp-checks.h>.
28458 (__fxstatat64): Do not use CHECK_1.
28459 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
28460 <bp-checks.h>.
28461 (__fxstat): Do not use CHECK_1.
28462 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28463 <bp-checks.h>.
28464 (__fxstatat): Do not use CHECK_1.
28465 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28466 <bp-checks.h>.
28467 (__getresgid): Do not use CHECK_1.
28468 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28469 <bp-checks.h>.
28470 (__getresuid): Do not use CHECK_1.
28471 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
28472 <bp-checks.h>.
28473 (__lxstat): Do not use CHECK_1.
28474 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28475 <bp-checks.h>.
28476 (__old_msgctl): Do not use CHECK_1.
28477 (__new_msgctl): Likewise.
28478 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
28479 <bp-checks.h>.
28480 (__new_setrlimit): Do not use CHECK_1.
28481 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28482 <bp-checks.h>.
28483 (__old_shmctl): Do not use CHECK_1.
28484 (__new_shmctl): Likewise.
28485 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
28486 <bp-checks.h>.
28487 (__xstat): Do not use CHECK_1.
28488 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
28489 (__lxstat): Do not use CHECK_1.
28490 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
28491 <bp-checks.h>.
28492 (___lxstat64): Do not use CHECK_1.
28493 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
28494 (__old_msgctl): Do not use CHECK_1.
28495 (__new_msgctl): Likewise.
28496 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
28497 <bp-checks.h>.
28498 (__gettimeofday): Do not use CHECK_1.
28499 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
28500 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
28501 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
28502 <bp-checks.h>.
28503 (__gettimeofday): Do not use CHECK_1.
28504 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
28505 (__old_shmctl): Do not use CHECK_1_NULL_OK.
28506 (__new_shmctl): Do not use CHECK_1.
28507 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
28508 <bp-checks.h>.
28509 (do_sigtimedwait): Do not use CHECK_1.
28510 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
28511 <bp-checks.h>.
28512 (do_sigwaitinfo): Do not use CHECK_1.
28513 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
28514 <bp-checks.h>.
28515 (msgctl): Do not use CHECK_1.
28516 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
28517 <bp-checks.h>.
28518 (shmctl): Do not use CHECK_1.
28519 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
28520 (ustat): Do not use CHECK_1.
28521 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
28522 <bp-checks.h>.
28523 (__fxstat): Do not use CHECK_1.
28524 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
28525 <bp-checks.h>.
28526 (__fxstatat): Do not use CHECK_1.
28527 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
28528 <bp-checks.h>.
28529 (__lxstat): Do not use CHECK_1.
28530 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
28531 <bp-checks.h>.
28532 (__xstat): Do not use CHECK_1.
28533 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
28534 (__xstat): Do not use CHECK_1.
28535 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
28536 (___xstat64): Do not use CHECK_1.
28537
b2c9eff4
JM
28538 [BZ #13550]
28539 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
28540 definitions.
28541 (CHECK_BOUNDS_HIGH): Likewise.
28542 * string/strcpy.c: Do not include <bp-checks.h>.
28543 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
28544
f1d70dad
RM
285452013-02-07 Roland McGrath <roland@hack.frob.com>
28546
28547 * nscd/nscd-client.h (__nscd_drop_map_ref):
28548 Add __attribute__ ((unused)).
28549 * nis/nss-nisplus.h (niserr2nss): Likewise.
28550
28551 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
28552 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
28553
28554 * csu/libc-tls.c (init_static_tls, init_slotinfo):
28555 Remove inline keyword.
28556 * include/rounding-mode.h (round_away): Likewise.
28557 * libio/wfileops.c (adjust_wide_data): Likewise.
28558 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
28559 (__m128i_strloadu_tolower): Likewise.
28560 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
28561 (__m128i_strloadu_tolower): Likewise.
28562 * time/mktime.c (ydhms_diff): Likewise.
28563 * locale/elem-hash.h (elem_hash): Likewise.
28564 * locale/setlocale.c (setdata): Likewise.
28565 * posix/regex_internal.h (re_string_char_size_at): Likewise.
28566 (re_string_wchar_at): Likewise.
28567 (bitset_not, bitset_merge, bitset_mask): Likewise.
28568 [!(__GNUC__ > 3)] (inline): Remove macro.
28569 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
28570 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
28571 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28572 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28573 * string/memcmp.c (memcmp_bytes): Likewise.
28574 * locale/programs/locarchive.c (compute_hashval): Likewise.
28575 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
28576 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
28577 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
28578 * nss/getent.c (print_rpc, print_protocols): Likewise.
28579 (print_passwd, print_group, print_aliases): Likewise.
28580 * nis/nss-nisplus.h (niserr2nss): Likewise.
28581 * nscd/connections.c (restart_p): Likewise.
28582 Change return type to bool.
28583
eab55bfb
RM
285842013-02-05 Roland McGrath <roland@hack.frob.com>
28585
7bd642f5
RM
28586 * Makeconfig (all-Depend-files): Add existing
28587 $(sorted-subdirs:=/Depend) files.
28588 (all-subdirs): Remove nss.
28589 * sysdeps/unix/inet/Subdirs: Add it here instead.
28590 * hesiod/Depend: New file.
28591
573c29b2
RM
28592 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
28593 instead of calling alloca.
28594
b2e25af0
RM
28595 * io/lseek.c (__lseek): Rename to __libc_lseek.
28596 Define __lseek as an alias.
28597
eab55bfb
RM
28598 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
28599
9a0d1941
CD
286002013-02-04 Carlos O'Donell <carlos@redhat.com>
28601
28602 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
28603 else clause and remove check for non-standard endianness.
28604
b83bbec4
DM
286052013-02-04 David S. Miller <davem@davemloft.net>
28606
28607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28608
6277fdab
JM
286092013-02-04 Joseph Myers <joseph@codesourcery.com>
28610
28611 [BZ #13550]
28612 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
28613 (__ubp_memchr): Remove prototype.
28614 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
28615 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28616 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
28617 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28618 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
28619 Remove alias.
28620 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
28621 (__ubp_memchr): Likewise.
28622 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
28623 (__ubp_memchr): Likewise.
28624 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
28625 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
28626 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
28627 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
28628 CHECK_STRING.
28629 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
28630 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
28631 (__getcwd): Do not use CHECK_STRING.
28632 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28633 <bp-checks.h>.
28634 (__real_chown): Do not use CHECK_STRING.
28635 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
28636 <bp-checks.h>.
28637 (fchownat): Do not use CHECK_STRING.
28638 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
28639 CHECK_STRING.
28640 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28641 <bp-checks.h>.
28642 (__lchown): Do not use CHECK_STRING.
28643 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28644 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28645 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28646 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
28647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28648 include <bp-checks.h>.
28649 (truncate64): Do not use CHECK_STRING.
28650 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28651 <bp-checks.h>.
28652 (__real_chown): Do not use CHECK_STRING.
28653 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28654 <bp-checks.h>.
28655 (__lchown): Do not use CHECK_STRING.
28656 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28657 <bp-checks.h>.
28658 (__chown): Do not use CHECK_STRING.
28659 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
28660 <bp-checks.h>.
28661 (truncate64): Do not use CHECK_STRING.
28662 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
28663 Likewise.
28664 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
28665 (__xmknod): Do not use CHECK_STRING.
28666 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
28667 <bp-checks.h>.
28668 (__xmknodat): Do not use CHECK_STRING.
28669 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28670 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
28671
903ae060
AS
286722013-02-04 Andreas Schwab <schwab@suse.de>
28673
28674 [BZ #14142]
28675 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
28676 * include/netdb.h: Likewise for h_errno.
28677 * elf/tst-stackguard1.c: Include <tls.h>.
28678
542f9466
JK
286792013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
28680
28681 * elf/link.h (struct link_map): Extend the l_addr comment.
28682 * include/link.h (struct link_map): Likewise.
28683
e782a927
JM
286842013-02-01 Joseph Myers <joseph@codesourcery.com>
28685
28686 [BZ #13550]
28687 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
28688 (BOUNDED_1): Remove macro.
28689 * debug/backtrace.c: Don't include <bp-checks.h>.
28690 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
28691 (__backtrace): Likewise.
28692 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
28693 <bp-checks.h>.
28694 (__backtrace): Don't use BOUNDED_1.
28695 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
28696 <bp-checks.h>.
28697 (__backtrace): Don't use BOUNDED_1.
28698 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
28699 (__backtrace): Don't use BOUNDED_1.
28700 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
28701 (shmat): Don't use BOUNDED_N.
28702
8cf28c5e
JM
287032013-01-31 Joseph Myers <joseph@codesourcery.com>
28704
3a7ac8a0
JM
28705 [BZ #13550]
28706 * sysdeps/generic/bp-start.h: Remove file.
28707 * csu/libc-start.c: Don't include <bp-start.h>.
28708 (LIBC_START_MAIN): Set up __environ directly instead of using
28709 INIT_ARGV_and_ENVIRON.
28710 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
28711 <bp-start.h>.
28712
f3499f95
JM
28713 [BZ #13550]
28714 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
28715 definitions.
28716 (CHECK_FCNTL): Likewise.
28717 (CHECK_N_PAGES): Likewise.
28718
32a45bea
JM
28719 [BZ #13550]
28720 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
28721 definitions.
28722 (CHECK_SIGSET_NULL_OK): Likewise.
28723 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
28724 <bp-checks.h>.
28725 (sigpending): Don't use CHECK_SIGSET.
28726 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
28727 <bp-checks.h>.
28728 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28729 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
28730 <bp-checks.h>.
28731 (do_sigsuspend): Don't use CHECK_SIGSET.
28732 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
28733 use CHECK_SIGSET.
28734 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
28735 (do_sigwait): Don't use CHECK_SIGSET.
28736 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
28737 use CHECK_SIGSET.
28738 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
28739 include <bp-checks.h>.
28740 (sigpending): Don't use CHECK_SIGSET.
28741 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
28742 include <bp-checks.h>.
28743 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28744 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
28745 <bp-checks.h>.
28746 (sigpending): Don't use CHECK_SIGSET.
28747 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
28748 <bp-checks.h>.
28749 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28750
2e8a5c8c
JM
28751 [BZ #13550]
28752 * sysdeps/generic/bp-semctl.h: Remove file.
28753 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
28754 <bp-checks.h> and <bp-semctl.h>.
28755 (__old_semctl): Don't use CHECK_SEMCTL.
28756 (__new_semctl): Likewise.
28757 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
28758 and <bp-semctl.h>.
28759 (__old_semctl): Don't use CHECK_SEMCTL.
28760 (__new_semctl): Likewise.
28761 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
28762 <bp-checks.h> and <bp-semctl.h>.
28763 (__old_semctl): Don't use CHECK_SEMCTL.
28764 (__new_semctl): Likewise.
28765 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
28766 <bp-checks.h> and <bp-semctl.h>.
28767 (semctl): Don't use CHECK_SEMCTL.
28768
c2d54929
JM
28769 [BZ #13550]
28770 * Makerules (elide-bp-thunks): Remove variable.
28771 (elide-routines.oS): Don't use $(elide-bp-thunks).
28772 (elide-routines.os): Likewise.
28773 (elide-routines.o): Likewise.
28774 (elide-routines.op): Likewise.
28775 (elide-routines.og): Likewise.
28776 (objects): Don't use $(bp-thunks).
28777 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
28778 include.
28779 (common-generated): Do not add s-proto-bp.d.
28780 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
28781 (int): Likewise.
28782 (typ): Likewise.
28783 Do not generate makefile rules for bounded-pointer thunks.
28784 * sysdeps/generic/bp-thunks.h: Remove file.
28785 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
28786 * sysdeps/unix/s-proto-bp.S: Likewise.
28787
8cf28c5e
JM
28788 [BZ #15062]
28789 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
28790 parts of result separately when argument is not close to line from
28791 -i to i and one part of argument is small.
28792 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28793 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28794 * math/libm-test.inc (cacos_test): Add more tests.
28795 (casin_test): Likewise.
28796 (casinh_test): Likewise.
28797 * sysdeps/i386/fpu/libm-test-ulps: Update.
28798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28799
c4e33b8d
DM
288002013-01-31 David S. Miller <davem@davemloft.net>
28801
28802 * po/de.po: Update from translation team.
28803
3b60b421
MK
288042013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
28805
28806 * time/tzfile.c: Include stdint.h for SIZE_MAX.
28807
bb931195
TS
288082013-01-25 Thomas Schwinge <thomas@codesourcery.com>
28809
b5a5da23
TS
28810 * configure.in (_AC_PROG_CC_C89): New definition.
28811 * configure: Regenerate.
28812
bb931195
TS
28813 * configure.in (AC_PROG_CPP): New definition.
28814 * configure: Regenerate.
28815
8c53a12c
JM
288162013-01-23 Joseph Myers <joseph@codesourcery.com>
28817
28818 * debug/tst-backtrace.h: New file.
28819 * debug/tst-backtrace2.c: Include tst-backtrace.h.
28820 (ret): Remove variable.
28821 (x): Likewise.
28822 (FAIL): Remove macro.
28823 (NO_INLINE): Likewise.
28824 (fn1): Use match function instead of strstr.
28825 * debug/tst-backtrace3.c: Include tst-backtrace.h.
28826 (ret): Remove variable.
28827 (x): Likewise.
28828 (FAIL): Remove macro.
28829 (NO_INLINE): Likewise.
28830 (fn): Use match function instead of strstr.
28831 * debug/tst-backtrace4.c: Include tst-backtrace.h.
28832 (ret): Remove variable.
28833 (x): Likewise.
28834 (FAIL): Remove macro.
28835 (NO_INLINE): Likewise.
28836 (handle_signal): Use match function instead of strstr.
28837 * debug/tst-backtrace5.c: Include tst-backtrace.h.
28838 (ret): Remove variable.
28839 (x): Likewise.
28840 (FAIL): Remove macro.
28841 (NO_INLINE): Likewise.
28842 (handle_signal): Use match function instead of strstr.
28843
4858fa2a
RM
288442013-01-23 Roland McGrath <roland@hack.frob.com>
28845
28846 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
28847
bae8e7f5
DM
288482013-01-23 David S. Miller <davem@davemloft.net>
28849
28850 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
28851 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
28852 argument of CAS if possible.
28853 * sysdeps/sparc/sparc64/bits/atomic.h
28854 (__arch_compare_and_exchange_val_32_acq): Likewise.
28855 (__arch_compare_and_exchange_val_64_acq): Likewise.
28856
9cbbc4ae
PT
288572013-01-23 Pino Toscano <toscano.pino@tiscali.it>
28858
28859 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
28860 * sysdeps/posix/ulimit.c: ... this.
92a601b8 28861 Include <limits.h>.
67b3f58c 28862 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 28863
5655a0b5
AC
288642013-01-23 Adam Conrad <adconrad@0c3.net>
28865
28866 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
28867 (LDFLAGS-tst-array5): Likewise.
28868
052aff95
JM
288692013-01-23 Joseph Myers <joseph@codesourcery.com>
28870
28871 [BZ #15036]
28872 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
28873 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
28874 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
28875 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
28876
7c1e01aa
DM
288772013-01-21 David S. Miller <davem@davemloft.net>
28878
28879 * sysdeps/sparc/backtrace.c: New file.
28880 * sysdeps/sparc/sparc32/backtrace.h: New file.
28881 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
28882 * sysdeps/sparc/sparc64/backtrace.h: New file.
28883 * sysdeps/sparc/sparc64/backtrace.c: Delete.
28884 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
28885 -funwind-tables.
28886
ab087e0a
AS
288872013-01-21 Andreas Schwab <schwab@suse.de>
28888
28889 [BZ #15020]
28890 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
28891 closed its stdout.
28892
ed689c2f
AS
288932013-01-20 Andreas Schwab <schwab@linux-m68k.org>
28894
28895 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
28896 "mpa2.h".
28897 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28898
31d470ac
JM
288992013-01-18 Joseph Myers <joseph@codesourcery.com>
28900 Mark Mitchell <mark@codesourcery.com>
28901 Tom de Vries <tom@codesourcery.com>
28902 Paul Pluzhnikov <ppluzhnikov@google.com>
28903
28904 * debug/tst-backtrace2.c: New file.
28905 * debug/tst-backtrace3.c: Likewise.
28906 * debug/tst-backtrace4.c: Likewise.
28907 * debug/tst-backtrace5.c: Likewise.
28908 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
28909 (CFLAGS-tst-backtrace3.c): Likewise.
28910 (CFLAGS-tst-backtrace4.c): Likewise.
28911 (CFLAGS-tst-backtrace5.c): Likewise.
28912 (LDFLAGS-tst-backtrace2): Likewise.
28913 (LDFLAGS-tst-backtrace3): Likewise.
28914 (LDFLAGS-tst-backtrace4): Likewise.
28915 (LDFLAGS-tst-backtrace5): Likewise.
28916 (tests): Add new tests tst-backtrace2, tst-backtrace3,
28917 tst-backtrace4 and tst-backtrace5.
28918
90567f30 289192013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
28920 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28921
28922 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
28923 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
28924 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
28925 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
28926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28927 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
28928 "+r" and remove output regs list as redundant. Add explicit inline
28929 asm to specify register of return val to work around compiler codegen
28930 bug. Remove (int) cast on return value. Add return type parameter to
28931 use in macro so that this macro does not truncate return value for
28932 64-bit values.
28933 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
28934 pass to INTERNAL_VSYSCALL_NCS.
28935 (INLINE_VSYSCALL): Add 'long int' as return type to
28936 INTERNAL_VSYSCALL_NCS macro invocation.
28937 (INTERNAL_VSYSCALL): Add 'long int' as return type to
28938 INTERNAL_VSYSCALL_NCS macro invocation.
28939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28940
d3b9ea61
SP
289412013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28942
0b57daeb
SP
28943 [BZ #14496]
28944 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
28945 Fix application of SIMD FP exception mask.
28946
caa99d06
SP
28947 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
28948 mp_no from a power of two.
28949 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
28950 __mpexp_twomm1. Use __pow_mp.
28951
d3b9ea61
SP
28952 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
28953 multiplication.
28954
1dbaee3c
DM
289552013-01-17 David S. Miller <davem@davemloft.net>
28956
28957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28958
728d7b43
JM
289592013-01-17 Joseph Myers <joseph@codesourcery.com>
28960
28961 [BZ #15023]
28962 * include/complex.h: Condition contents on [!_COMPLEX_H].
28963 (__kernel_casinhf): New prototype.
28964 (__kernel_casinh): Likewise.
28965 (__kernel_casinhl): Likewise.
28966 * math/Makefile (libm_calls): Add k_casinh.
28967 * math/k_casinh.c: New file.
28968 * math/k_casinhf.c: Likewise.
28969 * math/k_casinhl.c: Likewise.
28970 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
28971 finite nonzero arguments.
28972 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
28973 finite nonzero arguments.
28974 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
28975 finite nonzero arguments.
28976 * math/s_casinh.c: Do not include <float.h>.
28977 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
28978 * math/s_casinhf.c: Do not include <float.h>.
28979 (__casinhf): Move code for finite nonzero arguments to
28980 k_casinhf.c.
28981 * math/s_casinhl.c: Do not include <float.h>.
28982 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28983 redefine.
28984 (__casinhl): Move code for finite nonzero arguments to
28985 k_casinhl.c.
28986 * math/libm-test.inc (cacos_test): Add more tests.
28987 * sysdeps/i386/fpu/libm-test-ulps: Update.
28988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28989
2a26ef3a
PT
289902013-01-17 Pino Toscano <toscano.pino@tiscali.it>
28991
28992 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28993 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28994 [!HAVE_MREMAP]: Remove [defined linux] case.
28995 * malloc/arena.c: Do not include <malloc-sysdep.h>.
28996
a897655d
SP
289972013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28998
28999 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
29000
881ebe89 290012013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
29002
29003 * elf/elf.h (R_386_SIZE32): New relocation.
29004 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
29005 R_386_SIZE32.
29006 (elf_machine_rela): Likewise.
29007 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29008 R_X86_64_SIZE64 and R_X86_64_SIZE32.
29009
59981e9b
JM
290102013-01-17 Joseph Myers <joseph@codesourcery.com>
29011
29012 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
29013 (FP_FAST_FMA): Do not define.
29014 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
29015 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
29016 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
29017 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
29018 !_SOFT_FLOAT]: Likewise.
29019 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
29020 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
29021 value.
29022 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
29023 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
29024 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29025 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
29026 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
29027 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
29028 file.
29029
cfa8054f
AS
290302013-01-16 Andreas Schwab <schwab@suse.de>
29031
29032 [BZ #14327]
29033 * include/stdlib.h (__mktemp): Add declaration.
29034 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
29035 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
29036
dd930cc5
SP
290372013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29038
881ebe89
SP
29039 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
29040 definitions.
29041 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29042 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
29043 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
29044 definitions here.
29045 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29046 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29047 definitions.
29048 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
29049 and ONE.
29050 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
29051 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
29052 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
29053 definitions.
29054 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
29055 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
29056 definitions.
29057 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 29058
dd930cc5
SP
29059 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
29060
c19a9f89
DM
290612013-01-15 David S. Miller <davem@davemloft.net>
29062
1aa61767
DM
29063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29064 trunc{,f} to libm-sysdep_routes.
29065 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
29067 file.
29068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
29069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
29070 file.
29071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
29072 file.
29073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
29074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
29075 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
29076 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
29077 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
29078 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
29079 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
29080 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
29081
c42d5e98
DM
29082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29083 nearbyint{,f} to libm-sysdep_routes.
29084 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
29086 New file.
29087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29088 file.
29089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29090 New file.
29091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29092 file.
29093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29095 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29096 file.
29097 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29098 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29099 file.
29100 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29101 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29102 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29103
c19a9f89
DM
29104 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29105 libc_feholdexcept and libc_fesetenv.
29106
357679d2
MF
291072013-01-15 Mike Frysinger <vapier@gentoo.org>
29108
29109 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29110
65a82e3d
DM
291112013-01-14 David S. Miller <davem@davemloft.net>
29112
8b954ab9
DM
29113 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29114 (SPARC_ASM_VIS2_IFUNC): Likewise.
29115 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29117 use of 'siam' instruction.
29118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29119 Likewise.
29120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29121 Likewise.
29122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29123 Likewise.
29124 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29125 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29126 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29127 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29129 file.
29130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29131 file.
29132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29133 file.
29134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29135 file.
29136 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29137 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29138 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29139 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29141 new VIS2 routines.
29142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29145 Likewise.
29146 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29147 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29148 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29149 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29151 routines to libm-sysdep_routines.
29152 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29153
65a82e3d
DM
29154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29155 fdim/fdimf to libm-sysdep_routines.
29156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
29157 file.
29158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
29159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
29160 file.
29161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
29162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
29163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
29164 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
29165 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
29166 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
29167 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
29168
e34ab705
SP
291692013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29170
2a91b573
SP
29171 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
29172 to optimize copies.
29173
1066a534
SP
29174 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
29175 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29176 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29177
e34ab705
SP
29178 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
29179 local variable MPTWO.
29180 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29181 Likewise.
29182
aba5e596
MF
291832013-01-13 Mike Frysinger <vapier@gentoo.org>
29184
29185 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
29186 GLOB_NOESCAPE.
29187
e557e9e5
MF
291882013-01-13 Mike Frysinger <vapier@gentoo.org>
29189
29190 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
29191
0428cec9
MF
291922013-01-13 Mike Frysinger <vapier@gentoo.org>
29193
29194 * manual/pattern.texi (glob_t): Document gl_flags.
29195 (glob64_t): Likewise.
29196
8794a964
DM
291972013-01-11 David S. Miller <davem@davemloft.net>
29198
66438c3f
RM
29199 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
29200 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
29201 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
29202 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
29203 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
29204 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
29205 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
29206 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
29207 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
29208 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
29209 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
29210 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29211 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
29212
4ae4244d
DM
29213 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29214 sparc V9 rather than using V8 code.
29215 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29216 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29217
8794a964
DM
29218 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29219 Move to...
29220 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
29221 Here.
29222
6270516e
RM
292232013-01-11 Roland McGrath <roland@hack.frob.com>
29224
29225 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
29226 not in the main loop.
29227 * configure: Regenerated.
29228
6a57d931
JM
292292013-01-11 Joseph Myers <joseph@codesourcery.com>
29230
29231 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
29232 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
29233 to just #else.
29234 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
29235 [!__GLIBC_HAVE_LONG_LONG] case.
29236 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
29237 condition to just #else.
29238 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29239 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
29240 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
29241 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
29242 unconditional.
29243 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
29244 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29245 #elif condition to just #else.
29246 * sysdeps/unix/sysv/linux/sys/sysmacros.h
29247 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
29248 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29249 #elif condition to just #else.
29250
0e8529e9
SE
292512013-01-11 Steve Ellcey <sellcey@mips.com>
29252
29253 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
29254 (EF_MIPS_ARCH_64): Fix value.
29255 (EF_MIPS_ARCH_32R2): New.
29256 (EF_MIPS_ARCH_64R2): New.
29257
740b3dbe
L
292582013-01-11 H.J. Lu <hongjiu.lu@intel.com>
29259
29260 * Makeconfig (+link-pie-before-libc): New.
29261 (+link-pie-after-libc): Likewise.
29262 (+link-pie-tests): Likewise.
29263 (+link-pie): Rewritten.
29264 (link-before-libc): Remove $(config-LDFLAGS).
29265 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
29266 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
29267 (config-LDFLAGS): Renamed to ...
29268 (rtld-LDFLAGS): This.
29269 (rtld-tests-LDFLAGS): New macro.
29270 (link-libc-rpath-link): Likewise.
29271 (link-libc-tests-rpath-link): Likewise.
29272 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
29273 (link-libc): Prepand $(link-libc-rpath-link).
29274 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
29275 (test-program-prefix): New macro.
29276 (test-via-rtld-prefix): Likewise.
29277 (test-program-cmd): Likewise.
29278 (host-test-program-cmd): Likewise.
29279 * Makefile ($(common-objpfx)testrun.sh): Replace
29280 $(run-program-prefix) with $(test-program-prefix).
29281 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
29282 $(rtld-LDFLAGS).
29283 ($(common-objpfx)shlib.lds): Likewise.
29284 (build-module-helper): Likewise.
29285 ($(common-objpfx)format.lds): Likewise.
29286 * Rules (binaries-pie-tests): New.
29287 (binaries-pie-notests): Likewise.
29288 (binaries-pie): Rewritten.
29289 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
29290 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
29291 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
29292 (make-test-out): Replace $(host-built-program-cmd) with
29293 $(host-test-program-cmd).
29294 * config.make.in (build-hardcoded-path-in-tests): New variable.
29295 * configure.in (--enable-hardcoded-path-in-tests): New configure
29296 option.
29297 (hardcoded_path_in_tests): New AC_SUBST.
29298 * configure: Regenerated.
29299 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
29300 $(built-program-cmd) with $(test-program-cmd).
29301 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
29302 (test_program_cmd): This.
29303 * elf/Makefile ($(objpfx)order.out): Run test with
29304 $(test-program-prefix).
29305 ($(objpfx)order2.out): Likewise.
29306 ($(objpfx)tst-initorder.out): Likewise.
29307 ($(objpfx)tst-initorder2.out): Likewise.
29308 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
29309 $(test-program-cmd).
29310 ($(objpfx)tst-array1-static.out): Likewise.
29311 ($(objpfx)tst-array2.out): Likewise.
29312 ($(objpfx)tst-array3.out): Likewise.
29313 ($(objpfx)tst-array4.out): Likewise.
29314 ($(objpfx)tst-array5.out): Likewise.
29315 ($(objpfx)tst-array5-static.out): Likewise.
29316 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
29317 $(test-program-cmd).
29318 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
29319 $(run-program-prefix) with $(test-program-prefix).
29320 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
29321 (test_program_prefix): This.
29322 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
29323 $(run-program-prefix) with $(test-program-prefix).
29324 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
29325 (test_program_prefix): This.
29326 * iconvdata/tst-tables.sh: Likewise.
29327 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
29328 $(run-program-prefix) with $(test-program-prefix).
29329 ($(objpfx)tst-translit.out): Likewise.
29330 ($(objpfx)tst-gettext2.out): Likewise.
29331 ($(objpfx)tst-gettext4.out): Likewise.
29332 ($(objpfx)tst-gettext6.out): Likewise.
29333 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
29334 (test_program_prefix): This.
29335 * intl/tst-gettext2.sh: Likewise.
29336 * intl/tst-gettext4.sh Likewise.
29337 * intl/tst-gettext6.sh: Likewise.
29338 * intl/tst-translit.sh: Likewise.
29339 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
29340 with $(test-program-cmd).
29341 * libio/Makefile ($(objpfx)test-freopen.out): Replace
29342 $(run-program-prefix) with $(test-program-prefix).
29343 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
29344 (test_program_prefix): This.
29345 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
29346 $(run-program-prefix) with $(test-program-prefix).
29347 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
29348 (test_program_prefix): This.
29349 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
29350 * posix/Makefile ($(objpfx)globtest.out): Replace
29351 $(run-via-rtld-prefix) and $(test-wrapper) with
29352 $(test-program-prefix) and $(test-via-rtld-prefix).
29353 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
29354 $(test-program-prefix).
29355 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
29356 $(host-test-program-cmd).
29357 (tst-spawn-ARGS): Likewise.
29358 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
29359 $(test-program-prefix).
29360 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
29361 (test_via_rtld_prefix): This.
29362 (test_wrapper): Renamed to ...
29363 (test_program_prefix): This.
29364 (run_program_prefix): Replaced by test_program_prefix.
29365 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
29366 (test_program_prefix): This.
29367 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
29368 with $(host-test-program-cmd).
29369 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
29370 $(run-program-prefix) with $(test-program-prefix).
29371 ($(objpfx)tst-printf.out): Likewise.
29372 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
29373 $(test-program-cmd).
29374 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
29375 (test_program_prefix): This.
29376 * stdio-common/tst-unbputc.sh: Likewise.
29377 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
29378 $(run-program-prefix) with $(test-program-prefix).
29379 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
29380 (test_program_prefix): This.
29381 * string/Makefile ($(objpfx)tst-svc.out): Replace
29382 $(built-program-cmd) with $(test-program-cmd).
29383
c6fe55cf
AJ
293842013-01-11 Andreas Jaeger <aj@suse.de>
29385
29386 [BZ #15003]
29387 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
29388 value. Sync with Linux 3.7.
29389
9e6919c8
DM
293902013-01-10 David S. Miller <davem@davemloft.net>
29391
29392 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
29393 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29394 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29395
1c9f1a02
RM
293962013-01-10 Roland McGrath <roland@hack.frob.com>
29397
29398 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
29399 never set.
29400 * configure: Regenerated.
29401
b9de2dde
DM
294022013-01-10 David S. Miller <davem@davemloft.net>
29403
29404 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29405 sparc V9 rather than using V8 code.
29406 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29407 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29408
e7f68ef4
RM
294092013-01-10 Roland McGrath <roland@hack.frob.com>
29410
29411 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
29412 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
29413 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
29414 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
29415 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
29416 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
29417 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
29418 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
29419 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
29420 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
29421 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
29422 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
29423 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
29424 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
29425 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
29426 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
29427 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
29428 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
29429 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
29430 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
29431 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
29432 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
29433 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
29434 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
29435 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
29436 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
29437 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
29438
5a47cc9c
DM
294392013-01-10 David S. Miller <davem@davemloft.net>
29440
29441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29442
4cf8f209
L
294432013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29444
29445 * posix/Makefile (tests-static): New variable.
29446 (tests): Add $(tests-static).
29447 (tst-exec-static-ARGS): New variable.
29448 (tst-spawn-static-ARGS): Likewise.
29449 * posix/tst-exec-static.c: New file.
29450 * posix/tst-spawn-static.c: Likewise.
29451 * posix/tst-exec.c: Support run directly.
29452 * posix/tst-spawn.c: Likewise.
29453
fed0faa1
JM
294542013-01-10 Joseph Myers <joseph@codesourcery.com>
29455
828beb13
JM
29456 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
29457 long.
29458 * math/bits/mathcalls.h (llrint): Likewise.
29459 (llround): Likewise.
29460 * stdlib/stdlib.h (struct drand48_data): Likewise.
29461 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
29462 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
29463 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
29464 Likewise.
29465 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
29466 Likewise.
29467 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
29468 (elf_greg_t): Likewise.
29469 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
29470 (__jmp_buf): Likewise.
29471 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
29472 definitions.
29473 (llrint): Likewise, for all definitions.
29474 (llrintl): Likewise.
29475
fed0faa1
JM
29476 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
29477 Remove [__GNUC__] condition.
29478 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
29479 condition to just [__USE_ISOC99].
29480 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
29481
1a20cb20
L
294822013-01-10 H.J. Lu <hongjiu.lu@intel.com>
29483
29484 [BZ #14200]
29485 * sysdeps/unix/sysv/linux/x86/bits/environments.h
29486 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
29487 defined.
29488 (_POSIX_V6_ILP32_OFF32): Likewise.
29489 (_XBS5_ILP32_OFF32): Likewise.
29490 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
29491 (__ILP32_OFFBIG_LDFLAGS): Likewise.
29492
751b85f7
SP
294932013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29494
7490eb81
SP
29495 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
29496
751b85f7
SP
29497 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
29498 doubles __mpexp_twomm1. Adjust usage.
29499 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
29500 Remove.
29501
988197f0
AS
295022013-01-10 Andreas Schwab <schwab@suse.de>
29503
29504 [BZ #14964]
29505 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
29506 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
29507
e83d7298
DM
295082013-01-09 David S. Miller <davem@davemloft.net>
29509
034ed64b 29510 [BZ #15003]
57f41c40
AS
29511 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
29512 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
29513 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
29514 (TCP_FASTOPEN): Define.
e83d7298
DM
29515 (tcp_repair_opt): New structure.
29516 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
29517 enum values.
57f41c40
AS
29518 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
29519 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
29520 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
29521 (tcp_cookie_transactions): New structure.
29522
d5e0b9bd
AB
295232013-01-09 Anton Blanchard <anton@samba.org>
29524
29525 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
29526 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
29527 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
29528 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
29529
0c07e3ea
JM
295302013-01-09 Joseph Myers <joseph@codesourcery.com>
29531
29532 * include/features.h (__USE_ANSI): Remove.
29533
232f7002
RM
295342013-01-09 Roland McGrath <roland@hack.frob.com>
29535
ad98e30c
RM
29536 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
29537
232f7002
RM
29538 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
29539
950c99ca
SP
295402013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
29541
b5792741
SP
29542 * sysdeps/s390/fpu/libm-test-ulps: Update.
29543
47cf2278
SP
29544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29545
950c99ca
SP
29546 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
29547 (__acr): Likewise.
29548 (__cpy): Likewise.
29549 (norm): Likewise.
29550 (denorm): Likewise.
29551 (__mp_dbl): Likewise.
29552 (__dbl_mp): Likewise.
29553 (add_magnitudes): Likewise.
29554 (sub_magnitudes): Likewise.
29555 (__add): Likewise.
29556 (__sub): Likewise.
29557 (__mul): Likewise.
29558 (__inv): Likewise.
29559 (__dvd): Likewise.
29560 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
29561 (__acr): Likewise.
29562 (__cpy): Likewise.
29563 (norm): Likewise.
29564 (denorm): Likewise.
29565 (__mp_dbl): Likewise.
29566 (__dbl_mp): Likewise.
29567 (add_magnitudes): Likewise.
29568 (sub_magnitudes): Likewise.
29569 (__add): Likewise.
29570 (__sub): Likewise.
29571 (__mul): Likewise.
29572 (__inv): Likewise.
29573 (__dvd): Likewise.
29574 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
29575 (__acr): Likewise.
29576 (__cpy): Likewise.
29577 (norm): Likewise.
29578 (denorm): Likewise.
29579 (__mp_dbl): Likewise.
29580 (__dbl_mp): Likewise.
29581 (add_magnitudes): Likewise.
29582 (sub_magnitudes): Likewise.
29583 (__add): Likewise.
29584 (__sub): Likewise.
29585 (__mul): Likewise.
29586 (__inv): Likewise.
29587 (__dvd): Likewise.
29588
eede9df9
JM
295892013-01-08 Joseph Myers <joseph@codesourcery.com>
29590
29591 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
29592 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
29593 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
29594 2 && __USE_EXTERN_INLINES]: Likewise.
29595
c40ea3d9
AJ
295962013-01-08 Andreas Jaeger <aj@suse.de>
29597
29598 [BZ# 14985]
29599 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
29600 Remove.
29601 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29602 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29603
2ccdea26
AB
296042013-01-07 Anton Blanchard <anton@samba.org>
29605
29606 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
29607 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29608 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
29609 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29610 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29611 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29612 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
29613 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29614 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29615 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29616 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29617 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29618 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29619 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29620 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29621 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29622 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29623 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29624 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29625 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29626 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29627 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
29628 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29629 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29630 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
29631 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29632 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29633 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29634 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
29635 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29636 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29637 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29638 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29639 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29640 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29641 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29642 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29643 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29644 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
29645 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
29646 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
29647 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29648 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29649
a9708fed
JM
296502013-01-07 Joseph Myers <joseph@codesourcery.com>
29651
375607b9
JM
29652 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
29653 (__MALLOC_PMT): Likewise.
29654 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
29655 [__GNUC__], only on [_LIBC].
29656 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29657 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
29658 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29659 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
29660 forward declaration.
29661 (realloc_hook_ini): Likewise.
29662 (memalign_hook_ini): Likewise.
29663 (__libc_memalign): Do not use __MALLOC_PMT in variable
29664 declaration.
29665 (__libc_valloc): Likewise.
29666 (__libc_pvalloc): Likewise.
29667 (__libc_calloc): Likewise.
29668 (__posix_memalign): Likewise.
29669
a9708fed
JM
29670 [BZ #14996]
29671 * math/s_casinh.c: Include <float.h>.
29672 (__casinh): Do not do computation with squaring and square root
29673 for large arguments.
29674 * math/s_casinhf.c: Include <float.h>.
29675 (__casinhf): Do not do computation with squaring and square root
29676 for large arguments.
29677 * math/s_casinhl.c: Include <float.h>.
29678 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
29679 (__casinhl): Do not do computation with squaring and square root
29680 for large arguments.
29681 * math/libm-test.inc (casin_test): Add more tests.
29682 (casinh_test): Likewise.
29683 * sysdeps/i386/fpu/libm-test-ulps: Update.
29684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29685
afec409a
L
296862013-01-04 H.J. Lu <hongjiu.lu@intel.com>
29687
29688 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
29689 (__x86_64_raw_data_cache_size): Likewise.
29690 (__x86_64_data_cache_size_half): Likewise.
29691 (__x86_64_raw_data_cache_size_half): Likewise.
29692 (__x86_64_shared_cache_size): Likewise.
29693 (__x86_64_raw_shared_cache_size): Likewise.
29694 (__x86_64_shared_cache_size_half): Likewise.
29695 (__x86_64_raw_shared_cache_size_half): Likewise.
29696 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
29697 to ...
29698 (__x86_data_cache_size): This.
29699 (__x86_64_raw_data_cache_size): Renamed to ...
29700 (__x86_raw_data_cache_size): This.
29701 (__x86_64_data_cache_size_half): Renamed to ...
29702 (__x86_data_cache_size_half): This.
29703 (__x86_64_raw_data_cache_size_half): Renamed to ...
29704 (__x86_raw_data_cache_size_half): This.
29705 (__x86_64_shared_cache_size): Renamed to ...
29706 (__x86_shared_cache_size): This.
29707 (__x86_64_raw_shared_cache_size): Renamed to ...
29708 (__x86_raw_shared_cache_size): This.
29709 (__x86_64_shared_cache_size_half): Renamed to ...
29710 (__x86_shared_cache_size_half): This.
29711 (__x86_64_raw_shared_cache_size_half): Renamed to ...
29712 (__x86_raw_shared_cache_size_half): This.
29713 * sysdeps/x86_64/memcpy.S: Updated.
29714 * sysdeps/x86_64/memset.S: Likewise.
29715 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29716 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29717 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29718
0b3986d0
DM
297192013-01-04 David S. Miller <davem@davemloft.net>
29720
29721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29722
e47686e9
AS
297232013-01-04 Andreas Schwab <schwab@linux-m68k.org>
29724
d643bac1
AS
29725 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
29726 1 to avoid redefinition warning.
29727 (__USE_GNU): Don't define.
29728 (init_signaling_nan): Protoize.
29729
e47686e9
AS
29730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29731
b18decba
SP
297322013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29733
fffb407f
SP
29734 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
29735 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
29736 (__cpymn): Likewise.
29737 (norm): Remove commented code.
29738 (denorm): Likewise.
29739 (__mp_dbl): Likewise.
29740 (__inv): Likewise.
29741 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
29742 (__cpymn): Likewise.
29743 (norm): Remove commented code.
29744 (denorm): Likewise.
29745 (__mp_dbl): Likewise.
29746 (__inv): Likewise.
29747
b18decba
SP
29748 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
29749 mp_no value for 1.0 and 2.0.
29750 (norm): Use RADIXI instead of radixi.d.
29751 (denorm): Likewise.
29752 (__mul): Use 0.0 instead of zero.d.
29753 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
29754 mp_no value for 1.0 and 2.0.
29755 (norm): Use RADIXI instead of radixi.d.
29756 (denorm): Likewise.
29757 (__mul): Use 0.0 instead of zero.d.
29758
cdc1c96f
JM
297592013-01-04 Joseph Myers <joseph@codesourcery.com>
29760
29761 [BZ #14994]
29762 * math/s_casinh.c (__casinh): Reduce finite argument to first
29763 quadrant then set signs of results at the end.
29764 * math/s_casinhf.c (__casinhf): Likewise.
29765 * math/s_casinhl.c (__casinhl): Likewise.
29766 * math/libm-test.inc (casin_test): Add more tests.
29767 (casinh_test): Likewise.
29768 * sysdeps/i386/fpu/libm-test-ulps: Update.
29769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29770
302913e1
SP
297712013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29772
6420d207
SP
29773 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
29774
a9e48ab4
SP
29775 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
29776
b7837264
SP
29777 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
29778 declarations.
29779 (denorm): Likewise.
29780 (__mp_dbl): Likewise.
29781 (__inv): Likewise.
29782
f8af25d2
SP
29783 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
29784 and adjust the header comment.
29785
302913e1
SP
29786 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
29787 variable name from declaration.
29788
5d7dd1ca
L
297892013-01-03 H.J. Lu <hongjiu.lu@intel.com>
29790
29791 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29792 Initialize COMMON_CPUID_INDEX_7 element.
29793 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
29794 (CPUID_RTM): Likewise.
29795 (HAS_RTM): Likewise.
29796 (COMMON_CPUID_INDEX_7): New enum.
29797
2f5f40f4
AS
297982013-01-03 Andreas Schwab <schwab@linux-m68k.org>
29799
29800 [BZ #14981]
29801 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
29802 size is zero, record memory as freed.
29803
4056f4a0
AJ
298042013-01-03 Andreas Jaeger <aj@suse.de>
29805
29806 * po/ia.po: Add new Interlingua translation.
29807
ab15736f 298082012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
29809
29810 * locale/programs/localedef.c: Fix description of '--posix' flag.
29811
568035b7
JM
298122013-01-02 Joseph Myers <joseph@codesourcery.com>
29813
e6898b8d
JM
29814 * NEWS: Update dates in second copyright notice.
29815 * README: Update copyright dates in example.
29816 * manual/libc.texinfo: Update copyright dates.
29817 * scripts/test-installation.pl: Update copyright date in --version
29818 output.
29819
0e2f9562
JM
29820 * hurd/ctty-input.c: Fix copyright notice formatting.
29821 * hurd/ctty-output.c: Likewise.
29822 * hurd/dtable.c: Likewise.
29823 * hurd/hurd-raise.c: Likewise.
29824 * hurd/hurdprio.c: Likewise.
29825 * hurd/msgportdemux.c: Likewise.
29826 * misc/sys/file.h: Likewise.
29827 * misc/sys/ioctl.h: Likewise.
29828 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29829 * sysdeps/mach/hurd/chdir.c: Likewise.
29830 * sysdeps/mach/hurd/fchdir.c: Likewise.
29831 * sysdeps/mach/hurd/rename.c: Likewise.
29832 * sysdeps/mach/hurd/rmdir.c: Likewise.
29833 * sysdeps/mach/hurd/seekdir.c: Likewise.
29834 * sysdeps/mach/hurd/setsid.c: Likewise.
29835 * sysdeps/posix/wait3.c: Likewise.
29836
568035b7
JM
29837 * All files with FSF copyright notices: Update copyright dates
29838 using scripts/update-copyrights.
29839 * intl/plural.c: Regenerated.
29840 * locale/programs/charmap-kw.h: Likewise.
29841 * locale/programs/locfile-kw.h: Likewise.
29842
da08f647
SP
298432013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29844
0f5477af
SP
29845 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
29846 four values.
29847
44e0d4c2
SP
29848 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
29849 calculation loop and add branch prediction.
29850
4d55b4e5
SP
29851 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
29852 check access beyond bounds of m1np.
29853
da08f647
SP
29854 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29855 MPTWO.
29856 (__inv): Remove local variable MPTWO to use the global
29857 constant.
29858 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
29859 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29860 variable MPTWO.
29861 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
29862 MP3HALFS static const.
29863
8e051029
DM
298642013-01-01 David S. Miller <davem@davemloft.net>
29865
29866 * po/ca.po: Update from translation team.
29867
f4cf5f2d
JM
298682013-01-01 Joseph Myers <joseph@codesourcery.com>
29869
29870 * scripts/update-copyrights: New file.
29871 * Makeconfig: Reformat copyright notice.
29872 * ctype/ctype.h: Likewise.
29873 * debug/swprintf_chk.c: Likewise.
29874 * elf/dl-cache.c: Likewise.
29875 * elf/dl-debug.c: Likewise.
29876 * elf/dl-object.c: Likewise.
29877 * grp/initgroups.c: Likewise.
29878 * hurd/Makefile: Likewise.
29879 * hurd/hurd/signal.h: Likewise.
29880 * hurd/hurdfault.c: Likewise.
29881 * hurd/hurdioctl.c: Likewise.
29882 * hurd/hurdlookup.c: Likewise.
29883 * hurd/intr-msg.c: Likewise.
29884 * iconv/gconv_open.c: Likewise.
29885 * libio/swprintf.c: Likewise.
29886 * locale/lc-ctype.c: Likewise.
29887 * locale/nl_langinfo.c: Likewise.
29888 * mach/Machrules: Likewise.
29889 * mach/Makefile: Likewise.
29890 * malloc/obstack.h: Likewise.
29891 * manual/Makefile: Likewise.
29892 * manual/tsort.awk: Likewise.
29893 * misc/bits/stab.def: Likewise.
29894 * nis/nis_print_group_entry.c: Likewise.
29895 * nis/nis_table.c: Likewise.
29896 * nis/nss_compat/compat-pwd.c: Likewise.
29897 * nis/nss_compat/compat-spwd.c: Likewise.
29898 * po/Makefile: Likewise.
29899 * posix/fnmatch.c: Likewise.
29900 * posix/regex.h: Likewise.
29901 * resolv/Makefile: Likewise.
29902 * resolv/nss_dns/dns-network.c: Likewise.
29903 * resolv/res_hconf.c: Likewise.
29904 * scripts/gen-sorted.awk: Likewise.
29905 * soft-fp/soft-fp.h: Likewise.
29906 * stdio-common/printf.h: Likewise.
29907 * stdlib/monetary.h: Likewise.
29908 * stdlib/random.c: Likewise.
29909 * stdlib/random_r.c: Likewise.
29910 * sysdeps/generic/Makefile: Likewise.
29911 * sysdeps/gnu/Makefile: Likewise.
29912 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29913 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29914 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29915 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29916 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29917 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29918 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29919 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29920 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29921 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29922 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29923 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29924 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29925 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29926 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
29927 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29928 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29929 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29930 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29931 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29932 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29933 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29934 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29935 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29936 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
29937 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29938 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29939 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
29940 * sysdeps/mach/hurd/errnos.awk: Likewise.
29941 * sysdeps/mach/hurd/fork.c: Likewise.
29942 * sysdeps/mach/hurd/getcwd.c: Likewise.
29943 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
29944 * sysdeps/mach/hurd/mmap.c: Likewise.
29945 * sysdeps/mach/hurd/utimes.c: Likewise.
29946 * sysdeps/mach/hurd/xmknod.c: Likewise.
29947 * sysdeps/posix/profil.c: Likewise.
29948 * sysdeps/posix/readdir_r.c: Likewise.
29949 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29950 * sysdeps/powerpc/bits/setjmp.h: Likewise.
29951 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
29952 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29953 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29954 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29955 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29956 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29957 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29958 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29959 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29960 * sysdeps/pthread/lio_listio.c: Likewise.
29961 * sysdeps/sparc/dl-procinfo.h: Likewise.
29962 * sysdeps/unix/i386/sysdep.S: Likewise.
29963 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
29964 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
29965 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
29966 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
29967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29968 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29969 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29970 * sysdeps/unix/sysv/linux/speed.c: Likewise.
29971 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29972 * sysdeps/wordsize-32/divdi3.c: Likewise.
29973 * time/sys/time.h: Likewise.
29974 * wcsmbs/Makefile: Likewise.
29975
0549fbba
DM
299762013-01-01 David S. Miller <davem@davemloft.net>
29977
a141f1a7
DM
29978 * po/fr.po: Update from translation team.
29979
0549fbba
DM
29980 * catgets/gencat.c: Update copyright year.
29981 * csu/version.c: Likewise.
29982 * debug/catchsegv.sh: Likewise.
29983 * debug/pcprofiledump.c: Likewise.
29984 * debug/xtrace.sh: Likewise.
29985 * elf/ldconfig.c: Likewise.
29986 * elf/ldd.bash.in: Likewise.
29987 * elf/pldd.c: Likewise.
29988 * elf/sotruss.ksh: Likewise.
29989 * elf/sprof.c: Likewise.
29990 * iconv/iconv_prog.c: Likewise.
29991 * iconv/iconvconfig.c: Likewise.
29992 * locale/programs/locale.c: Likewise.
29993 * locale/programs/localedef.c: Likewise.
29994 * login/programs/pt_chown.c: Likewise.
29995 * malloc/memusage.sh: Likewise.
29996 * malloc/memusagestat.c: Likewise.
29997 * malloc/mtrace.pl: Likewise.
29998 * nscd/nscd.c: Likewise.
29999 * nss/getent.c: Likewise.
30000 * nss/makedb.c: Likewise.
30001 * posix/getconf.c: Likewise.
30002
18ea052c
SP
300032012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30004
30005 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
30006 numbers.
30007
9c89fca6
MF
300082012-12-30 Mike Frysinger <vapier@gentoo.org>
30009
30010 * math/bits/mathcalls.h (modf): Use __nonnull.
30011
085ec079
SP
300122012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30013
30014 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
30015 (split): Use macro CN instead of the bare value.
30016 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
30017 could be used.
30018 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
30019 instead of the bare value.
30020 (power1): Likewise.
30021
6d9f97e1
SP
300222012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30023
d63f73be
SP
30024 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
30025 __ATAN_TWOM.
30026 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30027
6d9f97e1
SP
30028 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
30029 their values.
30030 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30031 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30032 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
30033 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30034
4c4febf5
AJ
300352012-12-28 Andreas Jaeger <aj@suse.de>
30036
af5843ef
AJ
30037 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
30038 values are from Linux 3.7.
30039
4c4febf5
AJ
30040 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30041 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
30042
99136f82
SP
300432012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30044
2f216c3c 30045 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
30046 TRUE case.
30047
99136f82
SP
30048 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
30049 (norm): Likewise.
30050 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
30051 variables with preprocessor constants.
30052 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30053 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30054 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30055
7fffbdff
BH
300562012-12-27 Bruno Haible <bruno@clisp.org>
30057
30058 [BZ #14317]
30059 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
30060 only if needed.
30061
b76eb5f0
SP
300622012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30063
31a7fe5c
SP
30064 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
30065 and use variable directly.
30066 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
30067
b76eb5f0
SP
30068 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30069 MPONE.
30070 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
30071 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30072 variable MPONE.
30073 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30074 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30075 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
30076 include directive. Remove local variable MPONE.
30077 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
30078 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
30079 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30080
2c8bfe7d
DM
300812012-12-25 David S. Miller <davem@davemloft.net>
30082
30083 * version.h (RELEASE): Set to "development".
30084 (VERSION): Set to "2.17.90".
30085 * NEWS: Add 2.18 section.
30086
147d03b0
DM
300872012-12-21 David S. Miller <davem@davemloft.net>
30088
30089 * po/hr.po: Update from translation team.
30090
a8ebb2b9
AK
300912012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30092
30093 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30094
95b4f1b6
SE
300952012-12-19 Steve Ellcey <sellcey@mips.com>
30096
b2d94007 30097 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 30098
cedb2a90
MS
300992012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30100
30101 * manual/contrib.texi (Contributors): Spelling correction.
30102
bbf527d6
DM
301032012-12-15 David S. Miller <davem@davemloft.net>
30104
30105 * po/ru.po: Update from translation team.
30106
bc38c906
DM
301072012-12-13 David S. Miller <davem@davemloft.net>
30108
85429b1a
DM
30109 * NEWS: Mention IFUNC testsuite enhancements.
30110
d283e353
DM
30111 * po/pl.po: Update from translation team.
30112 * po/bg.po: Likewise.
30113
bc38c906
DM
30114 * manual/contrib.texi (Contributors): Update entries for Hongjiu
30115 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
30116
a181b0d7
DM
301172012-12-11 David S. Miller <davem@davemloft.net>
30118
4641d57e
DM
30119 * po/sv.po: Update from translation team.
30120
f7bc6495
DM
30121 * po/vi.po: Update from translation team.
30122
6fc9048f
DM
30123 * po/cs.po: Update from translation team.
30124
a181b0d7
DM
30125 * po/de.po: Update from translation team.
30126 * po/eo.po: Likewise.
30127 * po/nl.po: Likewise.
30128
f70bfe80
SP
301292012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30130
3c8b4190
SP
30131 [BZ #14246]
30132 * manual/argp.texi (Argp Helper Functions): Move node to follow
30133 Argp Parsing State.
30134
f70bfe80
SP
30135 [BZ #14872]
30136 * manual/conf.texi (Limits on File System Capacity): Mention if
30137 terminating null is included in the max size.
30138
188f0adf
AJ
301392012-12-10 Andreas Jaeger <aj@suse.de>
30140
30141 * po/cs.po: Update from translation team.
30142
56e7d3ad
SP
301432012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30144
30145 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30146 void pointer and cast to uintptr_t.
30147 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30148 path.
30149 * sysdeps/s390/s390-64/memcpy.S: Likewise.
30150 * sysdeps/s390/s390-64/memset.S: Likewise.
30151
76f2d2ea 301522012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
30153
30154 [BZ #14833]
30155 * menual/message.texi (Message Translation): Fix typos.
30156 (Helper programs for gettext): Likewise.
30157
67cbf9a2
AS
301582012-12-07 Andreas Schwab <schwab@linux-m68k.org>
30159
30160 [BZ #14898]
30161 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
30162 Change to -1.
30163
682d0e9a
DM
301642012-12-07 David S. Miller <davem@davemloft.net>
30165
30166 * po/libc.pot: Update.
30167
573cd484
RH
301682012-12-07 Richard Henderson <rth@redhat.com>
30169
7e9da188 30170 [BZ #10114]
573cd484
RH
30171 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
30172 normal/normal case to before the switch.
30173 (_FP_DIV): Likewise.
30174
e933a943
MF
301752012-12-06 Carlos O'Donell <carlos@systemhalted.org>
30176 Mike Frysinger <vapier@gentoo.org>
30177
30178 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
30179 check for __NR_fadvise64_64.
30180
82123268
CM
301812012-12-06 Chris Metcalf <cmetcalf@tilera.com>
30182
30183 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
30184 0, not just to plain "0" as a statement.
30185 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
30186 with cw.
30187
d9814526
JM
301882012-12-06 Joseph Myers <joseph@codesourcery.com>
30189
30190 * NEWS: Use sourceware.org in Bugzilla URL.
30191
7728c574
SP
301922012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30193
f16946dd
SP
30194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30195 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30196
5704bbcb
SP
30197 * stdio-common/tst-put-error.c (do_test): Add newline to the
30198 padded test to ensure flush.
30199
17aa0516
JL
302002012-12-05 Jeff Law <law@redhat.com>
30201
30202 * sunrpc/etc.rpc (fedfs_admin): Add entry.
30203
363313b5
JM
302042012-12-05 Joseph Myers <joseph@codesourcery.com>
30205
effbd42a
JM
30206 * README: Don't refer to ports add-on as distributed separately.
30207 Mention AArch64 in list of systems supported in the ports add-on.
30208
87600365
JM
30209 * LICENSES: Add more non-FSF copyright and license notices.
30210
a0d7066a
JM
30211 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
30212 ((unused)).
30213
66ca5a5b
JM
30214 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
30215
363313b5
JM
30216 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
30217 10000 as width of padded output.
30218
b37984ad
JM
302192012-12-04 Joseph Myers <joseph@codesourcery.com>
30220
9003570a
JM
30221 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
30222
b37984ad
JM
30223 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
30224 variable LX with __attribute__ ((unused)).
30225 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30226 Likewise.
30227 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30228 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30229 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
30230 with __attribute__ ((unused)).
30231
c8df52ec
DM
302322012-12-04 David S. Miller <davem@abraco.davemloft.net>
30233
30234 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
30235
b3b099af
JM
302362012-12-04 Joseph Myers <joseph@codesourcery.com>
30237
c33aa6e3
JM
30238 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
30239 (CFLAGS-nldbl-acos.c): New variable.
30240 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
30241 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
30242 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
30243 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
30244 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
30245 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
30246 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
30247 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
30248 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
30249 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30250 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
30251 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
30252 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
30253 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
30254 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
30255 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
30256 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
30257 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
30258 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
30259 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
30260 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
30261 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
30262 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
30263 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
30264 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
30265 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
30266 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
30267 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
30268 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
30269 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
30270 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
30271 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
30272 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
30273 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
30274 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
30275 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
30276 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
30277 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
30278 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
30279 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
30280 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
30281 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
30282 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
30283 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
30284 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
30285 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
30286 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
30287 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
30288 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
30289 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
30290 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
30291 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
30292 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
30293 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
30294 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
30295 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
30296 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
30297 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
30298 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
30299 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
30300 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
30301 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
30302 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
30303 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
30304 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
30305 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
30306 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
30307 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
30308 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
30309 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
30310 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
30311 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
30312 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
30313 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
30314 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
30315 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
30316 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
30317 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
30318 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
30319 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
30320 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
30321 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
30322 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
30323 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
30324 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
30325 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
30326 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
30327 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
30328 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
30329 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
30330 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
30331 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
30332 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
30333 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
30334 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
30335 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
30336 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
30337
20f0018d
JM
30338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30339 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30340
b3b099af
JM
30341 [BZ #14914]
30342 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
30343 whole low double instead of just low 47 bits when splitting values
30344 into two parts.
30345
029264d1
AM
303462012-12-03 Allan McRae <allan@archlinux.org>
30347
30348 * manual/stdio.texi (Predefined Printf Handlers): Remove
30349 @hsep and @vsep usage.
30350
c9d6789e
MF
303512012-12-03 Mike Frysinger <vapier@gentoo.org>
30352
30353 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
30354 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
30355
4b7634a5
JL
303562012-12-03 Jeff Law <law@redhat.com>
30357
30358 * time/sys/time.h (settimeofday): Do not mark TV argument
30359 as __nonnull.
30360
eb6cbd24
MF
303612012-12-01 Mike Frysinger <vapier@gentoo.org>
30362
30363 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
30364 when currently writing and seek to current position when not.
30365 * libio/Makefile (tests): Remove bug-fclose1.
30366 * libio/bug-fclose1.c: Delete.
30367
f638872a
JM
303682012-12-01 Joseph Myers <joseph@codesourcery.com>
30369
30370 * manual/arith.texi (feenableexcept): Fix typo.
30371 (fedisableexcept): Likewise.
30372
48085d14
RM
303732012-11-30 Roland McGrath <roland@hack.frob.com>
30374
30375 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
30376 second, differently-typed declaration, rather than a cast.
30377
1a538b9f
SP
303782012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30379
30380 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
30381 * include/rpc/svc.h: ... here.
30382
d07f2ff1 303832012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
30384
30385 [BZ #13013]
30386 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
30387 depending n and resplen2 to catch cases where answer
30388 equals answerp2.
30389
c93ec1f0
CD
303902012-11-29 Carlos O'Donell <carlos@systemhalted.org>
30391
30392 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
30393 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
30394
37db69de
MF
303952012-11-29 Mike Frysinger <vapier@gentoo.org>
30396
30397 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
30398
e10c4e4f
RM
303992012-11-29 Roland McGrath <roland@hack.frob.com>
30400
30401 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
30402
2af1b328
JL
304032012-11-28 Jeff Law <law@redhat.com>
30404
30405 [BZ #13761]
30406 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
30407 dataset_temporary. Track alloca usage into alloca_used.
30408 If dataset is large allocate and release it via malloc/free.
30409
111db5b1
FW
304102012-06-04 Florian Weimer <fweimer@redhat.com>
30411
f06cc227 30412 [BZ #14197]
111db5b1
FW
30413 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
30414
dd694abd
DM
304152012-11-28 David S. Miller <davem@davemloft.net>
30416
30417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30418
9984dd01
JM
304192012-11-28 Joseph Myers <joseph@codesourcery.com>
30420
30421 [BZ #14803]
30422 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
30423 of pi/2 rounded to nearest to 64 bits.
30424 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
30425 nearest to 64 bits.
30426 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
30427 bits.
30428
14bc93a9
JL
304292012-11-28 Jeff Law <law@redhat.com>
30430 Martin Osvald <mosvald@redhat.com>
30431
30432 [BZ #14889]
30433 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
30434 * sunrpc/svc.c: Include time.h.
30435 (__svc_accept_failed): New function.
30436 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
30437 any reason other than EINTR, call __svc_accept_failed.
30438 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
30439 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
30440
e3c6aa3a
AS
304412012-11-28 Andreas Schwab <schwab@suse.de>
30442
30443 * scripts/abilist.awk: Also handle indirect functions in .opd
30444 section.
30445
1bead169
JM
304462012-11-28 Joseph Myers <joseph@codesourcery.com>
30447
30448 [BZ #13881]
30449 * sysdeps/x86/fpu/powl_helper.c: New file.
30450 * sysdeps/x86/fpu/Makefile: Likewise.
30451 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
30452 (p3): New object.
30453 (__ieee754_powl): Use __powl_helper for finite arguments except
30454 integer exponents below 8.
30455 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
30456 (p3): New object.
30457 (__ieee754_powl): Use __powl_helper for finite arguments except
30458 integer exponents below 8.
30459 * math/libm-test.inc (pow_test): Add more tests and enable some
30460 previously disabled tests.
30461 * sysdeps/i386/fpu/libm-test-ulps: Update.
30462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30463
0817d63d
SP
304642012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30465 Carlos O'Donell <carlos_odonell@mentor.com>
30466
30467 * nss/makedb.c (is_prime): Assert that input is odd and greater
30468 than 4. Note that fact in a comment too.
30469 (next_prime): Add 4 to input.
30470
de2fd463
SP
304712012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30472
30473 [BZ #11741]
30474 * libio/Makefile (tests): Add test case tst-fwrite-error.
30475 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
30476 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
30477 * libio/tst-fwrite-error.c: New test case.
30478
c515fb51
L
304792012-11-26 H.J. Lu <hongjiu.lu@intel.com>
30480
30481 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
30482 before casting to void *.
30483 * include/libc-internal.h (__pointer_type): New macro.
30484 (__integer_if_pointer_type_sub): Likewise.
30485 (__integer_if_pointer_type): Likewise.
30486 (cast_to_integer): Likewise.
30487 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
30488 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
30489 before casting to atomic64_t.
30490 (atomic_exchange_acq): Likewise.
30491 (__arch_exchange_and_add_body): Likewise.
30492 (__arch_add_body): Likewise.
30493 (atomic_add_negative): Likewise.
30494 (atomic_add_zero): Likewise.
30495
4cf77aa9
JM
304962012-11-26 Joseph Myers <joseph@codesourcery.com>
30497
30498 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
30499 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
30500 (add_fdes): Likewise.
30501 (linear_search_fdes): Likewise.
30502 (binary_search_unencoded_fdes): Likewise.
30503
d260b3b4
AS
305042012-11-26 Andreas Schwab <schwab@linux-m68k.org>
30505
30506 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
30507
67060746
AC
305082012-11-24 Adam Conrad <adconrad@0c3.net>
30509
30510 * configure.in: Autodetect C++ header directories.
30511 * configure: Regenerated.
30512
800938a1
MF
305132012-11-23 Mike Frysinger <vapier@gentoo.org>
30514
30515 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
30516
4e6e34e6
AS
305172012-11-23 Andreas Schwab <schwab@linux-m68k.org>
30518
30519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30520
7c7feb47
JM
305212012-11-22 Joseph Myers <joseph@codesourcery.com>
30522
7184dcdf
JM
30523 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
30524 LDBL_MANT_DIG == 106]: Disable some tests.
30525 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30526 Likewise.
30527 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30528 Likewise.
30529
0a42601f
JM
30530 [BZ #14871]
30531 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
30532 input for small inputs. Return +/- pi/2 for large inputs.
30533 * math/libm-test.inc (atan_test): Add more tests.
30534
79c9b9fe
JM
30535 * sysdeps/generic/unwind-dw2-fde-glibc.c
30536 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
30537 __attribute__ ((unused)).
30538
c60d3bf2
JM
30539 [BZ #14645]
30540 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
30541 x * y if x and y are nonzero and z is zero.
30542
ef1e0867
JM
30543 [BZ #14811]
30544 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
30545 nonzero exponents with absolute value below 0x1p-117 to +/-
30546 0x1p-117.
30547
1468ded3
JM
30548 [BZ #14869]
30549 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
30550 up arguments below 2**-450, not just those below 2**-500.
30551 * math/libm-test.inc (hypot_test): Add another test.
30552
8e27e3cc
JM
30553 [BZ #14868]
30554 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30555 Return a+b for ratio over 2**120, not 2**60.
30556 * math/libm-test.inc (hypot_test): Add another test.
30557
c9c0279b
JM
30558 * math/libm-test.inc (clog_test): Use
30559 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
30560 (clog10_test): Likewise.
30561
7c7feb47
JM
30562 [BZ #6778]
30563 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
30564
fff1530e
AS
305652012-11-22 Andreas Schwab <schwab@suse.de>
30566
30567 * sysdeps/i386/fpu/libm-test-ulps: Update.
30568
94558d30
PT
305692012-11-22 Pino Toscano <toscano.pino@tiscali.it>
30570
30571 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
30572 printf output with newline.
30573
7e1be741
L
305742012-11-21 H.J. Lu <hongjiu.lu@intel.com>
30575
6bfea974
L
30576 [BZ #14865]
30577 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
30578 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
30579 -z nodlopen, -z initfirst and -z execstack support.
30580 * configure: Regenerated.
30581
7e1be741
L
30582 * elf/elf.h (DF_1_NODIRECT): New macro.
30583 (DF_1_IGNMULDEF): Likewise.
30584 (DF_1_NOKSYMS): Likewise.
30585 (DF_1_NOHDR): Likewise.
30586 (DF_1_EDITED): Likewise.
30587 (DF_1_NORELOC): Likewise.
30588 (DF_1_SYMINTPOSE): Likewise.
30589 (DF_1_GLOBAUDIT): Likewise.
30590 (DF_1_SINGLETON): Likewise.
30591 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
30592 DT_1_SUPPORTED_MASK bits.
30593 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
30594
105ce2ce
CD
305952012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
30596
30597 * sysdeps/unix/make-syscalls.sh: Document prefixes.
30598
123be9de
TS
305992012-11-20 Thomas Schwinge <thomas@codesourcery.com>
30600
d072f3f7
TS
30601 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
30602 macro.
30603
123be9de
TS
30604 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
30605 (sendmmsg): Move declarations...
30606 * socket/sys/socket.h: ... here.
30607 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
30608 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
30609 include it from...
30610 * socket/recvmmsg.c: ... this new file.
30611 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
30612 (sendmmsg): Rename to __sendmmsg, create weak alias and make
30613 definition of __sendmmsg hidden.
30614 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
30615 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
30616 Move ENOSYS stub into and include it from...
30617 * socket/sendmmsg.c: ... this new file.
30618 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
30619 (sysdep_routines): Move recvmmsg and sendmmsg...
30620 * socket/Makefile (routines): ... here.
30621 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
30622 (GLIBC_PRIVATE): Add __sendmmsg.
30623 * include/sys/socket.h (__sendmmsg): Add declarations.
30624 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
30625 sendmmsg.
30626
cf9a5d18
JM
306272012-11-20 Joseph Myers <joseph@codesourcery.com>
30628
30629 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
30630 variable I1 with __attribute__ ((unused)).
30631 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30632
ecd4caf9
JM
306332012-11-19 Joseph Myers <joseph@codesourcery.com>
30634
be14d48f
JM
30635 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
30636 DUMMY variables with __attribute__ ((unused)).
30637
ecd4caf9
JM
30638 * bits/byteswap.h: Include <bits/types.h>.
30639 (__bswap_64): Use __uint64_t instead of unsigned long long int.
30640
986cab95
PT
306412012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30642
30643 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
30644 string_t. Do not manually set errno.
30645 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
30646 length with __strnlen. Make sure to both set errno and return it on
30647 failure.
30648
6d33cc9d
DM
306492012-11-19 David S. Miller <davem@davemloft.net>
30650
30651 With help from Joseph Myers.
30652 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
30653 very large arguments properly.
30654 * math/libm-test.inc (atan_test): New tests.
30655 (atan2_test): New tests.
30656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30657 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30658
ee663277
JM
306592012-11-19 Joseph Myers <joseph@codesourcery.com>
30660
877f2d8e
JM
30661 [BZ #14856]
30662 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
30663 Define to 3.
30664
116fc08a
JM
30665 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
30666 [POSIX] (EADDRNOTAVAIL): Likewise.
30667 [POSIX] (EAFNOSUPPORT): Likewise.
30668 [POSIX] (EALREADY): Likewise.
30669 [POSIX] (ECONNABORTED): Likewise.
30670 [POSIX] (ECONNREFUSED): Likewise.
30671 [POSIX] (ECONNRESET): Likewise.
30672 [POSIX] (EDESTADDRREQ): Likewise.
30673 [POSIX] (EDQUOT): Likewise.
30674 [POSIX] (EHOSTUNREACH): Likewise.
30675 [POSIX] (EIDRM): Likewise.
30676 [POSIX] (EISCONN): Likewise.
30677 [POSIX] (ELOOP): Likewise.
30678 [POSIX] (EMULTIHOP): Likewise.
30679 [POSIX] (ENETDOWN): Likewise.
30680 [POSIX] (ENETUNREACH): Likewise.
30681 [POSIX] (ENOBUFS): Likewise.
30682 [POSIX] (ENODATA): Likewise.
30683 [POSIX] (ENOLINK): Likewise.
30684 [POSIX] (ENOMSG): Likewise.
30685 [POSIX] (ENOPROTOOPT): Likewise.
30686 [POSIX] (ENOSR): Likewise.
30687 [POSIX] (ENOSTR): Likewise.
30688 [POSIX] (ENOTCONN): Likewise.
30689 [POSIX] (ENOTSOCK): Likewise.
30690 [POSIX] (EOPNOTSUPP): Likewise.
30691 [POSIX] (EOVERFLOW): Likewise.
30692 [POSIX] (EPROTO): Likewise.
30693 [POSIX] (EPROTONOSUPPORT): Likewise.
30694 [POSIX] (EPROTOTYPE): Likewise.
30695 [POSIX] (ESTALE): Likewise.
30696 [POSIX] (ETIME): Likewise.
30697 [POSIX] (ETXTBSY): Likewise.
30698 [POSIX] (EWOULDBLOCK): Likewise.
30699 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
30700 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
30701 [POSIX] (SEEK_CUR): Likewise.
30702 [POSIX] (SEEK_END): Likewise.
30703 [POSIX || UNIX98] (mode_t): Do not require.
30704 [POSIX] (off_t): Likewise.
30705 [POSIX] (pid_t): Likewise.
30706 [POSIX] (sys/stat.h): Do not allow header.
30707 [POSIX] (unistd.h): Likewise.
30708 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
30709 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
30710 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
30711 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
30712 require.
30713 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
30714 sigevent): Specify elements.
30715 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
30716 entry.
30717 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
30718 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
30719
a483863f
JM
30720 * conform/data/cpio.h-data [POSIX]: Disable whole file.
30721 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
30722 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
30723 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
30724 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
30725 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
30726 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
30727 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
30728 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
30729 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
30730 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
30731 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
30732 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
30733 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
30734 Likewise.
30735 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
30736 Likewise.
30737 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
30738 Likewise.
30739 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
30740 Likewise.
30741 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
30742 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
30743 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
30744 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
30745 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
30746 Specify lower bound on value.
30747 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
30748 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
30749 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
30750 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
30751 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
30752 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
30753 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
30754 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
30755 value.
30756 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
30757 as optional.
30758 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
30759 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
30760 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
30761 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
30762 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
30763 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
30764 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
30765 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
30766 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
30767 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
30768 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
30769 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
30770 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
30771 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
30772 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
30773 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
30774 entry.
30775 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
30776 optional.
30777 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
30778 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
30779 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
30780 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
30781 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
30782 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
30783 Likewise.
30784 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
30785 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
30786 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
30787 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
30788 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
30789 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
30790 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
30791 as optional.
30792 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
30793 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
30794 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
30795 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
30796 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
30797 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
30798 specify as optional.
30799 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
30800 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
30801 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
30802 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
30803 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
30804 [XPG3] (NL_LANGMAX): Likewise.
30805 [POSIX || XPG3] (NL_MSGMAX): Likewise.
30806 [POSIX || XPG3] (NL_NMAX): Likewise.
30807 [POSIX || XPG3] (NL_SETMAX): Likewise.
30808 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
30809 [XPG3] (NZERO): Likewise.
30810 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
30811 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
30812 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
30813 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
30814 (REG_ERANGE): Expect.
30815 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
30816 optional-constant.
30817 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
30818 Use (void) in prototype.
30819 [POSIX] (*_t): Allow.
30820 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
30821 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
30822 (WRDE_BADVAL): Expect.
30823
5ba924e3
JM
30824 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
30825 expect.
30826 [XPG3 || XPG4] (O_RSYNC): Likewise.
30827 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
30828 Likewise.
30829 [XPG3 || XPG4] (pthread_sigmask): Likewise.
30830 [XPG3 || XPG4] (sigqueue): Likewise.
30831 [XPG3 || XPG4] (sigtimedwait): Likewise.
30832 [XPG3 || XPG4] (sigwaitinfo): Likewise.
30833 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
30834 [XPG3 || XPG4] (vsnprintf): Likewise.
30835 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
30836 Likewise.
30837 [XPG3 || XPG4] (blksize_t): Likewise.
30838 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
30839 Likewise.
30840 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
30841 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30842 [XPG3 || XPG4] (struct itimerspec): Likewise.
30843 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
30844 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
30845 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
30846 [XPG3 || XPG4] (clockid_t): Likewise.
30847 [XPG3 || XPG4] (timer_t): Likewise.
30848 [XPG3 || XPG4] (clock_getres): Likewise.
30849 [XPG3 || XPG4] (clock_gettime): Likewise.
30850 [XPG3 || XPG4] (clock_settime): Likewise.
30851 [XPG3 || XPG4] (nanosleep): Likewise.
30852 [XPG3 || XPG4] (timer_create): Likewise.
30853 [XPG3 || XPG4] (timer_delete): Likewise.
30854 [XPG3 || XPG4] (timer_gettime): Likewise.
30855 [XPG3 || XPG4] (timer_getoverrun): Likewise.
30856 [XPG3 || XPG4] (timer_settime): Likewise.
30857 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
30858 [XPG3 || XPG4] (getlogin_r): Likewise.
30859 [XPG3 || XPG4] (pread): Likewise.
30860 [XPG3 || XPG4] (pthread_atfork): Likewise.
30861 [XPG3 || XPG4] (pwrite): Likewise.
30862
ee663277
JM
30863 [BZ #14835]
30864 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
30865 <bits/siginfo.h>.
30866
942caa16
PT
308672012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30868
e19af380
PT
30869 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
30870 finalizing MALLSTREAM.
30871
942caa16
PT
30872 * sysdeps/mach/hurd/syncfs.c: New file.
30873
cfde9b46
SP
308742012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30875
30876 [BZ #14719]
30877 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
30878 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
30879 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
30880 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
30881 (_nss_dns_gethostbyname4_r): Likewise.
30882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
30883 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
30884
f6da27e5
PH
308852012-11-19 Peng Haitao <penght@cn.fujitsu.com>
30886
30887 [BZ #13763]
30888 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
30889
6665d4a2
SM
308902012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
30891
1f51ee92
SM
30892 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
30893 * elf/cache.c (print_entry): Print ",AArch64" for
30894 FLAG_AARCH64_LIB64
30895
6665d4a2
SM
30896 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
30897 * elf/cache.c (print_entry): Print ",hard-float" for
30898 FLAG_ARM_LIBHF.
30899
05b227bd
DM
309002012-11-18 David S. Miller <davem@davemloft.net>
30901
30902 With help from Joseph Myers.
30903 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
30904 cutoff to 2**-13.
30905 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
30906 cutoff to 2**-25.
30907 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
30908 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
30909 small.
30910 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
30911 * math/libm-test.inc (y0_test): New tests.
30912 (y1_test): New tests.
30913 * sysdeps/i386/fpu/libm-test-ulps: Update.
30914 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30916
786b0b67
AS
309172012-11-18 Andreas Schwab <schwab@linux-m68k.org>
30918
30919 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
30920 64-bit targets.
30921 * configure: Regenerated.
30922
8e18b86d
DM
309232012-11-17 David S. Miller <davem@davemloft.net>
30924
30925 [BZ #14811]
30926 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
30927 nonzero exponents with absolute value below 0x1p-128 to +/-
30928 0x1p-128.
30929
531f1ae0
JM
309302012-11-17 Joseph Myers <joseph@codesourcery.com>
30931
12df29e2
JM
30932 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
30933
150dc1a0
JM
30934 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
30935
531f1ae0
JM
30936 * posix/getconf-speclist.c: New file.
30937 * posix/posix-envs.def: Likewise.
30938 * posix/confstr.c (START_ENV_GROUP): New macro.
30939 (END_ENV_GROUP): Likewise.
30940 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30941 (KNOWN_PRESENT_ENV_STRING): Likewise.
30942 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30943 (UNKNOWN_ENVIRONMENT): Likewise.
30944 (confstr): Include posix-envs.def instead of handling
30945 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
30946 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
30947 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
30948 (END_ENV_GROUP): Likewise.
30949 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30950 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30951 (UNKNOWN_ENVIRONMENT): Likewise.
30952 (__sysconf): Include posix-envs.def instead of handling associated
30953 cases directly here.
30954 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
30955 preprocessing getconf-speclist.c rather than running getconf or
30956 generating empty file.
30957
a93f9cbc
PT
309582012-11-16 Pino Toscano <toscano.pino@tiscali.it>
30959
30960 * scripts/check-local-headers.sh: Ignore 'mach' headers.
30961
d64d9f87
AL
309622012-11-16 Andrej Lajovic <natrij@gmail.com>
30963
30964 [BZ #14672]
30965 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
30966
447885eb
DM
309672012-11-16 David S. Miller <davem@davemloft.net>
30968
30969 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
30970 smaller than LDBL_EPSILON/2.0L, just return xm1.
30971
bcbf9830
L
309722012-11-16 H.J. Lu <hongjiu.lu@intel.com>
30973
30974 * elf/tst-array1.c (init): Set constructor priority to 1000.
30975 (fini): Set destructor priority to 1000.
30976 * elf/tst-array2dep.c: Likewise.
30977
2b766585
SP
309782012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30979
30980 [BZ #11741]
30981 * libio/fileops.c (_IO_new_file_write): Correctly return error.
30982 (_IO_new_file_xsputn): Also return EOF if none of the input
30983 data was written when overflow failed.
30984 * libio/iopadn.c (_IO_padn): Likewise.
30985 * libio/iowpadn.c (_IO_wpadn): Likewise.
30986 * stdio-common/tst-put-error.c: Add copyright notice.
30987 (do_test): Add case for printing padded string.
30988 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30989 _IO_padn returned error.
30990 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30991 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30992 return EOF.
30993
b1848fde
SP
309942012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30995
30996 * libio/libioP.h: Add comment note that the references to C++
30997 bits are now obsolete.
30998
2fd89785
MS
309992012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31000
31001 * math/libm-test.inc (check_complex): Use asprintf.
31002
e3ea5409
JM
310032012-11-14 Joseph Myers <joseph@codesourcery.com>
31004
31005 * debug/pcprofiledump.c (print_version): Update copyright year.
31006 * malloc/memusagestat.c (print_version): Likewise.
31007
2e64d265
L
310082012-11-14 H.J. Lu <hongjiu.lu@intel.com>
31009
31010 [BZ #14831]
31011 * elf/Makefile (tests): Add tst-audit8.
31012 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
31013 ($(objpfx)tst-audit8.out): New target.
31014 (tst-audit8-ENV): New variable.
31015 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
31016 audit if l_reloc_result is NULL.
31017 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
31018 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
31019 * elf/tst-audit8.c: New file.
31020
c485e4d2
MS
310212012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31022
31023 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
31024 * misc/Makefile (CFLAGS-select.c): Define.
31025 * posix/Makefile (CFLAGS-pause.c): Define.
31026
3a0d900a
DM
310272012-11-13 David S. Miller <davem@davemloft.net>
31028
31029 * crypt/Makefile: Move test targets after toplevel Rules
31030 inclusion. Grab any necessary sysdep routines when linking.
31031 * crypt/md5.c (md5_process_block): Remove define, we will always
31032 name it __md5_process_block.
31033 (md5_finish_ctx): Update md5_process_block call.
31034 (md5_stream): Likewise.
31035 (md5_process_bytes): Likewise.
31036 (md5_process_block): Rename to __md5_process_block and move to ...
31037 * crypt/md5-block.c: ... here.
31038 * crypt/sha256.c (sha256_process_block): Move to ...
31039 * crypt/sha256-block.c: ... here.
31040 * crypt/sha512.c (sha512_process_block): Move to ...
31041 * crypt/sha512-block.c: ... here.
31042 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
31043 path.
31044 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
31045 * sysdeps/sparc/sparc64/multiarch/Makefile
31046 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31047 crypt subdir.
31048 (localedef-aux): Add md5 crypto assembler when in locale subdir.
31049 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
31050 multiarch changes.
31051 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
31052 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
31053 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
31054 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
31055 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
31056 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
31057 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
31058 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
31059 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
31060 file.
31061 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
31062 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
31063 file.
31064 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
31065
8ca89318
JM
310662012-11-13 Joseph Myers <joseph@codesourcery.com>
31067
e27d476a
JM
31068 * timezone/tzselect.ksh: Update from tzcode git revision
31069 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
31070 * timezone/zdump.c: Likewise.
31071 * timezone/zic.c: Likewise.
31072 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
31073 in TZVERSION setting, not $(PKGVERSION).
31074 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
31075 REPORT_BUGS_TO settings.
31076
8ca89318
JM
31077 [BZ #14838]
31078 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
31079 macro.
31080
47594329
MS
310812012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31082
31083 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
31084 detection to immediately after _FP_ROUND().
31085 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
31086 bits are 0.
31087
640ac3f1
DM
310882012-11-11 David S. Miller <davem@davemloft.net>
31089
31090 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31091 inttypes.h
31092 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31093 __close rather than their public counterparts.
31094
3d2577bb
JM
310952012-11-10 Joseph Myers <joseph@codesourcery.com>
31096
31097 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31098 file.
31099 [UNIX98] (sem_timedwait): Do not expect.
31100 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31101 [XPG4 || UNIX98] (sockatmark): Do not expect.
31102 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31103 (clock_getcpuclockid): Do not expect.
31104 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31105 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31106 Do not expect.
31107 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31108 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31109 [UNIX98] (vwscanf): Likewise.
31110 [UNIX98] (vswscanf): Likewise.
31111
fb1ae1ee
JM
311122012-11-09 Joseph Myers <joseph@codesourcery.com>
31113
9ec6f8bd
JM
31114 * timezone/version.h: Remove file.
31115 * timezone/README: Do not refer to version.h.
31116 * timezone/Makefile ($(objpfx)zic.o): New dependency on
31117 $(objpfx)version.h.
31118 ($(objpfx)zdump.o): Likewise.
c3f81911 31119 ($(objpfx)version.h): New target.
9ec6f8bd 31120
0aa8f8a1
JM
31121 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31122 2012i.
31123 * timezone/README: Don't mention modification to tzselect.ksh.
31124 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31125 work on unmodified tzselect.ksh. Substitute version numbers in
31126 tzselect.ksh.
31127
4e87147f
JM
31128 * Makefile (format-me): Remove.
31129 (INSTALL): Adjust indentation. Use commands directly instead of
31130 using $(format-me).
31131
8b748aed
JM
31132 * aclocal.m4 (ACX_PKGVERSION): New macro.
31133 (ACX_BUGURL): Likewise.
31134 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31135 (PKGVERSION): New AC_DEFINE_UNQUOTED.
31136 (REPORT_BUGS_TO): Likewise.
31137 * configure: Regenerated.
31138 * config.h.in (PKGVERSION): New macro.
31139 (REPORT_BUGS_TO): Likewise.
31140 * config.make.in (PKGVERSION): New variable.
31141 (PKGVERSION_TEXI): Likewise.
31142 (REPORT_BUGS_TO): Likewise.
31143 (REPORT_BUGS_TEXI): Likewise.
31144 * Makefile (format-me): Use -I$(common-objpfx)manual.
31145 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31146 ($(common-objpfx)manual/%): New target.
31147 (manual/%): Remove target.
31148 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31149 (print_version): Use PKGVERSION.
31150 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31151 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31152 and REPORT_BUGS_TO.
31153 ($(objpfx)xtrace): Likewise.
31154 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
31155 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
31156 (print_version): Use PKGVERSION.
31157 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
31158 (do_version): Use PKGVERSION.
31159 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
31160 REPORT_BUGS_TO.
31161 (common-ldd-rewrite): Likewise.
31162 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
31163 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
31164 (print_version): Use PKGVERSION.
31165 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
31166 * elf/pldd.c (argp_program_bug_address): Remove variable.
31167 (more_help): New function.
31168 (argp): Use more_help.
31169 (print_version): Use PKGVERSION.
31170 * elf/sln.c (main): Use PKGVERSION.
31171 (usage): Use REPORT_BUGS_TO.
31172 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
31173 (top level): Use PKGVERSION.
31174 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
31175 (print_version): Use PKGVERSION.
31176 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
31177 (print_version): Use PKGVERSION.
31178 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
31179 (print_version): Use PKGVERSION.
31180 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
31181 (print_version): Use PKGVERSION.
31182 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
31183 (print_version): Use PKGVERSION.
31184 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
31185 (print_version): Use PKGVERSION.
31186 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
31187 and BUGURL.
31188 ($(objpfx)memusage): Likewise.
31189 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
31190 (do_version): Use PKGVERSION.
31191 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
31192 (print_version): Use PKGVERSION.
31193 * malloc/mtrace.pl ($PACKAGE): Remove variable.
31194 ($PKGVERSION): New variable.
31195 ($REPORT_BUGS_TO): Likewise.
31196 (usage): Use $REPORT_BUGS_TO.
31197 (top level): Use $PKGVERSION.
31198 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
31199 ($(objpfx)pkgvers.texi): New rule.
31200 ($(objpfx)stamp-pkgvers): Likewise.
31201 * manual/install.texi: Include pkgvers.texi.
31202 (--with-pkgversion): Document new configure option.
31203 (--with-bugurl): Likewise.
31204 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
31205 than necessarily for this particular distribution. Use
31206 REPORT_BUGS_TO for where to report bugs.
31207 * INSTALL: Regenerated.
31208 * manual/libc.texinfo: Include pkgvers.texi.
31209 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
31210 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
31211 (print_version): Use PKGVERSION.
31212 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
31213 (print_version): Use PKGVERSION.
31214 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
31215 (print_version): Use PKGVERSION.
31216 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
31217 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
31218 macro.
31219 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
31220 (print_version): Use PKGVERSION.
31221 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
31222 (print_version): Use PKGVERSION.
31223 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
31224 and PKGVERSION.
31225
92e4b6a9
JM
31226 * timezone/checktab.awk: Update from tzcode 2012i.
31227 * timezone/ialloc.c: Likewise.
31228 * timezone/private.h: Likewise.
31229 * timezone/scheck.c: Likewise.
31230 * timezone/tzfile.h: Likewise.
31231 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
31232 (TZVERSION): Hardcode tzcode version number.
31233 * timezone/zdump.c: Update from tzcode 2012i.
31234 * timezone/zic.c: Likewise.
31235 * timezone/version.h: New file.
31236 * timezone/README: Describe version.h. Update upstream location.
31237
9bde902c
JM
31238 [BZ #14824]
31239 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
31240 (mktemp): Enable declaration.
31241 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
31242 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
31243 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
31244 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
31245 Likewise.
31246 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
31247 Likewise.
31248 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
31249 Likewise.
31250 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
31251 Likewise.
31252 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
31253 Likewise.
31254 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
31255 Likewise.
31256
fb1ae1ee
JM
31257 [BZ #14821]
31258 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
31259 offset in buffer as u_int32_t not u_long. Consistently use memcpy
31260 for copies of such integer values.
31261 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31262 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31263
2c1adbcb
AJ
312642012-11-09 Andreas Jaeger <aj@suse.de>
31265
31266 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
31267 definitions and declarations that are provided by
31268 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31269
d0f8457e
AK
312702012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31271
3a235abb 31272 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
31273 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
31274 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
31275 definition.
31276
57241e26
MS
312772012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31278
31279 * elf/elf.h: Update comment before AArch64 relocations.
31280
60e8270d
DM
312812012-11-07 David S. Miller <davem@davemloft.net>
31282
31283 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
31284 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31285 (__start_context): Declare.
31286 (__makecontext_ret): Delete.
31287 (__makecontext): Hook up __start_context instead of
31288 __makecontext_ret.
31289 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
31290 (sysdep_routines): Add __start_context when in stdlib.
31291
0fbb0fbc
JM
312922012-11-07 Joseph Myers <joseph@codesourcery.com>
31293
31294 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
31295 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
31296 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
31297 hardcoded "nm".
31298 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
31299 (READELF): New variable. Use it instead of hardcoded "readelf".
31300
eb48db7e
L
313012012-11-07 H.J. Lu <hongjiu.lu@intel.com>
31302
31303 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
31304 * sysdeps/x86/Makefile: Here.
31305 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
31306 * sysdeps/x86/tst-xmmymm.sh: This.
31307
05bcf62a
JM
313082012-11-07 Joseph Myers <joseph@codesourcery.com>
31309
c4b6cf53
JM
31310 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
31311 expectations.
31312 [UNIX98] (pthread_barrier_t): Do not expect.
31313 [UNIX98] (pthread_barrierattr_t): Likewise.
31314 [UNIX98] (pthread_spinlock_t): Likewise.
31315 [UNIX98] (pthread_barrier_destroy): Likewise.
31316 [UNIX98] (pthread_barrier_init): Likewise.
31317 [UNIX98] (pthread_barrier_wait): Likewise.
31318 [UNIX98] (pthread_barrierattr_destroy): Likewise.
31319 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
31320 [UNIX98] (pthread_barrierattr_init): Likewise.
31321 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
31322 [UNIX98] (pthread_getcpuclockid): Likewise.
31323 [UNIX98] (pthread_mutex_timedlock): Likewise.
31324 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
31325 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
31326 [UNIX98] (pthread_sigmask): Likewise.
31327 [UNIX98] (pthread_spin_destroy): Likewise.
31328 [UNIX98] (pthread_spin_init): Likewise.
31329 [UNIX98] (pthread_spin_lock): Likewise.
31330 [UNIX98] (pthread_spin_trylock): Likewise.
31331 [UNIX98] (pthread_spin_unlock): Likewise.
31332 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
31333 Do not expect.
31334 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
31335 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
31336 [XPG3 || XPG4] (pthread_cond_t): Likewise.
31337 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
31338 [XPG3 || XPG4] (pthread_key_t): Likewise.
31339 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
31340 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
31341 [XPG3 || XPG4] (pthread_once_t): Likewise.
31342 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
31343 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
31344 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
31345 [XPG3 || XPG4] (pthread_t): Likewise.
31346
cbe6e120
JM
31347 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
31348 not expect.
31349 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
31350
1b126443
JM
31351 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
31352 Change function return type to int.
31353
b961a573
JM
31354 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
31355 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
31356 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
31357 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
31358 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
31359 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
31360 [!POSIX] (posix_madvise): Likewise.
31361 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
31362 && !UNIX98].
31363 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
31364 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
31365 (mode_t): Likewise.
31366 (posix_mem_offset): Likewise.
31367 (posix_typed_mem_get_info): Likewise.
31368 (posix_typed_mem_open): Likewise.
31369
9e188909
JM
31370 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
31371 Change condition to [XOPEN2K8].
31372
05bcf62a
JM
31373 * conform/conformtest.pl: Preprocess allow-header data with -x c
31374 instead of from stdin.
31375 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
31376 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
31377 [C99-based standards] (cerfc): Likewise.
31378 [C99-based standards] (cexp2): Likewise.
31379 [C99-based standards] (cexpm1): Likewise.
31380 [C99-based standards] (clog10): Likewise.
31381 [C99-based standards] (clog1p): Likewise.
31382 [C99-based standards] (clog2): Likewise.
31383 [C99-based standards] (clgamma): Likewise.
31384 [C99-based standards] (ctgamma): Likewise.
31385 [C99-based standards] (cerff): Likewise.
31386 [C99-based standards] (cerfcf): Likewise.
31387 [C99-based standards] (cexp2f): Likewise.
31388 [C99-based standards] (cexpm1f): Likewise.
31389 [C99-based standards] (clog10f): Likewise.
31390 [C99-based standards] (clog1pf): Likewise.
31391 [C99-based standards] (clog2f): Likewise.
31392 [C99-based standards] (clgammaf): Likewise.
31393 [C99-based standards] (ctgammaf): Likewise.
31394 [C99-based standards] (cerfl): Likewise.
31395 [C99-based standards] (cerfcl): Likewise.
31396 [C99-based standards] (cexp2l): Likewise.
31397 [C99-based standards] (cexpm1l): Likewise.
31398 [C99-based standards] (clog10l): Likewise.
31399 [C99-based standards] (clog1pl): Likewise.
31400 [C99-based standards] (clog2l): Likewise.
31401 [C99-based standards] (clgammal): Likewise.
31402 [C99-based standards] (ctgammal): Likewise.
31403 * conform/data/inttypes.h-data [C99-based standards]: Include
31404 stdint.h-data. Remove all expectations for stdint.h contents.
31405 [C99-based standards] (PRI*): Do not allow.
31406 [C99-based standards] (SCN*): Likewise.
31407 [C99-based standards] (*_t): Likewise.
31408 [C99-based-standards] (PRId8): Expect macro.
31409 [C99-based-standards] (PRIi8): Likewise.
31410 [C99-based-standards] (PRIo8): Likewise.
31411 [C99-based-standards] (PRIu8): Likewise.
31412 [C99-based-standards] (PRIx8): Likewise.
31413 [C99-based-standards] (PRIX8): Likewise.
31414 [C99-based-standards] (SCNd8): Likewise.
31415 [C99-based-standards] (SCNi8): Likewise.
31416 [C99-based-standards] (SCNo8): Likewise.
31417 [C99-based-standards] (SCNu8): Likewise.
31418 [C99-based-standards] (SCNx8): Likewise.
31419 [C99-based-standards] (PRIdLEAST8): Likewise.
31420 [C99-based-standards] (PRIiLEAST8): Likewise.
31421 [C99-based-standards] (PRIoLEAST8): Likewise.
31422 [C99-based-standards] (PRIuLEAST8): Likewise.
31423 [C99-based-standards] (PRIxLEAST8): Likewise.
31424 [C99-based-standards] (PRIXLEAST8): Likewise.
31425 [C99-based-standards] (SCNdLEAST8): Likewise.
31426 [C99-based-standards] (SCNiLEAST8): Likewise.
31427 [C99-based-standards] (SCNoLEAST8): Likewise.
31428 [C99-based-standards] (SCNuLEAST8): Likewise.
31429 [C99-based-standards] (SCNxLEAST8): Likewise.
31430 [C99-based-standards] (PRIdFAST8): Likewise.
31431 [C99-based-standards] (PRIiFAST8): Likewise.
31432 [C99-based-standards] (PRIoFAST8): Likewise.
31433 [C99-based-standards] (PRIuFAST8): Likewise.
31434 [C99-based-standards] (PRIxFAST8): Likewise.
31435 [C99-based-standards] (PRIXFAST8): Likewise.
31436 [C99-based-standards] (SCNdFAST8): Likewise.
31437 [C99-based-standards] (SCNiFAST8): Likewise.
31438 [C99-based-standards] (SCNoFAST8): Likewise.
31439 [C99-based-standards] (SCNuFAST8): Likewise.
31440 [C99-based-standards] (SCNxFAST8): Likewise.
31441 [C99-based-standards] (PRId16): Likewise.
31442 [C99-based-standards] (PRIi16): Likewise.
31443 [C99-based-standards] (PRIo16): Likewise.
31444 [C99-based-standards] (PRIu16): Likewise.
31445 [C99-based-standards] (PRIx16): Likewise.
31446 [C99-based-standards] (PRIX16): Likewise.
31447 [C99-based-standards] (SCNd16): Likewise.
31448 [C99-based-standards] (SCNi16): Likewise.
31449 [C99-based-standards] (SCNo16): Likewise.
31450 [C99-based-standards] (SCNu16): Likewise.
31451 [C99-based-standards] (SCNx16): Likewise.
31452 [C99-based-standards] (PRIdLEAST16): Likewise.
31453 [C99-based-standards] (PRIiLEAST16): Likewise.
31454 [C99-based-standards] (PRIoLEAST16): Likewise.
31455 [C99-based-standards] (PRIuLEAST16): Likewise.
31456 [C99-based-standards] (PRIxLEAST16): Likewise.
31457 [C99-based-standards] (PRIXLEAST16): Likewise.
31458 [C99-based-standards] (SCNdLEAST16): Likewise.
31459 [C99-based-standards] (SCNiLEAST16): Likewise.
31460 [C99-based-standards] (SCNoLEAST16): Likewise.
31461 [C99-based-standards] (SCNuLEAST16): Likewise.
31462 [C99-based-standards] (SCNxLEAST16): Likewise.
31463 [C99-based-standards] (PRIdFAST16): Likewise.
31464 [C99-based-standards] (PRIiFAST16): Likewise.
31465 [C99-based-standards] (PRIoFAST16): Likewise.
31466 [C99-based-standards] (PRIuFAST16): Likewise.
31467 [C99-based-standards] (PRIxFAST16): Likewise.
31468 [C99-based-standards] (PRIXFAST16): Likewise.
31469 [C99-based-standards] (SCNdFAST16): Likewise.
31470 [C99-based-standards] (SCNiFAST16): Likewise.
31471 [C99-based-standards] (SCNoFAST16): Likewise.
31472 [C99-based-standards] (SCNuFAST16): Likewise.
31473 [C99-based-standards] (SCNxFAST16): Likewise.
31474 [C99-based-standards] (PRId32): Likewise.
31475 [C99-based-standards] (PRIi32): Likewise.
31476 [C99-based-standards] (PRIo32): Likewise.
31477 [C99-based-standards] (PRIu32): Likewise.
31478 [C99-based-standards] (PRIx32): Likewise.
31479 [C99-based-standards] (PRIX32): Likewise.
31480 [C99-based-standards] (SCNd32): Likewise.
31481 [C99-based-standards] (SCNi32): Likewise.
31482 [C99-based-standards] (SCNo32): Likewise.
31483 [C99-based-standards] (SCNu32): Likewise.
31484 [C99-based-standards] (SCNx32): Likewise.
31485 [C99-based-standards] (PRIdLEAST32): Likewise.
31486 [C99-based-standards] (PRIiLEAST32): Likewise.
31487 [C99-based-standards] (PRIoLEAST32): Likewise.
31488 [C99-based-standards] (PRIuLEAST32): Likewise.
31489 [C99-based-standards] (PRIxLEAST32): Likewise.
31490 [C99-based-standards] (PRIXLEAST32): Likewise.
31491 [C99-based-standards] (SCNdLEAST32): Likewise.
31492 [C99-based-standards] (SCNiLEAST32): Likewise.
31493 [C99-based-standards] (SCNoLEAST32): Likewise.
31494 [C99-based-standards] (SCNuLEAST32): Likewise.
31495 [C99-based-standards] (SCNxLEAST32): Likewise.
31496 [C99-based-standards] (PRIdFAST32): Likewise.
31497 [C99-based-standards] (PRIiFAST32): Likewise.
31498 [C99-based-standards] (PRIoFAST32): Likewise.
31499 [C99-based-standards] (PRIuFAST32): Likewise.
31500 [C99-based-standards] (PRIxFAST32): Likewise.
31501 [C99-based-standards] (PRIXFAST32): Likewise.
31502 [C99-based-standards] (SCNdFAST32): Likewise.
31503 [C99-based-standards] (SCNiFAST32): Likewise.
31504 [C99-based-standards] (SCNoFAST32): Likewise.
31505 [C99-based-standards] (SCNuFAST32): Likewise.
31506 [C99-based-standards] (SCNxFAST32): Likewise.
31507 [C99-based-standards] (PRId64): Likewise.
31508 [C99-based-standards] (PRIi64): Likewise.
31509 [C99-based-standards] (PRIo64): Likewise.
31510 [C99-based-standards] (PRIu64): Likewise.
31511 [C99-based-standards] (PRIx64): Likewise.
31512 [C99-based-standards] (PRIX64): Likewise.
31513 [C99-based-standards] (SCNd64): Likewise.
31514 [C99-based-standards] (SCNi64): Likewise.
31515 [C99-based-standards] (SCNo64): Likewise.
31516 [C99-based-standards] (SCNu64): Likewise.
31517 [C99-based-standards] (SCNx64): Likewise.
31518 [C99-based-standards] (PRIdLEAST64): Likewise.
31519 [C99-based-standards] (PRIiLEAST64): Likewise.
31520 [C99-based-standards] (PRIoLEAST64): Likewise.
31521 [C99-based-standards] (PRIuLEAST64): Likewise.
31522 [C99-based-standards] (PRIxLEAST64): Likewise.
31523 [C99-based-standards] (PRIXLEAST64): Likewise.
31524 [C99-based-standards] (SCNdLEAST64): Likewise.
31525 [C99-based-standards] (SCNiLEAST64): Likewise.
31526 [C99-based-standards] (SCNoLEAST64): Likewise.
31527 [C99-based-standards] (SCNuLEAST64): Likewise.
31528 [C99-based-standards] (SCNxLEAST64): Likewise.
31529 [C99-based-standards] (PRIdFAST64): Likewise.
31530 [C99-based-standards] (PRIiFAST64): Likewise.
31531 [C99-based-standards] (PRIoFAST64): Likewise.
31532 [C99-based-standards] (PRIuFAST64): Likewise.
31533 [C99-based-standards] (PRIxFAST64): Likewise.
31534 [C99-based-standards] (PRIXFAST64): Likewise.
31535 [C99-based-standards] (SCNdFAST64): Likewise.
31536 [C99-based-standards] (SCNiFAST64): Likewise.
31537 [C99-based-standards] (SCNoFAST64): Likewise.
31538 [C99-based-standards] (SCNuFAST64): Likewise.
31539 [C99-based-standards] (SCNxFAST64): Likewise.
31540 [C99-based-standards] (PRIdMAX): Likewise.
31541 [C99-based-standards] (PRIiMAX): Likewise.
31542 [C99-based-standards] (PRIoMAX): Likewise.
31543 [C99-based-standards] (PRIuMAX): Likewise.
31544 [C99-based-standards] (PRIxMAX): Likewise.
31545 [C99-based-standards] (PRIXMAX): Likewise.
31546 [C99-based-standards] (SCNdMAX): Likewise.
31547 [C99-based-standards] (SCNiMAX): Likewise.
31548 [C99-based-standards] (SCNoMAX): Likewise.
31549 [C99-based-standards] (SCNuMAX): Likewise.
31550 [C99-based-standards] (SCNxMAX): Likewise.
31551 [C99-based-standards] (PRIdPTR): Likewise.
31552 [C99-based-standards] (PRIiPTR): Likewise.
31553 [C99-based-standards] (PRIoPTR): Likewise.
31554 [C99-based-standards] (PRIuPTR): Likewise.
31555 [C99-based-standards] (PRIxPTR): Likewise.
31556 [C99-based-standards] (PRIXPTR): Likewise.
31557 [C99-based-standards] (SCNdPTR): Likewise.
31558 [C99-based-standards] (SCNiPTR): Likewise.
31559 [C99-based-standards] (SCNoPTR): Likewise.
31560 [C99-based-standards] (SCNuPTR): Likewise.
31561 [C99-based-standards] (SCNxPTR): Likewise.
31562 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
31563 allow.
31564 * conform/data/stdint.h-data: Update comments to clarify
31565 requirements.
31566 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
31567 type.
31568 [C99-based standards] (INT8_MAX): Likewise.
31569 [C99-based standards] (INT16_MIN): Likewise.
31570 [C99-based standards] (INT16_MAX): Likewise.
31571 [C99-based standards] (INT32_MIN): Likewise.
31572 [C99-based standards] (INT32_MAX): Likewise.
31573 [C99-based standards] (INT64_MIN): Likewise.
31574 [C99-based standards] (INT64_MAX): Likewise.
31575 [C99-based standards] (UINT8_MAX): Likewise.
31576 [C99-based standards] (UINT16_MAX): Likewise.
31577 [C99-based standards] (UINT32_MAX): Likewise.
31578 [C99-based standards] (UINT64_MAX): Likewise.
31579 [C99-based standards] (INT_LEAST8_MIN): Likewise.
31580 [C99-based standards] (INT_LEAST8_MAX): Likewise.
31581 [C99-based standards] (INT_LEAST16_MIN): Likewise.
31582 [C99-based standards] (INT_LEAST16_MAX): Likewise.
31583 [C99-based standards] (INT_LEAST32_MIN): Likewise.
31584 [C99-based standards] (INT_LEAST32_MAX): Likewise.
31585 [C99-based standards] (INT_LEAST64_MIN): Likewise.
31586 [C99-based standards] (INT_LEAST64_MAX): Likewise.
31587 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
31588 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
31589 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
31590 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
31591 [C99-based standards] (INT_FAST8_MIN): Likewise.
31592 [C99-based standards] (INT_FAST8_MAX): Likewise.
31593 [C99-based standards] (INT_FAST16_MIN): Likewise.
31594 [C99-based standards] (INT_FAST16_MAX): Likewise.
31595 [C99-based standards] (INT_FAST32_MIN): Likewise.
31596 [C99-based standards] (INT_FAST32_MAX): Likewise.
31597 [C99-based standards] (INT_FAST64_MIN): Likewise.
31598 [C99-based standards] (INT_FAST64_MAX): Likewise.
31599 [C99-based standards] (UINT_FAST8_MAX): Likewise.
31600 [C99-based standards] (UINT_FAST16_MAX): Likewise.
31601 [C99-based standards] (UINT_FAST32_MAX): Likewise.
31602 [C99-based standards] (UINT_FAST64_MAX): Likewise.
31603 [C99-based standards] (INTPTR_MIN): Likewise.
31604 [C99-based standards] (INTPTR_MAX): Likewise.
31605 [C99-based standards] (UINTPTR_MAX): Likewise.
31606 [C99-based standards] (INTMAX_MIN): Likewise.
31607 [C99-based standards] (INTMAX_MAX): Likewise.
31608 [C99-based standards] (UINTMAX_MAX): Likewise.
31609 [C99-based standards] (PTRDIFF_MIN): Likewise.
31610 [C99-based standards] (PTRDIFF_MAX): Likewise.
31611 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
31612 [C99-based standards] (SIZE_MAX): Likewise.
31613 [C99-based standards] (WCHAR_MAX): Likewise.
31614 [C99-based standards] (WINT_MAX): Likewise.
31615 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
31616 constraint on value.
31617 [C99-based standards] (WCHAR_MIN): Likewise.
31618 [C99-based standards] (WINT_MIN): Likewise.
31619 [C99-based standards] (*_t): Allow.
31620 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
31621 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
31622 Include math.h-data and complex.h-data. Remove all expectations
31623 of math.h and complex.h contents.
31624 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
31625 at end of line.
31626 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
31627 (struct tm): Expect tag.
31628 [C99-based-standards] (wcstof): Expect function.
31629 [C99-based-standards] (wcstold): Likewise.
31630 [C99-based-standards] (wcstoll): Likewise.
31631 [C99-based-standards] (wcstoull): Likewise.
31632 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
31633 macro-int-constant. Specify type.
31634 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
31635 constraint on value.
31636 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31637 Specify type.
31638 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
31639 Specify value.
31640 [ISO C standards]: Do not allow headers.
31641 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
31642 wcs[abcdefghijklmnopqrstuvwxyz]*.
31643 [ISO C standards] (*_t): Do not allow.
31644 * conform/data/wctype.h-data [C99-based standards] (iswblank):
31645 Expect function.
31646 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
31647 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31648 Specify type.
31649 [ISO C standards]: Do not allow headers.
31650 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
31651 is[abcdefghijklmnopqrstuvwxyz]*.
31652 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
31653 to[abcdefghijklmnopqrstuvwxyz]*.
31654 [ISO C standards] (*_t): Do not allow.
31655 * conform/data/stdalign.h-data: New file.
31656 * conform/data/stdbool.h-data: Likewise.
31657 * conform/data/stdnoreturn.h-data: Likewise.
31658
7514feb8
RM
316592012-11-07 Roland McGrath <roland@hack.frob.com>
31660
31661 [BZ #14815]
31662 * manual/filesys.texi (Directory Entries): Typo fix.
31663 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
31664
19b2ecfc
MS
316652012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31666
31667 * elf/elf.h (EM_AARCH64): New macro.
31668 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
31669 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
31670 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
31671 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
31672 (R_AARCH64_TLSDESC): Likewise.
31673 (NT_ARM_TLS): Likewise.
31674 (NT_ARM_HW_BREAK): Likewise.
31675 (NT_ARM_HW_WATCH): Likewise.
31676
60e235ee
JM
316772012-11-07 Joseph Myers <joseph@codesourcery.com>
31678
31679 [BZ #14811]
31680 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
31681 (__ieee754_powl): Saturate nonzero exponents with absolute value
31682 below 0x1p-79 to +/- 0x1p-79.
31683 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
31684 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
31685 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
31686 nonzero exponents with absolute value below 0x1p-32 to +/-
31687 0x1p-32.
31688 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
31689 (__ieee754_powl): Saturate nonzero exponents with absolute value
31690 below 0x1p-79 to +/- 0x1p-79.
31691 * math/libm-test.inc (pow_test): Add more tests.
31692
0ab234b7
AK
316932012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31694
31695 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
31696 _dl_s390_cap_flags with kernel. Increase string length.
31697 (_dl_s390_platforms): Add z196 and zEC12.
31698
45832f74
JM
316992012-11-07 Joseph Myers <joseph@codesourcery.com>
31700
31701 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
31702 Change XOPEN21K to XOPEN2K.
31703
19218757
MK
317042012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
31705
31706 * string/memmove.c: Use memcpy when possible.
31707
c5f45721
AJ
317082012-11-06 Andreas Jaeger <aj@suse.de>
31709
31710 * po/eo.po: Update from translation team.
31711
82477c28
JM
317122012-11-06 Joseph Myers <joseph@codesourcery.com>
31713
31714 [BZ #14793]
31715 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
31716 exponent and small x and y exponents, scale x or y up. Increase
31717 by 2 the exponent used in scaling up.
31718 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31719 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31720 * math/libm-test.inc (fma_test): Add more tests.
31721 (fma_test_towardzero): Likewise.
31722 (fma_test_downward): Likewise.
31723 (fma_test_upward): Likewise.
31724
99252c8c
JM
317252012-11-05 Joseph Myers <joseph@codesourcery.com>
31726
acfa885f
JM
31727 [BZ #14805]
31728 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
31729 fenv_t *.
31730
99252c8c
JM
31731 [BZ #14801]
31732 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
31733 namespace for names of struct fields.
31734 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
31735 fenv_t fields.
31736 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
31737 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
31738
d6d98dea
ST
317392012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31740
31741 [BZ #3665]
31742 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
31743
e10bb107
TS
317442012-11-04 Thomas Schwinge <thomas@codesourcery.com>
31745
31746 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
31747 PTR_DEMANGLE.
31748
31749 [BZ #5246]
31750 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
31751 PTR_DEMANGLE.
31752
a0c2940d
JM
317532012-11-04 Joseph Myers <joseph@codesourcery.com>
31754
31755 [BZ #14797]
31756 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
31757 definitely overflow as x * y not x * y + z.
31758 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31759 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31760 * math/libm-test.inc (fma_test): Add more tests.
31761 (fma_test_towardzero): Likewise.
31762 (fma_test_downward): Likewise.
31763 (fma_test_upward): Likewise.
31764
b830319d
TS
317652012-11-04 Thomas Schwinge <thomas@codesourcery.com>
31766
31767 [BZ #157]
31768
31769 * include/stub-tag.h: Remove file.
31770 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
31771 '#include' of it.
31772 * manual/maint.texi (Porting): Don't reference it.
31773 * Makerules ($(objpfx)stubs): Likewise.
31774 * dirent/closedir.c: Don't include <stub-tag.h>.
31775 * dirent/dirfd.c: Likewise.
31776 * dirent/fdopendir.c: Likewise.
31777 * dirent/getdents.c: Likewise.
31778 * dirent/getdents64.c: Likewise.
31779 * dirent/opendir.c: Likewise.
31780 * dirent/readdir.c: Likewise.
31781 * dirent/readdir64.c: Likewise.
31782 * dirent/readdir64_r.c: Likewise.
31783 * dirent/readdir_r.c: Likewise.
31784 * dirent/rewinddir.c: Likewise.
31785 * dirent/seekdir.c: Likewise.
31786 * dirent/telldir.c: Likewise.
31787 * gmon/profil.c: Likewise.
31788 * grp/setgroups.c: Likewise.
31789 * inet/if_index.c: Likewise.
31790 * io/access.c: Likewise.
31791 * io/chdir.c: Likewise.
31792 * io/chmod.c: Likewise.
31793 * io/chown.c: Likewise.
31794 * io/close.c: Likewise.
31795 * io/dup.c: Likewise.
31796 * io/dup2.c: Likewise.
31797 * io/dup3.c: Likewise.
31798 * io/euidaccess.c: Likewise.
31799 * io/faccessat.c: Likewise.
31800 * io/fchdir.c: Likewise.
31801 * io/fchmod.c: Likewise.
31802 * io/fchmodat.c: Likewise.
31803 * io/fchown.c: Likewise.
31804 * io/fchownat.c: Likewise.
31805 * io/fcntl.c: Likewise.
31806 * io/flock.c: Likewise.
31807 * io/fstatfs.c: Likewise.
31808 * io/fstatfs64.c: Likewise.
31809 * io/fstatvfs.c: Likewise.
31810 * io/fstatvfs64.c: Likewise.
31811 * io/futimens.c: Likewise.
31812 * io/fxstat.c: Likewise.
31813 * io/fxstat64.c: Likewise.
31814 * io/fxstatat.c: Likewise.
31815 * io/fxstatat64.c: Likewise.
31816 * io/getcwd.c: Likewise.
31817 * io/isatty.c: Likewise.
31818 * io/lchmod.c: Likewise.
31819 * io/lchown.c: Likewise.
31820 * io/link.c: Likewise.
31821 * io/linkat.c: Likewise.
31822 * io/lseek.c: Likewise.
31823 * io/lseek64.c: Likewise.
31824 * io/lxstat64.c: Likewise.
31825 * io/mkdir.c: Likewise.
31826 * io/mkdirat.c: Likewise.
31827 * io/mkfifo.c: Likewise.
31828 * io/mkfifoat.c: Likewise.
31829 * io/open.c: Likewise.
31830 * io/open64.c: Likewise.
31831 * io/openat.c: Likewise.
31832 * io/openat64.c: Likewise.
31833 * io/pipe.c: Likewise.
31834 * io/pipe2.c: Likewise.
31835 * io/poll.c: Likewise.
31836 * io/posix_fadvise.c: Likewise.
31837 * io/posix_fadvise64.c: Likewise.
31838 * io/posix_fallocate.c: Likewise.
31839 * io/posix_fallocate64.c: Likewise.
31840 * io/read.c: Likewise.
31841 * io/readlink.c: Likewise.
31842 * io/readlinkat.c: Likewise.
31843 * io/rmdir.c: Likewise.
31844 * io/sendfile.c: Likewise.
31845 * io/sendfile64.c: Likewise.
31846 * io/statfs.c: Likewise.
31847 * io/statfs64.c: Likewise.
31848 * io/statvfs.c: Likewise.
31849 * io/statvfs64.c: Likewise.
31850 * io/symlink.c: Likewise.
31851 * io/symlinkat.c: Likewise.
31852 * io/ttyname.c: Likewise.
31853 * io/ttyname_r.c: Likewise.
31854 * io/umask.c: Likewise.
31855 * io/unlink.c: Likewise.
31856 * io/unlinkat.c: Likewise.
31857 * io/utime.c: Likewise.
31858 * io/utimensat.c: Likewise.
31859 * io/write.c: Likewise.
31860 * io/xmknod.c: Likewise.
31861 * io/xmknodat.c: Likewise.
31862 * io/xstat.c: Likewise.
31863 * io/xstat64.c: Likewise.
31864 * login/getpt.c: Likewise.
31865 * login/grantpt.c: Likewise.
31866 * login/unlockpt.c: Likewise.
31867 * math/e_acoshl.c: Likewise.
31868 * math/e_acosl.c: Likewise.
31869 * math/e_asinl.c: Likewise.
31870 * math/e_atan2l.c: Likewise.
31871 * math/e_atanhl.c: Likewise.
31872 * math/e_coshl.c: Likewise.
31873 * math/e_expl.c: Likewise.
31874 * math/e_fmodl.c: Likewise.
31875 * math/e_gammal_r.c: Likewise.
31876 * math/e_hypotl.c: Likewise.
31877 * math/e_j0l.c: Likewise.
31878 * math/e_j1l.c: Likewise.
31879 * math/e_jnl.c: Likewise.
31880 * math/e_lgammal_r.c: Likewise.
31881 * math/e_log10l.c: Likewise.
31882 * math/e_log2l.c: Likewise.
31883 * math/e_logl.c: Likewise.
31884 * math/e_powl.c: Likewise.
31885 * math/e_rem_pio2l.c: Likewise.
31886 * math/e_sinhl.c: Likewise.
31887 * math/e_sqrtl.c: Likewise.
31888 * math/fclrexcpt.c: Likewise.
31889 * math/fedisblxcpt.c: Likewise.
31890 * math/feenablxcpt.c: Likewise.
31891 * math/fegetenv.c: Likewise.
31892 * math/fegetexcept.c: Likewise.
31893 * math/fegetround.c: Likewise.
31894 * math/feholdexcpt.c: Likewise.
31895 * math/fesetenv.c: Likewise.
31896 * math/fesetround.c: Likewise.
31897 * math/feupdateenv.c: Likewise.
31898 * math/fgetexcptflg.c: Likewise.
31899 * math/fraiseexcpt.c: Likewise.
31900 * math/fsetexcptflg.c: Likewise.
31901 * math/ftestexcept.c: Likewise.
31902 * math/k_cosl.c: Likewise.
31903 * math/k_rem_pio2l.c: Likewise.
31904 * math/k_sinl.c: Likewise.
31905 * math/k_tanl.c: Likewise.
31906 * math/s_asinhl.c: Likewise.
31907 * math/s_atanl.c: Likewise.
31908 * math/s_cbrtl.c: Likewise.
31909 * math/s_erfl.c: Likewise.
31910 * math/s_expm1l.c: Likewise.
31911 * math/s_log1pl.c: Likewise.
31912 * math/s_tanhl.c: Likewise.
31913 * misc/acct.c: Likewise.
31914 * misc/brk.c: Likewise.
31915 * misc/chflags.c: Likewise.
31916 * misc/chroot.c: Likewise.
31917 * misc/fchflags.c: Likewise.
31918 * misc/fgetxattr.c: Likewise.
31919 * misc/flistxattr.c: Likewise.
31920 * misc/fremovexattr.c: Likewise.
31921 * misc/fsetxattr.c: Likewise.
31922 * misc/fsync.c: Likewise.
31923 * misc/ftruncate.c: Likewise.
31924 * misc/futimes.c: Likewise.
31925 * misc/futimesat.c: Likewise.
31926 * misc/getdomain.c: Likewise.
31927 * misc/getdtsz.c: Likewise.
31928 * misc/gethostid.c: Likewise.
31929 * misc/gethostname.c: Likewise.
31930 * misc/getloadavg.c: Likewise.
31931 * misc/getpagesize.c: Likewise.
31932 * misc/getsysstats.c: Likewise.
31933 * misc/getxattr.c: Likewise.
31934 * misc/gtty.c: Likewise.
31935 * misc/ioctl.c: Likewise.
31936 * misc/lgetxattr.c: Likewise.
31937 * misc/listxattr.c: Likewise.
31938 * misc/llistxattr.c: Likewise.
31939 * misc/lremovexattr.c: Likewise.
31940 * misc/lsetxattr.c: Likewise.
31941 * misc/lutimes.c: Likewise.
31942 * misc/madvise.c: Likewise.
31943 * misc/mincore.c: Likewise.
31944 * misc/mlock.c: Likewise.
31945 * misc/mlockall.c: Likewise.
31946 * misc/mmap.c: Likewise.
31947 * misc/mprotect.c: Likewise.
31948 * misc/msync.c: Likewise.
31949 * misc/munlock.c: Likewise.
31950 * misc/munlockall.c: Likewise.
31951 * misc/munmap.c: Likewise.
31952 * misc/preadv.c: Likewise.
31953 * misc/preadv64.c: Likewise.
31954 * misc/ptrace.c: Likewise.
31955 * misc/pwritev.c: Likewise.
31956 * misc/pwritev64.c: Likewise.
31957 * misc/readv.c: Likewise.
31958 * misc/reboot.c: Likewise.
31959 * misc/remap_file_pages.c: Likewise.
31960 * misc/removexattr.c: Likewise.
31961 * misc/revoke.c: Likewise.
31962 * misc/select.c: Likewise.
31963 * misc/setdomain.c: Likewise.
31964 * misc/setegid.c: Likewise.
31965 * misc/seteuid.c: Likewise.
31966 * misc/sethostid.c: Likewise.
31967 * misc/sethostname.c: Likewise.
31968 * misc/setregid.c: Likewise.
31969 * misc/setreuid.c: Likewise.
31970 * misc/setxattr.c: Likewise.
31971 * misc/sstk.c: Likewise.
31972 * misc/stty.c: Likewise.
31973 * misc/swapoff.c: Likewise.
31974 * misc/swapon.c: Likewise.
31975 * misc/sync.c: Likewise.
31976 * misc/syncfs.c: Likewise.
31977 * misc/syscall.c: Likewise.
31978 * misc/truncate.c: Likewise.
31979 * misc/ualarm.c: Likewise.
31980 * misc/usleep.c: Likewise.
31981 * misc/ustat.c: Likewise.
31982 * misc/utimes.c: Likewise.
31983 * misc/vhangup.c: Likewise.
31984 * misc/writev.c: Likewise.
31985 * posix/_exit.c: Likewise.
31986 * posix/alarm.c: Likewise.
31987 * posix/execve.c: Likewise.
31988 * posix/fexecve.c: Likewise.
31989 * posix/fork.c: Likewise.
31990 * posix/fpathconf.c: Likewise.
31991 * posix/getaddrinfo.c: Likewise.
31992 * posix/getegid.c: Likewise.
31993 * posix/geteuid.c: Likewise.
31994 * posix/getgid.c: Likewise.
31995 * posix/getgroups.c: Likewise.
31996 * posix/getlogin.c: Likewise.
31997 * posix/getlogin_r.c: Likewise.
31998 * posix/getpgid.c: Likewise.
31999 * posix/getpid.c: Likewise.
32000 * posix/getppid.c: Likewise.
32001 * posix/getresgid.c: Likewise.
32002 * posix/getresuid.c: Likewise.
32003 * posix/getsid.c: Likewise.
32004 * posix/getuid.c: Likewise.
32005 * posix/glob64.c: Likewise.
32006 * posix/nanosleep.c: Likewise.
32007 * posix/pathconf.c: Likewise.
32008 * posix/pause.c: Likewise.
32009 * posix/posix_madvise.c: Likewise.
32010 * posix/pread.c: Likewise.
32011 * posix/pread64.c: Likewise.
32012 * posix/pwrite.c: Likewise.
32013 * posix/pwrite64.c: Likewise.
32014 * posix/sched_getaffinity.c: Likewise.
32015 * posix/sched_getp.c: Likewise.
32016 * posix/sched_gets.c: Likewise.
32017 * posix/sched_primax.c: Likewise.
32018 * posix/sched_primin.c: Likewise.
32019 * posix/sched_rr_gi.c: Likewise.
32020 * posix/sched_setaffinity.c: Likewise.
32021 * posix/sched_setp.c: Likewise.
32022 * posix/sched_sets.c: Likewise.
32023 * posix/sched_yield.c: Likewise.
32024 * posix/setgid.c: Likewise.
32025 * posix/setlogin.c: Likewise.
32026 * posix/setpgid.c: Likewise.
32027 * posix/setresgid.c: Likewise.
32028 * posix/setresuid.c: Likewise.
32029 * posix/setsid.c: Likewise.
32030 * posix/setuid.c: Likewise.
32031 * posix/sleep.c: Likewise.
32032 * posix/spawni.c: Likewise.
32033 * posix/sysconf.c: Likewise.
32034 * posix/times.c: Likewise.
32035 * posix/wait.c: Likewise.
32036 * posix/wait3.c: Likewise.
32037 * posix/wait4.c: Likewise.
32038 * posix/waitpid.c: Likewise.
32039 * resolv/gai_sigqueue.c: Likewise.
32040 * resource/getpriority.c: Likewise.
32041 * resource/getrlimit.c: Likewise.
32042 * resource/getrusage.c: Likewise.
32043 * resource/nice.c: Likewise.
32044 * resource/setpriority.c: Likewise.
32045 * resource/setrlimit.c: Likewise.
32046 * resource/ulimit.c: Likewise.
32047 * rt/aio_cancel.c: Likewise.
32048 * rt/aio_fsync.c: Likewise.
32049 * rt/aio_read.c: Likewise.
32050 * rt/aio_sigqueue.c: Likewise.
32051 * rt/aio_suspend.c: Likewise.
32052 * rt/aio_write.c: Likewise.
32053 * rt/clock_getres.c: Likewise.
32054 * rt/clock_gettime.c: Likewise.
32055 * rt/clock_nanosleep.c: Likewise.
32056 * rt/clock_settime.c: Likewise.
32057 * rt/lio_listio.c: Likewise.
32058 * rt/mq_close.c: Likewise.
32059 * rt/mq_getattr.c: Likewise.
32060 * rt/mq_notify.c: Likewise.
32061 * rt/mq_open.c: Likewise.
32062 * rt/mq_receive.c: Likewise.
32063 * rt/mq_send.c: Likewise.
32064 * rt/mq_setattr.c: Likewise.
32065 * rt/mq_timedreceive.c: Likewise.
32066 * rt/mq_timedsend.c: Likewise.
32067 * rt/mq_unlink.c: Likewise.
32068 * rt/shm_open.c: Likewise.
32069 * rt/shm_unlink.c: Likewise.
32070 * rt/timer_create.c: Likewise.
32071 * rt/timer_delete.c: Likewise.
32072 * rt/timer_getoverr.c: Likewise.
32073 * rt/timer_gettime.c: Likewise.
32074 * rt/timer_settime.c: Likewise.
32075 * setjmp/__longjmp.c: Likewise.
32076 * setjmp/setjmp.c: Likewise.
32077 * signal/kill.c: Likewise.
32078 * signal/killpg.c: Likewise.
32079 * signal/raise.c: Likewise.
32080 * signal/sigaction.c: Likewise.
32081 * signal/sigaltstack.c: Likewise.
32082 * signal/sigblock.c: Likewise.
32083 * signal/sigignore.c: Likewise.
32084 * signal/sigintr.c: Likewise.
32085 * signal/signal.c: Likewise.
32086 * signal/sigpause.c: Likewise.
32087 * signal/sigpending.c: Likewise.
32088 * signal/sigqueue.c: Likewise.
32089 * signal/sigreturn.c: Likewise.
32090 * signal/sigset.c: Likewise.
32091 * signal/sigsetmask.c: Likewise.
32092 * signal/sigstack.c: Likewise.
32093 * signal/sigsuspend.c: Likewise.
32094 * signal/sigtimedwait.c: Likewise.
32095 * signal/sigvec.c: Likewise.
32096 * signal/sigwait.c: Likewise.
32097 * signal/sigwaitinfo.c: Likewise.
32098 * signal/sysv_signal.c: Likewise.
32099 * socket/accept.c: Likewise.
32100 * socket/accept4.c: Likewise.
32101 * socket/bind.c: Likewise.
32102 * socket/connect.c: Likewise.
32103 * socket/getpeername.c: Likewise.
32104 * socket/getsockname.c: Likewise.
32105 * socket/getsockopt.c: Likewise.
32106 * socket/isfdtype.c: Likewise.
32107 * socket/listen.c: Likewise.
32108 * socket/recv.c: Likewise.
32109 * socket/recvfrom.c: Likewise.
32110 * socket/recvmsg.c: Likewise.
32111 * socket/send.c: Likewise.
32112 * socket/sendmsg.c: Likewise.
32113 * socket/sendto.c: Likewise.
32114 * socket/setsockopt.c: Likewise.
32115 * socket/shutdown.c: Likewise.
32116 * socket/sockatmark.c: Likewise.
32117 * socket/socket.c: Likewise.
32118 * socket/socketpair.c: Likewise.
32119 * stdio-common/ctermid.c: Likewise.
32120 * stdio-common/cuserid.c: Likewise.
32121 * stdio-common/remove.c: Likewise.
32122 * stdio-common/rename.c: Likewise.
32123 * stdio-common/renameat.c: Likewise.
32124 * stdio-common/tempname.c: Likewise.
32125 * stdlib/getcontext.c: Likewise.
32126 * stdlib/makecontext.c: Likewise.
32127 * stdlib/setcontext.c: Likewise.
32128 * stdlib/swapcontext.c: Likewise.
32129 * stdlib/system.c: Likewise.
32130 * streams/fattach.c: Likewise.
32131 * streams/fdetach.c: Likewise.
32132 * streams/getmsg.c: Likewise.
32133 * streams/getpmsg.c: Likewise.
32134 * streams/putmsg.c: Likewise.
32135 * streams/putpmsg.c: Likewise.
32136 * sysdeps/unix/bsd/getpt.c: Likewise.
32137 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32138 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32139 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32141 Likewise.
32142 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32143 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32144 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32145 * sysvipc/msgctl.c: Likewise.
32146 * sysvipc/msgget.c: Likewise.
32147 * sysvipc/msgrcv.c: Likewise.
32148 * sysvipc/msgsnd.c: Likewise.
32149 * sysvipc/semctl.c: Likewise.
32150 * sysvipc/semget.c: Likewise.
32151 * sysvipc/semop.c: Likewise.
32152 * sysvipc/semtimedop.c: Likewise.
32153 * sysvipc/shmat.c: Likewise.
32154 * sysvipc/shmctl.c: Likewise.
32155 * sysvipc/shmdt.c: Likewise.
32156 * sysvipc/shmget.c: Likewise.
32157 * termios/tcdrain.c: Likewise.
32158 * termios/tcflow.c: Likewise.
32159 * termios/tcflush.c: Likewise.
32160 * termios/tcgetattr.c: Likewise.
32161 * termios/tcgetpgrp.c: Likewise.
32162 * termios/tcsendbrk.c: Likewise.
32163 * termios/tcsetattr.c: Likewise.
32164 * termios/tcsetpgrp.c: Likewise.
32165 * time/adjtime.c: Likewise.
32166 * time/clock.c: Likewise.
32167 * time/getitimer.c: Likewise.
32168 * time/gettimeofday.c: Likewise.
32169 * time/setitimer.c: Likewise.
32170 * time/settimeofday.c: Likewise.
32171 * time/stime.c: Likewise.
32172 * time/time.c: Likewise.
32173
321742012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 32175
a20492cf
PT
32176 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
32177 /usr/old/bin.
32178
72e182e3
PT
32179 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
32180 instead of spaces.
32181 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
32182
fbeafede
JM
321832012-11-03 Joseph Myers <joseph@codesourcery.com>
32184
5b5b04d6
JM
32185 [BZ #14796]
32186 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
32187 FE_TONEAREST before applying Dekker multiplication and Knuth
32188 addition. Clear inexact exceptions and check for exact zero
32189 results afterwards.
32190 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32191 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32192 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32193 * math/libm-test.inc (fma_test): Add more tests.
32194 (fma_test_towardzero): Likewise.
32195 (fma_test_downward): Likewise.
32196 (fma_test_upward): Likewise.
32197 * sysdeps/generic/math_private.h (default_libc_fesetround): New
32198 function.
32199 (libc_fesetround): New macro.
32200 (libc_fesetroundf): Likewise.
32201 (libc_fesetroundl): Likewise.
32202 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
32203 function.
32204 (libc_fesetround_387): Likewise.
32205 (libc_fesetroundf): New macro.
32206 (libc_fesetround): Likewise.
32207 (libc_fesetroundl): Likewise.
32208 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
32209 function.
32210 (libc_fesetroundf): New macro.
32211 (libc_fesetround): Likewise.
32212 (libc_fesetroundl): Likewise.
32213 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32214 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
32215 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
32216 libm_hidden_ver.
32217 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
32218 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
32219 libm_hidden_def.
32220 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
32221 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
32222 libm_hidden_ver.
32223 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
32224 libm_hidden_def.
32225
fbeafede
JM
32226 [BZ #3439]
32227 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
32228 integer constant usable in #if and use that to give value to enum
32229 constant.
32230 (FE_DIVBYZERO): Likewise.
32231 (FE_UNDERFLOW): Likewise.
32232 (FE_OVERFLOW): Likewise.
32233 (FE_INVALID): Likewise.
32234 (FE_INVALID_SNAN): Likewise.
32235 (FE_INVALID_ISI): Likewise.
32236 (FE_INVALID_IDI): Likewise.
32237 (FE_INVALID_ZDZ): Likewise.
32238 (FE_INVALID_IMZ): Likewise.
32239 (FE_INVALID_COMPARE): Likewise.
32240 (FE_INVALID_SOFTWARE): Likewise.
32241 (FE_INVALID_SQRT): Likewise.
32242 (FE_INVALID_INTEGER_CONVERSION): Likewise.
32243 (FE_TONEAREST): Likewise.
32244 (FE_TOWARDZERO): Likewise.
32245 (FE_UPWARD): Likewise.
32246 (FE_DOWNWARD): Likewise.
32247 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
32248 (FE_DIVBYZERO): Likewise.
32249 (FE_OVERFLOW): Likewise.
32250 (FE_UNDERFLOW): Likewise.
32251 (FE_INEXACT): Likewise.
32252 (FE_TONEAREST): Likewise.
32253 (FE_DOWNWARD): Likewise.
32254 (FE_UPWARD): Likewise.
32255 (FE_TOWARDZERO): Likewise.
32256 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
32257 (FE_UNDERFLOW): Likewise.
32258 (FE_OVERFLOW): Likewise.
32259 (FE_DIVBYZERO): Likewise.
32260 (FE_INVALID): Likewise.
32261 (FE_TONEAREST): Likewise.
32262 (FE_TOWARDZERO): Likewise.
32263 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
32264 (FE_OVERFLOW): Likewise.
32265 (FE_UNDERFLOW): Likewise.
32266 (FE_DIVBYZERO): Likewise.
32267 (FE_INEXACT): Likewise.
32268 (FE_TONEAREST): Likewise.
32269 (FE_TOWARDZERO): Likewise.
32270 (FE_UPWARD): Likewise.
32271 (FE_DOWNWARD): Likewise.
32272 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
32273 (FE_DIVBYZERO): Likewise.
32274 (FE_OVERFLOW): Likewise.
32275 (FE_UNDERFLOW): Likewise.
32276 (FE_INEXACT): Likewise.
32277 (FE_TONEAREST): Likewise.
32278 (FE_DOWNWARD): Likewise.
32279 (FE_UPWARD): Likewise.
32280 (FE_TOWARDZERO): Likewise.
32281
105ca950
CM
322822012-11-02 Chris Metcalf <cmetcalf@tilera.com>
32283
32284 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
32285
a542b389
AS
322862012-11-03 Andreas Schwab <schwab@linux-m68k.org>
32287
32288 * scripts/cross-test-ssh.sh (command): Use newlines to separate
32289 commands. Quote $PWD.
32290 (blacklist_exports): Don't use remove_newlines. Replace "declare
32291 -x" by "export".
32292 (remove_newlines): Remove.
32293
f62c8abc
L
322942012-11-02 H.J. Lu <hongjiu.lu@intel.com>
32295
32296 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
32297 * stdlib/stdlib.h (atof): Moved to ...
32298 * include/bits/stdlib-float.h: Here. New file.
32299 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
32300 * stdlib/bits/stdlib-float.h: New file.
32301 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
32302 -mno-sse -mno-mmx.
32303 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
32304 <xmmintrin.h>.
32305
0155d5b2
JM
323062012-11-02 Joseph Myers <joseph@codesourcery.com>
32307
a68d0680
JM
32308 * conform/conformtest.pl (@headers): Add fenv.h.
32309 * conform/data/fenv.h-data: New file.
32310 * include/fenv.h [_ISOMAC]: Disable all contents of file except
32311 include of <math/fenv.h>.
32312
caf7f573
JM
32313 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
32314 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
32315 && !UNIX98]. Enables tests for XOPEN2K8.
32316 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
32317 POSIX2008]: Likewise.
32318
6c073ad6
JM
32319 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
32320 (struct rusage): Do not expect type or its members.
32321
0155d5b2
JM
32322 [BZ #3439]
32323 * math/math.h (FP_NAN): Define macro to integer constant usable in
32324 #if and use that to give value to enum constant.
32325 (FP_INFINITE): Likewise.
32326 (FP_ZERO): Likewise.
32327 (FP_SUBNORMAL): Likewise.
32328 (FP_NORMAL): Likewise.
32329
b5dcacb4
AS
323302012-11-02 Andreas Schwab <schwab@linux-m68k.org>
32331
32332 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
32333 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
32334 arguments.
32335
f7934be8
RM
323362012-11-02 Roland McGrath <roland@hack.frob.com>
32337
32338 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
32339 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
32340 autoconf-time if not.
32341 * configure.in: Remove AC_PREREQ.
32342
d7d08bde
TMQMF
323432012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32344
32345 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
32346 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
32347 of the internal implementation.
32348
dcdae19a
JM
323492012-11-02 Joseph Myers <joseph@codesourcery.com>
32350
32351 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
32352 except include of <misc/sys/syslog.h>.
32353
d6cffd3e
AS
323542012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32355
32356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
32357 function returns with a NULL context exit with zero.
32358
b3563932
TMQMF
323592012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32360
32361 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
32362
b288a93d
L
323632012-11-01 H.J. Lu <hongjiu.lu@intel.com>
32364
32365 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
32366 (run_program_cmd): This.
32367 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
32368 (tst_langinfo): New variable. Use it.
32369
a2421a68
SAS
323702012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
32371
32372 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
32373 floating point opcodes.
32374
6f796e1b
TS
323752012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32376
7402596b
TS
32377 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
32378 variable.
32379
d0d4f868
TS
32380 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
32381
6f796e1b
TS
32382 * sysdeps/mach/hurd/powerpc: Remove directory.
32383 * sysdeps/mach/powerpc: Likewise.
32384
4da224a2
AS
323852012-11-01 Andreas Schwab <schwab@linux-m68k.org>
32386
32387 * scripts/check-local-headers.sh: Ignore c++ headers.
32388
341dd673
TS
323892012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32390
32391 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
32392 __libc_cleanup_region_start argument.
32393
473611b2
JM
323942012-11-01 Joseph Myers <joseph@codesourcery.com>
32395
32396 [BZ #14784]
32397 [BZ #14785]
32398 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
32399 x * y using scaling, not as x * y + z.
32400 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32401 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32402 * math/libm-test.inc (fma_test): Add more tests.
32403 (fma_test_towardzero): Likewise.
32404 (fma_test_downward): Likewise.
32405 (fma_test_upward): Likewise.
32406
4078da3d
TS
324072012-11-01 Thomas Schwinge <thomas@codesourcery.com>
32408
32409 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
32410
903252aa
JM
324112012-10-31 Joseph Myers <joseph@codesourcery.com>
32412
32413 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
32414 New variable.
32415
cbc818d0
TS
324162012-10-31 Thomas Schwinge <thomas@codesourcery.com>
32417
32418 * rt/tst-shm.c (worker): Correct checking for mmap failure.
32419
5a03cb1e
AS
324202012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32421
32422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32423 Fix sort order.
32424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32425 Likewise.
32426
90aff2ff
TMQMF
324272012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32428
32429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32430 Fix the order of the list for glibc 2.17.
32431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32432 Likewise.
32433
1818fcb7
AS
324342012-10-31 Andreas Schwab <schwab@linux-m68k.org>
32435
32436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32437
ef82f4da
JM
324382012-10-31 Joseph Myers <joseph@codesourcery.com>
32439
16a0e2ec
JM
32440 [BZ #14610]
32441 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
32442 for low part of x being zero before using __atanl (y).
32443 * math/libm-test.inc (atan2_test): Add another test.
32444
0eb69512
JM
32445 * manual/install.texi (Configuring and compiling): Document
32446 general use of test-wrapper and test-wrapper-env.
32447 * INSTALL: Regenerated.
32448
ef82f4da
JM
32449 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
32450 (__fma): Do not extract and scale down low bits on after-rounding
32451 systems when result rounded to normal precision would have normal
32452 exponent.
32453 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
32454 (__fmal): Do not extract and scale down low bits on after-rounding
32455 systems when result rounded to normal precision would have normal
32456 exponent.
32457 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
32458 (__fmal): Do not extract and scale down low bits on after-rounding
32459 systems when result rounded to normal precision would have normal
32460 exponent.
32461 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
32462 macro.
32463 (fma_test): Add more tests.
32464 (fma_test_towardzero): Likewise.
32465 (fma_test_downward): Likewise.
32466 (fma_test_upward): Likewise.
32467
954ef0d9
L
324682012-10-30 H.J. Lu <hongjiu.lu@intel.com>
32469
32470 * sysdeps/i386/tininess.h: Renamed to ...
32471 * sysdeps/x86/tininess.h: This.
32472 * sysdeps/x86_64/tininess.h: Removed.
32473
df61ffb2
JM
324742012-10-30 Joseph Myers <joseph@codesourcery.com>
32475
32476 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
32477 input. Use $(build-program-cmd).
32478 ($(objpfx)tst-array1-static.out): Likewise.
32479 ($(objpfx)tst-array2.out): Likewise.
32480 ($(objpfx)tst-array3.out): Likewise.
32481 ($(objpfx)tst-array4.out): Likewise.
32482 ($(objpfx)tst-array5.out): Likewise.
32483 ($(objpfx)tst-array5-static.out): Likewise.
32484
01767843
CM
324852012-10-30 Chris Metcalf <cmetcalf@tilera.com>
32486
47cc1490
CM
32487 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
32488 if defined.
32489
01767843
CM
32490 * nss/nsswitch.h (nss_interface_function): Provide new
32491 macro for use with NSS functions.
32492 * grp/initgroups.c: Use new macro.
32493 * nss/getXXbyYY.c: Likewise.
32494 * nss/getXXbyYY_r.c: Likewise.
32495 * nss/getXXent.c: Likewise.
32496 * nss/getXXent_r.c: Likewise.
32497 * sysdeps/posix/getaddrinfo.c: Likewise.
32498
8321aa97
AJ
324992012-10-30 Andreas Jaeger <aj@suse.de>
32500
32501 * po/ru.po: Update Russion translation from translation project.
32502
2a27fd6d
JM
325032012-10-30 Joseph Myers <joseph@codesourcery.com>
32504
8627a232
JM
32505 [BZ #14152]
32506 [BZ #14783]
32507 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
32508 result and shift together with sticky bit instead of replicating
32509 round-to-nearest rounding.
32510 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32511 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32512 * math/libm-test.inc (fma_test): Add more tests. Do not permit
32513 missing underflow exceptions.
32514 (fma_test_towardzero): Add more tests.
32515 (fma_test_downward): Likewise.
32516 (fma_test_upward): Likewise.
32517
2a27fd6d
JM
32518 [BZ #14047]
32519 * sysdeps/generic/tininess.h: New file.
32520 * sysdeps/i386/tininess.h: Likewise.
32521 * sysdeps/sh/tininess.h: Likewise.
32522 * sysdeps/x86_64/tininess.h: Likewise.
32523 * stdlib/tst-strtod-underflow.c: Likewise.
32524 * stdlib/tst-tininess.c: Likewise.
32525 * stdlib/strtod_l.c: Include <tininess.h>.
32526 (round_and_return): Do not set errno for exact underflow cases.
32527 Force an underflow exception when setting errno for underflow.
32528 Determine underflow based on rounding to normal precision if
32529 TININESS_AFTER_ROUNDING.
32530 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
32531 ERANGE for exact underflow cases.
32532 * stdlib/Makefile (tests): Add tst-tininess and
32533 tst-strtod-underflow.
32534 ($(objpfx)tst-tininess): Use $(link-libm).
32535 ($(objpfx)tst-strtod-underflow): Likewise.
32536
e7170363
AJ
325372012-10-30 Andreas Jaeger <aj@suse.de>
32538
e5088dc6
AJ
32539 [BZ#14767]
32540 * elf/Makefile (tests): Remove conditional for have-initfini-array
32541 since this is now always required and the variable does not exist
32542 anymore.
32543 (tests-static): Likewise.
32544 (modules-names): Likewise.
32545
e7170363 32546 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
32547
32548 * elf/tst-array1.c (fini_array): Make writeable so that it can be
32549 merged with constructor/destructor.
32550 (init_array): Likewise.
32551 * elf/tst-array2dep.c (fini_array): Likewise.
32552 (init_array): Likewise.
32553
60457d8a
MF
325542012-10-29 Mike Frysinger <vapier@gentoo.org>
32555
32556 * manual/message.texi: Delete @cartouche tags.
32557
8bece752
PT
325582012-10-29 Pino Toscano <toscano.pino@tiscali.it>
32559
94ce799f
PT
32560 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
32561 EOPNOTSUPP.
32562 * sysdeps/mach/hurd/fsync.c: Likewise.
32563
8bece752
PT
32564 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
32565 [_POSIX_REALTIME_SIGNALS]: Change condition to
32566 [_POSIX_REALTIME_SIGNALS > 0].
32567
86ebe6b1
AJ
325682012-10-27 Andreas Jaeger <aj@suse.de>
32569
32570 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
32571 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
32572 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
32573 [__WORDSIZE != 64]: Likewise.
32574
54399c08
L
325752012-10-26 H.J. Lu <hongjiu.lu@intel.com>
32576
32577 * iconvdata/tst-table.sh: Remove ${SHELL}.
32578 * iconvdata/tst-tables.sh: Likewise.
32579
e2211bed
DM
325802012-10-25 David S. Miller <davem@davemloft.net>
32581
32582 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32583 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
32584 of strtoull.
32585
f303f97c
DM
32586 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
32587 ifunc-impl-list.c
32588 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32589 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
32590 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
32591 file.
32592
1e9d84cd
RM
325932012-10-25 Roland McGrath <roland@hack.frob.com>
32594
32595 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32596 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
32597 __getdirentries.
32598
df381762
JM
325992012-10-25 Joseph Myers <joseph@codesourcery.com>
32600 Jim Blandy <jimb@codesourcery.com>
32601
32602 * scripts/cross-test-ssh.sh: New file.
32603 * manual/install.texi (Configuring and compiling): Document use of
32604 cross-test-ssh.sh.
32605 * INSTALL: Regenerated.
32606
bff64913
PT
326072012-10-25 Pino Toscano <toscano.pino@tiscali.it>
32608
32609 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
32610 EOPNOTSUPP.
32611
25fe8932
JM
326122012-10-25 Joseph Myers <joseph@codesourcery.com>
32613
32614 * Makeconfig (run-program-prefix): Fix comment.
32615
cc1290d0
JM
326162012-10-24 Joseph Myers <joseph@codesourcery.com>
32617 Jim Blandy <jimb@codesourcery.com>
32618
32619 * Makeconfig (test-wrapper): New variable,
32620 (test-wrapper-env): Likewise.
32621 [$(cross-compiling) = yes && $(test-wrapper) != ""]
32622 (run-built-tests): Define to yes.
32623 (run-program-prefix): Use $(test-wrapper).
32624 (built-program-cmd): Likewise.
32625 * Rules (make-test-out): Use $(test-wrapper-env) and
32626 $(host-built-program-cmd).
32627 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
32628 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
32629 tst-pathopt.sh.
32630 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
32631 $(test-wrapper-env) to tst-rtld-load-self.sh.
32632 ($(objpfx)order2.out): Use $(test-wrapper).
32633 ($(objpfx)tst-initorder.out): Likewise.
32634 ($(objpfx)tst-initorder2.out): Likewise.
32635 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
32636 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
32637 (test_wrapper_env): New variable. Use it to run ld.so.
32638 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
32639 Use it to run ld.so.
32640 (test_wrapper_env): Likewise.
32641 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
32642 $(test-wrapper) to run-iconv-test.sh.
32643 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
32644 (ICONV): Use $test_wrapper.
32645 * posix/Makefile ($(objpfx)globtest.out): Pass
32646 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
32647 globtest.sh, not $(run-program-prefix).
32648 * posix/globtest.sh (run_via_rtld_prefix): New variable.
32649 (test_wrapper): Likewise.
32650 (test_wrapper_env): Likewise. Use it to run globtest with HOME
32651 set together with run_via_rtld_prefix.
32652 (run_program_prefix): Define in terms of test_wrapper and
32653 run_via_rtld_prefix.
32654
6e6249d0
RM
326552012-10-24 Roland McGrath <roland@hack.frob.com>
32656
32657 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
32658 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
32659 Targets removed.
32660
32661 [BZ #14743]
32662 * include/time.h: Remove librt_hidden_proto (clock_gettime).
32663 Declare __clock_getres, __clock_gettime, __clock_settime,
32664 __clock_nanosleep, and __clock_getcpuclockid.
32665 * rt/clock_gettime.c: Define __clock_gettime as an alias.
32666 Remove librt_hidden_def (clock_gettime).
32667 * sysdeps/unix/clock_gettime.c: Likewise.
32668 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
32669 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32670 * rt/clock_getres.c: Define __clock_getres as an alias.
32671 * sysdeps/posix/clock_getres.c: Likewise.
32672 * rt/clock_settime.c: Define __clock_settime as an alias.
32673 * sysdeps/unix/clock_settime.c: Likewise.
32674 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
32675 * sysdeps/unix/clock_nanosleep.c: Likewise.
32676 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32677 * rt/clock-compat.c: New file.
32678 * rt/Makefile (librt-routines): Add clock-compat and move
32679 $(clock-routines) to ...
32680 (routines): ... here, new variable.
32681 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
32682 Don't add get_clockfreq here.
32683 * rt/Versions (libc: GLIBC_2.17): New version set.
32684 Add clock_* symbols here.
32685 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
32686 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
32687 (GLIBC_2.17): Add clock_* symbols.
32688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32690 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32692 Likewise.
32693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32694 Likewise.
32695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32699 * NEWS: Mention the move.
32700
32701 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32702 Use __open, __read, __close rather than their public counterparts.
32703 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32704 (__get_clockfreq_via_cpuinfo): Likewise.
32705 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
32706 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
32707
32708 * config.h.in (HAVE_IFUNC): New #undef.
32709 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
32710 was successful.
32711 * configure: Regenerated.
32712
0cae3f4b
MF
327132012-10-24 Mike Frysinger <vapier@gentoo.org>
32714
32715 * configure.in: Move READELF check to start of file.
32716 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
32717 libc_cv_asm_gnu_indirect_function in the process.
32718 * configure: Regenerated.
32719
8175a253
MF
327202012-10-24 Mike Frysinger <vapier@gentoo.org>
32721
32722 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
32723 send the output to /dev/null.
32724 (libc_cv_cc_with_libunwind): Likewise.
32725 (libc_cv_as_noexecstack): Likewise.
32726 * configure: Regenerate.
32727
0708a7d1
JM
327282012-10-24 Joseph Myers <joseph@codesourcery.com>
32729
10b40d85
JM
32730 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
32731
0708a7d1
JM
32732 * posix/globtest.sh (TMPDIR): Do not set.
32733 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
32734 (testout): Likewise.
32735
9fddec1a
AJ
327362012-10-24 Andreas Jaeger <aj@suse.de>
32737
3a8db22f
AJ
32738 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
32739 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
32740 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
32741 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
32742 posix_fadvise64, posix_fallocate64.
32743
9fddec1a
AJ
32744 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
32745 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
32746 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
32747 Likewise.
32748 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
32749 Likewise.
32750 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
32751
32752 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
32753 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
32754 <bits/fcntl-linux.h>.
32755 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
32756
32757 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
32758 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
32759 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
32760 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
32761 [__WORDSIZE != 64]: Likewise.
32762
ebfd1bbd
JM
327632012-10-23 Joseph Myers <joseph@codesourcery.com>
32764
03ac099f
JM
32765 * Makeconfig (run-built-tests): New variable.
32766 * Rules [$(cross-compiling) = yes]: Change condition to
32767 [$(run-built-tests) = no].
32768 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
32769 to [$(run-built-tests) = yes].
32770 * elf/Makefile [$(cross-compiling) = no]: Likewise
32771 * grp/Makefile [$(cross-compiling) = no]: Likewise.
32772 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
32773 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
32774 * intl/Makefile [$(cross-compiling) = no]: Likewise.
32775 * io/Makefile [$(cross-compiling) = no]: Likewise.
32776 * libio/Makefile [$(cross-compiling) = no]: Likewise.
32777 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
32778 * misc/Makefile [$(cross-compiling) = no]: Likewise.
32779 * posix/Makefile [$(cross-compiling) = no]: Likewise.
32780 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
32781 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
32782 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
32783 * string/Makefile [$(cross-compiling) = no]: Likewise.
32784
ebfd1bbd
JM
32785 * posix/Makefile ($(objpfx)globtest.out): Pass
32786 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
32787 $(rtld-installed-name).
32788 * posix/globtest.sh (elf_objpfx): Remove variable.
32789 (rtld_installed_name): Likewise.
32790 (library_path): Likewise.
32791 (run_program_prefix): New variable. Use for running globtest
32792 binary.
32793
166bca24
JB
327942012-10-23 Jim Blandy <jimb@codesourcery.com>
32795 Joseph Myers <joseph@codesourcery.com>
32796
32797 * Makeconfig (host-built-program-cmd): New variable.
32798 * elf/Makefile (tst-stackguard1-ARGS): Use
32799 $(host-built-program-cmd).
32800 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
32801 (tst-spawn-ARGS): Likewise.
32802 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
32803
88866099
JM
328042012-10-23 Joseph Myers <joseph@codesourcery.com>
32805 Jim Blandy <jimb@codesourcery.com>
32806
32807 * Makeconfig (run-via-rtld-prefix): New variable.
32808 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
32809 (built-program-cmd): Likewise.
32810
b4b4c296
AJ
328112012-10-22 Andreas Jaeger <aj@suse.de>
32812
32813 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
32814 __O_RSYNC if it exists, otherwise to O_SYNC.
32815
6fb54a22
JB
328162012-10-22 Jim Blandy <jimb@codesourcery.com>
32817 Joseph Myers <joseph@codesourcery.com>
32818
32819 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
32820 /dev/null.
32821 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
32822 from /dev/null
32823 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
32824 /dev/null.
32825
481b90b9
AJ
328262012-10-22 Andreas Jaeger <aj@suse.de>
32827
2a0e2669
AJ
32828 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
32829 Define always.
32830 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
32831
76e38f9a
AJ
32832 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32833 bits/fcntl-linux.h.
32834
7cd37b43
AJ
32835 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
32836 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
32837
481b90b9
AJ
32838 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
32839 to __O_LARGEFILE.
32840 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
32841 to __O_LARGEFILE.
32842
aba75984
JB
328432012-10-21 Jim Blandy <jimb@codesourcery.com>
32844 Joseph Myers <joseph@codesourcery.com>
32845
32846 * config.make.in (NM): New variable.
32847
88d4247f
AJ
328482012-10-21 Andreas Jaeger <aj@suse.de>
32849
32850 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
32851 definitions and declarations that are provided by
32852 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32853
f2eed205
L
328542012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32855
32856 [BZ #14683]
32857 * elf/Makefile (tests-static): Add tst-leaks1-static.
32858 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
32859 ($(objpfx)tst-leaks1-static): New rule.
32860 ($(objpfx)tst-leaks1-static-mem): Likewise.
32861 (tst-leaks1-static-ENV): New macro.
32862 * elf/dl-open.c (dl_open_worker): Check the main application
32863 only if SHARED is defined.
32864 * elf/tst-leaks1-static.c: New file.
32865
335e6931
AJ
328662012-10-20 Andreas Jaeger <aj@suse.de>
32867
32868 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
32869 generic values for Linux.
32870 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
32871 and declarations that are provided by <bits/fcntl-linux.h> and
32872 include <bits/fcntl-linux.h>.
32873 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32874 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32875
ac5c94d3
RM
328762012-10-20 Roland McGrath <roland@hack.frob.com>
32877
32878 * io/fcntl.h: Move include of <bits/types.h> to the top and
32879 include it unconditionally.
32880
de54b33a
L
328812012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32882
228cfb01
L
32883 * wcsmbs/Makefile (tests-ifunc): New variable.
32884 (tests): Add $(tests-ifunc).
32885 * wcsmbs/test-wcschr-ifunc.c: New file.
32886 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32887 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32888 * wcsmbs/test-wcslen-ifunc.c: Likewise.
32889 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32890 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32891
69f07e5f
L
32892 * string/Makefile (tests-ifunc): New variable.
32893 (tests): Add $(tests-ifunc).
32894 * string/test-memccpy.c (TEST_NAME): New macro.
32895 * string/test-memchr.c (TEST_NAME): Likewise.
32896 * string/test-memcmp.c (TEST_NAME): Likewise.
32897 * string/test-memcpy.c (TEST_NAME): Likewise.
32898 * string/test-memmem.c (TEST_NAME): Likewise.
32899 * string/test-memmove.c (TEST_NAME): Likewise.
32900 * string/test-memset.c (TEST_NAME): Likewise.
32901 * string/test-rawmemchr.c (TEST_NAME): Likewise.
32902 * string/test-stpcpy.c (TEST_NAME): Likewise.
32903 * string/test-stpncpy.c (TEST_NAME): Likewise.
32904 * string/test-strcasecmp.c (TEST_NAME): Likewise.
32905 * string/test-strcasestr.c (TEST_NAME): Likewise.
32906 * string/test-strcat.c (TEST_NAME): Likewise.
32907 * string/test-strchr.c (TEST_NAME): Likewise.
32908 * string/test-strcmp.c(TEST_NAME): Likewise.
32909 * string/test-strcpy.c (TEST_NAME): Likewise.
32910 * string/test-strcspn.c (TEST_NAME): Likewise.
32911 * string/test-strlen.c (TEST_NAME): Likewise.
32912 * string/test-strncasecmp.c (TEST_NAME): Likewise.
32913 * string/test-strncmp.c (TEST_NAME): Likewise.
32914 * string/test-strncpy.c (TEST_NAME): Likewise.
32915 * string/test-strnlen.c (TEST_NAME): Likewise.
32916 * string/test-strpbrk.c (TEST_NAME): Likewise.
32917 * string/test-strrchr.c (TEST_NAME): Likewise.
32918 * string/test-strspn.c (TEST_NAME): Likewise.
32919 * string/test-strstr.c (TEST_NAME): Likewise.
32920 * string/test-bcopy-ifunc.c: New file.
32921 * string/test-bzero-ifunc.c: Likewise.
32922 * string/test-memccpy-ifunc.c: Likewise.
32923 * string/test-memchr-ifunc.c: Likewise.
32924 * string/test-memcmp-ifunc.c: Likewise.
32925 * string/test-memcpy-ifunc.c: Likewise.
32926 * string/test-memmem-ifunc.c: Likewise.
32927 * string/test-memmove-ifunc.c: Likewise.
32928 * string/test-mempcpy-ifunc.c: Likewise.
32929 * string/test-memset-ifunc.c: Likewise.
32930 * string/test-rawmemchr-ifunc.c: Likewise.
32931 * string/test-stpcpy-ifunc.c: Likewise.
32932 * string/test-stpncpy-ifunc.c: Likewise.
32933 * string/test-strcasecmp-ifunc.c: Likewise.
32934 * string/test-strcasestr-ifunc.c: Likewise.
32935 * string/test-strcat-ifunc.c: Likewise.
32936 * string/test-strchr-ifunc.c: Likewise.
32937 * string/test-strchrnul-ifunc.c: Likewise.
32938 * string/test-strcmp-ifunc.c: Likewise.
32939 * string/test-strcpy-ifunc.c: Likewise.
32940 * string/test-strcspn-ifunc.c: Likewise.
32941 * string/test-strlen-ifunc.c: Likewise.
32942 * string/test-strncasecmp-ifunc.c: Likewise.
32943 * string/test-strncat-ifunc.c: Likewise.
32944 * string/test-strncmp-ifunc.c: Likewise.
32945 * string/test-strncpy-ifunc.c: Likewise.
32946 * string/test-strnlen-ifunc.c: Likewise.
32947 * string/test-strpbrk-ifunc.c: Likewise.
32948 * string/test-strrchr-ifunc.c: Likewise.
32949 * string/test-strspn-ifunc.c: Likewise.
32950 * string/test-strstr-ifunc.c: Likewise.
32951
de54b33a
L
32952 * debug/Makefile (tests-ifunc): New variable.
32953 (tests): Add $(tests-ifunc).
32954 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
32955 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
32956 * debug/test-stpcpy_chk-ifunc.c: New file.
32957 * debug/test-strcpy_chk-ifunc.c: Likewise.
32958
88481c16
SP
329592012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32960
32961 [BZ #13601]
32962 * elf/dl-load.c (open_verify): Retry read if the entire ELF
32963 header is not read in.
32964
135948bd
JM
329652012-10-19 Joseph Myers <joseph@codesourcery.com>
32966
89f1c388
JM
32967 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
32968 script to $(SHELL) as $<. Pass $(common-objpfx) to script
32969 directly. Pass built executable to script as
32970 $(built-program-cmd).
32971 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
32972 $testprogram without using LD_LIBRARY_PATH and $ldso.
32973
e40a0d21
JM
32974 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
32975 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
32976 $(rtld-installed-name).
32977 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
32978 (rtld_installed_name): Likewise.
32979 (library_path): Likewise.
32980 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
32981 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32982 $(run-program-prefix) to tst-tables.sh.
32983 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
32984 it to run tst-table-from and tst-table-to.
32985 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32986 Pass it to tst-table.sh.
32987 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32988 $(run-program-prefix) to tst-gettext.sh.
32989 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32990 tst-translit.sh.
32991 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32992 tst-gettext2.sh.
32993 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
32994 to run tst-gettext.
32995 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
32996 to run tst-gettext2.
32997 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
32998 to run tst-translit.
32999 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
33000 $(run-program-prefix) to tst-mtrace.sh.
33001 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
33002 to run tst-mtrace.
33003 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
33004 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
33005 $(rtld-installed-name).
33006 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
33007 (rtld_installed_name): Likewise.
33008 (run_program_prefix): New variable. Use it to run wordexp-test.
33009
728e272a
JM
33010 * Makeconfig (ARCH): Remove all definitions.
33011 (machine): Likewise.
33012 [ARCH]: Remove conditional code.
33013 [!objdir]: Give error.
33014 [!objdir] (objpfx): Remove.
33015 [!objdir] (common-objpfx): Likewise.
33016 [!objdir] (common-objdir): Likewise.
33017 * configure.in (config_makefile): Remove. Hardcode Makefile in
33018 AC_CONFIG_FILES call.
33019 * configure: Regenerated.
33020
d528cdcf
JM
33021 [BZ #13888]
33022 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
33023 or TMPDIR.
33024 (testout): Likewise.
33025
135948bd
JM
33026 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
33027 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
33028 $(rtld-installed-name).
33029 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
33030 (rtld_installed_name): Likwise.
33031 (runit): Remove function.
33032 (run_getconf): New variable, Use it for running getconf binary.
33033
38c78296
L
330342012-10-18 H.J. Lu <hongjiu.lu@intel.com>
33035
33036 [BZ #14716]
33037 * string/test-memmem.c (check_result): New function.
33038 (do_one_test): Use it.
33039 (check1): New function.
33040 (test_main): Use it.
33041
d077f65f
MT
330422012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
33043
33044 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33045
ced52c71
JM
330462012-10-18 Joseph Myers <joseph@codesourcery.com>
33047
33048 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33049 (_G_LSEEK64): Likewise.
33050 (_G_MMAP64): Likewise.
33051 (_G_FSTAT64): Likewise.
33052 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
33053 (_G_LSEEK64): Likewise.
33054 (_G_MMAP64): Likewise.
33055 (_G_FSTAT64): Likewise.
33056 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
33057 unconditional. Call __mmap64 directly.
33058 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
33059 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
33060 __lseek64 directly.
33061 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
33062 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
33063 __mmap64 directly.
33064 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
33065 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
33066 __lseek64 directly.
33067 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
33068 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
33069 __lseek64 directly.
33070 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
33071 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
33072 __lseek64 directly.
33073 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
33074 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
33075 __fxstat64 directly.
33076 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
33077 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
33078 unconditional.
33079 (freopen64) [!_G_OPEN64]: Remove conditional code.
33080 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
33081 unconditional.
33082 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
33083 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
33084 unconditional.
33085 (ftello64) [!_G_LSEEK64]: Remove conditional code.
33086 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33087 unconditional.
33088 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33089 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33090 unconditional.
33091 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33092 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33093 unconditional.
33094 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33095 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33096 unconditional.
33097 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33098 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33099 unconditional.
33100 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33101
b741de23
SP
331022012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33103
33104 [BZ #12140]
33105 * manual/memory.texi (Malloc Tunable Parameters): Add note
33106 about free list pointers overwriting some perturb bytes.
33107 Wording suggested by Roland McGrath.
33108
f9b9d9c9
JM
331092012-10-17 Joseph Myers <joseph@codesourcery.com>
33110
33111 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33112 (lgamma_test): Likewise.
33113 (tgamma_test): Likewise.
33114
172a631a
FW
331152012-10-16 Florian Weimer <fweimer@redhat.com>
33116
33117 [BZ #14700]
33118 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33119 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33120
e9f37252
MK
331212012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
33122
33123 * NEWS: Mention BZ #14716.
33124 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33125 when removing AVAILABLE1_USES_J macro.
33126
d394eb74
L
331272012-10-12 H.J. Lu <hongjiu.lu@intel.com>
33128
33129 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33130 (__bswap_64): __uint64_t for unsigned 64-bit int.
33131
ca38dc17
AS
331322012-10-12 Andreas Schwab <schwab@linux-m68k.org>
33133
33134 * include/string.h (memmem): Declare libc hidden alias.
33135 * string/memmem.c (memmem): Define libc hidden alias.
33136 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33137 __read, __close instead of open, read, close.
33138
9a387d1f
L
331392012-10-11 H.J. Lu <hongjiu.lu@intel.com>
33140
ac49ecaf
L
33141 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33142 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33143 global and hidden.
33144 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33145 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33146 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33147 Likewise.
33148 (__rawmemchr_sse2): Likewise.
33149 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33150 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33151 (__strchr_sse2): Likewise.
33152 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33153 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
33154 (__strcasecmp_sse2): Likewise.
33155 (__strncasecmp_sse2): Likewise.
33156 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
33157 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
33158 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
33159 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
33160 (__strrchr_sse2): Likewise.
33161 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
33162 ifunc-impl-list.c.
33163 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33164 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33165 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33166 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33167 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33168 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33169 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33170 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33171 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
33172 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
33173 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
33174 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
33175 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
33176 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33177 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33178 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33179 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33180 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33181 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
33182 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
33183 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
33184 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
33185 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
33186 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33187 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
33188 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33189 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33190 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33191 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33192 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33193
b090e8ea
L
33194 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
33195 global and hidden.
33196 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
33197 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
33198 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
33199 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
33200 Likewise.
33201 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
33202 Likewise.
33203 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
33204 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
33205 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
33206 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
33207 ifunc-impl-list.c.
33208 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33209 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33210 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33211 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33212 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33213 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33214 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33215 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33216 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33217 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33218 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33219 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33220 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33221 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33222 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33223 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33224 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33225 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
33226 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33227 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33228 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33229 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33230 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33231 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33232 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33233 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33234 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33235 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33236 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33237 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33238 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33239 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33240 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33241 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
33242 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33243 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33244 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33245 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33246 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33247 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33248 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
33249
11dd4af6
L
33250 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
33251 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
33252 * include/ifunc-impl-list.h: New file.
33253 * misc/ifunc-impl-list.c: Likewise.
33254 * misc/Makefile (routines): Add ifunc-impl-list.
33255 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
33256 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
33257 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
33258 TEST_NAME]: New variables.
11dd4af6
L
33259 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
33260 are defined.
33261 (test_init): Call __libc_ifunc_impl_list to initialize
33262 func_list if TEST_IFUNC and TEST_NAME are defined.
33263
9a387d1f
L
33264 * string/Makefile (strop-tests): Add bcopy and bzero.
33265 * string/test-bcopy.c: New file.
33266 * string/test-bzero.c: Likewise.
33267 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
33268 defined.
33269 * string/test-memset.c: Support bzero test if TEST_BZERO is
33270 defined.
33271 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
33272 __libc_memmove.
33273 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
33274 __libc_memset.
33275 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
33276 of memset.
33277
472371b9
JM
332782012-10-10 Joseph Myers <joseph@codesourcery.com>
33279
1e4a9536
JM
33280 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
33281 * configure: Regenerated.
33282
d173d12e
JM
33283 * Makeconfig (+link-static-before-libc): Don't include
33284 $(link-static-libc).
33285
472371b9
JM
33286 * libio/libio.h (_IO_pos_t): Remove.
33287
89a3ad0b
AO
332882012-10-10 Alexandre Oliva <aoliva@redhat.com>
33289
33290 * NEWS: Add note about FIPS mode. Wording suggested by Roland
33291 McGrath.
33292
e7451425
AO
332932012-10-10 Alexandre Oliva <aoliva@redhat.com>
33294
33295 * crypt/crypt-entry.c: Include fips-private.h.
33296 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
33297 * crypt/md5c-test.c (main): Tolerate disabled MD5.
33298 * sysdeps/unix/sysv/linux/fips-private.h: New file.
33299 * sysdeps/generic/fips-private.h: New file, dummy fallback.
33300
4ba74a35
AO
333012012-10-10 Alexandre Oliva <aoliva@redhat.com>
33302
33303 * crypt/crypt-private.h: Include stdbool.h.
33304 (_ufc_setup_salt_r): Return bool.
33305 * crypt/crypt-entry.c: Include errno.h.
33306 (__crypt_r): Return NULL with EINVAL for bad salt.
33307 * crypt/crypt_util.c (bad_for_salt): New.
33308 (_ufc_setup_salt_r): Check that salt is long enough and within
33309 the specified alphabet.
33310 * crypt/badsalttest.c: New file.
33311 * crypt/Makefile (tests): Add it.
33312 ($(objpfx)badsalttest): New.
33313
f96f1242
MK
333142012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
33315
33316 * NEWS: Add entry for BZ #14602.
33317
0e8e0c1c
JM
333182012-10-09 Joseph Myers <joseph@codesourcery.com>
33319
33320 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
33321 type-generic.
33322 * math/libm-test.inc: Update comment listing what functions and
33323 macros are tested.
33324 (isgreater_test): New function.
33325 (isgreaterequal_test): Likewise.
33326 (isless_test): Likewise.
33327 (islessequal_test): Likewise.
33328 (islessgreater_test): Likewise.
33329 (isunordered_test): Likewise.
33330 (main): Call the new functions.
33331
273edc5e
RM
333322012-10-09 Roland McGrath <roland@hack.frob.com>
33333
b8493de0
RM
33334 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
33335 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
33336 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
33337 * sysdeps/i386/configure: Regenerated.
33338 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
33339 * sysdeps/mach/configure: Regenerated.
33340 * sysdeps/mach/hurd/configure: Regenerated.
33341 * sysdeps/powerpc/configure: Regenerated.
33342 * sysdeps/powerpc/powerpc32/configure: Regenerated.
33343 * sysdeps/powerpc/powerpc64/configure: Regenerated.
33344 * sysdeps/s390/s390-32/configure: Regenerated.
33345 * sysdeps/s390/s390-64/configure: Regenerated.
33346 * sysdeps/sh/configure: Regenerated.
33347 * sysdeps/sparc/configure: Regenerated.
33348 * sysdeps/unix/sysv/linux/configure: Regenerated.
33349 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33350 * sysdeps/x86_64/configure: Regenerated.
33351
273edc5e
RM
33352 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
33353 defined. Don't check if MAP is NULL.
33354
c8450f70
JM
333552012-10-09 Joseph Myers <joseph@codesourcery.com>
33356
33357 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
33358 (_G_stat64): Likewise.
33359 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
33360 (_G_stat64): Likewise.
33361 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
33362 instead of struct _G_stat64.
33363 * libio/fileops.c (mmap_remap_check): Likewise.
33364 (decide_maybe_mmap): Likewise.
33365 (_IO_new_file_seekoff): Likewise.
33366 (_IO_file_stat): Likewise.
33367 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
33368 _G_off64_t.
33369 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
33370 instead of struct _G_stat64.
33371 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33372
57e605ba
MK
333732012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
33374
33375 [BZ #14602]
33376 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33377 Replace with ...
33378 (CHECK_EOL): New macro.
33379 (two_way_short_needle): Check beginning of haystack for EOL. Use
33380 CHECK_EOL.
33381 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33382 Replace with CHECK_EOL.
33383 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33384 Replace with CHECK_EOL.
33385
ef1bb361
JM
333862012-10-08 Joseph Myers <joseph@codesourcery.com>
33387
33388 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
33389 type-generic.
33390 * math/libm-test.inc: Update comment listing what functions and
33391 macros are tested.
33392 (finite_test): New function.
33393 (isinf_test): Likewise.
33394 (isnan_test): Likewise.
33395 (fpclassify_test): Test subnormal input.
33396 (isfinite_test): Likewise.
33397 (isnormal_test): Likewise.
33398 (main): Call the new functions.
33399
55f11534
JN
334002012-10-08 Jonathan Nieder <jrnieder@gmail.com>
33401
33402 [BZ #14660]
33403 * Makerules (%.dynsym): Force C locale when running
33404 $(OBJDUMP) --dynamic-syms.
33405
1ab29350
AS
334062012-10-08 Andreas Schwab <schwab@linux-m68k.org>
33407
33408 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
33409 <stdint.h>.
33410
f1ecb7ef
DM
334112012-10-06 David S. Miller <davem@davemloft.net>
33412
33413 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
33414 upper 32-bits of the length value in %o2 since we use branch-on-register
33415 tests which consider the entire 64-bit register.
33416
5d41d91a
L
334172012-10-06 H.J. Lu <hongjiu.lu@intel.com>
33418
33419 * string/test-strstr.c (check2): Add a test for page boundary.
33420
3baddb72
DM
334212012-10-05 David S. Miller <davem@davemloft.net>
33422
33423 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
33424 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
33425 file.
33426 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33427 sysdep_routines.
33428 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33429 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
33430 and bzero when HWCAP_SPARC_CRYPTO is present.
33431
9cee5585
L
334322012-10-05 H.J. Lu <hongjiu.lu@intel.com>
33433
d7e0dab9
L
33434 [BZ #14602]
33435 * string/test-strstr.c (check2): New function.
33436 (test_main): Call check2.
33437
03759f47
L
33438 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
33439 and bug-strchr1.
33440 * string/bug-strcasestr1.c (do_test): Moved to ...
33441 * string/test-strcasestr.c (check1): Here. New function.
33442 (do_one_test): Break out result checking code into ...
33443 (check_result): This. New function.
33444 (do_one_test): Call check_result.
33445 (test_main): Call check1.
33446 * string/bug-strchr1.c (do_test): Moved to ...
33447 * string/test-strchr.c (check1): Here. New function.
33448 (do_one_test): Break out result checking code into ...
33449 (check_result): This. New function.
33450 (do_one_test): Call check_result.
33451 (test_main): Call check1.
33452 * string/bug-strstr1.c (main): Moved to ...
046f153e 33453 * string/test-strstr.c (check1): Here. New function.
03759f47
L
33454 (do_one_test): Break out result checking code into ...
33455 (check_result): This. New function.
33456 (do_one_test): Call check_result.
33457 (test_main): Call check1.
33458 * string/bug-strcasestr1.c: Removed.
33459 * string/bug-strchr1.c: Likewise.
33460 * string/bug-strstr1.c: Likewise.
33461
53cea63e
L
33462 * elf/Makefile (dl-routines): Add hwcaps.
33463 * elf/dl-support.c (_dl_important_hwcaps): Removed.
33464 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
33465 (_dl_important_hwcaps): Moved to ...
33466 * elf/dl-hwcaps.c: Here. New file.
33467 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
33468
9cee5585 33469 [BZ #14557]
bb859b06
L
33470 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
33471 if IS_IN_rtld isn't defined.
33472
9cee5585
L
33473 * elf/dl-support.c (_dl_sysinfo_map): New.
33474 Include "get-dynamic-info.h" and "setup-vdso.h".
33475 (_dl_non_dynamic_init): Call setup_vdso.
33476 * elf/dynamic-link.h: Don't include <assert.h>.
33477 (elf_get_dynamic_info): Moved to ...
33478 * elf/get-dynamic-info.h: Here. New file.
33479 * elf/dynamic-link.h: Include "get-dynamic-info.h".
33480 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
33481 * elf/setup-vdso.h: Here. New file.
33482 * elf/rtld.c: Include "setup-vdso.h".
33483 (dl_main): Call setup_vdso.
33484
23c31b76
JM
334852012-10-05 Joseph Myers <joseph@codesourcery.com>
33486
28234b07
JM
33487 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
33488 creal in comment listing functions tested. List finite, isinf,
33489 isnan, isless, islessequal, isgreater, isgreaterequal,
33490 islessgreater, isunordered, lgamma_r and pow10 as functions and
33491 macros not tested. Mention which functions not tested are aliases
33492 for other functions. Fix typo. Note that signs of NaNs are not
33493 tested.
33494
23c31b76
JM
33495 * scripts/config.guess: Update from config.git.
33496 * scripts/config.sub: Likewise.
33497
9043e228
RM
334982012-10-04 Roland McGrath <roland@hack.frob.com>
33499
33500 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
33501 * misc/madvise.c (madvise): Renamed to __madvise.
33502 Make madvise a weak alias.
33503 * include/sys/mman.h: Declare __madvise.
33504 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
33505 * sysdeps/unix/syscalls.list
33506 (madvise): Make __madvise the strong name, and madvise a weak alias.
33507 * sysdeps/unix/sysv/linux/syscalls.list
33508 (madvise, mmap): Remove redundant entries.
33509 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
33510 * malloc/malloc.c (mtrim): Likewise.
33511 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
33512
f57f8055
RM
335132012-10-03 Roland McGrath <roland@hack.frob.com>
33514
33515 * sysdeps/mach/hurd/dl-cache.c: File removed.
33516 * config.h.in (USE_LDCONFIG): New #undef.
33517 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
33518 * configure: Regenerated.
33519 * elf/Makefile (dl-routines): Add dl-cache only under
33520 [$(use-ldconfig) = yes].
33521 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
33522 cache on [USE_LDCONFIG].
33523 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
33524 [USE_LDCONFIG].
33525 * elf/rtld.c (dl_main): Likewise.
33526
5bb0c10a
PT
335272012-10-03 Pino Toscano <toscano.pino@tiscali.it>
33528
33529 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
33530 _SC_LEVEL4_CACHE_LINESIZE.
33531
010188c6
RM
335322012-10-03 Roland McGrath <roland@hack.frob.com>
33533
33534 * sysdeps/unix/bsd/confstr.h: File removed.
33535
b6c5ec07
AO
335362012-10-02 Alexandre Oliva <aoliva@redhat.com>
33537
33538 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
33539 sys/sdt-config.h.
33540
408223d4
RM
335412012-10-02 Roland McGrath <roland@hack.frob.com>
33542
33543 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
33544 Make 'mapoff' field ElfW(Off) rather than off_t.
33545
bb9510dc
DL
335462012-10-02 Dmitry V. Levin <ldv@altlinux.org>
33547
fc997c6e
DL
33548 * nscd/Makefile: Remove nscd-cflags and all its users.
33549 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
33550 (CFLAGS-nonlib): Add compiler flags for nscd modules.
33551
bb9510dc
DL
33552 [BZ #10631]
33553 * malloc.c (malloc_printerr): Clarify error message.
33554
05699367
L
335552012-10-02 H.J. Lu <hongjiu.lu@intel.com>
33556
33557 [BZ #14648]
33558 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33559 Set bit_FMA_Usable if FMA is supported.
33560 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
33561 macro.
33562 (bit_FMA4_Usable): Updated.
33563 (index_FMA_Usable): New macro.
33564 (CPUID_FMA): Likewise
33565 (HAS_FMA): Defined with bit_FMA_Usable.
33566
51367701
RM
335672012-10-01 Roland McGrath <roland@hack.frob.com>
33568
33569 * bits/types.h (__swblk_t): Type removed.
33570 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
33571 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
33572 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33573 (__SWBLK_T_TYPE): Likewise.
33574 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33575 (__SWBLK_T_TYPE): Likewise.
33576 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33577 (__SWBLK_T_TYPE): Likewise.
33578 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33579 (__SWBLK_T_TYPE): Likewise.
33580
4d57bf63 335812012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 33582 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
33583
33584 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
33585 (xdr_mapname): Use YPMAXMAP as maxsize.
33586 (xdr_peername): Use YPMAXPEER as maxsize.
33587 (xdr_keydat): Use YPAXRECORD as maxsize.
33588 (xdr_valdat): Use YPMAXRECORD as maxsize.
33589
93c65d43
RM
335902012-10-01 Roland McGrath <roland@hack.frob.com>
33591
497a03d6
RM
33592 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
33593
93c65d43
RM
33594 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
33595 * csu/init-first.c: ... here.
33596 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
33597 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
33598 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
33599 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33600 * sysdeps/i386/init-first.c: File removed.
33601 * sysdeps/sh/init-first.c: File removed.
33602
bec749fd
JM
336032012-10-01 Joseph Myers <joseph@codesourcery.com>
33604
33605 [BZ #14645]
33606 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
33607 if x * y might underflow to zero and z is zero.
33608 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33609 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33610 * math/libm-test.inc (min_subnorm_value): New variable.
33611 (fma_test): Add more tests.
33612 (fma_test_towardzero): Likewise.
33613 (fma_test_downward): Likewise
33614 (fma_test_upward): Likewise.
33615 (initialize): Set min_subnorm_value.
33616
8ec5b013
JM
336172012-09-29 Joseph Myers <joseph@codesourcery.com>
33618
33619 [BZ #14638]
33620 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
33621 0 + 0.
33622 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
33623 mode for addition resulting in exact zero.
33624 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
33625 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
33626 exact 0 + 0.
33627 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33628 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33629 * math/libm-test.inc (fma_test): Add more tests.
33630 (fma_test_towardzero): New function.
33631 (fma_test_downward): Likewise.
33632 (fma_test_upward): Likewise.
33633 (main): Call the new functions.
33634
b1fa802e
DM
336352012-09-28 David S. Miller <davem@davemloft.net>
33636
33637 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
33638
d3b9fd9e
RM
336392012-09-28 Roland McGrath <roland@hack.frob.com>
33640
ea4d37b3
RM
33641 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
33642 instead of SIGALRM.
33643
ac51c949
RM
33644 * sysdeps/gnu/_G_config.h: Moved to ...
33645 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
33646 * sysdeps/mach/hurd/_G_config.h: Moved to ...
33647 * sysdeps/generic/_G_config.h: ... here.
33648
28c195f7
RM
33649 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
33650
848917f9
RM
33651 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
33652
6bacf05b
RM
33653 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
33654 Conditionalize target on [libnss_test1.so-version].
33655
91363dbb
RM
33656 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
33657
cc87f7d8
RM
33658 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
33659 (elfobjdir): Move out of conditionals.
33660
b1c608fe
RM
33661 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
33662 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
33663 (__nss_lookup_function): Conditionalize label remove_from_tree on
33664 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 33665
1d9a6d96
DM
336662012-09-28 David S. Miller <davem@davemloft.net>
33667
33668 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
33669 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
33670 file.
33671 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33672 sysdep_routines.
33673 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33674 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
33675 when HWCAP_SPARC_CRYPTO is present.
33676
72581615
PT
336772012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33678
33679 * io/tst-mknodat.c: Create a FIFO instead of a socket.
33680
715a900c
JL
336812012-09-28 Andreas Schwab <schwab@linux-m68k.org>
33682
33683 [BZ #6530]
33684 * stdio-common/vfprintf.c (process_string_arg): Revert
33685 2000-07-22 change.
33686
336872011-09-28 Jonathan Nieder <jrnieder@gmail.com>
33688
33689 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
33690 for testcase.
33691 * stdio-common/tst-sprintf.c: Include <locale.h>
33692 (main): Test sprintf's handling of incomplete multibyte
33693 characters.
33694
9bac1d86
L
336952012-09-28 H.J. Lu <hongjiu.lu@intel.com>
33696
33697 * elf/dl-runtime.c (VERSYMIDX): Removed.
33698 * elf/dl-version.c (VERSYMIDX): Likewise.
33699 * elf/do-rel.h (VERSYMIDX): Likewise.
33700 (VALIDX): Likewise.
33701 * elf/dynamic-link.h (VERSYMIDX): Likewise.
33702 * elf/rtld.c (VALIDX): Likewise.
33703 (ADDRIDX): Likewise.
9bac1d86
L
33704 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
33705 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
33706 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
33707 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
33708 (VALIDX): Likewise.
33709 (ADDRIDX): Likewise.
9bac1d86 33710
b31606c0
PT
337112012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33712
33713 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
33714
11541177
JL
337152012-09-28 Dmitry V. Levin <ldv@altlinux.org>
33716
33717 [BZ #11438]
33718 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
33719 to global scope.
33720 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
33721 addresses are in the same scope as 192.0.2/24.
33722 * posix/gai.conf: Document new scope table defaults.
33723
adb26fae
SP
337242012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33725
33726 [BZ #5298]
33727 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
33728 for ftell. Compute offsets from write pointers instead.
33729 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33730
4573c6b0
SP
337312012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33732
33733 [BZ #14543]
33734 * libio/Makefile (tests): New test case tst-fseek.
33735 * libio/tst-fseek.c: New test case to verify that fseek/ftell
33736 combination works in wide mode.
33737 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
33738 state when the external buffer state changes.
33739
aa9bbfe6
DM
337402012-09-27 David S. Miller <davem@davemloft.net>
33741
33742 [BZ #14376]
33743 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
33744 pass reloc->r_addend in as the 'high' argument to
33745 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
33746
784421e7
DM
33747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33748
c39bc8b8
PT
337492012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33750
33751 * rt/tst-aio2.c: Include <pthread.h>.
33752 * rt/tst-aio3.c: Likewise.
33753
1ccc2399
SE
337542012-09-27 Steve Ellcey <sellcey@mips.com>
33755
33756 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
33757
31ed4153
L
337582012-09-27 H.J. Lu <hongjiu.lu@intel.com>
33759
25f5f885
L
33760 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
33761 contents on [SHARED].
31ed4153 33762
b7bfe116
MP
337632012-09-26 Marek Polacek <polacek@redhat.com>
33764
33765 [BZ #14530]
33766 [BZ #13741]
33767 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
33768 for C++ and GCC <4.3 as well as for non GCC compilers.
33769
43c4edba
MT
337702012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
33771
33772 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33773
6a1bf82f
RM
337742012-09-25 Roland McGrath <roland@hack.frob.com>
33775
33776 * Makefile.in (all, install): Declare with .PHONY.
33777 Reported by Michael Hope <michael.hope@linaro.org>.
33778
8ad11b9a
TMQMF
337792012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33780
33781 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
33782 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
33783 system header.
33784 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
33785 Likewise.
33786 (sydep_routines): Add the new and the internal functions.
33787 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
33788 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
33789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
33790 (GLIBC_2.17): Add the new function.
33791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33792 (GLIBC_2.17): Likewise.
33793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
33794 (GLIBC_2.17): Likewise.
33795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
33796 (GLIBC_2.17): Likewise.
33797 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
33798
7e2fca8d
AM
337992012-09-25 Alan Modra <amodra@gmail.com>
33800
33801 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
33802 Add release barrier before setting once_control to say
33803 initialisation is done. Add hints on lwarx. Use macro in
33804 place of isync.
33805 (clear_once_control): Add release barrier.
33806
b87c4b24
JM
338072012-09-25 Joseph Myers <joseph@codesourcery.com>
33808
d032e0d2
JM
33809 [BZ #13629]
33810 * math/s_clog.c (__clog): Handle more values close to |z| = 1
33811 specially.
33812 * math/s_clog10.c (__clog10): Likewise.
33813 * math/s_clog10f.c (__clog10f): Likewise.
33814 * math/s_clog10l.c (__clog10l): Likewise.
33815 * math/s_clogf.c (__clogf): Likewise.
33816 * math/s_clogl.c (__clogl): Likewise.
33817 * math/Makefile (libm-calls): Add x2y2m1.
33818 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
33819 (__x2y2m1): Likewise.
33820 (__x2y2m1l): Likewise.
33821 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
33822 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
33823 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
33824 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33825 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
33826 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
33827 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
33828 * sysdeps/i386/fpu/libm-test-ulps: Update.
33829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33830
b87c4b24
JM
33831 [BZ #14621]
33832 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
33833 int as type of variable DEPTH.
33834 (glob): Use size_t instead of int as type of variables NEWCOUNT
33835 and OLD_PATHC.
33836
6d3bf199
LD
338372012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33838
22bf5c17
LD
33839 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33840 Add s_sincosf-sse2.
33841 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
33842 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
33843 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
33844 macros for using routine as __sincosf_ia32.
33845 Use macro for function declaration and weak_alias.
33846 * sysdeps/i386/fpu/libm-test-ulps: Update.
33847
33848 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
33849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33850
33851 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
33852 subnormal argument.
33853 * math/s_cexpf.c (__cexpf): Likewise.
33854 * math/s_csinf.c (__csinf): Likewise.
33855 * math/s_csinhf.c (__csinhf): Likewise.
33856 * math/s_ctanf.c (__ctanf): Likewise.
33857 * math/s_ctanhf.c (__ctanhf): Likewise.
33858 * math/s_ccosh.c (__ccoshf): Likewise.
33859 * math/s_cexp.c (__cexpl): Likewise.
33860 * math/s_csin.c (__csin): Likewise.
33861 * math/s_csinh.c (__csinh): Likewise.
33862 * math/s_ctan.c (__ctan): Likewise.
33863 * math/s_ctanh.c (ctanh): Likewise.
33864 * math/s_ccoshl.c (__ccoshl): Likewise.
33865 * math/s_cexpl.c (__cexpl): Likewise.
33866 * math/s_csinl.c (__csinl): Likewise.
33867 * math/s_csinhl.c (__csinhl): Likewise.
33868 * math/s_ctanl.c (__ctanl): Likewise.
33869 * math/s_ctanhl.c (__ctanhl): Likewise.
33870
203e5603
JM
338712012-09-25 Joseph Myers <joseph@codesourcery.com>
33872
33873 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
33874 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
33875 (_IO_off_t): Define to __off_t, not _G_off_t.
33876 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
33877 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
33878 (_IO_wint_t): Define to wint_t, not _G_wint_t.
33879 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
33880 type of __dummy and __dummy2 fields.
33881 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
33882 (_G_ssize_t): Likewise.
33883 (_G_off_t): Likewise.
33884 (_G_pid_t): Likewise.
33885 (_G_uid_t): Likewise.
33886 (_G_wchar_t): Likewise.
33887 (_G_wint_t): Likewise.
33888 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
33889 (_G_ssize_t): Likewise.
33890 (_G_off_t): Likewise.
33891 (_G_pid_t): Likewise.
33892 (_G_uid_t): Likewise.
33893 (_G_wchar_t): Likewise.
33894 (_G_wint_t): Likewise.
33895 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
33896 (_G_ssize_t): Likewise.
33897 (_G_off_t): Likewise.
33898 (_G_pid_t): Likewise.
33899 (_G_uid_t): Likewise.
33900 (_G_wchar_t): Likewise.
33901 (_G_wint_t): Likewise.
33902
9fab36eb
SP
339032012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33904
33905 * malloc/arena.c: Include malloc-sysdep.h.
33906 (shrink_heap): Use check_may_shrink_heap to decide if madvise
33907 is sufficient to shrink the heap or an unmap is needed.
33908 * sysdeps/generic/malloc-sysdep.h: New file. Define
33909 new function check_may_shrink_heap.
33910 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
33911 new function check_may_shrink_heap.
33912
2b4f00d1
SP
339132012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33914
33915 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
33916 comments.
33917
9a9028b1
DL
339182012-09-24 Dmitry V. Levin <ldv@altlinux.org>
33919
57c69bef
DL
33920 * catgets/test-gencat.sh: Add "set -e".
33921 * elf/tst-pathopt.sh: Likewise.
33922 * grp/tst_fgetgrent.sh: Likewise.
33923 * iconvdata/run-iconv-test.sh: Likewise.
33924 * intl/tst-gettext.sh: Likewise.
33925 * intl/tst-gettext2.sh: Likewise.
33926 * intl/tst-gettext4.sh: Likewise.
33927 * intl/tst-gettext6.sh: Likewise.
33928 * intl/tst-translit.sh: Likewise.
33929 * io/ftwtest-sh: Likewise.
33930 * libio/test-freopen.sh: Likewise.
33931 * malloc/tst-mtrace.sh: Likewise.
33932 * posix/globtest.sh: Likewise.
33933 * posix/tst-getconf.sh: Likewise.
33934 * posix/wordexp-tst.sh: Likewise.
33935 * stdio-common/tst-printf.sh: Likewise.
33936 * stdio-common/tst-unbputc.sh: Likewise.
33937 * stdlib/tst-fmtmsg.sh: Likewise.
33938 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33939 * catgets/Makefile: Do not specify -e option when running
33940 testsuite shell scripts.
33941 * elf/Makefile: Likewise.
33942 * grp/Makefile: Likewise.
33943 * iconvdata/Makefile: Likewise.
33944 * intl/Makefile: Likewise.
33945 * io/Makefile: Likewise.
33946 * libio/Makefile: Likewise.
33947 * malloc/Makefile: Likewise.
33948 * posix/Makefile: Likewise.
33949 * stdio-common/Makefile: Likewise.
33950 * stdlib/Makefile: Likewise.
33951 * sysdeps/x86_64/Makefile: Likewise.
33952
9a9028b1
DL
33953 * io/ftwtest-sh: Add copyright header.
33954 * posix/globtest.sh: Likewise.
33955 * posix/tst-getconf.sh: Likewise.
33956 * posix/wordexp-tst.sh: Likewise.
33957 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33958
ced6f16e
L
339592012-09-24 H.J. Lu <hongjiu.lu@intel.com>
33960
94b32c39
L
33961 [BZ #13679]
33962 * Makeconfig (+link): Defined as $(+link-static) if
33963 $(build-shared) isn't yes.
33964 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
33965 isn't yes.
33966 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
33967
189e935b
L
33968 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
33969
ced6f16e
L
33970 [BZ #14562]
33971 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
33972 new chunk size with MALLOC_ALIGN_MASK.
33973
a9f8e53a
JM
339742012-09-24 Joseph Myers <joseph@codesourcery.com>
33975
33976 [BZ #5044]
33977 * stdio-common/printf_fphex.c: Include <stdbool.h> and
33978 <rounding-mode.h>.
33979 (__printf_fphex): Determine rounding using get_rounding_mode and
33980 round_away.
33981 * stdio-common/tst-printf-round.c (struct hex_test): New
33982 structure.
33983 (hex_tests): New variable.
33984 (test_hex_in_one_mode): New function.
33985 (do_test): Also run tests for hex float output.
33986
43153109
JM
339872012-09-21 Joseph Myers <joseph@codesourcery.com>
33988
33989 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33990 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33991 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33992 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33993 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33994 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33995 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33996 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33997
8a26625d
JM
339982012-09-20 Joseph Myers <joseph@codesourcery.com>
33999
34000 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
34001 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
34002 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
34003 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
34004
f3fd569c
DL
340052012-09-19 Dmitry V. Levin <ldv@altlinux.org>
34006
34007 [BZ #14579]
34008 * elf/rtld.c (dl_main): Limit the check for self loading to normal
34009 mode only.
34010 * elf/tst-rtld-load-self.sh: New test.
34011 * elf/Makefile: Run it.
34012
63bbedd4
JM
340132012-09-18 Joseph Myers <joseph@codesourcery.com>
34014
34015 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
34016 (tst-writev-ENV): Remove.
34017 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
34018
626f8b6a
CM
340192012-09-17 Chris Metcalf <cmetcalf@tilera.com>
34020
34021 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
34022
b7aaa4d6
JM
340232012-09-17 Joseph Myers <joseph@codesourcery.com>
34024
34025 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
34026 unconditional.
34027 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
34028 Likewise.
34029 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
34030 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
34031 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
34032 Likewise.
34033
65513990
L
340342012-09-14 H.J. Lu <hongjiu.lu@intel.com>
34035
34036 [BZ #14587]
34037 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34038 * config.make.in (have-cpp-asm-debuginfo): Removed.
34039 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
34040 * configure: Regenerated.
34041
784761be
JM
340422012-09-14 Joseph Myers <joseph@codesourcery.com>
34043
34044 [BZ #5044]
34045 * stdio-common/printf_fp.c: Include <stdbool.h> and
34046 <rounding-mode.h>.
34047 (___printf_fp): Determine rounding using get_rounding_mode and
34048 round_away.
34049 * stdio-common/tst-printf-round.c: New file.
34050 * stdio-common/Makefile (tests): Add tst-printf-round.
34051 (link-libm): New variable.
34052 ($(objpfx)tst-printf-round): Depend in $(link-libm).
34053
9503345f
L
340542012-09-13 H.J. Lu <hongjiu.lu@intel.com>
34055
34056 [BZ #14576]
34057 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
34058 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
34059 Likewise.
34060 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
34061 Likewise.
34062
ad35fc00
JM
340632012-09-13 Joseph Myers <joseph@codesourcery.com>
34064
34065 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
34066 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34067 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34068 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34069
6c9b0f68
JM
340702012-09-12 Joseph Myers <joseph@codesourcery.com>
34071
34072 [BZ #14518]
34073 * include/rounding-mode.h: New file.
34074 * sysdeps/generic/get-rounding-mode.h: Likewise.
34075 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
34076 * stdlib/strtod_l.c: Include <rounding-mode.h>.
34077 (MAX_VALUE): New macro.
34078 (MIN_VALUE): Likewise.
34079 (overflow_value): New function.
34080 (underflow_value): Likewise.
34081 (round_and_return): Use overflow_value and underflow_value to
34082 determine return values in overflow and underflow cases. Use
34083 round_away to determine rounding depending on rounding mode.
34084 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
34085 determine return values in overflow and underflow cases.
34086 * stdlib/tst-strtod-round.c: Include <fenv.h>.
34087 (struct test_results): New structure.
34088 (struct test): Use struct test_results to store expected results
34089 for all rounding modes.
34090 (TEST): Include expected results for all rounding modes.
34091 (test_in_one_mode): New function.
34092 (do_test): Use test_in_one_mode to compute and check results.
34093 Check results for all rounding modes.
34094 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34095 $(link-libm).
34096
19fcedd5
AM
340972012-12-09 Allan McRae <allan@archlinux.org>
34098
1e9d84cd 34099 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 34100
8bbfd2f1
JM
341012012-09-11 Joseph Myers <joseph@codesourcery.com>
34102
34103 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34104 (_G_int32_t): Likewise.
34105 (_G_uint16_t): Likewise.
34106 (_G_uint32_t): Likewise.
34107 (_G_HAVE_BOOL): Likewise.
34108 (_G_HAVE_ATEXIT): Likewise.
34109 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34110 (_G_HAVE_IO_FILE_OPEN): Likewise.
34111 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34112 (_G_int32_t): Likewise.
34113 (_G_uint16_t): Likewise.
34114 (_G_uint32_t): Likewise.
34115 (_G_HAVE_BOOL): Likewise.
34116 (_G_HAVE_ATEXIT): Likewise.
34117 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34118 (_G_HAVE_IO_FILE_OPEN): Likewise.
34119 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34120 (_G_int32_t): Likewise.
34121 (_G_uint16_t): Likewise.
34122 (_G_uint32_t): Likewise.
34123 (_G_HAVE_BOOL): Likewise.
34124 (_G_HAVE_ATEXIT): Likewise.
34125 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34126 (_G_HAVE_IO_FILE_OPEN): Likewise.
34127
b1dc5912
L
341282012-09-11 H.J. Lu <hongjiu.lu@intel.com>
34129
34130 * csu/libc-tls.c: Update copyright years.
34131
0e886ef9
JM
341322012-09-10 Joseph Myers <joseph@codesourcery.com>
34133
28361c5e
JM
34134 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34135 [!_G_USING_THUNKS]: Remove conditional code.
34136 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34137 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34138
0e886ef9
JM
34139 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34140 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34141 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34142 (_G_VTABLE_LABEL_PREFIX): Likewise.
34143 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34144 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34145 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34146 (_G_VTABLE_LABEL_PREFIX): Likewise.
34147 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34148 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34149 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34150 (_G_VTABLE_LABEL_PREFIX): Likewise.
34151 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34152
bcba7aa2
L
341532012-09-10 H.J. Lu <hongjiu.lu@intel.com>
34154
34155 * libio/Makefile: Include ../Makeconfig before tests.
34156 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
34157 only if $(build-shared) is yes.
34158
06585ee8
L
34159 * iconv/gconv_db.c: Update copyright years.
34160
80ccd52c
LD
341612012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34162
34163 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
34164 unwind info if defined PIC. Fix special cases description.
34165 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
34166
34167 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
34168 DP_HI_MASK entry.
34169 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
34170
691bc9c1
L
341712012-09-07 H.J. Lu <hongjiu.lu@intel.com>
34172
3d9b46b3
L
34173 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
34174
de2139a9
L
34175 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
34176 is NULL.
34177
5ca78dd0
L
34178 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
34179 (LDLIBS-tst-chk4): This.
34180 (LDFLAGS-tst-chk5): Renamed to ...
34181 (LDLIBS-tst-chk5): This.
34182 (LDFLAGS-tst-chk6): Renamed to ...
34183 (LDLIBS-tst-chk6): This.
34184 (LDFLAGS-tst-lfschk4): Renamed to ...
34185 (LDLIBS-tst-lfschk4): This.
34186 (LDFLAGS-tst-lfschk5): Renamed to ...
34187 (LDLIBS-tst-lfschk5): This.
34188 (LDFLAGS-tst-lfschk6): Renamed to ...
34189 (LDLIBS-tst-lfschk6): This.
34190
691bc9c1
L
34191 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
34192 on $(common-objpfx)soversions.mk.
34193
65cafb1c
JM
341942012-09-07 Joseph Myers <joseph@codesourcery.com>
34195
34196 [BZ #10014]
34197 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
34198 example host name.
34199
c78ab094
SP
342002012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
34201
34202 * malloc/arena.c (arena_get_retry): New function that gets
34203 another arena for the caller to try its request on.
34204 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
34205 current arena cannot fulfill the request.
34206 (__libc_memalign): Likewise.
34207 (__libc_memalign): Likewise.
34208 (__libc_pvalloc): Likewise.
34209 (__libc_calloc): Likewise.
34210
01f49f59
JT
342112012-09-05 John Tobey <john.tobey@gmail.com>
34212
34213 [BZ #13542]
34214 * manual/arith.texi (Operations on Complex): Fix description
34215 of carg branch cut.
34216
4c23fed5
JM
342172012-09-06 Joseph Myers <joseph@codesourcery.com>
34218
1d3c8572
JM
34219 [BZ #10014]
34220 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
34221 host name.
34222
4c23fed5
JM
34223 [BZ #10038]
34224 * manual/memory.texi (Memory): Make order of menu items match
34225 order of sections.
34226
04570aaa
L
342272012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34228
34229 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
34230 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
34231 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
34232
b80af2f4
L
342332012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34234
34235 * csu/libc-tls.c (static_dtv): Renamed to ...
34236 (_dl_static_dtv): This. Make it global.
34237 (_dl_initial_dtv): Removed.
34238 (__libc_setup_tls): Updated.
34239 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
34240 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
34241 DL_INITIAL_DTV.
34242
2abe9f15
PM
342432012-09-06 Petr Machata <pmachata@redhat.com>
34244
34245 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
34246 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
34247 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
34248 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
34249
0948c3af
L
342502012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34251
34252 [BZ #14545]
34253 * csu/libc-tls.c (_dl_initial_dtv): New variable.
34254 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
34255 freeing dtv[-1].
34256
a5055ad1
L
342572012-09-06 H.J. Lu <hongjiu.lu@intel.com>
34258
34259 [BZ #14544]
34260 * Makeconfig (link-static-before-libc): Replace $(+prector)
34261 with $(+prectorT).
34262 (link-static-after-libc): Replace $(+postctor) with
34263 $(+postctorT).
34264 (link-bounded): Replace $(+prector)/$(+postctor) with
34265 $(+prectorT)/$(+postctorT).
34266 (+prectorT): New macro.
34267 (+postctorT): Likewise.
34268
ed8c2ecd
JM
342692012-09-06 Joseph Myers <joseph@codesourcery.com>
34270
34271 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
34272 (round_str): Handle values above the maximum for IBM long double
34273 as inexact.
34274 * stdlib/tst-strtod-round.c (tests): Regenerated.
34275
14c996c8
AK
342762012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34277
34278 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
34279 assembler flag.
34280 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
34281 zarch_nohighgprs around the zarch optimized routines.
34282 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34283 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34284 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
34285 for zarch.
34286
430d6ce6
DM
342872012-09-05 David S. Miller <davem@davemloft.net>
34288
34289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34290
57f41c40
AS
34291 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
34292 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
34293 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
34294 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34295 entries.
34296
24d4e01b
AO
342972012-09-05 Alexandre Oliva <aoliva@redhat.com>
34298
34299 * malloc/arena.c: Fold copyright years.
34300 * malloc/mcheck.c, malloc/memusage.c: Likewise.
34301
61d58174
AO
343022012-09-05 Alexandre Oliva <aoliva@redhat.com>
34303
34304 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
34305
20196a5e
AO
343062012-09-05 Alexandre Oliva <aoliva@redhat.com>
34307
34308 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
34309
5c447383
AO
343102012-09-05 Alexandre Oliva <aoliva@redhat.com>
34311
34312 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
34313 change internal state upon failure.
34314
fad64255
AO
343152012-09-05 Alexandre Oliva <aoliva@redhat.com>
34316
34317 * malloc/mcheck.c (mcheck_check_all): Fix typo.
34318 * malloc/memusage.c (mmap): Likewise.
34319 (mmap64, mremap): Likewise. Adjust name in comment.
34320
1ffb8c90
SP
343212012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34322
34323 * libio/fileops.c: Fix typos in comments.
34324 * libio/oldfileops.c: Likewise.
34325 * libio/wfileops.c: Likewise.
34326
6ef9cc37
SP
343272012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34328
34329 [BZ #1349]
34330 * malloc/Makefile (tests): Add tst-malloc-usable test case.
34331 (tst-malloc-usable-ENV): Set environment for test case.
34332 * malloc/hooks.c (malloc_check_get_size): New function to get
34333 requested size.
34334 * malloc/malloc.c (musable): Use malloc_check_get_size.
34335 * malloc/tst-malloc-usable.c: New test case.
34336
4d038ae3
AS
343372012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34338
34339 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
34340
c4e85184
AM
343412012-09-05 Allan McRae <allan@archlinux.org>
34342
b9dafc56 34343 [BZ #13966]
c4e85184
AM
34344 * configure.in (CXX_SYSINCLUDES): Use compiler output to
34345 determine header location.
34346 * configure: Regenerated.
34347
e1343020
AS
343482012-09-05 Andreas Schwab <schwab@linux-m68k.org>
34349
34350 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
34351 float format.
34352 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
34353 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
34354 format.
e1343020
AS
34355 (test): Regenerate.
34356
0a9f1987
DM
343572012-09-04 David S. Miller <davem@davemloft.net>
34358
34359 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
34360 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
34361 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
34362
29237804
FW
343632012-09-04 Florian Weimer <fweimer@redhat.com>
34364
34365 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
34366 failures.
34367
edb3cb88
FW
34368 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
34369
60160d83
JM
343702012-09-04 Joseph Myers <joseph@codesourcery.com>
34371
34372 [BZ #9914]
34373 * libio/iogetdelim.c: Include <limits.h>.
34374 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
34375 + len + 1 would overflow.
34376
bcd6c8dc
AJ
343772012-09-03 Andreas Jaeger <aj@suse.de>
34378
34379 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34380 * sysdeps/i386/fpu/libm-test-ulps: Update.
34381
4ffffbd2
LD
343822012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34383
34384 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34385 Add s_sinf-sse2, s_conf-sse2.
34386
34387 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
34388 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
34389 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
34390 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
34391
34392 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
34393 for using routine as __sinf_ia32.
34394 Use macro for function declaration and weak_alias.
34395 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
34396 for using routine as __cosf_ia32.
34397 Use macro for function declaration and weak_alias.
34398
34399 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
34400 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
34401
34402 * sysdeps/x86_64/fpu/s_sinf.S: New file.
34403 * sysdeps/x86_64/fpu/s_cosf.S: New file.
34404 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34405
34406 * math/libm-test.inc (cos_test): Add more test cases.
34407 (sin_test): Likewise.
34408 (sincos_test): Likewise.
34409
511fa286
AK
344102012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34411
34412 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34413 (IFUNC_RESOLVE): Make pointers to the specialized implementations
34414 hidden.
34415 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34416
5f30cfec
L
344172012-09-02 H.J. Lu <hongjiu.lu@intel.com>
34418
34419 [BZ #14538]
34420 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
34421 first element of the GOT.
34422 (elf_machine_load_address): Return the difference between
34423 the runtime address of _DYNAMIC and elf_machine_dynamic ().
34424
0786794f
AM
344252012-09-01 Allan McRae <allan@archlinux.org>
34426
5f30cfec
L
34427 [BZ #13412]
34428 * configure.in (AWK): Require gawk version 3.0 or later.
34429 * configure: Regenerated.
0786794f 34430
26889eac
JM
344312012-09-01 Joseph Myers <joseph@codesourcery.com>
34432
34433 * sysdeps/unix/sysv/linux/kernel-features.h
34434 (__ASSUME_POSIX_CPU_TIMERS): Remove.
34435 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34436 [__NR_clock_getres]: Make code unconditional.
34437 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
34438 (clock_getcpuclockid): Remove code left unreachable by removal of
34439 conditionals.
34440 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
34441 code unconditional.
34442 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34443 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34444 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
34445 Make code unconditional.
34446 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34447 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34448 * sysdeps/unix/sysv/linux/clock_settime.c
34449 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
34450 conditional code.
34451 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
34452 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34453
d22e28b0
L
344542012-08-29 H.J. Lu <hongjiu.lu@intel.com>
34455
34456 [BZ #14476]
34457 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
34458 scripts/test-installation.pl.
34459
34460 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
34461 and $ld_so_version if it is set.
34462
050af9c4
SP
344632012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34464
34465 [BZ #14516]
34466 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
34467 failure if reading from procfs failed.
34468 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
34469
ad845c0b
JM
344702012-08-27 Joseph Myers <joseph@codesourcery.com>
34471
34472 * sysdeps/unix/sysv/linux/kernel-features.h
34473 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
34474 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34475 Remove conditional code.
34476 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34477 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
34478 Remove conditional code.
34479 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34480 * sysdeps/unix/sysv/linux/i386/fxstat.c
34481 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34482 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34483 * sysdeps/unix/sysv/linux/i386/fxstatat.c
34484 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34485 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34486 * sysdeps/unix/sysv/linux/i386/lxstat.c
34487 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34488 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34489 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
34490 Remove conditional code.
34491 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34492 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34493 Remove conditional code.
34494 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34495 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
34496 <kernel-features.h>.
34497 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
34498 Remove.
34499 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
34500 Remove conditional code.
34501 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34502 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
34503 Remove conditional.
34504
5dbf56af
MF
345052012-08-27 Mike Frysinger <vapier@gentoo.org>
34506
34507 [BZ #5400]
34508 * NEWS: Add fixed bug number.
34509
d6e70f43
JM
345102012-08-27 Joseph Myers <joseph@codesourcery.com>
34511
7efb4737
JM
34512 [BZ #14519]
34513 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
34514 underflowing exponent in case of negative sign.
34515 * stdlib/tst-strtod-round-data: Add more tests.
34516 * stdlib/tst-strtod-round.c (tests): Regenerated.
34517
af92131a
JM
34518 [BZ #3479]
34519 * stdlib/strtod_l.c (NDIG): Remove.
34520 (HEXNDIG): Likewise.
34521 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
34522 smallest representable value.
34523 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
34524 lie within an exact representation of 1/2 ulp of the result.
34525 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
34526 unconditionally.
34527 (TENS_P9_IDX): Define unconditionally.
34528 (TENS_P9_SIZE): Likewise.
34529 (TENS_P10_IDX): Likewise.
34530 (TENS_P10_SIZE): Likewise.
34531 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
34532 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
34533 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
34534 entries for 10^2^13 and 10^2^14.
34535 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
34536 (TENS_P13_IDX): Define.
34537 (TENS_P13_SIZE): Likewise.
34538 (TENS_P14_IDX): Likewise.
34539 (TENS_P14_SIZE): Likewise.
34540 (_fpioconst_pow10): Change array size to
34541 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
34542 unconditional.
34543 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
34544 1024]: Add entries for 10^2^13 and 10^2^14.
34545 [LAST_POW10 > _LAST_POW10]: Remove #error.
34546 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
34547 (_fpioconst_pow10): Change array size to
34548 FPIOCONST_POW10_ARRAY_SIZE.
34549 * stdlib/gen-fpioconst.c: New file.
34550 * stdlib/gen-tst-strtod-round.c: Likewise.
34551 * stdlib/tst-strtod-round-data: Likewise.
34552 * stdlib/tst-strtod-round.c: Likewise.
34553 * stdlib/Makefile (tests): Add tst-strtod-round.
34554
d6e70f43
JM
34555 [BZ #14459]
34556 * stdlib/strtod_l.c: Include <stdint.h>.
34557 (NDEBUG): Do not define.
34558 (round_and_return): Change EXPONENT parameter to type intmax_t.
34559 Rearrange calculations to avoid internal overflow possibilities.
34560 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
34561 Rearrange calculations to avoid internal overflow possibilities.
34562 Assert that number fits inside MPNSIZE limbs.
34563 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
34564 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
34565 calculations and add assertions to avoid internal overflow
34566 possibilities. Add casts to avoid signed/unsigned operations.
34567 * stdlib/tst-strtod-overflow.c: New file.
34568 * stdlib/Makefile (tests): Add tst-strtod-overflow.
34569
1f529f7d
MP
345702012-08-25 Marek Polacek <polacek@redhat.com>
34571
34572 * time/time.h: Fix some typos in comments.
34573
59a629f1
RM
345742012-08-23 Roland McGrath <roland@hack.frob.com>
34575
34576 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
34577 * posix/tst-rfc3484-2.c: Likewise.
34578 * posix/tst-rfc3484-3.c: Likewise.
34579
d3bafbc9
SM
345802012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
34581
34582 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
34583 (EF_ARM_ABI_FLOAT_HARD): Likewise.
34584
4efcc022
JM
345852012-08-23 Joseph Myers <joseph@codesourcery.com>
34586
34587 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
34588 #include of fxstatat64.c.
34589
3cc3ef96
RM
345902012-08-22 Roland McGrath <roland@hack.frob.com>
34591
f04e2132
RM
34592 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
34593 * shadow/getspent_r.c: Likewise.
34594 * shadow/getspnam.c: Likewise.
34595 * shadow/getspnam_r.c: Likewise.
34596 * gshadow/getsgent.c: Likewise.
34597 * gshadow/getsgent_r.c: Likewise.
34598 * gshadow/getsgnam.c: Likewise.
34599 * gshadow/getsgnam_r.c: Likewise.
34600 * inet/getnetbyad.c: Likewise.
34601 * inet/getnetbyad_r.c: Likewise.
34602 * inet/getnetbynm.c: Likewise.
34603 * inet/getnetbynm_r.c: Likewise.
34604 * inet/getnetent.c: Likewise.
34605 * inet/getnetent_r.c: Likewise.
34606 * inet/getproto.c: Likewise.
34607 * inet/getproto_r.c: Likewise.
34608 * inet/getprtent.c: Likewise.
34609 * inet/getprtent_r.c: Likewise.
34610 * inet/getprtname.c: Likewise.
34611 * inet/getprtname_r.c: Likewise.
34612 * inet/getrpcbyname.c: Likewise.
34613 * inet/getrpcbyname_r.c: Likewise.
34614 * inet/getrpcbynumber.c: Likewise.
34615 * inet/getrpcbynumber_r.c: Likewise.
34616 * inet/getrpcent.c: Likewise.
34617 * inet/getrpcent_r.c: Likewise.
34618 * inet/getaliasent.c: Likewise.
34619 * inet/getaliasent_r.c: Likewise.
34620 * inet/getaliasname.c: Likewise.
34621 * inet/getaliasname_r.c: Likewise.
34622 * nscd/getgrgid_r.c: Likewise.
34623 * nscd/getgrnam_r.c: Likewise.
34624 * nscd/gethstbyad_r.c: Likewise.
34625 * nscd/gethstbynm3_r.c: Likewise.
34626 * nscd/getpwnam_r.c: Likewise.
34627 * nscd/getpwuid_r.c: Likewise.
34628 * nscd/getsrvbynm_r.c: Likewise.
34629 * nscd/getsrvbypt_r.c: Likewise.
34630 * nscd/gai.c: Likewise.
34631
c53d909c
RM
34632 * configure.in (build_nscd): New substituted variable, set
34633 by --disable-build-nscd and defaults to $use_nscd.
34634 * configure: Regenerated.
34635 * config.make.in (build-nscd): New substituted variable.
34636 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
34637 Change conditional to require [$(build-nscd) = yes] as well.
34638 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
34639
3cc3ef96
RM
34640 [BZ# 13696]
34641 * configure.in (use_nscd): New substituted variable, set by
34642 --disable-nscd. If enabled, define USE_NSCD.
34643 * configure: Regenerated.
34644 * config.h.in: Add USE_NSCD.
34645 * config.make.in (use-nscd): New substituted variable.
34646 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
34647 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
34648 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
34649 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
34650 (CFLAGS-getgrnam_r.c): Likewise.
34651 (CFLAGS-initgroups.c): Likewise.
34652 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
34653 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
34654 Variables removed.
34655 * inet/getnetgrent_r.c
34656 (nscd_setnetgrent): New function, broken out of ...
34657 (setnetgrent): ... here. Call it.
34658 (innetgr): Conditionalize nscd bits on [USE_NSCD].
34659 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
34660 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
34661 * nscd/Makefile (routines, aux): Move definitions after include of
34662 Makeconfig. Conditionalize on [$(use-nscd) != no].
34663 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
34664 Conditionalize on [USE_NSCD].
34665 (is_nscd, nscd_init_cb): Likewise.
34666 (nss_load_library): Conditionalize init callback on [USE_NSCD].
34667 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
34668 * nss/nss_db/db-init.c: Likewise.
34669 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
34670 [USE_NSCD].
34671 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
34672 (make_request): Use it.
34673 (cache_valid_p): New function.
34674 (__check_pf): Use it.
34675 * NEWS: Add item for --disable-nscd.
34676
07e51550
DL
346772012-08-22 Dmitry V. Levin <ldv@altlinux.org>
34678
34679 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
34680 to support sed >= 4.2.1-20-ga9bf076.
34681 * configure: Regenerated.
34682
35a5b08b
RM
346832012-08-22 Roland McGrath <roland@hack.frob.com>
34684
34685 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
34686 Conditionalize whole body on [IREL].
34687
8479f23a
JL
346882012-08-22 Jeff Law <law@redhat.com>
34689
34690 [BZ #14505]
34691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
34692 if the family is PF_UNSPEC.
34693
48da0b21
MF
346942012-08-22 Mike Frysinger <vapier@gentoo.org>
34695
34696 * Makerules (lib-version): Rename from V.
34697 (install-lib-nosubdir): Change V to lib-version.
34698
15d0da8c
WS
346992012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
34700
34701 [BZ #14252]
34702 * powerpc32/power6/wcschr.c: New file.
34703 * powerpc32/power6/wcscpy.c: New file.
34704 * powerpc32/power6/wcsrchr.c: New file.
34705 * powerpc64/power6/wcschr.c: New file.
34706 * powerpc64/power6/wcscpy.c: New file.
34707 * powerpc64/power6/wcsrchr.c: New file.
34708
bcca0895
MK
347092012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
34710
34711 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
34712 (two_way_short_needle): Use it.
5a4aaa33
RM
34713 * string/strstr.c (AVAILABLE1_USES_J): Define.
34714 * string/strcasestr.c: Likewise.
99677e57
MK
34715
34716 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
34717 array references.
34718 * string/strcasestr.c (TOLOWER): Make side-effect safe.
34719
400726de
MK
34720 [BZ #11607]
34721 * NEWS: Add an entry.
34722 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
34723 define their defaults.
34724 (two_way_short_needle): Detect end-of-string on-the-fly.
34725 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
34726 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
34727 * string/bug-strcasestr1.c: New test.
34728 * string/Makefile: Run it.
34729
20a71f2c
MK
347302012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
34731
34732 [BZ #11607]
34733 * string/str-two-way.h (two_way_short_needle): Optimize matching of
34734 the first character.
34735
21ad0558
RM
347362012-08-21 Roland McGrath <roland@hack.frob.com>
34737
34738 * csu/elf-init.c (__libc_csu_irel): Function removed.
34739 * csu/libc-start.c (apply_irel): New function.
34740 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
34741
0e1d9911
JM
347422012-08-21 Joseph Myers <joseph@codesourcery.com>
34743
34744 * sysdeps/unix/sysv/linux/kernel-features.h
34745 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
34746 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34747 <kernel-features.h>.
34748 [__NR_fadvise64_64]: Make code unconditional.
34749 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
34750 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34751 !__NR_fadvise64_64)]: Likewise.
34752 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34753 !__NR_fadvise64_64))]: Likewise.
34754 [__NR_fadvise64]: Make code unconditional.
34755 [!__NR_fadvise64]: Remove conditional code.
34756 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
34757 <kernel-features.h>.
34758 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34759 unconditional.
34760 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34761 conditional code.
34762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
34763 not include <kernel-features.h>.
34764 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34765 unconditional.
34766 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34767 conditional code.
34768 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
34769 include <kernel-features.h>.
34770 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34771 unconditional.
34772 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34773 conditional code.
34774
14a50c9d
WS
347752012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
34776
34777 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
34778 slight instruction rearrangements per scrollpipe analysis.
34779 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34780
c0f4faf0
RM
347812012-08-20 Roland McGrath <roland@hack.frob.com>
34782
696da859
RM
34783 * manual/syslog.texi (syslog; vsyslog, closelog):
34784 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
34785 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
34786
c0f4faf0
RM
34787 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
34788 DSOCAPS to match condition on defining it.
34789
348363b2
JM
347902012-08-20 Joseph Myers <joseph@codesourcery.com>
34791
a35cbf28
JM
34792 * sysdeps/unix/sysv/linux/kernel-features.h
34793 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
34794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
34795 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34796 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
34798 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34799 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
34801 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34802 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34803
445f7ecd
JM
34804 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
34805 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
34806
348363b2
JM
34807 * sysdeps/unix/sysv/linux/kernel-features.h
34808 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
34809 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
34810 unconditional.
34811 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34812 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
34813 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34814 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34815 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
34816 Make code unconditional.
34817 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34818 (__mmap64) [!__NR_mmap2]: Likewise.
34819 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
34820 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34821 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34822 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
34823 [__NR_mmap2]: Make code unconditional.
34824 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34825 (__mmap64) [!__NR_mmap2]: Likewise.
34826
bc5bc0e5
AK
348272012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34828
34829 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
34830
88d506de
AJ
348312012-08-18 Andreas Jaeger <aj@suse.de>
34832
34833 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
34834
493387d2
MF
348352012-08-18 Mike Frysinger <vapier@gentoo.org>
34836
34837 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
34838 * include/unistd.h (__have_sock_cloexec): Likewise.
34839 (__have_pipe2): Likewise.
34840 (__have_dup3): Likewise.
34841
a277af22
MF
348422012-08-18 Mike Frysinger <vapier@gentoo.org>
34843
34844 [BZ #9685]
34845 * include/unistd.h (__have_pipe2): Change define into an extern int.
34846 (__have_dup3): Likewise.
34847 * socket/have_sock_cloexec.c: Include fcntl.h.
34848 (__have_pipe2): New variable.
34849 (__have_dup3): Likewise.
34850
fdab8fd3
MF
348512012-08-17 Mike Frysinger <vapier@gentoo.org>
34852
34853 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
34854
31035e80
MP
348552012-08-17 Marek Polacek <polacek@redhat.com>
34856
34857 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
34858 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
34859
3bd9e993
RM
348602012-08-17 Roland McGrath <roland@hack.frob.com>
34861
c91c505f
RM
34862 * configure.in: Add AC_SUBST for sysheaders.
34863 * configure: Regenerated.
34864 * config.make.in (sysheaders): New substituted variable.
34865
7c6f9d53
RM
34866 * sysdeps/unix/mkfifo.c: Moved ...
34867 * sysdeps/posix/mkfifo.c: ... here.
34868 * sysdeps/unix/mkfifoat.c: Moved ...
34869 * sysdeps/posix/mkfifoat.c: ... here.
34870
34871 * sysdeps/unix/utime.c: Moved ...
34872 * sysdeps/posix/utime.c: ... here.
34873
34874 * sysdeps/unix/time.c: Moved ...
34875 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
34876 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
34877 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
34878
34879 * sysdeps/unix/nice.c: Moved ...
34880 * sysdeps/posix/nice.c: ... here.
34881
34882 * sysdeps/unix/alarm.c: Moved ...
34883 * sysdeps/posix/alarm.c: ... here.
34884
3bd9e993
RM
34885 * intl/Makefile ($(codeset_mo)): Depend on the input file.
34886
d1f09384
JL
348872012-08-17 Jeff Law <law@redhat.com>
34888
34889 * intl/Makefile (codeset_mo): New variable.
34890 ($(codeset_mo)): New target.
34891 (tst-codeset.out): Depend on that. Remove explicit rule.
34892 (tst-gettext3.out, tst-gettext5.out): Likewise.
34893 (LOCPATH-ENV, tst-codeset-ENV): New variables.
34894 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
34895 * intl/tst-codeset.sh: Remove.
34896 * intl/tst-gettext3.sh: Likewise.
34897 * intl/tst-gettext5.sh: Likewise.
34898
2ae1ae5c
RM
348992012-08-17 Roland McGrath <roland@hack.frob.com>
34900
c31fdb83
RM
34901 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
34902 * sysdeps/unix/syscalls.list: ... here.
34903
a0844057
RM
34904 * sysdeps/posix/getaddrinfo.c
34905 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
34906 (gaiconf_init, gaiconf_reload): Use them.
34907 [!_STATBUF_ST_NSEC]
34908 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
34909 Define using time_t rather than struct timespec.
34910
750c1f2a
RM
34911 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
34912 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
34913 Macros removed.
34914 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34915 [!NO_THREADS].
34916 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
34917 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
34918 Likewise.
34919
2ae1ae5c
RM
34920 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
34921 __libc_cleanup_push argument.
34922
e66a42f5
RM
34923 * bits/param.h: New file.
34924 * misc/sys/param.h: New file.
34925 * include/sys/param.h: New file.
34926 * misc/Makefile (headers): Add bits/param.h.
34927 * sysdeps/generic/sys/param.h: File removed.
34928 * sysdeps/unix/sysv/linux/bits/param.h: New file.
34929 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
34930 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 34931 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 34932
b7c08a66
RM
34933 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
34934 last change.
34935
b2e1c562
RM
34936 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
34937 [_IO_MTSAFE_IO].
34938 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
34939 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
34940 New macros.
34941
c75ccd4c
RM
34942 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
34943 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
34944 rather than -D_IO_MTSAFE_IO conditionally.
34945 * stdio-common/Makefile (CPPFLAGS): Likewise.
34946 * wcsmbs/Makefile (CPPFLAGS): Likewise.
34947 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
34948 Use $(libio-mtsafe).
34949 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
34950 of -D_IO_MTSAFE_IO.
34951 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
34952 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
34953 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
34954 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
34955 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
34956 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
34957 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
34958 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
34959 (CFLAGS-fread_u_chk.c): Likewise.
34960 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
34961 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
34962 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
34963 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34964 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
34965 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
34966 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
34967 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
34968 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
34969
34970 * libio/Makefile: Test [$(libc-reentrant) = yes]
34971 instead of [$(filter %REENTRANT, $(defines)) nonempty].
34972
34973 * Makeconfig
34974 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
34975 * sysdeps/pthread/configure: File removed.
34976 * sysdeps/pthread/Makeconfig: New file.
34977 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
34978 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
34979
d9195db8
GB
349802012-08-16 Gary Benson <gbenson@redhat.com>
34981
34982 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34983 unmapping the first object in a namespace.
34984
86466cd9
RM
349852012-08-16 Roland McGrath <roland@hack.frob.com>
34986
34987 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34988 (__internal_setnetgrent): ... this. Add internal_function to
34989 definition. Add libc_hidden_def.
34990 (setnetgrent): Update caller.
34991 (internal_endnetgrent): Renamed to ...
34992 (__internal_endnetgrent): ... this. Add internal_function to
34993 definition. Add libc_hidden_def.
34994 (endnetgrent): Update caller.
34995 (internal_getnetgrent_r): Renamed to ...
34996 (__internal_getnetgrent_r): ... this. Add internal_function to
34997 definition. Add libc_hidden_def.
34998 (__getnetgrent_r): Update caller.
34999 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
35000
c3c8283c
JM
350012012-08-16 Joseph Myers <joseph@codesourcery.com>
35002
35003 * stdlib/longlong.h: Update from GCC.
35004
db1ee0a8
RM
350052012-08-16 Roland McGrath <roland@hack.frob.com>
35006
35007 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
35008 on _QL, which is set by umul_ppmm but never used.
35009 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
35010 variables, which are set by GMP macros but never used.
35011 * stdio-common/_itowa.c (_itowa): Likewise.
35012 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
35013 * stdlib/mod_1.c (mpn_mod_1): Likewise.
35014
30f69637
CD
350152012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
35016
35017 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
35018 struct La_sh_regs is not constant.
35019 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
35020 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
35021 and struct La_sparc64_regs are not constant.
35022
93a78ac4
JM
350232012-08-16 Joseph Myers <joseph@codesourcery.com>
35024
35025 * sysdeps/unix/sysv/linux/kernel-features.h
35026 (__ASSUME_POSIX_TIMERS): Remove.
35027 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35028 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35029 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
35030 Make code unconditional.
35031 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35032 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
35033 Make code unconditional.
35034 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35035 * sysdeps/unix/sysv/linux/clock_nanosleep.c
35036 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
35037 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35038 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
35039 Make code unconditional.
35040 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35041 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
35042 (__libc_missing_posix_timers): Remove.
35043
dd924cd7
RM
350442012-08-15 Roland McGrath <roland@hack.frob.com>
35045
4b4f2771
RM
35046 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35047 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35048
601c888b
RM
35049 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
35050
176790a7
RM
35051 * elf/dl-sym.c: Include <stdlib.h>.
35052
329bc018
RM
35053 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
35054 constants, which avoids warnings in 32-bit builds.
35055
e04e272d
RM
35056 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
35057 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
35058
952bf94a
RM
35059 * misc/lseek.c: File moved to ...
35060 * io/lseek.c: ... here.
35061
7c99b50a
RM
35062 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
35063
dd924cd7
RM
35064 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
35065 shifting LEN more than 31 bits at once.
35066
b3f479a8
LD
350672012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35068
35069 [BZ #14195]
8c4ae0d4
RM
35070 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
35071 segmentation fault for a case of two empty input strings.
b3f479a8
LD
35072 * string/test-strncasecmp.c (check1): Renamed to...
35073 (bz12205): ...this.
35074 (bz14195): Add new testcase for two empty input strings and N > 0.
35075 (test_main): Call new testcase, adapt for renamed function.
35076
9c55864e
AJ
350772012-08-15 Andreas Jaeger <aj@suse.de>
35078
35079 [BZ #14090]
35080 * crypt/md5test2.c: New test, based on test supplied by Serge
35081 Belyshev <belyshev@depni.sinp.msu.ru>.
35082 * crypt/Makefile (xtests): Add md5test-giant..
35083 * crypt/Makefile ($(objpfx)md5test-giant): Add.
35084
02dcb6c5
PE
350852012-08-15 Paul Eggert <eggert@cs.ucla.edu>
35086
35087 [BZ #14090]
35088 * crypt/md5.c (md5_process_block): Don't assume the buffer
35089 length is less than 2**32.
35090 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35091 length is less than 2**64.
35092
a3f95dcc
RM
350932012-08-15 Roland McGrath <roland@hack.frob.com>
35094
be75d758
RM
35095 * string/str-two-way.h: Include <sys/param.h>.
35096 (MAX): Macro removed.
35097
7312ca90
RM
35098 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35099 Move #define and #undef of memmove to just before and after
35100 including <string.h>.
35101
9a0a5486
RM
35102 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35103 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35104 and after including <string.h>. Move declarations of
35105 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35106 to before #include "string/memmove.c".
35107
67cc348d
RM
35108 * include/dirent.h: Declare __getdirentries.
35109
a3f95dcc
RM
35110 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35111 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35112
ca98e171
MF
351132012-08-14 Mike Frysinger <vapier@gentoo.org>
35114
35115 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35116 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35117 * sysdeps/i386/configure: Regenerated.
35118 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35119 STABS_CURRENT_FILE, and STABS_FUN.
35120 (END): Remove call to STABS_FUN_END.
35121 (STABS_CURRENT_FILE1): Delete.
35122 (STABS_CURRENT_FILE): Likewise.
35123 (STABS_FUN): Likewise.
35124 (STABS_FUN_END): Likewise.
35125 (STABS_FUN2): Likewise.
35126 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35127 * sysdeps/x86_64/configure: Regenerated.
35128
5908bf46
RM
351292012-08-14 Roland McGrath <roland@hack.frob.com>
35130
35131 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 35132 * elf/dl-lookup.c: Likewise.
5908bf46 35133
f2c05b9e
JM
351342012-08-14 Joseph Myers <joseph@codesourcery.com>
35135
35136 * sysdeps/unix/sysv/linux/kernel-features.h
35137 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35138 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35139 unconditionally.
35140 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35141 unconditionally.
35142 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35143 condition on __ASSUME_CLONE_THREAD_FLAGS.
35144
e11f5155
AJ
351452012-08-14 Andreas Jaeger <aj@suse.de>
35146
35147 * sysdeps/i386/fpu/libm-test-ulps: Update.
35148
51a9ba86
MK
351492012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
35150
2fdd4f78
AJ
35151 * include/atomic.h (atomic_exchange_and_add): Split into ...
35152 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
35153 New atomic macros.
51a9ba86 35154
ba6cba9e
MT
351552012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
35156
35157 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35158
42443a47
JL
351592012-08-13 Jeff Law <law@redhat.com>
35160
35161 * manual/stdio.texi (snprintf): Clarify handling of the trailing
35162 null byte in the output string.
35163
121dce05
JM
351642012-08-10 Joseph Myers <joseph@codesourcery.com>
35165
35166 * sysdeps/unix/sysv/linux/kernel-features.h
35167 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
35168 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
35169 (__ASSUME_ARG_MAX_STACK_BASED): Define.
35170 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35171 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
35172 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
35173 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
35174
bf51f568
JL
351752012-08-09 Jeff Law <law@redhat.com>
35176
35177 [BZ #13939]
35178 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35179 When avoid_arena is set, don't retry in the that arena. Pick the
35180 next one, whatever it might be.
35181 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
35182 (arena_lock): Pass in new parameter to arena_get2.
35183 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
35184 arena_get2.
35185 (__libc_malloc): Unify retrying after main arena failure with
35186 __libc_memalign version.
35187 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
35188
f85fa270
L
351892012-08-09 H.J. Lu <hongjiu.lu@intel.com>
35190
35191 [BZ #14166]
35192 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35193 to __redirect_strstr.
35194 (__strstr_sse42): Use typeof __redirect_strstr.
35195 (__strstr_ia32): Likewise.
35196 (__libc_strstr): New prototype.
35197 (strstr): Renamed to ...
35198 (__libc_strstr): This.
35199 (strstr): New strong alias of __libc_strstr.
35200 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35201 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
35202 __redirect_time.
35203 Include <time.h>.
35204 (__libc_time): New prototype.
35205 (time_ifunc): Replace time with __libc_time.
35206 (time): New strong alias and hidden definition of __libc_time.
35207 (__GI_time): Remove strong alias.
35208 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35209 Include <stddef.h>.
35210 (memmove): Redefined to __redirect_memmove.
35211 (__memmove_sse2): Use typeof __redirect_memmove.
35212 (__memmove_ssse3): Likewise.
35213 (__memmove_ssse3_back): Likewise.
35214 (__libc_memmove): New prototype.
35215 (memmove): Renamed to ...
35216 (__libc_memmove): This.
35217 (memmove): New strong alias of __libc_memmove.
35218
33b4a91e
MS
352192012-08-08 Mark Salter <msalter@redhat.com>
35220
35221 * elf/elf.h
35222 (R_MN10300_TLS_GD): Define.
35223 (R_MN10300_TLS_LD): Likewise.
35224 (R_MN10300_TLS_LDO): Likewise.
35225 (R_MN10300_TLS_GOTIE): Likewise.
35226 (R_MN10300_TLS_IE): Likewise.
35227 (R_MN10300_TLS_LE): Likewise.
35228 (R_MN10300_TLS_DTPMOD): Likewise.
35229 (R_MN10300_TLS_DTPOFF): Likewise.
35230 (R_MN10300_TLS_TPOFF): Likewise.
35231 (R_MN10300_SYM_DIFF): Likewise.
35232 (R_MN10300_ALIGN): Likewise.
35233 (R_MN10300_NUM): Update.
35234
b36137f1
JM
352352012-08-08 Joseph Myers <joseph@codesourcery.com>
35236
35237 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
35238 Remove.
35239
cdd915fd
RM
352402012-08-08 Roland McGrath <roland@hack.frob.com>
35241
a2433aac
RM
35242 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
35243
cdd915fd
RM
35244 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
35245 sysdeps/unix -> sysdeps/posix move.
35246 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35247
bf9b740a
AM
352482012-08-07 Allan McRae <allan@archlinux.org>
35249
35250 [BZ #14303]
35251 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
35252 (SUNOS_CPP): Likewise.
35253 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
35254 not found.
35255 (open_input): Call CPP using execvp.
35256
93df14ee
JM
352572012-08-07 Joseph Myers <joseph@codesourcery.com>
35258
35259 * sysdeps/unix/sysv/linux/kernel-features.h
35260 (__ASSUME_PROT_GROWSUPDOWN): Remove.
35261 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35262 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35263 (__ASSUME_WAITID_SYSCALL): Likewise.
35264 * sysdeps/unix/sysv/linux/dl-execstack.c
35265 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
35266 code unconditional.
35267 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
35268 conditional code.
35269 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
35270 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
35271 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
35272 code.
35273 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
35274 unconditional.
35275 [__ASSUME_WAITID_SYSCALL]: Likewise.
35276 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
35277
d34689de
RM
352782012-08-07 Roland McGrath <roland@hack.frob.com>
35279
a281decc
RM
35280 * sysdeps/unix/closedir.c: Renamed to ...
35281 * sysdeps/posix/closedir.c: ... here.
35282 * sysdeps/unix/dirfd.c: Renamed to ...
35283 * sysdeps/posix/dirfd.c: ... here.
35284 * sysdeps/unix/dirstream.h: Renamed to ...
35285 * sysdeps/posix/dirstream.h: ... here.
35286 * sysdeps/unix/fdopendir.c: Renamed to ...
35287 * sysdeps/posix/fdopendir.c: ... here.
35288 * sysdeps/unix/opendir.c: Renamed to ...
35289 * sysdeps/posix/opendir.c: ... here.
35290 * sysdeps/unix/readdir.c: Renamed to ...
35291 * sysdeps/posix/readdir.c: ... here.
35292 * sysdeps/unix/readdir_r.c: Renamed to ...
35293 * sysdeps/posix/readdir_r.c: ... here.
35294 * sysdeps/unix/rewinddir.c: Renamed to ...
35295 * sysdeps/posix/rewinddir.c: ... here.
35296 * sysdeps/unix/seekdir.c: Renamed to ...
35297 * sysdeps/posix/seekdir.c: ... here.
35298 * sysdeps/unix/telldir.c: Renamed to ...
35299 * sysdeps/posix/telldir.c: ... here.
35300 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
35301 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
35302 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
35303 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
35304
22895b47
RM
35305 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
35306 * bits/fcntl.h: ... here.
35307
707a53b6
RM
35308 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
35309 not 0.
35310 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
35311 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
35312 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
35313 (struct flock): Move l_start, l_len to the beginning.
35314 Use __pid_t for l_pid.
35315 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
35316 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
35317 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
35318 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
35319 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
35320 [__USE_LARGEFILE64] (struct flock64): New type.
35321 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
35322
f0bd3e25
RM
35323 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
35324 * bits/dirent.h: ... here.
35325
d34689de
RM
35326 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
35327 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
35328
6dad2c06
JM
353292012-08-07 Joseph Myers <joseph@codesourcery.com>
35330
35331 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35332 Change from 2.6.0 to 2.6.16.
35333 * sysdeps/unix/sysv/linux/configure: Regenerated.
35334 * sysdeps/unix/sysv/linux/kernel-features.h
35335 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
35336 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
35337 version.
35338 (__ASSUME_UTIMES): Likewise.
35339 (__ASSUME_CLONE_STOPPED): Remove.
35340 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
35341 architectures, not kernel version.
35342 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
35343 (__ASSUME_NO_CLONE_DETACHED): Likewise.
35344 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35345 (__ASSUME_WAITID_SYSCALL): Likewise.
35346 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
35347 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
35348 * README: State 2.6.16 as minimum Linux kernel version. Do not
35349 refer to older versions.
35350
03af9520
RM
353512012-08-06 Roland McGrath <roland@hack.frob.com>
35352
8e49df1d
RM
35353 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
35354 Define alphasort64 as an alias.
35355 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
35356 Define versionsort64 as an alias.
35357 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
35358 Define scandir64 as an alias.
35359 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
35360 Define scandirat64 as an alias.
35361 * dirent/alphasort64.c (alphasort64):
35362 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
35363 * dirent/versionsort64.c: Likewise.
35364 * dirent/scandir64.c: Likewise.
35365 * dirent/scandirat64.c: Likewise.
35366 * sysdeps/wordsize-64/alphasort.c: File removed.
35367 * sysdeps/wordsize-64/alphasort64.c: File removed.
35368 * sysdeps/wordsize-64/scandir.c: File removed.
35369 * sysdeps/wordsize-64/scandir64.c: File removed.
35370 * sysdeps/wordsize-64/scandirat.c: File removed.
35371 * sysdeps/wordsize-64/scandirat64.c: File removed.
35372 * sysdeps/wordsize-64/versionsort.c: File removed.
35373 * sysdeps/wordsize-64/versionsort64.c: File removed.
35374 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
35375 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
35376 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
35377 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
35378 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
35379 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
35380 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
35381 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
35382
35383 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
35384 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35385 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
35386 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35387 [defined __arch64__ || defined __sparcv9]
35388 (__INO_T_MATCHES_INO64_T): New macro.
35389 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35390 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
35391 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
35392 * sysdeps/unix/sysv/linux/bits/dirent.h
35393 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
35394 (_DIRENT_MATCHES_DIRENT64): New macro.
35395
03af9520
RM
35396 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
35397 Define lockf64 as an alias.
35398 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
35399 Define fseeko64 as an alias.
35400 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
35401 Define ftello64 as an alias.
35402 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
35403 Define _IO_fgetpos64 and fgetpos64 as aliases.
35404 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
35405 Define _IO_fsetpos64 and fsetpos64 as aliases.
35406 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
35407 Conditionalize body on this.
35408 * libio/fseeko64.c: Likewise.
35409 * libio/ftello64.c: Likewise.
35410 * libio/iofgetpos64.c: Likewise.
35411 * libio/iofsetpos64.c: Likewise.
35412 * sysdeps/wordsize-64/lockf.c: File removed.
35413 * sysdeps/wordsize-64/lockf64.c: File removed.
35414 * sysdeps/wordsize-64/fseeko.c: File removed.
35415 * sysdeps/wordsize-64/fseeko64.c: File removed.
35416 * sysdeps/wordsize-64/ftello.c: File removed.
35417 * sysdeps/wordsize-64/ftello64.c: File removed.
35418 * sysdeps/wordsize-64/iofgetpos.c: File removed.
35419 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
35420 * sysdeps/wordsize-64/iofsetpos.c: File removed.
35421 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
35422 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
35423 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
35424 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
35425 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
35426 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
35427 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
35428 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
35429 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
35430 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
35431 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
35432
35433 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35434 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35435 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
35436 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35437 [defined __arch64__ || defined __sparcv9]
35438 (__OFF_T_MATCHES_OFF64_T): New macro.
35439 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35440 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35441 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35442 (__OFF_T_MATCHES_OFF64_T): New macro.
35443
c5757acd
L
354442012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35445
35446 * stdlib/secure-getenv.c (__secure_getenv): Replace
35447 GLIBC_2_16 with GLIBC_2_17.
35448
3a31811e
L
354492012-08-06 H.J. Lu <hongjiu.lu@intel.com>
35450
35451 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
35452 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35453
faa2bccb
DM
354542012-08-03 David S. Miller <davem@davemloft.net>
35455
35456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35457
85fe1997
JM
354582012-08-03 Joseph Myers <joseph@codesourcery.com>
35459
35460 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
35461 Remove.
35462 (__ASSUME_CORRECT_SI_PID): Likewise.
35463 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
35464 (__ASSUME_TMPFS_NAME): Likewise.
35465 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
35466 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
35467 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
35468 (HAVE_AUX_SECURE): Make definition unconditional.
35469 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
35470 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
35471
4f75b7a0
RM
354722012-08-03 Roland McGrath <roland@hack.frob.com>
35473
35474 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
35475 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
35476 * sysdeps/mach/hurd/eloop-threshold.h: New file.
35477 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35478 __eloop_threshold instead of SYMLOOP_MAX.
35479
35480 * sysdeps/generic/eloop-threshold.h: New file.
35481 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
35482 of MAXSYMLINKS.
35483 * elf/chroot_canon.c (chroot_canon): Likewise.
35484
7aab07e4
JM
354852012-08-03 Joseph Myers <joseph@codesourcery.com>
35486
35487 [BZ #13717]
35488 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35489 Change to 2.6.0 everywhere.
35490 * sysdeps/unix/sysv/linux/configure: Regenerated.
35491 * sysdeps/unix/sysv/linux/kernel-features.h
35492 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
35493 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
35494 kernel versions.
35495 (__ASSUME_POSIX_TIMERS): Define unconditionally.
35496 (__ASSUME_FUTEX_REQUEUE): Remove.
35497 (__ASSUME_STATFS64): Define unconditionally.
35498 (__ASSUME_AT_SECURE): Likewise.
35499 (__ASSUME_CORRECT_SI_PID): Likewise.
35500 (__ASSUME_TGKILL): Define without depending on kernel version for
35501 i386.
35502 (__ASSUME_UTIMES): Likewise.
35503 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
35504 kernel version.
35505 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
35506 (__ASSUME_TMPFS_NAME): Likewise.
35507 * README: Update reference to Linux kernel versions.
35508
b67e9372
MP
355092012-08-02 Marek Polacek <polacek@redhat.com>
35510
1f529f7d 35511 [BZ# 14150]
b67e9372
MP
35512 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
35513 libc_cv_asm_type_prefix with %.
35514 * configure: Regenerated.
d2441631
RM
35515 * include/libc-symbols.h: Remove comment about
35516 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
35517 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
35518 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
35519 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
35520 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
35521 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35522 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
35523 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
35524 * elf/tst-unique2mod1.c: Likewise.
35525 * elf/tst-unique1mod2.c: Likewise.
35526 * elf/tst-unique1mod1.c: Likewise.
35527 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
35528 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
35529 Replace ASM_TYPE_DIRECTIVE with .type.
35530 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35531 * sysdeps/i386/sysdep.h: Likewise.
35532 * sysdeps/x86_64/sysdep.h: Likewise.
35533 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
35534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35535 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 35536 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
35537 * sysdeps/powerpc/powerpc32/sysdep.h:
35538 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
35539 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35540 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35541 * sysdeps/i386/fpu/e_powf.S: Likewise.
35542 * sysdeps/i386/fpu/e_expl.S: Likewise.
35543 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35544 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35545 * sysdeps/i386/fpu/e_pow.S: Likewise.
35546 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35547 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35548 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35549 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35550 * sysdeps/i386/fpu/e_log2.S: Likewise.
35551 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35552 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35553 * sysdeps/i386/fpu/e_powl.S: Likewise.
35554 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35555 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35556 * sysdeps/i386/fpu/e_logl.S: Likewise.
35557 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35558 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35559 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35560 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35561 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35562 * sysdeps/i386/fpu/e_log.S: Likewise.
35563 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35564 * sysdeps/i386/fpu/e_logf.S: Likewise.
35565 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35566 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35567 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35568 * sysdeps/i386/fpu/e_log10.S: Likewise.
35569 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35570 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35571 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35572 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35573 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35574 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
35575 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35576 * sysdeps/i386/i686/strtok.S: Likewise.
35577 * sysdeps/i386/i386-mcount.S: Likewise.
35578 * sysdeps/i386/strtok.S: Likewise.
35579 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
35580 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35581 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35582 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35583 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35584 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35585 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35586 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35587 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35588 * sysdeps/x86_64/_mcount.S: Likewise.
35589 * sysdeps/x86_64/strtok.S: Likewise.
35590 * sysdeps/sh/_mcount.S: Likewise.
35591
2747bf9a
RM
355922012-08-01 Roland McGrath <roland@hack.frob.com>
35593
35594 * libio/iofopen.c: Include <fcntl.h>.
35595 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
35596 (_IO_fopen64, fopen64): Define as aliases.
35597 * libio/iofopen64.c: Include <fcntl.h>.
35598 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
35599 Conditionalize body on this.
35600 * sysdeps/wordsize-64/iofopen.c: File removed.
35601 * sysdeps/wordsize-64/iofopen64.c: File removed.
35602
3fb791b8
MP
356032012-08-01 Marek Polacek <polacek@redhat.com>
35604
35605 * libc/Makeconfig: Use elf in place of binfmt-subdir.
35606 Use dlfcn directly instead of a variable.
35607 (binfmt-subdir): Do not define.
35608 (dlfcn): Likewise.
35609
a9f1039f
JM
356102012-08-01 Joseph Myers <joseph@codesourcery.com>
35611
23bddc06
JM
35612 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
35613 Remove all definitions.
35614 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
35615 <kernel-features.h>.
35616 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35617 (miss_F_GETOWN_EX): Remove all definitions.
35618 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
35619 macro definition.
35620 [!__ASSUME_FCNTL64]: Remove conditional code.
35621 [__ASSUME_FCNTL64]: Make code unconditional.
35622 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
35623 <kernel-features.h>.
35624 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35625 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
35626 (lockf64) [__NR_fcntl64]: Make code unconditional.
35627 (lockf64) [__ASSUME_FCNTL64]: Likewise.
35628
a9f1039f
JM
35629 * sysdeps/unix/sysv/linux/kernel-features.h
35630 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
35631 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
35632 Make code unconditional.
35633 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35634 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
35636 [__NR_vfork]: Make code unconditional.
35637 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35638 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
35640 [__NR_vfork]: Make code unconditional.
35641 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35642 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35643
09c0ee5f
RM
356442012-08-01 Roland McGrath <roland@hack.frob.com>
35645
48aec5b9
RM
35646 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
35647 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
35648
cd97c966
RM
35649 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35650 Define mkstemp64 as an alias.
3f55550c
RM
35651 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35652 Define mkstemps64 as an alias.
cd97c966
RM
35653 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35654 Define mkostemp64 as an alias.
b8625cfc
RM
35655 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35656 Define mkostemps64 as an alias.
cd97c966
RM
35657 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
35658 Conditionalize body on this.
35659 * misc/mkostemp64.c: Likewise.
b8625cfc 35660 * misc/mkostemps64.c: Likewise.
3f55550c 35661 * misc/mkstemps64.c: Likewise.
cd97c966
RM
35662 * sysdeps/wordsize-64/mkstemp64.c: File removed.
35663 * sysdeps/wordsize-64/mkostemp64.c: File removed.
35664 * sysdeps/wordsize-64/mkostemp.c: File removed.
35665 * sysdeps/wordsize-64/mkstemp.c: File removed.
35666 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
35667 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
35668 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
35669 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
35670
09c0ee5f
RM
35671 [BZ #14138]
35672 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
35673 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
35674 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
35675 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
35676
35677 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
35678 compat_symbol macros from <shlib-compat.h> rather than the underlying
35679 default_symbol_version and symbol_version macros, so that DEFAULT
35680 lines in shlib-versions are respected.
35681 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
35682
7e66ee51
FW
356832012-08-01 Florian Weimer <fweimer@redhat.com>
35684
35685 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
35686 Declare with warn_unused_result.
35687 (setgid, setregid, setegid, setresgid): Likewise.
35688 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
35689 Likewise.
35690 * WUR-REPORT: Remove set*id functions.
35691
d2a54255
PT
356922012-07-31 Pino Toscano <toscano.pino@tiscali.it>
35693
35694 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
35695
7ecdb005
RM
356962012-07-31 Roland McGrath <roland@hack.frob.com>
35697
b4180a5e 35698 [BZ #10191]
789bd351
RM
35699 * include/sys/socket.h (__libc_accept, __libc_accept4):
35700 Add attribute_hidden.
35701 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
35702
40ce302d
RM
35703 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
35704 use of PTR_MANGLE.
35705 * inet/getnetgrent_r.c (setup): Likewise.
35706
7ecdb005
RM
35707 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
35708
e2eabb2c
DM
357092012-07-31 David S. Miller <davem@davemloft.net>
35710
35711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35712
d0419dbf
JM
357132012-07-31 Joseph Myers <joseph@codesourcery.com>
35714
35715 [BZ #13629]
35716 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
35717 value between 1.0 and 2.0 and smaller part has absolute value less
35718 than 1.0.
35719 * math/s_clog10.c (__clog10): Likewise.
35720 * math/s_clog10f.c (__clog10f): Likewise.
35721 * math/s_clog10l.c (__clog10l): Likewise.
35722 * math/s_clogf.c (__clogf): Likewise.
35723 * math/s_clogl.c (__clogl): Likewise.
35724 * math/libm-test.inc (clog_test): Add more tests.
35725 (clog10_test): Likewise.
35726 * sysdeps/i386/fpu/libm-test-ulps: Update.
35727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35728
2bc13872
FW
357292012-07-31 Florian Weimer <fweimer@redhat.com>
35730
35731 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
35732 Exit with zero in case no suitable GID is found, and write a
35733 message to standard error.
35734
bea9b193
RM
357352012-07-30 Roland McGrath <roland@hack.frob.com>
35736
35737 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
35738 rather than to 1.
35739 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
35740 (MAXPATHLEN): Removed.
35741 (NOGROUP, NODEV): New macros.
35742 (setbit, clrbit, isset, isclr): New macros.
35743 (howmany, roundup, powerof2): New macros.
35744 (DEV_BSIZE): New macro.
35745
35746 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
35747 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
35748
35749 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
35750 definition on [!__NO_LONG_DOUBLE_MATH].
35751
35752 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
35753 PTR_MANGLE and PTR_DEMANGLE.
35754
35755 * socket/accept4.c (accept4): Rename to __libc_accept4.
35756 Define accept4 as a weak alias.
35757
35758 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
35759 on [_DIRENT_HAVE_D_TYPE].
35760 * io/ftw.c (ftw_dir): Likewise.
35761
35762 * io/xmknod.c (__xmknod): Don't check PATH for being null.
35763
35764 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
35765
35766 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
35767 Use the BSD numbers rather than the arbitrary ones we had.
35768 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
35769 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
35770 (SIGXCPU, SIGXFSZ): New macros.
35771 (_NSIG): Now 32.
35772
35773 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
35774 initializer on [_LIBC_REENTRANT].
35775
35776 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
35777 definitions inside [_POSIX_MAPPED_FILES].
35778
35779 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
35780
35781 * dirent/opendir.c: Include <fcntl.h>.
35782
35783 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
35784 (__libc_getspecific): Likewise.
35785 (__libc_key_create): Likewise.
35786
35787 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
35788 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
35789 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
35790 (tmpfile64): Define as alias.
35791 * sysdeps/wordsize-64/tmpfile.c: File removed.
35792 * sysdeps/wordsize-64/tmpfile64.c: File removed.
35793 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
35794 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
35795
35796 * stdio-common/vfscanf.c: Include <stdbool.h>.
35797 * nss/makedb.c: Likewise.
35798 * stdio-common/_i18n_number.h: Likewise.
35799 * argp/argp-help.c: Likewise.
35800 * posix/wordexp.c: Likewise.
35801 * sysdeps/posix/spawni.c: Likewise.
35802 * nss/nss_files/files-initgroups.c: Likewise.
35803 * stdio-common/reg-modifier.c: Include <stdlib.h>.
35804 * nss/nss_files/files-initgroups.c: Likewise.
35805 * nss/nss_db/db-netgrp.c: Likewise.
35806 * nss/nss_db/db-initgroups.c: Likewise.
35807 * io/fchmodat.c: Include <sys/stat.h>.
35808
35809 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
35810 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
35811
35812 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
35813 [HAVE_MMAP].
35814
35815 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
35816 Add multiple inclusion protection.
35817
e5abc686
DM
358182012-07-27 David S. Miller <davem@davemloft.net>
35819
35820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35821
815e6fa3
GB
358222012-07-27 Gary Benson <gbenson@redhat.com>
35823
35824 [BZ #14298]
35825 * elf/rtld.c: Include <stap-probe.h>.
35826 (dl_main): Added static probes "init_start" and "init_complete".
35827 * elf/dl-load.c: Include <stap-probe.h>.
35828 (lose): Take new parameter "nsid".
35829 Added static probe "map_failed".
35830 (_dl_map_object_from_fd): Pass namespace id to lose.
35831 Added static probe "map_start".
35832 (open_verify): Pass namespace id to lose.
35833 * elf/dl-open.c: Include <stap-probe.h>.
35834 (dl_open_worker) Added static probes "map_complete", "reloc_start"
35835 and "reloc_complete".
35836 * elf/dl-close.c: Include <stap-probe.h>.
35837 (_dl_close_worker): Added static probes "unmap_start" and
35838 "unmap_complete".
35839 * elf/rtld-debugger-interface.txt: New file documenting the above.
35840
9f98c16c
RM
358412012-07-26 Roland McGrath <roland@hack.frob.com>
35842
35843 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
35844 rather than a string variable.
35845 * sunrpc/rpc_main.c (h_output): Likewise.
35846 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
35847
f3c22df3
PT
358482012-07-26 Pino Toscano <toscano.pino@tiscali.it>
35849
35850 * inet/check_native.c: New file.
35851
3129cfc6
JM
358522012-07-26 Joseph Myers <joseph@codesourcery.com>
35853
da865e95
JM
35854 [BZ #13629]
35855 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
35856 if larger part has absolute value 1.0.
35857 * math/s_clog10.c (__clog10): Likewise.
35858 * math/s_clog10f.c (__clog10f): Likewise.
35859 * math/s_clog10l.c (__clog10l): Likewise.
35860 * math/s_clogf.c (__clogf): Likewise.
35861 * math/s_clogl.c (__clogl): Likewise.
35862 * math/libm-test.inc (clog_test): Add more tests.
35863 (clog10_test): Likewise.
35864 * sysdeps/i386/fpu/libm-test-ulps: Update.
35865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35866
3129cfc6
JM
35867 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
35868 (pltexit): Likewise.
35869 (La_regs): Likewise.
35870 (La_retval): Likewise.
35871 (int_retval): Likewise.
35872 Update #error for removed macros to refer only to definitions in
35873 tst-audit.h.
35874 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
35875 macro.
35876 (pltexit): Likewise.
35877 (La_regs): Likewise.
35878 (La_retval): Likewise.
35879 (int_retval): Likewise.
35880 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
35881 macro.
35882 (pltexit): Likewise.
35883 (La_regs): Likewise.
35884 (La_retval): Likewise.
35885 (int_retval): Likewise.
35886 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
35887 macro.
35888 (pltexit): Likewise.
35889 (La_regs): Likewise.
35890 (La_retval): Likewise.
35891 (int_retval): Likewise.
35892 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
35893 macro.
35894 (pltexit): Likewise.
35895 (La_regs): Likewise.
35896 (La_retval): Likewise.
35897 (int_retval): Likewise.
35898 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
35899 macro.
35900 (pltexit): Likewise.
35901 (La_regs): Likewise.
35902 (La_retval): Likewise.
35903 (int_retval): Likewise.
35904 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
35905 macro.
35906 (pltexit): Likewise.
35907 (La_regs): Likewise.
35908 (La_retval): Likewise.
35909 (int_retval): Likewise.
35910 * sysdeps/generic/tst-audit.h: Update comment to refer only to
35911 macro definitions in tst-audit.h.
35912 * sysdeps/i386/tst-audit.h: New file.
35913 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
35914 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
35915 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
35916 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
35917 * sysdeps/sh/tst-audit.h: Likewise.
35918 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
35919 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
35920 * sysdeps/x86_64/tst-audit.h: Likewise.
35921
bfc07087
AJ
359222012-07-26 Andreas Jaeger <aj@suse.de>
35923
b1b2aaf8
AJ
35924 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
35925 ptrace.
35926
35927 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
35928 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
35929 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
35930 PTRACE_O_MASK.
35931 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
35932 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
35933 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
35934
bfc07087
AJ
35935 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
35936 value.
35937
35938 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
35939 _sigsys.
35940 (si_call_addr, si_syscall, si_arch): Define new macro.
35941 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
35942 _sigsys.
35943 (si_call_addr, si_syscall, si_arch): Define new marcro.
35944 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
35945 _sigsys.
35946 (si_call_addr, si_syscall, si_arch): Define new macro.
35947 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
35948 _sigsys.
35949 (si_call_addr, si_syscall, si_arch): Define new macro.
35950
89b4b02f
JM
359512012-07-25 Joseph Myers <joseph@codesourcery.com>
35952
35953 [BZ #13717]
35954 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35955 Change to 2.4.21 where previously 2.4.1.
35956 * sysdeps/unix/sysv/linux/configure: Regenerated.
35957 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
35958 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
35959 Linux kernel version.
35960 (__ASSUME_STD_AUXV): Remove.
35961 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
35962 kernel version.
35963 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
35964 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
35965 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
35966 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
35967 (__ASSUME_NETLINK_SUPPORT): Likewise.
35968 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
35969 (__no_netlink_support): Remove conditional definition.
35970 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
35971 Remove.
35972 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35973 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
35974 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
35975 (if_nameindex_ioctl): Remove.
35976 (if_nameindex_netlink): Do not handle __no_netlink_support.
35977 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35978 code.
35979 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
35980 Remove conditional code.
35981 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35982 code.
35983 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35984 unconditional.
35985 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35986 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35987 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35988 Remove.
35989 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35990 [!__ASSUME_STD_AUXV]: Remove conditional code.
35991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35992 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35993 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35995 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35996 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35997 code.
35998 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36000 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
36001 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36002 conditional code.
36003 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36005 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36006 code.
36007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36008 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36009 conditional code.
36010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
36011 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36012 code unconditional.
36013 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36014 conditional code.
36015 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36016 unconditional.
36017 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36018 conditional code.
36019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36020 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36021 unconditional.
36022 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36023 conditional code.
36024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36025 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36026 code unconditional.
36027 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36028 conditional code.
36029 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36030 unconditional.
36031 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36032 conditional code.
36033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36034 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36035 code unconditional.
36036 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36037 conditional code.
36038 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36039 unconditional.
36040 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36041 conditional code.
36042
842a39cd
AS
360432012-07-25 Andreas Schwab <schwab@linux-m68k.org>
36044
36045 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36046 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36047 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36048 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36049 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
36050 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36051 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36052 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
36053 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
36054 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36055 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
36056 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
36057 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
36058 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36059 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
36060 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
36061 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
36062 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
36063 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
36064 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
36065 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
36066 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
36067 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36068
84b3fd84
FW
360692012-07-25 Florian Weimer <fweimer@redhat.com>
36070
36071 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
36072 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
36073 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
36074 Introduce __libc_secure_getenv.
0c7936d5
FW
36075 * stdlib/Versions (2.17): Add secure_getenv
36076 (GLIBC_PRIVATE): Add __libc_secure_getenv.
36077 * stdlib/secure-getenv.c: Rename __secure_getenv to
36078 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
36079 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
36080 * stdlib/tst-secure-getenv.c: New.
36081 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
36082 * manual/startup.texi (Environment Access): Document
36083 secure_getenv.
84b3fd84
FW
36084 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
36085 __libc_secure_getenv.
36086 * inet/ruserpass.c (ruserpass): Likewise.
36087 * malloc/mtrace.c (mtrace): Likewise.
36088 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 36089 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
36090 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36091 * sysdeps/posix/tempname.c: Likewise. Evaluate
36092 HAVE_SECURE_GETENV.
36093 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 36094 __secure_getenv to __libc_secure_getenv.
84b3fd84 36095 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
36096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36097 Likewise.
36098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36099 Likewise.
36100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36102 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 36107
56e49b71
JM
361082012-07-25 Joseph Myers <joseph@codesourcery.com>
36109
36110 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36111 (struct La_i86_retval): Likewise.
36112 (struct La_x86_64_regs): Likewise.
36113 (struct La_x86_64_retval): Likewise.
36114 (struct La_x32_regs): Likewise.
36115 (struct La_x32_retval): Likewise.
36116 (struct La_ppc32_regs): Likewise.
36117 (struct La_ppc32_retval): Likewise.
36118 (struct La_ppc64_regs): Likewise.
36119 (struct La_ppc64_retval): Likewise.
36120 (struct La_sh_regs): Likewise.
36121 (struct La_sh_retval): Likewise.
36122 (struct La_s390_32_regs): Likewise.
36123 (struct La_s390_32_retval): Likewise.
36124 (struct La_s390_64_regs): Likewise.
36125 (struct La_s390_64_retval): Likewise.
36126 (struct La_sparc32_regs): Likewise.
36127 (struct La_sparc32_retval): Likewise.
36128 (struct La_sparc64_regs): Likewise.
36129 (struct La_sparc64_retval): Likewise.
36130 (struct audit_ifaces): Remove architecture-specific pltenter and
36131 pltexit members.
36132 * sysdeps/i386/ldsodefs.h: New file.
36133 * sysdeps/powerpc/ldsodefs.h: Likewise.
36134 * sysdeps/s390/ldsodefs.h: Likewise.
36135 * sysdeps/sh/ldsodefs.h: Likewise.
36136 * sysdeps/sparc/ldsodefs.h: Likewise.
36137 * sysdeps/x86_64/ldsodefs.h: Likewise.
36138
354691b7
MP
361392012-07-25 Marek Polacek <polacek@redhat.com>
36140
36141 [BZ #6808]
36142 * math/libm-test.inc (yn_test): Add another test.
36143 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36144 to ERANGE when the result is +-Inf.
36145 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36146 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36147 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36148 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36149
bf9e2071
JM
361502012-07-24 Joseph Myers <joseph@codesourcery.com>
36151
36152 * conform/data/time.h-data (NULL): Use macro-constant. Require
36153 equal to 0.
36154 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
36155 clock_t.
36156 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
36157
57633811
TS
361582012-07-23 Thomas Schwinge <thomas@codesourcery.com>
36159
36160 * configure.in <sysdeps resolving>: Correct printing
36161 Implies_before.
36162 * configure: Regenerate.
36163
c23c33b0
TS
361642012-07-22 Thomas Schwinge <thomas@codesourcery.com>
36165
36166 * math/w_ilogb.c: Include <limits.h>.
36167 * math/w_ilogbl.c: Likewise.
36168
b5982523
JM
361692012-07-20 Joseph Myers <joseph@codesourcery.com>
36170
36171 * manual/lang.texi (__va_copy): Document primarily as ISO C99
36172 va_copy. Document allowing for unavailable va_copy only as
36173 pre-C99 compatibility.
36174 * manual/string.texi (Copying and Concatenation): Use va_copy
36175 instead of __va_copy in concat example.
36176
ac4ea442
PT
361772012-07-20 Pino Toscano <toscano.pino@tiscali.it>
36178
36179 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
36180 (__sendto): Use create_address_port. Initialize APORT and deallocate
36181 it if not null.
36182
f98eafbd
PT
36183 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
36184 with O_NOLINK passed to __file_name_lookup.
36185
898c7aab
PT
36186 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
36187 with O_NOLINK passed to __file_name_lookup.
36188
0ced335a
PT
36189 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
36190 negative N or less than NGIDS.
36191
b3404dbd
PT
36192 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36193 type to string_t. Set ERANGE as errno and return it if NAME is not big
36194 enough. Use memcpy instead of strncpy.
36195
0f48659e
JM
361962012-07-20 Joseph Myers <joseph@codesourcery.com>
36197
36198 * elf/Makefile (check-data): Remove.
36199 (localplt.data): New vpath directive.
36200 ($(objpfx)check-localplt.out): Use localplt.data from vpath
36201 instead of $(check-data).
36202 * scripts/data/localplt-generic.data: Move to ...
36203 * sysdeps/generic/localplt.data: ... here.
36204 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
36205 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
36206 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
36207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36208 ... here.
36209 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
36210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36211 ... here.
36212 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
36213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
36214 ... here.
36215 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
36216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36217 ... here.
36218 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
36219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
36220 ... here.
36221 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
36222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
36223 ... here.
36224
d37cbdaa
AZ
362252012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36226
36227 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
36228 PPC32 and PPC64 files.
36229 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
36230 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
36231
46f85fc2
AK
362322012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36233
36234 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
36235 __makecontext_ret to ...
36236 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
36237 ... here and call exit if uc_link is NULL. New file.
36238 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
36239 __makecontext_ret.S.
36240 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
36241 __makecontext_ret to ...
36242 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36243 ... here and call exit if uc_link is NULL. New file.
36244 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
36245 __makecontext_ret.S.
36246
08f43f9b
AK
362472012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36248
36249 * elf/elf.h (R_390_IRELATIVE): New definition.
36250 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
36251 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
36252 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
36253 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36254 (elf_machine_lazy_rel): Likewise.
36255 * sysdeps/s390/dl-irel.h: New file.
36256 * sysdeps/s390/s390-64/memcpy.S: New asm code.
36257 * sysdeps/s390/s390-64/memset.S: New asm code.
36258 * sysdeps/s390/s390-64/memcmp.S: New asm code.
36259 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
36260 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
36261 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
36262 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
36263 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
36264 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
36265 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
36266 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
36267 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
36268 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
36269 * sysdeps/s390/s390-32/memcpy.S: New asm code.
36270 * sysdeps/s390/s390-32/memset.S: New asm code.
36271 * sysdeps/s390/s390-32/memcmp.S: New asm code.
36272
3b05db33
MP
362732012-07-17 Marek Polacek <polacek@redhat.com>
36274
36275 [BZ #14349]
36276 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
36277 * sysdeps/s390/s390-64/configure.in: Likewise.
36278 * sysdeps/sparc/configure.in: Likewise.
36279 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
36280 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
36281 * sysdeps/i386/configure.in: Likewise.
36282 * sysdeps/x86_64/configure.in: Likewise.
36283 * sysdeps/sh/configure.in: Likewise.
36284 * sysdeps/s390/s390-32/configure: Regenerated.
36285 * sysdeps/s390/s390-64/configure: Likewise.
36286 * sysdeps/x86_64/configure: Likewise.
36287 * sysdeps/sh/configure: Likewise.
36288 * sysdeps/powerpc/powerpc64/configure: Likewise.
36289 * sysdeps/powerpc/powerpc32/configure: Likewise.
36290 * sysdeps/sparc/configure: Likwise.
36291 * sysdeps/i386/configure: Likewise.
36292
a66877c6
MP
36293 * elf/dl-open.c: Comment fixes.
36294
cfc82fd8
JM
362952012-07-17 Joseph Myers <joseph@codesourcery.com>
36296
bd29910a
JM
36297 * Makefile [CXX] (check-data): Remove.
36298 [CXX] (c++-types.data): New vpath directive.
36299 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
36300 vpath. Do not allow for C++ type data being missing.
36301 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
36302 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
36303 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
36304 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
36305 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
36306 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
36307 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
36308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36309 ... here.
36310 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
36311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36312 ... here.
36313 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
36314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
36315 ... here.
36316 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
36317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
36318 ... here.
36319 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
36320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
36321 ... here.
36322 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
36323 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
36324 ... here.
36325 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
36326 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
36327 ... here.
36328 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
36329 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
36330
cfc82fd8
JM
36331 * elf/tls-macros.h (TLS_LE): Move architecture-specific
36332 definitions to architecture-specific files.
36333 (TLS_IE): Likewise.
36334 (TLS_LD): Likewise.
36335 (TLS_GD): Likewise.
36336 * sysdeps/i386/tls-macros.h: New file.
36337 * sysdeps/powerpc/tls-macros.h: Likewise.
36338 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
36339 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
36340 * sysdeps/sh/tls-macros.h: Likewise.
36341 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
36342 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
36343 * sysdeps/x86_64/tls-macros.h: Likewise.
36344
f7db3170
TS
363452012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36346
07cbfc23
TS
36347 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
36348 zero value for regular exit case.
36349
f7db3170
TS
36350 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
36351 (__start_context): Preserve zero value for regular exit case.
36352
dc97c227
TS
363532012-07-17 Thomas Schwinge <thomas@codesourcery.com>
36354 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36355
36356 * manual/setjmp.texi (setcontext): Clarify normal process
36357 termination when uc_link is the null pointer.
36358 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
36359 exit call.
36360
d0cd7d02
AS
363612012-07-16 Andreas Schwab <schwab@linux-m68k.org>
36362
36363 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
36364 preprocessor. Test for each exception mask separately.
36365
dd318934
AJ
363662012-07-16 Andreas Jaeger <aj@suse.de>
36367
36368 * po/ru.po: Update from translation team.
36369
8048311a
JM
363702012-07-15 Joseph Myers <joseph@codesourcery.com>
36371
36372 * conform/data/string.h-data (NULL): Use macro-constant. Require
36373 equal to 0.
36374 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36375 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36376 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
36377 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
36378 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36379
b637d46e
AJ
363802012-07-13 Andreas Jaeger <aj@suse.de>
36381
36382 * po/fr.po: Update from translation team.
36383
541428fe
MP
363842012-07-12 Marek Polacek <polacek@redhat.com>
36385
36386 [BZ #14173]
36387 * math/libm-test.inc (yn_test): Add test for BZ #14173.
36388 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
36389 loop condition.
36390
ec332e94
JM
363912012-07-12 Joseph Myers <joseph@codesourcery.com>
36392
36393 [BZ #13717]
36394 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36395 Change to 2.4.1 where previously 2.4.0.
36396 * sysdeps/unix/sysv/linux/configure: Regenerated.
36397 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
36398 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
36399 version.
36400 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
36401 (__ASSUME_AT_CLKTCK): Remove.
36402 (__ASSUME_AT_PAGESIZE): Likewise.
36403 (__ASSUME_AT_XID): Likewise.
36404 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
36405 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
36406 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
36407 unconditionally.
36408 (HAVE_AUX_PAGESIZE): Likewise.
36409 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
36410 [__ASSUME_AT_CLKTCK]: Make code unconditional.
36411 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
36412
7b6e99be
JB
364132012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
36414
36415 [BZ #14307]
36416 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
36417 the temporary buffer used to invoke __gethostbyname2_r,
36418 __gethostbyaddr_r and gethostbyname4_r to make room for struct
36419 host_data / struct gaih_addrtuple.
36420 * resolv/nss_dns/dns-host.c (global scope): Move definition of
36421 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
36422 header file nss/nsswitch.h.
36423 * nss/nsswitch.h (global scope): Add definition of implementation
36424 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
36425 resolv/nss_dns/dns-host.c).
36426
608404eb
AJ
364272012-07-11 Andreas Jaeger <aj@suse.de>
36428
36429 * po/fr.po: Update from translation team.
36430
71220aca
AJ
36431 * po/sv.po: Update from translation team
36432 * po/fr.po: Another update from translation team.
36433
28cfe843
AZ
364342012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36435
36436 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
36437 for subnormals or multiply small sinh result by itself.
36438 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36440
6b90f981
DM
364412012-07-11 David S. Miller <davem@davemloft.net>
36442
36443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36444
c6825772
AS
364452012-07-10 Andreas Schwab <schwab@linux-m68k.org>
36446
36447 [BZ #14347]
36448 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
36449 (INTERNAL_MARK): Shift it here.
36450
7b8e0d49
MP
364512012-07-10 Marek Polacek <polacek@redhat.com>
36452
36453 [BZ #14151]
36454 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
36455 libc_cv_asm_global_directive with .globl.
36456 * configure: Regenerated.
36457 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
36458 with .globl.
36459 * sysdeps/i386/configure: Regenerated.
36460 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
36461 with .globl.
36462 * sysdeps/x86_64/configure: Regenerated.
36463 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
36464 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
36465 * elf/tst-unique2mod2.c: Likewise.
36466 * elf/tst-unique2mod1.c: Likewise.
36467 * elf/tst-unique1mod2.c: Likewise.
36468 * elf/tst-unique1mod1.c: Likewise.
36469 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36470 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36471 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36472 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36473 * sysdeps/mach/sysdep.h: Likewise.
36474 * sysdeps/i386/sysdep.h: Likewise.
36475 * sysdeps/i386/i386-mcount.S: Likewise.
36476 * sysdeps/x86_64/_mcount.S: Likewise.
36477 * sysdeps/x86_64/sysdep.h: Likewise.
36478 * sysdeps/sh/_mcount.S: Likewise.
36479 * sysdeps/sh/sysdep.h: Likewise.
36480 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
36481 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
36482 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
36483 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36484 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
36485 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
36486 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
36487 * locale/localeinfo.h: Likewise.
36488 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
36489 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
36490
6c55cda3
RM
364912012-07-09 Roland McGrath <roland@hack.frob.com>
36492
36493 [BZ #14336]
36494 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
36495 system".
36496 * manual/message.texi (The Uniforum approach): Likewise.
36497 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
36498 (glibc iconv Implementation): Likewise.
36499
638a572e
JM
365002012-07-09 Joseph Myers <joseph@codesourcery.com>
36501
36502 [BZ #14337]
36503 * math/s_clog.c (__clog): Avoid scaling a value down where that
36504 could result in underflow.
36505 * math/s_clog10.c (__clog10): Likewise.
36506 * math/s_clog10f.c (__clog10f): Likewise.
36507 * math/s_clog10l.c (__clog10l): Likewise.
36508 * math/s_clogf.c (__clogf): Likewise.
36509 * math/s_clogl.c (__clogl): Likewise.
36510 * math/libm-test.inc (clog_test): Add more tests.
36511 (clog10_test): Likewise.
36512 * sysdeps/i386/fpu/libm-test-ulps: Update.
36513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36514
261f4859
AS
365152012-07-06 Andreas Schwab <schwab@linux-m68k.org>
36516
0abaf3e4
AS
36517 [BZ #14283]
36518 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
36519 by 7 not 8 to examine high bit of fractional part.
36520
261f4859
AS
36521 [BZ #14042]
36522 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
36523 for call to __mcount_internal.
36524 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
36525 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
36526 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
36527
f17ac40d
JM
365282012-07-06 Joseph Myers <joseph@codesourcery.com>
36529
9ad63c23
JM
36530 [BZ #14154]
36531 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
36532 approximation for values within 0x1p-13f of an odd multiple of
36533 pi/4.
36534 * math/libm-test.inc (tan_test): Do not allow spurious underflow
36535 exception. Add more tests.
36536 * sysdeps/i386/fpu/libm-test-ulps: Update.
36537
f17ac40d
JM
36538 [BZ #6778]
36539 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
36540 inputs and return -1 for them. Do not check for +Inf in case not
36541 reachable for +Inf.
36542 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
36543 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
36544 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36545 and return -1 for them. Do not check for +Inf in case not
36546 reachable for +Inf.
36547 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
36548 define.
36549 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36550 and return -1 for them. Do not check for +Inf in case not
36551 reachable for +Inf.
36552 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
36553 spurious underflow.
36554 * sysdeps/i386/fpu/libm-test-ulps: Update.
36555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36556
fb21f89b
MF
365572012-07-06 Mike Frysinger <vapier@gentoo.org>
36558
36559 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
36560
cdfe2c5e
JM
365612012-07-05 Joseph Myers <joseph@codesourcery.com>
36562
36563 [BZ #14157]
36564 [BZ #14331]
36565 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
36566 could result in spurious underflow. Scale down values above
36567 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
36568 * math/s_csqrtf.c (__csqrtf): Likewise.
36569 * math/s_csqrtl.c (__csqrtl): Likewise.
36570 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
36571 spurious underflow.
36572 * sysdeps/i386/fpu/libm-test-ulps: Update.
36573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36574
70d35b67
AS
365752012-07-04 Andreas Schwab <schwab@linux-m68k.org>
36576
704bc459
AS
36577 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
36578 xopen-msg.sed.
36579 * catgets/xopen-msg.awk: New file.
36580 * catgets/xopen-msg.sed: Removed.
36581
70d35b67
AS
36582 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
36583 po2text.sed.
36584 * intl/po2test.awk: New file.
36585 * intl/po2test.sed: Removed.
36586
ca61cf32
JM
365872012-07-04 Joseph Myers <joseph@codesourcery.com>
36588
36589 [BZ #14328]
36590 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
36591 or multiply small sinh result by itself.
36592 * math/s_ctanf.c (__ctanf): Likewise.
36593 * math/s_ctanh.c (__ctanh): Likewise.
36594 * math/s_ctanhf.c (__ctanhf): Likewise.
36595 * math/s_ctanhl.c (__ctanhl): Likewise.
36596 * math/s_ctanl.c (__ctanl): Likewise.
36597 * math/libm-test.inc (ctan_test_tonearest): New function.
36598 (ctan_test_towardzero): Likewise.
36599 (ctan_test_downward): Likewise.
36600 (ctan_test_upward): Likewise.
36601 (ctanh_test_tonearest): Likewise.
36602 (ctanh_test_towardzero): Likewise.
36603 (ctanh_test_downward): Likewise.
36604 (ctanh_test_upward): Likewise.
36605 (main): Call these new functions.
36606 * sysdeps/i386/fpu/libm-test-ulps: Update.
36607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36608
ca48a46a
MF
366092012-07-03 Mike Frysinger <vapier@gentoo.org>
36610
36611 * .gitignore: Delete /ports entry.
36612
9d63d37d
AJ
366132012-07-03 Andreas Jaeger <aj@suse.de>
36614
36615 * po/bg.po: Update from translation team.
36616 * po/cs.po: Likewise.
36617 * po/de.po: Likewise.
36618 * po/hr.po: Likewise.
36619 * po/nl.pl: Likewise.
36620 * po/pl.po: Likewise.
36621 * po/vi.po: Likewise.
36622
370ca3d2
JM
366232012-07-03 Joseph Myers <joseph@codesourcery.com>
36624
95f5a9a8
JM
36625 * Makeconfig [!+link] (+link-before-libc): New variable.
36626 [!+link] (+link-after-libc): Likewise.
36627 [!+link] (+link-tests): Likewise.
36628 [!+link] (+link): Define in terms of $(+link-before-libc) and
36629 $(+link-after-libc).
36630 [!+link-static] (+link-static-before-libc): New variable.
36631 [!+link-static] (+link-static-after-libc): Likewise.
36632 [!+link-static] (+link-static-tests): Likewise.
36633 [!+link-static] (+link-static): Define in terms of
36634 $(+link-static-before-libc) and $(+link-static-after-libc).
36635 [build-shared] (link-libc-before-gnulib): New variable.
36636 [build-shared] (link-libc-tests): Likewise.
36637 [build-shared] (link-libc): Define in terms of
36638 $(link-libc-before-gnulib).
36639 [!build-shared] (link-libc-tests): New variable.
36640 (link-libc-static-tests): New variable.
36641 [!gnulib] (gnulib-arch): New variable.
36642 [!gnulib] (gnulib-tests): Likewise.
36643 [!gnulib] (static-gnulib-arch): Likewise.
36644 [!gnulib] (static-gnulib-tests): Likewise.
36645 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
36646 Define with "=" instead of ":=".
36647 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
36648 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
36649 * Rules (binaries-all-notests): New variable.
36650 (binaries-all-tests): Likewise.
36651 (binaries-static-notests): Likewise.
36652 (binaries-static-tests): Likewise.
36653 (binaries-all): Define using $(binaries-all-notests) and
36654 $(binaries-all-tests).
36655 (binaries-static): Define using $(binaries-static-notests) and
36656 $(binaries-static-tests).
36657 (binaries-shared-tests): New variable.
36658 (binaries-shared-notests): Likewise.
36659 (binaries-shared): Remove variable.
36660 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
36661 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
36662 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
36663 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
36664 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
36665 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
36666 * elf/Makefile (sln-modules): New variable.
36667 (extra-objs): Add $(sln-modules:=.o).
36668 (ldconfig-modules): Add static-stubs.
36669 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
36670 * elf/static-stubs.c: New file.
36671
7a845b2c
JM
36672 [BZ #14283]
36673 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
36674 by 7 not 8 to examine high bit of fractional part. Use volatile
36675 variables when splitting into final array of floats if
36676 __FLT_EVAL_METHOD__ != 0.
36677 * math/libm-test.inc (cos_test): Add another test.
36678 (sin_test): Likewise.
36679 * sysdeps/i386/fpu/libm-test-ulps: Update.
36680
e2283f38
JM
36681 [BZ #14273]
36682 * math/libm-test.inc (cosh_test): Add more tests.
36683
370ca3d2
JM
36684 * version.h (RELEASE): Set to "development".
36685 (VERSION): Set to "2.16.90".
36686
ee9247c3
CD
366872012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
36688
36689 * NEWS: Update copyright. Remove last-updated date.
36690 Mention math library bug fixes and timezone data changes.
36691 * README: Mention GNU/Hurd, x32, and HPPA support status.
36692
4648c381
TS
366932012-06-28 Thomas Schwinge <thomas@codesourcery.com>
36694
36695 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
36696
aac78a43
AJ
366972012-06-27 Andreas Jaeger <aj@suse.de>
36698
36699 * manual/contrib.texi (Contributors): Add Samuel Thibault.
36700
ed3dbfad
AJ
367012012-06-25 Andreas Jaeger <aj@suse.de>
36702
36703 * sysdeps/s390/fpu/libm-test-ulps: Update.
36704
4d0ee855
AS
367052012-06-23 Andreas Schwab <schwab@linux-m68k.org>
36706 Thomas Schwinge <thomas@codesourcery.com>
36707
36708 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
36709 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
36710 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
36711 fanotify_mark.
36712
af1bce34
TS
367132012-06-23 Thomas Schwinge <thomas@codesourcery.com>
36714
a9fa33ba
TS
36715 * sysdeps/mach/start.c: Remove file.
36716 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
36717 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
36718 * sysdeps/sh/init-first.c: Likewise.
36719
58f902b8
TS
36720 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
36721 registers for frame unwinding purposes, add CFI directives.
36722 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36723 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
36724 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
36725 Likewise.
36726
1518f58b
TS
36727 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
36728 __fortify_fail returning.
36729 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36730
db9b5059
TS
36731 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
36732 sysdeps/sh/____longjmp_chk.S.
36733 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
36734 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
36735 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
36736 (gen-as-const-headers): Append sigaltstack-offsets.sym.
36737
967705fe
TS
36738 * sysdeps/sh/abort-instr.h: New file.
36739 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
36740 process in case exit returns.
36741
a9def8c4
TS
36742 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
36743 initialize the GOT register before use.
36744
2a649725
TS
36745 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
36746 calculation of ARGC > 4.
36747
af1bce34
TS
36748 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
36749 meaningful names to some local labels.
36750
d230f50a
KK
367512012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36752 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36753
36754 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
36755 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
36756 (__arch_compare_and_exchange_val_16_acq): Likewise.
36757 (__arch_compare_and_exchange_val_32_acq): Likewise.
36758 (atomic_exchange_and_add): Fix gUSA sequence.
36759 (atomic_add): Likewise.
36760 (atomic_add_negative): Likewise.
36761 (atomic_add_zero): Likewise.
36762 (atomic_bit_test_set): Likewise.
36763
0479b305
AS
367642012-06-22 Andreas Schwab <schwab@redhat.com>
36765
36766 [BZ #13579]
36767 * include/link.h (struct link_map): Add l_free_initfini.
36768 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
36769 l_initfini.
36770 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
36771 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
36772 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
36773 set.
36774
0e3933b9
CD
367752012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
36776
36777 * configure.in: Use AC_LANG_SOURCE.
36778 * configure: Regenerate.
36779
4248b1b1
RM
367802012-06-22 Roland McGrath <roland@hack.frob.com>
36781
36782 * configure.in (libc_cv_localstatedir): New substituted variable.
36783 * configure: Regenerated.
36784 * config.make.in (localstatedir): New variable, substituted from
36785 libc_cv_localstatedir.
36786 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
36787 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
36788 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
36789 * sysdeps/gnu/configure: Regenerated.
36790
006dd861
JL
367912012-06-21 Jeff Law <law@redhat.com>
36792
36793 [BZ #14277]
36794 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
36795 free. Simplify list management for _LIBC case.
36796
79662d42
JM
367972012-06-21 Joseph Myers <joseph@codesourcery.com>
36798
b7abb4bf
JM
36799 [BZ #14273]
36800 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
36801 Clear sign bit of 64-bit integer value before comparing against
36802 overflow value.
36803
79662d42
JM
36804 * sysdeps/mach/configure: Regenerated.
36805
1f150908
L
368062012-06-21 H.J. Lu <hongjiu.lu@intel.com>
36807
36808 [BZ #14278]
36809 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
36810
28363bbf
JL
368112012-06-21 Jeff Law <law@redhat.com>
36812
36813 [BZ #13882]
36814 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
36815 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 36816 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
36817 * elf/dl-open.c (dl_open_worker): Likewise.
36818
09615db4
CD
368192012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
36820
36821 * scripts/list-sources.sh: Scan PORTS for translations.
36822 * po/libc.pot: Regenerated.
36823
2174c6dd
AJ
368242012-06-21 Andreas Jaeger <aj@suse.de>
36825
36826 [BZ #12194]
36827 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
36828 warning.
36829 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
36830 * bits/byteswap-16.h (__bswap_16): Likewise.
36831 * bits/byteswap.h (__bswap_constant_16): Likewise.
36832
3ee947b1
L
368332012-06-18 H.J. Lu <hongjiu.lu@intel.com>
36834
36835 [BZ #14117]
a2f34833
L
36836 * sysdeps/i386/fpu_control.h: Removed.
36837 * sysdeps/x86_64/fpu_control.h: Moved to ...
36838 * sysdeps/x86/fpu_control.h: Here.
36839
3ee947b1
L
36840 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
36841 (_FPU_SETCW): Likewise.
36842
ed1825f8
L
368432012-06-15 H.J. Lu <hongjiu.lu@intel.com>
36844
25f1282a
L
36845 [BZ #14117]
36846 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
36847 * sysdeps/x86/fpu/bits/mathinline.h: This.
36848 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
36849
ed1825f8
L
36850 [BZ #14050]
36851 [BZ #14117]
36852 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
36853 functions if __x86_64__ is defined.
36854
36d54b74
CLT
368552012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
36856
36857 * string/endian.h: Add !__ASSEMBLER__ condition for including
36858 conversion interfaces.
36859
10285c21
JM
368602012-06-15 Joseph Myers <joseph@codesourcery.com>
36861
36862 [BZ #14241]
36863 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
36864 of ABS(x) in calculating zero to negative powers other than odd
36865 integers.
36866 * math/libm-test.inc (pow_test): Add more tests.
36867
06c5abbd
AJ
368682012-06-15 Andreas Jaeger <aj@suse.de>
36869
36870 * manual/contrib.texi (Contributors): Update entry of Liubov
36871 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
36872 Machado Filho.
36873
a3aeac40
CH
368742012-06-15 Cyril Hrubis <metan@ucw.cz>
36875
36876 * string/string.h: Add __wur to GNU version of strerror_r.
36877
49bdf4c1
L
368782012-06-14 H.J. Lu <hongjiu.lu@intel.com>
36879
36880 [BZ #14229]
36881 * string/Makefile (tests): Add tst-strtok_r.
36882 * string/tst-strtok_r.c: New file.
36883 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
36884 RAX_LP/RDX_LP on SAVE_PTR.
36885
834f9b8d
RM
368862012-06-14 Roland McGrath <roland@hack.frob.com>
36887
36888 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
36889
75fa1921
JM
368902012-06-14 Joseph Myers <joseph@codesourcery.com>
36891
36892 * libm_test.inc (csqrt_test): Allow more spurious underflow
36893 exceptions.
36894 (j0_test): Likewise.
36895 (j1_test): Likewise.
36896 (y0_test): Likewise.
36897 (y1_test): Likewise.
36898
771766df
CD
368992012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
36900
36901 * po/Makefile (libc.pot): Use UTF-8 charset.
36902
ceb9e56b
PP
369032012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
36904
36905 [BZ #14210]
36906 Suppress sign-conversion warning from FD_SET.
36907 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
36908 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
36909 not unsigned long int.
36910 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
36911
ddb28975
L
369122012-06-12 H.J. Lu <hongjiu.lu@intel.com>
36913
36914 [BZ #14050]
36915 [BZ #14117]
36916 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
36917 __extern_always_inline instead of __extern_inline.
36918 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
36919 (__signbit): Likewise.
36920 (__signbitl): Support C++ namespace.
36921 (lrintf): New inline function.
36922 (lrint): Likewise.
36923 (llrintf): Likewise.
36924 (llrint): Likewise.
36925 (fmaxf): Likewise.
36926 (fmax): Likewise.
36927 (fminf): Likewise.
36928 (fmin): Likewise.
36929 (rint): Likewise.
36930 (rintf): Likewise.
36931 (ceil): Likewise.
36932 (ceilf): Likewise.
36933 (floor): Likewise.
36934 (floorf): Likewise.
36935 (nearbyint): Likewise.
36936 (nearbyintf): Likewise.
36937
d7b4fb26
TS
369382012-06-12 Thomas Schwinge <thomas@codesourcery.com>
36939
36940 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
36941 non-default versions.
36942
eb55f5c2
RM
369432012-06-11 Roland McGrath <roland@hack.frob.com>
36944
36945 [BZ #14218]
36946 * manual/argp.texi (Argp): Reword argp_parse description slightly.
36947
366af02c
TS
369482012-06-09 Thomas Schwinge <thomas@codesourcery.com>
36949
99ff6e5c
TS
36950 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
36951 (FE_UPWARD, FE_DOWNWARD): Don't define.
36952 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
36953 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36954
366af02c
TS
36955 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
36956 reading it.
36957 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36958 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36959
793ea851
KK
369602012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36961
36962 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36963 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
36964 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
36965 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
36966
a728a38f
L
369672012-06-06 H.J. Lu <hongjiu.lu@intel.com>
36968
36969 [BZ #14117]
c08010c7
L
36970 * sysdeps/i386/fpu/bits/fenv.h: Removed.
36971 * sysdeps/i386/fpu/Implies: New file.
36972 * sysdeps/x86_64/fpu/Implies: Likewise.
36973 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
36974 * sysdeps/x86/fpu/bits/fenv.h: This.
36975
a728a38f
L
36976 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
36977 __SSE_MATH__.
36978
6e230d11
SP
369792012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36980
36981 [BZ #14134]
36982 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36983 character 0xffff that matches the last element of the
36984 conversion table.
36985
1b671feb
AZ
369862012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36987
36988 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36989 fmodl commit.
36990
6043738b
AZ
369912012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36992
36993 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36994 values higher than 25.6283.
36995
34ae0b32
AZ
369962012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36997
36998 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36999 subnormal exponent extraction and add some __builtin_expect.
37000 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
37001 Fix for subnormal mantissa calculation.
37002
1214ec8f
MF
370032012-06-04 Mike Frysinger <vapier@gentoo.org>
37004
37005 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
37006 cpu2 is -1 and errno is not ENOSYS.
37007
f3d1f93c
L
370082012-06-04 H.J. Lu <hongjiu.lu@intel.com>
37009
37010 [BZ #14117]
0e4a3cd7
L
37011 * sysdeps/i386/i486/bits/string.h: Renamed to ...
37012 * sysdeps/x86/bits/string.h: This.
37013 * sysdeps/x86_64/bits/string.h: Removed.
37014
6704c645
L
37015 * sysdeps/i386/i486/bits/string.h: Define inline functions only
37016 if not compiling for x86-64, but compiling for >= i486.
37017
48495318
L
37018 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
37019 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
37020
14adcbfc
L
37021 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
37022 New macro from Linux kernel 3.4.0.
37023 (FP_XSTATE_MAGIC2): Likewise.
37024 (FP_XSTATE_MAGIC2_SIZE): Likewise.
37025 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
37026 (struct _fpx_sw_bytes): New struct.
37027 (struct _xsave_hdr): Likewise.
37028 (struct _ymmh_state): Likewise.
37029 (struct _xstate): Likewise.
37030
68e408ab
L
37031 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
37032 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
37033 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
37034 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
37035 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
37036 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
37037
f3d1f93c
L
37038 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37039 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
37040 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
37041 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
37042 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
37043 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
37044
d9dc34cd
TMQMF
370452012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37046
37047 [BZ #13743]
37048 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37049 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
37050 (sysdep_headers): Include sys/platform/ppc.h.
37051 * sysdeps/powerpc/test-gettimebase.c: Test for
37052 __ppc_get_timebase() to catch future ISA opcode/insn changes.
37053 * manual/Makefile (appendices): Include platform.texi.
37054 * manual/contrib.texi (Contributors): Update @node pointers.
37055 * manual/maint.texi (Maintenance): Likewise.
37056 (Platform): New node.
37057 * manual/platform.texi: New file. Document the new features.
37058
4af3879c
SP
370592012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37060 Jakub Jelinek <jakub@redhat.com>
37061
37062 [BZ #14188]
37063 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
37064 where __builtin_expect is unavailable.
37065
2fd6ff13
DM
370662012-06-03 David S. Miller <davem@davemloft.net>
37067
37068 * stdlib/longlong.h: Updated from GCC.
37069
173f7220
AS
370702012-06-02 Andreas Schwab <schwab@linux-m68k.org>
37071
37072 [BZ #14042]
37073 * sysdeps/powerpc/powerpc32/mcount.c: New file.
37074 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
37075 __mcount_internal.
37076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37077 (GLIBC_2.16): Likewise.
37078
f34a1c6f
L
370792012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37080
37081 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
37082
88a4576f
JM
370832012-06-01 Joseph Myers <joseph@codesourcery.com>
37084
ea32bcdd
JM
37085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
37086 (default-abi): New variable.
37087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37088 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37089 variable.
37090 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37091 Likewise.
37092 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37093 Likewise.
37094 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37095 Likewise.
37096
88a4576f
JM
37097 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37098 definition. Document in comment.
37099
402fe938
DM
371002012-06-01 David S. Miller <davem@davemloft.net>
37101
37102 * stdlib/longlong.h: Updated from GCC.
37103
3553723f
L
371042012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37105
37106 [BZ #14117]
3bd872c4
L
37107 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37108 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37109 sys/debugreg.h sys/io.h here.
37110 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37111 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37112 sys/io.h.
37113 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37114 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37115 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37116 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37117 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37118 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37119
3553723f
L
37120 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37121 Define only if __x86_64__ is defined.
37122
4842e4fe
JM
371232012-06-01 Joseph Myers <joseph@codesourcery.com>
37124
c5bfe3d5
JM
37125 [BZ #14048]
37126 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37127 Use int64_t for variable i.
37128 * math/libm-test.inc (fmod_test): Add more tests.
37129
4842e4fe
JM
37130 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37131 z computation is not scheduled after fetestexcept.
37132 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37133 Use math_force_eval instead of asm to ensure calculation scheduled
37134 before exception test.
37135 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37136 Ensure a1 + u.d computation is not scheduled after fetestexcept.
37137
efb73488
AJ
371382012-06-01 Aurelien Jarno <aurelien@aurel32.net>
37139
37140 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37141 computation is not scheduled after fetestexcept.
37142
29bcce7c
L
371432012-06-01 H.J. Lu <hongjiu.lu@intel.com>
37144
37145 [BZ #14117]
37146 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37147 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37148
73a68f94
AZ
371492012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37150
37151 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37152 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37153
67b6df78
L
371542012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37155
edf2933a 37156 [BZ #14117]
ebc64a18
L
37157 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
37158 <bits/wordsize.h>.
37159 (__WCHAR_MIN): Support __WORDSIZE == 64.
37160 (__WCHAR_MAX): Likewise.
37161
edf2933a
L
37162 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
37163 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
37164
57c6cf40
L
37165 [BZ #14183]
37166 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
37167 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
37168
67b6df78 37169 [BZ #14117]
8eb6281e
L
37170 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
37171 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
37172
aac639f4
L
37173 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
37174 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
37175
67b6df78
L
37176 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
37177 Defined to 1 if __x86_64__ isn't defined.
37178 (_STAT_VER_LINUX_OLD): New.
37179 (st_atime): Remove duplicate.
37180 (st_mtime): Likewise.
37181 (st_ctime): Likewise.
37182
1c2cfe81
DM
371832012-05-31 David S. Miller <davem@davemloft.net>
37184
37185 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
37186 entries.
37187
5be8418c
AS
371882012-06-01 Andreas Schwab <schwab@linux-m68k.org>
37189
e7725326
AS
37190 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
37191 gen-libm-test.pl.
37192
5be8418c
AS
37193 [BZ #14132]
37194 * elf/dl-reloc.c: Include <_itoa.h>.
37195 (_dl_reloc_bad_type): Remove use of INTUSE.
37196 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
37197 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
37198 * stdio-common/psiginfo.c (psiginfo): Likewise.
37199 * stdio-common/psignal.c (psignal): Likewise.
37200 * string/strsignal.c (strsignal): Likewise.
37201 * include/signal.h (_sys_siglist): Declare hidden proto.
37202 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
37203 INTVARDEF with libc_hidden_data_def.
37204 * stdio-common/itoa-udigits.c: Likewise.
37205 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
37206 (_itoa_lower_digits_internal): Remove declaration.
37207 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
37208 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37209 (_sys_sigabbrev_internal): Remove aliases.
37210 (_sys_siglist): Define hidden alias.
37211
507352f1
MT
372122012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
37213
37214 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37215 bits/sysctl.h.
37216
42bbb1c3
L
372172012-05-31 H.J. Lu <hongjiu.lu@intel.com>
37218
37219 [BZ #14117]
6bd784b6
L
37220 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
37221 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
37222
8bca20f0
L
37223 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37224 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
37225 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
37226 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
37227 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
37228 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
37229
f9e890a9
L
37230 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
37231 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
37232 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
37233
471101a1
L
37234 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
37235 with __addr.
37236 (insw): Likewise.
37237 (insl): Likewise.
37238 (outsb): Likewise.
37239 (outsw): Likewise.
37240 (outsl): Likewise.
37241
6451c862
L
37242 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
37243 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
37244 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
37245
a254b8c9
L
37246 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
37247 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37248 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
37249 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
37250 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
37251 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
37252
b8dfdd92
L
37253 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
37254 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
37255
578cd270
L
37256 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
37257 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
37258
de662f5f
L
37259 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
37260 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
37261 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
37262
25653439
L
37263 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
37264 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
37265 to ...
37266 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
37267
6bad24a0
L
37268 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
37269 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
37270 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
37271
42bbb1c3
L
37272 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
37273 for x86-64.
37274 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
37275
2d10d547
JM
372762012-05-31 Joseph Myers <joseph@codesourcery.com>
37277
37278 * math/math.h (M_El): Use two more decimal places.
37279 (M_LOG2El): Likewise.
37280 (M_LOG10El): Likewise.
37281 (M_LN2l): Likewise.
37282 (M_LN10l): Likewise.
37283 (M_PIl): Likewise.
37284 (M_PI_2l): Likewise.
37285 (M_PI_4l): Likewise.
37286 (M_1_PIl): Likewise.
37287 (M_2_PIl): Likewise.
37288 (M_2_SQRTPIl): Likewise.
37289 (M_SQRT2l): Likewise.
37290 (M_SQRT1_2l): Likewise.
37291
f230c29b
DM
372922012-05-31 David S. Miller <davem@davemloft.net>
37293
37294 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
37295 values between float registers.
37296 * sysdeps/sparc/sparc64/memset.S: Likewise.
37297 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37298
fed806c3
MF
372992012-05-31 Mike Frysinger <vapier@gentoo.org>
37300
37301 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
37302 -D_FORTIFY_SOURCE=1.
37303 (CPPFLAGS-tst-longjmp_chk.c): Define.
37304 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
37305 (CPPFLAGS-tst-longjmp_chk2.c): Define.
37306 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
37307 CFLAGS-tst-wchar-h.c.
37308
30917259
MP
373092012-05-31 Marek Polacek <polacek@redhat.com>
37310
37311 [BZ #14132]
37312 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
37313 __endmntent_internal): Remove declaration.
37314 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
37315 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
37316 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
37317
1c58d5dc
DM
373182012-05-30 David S. Miller <davem@davemloft.net>
37319
37320 * sysdeps/sparc/sparc32/soft-fp/q_util.c
37321 (___Q_simulate_exceptions): Use real FP ops rather than writing
37322 into the %fsr.
37323 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
37324 Likewise.
37325
7dc00e0d
L
373262012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37327
37328 [BZ #14117]
0bd53985
L
37329 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
37330 * sysdeps/x86/bits/xtitypes.h: This.
37331
3a257e66
L
37332 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
37333 * sysdeps/x86/bits/wordsize.h: This.
37334
62f62904
L
37335 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
37336 * sysdeps/x86/bits/huge_vall.h: This.
37337
404fe9d9
L
37338 * sysdeps/i386/bits/select.h: Removed.
37339 * sysdeps/x86_64/bits/select.h: Renamed to ...
37340 * sysdeps/x86/bits/select.h: This.
37341
d48d0446
L
37342 * sysdeps/i386/bits/setjmp.h: Removed.
37343 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
37344 * sysdeps/x86/bits/setjmp.h: This.
37345
7dc00e0d
L
37346 * sysdeps/i386/bits/mathdef.h: Removed.
37347 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
37348 * sysdeps/x86/bits/mathdef.h: This.
37349
03277f8f
AS
373502012-05-30 Andreas Schwab <schwab@linux-m68k.org>
37351
37352 [BZ #14132]
37353 * include/sys/socket.h (__connect_internal)
37354 (__libc_sa_len_internal): Remove declaration.
37355 (__connect, __libc_sa_len): Declare hidden_proto.
37356 (SA_LEN): Remove use of INTUSE.
37357 * socket/connect.c: Add libc_hidden_def.
37358 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
37359 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
37360 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
37361 alias.
37362 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37363 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
37364 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
37365 of adding _internal alias.
37366
13764867
L
373672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37368
37369 [BZ #14117]
6bd97696
L
37370 * sysdeps/i386/bits/link.h: Removed.
37371 * sysdeps/i386/bits/linkmap.h: Likewise.
37372 * sysdeps/x86_64/bits/link.h: Renamed to ...
37373 * sysdeps/x86/bits/link.h: This.
37374 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
37375 * sysdeps/x86/bits/linkmap.h: This.
37376
f726f0bb
L
37377 * sysdeps/i386/bits/endian.h: Removed.
37378 * sysdeps/x86_64/bits/endian.h: Renamed to ...
37379 * sysdeps/x86/bits/endian.h: This.
37380
13764867
L
37381 * sysdeps/i386/bits/byteswap.h: Removed.
37382 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37383 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
37384 * sysdeps/x86/bits/byteswap.h: This.
37385 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
37386 * sysdeps/x86/bits/byteswap-16.h: This.
37387 * sysdeps/i386/Implies: Add x86.
37388 * sysdeps/x86_64/Implies: Likewise.
37389
ae251b0b
DM
373902012-05-30 David S. Miller <davem@davemloft.net>
37391
37392 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
37393 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
37394 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37395 (FP_TRAPPING_EXCEPTIONS): Define.
37396 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37397 (FP_TRAPPING_EXCEPTIONS): Define.
37398 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
37399 subnormals only when inexact has been signalled or underflow
37400 exceptions are enabled.
37401 (_FP_PACK_CANONICAL): Likewise.
37402
d5c90867
L
374032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37404
37405 [BZ #14183]
37406 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
37407 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
37408
63f1549e
RH
374092012-05-30 Richard Henderson <rth@twiddle.net>
37410
8d8f2279
RH
37411 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
37412 with #ifndef NOT_IN_libc.
37413
63f1549e
RH
37414 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
37415 marked to avoid plt entry.
37416
0ab0291b
L
374172012-05-30 H.J. Lu <hongjiu.lu@intel.com>
37418
37419 [BZ #14112]
37420 * Makeconfig (default-abi): New macro.
37421 (abi-includes): Likewise.
37422 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
37423 $(abi-$(default-abi)-lib-soname) for soname if defined.
37424 ($(common-objpfx)gnu/lib-names.stmp): Generate from
37425 abi-variants.
37426 * Makefile (installed-stubs): Likewise.
37427 * include/stubs-biarch.h: Removed.
37428 * scripts/lib-names.awk: Only handle one library at a time.
37429 * scripts/soversions.awk: Remove WORDSIZE support.
37430 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
37431 entries.
37432 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
37433 Removed.
37434 (syscall-list-default-condition): Likewise.
37435 (syscall-list-default-condition): Likewise.
37436 (syscall-list-includes): Likewise.
37437 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
37438 syscall-list-* with abi-*. Handle undefined abi-variants.
37439 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
37440 * sysdeps/unix/sysv/linux/i386/Implies: New file.
37441 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
37442 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
37443 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
37444 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
37445 Removed.
37446 (syscall-list-32-options): Likewise.
37447 (syscall-list-32-condition): Likewise.
37448 (syscall-list-64-options): Likewise.
37449 (syscall-list-64-condition): Likewise.
37450 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
37451 macro.
37452 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
37453 Renamed to ...
37454 (abi-*): This.
37455 (abi-64-ld-soname): New macro.
37456 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
37457 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
37458 Renamed to ...
37459 (abi-*): This.
37460 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
37461 * sysdeps/x86_64/x32/shlib-versions: Likewise.
37462
4da0431d
JM
374632012-05-30 Joseph Myers <joseph@codesourcery.com>
37464
3a85279c
JM
37465 * sysdeps/unix/sysv/linux/kernel-features.h
37466 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
37467 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
37468 include <kernel-features.h>.
37469 [!__NR_ftruncate64]: Remove conditional code.
37470 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37471 [__NR_ftruncate64]: Make code unconditional.
37472 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37473 * sysdeps/unix/sysv/linux/truncate64.c: Do not
37474 include <kernel-features.h>.
37475 [!__NR_ftruncate64]: Remove conditional code.
37476 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37477 [__NR_ftruncate64]: Make code unconditional.
37478 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
37480 include <kernel-features.h>.
37481 [!__NR_ftruncate64]: Remove conditional code.
37482 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37483 [__NR_ftruncate64]: Make code unconditional.
37484 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37486 include <kernel-features.h>.
37487 [!__NR_ftruncate64]: Remove conditional code.
37488 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37489 [__NR_ftruncate64]: Make code unconditional.
37490 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37491
4da0431d
JM
37492 * configure.in (libc_cv_fpie): Weaken to a compile test using
37493 LIBC_TRY_CC_OPTION.
37494 * configure: Regenerated.
37495
11ef492c
AK
374962012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37497
37498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
37499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
37500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
37501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37502 Refreshed.
37503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
37504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
37505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
37506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
37507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
37508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37509 Refreshed.
37510
d66ef399
DM
375112012-05-27 David S. Miller <davem@davemloft.net>
37512
37513 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
37514 (___Q_zero): New.
37515 (__Q_simulate_exceptions): Return void. Change to simulate
37516 exceptions by writing into the %fsr.
37517 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
37518 (__Qp_handle_exceptions): Likewise.
37519 (numbers): Delete.
37520 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
37521 __Qp_handle_exceptions.
37522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
37523 __Qp_handle_exceptions.
37524 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37525 as unused and give dummy FP_RND_NEAREST initializer.
37526 (FP_INHIBIT_RESULTS): Define.
37527 (___Q_simulate_exceptions): Update declaration.
37528 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
37529 formatting.
37530 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37531 as unused and give dummy FP_RND_NEAREST initializer.
37532 (__Qp_handle_exceptions): Update declaration.
37533 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
37534 formatting.
37535
04fb54b5
TS
375362012-05-27 Thomas Schwinge <thomas@codesourcery.com>
37537
37538 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
37539 the temporary FPU control word.
37540 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37541 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
37542 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
37543 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37544 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37545 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
37546 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
37547 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37548 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37549 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
37550 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37551
3f99608f
KK
375522012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37553
37554 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
37555 fields.
37556
65a4de4e
CLT
375572012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
37558
37559 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
37560 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
37561 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
37562 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
37563 Likewise.
37564 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
37565 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
37566 Likewise.
37567
15749d40
UD
375682012-05-27 Ulrich Drepper <drepper@gmail.com>
37569
37570 * po/h.po: Update from translation team.
37571
25dbcb27
AS
375722012-05-26 Andreas Schwab <schwab@linux-m68k.org>
37573
3d3f8e55
AS
37574 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
37575
25dbcb27
AS
37576 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
37577 handling of denormals.
37578 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37579 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37580 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37581 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37582 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37583 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
37584 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
37585 Likewise.
37586
7ad47a80 375872012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
37588
37589 [BZ #14152]
37590 * math/libm-test.inc (fma_test): Don't always expect underflow
37591 exception.
37592
9c6ea9fa
SP
375932012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37594
37595 [BZ #12416]
37596 * elf/tst-execstack.c: Include stackinfo.h.
37597 (do_test): Adjust test case to ensure that pthread_getattr_np
37598 behaviour remains the same after marking stack executable.
37599
a8239222
JM
376002012-05-25 Joseph Myers <joseph@codesourcery.com>
37601
37602 * sysdeps/unix/sysv/linux/kernel-features.h
37603 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
37604 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
37605 kernel-features.h.
37606 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37607 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37608 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
37609 kernel-features.h.
37610 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37611 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37612
918b5606
L
376132012-05-25 H.J. Lu <hongjiu.lu@intel.com>
37614
37615 * configure.in: Define the default includes to being none.
37616 * configure: Regenerated.
37617
3a097cc7
RM
376182012-05-25 Roland McGrath <roland@hack.frob.com>
37619
8422c9a5
RM
37620 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
37621 * sysdeps/x86_64/setjmp.S: Likewise.
37622 * sysdeps/i386/bsd-setjmp.S: Likewise.
37623 * sysdeps/i386/bsd-_setjmp.S: Likewise.
37624 * sysdeps/i386/setjmp.S: Likewise.
37625 * sysdeps/i386/__longjmp.S: Likewise.
37626 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37627 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
37628
3a097cc7
RM
37629 * include/stap-probe.h: New file.
37630 * configure.in: Handle --enable-systemtap.
37631 * configure: Regenerated.
37632 * config.h.in (USE_STAP_PROBE): New #undef.
37633 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
37634 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
37635 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37636
21708942
JM
376372012-05-25 Joseph Myers <joseph@codesourcery.com>
37638
37639 [BZ #13717]
37640 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37641 to 2.4.0 where earlier.
37642 * sysdeps/unix/sysv/linux/configure: Regenerated.
37643 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
37652 [__ASSUME_32BITUIDS]: Make code unconditional.
37653 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
37654 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
37655 <kernel-features.h>.
37656 [__ASSUME_32BITUIDS]: Make code unconditional.
37657 [!__ASSUME_32BITUIDS]: Remove conditional code.
37658 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
37659 <kernel-features.h>.
37660 [__ASSUME_32BITUIDS]: Make code unconditional.
37661 [!__ASSUME_32BITUIDS]: Remove conditional code.
37662 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
37663 <kernel-features.h>.
37664 [__ASSUME_32BITUIDS]: Make code unconditional.
37665 [!__ASSUME_32BITUIDS]: Remove conditional code.
37666 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
37667 <kernel-features.h>.
37668 [__ASSUME_32BITUIDS]: Make code unconditional.
37669 [!__ASSUME_32BITUIDS]: Remove conditional code.
37670 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37671 <kernel-features.h>.
37672 [__ASSUME_32BITUIDS]: Make code unconditional.
37673 [!__ASSUME_32BITUIDS]: Remove conditional code.
37674 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37675 <kernel-features.h>.
37676 [__ASSUME_32BITUIDS]: Make code unconditional.
37677 [!__ASSUME_32BITUIDS]: Remove conditional code.
37678 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
37679 <kernel-features.h>.
37680 [__ASSUME_32BITUIDS]: Make code unconditional.
37681 [!__ASSUME_32BITUIDS]: Remove conditional code.
37682 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37683 <kernel-features.h>.
37684 [__ASSUME_32BITUIDS]: Make code unconditional.
37685 [!__ASSUME_32BITUIDS]: Remove conditional code.
37686 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37687 <kernel-features.h>.
37688 [__ASSUME_32BITUIDS]: Make code unconditional.
37689 [!__ASSUME_32BITUIDS]: Remove conditional code.
37690 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
37691 <kernel-features.h>.
37692 [__ASSUME_32BITUIDS]: Make code unconditional.
37693 [!__ASSUME_32BITUIDS]: Remove conditional code.
37694 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
37695 <kernel-features.h>.
37696 [__NR_setresgid] (__setresgid): Do not declare.
37697 [__ASSUME_32BITUIDS]: Make code unconditional.
37698 [!__ASSUME_32BITUIDS]: Remove conditional code.
37699 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
37700 <kernel-features.h>.
37701 [__NR_setresuid] (__setresuid): Do not declare.
37702 [__ASSUME_32BITUIDS]: Make code unconditional.
37703 [!__ASSUME_32BITUIDS]: Remove conditional code.
37704 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
37705 <kernel-features.h>.
37706 [__ASSUME_32BITUIDS]: Make code unconditional.
37707 [!__ASSUME_32BITUIDS]: Remove conditional code.
37708 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
37709 <kernel-features.h>.
37710 [__ASSUME_32BITUIDS]: Make code unconditional.
37711 [!__ASSUME_32BITUIDS]: Remove conditional code.
37712 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
37713 <kernel-features.h>.
37714 [__ASSUME_32BITUIDS]: Make code unconditional.
37715 [!__ASSUME_32BITUIDS]: Remove conditional code.
37716 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
37717 <kernel-features.h>.
37718 [__ASSUME_32BITUIDS]: Make code unconditional.
37719 [!__ASSUME_32BITUIDS]: Remove conditional code.
37720 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
37721 <kernel-features.h>.
37722 [__ASSUME_32BITUIDS]: Make code unconditional.
37723 [!__ASSUME_32BITUIDS]: Remove conditional code.
37724 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
37725 <kernel-features.h>.
37726 [__ASSUME_32BITUIDS]: Make code unconditional.
37727 [!__ASSUME_32BITUIDS]: Remove conditional code.
37728 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
37729 <kernel-features.h>.
37730 [__ASSUME_32BITUIDS]: Make code unconditional.
37731 [!__ASSUME_32BITUIDS]: Remove conditional code.
37732 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
37733 <kernel-features.h>.
37734 [__ASSUME_32BITUIDS]: Make code unconditional.
37735 [!__ASSUME_32BITUIDS]: Remove conditional code.
37736 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
37737 <kernel-features.h>.
37738 [__ASSUME_32BITUIDS]: Make code unconditional.
37739 [!__ASSUME_32BITUIDS]: Remove conditional code.
37740 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37741 <kernel-features.h>.
37742 [__ASSUME_32BITUIDS]: Make code unconditional.
37743 [!__ASSUME_32BITUIDS]: Remove conditional code.
37744 * sysdeps/unix/sysv/linux/kernel-features.h
37745 (__ASSUME_SETRESUID_SYSCALL): Remove.
37746 (__ASSUME_SETRESGID_SYSCALL): Likewise.
37747 (__ASSUME_32BITUIDS): Likewise.
37748 (__ASSUME_LDT_WORKS): Likewise.
37749 (__ASSUME_O_DIRECTORY): Likewise.
37750 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
37751 architecture but not kernel version.
37752 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37753 (__ASSUME_MMAP2_SYSCALL): Likewise.
37754 (__ASSUME_STAT64_SYSCALL): Likewise.
37755 (__ASSUME_IPC64): Likewise.
37756 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
37757 <kernel-features.h>.
37758 [__ASSUME_32BITUIDS]: Make code unconditional.
37759 [!__ASSUME_32BITUIDS]: Remove conditional code.
37760 * sysdeps/unix/sysv/linux/opendir.c: Do not include
37761 <kernel-features.h>.
37762 [__ASSUME_O_DIRECTORY]: Make code unconditional.
37763 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
37764 132096]: Remove conditional code.
37765 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
37766 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37767 <kernel-features.h>.
37768 [__ASSUME_32BITUIDS]: Make code unconditional.
37769 [!__ASSUME_32BITUIDS]: Remove conditional code.
37770 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37771 <kernel-features.h>.
37772 [__ASSUME_32BITUIDS]: Make code unconditional.
37773 [!__ASSUME_32BITUIDS]: Remove conditional code.
37774 * sysdeps/unix/sysv/linux/setegid.c: Do not include
37775 <kernel-features.h>.
37776 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
37777 unconditional.
37778 (__setresgid): Do not declare.
37779 [__ASSUME_32BITUIDS]: Make code unconditional.
37780 [!__ASSUME_32BITUIDS]: Remove conditional code.
37781 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
37782 <kernel-features.h>.
37783 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
37784 unconditional.
37785 (__setresuid): Do not declare.
37786 [__ASSUME_32BITUIDS]: Make code unconditional.
37787 [!__ASSUME_32BITUIDS]: Remove conditional code.
37788 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37789 <kernel-features.h>.
37790 [__ASSUME_32BITUIDS]: Make code unconditional.
37791 [!__ASSUME_32BITUIDS]: Remove conditional code.
37792 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
37793 <kernel-features.h>.
37794 [__ASSUME_32BITUIDS]: Make code unconditional.
37795 [!__ASSUME_32BITUIDS]: Remove conditional code.
37796
a386f1cc
RH
377972012-05-25 Richard Henderson <rth@twiddle.net>
37798
37799 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
37800 dl_hwcap to ifunc resolver.
37801 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
37802 elf_ifunc_invoke.
37803 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
37804 dl_hwcap to ifunc resolver.
37805 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
37806
b6550497
JM
378072012-05-24 Joseph Myers <joseph@codesourcery.com>
37808
37809 [BZ #14153]
37810 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
37811 for |x| <= 2**-26, not 2**-57.
37812 * math/libm-test.inc (acos_test): Do not allow spurious underflow
37813 exception.
37814
b0bc23a1
JL
378152012-05-24 Jeff Law <law@redhat.com>
37816
37817 * stdio-common/Makefile (tests): Add bug25.
37818 * stdio-common/bug25.c: New test.
37819
347c92e9
L
378202012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37821
37822 [BZ #13576]
37823 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
37824 multiple of MALLOC_ALIGNMENT in size.
37825 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
37826
6bcc8b3f
JM
378272012-05-24 Joseph Myers <joseph@codesourcery.com>
37828
37829 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
37830 Require >= 256.
37831 (FILENAME_MAX): Use macro-int-constant.
37832 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
37833 (_IOFBF): Use macro-int-constant.
37834 (_IOLBF): Likewise.
37835 (_IONBF): Likewise.
37836 (SEEK_CUR): Likewise.
37837 (SEEK_END): Likewise.
37838 (SEEK_SET): Likewise.
37839 (TMP_MAX): Likewise.
37840 (EOF): Use macro-int-constant. Require < 0.
37841 (NULL): Use macro-constant. Require == 0.
37842 (stdin): Require type to be FILE *.
37843 (stdout): Likewise.
37844 (stderr): Likewise.
37845 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
37846 macro-int-constant.
37847 (EXIT_SUCCESS): Likewise.
37848 (NULL): Use macro-constant. Require == 0.
37849 (RAND_MAX): Use macro-int-constant.
37850 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
37851 [C99-based standards] (strtof): Require function.
37852 [C99-based standards] (strtold): Likewise.
37853 [C99-based standards] (strtoll): Likewise.
37854 [C99-based standards] (strtoull): Likewise.
37855 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37856 [ISO || ISO99 || ISO11] (limits.h): Likewise.
37857 [ISO || ISO99 || ISO11] (math.h): Likewise.
37858 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
37859 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37860 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37861
d18ea0c5
AS
378622012-05-24 Andreas Schwab <schwab@linux-m68k.org>
37863
37864 [BZ #14132]
56d25bb8
AS
37865 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
37866 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
37867 * intl/dgettext.c (DCGETTEXT): Likewise.
37868 * intl/gettext.c (DCGETTEXT): Likewise.
37869 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
37870 * posix/regex_internal.h (gettext): Likewise.
37871 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
37872 Remove declaration.
37873 * include/argz.h (__argz_count_internal)
37874 (__argz_stringify_internal): Remove declaration.
37875 (__argz_count, __argz_stringify): Declare hidden proto.
37876 * intl/dcgettext.c: Remove use of INTDEF.
37877 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
37878 * string/argz-stringify.c: Likewise.
37879 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37880 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37881 Declare hidden proto.
d18ea0c5
AS
37882 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37883 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37884 Declare hidden proto.
37885 * include/stdio.h (__asprintf_internal): Don't declare.
37886 (__asprintf): Don't define as macro. Declare hidden proto.
37887 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
37888 (__fsetlocking): Declare hidden proto.
37889 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
37890 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
37891 hidden proto.
37892 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
37893 (_IO_setlinebuf): Remove use of INTUSE.
37894 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
37895 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
37896 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
37897 Remove declaration.
37898 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
37899 (_IO_do_flush): Remove use of INTUSE.
37900 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
37901 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
37902 (_IO_adjust_column, _IO_least_wmarker)
37903 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
37904 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
37905 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
37906 (_IO_default_doallocate, _IO_wdefault_doallocate)
37907 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
37908 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
37909 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
37910 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
37911 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
37912 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
37913 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
37914 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
37915 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
37916 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
37917 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
37918 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
37919 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
37920 proto.
37921 (_IO_flush_all_internal, _IO_adjust_column_internal)
37922 (_IO_default_uflow_internal, _IO_default_finish_internal)
37923 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
37924 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
37925 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
37926 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
37927 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
37928 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
37929 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
37930 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
37931 (_IO_file_close_internal, _IO_file_close_it_internal)
37932 (_IO_file_underflow_internal, _IO_file_overflow_internal)
37933 (_IO_file_init_internal, _IO_file_attach_internal)
37934 (_IO_file_fopen_internal, _IO_file_read_internal)
37935 (_IO_file_sync_internal, _IO_file_seek_internal)
37936 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
37937 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
37938 (_IO_str_underflow_internal, _IO_str_overflow_internal)
37939 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
37940 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
37941 (_IO_list_all_internal, _IO_link_in_internal)
37942 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
37943 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
37944 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
37945 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
37946 (_IO_do_write_internal, _IO_padn_internal)
37947 (_IO_getline_info_internal, _IO_getline_internal)
37948 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
37949 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
37950 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
37951 (_IO_vfscanf_internal, _IO_vfprintf_internal)
37952 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
37953 (_IO_init_internal, _IO_un_link_internal): Don't declare.
37954 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
37955 with libc_hidden_ver, remove use of INTUSE.
37956 * libio/genops.c: Likewise.
37957 * libio/freopen.c: Likewise.
37958 * libio/freopen64.c: Likewise.
37959 * libio/iofclose.c: Likewise.
37960 * libio/iofdopen.c: Likewise.
37961 * libio/iofflush.c: Likewise.
37962 * libio/iofflush_u.c: Likewise.
37963 * libio/iofgets.c: Likewise.
37964 * libio/iofgets_u.c: Likewise.
37965 * libio/iofopen.c: Likewise.
37966 * libio/iofopncook.c: Likewise.
37967 * libio/iofread.c: Likewise.
37968 * libio/iofread_u.c: Likewise.
37969 * libio/ioftell.c: Likewise.
37970 * libio/iofwrite.c: Likewise.
37971 * libio/iogetline.c: Likewise.
37972 * libio/iogets.c: Likewise.
37973 * libio/iogetwline.c: Likewise.
37974 * libio/iopadn.c: Likewise.
37975 * libio/iopopen.c: Likewise.
37976 * libio/ioseekoff.c: Likewise.
37977 * libio/ioseekpos.c: Likewise.
37978 * libio/iosetbuffer.c: Likewise.
37979 * libio/iosetvbuf.c: Likewise.
37980 * libio/ioungetc.c: Likewise.
37981 * libio/ioungetwc.c: Likewise.
37982 * libio/iovdprintf.c: Likewise.
37983 * libio/iovsprintf.c: Likewise.
37984 * libio/iovsscanf.c: Likewise.
37985 * libio/memstream.c: Likewise.
37986 * libio/obprintf.c: Likewise.
37987 * libio/oldfileops.c: Likewise.
37988 * libio/oldiofclose.c: Likewise.
37989 * libio/oldiofdopen.c: Likewise.
37990 * libio/oldiofopen.c: Likewise.
37991 * libio/oldiopopen.c: Likewise.
37992 * libio/oldstdfiles.c: Likewise.
37993 * libio/putc.c: Likewise.
37994 * libio/setbuf.c: Likewise.
37995 * libio/setlinebuf.c: Likewise.
37996 * libio/stdfiles.c: Likewise.
37997 * libio/strops.c: Likewise.
37998 * libio/vasprintf.c: Likewise.
37999 * libio/vscanf.c: Likewise.
38000 * libio/vsnprintf.c: Likewise.
38001 * libio/vswprintf.c: Likewise.
38002 * libio/wfiledoalloc.c: Likewise.
38003 * libio/wfileops.c: Likewise.
38004 * libio/wgenops.c: Likewise.
38005 * libio/wmemstream.c: Likewise.
38006 * libio/wstrops.c: Likewise.
38007 * libio/__fpurge.c: Likewise.
38008 * libio/__fsetlocking.c: Likewise.
38009 * assert/assert.c: Likewise.
38010 * debug/fgets_chk.c: Likewise.
38011 * debug/fgets_u_chk.c: Likewise.
38012 * debug/fread_chk.c: Likewise.
38013 * debug/fread_u_chk.c: Likewise.
38014 * debug/gets_chk.c: Likewise.
38015 * debug/obprintf_chk.c: Likewise.
38016 * debug/vasprintf_chk.c: Likewise.
38017 * debug/vdprintf_chk.c: Likewise.
38018 * debug/vsnprintf_chk.c: Likewise.
38019 * debug/vsprintf_chk.c: Likewise.
38020 * malloc/mtrace.c: Likewise.
38021 * misc/error.c: Likewise.
38022 * misc/syslog.c: Likewise.
38023 * stdio-common/asprintf.c: Likewise.
38024 * stdio-common/fxprintf.c: Likewise.
38025 * stdio-common/getw.c: Likewise.
38026 * stdio-common/isoc99_fscanf.c: Likewise.
38027 * stdio-common/isoc99_scanf.c: Likewise.
38028 * stdio-common/isoc99_vfscanf.c: Likewise.
38029 * stdio-common/isoc99_vscanf.c: Likewise.
38030 * stdio-common/isoc99_vsscanf.c: Likewise.
38031 * stdio-common/printf-prs.c: Likewise.
38032 * stdio-common/printf_fp.c: Likewise.
38033 * stdio-common/printf_fphex.c: Likewise.
38034 * stdio-common/printf_size.c: Likewise.
38035 * stdio-common/putw.c: Likewise.
38036 * stdio-common/scanf.c: Likewise.
38037 * stdio-common/sprintf.c: Likewise.
38038 * stdio-common/tmpfile.c: Likewise.
38039 * stdio-common/vfprintf.c: Likewise.
38040 * stdio-common/vfscanf.c: Likewise.
38041 * stdlib/strfmon_l.c: Likewise.
38042 * sunrpc/openchild.c: Likewise.
38043 * sunrpc/xdr_stdio.c: Likewise.
38044 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
38045 * sysdeps/mach/hurd/tmpfile.c: Likewise.
38046
d6c33fda
RM
380472012-05-24 Roland McGrath <roland@hack.frob.com>
38048
c1487492
RM
38049 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38050
38051 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
38052 in the third column, to generate for the shared library an IFUNC
38053 that uses _dl_vdso_vsym.
38054 * Makerules (COMPILE.c, compile-stdin.c): New variables.
38055 * Makeconfig (object-suffixes-noshared): New variable.
38056
38057 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
38058 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
38059 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
38060 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
38061
d6c33fda
RM
38062 [BZ #14132]
38063 * include/sys/time.h (__gettimeofday): Remove macro.
38064 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
38065 * time/gettimeofday.c (__gettimeofday): Remove #undef.
38066 Remove INTDEF.
38067 (__gettimeofday): Add libc_hidden_def.
38068 (gettimeofday): Add libc_hidden_weak.
38069 * sysdeps/mach/gettimeofday.c: Likewise.
38070 * sysdeps/posix/gettimeofday.c: Likewise.
38071 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38072 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
38073 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
38074 (__gettimeofday_internal): Remove strong_alias.
38075 (__gettimeofday): Add libc_hidden_def.
38076 (gettimeofday): Add libc_hidden_weak.
38077 * sysdeps/unix/syscalls.list (gettimeofday):
38078 Remove __gettimeofday_internal alias.
38079
b5a2bbe6
L
380802012-05-24 Daniel Jacobowitz <drow@false.org>
38081 H.J. Lu <hongjiu.lu@intel.com>
38082
38083 [BZ #12495]
38084 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
38085 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
38086 (largebin_index_32_big): New.
38087 (largebin_index): Use it for 16-byte alignment.
38088 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
38089 correction with front_misalign.
38090
cfba4fda
L
380912012-05-24 H.J. Lu <hongjiu.lu@intel.com>
38092
7f907421
L
38093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38095 Likewise.
38096 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38097 Likewise.
38098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38099 Likewise.
38100 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38101 Likewise.
38102 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38103 Likewise.
38104 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38105 Likewise.
38106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38107 Likewise.
38108 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38109 Likewise.
38110 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38111 Likewise.
38112 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38113 Likewise.
38114 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38115 Likewise.
38116 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38117 Likewise.
38118
cfba4fda
L
38119 * scripts/data/c++-types-x32-linux-gnu.data: New file.
38120 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38121
80bad0cc
JM
381222012-05-24 Joseph Myers <joseph@codesourcery.com>
38123
7a25eb06
JM
38124 [BZ #10846]
38125 [BZ #14036]
38126 * math/libm-test.inc (exp_test): Add test from bug 14036.
38127 (pow_test): Add test from bug 10846.
38128
795405f9
JM
38129 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38130 and other flags.
38131 (special_function): Do not include flags in test name.
38132 (parse_args): Likewise.
38133 * sysdeps/i386/fpu/libm-test-ulps: Update.
38134 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38135 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38136 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38138
80bad0cc
JM
38139 * math/gen-libm-test.pl (%beautify): Add entries for underflow
38140 exceptions.
38141 * math/libm-test.inc ("Philosophy"): Update comment about
38142 exception testing.
38143 (UNDERFLOW_EXCEPTION): New macro.
38144 (UNDERFLOW_EXCEPTION_OK): Likewise.
38145 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38146 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38147 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38148 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38149 (INVALID_EXCEPTION_OK): Update value.
38150 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38151 (OVERFLOW_EXCEPTION_OK): Likewise.
38152 (IGNORE_ZERO_INF_SIGN): Likewise.
38153 (test_exceptions): Handle underflow exceptions.
38154 (acos_test): Update for underflow exception expectations.
38155 (cexp_test): Likewise.
38156 (clog_test): Likewise.
38157 (clog10_test): Likewise.
38158 (csqrt_test): Likewise.
38159 (ctan_test): Likewise.
38160 (ctanh_test): Likewise.
38161 (exp_test): Likewise.
38162 (exp10_test): Likewise.
38163 (exp2_test): Likewise.
38164 (expm1_test): Likewise.
38165 (fma_test): Likewise.
38166 (j0_test): Likewise.
38167 (jn_test): Likewise.
38168 (nexttoward_test): Likewise.
38169 (pow_test): Likewise.
38170 (scalbn_test): Likewise.
38171 (scalbln_test): Likewise.
38172 (tan_test): Likewise.
38173 (y1_test): Likewise.
38174 * sysdeps/i386/fpu/libm-test-ulps: Update.
38175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38176
9e0e3d0b
DM
381772012-05-23 David S. Miller <davem@davemloft.net>
38178
38179 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38180 (__libc_sigaction): Remove unused local variables.
38181
ccd0a08f
L
381822012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38183
38184 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
38185
62bdf9a6
PE
381862012-05-23 Paul Eggert <eggert@cs.ucla.edu>
38187
f8591f80
PE
38188 mktime: avoid signed integer overflow
38189 * time/mktime.c (__mktime_internal): Do not mishandle the case
38190 where diff == INT_MIN.
38191
94c7d826
PE
38192 mktime: simplify computation of average
38193 * time/mktime.c (ranged_convert): Use new time_t_avg function
38194 instead of rolling our own (probably-slower) code.
38195
ce73d683
PE
38196 mktime: do not assume signed right shift propagates sign bit
38197 * time/mktime.c (isdst_differ): New static function.
38198 (__mktime_internal): No need to normalize tm_isdst now.
38199 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
38200 tm_isdst values.
38201
72a22e59
PE
38202 mktime: merge another wrapv change from gnulib
38203 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
38204 from some compilers.
38205
68605433
PE
38206 mktime: remove incorrect attempt at unusual arithmetics
38207 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
38208 The code didn't really work on such machines anyway.
38209 (TYPE_MINIMUM): Assume two's complement.
38210 (twos_complement_arithmetic): Verify that long_int and time_t
38211 are two's complement (or unsigned, in the latter case).
38212
03cf7fe3
PE
38213 mktime: check signed shifts on long_int and time_t, too
38214 * time/mktime.c (SHR): Check that shifts work as desired
38215 on the types long_int and time_t too, as SHR is used on
38216 such types.
38217
f04dfbc2
PE
38218 mktime: do not assume 'long' is wide enough
38219 * time/mktime.c (verify): Move decl up.
38220 (long_int): New type.
38221 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
38222 to remove assumption in the code that 'long' is wide enough to
38223 store year values. This assumption is not true on x32 and on
38224 some non-glibc platforms.
38225
62bdf9a6
PE
38226 mktime: merge wrapv change from gnulib
38227 * time/mktime.c (WRAPV): New macro.
38228 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
38229 (guess_time_tm, __mktime_internal): Do not assume that signed
38230 integer overflow wraps around; modern compilers generate code
38231 where this assumption is no longer valid.
38232
5e292e4f
L
382332012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38234
38235 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38236 Replace "jmp L(pseudo_end)" with "ret".
38237 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
38238 Likewise.
38239
8caf8c87
AJ
382402012-05-23 Andreas Jaeger <aj@suse.de>
38241
38242 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
38243 * sysdeps/unix/sysv/linux/poll.c: Remove file.
38244
1a09dc56
AJ
382452012-05-23 Andreas Jaeger <aj@suse.de>
38246 Maximilian Attems <max@stro.at>
38247
38248 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
38249 New macros.
38250
1c87aba0
L
382512012-05-23 H.J. Lu <hongjiu.lu@intel.com>
38252
38253 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
38254 code so that pseudo_end is just ret and the stack pointer is
38255 correct also for static library in error case.
38256
40e45bd5
JM
382572012-05-23 Joseph Myers <joseph@codesourcery.com>
38258
c2670533
JM
38259 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
38260 move to syscalls.list.
38261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38265
40e45bd5
JM
38266 * manual/install.texi (Running make install): Do not mention Linux
38267 kernel version for which pt_chown is not needed.
38268 (Linux): Do not mention problems with nscd with 2.0 kernels.
38269 * INSTALL: Regenerated.
38270
be08eda5
AJ
382712012-05-23 Andreas Jaeger <aj@suse.de>
38272
38273 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
38274 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
38275 macro.
38276 * sysdeps/unix/sysv/linux/s390/bits/mman.h
38277 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38278 * sysdeps/unix/sysv/linux/sh/bits/mman.h
38279 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38280 * sysdeps/unix/sysv/linux/i386/bits/mman.h
38281 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38282 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
38283 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38284 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
38285 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38286 * sysdeps/unix/sysv/linux/bits/in.h
38287 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
38288
a6a056bb
RM
382892012-05-22 Roland McGrath <roland@hack.frob.com>
38290
38291 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
38292 (PREPARE_VERSION): Just use assert instead, it will be elided
38293 under [NDEBUG] anyway.
38294
c9009328
L
382952012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38296
38297 * sysdeps/unix/sysv/linux/Makefile: Include
38298 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 38299 (sysdep_routines): Remove sysctl.
c9009328
L
38300 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
38301 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
38302 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
38303 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
38304 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
38305
73338355
AJ
383062012-05-22 Andreas Jaeger <aj@suse.de>
38307
38308 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
38309 that pseudo_end is just ret and the stack pointer is correct also
38310 for static library in error case.
38311
d44638b0
PP
383122012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
38313
38314 [BZ #14122]
38315 * nss/nsswitch.c (defconfig_entries): New variable.
38316 (__nss_database_lookup): Don't leak defconfig entries.
38317 (nss_parse_service_list): Don't leak on error paths.
38318 (free_database_entries): New function.
38319 (free_defconfig): New function.
38320 (free_mem): Move common code to free_database_entries.
38321
31a39bd8
L
383222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38323
da0331a8
L
38324 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
38325 Add arch_prctl.
38326 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
38327
31a39bd8
L
38328 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38329 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
38330 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
38331 New macro.
38332 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
38333 (INTERNAL_SYSCALL_TYPES): Likewise.
38334 (LOAD_ARGS_TYPES_[1-6]): Likewise.
38335 (LOAD_REGS_TYPES_[1-6]): Likewise.
38336 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
38337 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
38338
45470df3
AZ
383392012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38340
38341 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
38342 copysignl for GLIBC_2_0.
38343 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
38344 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
38345 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
38346 logbl for GLIBC_2_0.
38347 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38348 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38349
98a61bcb
L
383502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38351
a4f6e481
L
38352 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
38353 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38354
f63d5db6
L
38355 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38356 Use "neg %eax".
38357
98a61bcb
L
38358 * time/mktime.c: Update copyright years.
38359
95770f14
PE
383602012-05-22 Paul Eggert <eggert@cs.ucla.edu>
38361
6226efbd
PE
38362 mktime: merge comment-quoting-style change from gnulib
38363 * time/mktime.c: Quote 'like this' in comments.
38364 The GNU coding standards suggest that we no longer quote `like this',
38365 as "`" and "'" are typically rendered asymmetrically nowadays.
38366 The typical gnulib style is to quote 'like this' when quoting
38367 code, and "like this" when quoting English.
38368
b99e4f78
PE
38369 * time/mktime.c (compile-command): Add "-I.".
38370
643e01e6
PE
38371 mktime: merge mktime-internal.h change from gnulib
38372 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
38373
2554247d
PE
38374 mktime: merge time_r change from gnulib
38375 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
38376
826dd0ab
PE
38377 mktime: merge DEBUG change from gnulib
38378 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
38379 case system <time.h> has a #define.
38380
bd83aabe
PE
38381 mktime: merge <sys/types.h> change from gnulib
38382 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
38383 since <time.t> is now guaranteed to define time_t.
38384
95770f14
PE
38385 mktime: merge HAVE_CONFIG_H change from gnulib
38386 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
38387
5e1a27a9
L
383882012-05-22 H.J. Lu <hongjiu.lu@intel.com>
38389
0e44a77e
L
38390 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38391 Use "neg %eax".
38392
5e1a27a9
L
38393 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
38394 __rlim_t cast.
38395 (struct rusage): Use anonymous union to pad each field to
38396 __syscall_slong_t.
38397
46259bec
DM
383982012-05-21 David S. Miller <davem@davemloft.net>
38399
38400 * Makefules (o-iterator): Remove .s cases.
38401 (compile-command.s): Delete.
38402 (COMPILE.s): Delete.
38403 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
38404
59f0c22e
JM
384052012-05-21 Joseph Myers <joseph@codesourcery.com>
38406
38407 * configure.in (libc_cv_predef_stack_protector): Only consider
38408 "foobar" and "__stack_chk_fail" lines in libc_undefs.
38409 * configure: Regenerated.
38410
20c07380
L
384112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38412
bbb3154b
L
38413 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38414 New macro. Use R*LP on int and pointer.
38415 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
38416 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
38417 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
38418 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
38419
20c07380
L
38420 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
38421 [__WORDSIZE_TIME64_COMPAT32] instead of
38422 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
38423 (struct utmp): Likewise.
38424 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
38425 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
38426 Renamed to ...
38427 (__WORDSIZE_TIME64_COMPAT32): This.
38428 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
38429 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
38430 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
38431 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
38432 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
38433 (__WORDSIZE_TIME64_COMPAT32): New macro.
38434
d8d1017e
AJ
384352012-05-21 Andreas Jaeger <aj@suse.de>
38436
38437 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
38438 only if [SHARED]. Add prototype for __wcschr_ia32.
38439
6c7fb145
RM
384402012-05-21 Roland McGrath <roland@hack.frob.com>
38441
38442 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
38443 of %rbp unmolested in the jmp_buf while mangling the low bits.
38444 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
38445 unmolested high bits of %rbp while demangling the low bits.
38446 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38447
66274218
AJ
384482012-05-21 Andreas Jaeger <aj@suse.de>
38449
07c58f8f
AJ
38450 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
38451 * sunrpc/svc_simple.c: Use it for registerrpc.
38452 * sunrpc/xcrypt.c: Use it for passwd2des.
38453
66274218
AJ
38454 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
38455
61f65140
L
384562012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38457
38458 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
38459 Don't define if [__SYSCALL_WORDSIZE != 32].
38460 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
38461 New macro.
38462
5fefb436
AJ
384632012-05-21 Bruno Haible <bruno@clisp.org>
38464 Andreas Jaeger <aj@suse.de>
38465
38466 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
38467 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
38468 inptr and inend for must_buffer_ch.
38469 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
38470 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
38471 * stdio-common/Makefile (tests): Remove bug15.
38472 (bug15-ENV): Remove macro.
38473 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
38474 anymore.
38475
d8e272ab
AJ
384762012-05-19 Andreas Jaeger <aj@suse.de>
38477 Roland McGrath <roland@hack.frob.com>
38478
38479 * manual/contrib.texi: Completely rewritten. It contains now an
38480 alphabetical list of contributors and their contributions.
38481
4a56a162
RH
384822012-05-21 Richard Henderson <rth@twiddle.net>
38483
38484 * misc/getauxval.c (__getauxval): Use unsigned long int.
38485 * misc/sys/auxv.h: Include <sys/cdefs.h>.
38486 (getauxval): Use unsigned long int.
38487
d024d23c
L
384882012-05-21 H.J. Lu <hongjiu.lu@intel.com>
38489
38490 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38491
cbc00a03
RM
384922012-05-21 Roland McGrath <roland@hack.frob.com>
38493
38494 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
38495 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
38496 __alignof__ (long double).
38497
478143fa
AZ
384982012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38499
38500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38501
c7683a6d
RH
385022012-05-20 Richard Henderson <rth@twiddle.net>
38503
38504 * misc/getauxval.c: New file.
38505 * misc/sys/auxv.h: New file.
38506 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
38507 (routines): Add getauxval.
38508 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
38509 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
38510 * elf/dl-sysdep.c (_dl_auxv): Remove.
38511 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
38512 * elf/dl-support.c (_dl_auxv): New variable.
38513 (_dl_aux_init): Initialize it.
38514 * manual/startup.texi (Auxiliary Vector): New node.
38515 * sysdeps/generic/bits/hwcap.h: New file.
38516 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
38517 * sysdeps/powerpc/sysdep.h: ... here. Include it.
38518 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
38519 * sysdeps/sparc/sysdep.h: ... here. Include it.
38520 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
38521 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
38522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38523 Update.
c7683a6d
RH
38524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
38525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
38526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
38527 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
38528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38530 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
38531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
38532
a6f1845d
AZ
385332012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38534
38535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38536
cbcbe830
DM
385372012-05-19 David S. Miller <davem@davemloft.net>
38538
38539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38540
e0b16cc2
JM
385412012-05-19 Joseph Myers <joseph@codesourcery.com>
38542
38543 [BZ #14123]
38544 * math/s_ccosh.c: Include <float.h>
38545 (__ccosh): Avoid internal overflow calculating sinh and cosh
38546 values before multiplying by sin and cos values.
38547 * math/s_ccoshf.c: Likewise.
38548 * math/s_ccoshl.c: Likewise.
38549 * math/s_csin.c: Likewise.
38550 * math/s_csinf.c: Likewise.
38551 * math/s_csinl.c: Likewise.
38552 * math/s_csinh.c: Likewise.
38553 * math/s_csinhf.c: Likewise.
38554 * math/s_csinhl.c: Likewise.
38555 * math/libm-test.inc (ccos_test): Add more tests.
38556 (ccosh_test): Likewise.
38557 (csin_test): Likewise.
38558 (csinh_test): Likewise.
38559 * sysdeps/i386/fpu/libm-test-ulps: Update.
38560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38561
6ad13e08
L
385622012-05-19 H.J. Lu <hongjiu.lu@intel.com>
38563
f66f0ce8
L
38564 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
38565 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
38566
6ad13e08
L
38567 * sysdeps/x86_64/x32/_itoa.h: Add comment.
38568
b1d072a7
JM
385692012-05-19 Joseph Myers <joseph@codesourcery.com>
38570
38571 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
38572 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
38573 * sysdeps/powerpc/soft-fp/Versions: Likewise.
38574 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
38575 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
38576 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
38577 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
38578 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
38579 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
38580 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
38581 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
38582 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
38583 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
38584 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
38585 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
38586 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
38587 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
38588 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
38589 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
38590 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
38591 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
38592 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
38593 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
38594 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
38595 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
38596 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
38597 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
38598 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
38599 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
38600 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
38601 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
38602
9eae47cb
AJ
386032012-05-18 Andreas Jaeger <aj@suse.de>
38604
38605 * csu/.gitignore: Delete.
38606
bb07f69f
L
386072012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38608
38609 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
38610 (timex): Use __syscall_slong_t.
38611
e6bdb741
AJ
386122012-05-18 Andreas Jaeger <aj@suse.de>
38613 Carlos O'Donell <carlos_odonell@mentor.com>
38614
38615 * manual/install.texi (Configuring and compiling): Update
38616 description about files modified in the source directory.
d6c33fda 38617 * INSTALL: Regenerated.
e6bdb741 38618
1b74487e
L
386192012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38620
38621 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
38622 value. Use "or" to set return value to -1.
38623 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
38624 negate return value.
38625
a88b64b9
TMQMF
386262012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38627
57f41c40
AS
38628 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
38629 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
38630 failure if the compiler has Graphite support disabled.
38631 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
38632 Likewise.
57f41c40
AS
38633 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
38634 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
38635 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
38636 Likewise.
38637
3707636e
L
386382012-05-18 H.J. Lu <hongjiu.lu@intel.com>
38639
610b8622
L
38640 * sysdeps/x86_64/x32/_itoa.h: New file.
38641
7cd195df
L
38642 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
38643 getdents system call only if kernel and user dirents have the
38644 same d_ino and d_off.
38645
94b07d20
L
38646 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38647 LLONG_MAX != LONG_MAX.
38648 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38649 (_fitoa_word): Likewise.
38650
18298070
L
38651 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
38652 years.
38653 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
38654 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
38655 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
38656
553c7ea4
L
38657 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
38658 include <bits/wordsize.h>. Check __x86_64__ instead of
38659 __WORDSIZE.
38660 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
38661 if __x86_64__ is defined. Use anonymous union on fpstate.
38662
3707636e
L
38663 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
38664 anonymous union.
38665
b53ef01a
AS
386662012-05-18 Andreas Schwab <schwab@linux-m68k.org>
38667
37fb1dc0
AS
38668 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38669 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
38670 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
38671 Refer to _rtld_local_ro instead of _rtld_global_ro.
38672 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
38673 Likewise.
38674 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
38675 Likewise.
38676 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
38677 Likewise.
38678 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
38679 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
38680 of _rtld_global, and rtld_progname instead of _dl_argv[0].
38681
b53ef01a
AS
38682 * sysdeps/powerpc/powerpc32/dl-machine.c
38683 (__elf_machine_runtime_setup) [PROF]: Don't reference
38684 _dl_prof_resolve.
38685
7a185db2
AJ
386862012-05-18 Andreas Jaeger <aj@suse.de>
38687
38688 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
38689 function only available for GCCs before 3.4 since GCC 3.4
38690 introduced a builtin.
38691 (lrint): Likewise.
38692 (llrintf): Likewise.
38693 (llrint): Likewise.
38694 (fmaxf): Likewise.
38695 (fmax): Likewise.
38696 (fminf): Likewise.
38697 (fmin): Likewise.
38698 (rint): Likewise.
38699 (rintf): Likewise.
38700 (nearbyint): Likewise.
38701 (nearbyintf): Likewise.
38702 (ceil): Likewise.
38703 (ceilf): Likewise.
38704 (floor): Likewise.
38705 (floorf): Likewise.
38706
3e5aef87
L
387072012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38708
428bd707
L
38709 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
38710 on both fields and cast pointer to __syscall_ulong_t.
38711
3e5aef87
L
38712 * bits/types.h (__fsword_t): New type.
38713 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
38714 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
38715 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38716 (__FSWORD_T_TYPE): Likewise.
38717 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38718 (__FSWORD_T_TYPE): Likewise.
38719 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38720 (__FSWORD_T_TYPE): Likewise.
38721 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
38722 (__FSWORD_T_TYPE): Likewise.
38723 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
38724 __SWORD_TYPE with __fsword_t.
38725 (statfs64): Likewise.
38726
1ba7c3dc
DM
387272012-05-17 David S. Miller <davem@davemloft.net>
38728
38729 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
38730
59910343
AJ
387312012-05-17 Andreas Jaeger <aj@suse.de>
38732
38733 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
38734 warning.
38735
2e4c1e9e
L
387362012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38737
38738 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
38739
de7f5ce7
AJ
387402012-05-17 Andreas Jaeger <aj@suse.de>
38741
38742 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
38743 when it is used.
38744
286abc3d
CM
387452012-05-17 Chris Metcalf <cmetcalf@tilera.com>
38746
38747 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
38748
477cc68e
L
387492012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38750
38751 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
38752 * sysdeps/x86_64/tst-mallocalign1.c: New file.
38753
1a0994f5
CD
387542012-05-17 Andreas Jaeger <aj@suse.de>
38755 Carlos O'Donell <carlos_odonell@mentor.com>
38756
38757 [BZ #14059]
38758 * sysdeps/x86_64/multiarch/init-arch.h
38759 (bit_YMM_Usable): Rename to...
38760 (bit_AVX_Usable): ... this.
38761 (bit_FMA4_Usable): New macro.
38762 (bit_XMM_state): New macro.
38763 (bit_YMM_state): New macro.
38764 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
38765 [__ASSEMBLER__] (index_AVX_Usable): ... this.
38766 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
38767 (CPUID_OSXSAVE): New macro.
38768 (CPUID_AVX): New macro.
38769 (CPUID_FMA4): New macro.
38770 (index_YMM_Usable): Rename to...
38771 (index_AVX_Usable): ... this.
38772 (HAS_AVX): Use HAS_ARCH_FEATURE.
38773 (HAS_FMA4): Likewise.
38774 (HAS_YMM_USABLE): Remove.
38775 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38776 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
38777 are present.
38778 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
38779 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
38780 * sysdeps/x86_64/multiarch/Makefile: Likewise.
38781 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
38782 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
38783
0af797de
CM
387842012-05-17 Chris Metcalf <cmetcalf@tilera.com>
38785
38786 * math/libm-test.c: Support platforms without multiple rounding modes.
38787 * math/bug-nextafter.c: Support platforms without FP exceptions.
38788 * math/bug-nexttoward.c: Likewise.
38789 * math/test-fenv.c: Likewise.
38790 * math/test-misc.c: Likewise.
38791 * stdlib/bug-getcontext.c: Likewise.
38792
e39745ff
AJ
387932012-05-17 Andreas Jaeger <aj@suse.de>
38794
38795 * manual/examples/search.c (critter_cmp): Change signature to
38796 avoid warnings.
38797 * manual/string.texi (Collation Functions): Likewise.
38798
48970aba
L
387992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38800
38801 * bits/types.h: Fold copyright years.
38802 * bits/typesizes.h: Likewise.
38803 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
38804 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38805 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
38806 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
38807 * time/time.h: Likewise.
38808
bedee953
PP
388092012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
38810
38811 [BZ #208]
38812 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
38813 in instead of returning them. Return void.
38814 (__libc_mallinfo): Accumulate over all arenas.
38815 (__malloc_stats): Adjust for change in int_mallinfo interface.
38816
61653dfb
RM
388172012-05-16 Roland McGrath <roland@hack.frob.com>
38818
30b99d79
RM
38819 [BZ #10375]
38820 * configure.in (NM): Add AC_CHECK_TOOL for it.
38821 (libc_extra_cflags): New substituted variable.
38822 Check for -fstack-protector being used implicitly.
38823 * configure: Regenerated.
38824 * config.make.in (config-extra-cflags): New variable,
38825 gets @libc_extra_cflags@.
38826 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
38827
61653dfb
RM
38828 [BZ #10375]
38829 * configure.in: Check for _FORTIFY_SOURCE being predefined.
38830 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
38831 * configure: Regenerated.
38832 * config.make.in (CPPUNDEFS): New substituted variable.
38833 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
38834 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
38835 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
38836
661768bb
L
388372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38838
38839 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
38840 (mq_attr): Use __syscall_slong_t.
38841
d4261567
L
388422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38843
38844 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
38845 Check __x86_64__ instead of __WORDSIZE.
38846 (_STAT_VER_LINUX): Likewise.
38847 (stat): Check __x86_64__ instead of __WORDSIZE. Use
38848 __syscall_ulong_t and __syscall_slong_t.
38849 (stat64): Likewise.
38850
cf3ff365
L
388512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38852
38853 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
38854
76cf3e4d
L
388552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38856
38857 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
38858
a637753a
L
388592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38860
38861 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
38862 __syscall_ulong_t.
38863
d5e05119
L
38864 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
38865 include <bits/wordsize.h>. Check __x86_64__ instead of
38866 __WORDSIZE.
38867 (greg_t): Use "__extension__ long long int" if __x86_64__ is
38868 defined.
38869 (mcontext_t): Replace "unsigned long" with "unsigned long long".
38870
f62ee380
L
38871 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
38872 include <bits/wordsize.h>. Check __x86_64__ instead of
38873 __WORDSIZE.
38874 (user_regs_struct): Use "__extension__ unsigned long long"
38875 instead of "unsigned long" if __x86_64__ is defined.
38876 (user): Likewise. Pad after pointer field if __ILP32__ is
38877 defined.
38878
4e124ced
JM
388792012-05-16 Joseph Myers <joseph@codesourcery.com>
38880
6a3951a0
JM
38881 * configure.in (makeinfo): Require version 4.5 or later. Allow
38882 versions 5 to 9.
38883 * configure: Regenerated.
38884 * manual/install.texi (texinfo): Increase version requirement to
38885 4.5 or later.
38886 * INSTALL: Regenerated.
38887
4e124ced
JM
38888 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
38889
953ca31a
L
388902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38891
38892 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
38893
617aca05
L
38894 * sysdeps/x86_64/x32/ffs.c: New file.
38895
5762f7ae
L
38896 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
38897 __syscall_ulong_t.
38898 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
38899 defined. Use __syscall_ulong_t.
38900 (shminfo): Use __syscall_ulong_t.
38901 (shm_info): Likewise.
38902
a26b6856
L
38903 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
38904 __syscall_ulong_t.
38905
cb2b9ef7
L
38906 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
38907 <bits/wordsize.h>.
38908 (msgqnum_t): Use __syscall_ulong_t.
38909 (msglen_t): Likewise.
38910 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
38911 __syscall_ulong_t.
38912
34683bb0
L
38913 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
38914 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38915
84a68786
L
38916 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
38917
48baa5f1
L
38918 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
38919 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38920
180be88b
L
38921 * sysvipc/sys/msg.h (msgbuf): Replace long int with
38922 __syscall_slong_t.
38923
5e90c8ad
L
38924 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
38925 include <bits/wordsize.h>. Check __x86_64__ instead of
38926 __WORDSIZE.
38927
23dfb58b
L
38928 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
38929 "unsigned long long int" if __x86_64__ is defined.
38930 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
38931
ce5d54b0
L
38932 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
38933 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38934 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
38935
13dc9eac
L
38936 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
38937 <stdint.h>.
38938 (GET_PC): Cast to uintptr_t first.
38939 (GET_FRAME): Likewise.
38940 (GET_STACK): Likewise.
38941
a7895d15
L
38942 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
38943 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
38944 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
38945 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
38946 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
38947 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
38948 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
38949 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
38950 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
38951 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
38952 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
38953 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
38954 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38955 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
38956 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
38957 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
38958 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
38959 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
38960 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
38961 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
38962 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
38963 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
38964 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
38965 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
38966 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
38967 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
38968 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
38969 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
38970 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
38971
656416c9
AS
389722012-05-16 Andreas Schwab <schwab@linux-m68k.org>
38973
5bd66283
AS
38974 * Makerules (+depfiles): Also collect depfiles from .oS in
38975 $(extra-objs).
38976 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
38977 .oS, $(libnldbl-routines)).
38978
656416c9
AS
38979 * Makerules (native-compile-mkdep-flags): Define.
38980 * sunrpc/Makefile (extra-objs): Add $(addprefix
38981 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38982 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38983 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
38984 calling $(make-target-directory).
38985
a46f2169
L
389862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38987
38988 * bits/types.h (__snseconds_t): Removed.
38989 * time/time.h (struct timespec): Replace __snseconds_t with
38990 __syscall_slong_t.
38991 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38992 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38993 Likewise.
38994 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38995 (__SNSECONDS_T_TYPE): Likewise.
38996 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38997 (__SNSECONDS_T_TYPE): Likewise.
38998 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38999 (__SNSECONDS_T_TYPE): Likewise.
39000
6af6528b
L
390012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39002
39003 * sysdeps/mach/hurd/bits/typesizes.h
39004 (__SYSCALL_SLONG_TYPE): New macro.
39005 (__SYSCALL_ULONG_TYPE): Likewise.
39006
de986b56
L
390072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39008
39009 * bits/types.h (__syscall_slong_t): New type.
39010 (__syscall_ulong_t): Likewise.
39011
39012 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
39013 (__SYSCALL_ULONG_TYPE): Likewise.
39014 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39015 (__SYSCALL_SLONG_TYPE): Likewise.
39016 (__SYSCALL_ULONG_TYPE): Likewise.
39017 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39018 (__SYSCALL_SLONG_TYPE): Likewise.
39019 (__SYSCALL_ULONG_TYPE): Likewise.
39020 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39021 (__SYSCALL_SLONG_TYPE): Likewise.
39022 (__SYSCALL_ULONG_TYPE): Likewise.
39023
85736dc7
L
390242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39025
39026 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
39027 Add sigaltstack-offsets.sym.
39028 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
39029 <sigaltstack-offsets.h>.
39030 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
39031 longjmp_msg pointer.
39032 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
39033 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
39034 signal stack.
39035 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
39036
cc03b296
JM
390372012-05-15 Joseph Myers <joseph@codesourcery.com>
39038
a9538892
JM
39039 * elf/stackguard-macros.h: Remove file.
39040 * sysdeps/generic/stackguard-macros.h: New file.
39041 * sysdeps/i386/stackguard-macros.h: Likewise.
39042 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39043 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39044 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39045 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39046 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39047 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39048 * sysdeps/x86_64/stackguard-macros.h: Likewise.
39049 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
39050 <elf/stackguard-macros.h>.
39051
cc03b296
JM
39052 [BZ #14109]
39053 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
39054 __aligned__ in attribute.
39055 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
39056 (gregset_t): Likewise.
39057
93171016
L
390582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39059
39060 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
39061 * sysdeps/x86_64/64/Implies-after: Here. New file.
39062 * sysdeps/x86_64/x32/Implies-after: New file.
39063
d86813a0
L
390642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39065
39066 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
39067 and access return value for _dl_profile_fixup. Use R10_LP to
39068 load frame size.
39069
2953ec75
L
390702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39071
39072 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
39073
3b550e9e
L
390742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39075
39076 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
39077 * sysdeps/x86_64/x32/sysdep.h: New file.
39078
eda41706
L
390792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39080
39081 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
39082 * sysdeps/x86_64/setjmp.S: Likewise.
39083
9ea01d93
AZ
390842012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39085
39086 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39087 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39088 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39089 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39090 remove unused global constant.
39091
02a91938
CM
390922012-05-15 Chris Metcalf <cmetcalf@tilera.com>
39093
39094 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39095 include of <not-cancel.h>.
39096
6540185f
RM
390972012-05-15 Roland McGrath <roland@hack.frob.com>
39098
39099 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39100
509072a0
AJ
391012012-05-15 Jeff Law <law@redhat.com>
39102 Andreas Jaeger <aj@suse.de>
39103
39104 [BZ #13594]
39105 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39106 out from...
39107 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39108 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39109 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39110 code changing __hst_map_handle.map.
39111
ba75122d
RM
391122012-05-15 Roland McGrath <roland@hack.frob.com>
39113
39114 * configure.in (sysnames): Look for Implies-before and Implies-after
39115 files.
39116 * configure: Regenerated.
39117
890d8bd8
L
391182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39119
39120 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39121 8-byte data alignment with LP_SIZE alignment.
39122
f6ee6623
L
391232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39124
39125 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39126 into R10_LP.
39127
ea2626f6
L
391282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39129
39130 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39131
085f715e
L
391322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39133
39134 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39135 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39136 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39137 Likewise.
39138 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39139
be8498fc
L
391402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39141
39142 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39143 (stackinfo_sub_sp): Likewise.
39144
70bc83b9
L
391452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39146
39147 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39148 RAX_LP.
39149
9bc0b730
L
391502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39151
39152 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
39153 into R*_LP.
39154
6d2850e7
L
391552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39156
39157 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
39158 sizes into R*_LP.
39159
3cb84561
L
391602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39161
39162 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
39163
54e2ed81
L
391642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39165
39166 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
39167 into R11_LP and load __x86_64_shared_cache_size_half into
39168 R8_LP.
39169
8a17f349
L
391702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39171
39172 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
39173 R8_LP.
39174
777b1eea
AZ
391752012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39176
39177 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
39178 logb for POWER7.
39179 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
39180 logbf for POWER7.
39181 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
39182 logbl for POWER7.
39183 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
39184 powerpc32/power7/fpu/s_logb.c via #include.
39185 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
39186 powerpc32/power7/fpu/s_logbf.c via #include.
39187 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
39188 powerpc32/power7/fpu/s_logbl.c via #include.
39189
d20d4ac2
JM
391902012-05-15 Joseph Myers <joseph@codesourcery.com>
39191
39192 * README.libm: Remove file.
39193
6cdef1ab
L
391942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39195
39196 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
39197 count for x32. Use R*_LP and omit operand-size suffix.
39198
0b254d8f
L
391992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39200
39201 * shlib-versions: Move x86_64-.*-linux.* entries to ...
39202 * sysdeps/x86_64/64/shlib-versions: Here. New file.
39203 * sysdeps/x86_64/x32/shlib-versions: New file.
39204
ceb809dc
RM
392052012-05-14 Roland McGrath <roland@hack.frob.com>
39206
39207 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
39208 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
39209 Use _dl_fatal_printf instead.
39210
37f1abd4
JM
392112012-05-14 Joseph Myers <joseph@codesourcery.com>
39212
39213 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
39214 set if not set by the user. Do not allow for being unset.
39215 * sysdeps/unix/sysv/linux/configure: Regenerated.
39216
11de3a33
L
392172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39218
39219 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
39220 the `q' suffix from lea and replace .quad with ASM_ADDR.
39221
e02f153a
L
392222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39223
39224 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
39225 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
39226 instead of $17.
39227 (PTR_DEMANGLE): Likewise.
39228
520ae0fd
L
392292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39230
39231 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
39232 (LP_OP): Likewise.
39233 (ASM_ADDR): Likewise.
39234 (RAX_LP): Likewise.
39235 (RBP_LP): Likewise.
39236 (RBX_LP): Likewise.
39237 (RCX_LP): Likewise.
39238 (RDI_LP): Likewise.
39239 (RSI_LP): Likewise.
39240 (RSP_LP): Likewise.
39241 (R8_LP): Likewise.
39242 (R9_LP): Likewise.
39243 (R10_LP): Likewise.
39244 (R10_LP): Likewise.
39245 (R11_LP): Likewise.
39246 (R12_LP): Likewise.
39247 (R13_LP): Likewise.
39248 (R14_LP): Likewise.
39249 (R15_LP): Likewise.
39250
b985be81
L
392512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39252
39253 * sysdeps/x86_64/x32/dl-machine.h: New file.
39254
6a4888ff
AJ
392552012-05-14 Andreas Jaeger <aj@suse.de>
39256
39257 * manual/Makefile (subdir): Remove export of subdir.
39258 (all): Remove target.
39259 (.PHONY): Remove all from list.
39260 (mkinstalldirs): Remove.
39261 (.PHONY): Remove installdirs from list.
39262 ($(inst_infodir)/libc.info): Use make-target-directory.
39263 (installdirs): Remove.
39264 (subdir_%): Remove.
39265 (glibc-targets): Remove.
39266 (lib): Remove.
39267 (stubs): Remove.
39268 ($(objpfx)stubs ../po/manual.pot): Remove.
39269 ($(objpfx)stamp%): Remove.
39270 (make-target-directory): Remove.
39271 (subdir_install): Remove.
39272 (routines): Remove.
39273 (aux): Remove.
39274 (sources): Remove.
39275 (objects): Remove.
39276 (headers): Remove.
39277
39278 [BZ #13750]
39279 * manual/.gitignore: Remove, it's not needed anymore.
39280 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
39281 all files in it.
39282 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
39283 directory.
39284 (texis): Renamed to $(objpfx)texis.
39285 (texis-path): New, contains path to generated files.
39286 (chapters.%): Use texis-path for complete path, add extra argument
39287 libc-texinfo.sh.
39288 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
39289 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
39290 (summary,texi, stamp-summary): Use complete path of
39291 files. Generate files in build dir.
39292 (dir-add.texi): Build in build dir.
39293 (libm-err.texi,stamp-libm-err): Likewise.
39294 (version.texi, stamp-version): Likewise.
39295 (.%c.texi): Likewise.
39296 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
39297 (mostlyclean): Remove target.
39298 (realclean): Remove target.
39299 (generated): Add new variable with contents from mostlyclean and
39300 realclean, remove entries duplicated in common-mostlyclean, add
39301 stamp-libm-err and stamp-version.
39302 (generated-dirs): Add libc directory.
39303 ($(inst_infodir)/libc.info): Install files from build dir.
39304
39305 * manual/install.texi (Configuring and compiling): Adjust since
39306 the info files are not part of the tar ball anymore.
39307
7ac77294
AJ
393082012-05-14 Andreas Jaeger <aj@suse.de>
39309
39310 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
39311 variable.
39312
ffb7875d
JM
393132012-05-14 Joseph Myers <joseph@codesourcery.com>
39314
39315 [BZ #13717]
39316 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39317 to 2.2.0 where earlier.
39318 * sysdeps/unix/sysv/linux/configure: Regenerated.
39319 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
39320 Remove conditional code.
39321 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
39322 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
39323 Remove conditional code.
39324 [!__NR_lchown]: Likewise.
39325 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39326 [__NR_lchown]: Likewise.
39327 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
39328 comment referencing __ASSUME_LCHOWN_SYSCALL.
39329 * sysdeps/unix/sysv/linux/i386/sigaction.c
39330 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39331 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39332 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
39333 Remove conditional code.
39334 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
39335 (__protocol_available): Remove #if 0 code.
39336 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
39337 conditional code.
39338 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
39339 * sysdeps/unix/sysv/linux/kernel-features.h
39340 (__ASSUME_GETCWD_SYSCALL): Don't define.
39341 (__ASSUME_REALTIME_SIGNALS): Likewise.
39342 (__ASSUME_PREAD_SYSCALL): Likewise.
39343 (__ASSUME_PWRITE_SYSCALL): Likewise.
39344 (__ASSUME_POLL_SYSCALL): Likewise.
39345 (__ASSUME_LCHOWN_SYSCALL): Likewise.
39346 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
39347 non-SPARC.
39348 (__ASSUME_SIOCGIFNAME): Don't define.
39349 (__ASSUME_MSG_NOSIGNAL): Likewise.
39350 (__ASSUME_SENDFILE): Define unconditionally.
39351 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
39352 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
39353 conditional code.
39354 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
39355 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
39356 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39357 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39358 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
39359 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39360 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
39362 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39363 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39365 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39366 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
39368 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39369 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39371 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39372 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
39374 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39375 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
39377 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39378 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
39380 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39381 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
39383 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39384 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39385 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
39386 Remove conditional code.
39387 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39388 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39389 Remove conditional code.
39390 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39391 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
39392 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
39393 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39394 Remove conditional code.
39395 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39396 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
39397 Remove conditional code.
39398 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39399 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
39400 Remove conditional code.
39401 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39402 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39403 Remove conditional code.
39404 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39405 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39406 Remove conditional code.
39407 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39408 * sysdeps/unix/sysv/linux/sh/pwrite64.c
39409 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39410 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39411 * sysdeps/unix/sysv/linux/sigaction.c
39412 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39413 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39414 * sysdeps/unix/sysv/linux/sigpending.c
39415 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39416 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39417 * sysdeps/unix/sysv/linux/sigprocmask.c
39418 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39419 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39420 * sysdeps/unix/sysv/linux/sigsuspend.c
39421 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39422 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39423 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39424 (__libc_missing_rt_sigs): Remove.
39425 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
39426 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
39427 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
39428 Remove conditional code.
39429 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
39430 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
39431 return 1.
39432 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
39433 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
39434 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
39435 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
39436
1bfb7291
AJ
394372012-05-14 Andreas Jaeger <aj@suse.de>
39438
caae5a81
AJ
39439 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
39440 it's not used in glibc.
39441 (__coshm1): Likewise.
39442 (__acosh1p): Likewise.
39443 (__sgn): Likewise.
39444
1bfb7291
AJ
39445 * manual/string.texi (Copying and Concatenation): Add missing
39446 variable in concat example.
39447 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
39448
c044d724
L
394492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39450
144c5467 39451 [BZ #14103]
c044d724
L
39452 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
39453 __builtin_clzl with __builtin_clzll.
39454
2523c62b
L
394552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
39456
39457 [BZ #14104]
39458 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
39459 libc_freeres_ptr.
39460
d7bb4c42
LD
394612012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39462
39463 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
39464 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
39465 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
39466 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
39467
9dc4e1fb
MF
394682012-05-14 Mike Frysinger <vapier@gentoo.org>
39469
39470 * NEWS: Update ia64 info.
39471
c7df0112
AS
394722012-05-12 Andreas Schwab <schwab@linux-m68k.org>
39473
39474 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
39475 used as bcopy.
39476
dc70356c
TS
394772012-05-12 Thomas Schwinge <thomas@codesourcery.com>
39478
39479 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
39480 * sysdeps/unix/syscalls.list (dup3): Likewise.
39481 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
39482 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
39483
9fb1a21f
L
394842012-05-11 H.J. Lu <hongjiu.lu@intel.com>
39485
39486 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
39487 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
39488
4822a2a5
L
394892012-05-11 H.J. Lu <hongjiu.lu@intel.com>
39490
39491 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
39492 thread pointer.
39493 (TLS_IE): Use mov/add instead of movq/addq to load thread
39494 pointer.
39495 (TLS_GD_PREFIX): New.
39496 (TLS_GD): Use it.
39497
842b81d6
DM
394982012-05-11 David S. Miller <davem@davemloft.net>
39499
39500 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
39501 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
39502 (_FPU_SETCW): Likewise.
39503
1cf463cd
L
395042012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39505
39506 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
39507 is 32-byte aligned.
39508
60cc4a18
AS
395092012-05-11 Andreas Schwab <schwab@linux-m68k.org>
39510
39511 [BZ #11837]
39512 * iconvdata/gb18030.c: Update tables.
39513 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
39514 characters specially.
39515 (BODY for TO_LOOP): Add encoding of missing ranges.
39516
febb44a4
TS
395172012-05-11 Thomas Schwinge <thomas@codesourcery.com>
39518
39519 [BZ #13673]
39520 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
39521 * sysdeps/mach/hurd/dup3.c: Likewise.
39522 * sysdeps/mach/hurd/readlinkat.c: Likewise.
39523 * sysdeps/powerpc/memmove.c:: Likewise.
39524
0a10fb9e
L
395252012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39526
39527 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
39528 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
39529
df8a552f
L
395302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39531
39532 * elf/elf.h (R_X86_64_RELATIVE64): New.
39533 (R_X86_64_NUM): Updated.
39534 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39535 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
39536 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
39537 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
39538 tst-quad1pie tst-quad2pie
39539 (modules-names): Add tst-quadmod1 tst-quadmod2.
39540 ($(objpfx)tst-quad1): New dependency.
39541 ($(objpfx)tst-quad2): Likewise.
39542 ($(objpfx)tst-quad1pie): Likewise.
39543 ($(objpfx)tst-quad2pie): Likewise.
39544 * sysdeps/x86_64/tst-quad1.c: New file.
39545 * sysdeps/x86_64/tst-quad1pie.c: New file.
39546 * sysdeps/x86_64/tst-quad2.c: Likewise.
39547 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
39548 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
39549 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
39550 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
39551 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
39552
f34d6f84
ST
395532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39554
f42d41d1
ST
39555 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
39556 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
39557 * streams/stropts.h (t_scalar_t): Define type.
39558
3c3571fc
ST
39559 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
39560 (_PATH_PRESERVE): Set to "/var/lib".
39561 (_PATH_RWHODIR): Set to "/var/spool/rwho".
39562
61f06bd3
ST
39563 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
39564 instead of int.
39565
918d4d71
ST
39566 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
39567 if __dir_mkfile succeeded.
39568
f34d6f84
ST
39569 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
39570 checking for _hurd_dtablesize. Unlock it right after having
39571 finished _hurd_dtable allocation.
39572
10589b4a
TS
395732012-05-10 Thomas Schwinge <thomas@schwinge.name>
39574
674cdbc7
TS
39575 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
39576 * sysdeps/mach/hurd/configure: Regenerated.
39577 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
39578 special-casing to...
39579 * sysdeps/gnu/configure.in: ... this new file.
39580 * sysdeps/unix/sysv/linux/configure: Regenerated.
39581 * sysdeps/gnu/configure: New generated file.
39582
8e41b99f
TS
39583 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
39584 for Linux: use nsec instead of usec, as well as:
39585 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
39586 members of type struct timespec.
39587 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
39588 New macros.
39589 (struct stat64): Likewise.
39590 (_STATBUF_ST_NSEC): New macro.
39591 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
39592
10589b4a
TS
39593 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39594 __strtoul_internal rather than strtoul.
39595
63643c85
PT
395962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39597
39598 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
39599 and reject them.
39600
3faebe6a
ST
396012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39602
39603 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
39604 which preserves existing values.
39605 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
39606
c6474b07
PT
396072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39608
39609 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
39610 TIMEOUT values. Return EINVAL for NFDS values either negative or
39611 greater than FD_SETSIZE.
39612
1043890b
ST
396132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39614
39615 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
39616 allocated, call __vm_protect to finish enabling the existing space, and
39617 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
39618 allocate the remainder.
39619
37ed8b9b
PT
396202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39621
39622 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
39623 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
39624
db653660
ST
396252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39626
37ed8b9b
PT
39627 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
39628 sysdeps/mach/hurd/readlink.c.
b29d4053 39629
db653660
ST
39630 * posix/tst-sysconf.c (posix_options): Only use
39631 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
39632 _POSIX_SYNCHRONIZED_IO when they are defined
39633 * sysdeps/mach/hurd/bits/posix_opt.h:
39634 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
39635 (_XOPEN_REALTIME): Undefine macro.
39636 (_XOPEN_REALTIME_THREADS): Undefine macro.
39637 (_XOPEN_SHM): Undefine macro.
39638 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
39639 macro to -1.
39640 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
39641 macro to -1.
39642 (_POSIX_ASYNC_IO): Undefine macro.
39643 (_POSIX_PRIORITIZED_IO): Undefine macro.
39644 (_POSIX_SPIN_LOCKS): Define macro to -1.
39645
ee16e894
ST
39646 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
39647 SA_NODEFER, SA_RESETHAND.
39648 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
39649 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
39650 F_DUPFD_CLOEXEC.
39651
6103ae3b
TS
396522012-05-10 Thomas Schwinge <thomas@schwinge.name>
39653
39654 * elf/Makefile (pldd-modules): Define unconditionally.
39655
80b4e5f3
TS
396562012-05-10 Thomas Schwinge <thomas@schwinge.name>
39657
39658 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
39659
edadcbd6
ST
396602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39661
39662 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
39663 Return ENOENT when name is empty.
39664 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
39665
80694780
TS
396662012-05-10 Thomas Schwinge <thomas@schwinge.name>
39667
1792c087
TS
39668 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
39669
80694780
TS
39670 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
39671
6b645f0d
ST
396722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39673
80694780
TS
39674 Fix mlock in all cases except non-readable pages.
39675 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
39676 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 39677
6b645f0d
ST
39678 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
39679 (__mkdir): When path is `/', just fail with EEXIST.
39680 * sysdeps/mach/hurd/mkdirat.c: Likewise.
39681
e468f8a3
TS
396822012-05-10 Thomas Schwinge <thomas@schwinge.name>
39683
39684 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
39685 <sys/uio.h> (for writev).
39686 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
39687 and <sys/param.h> (for MIN).
39688
a4186cff
PT
396892012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39690
39691 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
39692 REQUESTED_TIME. Properly set the remaining time and return EINTR
39693 if interrupted.
39694
510bbf14
TS
396952012-05-10 Thomas Schwinge <thomas@schwinge.name>
39696
39697 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
39698 Depend on against $(link-rpcuserlibs).
39699
5d5722e8
ST
397002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39701
a4186cff
PT
39702 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
39703 (__libc_stack_end): Do not use attribute_relro.
39704 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
39705 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 39706 to libthread-provided value.
a4186cff
PT
39707 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
39708 attribute_relro.
5d5722e8 39709
37233df9
TS
397102012-05-10 Thomas Schwinge <thomas@schwinge.name>
39711
be971a2b
TS
39712 [BZ #3748]
39713 * bits/libc-lock.h (__libc_once_get): New macro.
39714 * sysdeps/mach/bits/libc-lock.h: Likewise.
39715 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
39716 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
39717 instead of using implementation details.
39718
37233df9
TS
39719 * libio/fileops.c: Unconditionally include <kernel-features.h>.
39720 * libio/freopen.c: Likewise.
39721 * libio/freopen64.c: Likewise.
39722 * misc/syslog.c: Likewise.
39723 * nscd/connections.c: Likewise.
39724 * nscd/netgroupcache.c: Likewise.
39725 * sysdeps/posix/getcwd.c: Likewise.
39726
38de94a5
RM
397272012-05-10 Roland McGrath <roland@hack.frob.com>
39728
39729 * math/w_ilogbf.c: Add #include <limits.h>.
39730
67530489
ST
397312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39732
a4186cff 39733 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
39734 path instead of returning without unlocking.
39735
67530489
ST
39736 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
39737 immediate-write ioctls.
39738 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
39739
5aa3a74a
TS
397402012-05-10 Thomas Schwinge <thomas@schwinge.name>
39741
18bad2ae
TS
39742 * sysdeps/mach/hurd/i386/init-first.c (init): Use
39743 __builtin_frame_address instead of making assumptions about the
39744 location of the return address relative to DATA. Force early load of
39745 the return address.
39746 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
39747 __builtin_frame_address.
39748
5aa3a74a
TS
39749 dup3 for GNU Hurd.
39750 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
39751 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
39752 implement dup3 and do some further code clean-ups.
39753 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
39754 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
39755
ecd0de9a
ST
397562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39757
cd9fa985
ST
39758 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
39759
a4186cff
PT
39760 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
39761 HURD_CRITICAL_END around holding _hurd_dtable_lock.
39762 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
39763 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
39764 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
39765 d->port.lock.
802ca5a5 39766
a4186cff
PT
39767 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
39768 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
39769 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 39770
bcf55240
TS
397712012-05-10 Thomas Schwinge <thomas@schwinge.name>
39772
6960eb42
TS
39773 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
39774 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
39775 definitions.
39776
eb43375f
TS
39777 accept4 for GNU Hurd.
39778 * include/sys/socket.h (__libc_accept4): New prototype.
39779 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
39780 to implement __libc_accept4.
39781 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
39782 __libc_accept4.
39783 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
39784
bcf55240
TS
39785 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
39786 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
39787 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
39788 signal-defines.sym.
39789
6178c55b
ST
397902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39791
a4186cff 39792 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 39793
6f080c2f
TS
397942012-05-10 Thomas Schwinge <thomas@schwinge.name>
39795
39796 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
39797 assertion on O_CLOEXEC flag.
39798 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
39799 * hurd/intern-fd.c: Likewise.
39800 * hurd/port2fd.c: Likewise.
39801
bcfe3a54
ST
398022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39803
39804 [BZ #3906]
39805 * bits/in.h (IPV6_PKTINFO): Define new macro.
39806 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
39807
89c9aa49
AZ
398082012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39809
39810 [BZ #13954]
39811 [BZ #13955]
39812 [BZ #13956]
39813 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
39814 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39815 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
39816 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39817 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39818 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39819 * math/libm-test.inc (logb_test) : Additional logb tests.
39820
021db4be
AJ
398212012-05-09 Andreas Schwab <schwab@linux-m68k.org>
39822 Andreas Jaeger <aj@suse.de>
39823
39824 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
39825 * configure: Regenerated.
39826 * config.h.in (LINK_OBSOLETE_RPC): New macro.
39827 * config.make.in (link-obsolete-rpc): New substituted variable.
39828 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
39829 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
39830 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39831 (shared-only-routines): Don't set it under [link-obsolete-rpc],
39832 so that libc.a contains the symbols.
39833 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39834 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
39835 * sunrpc/auth_none.c: Likewise.
39836 * sunrpc/auth_unix.c: Likewise.
39837 * sunrpc/authdes_prot.c: Likewise.
39838 * sunrpc/authuxprot.c: Likewise.
39839 * sunrpc/clnt_gen.c: Likewise.
39840 * sunrpc/clnt_perr.c: Likewise.
39841 * sunrpc/clnt_raw.c: Likewise.
39842 * sunrpc/clnt_simp.c: Likewise.
39843 * sunrpc/clnt_tcp.c: Likewise.
39844 * sunrpc/clnt_udp.c: Likewise.
39845 * sunrpc/clnt_unix.c: Likewise.
39846 * sunrpc/des_crypt.c: Likewise.
39847 * sunrpc/des_soft.c: Likewise.
39848 * sunrpc/get_myaddr.c: Likewise.
39849 * sunrpc/key_call.c: Likewise.
39850 * sunrpc/key_prot.c: Likewise.
39851 * sunrpc/netname.c: Likewise.
39852 * sunrpc/pm_getmaps.c: Likewise.
39853 * sunrpc/pm_getport.c: Likewise.
39854 * sunrpc/pmap_clnt.c: Likewise.
39855 * sunrpc/pmap_prot.c: Likewise.
39856 * sunrpc/pmap_prot2.c: Likewise.
39857 * sunrpc/pmap_rmt.c: Likewise.
39858 * sunrpc/publickey.c: Likewise.
39859 * sunrpc/rpc_cmsg.c: Likewise.
39860 * sunrpc/rpc_common.c: Likewise.
39861 * sunrpc/rpc_dtable.c: Likewise.
39862 * sunrpc/rpc_prot.c: Likewise.
39863 * sunrpc/rpc_thread.c: Likewise.
39864 * sunrpc/rtime.c: Likewise.
39865 * sunrpc/svc.c: Likewise.
39866 * sunrpc/svc_auth.c: Likewise.
39867 * sunrpc/svc_raw.c: Likewise.
39868 * sunrpc/svc_run.c: Likewise.
39869 * sunrpc/svc_tcp.c: Likewise.
39870 * sunrpc/svc_udp.c: Likewise.
39871 * sunrpc/svc_unix.c: Likewise.
39872 * sunrpc/svcauth_des.c: Likewise.
39873 * sunrpc/xcrypt.c: Likewise.
39874 * sunrpc/xdr.c: Likewise.
39875 * sunrpc/xdr_array.c: Likewise.
39876 * sunrpc/xdr_float.c: Likewise.
39877 * sunrpc/xdr_intXX_t.c: Likewise.
39878 * sunrpc/xdr_mem.c: Likewise.
39879 * sunrpc/xdr_rec.c: Likewise.
39880 * sunrpc/xdr_ref.c: Likewise.
39881 * sunrpc/xdr_sizeof.c: Likewise.
39882 * sunrpc/xdr_stdio.c: Likewise.
39883
b5c086a2
RM
398842012-05-10 Roland McGrath <roland@hack.frob.com>
39885
39886 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
39887 change. Update copyright years.
39888
6d74dd09
JM
398892012-05-10 Joseph Myers <joseph@codesourcery.com>
39890
39891 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
39892
28e72501
MK
398932012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
39894 Joseph Myers <joseph@codesourcery.com>
39895 Paul Pluzhnikov <ppluzhnikov@google.com>
39896
39897 [BZ #14012]
39898 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
39899 requiring rpcgen.
39900 [cross-compiling] (extra-libs): Likewise.
39901 [cross-compiling] (extra-libs-others): Likewise.
39902 [cross-compiling] (librpcsvc-routines): Likewise.
39903 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
39904 [cross-compiling] (omit-deps): Likewise.
39905 (sunrpc-CPPFLAGS): New variable.
39906 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
39907 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
39908 (cross-rpcgen-objs): New variable.
39909 (extra-objs): Append $(cross-rpcgen-objs).
39910 ($(cross-rpcgen-objs)): New rule.
39911 ($(objpfx)cross-rpcgen): Likewise.
39912 (rpcgen-cmd): Define to use $(built-program-file). Expand
39913 comment.
39914 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
39915 ($(objpfx)x%.stmp): Likewise.
39916 * sunrpc/proto.h [IS_IN_build] (_): Define.
39917 [IS_IN_build] (_libc_intl_domainname): Likewise.
39918
c8c59454
L
399192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39920
39921 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
39922 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
39923 and R_X86_64_TPOFF64.
39924
6f27cd16
JM
399252012-05-10 Joseph Myers <joseph@codesourcery.com>
39926
39927 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
39928 sysdeps/unix/sysv/syscalls.list.
39929 (stime): Likewise.
39930 (utime): Likewise.
39931 * sysdeps/unix/sysv/syscalls.list: Remove file.
39932
02467e1c
PE
399332012-05-10 Paul Eggert <eggert@cs.ucla.edu>
39934
39935 [BZ #3440]
39936 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
39937 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
39938 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
39939 (__LC_IDENTIFICATION): Make these macros useful in #if
39940 expressions, as required by C99.
39941
da392631
AS
399422012-05-10 Andreas Schwab <schwab@linux-m68k.org>
39943
39944 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
39945 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
39946 after this.
39947
8115f29b
L
399482012-05-09 H.J. Lu <hongjiu.lu@intel.com>
39949
39950 * stdlib/longlong.h: Updated from GCC.
39951
bdd74070
AJ
399522012-05-09 Andreas Jaeger <aj@suse.de>
39953
edfe0dbe
AJ
39954 * nscd/nscd.c (run_modes): Make named enum, reorder so that
39955 default is first entry.
39956 (run_mode): Set type.
39957 (main): Remove informal message about syslog.
39958 (options): Fix typo.
39959
bcfe3a54
ST
39960 [BZ #14053]
39961 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 39962 to asm.
bcfe3a54
ST
39963 (lrint): Likewise.
39964 (llrintf): Likewise.
39965 (llrint): Likewise.
39966 (rint): Likewise.
39967 (rintf): Likewise.
39968 (nearbyint): Likewise.
39969 (nearbyintf): Likewise.
bdd74070 39970
91d8d69e
AJ
399712012-05-09 Andreas Jaeger <aj@suse.de>
39972 Pedro Alves <palves@redhat.com>
39973
39974 * nscd/nscd.c (run_mode): Use enum.
39975 (main): Cleanup coding style issue.
39976
bb90b80b
AJ
399772012-05-09 Alexandre Oliva <aoliva@redhat.com>
39978 Andreas Jaeger <aj@suse.de>
39979
bcfe3a54
ST
39980 * nscd/nscd.c (go_background): Replaced with...
39981 (run_mode): ... this.
bb90b80b 39982 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
39983 (options): Add -F --foreground.
39984 (main): Implement it.
39985 (parse_opt): Parse it.
bb90b80b 39986
1a4b75a1
AJ
399872012-05-09 Andreas Jaeger <aj@suse.de>
39988
39989 [BZ #14083]
39990 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39991 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39992 -Wconversion warning.
39993 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39994 Likewise.
39995
b1cc2472
JM
399962012-05-09 Joseph Myers <joseph@codesourcery.com>
39997
39998 * conform/data/locale.h-data (NULL): Use macro-constant. Require
39999 == 0.
40000 (LC_ALL): Use macro-int-constant.
40001 (LC_COLLATE): Likewise.
40002 (LC_CTYPE): Likewise.
40003 (LC_MESSAGES): Likewise.
40004 (LC_MONETARY): Likewise.
40005 (LC_NUMERIC): Likewise.
40006 (LC_TIME): Likewise.
40007 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
40008 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40009 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40010 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
40011 Specify type.
40012 [C99-based standards] (float_t): Expect type.
40013 [C99-based standards] (double_t): Expect type.
40014 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
40015 type.
40016 [C99-based standards] (HUGE_VALL): Likewise.
40017 [C99-based standards] (INFINITY): Likewise.
40018 [C99-based standards] (NAN): Likewise.
40019 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
40020 [C99-based standards] (FP_NAN): Likewise.
40021 [C99-based standards] (FP_NORMAL): Likewise.
40022 [C99-based standards] (FP_SUBNORMAL): Likewise.
40023 [C99-based standards] (FP_ZERO): Likewise.
40024 [C99-based standards] (FP_FAST_FMA): Use
40025 optional-macro-int-constant. Specify type. Require == 1.
40026 [C99-based standards] (FP_FAST_FMAF): Likewise.
40027 [C99-based standards] (FP_FAST_FMAL): Likewise.
40028 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
40029 [C99-based standards] (FP_ILOGBNAN): Likewise.
40030 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
40031 Specify type.
40032 [C99-based standards] (MATH_ERREXCEPT): Likewise.
40033 [C99-based standards] (math_errhandling): Specify type.
40034 [ISO99 || ISO11] (signgam): Do not allow.
40035 [non-C99-based standards] (copysignf): Do not allow.
40036 [non-C99-based standards] (exp2f): Likewise.
40037 [non-C99-based standards] (log2f): Likewise.
40038 [non-C99-based standards] (modff): Allow.
40039 [non-C99-based standards] (erff): Do not allow.
40040 [non-C99-based standards] (erfcf): Likewise.
40041 [non-C99-based standards] (gammaf): Likewise.
40042 [non-C99-based standards] (hypotf): Likewise.
40043 [non-C99-based standards] (j0f): Likewise.
40044 [non-C99-based standards] (j1f): Likewise.
40045 [non-C99-based standards] (jnf): Likewise.
40046 [non-C99-based standards] (lgammaf): Likewise.
40047 [non-C99-based standards] (tgammaf): Likewise.
40048 [non-C99-based standards] (y0f): Likewise.
40049 [non-C99-based standards] (y1f): Likewise.
40050 [non-C99-based standards] (ynf): Likewise.
40051 [non-C99-based standards] (isnanf): Likewise.
40052 [non-C99-based standards] (acoshf): Likewise.
40053 [non-C99-based standards] (asinhf): Likewise.
40054 [non-C99-based standards] (atanhf): Likewise.
40055 [non-C99-based standards] (cbrtf): Likewise.
40056 [non-C99-based standards] (expm1f): Likewise.
40057 [non-C99-based standards] (ilogbf): Likewise.
40058 [non-C99-based standards] (log1pf): Likewise.
40059 [non-C99-based standards] (logbf): Likewise.
40060 [non-C99-based standards] (nextafterf): Likewise.
40061 [non-C99-based standards] (remainderf): Likewise.
40062 [non-C99-based standards] (rintf): Likewise.
40063 [non-C99-based standards] (scalbf): Likewise.
40064 [non-C99-based standards] (copysignl): Likewise.
40065 [non-C99-based standards] (exp2l): Likewise.
40066 [non-C99-based standards] (log2l): Likewise.
40067 [non-C99-based standards] (modfl): Allow.
40068 [non-C99-based standards] (erfl): Do not allow.
40069 [non-C99-based standards] (erfcl): Likewise.
40070 [non-C99-based standards] (gammal): Likewise.
40071 [non-C99-based standards] (hypotl): Likewise.
40072 [non-C99-based standards] (j0l): Likewise.
40073 [non-C99-based standards] (j1l): Likewise.
40074 [non-C99-based standards] (jnl): Likewise.
40075 [non-C99-based standards] (lgammal): Likewise.
40076 [non-C99-based standards] (tgammal): Likewise.
40077 [non-C99-based standards] (y0l): Likewise.
40078 [non-C99-based standards] (y1l): Likewise.
40079 [non-C99-based standards] (ynl): Likewise.
40080 [non-C99-based standards] (isnanl): Likewise.
40081 [non-C99-based standards] (acoshl): Likewise.
40082 [non-C99-based standards] (asinhl): Likewise.
40083 [non-C99-based standards] (atanhl): Likewise.
40084 [non-C99-based standards] (cbrtl): Likewise.
40085 [non-C99-based standards] (expm1l): Likewise.
40086 [non-C99-based standards] (ilogbl): Likewise.
40087 [non-C99-based standards] (log1pl): Likewise.
40088 [non-C99-based standards] (logbl): Likewise.
40089 [non-C99-based standards] (nextafterl): Likewise.
40090 [non-C99-based standards] (remainderl): Likewise.
40091 [non-C99-based standards] (rintl): Likewise.
40092 [non-C99-based standards] (scalbl): Likewise.
40093 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40094 [non-C99-based standards] (FP_*): Do not allow.
40095 [C99-based standards] (FP_*): Change to
40096 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40097 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40098 allow.
40099 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40100 (SIG_ERR): Likewise.
40101 [X/Open-based standards] (SIG_HOLD): Likewise.
40102 (SIG_IGN): Likewise.
40103 (SIGABRT): Use macro-int-constant. Specify type. Require
40104 positive value.
40105 (SIGFPE): Likewise.
40106 (SIGILL): Likewise.
40107 (SIGINT): Likewise.
40108 (SIGSEGV): Likewise.
40109 (SIGTER): Likewise.
40110 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40111 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40112 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40113 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40114 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40115 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40116 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40117 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40118 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40119 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40120 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40121 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40122 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40123 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40124 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40125 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40126 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40127 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40128 [X/Open-based standards] (SIGTRAP): Likewise.
40129 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40130 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40131 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40132 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40133 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40134 allow.
40135
b9f1922d
IW
401362012-05-08 Ian Wienand <ianw@vmware.com>
40137
40138 [BZ #14080]
40139 * time/tzset.c (__tzset_parse_tz): Update default rules for
40140 daylight time changes in the Energy Policy Act of 2005.
40141
1db86e88
AJ
401422012-05-09 Andreas Jaeger <aj@suse.de>
40143
40144 [BZ #13983]
40145 * elf/ldconfig.c (parse_conf): Change string to make clear that
40146 ldconfig only issued a warning if ld.so.conf does not exist.
40147
dee4a4e3
DM
401482012-05-08 David S. Miller <davem@davemloft.net>
40149
ee0db190
DM
40150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40151 movxtod instead of popping the value on the stack.
40152
dee4a4e3
DM
40153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40154
6a43ec98
CD
401552012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
40156
40157 * config.h.in: Add HAVE_ARM_PCS_VFP.
40158
05c2c961
RMG
401592012-05-08 Roland Mc Grath <roland@hack.frob.com>
40160
bcfe3a54
ST
40161 [BZ #13979]
40162 * include/features.h: Warn if user requests __FORTIFY_SOURCE
40163 checking but the checks are disabled for any reason.
05c2c961 40164
4b30f61a
L
401652012-05-08 H.J. Lu <hongjiu.lu@intel.com>
40166
40167 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
40168 and ELF64_R_TYPE with ELFW(R_TYPE).
40169
eee2bc67
JM
401702012-05-08 Joseph Myers <joseph@codesourcery.com>
40171
7ea5391a
JM
40172 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
40173 (ulimit): Likewise.
40174
eee2bc67
JM
40175 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
40176 (settimeofday): Likewise.
40177
abb66a67
MF
401782012-05-08 Mike Frysinger <vapier@gentoo.org>
40179
40180 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
40181 a struct th_u2 inside the union, and move tu_block/tu_code into
40182 a new th_u3 union of tu_block/tu_code inside of that. Move
40183 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
40184 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
40185 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
40186 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40187 (th_stuff): Change to th_u1.tu_stuff.
40188 (th_data): Define.
40189 (th_msg): Change to th_u1.th_u2.tu_data.
40190
7f18b530
DM
401912012-05-07 David S. Miller <davem@davemloft.net>
40192
05760585
DM
40193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40194
7f18b530
DM
40195 [BZ #14074]
40196 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
40197 (SETUP_PIC_REG): Use it.
40198 (SETUP_PIC_REG_LEAF): Use it.
40199
495fd99f
JM
402002012-05-07 Joseph Myers <joseph@codesourcery.com>
40201
40202 [BZ #13885]
40203 [BZ #13923]
40204 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40205 USE_AS_EXPM1L.
40206 (EXPL_FINITE): Likewise.
40207 (FLDLOG): Likewise.
40208 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40209 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40210 e_expl.S.
40211 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40212 USE_AS_EXPM1L.
40213 (EXPL_FINITE): Likewise.
40214 (FLDLOG): Likewise.
40215 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40216 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40217 e_expl.S.
40218 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
40219 test of -max_value argument for long double.
40220 * sysdeps/i386/fpu/libm-test-ulps: Update.
40221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40222
6693d694
DM
402232012-05-06 David S. Miller <davem@davemloft.net>
40224
40225 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
40226 quad soft-float symbols whose references which are compiler
40227 generated.
40228 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40229
6c23e11c
JM
402302012-05-06 Joseph Myers <joseph@codesourcery.com>
40231
d8b82cad
JM
40232 [BZ #13884]
40233 [BZ #13914]
40234 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40235 USE_AS_EXP10L.
40236 (EXPL_FINITE): Likewise.
40237 (FLDLOG): Likewise.
40238 (c0): Likewise.
40239 (c1): Likewise.
40240 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40241 Adjust comments for base varying.
40242 (__expl_finite): Change alias to EXPL_FINITE.
40243 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
40244 e_expl.S.
40245 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
40246 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
40247 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40248 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
40249 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40250 USE_AS_EXP10L.
40251 (EXPL_FINITE): Likewise.
40252 (FLDLOG): Likewise.
40253 (c0): Likewise.
40254 (c1): Likewise.
40255 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
40256 Adjust comments for base varying.
40257 (__expl_finite): Change alias to EXPL_FINITE.
40258 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
40259 tests for bugs.
40260 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40261
6c23e11c
JM
40262 [BZ #14064]
40263 * math/libm-test.inc (check_float_internal): Correct ulp
40264 calculation for subnormal expected results.
40265
29ba805c
AJ
402662012-05-06 Andreas Jaeger <aj@suse.de>
40267
40268 * Makeconfig (+math-flags): New, set to -frounding-math.
40269 (+cflags): Add +math-flags so that all of glibc gets compiled with
40270 it.
40271
40272 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
40273
7b17aeda
JM
402742012-05-05 Joseph Myers <joseph@codesourcery.com>
40275
5779f134
JM
40276 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
40277 Disable one test.
40278
41498f4d
JM
40279 [BZ #13787]
40280 [BZ #13922]
40281 [BZ #14036]
40282 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
40283 (__ieee754_expl): Allow for and saturate large arguments.
40284 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
40285 (u_threshold): Likewise.
40286 (__exp): Call __ieee754_exp before checking for overflow and
40287 underflow.
40288 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
40289 (u_threshold): Likewise.
40290 (__expf): Call __ieee754_expf before checking for overflow and
40291 underflow.
40292 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
40293 (u_threshold): Likewise.
40294 (__expl): Call __ieee754_expl before checking for overflow and
40295 underflow.
40296 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
40297 (__ieee754_expl): Allow for and saturate large arguments.
40298 * math/libm-test.inc (exp_test): Add another test. Do not allow
40299 missing overflow exception on overflow.
40300 (expm1_test): Do not allow missing overflow exception on overflow.
40301
6698b8bf
JM
40302 * sysdeps/i386/fpu/e_expl.c: Move to ...
40303 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
40304 rather than using inline asm.
40305 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
40306 * sysdeps/x86_64/fpu/e_expl.S: Copy from
40307 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
40308
7b17aeda
JM
40309 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
40310 (nice): Likewise.
40311 (poll): Likewise.
40312 (signal): Likewise.
40313 (time): Likewise.
40314 (times): Likewise.
40315
f7c85819
JM
403162012-05-04 Joseph Myers <joseph@codesourcery.com>
40317
40318 * sysdeps/unix/syscalls.list (adjtime): Add entry from
40319 sysdeps/unix/common/syscalls.list.
40320 (fchmod): Likewise.
40321 (fchown): Likewise.
40322 (ftruncate): Likewise.
40323 (getrusage): Likewise.
40324 (gettimeofday): Likewise.
40325 (setpgid): Likewise.
40326 (setregid): Likewise.
40327 (setreuid): Likewise.
40328 (sigaction): Likewise.
40329 (truncate): Likewise.
40330 (vhangup): Likewise.
40331 * sysdeps/unix/common/syscalls.list: Remove file.
40332 * sysdeps/unix/bsd/Implies: Don't include unix/common.
40333 * sysdeps/unix/sysv/linux/Implies: Likewise.
40334
336270d0
L
403352012-05-04 H.J. Lu <hongjiu.lu@intel.com>
40336
40337 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
40338 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
40339 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
40340 Moved to ...
40341 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40342 Here.
40343 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
40344 to ...
40345 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
40346 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
40347 to ...
40348 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
40349 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
40350 to ...
40351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
40352 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
40353 to ...
40354 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
40355 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
40356 to ...
40357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
40358 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
40359 to ...
40360 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
40361 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
40362 to ...
40363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40364 Here.
40365 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
40366 to ...
40367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
40368 Here.
40369 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
40370 to ...
40371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
40372 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
40373 Moved to ...
40374 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
40375 Here.
40376 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
40377 to ...
40378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
40379
d128e450
JM
403802012-05-04 Joseph Myers <joseph@codesourcery.com>
40381
fa8ee516
JM
40382 * sysdeps/unix/common/bits/dirent.h: Remove file.
40383 * sysdeps/unix/common/bits/fcntl.h: Likewise.
40384
d128e450
JM
40385 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
40386 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
40387 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
40388 * sysdeps/unix/bsd/isatty.c: Likewise.
40389 * sysdeps/unix/bsd/tcdrain.c: Likewise.
40390 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
40391 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
40392
ff8faaf0 403932012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 40394
62881be4 40395 [BZ #13563]
31dc8730
AZ
40396 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
40397 long double comparison inaccuracies.
40398 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40400
6fef930c
AS
404012012-05-04 Andreas Schwab <schwab@linux-m68k.org>
40402
40403 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
40404 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
40405
8f203e6c
JM
404062012-05-04 Joseph Myers <joseph@codesourcery.com>
40407
40408 [BZ #14049]
40409 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
40410 nonzero digits before rounding a hex value.
40411 * stdlib/tst-strtod.c (tests): Add another test.
40412
5197d9c2
AK
404132012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40414
40415 * sysdeps/s390/fpu/libm-test-ulps: Update.
40416
f0c1dedf
AJ
404172012-05-03 Andreas Jaeger <aj@suse.de>
40418
40419 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
40420 does not get optimized out.
40421 (malloc_opt_barrier): New.
40422
a65ef2ae 404232012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 40424 Roland McGrath <roland@hack.frob.com>
a65ef2ae 40425
2b942cb7 40426 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 40427 intermediate file deletion.
2b942cb7 40428 (generated): Add .symlist files.
a65ef2ae 40429
54b71e02
JM
404302012-05-03 Joseph Myers <joseph@codesourcery.com>
40431
40432 [BZ #13775]
40433 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
40434 Redirect under this condition.
40435 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40436 [__USE_GNU] (__dprintf_chk): Not under this condition.
40437 [__USE_GNU] (__vdprintf_chk): Likewise.
40438 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
40439 under this condition.
40440 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40441 [__USE_XOPEN2K8] (dprintf): Define under this condition.
40442 [__USE_XOPEN2K8] (vdprintf): Likewise.
40443 [__USE_GNU] (__dprintf_chk): Not under this condition.
40444 [__USE_GNU] (__vdprintf_chk): Likewise.
40445 [__USE_GNU] (dprintf): Likewise.
40446 [__USE_GNU] (vdprintf): Likewise.
40447
d3dfcc41
RM
404482012-05-03 Roland McGrath <roland@hack.frob.com>
40449
40450 * elf/Makefile (common-generated): Set this instead of generated for
40451 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
40452 $(all-built-dso)-derived lists.
40453
7ac30cc5
AJ
404542012-05-03 Andreas Jaeger <aj@suse.de>
40455
0c51e550
AJ
40456 * sysdeps/i386/fpu/libm-test-ulps: Update.
40457
7ac30cc5
AJ
40458 * FAQ: Removed.
40459 * FAQ.in: Likewise.
40460 * scripts/gen-FAQ.pl: Likewise.
40461 * manual/install.texi (Installation): Point to online location of
40462 FAQ.
40463 * Makefile (files-for-dist): Remove FAQ.
40464 (FAQ): Remove.
40465
d4c2917f
AM
404662012-05-02 Allan McRae <allan@archlinux.org>
40467
40468 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
40469 (LDFLAGS-reldepmod5.so): Likewise.
40470 (LDFLAGS-reldep6mod1.so): Likewise.
40471 (LDFLAGS-reldep6mod4.so): Likewise.
40472 (LDFLAGS-reldep8mod3.so): Likewise.
40473 (LDFLAGS-unload4mod1.so): Likewise.
40474 (LDFLAGS-unload4mod2.so): Likewise.
40475 (LDFLAGS-tst-initorder): Likewise.
40476 (LDFLAGS-tst-initordera2.so): Likewise.
40477 (LDFLAGS-tst-initordera3.so): Likewise.
40478 (LDFLAGS-tst-initordera4.so): Likewise.
40479 (LDFLAGS-tst-initorderb2.so): Likewise.
40480 (LDFLAGS-noload): Likewise.
40481 (LDFLAGS-next): Likewise.
40482 (LDFLAGS-order2mod1.so): Likewise.
40483 (LDFLAGS-order2mod2.so): Likewise.
40484 (LDFLAGS-tst-initorder2): Likewise.
40485 (LDFLAGS-tst-initorder2a.so): Likewise.
40486 (LDFLAGS-tst-initorder2b.so): Likewise.
40487 (LDFLAGS-tst-initorder2c.so): Likewise.
40488 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
40489
d77f993f
DM
404902012-05-02 David S. Miller <davem@davemloft.net>
40491
40492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40493
171a70b4
PP
404942012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
40495
40496 [BZ #14055]
40497 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
40498
0be196ad
AJ
404992012-05-02 Andreas Jaeger <aj@suse.de>
40500
40501 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
40502 since we manipulate rounding mode.
40503 (CPPFLAGS-test-idouble.c): Likewise.
40504 (CPPFLAGS-test-ifloat.c): Likewise.
40505 (CFLAGS-test-ldouble.c): Likewise.
40506 (CFLAGS-test-double.c): Likewise.
40507 (CFLAGS-test-float.c): Likewise.
40508 (CFLAGS-test-misc.c): Likewise.
40509 (CFLAGS-test-test-fenv.c): Likewise.
40510
4f9d04aa
AZ
405112012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40512
2b942cb7
RM
40513 [BZ #2550]
40514 [BZ #2570]
40515 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
40516 comparisons to determine direction to adjust input.
4f9d04aa 40517
82a79e7d
RM
405182012-05-01 Roland McGrath <roland@hack.frob.com>
40519
f5a01ca9
RM
40520 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
40521 output to the target.
40522
90fe4186
RM
40523 * scripts/localplt.awk: New file.
40524 * elf/Makefile ($(objpfx)check-localplt): Target removed.
40525 (check-localplt-CFLAGS): Variable removed.
40526 ($(all-built-dso:=.jmprel)): New static pattern rule.
40527 (generated): Add those targets.
40528 (localplt-built-dso): New variable.
40529 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
40530
40531 * elf/check-localplt.c: File removed.
40532
82397ed6
RM
40533 * scripts/check-execstack.awk: New file.
40534 * elf/Makefile ($(objpfx)check-execstack): Target removed.
40535 (check-execstack-CFLAGS): Variable removed.
40536 ($(objpfx)check-execstack.h): Target removed.
40537 ($(objpfx)execstack-default): New target.
40538 (generated): Add that instead of check-execstack.h.
40539 ($(all-built-dso:=.phdr)): New static pattern rule.
40540 (generated): Add those targets.
40541 * elf/check-execstack.c: File removed.
40542
82a79e7d
RM
40543 * scripts/check-textrel.awk: New file.
40544 * elf/Makefile ($(objpfx)check-textrel): Target removed.
40545 (check-textrel-CFLAGS): Variable removed.
40546 (all-built-dso): Use := to define.o
40547 ($(all-built-dso:=.dyn)): New static pattern rule.
40548 (generated): Add those targets.
40549 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
40550 * config.make.in (READELF): New substituted variable.
40551 * elf/check-textrel.c: File removed.
40552
62fde54f 405532012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 40554
615605c9
JM
40555 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40556 allow.
40557 * conform/data/ctype.h-data [C99-based standards] (isblank):
40558 Expect function.
40559 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
40560 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
40561 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40562 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
40563 Specify type. Require positive value.
40564 (EILSEQ): Likewise.
40565 (ERANGE): Likewise.
40566 [ISO || POSIX] (EILSEQ): Do not expect.
40567 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
40568 Specify type. Require positive value.
40569 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
40570 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
40571 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
40572 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
40573 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
40574 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
40575 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
40576 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
40577 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
40578 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
40579 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
40580 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
40581 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
40582 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
40583 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
40584 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
40585 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
40586 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
40587 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
40588 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
40589 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
40590 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
40591 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
40592 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
40593 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
40594 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
40595 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
40596 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
40597 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
40598 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
40599 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
40600 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
40601 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
40602 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
40603 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
40604 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
40605 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
40606 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
40607 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
40608 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
40609 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
40610 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
40611 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
40612 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
40613 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
40614 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
40615 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
40616 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
40617 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
40618 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
40619 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
40620 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
40621 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
40622 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
40623 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
40624 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
40625 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
40626 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
40627 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
40628 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
40629 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
40630 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
40631 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
40632 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
40633 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
40634 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
40635 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
40636 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
40637 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
40638 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
40639 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
40640 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
40641 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
40642 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
40643 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
40644 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
40645 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
40646 Require >= 2.
40647 (FLT_ROUNDS): Expect as macro, not constant.
40648 (FLT_MANT_DIG): Use macro-int-constant.
40649 (DBL_MANT_DIG): Likewise.
40650 (LDBL_MANT_DIG): Likewise.
40651 (FLT_DIG): Likewise.
40652 (DBL_DIG): Likewise.
40653 (LDBL_DIG): Likewise.
40654 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
40655 (DBL_MIN_EXP): Likewise.
40656 (LDBL_MIN_EXP): Likewise.
40657 (FLT_MAX_EXP): Use macro-int-constant.
40658 (DBL_MAX_EXP): Likewise.
40659 (LDBL_MAX_EXP): Likewise.
40660 (FLT_MAX_10_EXP): Likewise.
40661 (DBL_MAX_10_EXP): Likewise.
40662 (LDBL_MAX_10_EXP): Likewise.
40663 (FLT_MAX): Use macro-constant.
40664 (DBL_MAX): Likewise.
40665 (LDBL_MAX): Likewise.
40666 (FLT_EPSILON): Use macro-constant. Give upper bound.
40667 (DBL_EPSILON): Likewise.
40668 (LDBL_EPSILON): Likewise.
40669 (FLT_MIN): Likewise.
40670 (DBL_MIN): Likewise.
40671 (LDBL_MIN): Likewise.
40672 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
40673 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
40674 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
40675 [ISO11] (FLT_HAS_SUBNORM): Likewise.
40676 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
40677 [ISO11] (DBL_DECIMAL_DIG): Likewise.
40678 [ISO11] (FLT_DECIMAL_DIG): Likewise.
40679 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
40680 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
40681 [ISO11] (FLT_TRUE_MIN): Likewise.
40682 [ISO11] (LDBL_TRUE_MIN): Likewise.
40683 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40684 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
40685 (SCHAR_MIN): Use macro-int-constant. Specify type.
40686 (SCHAR_MAX): Likewise.
40687 (UCHAR_MAX): Likewise.
40688 (CHAR_MIN): Likewise.
40689 (CHAR_MAX): Likewise.
40690 (MB_LEN_MAX): Use macro-int-constant.
40691 (SHRT_MIN): Use macro-int-constant. Specify type.
40692 (SHRT_MAX): Likewise.
40693 (USHRT_MAX): Likewise.
40694 (INT_MAX): Likewise.
40695 (INT_MIN): Use macro-int-constant. Specify type. Make upper
40696 bound negative.
40697 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
40698 bound with "U".
40699 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
40700 bound with "L".
40701 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
40702 bound negative. Suffix upper bound with "L".
40703 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
40704 bound with "UL".
40705 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
40706 Specify type.
40707 [C99-based standards] (LLONG_MAX): Likewise.
40708 [C99-based standards] (ULLONG_MAX): Likewise.
40709 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
40710 == 0.
40711 [ISO11] (max_align_t): Require type.
40712 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40713
c9140a62
JM
40714 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
40715 from $CFLAGS, without defining away __attribute__ calls.
40716 (checknamespace): Use $CFLAGS_namespace.
40717
9af0bf29
JM
40718 * conform/conformtest.pl (@keywords): Only include C99 keywords
40719 for standards based on C99 or C11.
40720
343222a2
JM
40721 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
40722 Disable tests.
40723 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
40724 UNIX98]: Likewise.
40725
661f8cf0
JM
40726 * conform/conformtest.pl: Handle "macro-int-constant" and test for
40727 usability of symbols in #if.
40728
ee74b9cb
JM
40729 * conform/conformtest.pl: If macro or constant types start
40730 "promoted:", expect the symbol to be of the following type
40731 promoted by the integer promotions.
62fde54f 40732
aafc49b3
JM
40733 * conform/conformtest.pl: Parse all "constant" and "macro" lines
40734 in one place. Also handle "macro-constant".
40735
fefdf574
JM
40736 * conform/conformtest.pl: Only accept expected macro values with
40737 "==". Parse all "macro" lines in one place.
40738 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
40739
f2d922fe
JM
40740 * conform/conformtest.pl: Handle braced types on "constant" lines
40741 instead of handling "typed-constant".
40742 * conform/data/signal.h-data: Use "constant" instead of
40743 "typed-constant".
40744
d22956c9
JM
40745 * conform/conformtest.pl: Handle "optional-" at start of lines in
40746 one place rather than duplicating several cases. Handle each
40747 format of "macro" line with initial "optional-".
40748
028e2e38
JM
40749 * conform/conformtest.pl: Only accept expected constant or
40750 optional-constant values with "==". Parse all "constant" lines in
40751 one place. Parse all "optional-constant" lines in one place.
40752 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
40753 * conform/data/fmtmsg.h-data: Likewise.
40754 * conform/data/netinet/in.h-data: Likewise.
40755 * conform/data/tar.h-data: Likewise.
40756 * conform/data/limits.h-data: Use "==" form on "constant" and
40757 "optional-constant" lines.
40758
1b8f2850
JM
40759 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
40760 Use -std=c99 for XOPEN2K.
40761 (@knownproblems): Remove.
40762 (newtoken): Don't check %isknown.
40763
a05a144b
JM
40764 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
40765 Do not expect macro.
40766 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
40767 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
40768 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
40769 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
40770 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
40771 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
40772 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
40773 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
40774 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
40775 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
40776 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
40777 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
40778 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
40779 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
40780 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
40781 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
40782 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
40783 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
40784 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
40785 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
40786 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
40787 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
40788 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
40789 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
40790 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
40791 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
40792 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
40793 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
40794 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
40795 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
40796 [XPG3] (acosh): Likewise.
40797 [XPG3] (asinh): Likewise.
40798 [XPG3] (atanh): Likewise.
40799 [XPG3] (cbrt): Likewise.
40800 [XPG3] (expm1): Likewise.
40801 [XPG3] (ilogb): Likewise.
40802 [XPG3] (log1p): Likewise.
40803 [XPG3] (logb): Likewise.
40804 [XPG3] (nextafter): Likewise.
40805 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
40806 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
40807 [XPG3] (remainder): Likewise.
40808 [XPG3] (rint): Likewise.
40809 [XPG3 || XPG4 || UNIX98] (round): Likewise.
40810 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
40811 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
40812 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
40813 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
40814 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
40815 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
40816 [UNIX98 || XOPEN2K] (scalb): Expect.
40817 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
40818 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
40819 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
40820 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
40821 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
40822 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
40823 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
40824 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
40825 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
40826 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
40827 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
40828 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
40829 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
40830 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
40831 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
40832 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
40833 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
40834 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
40835 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
40836 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
40837 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
40838 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
40839 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
40840 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
40841 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
40842 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
40843 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
40844 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
40845 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
40846 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
40847 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
40848 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
40849 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
40850 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
40851 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
40852 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
40853 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
40854 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
40855 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
40856 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
40857 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
40858 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
40859 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
40860 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
40861 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
40862 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
40863 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
40864 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
40865 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
40866 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
40867 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
40868 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
40869 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
40870 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
40871 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
40872 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
40873 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
40874 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
40875 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
40876 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
40877 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
40878 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
40879 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
40880 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
40881 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
40882 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
40883 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
40884 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
40885 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
40886 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
40887 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
40888 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
40889 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
40890 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
40891 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
40892 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
40893 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
40894 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
40895 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
40896 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
40897 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
40898 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
40899 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
40900 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
40901 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
40902 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
40903 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
40904 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
40905 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
40906 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
40907 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
40908 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
40909 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
40910 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
40911 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
40912 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
40913 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
40914 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
40915 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
40916 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
40917 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
40918 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
40919 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
40920 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
40921 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
40922 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
40923 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
40924 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
40925 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
40926 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
40927 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
40928 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
40929 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
40930 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
40931 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
40932 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
40933 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
40934 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
40935 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
40936 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
40937 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
40938 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
40939 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
40940 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
40941 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
40942 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
40943 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
40944 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
40945 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
40946 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
40947 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
40948 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
40949 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
40950 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
40951 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
40952 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
40953 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
40954
73c5ebe3
JM
40955 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
40956 _XOPEN_SOURCE_EXTENDED for XPG4.
40957
39c33b6c
JM
40958 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
40959
62fde54f
JM
40960 * Makeconfig (localtime): Remove variable.
40961 (inst_localtime-file): Likewise.
40962
0741d64c
AS
409632012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40964
40965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40966 Update.
40967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40968 Update.
40969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40970 Update.
40971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40972 Update.
40973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40974 Update.
40975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
40976 Update.
40977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40978 Update.
40979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
40980 Update.
40981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40982 Update.
40983
7cb029ee
JM
409842012-05-01 Joseph Myers <joseph@codesourcery.com>
40985
40986 [BZ #2550]
40987 [BZ #2570]
40988 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40989 comparisons to determine direction to adjust input.
40990 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40991 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40992 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40993 Likewise.
40994 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40995 Likewise.
40996 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40997 Likewise.
40998 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40999 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
41000 Likewise.
41001 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
41002 Likewise.
41003 * math/libm-test.inc (nexttoward_test): Add more tests.
41004
412bd966
AS
410052012-05-01 Andreas Schwab <schwab@linux-m68k.org>
41006
41007 [BZ #14040]
41008 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
41009 in version GLIBC_2.1, not GLIBC_2.0.
41010 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
41011 Likewise.
41012
9568c0c2
JM
410132012-04-30 Joseph Myers <joseph@codesourcery.com>
41014
adfbc8ac
JM
41015 [BZ #13942]
41016 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
41017 (1 - x) * (1 + x).
41018 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41019 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
41020 * math/libm-test.inc (acos_test): Add more tests.
41021 (asin_test): Likewise.
41022 * sysdeps/i386/fpu/libm-test-ulps: Update.
41023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41024
5ba3cc69
JM
41025 [BZ #14034]
41026 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
41027 of square root.
41028 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
41029 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41030 * math/libm-test.inc (acos_test_tonearest): New function.
41031 (acos_test_towardzero): Likewise.
41032 (acos_test_downward): Likewise.
41033 (acos_test_upward): Likewise.
41034 (asin_test_tonearest): Likewise.
41035 (asin_test_towardzero): Likewise.
41036 (asin_test_downward): Likewise.
41037 (asin_test_upward): Likewise.
41038 (main): Call the new functions.
41039 * sysdeps/i386/fpu/libm-test-ulps: Update.
41040 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41041
9568c0c2
JM
41042 [BZ #13884]
41043 [BZ #13924]
41044 * math/e_exp10.c: Include <float.h>.
41045 (__ieee754_exp10): Handle underflow here rather than multiplying
41046 large negative argument by M_LN10.
41047 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41048 of __ieee754_expf.
41049 * math/e_exp10l.c: Include <float.h>.
41050 (__ieee754_exp10l): Handle underflow here rather than multiplying
41051 large negative argument by M_LN10l.
41052 * math/libm-test.inc (exp10_test): Add another test. Do not allow
41053 spurious overflow exception on underflow.
41054
5ac3ea17
MP
410552012-04-29 Marek Polacek <polacek@redhat.com>
41056
41057 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
41058 (__fortify_function): New macro.
41059 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
41060 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
41061 __extern_always_inline.
41062 * libio/bits/stdio2.h: Likewise.
41063 * libio/bits/stdio.h: Likewise.
41064 * string/string.h: Likewise.
41065 * string/bits/string3.h: Likewise.
41066 * include/stdio.h: Likewise.
41067 * stdlib/bits/stdlib.h: Likewise.
41068 * stdlib/stdlib.h: Likewise.
41069 * rt/bits/mqueue2.h: Likewise.
41070 * rt/mqueue.h: Likewise.
41071 * posix/bits/unistd.h: Likewise.
41072 * posix/unistd.h: Likewise.
41073 * io/bits/poll2.h: Likewise.
41074 * io/bits/fcntl2.h: Likewise.
41075 * io/fcntl.h: Likewise.
41076 * io/sys/poll.h: Likewise.
41077 * misc/bits/syslog.h: Likewise.
41078 * misc/bits/syslog-ldbl.h: Likewise.
41079 * misc/sys/syslog.h: Likewise.
41080 * socket/bits/socket2.h: Likewise.
41081 * socket/sys/socket.h: Likewise.
41082 * debug/tst-chk1.c: Likewise.
41083 * wcsmbs/bits/wchar2.h: Likewise.
41084 * wcsmbs/bits/wchar-ldbl.h: Likewise.
41085 * wcsmbs/wchar.h: Likewise.
41086
ecf0ebfb
AJ
410872012-04-29 Andreas Jaeger <aj@suse.de>
41088
41089 * Makerules (tests): Remove enable-check-abi protection.
41090 (check-abi-warn): Remove.
41091 (check-abi-%): Remove check-abi-warn usage.
41092
41093 * configure.in: Remove check-abi configure option.
41094 * configure: Regenerated.
41095 * config.make.in (enable-check-abi): Remove.
41096
6d5c57fa
AS
410972012-04-28 Andreas Schwab <schwab@linux-m68k.org>
41098
24c5d07e 41099 [BZ #14033]
ded5180a
AS
41100 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41101 double functions to double *_finite functions.
41102
7e0d315d
AS
41103 [BZ #13941]
41104 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41105 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41106 LDBL_MIN_EXP.
41107 * stdio-common/Makefile (tests): Add tst-sprintf3.
41108 * stdio-common/tst-sprintf3.c: New file.
41109
6d5c57fa
AS
41110 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41111 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41112
0749ff8b
JM
411132012-04-28 Joseph Myers <joseph@codesourcery.com>
41114
41115 * conform/conformtest.pl: Remove duplicate typed-constant
41116 handling.
41117
8dbd5d7b
DM
411182012-04-28 David S. Miller <davem@davemloft.net>
41119
41120 * Makerules (%.abilist): Add vpath on sysdep_dirs.
41121 (check-abi-%): Remove AWK script prerequisite and explicit
41122 abilist directory.
41123 (check-abi): Rewrite to just diff the symlist with the abilist.
41124 (config-tls, config-abi-config): Delete, no longer used.
41125 (update-abi-%): Remove AWK script and explicit abilist directory.
41126 (update-abi): Rewrite to simply compare and conditionally copy the
41127 symlist and the sysdep abilist file. Remove update-abi-config
41128 checks.
41129 * abilist/ld.abilist: Remove.
41130 * abilist/libBrokenLocale.abilist: Remove.
41131 * abilist/libanl.abilist: Remove.
41132 * abilist/libcrypt.abilist: Remove.
41133 * abilist/libdl.abilist: Remove.
41134 * abilist/librt.abilist: Remove.
41135 * abilist/libthread_db.abilist: Remove.
41136 * abilist/libutil.abilist: Remove.
41137 * scripts/extract-abilist.awk: Remove.
41138 * scripts/merge-abilist.awk: Remove.
41139 * sysdeps/generic/libcidn.abilist: New file.
41140 * sysdeps/generic/libnss_compat.abilist: New file.
41141 * sysdeps/generic/libnss_db.abilist: New file.
41142 * sysdeps/generic/libnss_dns.abilist: New file.
41143 * sysdeps/generic/libnss_files.abilist: New file.
41144 * sysdeps/generic/libnss_hesiod.abilist: New file.
41145 * sysdeps/generic/libnss_nis.abilist: New file.
41146 * sysdeps/generic/libnss_nisplus.abilist: New file.
41147 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41148 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41149 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41150 file.
41151 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41152 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41153 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
41154 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
41155 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
41156 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
41157 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41158 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
41159 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
41160 file.
41161 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
41162 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
41163 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
41164 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
41165 file.
41166 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
41167 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
41168 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
41169 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
41170 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
41171 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
41172 file.
41173 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
41174 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
41175 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
41176 file.
41177 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
41178 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
41179 New file.
41180 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
41181 New file.
41182 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
41183 New file.
41184 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
41185 New file.
41186 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
41187 New file.
41188 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
41189 New file.
41190 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
41191 New file.
41192 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
41193 New file.
41194 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
41195 New file.
41196 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
41197 New file.
41198 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
41199 New file.
41200 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
41201 New file.
41202 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
41203 New file.
41204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
41205 file.
41206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41207 New file.
41208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41209 New file.
41210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
41211 file.
41212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41213 New file.
41214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41215 New file.
41216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
41217 file.
41218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41219 New file.
41220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41221 New file.
41222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41223 New file.
41224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41225 New file.
41226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41227 New file.
41228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41229 New file.
41230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
41231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
41232 file.
41233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41234 New file.
41235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
41236 file.
41237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
41238 file.
41239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
41240 file.
41241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
41242 file.
41243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
41244 file.
41245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41246 New file.
41247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
41248 file.
41249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
41250 file.
41251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41252 New file.
41253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
41254 file.
41255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
41256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
41257 file.
41258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41259 New file.
41260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
41261 file.
41262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
41263 file.
41264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
41265 file.
41266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
41267 file.
41268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
41269 file.
41270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41271 New file.
41272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
41273 file.
41274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
41275 file.
41276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41277 New file.
41278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
41279 file.
41280 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41281 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
41282 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
41283 file.
41284 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
41285 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
41286 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
41287 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
41288 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
41289 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
41290 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
41291 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
41292 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
41293 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
41294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
41295 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
41296 file.
41297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41298 New file.
41299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
41300 file.
41301 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
41302 file.
41303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
41304 file.
41305 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
41306 file.
41307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
41308 file.
41309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41310 New file.
41311 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41312 New file.
41313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
41314 file.
41315 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41316 New file.
41317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
41318 file.
41319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
41320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
41321 file.
41322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41323 New file.
41324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
41325 file.
41326 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
41327 file.
41328 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
41329 file.
41330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
41331 file.
41332 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
41333 file.
41334 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41335 New file.
41336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41337 New file.
41338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
41339 file.
41340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41341 New file.
41342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
41343 file.
41344
41d73a1b
JM
413452012-04-28 Joseph Myers <joseph@codesourcery.com>
41346
41347 * conform/conformtest.pl: Fix typo in handling typed-constant from
41348 allow-header.
41349
28aeeda4
JM
413502012-04-27 Joseph Myers <joseph@codesourcery.com>
41351
adae8f5e
JM
41352 * README: Cut down references to pre-2.6 Linux kernels and
41353 Linuxthreads. Update lists of configurations in libc and ports
41354 and sort alphabetically. Say "or newer" with Linux kernel version
41355 requirements.
41356
28aeeda4
JM
41357 * config.h.in [IS_IN_build]: Allow compiling without optimization.
41358
a462cb63
RA
413592012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41360
41361 [BZ #887]
41362 * math/libm-test.inc (logb_test_downward): New test to expose
41363 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
41364 rounding mode.
41365
6ad3493e
JM
413662012-04-27 Joseph Myers <joseph@codesourcery.com>
41367
41368 [BZ #14027]
41369 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
41370 to be done.
41371 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
41372 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
41373
2ce4f015
JM
413742012-04-26 Joseph Myers <joseph@codesourcery.com>
41375
5aeb141a
JM
41376 * sysdeps/unix/i386/brk.S: Remove file.
41377 * sysdeps/unix/i386/dl-brk.S: Likewise.
41378 * sysdeps/unix/i386/pipe.S: Likewise.
41379 * sysdeps/unix/i386/sigreturn.S: Likewise.
41380 * sysdeps/unix/i386/syscall.S: Likewise.
41381 * sysdeps/unix/i386/vfork.S: Likewise.
41382 * sysdeps/unix/i386/wait.S: Likewise.
41383
7143acae
JM
41384 * sysdeps/unix/common/tcsendbrk.c: Move to ...
41385 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
41386
2ce4f015
JM
41387 * configure.in (arm*-none*): Do not allow without
41388 --enable-hacker-mode.
41389 (netbsd*): Remove case setting base_os.
41390 (386bsd*): Likewise.
41391 (freebsd*): Likewise.
41392 (bsdi*): Likewise.
41393 (osf*): Likewise.
41394 (sunos*): Likewise.
41395 (ultrix*): Likewise.
41396 (newsos*): Likewise.
41397 (dynix*): Likewise.
41398 (*bsd*): Likewise.
41399 (sysv*): Likewise.
41400 (isc*): Likewise.
41401 (esix*): Likewise.
41402 (sco*): Likewise.
41403 (minix*): Likewise.
41404 (irix4*): Likewise.
41405 (irix6*): Likewise.
41406 (solaris[2-9]*): Likewise.
41407 (none): Likewise.
41408 * configure: Regenerated.
41409
0ac229c8
AZ
414102012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41411
41412 [BZ #11521]
41413 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
41414 overflow or cancellation in calculating denominator.
41415 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
41416 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
41417 down expression to avoid unexpected rounding in newer GCCs.
41418 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
41419
33f244f4
DM
414202012-04-26 David S. Miller <davem@davemloft.net>
41421
41422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
41423 long-double compat symbols.
41424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
41428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
41430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
41431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
41432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
41433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
41434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
41435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
41436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41437
cfa1f3e8
DM
414382012-04-25 David S. Miller <davem@davemloft.net>
41439
41440 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
41441 HWCAP_* values only after the memory barriers have been defined.
41442 (atomic_full_barrier): Define.
41443 (atomic_read_barrier): Define.
41444 (atomic_write_barrier): Define.
41445
6e236b92
SP
414462012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41447
41448 * shlib-versions: Add libgcc_s version information.
41449 * sysdeps/generic/libgcc_s.h: Remove.
41450 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
41451 libgcc_s.h.
41452 * sysdeps/gnu/unwind-resume.c: Likewise.
41453 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
41454
aab39a09
DM
414552012-04-25 David S. Miller <davem@davemloft.net>
41456
41457 * sysdeps/unix/sparc/brk.S: Delete.
41458 * sysdeps/unix/sparc/dl-brk.S: Delete.
41459 * sysdeps/unix/sparc/pipe.S: Delete.
41460 * sysdeps/unix/sparc/sysdep.S: Delete.
41461 * sysdeps/unix/sparc/sysdep.h: Delete.
41462 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
41463 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
41464 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
41465 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
41466 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
41467 (JUMPTARGET): Remove.
41468 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
41469 sysdeps/unix/sparc/sysdep.h
41470 (ENTRY, END): Remove.
41471 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41472
a3cc4f48
JM
414732012-04-25 Joseph Myers <joseph@codesourcery.com>
41474
2ed8cda2
JM
41475 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
41476 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
41477 -DIS_IN_build.
41478
35d76d59
JM
41479 * timezone/README: Update upstream location and email address for
41480 tzcode and tzdata.
41481 * timezone/zdump.c: Update from tzcode 2012b.
41482 * timezone/zic.c: Likewise.
41483
a3cc4f48
JM
41484 * configure.in (libc_cv_as_needed): Remove test.
41485 * configure: Regenerated.
41486 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
41487 conditional definition.
41488 [$(have-as-needed) != yes] (no-as-needed): Likewise.
41489 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
41490 * config.make.in (have-as-needed): Remove variable.
41491
ceab42c3
SP
414922012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
41493 Paul Pluzhnikov <ppluzhnikov@google.com>
41494
41495 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
41496 strings correctly.
41497
3ce2865f
CLT
414982012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
41499
41500 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
41501 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
41502 * sysdeps/sh/strlen.S: Likewise.
41503
f37e0d68
JM
415042012-04-24 Joseph Myers <joseph@codesourcery.com>
41505
ae186e9a
JM
41506 * sysdeps/unix/fork.S: Remove file.
41507 * sysdeps/unix/i386/fork.S: Likewise.
41508 * sysdeps/unix/sparc/fork.S: Likewise.
41509
b96914af
JM
41510 * sysdeps/unix/system.c: Remove file.
41511 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
41512
f37e0d68
JM
41513 * sysdeps/unix/getegid.S: Remove file.
41514 * sysdeps/unix/geteuid.S: Likewise.
41515
87ef29ca
RM
415162012-04-24 Roland McGrath <roland@hack.frob.com>
41517
83bcd236
RM
41518 * scripts/check-localplt.awk: New file.
41519 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
41520 of diff.
41521 * scripts/data/localplt-generic.data: Add a comment.
41522
87ef29ca
RM
41523 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
41524 NODE when __dir_mkfile failed.
41525 * sysdeps/mach/hurd/symlinkat.c: Likewise.
41526 Reported by Ludovic Courtès <ludo@gnu.org>.
41527
e5a6e567
AJ
415282012-04-24 Andreas Jaeger <aj@suse.de>
41529
41530 * Makerules (common-clean): Also remove gen-as-const-headers
41531 files.
41532
c1820385
JM
415332012-04-24 Joseph Myers <joseph@codesourcery.com>
41534
41535 * Makerules (native-compile): Do not change working directory for
41536 build. Use $(OUTPUT_OPTION) in command.
41537 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
41538
94e02fc4
AZ
415392012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41540
41541 [BZ #13886]
41542 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
41543 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
41544 * math/libm-test.inc (floor_test): Add more tests.
41545 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
41546
3a533ca3
JM
415472012-04-24 Joseph Myers <joseph@codesourcery.com>
41548
940ab4b3
JM
41549 * sysdeps/unix/getdents.c: Remove file.
41550 * sysdeps/unix/sysv/getdents.c: Likewise.
41551 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
41552
90e037bd
JM
41553 * sysdeps/unix/syscalls.list (madvise): Add syscall from
41554 sysdeps/unix/mman/syscalls.list.
41555 (mmap): Likewise.
41556 (mprotect): Likewise.
41557 (msync): Likewise.
41558 (munmap): Likewise.
41559 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
41560 * sysdeps/unix/mman/syscalls.list: Remove.
41561 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
41562
3a533ca3
JM
41563 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
41564 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
41565 * configure: Regenerated.
41566 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
41567 $(libgcc_s_suffix).
41568 * config.make.in (libgcc_s_suffix): Remove variable.
41569
1ad743de
JM
415702012-04-23 Joseph Myers <joseph@codesourcery.com>
41571
4ad451e2
JM
41572 * sysdeps/unix/sysv/gethostname.c: Move to ...
41573 * sysdeps/posix/gethostname.c: ... here.
41574
5e37ce39
JM
41575 * sysdeps/unix/execve.S: Remove file.
41576
1ad743de
JM
41577 * sysdeps/unix/_exit.S: Remove file.
41578
4e681b5b
AJ
415792012-04-23 Andreas Jaeger <aj@suse.de>
41580
41581 [BZ #13739]
41582 * manual/Makefile: Remove make dist support, there's no
41583 need for a stand-alone documentation tar ball.
41584 (TEXI2DVI): Define always, it's not in Makeconfig.
41585 (dist): Removed.
41586 (tar-it): Removed.
41587 (edition): Removed.
41588 (glibc-doc-$(edition).tar): Removed
41589 (%.Z): Removed.
41590 (%.gz): Removed.
41591 (%.uu): Removed.
41592 (ETAGS): Remove, it's in Makeconfig.
41593 (move-if-change): Remove, it's in Makeconfig.
41594
38686a03 415952012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
41596
41597 [BZ #13970]
41598 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
41599 (strtod, strtof, strtold, strtol, strtoul, strtoq)
41600 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
41601 (strtod_l, strtof_l, strtold_l): Remove __wur.
41602 It is not necessarily an error to ignore strtol's return value.
41603 One can reliably look at the stored endptr to decide whether
41604 the number had valid syntax.
41605
7c0616fa
AJ
416062012-04-21 Andreas Jaeger <aj@suse.de>
41607
803cb6b7 41608 [BZ #13739]
7c0616fa
AJ
41609 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
41610
b0fe253f
JM
416112012-04-21 Joseph Myers <joseph@codesourcery.com>
41612
41613 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
41614 * sysdeps/unix/sysv/Versions: Remove file.
41615
8280f22d
MT
416162012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
41617
41618 [BZ #13927]
41619 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41620
75ce411f 416212012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
41622
41623 [BZ #7064]
41624 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
41625 version from __vm86.
41626
097d59fa
JM
416272012-04-20 Joseph Myers <joseph@codesourcery.com>
41628
a90f3bcb
JM
41629 * sysdeps/unix/common/lxstat.c: Remove file.
41630 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
41631
edc7ea78
JM
41632 * sysdeps/unix/sysv/Makefile: Remove file.
41633
cb78c221
JM
41634 * sysdeps/unix/sysv/direct.h: Remove file.
41635
efa6a45f
JM
41636 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
41637 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
41638 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
41639 * sysdeps/unix/sysv/bits/signum.h: Likewise.
41640 * sysdeps/unix/sysv/bits/stat.h: Likewise.
41641 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
41642 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
41643
9c9f2d0c
JM
41644 * sysdeps/unix/sysv/setrlimit.c: Remove file.
41645
4541c83b
JM
41646 * sysdeps/unix/xmknod.c: Remove file.
41647 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
41648
f5d153a0
JM
41649 * sysdeps/unix/sysv/settimeofday.c: Remove file.
41650
aa746595
JM
41651 * sysdeps/unix/sysv/i386/time.S: Remove file.
41652
cce5905e
JM
41653 * sysdeps/unix/fxstat.c: Remove file.
41654 * sysdeps/unix/xstat.c: Likewise.
41655 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
41656
37fa3841
JM
41657 * sysdeps/unix/sysv/sigaction.c: Remove file.
41658
ff1962a3
JM
41659 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
41660 (sysdep_headers): Remove variable.
41661 [termio.h not in sysdep_headers] (generated): Likewise.
41662 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
41663 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
41664 * sysdeps/unix/sysv/tcdrain.c: Likewise.
41665 * sysdeps/unix/sysv/tcflow.c: Likewise.
41666 * sysdeps/unix/sysv/tcflush.c: Likewise.
41667 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
41668 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
41669 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
41670 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
41671 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
41672
e7740d31
JM
41673 * sysdeps/unix/siglist.c: Remove file.
41674
ee06f18b
JM
41675 * sysdeps/unix/getppid.S: Remove file.
41676
097d59fa
JM
41677 * sysdeps/unix/mkdir.c: Remove file.
41678 * sysdeps/unix/rmdir.c: Likewise.
41679
ff3d51ec
AS
416802012-04-19 Andreas Schwab <schwab@linux-m68k.org>
41681
41682 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
41683 ERR_MAX value.
41684 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
41685 errlist-compat value.
41686
50f81fd7
DM
416872012-04-18 David S. Miller <davem@davemloft.net>
41688
41689 * sysdeps/generic/memcopy.h (reg_char): Delete.
41690 * debug/strcat_chk.c: Use char, not reg_char.
41691 * debug/strcpy_chk.c: Likewise.
41692 * debug/strncat_chk.c: Likewise.
41693 * debug/strncpy_chk.c: Likewise.
41694 * string/memchr.c: Likewise.
41695 * string/memrchr.c: Likewise.
41696 * string/rawmemchr.c: Likewise.
41697 * string/strcat.c: Likewise.
41698 * string/strchr.c: Likewise.
41699 * string/strchrnul.c: Likewise.
41700 * string/strcmp.c: Likewise.
41701 * string/strcpy.c: Likewise.
41702 * string/strncat.c: Likewise.
41703 * string/strncmp.c: Likewise.
41704 * string/strncpy.c: Likewise.
41705
8ff41c46
WS
417062012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41707
41708 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
41709 __builtin_memcopy is called when src and dest ranges are known to not
41710 overlap.
41711
6b652f46
WS
417122012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41713
41714 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
41715 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
41716 fwd_align_merge macro call.
41717 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
41718 bwd_align_merge macro call.
41719 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41720
b282631e
WS
417212012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41722
41723 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
41724 bwd_align_merge macros.
41725 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
41726 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
41727 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41728
95aa737c
DM
417292012-04-18 David S. Miller <davem@davemloft.net>
41730
41731 * sysdeps/sparc/sparc64/memcopy.h: Delete.
41732
7a99a614
AJ
417332012-04-18 Andreas Jaeger <aj@suse.de>
41734
41735 [BZ# 6794]
41736 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
41737 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
41738 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41739
41740 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
41741 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
41742 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41743
41744 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
41745 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
41746 Adjust for changed ldbl-128 files.
41747
41748 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
41749 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
41750 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41751
e5270c23
DM
417522012-04-17 David S. Miller <davem@davemloft.net>
41753
41754 * sysdeps/sparc/sparc32/memcopy.h: Delete.
41755
fb5e92c9
AS
417562012-04-17 Andreas Schwab <schwab@linux-m68k.org>
41757
41758 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
41759 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
41760 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
41761 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
41762 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41763 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
41764
76da7265
AZ
417652012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41766
41767 [BZ #6794]
41768 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
41769 * math/libm-test.inc: Add ilogb errno and exception tests.
41770 * math/w_ilogb.c: New file: ilogb wrapper.
41771 * math/w_ilogbf.c: New file: ilogbf wrapper.
41772 * math/w_ilogbl.c: New file: ilogbl wrapper.
41773 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
41774 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
41775 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
41776 exception being thrown with 0.0 as argument.
41777 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
41778 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
41779 exception being thrown with 0.0 as argument.
41780 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
41781 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41782 exception being thrown with 0.0 as argument.
41783 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
41784 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41785 exception being thrown with 0.0 as argument.
41786 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
41787 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 41788 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
41789 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
41790 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
41791 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
41792 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
41793 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
41794 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
41795
0396e69d
PB
417962012-04-17 Petr Baudis <pasky@ucw.cz>
41797
41798 * include/sys/uio.h: Change __vector to __iovec to avoid clash
41799 with altivec.
41800
750b5926
MP
418012012-04-16 Marek Polacek <polacek@redhat.com>
41802
41803 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
41804
751728a1
MP
418052012-04-16 Marek Polacek <polacek@redhat.com>
41806
41807 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
41808 operands of fdivp instruction.
41809
34a27407
L
418102012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41811
41812 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
41813 * elf/tst-auditmod3b.c: Likewise.
41814 * elf/tst-auditmod4b.c: Likewise.
41815 * elf/tst-auditmod5b.c: Likewise.
41816 * elf/tst-auditmod6b.c: Likewise.
41817 * elf/tst-auditmod6c.c: Likewise.
41818 * elf/tst-auditmod7b.c: Likewise.
41819 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
41820 * sysdeps/x86_64/preconfigure.in: Likewise.
41821 * sysdeps/x86_64/preconfigure: Regenerated.
41822
7e73e17d
L
418232012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41824
41825 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
41826 __ILP32__.
41827
c7a6ab72
AB
418282012-04-13 Antoine Balestrat <merkil33@gmail.com>
41829
41830 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41831 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
41832
a9e8e0e0
CL
418332012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
41834
41835 [BZ #13973]
41836 * locale/iso-639.def: Fix gl language name. Spotted by
41837 Yaron Shahrabani.
41838
ec98af7d
RM
418392012-04-12 Roland McGrath <roland@hack.frob.com>
41840
41841 [BZ #2074]
41842 * libio/libio.h (__io_write_fn): Update comment.
41843
247c3ede
PB
418442012-04-12 Petr Baudis <pasky@ucw.cz>
41845
41846 [BZ #2074]
41847 * stdio.texi (Hook Functions): The user provided writer function
41848 is not allowed to return -1.
41849
55939d6d
DM
418502012-04-11 David S. Miller <davem@davemloft.net>
41851
41852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41853
90020f5a
MF
418542012-04-11 Mike Frysinger <vapier@gentoo.org>
41855
41856 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
41857 Add a leading slash to rtkaio.
41858
288f9098
JM
418592012-04-11 Jim Meyering <meyering@redhat.com>
41860
90020f5a
MF
41861 [BZ #11959]
41862 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
41863 It is not necessarily an error to ignore fwrite's return
41864 value. One can reliably use ferror to test for errors after
41865 the fact.
288f9098 41866
4be2b570
L
418672012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41868
41869 * bits/types.h (__snseconds_t): New type.
41870 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
41871
41872 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
41873 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41874 (__SNSECONDS_T_TYPE): Likewise.
41875 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41876 (__SNSECONDS_T_TYPE): Likewise.
41877 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41878 (__SNSECONDS_T_TYPE): Likewise.
41879
288f9098 418802012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
41881
41882 [BZ #2636]
41883 * manual/time.texi (Processor Time): Return type of times is
41884 elapsed real time since an arbitrary point in the past.
41885 (CPU Time): Move CLK_TCK from here...
41886 (Processor Time): ...to here. Correct description.
41887 * manual/conf.texi (Constants for Sysconf): Correct description of
41888 _SC_CLK_TCK.
41889
d7dd4413
DM
418902012-04-10 David S. Miller <davem@davemloft.net>
41891
41892 [BZ #13967]
41893 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
41894 where the is a gap between DT_REL(A) and DT_JMPREL.
41895
b46068fc
L
418962012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41897
41898 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
41899 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41900 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41901
73d65cc3
SP
419022012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41903
41904 * elf/dl-support.c (_dl_inhibit_cache): New variable.
41905 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
41906 (dl_main): Handle --inhibit-cache.
41907 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
41908 _dl_inhibit_cache.
41909 * elf/dl-load.c (_dl_map_object): Use it.
41910 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
41911
bcc8d661
JM
419122012-04-09 Joseph Myers <joseph@codesourcery.com>
41913
8f9a2fae
JM
41914 [BZ #13872]
41915 * sysdeps/i386/fpu/e_powl.S (p78): New object.
41916 (__ieee754_powl): Saturate large exponents rather than testing for
41917 overflow of y*log2(x).
41918 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41919 * math/libm-test.inc (pow_test): Do not permit spurious overflow
41920 exceptions.
41921
bcc8d661
JM
41922 [BZ #11521]
41923 * math/s_ctan.c: Include <float.h>.
41924 (__ctan): Avoid internal overflow or cancellation in calculating
41925 denominator.
41926 * math/s_ctanf.c: Likewise.
41927 * math/s_ctanl.c: Likewise.
41928 * math/s_ctanh.c: Likewise.
41929 * math/s_ctanhf.c: Likewise.
41930 * math/s_ctanhl.c: Likewise.
41931 * math/libm-test.inc (ctan_test): Add more tests.
41932 (ctanh_test): Likewise.
41933 * sysdeps/i386/fpu/libm-test-ulps: Update.
41934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41935
823fbbb4
AJ
419362012-04-09 Andreas Jaeger <aj@suse.de>
41937
03879793
AJ
41938 [BZ #6894]
41939 * manual/filesys.texi (Directory Entries): Mention that d_namlen
41940 is an optional BSD extension.
41941
823fbbb4
AJ
41942 [BZ #10254]
41943 * manual/stdio.texi (Opening Streams): Document additional fopen
41944 parameters.
41945
8de131cb
RM
419462012-04-09 Roland McGrath <roland@hack.frob.com>
41947
41948 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
41949 %eax without telling the compiler.
41950
c0ed9d7d
CD
419512012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
41952
41953 [BZ # 13963]
41954 * manual/install.texi: Use sourceware.org.
41955
c483f6b4
JM
419562012-04-09 Joseph Myers <joseph@codesourcery.com>
41957
d7dd9453
JM
41958 [BZ #13873]
41959 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
41960 (__ieee754_pow): Generate overflow and underflow using huge*huge
41961 and tiny*tiny rather than just returning constant infinity or zero
41962 for large exponents.
41963 * math/libm-test.inc (pow_test): Require overflow exceptions for
41964 applicable cases of large exponents.
41965
c483f6b4
JM
41966 [BZ #706]
41967 * sysdeps/i386/fpu/e_pow.S (p10): New object.
41968 (__ieee754_pow): Use iterative multiplication algorithm only for
41969 integer exponents with absolute value below 1024. Check for odd
41970 integer exponents when using algorithm for real exponents.
41971 * math/libm-test.inc (pow_test): Add more tests.
41972 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41973
d2de7579
JM
419742012-04-08 Joseph Myers <joseph@codesourcery.com>
41975
41976 [BZ #13705]
41977 * math/libm-test.inc (exp_test): Do not allow overflow exception
41978 on underflow test.
41979
f77f1232
AJ
419802012-04-08 Aurelien Jarno <aurelien@aurel32.net>
41981
41982 [BZ #13705]
41983 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41984 instead of __kernel_standard_f.
41985
3884932b
MF
419862012-04-08 Mike Frysinger <vapier@gentoo.org>
41987
41988 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41989 * sysdeps/x86_64/memset_chk.S: Likewise.
41990
54472e9c
AJ
419912012-04-08 Andreas Jaeger <aj@suse.de>
41992
6ab0fbfc
AJ
41993 [BZ #10153]
41994 * manual/startup.texi (Environment Access): Describe return value
41995 for putenv and setenv.
41996
61efba8c
AJ
41997 [BZ #6895]
41998 * manual/filesys.texi (Directory Entries): Add description for
41999 DT_LNK.
42000
95c3f29a
AJ
42001 [BZ #6890]
42002 * manual/filesys.texi (Directory Entries): Clarify that it's file
42003 system not operating system in the description of DT_UNKNOWN.
42004
54472e9c
AJ
42005 [BZ #6578]
42006 * manual/syslog.texi (closelog): Fix reference, it's openlog.
42007
624254b1
SC
420082012-04-08 Stephen Compall <s11@member.fsf.org>
42009
42010 [BZ #6649]
42011 * manual/llio.texi (Opening and Closing Files): Add cross
42012 reference to explain mode argument.
42013
1e4920e0
MF
420142012-04-07 Mike Frysinger <vapier@gentoo.org>
42015
42016 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
42017 * sysdeps/x86_64/memset_chk.S: Likewise.
42018
5ed848f3
DM
420192012-04-07 David S. Miller <davem@davemloft.net>
42020
42021 * elf/elf.h (R_SPARC_WDISP10): Define.
42022 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
42023 R_SPARC_SIZE32.
42024 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
42025 R_SPARC_SIZE64 and R_SPARC_H34.
42026
96154cd8
CD
420272012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
42028
42029 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
42030 conditions and remove no longer applicable assertion.
42031
9904dc47
L
420322012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42033
42034 * bits/byteswap.h: Include <features.h>.
42035 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42036 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42037
f8887d0a
L
420382012-04-06 H.J. Lu <hongjiu.lu@intel.com>
42039
42040 * bits/byteswap.h (__bswap_16): Removed.
42041 Include <bits/byteswap-16.h> to get __bswap_16.
42042 * sysdeps/i386/bits/byteswap.h: Likewise.
42043 * sysdeps/s390/bits/byteswap.h: Likewise.
42044 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42045 * bits/byteswap-16.h: New file.
42046 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42047 * sysdeps/s390/bits/byteswap-16.h: Likewise.
42048 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42049 * string/Makefile (headers): Add bits/byteswap-16.h.
42050
62470f60
PP
420512012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
42052
42053 [BZ #13895]
42054 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
42055 extra indirection.
42056 * nss/Makefile (tests-static, tests): Add tst-nss-static.
42057 * nss/tst-nss-static.c: New.
42058
4dad7bab
RM
420592012-04-06 Robert Millan <rmh@gnu.org>
42060
42061 [BZ #6486]
42062 * manual/llio.texi (File Position Primitive): lseek
42063 refers to WHENCE when it really means OFFSET.
42064
e9142a17
AJ
420652012-04-06 Andreas Jaeger <aj@suse.de>
42066
2c040eff
AJ
42067 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
42068 strncmp declarations.
42069
e9142a17
AJ
42070 * abilist/libc.abilist: Add __poll and __ppoll.
42071
ff9f1c5f
DM
420722012-04-05 David S. Miller <davem@davemloft.net>
42073
dcd2ae90
DM
42074 * scripts/check-local-headers.sh: Accept a host triplet in the
42075 path matched by the exclude regexp.
42076
993eb054
DM
42077 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
42078 definition.
42079 * sysdeps/powerpc/powerpc32/dl-machine.h
42080 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
42081 * sysdeps/s390/s390-32/dl-machine.h
42082 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42083 * sysdeps/sparc/sparc32/dl-machine.h
42084 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42085 * sysdeps/sparc/sparc64/dl-machine.h
42086 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42087
ff9f1c5f
DM
42088 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42089 lazy binding.
48e2e132 42090 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
42091 undefined symbol errors.
42092
48e2e132 42093 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
42094 DT_NEEDED entries.
42095
e80d6f94
MM
420962012-04-05 Michael Matz <matz@suse.de>
42097
42098 [BZ #13592]
42099 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42100
349fa79f
AJ
421012012-04-05 Andreas Jaeger <aj@suse.de>
42102
42103 [BZ #13908]
42104 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42105 comment.
42106
f402708f
KK
421072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42108
42109 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42110 which ROUND is no valid rounding mode.
42111
2ecccfc9
KK
421122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42113
42114 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42115 read again.
42116 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42117
8a53f50f
KK
421182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42119
42120 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42121 an exception using FPU order intentionally.
42122
421232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42124
42125 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42126 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42127 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42128 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42129
d653abb7
SJ
421302012-04-05 Simon Josefsson <simon@josefsson.org>
42131
42132 [BZ #12340]
42133 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42134 EINVAL when BUFLEN is too smal.
42135
c3b1bf7d
TS
421362012-04-05 Thomas Schwinge <thomas@codesourcery.com>
42137
42138 [BZ #13553]
42139 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42140 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42141
b1aa60f3
AJ
421422012-04-03 Andreas Jaeger <aj@suse.de>
42143
c3b1bf7d 42144 [BZ #13938]
67f60a26
AJ
42145 * manual/setjmp.texi (System V contexts): Fix sentence.
42146
b1aa60f3
AJ
42147 [BZ #13926]
42148 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42149 New macro for this case.
42150 [!__GNUC__] (__bswap_64): New inline function for this case.
42151 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42152 * bits/byteswap.h: Likewise.
42153 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
42154 ull, guard with __GLIBC_HAVE_LONG_LONG.
42155
42156 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
42157 __GLIBC_HAVE_LONG_LONG.
42158
42159 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
42160 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
42161
39c59c35
TMQMF
421622012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42163
42164 [BZ #13691]
42165 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
42166 inptr and inend, rather than using last_ch.
42167
135ffda8
DM
421682012-04-02 David S. Miller <davem@davemloft.net>
42169
42170 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
42171 * stdio-common/printf-parse.h (read_int): Change return type to
42172 'int', return -1 on INT_MAX overflow.
42173 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
42174 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
42175 overflows INT_MAX. Check for overflow of in-format-string precision
42176 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
42177 SIZE_MAX not INT_MAX for integer overflow test.
42178 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
42179 skip the construct in the format string but do not record anything.
42180 * stdio-common/bug22.c: Adjust to test both width/prevision
42181 INT_MAX overflow as well as total length INT_MAX overflow. Check
42182 explicitly for proper errno values.
42183
228c019e
TS
421842012-04-02 Thomas Schwinge <thomas@codesourcery.com>
42185
302cadd3
TS
42186 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
42187 CHAR_MAX.
42188 * string/test-strcmp.c [! WIDE]: Likewise.
42189 * time/tst-mktime2.c: Likewise for INT_MAX.
42190 * string/test-string.h: #include <sys/param.h> for MIN.
42191
228c019e
TS
42192 * csu/init-first.c (__libc_init_first): Call __ctype_init.
42193 * sysdeps/i386/init-first.c (init): Likewise.
42194 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
42195 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
42196 * sysdeps/sh/init-first.c (init): Likewise.
42197
cfa633f5
UD
421982012-04-01 Ulrich Drepper <drepper@gmail.com>
42199
42200 * po/ru.po: Update from translation team.
d1635ef8 42201 * po/vi.po: Likewise.
cfa633f5 42202
6cd0a5ea
SP
422032012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42204
42205 * resolv/nss_dns/dns-host.c: Merge copyright years.
42206
4b43400f
LD
422072012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42208
42209 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42210 Optimize memcpy with prefetch if
42211 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
42212 src, dst pointers have unequal 16 byte alignments.
42213
48c41d04
SP
422142012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42215
42216 [BZ #13928]
42217 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
42218 from a CNAME entry and return the minimum ttl for the query.
42219 (gaih_getanswer_slice): Likewise.
42220
b8dc394d
JL
422212012-03-30 Jeff Law <law@redhat.com>
42222
42223 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
42224 due to long keys.
42225 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
42226 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
42227
2f5a5ed0
JL
42228 * resolv/nss_dns/dns-host.c: Update copyright year.
42229
1d39e359
UD
422302012-03-30 Ulrich Drepper <drepper@gmail.com>
42231
c030f70c 42232 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 42233 requests to save a system call. Fix check that all bytes are sent.
c030f70c 42234
1d39e359
UD
42235 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
42236 comments for sendmmsg.
42237
422382012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
42239
42240 [BZ #13691]
42241 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
42242 with only 1 character between 0x0041 and 0x01b0.
42243 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42244 * wcsmbs/tst-mbsnrtowcs.c: New file.
42245
20fde227
DM
422462012-03-29 David S. Miller <davem@davemloft.net>
42247
42248 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
42249 small copies by hand.
42250
984a4237
JL
422512012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42252
42253 [BZ #13761]
57f41c40
AS
42254 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
42255 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
42256 group memberships.
984a4237 42257
18c9d62b
DM
422582012-03-28 David S. Miller <davem@davemloft.net>
42259
88d85d4f
DM
42260 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
42261 that branches into memcpy.
42262 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42263 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42264 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42265 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42266 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
42267 bits.
42268 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
42269 implementation too.
42270 * sysdeps/sparc/mempcpy.S: New file.
42271
e5aa83e1
DM
42272 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
42273 the IFUNC routine in the libc case.
42274 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42275
88570753
DM
42276 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
42277 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
42278 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
42279 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
42280 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
42281 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
42282 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
42283 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
42284
249d7567
DM
42285 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
42286 loop to 256 bytes instead of 64 bytes and fix test signedness.
42287
18c9d62b
DM
42288 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
42289 * sysdeps/sparc/sparc32/Makefile: rather than here...
42290 * sysdeps/sparc/sparc64/Makefile: and here.
42291
05f3d1f6
UD
422922012-03-28 Ulrich Drepper <drepper@gmail.com>
42293
42294 * malloc/mallocbug.c: Avoid warnings about unused variables.
42295
86ae07a8
JL
422962012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42297
42298 [BZ #13760]
42299 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
42300 in the right place. Discard and retry query if response is
42301 larger than input buffer size.
42302
41bf21a1
JM
423032012-03-28 Joseph Myers <joseph@codesourcery.com>
42304
d6270972
JM
42305 [BZ #369]
42306 [BZ #2678]
42307 [BZ #3866]
42308 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
42309 x for large integer exponent.
42310 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42311 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
42312 sign of result as needed afterwards.
42313 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42314 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
42315 result for underflowing pow the same as for overflow.
42316 (__kernel_standard_l): Handle powl overflow and underflow here
42317 rather than calling __kernel_standard.
42318 * math/libm-test.inc (pow_test): Add more tests.
42319
414fca03 42320 [BZ #3868]
41bf21a1
JM
42321 [BZ #13879]
42322 [BZ #13910]
42323 [BZ #13911]
42324 [BZ #13912]
42325 [BZ #13913]
42326 [BZ #13915]
42327 [BZ #13916]
42328 [BZ #13917]
42329 [BZ #13918]
42330 [BZ #13919]
42331 [BZ #13920]
42332 [BZ #13921]
42333 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
42334 * sysdeps/ieee754/k_standard.c: Include <float.h>.
42335 (__kernel_standard_l): New function.
42336 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
42337 __kernel_standard.
42338 * math/w_acosl.c (__acosl): Likewise.
42339 * math/w_asinl.c (__asinl): Likewise.
42340 * math/w_atan2l.c (__atan2l): Likewise.
42341 * math/w_atanhl.c (__atanhl): Likewise.
42342 * math/w_coshl.c (__coshl): Likewise.
42343 * math/w_exp10l.c (__exp10l): Likewise.
42344 * math/w_exp2l.c (__exp2l): Likewise.
42345 * math/w_fmodl.c (__fmodl): Likewise.
42346 * math/w_hypotl.c (__hypotl): Likewise.
42347 * math/w_j0l.c (__j0l, __y0l): Likewise.
42348 * math/w_j1l.c (__j1l, __y1l): Likewise.
42349 * math/w_jnl.c (__jnl, __ynl): Likewise.
42350 * math/w_lgammal.c (__lgammal): Likewise.
42351 * math/w_log10l.c (__log10l): Likewise.
42352 * math/w_log2l.c (__log2l): Likewise.
42353 * math/w_logl.c (__logl): Likewise.
42354 * math/w_powl.c (__powl): Likewise.
42355 * math/w_remainderl.c (__remainderl): Likewise.
42356 * math/w_scalbl.c (sysv_scalbl): Likewise.
42357 * math/w_sinhl.c (__sinhl): Likewise.
42358 * math/w_sqrtl.c (__sqrtl): Likewise.
42359 * math/w_tgammal.c (__tgammal): Likewise.
42360 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
42361 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
42362 * math/libm-test.inc (acos_test): Add more tests.
42363 (acosh_test): Likewise.
42364 (asin_test): Likewise.
42365 (atanh_test): Likewise.
42366 (exp_test): Likewise.
42367 (exp10_test): Likewise.
42368 (exp2_test): Likewise.
42369 (expm1_test): Likewise.
42370 (lgamma_test): Likewise.
42371 (log_test): Likewise.
42372 (log10_test): Likewise.
42373 (log1p_test): Likewise.
42374 (log2_test): Likewise.
42375 (pow_test): Do not allow some spurious overflow exceptions.
42376 (sqrt_test): Add more tests.
42377 (tgamma_test): Likewise.
42378 (y0_test): Likewise.
42379 (y1_test): Likewise.
42380 (yn_test): Likewise.
42381
dd62fda6
AB
423822012-03-27 Anton Blanchard <anton@samba.org>
42383
42384 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
42385 MAP_HUGETLB.
42386 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42387 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42388 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42389
1e3cdfda
AJ
423902012-03-27 David S. Miller <davem@davemloft.net>
42391
b855ab85
DM
42392 * conform/Makefile: Run run-conformtest.sh using $(BASH).
42393
1e3cdfda
AJ
42394 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
42395 have-as-vis3 check.
42396
423972012-03-27 Andreas Jaeger <aj@suse.de>
42398
42399 * sysdeps/x86_64/elf/configure.in: Moved to ...
42400 * sysdeps/x86_64/configure.in: ... here.
42401 * sysdeps/x86_64/elf/start.S: Moved to ...
42402 * sysdeps/x86_64/start.S: ... here.
42403 * sysdeps/x86_64/elf/configure: Delete.
42404
42405 * sysdeps/x86_64/configure.in: Merge contents from
42406 sysdeps/i386/configure.in (without i686 check).
42407
42408 * sysdeps/i386/elf/Versions: Merge into ...
42409 * sysdeps/i386/Versions: ... this.
42410 * sysdeps/i386/elf/Versions: Delete file.
42411 * sysdeps/i386/elf/start.S: Moved to ...
42412 * sysdeps/i386/start.S: ...here.
42413 * sysdeps/i386/elf/configure.in: Merge into...
42414 * sysdeps/i386/configure.in: ...here.
42415 * sysdeps/i386/elf/configure.in: Delete file.
42416 * sysdeps/i386/elf/configure: Delete file.
42417
42418 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
42419 * debug/backtracesyms.c: ... here.
42420 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
42421 * debug/backtracesymsfd.c: ... here.
42422 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
42423 * sysdeps/generic/ifunc-sel.h: ... here.
42424
42425 * sysdeps/unix/i386/start.c: Delete file.
42426 * sysdeps/unix/sparc/start.c: Delete file.
42427 * sysdeps/unix/start.c: Delete file.
42428
42429 * sysdeps/sh/elf/configure.in: Moved to ...
42430 * sysdeps/sh/configure.in: ... here.
42431 * sysdeps/sh/elf/start.S: Moved to ...
42432 * sysdeps/sh/start.S: ... here.
42433 * sysdeps/sh/elf/configure: Delete file.
42434
42435 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
42436 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
42437 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
42438 * sysdeps/powerpc/powerpc64/entry.h: ... here.
42439 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
42440 * sysdeps/powerpc/powerpc64/start.S: here.
42441 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
42442 * sysdeps/powerpc/powerpc64/Makefile: ... this.
42443 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
42444 * sysdeps/powerpc/powerpc64/configure.in: ... this.
42445 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
42446
42447 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
42448 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
42449 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
42450 * sysdeps/powerpc/powerpc32/start.S: ... here.
42451 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
42452 * sysdeps/powerpc/powerpc32/configure.in: ... this.
42453 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
42454
42455 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
42456 * sysdeps/powerpc/ifunc-sel.h: ... here.
42457 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
42458 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
42459
42460 * sysdeps/sparc/elf/configure.in: Moved to ...
42461 * sysdeps/sparc/configure.in: ... here.
42462 * sysdeps/sparc/elf/configure: Delete file.
42463 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
42464 * sysdeps/sparc/sparc32/start.S: ... here.
42465 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
42466 * sysdeps/sparc/sparc64/start.S: ... here.
42467 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
42468 * sysdeps/sparc/sparc32/Makefile: ... this.
42469 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
42470 * sysdeps/sparc/sparc64/Makefile: ... this.
42471
42472 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
42473 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
42474 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
42475 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
42476 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
42477 * sysdeps/s390/s390-32/setjmp.S: ... here.
42478 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
42479 * sysdeps/s390/s390-32/configure.in: ... here.
42480 * sysdeps/s390/s390-32/elf/configure: Delete file.
42481 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
42482 * sysdeps/s390/s390-32/start.S: ... here.
42483
42484 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
42485 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
42486 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
42487 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
42488 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
42489 * sysdeps/s390/s390-64/setjmp.S: ... here.
42490 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
42491 * sysdeps/s390/s390-64/configure.in: ... here
42492 * sysdeps/s390/s390-64/elf/configure: Delete file.
42493 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
42494 * sysdeps/s390/s390-64/start.S: ... here.
42495 * sysdeps/s390/s390-64/elf/configure: Delete.
42496
42497 * configure.in: Remove support for elf directories in sysdeps.
42498
42499 * configure: Regenerated.
42500 * sysdeps/i386/configure: Regenerated.
42501 * sysdeps/powerpc/powerpc32/configure: Regenerated.
42502 * sysdeps/powerpc/powerpc64/configure: Regenerated.
42503 * sysdeps/s390/s390-32/configure: Regenerated.
42504 * sysdeps/s390/s390-64/configure: Regenerated.
42505 * sysdeps/sh/configure: Regenerated.
42506 * sysdeps/sparc/configure: Regenerated.
42507 * sysdeps/x86_64/configure: Regenerated.
42508
a3f61311
AS
425092012-03-26 Andreas Schwab <schwab@linux-m68k.org>
42510
c876e002
AS
42511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42512
a3f61311
AS
42513 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
42514 denormal result into account.
42515
ac4c54f0
RM
425162012-03-25 Roland McGrath <roland@hack.frob.com>
42517
42518 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
42519 Reported by Allan McRae <allan@archlinux.org>.
42520
6a9b9c02
JL
425212012-03-23 Jeff Law <law@redhat.com>
42522
42523 * nss/getnssent.c (__nss_getent): Fix typo.
42524
4c42a0c1
DM
425252012-03-23 David S. Miller <davem@davemloft.net>
42526
42527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42528
1532c7ac
L
425292012-03-23 H.J. Lu <hongjiu.lu@intel.com>
42530
42531 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
42532 to pad to uint64_t for each field.
42533 (dl_tls_index): Replace unsigned long with uint64_t.
42534
3ff42526
PP
425352012-03-23 Daniel Jacobowitz <dmj@google.com>
42536 Paul Pluzhnikov <ppluzhnikov@google.com>
42537
42538 [BZ #6528]
42539 * grp/Makefile (otherlibs): Don't set it.
42540 * inet/Makefile (otherlibs): Likewise.
42541 * login/Makefile (otherlibs): Likewise.
42542 * nscd/Makefile (otherlibs): Likewise.
42543 * posix/Makefile (otherlibs): Likewise.
42544 * pwd/Makefile (otherlibs): Likewise.
42545 * rt/Makefile (otherlibs): Likewise.
42546 * sunrpc/Makefile (otherlibs): Likewise.
42547 * nss/Makefile (otherlibs): Likewise.
42548 Add libnss_files to routines and static-only-routines.
42549 ($(objpfx)getent): Remove rule.
42550 * resolv/Makefile: Add libnss_dns and libresolv to routines and
42551 static-only-routines.
42552
7c69cd14
JM
425532012-03-22 Joseph Myers <joseph@codesourcery.com>
42554
42555 [BZ #13892]
42556 * math/s_cexp.c: Include <float.h>.
42557 (__cexp): Handle exp result overflowing not necessarily
42558 overflowing both real and imaginary parts of result.
42559 * math/s_cexpf.c: Likewise.
42560 * math/s_cexpl.c: Likewise.
42561 * math/libm-test.inc (cexp_test): Add more tests.
42562 * sysdeps/i386/fpu/libm-test-ulps: Update.
42563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42564
81b035fe
L
425652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42566
42567 * include/link.h (ELFW): New macro.
42568 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
42569 Replace ELF64_R_TYPE with ELFW(R_TYPE).
42570
1da7940c
L
425712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42572
42573 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
42574 with uint64_t.
42575
b749dbb9
L
425762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42577
42578 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
42579 declaration.
42580 (struct La_x32_retval): Likewise.
42581
2ff87f3f
L
425822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
42583
42584 * sysdeps/x86_64/preconfigure.in: New file.
42585 * sysdeps/x86_64/preconfigure: New generated file.
42586
c0df8e69
JM
425872012-03-22 Joseph Myers <joseph@codesourcery.com>
42588
48e44791
JM
42589 [BZ #13824]
42590 * math/e_exp2l.c: Include <float.h>.
42591 (__ieee754_exp2l): Handle overflow and underflow cases
42592 separately. Only pass fractional part of argument to
42593 __ieee754_expl.
42594 * math/libm-test.inc (exp2_test): Add more tests.
42595
c0df8e69
JM
42596 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
42597 negating x to take absolute value.
42598 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
42599 Likewise.
42600 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42601 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
42602 Likewise.
42603 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
42604 computing low part if x was negated.
42605 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42606
c8e43ba7
L
426072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42608
42609 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
42610 la_x32_gnu_pltexit.
42611 (pltexit): Cast int_retval to ptrdiff_t.
42612 * elf/tst-auditmod3b.c: Likewise.
42613 * elf/tst-auditmod4b.c: Likewise.
42614 * elf/tst-auditmod5b.c: Likewise.
42615 * elf/tst-auditmod6b.c: Likewise.
42616 * elf/tst-auditmod6c.c: Likewise.
42617 * elf/tst-auditmod7b.c: Likewise.
42618
42619 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
42620 and x32_gnu_pltexit.
42621
42622 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
42623 __ELF_NATIVE_CLASS.
42624 (La_x32_regs): New macro.
42625 (La_x32_retval): Likewise.
42626 (la_x32_gnu_pltenter): New function prototype.
42627 (la_x32_gnu_pltexit): Likewise.
42628
7998fa78
AS
426292012-03-21 Andreas Schwab <schwab@linux-m68k.org>
42630
dcb33988
AS
42631 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
42632 exponent.
42633
233fc563
AS
42634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42635
7998fa78
AS
42636 * configure.in (libc_cv_cc_nofma): Check for option to disable
42637 generation of FMA instructions.
42638 * configure: Regenerate.
42639 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
42640 * sysdeps/ieee754/dbl-64/Makefile: New file.
42641 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
42642 Remove brandred-fma4.
42643 (CFLAGS-brandred-fma4.c): Remove.
42644 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
42645 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
42646 define.
42647 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
42648 define.
42649
8e95c99a
L
426502012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42651
42652 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42653 LLONG_MAX != LONG_MAX.
42654 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42655 (_fitoa_word): Likewise.
42656 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
42657 LLONG_MAX != LONG_MAX.
42658 * stdio-common/_itowa.h: Include <_itoa.h>.
42659 (_itowa_word): Use _ITOA_WORD_TYPE on value.
42660 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
42661 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
42662 only if not defined.
42663 (_ITOA_WORD_TYPE): Likewise.
42664 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42665 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
42666
6f4db457
DM
426672012-03-21 David S. Miller <davem@davemloft.net>
42668
42669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42670
7785fe5a
L
426712012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42672
42673 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
42674 of x86_64 when setting libc_cv_slibdir, libdir and
42675 libc_cv_localedir.
42676 * sysdeps/unix/sysv/linux/configure: Regenerated.
42677
4535cd55
JM
426782012-03-21 Joseph Myers <joseph@codesourcery.com>
42679
42680 * manual/lang.texi (Old Varargs): Remove section.
42681 (How Variadic): Update menu.
42682 (va_start): Do not mention varargs.h.
42683
17228132
TS
426842012-03-21 Thomas Schwinge <thomas@codesourcery.com>
42685 Joseph Myers <joseph@codesourcery.com>
42686
42687 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
42688 link test.
42689 * configure: Regenerated.
42690
8149f976
TS
426912012-03-21 Thomas Schwinge <thomas@codesourcery.com>
42692
05f3d1f6
UD
42693 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
42694 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
42695 conformtest.pl
8149f976 42696
1a4ac776
JM
426972012-03-21 Joseph Myers <joseph@codesourcery.com>
42698
be22ce65
JM
42699 * NOTES: Remove.
42700 * Makefile (files-for-dist): Remove NOTES.
42701 (NOTES): Remove rule.
42702 * README: Don't refer to NOTES.
42703 * manual/creature.texi: Don't include macros.texi.
42704 * manual/intro.texi (creature.texi): Remove comment referring to
42705 NOTES.
42706
40b601fb
JM
42707 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
42708 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
42709 * configure: Regenerated.
42710 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
42711 LIBC_TRY_CC_OPTION.
42712 (libc_cv_as_i686): Likewise.
42713 (libc_cv_cc_avx): Likewise.
42714 (libc_cv_cc_sse2avx): Likewise.
42715 (libc_cv_cc_fma4): Likewise.
42716 (libc_cv_cc_novzeroupper): Likewise.
42717 * sysdeps/i386/configure: Regenerated.
42718
1a4ac776
JM
42719 [BZ #13883]
42720 * sysdeps/i386/fpu/s_cexp.S: Remove.
42721 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42722 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42723 * math/libm-test.inc (cexp_test): Add more tests.
42724 * sysdeps/i386/fpu/libm-test-ulps: Update.
42725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42726
a458e7fe
AM
427272012-03-21 Allan McRae <allan@archlinux.org>
42728
42729 * timezone/Makefile: Do not install iso3166.tab and zone.tab
42730
0cb7efc5
JM
427312012-03-21 Joseph Myers <joseph@codesourcery.com>
42732
42733 [BZ #13871]
42734 * math/w_exp2.c: Do not include <float.h>.
42735 (o_threshold, u_threshold): Remove.
42736 (__exp2): Calculate result before checking finiteness and calling
42737 __kernel_standard.
42738 * math/w_exp2f.c: Likewise.
42739 * math/w_exp2l.c: Likewise.
42740 * math/libm-test.inc (exp2_test): Require overflow exception for
42741 1e6 input.
2460d3aa
JM
42742
42743 [BZ #3866]
42744 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
42745 range of signed 64-bit integers before using fistpll. Remove
42746 checks for whether integers fit in mantissa bits.
42747 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
42748 the range of signed 32-bit integers before using fistpl. Remove
42749 checks for whether integers fit in mantissa bits.
42750 * sysdeps/i386/fpu/e_powl.S (p64): New object.
42751 (__ieee754_powl): Test for y outside the range of signed 64-bit
42752 integers before using fistpll. Reduce 64-bit values to 63-bit
42753 ones as needed.
42754 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
42755 divide-by-zero is raised for zero to large negative powers.
42756 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
42757 (__ieee754_powl): Test for y outside the range of signed 64-bit
42758 integers before using fistpll. Reduce 64-bit values to 63-bit
42759 ones as needed.
42760 * math/libm-test.inc (pow_test): Add more tests.
42761
eb96ffb0
L
427622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42763
42764 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
42765 <stdio-common/_itoa.h>.
42766 * debug/segfault.c: Likewise.
42767 * elf/dl-cache.c: Likewise.
42768 * elf/dl-minimal.c: Likewise.
42769 * elf/dl-misc.c: Likewise.
42770 * elf/dl-sysdep.c: Likewise.
42771 * elf/dl-version.c: Likewise.
42772 * elf/rtld.c: Likewise.
42773 * hurd/hurdsock.c: Likewise.
42774 * hurd/lookup-retry.c: Likewise.
42775 * malloc/malloc.c: Likewise.
42776 * malloc/mtrace.c: Likewise.
42777 * nscd/nscd_getgr_r.c: Likewise.
42778 * nscd/nscd_getpw_r.c: Likewise.
42779 * nscd/nscd_getserv_r.c: Likewise.
42780 * posix/getopt_init.c: Likewise.
42781 * posix/wordexp.c: Likewise.
42782 * stdio-common/_itoa.c: Likewise.
42783 * stdio-common/printf_fphex.c: Likewise.
42784 * stdio-common/vfprintf.c: Likewise.
42785 * string/_strerror.c: Likewise.
42786 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
42787 * sysdeps/i386/i686/hp-timing.h: Likewise.
42788 * sysdeps/mach/_strerror.c: Likewise.
42789 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
42790 * sysdeps/mach/hurd/sethostid.c: Likewise.
42791 * sysdeps/mach/hurd/xmknodat.c: Likewise.
42792 * sysdeps/mach/xpg-strerror.c: Likewise.
42793 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42794 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42795 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
42796 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
42797 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42798 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
42799 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42800 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42801 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
42802 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
42803 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
42804 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42805 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
42806 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42807 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42808 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
42809 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
42810 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
42811 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42812 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42813 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
42814
42815 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
42816
42817 * stdio-common/_itoa.h: Moved to ...
42818 * sysdeps/generic/_itoa.h: Here.
42819
42820 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
42821
42822 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
42823 instead of "_itoa.h" and "_itowa.h".
42824 * stdio-common/vfprintf.: Likewise.
42825
d1af992d
L
428262012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42827
42828 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
42829 <bits/wordsize.h>.
42830 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
42831 (__signbit): Likwise.
42832 (llrintf): Likwise.
42833 (llrint): Likwise.
42834
114883e0
L
428352012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42836
42837 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
42838 __WORDSIZE != 64.
42839
c135cc1b
JM
428402012-03-20 Joseph Myers <joseph@codesourcery.com>
42841
42842 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
42843 OVERFLOW_EXCEPTION_OK.
42844 * math/libm-test.inc ("Philosophy"): Update comment about
42845 exception testing.
42846 (OVERFLOW_EXCEPTION): Define.
42847 (OVERFLOW_EXCEPTION_OK): Likewise.
42848 (INVALID_EXCEPTION_OK): Renumber.
42849 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42850 (IGNORE_ZERO_INF_SIGN): Likewise.
42851 (test_exceptions): Handle FE_OVERFLOW.
42852 (exp10_test): Expect overflow exceptions.
42853 (exp2_test): Likewise.
42854 (expm1_test): Likewise.
42855 (nextafter_test): Likewise.
42856 (pow_test): Likewise.
42857 (scalbn_test): Likewise.
42858 (scalbln_test): Likewise.
42859
95443d88
L
428602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42861
42862 * sysdeps/x86_64/bits/atomic.h
42863 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
42864 64bit integer.
42865 (atomic_exchange_acq): Likewise.
42866 (__arch_exchange_and_add_body): Likewise.
42867 (__arch_add_body): Likewise.
42868 (atomic_add_negative): Likewise.
42869 (atomic_add_zero): Likewise.
42870
490df6c4
L
428712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42872
c2722551 42873 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
42874 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
42875
5e52b189
L
428762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42877
42878 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
42879 Check __x86_64__ instead of __WORDSIZE.
42880
a9879d4c
L
428812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42882
42883 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
42884
5df98260
DM
428852012-03-19 David S. Miller <davem@davemloft.net>
42886
e1497744
DM
42887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42888
5df98260
DM
42889 * sysdeps/sparc/fpu/fenv_private.h: New file.
42890 * sysdeps/sparc/fpu/math_private.h: Use it.
42891 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
42892 Remove.
57f41c40 42893 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
42894 (libc_feholdexcept_setroundl): Remove.
42895 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
42896 Remove.
42897 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
42898 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
42899
b4c35121
L
429002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42901
42902 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
42903 int64_t instead of long int.
42904 (INSERT_WORDS64): Likwise.
42905
56965fd7
L
429062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42907
42908 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
42909 _Unwind_GetCFA return to _Unwind_Ptr first.
42910
83d1aec8
JM
429112012-03-19 Joseph Myers <joseph@codesourcery.com>
42912
1897ad44
JM
42913 [BZ #13629]
42914 * math/s_clog.c: Include <float.h>.
42915 (__clog): Scale large or subnormal inputs.
42916 * math/s_clogf.c: Likewise.
42917 * math/s_clogl.c: Likewise.
42918 * math/s_clog10.c: Include <float.h>.
42919 (M_LOG10_2): Define.
42920 (__clog10): Scale large or subnormal inputs.
42921 * math/s_clog10f.c: Likewise.
42922 * math/s_clog10l.c: Likewise.
42923 * math/libm-test.inc (clog_test): Add more tests.
42924 (clog10_test): Likewise.
42925 * sysdeps/i386/fpu/libm-test-ulps: Update.
42926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42927
7726d6a9
JM
42928 [BZ #11451]
42929 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
42930 x and y.
42931 * math/libm-test.inc (atan2_test): Add another test.
42932
83d1aec8
JM
42933 * Makerules (common-objdir-compile): Remove.
42934 * sysdeps/unix/Makefile (config-generated): Do not add
42935 $(unix-generated) to variable.
42936 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
42937 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
42938 Remove rule.
42939 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
42940 Likewise.
42941 [generic bits/local_lim.h] (before-compile): Do not append to
42942 variable.
42943 [generic bits/local_lim.h] (common-generated): Likewise.
42944 [generic sys/param.h] (before-compile): Do not append to variable.
42945 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
42946 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
42947 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
42948 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
42949 include.
42950 [generic sys/param.h] (sys/param.h-includes): Remove variable.
42951 [generic sys/param.h] (sys/param.h-includes): Remove rule.
42952 [generic sys/param.h] ($(addprefix
42953 $(common-objpfx),$(sys/param.h-includes))): Likewise.
42954 [generic sys/param.h] (common-generated): Do not append to
42955 variable.
42956 [generic sys/param.h] (sysdep_headers): Likewise.
42957 [generic bits/errno.h] (before-compile): Do not append to
42958 variable.
42959 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
42960 rule.
42961 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
42962 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
42963 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
42964 [generic bits/errno.h] (common-generated): Do not append to
42965 variable.
42966 [generic bits/ioctls.h] (before-compile): Do not append to
42967 variable.
42968 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
42969 rule.
42970 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
42971 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
42972 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
42973 rule.
42974 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
42975 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
42976 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
42977 [generic bits/ioctls.h] (common-generated): Do not append to
42978 variable.
42979 [generic sys/syscall.h] (syscall.h): Remove variable.
42980 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42981 rule.
42982 [generic sys/syscall.h] (before-compile): Do not append to
42983 variable.
42984 [generic sys/syscall.h] (common-generated): Likewise.
42985 * sysdeps/unix/errnos-tmpl.c: Remove file.
42986 * sysdeps/unix/errnos.awk: Likewise.
42987 * sysdeps/unix/ioctls-tmpl.c: Likewise.
42988 * sysdeps/unix/ioctls.awk: Likewise.
42989 * sysdeps/unix/mk-local_lim.c: Likewise.
42990 * sysdeps/unix/snarf-ioctls: Likewise.
42991
4851a949
RH
429922012-03-19 Richard Henderson <rth@twiddle.net>
42993
bd37f2ee
RH
42994 * sysdeps/i386/fpu/fenv_private.h: New file.
42995 * sysdeps/i386/fpu/math_private.h: Use it.
42996 (math_opt_barrier, math_force_eval): Remove.
42997 (libc_feholdexcept_setround_53bit): Remove.
42998 (libc_feupdateenv_53bit): Remove.
42999 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43000 (math_opt_barrier, math_force_eval): Remove.
43001 (libc_feholdexcept): Remove.
43002 (libc_feholdexcept_setround): Remove.
43003 (libc_fetestexcept, libc_fesetenv): Remove.
43004 (libc_feupdateenv_test): Remove.
43005 (libc_feupdateenv, libc_feholdsetround): Remove.
43006 (libc_feresetround): Remove.
43007
d0adc922
RH
43008 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
43009 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
43010
0fe0f1f8
RH
43011 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
43012 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
43013 (libc_feupdateenv_testl): New.
43014 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
43015 (libc_feupdateenv_testf): New.
43016 (libc_feupdateenv): Use libc_feupdateenv_test.
43017 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
43018 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
43019
eb92c487
RH
43020 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
43021 (libc_feholdsetroundf, libc_feholdsetroundl): New.
43022 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
43023 (libc_feresetround_noex): New.
43024 (libc_feresetround_noexf): New.
43025 (libc_feresetround_noexl): New.
43026 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
43027 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
43028 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
43029 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
43030 SET_RESTORE_ROUND.
43031 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43032 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
43033 (__cos): Likewise.
43034 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
43035 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
43036 SET_RESTORE_ROUND_NOEX.
43037 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
43038 SET_RESTORE_ROUND_NOEXF.
43039 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
43040 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
43041 (libc_feholdsetroundf): New.
43042 (libc_feresetround, libc_feresetroundf): New.
43043
7d2e8012
RH
43044 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
43045 (libc_feholdexcept_setround_53bit): Convert from macro to function.
43046 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
43047
b4dabbb4
RH
43048 * sysdeps/generic/math_private.h: Include <fenv.h>.
43049 (default_libc_feholdexcept): New.
43050 (default_libc_feholdexcept_setround): New.
43051 (default_libc_fesetenv, default_libc_feupdateenv): New.
43052 (libc_feholdexcept): Only define if undefined.
43053 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
43054 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
43055 (libc_feholdexcept_setroundl): Likewise.
43056 (libc_feholdexcept_setround_53bit): Likewise.
43057 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
43058 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
43059 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
43060 (libc_feupdateenv_53bit): Likewise.
43061 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
43062 (libc_feholdexcept): Convert from macro to inline function.
43063 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
43064 (libc_fesetenv, libc_feupdateenv): Likewise.
43065
4851a949
RH
43066 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
43067 not previously defined.
43068 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
43069 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
43070 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
43071 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
43072 * sysdeps/ieee754/flt-32/math_private.h: New file.
43073 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
43074 math_private.h below SET_FLOAT_WORD.
43075 (__isnan, __isinf_ns, __finite): Remove.
43076 (__isnanf, __isinf_nsf, __finitef): Remove.
43077
e79d442e
AS
430782012-03-18 Andreas Schwab <schwab@linux-m68k.org>
43079
43080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43081
90b80344
DM
430822012-03-17 David S. Miller <davem@davemloft.net>
43083
43084 [BZ #6471]
43085 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
43086 for 2.16.
43087
edc21804
DM
430882012-03-16 David S. Miller <davem@davemloft.net>
43089
77e927af
DM
43090 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43091 warnings.
43092
374976dd
DM
43093 [BZ #6471]
43094 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43095 properly.
43096 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43097 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43098 sysdep_routines when subdir is sysvipc.
43099 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43100 __getshmlba helper.
43101
edc21804
DM
43102 * sysdeps/sparc/fpu/libm-test/ulps: Update.
43103
473c3ef3
L
431042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43105
43106 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43107 [__LP64__].
43108
eb0f39b6
L
431092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43110
43111 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43112 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43113 (__lround): Renamed to ...
43114 (__llround): This. Replace long int with long long int.
43115 Define lround functions as aliases of llround functions.
43116 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43117
6b6cd74b
L
431182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43119
43120 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43121 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
43122 adresses to uintptr_t. Replace "long int" and "unsigned long
43123 int" with "greg_t" on va_arg.
43124
f1a77b01
L
431252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43126
43127 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43128 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43129
43130 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43131 Move e_machine check before EI_CLASS check. Handle x32
43132 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43133 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43134 SKIP_EM_IA_64 and include
43135 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43136
43137 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43138 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43139 (add_system_dir): New macro.
43140
43141 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43142 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43143
11b90b9f
JM
431442012-03-16 Joseph Myers <joseph@codesourcery.com>
43145
c36e1d23
JM
43146 [BZ #2551]
43147 [BZ #2552]
43148 [BZ #2553]
43149 [BZ #2554]
43150 [BZ #2562]
43151 [BZ #2563]
43152 [BZ #2565]
43153 [BZ #2566]
43154 [BZ #2576]
43155 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
43156 (y0): Likewise.
43157 * math/w_j0f.c (j0f): Likewise.
43158 (y0f): Likewise.
43159 * math/w_j0l.c (__j0l): Likewise.
43160 (__y0l): Likewise.
43161 * math/w_j1.c (j1): Likewise.
43162 (y1): Likewise.
43163 * math/w_j1f.c (j1f): Likewise.
43164 (y1f): Likewise.
43165 * math/w_j1l.c (__j1l): Likewise.
43166 (__y1l): Likewise.
43167 * math/w_jn.c (jn): Likewise.
43168 (yn): Likewise.
43169 * math/w_jnf.c (jnf): Likewise.
43170 (ynf): Likewise.
43171 * math/w_jnl.c (__jnl): Likewise.
43172 (__ynl): Likewise.
43173 * math/libm-test.inc (j0_test): Add more tests.
43174 (j1_test): Likewise.
43175 (jn_test): Likewise. Add trailing semicolon to existing test.
43176 (y0_test): Likewise.
43177 (y1_test): Likewise.
43178 * sysdeps/i386/fpu/libm-test-ulps: Update.
43179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43180
11b90b9f
JM
43181 [BZ #13851]
43182 [BZ #13854]
43183 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
43184 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
43185 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
43186 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
43187 (__tanl): Set errno for infinite argument.
43188 * sysdeps/i386/fpu/mptan.c: Remove.
43189 * sysdeps/i386/fpu/s_tan.S: Likewise.
43190 * sysdeps/i386/fpu/s_tanl.S: Likewise.
43191 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
43192 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
43193 * math/libm-test.inc (tan_test): Add more tests and enable more
43194 tests for double and long double.
43195 * sysdeps/i386/fpu/libm-test-ulps: Update.
43196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43197
6a1bd2a1
JK
431982012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
43199
43200 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
43201 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
43202
10a803e0
RM
432032012-03-16 Roland McGrath <roland@hack.frob.com>
43204
43205 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
43206 * configure.in: Use it for both main tree and add-ons.
43207 * configure: Regenerated.
43208
f196c7f7
L
432092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
43210
43211 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
43212
8848d99d
JM
432132012-03-16 Joseph Myers <joseph@codesourcery.com>
43214
96cbe7f4
JM
43215 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
43216 in comment.
43217
8848d99d
JM
43218 [BZ #13851]
43219 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
43220 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
43221 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
43222 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
43223 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
43224 infinite argument.
43225 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
43226 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
43227 != 0 for prec == 2.
43228 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
43229 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
43230 * sysdeps/i386/fpu/s_cosl.S: Likewise.
43231 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
43232 * sysdeps/i386/fpu/s_sinl.S: Likewise.
43233 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
43234 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
43235 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
43236 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
43237 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
43238 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
43239 * math/libm-test.inc (cos_test): Add more tests and enable more
43240 tests for long double.
43241 (sin_test): Likewise.
43242 (sincos_test): Likewise.
43243 * sysdeps/i386/fpu/libm-test-ulps: Update.
43244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43245
dd7f4703
DM
432462012-03-16 David S. Miller <davem@davemloft.net>
43247
43248 * sysdeps/sparc/fpu/math_private.h: New file.
43249
006f1daa
DM
432502012-03-15 David S. Miller <davem@davemloft.net>
43251
c0c83bc8
DM
43252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
43253 file.
e6a62e18 43254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
43255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
43256 file.
e6a62e18
DM
43257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
43258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
43259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
43260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
43261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
43262 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
43263 sysdep routines.
43264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43265
88cb87d9
DM
43266 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
43267 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
43268
006f1daa 43269 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
43270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
43271 sparc-ifunc.h
006f1daa 43272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
43273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
43274 Likewise.
43275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
43276 Likewise.
006f1daa
DM
43277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
43278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
43279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
43280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43281 Likewise.
006f1daa
DM
43282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
43284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
43286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
43287 Likewise.
43288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
43289 Likewise.
006f1daa
DM
43290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
43292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
43293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
43294 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43295 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43296 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
43297 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
43298 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43299 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
43301 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
43302 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
43303 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
43304 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
43305 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
43306 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
43307 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
43308 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
43309 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
43310 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
43311 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
43312 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
43313 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
43314
11e0098e
AS
433152012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43316
43317 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
43318 scaling.
43319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43320
e85b09d0
AJ
433212012-03-15 Andreas Jaeger <aj@suse.de>
43322
43323 [BZ #13852]
43324 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
43325 ieee754/flt-32 implementation for sin, cos and sincos.
43326 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
43327 * sysdeps/i386/fpu/s_cosf.S: Likewise.
43328 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
43329 * sysdeps/i386/fpu/s_sinf.S: Likewise.
43330 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
43331 ieee754/flt-32 implementation for tan.
43332
43333 * math/libm-test.inc (cos_test): Enable some large input tests for
43334 float as well
43335 (sin_test): Likewise.
43336 (sincos_test): Likewise.
43337 (tan_test): Add tests for large input.
43338
43339 * sysdeps/i386/fpu/libm-test-ulps: Update.
43340
81c64153
AJ
433412012-03-15 Andreas Jaeger <aj@suse.de>
43342
43343 [BZ #13658]
43344 * math/libm-test.inc (cos_test): Add more test cases.
43345 (sin_test): Likewise.
43346 (sincos_test): Likewise.
43347
7bbfa5c6
AJ
433482012-03-15 Andreas Jaeger <aj@suse.de>
43349
43350 [BZ #13837]
43351 * math/libm-test.inc (cos_test): Add a test case for large input
43352 value.
43353 (sin_test): Likewise.
43354 (sincos_test): Likewise.
43355
57f41c40
AS
433562012-03-15 Andreas Jaeger <aj@suse.de>
43357 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
43358
43359 [BZ #13658]
0671f479 43360 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
43361 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
43362 * sysdeps/i386/fpu/branred.c: Likewise.
43363 * sysdeps/i386/fpu/dosincos.c: Likewise.
43364 * sysdeps/i386/fpu/mpa.c: Likewise.
43365 * sysdeps/i386/fpu/s_cos.S: Likewise.
43366 * sysdeps/i386/fpu/s_sin.S: Likewise.
43367 * sysdeps/i386/fpu/s_sincos.S: Likewise.
43368 * sysdeps/i386/fpu/sincos32.c: Likewise.
43369
43370 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
43371 Define.
43372 (libc_feupdateenv_53bit): Define.
43373 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
43374 Define.
43375 (libc_feupdateenv_53bit): Define.
43376
43377 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
43378 53 bit (without extend i386 double precision).
43379
43380 * math/libm-test.inc (sincos_test): Add tests for large input.
43381 (sin): Likewise.
43382 (cos): Likewise.
43383
43384 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43385
9cad04ea
AS
433862012-03-15 Andreas Schwab <schwab@linux-m68k.org>
43387
43388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43389
f7062b9a
DM
433902012-03-15 David S. Miller <davem@davemloft.net>
43391
43392 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
43393 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
43394 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
43395 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
43396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
43397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
43398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
43399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
43400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
43401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
43402 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
43403 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
43404 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
43405 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
43406 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
43407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
43408 file.
f7062b9a 43409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
43410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
43411 file.
f7062b9a 43412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
43413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
43414 file.
f7062b9a 43415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
43416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
43417 file.
f7062b9a
DM
43418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
43419 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
43420 fmin/fmax sysdep routines.
43421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43422
7bd951ff
DM
434232012-03-14 David S. Miller <davem@davemloft.net>
43424
559398ab
DM
43425 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
43426 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
43427 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
43428 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
43429 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
43430 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
43431 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
43432 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
43433 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
43434 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
43435 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
43436 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
43437 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
43438 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
43439 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
43440 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
43441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
43442 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
43443 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
43444 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
43445 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
43446 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
43447 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
43448 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
43449 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
43450 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
43451 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
43452 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
43453 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
43454 routines.
43455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
43456 file.
559398ab 43457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
43458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
43459 file.
559398ab 43460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
43461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
43462 file.
559398ab 43463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
43464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
43465 file.
559398ab 43466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
43467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
43468 file.
559398ab 43469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
43470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
43471 file.
43472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
43473 file.
43474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
43475 file.
43476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
43477 file.
43478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
43479 New file.
43480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
43481 file.
43482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
43483 file.
559398ab 43484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
43485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
43486 file.
559398ab 43487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
43488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
43489 file.
559398ab 43490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
43491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
43492 file.
559398ab 43493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
43494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
43495 VIS3 routines.
559398ab
DM
43496
43497 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
43498 New file.
43499
5a1c1e32
DM
43500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43501
eae47a36
DM
43502 * sysdeps/sparc/configure.in: New file.
43503 * sysdeps/sparc/configure: Generate.
43504 * configure.in (libc_cv_sparc_as_vis3): Substitute.
43505 * configure: Regenerate.
43506 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
43507 * config.make.in (have-as-vis3): New.
43508 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
43509 available use -Av9d instead of -Av9a.
43510 * sysdeps/sparc/sparc64/Makefile: Likewise.
43511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
43512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
43513 New file.
43514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
43515 file.
43516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
43517 New file.
43518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
43519 file.
eae47a36
DM
43520 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
43521 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
43522 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
43523 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
43524 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
43525
c0c83bc8
DM
43526 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
43527 fzeros/fnegs to load 0x80000000 into a float register instead of
43528 using the stack.
7bd951ff
DM
43529 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
43530
bd951ccb
JM
435312012-03-14 Joseph Myers <joseph@codesourcery.com>
43532
43533 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43534 bits/syscall.h.
43535 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
43536 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
43537 ($(inst_includedir)/bits/syscall.h): Remove rule.
43538 ($(objpfx)bits/syscall.d): Include instead of
43539 $(objpfx)syscall-list.d.
43540 (generated): Change syscall-list.h and syscall-list.d to
43541 bits/syscall.h and bits/syscall.d.
43542
bb4e6db2
RM
435432012-03-14 Roland McGrath <roland@hack.frob.com>
43544
43545 [BZ #13846]
43546 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
43547
aa4a2ae1
JM
435482012-03-14 Joseph Myers <joseph@codesourcery.com>
43549
e456826d
JM
43550 [BZ #13841]
43551 * math/s_csqrt.c: Include <float.h>.
43552 (__csqrt): Scale large or subnormal inputs.
43553 * math/s_csqrtf.c: Likewise.
43554 * math/s_csqrtl.c: Likewise.
43555 * math/libm-test.inc (csqrt_test): Add more tests.
43556 * sysdeps/i386/fpu/libm-test-ulps: Update.
43557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43558
aa4a2ae1
JM
43559 [BZ #13840]
43560 * math/libm-test.inc (hypot_test): Add more tests.
43561
7c10fd35
DM
435622012-03-13 David S. Miller <davem@davemloft.net>
43563
43564 [BZ #13840]
43565 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
43566 double-precision for the calculation instead of scaling.
43567
f453b98b
JM
435682012-03-13 Joseph Myers <joseph@codesourcery.com>
43569
43570 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
43571 manipulate bits before adding and subtracting TWO52[sx].
43572 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
43573 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
43574 Likewise.
43575 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
43576
09a3453f
DM
435772012-03-13 David S. Miller <davem@davemloft.net>
43578
8e59da90
DM
43579 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
43580 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
43581 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
43582 rtld-global-offsets.h
43583 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43584
2a8ab7f2
DM
43585 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
43586 large parameters.
43587
10f62770
DM
43588 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
43589
5f0bdb18
DM
43590 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
43591 'err' in the ifdef scope in which it is actually used.
43592
09a3453f
DM
43593 * nss/nss_db/db-init.c: Include string.h
43594
b4b2eb5e
DM
435952012-03-12 David S. Miller <davem@davemloft.net>
43596
98bb2f1c
DM
43597 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43598 masking out of the most significant byte of random value used.
43599 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43600 Fix coding style in previous change.
43601
b4b2eb5e
DM
43602 * sysdeps/unix/sysv/linux/kernel-features.h
43603 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
43604 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
43605 expression.
43606 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
43607 later.
43608
6e226b09
DM
436092012-03-11 David S. Miller <davem@davemloft.net>
43610
a1bcbd40
DM
43611 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43612 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
43613 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
43614 for 'resultvar' otherwise things get truncated on 64-bit.
43615
cb9d6174
DM
43616 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43617 Fix masking out of the most significant byte of random value used.
43618
6e226b09
DM
43619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43620
058c132d
AS
436212012-03-10 Andreas Schwab <schwab@linux-m68k.org>
43622
43623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43624
2d2cd515
DM
436252012-03-09 David S. Miller <davem@davemloft.net>
43626
43627 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
43628 variables with appropriate CPP guards.
57f41c40
AS
43629 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
43630 from the frame pointer, not the stack pointer. Correct layout
43631 comments. Fix test on resulting framesize and the management of
43632 the outregs buffer for pltexit. Preserve floating point return
43633 values across _dl_call_pltexit call.
2d2cd515
DM
43634 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
43635 framesize and the management of the outregs buffer for pltexit.
43636 Preserve floating point return values across _dl_call_pltexit
43637 call.
57f41c40
AS
43638 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
43639 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
43640 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
43641 (print_exit): Fix format string for return register value.
43642
9a07f9d0
JM
436432012-03-10 Joseph Myers <joseph@codesourcery.com>
43644
43645 * sunrpc/Makefile (others): Add rpcgen.
43646 ($(objpfx)rpcgen): Remove special build rule and dependency on
43647 libc.
43648 * sunrpc/rpcgen.c: New file.
43649
547b5e30
PE
436502012-03-09 Paul Eggert <eggert@cs.ucla.edu>
43651
c524201a
PE
43652 [BZ #13673]
43653 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
43654 * stdio-common/bug-vfprintf-nargs.c: Likewise.
43655 * sysdeps/i386/crti.S: Likewise.
43656 * sysdeps/i386/crtn.S: Likewise.
43657 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
43658 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
43659 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
43660 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
43661 * sysdeps/sh/crti.S: Likewise.
43662 * sysdeps/sh/crtn.S: Likewise.
43663 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43664
7b6235f2
PE
43665 [BZ #13673]
43666 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
43667 with URL.
43668 * locale/programs/locfile-kw.gperf: Likewise.
43669 * locale/programs/charmap-kw.h: Regenerated.
43670 * locale/programs/locfile-kw.h: Likewise.
43671
547b5e30
PE
43672 [BZ #13673]
43673 * intl/plural.y: Replace FSF snail mail address with URL.
43674 * intl/plural.c: Regenerated.
43675
5f0a5dae
RH
436762012-03-09 Richard Henderson <rth@twiddle.net>
43677
43678 * include/math_private.h: Remove file.
43679 * math/math_private.h: Move file ...
43680 * sysdeps/generic/math_private.h: ... here.
43681
b8c03620
RH
43682 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
43683 * sysdeps/powerpc/fpu/math_private.h: Likewise.
43684 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43685
4e234f5d 43686 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
43687 and <math_private.h>.
43688 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43689 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43690 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43691 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43692 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43693 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
43694 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43695 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43696 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43697 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43698 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43699 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43700 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43701 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43702 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43703 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43704 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43705 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43706 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43707 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43708 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43709 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43710 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43711 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43712 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43713 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43714 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43715 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43716 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43717 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43718 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43719 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43720 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43721 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43722 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43723 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43724 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43725 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43726 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43727 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43728 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
43729 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43730 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43731 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43732 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43733 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43734 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
43735 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43736 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43737 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43738 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43739 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
43740 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43741 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43742 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43743 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43744 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43745 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43746 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43747 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
43748 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43749 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43750 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43751 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43752 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
43753 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43754 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43755 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43756 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
43757 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
43758 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43759 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43760 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43761 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43762 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
43763 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
43764 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
43765 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43766 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
43767 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
43768 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43769 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
43770 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43771 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43772 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43773 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43774 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
43775 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
43776 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43777 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43778 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43779 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43780 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43781 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43782 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43783 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43784 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43785 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43786 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43787 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43788 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43789 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43790 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43791 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43792 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43793 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43794 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43795 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43796 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43797 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43798 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43799 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43800 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43801 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43802 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
43803 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43804 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43805 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43806 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43807 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43808 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43809 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43810 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43811 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
43812 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43813 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43814 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43815 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
43816 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43817 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
43818 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
43819 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43820 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43821 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
43822 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
43823 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43824 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43825 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43826 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
43827 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43828 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43829 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43830 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43831 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
43832 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
43833 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43834 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43835 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43836 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
43837 * sysdeps/ieee754/k_standard.c: Likewise.
43838 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43839 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43840 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43841 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43842 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43843 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43844 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43845 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43846 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43847 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43848 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43849 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43850 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43851 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43852 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43853 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43854 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43855 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43856 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43857 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
43858 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
43859 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
43860 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43861 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43862 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43863 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
43864 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43865 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43866 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43867 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43868 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43869 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43870 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43871 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43872 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43873 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43874 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43875 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
43876 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
43877 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43878 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43879 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43880 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43881 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43882 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43883 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43884 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43885 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43886 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43887 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43888 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43889 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43890 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43891 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
43892 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43893 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43894 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
43895 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
43896 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43897 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43898 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43899 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43900 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43901 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43902 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43903 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43904 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43905 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43906 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43907 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43908 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43909 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43910 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43911 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43912 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43913 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43914 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
43915 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43916 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43917 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43918 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43919 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43920 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43921 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43922 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
43923 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43924 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43925 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
43926 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43927 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43928 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
43929 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43930 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43931 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43932 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43933 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43934 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
43935 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43936 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43937 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
43938 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43939 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43940 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43941 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43942 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
43943 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43944 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43945 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43946 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
43947 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43948 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43949 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43950 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43951 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43952 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43953 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43954 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43955 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43956 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43957 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43958 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43959 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43960 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43961 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43962 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43963 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
43964 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43965 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43966 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43967 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43968 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43969 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43970 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43971 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43972 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43973 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43974 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
43975 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43976 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43977 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
43978 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
43979 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43980 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
43981 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43982 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43983 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43984 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43985 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43986 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43987 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43988 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43989 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43990 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43991 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43992 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43993 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43994 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43995 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43996 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43997 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43998 * sysdeps/ieee754/s_lib_version.c: Likewise.
43999 * sysdeps/ieee754/s_matherr.c: Likewise.
44000 * sysdeps/ieee754/s_signgam.c: Likewise.
44001 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44002 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44003 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
44004 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
44005 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
44006 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44007 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
44008 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
44009 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
44010 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
44011 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44012 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
44013 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44014 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44015 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
44016 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44017 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44018 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
44019 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44020 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44021 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 44022
1991fa03
JM
440232012-03-09 Joseph Myers <joseph@codesourcery.com>
44024
44025 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
44026 * sunrpc/rpc_main.c: Likewise.
44027 * sunrpc/rpc_svcout.c: Likewise.
44028
60d6f5a6
DM
440292012-03-09 David S. Miller <davem@davemloft.net>
44030
44031 * include/math_private.h: New file.
44032
4962050e
JM
440332012-03-09 Joseph Myers <joseph@codesourcery.com>
44034
02a6f887
JM
44035 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
44036 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
44037 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
44038 from <bits/socket_type.h>.
44039 (enum __socket_type): Don't define here.
44040 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
44041 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44042 bits/socket_type.h.
44043
c6e013c1
JM
44044 [BZ #13566]
44045 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44046 checking __USE_GNU.
44047
4962050e
JM
44048 * Makerules ($(inst_includedir)/%.h): New rule.
44049 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
44050 (install-others): Remove variable setting.
44051 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
44052
38842f45
RH
440532012-03-08 Richard Henderson <rth@twiddle.net>
44054
67bb6da6
RH
44055 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
44056 from macro to inline function; merge with the
44057 !__LIBC_INTERNAL_MATH_INLINES version.
44058 (__ieee754_sqrtf): Likewise.
44059
15194b4b
RH
44060 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
44061 to inline function.
44062 (__rintf, __floor, __floorf): Likewise.
44063
64e21ede
RH
44064 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
44065 macro to inline function.
44066 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
44067
38842f45
RH
44068 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
44069 not <math/math_private.h>.
44070
c64bf5fe
DM
440712012-03-08 David S. Miller <davem@davemloft.net>
44072
44073 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
44074 copyright year.
44075 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
44076
82d86f28
TS
440772012-03-08 Thomas Schwinge <thomas@codesourcery.com>
44078
44079 * resolv/gai_misc.c (handle_requests): Fix struct timespec
44080 normalization.
44081 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
44082 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
44083
aea5d727
UD
440842012-03-08 Ulrich Drepper <drepper@gmail.com>
44085
44086 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
44087 be defined individually, they must be defined as a block. Define
44088 S for printing a string instead of hidint the different by using a
44089 macro for adding the 'l'.
44090 * stdio-common/tst-fphex-wide.c: Adjust.
44091
70bca0a3
MP
440922012-03-07 Marek Polacek <polacek@redhat.com>
44093
44094 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44095
65b81130
MP
440962012-03-08 Marek Polacek <polacek@redhat.com>
44097
44098 [BZ #13806]
44099 * stdio-common/Makefile (tests): Add tst-fphex-wide.
44100 * stdio-common/tst-fphex.c: Define a few macros to make the
44101 test reusable. Use them.
44102 * stdio-common/tst-fphex-wide.c: New file.
44103
07037eeb
JM
441042012-03-08 Joseph Myers <joseph@codesourcery.com>
44105
a7a93d50
JM
44106 [BZ #6911]
44107 * manual/macros.texi (gnusystems): New macro.
44108 (nongnusystems): Likewise.
44109 (gnulinuxhurdsystems): Likewise.
44110 (gnuhurdsystems): Likewise..
44111 (gnulinuxsystems): Likewise.
44112 * manual/charset.texi: Use new macros or @theglibc{} to refer to
44113 variants of the GNU system, not "GNU system".
44114 * manual/conf.texi: Likewise.
44115 * manual/errno.texi: Likewise. Update example of errno macro
44116 expansion.
44117 * manual/filesys.texi: Likewise.
44118 (getumask): Document as specific to GNU/Hurd.
44119 * manual/install.texi: Likewise. Reword some references to
44120 GNU/Linux.
44121 * manual/intro.texi: Likewise.
44122 * manual/io.texi: Likewise.
44123 (File Name Portability): Detail which constraints are inapplicable
44124 to all GNU systems and which are only inapplicable to GNU/Hurd.
44125 * manual/job.texi: Likewise.
44126 * manual/llio.texi: Likewise.
44127 (O_NOCTTY): Document as present on GNU/Linux.
44128 * manual/maint.texi: Likewise.
44129 * manual/memory.texi: Likewise.
44130 * manual/pattern.texi: Likewise.
44131 * manual/pipe.texi: Likewise.
44132 * manual/process.texi: Likewise.
44133 * manual/resource.texi: Likewise.
44134 (RUSAGE_CHILDREN): Remove statement about specifying a particular
44135 child on GNU/Hurd.
44136 * manual/setjmp.texi: Likewise.
44137 * manual/signal.texi: Likewise.
44138 * manual/startup.texi: Likewise.
44139 * manual/stdio.texi: Likewise.
44140 * manual/terminal.texi: Likewise.
44141 (ONLCR): Document as POSIX.
44142 (OXTABS): Document availability on GNU/Linux as XTABS.
44143 (ONOEOT): Document availability separately from other bits.
44144 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44145 * manual/time.texi: Likewise.
44146 * manual/users.texi: Likewise.
44147 * INSTALL: Regenerated.
44148 * sysdeps/gnu/errlist.c: Regenerated.
44149
07037eeb
JM
44150 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44151 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44152 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
44153 puts.
44154 * configure: Regenerated.
44155
d1d3431a
JM
441562012-03-07 Joseph Myers <joseph@codesourcery.com>
44157
af6a1e37
JM
44158 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
44159 default includes instead of AC_HEADER_CHECK.
44160 * sysdeps/i386/configure: Regenerated.
44161
d1d3431a
JM
44162 [BZ #10716]
44163 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
44164 * math/s_cacoshf.c (__cacoshf): Likewise.
44165 * math/s_cacoshl.c (__cacoshl): Likewise.
44166 * math/s_casinh.c (__casinh): Set signs of result from argument.
44167 * math/s_casinhf.c (__casinhf): Likewise.
44168 * math/s_casinhl.c (__casinhl): Likewise.
44169 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
44170 (casinh_test): Add more tests.
44171 * sysdeps/i386/fpu/libm-test-ulps: Update.
44172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44173
482ff4da
UD
441742012-03-07 Ulrich Drepper <drepper@gmail.com>
44175
872fda05
UD
44176 * po/zh_TW.po: Update from translation team.
44177
a4300c7a
UD
44178 * login/Makefile (distribute): Remove variable.
44179 * catgets/Makefile: Likewise.
44180 * mach/Makefile: Likewise.
44181 * malloc/Makefile: Likewise.
44182 * misc/Makefile: Likewise.
44183 * iconv/Makefile: Likewise.
44184 * nscd/Makefile: Likewise.
44185 * hurd/Makefile: Likewise.
44186 * manual/Makefile: Likewise.
44187 * locale/Makefile: Likewise.
44188 * intl/Makefile: Likewise.
44189 * conform/Makefile: Likewise.
44190 * nss/Makefile: Likewise.
44191 * time/Makefile: Likewise.
44192 * soft-fp/Makefile: Likewise.
44193 * dirent/Makefile: Likewise.
44194 * gmon/Makefile: Likewise.
44195 * po/Makefile: Likewise.
44196 * rt/Makefile: Likewise.
44197 * socket/Makefile: Likewise.
44198 * math/Makefile: Likewise.
44199 * signal/Makefile: Likewise.
44200 * debug/Makefile: Likewise.
44201 * elf/Makefile: Likewise.
44202 * timezone/Makefile: Likewise.
44203 * stdlib/Makefile: Likewise.
44204 * iconvdata/Makefile: Likewise.
44205 * sunrpc/Makefile: Likewise.
44206 * io/Makefile: Likewise.
44207 * argp/Makefile: Likewise.
44208 * inet/Makefile: Likewise.
44209 * hesiod/Makefile: Likewise.
44210 * grp/Makefile: Likewise.
44211 * csu/Makefile: Likewise.
44212 * wctype/Makefile: Likewise.
44213 * crypt/Makefile: Likewise.
44214 * libio/Makefile: Likewise.
44215 * string/Makefile: Likewise.
44216 * nis/Makefile: Likewise.
44217 * resolv/Makefile: Likewise.
44218 * stdio-common/Makefile: Likewise.
44219 * wcsmbs/Makefile: Likewise.
44220 * dlfcn/Makefile: Likewise.
44221 * posix/Makefile: Likewise.
44222
3b7c4e74 44223 [BZ #6959]
482ff4da
UD
44224 * timezone/Makefile: Don't install timezone files, just the programs
44225 and scripts.
44226
f72ed77d
UD
442272012-03-06 Ulrich Drepper <drepper@gmail.com>
44228
a000466f
UD
44229 * nss/databases.def: Add missing gshadow entry.
44230
f72ed77d
UD
44231 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
44232
a53b7a4e
MP
442332012-03-06 Marek Polacek <polacek@redhat.com>
44234
44235 [BZ #13726]
44236 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
44237 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44238 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
44239 * stdio-common/tst-long-dbl-fphex.c: New file.
44240
e9258400
DM
442412012-03-06 David S. Miller <davem@davemloft.net>
44242
44243 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44244 (set_obp_int): New function.
44245 (get_obp_int): New function.
44246 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
44247 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
44248 Avoid unused variable warnings on 'val' and use builtin_expect.
44249 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
44250 __builtin_expect.
e9258400
DM
44251 (INLINE_CLONE_SYSCALL): Likewise.
44252
3bd2c723
DM
442532012-03-05 David S. Miller <davem@davemloft.net>
44254
44255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44256
bbb78d03
AS
442572012-03-05 Andreas Schwab <schwab@linux-m68k.org>
44258
884c5db4
AS
44259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44260
bbb78d03
AS
44261 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
44262 only for |x| >= 40.
44263 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44264
1c9f702a 442652012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
44266
44267 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
44268 Replace gettimeofday with __vdso_gettimeofday.
44269
7be16f82
RM
44270 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44271 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
44272 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
44273
44274 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
44275 time with __vdso_time.
44276
ed58a00f
JM
442772012-03-05 Joseph Myers <joseph@codesourcery.com>
44278
44279 * manual/lang.texi (size_t): Note types to which size_t may be
44280 equivalent with the GNU C Library, but do not describe when
44281 differences between them are significant.
44282
30ee4ced
AJ
442832012-03-05 Andreas Jaeger <aj@suse.de>
44284
44285 * sysdeps/i386/fpu/libm-test-ulps: Update.
44286
b7cd39e8
JM
442872012-03-05 Joseph Myers <joseph@codesourcery.com>
44288
44289 [BZ #3976]
44290 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
44291 (__ieee754_pow): Save and restore rounding mode and use
44292 round-to-nearest for main computations.
44293 * math/libm-test.inc (pow_test_tonearest): New function.
44294 (pow_test_towardzero): Likewise.
44295 (pow_test_downward): Likewise.
44296 (pow_test_upward): Likewise.
44297 (main): Call the new functions.
44298 * sysdeps/i386/fpu/libm-test-ulps: Update.
44299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
44300
44301 [BZ #3976]
44302 * math/libm-test.inc (cosh_test_tonearest): New function.
44303 (cosh_test_towardzero): Likewise.
44304 (cosh_test_downward): Likewise.
44305 (cosh_test_upward): Likewise.
44306 (sinh_test_tonearest): Likewise.
44307 (sinh_test_towardzero): Likewise.
44308 (sinh_test_downward): Likewise.
44309 (sinh_test_upward): Likewise.
44310 (main): Call the new functions.
44311 * sysdeps/i386/fpu/libm-test-ulps: Update.
44312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44313
6c6a98c9
TV
443142012-03-05 Tom de Vries <tom@codesourcery.com>
44315
44316 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
44317 default stack guard is set in last bytes.
44318 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
44319
21bb2d2e 443202012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 44321
21bb2d2e 44322 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 44323
21bb2d2e
AJ
44324 [BZ #13656]
44325 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
44326 possibly allocate from heap instead of stack.
44327 * stdio-common/bug-vfprintf-nargs.c: New file.
44328 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 44329
c6922934
AS
443302012-03-03 Andreas Schwab <schwab@linux-m68k.org>
44331
44332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44333
bc957d53
MP
443342012-03-03 Marek Polacek <polacek@redhat.com>
44335
44336 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
44337 * math/math_private.h: Likewise.
44338 * stdlib/tst-strtod.c: Likewise.
44339 * sysdeps/i386/i486/bits/atomic.h: Likewise.
44340 * sysdeps/x86_64/bits/atomic.h: Likewise.
44341
6358490d
DM
443422012-03-02 David S. Miller <davem@davemloft.net>
44343
44344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
44345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
44346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
44347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
44348 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
44349 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
44350 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
44351 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
44352
01ae168d
RM
443532012-03-02 Roland McGrath <roland@hack.frob.com>
44354
d9a17c07
RM
44355 [BZ #13792]
44356 * manual/examples/README: New file, says the example source files
44357 can be used under GPL>=2.
44358 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
44359 line containing just "*/".
44360 * manual/examples/add.c: Add copyright header (GPL>=2).
44361 * manual/examples/argp-ex1.c: Likewise.
44362 * manual/examples/argp-ex2.c: Likewise.
44363 * manual/examples/argp-ex3.c: Likewise.
44364 * manual/examples/argp-ex4.c: Likewise.
44365 * manual/examples/atexit.c: Likewise.
44366 * manual/examples/db.c: Likewise.
44367 * manual/examples/dir.c: Likewise.
44368 * manual/examples/dir2.c: Likewise.
44369 * manual/examples/execinfo.c: Likewise.
44370 * manual/examples/filecli.c: Likewise.
44371 * manual/examples/filesrv.c: Likewise.
44372 * manual/examples/fmtmsgexpl.c: Likewise.
44373 * manual/examples/genpass.c: Likewise.
44374 * manual/examples/inetcli.c: Likewise.
44375 * manual/examples/inetsrv.c: Likewise.
44376 * manual/examples/isockad.c: Likewise.
44377 * manual/examples/longopt.c: Likewise.
44378 * manual/examples/memopen.c: Likewise.
44379 * manual/examples/memstrm.c: Likewise.
44380 * manual/examples/mkfsock.c: Likewise.
44381 * manual/examples/mkisock.c: Likewise.
44382 * manual/examples/mygetpass.c: Likewise.
44383 * manual/examples/pipe.c: Likewise.
44384 * manual/examples/popen.c: Likewise.
44385 * manual/examples/rprintf.c: Likewise.
44386 * manual/examples/search.c: Likewise.
44387 * manual/examples/select.c: Likewise.
44388 * manual/examples/setjmp.c: Likewise.
44389 * manual/examples/sigh1.c: Likewise.
44390 * manual/examples/sigusr.c: Likewise.
44391 * manual/examples/stpcpy.c: Likewise.
44392 * manual/examples/strdupa.c: Likewise.
44393 * manual/examples/strftim.c: Likewise.
44394 * manual/examples/strncat.c: Likewise.
44395 * manual/examples/subopt.c: Likewise.
44396 * manual/examples/swapcontext.c: Likewise.
44397 * manual/examples/termios.c: Likewise.
44398 * manual/examples/testopt.c: Likewise.
44399 * manual/examples/testpass.c: Likewise.
44400 * manual/examples/timeval_subtract.c: Likewise.
44401
01ae168d
RM
44402 [BZ #13792]
44403 * manual/time.texi (Elapsed Time): Move timeval_subtract example
44404 function to ...
44405 * manual/timeval_subtract.c.texi: ... here, new file.
44406
49efa33d
DM
444072012-03-02 David S. Miller <davem@davemloft.net>
44408
44409 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
44410
28afd92d
JM
444112012-03-02 Joseph Myers <joseph@codesourcery.com>
44412
804360ed
JM
44413 [BZ #3976]
44414 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
44415 (__sin): Save and restore rounding mode and use round-to-nearest
44416 for all computations.
44417 (__cos): Save and restore rounding mode and use round-to-nearest
44418 for all computations.
44419 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
44420 <fenv.h>.
44421 (tan): Save and restore rounding mode and use round-to-nearest for
44422 all computations.
44423 * math/libm-test.inc (cos_test_tonearest): New function.
44424 (cos_test_towardzero): Likewise.
44425 (cos_test_downward): Likewise.
44426 (cos_test_upward): Likewise.
44427 (sin_test_tonearest): Likewise.
44428 (sin_test_towardzero): Likewise.
44429 (sin_test_downward): Likewise.
44430 (sin_test_upward): Likewise.
44431 (tan_test_tonearest): Likewise.
44432 (tan_test_towardzero): Likewise.
44433 (tan_test_downward): Likewise.
44434 (tan_test_upward): Likewise.
44435 (main): Call the new functions.
44436 * sysdeps/i386/fpu/libm-test-ulps: Update.
44437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44438
a6d06d7b
JM
44439 [BZ #10135]
44440 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
44441 small n, then large n, before computing and testing k+n.
44442 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44443 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
44444 Likewise.
44445 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
44446 Likewise.
44447 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
44448 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
44449 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
44450 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
44451 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44452 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44453 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
44454 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
44455 * math/libm-test.inc (scalbn_test): Add more tests.
44456 (scalbln_test): Likewise.
44457
07e12bb3
JM
44458 * manual/filesys.texi (mode_t): Describe constraints on size and
44459 signedness, not exact equivalence to a particular type.
44460 (ino_t): Likewise.
44461 (ino64_t): Likewise.
44462 (dev_t): Likewise.
44463 (nlink_t): Likewise.
44464 (blkcnt_t): Likewise.
44465 (blkcnt64_t): Likewise.
44466 * manual/llio.texi (off_t): Likewise.
44467
28afd92d
JM
44468 [BZ #3976]
44469 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
44470 (__ieee754_exp): Save and restore rounding mode and use
44471 round-to-nearest for all computations.
44472 * math/libm-test.inc (exp_test_tonearest): New function.
44473 (exp_test_towardzero): Likewise.
44474 (exp_test_downward): Likewise.
44475 (exp_test_upward): Likewise.
44476 (main): Call the new functions.
44477 * sysdeps/i386/fpu/libm-test-ulps: Update.
44478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44479
b1eeb65d
CD
444802012-03-01 Chris Demetriou <cgd@google.com>
44481
44482 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
44483 have predictable order.
44484
53362a4b
DM
444852012-03-01 David S. Miller <davem@davemloft.net>
44486
3c969083
DM
44487 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
44488
759707de
DM
44489 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
44490 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
44491 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
44492 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
44493
dfdb8ff2
DM
44494 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
44495 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
44496 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
44497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
44498 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
44499 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
44500 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
44501 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
44502 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
44503
ead89f96
DM
44504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44505
7f66bd07
DM
44506 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
44507 * sysdeps/sparc/fpu/libm-test-ulps: to here.
44508 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
44509
53362a4b
DM
44510 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
44511 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44512 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44513 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
44514 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
44515 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
44516 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
44517 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44518 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44519 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
44520 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
44521 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44522 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44523 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44524 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44525 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44526 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
44527 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
44528 * sysdeps/sparc/elf/configure: Regenerated.
44529
7b1902cb
JM
445302012-03-01 Joseph Myers <joseph@codesourcery.com>
44531
bec039bc
JM
44532 * configure.in (AS, LD): Require binutils 2.20 or later.
44533 * configure: Regenerated.
44534 * manual/install.texi (Tools for Compilation): Give binutils 2.20
44535 as required minimum version.
44536 * INSTALL: Regenerated.
44537
7b1902cb
JM
44538 [BZ #2541]
44539 [BZ #4108]
44540 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
44541 before squaring exponent.
44542 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
44543 bottom long double and 27 bits of top long double before squaring
44544 exponent.
44545 * math/libm-test.inc (erfc_test): Add more tests.
44546 * sysdeps/i386/fpu/libm-test-ulps: Update.
44547 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44549
f775c276
KT
445502012-03-01 Kai Tietz <ktietz@redhat.com>
44551
44552 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
44553 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
44554 containing bit-fields.
44555 * soft-fp/extended.h (_FP_UNION_E): Likewise.
44556 * soft-fp/single.h (_FP_UNION_S): Likewise.
44557 * soft-fp/double.h (_FP_UNION_D): Likewise.
44558
5b8a4d4a
JM
445592012-02-29 Joseph Myers <joseph@codesourcery.com>
44560
0bab47b6
JM
44561 [BZ #13786]
44562 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
44563 not include ../strcmp.S.
44564 [USE_AS_STRNCASECMP_L]: Likewise.
44565 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
44566 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
44567 * sysdeps/i386/i686/multiarch/strncase_l-c.c
44568 (__strncasecmp_l_ia32): Define as alias to
44569 __strncasecmp_l_nonascii.
44570
0fcad3e2
JM
44571 [BZ #5794]
44572 * math/libm-test.inc (expm1_test): Add test for bug 5794.
44573 * sysdeps/i386/fpu/libm-test-ulps: Update.
44574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44575
5b8a4d4a
JM
44576 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
44577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44578
8fdceb2e
JL
445792012-02-29 Jeff Law <law@redhat.com>
44580
44581 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
44582 out of bounds read.
44583
1f393a11
MP
445842012-02-29 Marek Polacek <polacek@redhat.com>
44585
44586 [BZ #13706]
44587 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
44588 * elf/Makefile: Add rules to run tst-unused-dep.out.
44589
8847f037
DM
445902012-02-28 David S. Miller <davem@davemloft.net>
44591
44592 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
44593 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
44594 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
44595 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
44596 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
44597 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
44598
169d7f11
JM
445992012-02-29 Joseph Myers <joseph@codesourcery.com>
44600
44601 * math/libm-test.inc (llround_test): Move one test from
44602 lround_test. Use TEST_f_L in moved test.
44603 (lround_test): Move misplaced test to llround_test. Add testcase
44604 from bug 2561.
44605
39adf059
UD
446062012-02-28 Ulrich Drepper <drepper@gmail.com>
44607
44608 * sysdeps/x86_64/fpu/e_expf.S: New file.
44609 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
44610
71b5d1c5
SB
446112012-02-28 Stanislav Brabec <sbrabec@suse.cz>
44612
44613 [BZ #13637]
44614 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
44615 of remain_len that may cause incomplete multi-byte character and
44616 false match.
44617 * posix/bug-regex33.c: New file.
44618 * posix/Makefile (tests): Add bug-regex33.
44619
1f77f049
JM
446202012-02-28 Joseph Myers <joseph@codesourcery.com>
44621
44622 * manual/macros.texi: New file.
44623 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
44624 * manual/libc.texinfo: Include macros.texi.
44625 * manual/creatute.texi: Likewise.
44626 * manual/install.texi: Likewise.
44627 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
44628 @glibcadj{} in references to the GNU C Library.
44629 * manual/charset.texi: Likewise.
44630 * manual/conf.texi: Likewise.
44631 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
44632 when not using those macros.
44633 * manual/creature.texi: Likewise.
44634 * manual/crypt.texi: Likewise.
44635 * manual/errno.texi: Likewise.
44636 * manual/filesys.texi: Likewise.
44637 * manual/header.texi: Likewise.
44638 * manual/install.texi: Likewise.
44639 * manual/intro.texi: Likewise.
44640 * manual/io.texi: Likewise.
44641 * manual/job.texi: Likewise.
44642 * manual/lang.texi: Likewise.
44643 * manual/libc.texiinfo: Likewise.
44644 * manual/llio.texi: Likewise.
44645 * manual/locale.texi: Likewise.
44646 * manual/maint.texi: Likewise.
44647 * manual/math.texi: Likewise.
44648 * manual/memory.texi: Likewise.
44649 * manual/message.texi: Likewise.
44650 * manual/nss.texi: Likewise.
44651 * manual/pattern.texi: Likewise.
44652 * manual/process.texi: Likewise.
44653 * manual/resource.texi: Likewise.
44654 * manual/search.texi: Likewise.
44655 * manual/setjmp.texi: Likewise.
44656 * manual/signal.texi: Likewise.
44657 * manual/socket.texi: Likewise.
44658 * manual/startup.texi: Likewise.
44659 * manual/stdio.texi: Likewise.
44660 * manual/string.texi: Likewise.
44661 * manual/sysinfo.texi: Likewise.
44662 * manual/syslog.texi: Likewise.
44663 * manual/terminal.texi: Likewise.
44664 * manual/time.texi: Likewise.
44665 * manual/users.texi: Likewise.
44666 * INSTALL: Regenerated.
44667 * NOTES: Regenerated.
d40c5d54 44668 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 44669
450bf206
AS
446702012-02-28 Andreas Schwab <schwab@linux-m68k.org>
44671
44672 * include/dirent.h: Include <dirstream.h> before
44673 <dirent/dirent.h>.
44674
741a235b
DM
446752012-02-28 David S. Miller <davem@davemloft.net>
44676
44677 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
44678 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
44679 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
44680 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
44681
d6b5aa58
DM
446822012-02-27 David S. Miller <davem@davemloft.net>
44683
1aff59a3
DM
44684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
44685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
44686 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
44687 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
44688
d6b5aa58
DM
44689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
44690 frame pointer instead of stack pointer relative arg slot.
44691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44692 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44693 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44694
433f48bf
CD
446952012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
44696
44697 [BZ #3992]
44698 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
44699
d674b76d
DM
447002012-02-27 David S. Miller <davem@davemloft.net>
44701
44702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
44703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
44706 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44707 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44708 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
44709 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
44710
0e7727f7
JM
447112012-02-27 Joseph Myers <joseph@codesourcery.com>
44712
44713 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
44714 later. Allow versions 5-9.
43be4ca2 44715 * configure: Regenerated.
0e7727f7
JM
44716 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
44717 required minimum version and 4.6 as recommended version. Do not
44718 mention bugs in GCC 2.7 and 2.8.
43be4ca2 44719 * INSTALL: Regenerated.
0e7727f7 44720
a78bc654
DM
447212012-02-27 David S. Miller <davem@davemloft.net>
44722
428d5830
DM
44723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
44724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
44725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
44726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
44727 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
44728 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
44729 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
44730 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
44731
a78bc654
DM
44732 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
44733 manipulate bits before adding and subtracting TWO112[sx].
44734 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
44735
4579f81c
RM
447362012-02-27 Roland McGrath <roland@hack.frob.com>
44737
36c8acb4
RM
44738 [BZ #13775]
44739 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
44740 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
44741 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
44742 being in POSIX, because they are in 1003.1-2008.
44743
84ad622b
RM
44744 * rt/tst-aio.c: Include <fcntl.h>.
44745 * rt/tst-aio7.c: Likewise.
44746 * rt/tst-aio64.c: Likewise.
44747
4579f81c
RM
44748 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
44749
abd923db
JM
447502012-02-27 Joseph Myers <joseph@codesourcery.com>
44751
44752 * manual/install.texi (--with-headers): Describe headers as
44753 interface headers, not private headers.
44754 (Specific advice for GNU/Linux systems): Describe use of headers
44755 from "make headers_install", not private headers from older
44756 kernels.
43be4ca2 44757 * INSTALL: Regenerated.
abd923db
JM
44758 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
44759 Change to 2.6.19.
44760 * sysdeps/unix/sysv/linux/configure: Regenerated.
44761
6664049b
JM
44762 * manual/llio.texi (fclean): Remove documentation.
44763
bb8b6697
JM
44764 * manual/Makefile (libc-texi-generated): New variable. Include
44765 version.texi.
44766 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
44767 $(libc-texi-generated), not duplicated list of files.
44768 (version.texi, stamp-version): New rules.
44769 (realclean): Remove $(libc-texi-generated), not individual files
44770 from that list. Do not remove dir-add.texinfo.
44771 * manual/libc.texinfo: Comment out uses of edition numbers and
44772 references to printed manual. Remove last-updated dates.
44773 (EDITION): Comment out.
44774 (ISBN): Likewise.
44775 (VERSION, UPDATED): Remove.
44776 (version.texi): Include.
44777
12e5c3b9
AS
447782012-02-27 Andreas Schwab <schwab@linux-m68k.org>
44779
44780 * sysdeps/posix/spawni.c: Include <signal.h>.
44781 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
44782 * sysdeps/pthread/aio_fsync.c: Likewise.
44783
4efeffc1 447842012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 44785
ba63ba08
UD
44786 * conform/Makefile (tests): Run only when not cross-compiling and
44787 when fast-check is not defined.
44788
d94a4670
UD
44789 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
44790 * conform/data/limits.h-data: Fixes for POSIX2008.
44791 * conform/run-conformtest.sh: Run all tests.
44792 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
44793 headers.
44794 * include/bits/dlfcn.h: Likewise.
44795 * include/langinfo.h: Likewise.
44796 * include/monetary.h: Likewise.
44797 * include/sys/poll.h: Likewise.
44798
44799 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
44800 for __USE_GNU.
44801 * posix/spawn.h: Define __need_sigset_t.
44802 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
44803 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
44804 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
44805 to get sigevent_t only.
44806 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
44807 only for __USE_GNU.
44808 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44809 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44810 process_vm_writev only for __USE_GNU.
44811 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
44812
44813 * conform/Makefile: For now ignore errors from run-conformtest.
44814 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
44815 POSIX to avoid namespace pollution. Don't prepend headers.
44816 * conform/data/aio.h-data: Fixes for POSIX testing.
44817 * conform/data/fcntl.h-data: Likewise.
44818 * conform/data/glob.h-data: Likewise.
44819 * conform/data/grp.h-data: Likewise.
44820 * conform/data/pthread.h-data: Likewise.
44821 * conform/data/pwd.h-data: Likewise.
44822 * conform/data/signal.h-data: Likewise.
44823 * conform/data/spawn.h-data: Likewise.
44824 * conform/data/stdio.h-data: Likewise.
44825 * conform/data/stdlib.h-data: Likewise.
44826 * conform/data/stropts.h-data: Likewise.
44827 * conform/data/sys/mman.h-data: Likewise.
44828 * conform/data/sys/stat.h-data: Likewise.
44829 * conform/data/sys/types.h-data: Likewise.
44830 * conform/data/sys/wait.h-data: Likewise.
44831 * conform/data/time.h-data: Likewise.
44832 * conform/data/unistd.h-data: Likewise.
44833 * conform/data/utime.h-data: Likewise.
44834
44835 * io/sys/stat.h: fchmod was always in POSIX.
44836 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
44837 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
44838 * rt/aio.h: Define __need_timespec before including <time.h>.
44839 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
44840 struct. Add forward declaration of pthread_attr_t and use it in
44841 sigevent.
44842 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44843 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44844 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
44845 always remove CLK_TCK definition.
44846
c20105c3
AS
448472012-02-26 Andreas Schwab <schwab@linux-m68k.org>
44848
44849 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
44850
7a270350
UD
448512012-02-25 Ulrich Drepper <drepper@gmail.com>
44852
31341567
UD
44853 * conform/run-conformtest.sh: New file.
44854 * conform/Makefile: Run run-conformtest for tests.
44855 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
44856 support.
44857
44858 * conform/data/uchar.h-data: New file.
44859 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
44860 * conform/data/arpa/inet.h-data: Likewise.
44861 * conform/data/assert.h-data: Likewise.
44862 * conform/data/complex.h-data: Likewise.
44863 * conform/data/cpio.h-data: Likewise.
44864 * conform/data/ctype.h-data: Likewise.
44865 * conform/data/dirent.h-data: Likewise.
44866 * conform/data/dlfcn.h-data: Likewise.
44867 * conform/data/errno.h-data: Likewise.
44868 * conform/data/fcntl.h-data: Likewise.
44869 * conform/data/float.h-data: Likewise.
44870 * conform/data/fmtmsg.h-data: Likewise.
44871 * conform/data/fnmatch.h-data: Likewise.
44872 * conform/data/ftw.h-data: Likewise.
44873 * conform/data/glob.h-data: Likewise.
44874 * conform/data/grp.h-data: Likewise.
44875 * conform/data/iconv.h-data: Likewise.
44876 * conform/data/inttypes.h-data: Likewise.
44877 * conform/data/langinfo.h-data: Likewise.
44878 * conform/data/libgen.h-data: Likewise.
44879 * conform/data/limits.h-data: Likewise.
44880 * conform/data/locale.h-data: Likewise.
44881 * conform/data/math.h-data: Likewise.
44882 * conform/data/monetary.h-data: Likewise.
44883 * conform/data/mqueue.h-data: Likewise.
44884 * conform/data/ndbm.h-data: Likewise.
44885 * conform/data/net/if.h-data: Likewise.
44886 * conform/data/netdb.h-data: Likewise.
44887 * conform/data/netinet/in.h-data: Likewise.
44888 * conform/data/nl_types.h-data: Likewise.
44889 * conform/data/poll.h-data: Likewise.
44890 * conform/data/pthread.h-data: Likewise.
44891 * conform/data/pwd.h-data: Likewise.
44892 * conform/data/regex.h-data: Likewise.
44893 * conform/data/sched.h-data: Likewise.
44894 * conform/data/search.h-data: Likewise.
44895 * conform/data/semaphore.h-data: Likewise.
44896 * conform/data/setjmp.h-data: Likewise.
44897 * conform/data/signal.h-data: Likewise.
44898 * conform/data/spawn.h-data: Likewise.
44899 * conform/data/stdarg.h-data: Likewise.
44900 * conform/data/stdio.h-data: Likewise.
44901 * conform/data/stdlib.h-data: Likewise.
44902 * conform/data/string.h-data: Likewise.
44903 * conform/data/strings.h-data: Likewise.
44904 * conform/data/stropts.h-data: Likewise.
44905 * conform/data/sys/ipc.h-data: Likewise.
44906 * conform/data/sys/mman.h-data: Likewise.
44907 * conform/data/sys/msg.h-data: Likewise.
44908 * conform/data/sys/resource.h-data: Likewise.
44909 * conform/data/sys/select.h-data: Likewise.
44910 * conform/data/sys/sem.h-data: Likewise.
44911 * conform/data/sys/shm.h-data: Likewise.
44912 * conform/data/sys/socket.h-data: Likewise.
44913 * conform/data/sys/stat.h-data: Likewise.
44914 * conform/data/sys/statvfs.h-data: Likewise.
44915 * conform/data/sys/time.h-data: Likewise.
44916 * conform/data/sys/timeb.h-data: Likewise.
44917 * conform/data/sys/times.h-data: Likewise.
44918 * conform/data/sys/types.h-data: Likewise.
44919 * conform/data/sys/uio.h-data: Likewise.
44920 * conform/data/sys/un.h-data: Likewise.
44921 * conform/data/sys/utsname.h-data: Likewise.
44922 * conform/data/sys/wait.h-data: Likewise.
44923 * conform/data/syslog.h-data: Likewise.
44924 * conform/data/tar.h-data: Likewise.
44925 * conform/data/termios.h-data: Likewise.
44926 * conform/data/utime.h-data: Likewise.
44927 * conform/data/utmpx.h-data: Likewise.
44928 * conform/data/varargs.h-data: Likewise.
44929 * conform/data/wchar.h-data: Likewise.
44930 * conform/data/wctype.h-data: Likewise.
44931 * conform/data/wordexp.h-data: Likewise.
44932
44933 * include/stropts.h: New file.
44934 * include/uchar.h: New file.
44935 * include/aio.h: Changes to allow conformtest.pl to use the headers.
44936 * include/assert.h: Likewise.
44937 * include/ctype.h: Likewise.
44938 * include/dirent.h: Likewise.
44939 * include/dlfcn.h: Likewise.
44940 * include/fcntl.h: Likewise.
44941 * include/fnmatch.h: Likewise.
44942 * include/glob.h: Likewise.
44943 * include/grp.h: Likewise.
44944 * include/libio.h: Likewise.
44945 * include/locale.h: Likewise.
44946 * include/math.h: Likewise.
44947 * include/net/if.h: Likewise.
44948 * include/netdb.h: Likewise.
44949 * include/netinet/in.h: Likewise.
44950 * include/pthread.h: Likewise.
44951 * include/pwd.h: Likewise.
44952 * include/regex.h: Likewise.
44953 * include/sched.h: Likewise.
44954 * include/search.h: Likewise.
44955 * include/setjmp.h: Likewise.
44956 * include/signal.h: Likewise.
44957 * include/stdio.h: Likewise.
44958 * include/stdlib.h: Likewise.
44959 * include/string.h: Likewise.
44960 * include/sys/cdefs.h: Likewise.
44961 * include/sys/mman.h: Likewise.
44962 * include/sys/msg.h: Likewise.
44963 * include/sys/resource.h: Likewise.
44964 * include/sys/select.h: Likewise.
44965 * include/sys/socket.h: Likewise.
44966 * include/sys/stat.h: Likewise.
44967 * include/sys/statvfs.h: Likewise.
44968 * include/sys/time.h: Likewise.
44969 * include/sys/times.h: Likewise.
44970 * include/sys/uio.h: Likewise.
44971 * include/sys/utsname.h: Likewise.
44972 * include/sys/wait.h: Likewise.
44973 * include/termios.h: Likewise.
44974 * include/time.h: Likewise.
44975 * include/ulimit.h: Likewise.
44976 * include/unistd.h: Likewise.
44977 * include/utime.h: Likewise.
44978 * include/wchar.h: Likewise.
44979 * include/wctype.h: Likewise.
44980 * include/wordexp.h: Likewise.
44981
44982 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44983
7a270350
UD
44984 * time/time.h: TIME_UTC must be a macro.
44985 Make timespec_get available for ISO C11 only as well.
44986
7724defc
UD
449872012-02-24 Ulrich Drepper <drepper@gmail.com>
44988
44989 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44990 Reported by Peng Haitao <penght@cn.fujitsu.com>.
44991
6b1d1d46
JM
449922012-02-24 Joseph Myers <joseph@codesourcery.com>
44993
44994 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 44995
0f8bbd69
JM
449962012-02-24 Joseph Myers <joseph@codesourcery.com>
44997
44998 * manual/texinfo.tex: Update to version 2012-01-19.16.
44999
66ab80bc
JM
450002012-02-24 Joseph Myers <joseph@codesourcery.com>
45001
45002 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
45003
74981cc5
RM
450042012-02-24 Roland McGrath <roland@hack.frob.com>
45005
ee968201
RM
45006 [BZ #13738]
45007 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
45008 * manual/fdl-1.3.texi: New file.
45009 * manual/fdl-1.1.texi: File removed.
45010
74981cc5
RM
45011 [BZ #13738]
45012 * manual/libc.texinfo (FDL_VERSION): New @set.
45013 Use it for mention of FDL in cover text.
45014 (Documentation License): Use it in @include file name.
45015
7bb764bc
JM
450162012-02-22 Joseph Myers <joseph@codesourcery.com>
45017 Roland McGrath <roland@hack.frob.com>
45018
45019 [BZ #5461]
57f41c40
AS
45020 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
45021 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
45022 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
45023 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
45024 name.
45025 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
45026
6cbeae47
JM
450272012-02-22 Joseph Myers <joseph@codesourcery.com>
45028
45029 [BZ #2547]
45030 [BZ #11365]
45031 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
45032 manipulate bits before adding and subtracting TWO23[sx].
45033 * math/libm-test.inc (nearbyint_test): Add more tests.
45034
fe45ce09
JM
450352012-02-22 Joseph Myers <joseph@codesourcery.com>
45036
45037 [BZ #2548]
45038 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
45039 bits before adding and subtracting TWO23[sx].
45040 * math/libm-test.inc (rint_test): Add more tests.
45041 (rint_test_tonearest): Likewise.
45042 (rint_test_towardzero): Likewise.
45043 (rint_test_downward): Likewise.
45044 (rint_test_upward: Likewise.
45045
ff3b3d82
JM
450462012-02-22 Joseph Myers <joseph@codesourcery.com>
45047
45048 [BZ #10110]
45049 * include/stdc-predef.h: New file. Extracted from features.h.
45050 * include/features.h: Include stdc-predef.h.
45051 * Makefile (headers): Add stdc-predef.h.
45052 * CONFORMANCE (Compiler limitations): Update.
45053
ef0aab35
JM
450542012-02-22 Joseph Myers <joseph@codesourcery.com>
45055
45056 * manual/libc.texinfo (VERSION, UPDATED): Revert.
45057
58639409
DM
450582012-02-21 David S. Miller <davem@davemloft.net>
45059
45060 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
45061 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45062
c0e70b25
DM
450632012-02-20 David S. Miller <davem@davemloft.net>
45064
45065 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
45066 using a normal save/restore sequence, rather than allocating a
45067 dummy stack frame just to store a frame pointer and restore.
45068 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45069
fb06851d
JM
450702012-02-21 Joseph Myers <joseph@codesourcery.com>
45071
45072 * manual/install.texi: Fix stray word in line-wrapped comment.
45073
7a8b71c3
DM
450742012-02-20 David S. Miller <davem@davemloft.net>
45075
d510c123
DM
45076 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
45077 both binutils and gcc support GOTDATA.
45078
0722d7c2
DM
45079 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
45080 "rd %pc" in the PIC register setup sequences.
45081
3d2b3019
DM
45082 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
45083 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45084 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45085 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45086 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45087 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45088 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45089 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45090 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45091 (SYSCALL_ERROR_HANDLER): Likewise.
45092 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45093 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45094 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45095 (SYSCALL_ERROR_HANDLER): Likewise.
45096
c80098a9
DM
45097 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45098 (HAVE_GCC_GOTDATA): New.
45099 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45100 relocation support in both binutils and gcc.
45101 * sysdeps/sparc/elf/configure: Regenerate.
45102
3a2545a0
DM
45103 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45104 * sysdeps/sparc/sparc32/elf/configure: Delete.
45105 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45106 * sysdeps/sparc/sparc64/elf/configure: Delete.
45107 * sysdeps/sparc/elf/configure.in: New file.
45108 * sysdeps/sparc/elf/configure: Generate.
45109
7a8b71c3
DM
45110 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45111 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45112 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45113 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45114 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45115
f1e86fca
JM
451162012-02-21 Joseph Myers <joseph@codesourcery.com>
45117
45118 * manual/install.texi: Do not mention specific glibc version
45119 numbers.
45120 * manual/libc.texinfo (VERSION, UPDATED): Update.
45121 (@copying): Use @copyright{} and range of years.
45122
0e7dfaef
JM
451232012-02-21 Joseph Myers <joseph@codesourcery.com>
45124
45125 [BZ #13695]
45126 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45127 [crti.S not in sysdirs] (generated): Do not append.
45128 [crti.S not in sysdirs] (omit-deps): Likewise.
45129 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45130 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45131 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45132 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45133 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45134 Likewise.
45135 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45136 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45137 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45138 * csu/defs.awk: Remove file.
45139 * sysdeps/generic/initfini.c: Likewise.
45140 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45141 variable.
45142 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45143 Likewise.
45144
599af3ca
JM
451452012-02-20 Joseph Myers <joseph@codesourcery.com>
45146
45147 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45148 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45149 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45150 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45151 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45152 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
45153 <bits/epoll.h>.
45154 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
45155 (__EPOLL_PACKED): Define to empty if not defined by
45156 <bits/epoll.h>.
45157 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
45158 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45159 bits/epoll.h.
45160
0e499750
JM
451612012-02-20 Joseph Myers <joseph@codesourcery.com>
45162
45163 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
45164 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
45165 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
45166 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45167 <bits/timerfd.h>.
45168 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
45169 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45170 bits/timerfd.h.
45171
5ad91f6e
JM
451722012-02-20 Joseph Myers <joseph@codesourcery.com>
45173
45174 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
45175 in C locale.
45176 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45177 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45178 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
45179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45180
06b99b02
AJ
451812012-02-20 Aurelien Jarno <aurelien@aurel32.net>
45182
45183 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45184 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45185
7638c0fd
AS
451862012-02-19 Andreas Schwab <schwab@linux-m68k.org>
45187
45188 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
45189 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
45190 defined.
45191 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
45192 Likewise.
45193 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
45194 entry for 2.16.
45195
92221550
AJ
451962012-02-19 Aurelien Jarno <aurelien@aurel32.net>
45197
45198 * math/w_acos.c: Use non-signaling floating-point comparisons.
45199 * math/w_acosf.c: Likewise.
45200 * math/w_acosh.c: Likewise.
45201 * math/w_acoshf.c: Likewise.
45202 * math/w_acoshl.c: Likewise.
45203 * math/w_acosl.c: Likewise.
45204 * math/w_asin.c: Likewise.
45205 * math/w_asinf.c: Likewise.
45206 * math/w_asinl.c: Likewise.
45207 * math/w_atanh.c: Likewise.
45208 * math/w_atanhf.c: Likewise.
45209 * math/w_atanhl.c: Likewise.
45210 * math/w_exp2.c: Likewise.
45211 * math/w_exp2f.c: Likewise.
45212 * math/w_exp2l.c: Likewise.
45213 * math/w_j0.c: Likewise.
45214 * math/w_j0f.c: Likewise.
45215 * math/w_j0l.c: Likewise.
45216 * math/w_j1.c: Likewise.
45217 * math/w_j1f.c: Likewise.
45218 * math/w_j1l.c: Likewise.
45219 * math/w_jn.c: Likewise.
45220 * math/w_jnf.c: Likewise.
45221 * math/w_log.c: Likewise.
45222 * math/w_log10.c: Likewise.
45223 * math/w_log10f.c: Likewise.
45224 * math/w_log10l.c: Likewise.
45225 * math/w_log2.c: Likewise.
45226 * math/w_log2f.c: Likewise.
45227 * math/w_log2l.c: Likewise.
45228 * math/w_logf.c: Likewise.
45229 * math/w_logl.c: Likewise.
45230 * math/w_sqrt.c: Likewise.
45231 * math/w_sqrtf.c: Likewise.
45232 * math/w_sqrtl.c: Likewise.
45233 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45234 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
45235 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45236 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45237 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45238
ebaf36eb
JM
452392012-02-19 Joseph Myers <joseph@codesourcery.com>
45240
45241 [BZ #9739]
45242 * manual/string.texi (strnlen): Use correct parameter name in
45243 equivalent expression.
45244
71c254a6
JM
452452012-02-19 Joseph Myers <joseph@codesourcery.com>
45246
45247 [BZ #11174]
45248 * manual/users.texi (seteuid): Consistently use neweuid for
45249 argument name.
45250
16d2c631
JM
452512012-02-19 Joseph Myers <joseph@codesourcery.com>
45252
45253 [BZ #13704]
45254 * manual/nss.texi (Services in the NSS configuration): Correct
45255 list of services in example configuration file.
45256
cd837b09
NB
452572012-02-19 Nick Bowler <nbowler@draconx.ca>
45258
45259 [BZ #11322]
45260 * manual/arith.texi: Remove statements about negative zero
45261 behaving identically to zero.
45262
02c4bbad
JM
452632012-02-18 Joseph Myers <joseph@codesourcery.com>
45264
45265 [BZ #5993]
45266 * manual/install.texi: Do not document upgrading from libc5.
45267
366842e7
JM
452682012-02-18 Joseph Myers <joseph@codesourcery.com>
45269
45270 [BZ #4596]
45271 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
45272
dd54084d
DM
452732012-02-18 David S. Miller <davem@davemloft.net>
45274
45275 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
45276 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
45277 %o7 across the call.
45278 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
45279 instead.
45280 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
45281 SETUP_PIC_REG_LEAF.
45282 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45283 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
45284 * sysdeps/sparc/crtn.S: Likewise.
45285
2bcc53a3
UD
452862012-02-17 Ulrich Drepper <drepper@gmail.com>
45287
45288 * aout/Makefile: Remove.
45289
09c093b5
RK
452902012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
45291
45292 [BZ #13058]
45293 * manual/examples/argp-ex1.c (main): Format definition in GNU
45294 style.
45295 * manual/examples/argp-ex2.c (main): Likewise.
45296 * manual/examples/argp-ex3.c (main): Likewise.
45297 * manual/examples/argp-ex4.c (main): Likewise.
45298 * manual/examples/longopt.c (main): Use new-style prototype
45299 definition.
45300 * manual/examples/strncat.c (main): Specify return type and use
45301 (void) for arguments.
45302 * manual/examples/subopt.c (main): Use char **argv argument.
45303
2ee633a2
JM
453042012-02-17 Joseph Myers <joseph@codesourcery.com>
45305
45306 [BZ #5077]
45307 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
45308 rounding modes.
45309
0520adde
FB
453102012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
45311
45312 [BZ #6907]
45313 * manual/string.texi (strchr): Change when strchrnul is
45314 recommended.
45315
3f4081cd
DGM
453162012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
45317
45318 [BZ #174]
45319 * manual/locale.texi (setlocale): Document LOCPATH.
45320
d1b10e78
JM
453212012-02-17 Joseph Myers <joseph@codesourcery.com>
45322
45323 [BZ #10210]
45324 * manual/process.texi (execle): Move @dots{} before last argument.
45325
79c6869c
PB
453262012-02-17 Paul Bolle <pebolle@tiscali.nl>
45327
45328 [BZ #12047]
45329 * manual/charset.texi (Generic Charset Conversion): Fix typo
45330 (LC_TYPE -> LC_CTYPE).
45331
cc6e48bc
NB
453322012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
45333
45334 [BZ #5805]
45335 * manual/arith.texi (scalbn): Use @var{} on parameter names.
45336 (scalbnf): Likewise.
45337 (scalbnl): Likewise.
45338 (scalbln): Likewise.
45339 (scalblnf): Likewise.
45340 (scalblnl): Likewise.
45341 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
45342 (vwarnx): Likewise.
45343 (verr): Likewise.
45344 (verrx): Likewise.
45345 * manual/filesys.texi (telldir): Use braces around return type.
45346 * manual/llio.texi (mmap): Add space after comma.
45347 (mmap64): Likewise.
45348 * manual/math.texi (jn): Use @var{} on parameter names.
45349 (jnf): Likewise.
45350 (jnl): Likewise.
45351 (yn): Likewise.
45352 (ynf): Likewise.
45353 (ynl): Likewise.
45354 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
45355 line.
45356 * manual/resource.texi (ulimit): Use @dots{} instead of literal
45357 "...".
45358 (sched_get_priority_min): Remove semicolon on @deftypefun line.
45359 (sched_get_priority_max): Likewise.
45360 * manual/signal.texi (sigvec): Add space after comma.
45361 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
45362 names.
45363 (if_indextoname): Likewise.
45364 (if_freenameindex): Likewise.
45365 (sendto): Use ',' instead of '.' in prototype.
45366 * manual/startup.texi (syscall): Use @dots{} instead of literal
45367 "...".
45368 * manual/stdio.texi (__fpending): Separate initial words of
45369 paragraph from @deftypefun line.
45370 * manual/syslog.texi (syslog): Use @dots{} instead of literal
45371 "...".
45372 (vsyslog): Use @var{} on parameter names.
45373 * manual/terminal.texi (stty): Use @var{} on parameter names.
45374 * manual/users.texi (getutmp): Use @var{} on parameter names.
45375 (getutmpx): Likewise.
45376
5b23062f
JM
453772012-02-17 Joseph Myers <joseph@codesourcery.com>
45378
45379 [BZ #6884]
45380 * manual/stdio.texi (fopen): Fix typos in description of
45381 ",ccs=STRING".
45382
8dee4833
AJ
453832012-02-17 Aurelien Jarno <aurelien@aurel32.net>
45384
45385 [BZ #4026]
45386 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
45387 get clock_id definition.
45388
9078ce93
TS
453892012-02-17 Thomas Schwinge <thomas@schwinge.name>
45390
45391 [BZ #4822]
45392 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
45393 (madvise): Cast every argument to void on its own.
45394
3835c55f
JM
453952012-02-17 Joseph Myers <joseph@codesourcery.com>
45396
45397 [BZ #9902]
45398 * manual/startup.texi (Exit Status): Fix typo.
45399
35c47e37
JM
454002012-02-17 Joseph Myers <joseph@codesourcery.com>
45401
45402 [BZ #10140]
45403 * manual/examples/argp-ex1.c: Include <stdlib.h>.
45404 * manual/examples/argp-ex2.c: Likewise.
45405 * manual/examples/argp-ex3.c: Likewise.
45406
e3b69ca7
RH
454072012-02-16 Richard Henderson <rth@redhat.com>
45408
45409 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
45410 * sysdeps/s390/s390-32/initfini.c: Remove.
45411 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
45412 * sysdeps/s390/s390-64/initfini.c: Remove.
45413
df83af67
KK
454142012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45415
45416 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
45417 compiler output for sysdeps/generic/initfini.c.
45418 * sysdeps/sh/elf/initfini.c: Remove file.
45419
f63f3380
DM
454202012-02-16 David S. Miller <davem@davemloft.net>
45421
fb59b3a4
DM
45422 [BZ #11494]
45423 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
45424
f63f3380
DM
45425 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
45426 * sysdeps/sparc/crti.S: New file.
45427 * sysdeps/sparc/crtn.S: New file.
45428 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
45429 * sysdeps/sparc/sparc64/Makefile: Likewise.
45430
df6a4a4a
MF
454312012-02-15 Mike Frysinger <vapier@gentoo.org>
45432
6dd8f3dc 45433 [BZ #3335]
df6a4a4a
MF
45434 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
45435
1cac7236
RM
454362012-02-15 Roland McGrath <roland@hack.frob.com>
45437
d2c736f8
RM
45438 [BZ #4822]
45439 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
45440
1cac7236
RM
45441 * mach/devstream.c (cookie_io_functions_t): Macro removed.
45442 (write, read, close): Likewise.
45443 Patch by Aurelien Jarno <aurelien@aurel32.net>.
45444
8e475601
JM
454452012-02-15 Joseph Myers <joseph@codesourcery.com>
45446
45447 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
45448 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
45449 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
45450 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
45451 <bits/signalfd.h>.
45452 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
45453 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45454 bits/signalfd.h.
45455
ed656b40
MP
454562012-02-14 Marek Polacek <polacek@redhat.com>
45457
45458 * sysdeps/x86_64/crti.S: New file.
45459 * sysdeps/x86_64/crtn.S: New file.
45460 * sysdeps/x86_64/elf/initfini.c: Remove file.
45461
2a979d3a
JM
454622012-02-13 Joseph Myers <joseph@codesourcery.com>
45463
45464 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
45465 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
45466 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
45467 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
45468 <bits/inotify.h>.
45469 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
45470 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45471 bits/inotify.h.
45472
2a418ac3
JM
454732012-02-13 Joseph Myers <joseph@codesourcery.com>
45474
45475 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
45476 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
45477 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
45478 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
45479 <bits/eventfd.h>.
45480 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
45481 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45482 bits/eventfd.h.
45483
fb779be7
TS
454842012-02-10 Thomas Schwinge <thomas@codesourcery.com>
45485
e19e83c5
RM
45486 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
45487 __feraiseexcept instead of feraiseexcept.
7c35ffed 45488
fb779be7
TS
45489 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
45490 nanosleep invocations.
45491 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
45492 strings, and add error checking for a nanosleep invocations.
45493
59ba27a6
PE
454942012-02-09 Paul Eggert <eggert@cs.ucla.edu>
45495
45496 Replace FSF snail mail address with URLs, as per GNU coding standards.
45497 Most of the snail mail addresses were wrong anyway, and omitting
45498 them makes the source code easier to maintain. Almost all of the
45499 changes are to license notices and to locale LC_IDENTIFICATION
45500 addresses, except for this one:
45501 * manual/libc.texinfo: In "Published by", give the FSF's URL,
45502 not its snail mail address.
45503
57b957eb
RH
455042012-02-09 Richard Henderson <rth@twiddle.net>
45505
af850b1c
RH
45506 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
45507 of kernel-features.h.
45508
57b957eb
RH
45509 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
45510
6b73181a
MP
455112012-02-08 Marek Polacek <polacek@redhat.com>
45512
45513 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
45514 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
45515 * sysdeps/gnu/_G_config.h: Likewise.
45516 * sysdeps/generic/_G_config.h: Likewise.
45517
26ecc33a
AS
455182012-02-08 Andreas Schwab <schwab@linux-m68k.org>
45519
6c6dbc63
AS
45520 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
45521 tests.
45522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45523
e216c012
AS
45524 * sysdeps/powerpc/powerpc32/crti.S: New file.
45525 * sysdeps/powerpc/powerpc32/crtn.S: New file.
45526 * sysdeps/powerpc/powerpc64/crti.S: New file.
45527 * sysdeps/powerpc/powerpc64/crtn.S: New file.
45528
26ecc33a
AS
45529 * Makeconfig (have-initfini): Don't set.
45530 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
45531 * configure.in (nopic_initfini): Don't substitute.
45532 * config.h.in (HAVE_INITFINI): Don't #undef.
45533 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
45534 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
45535
3add8e13
JM
455362012-02-08 Joseph Myers <joseph@codesourcery.com>
45537
45538 Support crti.S and crtn.S provided directly by architectures.
45539 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
45540 [crti.S in sysdirs] (omit-deps): Likewise.
45541 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
45542 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
45543 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
45544 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
45545 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
45546 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
45547 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
45548 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
45549 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
45550 compiler output for sysdeps/generic/initfini.c.
45551 * sysdeps/i386/elf/Makefile: Remove file.
45552 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
45553
a22f12b4
MP
455542012-02-07 Marek Polacek <polacek@redhat.com>
45555
45556 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
45557 * sysdeps/gnu/_G_config.h: Likewise.
45558 * sysdeps/mach/hurd/_G_config.h: Likewise.
45559
148cf100
MP
455602012-02-07 Marek Polacek <polacek@redhat.com>
45561
45562 * math/Makefile (tests): Add tst-CMPLX2.
45563 * math/tst-CMPLX2.c: New file.
45564
cfdc0dd7
AS
455652012-02-07 Andreas Schwab <schwab@linux-m68k.org>
45566
84ba42c4
AS
45567 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45568
cfdc0dd7
AS
45569 * math/libm-test.inc (jn_test): Add missing L suffix.
45570
622c86f4
MP
455712012-02-06 Marek Polacek <polacek@redhat.com>
45572
45573 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
45574 * sysdeps/i386/fpu/e_powf.S: Likewise.
45575 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45576 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45577 * sysdeps/i386/fpu/e_acosh.S: Likewise.
45578 * sysdeps/i386/fpu/e_pow.S: Likewise.
45579 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45580 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45581 * sysdeps/i386/fpu/s_expm1.S: Likewise.
45582 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45583 * sysdeps/i386/fpu/e_log2.S: Likewise.
45584 * sysdeps/i386/fpu/e_log2l.S: Likewise.
45585 * sysdeps/i386/fpu/e_scalb.S: Likewise.
45586 * sysdeps/i386/fpu/e_powl.S: Likewise.
45587 * sysdeps/i386/fpu/s_log1p.S: Likewise.
45588 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45589 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45590 * sysdeps/i386/fpu/e_logl.S: Likewise.
45591 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45592 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
45593 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45594 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45595 * sysdeps/i386/fpu/e_log2f.S: Likewise.
45596 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45597 * sysdeps/i386/fpu/e_log.S: Likewise.
45598 * sysdeps/i386/fpu/s_cexp.S: Likewise.
45599 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45600 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
45601 * sysdeps/i386/fpu/e_logf.S: Likewise.
45602 * sysdeps/i386/fpu/e_log10l.S: Likewise.
45603 * sysdeps/i386/fpu/e_atanh.S: Likewise.
45604 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
45605 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45606 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45607 * sysdeps/i386/fpu/e_log10.S: Likewise.
45608 * sysdeps/i386/fpu/s_frexp.S: Likewise.
45609 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45610 * sysdeps/i386/fpu/s_asinh.S: Likewise.
45611 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45612 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45613 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45614 * sysdeps/i386/asm-syntax.h: Likewise.
45615 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45616 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45617 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45618 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
45619 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
45620 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45621 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45622 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45623 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45624 * sysdeps/powerpc/sysdep.h: Likewise.
45625 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
45626 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45627
d4a54ac6
JM
456282012-02-06 Joseph Myers <joseph@codesourcery.com>
45629
45630 [BZ #411]
45631 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
45632
314054ea
JM
456332012-02-06 Joseph Myers <joseph@codesourcery.com>
45634
45635 * sysdeps/i386/sysdep.h: Include <features.h>.
45636 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
45637 version.
45638
d8e0ca50
JM
456392012-02-05 Joseph Myers <joseph@codesourcery.com>
45640
45641 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
45642 Define.
45643 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
45644 LOAD_PIC_REG_STR.
45645
b1da7dd9
JM
456462012-02-03 Joseph Myers <joseph@codesourcery.com>
45647
45648 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
45649 (SETUP_PIC_REG): Use GET_PC_THUNK.
45650 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
45651 macro.
45652
9a1d9254
JM
456532012-02-03 Joseph Myers <joseph@codesourcery.com>
45654
45655 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
45656 for non-PIC compilation.
45657 (SETUP_PIC_REG): Add .p2align directive.
45658 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
45659 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
45660 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45661 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45662 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45663 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45664 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
45665 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45666 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45667 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45668 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45669 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45670 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45671 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45672 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45673 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45674 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45675 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45676 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45677 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45678 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45679 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45680 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45681 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45682 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45683 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45684 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45685 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45686 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45687 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45688 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45689 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45690 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45691 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45692 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45693 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45694 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45695 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45696 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45697 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45698 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45699
65dc3b75
JM
457002012-02-03 Joseph Myers <joseph@codesourcery.com>
45701
45702 * math/tst-CMPLX.c: Include <stdio.h>.
45703
d55bf177
JM
457042012-01-31 Joseph Myers <joseph@codesourcery.com>
45705
45706 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
45707 float.
45708 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45709 * sysdeps/sparc/bits/mathdef.h: Likewise.
45710
69db4f8f
MP
457112012-01-31 Marek Polacek <polacek@redhat.com>
45712
45713 * libio/libio.h: Don't define _PARAMS.
45714 * locale/programs/config.h: Don't define PARAMS.
45715 * stdlib/strtol_l.c: Likewise.
45716 (__strtol_l): Remove PARAMS from the prototype.
45717
41b81892
UD
457182012-01-31 Ulrich Drepper <drepper@gmail.com>
45719
3b49edc0
UD
45720 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
45721 names. Just use the correct names. Remove unnecessary wrapper
45722 functions.
45723 * malloc/arena.c: Likewise.
45724 * malloc/hooks.c: Likewise.
45725
41b81892
UD
45726 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
45727 ARENA_TEST says not to. Simplify test for creation of a new arena.
45728 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
45729
27a25b6e
UD
457302012-01-30 Ulrich Drepper <drepper@gmail.com>
45731
45732 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
45733 into tail calls.
45734 (update_get_addr): New function.
45735 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
45736 GET_ADDR_MODULE parameter.
45737
c8a89e7d
JM
457382012-01-30 Joseph Myers <joseph@codesourcery.com>
45739
45740 * crypt/cert.c: Remove __STDC__ conditionals.
45741 * crypt/crypt-entry.c: Likewise.
45742 * crypt/crypt_util.c: Likewise.
45743 * libio/filedoalloc.c: Likewise.
45744 * libio/fileops.c: Likewise.
45745 * libio/genops.c: Likewise.
45746 * libio/iofclose.c: Likewise.
45747 * libio/iofdopen.c: Likewise.
45748 * libio/iofopen.c: Likewise.
45749 * libio/iofopen64.c: Likewise.
45750 * libio/iogetdelim.c: Likewise.
45751 * libio/iopopen.c: Likewise.
45752 * libio/obprintf.c: Likewise.
45753 * libio/oldfileops.c: Likewise.
45754 * libio/oldiofclose.c: Likewise.
45755 * libio/oldiofdopen.c: Likewise.
45756 * libio/oldiofopen.c: Likewise.
45757 * libio/oldiopopen.c: Likewise.
45758 * libio/wfiledoalloc.c: Likewise.
45759 * libio/wgenops.c: Likewise.
45760 * locale/programs/xmalloc.c: Likewise.
45761 * misc/syslog.c: Likewise.
45762 * stdio-common/xbug.c: Likewise.
45763 * string/memchr.c: Likewise.
45764 * string/memcmp.c: Likewise.
45765 * string/memrchr.c: Likewise.
45766 * string/rawmemchr.c: Likewise.
45767 * sysdeps/posix/getcwd.c: Likewise.
45768 * time/strftime_l.c: Likewise.
45769
3b100462
JM
457702012-01-30 Joseph Myers <joseph@codesourcery.com>
45771
45772 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
45773 * config.make.in (config-cflags-sse2avx): Define.
45774 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
45775 Fix typo.
45776
607998af
CM
457772012-01-29 Chris Metcalf <cmetcalf@tilera.com>
45778
45779 * scripts/config.guess: Update from upstream config git repository.
45780 * scripts/config.sub: Likewise.
45781
3601428f
CM
457822012-01-28 Chris Metcalf <cmetcalf@tilera.com>
45783
3ac8b282
CM
45784 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
45785 (EM_NUM): Update.
45786 (R_TILEPRO_*, R_TILEGX_*): New macros.
45787
e034841e
CM
45788 * scripts/firstversions.awk: Fix bug in version range handling.
45789
540d7568
CM
45790 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
45791
3601428f
CM
45792 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
45793
463de862
CM
45794 * include/sys/epoll.h: New file.
45795 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
45796 libc_hidden_def.
45797
73139a76
UD
457982012-01-28 Ulrich Drepper <drepper@gmail.com>
45799
96bc5b45
UD
45800 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
45801 Avoid unnecessary __WORDSIZE == 64 test.
45802 (fmaxf): Use VEX format if possible.
45803 (fmax): Likewise.
45804 (fminf): Likewise.
45805 (fmin): Likewise.
45806
56f6f6a2
UD
45807 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
45808 * math/math_private.h: Remove libc_fegetround* and
45809 libc_fesetround*.
45810 * sysdeps/i386/configure.in: Check for -msse2avx.
45811 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
45812 also if SSE2AVX is defined.
45813 Remove libc_fegetround* and libc_fesetround*.
45814 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
45815 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
45816 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
45817 of HAS_YMM_USABLE.
45818 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45819 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45820 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45821 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45822 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45823
73139a76
UD
45824 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
45825
d73f93a4
AZ
458262012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45827
45828 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
45829 size is not set.
45830 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45831
6ee65ed6
UD
458322012-01-27 Ulrich Drepper <drepper@gmail.com>
45833
45834 [BZ #13618]
45835 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
45836 relocation.
45837 * Makeconfig (libm): Define.
45838 * elf/Makefile: Add rules to build and run tst-relsort1.
45839 * elf/tst-relsort1.c: New file.
45840 * elf/tst-relsort1mod1.c: New file.
45841 * elf/tst-relsort1mod2.c: New file.
45842
8db21882
JM
458432012-01-27 Joseph Myers <joseph@codesourcery.com>
45844
45845 * math/s_ldexp.c: Remove __STDC__ conditionals.
45846 * math/s_ldexpf.c: Likewise.
45847 * math/s_ldexpl.c: Likewise.
45848 * math/s_nextafter.c: Likewise.
45849 * math/s_nexttowardf.c: Likewise.
45850 * math/s_significand.c: Likewise.
45851 * math/s_significandf.c: Likewise.
45852 * math/s_significandl.c: Likewise.
45853 * math/w_jnl.c: Likewise.
45854 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45855 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45856 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45857 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45858 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45859 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45860 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
45861 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45862 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45863 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45864 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45865 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45866 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45867 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45868 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45869 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45870 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45871 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45872 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45873 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45874 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45875 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45876 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45877 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45878 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45879 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45880 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45881 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45882 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45883 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45884 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45885 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45886 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45887 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45888 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45889 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45890 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45891 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45892 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45893 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45894 * sysdeps/ieee754/k_standard.c: Likewise.
45895 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45896 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45897 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45898 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45899 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45900 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45901 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45902 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45903 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45904 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45905 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45906 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45907 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45908 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45909 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45910 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45911 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45912 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45913 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45914 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45915 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45916 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45917 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45918 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45919 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45920 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45921 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45922 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45923 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45924 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45925 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45926 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
45927 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45928 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45929 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45930 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45931 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
45932 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45933 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45934 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
45935 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
45936 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45937 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
45938 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
45939 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45940 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45941 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45942 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45943 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45944 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
45945 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
45946 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45947 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45948 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45949 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45950 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45951 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
45952 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45953 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45954 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45955 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45956 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45957 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45958 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45959 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45960 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45961 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45962 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45963 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45964 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45965 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45966 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45967 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45968 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45969 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45970 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45971 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45972 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45973 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45974 * sysdeps/ieee754/s_matherr.c: Likewise.
45975 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45976 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45977 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45978 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45979
965a54a4
JM
459802012-01-26 Joseph Myers <joseph@codesourcery.com>
45981
45982 * crypt/md5.h: Remove __STDC__ conditionals.
45983 * libio/libioP.h: Likewise.
45984 * locale/programs/config.h: Likewise.
45985 * sysdeps/generic/sysdep.h: Likewise.
45986 * sysdeps/i386/asm-syntax.h: Likewise.
45987 * sysdeps/s390/asm-syntax.h: Likewise.
45988 * sysdeps/unix/sysdep.h: Likewise.
45989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45991
7071ad79
JM
459922012-01-26 Joseph Myers <joseph@codesourcery.com>
45993
45994 * libio/libio.h: Remove __STDC__ conditionals.
45995 * malloc/obstack.h: Likewise.
45996 * math/complex.h: Likewise.
45997 * math/math.h: Likewise.
45998 * sysdeps/generic/_G_config.h: Likewise.
45999 * sysdeps/gnu/_G_config.h: Likewise.
46000 * sysdeps/mach/hurd/_G_config.h: Likewise.
46001 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46002 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46003 * sysdeps/sparc/bits/mathdef.h: Likewise.
46004
afc5ed09
UD
460052012-01-26 Ulrich Drepper <drepper@gmail.com>
46006
46007 [BZ #13583]
46008 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 46009 Clean up HAS_* macros.
afc5ed09 46010 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
46011 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
46012 possible.
46013 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
46014 HAS_AVX.
46015 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46016 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46017 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46018 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46019 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 46020
bdb6de1d
JM
460212012-01-25 Joseph Myers <joseph@codesourcery.com>
46022
46023 * elf/tst-unique3.cc (gets): Remove declaration.
46024 * elf/tst-unique3lib.cc (gets): Likewise.
46025 * elf/tst-unique3lib2.cc (gets): Likewise.
46026 * elf/tst-unique4.cc (gets): Likewise.
46027
b15549e6
UD
460282012-01-24 Ulrich Drepper <drepper@gmail.com>
46029
46030 * include/stdio.h: Add C++ protection. Add gets declarations and
46031 definitions.
46032 * debug/tst-chk1.c: Don't declare gets here.
46033 * stdio-common/tst-gets.c: Likewise.
46034
a037381f
JM
460352012-01-24 Joseph Myers <joseph@codesourcery.com>
46036
46037 * posix/glob: Remove directory.
46038
f1d4aa75
JM
460392012-01-24 Joseph Myers <joseph@codesourcery.com>
46040
46041 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
46042
81c0c964
PT
460432012-01-22 Pino Toscano <toscano.pino@tiscali.it>
46044
46045 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46046 of the non-standard EPFNOSUPPORT.
46047
0ea698ae
ST
460482011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
46049
46050 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
46051 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
46052 ANYWHERE set to 1 only on KERN_NO_SPACE error.
46053
d220b117
UD
460542012-01-21 Ulrich Drepper <drepper@gmail.com>
46055
46056 * wcsmbs/uchar.h: Test __STDC_VERSION__.
46057
3e1aa84e
UD
460582012-01-20 Ulrich Drepper <drepper@gmail.com>
46059
46060 * nscd/aicache.c (addhstaiX): Do not cache negative results of
46061 transient errors.
46062 * nscd/grpcache.c (cache_addgr): Likewise.
46063 * nscd/hstcache.c (cache_addhst): Likewise.
46064 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46065 * nscd/pwdcache.c (cache_addpw): Likewise.
46066 * nscd/servicescache.c (cache_addserv): Likewise.
46067
400aa020
UD
460682012-01-16 Ulrich Drepper <drepper@gmail.com>
46069
d77e7869
UD
46070 * malloc/malloc.c: Various cleanups.
46071 * malloc/hooks.c: Likewise.
46072
400aa020
UD
46073 * stdlib/Makefile (tests): Add bug-fmtmsg1.
46074 * stdlib/bug-fmtmsg1.c: New file.
46075
46076 * stdlib/fmtmsg.c (init): Add missing unlock.
46077 Patch by Peng Haitao <penght@cn.fujitsu.com>.
46078
e0a309cf
MP
460792012-01-12 Marek Polacek <polacek@redhat.com>
46080
46081 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
46082 and _GNU_SOURCE.
46083
929d11c7
WS
460842012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
46085
46086 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46087 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46088 macro to ensure uniqueness of label name.
46089 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46090 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46091
41d0e869
UD
460922012-01-11 Ulrich Drepper <drepper@gmail.com>
46093
0cc5ed3b
UD
46094 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46095
41d0e869
UD
46096 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46097 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46098 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46099 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46100
a47a831a
UD
461012012-01-10 Ulrich Drepper <drepper@gmail.com>
46102
daa891c0
UD
46103 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46104
46105 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46106 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46107 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46108
e58ef0f2
UD
46109 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46110
a47a831a 46111 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
46112 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46113 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 46114 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
46115
46116 * math/bits/math-finite.h: Add ldexp support.
46117
a0bfc9c7
MP
461182012-01-10 Marek Polacek <polacek@redhat.com>
46119
46120 * locale/programs/localedef.h (show_archive_content): Add noreturn
46121 attribute.
46122
d6e97a1d
UD
461232012-01-09 Ulrich Drepper <drepper@gmail.com>
46124
46125 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46126
d5835c26
UD
461272012-01-08 Ulrich Drepper <drepper@gmail.com>
46128
e5f484c6
UD
46129 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46130
d5835c26
UD
46131 * io/Makefile (headers): Add bits/poll2.h.
46132
d1f741e9
WS
461332011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
46134
46135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46136 typo #include statement.
46137
ec09c1c4
UD
461382012-01-08 Ulrich Drepper <drepper@gmail.com>
46139
46140 * include/sys/cdefs.h: Define __attribute_alloc_size.
46141 * catgets/gencat.c: Add alloc_size attribute and apply consistently
46142 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46143 * elf/pldd.c: Likewise.
46144 * iconv/iconv_charmap.c: Likewise.
46145 * iconv/iconvconfig.c: Likewise.
46146 * iconv/strtab.c: Likewise.
46147 * locale/programs/locale.c: Likewise.
46148 * locale/programs/localedef.h: Likewise.
46149 * locale/programs/simple-hash.c: Likewise.
46150 * nscd/nscd.h: Likewise.
46151 * nss/makedb.c: Likewise.
46152 * sysdeps/generic/ldconfig.h: Likewise.
46153 * locale/programs/localedef.c: Remove xmalloc prototype.
46154 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
46155
20b38e03
PP
461562012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46157
46158 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
46159 appropriate.
46160
a0da5fe1
UD
461612012-01-08 Ulrich Drepper <drepper@gmail.com>
46162
1d5a644a 46163 * math/Makefile (tests): Add tst-CMPLX.
669704fd 46164 * math/tst-CMPLX.c: New file.
1d5a644a 46165
8784a6db
UD
46166 * math/complex.h (CMPLXL): Fix typo.
46167
d9a216c0
UD
46168 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
46169 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
46170 GLIBC_2.16.
46171 * debug/tst-chk1.c: Add poll and ppoll tests.
46172 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
46173 * include/sys/poll.h: Add hidden proto for ppoll.
46174 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
46175 * sysdeps/mach/hurd/ppoll.c: Likewise.
46176 * io/ppoll.c: Likewise.
46177 * debug/poll_chk.c: New file.
46178 * debug/ppoll_chk.c: New file.
46179 * include/bits/poll2.h: New file.
46180 * io/bits/poll2.h: New file.
46181
ac097f5c
UD
46182 [BZ #1350]
46183 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
46184
2119dcfa
UD
46185 * configure.in: static is always set to yes. Remove.
46186 * config.make.in: Don't set build-static.
46187 * Makeconfig: Remove use of build-static.
46188 * dlfcn/Makefile: Likewise.
46189 * elf/Makefile: Likewise.
46190 * math/Makefile: Likewise.
46191 * misc/Makefile: Likewise.
46192 * nptl/Makefile: Likewise.
46193 * sysdeps/mach/hurd/Makefile: Likewise.
46194
121766a9
UD
46195 * configure.in: PWD_P is not used anymore.
46196 * config.make.in: Remove PWD_P entry.
46197
51a1d39c 46198 * configure.in: Remove last remnants of RANLIB.
8720d066 46199 No need to check for signed size_t anymore.
215f4bdc
UD
46200 Don't set libc_commonpagesize and libc_relro_required here for Alpha
46201 and IA-64.
3857022a 46202 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
46203 * aclocal.m4: Likewise.
46204
d3ed7225
UD
46205 * wcsmbs/mbrtoc16.c: Implement using towc function.
46206 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
46207 * wcsmbs/wcsmbsload.c: Likewise.
46208 * iconv/gconv_simple.c: Likewise.
46209 * iconv/gconv_int.h: Likewise.
46210 * iconv/gconv_builtin.h: Likewise.
46211 * iconv/iconv_prog.c: Remove CHAR16 handling.
46212
46213 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
46214
46215 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
46216
a0da5fe1
UD
46217 * configure.in: Remove --with-elf and --enable-bounded options.
46218 Dont set base_machine for ia64. More non-ELF conditions removed.
46219 Remove testing and setting of leading underscore information.
46220 * config.make.in (build-bounded): Set to no.
46221 * config.h.in: Remove NO_UNDERSCORES entry.
46222 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
46223 them.
46224 * csu/start.c: Remove !NO_UNDERSCORE code.
46225 * locale/localeinfo.h: Likewise.
46226 * sysdeps/generic/machine-gmon.h: Likewise.
46227 * sysdeps/generic/sysdep.h: Likewise.
46228 * sysdeps/i386/sysdep.h: Likewise.
46229 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46230 * sysdeps/mach/sysdep.h: Likewise.
46231 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46232 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46233 * sysdeps/sh/sysdep.h: Likewise.
46234 * sysdeps/sparc/sparc32/alloca.S: Likewise.
46235 * sysdeps/unix/i386/sysdep.S: Likewise.
46236 * sysdeps/unix/sparc/start.c: Likewise.
46237 * sysdeps/unix/sparc/sysdep.S: Likewise.
46238 * sysdeps/unix/sparc/sysdep.h: Likewise.
46239 * sysdeps/unix/start.c: Likewise.
46240 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46241 * sysdeps/x86_64/sysdep.h: Likewise.
46242
df78418a
UD
462432012-01-07 Ulrich Drepper <drepper@gmail.com>
46244
a784e502
UD
46245 [BZ #13553]
46246 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
46247 for non-gcc.
46248 * argp/argp-fmtstream.h: Use const instead __const.
46249 * argp/argp.h: Likewise.
46250 * assert/assert.h: Likewise.
46251 * bits/fenv.h: Likewise.
46252 * bits/sched.h: Likewise.
46253 * bits/sigset.h: Likewise.
46254 * bits/sigthread.h: Likewise.
46255 * catgets/nl_types.h: Likewise.
46256 * conform/data/pthread.h-data: Likewise.
46257 * crypt/crypt-private.h: Likewise.
46258 * crypt/crypt.h: Likewise.
46259 * crypt/crypt_util.c: Likewise.
46260 * ctype/ctype.h: Likewise.
46261 * debug/execinfo.h: Likewise.
46262 * debug/mbsnrtowcs_chk.c: Likewise.
46263 * debug/mbsrtowcs_chk.c: Likewise.
46264 * debug/wcsnrtombs_chk.c: Likewise.
46265 * debug/wcsrtombs_chk.c: Likewise.
46266 * debug/wcstombs_chk.c: Likewise.
46267 * dirent/dirent.h: Likewise.
46268 * dlfcn/dlfcn.h: Likewise.
46269 * elf/neededtest4.c: Likewise.
46270 * grp/grp.h: Likewise.
46271 * gshadow/gshadow.h: Likewise.
46272 * iconv/gconv.h: Likewise.
46273 * iconv/gconv_int.h: Likewise.
46274 * iconv/gconv_simple.c: Likewise.
46275 * iconv/iconv.h: Likewise.
46276 * iconv/loop.c: Likewise.
46277 * iconv/skeleton.c: Likewise.
46278 * include/aio.h: Likewise.
46279 * include/aliases.h: Likewise.
46280 * include/argz.h: Likewise.
46281 * include/arpa/inet.h: Likewise.
46282 * include/assert.h: Likewise.
46283 * include/dirent.h: Likewise.
46284 * include/dlfcn.h: Likewise.
46285 * include/execinfo.h: Likewise.
46286 * include/fcntl.h: Likewise.
46287 * include/fenv.h: Likewise.
46288 * include/glob.h: Likewise.
46289 * include/grp.h: Likewise.
46290 * include/libintl.h: Likewise.
46291 * include/mntent.h: Likewise.
46292 * include/netdb.h: Likewise.
46293 * include/pwd.h: Likewise.
46294 * include/rpc/netdb.h: Likewise.
46295 * include/sched.h: Likewise.
46296 * include/search.h: Likewise.
46297 * include/shadow.h: Likewise.
46298 * include/signal.h: Likewise.
46299 * include/stdio.h: Likewise.
46300 * include/stdlib.h: Likewise.
46301 * include/string.h: Likewise.
46302 * include/sys/socket.h: Likewise.
46303 * include/sys/stat.h: Likewise.
46304 * include/sys/statfs.h: Likewise.
46305 * include/sys/statvfs.h: Likewise.
46306 * include/sys/syslog.h: Likewise.
46307 * include/sys/time.h: Likewise.
46308 * include/sys/uio.h: Likewise.
46309 * include/time.h: Likewise.
46310 * include/unistd.h: Likewise.
46311 * include/utmp.h: Likewise.
46312 * include/wchar.h: Likewise.
46313 * include/wctype.h: Likewise.
46314 * inet/aliases.h: Likewise.
46315 * inet/arpa/inet.h: Likewise.
46316 * inet/netinet/ether.h: Likewise.
46317 * inet/netinet/in.h: Likewise.
46318 * intl/libintl.h: Likewise.
46319 * io/bits/fcntl2.h: Likewise.
46320 * io/fcntl.h: Likewise.
46321 * io/ftw.h: Likewise.
46322 * io/sys/poll.h: Likewise.
46323 * io/sys/stat.h: Likewise.
46324 * io/sys/statfs.h: Likewise.
46325 * io/sys/statvfs.h: Likewise.
46326 * io/utime.h: Likewise.
46327 * libio/bits/stdio.h: Likewise.
46328 * libio/bits/stdio2.h: Likewise.
46329 * libio/libio.h: Likewise.
46330 * libio/libioP.h: Likewise.
46331 * libio/stdio.h: Likewise.
46332 * locale/lc-ctype.c: Likewise.
46333 * locale/locale.h: Likewise.
46334 * login/utmp.h: Likewise.
46335 * malloc/arena.c: Likewise.
46336 * malloc/malloc.c: Likewise.
46337 * malloc/malloc.h: Likewise.
46338 * malloc/mcheck.c: Likewise.
46339 * malloc/mtrace.c: Likewise.
46340 * math/bits/mathcalls.h: Likewise.
46341 * math/fenv.h: Likewise.
46342 * math/math_private.h: Likewise.
46343 * misc/bits/error.h: Likewise.
46344 * misc/bits/syslog.h: Likewise.
46345 * misc/err.h: Likewise.
46346 * misc/error.h: Likewise.
46347 * misc/fstab.h: Likewise.
46348 * misc/mntent.h: Likewise.
46349 * misc/regexp.h: Likewise.
46350 * misc/search.h: Likewise.
46351 * misc/sgtty.h: Likewise.
46352 * misc/sys/mman.h: Likewise.
46353 * misc/sys/syslog.h: Likewise.
46354 * misc/sys/uio.h: Likewise.
46355 * misc/sys/xattr.h: Likewise.
46356 * misc/ttyent.h: Likewise.
46357 * nis/rpcsvc/ypclnt.h: Likewise.
46358 * nss/nss.h: Likewise.
46359 * posix/bits/unistd.h: Likewise.
46360 * posix/fnmatch.h: Likewise.
46361 * posix/glob.h: Likewise.
46362 * posix/sched.h: Likewise.
46363 * posix/spawn.h: Likewise.
46364 * posix/sys/wait.h: Likewise.
46365 * posix/unistd.h: Likewise.
46366 * posix/wordexp.h: Likewise.
46367 * pwd/pwd.h: Likewise.
46368 * resolv/netdb.h: Likewise.
46369 * resource/sys/resource.h: Likewise.
46370 * rt/aio.h: Likewise.
46371 * rt/bits/mqueue2.h: Likewise.
46372 * rt/mqueue.h: Likewise.
46373 * shadow/shadow.h: Likewise.
46374 * signal/signal.h: Likewise.
46375 * socket/send.c: Likewise.
46376 * socket/sendto.c: Likewise.
46377 * socket/sys/socket.h: Likewise.
46378 * stdio-common/printf.h: Likewise.
46379 * stdlib/bits/stdlib.h: Likewise.
46380 * stdlib/fmtmsg.h: Likewise.
46381 * stdlib/monetary.h: Likewise.
46382 * stdlib/stdlib.h: Likewise.
46383 * stdlib/ucontext.h: Likewise.
46384 * streams/stropts.h: Likewise.
46385 * string/argz.h: Likewise.
46386 * string/bits/string2.h: Likewise.
46387 * string/string.h: Likewise.
46388 * string/strings.h: Likewise.
46389 * sunrpc/rpc/auth.h: Likewise.
46390 * sunrpc/rpc/auth_des.h: Likewise.
46391 * sunrpc/rpc/clnt.h: Likewise.
46392 * sunrpc/rpc/netdb.h: Likewise.
46393 * sunrpc/rpc/pmap_clnt.h: Likewise.
46394 * sunrpc/rpc/xdr.h: Likewise.
46395 * sysdeps/generic/inttypes.h: Likewise.
46396 * sysdeps/generic/net/if.h: Likewise.
46397 * sysdeps/generic/sys/swap.h: Likewise.
46398 * sysdeps/gnu/net/if.h: Likewise.
46399 * sysdeps/gnu/utmpx.h: Likewise.
46400 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
46401 * sysdeps/i386/i486/bits/string.h: Likewise.
46402 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
46403 * sysdeps/s390/bits/string.h: Likewise.
46404 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
46405 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
46406 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
46407 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
46408 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
46409 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
46410 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
46411 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
46412 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
46413 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
46414 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
46415 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46416 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
46417 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46418 * sysdeps/unix/sysv/linux/readv.c: Likewise.
46419 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
46420 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46421 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46422 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46423 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46424 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46425 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
46426 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
46427 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
46428 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
46429 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
46430 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
46431 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46432 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
46433 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
46434 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
46435 * sysvipc/sys/ipc.h: Likewise.
46436 * sysvipc/sys/msg.h: Likewise.
46437 * sysvipc/sys/sem.h: Likewise.
46438 * sysvipc/sys/shm.h: Likewise.
46439 * termios/termios.h: Likewise.
46440 * time/sys/time.h: Likewise.
46441 * time/time.h: Likewise.
46442 * wcsmbs/bits/wchar2.h: Likewise.
46443 * wcsmbs/uchar.h: Likewise.
46444 * wcsmbs/wchar.h: Likewise.
46445 * wctype/wctype.h: Likewise.
46446
0269750c
UD
46447 [BZ #13551]
46448 * Makeconfig: Remove all but ELF support including AIX support.
46449 * Makerules: Likewise.
46450 * config.h.in: Likewise.
46451 * config.make.in: Likewise.
46452 * configure: Likewise.
46453 * configure.in: Likewise.
46454 * csu/Makefile: Likewise.
46455 * csu/version.c: Likewise.
46456 * debug/Makefile: Likewise.
46457 * dlfcn/Makefile: Likewise.
46458 * elf/Makefile: Likewise.
46459 * extra-lib.mk: Likewise.
46460 * iconv/Makefile: Likewise.
46461 * include/libc-symbols.h: Likewise.
46462 * include/shlib-compat.h: Likewise.
46463 * resolv/Makefile: Likewise.
46464 * resolv/res_libc.c: Likewise.
46465 * rt/Makefile: Likewise.
46466 * sysdeps/i386/asm-syntax.h: Likewise.
46467 * sysdeps/i386/sysdep.h: Likewise.
46468 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46469 * sysdeps/mach/sysdep.h: Likewise.
46470 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
46471 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
46472 * sysdeps/s390/asm-syntax.h: Likewise.
46473 * sysdeps/s390/s390-32/sysdep.h: Likewise.
46474 * sysdeps/s390/s390-64/sysdep.h: Likewise.
46475 * sysdeps/sh/sysdep.h: Likewise.
46476 * sysdeps/unix/sparc/sysdep.h: Likewise.
46477 * sysdeps/wordsize-32/divdi3.c: Likewise.
46478 * sysdeps/x86_64/sysdep.h: Likewise.
46479
00bbd29b
UD
46480 * argp/Versions: Remove _argp_unlock_xxx.
46481
46482 [BZ #13559]
46483 * abilist/ld.abilist: Update. Adjust for removal of tls option.
46484 * abilist/libBrokenLocale.abilist: Likewise.
46485 * abilist/libanl.abilist: Likewise.
46486 * abilist/libc.abilist: Likewise.
46487 * abilist/libcrypt.abilist: Likewise.
46488 * abilist/libdl.abilist: Likewise.
46489 * abilist/libm.abilist: Likewise.
46490 * abilist/libnsl.abilist: Likewise.
46491 * abilist/libpthread.abilist: Likewise.
46492 * abilist/libresolv.abilist: Likewise.
46493 * abilist/librt.abilist: Likewise.
46494 * abilist/libthread_db.abilist: Likewise.
46495 * abilist/libutil.abilist: Likewise.
46496 * abilist/libnss_db.abilist: New file.
46497
46498 * scripts/abilist.awk: Add support for indirect functions.
46499
a2693a0e
UD
46500 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
46501
3f05895f
UD
46502 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
46503
ecb6fb48
UD
46504 * shlib-versions: Remove entries for ports architectures.
46505
664f8cb9
UD
46506 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
46507 files in ports.
46508 * elf/stackguard-macros.h: Remove support for IA-64.
46509 * elf/tst-auditmod1.c: Likewise.
46510 * sysdeps/generic/ldsodefs.h: Likewise.
46511
7ae81d88
UD
46512 * sysdeps/unix/sysv/linux/configure.in: Ports should define
46513 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
46514 configure files.
46515
bdeba135
UD
46516 [BZ #13552]
46517 * configure.in: Remove --enable-omitfp support.
46518 * FAQ.in: Adjust.
46519 * config.make.in: Likewise.
46520 * Makeconfig: Likewise.
46521 * manual/install.texi: Likewise.
46522
d75a0a62
UD
46523 In case anyone cares, the IA-64 architecture could move to ports.
46524 * sysdeps/ia64/*: Removed.
46525 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 46526 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 46527
dcc9756b
UD
46528 [BZ #13555]
46529 * configure.in: Remove entries for unsupported architectures.
46530
d3761ebc 46531 [BZ #13533]
9954432e
UD
46532 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
46533 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
46534 routines.
46535 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
46536 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
46537 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
46538 fall back to using wcrtomb.
46539 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
46540 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
46541 renaming.
46542 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
46543 * wcsmbs/tst-c16c32-1.c: New file.
46544
46545 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
46546 local variable.
46547
c3a87236
UD
46548 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
46549
28926a1b
UD
46550 * elf/tst-unique3.cc: Add explicit declaration of gets.
46551 * elf/tst-unique3lib.cc: Likewise.
46552 * elf/tst-unique3lib2.cc: Likewise.
46553 * elf/tst-unique4.cc: Likewise.
46554
df78418a
UD
46555 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
46556
8ecd6b2a
JM
465572012-01-06 Joseph Myers <joseph@codesourcery.com>
46558
46559 [BZ #13566]
46560 * assert/assert.h (static_assert): Don't define for C++.
46561 * libio/stdio.h (gets): Do declare for C++ <= C++11.
46562 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
46563
9f115170
UD
465642012-01-03 Ulrich Drepper <drepper@gmail.com>
46565
5e0d0300
UD
46566 * iconv/loop.c (single loop): Fix assertion in storing of
46567 remaining bytes.
46568
9f115170
UD
46569 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
46570
81fb02b0
UD
465712012-01-01 Ulrich Drepper <drepper@gmail.com>
46572
46573 * posix/getconf.c: Update copyright year.
46574 * nss/getent.c: Likewise.
a316c1f6 46575 * nss/makedb.c: Likewise.
81fb02b0
UD
46576 * iconv/iconvconfig.c: Likewise.
46577 * iconv/iconv_prog.c: Likewise.
46578 * elf/ldconfig.c: Likewise.
a316c1f6
UD
46579 * elf/pldd.c: Likewise.
46580 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
46581 * catgets/gencat.c: Likewise.
46582 * csu/version.c: Likewise.
46583 * elf/ldd.bash.in: Likewise.
46584 * elf/sprof.c (print_version): Likewise.
46585 * locale/programs/locale.c: Likewise.
46586 * locale/programs/localedef.c: Likewise.
a316c1f6 46587 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
46588 * nscd/nscd.c (print_version): Likewise.
46589 * debug/xtrace.sh: Likewise.
46590 * malloc/memusage.sh: Likewise.
46591 * malloc/mtrace.pl: Likewise.
46592 * debug/catchsegv.sh: Likewise.
46593
2ba92745
JJ
465942011-12-30 Jakub Jelinek <jakub@redhat.com>
46595
46596 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
46597 pure attribute.
46598
dadebdae
UD
465992011-12-24 Ulrich Drepper <drepper@gmail.com>
46600
d3761ebc 46601 [BZ #13533]
db6af3eb
UD
46602 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
46603 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
46604 transformations.
46605 * iconv/gconv_int.h: Likewise.
46606 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
46607 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
46608 from libc for GLIBC_2.16.
46609 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
46610 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
46611 * wcsmbs/uchar.h: Really define mbstate_t.
46612 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
46613 * wcsmbs/c16rtomb.c: New file.
46614 * wcsmbs/mbrtoc16.c: New file.
46615 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
46616 for C/POSIX locale.
46617 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
46618 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
46619
dadebdae
UD
46620 * wcsmbs/wchar.h: Add missing __restrict.
46621
67371b56
UD
466222011-12-23 Ulrich Drepper <drepper@gmail.com>
46623
74033a25
UD
46624 [BZ #13532]
46625 * time/Makefile (routines): Add timespec_get.
46626 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
46627 * time/time.h: Define TIME_UTC and declare timespec_get. Define
46628 timespec for ISO C11.
46629 * time/timespec_get.c: New file.
46630 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
46631 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
46632
380d7e87
UD
46633 [BZ #13531]
46634 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
46635 * stdlib/stdlib.h: Declare aligned_alloc.
46636 * Versions.def: Add GLIBC_2.16 for libc.
46637 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
46638
4e9e7a35
UD
46639 [BZ 13527]
46640 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
46641 ISO C11.
46642
380d7e87 46643 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
46644 code.
46645
03a71829
UD
46646 [BZ #13528]
46647 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
46648
839e283e
UD
46649 [BZ #13529]
46650 * assert/assert.h (static_assert): Define.
46651
ce5294e2 46652 * version.h: Update for 2.16 development version.
90fa7312 46653
8d44e150 46654 [BZ #13526]
d7809905
UD
46655 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
46656 _ISOC11_SOURCE.
46657
c0da14cd
UD
46658 * version.h (RELEASE): Bump for 2.15 release.
46659 * include/features.h (__GLIBC_MINOR__): Bump to 15.
46660
530a3249
MP
46661 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
46662 Patch by Marek Polacek <mpolacek@redhat.com>.
46663
67371b56
UD
46664 * bits/byteswap.h: Protect long long constants with __extension__.
46665 * sysdeps/i386/bits/byteswap.h: Likewise.
46666 * sysdeps/ia64/bits/byteswap.h: Likewise.
46667 * sysdeps/s390/bits/byteswap.h: Likewise.
46668 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46669
15db4de1
LD
466702011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46671
46672 [BZ #13540]
bbe315ea
LD
46673 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
46674 destination buffer.
15db4de1
LD
46675 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
46676
2b2596b1
MP
466772011-12-23 Marek Polacek <polacek@redhat.com>
46678
46679 * elf/dl-addr.c (determine_info): Add inline keyword.
46680 * elf/tst-auditmod4b.c (check_avx): Likewise.
46681 * elf/tst-auditmod6b.c (check_avx): Likewise.
46682 * elf/tst-auditmod6c.c (check_avx): Likewise.
46683 * elf/tst-auditmod7b.c (check_avx): Likewise.
46684
70c6c246
UD
466852011-12-23 Ulrich Drepper <drepper@gmail.com>
46686
46687 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
46688 !__SSE_MATH__.
46689
c044cf14
LD
466902011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46691
15db4de1 46692 [BZ #13540]
c044cf14
LD
46693 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
46694 processing for last bytes.
46695
6b13d9d9
BH
466962011-08-06 Bruno Haible <bruno@clisp.org>
46697
d455f537
BH
46698 [BZ #13061]
46699 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
46700 U+0385, not to U+1FEE.
46701
6b13d9d9
BH
46702 [BZ #13062]
46703 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
46704 entry for U+00A5 U+0301.
46705
db910efd
UD
467062011-12-22 Ulrich Drepper <drepper@gmail.com>
46707
27deeafc
UD
46708 [BZ #13166]
46709 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
46710 buffer for the output is too small.
46711
aed9d171
UD
46712 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
46713 optimization.
46714
db910efd
UD
46715 [BZ #13185]
46716 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
46717 SSE flags if possible.
46718
2bd779ae
LD
467192011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46720
e7f9dac3 46721 [BZ #13540]
2bd779ae
LD
46722 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
46723 processing for last bytes.
46724
154bfc16
JM
467252011-12-22 Joseph Myers <joseph@codesourcery.com>
46726
46727 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
46728 (syscall-list-default-options, syscall-list-default-condition)
46729 (syscall-list-includes): Define.
46730 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
46731 list of ABIs and options and #if conditions for each ABI. Do not
46732 handle common syscalls between ABIs specially.
46733 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
46734 Remove.
46735 (syscall-list-variants, syscall-list-32bit-options)
46736 (syscall-list-32bit-condition, syscall-list-64bit-options)
46737 (syscall-list-64bit-condition): Define.
46738 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
46739 (syscall-list-variants, syscall-list-32bit-options)
46740 (syscall-list-32bit-condition, syscall-list-64bit-options)
46741 (syscall-list-64bit-condition): Define.
46742 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
46743 Remove.
46744 (syscall-list-variants, syscall-list-32bit-options)
46745 (syscall-list-32bit-condition, syscall-list-64bit-options)
46746 (syscall-list-64bit-condition): Define.
46747 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
46748 Remove.
46749 (syscall-list-variants, syscall-list-32bit-options)
46750 (syscall-list-32bit-condition, syscall-list-64bit-options)
46751 (syscall-list-64bit-condition): Define.
46752
21eaf3a5
UD
467532011-12-22 Ulrich Drepper <drepper@gmail.com>
46754
16c6f992
UD
46755 * locale/iso-639.def: Add brx entry.
46756
41043168
UD
46757 [BZ #13328]
46758 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
46759 Proposed by Mariusz_Cukr <marcukr@op.pl>.
46760
21eaf3a5
UD
46761 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
46762 __feraiseexcept_renamed.
46763
e3a851a2
UD
467642011-12-21 Ulrich Drepper <drepper@gmail.com>
46765
4920765e
UD
46766 [BZ #13538]
46767 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
46768 EPOLLET with unsigned values.
46769 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46770 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46771
e3a851a2
UD
46772 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
46773 to large cancellation.
46774 * math/s_cacoshf.c: Likewise.
46775 * math/s_cacoshl.c: Likewise.
46776
b27e24b8
RK
467772011-11-18 Richard B. Kreckel <kreckel@ginac.de>
46778
46779 [BZ #13305]
aebefeee 46780 [BZ #12786]
b27e24b8
RK
46781 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
46782 * math/s_cacoshf.c: Likewise.
46783 * math/s_cacoshl.c: Likewise.
46784
ee190f67
UD
467852011-12-21 Ulrich Drepper <drepper@gmail.com>
46786
46787 [BZ #13439]
46788 * iconv/gconv.h: Define __GCONV_SWAP.
46789 * iconvdata/unicode.c: The swap bit must be stored in __flags.
46790 * iconvdata/utf-16.c: Likewise.
46791 * iconvdata/utf-32.c: Likewise.
46792
707f25df
AS
467932011-12-21 Andreas Schwab <schwab@linux-m68k.org>
46794
46795 [BZ #13524]
46796 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
46797 numerator after shifting it by one limb.
46798
d2daaa1e
RÁE
467992011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
46800
46801 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
46802 under [__USE_EXTERN_INLINES].
46803
a4647e72
UD
468042011-12-17 Ulrich Drepper <drepper@gmail.com>
46805
46806 [BZ #13446]
46807 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
46808
f0b264f1
AZ
468092011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46810
46811 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
46812 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
46813 optimized code.
46814 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
46815 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
46816 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
46817 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
46818 for strncasecmp/strncasecmp_l compilation.
46819 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
46820 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
46821
8ef4f244
MP
468222011-12-08 Marek Polacek <mpolacek@redhat.com>
46823
46824 [BZ #13484]
46825 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
46826 of __asm__.
46827
97ac2654
UD
468282011-12-17 Ulrich Drepper <drepper@gmail.com>
46829
46830 [BZ #13506]
46831 * time/tzfile.c (__tzfile_read): Check values from file header.
46832
91d2a845
WS
468332011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46834
46835 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
46836 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
46837 * powerpc/powerpc32/dl-start.S: Likewise.
46838 * powerpc/powerpc32/elf/start.S: Likewise.
46839 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46840 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
46841 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
46842 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
46843 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46844 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
46845 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
46846 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46847 * powerpc/powerpc32/fpu/s_round.S: Likewise.
46848 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46849 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46850 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46851 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
46852 * powerpc/powerpc32/memset.S: Likewise.
46853 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46854 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46855 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46856 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46857 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46858 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46859 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46860 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46861 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
46862 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
46863 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
46864 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46865 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46866
a1267ba1
AZ
468672011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46868
46869 * math/libm-test.inc: Added more nearbyint tests.
46870 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
46871 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
46872 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
46873 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
46874
ad8ac1bd
RL
468752011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
46876
46877 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
46878 FD_CLOEXEC.
46879
1d3e4b61
UD
468802011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46881
46882 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
46883 Add wcscpy-ssse3 wcscpy-c.
46884 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
46885 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
46886 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
46887 * sysdeps/x86_64/wcschr.S: New file.
46888 * sysdeps/x86_64/wcsrchr.S: New file.
46889 * string/test-strcmp.c: Remove checking of wcscmp function for
46890 wrong alignments.
46891 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
46892 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
46893 wcsrchr-sse2 wcsrchr-c.
46894 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
46895 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
46896 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
46897 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
46898 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
46899 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
46900 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
46901 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
46902 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
46903 * wcsmbc/wcschr.c (WCSCHR): New macro.
46904
5b330a2d
UD
469052011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46906
46907 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
46908 * wcsmbs/test-wcsrchr.c: New file.
46909 * string/test-strrchr.c: Add wcsrchr support.
46910 (WIDE): New macro.
46911 * wcsmbs/test-wcscpy.c: New file.
46912 * string/test-strcpy.c: Add wcscpy support.
46913 (WIDE): New macro.
26428b7c 46914
f039c043
UD
469152011-12-10 Ulrich Drepper <drepper@gmail.com>
46916
46917 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
46918 the inner loop.
46919
850fb039
AS
469202011-12-06 Andreas Schwab <schwab@linux-m68k.org>
46921
46922 [BZ #13472]
46923 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
46924
4efbd5cb
UD
469252011-12-04 Ulrich Drepper <drepper@gmail.com>
46926
52ff5dd0 46927 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 46928 Minor optimizations.
52ff5dd0 46929
4efbd5cb
UD
46930 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
46931 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
46932 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
46933
8a426e12
UD
469342011-12-03 Ulrich Drepper <drepper@gmail.com>
46935
aff2453d
UD
46936 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
46937 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
46938 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
46939 for gcc to avoid warnings.
46940 * inet/Makefile (tests): Add tst-checks.
46941 * inet/tst-checks.c: New file.
46942
46943 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
46944 warning.
46945
46946 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
46947 __wmemcmp_sse2.
46948
46949 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
46950 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
46951
8a426e12
UD
46952 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
46953
9bea3473
UD
469542011-12-02 Ulrich Drepper <drepper@gmail.com>
46955
3a965496
UD
46956 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
46957 problem.
46958
9bea3473
UD
46959 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
46960
f101631b
UD
469612011-11-29 Joseph Myers <joseph@codesourcery.com>
46962
46963 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
46964 conditional on GCC version.
46965 (__arch_compare_and_exchange_val_8_acq)
46966 (__arch_compare_and_exchange_val_16_acq)
46967 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
46968 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
46969 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
46970
a98275aa
UD
469712011-12-02 Joseph Myers <joseph@codesourcery.com>
46972
46973 * sysdeps/sh/backtrace.c: New file.
46974
d4cc29a2
AS
469752011-12-02 Andreas Schwab <schwab@redhat.com>
46976
46977 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
46978 parenthesis.
46979
6257af2d
AS
469802011-12-01 Andreas Schwab <schwab@redhat.com>
46981
46982 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46983 falling back to utime.
46984
b5f44c1a
AS
469852011-11-30 Andreas Schwab <schwab@redhat.com>
46986
46987 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46988 expectations for float.
46989
f3a6cc0a
AS
469902011-11-29 Andreas Schwab <schwab@redhat.com>
46991
46992 * locale/weight.h (findidx): Add parameter len.
46993 * locale/weightwc.h (findidx): Likewise.
46994 * posix/fnmatch_loop.c (FCT): Adjust caller.
46995 * posix/regcomp.c (build_equiv_class): Likewise.
46996 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46997 * posix/regexec.c (check_node_accept_bytes): Likewise.
46998 * string/strcoll_l.c (STRCOLL): Likewise.
46999 * string/strxfrm_l.c (STRXFRM): Likewise.
47000
9d65ea3a
UD
470012011-11-17 Ulrich Drepper <drepper@gmail.com>
47002
47003 * Makefile.in: Remove CVSOPT handling.
47004 * configure.in: Remove use of AC_REVISION.
47005 * iconvdata/Makefile (distribute): No need to filter out CVS.
47006 * scripts/list-sources.sh: Remove CVS, subversion and monotone
47007 handling.
47008
5583a086
AS
470092011-11-16 Andreas Schwab <schwab@redhat.com>
47010
47011 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
47012 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
47013 [USE_AS_STRNCASECMP_L]: Likewise.
47014 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
47015 NO_TLS_DIRECT_SEG_REFS.
47016 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
47017 Fix argument offsets for non-PIC.
47018 [USE_AS_STRNCASECMP_L]: Likewise.
47019 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
47020 NO_TLS_DIRECT_SEG_REFS.
47021
d62a8200
UD
470222011-11-15 Ulrich Drepper <drepper@gmail.com>
47023
9d65ea3a 47024 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
47025 O_CLOEXEC.
47026 * locale/loadlocale.c (_nl_load_locale): Likewise.
47027
09f93bd3
AS
470282011-11-15 Andreas Schwab <schwab@redhat.com>
47029
446514f9
AS
47030 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
47031 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
47032 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
47033 (SYSCALL_GETTIME): Set errno on error.
47034
09f93bd3
AS
47035 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
47036 count references to noai6ai_cached.
47037
312be3f9
UD
470382011-11-15 Ulrich Drepper <drepper@gmail.com>
47039
47040 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
47041
47042 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
47043 FD_CLOEXEC for /proc/self/maps.
47044
47045 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47046 FD_CLOEXEC for /proc/meminfo.
47047
47048 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
47049 gai.conf.
47050
47051 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
47052 FD_CLOEXEC for given file.
47053
47054 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
47055
47056 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
47057 FD_CLOEXEC for /etc/hosts.
47058 (_gethtent): Likewise.
47059
47060 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
47061
47062 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
47063 cancellation and set FD_CLOEXEC for /etc/netgroup.
47064
47065 * nss/nss_files/files-key.c (search): Don't allow cancellation when
47066 reading /etc/publickey.
47067
47068 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
47069 allow cancellation when reading /etc/group.
47070
47071 * nss/nss_files/files-alias.c (internal_setent): Don't allow
47072 cancellation.
47073 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
47074
47075 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
47076 when using data file.
47077
47078 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
47079
47080 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
47081 (write_nis_obj): Use "c" and "e" in fopen.
47082
47083 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
47084
47085 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47086
47087 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47088
47089 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47090
47091 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47092 locale.alias.
47093
47094 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47095
47096 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47097
47098 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47099
47100 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47101 file parsing and set FD_CLOEXEC.
47102
82af0fa8
UD
471032011-11-14 Ulrich Drepper <drepper@gmail.com>
47104
47105 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47106
a5fb313c
AS
471072011-11-14 Andreas Schwab <schwab@redhat.com>
47108
47109 * malloc/arena.c (arena_get2): Don't call reused_arena when
47110 _int_new_arena failed.
47111
6abf3465
UD
471122011-11-14 Ulrich Drepper <drepper@gmail.com>
47113
47114 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47115 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47116 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47117 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47118 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47119 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47120 to compile strcasecmp and strncasecmp.
47121 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47122 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47123
47124 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47125
76e3966e
UD
471262011-11-13 Ulrich Drepper <drepper@gmail.com>
47127
47128 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47129 locale-defines.sym to gen-as-const-headers.
47130 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47131 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47132 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47133 to compile strcasecmp and strncasecmp.
47134 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47135 strcasecmp_l and strncasecmp_l.
47136 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47137 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47138 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47139 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47140 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47141 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47142 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47143 * sysdeps/i386/i686/multiarch/strncase.S: New file.
47144 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47145 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47146 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47147
ab26144e
UD
471482011-11-12 Ulrich Drepper <drepper@gmail.com>
47149
7edb22ef
UD
47150 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47151 result of SYSDEP_GETTIME_CPU to retval.
47152 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
47153 parameter list to macro. Remove trailing semicolon. Adjust users.
47154
9694fc44
UD
47155 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
47156 variable.
47157
8ad89ef8
UD
47158 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
47159 mantissa words.
47160 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
47161
0c822ef9
UD
47162 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
47163 from unused variable.
47164
874e0564
UD
47165 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
47166 DWARF definitions.
47167 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
47168 for assembling.
47169
3a2edc79
UD
47170 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
47171 over namespaces.
47172
f3c2577f
UD
47173 * sunrpc/rpc_prot.c (rejected): Fix case value.
47174
294ce126
UD
47175 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
47176 unsigned long long int to avoid warnings in shift.
47177
5e2b63c6
UD
47178 * posix/regex_internal.c (re_string_reconstruct): Actually use result
47179 of use of trans.
47180 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
47181 variable tmp.
47182
e7f4b08e
UD
47183 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
47184 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
47185 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
47186
ab26144e
UD
47187 * nis/nis_table.c (nis_list): Use variable of correct type for
47188 result of __follow_path call.
47189
8a6d5255
AZ
471902011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47191
47192 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
47193 of math functions ceil, trunc, floor, round, and sqrt, when
47194 avaliable on the platform.
47195 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
47196 name clash.
47197 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47198 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47199 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47200
aaddc98c
MP
472012011-10-30 Marek Polacek <mpolacek@redhat.com>
47202
47203 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
47204 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47205
95b7042b
RM
472062011-11-11 Roland McGrath <roland@hack.frob.com>
47207
47208 * include/unistd.h: Fix __readlink return type.
47209 Reported by Chris Metcalf <cmetcalf@tilera.com>.
47210
57769839
UD
472112011-11-11 Ulrich Drepper <drepper@gmail.com>
47212
47213 * stdlib/ucontext.h: Undo last change for makecontext.
47214
edc5984d
AS
472152011-11-11 Andreas Schwab <schwab@redhat.com>
47216
98591e58
AS
47217 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
47218
edc5984d
AS
47219 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
47220 * setjmp/setjmp.h: Mark functions as non-leaf.
47221 * setjmp/bits/setjmp2.h: Likewise.
47222 * stdlib/ucontext.h: Likewise.
47223
77cdc054
AS
472242011-11-10 Andreas Schwab <schwab@redhat.com>
47225
47226 * malloc/arena.c (_int_new_arena): Don't increment narenas.
47227 (reused_arena): Don't check arena limit.
47228 (arena_get2): Atomically check arena limit.
47229
fe72eebd
UD
472302011-11-08 Ulrich Drepper <drepper@gmail.com>
47231
5f078c32
UD
47232 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
47233 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
47234
fe72eebd
UD
47235 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
47236 instructions.
47237
ae1bc2fa
AS
472382011-11-07 Andreas Schwab <schwab@redhat.com>
47239
7583a88d
AS
47240 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
47241 handler when locking.
47242
ae1bc2fa
AS
47243 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47244 Fix size of allocated buffer.
47245
10fb0bfa
AS
472462011-11-04 Andreas Schwab <schwab@redhat.com>
47247
998832a4
AS
47248 [BZ #10103]
47249 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
47250 declarations for long double functions.
47251 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
47252
10fb0bfa
AS
47253 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
47254
3d7ba52b
AS
472552011-11-03 Andreas Schwab <schwab@redhat.com>
47256
a9ae54a1
AS
47257 * nscd/nscd.c (main): Don't start AVC thread until credentials are
47258 installed.
47259
3d7ba52b
AS
47260 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
47261 is disabled.
47262
bc8db248
ST
472632011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
47264
47265 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
47266
45b96dd6
AS
472672011-11-01 Andreas Schwab <schwab@linux-m68k.org>
47268
647776f6
AS
47269 * include/alloca.h (stackinfo_alloca_round): Define.
47270 (extend_alloca): Use it.
47271 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
47272 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
47273 here.
47274
d91a8b93
AS
47275 * scripts/check-local-headers.sh: Ignore libaudit.h.
47276
45b96dd6
AS
47277 * nscd/Makefile (extra-objs): Make recursively expanded.
47278
432d41ce
UD
472792011-11-01 Ulrich Drepper <drepper@gmail.com>
47280
34372fc6
UD
47281 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
47282 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47283
fadb59f8
UD
47284 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
47285 * posix/tst-rfc3484-2.c: Likewise.
47286 * posix/tst-rfc3484-3.c: Likewise.
47287
78239589
UD
47288 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47289 process_vm_writev.
47290 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
47291 process_vm_writev.
47292 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
47293 process_vm_writev from libc using GLIBC_2.15 version.
47294
432d41ce
UD
47295 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
47296
02f9c6cf
PP
472972011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
47298
47299 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
47300 stack usage.
47301
3a2c0242
UD
473022011-10-31 Ulrich Drepper <drepper@gmail.com>
47303
f4ec4833
UD
47304 [BZ #13367]
47305 * nss/getent.c (initgroups_keys): Show error message in case no group
47306 names are given.
47307
3a2c0242
UD
47308 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
47309 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
47310 __bump_nl_timestamp.
47311 * nscd/connections (nscd_init): When host database is served open
47312 netlink socket and request notification about configuration changes.
47313 (main_loop_poll): Track netlink file descriptor and bump timestamp
47314 in case data becomes available.
47315 (main_loop_epoll): Likewise.
47316 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
47317 (database_pers_head): Add extra_data fileds.
47318 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
47319 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
47320 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
47321 Adjust caller.
47322 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
47323 in6ai data, call __free_in6ai.
47324 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
47325 Add -DHAVE_NETLINK.
47326 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
47327 interface information. Reuse previous data if netlink timestamp
47328 is not changed.
47329 (__bump_nl_timestamp): New function.
47330 (__free_in6ai): New function.
47331
636064eb
UD
473322011-10-30 Ulrich Drepper <drepper@gmail.com>
47333
47334 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
47335 close_not_cancel_no_status here.
47336 (__check_pf): Reorganize code a bit to not call close twice if OOM.
47337
9beb2334
UD
473382011-10-29 Ulrich Drepper <drepper@gmail.com>
47339
6ef76f3b
UD
47340 [BZ #13276]
47341 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
47342 return value.
47343
0ffc4f3e 47344 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
47345 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
47346 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
47347
cb95113e
UD
473482011-07-03 Andreas Jaeger <aj@suse.de>
47349
47350 [BZ #10709]
47351 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
47352 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
47353 * math/libm-test.inc (sin_test): Add test case.
47354
a1b560ff
UD
473552011-10-29 Ulrich Drepper <drepper@gmail.com>
47356
c9aaface
UD
47357 [BZ #13337]
47358 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
47359 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47360
d272e7f1
UD
47361 * elf/chroot_canon.c (chroot_canon): Cleanups.
47362
1bc33071
UD
47363 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
47364
1760874d
TJ
47365 [BZ #13335]
47366 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
47367 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47368
51d91b18
UD
47369 * string/test-strchr.c: Make usable for strchrnul testing.
47370 * string/test-strchrnul.c: New file.
47371 * string/Makefile (strop-tests): Add strchrnul.
47372
a1b560ff 47373 * po/it.po: Update from translation team.
b611fb81 47374 * po/es.po: Likewise.
a1b560ff 47375
a5b81e1f
UD
473762011-10-28 Ulrich Drepper <drepper@gmail.com>
47377
fd52bc6d
UD
47378 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
47379 the three constants needed as parameters. Drop the others.
47380 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
47381 __m128i_strloadu_tolower.
52e4b9eb
UD
47382 Create and initialize variable zero and use it in all the places
47383 where _mm_setzero_si128 was used.
fd52bc6d 47384
a5b81e1f
UD
47385 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
47386 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
47387 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
47388 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
47389 anymore.
47390 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
47391 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
47392 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
47393 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
47394 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
47395 __mpranred, __mptan.
47396 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
47397 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
47398 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
47399 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
47400 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
47401 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
47402 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
47403 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
47404 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
47405
b4343346
AS
474062011-10-28 Andreas Schwab <schwab@redhat.com>
47407
0c92d8a8
AS
47408 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
47409 redefine if SHARED.
47410 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
47411
b4343346
AS
47412 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
47413 wide char related routines to wcsmbs subdir.
47414
3871f58f
AS
474152011-10-27 Andreas Schwab <schwab@redhat.com>
47416
47417 [BZ #13344]
47418 * misc/sys/cdefs.h (__THROWNL): Define.
47419 * posix/unistd.h: Use __THREADNL instead of __THREAD
47420 for memory synchronization functions.
47421
94d44d9f
RM
474222011-10-26 Roland McGrath <roland@hack.frob.com>
47423
21b64b15 47424 [BZ #13349]
94d44d9f
RM
47425 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
47426 doesn't exist.
47427 * manual/stdio.texi (Obstack Streams): Node removed.
47428
f6ce9294
AS
474292011-10-26 Andreas Schwab <schwab@redhat.com>
47430
80479147
AS
47431 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
47432 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47433 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47434
f6ce9294
AS
47435 * math/math_private.h (math_force_eval): Allow non-addressable
47436 arguments.
47437 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
47438
618280a1
UD
474392011-10-25 Ulrich Drepper <drepper@gmail.com>
47440
e0016b11
UD
47441 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
47442 file is not needed.
47443
47444 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
47445 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
47446 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47447 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47448 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47449 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47450 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47451 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
47452 Add AVX variants.
47453 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
47454 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
47455 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
47456 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
47457 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
47458 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
47459 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
47460 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
47461 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
47462 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
47463 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
47464 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
47465 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
47466 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
47467 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
47468 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
47469 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
47470 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
47471 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
47472
47473 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
47474 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
47475
618280a1
UD
47476 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
47477 place. Use VEX encoding when compiling for AVX.
47478
37822576
AS
474792011-10-25 Andreas Schwab <schwab@redhat.com>
47480
1f1e1947
AS
47481 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
47482 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47483
37822576
AS
47484 * string/test-strchr.c (do_test): Don't generate NUL bytes.
47485
31ea014d
UD
474862011-10-25 Ulrich Drepper <drepper@gmail.com>
47487
d7826aa1 47488 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 47489 useless if() expression.
d7826aa1
UD
47490 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47491 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47492 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47493 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47494 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47495 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47496 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47497 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47498 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47499 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47500 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47501 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47502 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47503 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47504 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47505 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47506 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47507 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47508 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47509
31ea014d
UD
47510 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
47511
16437fec
AS
475122011-10-25 Andreas Schwab <schwab@redhat.com>
47513
47514 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
47515 condition.
47516 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47517
31d3cc00
UD
475182011-10-25 Ulrich Drepper <drepper@gmail.com>
47519
47520 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
47521 .text section. Avoid duplicate constants.
47522 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47523 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47524 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47525 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47526 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47527 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47528 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47529 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47530 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47531 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
47532 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47533 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47534 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47535 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47536 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47537 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47538 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47539 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47540 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47541 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47542 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47543 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47544 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47545 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
47546 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
47547 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
47548 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
47549 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
47550 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
47551 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
47552 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
47553 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
47554 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47555 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
47556 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
47557 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
47558 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
47559 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
47560 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
47561 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
47562 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
47563 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
47564 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
47565 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
47566 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
47567
58985aa9
UD
475682011-10-24 Ulrich Drepper <drepper@gmail.com>
47569
202c9deb
UD
47570 * sysdeps/x86_64/dla.h: Move to ...
47571 * sysdeps/x86_64/fpu/dla.h: ...here.
47572 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
47573 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 47574
af968f62
UD
47575 * config.make.in: Add have-mfma4 entry.
47576 * configure.in: Substitute libc_cv_cc_fma4.
47577 * math/Makefile (dbl-only-routines): Add sincostab.
47578 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
47579 Use __sincostab not sincos.
47580 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
47581 name is a macro.
47582 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47583 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47584 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47585 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
47586 using __copysign.
47587 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
47588 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
47589 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
47590 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
47591 and __inv.
47592 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
47593 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
47594 __copysign.
47595 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
47596 define aliases when function name is a macro.
47597 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
47598 sysdeps/ieee754/dbl-64/sincos.tbl.
47599 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
47600 fma4-enabled routines.
47601 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
47602 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
47603 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
47604 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
47605 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
47606 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
47607 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
47608 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
47609 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
47610 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
47611 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
47612 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
47613 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
47614 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
47615 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
47616 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
47617 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
47618 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
47619 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
47620 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
47621 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
47622 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
47623 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
47624 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
47625 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
47626 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
47627 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
47628 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
47629 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
47630 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
47631
58985aa9
UD
47632 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
47633 rename.
47634 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47635 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47636 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47637 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47638 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47639 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47640 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47641 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47642
a201fbcf
AS
476432011-10-24 Andreas Schwab <schwab@redhat.com>
47644
47645 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
47646
fc2ee42a
LD
476472011-10-23 Ulrich Drepper <drepper@gmail.com>
47648
bb3129bd
UD
47649 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
47650
0275fff8
UD
47651 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
47652 prediction.
47653 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
47654
2fa2ae85
UD
47655 * string/strnlen.c: Don't define STRNLEN, reverse logic.
47656 Remove unused variable magic_bits.
47657 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
47658
fc2ee42a
LD
47659 * string/strnlen.c: Define and use STRNLEN macro.
47660 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
47661 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
47662 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
47663 * wcsmbs/wcslen.c: Define and use WCSLEN.
47664 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
47665 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
47666 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
47667 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
47668 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
47669 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
47670 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47671
ce7dd29f
LD
476722011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47673
47674 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47675 strnlen-sse2-no-bsf.
47676 Rename strlen-no-bsf to strlen-sse2-no-bsf.
47677 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
47678 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
47679 Add strnlen support.
47680 (USE_AS_STRNLEN): New macro.
47681 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
47682 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
47683 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
47684 * sysdeps/x86_64/wcslen.S: New file.
47685
979c70a3
MZ
476862011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
47687
47688 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47689 XMM-moves are used for copying on small sizes.
47690
2d09f82f
LD
476912011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47692
47693 * wcsmbs/Makefile (strop-tests): Add wcschr.
47694 * wcsmbs/test-wcschr.c: New file.
47695 * string/test-strchr.c: Update.
47696 Add wcschr support.
47697 (WIDE): New macro.
47698
619fccca
LD
476992011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47700
2d09f82f 47701 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
47702 * wcsmbs/test-wcslen.c: New file.
47703 * string/test-strlen.c: Update.
47704 Add wcslen support.
47705 (WIDE): New macro.
47706
09f699ea
UD
477072011-10-23 Ulrich Drepper <drepper@gmail.com>
47708
47709 * po/it.po: Update from translation team.
47710
95584d3b
LD
477112011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47712
47713 * sysdeps/x86_64/wcscmp.S: Update.
47714 Fix wrong comparison semantics.
47715 wcscmp shall use signed comparison not unsigned.
47716 Don't use substraction to avoid overflow bug.
47717 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
47718 * wcsmbc/wcscmp.c: Likewise.
47719 * string/test-strcmp.c: Likewise.
47720 Add new tests to check cases with negative values.
47721
c8b3296b
UD
477222011-10-23 Ulrich Drepper <drepper@gmail.com>
47723
47724 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
47725 * sysdeps/x86_64/dla.h: ...here. New file.
47726 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
47727 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47728 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47729 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47730 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47731 * sysdeps/ieee754/dbl-64/e_sqrt.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.
47735
246ad57a
AS
477362011-10-23 Andreas Schwab <schwab@linux-m68k.org>
47737
47738 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
47739 __ynl_finite aliases.
47740
a1a87169
UD
477412011-10-22 Ulrich Drepper <drepper@gmail.com>
47742
0d355eb7
UD
47743 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47744
a1a87169
UD
47745 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
47746 define DLA_FMA.
47747 [DLA_FMA] (EMULV): Use DLA_FMA.
47748 [DLA_FMA] (MUL12): Use EMULV.
47749 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
47750 that are not needed.
47751 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47752 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47753 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47754 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47755 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47756 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47757 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47758
ee2aafe0
AS
477592011-10-22 Andreas Schwab <schwab@linux-m68k.org>
47760
47761 * math/s_nan.c: Undef __nan.
47762 * math/s_nanf.c: Undef __nanf.
47763 * math/s_nanl.c: Undef __nanl.
47764 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
47765 "math_private.h".
47766
bc62c2fb
UD
477672011-10-22 Ulrich Drepper <drepper@gmail.com>
47768
77425c63
UD
47769 * math/s_catan.c: Add branch predictions.
47770 * math/s_catanf.c: Likewise.
47771 * math/s_catanh.c: Likewise.
47772 * math/s_catanhf.c: Likewise.
47773 * math/s_catanhl.c: Likewise.
47774 * math/s_catanl.c: Likewise.
47775 * math/s_cexp.c: Likewise.
47776 * math/s_cexpf.c: Likewise.
47777 * math/s_cexpl.c: Likewise.
47778 * math/s_clog.c: Likewise.
47779 * math/s_clog10.c: Likewise.
47780 * math/s_clog10f.c: Likewise.
47781 * math/s_clog10l.c: Likewise.
47782 * math/s_clogf.c: Likewise.
47783 * math/s_clogl.c: Likewise.
47784 * math/s_csqrt.c: Likewise.
47785 * math/s_csqrtf.c: Likewise.
47786 * math/s_csqrtl.c: Likewise.
47787 * math/s_ctanf.c: Likewise.
47788 * math/s_ctanh.c: Likewise.
47789 * math/s_ctanhf.c: Likewise.
47790 * math/s_ctanhl.c: Likewise.
47791 * math/s_ctanl.c: Likewise.
47792
bc62c2fb
UD
47793 * math/math_private.h: Define __nan, __nanf, __nanl.
47794 * math/s_cacosh.c: Include <math_private.h>.
47795 * math/s_cacoshl.c: Likewise.
47796 * math/s_casinh.c: Likewise.
47797 * math/s_casinhf.c: Likewise.
47798 * math/s_casinhl.c: Likewise.
47799 * math/s_ccos.c: Rely entire on ccosh.
47800 * math/s_ccosf.c: Rely entire on ccoshf.
47801 * math/s_ccosl.c: Rely entirely on ccoshl.
47802 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
47803 Remove tests for FE_INVALID.
47804 * math/s_ccoshf.c: Likewise.
47805 * math/s_ccoshl.c: Likewise.
47806 * math/s_csin.c: Likewise.
47807 * math/s_csinf.c: Likewise.
47808 * math/s_csinh.c Likewise.
47809 * math/s_csinhf.c: Likewise.
47810 * math/s_csinhl.c: Likewise.
47811 * math/s_csinl.c: Likewise.
47812 * math/s_ctan.c: Likewise.
47813 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
47814 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
47815 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
47816
8ec250a4
UD
478172011-10-21 Ulrich Drepper <drepper@gmail.com>
47818
c196fed8
UD
47819 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
47820 compilation problems.
47821
8ec250a4
UD
47822 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
47823 __builtin_expect.
47824
8d4f46c6
UD
478252011-10-20 Ulrich Drepper <drepper@gmail.com>
47826
ed72b654
UD
47827 * sysdeps/i386/configure.in: Test for -mfma4 option.
47828 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
47829 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
47830 COMMON_CPUID_INDEX_80000001.
47831 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
47832 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
47833 use it if FMA3 is not supported.
47834 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
47835
8d4f46c6
UD
47836 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
47837 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47838
d45c60c2
AS
478392011-10-20 Andreas Schwab <schwab@redhat.com>
47840
47841 [BZ #12892]
47842 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
47843 it would create a cycle with a link time dependency.
47844
d9a4d2ab
UD
478452011-10-19 Ulrich Drepper <drepper@gmail.com>
47846
855d1560
UD
47847 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
47848 instruction.
47849 * string/Makefile (strop-tests): Add rawmemchr.
47850 * string/test-rawmemchr.c: New file.
47851
d9a4d2ab
UD
47852 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
47853 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
47854 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
47855 when compiling str{,n}casecmp and when AVX is available. Hook up
47856 new optimized code in initializers.
47857
8f3b1ffe
AS
478582011-10-19 Andreas Schwab <schwab@redhat.com>
47859
47860 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
47861 __feraiseexcept instead of feraiseexcept.
47862
d38f1dba
UD
478632011-10-18 Ulrich Drepper <drepper@gmail.com>
47864
d9a8d0ab
UD
47865 * math/math_private.h: Define defaults for libc_fetestexcept and
47866 libc_feupdateenv.
47867 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
47868 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
47869 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47870 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47871 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47872 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47873 libc_fetestexcept and libc_feupdateenv.
47874
4855e3dd
UD
47875 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
47876 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
47877 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
47878 * sysdeps/x86_64/fpu/math_private.h: Define special version of
47879 libc_feholdexcept_setround.
47880
581d30e3
UD
47881 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
47882 Add s_nearbyint-c and s_nearbyintf-c.
47883 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
47884 nearbyintf inlines.
47885 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
47886 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
47887 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
47888 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
47889
d38f1dba
UD
47890 * math/math_private.h: Define defaults for libc_fegetround,
47891 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
47892 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
47893 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
47894 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
47895 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
47896 standard functions.
47897 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47898 Remove comments and hacks for old compiler versions.
47899 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47900 libc_fegetround, libc_fesetround, libc_feholdexcept, and
47901 libc_feholdexceptl.
47902
caa6c9d8
AS
479032011-10-18 Andreas Schwab <schwab@redhat.com>
47904
47905 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
47906 (__feraiseexcept_renamed): Add __NTH.
47907 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
47908 namespace violations.
47909
97c066e6
UD
479102011-10-17 Ulrich Drepper <drepper@gmail.com>
47911
99ce7b04
UD
47912 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
47913
1004d182
UD
47914 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
47915
228a984d
UD
47916 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
47917 recently added interfaces.
47918 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
47919
c8553a6a
UD
47920 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
47921 about macro parameter expansion.
47922
ed22dcf6
UD
47923 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
47924 __NO_MATH_INLINES is defined. Cleanups.
47925
47926 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
47927 and __floorf is target has SSE4.1.
47928 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
47929 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
47930 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
47931 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
47932
b171c137
UD
47933 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
47934 name.
47935 (floorf): Likewise.
47936
97c066e6
UD
47937 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
47938
629f62ef
AS
479392011-10-17 Andreas Schwab <schwab@redhat.com>
47940
49a43d80
AS
47941 * misc/sys/cdefs.h: Fix last change.
47942
629f62ef
AS
47943 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
47944 database lookup.
47945
e453f6cd
UD
479462011-10-16 Ulrich Drepper <drepper@gmail.com>
47947
aa78043a
UD
47948 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
47949
ad0f5cad
UD
47950 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
47951 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47952 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47953 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47954 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47955 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47956 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47957 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47958 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47959 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
47960 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
47961 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
47962 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
47963 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
47964 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
47965 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
47966 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
47967 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
47968 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
47969 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
47970 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
47971 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
47972
47973 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
47974 ceil, ceilf, floor, floorf.
47975
47976 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
47977 Perform IRELATIVE relocations last.
47978
e453f6cd
UD
47979 * elf/do-rel.h: Add another parameter nrelative, replacing the
47980 local variable with the same name. Change name of the function
47981 to end in Rel or Rela (uppercase).
47982 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47983 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
47984 elf_dynamic_do_##reloc function.
47985
fd5bdc09
UD
479862011-10-15 Ulrich Drepper <drepper@gmail.com>
47987
79b195b5
UD
47988 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47989 is sufficient, at least on modern CPUs.
47990
d4a28569
UD
47991 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47992
b61099b5
UD
47993 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47994 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47995
bcf01e6d
UD
47996 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47997 __expl_finite.
47998 * math/bits/math-finite.h: Add entries for exp.
47999 * math/e_expl.c: Add __*_finite alias.
48000 * sysdeps/i386/fpu/e_exp.S: Likewise.
48001 * sysdeps/i386/fpu/e_expf.S: Likewise.
48002 * sysdeps/i386/fpu/e_expl.c: Likewise.
48003 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48004 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48005 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48006 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48007 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
48008 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48009 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48010
ba1a0d59
UD
48011 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
48012 is sufficient, at least on modern CPUs.
48013
fd5bdc09
UD
48014 * ctype/ctype-info.c (__ctype_init): Define.
48015 * include/ctype.h (__ctype_init): Declare.
48016 (__ctype_b_loc): The variable is always initialized.
48017 (__ctype_toupper_loc): Likewise.
48018 (__ctype_tolower_loc): Likewise.
48019 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
48020 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
48021
7872cfb0
AS
480222011-10-15 Andreas Schwab <schwab@linux-m68k.org>
48023
b468825a
AS
48024 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
48025
7872cfb0
AS
48026 * configure.in: Also look in $cxxmachine/include for C++ system
48027 headers.
48028
be13f7bf
LD
480292011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48030
48031 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
48032 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
48033 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
48034 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
48035 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
48036 (USE_AS_WMEMCMP): New macro.
48037 Fixing indents.
48038 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
48039 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
48040 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
48041 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
48042 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48043 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
48044 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
48045 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48046 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48047 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48048 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48049 (USE_AS_WMEMCMP): New macro.
48050 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
48051 * sysdeps/string/test-memcmp.c: Update.
48052 Fix simple_wmemcmp.
48053 Add new tests.
48054 * wcsmbs/wmemcmp.c: Update.
48055 (WMEMCMP): New macro.
48056 Fix overflow bug.
48057
556a2007
AJ
480582011-10-12 Andreas Jaeger <aj@suse.de>
48059
48060 [BZ #13268]
48061 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
48062
538faaa7
UD
480632011-10-15 Ulrich Drepper <drepper@gmail.com>
48064
ab6737ff
UD
48065 * libio/iofwide.c (do_length): Avoid warning.
48066
538faaa7
UD
48067 * ctype/ctype.h (__isctype_f): Add missing __THROW.
48068
396a21b1
UD
480692011-10-14 Ulrich Drepper <drepper@gmail.com>
48070
cdf2901f
UD
48071 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
48072
38ad40ce
UD
48073 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
48074 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
48075 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
48076 * sysdeps/i386/i686/fpu/e_log.S: New file.
48077 * sysdeps/i386/i686/fpu/e_logf.S: New file.
48078 * sysdeps/i386/i686/fpu/e_logl.S: New file.
48079
396a21b1
UD
48080 * ctype/ctype.h: Add support for inlined isXXX functions when
48081 compiling C++ code.
48082
6b1f68c9
AS
480832011-10-14 Andreas Schwab <schwab@redhat.com>
48084
349290c0
AS
48085 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48086
6b1f68c9
AS
48087 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48088
f2282d42
RM
480892011-10-13 Roland McGrath <roland@hack.frob.com>
48090
48091 [BZ #13291]
48092 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48093
5298ffa8
AS
480942011-10-13 Andreas Schwab <schwab@redhat.com>
48095
714fad23
AS
48096 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48097 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48098 feraiseexcept.
48099
81dcc7fb
AS
48100 * sysdeps/x86_64/memrchr.S: Check for zero size.
48101
5298ffa8
AS
48102 * string/stratcliff.c: Add memrchr tests.
48103
951fbcec
LD
481042011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48105
48106 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48107 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48108 rawmemchr-sse2 rawmemchr-sse2-bsf.
48109 * sysdeps/i386/i686/multiarch/memchr.S: New file.
48110 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48111 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48112 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48113 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48114 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48115 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48116 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48117 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48118 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48119 * string/memrchr.c (MEMRCHR): New macro.
48120
0ac5ae23
UD
481212011-10-12 Ulrich Drepper <drepper@gmail.com>
48122
48123 Add integration with gcc's -ffinite-math-only and optimize wrapper
48124 functions in libm.
48125 * Versions.def: Define GLIBC_2.15 version for libm.
48126 * math/Makefile (headers): Add bits/math-finite.h.
48127 * math/bits/math-finite.h: New file.
48128 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48129 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48130 * math/e_acoshl.c: Add __*_finite alias.
48131 * math/e_acosl.c: Likewise.
48132 * math/e_asinl.c: Likewise.
48133 * math/e_atan2l.c: Likewise.
48134 * math/e_atanhl.c: Likewise.
48135 * math/e_coshl.c: Likewise.
48136 * math/e_exp10.c: Likewise.
48137 * math/e_exp10f.c: Likewise.
48138 * math/e_exp10l.c: Likewise.
48139 * math/e_exp2l.c: Likewise.
48140 * math/e_fmodl.c: Likewise.
48141 * math/e_gammal_r.c: Likewise.
48142 * math/e_hypotl.c: Likewise.
48143 * math/e_j0l.c: Likewise.
48144 * math/e_j1l.c: Likewise.
48145 * math/e_jnl.c: Likewise.
48146 * math/e_lgammal_r.c: Likewise.
48147 * math/e_log10l.c: Likewise.
48148 * math/e_log2l.c: Likewise.
48149 * math/e_logl.c: Likewise.
48150 * math/e_powl.c: Likewise.
48151 * math/e_sinhl.c: Likewise.
48152 * math/e_sqrtl.c: Likewise.
48153 * math/e_scalb.c: Completely rewritten and optimized.
48154 * math/e_scalbf.c: Likewise.
48155 * math/e_scalbl.c: Likewise.
48156 * math/w_acos.c: Likewise.
48157 * math/w_acosf.c: Likewise.
48158 * math/w_acosl.c: Likewise.
48159 * math/w_acosh.c: Likewise.
48160 * math/w_acoshf.c: Likewise.
48161 * math/w_acoshl.c: Likewise.
48162 * math/w_asin.c: Likewise.
48163 * math/w_asinf.c: Likewise.
48164 * math/w_asinl.c: Likewise.
48165 * math/w_atan2.c: Likewise.
48166 * math/w_atan2f.c: Likewise.
48167 * math/w_atan2l.c: Likewise.
48168 * math/w_atanh.c: Likewise.
48169 * math/w_atanhf.c: Likewise.
48170 * math/w_atanhl.c: Likewise.
48171 * math/w_exp10.c: Likewise.
48172 * math/w_exp10f.c: Likewise.
48173 * math/w_exp10l.c: Likewise.
48174 * math/w_fmod.c: Likewise.
48175 * math/w_fmodf.c: Likewise.
48176 * math/w_fmodl.c: Likewise.
48177 * math/w_j0.c: Likewise.
48178 * math/w_j0f.c: Likewise.
48179 * math/w_j0l.c: Likewise.
48180 * math/w_j1.c: Likewise.
48181 * math/w_j1f.c: Likewise.
48182 * math/w_j1l.c: Likewise.
48183 * math/w_jn.c: Likewise.
48184 * math/w_jnf.c: Likewise.
48185 * math/w_log.c: Likewise.
48186 * math/w_logf.c: Likewise.
48187 * math/w_logl.c: Likewise.
48188 * math/w_log10.c: Likewise.
48189 * math/w_log10f.c: Likewise.
48190 * math/w_log10l.c: Likewise.
48191 * math/w_log2.c: Likewise.
48192 * math/w_log2f.c: Likewise.
48193 * math/w_log2l.c: Likewise.
48194 * math/w_pow.c: Likewise.
48195 * math/w_powf.c: Likewise.
48196 * math/w_powl.c: Likewise.
48197 * math/w_remainder.c: Likewise.
48198 * math/w_remainderf.c: Likewise.
48199 * math/w_remainderl.c: Likewise.
48200 * math/w_scalb.c: Likewise.
48201 * math/w_scalbf.c: Likewise.
48202 * math/w_scalbl.c: Likewise.
48203 * math/w_sqrt.c: Likewise.
48204 * math/w_sqrtf.c: Likewise.
48205 * math/w_sqrtl.c: Likewise.
48206 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
48207 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
48208 used.
48209 * math/math_private.h: Declare __kernel_standard_f.
48210 * math/w_cosh.c: Remove cruft and optimize a bit.
48211 * math/w_coshf.c: Likewise.
48212 * math/w_coshl.c: Likewise.
48213 * math/w_exp2.c: Likewise.
48214 * math/w_exp2f.c: Likewise.
48215 * math/w_exp2l.c: Likewise.
48216 * math/w_hypot.c: Likewise.
48217 * math/w_hypotf.c: Likewise.
48218 * math/w_hypotl.c: Likewise.
48219 * math/w_lgamma.c: Likewise.
48220 * math/w_lgamma_r.c: Likewise.
48221 * math/w_lgammaf.c: Likewise.
48222 * math/w_lgammaf_r.c: Likewise.
48223 * math/w_lgammal.c: Likewise.
48224 * math/w_lgammal_r.c: Likewise.
48225 * math/w_sinh.c: Likewise.
48226 * math/w_sinhf.c: Likewise.
48227 * math/w_sinhl.c: Likewise.
48228 * math/w_tgamma.c: Likewise.
48229 * math/w_tgammaf.c: Likewise.
48230 * math/w_tgammal.c: Likewise.
48231 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48232 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48233 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
48234 Minor optimizations. Pretty printing. Remove cruft.
48235 * sysdeps/i386/fpu/e_acosf.S: Likewise.
48236 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48237 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48238 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48239 * sysdeps/i386/fpu/e_acosl.c: Likewise.
48240 * sysdeps/i386/fpu/e_asin.S: Likewise.
48241 * sysdeps/i386/fpu/e_asinf.S: Likewise.
48242 * sysdeps/i386/fpu/e_atan2.S: Likewise.
48243 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
48244 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
48245 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48246 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48247 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48248 * sysdeps/i386/fpu/e_exp10.S: Likewise.
48249 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
48250 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
48251 * sysdeps/i386/fpu/e_exp2.S: Likewise.
48252 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
48253 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
48254 * sysdeps/i386/fpu/e_fmod.S: Likewise.
48255 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
48256 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
48257 * sysdeps/i386/fpu/e_hypot.S: Likewise.
48258 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
48259 * sysdeps/i386/fpu/e_log.S: Likewise.
48260 * sysdeps/i386/fpu/e_log10.S: Likewise.
48261 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48262 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48263 * sysdeps/i386/fpu/e_log2.S: Likewise.
48264 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48265 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48266 * sysdeps/i386/fpu/e_logf.S: Likewise.
48267 * sysdeps/i386/fpu/e_logl.S: Likewise.
48268 * sysdeps/i386/fpu/e_pow.S: Likewise.
48269 * sysdeps/i386/fpu/e_powf.S: Likewise.
48270 * sysdeps/i386/fpu/e_powl.S: Likewise.
48271 * sysdeps/i386/fpu/e_remainder.S: Likewise.
48272 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
48273 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
48274 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48275 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48276 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48277 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
48278 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
48279 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
48280 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48281 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48282 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48283 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48284 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48285 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48286 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48287 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48288 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48289 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48290 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48291 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48292 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48293 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48294 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48295 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48296 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48297 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48298 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48299 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48300 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48301 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48302 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48303 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48304 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48305 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48306 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48307 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48308 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
48309 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48310 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48311 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48312 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48313 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48314 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48315 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48316 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48317 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48318 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48319 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48320 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48321 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48322 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48323 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48324 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48325 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48326 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48327 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48328 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48329 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
48330 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48331 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48332 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48333 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48334 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48335 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48336 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48337 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48338 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48339 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48340 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48341 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48342 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48343 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48344 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48345 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48346 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48347 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48348 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
48349 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48350 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48351 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48352 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48353 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48354 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48355 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48356 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48357 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48358 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48359 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48360 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48361 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48362 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
48363 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48364 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48365 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48366 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48367 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48368 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48369 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48370 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48371 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48372 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48373 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48374 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48375 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48376 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48377 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
48378 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
48379 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
48380 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
48381 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
48382 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
48383 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
48384 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48385 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48386 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48387 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48388 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
48389 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48390 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
48391 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
48392 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
48393 (__isnanf): Likewise.
48394 (__isinf_ns): Likewise.
48395 (__isinf_nsf): Likewise.
48396 (__finite): Likewise.
48397 (__finitef): Likewise.
48398 (__ieee754_sqrt): Define as macro.
48399 (__ieee754_sqrtf): Define as macro.
48400 (__ieee754_sqrtl): Define as macro.
48401 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
48402 inlined copy.
48403 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
48404 __FINITE_MATH_ONLY__ consistent.
48405 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
48406
12cc2fcd
AS
484072011-10-10 Andreas Schwab <schwab@linux-m68k.org>
48408
a843a204
AS
48409 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
48410 of rawmemchr.
48411
12cc2fcd
AS
48412 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
48413
c853acd5
UD
484142011-10-09 Ulrich Drepper <drepper@gmail.com>
48415
48416 * po/ja.po: Update from translation team.
48417
c658d255
RM
484182011-10-08 Roland McGrath <roland@hack.frob.com>
48419
110946e4
RM
48420 * locale/programs/locarchive.c (prepare_address_space): New function.
48421 (create_archive, enlarge_archive, open_archive): Use it.
48422
50604220
RM
48423 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
48424 inside [SHARED], where it is used.
48425
c658d255
RM
48426 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
48427
48428 * nss/getent.c (netgroup_keys): Remove unused variable.
48429 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48430
6a621eb7
UD
484312011-10-08 Ulrich Drepper <drepper@gmail.com>
48432
7edb55ce
UD
48433 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
48434 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
48435 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
48436 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
48437 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
48438 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
48439 * math/Makefile (libm-calls): Add s_isinf_ns.
48440 * math/divtc3.c: Use __isinf_nsl instead of isinf.
48441 * math/multc3.c: Likewise.
48442 * math/s_casin.c: Likewise.
48443 * math/s_casinf.c: Likewise.
48444 * math/s_casinl.c: Likewise.
48445 * math/s_ccos.c: Likewise.
48446 * math/s_ccosf.c: Likewise.
48447 * math/s_ccosl.c: Likewise.
48448 * math/s_ctan.c: Likewise.
48449 * math/s_ctanf.c: Likewise.
48450 * math/s_ctanh.c: Likewise.
48451 * math/s_ctanhf.c: Likewise.
48452 * math/s_ctanhl.c: Likewise.
48453 * math/s_ctanl.c: Likewise.
48454 * math/w_fmod.c: Likewise.
48455 * math/w_fmodf.c: Likewise.
48456 * math/w_fmodl.c: Likewise.
48457 * math/w_remainder.c: Likewise.
48458 * math/w_remainderf.c: Likewise.
48459 * math/w_remainderl.c: Likewise.
48460 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
48461 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
48462 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
48463 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
48464 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
48465 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
48466 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
48467 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
48468
187da0ae
UD
48469 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
48470 of the number.
48471 * stdio-common/printf_fphex.c: Likewise.
48472 * stdio-common/printf_size.c: Likewise.
48473
9277c064
UD
48474 * math/e_exp10.c: Include math_private.h using <...> not "...".
48475 * math/e_exp10f.c: Likewise.
48476 * math/e_exp10l.c: Likewise.
48477 * math/e_exp2l.c: Likewise.
48478 * math/e_j0l.c: Likewise.
48479 * math/e_j1l.c: Likewise.
48480 * math/e_jnl.c: Likewise.
48481 * math/e_lgammal_r.c: Likewise.
48482 * math/e_rem_pio2l.c: Likewise.
48483 * math/e_scalb.c: Likewise.
48484 * math/e_scalbf.c: Likewise.
48485 * math/e_scalbl.c: Likewise.
48486 * math/k_cosl.c: Likewise.
48487 * math/k_sinl.c: Likewise.
48488 * math/k_tanl.c: Likewise.
48489 * math/s_cacoshf.c: Likewise.
48490 * math/s_catan.c: Likewise.
48491 * math/s_catanf.c: Likewise.
48492 * math/s_catanh.c: Likewise.
48493 * math/s_catanhf.c: Likewise.
48494 * math/s_catanhl.c: Likewise.
48495 * math/s_catanl.c: Likewise.
48496 * math/s_ccosh.c: Likewise.
48497 * math/s_ccoshf.c: Likewise.
48498 * math/s_ccoshl.c: Likewise.
48499 * math/s_cexp.c: Likewise.
48500 * math/s_cexpf.c: Likewise.
48501 * math/s_cexpl.c: Likewise.
48502 * math/s_clog.c: Likewise.
48503 * math/s_clog10.c: Likewise.
48504 * math/s_clog10f.c: Likewise.
48505 * math/s_clog10l.c: Likewise.
48506 * math/s_clogf.c: Likewise.
48507 * math/s_clogl.c: Likewise.
48508 * math/s_csin.c: Likewise.
48509 * math/s_csinf.c: Likewise.
48510 * math/s_csinh.c: Likewise.
48511 * math/s_csinhf.c: Likewise.
48512 * math/s_csinhl.c: Likewise.
48513 * math/s_csinl.c: Likewise.
48514 * math/s_csqrt.c: Likewise.
48515 * math/s_csqrtf.c: Likewise.
48516 * math/s_csqrtl.c: Likewise.
48517 * math/s_ctan.c: Likewise.
48518 * math/s_ctanf.c: Likewise.
48519 * math/s_ctanh.c: Likewise.
48520 * math/s_ctanhf.c: Likewise.
48521 * math/s_ctanhl.c: Likewise.
48522 * math/s_ctanl.c: Likewise.
48523 * math/s_ldexp.c: Likewise.
48524 * math/s_ldexpf.c: Likewise.
48525 * math/s_ldexpl.c: Likewise.
48526 * math/s_significand.c: Likewise.
48527 * math/s_significandf.c: Likewise.
48528 * math/s_significandl.c: Likewise.
48529 * math/w_acos.c: Likewise.
48530 * math/w_acosf.c: Likewise.
48531 * math/w_acosh.c: Likewise.
48532 * math/w_acoshf.c: Likewise.
48533 * math/w_acoshl.c: Likewise.
48534 * math/w_acosl.c: Likewise.
48535 * math/w_asin.c: Likewise.
48536 * math/w_asinf.c: Likewise.
48537 * math/w_asinl.c: Likewise.
48538 * math/w_atan2.c: Likewise.
48539 * math/w_atan2f.c: Likewise.
48540 * math/w_atan2l.c: Likewise.
48541 * math/w_atanh.c: Likewise.
48542 * math/w_atanhf.c: Likewise.
48543 * math/w_atanhl.c: Likewise.
48544 * math/w_cosh.c: Likewise.
48545 * math/w_coshf.c: Likewise.
48546 * math/w_coshl.c: Likewise.
48547 * math/w_dremf.c: Likewise.
48548 * math/w_exp10.c: Likewise.
48549 * math/w_exp10f.c: Likewise.
48550 * math/w_exp10l.c: Likewise.
48551 * math/w_exp2.c: Likewise.
48552 * math/w_exp2f.c: Likewise.
48553 * math/w_fmod.c: Likewise.
48554 * math/w_fmodf.c: Likewise.
48555 * math/w_fmodl.c: Likewise.
48556 * math/w_hypot.c: Likewise.
48557 * math/w_hypotf.c: Likewise.
48558 * math/w_hypotl.c: Likewise.
48559 * math/w_j0.c: Likewise.
48560 * math/w_j0f.c: Likewise.
48561 * math/w_j0l.c: Likewise.
48562 * math/w_j1.c: Likewise.
48563 * math/w_j1f.c: Likewise.
48564 * math/w_j1l.c: Likewise.
48565 * math/w_jn.c: Likewise.
48566 * math/w_jnf.c: Likewise.
48567 * math/w_jnl.c: Likewise.
48568 * math/w_lgamma.c: Likewise.
48569 * math/w_lgamma_r.c: Likewise.
48570 * math/w_lgammaf.c: Likewise.
48571 * math/w_lgammaf_r.c: Likewise.
48572 * math/w_lgammal.c: Likewise.
48573 * math/w_lgammal_r.c: Likewise.
48574 * math/w_log.c: Likewise.
48575 * math/w_log10.c: Likewise.
48576 * math/w_log10f.c: Likewise.
48577 * math/w_log10l.c: Likewise.
48578 * math/w_log2.c: Likewise.
48579 * math/w_log2f.c: Likewise.
48580 * math/w_log2l.c: Likewise.
48581 * math/w_logf.c: Likewise.
48582 * math/w_logl.c: Likewise.
48583 * math/w_pow.c: Likewise.
48584 * math/w_powf.c: Likewise.
48585 * math/w_powl.c: Likewise.
48586 * math/w_remainder.c: Likewise.
48587 * math/w_remainderf.c: Likewise.
48588 * math/w_remainderl.c: Likewise.
48589 * math/w_scalb.c: Likewise.
48590 * math/w_scalbf.c: Likewise.
48591 * math/w_scalbl.c: Likewise.
48592 * math/w_sinh.c: Likewise.
48593 * math/w_sinhf.c: Likewise.
48594 * math/w_sinhl.c: Likewise.
48595 * math/w_sqrt.c: Likewise.
48596 * math/w_sqrtf.c: Likewise.
48597 * math/w_sqrtl.c: Likewise.
48598 * math/w_tgamma.c: Likewise.
48599 * math/w_tgammaf.c: Likewise.
48600 * math/w_tgammal.c: Likewise.
48601
6a621eb7
UD
48602 * po/ja.po: Update from translation team.
48603
bf582445
AJ
486042011-09-29 Andreas Jaeger <aj@suse.de>
48605
f9efbf3a
AJ
48606 [BZ #13179]
48607 * sunrpc/netname.c (netname2host): Fix logic.
48608
bf582445
AJ
48609 [BZ #6779]
48610 [BZ #6783]
48611 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
48612 correctly.
48613 * math/w_remainder.c (__remainder): Likewise.
48614 * math/w_remainderf.c (__remainderf): Likewise.
48615 * math/libm-test.inc (remainder_test): Add test cases.
48616
48693bea
AK
486172011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48618
48619 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
48620 sdiv_qrnnd.
48621
42622229
LD
486222011-10-07 Ulrich Drepper <drepper@gmail.com>
48623
48624 * string/test-memcmp.c: Avoid unncessary #defines.
48625 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48626
093ecf92
LD
486272011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48628
48629 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
48630 Use new sse2 version for core i3 - i7 as it's faster
48631 than sse42 version.
48632 (bit_Prefer_PMINUB_for_stringop): New.
48633 * sysdeps/x86_64/rawmemchr.S: Update.
48634 Replace with faster SSE2 version.
48635 * sysdeps/x86_64/memrchr.S: New file.
48636 * sysdeps/x86_64/memchr.S: Update.
48637 Replace with faster SSE2 version.
48638
fde56e5c
MP
486392011-09-12 Marek Polacek <mpolacek@redhat.com>
48640
48641 * elf/dl-load.c (lose): Add cast to avoid warning.
48642
21fd49a9
UD
486432011-10-07 Ulrich Drepper <drepper@gmail.com>
48644
5a06e643
UD
48645 * po/ca.po: Update from translation team.
48646
684ae515
UD
48647 * inet/getnetgrent_r.c: Hook up nscd.
48648 * nscd/Makefile (routines): Add nscd_netgroup.
48649 (nscd-modules): Add netgroupcache.
48650 (CFLAGS-netgroupcache.c): Define.
48651 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
48652 (cache_search): Add const to second parameter.
48653 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
48654 INNETGR.
48655 (dbs): Add netgrdb entry.
48656 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
48657 (verify_persistent_db): Handle netgrdb.
48658 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
48659 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
48660 GETFDNETGR.
48661 (netgroup_response_header): Define.
48662 (innetgroup_response_header): Define.
48663 (datahead): Add netgroup_response_header and innetgroup_response_header
48664 elements.
48665 * nscd/nscd.conf: Add entries for netgroup cache.
48666 * nscd/nscd.h (dbtype): Add netgrdb.
48667 (_PATH_NSCD_NETGROUP_DB): Define.
48668 (netgroup_iov_disabled): Declare.
48669 (xmalloc, xcalloc, xrealloc): Move declarations here.
48670 (cache_search): Adjust prototype.
48671 Add netgroup-related prototypes.
48672 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
48673 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
48674 (__nscd_innetgr): Declare.
48675 * nscd/selinux.c (perms): Use access_vector_t as element type and
48676 add netgroup-related initializers.
48677 * nscd/netgroupcache.c: New file.
48678 * nscd/nscd_netgroup.c: New file.
48679 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
48680 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
48681 For four parameters use innetgr.
48682 * nss/nss_files/files-init.c: Add definition and callback for netgr.
48683 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
48684 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
48685 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
48686
21fd49a9
UD
48687 * nscd/connections.c (register_traced_file): Don't register file
48688 for disabled databases.
48689
054c0457
UD
486902011-10-06 Ulrich Drepper <drepper@gmail.com>
48691
32b63198
UD
48692 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
48693
054c0457
UD
48694 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
48695 from tree and freeing node.
48696
64031225
JO
486972011-09-25 Jiri Olsa <jolsa@redhat.com>
48698
48699 * nss/nsswitch.c (__nss_database_lookup): Handle
48700 nss_parse_service_list out of memory case.
48701
0490345c
JO
487022011-09-15 Jiri Olsa <jolsa@redhat.com>
48703
48704 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
48705 out of memory case.
48706
3a62d00d
AS
487072011-10-04 Andreas Schwab <schwab@redhat.com>
48708
48709 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
48710 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
48711 pass it down.
48712 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
48713 elf_machine_rela, elf_machine_lazy_rel.
48714 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
48715 (ELF_DYNAMIC_DO_REL): Likewise.
48716 (ELF_DYNAMIC_DO_RELA): Likewise.
48717 (ELF_DYNAMIC_RELOCATE): Likewise.
48718 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
48719 to ELF_DYNAMIC_DO_REL.
48720 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
48721 (dl_main): In trace mode always set __RTLD_NOIFUNC.
48722 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
48723 elf_machine_rela.
48724 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
48725 skip_ifunc, don't call ifunc function if non-zero.
48726 (elf_machine_rela): Likewise.
48727 (elf_machine_lazy_rel): Likewise.
48728 (elf_machine_lazy_rela): Likewise.
48729 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
48730 (elf_machine_lazy_rel): Likewise.
48731 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
48732 Likewise.
48733 (elf_machine_lazy_rel): Likewise.
48734 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48735 Likewise.
48736 (elf_machine_lazy_rel): Likewise.
48737 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
48738 (elf_machine_lazy_rel): Likewise.
48739 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
48740 (elf_machine_lazy_rel): Likewise.
48741 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48742 (elf_machine_lazy_rel): Likewise.
48743 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
48744 (elf_machine_lazy_rel): Likewise.
48745 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
48746 (elf_machine_lazy_rel): Likewise.
48747 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48748 (elf_machine_lazy_rel): Likewise.
48749
68577918
UD
487502011-09-28 Ulrich Drepper <drepper@gmail.com>
48751
48752 * nss/nss_files/files-init.c (_nss_files_init): Use static
48753 initialization for all the *_traced_file variables.
48754
68822d74
AS
487552011-09-28 Andreas Schwab <schwab@redhat.com>
48756
48757 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48758
2056100b
RM
487592011-09-27 Roland McGrath <roland@hack.frob.com>
48760
48761 [BZ #13226]
48762 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
48763
32c76b63
AS
487642011-09-27 Andreas Schwab <schwab@redhat.com>
48765
48766 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48767 Reread the line before reparsing it.
48768
bf972c9d
AS
487692011-09-26 Andreas Schwab <schwab@redhat.com>
48770
48771 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
48772
e057a1b5
JM
487732011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
48774 Maxim Kuvyrkov <maxim@codesourcery.com>
48775 Joseph Myers <joseph@codesourcery.com>
48776
48777 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
48778 if needed for __stack_chk_guard.
48779
bc7e1c36
RM
487802011-09-19 Roland McGrath <roland@hack.frob.com>
48781
ecb1482f
RM
48782 * sysdeps/posix/spawni.c (script_execute): Always define it.
48783 It will be optimized away if unused.
48784 (maybe_script_execute): New function.
48785 (__spawni): Call it.
48786
bc7e1c36
RM
48787 * Makerules: Don't include tls.make.
48788 (config-tls): Always set to thread.
48789 * tls.make.c: File removed.
48790
1c3b002b
MF
487912011-09-19 Mike Frysinger <vapier@gentoo.org>
48792
48793 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
48794 * config.make.in (CPPFLAGS-config): New substituted variable.
48795
2840865d
UD
487962011-09-15 Ulrich Drepper <drepper@gmail.com>
48797
88738eb6
UD
48798 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
48799
cbf645a6 48800 [BZ #13192]
2840865d
UD
48801 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
48802 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
48803
b402e91a
RM
488042011-09-15 Roland McGrath <roland@hack.frob.com>
48805
48806 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
48807 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
48808 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48809 (CALL_FAIL): Likewise.
48810 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
48811 (CALL_FAIL): Macro removed.
48812 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
48813
4c1a1f71
UD
488142011-09-15 Ulrich Drepper <drepper@gmail.com>
48815
48816 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
48817 for __FINITE_MATH_ONLY__ == 1.
48818
edc121be
AS
488192011-09-15 Andreas Schwab <schwab@redhat.com>
48820
48821 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
48822 __ieee754_sqrt instead of sqrt.
48823 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
48824 __ieee754_sqrtf instead of sqrtf.
48825 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
48826 __floorf instead of floorf.
48827 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
48828 __floorf, __truncf instead of floorf, truncf.
48829
cd205654
UD
488302011-09-14 Ulrich Drepper <drepper@gmail.com>
48831
ee4d0315
UD
48832 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
48833
cd205654
UD
48834 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
48835 __extern_always_inline.
48836 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
48837 32-bit.
48838
48b67d71
AS
488392011-09-14 Andreas Schwab <schwab@redhat.com>
48840
48841 * elf/rtld.c (dl_main): Also relocate in dependency order when
48842 doing symbol dependency testing.
48843
1ae12c75
AS
488442011-09-13 Andreas Schwab <schwab@linux-m68k.org>
48845
48846 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48847 Always define `refsym'.
48848
995a80df
AS
488492011-09-13 Andreas Schwab <schwab@redhat.com>
48850
e529793b
AS
48851 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
48852 (__FD_ELT): Renamed from __FDELT.
48853 * misc/bits/select2.h (__FD_ELT): Likewise.
48854 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
48855 __FD_MASK instead of __FDELT, __FDMASK.
48856 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48857 Likewise.
48858 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48859 Likewise.
48860
52d4fef8
AS
48861 * elf/Makefile (gen-ldd): Fix pattern.
48862
995a80df
AS
48863 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
48864 (init_tls): Likewise.
48865
8682f8b0
UD
488662011-09-12 Ulrich Drepper <drepper@gmail.com>
48867
48868 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
48869
de82006d
AS
488702011-09-12 Andreas Schwab <schwab@redhat.com>
48871
a7c8e6a1
AS
48872 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
48873 `struct cmsghdr *' instead of `void *'.
48874 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
48875 Likewise.
48876
0f31fe77
AS
488772011-09-11 Andreas Schwab <schwab@linux-m68k.org>
48878
48879 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
48880 if non-absolute.
48881 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
48882 ldd_rewrite_script.
0f31fe77 48883
32b4c839
UD
488842011-09-11 Ulrich Drepper <drepper@gmail.com>
48885
83cd1420
UD
48886 * configure.in: Remove --with-tls option.
48887 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
48888 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
48889 out in case it is missing.
48890 * sysdeps/ia64/elf/configure.in: Likewise.
48891 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
48892 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
48893 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
48894 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
48895 * sysdeps/sh/elf/configure.in: Likewise.
48896 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
48897 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48898 * sysdeps/x86_64/elf/configure.in: Likewise.
48899 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
48900 * sysdeps/mach/hurd/tls.h: Likewise.
48901
633f745d
UD
48902 [BZ #13067]
48903 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
48904
f318beb8
UD
48905 [BZ #13090]
48906 * configure.in: Fix use of AC_INIT.
48907
32b4c839
UD
48908 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
48909
3ce1f295
UD
489102011-09-10 Ulrich Drepper <drepper@gmail.com>
48911
bb016596
UD
48912 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
48913 __set_errno.
8e58439c
UD
48914 * malloc/hooks.c: Likewise.
48915
aebae053 48916 [BZ #11929]
02d46fc4
UD
48917 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
48918 variables statically.
48919 (narenas): Initialize.
48920 (list_lock): Initialize.
bb016596
UD
48921 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
48922 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
48923 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
48924 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
48925 Add initializers to main_arena and mp_.
48926 (malloc_state): Remove pagesize member. Change all users to use
48927 GLRO(dl_pagesize).
48928
48929 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
48930 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
48931 is always initialized.
48932
22a89187
UD
48933 * malloc/malloc.c: Removed unused configurations and dead code.
48934 * malloc/arena.c: Likewise.
48935 * malloc/hooks.c: Likewise.
02d46fc4 48936 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 48937
d063d164
UD
48938 * include/tls.h: Removed. USE___THREAD must always be defined.
48939 * bits/libc-tsd.h: Don't handle !USE___THREAD.
48940 * elf/dl-libc.c: Likewise.
48941 * elf/dl-tsd.c: Likewise.
48942 * include/errno.h: Likewise.
48943 * include/netdb.h: Likewise.
48944 * include/resolv.h: Likewise.
48945 * inet/herrno-loc.c: Likewise.
48946 * inet/herrno.c: Likewise.
48947 * malloc/arena.c: Likewise.
48948 * malloc/hooks.c: Likewise.
48949 * malloc/malloc.c: Likewise.
48950 * resolv/res-state.c: Likewise.
48951 * resolv/res_libc.c: Likewise.
48952 * sysdeps/i386/dl-machine.h: Likewise.
48953 * sysdeps/ia64/dl-machine.h: Likewise.
48954 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48955 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48956 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48957 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48958 * sysdeps/sh/dl-machine.h: Likewise.
48959 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48960 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48961 * sysdeps/unix/i386/sysdep.S: Likewise.
48962 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48963 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
48964 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
48965 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48966 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
48967 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48968 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
48969 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48970 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48971 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48972 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48973 * sysdeps/x86_64/dl-machine.h: Likewise.
48974 * tls.make.c: Likewise.
48975
3ce1f295
UD
48976 * configure.in: Remove --with-__thread option. Make tests for
48977 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
48978 tls_model attribute fail if no support is available. Remove
48979 USE_IN_LIBIO.
48980 * Makeconfig: Adjust for dropped configure option. All features are
48981 now mandatory.
48982 * Makerules: Likewise.
48983 * Versions.def: Likewise.
48984 * argp/argp-fmtstream.c: Likewise.
48985 * argp/argp-fmtstream.h: Likewise.
48986 * argp/argp-help.c: Likewise.
48987 * assert/assert.c: Likewise.
48988 * config.h.in: Likewise.
48989 * config.make.in: Likewise.
48990 * configure: Likewise.
48991 * configure.in: Likewise.
48992 * csu/Versions: Likewise.
48993 * csu/init.c: Likewise.
48994 * elf/tst-audit2.c: Likewise.
48995 * elf/tst-tls10.c: Likewise.
48996 * elf/tst-tls10.h: Likewise.
48997 * elf/tst-tls11.c: Likewise.
48998 * elf/tst-tls12.c: Likewise.
48999 * elf/tst-tls14.c: Likewise.
49000 * elf/tst-tlsmod11.c: Likewise.
49001 * elf/tst-tlsmod12.c: Likewise.
49002 * elf/tst-tlsmod13.c: Likewise.
49003 * elf/tst-tlsmod13a.c: Likewise.
49004 * elf/tst-tlsmod14a.c: Likewise.
49005 * elf/tst-tlsmod15b.c: Likewise.
49006 * elf/tst-tlsmod16a.c: Likewise.
49007 * elf/tst-tlsmod16b.c: Likewise.
49008 * elf/tst-tlsmod7.c: Likewise.
49009 * elf/tst-tlsmod8.c: Likewise.
49010 * elf/tst-tlsmod9.c: Likewise.
49011 * gmon/gmon.c: Likewise.
49012 * grp/fgetgrent_r.c: Likewise.
49013 * grp/putgrent.c: Likewise.
49014 * hurd/fopenport.c: Likewise.
49015 * include/libc-symbols.h: Likewise.
49016 * include/tls.h: Likewise.
49017 * intl/gettextP.h: Likewise.
49018 * intl/loadinfo.h: Likewise.
49019 * locale/global-locale.c: Likewise.
49020 * locale/localeinfo.h: Likewise.
49021 * mach/devstream.c: Likewise.
49022 * malloc/arena.c: Likewise.
49023 * malloc/set-freeres.c: Likewise.
49024 * misc/err.c: Likewise.
49025 * misc/getttyent.c: Likewise.
49026 * misc/mntent_r.c: Likewise.
49027 * posix/getopt.c: Likewise.
49028 * posix/wordexp.c: Likewise.
49029 * pwd/fgetpwent_r.c: Likewise.
49030 * resolv/Versions: Likewise.
49031 * resolv/res_hconf.c: Likewise.
49032 * shadow/fgetspent_r.c: Likewise.
49033 * shadow/putspent.c: Likewise.
49034 * stdio-common/printf_fphex.c: Likewise.
49035 * stdio-common/tmpfile.c: Likewise.
49036 * stdlib/abort.c: Likewise.
49037 * stdlib/fmtmsg.c: Likewise.
49038 * sunrpc/auth_unix.c: Likewise.
49039 * sunrpc/clnt_perr.c: Likewise.
49040 * sunrpc/clnt_tcp.c: Likewise.
49041 * sunrpc/clnt_udp.c: Likewise.
49042 * sunrpc/clnt_unix.c: Likewise.
49043 * sunrpc/openchild.c: Likewise.
49044 * sunrpc/svc_simple.c: Likewise.
49045 * sunrpc/svc_tcp.c: Likewise.
49046 * sunrpc/svc_udp.c: Likewise.
49047 * sunrpc/svc_unix.c: Likewise.
49048 * sunrpc/xdr.c: Likewise.
49049 * sunrpc/xdr_array.c: Likewise.
49050 * sunrpc/xdr_rec.c: Likewise.
49051 * sunrpc/xdr_ref.c: Likewise.
49052 * sunrpc/xdr_stdio.c: Likewise.
49053
1248c1c4
PB
490542011-09-09 Ulrich Drepper <drepper@gmail.com>
49055
49056 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49057
490582011-07-03 Andreas Jaeger <aj@suse.de>
49059
49060 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
49061 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
49062 regenerate with gen-libm-tests.pl.
49063
490642010-05-12 Petr Baudis <pasky@suse.cz>
49065
49066 [BZ #11589]
49067 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
49068 around j0() zero points by switching to j1().
49069 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49070 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49071 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49072 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49073
f22e1074
UD
490742011-09-09 Ulrich Drepper <drepper@gmail.com>
49075
f19009c1
UD
49076 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
49077 instead of 0.
49078 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 49079 instead of 0.
f19009c1
UD
49080 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49081 Patch in part by Pavel Roskin <proski@gnu.org>.
49082
3f8cc204
UD
49083 [BZ #13138]
49084 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
49085 realloc.
49086 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
49087 Free memory block if necessary.
49088
f22e1074
UD
49089 [BZ #12847]
49090 * libio/genops.c (INTDEF): For string streams the _lock pointer can
49091 be NULL. Don't lock in this case.
49092
0a2349f9
RM
490932011-09-09 Roland McGrath <roland@hack.frob.com>
49094
49095 * elf/elf.h (ELFOSABI_GNU): New macro.
49096 (ELFOSABI_LINUX): Define to that.
49097
f3cdd467
DZ
490982011-07-29 Denis Zaitceff <zaitceff@gmail.com>
49099
49100 * string/strncat.c (strncat): Undef the symbol in case it has been
49101 defined in bits/string.h.
49102
74718d13
UD
491032011-09-09 Ulrich Drepper <drepper@gmail.com>
49104
633e9e0f
UD
49105 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49106
0a2349f9 49107 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
49108 link map.
49109
f9924780
AJ
491102011-08-17 Andreas Jaeger <aj@suse.de>
49111
49112 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49113
7f5517aa
PP
491142011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
49115 Ian Lance Taylor <iant@google.com>
49116
49117 * math/libm-test.inc (lround_test): New testcase.
49118 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49119
762011fe
UD
491202011-09-08 Ulrich Drepper <drepper@gmail.com>
49121
92963737
UD
49122 * Makefile: Remove support for automatic cvs check-ins.
49123 * Makerules: Likewise.
49124 * config.make.in: Likewise.
49125 * configure.in: Likewise.
49126 * intl/Makefile: Likewise.
49127 * locale/Makefile: Likewise.
49128 * po/Makefile: Likewise.
49129 * posix/Makefile: Likewise.
49130 * sysdeps/gnu/Makefile: Likewise.
49131 * sysdeps/mach/hurd/Makefile: Likewise.
49132 * sysdeps/sparc/sparc32/Makefile: Likewise.
49133
b0727fd8
JS
49134 [BZ #13118]
49135 * posix/Makefile (bug-regex32-ENV): Define.
49136 Patch by John Stanley <jpsinthemix@verizon.net>.
49137
a0f33f99
UD
49138 * misc/Makefile (headers): Add bits/select2.h.
49139 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49140 * misc/bits/select2.h: New file.
49141 * include/bits/select2.h: New file.
49142 * debug/Makefile (routines): Add fdelt_chk.
49143 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49144 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49145 FD_ISSET.
49146 * debug/fdelt_chk.c: New file.
49147
762011fe
UD
49148 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
49149 * wcsmbs/test-wmemcmp.c: Likewise.
49150 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 49151 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
49152
491532011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49154
49155 * string/Makefile (strop-tests): Add memcmp.
49156 * string/test-wmemcmp.c: New file.
49157 * string/test-memcmp.c: Add wmemcmp support.
49158
7f513ec8
RM
491592011-09-08 Roland McGrath <roland@hack.frob.com>
49160
0442afb4
RM
49161 [BZ #13153]
49162 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
49163 2011-07-19 change.
49164
7f513ec8
RM
49165 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
49166 garbage value in a __mach_port_mod_refs call in the cases of the
49167 task-self and thread-self ports.
49168
a12b2239
ST
491692011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49170
49171 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
49172
610f9ab4
AS
491732011-09-08 Andreas Schwab <schwab@redhat.com>
49174
7f513ec8 49175 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 49176
48882a1a
LD
491772011-09-07 Ulrich Drepper <drepper@gmail.com>
49178
b49865be
UD
49179 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
49180
fdc86bc9
UD
49181 * elf/dl-libc.c (dlerror_run): Pass back error code from
49182 dl_catch_error.
49183
c966526a
UD
49184 [BZ #13123]
49185 * elf/dl-load.c (lose): Free l_origin if it is valid.
49186
48882a1a
LD
49187 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
49188 names.
49189 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
49190 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49191 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49192 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49193 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
49194 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
49195
77a2a8b4
AZ
491962011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49197
49198 * sysdeps/powerpc/fpu/e_hypot.c: New file.
49199 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
49200 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
49201 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
49202 * sysdeps/powerpc/fpu/k_cosf.c: New file.
49203 * sysdeps/powerpc/fpu/k_sinf.c: New file.
49204 * sysdeps/powerpc/fpu/s_cosf.c: New file.
49205 * sysdeps/powerpc/fpu/s_sinf.c: New file.
49206 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
49207 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
49208
24f579d8
AM
492092011-08-15 Alan Modra <amodra@gmail.com>
49210
49211 [BZ #13092]
49212 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
49213 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
49214 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
49215 ppc_mcount to static-only-routines.
49216 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
49217 __mcount_internal.
49218 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
49219 __mcount_internal with usual JUMPTARGET. Remove useless nop.
49220
3d4837df
UD
492212011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
49222
49223 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
49224 for finite and infinity parameters.
49225
22700377
WS
492262011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49227
49228 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
49229 and add nop instructions for throughput optimization.
49230 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49231
5025581e
WS
492322011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
49233
49234 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
49235 aligned copy for power7 with vector-scalar instructions.
49236 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49237
08a300c9
L
492382011-07-24 H.J. Lu <hongjiu.lu@intel.com>
49239
49240 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
49241 AVX check.
49242
59178ef9
AS
492432011-09-07 Andreas Schwab <schwab@redhat.com>
49244
49245 [BZ #13144]
49246 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
49247 last change.
49248
e38ba7ab
UD
492492011-09-07 Ulrich Drepper <drepper@gmail.com>
49250
49251 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49252 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
49253 syscall wrapper around clock_gettime in __vdso_clock_gettime.
49254 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
49255 clock_gettime.
49256
d53a73ac
UD
492572011-09-06 Ulrich Drepper <drepper@gmail.com>
49258
fc8bffcc
UD
49259 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
49260 Forgot to demangle the pointer.
49261
ceaa0c5d
UD
49262 * sysdeps/i386/sysdep.h: Define atom_text_section.
49263 * sysdeps/x86_64/sysdep.h: Likewise.
49264 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
49265 section with atom_text_section.
49266 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49267 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49268 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
49269 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49270 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
49271
a77d3c17
UD
49272 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
49273 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
49274 already be defined. Change to take two parameters and don't assign
49275 result to variable. Adjust all users.
49276 Define INTERNAL_GETTIME if not already defined.
49277 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
49278 call.
49279 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
49280 HAVE_CLOCK_GETTIME_VSYSCALL.
49281 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
49282
d53a73ac
UD
49283 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
49284 gettimeofday vsyscall, just use time.
49285
a8f84144
AS
492862011-09-06 Andreas Schwab <schwab@redhat.com>
49287
49288 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
49289 <errno.h>.
49290
ef606249
UD
492912011-09-06 Ulrich Drepper <drepper@gmail.com>
49292
49293 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
49294 syscall on x86-64.
49295 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
49296 syscall.
49297 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
49298 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
49299 syscall if possible.
49300
6585cb60
UD
493012011-09-05 Ulrich Drepper <drepper@gmail.com>
49302
49303 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
49304 e_ident. Don't pass to find_mapsXX.
49305 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
49306
a5f524e4
LD
493072011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49308
49309 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49310 strchr-sse2-no-bsf strrchr-sse2-no-bsf
49311 * sysdeps/x86_64/multiarch/strchr.S: Update.
49312 Check bit_slow_BSF bit.
49313 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49314 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
49315 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
49316
554881ef
UD
493172011-09-05 Ulrich Drepper <drepper@gmail.com>
49318
d96de963
UD
49319 [BZ #13134]
49320 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
49321 before glibc 2.15.
49322 (tryshell): Define.
49323 (__spawni): Change last parameter to be flag. Test
49324 SPAWN_XFLAGS_USE_PATH flag to use path or not.
49325 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
49326 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
49327 * posix/spawni.c: Likewise.
49328 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
49329 * posix/spawnp.c: Likewise. Change normal version to use
49330 SPAWN_XFLAGS_USE_PATH.
49331 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
49332 SPAWN_XFLAGS_TRY_SHELL.
49333
d48e5868
UD
49334 [BZ #13150]
49335 * posix/glob.h: Remove gcc 1.x support.
49336
554881ef
UD
49337 [BZ #13068]
49338 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
49339
693fb948
LD
493402011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49341
49342 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49343 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
49344 strrchr-sse2-bsf
49345 * sysdeps/i386/i686/multiarch/strchr.S: New file.
49346 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
49347 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
49348 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
49349 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
49350 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
49351
1b48c537
UD
493522011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49353
49d42c37
UD
49354 * sysdeps/x86_64/wcscmp.S: New file.
49355
1b48c537
UD
49356 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
49357 wcscmp-c wcscmp-sse2
49358 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
49359 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
49360 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
49361 * wcsmbs/wcscmp.c: Allow renaming.
49362
15c95c5d
DM
493632011-09-05 David S. Miller <davem@davemloft.net>
49364
49365 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
49366 stack slot, rather than the struct return pointer slot.
49367 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
49368 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
49369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
49370 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
49371
2f0ad8f3
UD
493722011-09-05 Ulrich Drepper <drepper@gmail.com>
49373
d88ae418
UD
49374 * po/ja.po: Update from translation team.
49375
2f0ad8f3
UD
49376 [BZ #13144]
49377 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
49378 kernel in 64-bit binaries.
49379
5f4318d1
DM
493802011-09-01 David S. Miller <davem@davemloft.net>
49381
49382 * elf/elf.h (HWCAP_SPARC_*): Move to..
49383 * sysdeps/sparc/sysdep.h: this new file and add new values.
49384 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
49385 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
49386 _DL_HWCAP_COUNT to 24.
49387 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49388 entries.
49389 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
49390 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
49391 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
49392 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
49393 instead of magic constants.
49394 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49395
3ba57516
DM
493962011-08-31 David S. Miller <davem@davemloft.net>
49397
49398 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
49399 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
49400 Reimplement to do errno handling inline.
49401 (SYSCALL_ERROR_HANDLER): New macro.
49402 (__SYSCALL_STRING): Do not do errno handling in asm.
49403 (__CLONE_SYSCALL_STRING): Delete.
49404 (__INTERNAL_SYSCALL_STRING): Delete.
49405 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
49406 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
49407 (PSEUDO): Reimplement to do errno handling inline.
49408 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
49409 (SYSCALL_ERROR_HANDLER): New macro.
49410 (__SYSCALL_STRING): Do not do errno handling in asm.
49411 (__CLONE_SYSCALL_STRING): Delete.
49412 (__INTERNAL_SYSCALL_STRING): Delete.
49413 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
49414 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
49415 i386.
49416 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
49417 (inline_syscall*): Add 'err' argument.
49418 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
49419 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
49420 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
49421 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
49422
49423 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
49424 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49425
2bc17433
AS
494262011-08-30 Andreas Schwab <schwab@redhat.com>
49427
49428 * elf/rtld.c (dl_main): Relocate objects in dependency order.
49429
fbeb5f4d
JO
494302011-08-29 Jiri Olsa <jolsa@redhat.com>
49431
49432 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
49433 directive.
49434
ad69cc26
DM
494352011-08-24 David S. Miller <davem@davemloft.net>
49436
49437 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
49438
39dd69df
AS
494392011-08-24 Andreas Schwab <schwab@redhat.com>
49440
49441 * elf/Makefile: Add rules to build and run unload8 test.
49442 * elf/unload8.c: New file.
49443 * elf/unload8mod1.c: New file.
49444 * elf/unload8mod1x.c: New file.
49445 * elf/unload8mod2.c: New file.
49446 * elf/unload8mod3.c: New file.
49447
49448 * elf/dl-close.c (_dl_close_worker): Reset private search list if
49449 it wasn't used.
49450
2c0b250a
DM
494512011-08-23 David S. Miller <davem@davemloft.net>
49452
49453 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
49454 subtract stack bias.
49455 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
49456 %sp not %fp in calculations.
49457 (_JMPBUF_UNWINDS_ADJ): Likewise.
49458
22044b48
DM
49459 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
49460 (aio_suspend): Call it to force an exception region around the
49461 AIO_MISC_WAIT() invocation.
49462
2cae4995
AS
494632011-08-23 Andreas Schwab <schwab@redhat.com>
49464
49465 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
49466 backslash.
49467
873a772e
AJ
494682011-07-04 Aurelien Jarno <aurelien@aurel32.net>
49469
49470 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
49471 protection macro.
49472 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
49473 and <dl-machine.h>.
49474 (Elf64_FuncDesc): Remove.
49475
25ad0df1
DM
494762011-08-22 David S. Miller <davem@davemloft.net>
49477
49478 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
49479 sigaltstack check, add missing cfi directives.
49480 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
49481 missing cfi directives, and sigaltstack handling.
49482
e888bcbe
AS
494832011-08-16 Andreas Schwab <schwab@redhat.com>
49484
49485 [BZ #11724]
49486 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
49487 object is seen twice.
49488 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49489
49490 * elf/Makefile (distribute): Add tst-initorder2.c.
49491 (tests): Add tst-initorder2.
49492 (modules-names): Add tst-initorder2a tst-initorder2b
49493 tst-initorder2c tst-initorder2d. Add rules to build them.
49494 ($(objpfx)tst-initorder2.out): New rule.
49495 * elf/tst-initorder2.c: New file.
49496 * elf/tst-initorder2.exp: New file.
49497
87162f46
AS
494982011-08-22 Andreas Schwab <schwab@redhat.com>
49499
70538b7f
AS
49500 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
49501
f55ffe58
AS
49502 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
49503 dependencies back to end of function.
49504
87162f46
AS
49505 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49506 $(elfobjdir)/ld.so.
49507
91b392a4
UD
495082011-08-21 Ulrich Drepper <drepper@gmail.com>
49509
49510 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
49511 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
49512 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
49513 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
49514 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
49515 of __vdso_gettimeofday.
49516 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
49517 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
49518 attribute_hidden.
49519 (_libc_vdso_platform_setup): Remove initialization of
49520 __vdso_gettimeofday and __vdso_time.
49521
5c43483f
UD
495222011-08-20 Ulrich Drepper <drepper@gmail.com>
49523
775a77e7
UD
49524 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
49525 and fgetc_unlocked.
49526 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
49527 getc_unlocked.
89f447ed 49528
49c74ba9
UD
49529 * elf/dl-open.c (add_to_global): Report additions to the global scope
49530 for LD_DEBUG=scopes.
49531 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 49532 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 49533
5c43483f
UD
49534 [BZ #13114]
49535 * stdio-common/Makefile (tests): Add bug24.
49536 * stdio-common/bug24.c: New file.
49537
a101b025
AJ
495382011-08-19 Andreas Jaeger <aj@suse.de>
49539
49540 [BZ #13114]
49541 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
49542 non-existant file when using close-on-exec mode.
49543
c88f1766
UD
495442011-08-20 Ulrich Drepper <drepper@gmail.com>
49545
0276a718
UD
49546 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
49547 the very first instruction.
49548
c88f1766
UD
49549 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
49550 the CFI state in the end.
49551 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
49552 inclusion of dl-trampoline.h.
49553 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
49554
51ccffa0
AS
495552011-08-19 Andreas Schwab <schwab@redhat.com>
49556
94d7165f
AS
49557 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
49558 expectations for long double.
49559
51ccffa0
AS
49560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
49561 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
49562
fd708658 495632011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
49564
49565 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
49566 artificual limit depends upon the system page size.
49567
44f0a71e
UD
495682011-08-17 Ulrich Drepper <drepper@gmail.com>
49569
49570 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
49571 * resolv/Makefile: Define CFLAGS-libresolv.
49572
8de79a24
AS
495732011-08-17 Andreas Schwab <schwab@redhat.com>
49574
49575 * nss/makedb.c (compute_tables): Make variables used in nested
49576 function static.
49577
27724598
UD
495782011-08-17 Ulrich Drepper <drepper@gmail.com>
49579
c5305d88
UD
49580 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
49581 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
49582 if buffer was too small.
49583
27724598
UD
49584 * elf/pldd.c (main): Attach to all threads in the process.
49585 Rewrite /proc handling to use *at functions.
49586
076fe015
UD
495872011-08-16 Ulrich Drepper <drepper@gmail.com>
49588
174baab3
UD
49589 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
49590 specifies first scope to show.
49591 (dl_open_worker): Update callers. Move printing scope of new
49592 object to before the relocation.
44f0a71e 49593 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
49594 * sysdeps/generic/ldsodefs.h: Update declaration.
49595
076fe015
UD
49596 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
49597 string for the scope number.
49598
a60df2c3
UD
495992011-08-14 Ulrich Drepper <drepper@gmail.com>
49600
49601 * nscd/servicescache.c (cache_addserv): Make sure written is always
49602 initialized.
49603
5e4287d1
RM
496042011-08-14 Roland McGrath <roland@hack.frob.com>
49605
85ae0589
RM
49606 * sysdeps/i386/i486/bits/atomic.h
49607 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
49608 statement expression, so as to suppress "set but not used" warning.
49609 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
49610
69f63097
RM
49611 * string/strncat.c (STRNCAT): Use prototype definition.
49612
675456ef
RM
49613 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
49614 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
49615 -Iprograms here.
49616 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
49617 (localedef-modules): Add localedef.
49618 (locale-modules): Add locale.
49619
5e4287d1
RM
49620 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
49621 * elf/rtld.c (dl_main): Invert order of assignment in last change,
49622 to avoid a warning.
49623
9c96ff23
DM
496242011-08-14 David S. Miller <davem@davemloft.net>
49625
49626 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
49627 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
49628
f9ddf089
UD
496292011-08-13 Ulrich Drepper <drepper@gmail.com>
49630
44f0a71e 49631 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
49632 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
49633 * elf/rtld.c (dl_main): Set l_name of vDSO.
49634 Call _dl_show_scope when DL_DEBUG_SCOPES.
49635 (process_dl_debug): Recognize scopes flag and also set it for all.
49636 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
49637 Declare _dl_show_scope.
49638
1dc27704
UD
49639 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
49640 (do_dlopen): Pass caller_dlopen to dl_open.
49641 (__libc_dlopen_mode): Initialize caller_dlopen.
49642
f9ddf089
UD
49643 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
49644 of libc. Make tolower call locale-independent. Optimize a bit by
49645 using isdigit instead of isalnum.
49646 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
49647
9ac533d3
UD
496482011-08-12 Ulrich Drepper <drepper@gmail.com>
49649
49650 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
49651 was a dependency or dynamically loaded.
49652
89edf2e9
UD
496532011-08-11 Ulrich Drepper <drepper@gmail.com>
49654
8e999d29
UD
49655 * intl/l10nflist.c: Allow architecture-specific pop function.
49656 * sysdeps/x86_64/l10nflist.c: New file.
49657
89edf2e9
UD
49658 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
49659 classification.
49660
14d96785
AS
496612011-08-10 Andreas Schwab <schwab@redhat.com>
49662
49663 * include/dirent.h: Add libc_hidden_proto for scandirat and
49664 scandirat64. Don't declare __scandirat64.
49665 * dirent/scandirat.c: Add libc_hidden_def.
49666 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
49667 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
49668
6761ac04
DM
496692011-08-10 David S. Miller <davem@davemloft.net>
49670
49671 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
49672 enum.
49673 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49674 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49675 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49676
c55fbd1e
UD
496772011-08-09 Ulrich Drepper <drepper@gmail.com>
49678
49679 * Versions.def [libc]: Add GLIBC_2.15.
49680 * dirent/Makefile (routines): Add scandirat and scandirat64.
49681 * dirent/Versions [libc]: Export scandirat and scandirat64 for
49682 GLIBC_2.15.
49683 * dirent/dirent.h: Declare scandirat and scandirat64.
49684 * dirent/scandirat.c: New file.
49685 * dirent/scandirat64.c: New file.
49686 * sysdeps/wordsize-64/scandirat.c: New file.
49687 * sysdeps/wordsize-64/scandirat64.c: New file.
49688 * dirent/opendir.c: Define opendirat.
49689 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
49690 using scandirat.
49691 * dirent/scandir64.c: Adjust for scandir.c change.
49692 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
49693 __scandirat64, and __scandir_cancel_handler.
49694 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
49695 additional parameter and use openat instead of open (outside of ld.so).
49696 Add new __opendir as wrapper around __opendirat.
49697 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
49698 here without requiring old scandirat implementation.
49699
879165f2
UD
497002011-08-08 Ulrich Drepper <drepper@gmail.com>
49701
49702 * dirent/scandir.c (cancel_handler): Renamed to
49703 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
49704 defined. Adjust users.
49705 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
49706 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
49707
cb7e923b
UD
497082011-08-04 Ulrich Drepper <drepper@gmail.com>
49709
16292edd
UD
49710 * string/test-string.h (IMPL): Use __STRING to expand name and then
49711 stringify it.
49712
cb7e923b
UD
49713 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
49714 of cleanups.
49715
cff82933
LD
497162011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49717
49718 * string/Makefile: Update.
49719 (strop-tests): Append strncat.
49720 * string/test-wcscmp.c: New file.
49721 New comprehensive test for wcscmp.
49722 * string/test-strcmp.c: Update.
49723 (WIDE): New define.
49724
9be9bfcc
AS
497252011-07-22 Andreas Schwab <schwab@redhat.com>
49726
49727 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
49728 line.
49729
2e96f1c7
AS
497302011-07-26 Andreas Schwab <schwab@redhat.com>
49731
49732 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49733 encoding to ACE if AI_IDN.
49734
85188888
JJ
497352011-08-01 Jakub Jelinek <jakub@redhat.com>
49736
49737 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
49738 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
49739
5fa16e9b
LD
497402011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49741
49742 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
49743 Fix overflow bug in strncat.
49744 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
49745
49746 * string/test-strncat.c: Update.
49747 Add new tests for checking overflow bugs.
49748
497492011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49750
49751 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49752 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
49753 * sysdeps/i386/i686/multiarch/strcat.S: New file.
49754 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
49755 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
49756 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
49757 * sysdeps/i386/i686/multiarch/strncat.S: New file.
49758 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
49759 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
49760
49761 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
49762 (USE_AS_STRCAT): Define.
49763 Add strcat and strncat support.
49764 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49765
8c1a459f
AS
497662011-07-25 Andreas Schwab <schwab@redhat.com>
49767
49768 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
49769 __n bigger than INT_MAX+1.
49770 (__strncmp_g): Likewise.
49771
bba33c28
UD
497722011-07-23 Ulrich Drepper <drepper@gmail.com>
49773
798be72d
UD
49774 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
49775 * libio/stido.h: Likewise.
49776
8accd4dc
UD
49777 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
49778 (AF_NFC): Define.
49779 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
49780 (AF_NFC): Define.
49781
cbff0d96
UD
49782 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
49783 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49784 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49785 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
49786 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49787
9191c04a
UD
49788 [BZ #13021]
49789 * scripts/test-installation.pl: Don't expect libnss_test1 to be
49790 installed.
49791
bba33c28
UD
49792 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
49793 typo.
49794 (_dl_x86_64_save_sse): Likewise.
49795
90f139dd
UD
497962011-07-22 Ulrich Drepper <drepper@gmail.com>
49797
1aae088a
UD
49798 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
49799 OSXSAVE.
49800 (_dl_x86_64_save_sse): Likewise.
49801
8e2045f5
UD
49802 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
49803
90f139dd
UD
49804 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
49805
1d002f25
AS
498062011-07-21 Andreas Schwab <schwab@redhat.com>
49807
49808 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
49809 change.
49810 (_dl_x86_64_save_sse): Use correct AVX check.
49811
21137f89
UD
498122011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49813
49814 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
49815 bug in strncpy/strncat.
49816 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
49817
a65c0b7a
UD
498182011-07-21 Ulrich Drepper <drepper@gmail.com>
49819
49820 * string/tester.c (test_strcat): Add tests for different alignments
49821 of source and destination.
49822 (test_strncat): Likewise.
49823
6986b98a
UD
498242011-07-20 Ulrich Drepper <drepper@gmail.com>
49825
90bb2039
UD
49826 [BZ #12852]
49827 * posix/glob.c (glob): Check passed in values before using them in
49828 expressions to avoid some overflows.
49829 (glob_in_dir): Likewise.
49830
5644ef54
UD
49831 [BZ #13007]
49832 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
49833 check for AVX enablement so that we don't crash with old kernels and
49834 new hardware.
49835 * elf/tst-audit4.c: Add same checks here.
49836 * elf/tst-audit6.c: Likewise.
49837
49838 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 49839
bfc9dc9b
AS
498402011-07-09 Andreas Schwab <schwab@linux-m68k.org>
49841
49842 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
49843
702e64bb
UD
498442011-07-20 Ulrich Drepper <drepper@gmail.com>
49845
49846 * po/cs.po: Update from translation team.
49847 * po/bg.po: Likewise.
49848
295e904f
MP
498492011-07-12 Marek Polacek <mpolacek@redhat.com>
49850
49851 * misc/sys/cdefs.h: Add support for const attribute.
49852 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
49853 to gnu_dev_{major,minor,makedev} functions.
49854
3ff94596
MP
498552011-07-20 Marek Polacek <mpolacek@redhat.com>
49856
49857 * intl/dcigettext.c (get_output_charset): Add missing bracket.
49858
28b59fca
AS
498592011-07-20 Andreas Schwab <schwab@redhat.com>
49860
49861 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
49862 strlen results.
49863
19df733e
AK
498642011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49865
49866 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
49867 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
49868 register in order to avoid conflicts with the soft frame pointer
49869 being held in r11 when necessary.
49870 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
49871 (INTERNAL_VSYSCALL_NCS): Likewise.
49872
c8835729
MP
498732011-07-14 Marek Polacek <mpolacek@redhat.com>
49874
49875 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
49876 * elf/dl-fini.c (_dl_fini): Adjust caller.
49877 * elf/dl-close.c (_dl_close_worker): Likewise.
49878 * sysdeps/generic/ldsodefs.h: Adjust declaration.
49879
b902330c
MP
498802011-07-15 Marek Polacek <mpolacek@redhat.com>
49881
8991e135
MP
49882 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
49883 "aux_cache->nlibs < 0".
49884
b902330c
MP
49885 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
49886 in the reload-count case.
49887
99710781
LD
498882011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49889
49890 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49891 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
49892 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
49893 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
49894 * sysdeps/x86_64/multiarch/strcat.S: New file.
49895 * sysdeps/x86_64/multiarch/strncat.S: New file.
49896 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
49897 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
49898 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
49899 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
49900 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
49901 (USE_AS_STRCAT): Define.
49902 Add strcat and strncat support.
49903 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49904 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49905 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
49906 * string/strncat.c: Update.
49907 (USE_AS_STRNCAT): Define.
49908 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49909 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
49910 and i7.
49911 * sysdeps/x86_64/multiarch/init-arch.h
49912 (bit_Prefer_PMINUB_for_stringop): New.
49913 (index_Prefer_PMINUB_for_stringop): Likewise.
49914 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
49915 bit_Prefer_PMINUB_for_stringop.
49916
7dc6bd90
UD
499172011-07-19 Ulrich Drepper <drepper@gmail.com>
49918
49919 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
49920 buffer64.
49921 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
49922 of casting of buffer.
49923 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
49924 buffer32 and buffer64.
49925 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
49926 writes instead of casting of buffer.
49927 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
49928 buffer32.
49929 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
49930 casting of buffer.
49931
e0e72284
AS
499322011-07-19 Andreas Schwab <schwab@redhat.com>
49933
49934 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
49935
feb1eb0b
UD
499362011-07-19 Ulrich Drepper <drepper@gmail.com>
49937
49938 * nscd/nscd.c (termination_handler): Don't do anything for a database
49939 if it has not yet been initialized.
49940
298711ff
UD
499412011-07-18 Ulrich Drepper <drepper@gmail.com>
49942
49943 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49944
499452011-07-15 Marek Polacek <mpolacek@redhat.com>
49946
49947 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49948
f9d68389
UD
499492011-07-18 Ulrich Drepper <drepper@gmail.com>
49950
49951 * po/nl.po: Update from translation team.
49952 * po/sv.po: Likewise.
49953
db290cf5
RM
499542011-07-16 Roland McGrath <roland@hack.frob.com>
49955
49956 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
49957 now disallowed by GCC.
5c550700 49958
fd5e21c7
RM
49959 * configure.in (use-default-link): Default to yes if a test -shared
49960 link meets our qualifications.
49961 * configure: Regenerated.
49962
5c550700
RM
49963 * config.make.in (output-format): New variable.
49964 * configure.in: Check for ld --print-output-format support.
49965 * configure: Regenerated.
49966 * Makerules ($(common-objpfx)format.lds)
49967 [$(output-format) != unknown]: Just use $(output-format),
49968 instead of the linker-script munging.
49969
9fa2c032
RM
499702011-07-14 Roland McGrath <roland@hack.frob.com>
49971
a6928d51
RM
49972 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
49973 of $(common-objpfx)shlib.lds.
49974 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
49975
661607b3
RM
49976 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
49977 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
49978
9fa2c032
RM
49979 * configure.in (-z relro check): Adjust test code to add a large
49980 writable data section after it.
49981 * configure: Regenerated.
49982
defe9061
RM
499832011-07-11 Roland McGrath <roland@hack.frob.com>
49984
49985 * configure.in (-z relro check): Fix test code to make the variable
49986 truly const.
49987 * configure: Regenerated.
49988
319b9ad4
UD
499892011-07-11 Ulrich Drepper <drepper@gmail.com>
49990
49991 * nscd/nscd.h (struct traced_file): Define.
49992 (struct database_dyn): Remove inotify_descr, reset_res, and filename
49993 elements. Add traced_files.
49994 (inotify_fd): Declare.
49995 (register_traced_file): Declare.
49996 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49997 (inotify_fd): Export.
49998 (resolv_conf_descr): Remove.
49999 (nscd_init): Move inotify descriptor creation to main.
50000 Don't register files for notification here.
50001 (register_traced_file): New function.
50002 (invalidate_cache): Don't use reset_res to determine whether to call
50003 res_init, go through the list of registered files.
50004 (main_loop_poll): The inotify descriptors are now stored in the
50005 structures for the traced files.
50006 (main_loop_epoll): Likewise
50007 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
50008 to __nss_disable_nscd.
50009 * nscd/cache.c (prune_cache): There is no single inotify descriptor
50010 for a database anymore. Check the records for all the registered
50011 files instead.
50012 * nss/Makefile (libnss_files-routines): Add files-init.
50013 (libnss_db-routines): Add db-init.
50014 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
50015 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
50016 * nss/nss_db/db-init.c: New file.
50017 * nss/nss_files/files-init.c: New file.
50018 * nss/nsswitch.c (nss_load_library): New function. Broken out of
50019 __nss_lookup_function.
50020 (__nss_lookup_function): Call nss_load_library.
50021 (nss_load_all_libraries): New function.
50022 (__nss_disable_nscd): Take parameter with callback function for files
50023 to register. Set is_nscd. Load all the DSOs for the NSS modules
50024 used for the cached services.
50025 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
50026 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
50027 options for features to all the files in nscd.
50028
50029 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
50030
23bee3e8
RM
500312011-07-10 Roland McGrath <roland@hack.frob.com>
50032
50033 * csu/elf-init.c (__libc_csu_init): Comment typo.
50034
46a5b7f0
UD
500352011-07-09 Ulrich Drepper <drepper@gmail.com>
50036
50037 * po/pl.po: Update from translation team.
50038 * po/ja.po: Likewise.
50039 * po/ru.po: Likewise.
50040 * po/ko.po: Likewise.
50041 * po/fr.po: Likewise.
50042
d30cf5bb
RM
500432011-07-09 Roland McGrath <roland@hack.frob.com>
50044
113ddea4
RM
50045 * configure.in (.ctors/.dtors header and trailer check):
50046 Use an empirical test on a built program.
50047 * configure: Regenerated.
50048
574920b4
RM
50049 * configure.in (-z relro check): Use an empirical test on a built DSO.
50050 Detect, but do not require, on ia64.
50051 * configure: Regenerated.
50052
d30cf5bb
RM
50053 * configure.in (READELF): Find it with AC_CHECK_TOOL.
50054 Update tests that use readelf to use $READELF instead.
50055 * configure: Regenerated.
50056
8538fdb3
UD
500572011-07-08 Ulrich Drepper <drepper@gmail.com>
50058
50059 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
50060 if the result is not used.
50061
04d08991
AJ
500622011-07-05 Andreas Jaeger <aj@suse.de>
50063
50064 [BZ#9696]
50065 * stdlib/tst-strtod.c: Add testcase.
50066
de283087
AD
500672011-07-07 Ulrich Drepper <drepper@gmail.com>
50068
4e5f31c8 50069 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 50070 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
50071 The latter has a higher limit. Take additional parameter to pass to
50072 the new function.
50073 (__pathconf): Pass file to __statfs_link_max.
50074 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
50075 __statfs_link_max.
50076 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
50077 __statfs_link_max.
50078
de283087
AD
50079 [BZ #12868]
50080 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
50081 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50082 Handle Lustre.
50083 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
50084 (__statfs_filesize_max): Likewise.
50085 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50086
c75fa153
AJ
500872011-07-05 Andreas Jaeger <aj@suse.de>
50088
50089 * resolv/res_comp.c (dn_skipname): Remove unused variable.
50090
1a544854
UD
500912011-07-06 Marek Polacek <mpolacek@redhat.com>
50092
50093 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50094 `status' variable.
50095 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50096 Likewise.
50097
6f0eec67
UD
500982011-07-04 H.J. Lu <hongjiu.lu@intel.com>
50099
50100 * Makefile (strop-tests): Add strncat.
50101 * string/test-strncat.c: New file.
50102
aae30307
UD
501032011-06-30 Marek Polacek <mpolacek@redhat.com>
50104
50105 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50106
c0cfb5eb
UD
501072011-06-21 Andreas Jaeger <aj@suse.de>
50108
50109 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50110 Copy rule from iconvdata/Makefile.
50111
01636b21
UD
501122011-07-06 Ulrich Drepper <drepper@gmail.com>
50113
50114 [BZ #12922]
50115 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50116 but no long options are defined, just return 'W'.
50117
9895c8bc
UD
501182011-06-22 Marek Polacek <mpolacek@redhat.com>
50119
50120 [BZ #9696]
50121 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50122
5d4cf042
UD
501232011-07-06 Ulrich Drepper <drepper@gmail.com>
50124
50125 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50126 netgroups to read.
960e5535 50127 (innetgr): Likewise.
5d4cf042 50128
751eb97e
RM
501292011-07-05 Roland McGrath <roland@hack.frob.com>
50130
50131 * config.make.in (install_root): Default to $(DESTDIR).
50132
f15f1e45
UD
501332011-07-05 Ulrich Drepper <drepper@gmail.com>
50134
50135 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50136
4e34ac6a
RM
501372011-07-02 Roland McGrath <roland@hack.frob.com>
50138
5e9b6af4
RM
50139 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50140
84f9ea0f
RM
50141 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50142 containing directory rather than embedding absolute directory names.
50143
ea5ee9f7
RM
50144 * scripts/check-local-headers.sh: Rewritten using awk.
50145 Match by word, not by line. Print error messages for matches.
50146 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50147
1b74661a
RM
50148 * Makerules [shlib-lds-flags empty]:
50149 ($(common-objpfx)libc_pic.opts): New target.
50150 ($(common-objpfx)libc_pic.os.clean): New target.
50151 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
50152
50153 * config.make.in (OBJCOPY): New variable.
50154 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
50155 * configure: Regenerated.
50156
f781ef40
RM
50157 * config.make.in (use-default-link): New variable.
50158 * configure.in (use_default_link): Grok --with-default-link to set it.
50159 * configure: Regenerated.
50160 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
50161 (shlib-lds, shlib-lds-flags): Define to empty.
50162
2d4fa81e
RM
50163 * Makerules (shlib-lds): New variable.
50164 (shlib-lds-flags): New variable.
50165 (build-shlib, build-moduile, build-module-asneeded): Use it.
50166 ($(common-objpfx)libc.so): Use $(shlib-lds).
50167 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
50168 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
50169
31fffa6b
RM
50170 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
50171 DT_FLAGS/DT_FLAGS_1 with zero flags.
50172
4e34ac6a
RM
50173 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
50174 linker script munging.
50175
fcfc776b
UD
501762011-07-02 Ulrich Drepper <drepper@gmail.com>
50177
50178 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
50179 as 128-bit value.
50180 * crypt/sha512.c (sha512_process_block): Perform total addition using
50181 128-bit if possible.
50182 (__sha512_finish_ctx): Likewise.
50183 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
50184 as 64-bit value.
50185 * crypt/sha256.c (SWAP64): Define.
50186 (sha256_process_block): Perform total addition using 64-bit if
50187 possible.
50188 (__sha256_finish_ctx): Likewise.
50189
99231d9a
UD
501902011-07-01 Ulrich Drepper <drepper@gmail.com>
50191
50192 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
50193 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50194 * nscd/hstcache.c (cache_addhst): Likewise.
50195 * nscd/grpcache.c (cache_addgr): Likewise.
50196 * nscd/aicache.c (addhstaiX): Likewise
50197 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
50198
445b4a53
TK
501992011-07-01 Thorsten Kukuk <kukuk@suse.de>
50200
50201 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
50202 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50203 * nscd/hstcache.c (cache_addhst): Likewise.
50204 * nscd/grpcache.c (cache_addgr): Likewise.
50205 * nscd/aicache.c (addhstaiX): Likewise
50206
6d4d8e8e
AS
502072011-07-01 Andreas Schwab <schwab@redhat.com>
50208
50209 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
50210 domain only when needed.
50211
89f654c5
AS
502122011-06-30 Andreas Schwab <schwab@redhat.com>
50213
50214 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
50215 is always restored.
50216
cf3b23ff
UD
502172011-06-29 Ulrich Drepper <drepper@gmail.com>
50218
50219 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
50220 are re-adding the entry.
50221 * nscd/servicescache.c (cache_addserv): Likewise.
50222
751626f9
AJ
502232011-06-30 Aurelien Jarno <aurelien@aurel32.net>
50224
50225 * sysdeps/generic/dl-irel.h: fix protection against multiple
50226 inclusions.
50227 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
50228
9113ea1f
UD
502292011-06-28 Ulrich Drepper <drepper@gmail.com>
50230
5c0b8d90
UD
50231 [BZ #12935]
50232 * malloc/memusage.sh: Fix quoting in message.
50233 * debug/xtrace.sh: Likewise.
50234
9113ea1f
UD
50235 * configure.in: Remove support for --experimental-malloc option, make
50236 it the default.
50237 * config.make.in: Likewise.
50238 * malloc/Makefile: Likewise.
50239
a4172181
AS
502402011-06-27 Andreas Schwab <schwab@redhat.com>
50241
50242 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
50243 two-byte characters.
50244
78a7eee7
RM
502452011-06-27 Roland McGrath <roland@hack.frob.com>
50246
62bede13
RM
50247 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
50248 AC_CACHE_CHECK invocation.
50249 * configure: Regenerated.
50250
78a7eee7
RM
50251 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
50252
5ce33a62
UD
502532011-06-27 Ulrich Drepper <drepper@gmail.com>
50254
034807a9
UD
50255 [BZ #12350]
50256 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
50257 bit from old_res_options.
50258
4902da17
UD
50259 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
50260
5ce33a62
UD
50261 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
50262 value type for setfct.
50263
c2344f56
L
502642011-06-23 H.J. Lu <hongjiu.lu@intel.com>
50265
50266 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50267 __gettimeofday instead of gettimeofday.
50268
68468076
UD
502692011-06-26 Ulrich Drepper <drepper@gmail.com>
50270
50271 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
50272
acb0d739
L
502732011-06-24 H.J. Lu <hongjiu.lu@intel.com>
50274
50275 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
50276
50277 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
50278 info.
50279
8912479f
L
502802011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50281
50282 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50283 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50284 strcpy-sse2-unaligned strncpy-sse2-unaligned
50285 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
50286 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
50287 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
50288 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
50289 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
50290 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
50291 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
50292 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
50293 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
50294 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
50295 (STRCPY): Support SSE2 and SSSE3 versions.
50296
d5495a11
UD
502972011-06-24 Ulrich Drepper <drepper@gmail.com>
50298
50299 [BZ #12874]
50300 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
50301 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
50302 kernels which artificially limit size of requests.
50303
0b1cbaae
L
503042011-06-22 H.J. Lu <hongjiu.lu@intel.com>
50305
50306 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50307 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50308 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
50309 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
50310 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
50311 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
50312 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
50313 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
50314 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
50315 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
50316 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
50317 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
50318 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
50319 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
50320 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
50321 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50322 Enable unaligned load optimization for Intel Core i3, i5 and i7
50323 processors.
50324 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
50325 Define.
50326 (index_Fast_Unaligned_Load): Define.
50327 (HAS_FAST_UNALIGNED_LOAD): Define.
50328
07f494a0
MP
503292011-06-23 Marek Polacek <mpolacek@redhat.com>
50330
50331 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
50332
fa3fc0fe
UD
503332011-06-22 Ulrich Drepper <drepper@gmail.com>
50334
50335 [BZ #12907]
50336 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
50337 until it is clear that the information is realy needed.
50338 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
50339
e12df166
AS
503402011-06-22 Andreas Schwab <schwab@redhat.com>
50341
50342 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
50343
852eb34d
UD
503442011-06-22 Ulrich Drepper <drepper@gmail.com>
50345
84e2a551
UD
50346 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50347 /sys/devices/system/cpu/online if it is usable.
50348
852eb34d
UD
50349 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
50350 reading the information from the /proc filesystem to once a second.
50351
6e502e19
UD
503522011-06-21 Andreas Jaeger <aj@suse.de>
50353
50354 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
50355 NULL after inclusion of kernel headers.
50356
75d39ff2
UD
503572011-06-21 Ulrich Drepper <drepper@gmail.com>
50358
51f9aa6a
UD
50359 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
50360 calls to internal_setent.
50361
c0244a9d
UD
50362 [BZ #12885]
50363 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
50364 addresses using gethostbyname4_r ignore IPv4 addresses.
50365
c5e3c2ae
UD
50366 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
50367 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
50368
75d39ff2
UD
50369 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
50370
42675c6f
DM
503712011-06-20 David S. Miller <davem@davemloft.net>
50372
50373 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
50374 inclusions.
50375 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
50376
50377 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
50378 (elf_irel): Use it.
50379 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
50380 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
50381 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
50382 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
50383 * sysdeps/x86_64/dl-irel.h: Likewise.
50384
50385 * elf/dl-runtime.c: Use elf_ifunc_invoke.
50386 * elf/dl-sym.c: Likewise.
50387
57912a71
UD
503882011-06-15 Ulrich Drepper <drepper@gmail.com>
50389
50390 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
50391 need to dereference resplen2.
50392
ee22793d
AS
503932011-06-14 Andreas Schwab <schwab@redhat.com>
50394
50395 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
50396
a9e836b0
UD
503972011-06-15 Ulrich Drepper <drepper@gmail.com>
50398
77fb9117
UD
50399 * Makeconfig: Define vardbdir and inst_vardbdir.
50400 * nss/Makefile: Add rules to install db-Makefile.
50401
40c1b22c
UD
50402 * nss/nss_db/db-XXX.c: Cleanup.
50403
9f2da732
UD
50404 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
50405 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
50406 GLIBC_PRIVATE.
50407 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
50408 * nss/makedb.c: Implement -g option to specify that value strings
50409 are generated and should not be added to table iterated over for
50410 get*ent calls.
50411 * nss/nss_db/db-initgroups.c: New file.
50412
82e9a1f7
UD
50413 * nss/getent.c: Add support for initgroups lookups through getgrouplist
50414 interface.
50415
c41af17e
UD
50416 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
50417 (internal_getgrouplist): Adjust to name change.
50418 Update use_initgroups_entry if this is not the first call.
50419 * nss/databases.def: Add initgroups entry.
50420
a9e836b0
UD
50421 * nss/makedb.c (compute_tables): Check result of multiple hash table
50422 sizes to minimize maximum chain length.
50423
2666d441
UD
504242011-06-14 Ulrich Drepper <drepper@gmail.com>
50425
50426 * Versions.def: Add entry for libnss_db.
50427 * shlib-versions: Likewise.
50428 * nss/Makefile: Add rules to build libnss_db.
50429 * nss/Versions: Add libnss_db information. Organize libnss_files
50430 entries better.
50431 * nss/db-Makefile: Add gshadow support. Change rules for the new
50432 makedb progra. Some minor improvements to generate smaller files.
50433 * nss/nss_db/nss_db.h: Move NSS database header data structures to
50434 here from...
50435 * nss/makedb.c: ...here.
50436 Improve database format to be smaller and require less memory at
50437 runtime.
50438 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
50439 db anymore.
50440 * nss/nss_db/db-netgrp.c: Likewise.
50441 * nss/nss_db/db-open.c: Likewise.
50442 * nss/nss_files/flies-XXX.x: Adjust comments.
50443 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
50444 * nss/nss_files/files-grp.c: Likewise.
50445 * nss/nss_files/files-hosts.c: Likewise.
50446 * nss/nss_files/files-network.c: Likewise.
50447 * nss/nss_files/files-proto.c: Likewise.
50448 * nss/nss_files/files-pwd.c: Likewise.
50449 * nss/nss_files/files-rpc.c: Likewise.
50450 * nss/nss_files/files-service.c: Likewise.
50451 * nss/nss_files/files-sgrp.c: Likewise.
50452 * nss/nss_files/files-spwd.c: Likewise.
50453 * nss/nss_db/db-alias.c: Removed.
50454 * nss/nss_db/dummy-db.h: Removed.
50455
9ee76b5a
UD
504562011-06-02 Ulrich Drepper <drepper@gmail.com>
50457
50458 * nss/makedb.c: Rewritten to not use database library.
50459 * nss/Makefile: Update to build new makedb program.
50460
c71ca1f8
AJ
504612011-06-14 Andreas Jaeger <aj@suse.de>
50462
50463 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
50464 memset declaration.
50465
3154bfb8
UD
504662011-06-10 Andreas Schwab <schwab@redhat.com>
50467
50468 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
50469 tmpbuf.
50470
b350afab
RM
504712011-06-10 Roland McGrath <roland@hack.frob.com>
50472
decd4e50
RM
50473 * Makerules (shlib.lds): Fail if the linker script comes out empty.
50474 * elf/Makefile ($(objpfx)ld.so): Likewise.
50475
5615eaf2
RM
50476 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
50477 Don't list ld.so twice in dependencies.
50478
50479 * posix/bug-regex31.c: Include <stdlib.h>.
50480
50481 * nscd/hstcache.c (cache_addhst): Remove unused variable.
50482
50483 * nis/nss_compat/compat-spwd.c
50484 (getspent_next_nss_netgr): Remove unused variable.
50485 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
50486
50487 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
50488 nonmembers" output to use the right array.
50489
50490 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
50491
50492 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
50493
50494 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
50495 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
50496 * catgets/gencat.c (read_input_file): Likewise.
50497 * locale/programs/locarchive.c (enlarge_archive): Likewise.
50498
50499 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
50500 variable definition inside #if's controlling its use.
50501
50502 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
50503
50504 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
50505
50506 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
50507
50508 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
50509 unreachable code.
50510
50511 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
50512
b68e08db
RM
50513 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
50514 * configure: Regenerated.
50515
b350afab
RM
50516 * Makerules: Revert last change.
50517 * elf/Makefile: Likewise.
50518
28368601
RM
505192011-06-09 Roland McGrath <roland@hack.frob.com>
50520
50521 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
50522 * elf/Makefile ($(objpfx)librtld.os): Likewise.
50523 (reloc-link): Likewise.
50524
11988f8f
UD
505252011-06-09 Ulrich Drepper <drepper@gmail.com>
50526
50527 * elf/Makefile: Add rules to build pldd.
50528 * elf/pldd.c: New file.
50529 * elf/pldd-xx.c: New file.
50530
e80fab37
UD
505312011-06-07 Ulrich Drepper <drepper@gmail.com>
50532
50533 * version.h: Update for 2.15 development version.
50534
9b849836
DM
505352011-06-07 David S. Miller <davem@davemloft.net>
50536
50537 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
50538 ifuncs.
50539 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
50540 elf_machine_lazy_rel): Likewise.
50541 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50542 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
50543 elf_machine_lazy_rel): Likewise.
50544 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
50545 dl_hwcap via passed in argument.
50546 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
50547 Likewise.
50548
5a31b283
AK
505492011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50550
50551 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
50552
069e52f8
RM
505532011-06-06 Roland McGrath <roland@hack.frob.com>
50554
50555 [BZ #12849]
50556 * manual/fdl-1.1.texi: New file, verbatim from:
50557 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
50558 * manual/lgpl-2.1.texi: New file, verbatim from:
50559 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
50560 * manual/Makefile (licenses): New variable, list those new file names.
50561 (texis): Use it.
50562 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
50563
50564 * manual/fdl.texi: File removed.
50565 * manual/lesser.texi: File removed.
50566 * manual/libc.texinfo (Copying, Documentation License):
50567 Use new @include file names, put @appendix directive before @include.
50568
f16846a5
JJ
505692011-06-04 Jakub Jelinek <jakub@redhat.com>
50570
50571 [BZ #12841]
50572 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
50573 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
50574 (mq_open): Add __NTH.
50575
3d29045b
L
505762011-06-02 H.J. Lu <hongjiu.lu@intel.com>
50577
50578 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50579 Assume Intel Core i3/i5/i7 processor if AVX is available.
50580
8c297311
UD
505812011-05-31 Ulrich Drepper <drepper@gmail.com>
50582
50583 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50584 typo.
50585
c8fc0c91
UD
505862011-05-31 Andreas Schwab <schwab@redhat.com>
50587
50588 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
50589 memory. Use alloca_account. Fix memory leak when retrying.
50590
5b27a807
UD
505912011-05-31 Ulrich Drepper <drepper@gmail.com>
50592
356f8bc6
UD
50593 * version.h (RELEASE): Bump for 2.14 release.
50594 * include/features.h (__GLIBC_MINOR__): Bump to 14.
50595
5b27a807
UD
50596 * config.make.in (RANLIB): Remove entry.
50597
01f16ab0
UD
505982011-05-30 Ulrich Drepper <drepper@gmail.com>
50599
41fce8bd
UD
50600 * po/Makefile (po-sed-cmd): Add ksh to extensions.
50601 (libc.pot): Work around missing support for .ksh extension in xgettext.
50602
4769ae77
UD
50603 [BZ #12684]
50604 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
50605 if both request failed.
50606 (send_dg): In case of server errors clear resplen or *resplen2.
50607
6b1e7d19
UD
50608 [BZ #12454]
50609 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
50610 when there are multiple maps.
50611 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
50612 (_dl_fini): Remove test here.
50613
01f16ab0
UD
50614 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
50615
b1ebd700
UD
506162011-05-29 Ulrich Drepper <drepper@gmail.com>
50617
7ae22829
UD
50618 [BZ #12350]
50619 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
50620 bit from old_res_options.
50621 (gaih_inet): Likewise.
50622
553149f6 50623 [BZ #11099]
18a84741 50624 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
50625 as signed.
50626
652ffab1
UD
50627 * resolv/res_init.c (res_setoptions): Make the code more compact.
50628
16985fd0
UD
50629 [BZ #11558]
50630 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
50631 set RES_USEVC.
50632
0464f746
UD
50633 [BZ #11634]
50634 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
50635
7d17596c
UD
50636 * malloc/malloc.h: Mark malloc hook variables as deprecated.
50637
cf6bbbd7
UD
50638 [BZ #11781]
50639 * malloc/malloc.h: Declare malloc hook variables as volatile.
50640
13f1ab36
UD
50641 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
50642 in last patch.
50643
b1ebd700
UD
50644 [BZ #11799]
50645 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 50646 raise in the comment.
80e2212d
UD
50647 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
50648 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50649 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 50650
ce67228d
UD
506512011-05-28 Ulrich Drepper <drepper@gmail.com>
50652
8887a920
UD
50653 [BZ #12811]
50654 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
50655 grow the buffers more if it already has to be sufficient.
50656 (build_wcs_upper_buffer): Likewise.
50657 * posix/regexec.c (check_matching): Likewise.
50658 (clean_state_log_if_needed): Likewise.
50659 (extend_buffers): Don't enlarge buffers beyond size of the input
50660 buffer.
50661 Patches mostly by Emil Wojak <emil@wojak.eu>.
50662 * posix/bug-regex32.c: New file.
50663 * posix/Makefile (tests): Add bug-regex32.
50664
4f031072
UD
50665 * locale/findlocale.c (_nl_find_locale): Return right away if
50666 _nl_explode_name failed.
50667 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
50668
d0478f0c
UD
50669 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
50670
de81b246
UD
50671 * debug/xtrace.sh: Unify messages.
50672 * malloc/memusage.sh: Likewise.
50673
c738465a
UD
50674 [BZ #12813]
50675 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
50676 time symbol from vDSO. Substitute with vsyscall if not available.
50677 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
50678 __vdso_time.
50679
f1f929d7
UD
50680 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
50681 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
50682 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
50683 Add sendmmsg and internal_sendmmsg.
50684 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
50685 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
50686 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
50687
ce67228d
UD
50688 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
50689 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
50690 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
50691
e57420c6
UD
506922011-05-27 Ulrich Drepper <drepper@gmail.com>
50693
a8509ca5
UD
50694 [BZ #12813]
50695 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
50696 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
50697 available.
50698 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
50699 __vdso_getcpu.
50700
e57420c6
UD
50701 [BZ #12814]
50702 * iconvdata/Makefile (tests): Add bug-iconv9.
50703 * iconvdata/bug-iconv9.c: New file.
50704
4d07db15
AS
507052011-05-27 Andreas Schwab <schwab@redhat.com>
50706
50707 [BZ #12814]
50708 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
50709
ea486f69
JJ
507102011-05-25 Jakub Jelinek <jakub@redhat.com>
50711
50712 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50713 (struct user_regs_struct): Change intcs field back to cs.
50714
6f038433
UD
507152011-05-25 Ulrich Drepper <drepper@gmail.com>
50716
50717 * po/ja.po: Update from translation team.
50718
67f86a25
UD
507192011-05-23 Ulrich Drepper <drepper@gmail.com>
50720
50721 [BZ #12795]
50722 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
50723 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
50724
def7fbd6
AS
507252011-05-20 Andreas Schwab <schwab@redhat.com>
50726
50727 * stdlib/longlong.h: Update from GCC.
50728
f50ef8f1
AS
507292011-05-23 Andreas Schwab <schwab@redhat.com>
50730
50731 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
50732 parameter name.
50733 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
50734 Add parameter name.
50735 (__sysconf): Pass it down.
50736
de7ce8f1
UD
507372011-05-22 Ulrich Drepper <drepper@gmail.com>
50738
f2962a71
UD
50739 [BZ #12671]
50740 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
50741 some situations.
50742 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50743 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
50744 add in in __libc_use_alloca calls. Adjust callers.
50745 (glob): Use malloc in some situations.
50746
de7ce8f1
UD
50747 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
50748 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
50749 pltexit.
50750
aec84f53
UD
507512011-05-21 Ulrich Drepper <drepper@gmail.com>
50752
05bb4a68
UD
50753 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
50754 and CLOCK_BOOTTIME_ALARM.
50755
7ea72f99
UD
50756 [BZ #12782]
50757 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
50758 is returned.
50759
7e4afad5
UD
50760 * string/_strerror.c (__strerror_r): Print negative errors as signed
50761 numbers.
50762
8e211fec
UD
50763 [BZ #12777]
50764 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
50765 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
50766 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
50767
f7d82dc9
UD
50768 * configure.in: Fix typo in redirection and correct removal of test
50769 files in two cases.
50770
cc9e536d
UD
50771 [BZ #12788]
50772 * locale/setlocale.c (new_composite_name): Fix test to check for
50773 identical name of all categories.
50774
aec84f53
UD
50775 [BZ #12792]
50776 * libio/filedoalloc.c (local_isatty): New function.
50777 (_IO_file_doallocate): Use local_isatty.
50778 * stdio-common/perror.c (perror): In case a new stream is used
50779 forward the stream error.
50780 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
50781 error flag.
50782
78e64fdc
RT
507832011-05-20 Ulrich Drepper <drepper@gmail.com>
50784
34a9094f
UD
50785 [BZ #11869]
50786 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
50787 alloca.
50788 * include/alloca.h (extend_alloca_account): Define.
50789
78e64fdc
RT
50790 [BZ #11857]
50791 * posix/regex.h: Fix comments with documentation of user-accessible
50792 fields after compilation and describe correct free'ing of pattern
50793 after re_compile_pattern.
50794 Patch by Reuben Thomas <rrt@sc3d.org>.
50795
457bddfc
RA
507962011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
50797
50798 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
50799 and -mno-altivec to prevent the compiler from using Altivec and/or
50800 VSX instructions when the corresponding registers are not available.
50801
a4527b51
AS
508022011-05-19 Andreas Schwab <schwab@redhat.com>
50803
50804 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
50805
ed690b2f
UD
508062011-05-19 Ulrich Drepper <drepper@gmail.com>
50807
50808 * libio/freopen.c (freopen): Use __dup2, not dup2.
50809 * libio/freopen64.c (freopen64): Likewise.
50810
8db73634
L
508112011-05-17 H.J. Lu <hongjiu.lu@intel.com>
50812
50813 [BZ #12775]
50814 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
50815 * math/Makefile (tests): Add test-powl.
50816 (CFLAGS-test-powl.c): Define.
50817 * math/test-powl.c: New file.
50818
0a197a9d
L
508192011-05-16 H.J. Lu <hongjiu.lu@intel.com>
50820
50821 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
50822
ee30c380
UD
508232011-05-17 Ulrich Drepper <drepper@gmail.com>
50824
50825 [BZ #11837]
50826 * iconvdata/gb18030.c: Update to GB18020-2005.
50827
6ce75379
UD
508282011-05-16 Ulrich Drepper <drepper@gmail.com>
50829
a4b89fd8
AR
50830 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
50831 RE_SYNTAX_POSIX_AWK): Update to match recent development.
50832 Patch by Aharon Robbins <arnold@skeeve.com>.
50833
ea389b12
UD
50834 [BZ #11892]
50835 * stdlib/putenv.c (putenv): Don't always create copy of the variable
50836 on the stack.
50837
68a3f91f
UD
50838 [BZ #11895]
50839 * misc/pselect.c (__pselect): Handle timeout value errors hidden
50840 through underflows.
50841
15cc7dd1
UD
50842 [BZ #12766]
50843 * misc/error.c (error_at_line): Ensure file_name and old_file_name
50844 point to strings before performing equality test for error_one_per_line
50845 mode.
50846
f3799213
UD
50847 [BZ #11697]
50848 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
50849
d79a9c94
UD
50850 [BZ #11820]
50851 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50852 (struct user_fpregs_struct): Avoid __uint*_t types.
50853
56e5eb46
UD
50854 [BZ #6420]
50855 * malloc/mtrace.c (tr_where): Add additional parameter to point to
50856 symbol info. Use it instead of calling _dl_addr locally.
50857 (lock_and_info): New function.
50858 (tr_freehook): Call lock_and_info and pass symbol info as additional
50859 parameter to tr_where.
50860 (tr_mallochook): Likewise.
50861 (tr_reallochook): Likewise.
50862 (tr_memalignhook): Likewise.
50863
6ce75379
UD
50864 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
50865 used and couldn't be at all thread-safe.
50866
f8a3b5bf
UD
508672011-05-15 Ulrich Drepper <drepper@gmail.com>
50868
94b7cc37
UD
50869 * libio/freopen.c (freopen): Don't close old file descriptor
50870 before the new one is opened. Instead dup the new file descriptor
50871 to the old one after the new stream is created.
50872 * libio/freopen64.c (freopen64): Likewise.
50873 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
50874 * libio/fileops.c (_IO_new_file_close_it): Handle new
50875 _IO_FLAGS2_NOCLOSE flag.
50876 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
50877 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
50878 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
50879 _IO_FLAGS2_NOCLOSE flag.
50880 * include/unistd.h: Add hidden_proto for dup3.
50881 Define __have_dup3.
50882 * io/dup3.c: Define hidden symbol.
50883 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
50884
bd25564e
UD
50885 [BZ #7101]
50886 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
50887 when an incomplete long option is used.
50888 * posix/tst-getopt_long1.c: New file.
50889 * posix/Makefile (tests): Add tst-getopt_long1.
50890
c84cfef4
UD
50891 [BZ #10138]
50892 * scripts/config.guess: Update from autoconf-2.68.
50893 * scripts/config.sub: Likewise.
50894
3b85df27
UD
50895 [BZ #10157]
50896 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
50897 tests into ...
50898 (has_cpuclock): ...this. New function.
50899 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
50900 macro here based on has_cpuclock code.
50901
15a856b1
UD
50902 [BZ #10149]
50903 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50904 First byte (not low byte) is now always NUL.
50905 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
50906
05f399e6
UD
50907 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50908 Use non-cancelable interfaces.
50909
10a52685 50910 [BZ #9809]
94ecc67d
UD
50911 * locale/iso-639.def: Add entry for Sorani.
50912
f8a3b5bf
UD
50913 [BZ #11901]
50914 * include/stdlib.h: Move include protection to the right place.
50915 Define abort_msg_s. Declare __abort_msg with it.
50916 * stdlib/abort.c (__abort_msg): Adjust type.
50917 * assert/assert.c (__assert_fail_base): New function. Majority
50918 of code from __assert_fail. Allocate memory for __abort_msg with
50919 mmap.
50920 (__assert_fail): Now call __assert_fail_base.
50921 * assert/assert-perr.c: Remove bulk of implementation. Use
50922 __assert_fail_base.
50923 * include/assert.hL Declare __assert_fail_base.
50924 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
50925 mmap.
50926 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
50927
1af4e298
UD
509282011-05-14 Ulrich Drepper <drepper@gmail.com>
50929
f8a3b5bf 50930 [BZ #11952]
d26dfc60
MG
50931 [BZ #12453]
50932 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
50933 until all modules are registered in the DTV.
50934 * elf/Makefile: Add rules to build and run tst-tls19.
50935 * elf/tst-tls19.c: New file.
50936 * elf/tst-tls19mod1.c: New file.
50937 * elf/tst-tls19mod2.c: New file.
50938 * elf/tst-tls19mod3.c: New file.
50939 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
50940
2fc54d6f
UD
50941 [BZ #12083]
50942 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
50943 correctly.
50944
98d76b46
UD
50945 [BZ #12601]
50946 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
50947 two-byte sequence errors.
50948 * iconvdata/Makefile (tests): Add bug-iconv8.
50949 * iconvdata/bug-iconv8.c: New file.
50950
da3c19ef
UD
50951 [BZ #12626]
50952 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
50953 buf2 definition.
50954
ca408c15
UD
50955 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
50956
d6f67f7d
UD
50957 [BZ #12432]
50958 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
50959 (dummy_getcfa): New function.
50960 (init): Get _Unwind_GetCFA address, use dummy if not found.
50961 (backtrace_helper): In recursion check, also check whether CFA changes.
50962 (__backtrace): Completely initialize arg.
50963
1af4e298 50964 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
50965 storing incomplete byte sequence in state object. Avoid testing for
50966 guaranteed too small input if we know there is enough data available.
1af4e298 50967
da62f81b
AS
509682011-05-11 Andreas Schwab <schwab@redhat.com>
50969
50970 * Makeconfig (+link-pie): Indent.
50971 * Rules (binaries-pie): Define if $(have-fpie) and
50972 $(build-shared).
50973 (binaries-shared): Also filter out $(binaries-pie).
50974 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
50975 * nscd/Makefile (others-pie): Add nscd.
50976 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
50977 ($(objpfx)nscd): Remove command override.
50978 * login/Makefile (others-pie): Add pt_chown.
50979 ($(objpfx)pt_chown): Remove command override.
50980 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
50981 remove command overrides.
50982
fcabc0f8
UD
509832011-05-13 Ulrich Drepper <drepper@gmail.com>
50984
20030ae6
UD
50985 * libio/tst_putwc.c: Fix error messages.
50986
fcabc0f8
UD
50987 [BZ #12724]
50988 * libio/fileops.c (_IO_new_file_close_it): Always flush when
50989 currently writing and seek to current position when not.
50990 * libio/Makefile (tests): Add bug-fclose1.
50991 * libio/bug-fclose1.c: New file.
50992
320a5dc0
PB
509932011-05-12 Ulrich Drepper <drepper@gmail.com>
50994
50995 [BZ #12511]
50996 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50997 don't set DF_1_NODELETE here.
50998 (do_lookup_x): When entering new entry test for copy relocation
50999 and if necessary set DF_1_NODELETE flag.
51000 * elf/tst-unique4.cc: New file.
51001 * elf/tst-unique4.h: New file.
51002 * elf/tst-unique4lib.cc: New file.
51003 * elf/Makefile: Add rules to build and run tst-unique4.
51004 Patch by Piotr Bury <pbury@goahead.com>.
51005
22836f52
UD
510062011-05-11 Ulrich Drepper <drepper@gmail.com>
51007
f574184a
UD
51008 [BZ #12052]
51009 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
51010
e1fb097f
UD
51011 [BZ #12625]
51012 * misc/mntent_r.c (addmntent): Flush the stream after the output
51013
22836f52
UD
51014 [BZ #12393]
51015 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
51016 (is_trusted_path_normalize): Skip initial colon. Append slash
51017 to empty buffer. Duplicate is_trusted_path code but allow
51018 constructed patch to be prefix.
51019 (is_dst): Allow $ORIGIN followed by /.
51020 (_dl_dst_substitute): Correct clearing of check_for_trusted.
51021 Correct testing of result of is_trusted_path_normalize
51022 (decompose_rpath): Fix warning.
51023
7b3b0b2a
UD
510242011-05-10 Ulrich Drepper <drepper@gmail.com>
51025
51026 [BZ #11257]
51027 * grp/initgroups.c (internal_getgrouplist): When we found the service
51028 list through the initgroups entry in nsswitch.conf do not always
51029 continue on a successful lookup. Don't always use the
eac80ce2 51030 __nss_group_database value if it is set.
7b3b0b2a
UD
51031 * nss/nsswitch.conf (initgroups): Change action for successful db
51032 lookup to continue for compatibility.
51033
2a81eaa5
UD
510342011-05-09 Ulrich Drepper <drepper@gmail.com>
51035
be97a69e
UD
51036 [BZ #11532]
51037 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
51038 and CP774 modules.
51039 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
51040 and CP774 modules.
51041 * iconvdata/tst-tables.sh: Likewise.
51042 * iconvdata/cp770.c: New file.
51043 * iconvdata/cp771.c: New file.
51044 * iconvdata/cp772.c: New file.
51045 * iconvdata/cp773.c: New file.
51046 * iconvdata/cp774.c: New file.
51047 * iconvdata/testdata/CP770: New file.
51048 * iconvdata/testdata/CP770..UTF8: New file.
51049 * iconvdata/testdata/CP771: New file.
51050 * iconvdata/testdata/CP771..UTF8: New file.
51051 * iconvdata/testdata/CP772: New file.
51052 * iconvdata/testdata/CP772..UTF8: New file.
51053 * iconvdata/testdata/CP773: New file.
51054 * iconvdata/testdata/CP773..UTF8: New file.
51055 * iconvdata/testdata/CP774: New file.
51056 * iconvdata/testdata/CP774..UTF8: New file.
51057
51058 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
51059 END CHARMAP line.
51060 * iconvdata/gen-8bit-gap.sh: Likewise.
51061 * iconvdata/gen-8bit.sh: Likewise.
51062
c1e9e399
UD
51063 * locale/iso-639.def: Add ary entry.
51064
24c55fb3 51065 [BZ #11258]
96b4b1b0
UD
51066 * locale/C-translit.h.in: Add U20A1 transliteration.
51067
bdc2f971
KB
51068 [BZ #12178]
51069 * locale/iso-639.def: Add wae entry.
51070 Patch by Kevin Bortis <bortis@translate-wae.ch>.
51071
2952b117
UD
51072 [BZ #12545]
51073 * locale/programs/localedef.c (construct_output_path): Use ssize_t
51074 for n.
51075
2a81eaa5
UD
51076 [BZ #12711]
51077 * locale/C-translit.h.in: Add entry for U20B9.
51078 Patch by pravin.d.s@gmail.com.
51079
28377d1b
UD
510802011-05-08 Ulrich Drepper <drepper@gmail.com>
51081
7fb90fb8
UD
51082 [BZ #12713]
51083 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51084 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
51085 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
51086 in rtld. Use *stat64.
7fb90fb8 51087 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 51088 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 51089 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
51090 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51091 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51092 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51093 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51094 __fstatat64 macros.
7fb90fb8
UD
51095 * include/dirent.h: Add libc_hidden_proto for rewinddir.
51096 * dirent/rewinddir.c: Add libc_hidden_def.
51097 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 51098 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 51099
28377d1b
UD
51100 * include/dirent.h (__alloc_dir): Add flags parameter.
51101 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51102 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51103 __alloc_dir.
51104 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
51105 from fdopendir if O_CLOEXEC is already set.
51106
66bdbaa4
AM
511072011-03-15 Alan Modra <amodra@gmail.com>
51108
51109 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51110 l_tls_firstbyte_offset non-zero. Save padding offset in
51111 l_tls_firstbyte_offset for later use.
51112 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51113 freeing static tls block.
51114
95721191
JN
511152011-03-05 Jonathan Nieder <jrnieder@gmail.com>
51116
51117 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51118 where #ifdef was intended. The intent is to prevent ARG_MAX from
51119 being defined by the kernel headers.
51120
f87dfb1f
UD
511212011-05-07 Ulrich Drepper <drepper@gmail.com>
51122
51123 [BZ #12734]
51124 * resolv/resolv.h: Define RES_NOTLDQUERY.
51125 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51126 no-tld-query and set RES_NOTLDQUERY.
51127 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51128 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51129 modern BIND to search name as TLD unless forbidden.
51130
47c3cd7a
UD
511312011-05-07 Petr Baudis <pasky@suse.cz>
51132 Ulrich Drepper <drepper@gmail.com>
51133
51134 [BZ #12393]
51135 * elf/dl-load.c (fillin_rpath): Move trusted path check...
51136 (is_trusted_path): ...to here.
c1e9ea35 51137 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 51138 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 51139 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 51140
8a35c912
PP
511412011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51142
51143 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51144 __BEGIN/__END_DECLS.
51145
acd41f47
UD
511462011-05-06 Ulrich Drepper <drepper@gmail.com>
51147
51148 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51149 NSS_STATUS_NOTFOUND if no record was found.
51150
597df647
AS
511512011-05-05 Andreas Schwab <schwab@redhat.com>
51152
51153 * sunrpc/Makefile (headers): Add rpc/netdb.h.
51154 (headers-not-in-tirpc): Remove rpc/netdb.h
51155 * resolv/netdb.h: Revert last change.
51156
b9af1301
PP
511572011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51158
51159 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
51160 circular dependency between libgcc.a and libc.a.
51161
4e34d5f5
AS
511622011-05-05 Andreas Schwab <schwab@redhat.com>
51163
51164 * resolv/netdb.h: Don't include <rpc/netdb.h>.
51165 * nis/Makefile: Don't install rpcsvc/*.
51166 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
51167 instead of <rpc/types.h>.
51168 (MAXHOSTNAMELEN): Define.
51169
00ee369c
AS
511702011-05-03 Andreas Schwab <schwab@redhat.com>
51171
51172 * elf/ldconfig.c (add_dir): Don't crash on empty path.
51173
0b592a30
MB
511742011-04-28 Maciej Babinski <mbabinski@google.com>
51175
51176 [BZ #12714]
51177 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
51178 gethostbyname4_r when IPv6 results are possible.
51179
6e04cbbe
UD
511802011-05-02 Ulrich Drepper <drepper@gmail.com>
51181
51182 [BZ #12723]
51183 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
51184 _PC_PIPE_BUF handling.
51185
e4ecafe0
BH
511862011-04-30 Bruno Haible <bruno@clisp.org>
51187
51188 [BZ #12717]
51189 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
51190 * resolv/netdb.h (getnameinfo): Change type of flags parameter
51191 to 'int'.
51192 * inet/getnameinfo.c (getnameinfo): Likewise.
51193
125ee683
UD
511942011-04-29 Ulrich Drepper <drepper@gmail.com>
51195
51196 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
51197 to groups setting in database lookup.
51198 * nss/nsswitch.conf: Add initgroups entry.
51199
b722481a
EB
512002011-04-22 Ulrich Drepper <drepper@gmail.com>
51201
51202 [BZ #12685]
51203 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
51204 mode string.
51205 Patch by Eric Blake <eblake@redhat.com>.
51206
4df46dbd
L
512072011-04-20 H.J. Lu <hongjiu.lu@intel.com>
51208
51209 * sunrpc/Makefile (need-export-routines): Add svc_run.
51210 (routines): Remove svc_run.
51211 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51212 * sunrpc/clnt_perr.c (clnt_perrno): Export.
51213 * sunrpc/svc_run.c (svc_run): Likewise.
51214 * sunrpc/svc_udp.c (svcudp_create): Likewise.
51215
e84142d2
UD
512162011-04-21 Ulrich Drepper <drepper@gmail.com>
51217
51218 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
51219 problem in reallocation in last patch.
51220
877175d8
UD
512212011-04-20 Ulrich Drepper <drepper@gmail.com>
51222
51223 * sunrpc/Makefile: Move inclusion of Rules.
51224
ab8eed78
UD
512252011-04-19 Ulrich Drepper <drepper@gmail.com>
51226
51227 * nss/nss_files/files-initgroups.c: New file.
51228 * nss/Makefile (libnss_files-routines): Add files-initgroups.
51229 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
51230 _nss_files_initgroups_dyn.
51231
e3d8f584
RS
512322011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
51233
51234 * elf/elf.h (R_ARM_IRELATIVE): Define.
51235
af190f45
UD
512362011-04-19 Ulrich Drepper <drepper@gmail.com>
51237
51238 * po/ru.po: Update from translation team.
51239
53cf59ef
UD
512402011-04-17 Ulrich Drepper <drepper@gmail.com>
51241
51242 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
51243 dependencies.
51244
4c559bcd
MF
512452011-02-06 Mike Frysinger <vapier@gentoo.org>
51246
51247 [BZ #12653]
51248 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
51249 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
51250 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51251 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51252 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51253
4420675c
AS
512542011-03-28 Andreas Schwab <schwab@linux-m68k.org>
51255
51256 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
51257 differing bytes.
51258 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51259 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51260 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51261
75ea32ab
UD
512622011-04-17 Ulrich Drepper <drepper@gmail.com>
51263
51264 [BZ #12420]
51265 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
51266 storing it.
51267 * stdlib/bug-getcontext.c: New file.
51268 * stdlib/Makefile: Add rules to build and run bug-getcontext.
51269
27390476
AK
512702011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51271
51272 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
51273 instructions into .machine "z9-109".
51274 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
51275 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
51276
10442705
AK
512772011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51278
51279 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
51280 between environment variables and auxiliary vector.
51281
7b57bfe5
UD
512822011-04-16 Ulrich Drepper <drepper@gmail.com>
51283
51284 * Makefile: Add rules to build linkobj/libc.so.
51285 * include/libc-symbols.h: Define libc_hidden_nolink.
51286 * include/rpc/auth.h: Mark functions which are to be hidden.
51287 * include/rpc/auth_des.h: Likewise.
51288 * include/rpc/auth_unix.h: Likewise.
51289 * include/rpc/clnt.h: Likewise.
51290 * include/rpc/des_crypt.h: Likewise.
51291 * include/rpc/key_prot.h: Likewise.
51292 * include/rpc/pmap_clnt.h: Likewise.
51293 * include/rpc/pmap_prot.h: Likewise.
51294 * include/rpc/pmap_rmt.h: Likewise.
51295 * include/rpc/rpc_msg.h: Likewise.
51296 * include/rpc/svc.h: Likewise.
51297 * include/rpc/svc_auth.h: Likewise.
51298 * include/rpc/xdr.h: Likewise.
51299 * nis/Makefile: Link all DSOs against linkobj/libc.so.
51300 * nss/Makefile: Likewise.
51301 * sunrpc/Makefile: Don't install headers. Build library with normal
51302 entry points. Don't build rpcinfo. Link RPC tests appropriately.
51303 * sunrpc/auth_des.c: Hide exported symbols by default, export some
51304 for the compat linking library. Remove use of INTDEF/INTUSE.
51305 * sunrpc/auth_none.c: Likewise.
51306 * sunrpc/auth_unix.c: Likewise.
51307 * sunrpc/authdes_prot.c: Likewise.
51308 * sunrpc/authuxprot.c: Likewise.
51309 * sunrpc/clnt_gen.c: Likewise.
51310 * sunrpc/clnt_perr.c: Likewise.
51311 * sunrpc/clnt_raw.c: Likewise.
51312 * sunrpc/clnt_simp.c: Likewise.
51313 * sunrpc/clnt_tcp.c: Likewise.
51314 * sunrpc/clnt_udp.c: Likewise.
51315 * sunrpc/clnt_unix.c: Likewise.
51316 * sunrpc/des_crypt.c: Likewise.
51317 * sunrpc/des_soft.c: Likewise.
51318 * sunrpc/get_myaddr.c: Likewise.
51319 * sunrpc/key_call.c: Likewise.
51320 * sunrpc/key_prot.c: Likewise.
51321 * sunrpc/netname.c: Likewise.
51322 * sunrpc/pm_getmaps.c: Likewise.
51323 * sunrpc/pm_getport.c: Likewise.
51324 * sunrpc/pmap_clnt.c: Likewise.
51325 * sunrpc/pmap_prot.c: Likewise.
51326 * sunrpc/pmap_prot2.c: Likewise.
51327 * sunrpc/pmap_rmt.c: Likewise.
51328 * sunrpc/publickey.c: Likewise.
51329 * sunrpc/rpc_cmsg.c: Likewise.
51330 * sunrpc/rpc_common.c: Likewise.
51331 * sunrpc/rpc_dtable.c: Likewise.
51332 * sunrpc/rpc_prot.c: Likewise.
51333 * sunrpc/rpc_thread.c: Likewise.
51334 * sunrpc/rtime.c: Likewise.
51335 * sunrpc/svc.c: Likewise.
51336 * sunrpc/svc_auth.c: Likewise.
51337 * sunrpc/svc_authux.c: Likewise.
51338 * sunrpc/svc_raw.c: Likewise.
51339 * sunrpc/svc_run.c: Likewise.
51340 * sunrpc/svc_simple.c: Likewise.
51341 * sunrpc/svc_tcp.c: Likewise.
51342 * sunrpc/svc_udp.c: Likewise.
51343 * sunrpc/svc_unix.c: Likewise.
51344 * sunrpc/svcauth_des.c: Likewise.
51345 * sunrpc/xcrypt.c: Likewise.
51346 * sunrpc/xdr.c: Likewise.
51347 * sunrpc/xdr_array.c: Likewise.
51348 * sunrpc/xdr_float.c: Likewise.
51349 * sunrpc/xdr_intXX_t.c: Likewise.
51350 * sunrpc/xdr_mem.c: Likewise.
51351 * sunrpc/xdr_rec.c: Likewise.
51352 * sunrpc/xdr_ref.c: Likewise.
51353 * sunrpc/xdr_sizeof.c: Likewise.
51354 * sunrpc/xdr_stdio.c: Likewise.
51355
e6c61494
UD
513562011-04-10 Ulrich Drepper <drepper@gmail.com>
51357
51358 [BZ #12650]
51359 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
51360 * sysdeps/ia64/dl-tls.h: Likewise.
51361 * sysdeps/powerpc/dl-tls.h: Likewise.
51362 * sysdeps/s390/dl-tls.h: Likewise.
51363 * sysdeps/sh/dl-tls.h: Likewise.
51364 * sysdeps/sparc/dl-tls.h: Likewise.
51365 * sysdeps/x86_64/dl-tls.h: Likewise.
51366 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
51367
34fe483e
AS
513682011-03-14 Andreas Schwab <schwab@redhat.com>
51369
51370 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
51371 rpath element also skip the following colon.
51372 (expand_dynamic_string_token): Add is_path parameter and pass
51373 down to DL_DST_REQUIRED and _dl_dst_substitute.
51374 (decompose_rpath): Call expand_dynamic_string_token with
51375 non-zero is_path. Ignore empty rpaths.
51376 (_dl_map_object_from_fd): Call expand_dynamic_string_token
51377 with zero is_path.
51378
f12a32e6
AS
513792011-04-08 Andreas Schwab <schwab@linux-m68k.org>
51380
51381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51382 Make cancelable.
51383
38a7d692
UD
513842011-04-09 Ulrich Drepper <drepper@gmail.com>
51385
51386 [BZ #12655]
51387 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
51388 Patch by Filipe David Manana <fdmanana@apache.org>.
51389
e451d22b
AS
513902011-04-07 Andreas Schwab <schwab@redhat.com>
51391
51392 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
51393 Maintain aligned stack.
51394 (CHECK_RSP): Remove unused macro.
51395
dedc7c7b
UD
513962011-04-03 Ulrich Drepper <drepper@gmail.com>
51397
51398 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
51399 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
51400
94521213
UD
514012011-04-02 Ulrich Drepper <drepper@gmail.com>
51402
51403 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
51404
8cb700c0 51405 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 51406
0354e355
L
514072011-03-26 H.J. Lu <hongjiu.lu@intel.com>
51408
51409 [BZ #12518]
51410 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
51411 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
51412 * sysdeps/x86_64/memmove.c: New file.
51413 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
51414 (memcpy): Renamed to ...
51415 (__new_memcpy): This.
51416 (memcpy): Provide GLIBC_2_14 memcpy.
51417 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
51418 (memcpy): Provide GLIBC_2_2_5 memcpy.
51419
8593482f
UD
514202011-04-01 Ulrich Drepper <drepper@gmail.com>
51421
51422 [BZ #12631]
51423 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
51424
81a5726b
AS
514252011-03-30 Andreas Schwab <schwab@redhat.com>
51426
51427 * misc/syncfs.c: New file.
51428 * misc/Makefile (routines): Add syncfs.
51429 * posix/unistd.h: Declare syncfs.
51430 * sysdeps/unix/syscalls.list: Add syncfs.
51431
00e5419f
AS
514322011-04-01 Andreas Schwab <schwab@redhat.com>
51433
51434 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
51435 open_by_handle_at.
51436 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51437 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51438 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51439 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51440 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51441 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
51442 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51443
748876bf
UD
514442011-04-01 Ulrich Drepper <drepper@gmail.com>
51445
658e451d
UD
51446 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
51447 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51448 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
51449 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51450 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51451 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51452 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51453
748876bf
UD
51454 * io/Makefile: Compile fallocate.c, fallocate64.c, and
51455 sync_file_range.c with -fexceptions.
51456 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
51457 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
51458 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
51459 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
51460 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
51461 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51462 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
51463 sync_file_range as cancellation point
51464 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
51465 now a wrapper around __call_sync_file_range with cancellation handling.
51466 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
51467 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
51468 function name to __call_sync_file_range.
51469 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
51470 Add call_sync_file_range.
748876bf 51471
6e63d5e1
AS
514722011-04-01 Andreas Schwab <schwab@redhat.com>
51473
51474 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 51475 bits/timex.h.
6e63d5e1 51476
46998f74
UD
514772011-04-01 Ulrich Drepper <drepper@gmail.com>
51478
4c1423ed
UD
51479 * iconv/iconv.h: Fix typo in comment.
51480 * io/fcntl.h: Likewise.
51481 * libio/stdio.h: Likewise.
51482 * posix/spawn.h: Likewise.
51483 * posix/unistd.h: Likewise.
51484 * stdlib/stdlib.h: Likewise.
51485 * time/time.h: Likewise.
51486 * wcsmbs/wchar.h: Likewise.
51487
158648c0
UD
51488 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
51489 open_by_handle): Add.
51490 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
51491 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
51492 Augment a few comments.
51493 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51494 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51495 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51496 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51497 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51498 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
51499 open_by_handle.
51500
46998f74
UD
51501 * io/fcntl.h (AT_EMPTY_PATH): Define.
51502
83fe108b
UD
515032011-03-30 Ulrich Drepper <drepper@gmail.com>
51504
51505 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
51506 * sysdeps/unix/sysv/linux/bits/time.h: New file.
51507 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
51508 to...
51509 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
51510 * Versions.def: Add GLIBC_2.14.
51511 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
51512 Export.
83fe108b 51513
bb242059
UD
515142011-03-22 Ulrich Drepper <drepper@gmail.com>
51515
51516 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
51517 round counter.
51518 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51519
c97a1282
L
515202011-03-20 H.J. Lu <hongjiu.lu@intel.com>
51521
51522 [BZ #12597]
51523 * string/test-strncmp.c (do_page_test): New function.
51524 (check2): Likewise.
51525 (test_main): Call check2.
51526 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
51527
2a115601
UD
515282011-03-20 Ulrich Drepper <drepper@gmail.com>
51529
51530 [BZ #12587]
51531 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
51532 Handle cache information in CPU leaf 4.
51533 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51534
8126d904
UD
515352011-03-18 Ulrich Drepper <drepper@gmail.com>
51536
042c49c6 51537 [BZ #12583]
8126d904
UD
51538 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
51539 character representation.
51540 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
51541
ccfe366e
RA
515422011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
51543
51544 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
51545 END(__isnan) to END(__isnanf) to match function entry point/label
51546 EALIGN(__isnanf,...).
51547
c6e13027
JJ
515482011-03-10 Jakub Jelinek <jakub@redhat.com>
51549
51550 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
51551
33f85a3f
UD
515522011-03-10 Ulrich Drepper <drepper@gmail.com>
51553
028478fa
UD
51554 [BZ #12510]
51555 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
51556 copy from the symbol referenced in the relocation to initialize the
51557 used variable.
51558 Patch by Piotr Bury <pbury@goahead.com>.
51559 * elf/Makefile: Add rules to build and tst-unique3.
51560 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
51561 * elf/tst-unique3.cc: New file.
51562 * elf/tst-unique3.h: New file.
51563 * elf/tst-unique3lib.cc: New file.
51564 * elf/tst-unique3lib2.cc: New file.
51565
33f85a3f
UD
51566 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
51567
03592fc7
MF
515682011-03-10 Mike Frysinger <vapier@gentoo.org>
51569
51570 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
51571 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
51572 to _start.
03592fc7 51573
6a5ee102
UD
515742011-03-06 Ulrich Drepper <drepper@gmail.com>
51575
51576 * elf/dl-load.c (_dl_map_object): If we are looking for the first
51577 to-be-loaded object along a path to loader is ld.so.
51578
7e4ba49c
HJ
515792011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
51580 Ulrich Drepper <drepper@gmail.com>
51581
51582 * sysdeps/x86_64/memset.S: After aligning destination, code
51583 branches to different locations depending on the value of
51584 misalignment, when multiarch is enabled. Fix this.
51585
515862011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
51587
51588 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
51589 Set _x86_64_preferred_memory_instruction for AMD processsors.
51590 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51591 Set bit_Prefer_SSE_for_memop for AMD processors.
51592
13a804de
UD
515932011-03-04 Ulrich Drepper <drepper@gmail.com>
51594
51595 * libio/fmemopen.c (fmemopen): Optimize a bit.
51596
9d25c392
AS
515972011-03-03 Andreas Schwab <schwab@redhat.com>
51598
51599 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
51600
a5543c6a
RM
516012011-03-03 Roland McGrath <roland@redhat.com>
51602
51603 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
51604
012d35f7
DM
516052011-02-28 Aurelien Jarno <aurelien@aurel32.net>
51606
7e4ba49c 51607 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
51608 __bzero_ultra1 instead of __memset_ultra1.
51609
4bff6e01
AS
516102011-02-23 Andreas Schwab <schwab@redhat.com>
51611 Ulrich Drepper <drepper@gmail.com>
51612
51613 [BZ #12509]
51614 * include/link.h (struct link_map): Add l_orig_initfini.
51615 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
51616 returning unsuccessfully.
51617 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
51618 close of a file loaded at startup, restore the original l_initfini
51619 list.
51620 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
51621 list, store the pointer.
51622 * elf/Makefile ($(objpfx)noload-mem): New rule.
51623 (noload-ENV): Define.
51624 (tests): Add $(objpfx)noload-mem.
51625 * elf/noload.c: Include <memcheck.h>.
51626 (main): Call mtrace. Close all opened handles.
51627
f2092faf
AS
516282011-02-17 Andreas Schwab <schwab@redhat.com>
51629
51630 [BZ #12454]
51631 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
51632 dependencies are missing.
51633
6c8a2e88
ST
516342011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
51635
f2092faf 51636 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
51637 Hurd needs munmap.
51638 * sysdeps/mach/hurd/ifreq.h: New file.
51639
84a42118
PB
516402011-01-27 Petr Baudis <pasky@suse.cz>
51641 Ulrich Drepper <drepper@gmail.com>
51642
071f805e 51643 [BZ 12445]#
84a42118
PB
51644 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
51645 to extend_alloca().
51646 * stdio-common/bug23.c: New file.
51647 * stdio-common/Makefile (tests): Add bug23.
51648
e23fe25b
AS
516492010-09-28 Andreas Schwab <schwab@redhat.com>
51650 Ulrich Drepper <drepper@gmail.com>
51651
51652 [BZ #12489]
51653 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
51654 before performing relro protection. At old place add assertion
51655 to make sure nothing changed.
51656
d3f02e10
NS
516572011-02-17 Nathan Sidwell <nathan@codesourcery.com>
51658 Glauber de Oliveira Costa <glommer@gmail.com>
51659
51660 * elf/elf.h: Add new ARM TLS relocs.
51661
d55fd7a5
RA
516622011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
51663
51664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
51665 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
51666 cast from r3.
51667 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
51668 'tests' variable.
51669 * sysdeps/wordsize-64/tst-writev.c: New file.
51670
2206397e
RA
516712011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
51672
51673 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
51674 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
51675 insns in _dl_start to prevent a TOC reference before relocs are
51676 resolved.
51677
e9433893
UD
516782011-02-15 Ulrich Drepper <drepper@gmail.com>
51679
51680 [BZ #12469]
51681 * Makeconfig: Remove RANLIB definition.
51682 * Makerules: Don't use RANLIB.
51683 * aclocal.m4: Remove ranlib test.
51684 * configure.in: No need to check for ranlib.
51685 * elf/rtld-Rules: Don't use RANLIB.
51686
f75286c6
ST
516872011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
51688
8e31c82d
ST
51689 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
51690 protection macro.
51691 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
51692 inclusion protection macro.
51693
f75286c6
ST
51694 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
51695 SIGRTMIN and SIGRTMAX and print information in that case only when
51696 SIGRTMIN is defined.
51697
c1d0e639
JJ
516982011-02-11 Jakub Jelinek <jakub@redhat.com>
51699
51700 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
51701 arginfo fn returning -1.
51702
51703 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
51704 and thousands string is zero terminated.
51705
edf9294e
AS
517062011-02-03 Andreas Schwab <schwab@redhat.com>
51707
51708 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
51709 sysdeps/unix/sysv/linux/bits/socket.h.
51710
2b7e92df
ST
517112011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
51712
edf9294e
AS
51713 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
51714 (__CPU_COUNT): Remove old macros.
51715 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
51716 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
51717 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
51718 (__sched_cpualloc, __sched_cpufree): Add declarations.
51719
a4c7ea7b
UD
517202011-02-05 Ulrich Drepper <drepper@gmail.com>
51721
51722 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
51723 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
51724 * nscd/aicache.c (addhstaiX): Return timeout of added value.
51725 (readdhstai): Return value of addhstaiX call.
51726 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
51727 (addgrbyX): Return value returned by cache_addgr.
51728 (readdgrbyname): Return value returned by addgrbyX.
51729 (readdgrbygid): Likewise.
51730 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
51731 (addpwbyX): Return value returned by cache_addpw.
51732 (readdpwbyname): Return value returned by addhstbyX.
51733 (readdpwbyuid): Likewise.
51734 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
51735 (addservbyX): Return value returned by cache_addserv.
51736 (readdservbyname): Return value returned by addservbyX:
51737 (readdservbyport): Likewise.
51738 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
51739 (addhstbyX): Return value returned by cache_addhst.
51740 (readdhstbyname): Return value returned by addhstbyX.
51741 (readdhstbyaddr): Likewise.
51742 (readdhstbynamev6): Likewise.
51743 (readdhstbyaddrv6): Likewise.
51744 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
51745 (readdinitgroups): Return value returned by addinitgroupsX.
51746 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
51747 (prune_cache): Keep track of timeout value of re-added entries.
51748 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
51749 * nscd/nscd.h: Adjust prototypes of readd* functions.
51750
a0bf67cc
RM
517512011-02-04 Roland McGrath <roland@redhat.com>
51752
51753 * nis/nis_server.c (nis_servstate): Use the right name for 0.
51754 (nis_stats): Likewise.
51755 * nis/nis_modify.c (nis_modify): Likewise.
51756 * nis/nis_remove.c (nis_remove): Likewise.
51757 * nis/nis_add.c (nis_add): Likewise.
51758
51759 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
51760
51761 * posix/fnmatch_loop.c: Add some consts.
51762
51763 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
51764
435b95eb
L
517652011-02-02 H.J. Lu <hongjiu.lu@intel.com>
51766
51767 [BZ #12460]
51768 * config.make.in (config-cflags-novzeroupper): Define.
51769 * configure.in: Substitute libc_cv_cc_novzeroupper.
51770 * elf/Makefile (AVX-CFLAGS): Define.
51771 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
51772 (CFLAGS-tst-auditmod4a.c): Likewise.
51773 (CFLAGS-tst-auditmod4b.c): Likewise.
51774 (CFLAGS-tst-auditmod6b.c): Likewise.
51775 (CFLAGS-tst-auditmod6c.c): Likewise.
51776 (CFLAGS-tst-auditmod7b.c): Likewise.
51777 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
51778
8517b15e
UD
517792011-02-02 Ulrich Drepper <drepper@gmail.com>
51780
51781 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
51782 function to the callback.
51783 Patch partly by Jiri Olsa <jolsa@redhat.com>.
51784
10a656fe
AS
517852011-02-02 Andreas Schwab <schwab@redhat.com>
51786
51787 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
51788 of errno.
51789
968dad0a
UD
517902011-01-19 Ulrich Drepper <drepper@gmail.com>
51791
9f94d2ea 51792 [BZ #11724]
968dad0a
UD
51793 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
51794 of constructors.
51795 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
51796 of destructors.
51797 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
51798
51799 [BZ #11724]
51800 * elf/Makefile: Add rules to build and run new test.
51801 * elf/tst-initorder.c: New file.
51802 * elf/tst-initorder.exp: New file.
51803 * elf/tst-initordera1.c: New file.
51804 * elf/tst-initordera2.c: New file.
51805 * elf/tst-initordera3.c: New file.
51806 * elf/tst-initordera4.c: New file.
51807 * elf/tst-initorderb1.c: New file.
51808 * elf/tst-initorderb2.c: New file.
51809 * elf/tst-order-a1.c: New file.
51810 * elf/tst-order-a2.c: New file.
51811 * elf/tst-order-a3.c: New file.
51812 * elf/tst-order-a4.c: New file.
51813 * elf/tst-order-b1.c: New file.
51814 * elf/tst-order-b2.c: New file.
51815 * elf/tst-order-main.c: New file.
51816 New test case by George Gensure <werkt0@gmail.com>.
51817
86e92359
UD
518182010-10-01 Andreas Schwab <schwab@redhat.com>
51819
51820 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51821 decoding ACE if AI_CANONIDN.
51822
5d5732b0
UD
518232011-01-18 Ulrich Drepper <drepper@gmail.com>
51824
51825 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
51826
a77e8cbc
UD
518272011-01-17 Ulrich Drepper <drepper@gmail.com>
51828
6392473f
UD
51829 * version.h (RELEASE): Bump for 2.13 release.
51830 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
51831
620a0529
UD
51832 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
51833
18ba70a5
UD
51834 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
51835 MADV_NOHUGEPAGE.
32465c3e
UD
51836 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
51837 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51838 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51839 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51840 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51841 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51842
c0dafcf1
UD
51843 * posix/getconf.c: Update copyright year.
51844 * catgets/gencat.c: Likewise.
51845 * csu/version.c: Likewise.
51846 * debug/catchsegv.sh: Likewise.
51847 * debug/xtrace.sh: Likewise.
51848 * elf/ldconfig.c: Likewise.
51849 * elf/ldd.bash.in: Likewise.
51850 * elf/sprof.c (print_version): Likewise.
51851 * iconv/iconv_prog.c: Likewise.
51852 * iconv/iconvconfig.c: Likewise.
51853 * locale/programs/locale.c: Likewise.
51854 * locale/programs/localedef.c: Likewise.
51855 * malloc/memusage.sh: Likewise.
51856 * malloc/mtrace.pl: Likewise.
51857 * nscd/nscd.c (print_version): Likewise.
51858 * nss/getent.c: Likewise.
51859
a77e8cbc
UD
51860 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
51861 PF_CAIF, and PF_ALG.
51862 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51863
77e8bddf
AS
518642011-01-16 Andreas Schwab <schwab@linux-m68k.org>
51865
1f20b93a
AS
51866 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
51867 (modules-names): Use them.
51868 (ifunc-test-modules, ifunc-pie-tests): Define.
51869 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
51870 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
51871 (test-extras): Likewise.
51872 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
51873 $(compile-command.c).
51874 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
51875 (all-built-dso): Define.
51876 (check-textrel.out, check-execstack.out): Depend on it.
51877
77e8bddf
AS
51878 * configure.in: Don't override --enable-multi-arch.
51879
bc425b33
UD
518802011-01-15 Ulrich Drepper <drepper@gmail.com>
51881
51882 [BZ #6812]
51883 * nscd/hstcache.c (tryagain): Define.
51884 (cache_addhst): Return tryagain not notfound for temporary errors.
51885 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
51886 failed.
51887
794c3ad3
UD
518882011-01-14 Ulrich Drepper <drepper@gmail.com>
51889
70181fdd
UD
51890 [BZ #10563]
51891 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
51892 to make the syscall.
51893 * sysdeps/unix/sysv/linux/setgroups.c: New file.
51894
794c3ad3
UD
51895 [BZ #12378]
51896 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
51897 and fall back to matching as normal character if the string ends before
51898 the matching ']' is found. This is what POSIX requires.
51899 * posix/testfnm.c: Adjust test result.
51900 * posix/globtest.sh: Adjust test result. Add new test.
51901 * posix/tst-fnmatch.input: Likewise.
51902 * posix/tst-fnmatch2.c: Add new test.
51903
68dc9497
AS
519042010-12-28 Andreas Schwab <schwab@linux-m68k.org>
51905
51906 * elf/Makefile (check-execstack): Revert last change. Depend on
51907 check-execstack.h.
51908 (check-execstack.h): New target.
51909 (generated): Add check-execstack.h.
51910 * elf/check-execstack.c: Include "check-execstack.h".
51911 (main): Revert last change.
51912 (handle_file): Return zero if GNU_STACK is absent and
51913 DEFAULT_STACK_PERMS doesn't include PF_X.
51914
451f001b
UD
519152011-01-13 Ulrich Drepper <drepper@gmail.com>
51916
cfa28e56
UD
51917 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
51918 in child fails because the descriptor is already closed.
8cf8ce17
UD
51919 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
51920 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
51921 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 51922
1086d70d
UD
51923 [BZ #12397]
51924 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
51925 syscall.
51926
451f001b
UD
51927 [BZ #10484]
51928 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
51929 temporary buffer used to handle multi lookups locally.
a85b5cb4 51930 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 51931
08769175
UD
519322011-01-12 Ulrich Drepper <drepper@gmail.com>
51933
51934 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
51935 loader is ld.so.
51936
5e49c52e
UD
519372011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
51938
51939 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
51940 alignment for SSE2.
51941
60522a5f
UD
519422011-01-12 Ulrich Drepper <drepper@gmail.com>
51943
51944 [BZ #12394]
51945 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
51946 characters. When rounding increased number of integer digits recompute
51947 number of groups.
51948 * stdio-common/tst-grouping.c: New file.
51949 * stdio-common/Makefile: Add rules to build and run tst-grouping.
51950
f257bbd7
UD
519512011-01-09 Ulrich Drepper <drepper@gmail.com>
51952
51953 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
51954 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
51955
51956 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
51957 void.
51958 * bits/select.h: Likewise.
51959
fa9c15cb
UD
519602011-01-08 Ulrich Drepper <drepper@gmail.com>
51961
51962 * po/ja.po: Update from translation team.
51963
16c2895f
DM
519642011-01-04 David S. Miller <davem@sunset.davemloft.net>
51965
51966 [BZ #11155]
51967 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
51968 implementation just like for lxstat, fxstatat, et al.
51969
2543fef2
JM
519702010-12-27 Jim Meyering <meyering@redhat.com>
51971
51972 [BZ #12348]
51973 * posix/regexec.c (build_trtable): Return failure indication upon
51974 calloc failure. Otherwise, re_search_internal could infloop on OOM.
51975
98727dbe
UD
519762010-12-25 Ulrich Drepper <drepper@gmail.com>
51977
5bd6dc5c
UD
51978 [BZ #12201]
51979 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
51980 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
51981 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51982 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51983
97983464
UD
51984 [BZ #12207]
51985 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51986
98727dbe
UD
51987 [BZ #12204]
51988 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51989 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51990
4a531bb0
L
519912010-12-15 H.J. Lu <hongjiu.lu@intel.com>
51992
51993 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51994 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51995 script has SORT_BY_INIT_PRIORITY.
51996 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51997 NO_CTORS_DTORS_SECTIONS is defined.
51998 * elf/soinit.c: Likewise.
51999 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
52000 NO_CTORS_DTORS_SECTIONS is defined.
52001 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
52002 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
52003 * sysdeps/sh/init-first.c: Likewise.
52004 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
52005
07eb4b71
UD
520062010-12-24 Ulrich Drepper <drepper@gmail.com>
52007
52008 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
52009 always use the slow path.
52010
30950a5f
RA
520112010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
52012
52013 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
52014 similar rule which adds the sysdep directories to the header search in
52015 order to pick up the correct platform stackinfo.h.
52016 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
52017 perform test if it is, otherwise return successfully without testing.
52018 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
52019 DEFAULT_STACK_PERMS define in stackinfo.h.
52020 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
52021 defined in stackinfo.h.
52022 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
52023 DEFAULT_STACK_PERMS defined in stackinfo.h.
52024 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
52025 * sysdeps/ia64/stackinfo.h: Likewise.
52026 * sysdeps/s390/stackinfo.h: Likewise.
52027 * sysdeps/sh/stackinfo.h: Likewise.
52028 * sysdeps/sparc/stackinfo.h: Likewise.
52029 * sysdeps/x86_64/stackinfo.h: Likewise.
52030 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
52031 PF_X for powerpc64. Retain PF_X for powerpc32.
52032
db753e2c
UD
520332010-12-19 Ulrich Drepper <drepper@gmail.com>
52034
14b697f7
UD
52035 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
52036 accurately.
db753e2c
UD
52037 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
52038 GETDENTS_64BIT_ALIGNED.
52039
28300719
UD
520402010-12-14 Ulrich Drepper <dreper@gmail.com>
52041
14b697f7 52042 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 52043
4f197237
AS
520442010-12-10 Andreas Schwab <schwab@redhat.com>
52045
dbb0472f
AS
52046 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52047 _GNU_SOURCE.
52048
4f197237
AS
52049 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
52050 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
52051 Remove __restrict.
52052 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
52053 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
52054
fb88ac72
UD
520552010-12-09 Ulrich Drepper <drepper@gmail.com>
52056
52057 [BZ #11655]
52058 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
52059 are initialized.
52060
42acbb92
JJ
520612010-12-09 Jakub Jelinek <jakub@redhat.com>
52062
52063 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
52064
c038d98d
UD
520652010-12-03 Ulrich Drepper <drepper@gmail.com>
52066
52067 * po/it.po: Update from translation team.
52068
3a4a2499
L
520692010-12-01 H.J. Lu <hongjiu.lu@intel.com>
52070
52071 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
52072 unused codes.
52073
1e24cf6e
UD
520742010-11-30 Ulrich Drepper <drepper@gmail.com>
52075
52076 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
52077
a7690819
AS
520782010-11-24 Andreas Schwab <schwab@redhat.com>
52079
52080 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
52081 specially.
52082 (gaih_getanswer_slice): Likewise.
52083
3bf8d1b1
JJ
520842010-10-20 Jakub Jelinek <jakub@redhat.com>
52085
52086 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52087
6db52fbb
PB
520882010-05-31 Petr Baudis <pasky@suse.cz>
52089
52090 [BZ #11149]
52091 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52092 silently even in the chroot mode.
52093
eaca7569
UD
520942010-11-22 Ulrich Drepper <drepper@gmail.com>
52095
52096 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52097 last patch a bit. Pretty printing
52098
3056dcdb
UD
520992010-05-31 Petr Baudis <pasky@suse.cz>
52100
52101 [BZ #10085]
52102 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52103 initialization of skip_initgroups_dyn.
52104
cf7c9078
UD
521052010-11-19 Ulrich Drepper <drepper@gmail.com>
52106
52107 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52108 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52109
a1fb5e3e
UD
521102010-11-16 Ulrich Drepper <drepper@gmail.com>
52111
52112 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52113
3540d66b
AS
521142010-11-11 Andreas Schwab <schwab@redhat.com>
52115
52116 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52117 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52118 (tst-fnmatch-ENV): Set MALLOC_TRACE.
52119 ($(objpfx)tst-fnmatch-mem): New rule.
52120 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52121 * posix/tst-fnmatch.c (main): Call mtrace.
52122
13b69574
L
521232010-11-11 H.J. Lu <hongjiu.lu@intel.com>
52124
52125 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52126 Support Intel processor model 6 and model 0x2c.
52127
da93d214
LM
521282010-11-10 Luis Machado <luisgpm@br.ibm.com>
52129
52130 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52131 signed comparison.
52132
8ca52c6e
L
521332010-11-09 H.J. Lu <hongjiu.lu@intel.com>
52134
52135 [BZ #12205]
52136 * string/test-strncasecmp.c (check_result): New function.
52137 (do_one_test): Use it.
52138 (check1): New function.
52139 (test_main): Use it.
52140 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52141 Support strcasecmp and strncasecmp.
52142
69da074d
UD
521432010-11-08 Ulrich Drepper <drepper@gmail.com>
52144
52145 [BZ #12194]
52146 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52147 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52148
ff02d528
L
521492010-11-07 H.J. Lu <hongjiu.lu@intel.com>
52150
52151 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52152 IFUNC support.
52153 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52154 memset-x86-64.
52155 * sysdeps/x86_64/multiarch/bzero.S: New file.
52156 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
52157 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
52158 * sysdeps/x86_64/multiarch/memset.S: New file.
52159 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
52160 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52161 Set bit_Prefer_SSE_for_memop for Intel processors.
52162 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
52163 Define.
52164 (index_Prefer_SSE_for_memop): Define.
52165 (HAS_PREFER_SSE_FOR_MEMOP): Define.
52166
344d0b54
LM
521672010-11-04 Luis Machado <luisgpm@br.ibm.com>
52168
52169 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
52170 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
52171
c0dde15b
UD
521722010-11-03 H.J. Lu <hongjiu.lu@intel.com>
52173
52174 [BZ #12191]
52175 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52176 (__x86_64_raw_data_cache_size_half): Likewise.
52177 (__x86_64_raw_shared_cache_size): Likewise.
52178 (__x86_64_raw_shared_cache_size_half): Likewise.
52179
52180 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52181 (__x86_64_raw_data_cache_size_half): Likewise.
52182 (__x86_64_raw_shared_cache_size): Likewise.
52183 (__x86_64_raw_shared_cache_size_half): Likewise.
52184 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
52185 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
52186 and __x86_64_raw_shared_cache_size_half. Round
52187 __x86_64_data_cache_size_half, __x86_64_data_cache_size
52188 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
52189 to multiple of 256 bytes.
52190
0e516e0e
MS
521912010-11-03 Ulrich Drepper <drepper@gmail.com>
52192
52193 [BZ #12167]
52194 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
52195 of inacessible symlinks. Verify result of symlink before returning it.
52196 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52197 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
52198
0e012e87
ER
521992010-10-28 Erich Ritz <erichritz@gmail.com>
52200
52201 * math/math.h (isinf): Fix typo in comment.
52202
de0ff7bc
UD
522032010-11-01 Ulrich Drepper <drepper@gmail.com>
52204
52205 * po/da.po: Update from translation team.
52206
fa41c84d
UD
522072010-10-26 Ulrich Drepper <drepper@gmail.com>
52208
52209 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
52210 is added to the list.
52211
f0967738
AK
522122010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52213 Ulrich Drepper <drepper@gmail.com>
52214
52215 * elf/dl-object.c (_dl_new_object): Don't append the new object to
52216 the global list here. Move code to...
52217 (_dl_add_to_namespace_list): ...here. New function.
52218 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
52219 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
52220 * elf/dl-load.c (lose): Don't remove the element from the list.
52221 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
52222 (_dl_map_object): Likewise.
52223
522242010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
52225
52226 [BZ #12159]
52227 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
52228 into all bytes of SSE register.
52229 Patch by Richard Li <richardpku@gmail.com>.
52230
f0967738 522312010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
52232
52233 [BZ #12140]
52234 * malloc/malloc.c (_int_free): Fill correct number of bytes when
52235 perturbing.
52236
d0b9e94f
MB
522372010-10-20 Michael B. Brutman <brutman@us.ibm.com>
52238
52239 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
52240 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
52241 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52242 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
52244 submachine.
52245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
52246
8e9f92e9
AS
522472010-10-22 Andreas Schwab <schwab@redhat.com>
52248
52249 * include/dlfcn.h (__RTLD_SECURE): Define.
52250 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
52251 mode & __RTLD_SECURE instead.
52252 (open_path): Rename preloaded parameter to secure.
52253 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
52254 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
52255 * elf/dl-deps.c (openaux): Likewise.
52256 * elf/rtld.c (struct map_args): Remove is_preloaded.
52257 (map_doit): Don't use it.
52258 (dl_main): Likewise.
52259 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
52260 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
52261
bc96fbda
AS
522622010-09-09 Andreas Schwab <schwab@redhat.com>
52263
52264 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
52265 (sysd-rules-targets): Remove duplicates.
52266 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
52267 rtld-%.$o dependency.
52268
22cd1c9b
AS
522692010-10-18 Andreas Schwab <schwab@redhat.com>
52270
52271 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
52272 _dl_map_object do it.
52273
18edac48
UD
522742010-10-19 Ulrich Drepper <drepper@gmail.com>
52275
52276 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
52277 fast fma builtins, define the macros in the C99 standard.
52278 (FP_FAST_FMAF): Likewise.
52279 (FP_FAST_FMAL): Likewise.
52280 * sysdeps/x86_64/bits/mathdef.h: Likewise.
52281
52282 * bits/mathdef.h: Update copyright year.
52283 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52284
d2050124
MM
522852010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
52286
52287 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
52288 builtins, define the macros in the C99 standard.
52289 (FP_FAST_FMAF): Likewise.
52290 (FP_FAST_FMAL): Likewise.
52291 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
52292 multiply/add.
52293 (FP_FAST_FMAF): Likewise.
52294
475facd1
JJ
522952010-10-15 Jakub Jelinek <jakub@redhat.com>
52296
52297 [BZ #3268]
52298 * math/libm-test.inc (fma_test): Some new testcases.
52299 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
52300 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
52301 y and infinite z. Do multiplication by C already in long double.
52302 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
52303 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
52304 y and infinite z. Do bitwise or of inexact bit into u.d.
52305 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
52306 * sysdeps/i386/fpu/s_fmaf.S: Removed.
52307 * sysdeps/i386/fpu/s_fma.S: Removed.
52308 * sysdeps/i386/fpu/s_fmal.S: Removed.
52309
7c08a05c
JJ
523102010-10-16 Jakub Jelinek <jakub@redhat.com>
52311
52312 [BZ #3268]
52313 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
52314 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
52315 computation is not scheduled after fetestexcept. Fix value
52316 of minimum denormal long double.
52317
f3f7372d
JJ
523182010-10-14 Jakub Jelinek <jakub@redhat.com>
52319
52320 [BZ #3268]
52321 * math/libm-test.inc (fma_test): Add some more tests.
52322 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
52323 correctly.
52324
14d43591
AS
523252010-10-15 Andreas Schwab <schwab@redhat.com>
52326
52327 * scripts/data/localplt-s390-linux-gnu.data: New file.
52328 * scripts/data/localplt-s390x-linux-gnu.data: New file.
52329
5e908464
JJ
523302010-10-13 Jakub Jelinek <jakub@redhat.com>
52331
52332 [BZ #3268]
52333 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
52334 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
52335 instead of dbl-64.
52336 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
52337 inlines.
52338 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
52339 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
52340 if one of x and y is very large and the other is subnormal.
52341 * sysdeps/s390/fpu/s_fmaf.c: New file.
52342 * sysdeps/s390/fpu/s_fma.c: New file.
52343 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
52344 * sysdeps/powerpc/fpu/s_fma.S: New file.
52345 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
52346 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
52347 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
52348
523492010-10-12 Jakub Jelinek <jakub@redhat.com>
52350
52351 [BZ #3268]
52352 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
52353 fma tests.
52354 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
52355 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
52356 * sysdeps/i386/i686/multiarch/s_fma.c: Include
52357 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
52358 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
52359 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
52360 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
52361
b833d51f
UD
523622010-10-12 Ulrich Drepper <drepper@redhat.com>
52363
52364 [BZ #12078]
52365 * posix/regcomp.c (parse_branch): One more memory leak plugged.
52366 * posix/bug-regex31.input: Add test case.
52367
1751705d
UD
523682010-10-11 Ulrich Drepper <drepper@gmail.com>
52369
e9b9cbf5
UD
52370 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
52371 * posix/bug-regex31.input: New file.
52372
52373 [BZ #12078]
52374 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
52375 (parse_sub_exp): Fix last change, use postorder.
52376
ef06edbe
UD
52377 * posix/bug-regex31.c: New file.
52378 * posix/Makefile: Add rules to build and run bug-regex31.
52379
a129c80d
UD
52380 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
52381
52382 [BZ #12078]
52383 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
52384
b76b818e
UD
52385 [BZ #12108]
52386 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
52387 to have entries in sys_siglist.
52388
1751705d
UD
52389 [BZ #12093]
52390 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
52391 be NULL.
52392
9ff8d36f
JJ
523932010-10-07 Jakub Jelinek <jakub@redhat.com>
52394
52395 [BZ #3268]
52396 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
52397 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
52398 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
52399 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
52400 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52401 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
52402 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
52403 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
52404 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
52405 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
52406 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
52407 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
52408 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
52409 * math/ftestexcept.c (fetestexcept): Likewise.
52410 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
52411 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
52412 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
52413 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
52414 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
52415 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
52416 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52417
af325969
UD
524182010-10-11 Ulrich Drepper <drepper@gmail.com>
52419
c579b202 52420 [BZ #12107]
af325969
UD
52421 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
52422 newline.
52423
67a67b95
UD
524242010-10-06 Ulrich Drepper <drepper@gmail.com>
52425
52426 * string/bug-strstr1.c: New file.
52427 * string/Makefile: Add rules to build and run bug-strstr1.
52428
5fb308bc
EB
524292010-10-05 Eric Blake <eblake@redhat.com>
52430
52431 [BZ #12092]
52432 * string/str-two-way.h (two_way_long_needle): Always clear memory
52433 when skipping input due to the shift table.
52434
45db99c7
UD
524352010-10-03 Ulrich Drepper <drepper@gmail.com>
52436
3b111893
UD
52437 [BZ #12005]
52438 * malloc/mcheck.c: Handle large requests.
52439
45db99c7
UD
52440 [BZ #12077]
52441 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
52442 for strncmp and strncasecmp.
52443 * string/stratcliff.c: Add tests for strcmp and strncmp.
52444 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
52445
cf7a1eb8
NI
524462010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
52447
52448 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
52449 __set_fpscr.
52450
6484ba5e
AJ
524512010-09-30 Andreas Jaeger <aj@suse.de>
52452
52453 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
52454 (CGROUP_SUPER_MAGIC): Define.
52455 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52456 Handle btrfs and cgroup file systems.
52457 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52458 Likewise.
52459
91c42559
LM
524602010-09-27 Luis Machado <luisgpm@br.ibm.com>
52461
52462 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
52463 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
52464
87a97932
AK
524652010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52466
52467 [BZ #12067]
52468 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
52469 trying to locate the ELF header.
52470
c21cc9bc
AS
524712010-09-27 Andreas Schwab <schwab@redhat.com>
52472
52473 [BZ #11611]
52474 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
52475 Mask out sign-bit copies when constructing f_fsid.
52476
315970f6
PB
524772010-09-24 Petr Baudis <pasky@suse.cz>
52478
52479 * debug/stack_chk_fail_local.c: Add missing licence exception.
52480 * debug/warning-nop.c: Likewise.
52481
1ac7a2c7
JM
524822010-09-15 Joseph Myers <joseph@codesourcery.com>
52483
52484 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
52485 implementing getdents64 using getdents syscall, set d_type if
52486 __ASSUME_GETDENTS32_D_TYPE.
52487
56801c50
AS
524882010-09-16 Andreas Schwab <schwab@redhat.com>
52489
52490 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
52491 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
52492
dda51327
UD
524932010-09-21 Ulrich Drepper <drepper@redhat.com>
52494
52495 [BZ #12037]
52496 * posix/unistd.h: Undo change of feature selection for ftruncate from
52497 2010-01-11.
52498
8ffcee4a
UD
524992010-09-20 Ulrich Drepper <drepper@redhat.com>
52500
a545ecd9 52501 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
52502 detection.
52503
e24f0a8b
AS
525042010-09-20 Andreas Schwab <schwab@redhat.com>
52505
52506 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
52507 fanotify_mark.
52508 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52509
7291c56f
AS
525102010-09-14 Andreas Schwab <schwab@redhat.com>
52511
52512 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
52513 variables after CHECK_SP call.
52514 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
52515
bc5fb037
AS
525162010-09-13 Andreas Schwab <schwab@redhat.com>
52517 Ulrich Drepper <drepper@redhat.com>
52518
52519 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
52520 re-relocationg ld.so.
52521 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
52522 _dl_init_paths call.
52523 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
52524 here anymore.
52525
e66e7419
UD
525262010-09-14 Ulrich Drepper <drepper@redhat.com>
52527
52528 * resolv/res_init.c (__res_vinit): Count the default server we added.
52529
c044aa75
CLT
525302010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
52531 Ulrich Drepper <drepper@redhat.com>
52532
52533 [BZ #11968]
52534 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52535 (____longjmp_chk): Use %ebx for saving value across system call.
52536 Add unwind info.
52537
32cf4069
AS
525382010-09-06 Andreas Schwab <schwab@redhat.com>
52539
52540 * manual/Makefile: Don't mix pattern rules with normal rules.
52541
817328ee
AS
525422010-09-05 Andreas Schwab <schwab@linux-m68k.org>
52543
52544 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
52545 operation.
52546 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
52547 * libio/iofopncook.c (_IO_cookie_init): Likewise.
52548 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
52549 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
52550 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52551 Likewise.
52552
29fddf61
UD
525532010-09-04 Ulrich Drepper <drepper@redhat.com>
52554
52555 [BZ #11979]
52556 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
52557 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
52558
0959ffc9
UD
525592010-09-02 Ulrich Drepper <drepper@redhat.com>
52560
52561 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
52562 * sysdeps/x86_64/addmul_1.S: Likewise.
52563 * sysdeps/x86_64/lshift.S: Likewise.
52564 * sysdeps/x86_64/mul_1.S: Likewise.
52565 * sysdeps/x86_64/rshift.S: Likewise.
52566 * sysdeps/x86_64/sub_n.S: Likewise.
52567 * sysdeps/x86_64/submul_1.S: Likewise.
52568
ece29840
ST
525692010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
52570
0959ffc9
UD
52571 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
52572 Define __sched_param instead of SCHED_* and sched_param when
ece29840 52573 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 52574 * bits/sched.h [__need_schedparam]
ece29840 52575 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
52576 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
52577 (__defined_schedparam): Define to 1.
ece29840
ST
52578 (__sched_param): New structure, identical to sched_param.
52579 (__need_schedparam): Undefine.
52580
e53a31fe
MF
525812010-08-31 Mike Frysinger <vapier@gentoo.org>
52582
fdc0c10d
MF
52583 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
52584 (epoll_create1): Declare.
52585
e53a31fe
MF
52586 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
52587
a726d796
AS
525882010-08-31 Andreas Schwab <schwab@redhat.com>
52589
52590 [BZ #7066]
52591 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
52592 shifting retval into place.
52593
2f3e3dc7
UD
525942010-09-01 Ulrich Drepper <drepper@redhat.com>
52595
f2933da9
UD
52596 * nis/rpcsvc/nis.h: Update copyright notice.
52597 * nis/rpcsvc/nis.x: Likewise.
52598 * nis/rpcsvc/nis_callback.h: Likewise.
52599 * nis/rpcsvc/nis_callback.x: Likewise.
52600 * nis/rpcsvc/nis_object.x: Likewise.
52601 * nis/rpcsvc/nis_tags.h: Likewise.
52602 * nis/rpcsvc/yp.h: Likewise.
52603 * nis/rpcsvc/yp.x: Likewise.
52604 * nis/rpcsvc/ypupd.h: Likewise.
52605 * nis/yp_xdr.c: Likewise.
52606 * nis/ypupdate_xdr.c: Likewise.
52607
2f3e3dc7
UD
52608 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
52609 mainly the body of pmap_getport. Add parameters to specify timeouts.
52610 (pmap_getport): Use __libc_rpc_getport.
52611 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
52612 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
52613 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
52614
f3dcc2f9
AS
526152010-08-31 Andreas Schwab <schwab@linux-m68k.org>
52616
52617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
52618 fanotify_mark.
52619
6d34eb5b
RM
526202010-08-27 Roland McGrath <roland@redhat.com>
52621
52622 * sysdeps/i386/i686/multiarch/Makefile
52623 (CFLAGS-varshift.c): New variable.
52624
9ea3de11
UD
526252010-08-27 Ulrich Drepper <drepper@redhat.com>
52626
c96d23fc
UD
52627 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
52628 * sysdeps/i386/i686/multiarch/varshift.c: New file.
52629
9ea3de11
UD
52630 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
52631
52632 * sysdeps/x86_64/strlen.S: Minimal code improvement.
52633
623aac7f
L
526342010-08-26 H.J. Lu <hongjiu.lu@intel.com>
52635
52636 * sysdeps/x86_64/strlen.S: Unroll the loop.
52637 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52638 strlen-sse2 strlen-sse2-bsf.
52639 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
52640 __strlen_no_bsf if bit_Slow_BSF is set.
52641 (__strlen_sse42): Removed.
52642 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
52643 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
52644
8b2b7715
RM
526452010-08-25 Roland McGrath <roland@redhat.com>
52646
52647 * sysdeps/x86_64/multiarch/varshift.S: File removed.
52648 * sysdeps/x86_64/multiarch/varshift.c: New file.
52649 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
52650 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
52651 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
52652 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52653
e73015f2
L
526542010-08-25 H.J. Lu <hongjiu.lu@intel.com>
52655
52656 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52657 strlen-sse2 strlen-sse2-bsf.
52658 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
52659 __strlen_sse2_bsf if bit_Slow_BSF is unset.
52660 (__strlen_sse2): Removed.
52661 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
52662 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
52663 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
52664 bit_Slow_BSF for Atom.
52665 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
52666 (index_Slow_BSF): Define.
52667 (HAS_SLOW_BSF): Define.
52668
df24a73e
UD
526692010-08-25 Ulrich Drepper <drepper@redhat.com>
52670
52671 [BZ #10851]
52672 * resolv/res_init.c (__res_vinit): When no server address at all
52673 is given default to loopback.
52674
f2ac4868
RM
526752010-08-24 Roland McGrath <roland@redhat.com>
52676
09055553
RM
52677 * configure.in: Remove config-name.h generation.
52678 * configure: Regenerated.
52679 * config-name.in: File removed.
52680 * scripts/config-uname.sh: New file.
52681 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
52682 ($(objdir)config-name.h): New target.
52683
f2ac4868
RM
52684 * sunrpc/rpc_parse.h: Avoid nested comment.
52685
73f27d5e
RH
526862010-08-24 Richard Henderson <rth@redhat.com>
52687 Ulrich Drepper <drepper@redhat.com>
52688 H.J. Lu <hongjiu.lu@intel.com>
52689
52690 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
52691 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
52692 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
52693 Replace _mm_srli_si128 with __m128i_shift_right. Replace
52694 _mm_alignr_epi8 with _mm_loadu_si128.
52695 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
52696 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
52697 (__m128i_shift_right): Removed.
52698 * sysdeps/i386/i686/multiarch/varshift.h: New file.
52699 * sysdeps/i386/i686/multiarch/varshift.S: New file.
52700 * sysdeps/x86_64/multiarch/varshift.h: New file.
52701 * sysdeps/x86_64/multiarch/varshift.S: New file.
52702
84b9230c
MF
527032010-08-21 Mike Frysinger <vapier@gentoo.org>
52704
52705 * configure.in: Move assembler checks to before sysdep dir checking.
52706
9bbd0ddc
PB
527072010-08-20 Petr Baudis <pasky@suse.cz>
52708
52709 * LICENSES: Sync the sunrpc license.
52710
9da4bb31
UD
527112010-08-19 Ulrich Drepper <drepper@redhat.com>
52712
a7ab6ec8
UD
52713 * sunrpc/auth_des.c: Update copyright notice once again.
52714 * sunrpc/auth_none.c: Likewise.
52715 * sunrpc/auth_unix.c: Likewise.
52716 * sunrpc/authdes_prot.c: Likewise.
52717 * sunrpc/authuxprot.c: Likewise.
52718 * sunrpc/bindrsvprt.c: Likewise.
52719 * sunrpc/clnt_gen.c: Likewise.
52720 * sunrpc/clnt_perr.c: Likewise.
52721 * sunrpc/clnt_raw.c: Likewise.
52722 * sunrpc/clnt_simp.c: Likewise.
52723 * sunrpc/clnt_tcp.c: Likewise.
52724 * sunrpc/clnt_udp.c: Likewise.
52725 * sunrpc/clnt_unix.c: Likewise.
52726 * sunrpc/des_crypt.c: Likewise.
52727 * sunrpc/des_soft.c: Likewise.
52728 * sunrpc/get_myaddr.c: Likewise.
52729 * sunrpc/getrpcport.c: Likewise.
52730 * sunrpc/key_call.c: Likewise.
52731 * sunrpc/key_prot.c: Likewise.
52732 * sunrpc/openchild.c: Likewise.
52733 * sunrpc/pm_getmaps.c: Likewise.
52734 * sunrpc/pm_getport.c: Likewise.
52735 * sunrpc/pmap_clnt.c: Likewise.
52736 * sunrpc/pmap_prot.c: Likewise.
52737 * sunrpc/pmap_prot2.c: Likewise.
52738 * sunrpc/pmap_rmt.c: Likewise.
52739 * sunrpc/rpc/auth.h: Likewise.
52740 * sunrpc/rpc/auth_unix.h: Likewise.
52741 * sunrpc/rpc/clnt.h: Likewise.
52742 * sunrpc/rpc/des_crypt.h: Likewise.
52743 * sunrpc/rpc/key_prot.h: Likewise.
52744 * sunrpc/rpc/netdb.h: Likewise.
52745 * sunrpc/rpc/pmap_clnt.h: Likewise.
52746 * sunrpc/rpc/pmap_prot.h: Likewise.
52747 * sunrpc/rpc/pmap_rmt.h: Likewise.
52748 * sunrpc/rpc/rpc.h: Likewise.
52749 * sunrpc/rpc/rpc_des.h: Likewise.
52750 * sunrpc/rpc/rpc_msg.h: Likewise.
52751 * sunrpc/rpc/svc.h: Likewise.
52752 * sunrpc/rpc/svc_auth.h: Likewise.
52753 * sunrpc/rpc/types.h: Likewise.
52754 * sunrpc/rpc/xdr.h: Likewise.
52755 * sunrpc/rpc_clntout.c: Likewise.
52756 * sunrpc/rpc_cmsg.c: Likewise.
52757 * sunrpc/rpc_common.c: Likewise.
52758 * sunrpc/rpc_cout.c: Likewise.
52759 * sunrpc/rpc_dtable.c: Likewise.
52760 * sunrpc/rpc_hout.c: Likewise.
52761 * sunrpc/rpc_main.c: Likewise.
52762 * sunrpc/rpc_parse.c: Likewise.
52763 * sunrpc/rpc_parse.h: Likewise.
52764 * sunrpc/rpc_prot.c: Likewise.
52765 * sunrpc/rpc_sample.c: Likewise.
52766 * sunrpc/rpc_scan.c: Likewise.
52767 * sunrpc/rpc_scan.h: Likewise.
52768 * sunrpc/rpc_svcout.c: Likewise.
52769 * sunrpc/rpc_tblout.c: Likewise.
52770 * sunrpc/rpc_util.c: Likewise.
52771 * sunrpc/rpc_util.h: Likewise.
52772 * sunrpc/rpcinfo.c: Likewise.
52773 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
52774 * sunrpc/rpcsvc/key_prot.x: Likewise.
52775 * sunrpc/rpcsvc/klm_prot.x: Likewise.
52776 * sunrpc/rpcsvc/mount.x: Likewise.
52777 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
52778 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
52779 * sunrpc/rpcsvc/rex.x: Likewise.
52780 * sunrpc/rpcsvc/rstat.x: Likewise.
52781 * sunrpc/rpcsvc/rusers.x: Likewise.
52782 * sunrpc/rpcsvc/sm_inter.x: Likewise.
52783 * sunrpc/rpcsvc/spray.x: Likewise.
52784 * sunrpc/rpcsvc/yppasswd.x: Likewise.
52785 * sunrpc/rtime.c: Likewise.
52786 * sunrpc/svc.c: Likewise.
52787 * sunrpc/svc_auth.c: Likewise.
52788 * sunrpc/svc_authux.c: Likewise.
52789 * sunrpc/svc_raw.c: Likewise.
52790 * sunrpc/svc_run.c: Likewise.
52791 * sunrpc/svc_simple.c: Likewise.
52792 * sunrpc/svc_tcp.c: Likewise.
52793 * sunrpc/svc_udp.c: Likewise.
52794 * sunrpc/svc_unix.c: Likewise.
52795 * sunrpc/svcauth_des.c: Likewise.
52796 * sunrpc/xcrypt.c: Likewise.
52797 * sunrpc/xdr.c: Likewise.
52798 * sunrpc/xdr_array.c: Likewise.
52799 * sunrpc/xdr_float.c: Likewise.
52800 * sunrpc/xdr_mem.c: Likewise.
52801 * sunrpc/xdr_rec.c: Likewise.
52802 * sunrpc/xdr_ref.c: Likewise.
52803 * sunrpc/xdr_sizeof.c: Likewise.
52804 * sunrpc/xdr_stdio.c: Likewise.
52805
9da4bb31
UD
52806 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
52807 handling.
52808
bdaa77bc
AS
528092010-08-19 Andreas Schwab <schwab@redhat.com>
52810
52811 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
52812
fe2f79db
LM
528132010-08-19 Luis Machado <luisgpm@br.ibm.com>
52814
52815 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
52816 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
52817 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
52818 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
52819 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
52820 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
52821 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
52822 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
52823 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
52824 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
52825 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
52826 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
52827 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
52828 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
52829
b9b42ee0
AB
528302010-07-26 Anton Blanchard <anton@samba.org>
52831
52832 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
52833 * malloc/arena.c (heap_trim): Likewise.
52834
1c06ba31
UD
528352010-08-16 Ulrich Drepper <drepper@redhat.com>
52836
52837 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
52838 here. Not...
52839 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
52840 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
52841
f8392f40
L
528422010-08-12 H.J. Lu <hongjiu.lu@intel.com>
52843
52844 * sysdeps/i386/elf/Makefile: New file.
52845
3162f12e
AS
528462010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52847
52848 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
52849 from fanotify_init.
52850 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
52851 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52852
28c90b2c
UD
528532010-08-15 Ulrich Drepper <drepper@redhat.com>
52854
52855 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
52856 of strncasecmp_l.
1feccb6c 52857 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 52858
ca6bb004
UD
528592010-08-14 Ulrich Drepper <drepper@redhat.com>
52860
e9f82e0d
UD
52861 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52862 strncase_l-nonascii.
52863 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52864 Add strncase_l-ssse3.
52865 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
52866 * sysdeps/x86_64/strcmp.S: Likewise.
52867 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
52868 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
52869 * sysdeps/x86_64/strncase.S: New file.
52870 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
52871 * sysdeps/x86_64/strncase_l.S: New file.
52872 * string/Makefile (strop-tests): Add strncasecmp.
52873 * string/test-strncasecmp.c: New file.
52874
52875 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
52876 warning.
52877
ca6bb004
UD
52878 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
52879 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
52880
052fa7b3
AS
528812010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52882
52883 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
52884
962dba78
UD
528852010-08-12 Ulrich Drepper <drepper@redhat.com>
52886
52887 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
52888 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
52889 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
52890
bebff237
AM
528912010-05-01 Alan Modra <amodra@gmail.com>
52892
52893 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
52894 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
52895 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
52896 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
52897 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
52898 tidying. Don't tail-call __sigjmp_save for static lib.
52899 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
52900 save location.
52901 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
52902 (CALL_MCOUNT): Add eh info, and nop after bl.
52903 (TAIL_CALL_SYSCALL_ERROR): New macro.
52904 (PSEUDO_RET): Use it.
52905 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52906 Correct save location of integer regs and cr.
52907 (_dl_profile_resolve): Correct cr save location. Delete nops
52908 after bl when SHARED. Reduce cfi size a little by better
52909 placement of cfi directives.
52910 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
52911 make a stack frame. Instead use parm save area as a temp.
52912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
52913 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
52914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52915 Don't make a stack frame for parent, use parm save area.
52916 Increase child stack frame to 112 bytes. Don't save unused reg,
52917 and adjust reg usage. Set up cfi on error recovery and
52918 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
52919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52920 (__makecontext): Add dummy nop after jump to exit.
52921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
52922 Use correct parm save area and cr save, reduce stack frame.
52923 Correct cfi for possible PSEUDO_RET frame setup.
52924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
52925 Branch to local label emitted by PSEUDO_RET rather than
52926 __syscall_error.
52927
02637374
AS
529282010-08-12 Andreas Schwab <schwab@redhat.com>
52929
52930 [BZ #11904]
52931 * locale/programs/locale.c (print_assignment): New function.
52932 (show_locale_vars): Use it.
52933
c3e2f19b
UD
529342010-08-11 Ulrich Drepper <drepper@redhat.com>
52935
3cdaa6ad
UD
52936 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
52937 field.
52938 (struct statfs64): Likewise.
52939 (_STATFS_F_FLAGS): Define.
52940 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
52941 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52942 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
52943 (ST_VALID): Define locally.
52944 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
52945 __statvfs_getflags, use the provided value.
52946 * sysdeps/unix/sysv/linux/kernel-features.h: Define
52947 __ASSUME_STATFS_F_FLAGS.
52948
754f7da3
UD
52949 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
52950
10b3bedc
UD
52951 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
52952 Add sys/fanotify.h.
52953 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
52954 fanotify_mask for GLIBC_2.13.
52955 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
52956 fanotify_init and fanotify_mark.
52957 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52958 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
52959
c08fb0d7
UD
52960 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
52961 Add prlimit.
52962 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
52963 prlimit64 for GLIBC_2.13.
52964 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
52965 prlimit64.
52966 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
52967 syscall.
52968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
52969 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52970 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
52971 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
52972 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
52973 add prlimit alias.
52974 * sysdeps/unix/sysv/linux/prlimit.c: New file.
52975
15bac72b
UD
52976 [BZ #11903]
52977 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
52978 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
52979
c3e2f19b
UD
52980 * nss/Makefile: Add rules to build and run tst-nss-test1.
52981 * shlib-versions: Add entry for libnss_test1.
52982 * nss/nss_test1.c: New file.
52983 * nss/tst-nss-test1.c: New file.
52984
52985 * nss/nsswitch.c (__nss_database_custom): Define new variable.
52986 (__nss_configure_lookup): Set appropriate entry in
52987 __nss_configure_lookup to true.
52988 * nss/nsswitch.h: Define enum with indeces of databases in
52989 databases and __nss_database_custom arrays. Declare
52990 __nss_database_custom.
52991 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52992 to avoid using nscd when custom rules are installed.
52993 * nss/getXXbyYY_r.c: Likewise.
52994 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52995
52996 * nss/nss_files/files-parse.c: Whitespace fixes.
52997
f15ce4d8
UD
529982010-08-09 Ulrich Drepper <drepper@redhat.com>
52999
53000 [BZ #11883]
53001 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
53002 * posix/fnmatch_loop.c: Likewise.
53003
d22e4cc9
AK
530042010-07-17 Andi Kleen <ak@linux.intel.com>
53005
53006 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
53007 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
53008 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
53009 * Versions.def [GLIBC_2.13]: Add.
53010
805bc17d
UD
530112010-08-06 Ulrich Drepper <drepper@redhat.com>
53012
53013 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53014 Also fail if tpwd after pwuid call is NULL.
53015
5a42321d
ST
530162010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
53017
53018 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
53019 when converting to ms.
53020
fd3ebeda
ST
530212010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53022
53023 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
53024 EOPNOTSUPP errors with ENOTTY.
53025 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
53026 EOPNOTSUPP errors with ENOTTY.
53027
73507d3a
UD
530282010-07-31 Ulrich Drepper <drepper@redhat.com>
53029
53030 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53031 Add strcasecmp_l-ssse3.
53032 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
53033 strcasecmp.
53034 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
53035 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
53036 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
53037
fe36dd02
UD
530382010-07-30 Ulrich Drepper <drepper@redhat.com>
53039
66f6765a
UD
53040 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
53041
42e08a54
UD
53042 * string/Makefile (strop-tests): Add strcasecmp.
53043 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53044 strcasecmp_l-nonascii.
53045 (gen-as-const-headers): Add locale-defines.sym.
53046 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53047 * sysdeps/x86_64/strcasecmp.S: New file.
53048 * sysdeps/x86_64/strcasecmp_l.S: New file.
53049 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
53050 * sysdeps/x86_64/locale-defines.sym: New file.
53051 * string/test-strcasecmp.c: New file.
53052
fe36dd02
UD
53053 * string/test-strcasestr.c: Test both ends of the range of characters.
53054 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
53055
48cbc0d6
RM
530562010-07-29 Roland McGrath <roland@redhat.com>
53057
76e6d6bc 53058 [BZ #11856]
48cbc0d6
RM
53059 * manual/locale.texi (Yes-or-No Questions): Fix example code.
53060
880113d9
UD
530612010-07-27 Ulrich Drepper <drepper@redhat.com>
53062
53063 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
53064 for ld.so.
53065
deb9cabb
AS
530662010-07-27 Andreas Schwab <schwab@redhat.com>
53067
53068 * manual/memory.texi (Malloc Tunable Parameters): Document
53069 M_PERTURB.
53070
1c7570ff
RM
530712010-07-26 Roland McGrath <roland@redhat.com>
53072
53073 [BZ #11840]
53074 * configure.in (-fgnu89-inline check): Set and substitute
53075 gnu89_inline, not libc_cv_gnu89_inline.
53076 * configure: Regenerated.
53077 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
53078
24fb0f88
UD
530792010-07-26 Ulrich Drepper <drepper@redhat.com>
53080
53081 * string/test-strnlen.c: New file.
53082 * string/Makefile (strop-tests): Add strnlen.
53083 * string/tester.c (test_strnlen): Add a few more test cases.
53084 * string/tst-strlen.c: Better error reporting.
53085
53086 * sysdeps/x86_64/strnlen.S: New file.
53087
8e96b93a
UD
530882010-07-24 Ulrich Drepper <drepper@redhat.com>
53089
53090 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53091 lower-latency instructions.
53092
dbc676d4
UD
530932010-07-23 Ulrich Drepper <drepper@redhat.com>
53094
53095 * string/test-strcasestr.c: New file.
53096 * string/test-strstr.c: New file.
53097 * string/Makefile (strop-tests): Add strstr and strcasestr.
53098 * string/str-two-way.h: Don't undefine MAX.
53099 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53100
f6a31e0e
AS
531012010-07-21 Andreas Schwab <schwab@redhat.com>
53102
53103 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53104 strcasestr-nonascii.
53105 (CFLAGS-strcasestr-nonascii.c): Define.
53106 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53107 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53108 Remove unused attribute.
53109
5dbc3b6c
RM
531102010-07-20 Roland McGrath <roland@redhat.com>
53111
53112 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53113 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
53114 ld.so.cache was broken. With it, there is no way to disable dsocaps
53115 like LD_HWCAP_MASK can disable hwcaps.
53116
23d101d8
EPM
531172010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53118
53119 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53120
cc9f2e47
UD
531212010-07-16 Ulrich Drepper <drepper@redhat.com>
53122
53123 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53124 call in strcasestr.
53125 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53126 __strcasestr_sse42_nonascii.
53127 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53128 strcasestr-nonascii.c.
53129 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53130
77c1b069
LM
531312010-06-15 Luis Machado <luisgpm@br.ibm.com>
53132
53133 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53134 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53135 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53136 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53137
440566c3
UD
531382010-07-09 Ulrich Drepper <drepper@redhat.com>
53139
53140 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53141 fcntl.
53142
5be9d05d
AS
531432010-07-06 Andreas Schwab <schwab@redhat.com>
53144
c30b7ee2 53145 [BZ #11577]
5be9d05d
AS
53146 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53147 dl_signal_cerror.
53148
8a492a67
UD
531492010-07-06 Ulrich Drepper <drepper@redhat.com>
53150
53151 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53152 _PC_PIPE_BUF using F_GETPIPE_SZ.
53153
713df3d5
RM
531542010-07-05 Roland McGrath <roland@redhat.com>
53155
53156 * manual/arith.texi (Rounding Functions): Fix rint description
53157 implicit in round description.
53158
702e8f14
UD
531592010-07-02 Ulrich Drepper <drepper@redhat.com>
53160
53161 * elf/Makefile: Fix linking for a few tests to make recent linker
53162 happy.
53163
52ed8be9
AS
531642010-06-30 Andreas Schwab <schwab@redhat.com>
53165
53166 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53167 $(common-objpfx)libc_nonshared.a.
53168
f47c9a11
LM
531692010-06-21 Luis Machado <luisgpm@br.ibm.com>
53170
53171 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
53172 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
53173 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53174 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53175 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
53176 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
53177 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53178 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
53180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
53181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
53182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
53184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
53186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
53187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
53188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
53189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
53191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
53193 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
53194 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
53195 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
53196 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
53197 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
53198 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
53199 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
53200 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
53201 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
53202 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
53203 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
53204 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
53205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
53206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
53207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
53208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
53209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
53210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
53211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
53212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
53213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
53214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
53215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
53216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
53217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
53218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
53219
6fb8cbcb
L
532202010-06-25 H.J. Lu <hongjiu.lu@intel.com>
53221
53222 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
53223 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
53224 * string/memmove.c (memmove): Renamed to ...
53225 (MEMMOVE): ...this. Default to memmove.
53226 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
53227 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
53228 (END_CHK): Define.
53229 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53230 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
53231 mempcpy-ssse3-back memmove-ssse3-back.
53232 * sysdeps/x86_64/multiarch/bcopy.S: New file .
53233 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
53234 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
53235 * sysdeps/x86_64/multiarch/memcpy.S: New file.
53236 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
53237 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
53238 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
53239 * sysdeps/x86_64/multiarch/memmove.c: New file.
53240 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
53241 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
53242 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
53243 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
53244 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
53245 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
53246 Define.
53247 (index_Fast_Copy_Backward): Define.
53248 (HAS_ARCH_FEATURE): Define.
53249 (HAS_FAST_REP_STRING): Define.
53250 (HAS_FAST_COPY_BACKWARD): Define.
53251
4e733bac 532522010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
53253
53254 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53255 Restore proper fallback handling.
53256
63c4ed22
UD
532572010-06-19 Ulrich Drepper <drepper@redhat.com>
53258
ac2b484c
UD
53259 [BZ #11701]
53260 * posix/group_member.c (__group_member): Correct checking loop.
53261
63c4ed22
UD
53262 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
53263 OOM in getpwuid_r correctly. Return error number when the caller
53264 should return, otherwise -1.
53265 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
53266 call returning > 0 value.
53267 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
53268
765ade4b
AS
532692010-06-07 Andreas Schwab <schwab@redhat.com>
53270
53271 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
53272 libc_nonshared.a from targets in modules-names.
53273
80da2e09
KS
532742010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
53275
53276 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
53277 requires it.
53278
158db122
LM
532792010-06-10 Luis Machado <luisgpm@br.ibm.com>
53280
53281 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
53282 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
53283 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
53284 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
53285
caa78cf8
AS
532862010-06-02 Andreas Schwab <schwab@redhat.com>
53287
53288 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
53289
b2ef2c01
UD
532902010-06-14 Ulrich Drepper <drepper@redhat.com>
53291
53292 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
53293 and F_GETPIPE_SZ.
53294 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53295 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53296 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53297 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53298 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53299 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
53300
fbd643b6
RM
533012010-06-14 Roland McGrath <roland@redhat.com>
53302
53303 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
53304
f32f2869
JJ
533052010-06-07 Jakub Jelinek <jakub@redhat.com>
53306
53307 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
53308 __REDIRECT followed by __THROW.
53309 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
53310 * posix/getopt.h (getopt): Likewise.
53311
2a50c078
EPM
533122010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
53313
53314 * hurd/lookup-at.c (__file_name_lookup_at): Accept
53315 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
53316 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
53317 in AT_FLAGS.
53318 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
53319 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
53320
eb5ad2eb
LM
533212010-05-28 Luis Machado <luisgpm@br.ibm.com>
53322
53323 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
53324
3c88fe1e
L
533252010-05-26 H.J. Lu <hongjiu.lu@intel.com>
53326
53327 [BZ #11640]
53328 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53329 Properly check family and model.
53330
d2f73151
TY
533312010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
53332
53333 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
53334
ebd2e13d
LM
533352010-05-24 Luis Machado <luisgpm@br.ibm.com>
53336
53337 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
53338
b32b8b45
UD
533392010-05-21 Ulrich Drepper <drepper@redhat.com>
53340
53341 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
53342 symbol reference.
53343
9acbe24d
AS
533442010-05-19 Andreas Schwab <schwab@redhat.com>
53345
53346 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
53347 symbol reference.
53348
f0ccf6ea
AS
533492010-05-21 Andreas Schwab <schwab@redhat.com>
53350
3d04ff3a
AS
53351 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
53352 and internal_recvmmsg.
53353 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
53354 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
53355 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
53356 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
53357
f0ccf6ea
AS
53358 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
53359 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53360 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53361
5b08ac57
AS
533622010-05-20 Andreas Schwab <schwab@redhat.com>
53363
53364 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
53365
4828935d
LM
533662010-05-17 Luis Machado <luisgpm@br.ibm.com>
53367
53368 POWER7 optimizations.
53369 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
53370 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
53371
373d545e
UD
533722010-05-19 Ulrich Drepper <drepper@redhat.com>
53373
53374 * version.h: Update for 2.13 development version.
53375
21a2b1ae
AS
533762010-05-12 Andrew Stubbs <ams@codesourcery.com>
53377
53378 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
53379 exceptions. Return 0.
53380
3f7dcb2b
RM
533812010-05-07 Roland McGrath <roland@redhat.com>
53382
53383 * elf/ldconfig.c (main): Add a const.
53384
5f24d53a 533852010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 53386
a160f8d8
UD
53387 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
53388 (args_options): Add no-idn option.
53389 (ahosts_keys_int): Add idn_flags to ai_flags.
53390 (parse_option): Handle 'i' option to clear idn_flags.
53391
5f24d53a
UD
53392 * malloc/malloc.c (_int_free): Possible race in the most recently
53393 added check. Only act on the data if no current modification
53394 happened.
265bb1ce
UD
53395
53396See ChangeLog.17 for earlier changes.